WO2025025990A1 - Data processing method and apparatus, communication device, and computer-readable storage medium - Google Patents
Data processing method and apparatus, communication device, and computer-readable storage medium Download PDFInfo
- Publication number
- WO2025025990A1 WO2025025990A1 PCT/CN2024/104009 CN2024104009W WO2025025990A1 WO 2025025990 A1 WO2025025990 A1 WO 2025025990A1 CN 2024104009 W CN2024104009 W CN 2024104009W WO 2025025990 A1 WO2025025990 A1 WO 2025025990A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- activated
- cached
- physical transmission
- width conversion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1829—Arrangements specially adapted for the receiver end
- H04L1/1861—Physical mapping arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1867—Arrangements specially adapted for the transmitter end
- H04L1/1893—Physical mapping arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
Definitions
- 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.
- RF interface transmission technologies mainly include stream transmission represented by JESD204 and packet transmission represented by DigRF V4 of Mobile Industry Processor Interface (MIPI). Both transmission methods have the problem of high power consumption.
- an embodiment of the present application provides a data processing method, including: forming a first data frame according to business data of a carrier unit, caching the first data frame; 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 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 activated M if the number of cached first data frames is less than or equal to the first preset threshold.
- 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 data after bit width conversion on the corresponding physical transmission channel; a physical sending unit, configured to perform first physical layer processing on the data after bit width conversion on each activated physical transmission channel respectively; and send the corresponding first physical layer processed data through the activated physical transmission channel.
- a power-saving control unit configured to cache the first data frame, and determine whether the number of cached first data frames is less than or equal to a first preset threshold; when the number of cached first data frames is less than or equal to the first preset threshold, stop outputting the cached first data frames to the mapping unit; determine 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 first preset threshold, and the bit-width converted data cached on all activated physical transmission channels are all empty, control the bit-width conversion unit to stop outputting the cached bit-width converted data to the physical sending unit, and control the mapping unit, the bit-width conversion unit, and the physical sending unit to enter a power-saving mode.
- an embodiment of the present application provides a communication device, including: the above-mentioned data processing device.
- 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.
- FIG1 is a flow chart of a data processing method provided in an embodiment of the present application.
- FIG2 is a schematic diagram of the composition of a data frame according to an embodiment of the present application.
- FIG3 is a schematic diagram of the composition of the payload of a data frame according to an embodiment of the present application.
- FIG4 is a flow chart of a data processing method provided in an embodiment of the present application.
- FIG5 is a block diagram of a data processing device according to an embodiment of the present application.
- FIG6 is a block diagram of the composition of a data processing device provided in an embodiment of the present application.
- JESD204 and other streaming transmission methods do not allow changes to service configurations, addition of new service connections, or deletion of existing service connections once a transmission connection is established, which poses a challenge to the flexible scheduling of services by terminal chips.
- the 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 combination that may occur in the entire life cycle of the current application scenario during the system initialization phase, and then a transmission connection is established between the DBB chip and the RF chip at a fixed sampling rate and a fixed transmission rate.
- the RF interface must send and receive data at the maximum traffic by sending invalid data.
- the JESD204 interface does not allow data and control information to be transmitted on the same physical transmission channel (Lane). This requires that in addition to the RF interface, there must also be a supporting control information transmission interface, such as the Serial Peripheral Interface (SPI). Although this interface is not large in scale, it will still have an adverse effect on the chip area and input and output (IO).
- SPI Serial Peripheral Interface
- the advantage of packet transmission methods such as DigRF V4 is that it can adaptively match the RF interface bearer bandwidth and service bandwidth through energy-saving mode, and also supports data and control information co-transmission in the same lane. At the same time, since all transmissions share the underlying high-speed Lane resources with large bandwidth, the utilization efficiency of the physical (PHY, PHYsical) transmission bandwidth is greatly improved. However, the biggest problem at present is that it cannot solve the problem of fixed transmission delay after restoration or new link under the conditions of service addition, deletion or reconfiguration.
- the data processing method provided in the embodiment of the present application can be applied to two chips in a communication device that need to transmit data.
- the communication device can be a terminal, a base station, or other communication devices.
- the chip types can include DBB chips, RF chips, RF front-end (RFFE, RF Front End) chips, power management chips (PMIC, Power Management Integrated Circuit), etc.
- the DBB chip mainly completes the protocol stack and physical layer baseband signal processing of modems of various wireless standards.
- RF chips are mainly used to filter and amplify wireless signals and distribute antenna data. RF switch control and other functions.
- FIG1 is a flow chart of a data processing method provided in an embodiment of the present application.
- 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 perform data transmission, such as any of the above chips.
- the data processing method may include steps 100 to 102 .
- Step 100 compose a first data frame according to the service data of a component carrier (CC), cache the first data frame; 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; perform first physical layer processing on the bit width converted data on each activated physical transmission channel.
- CC component carrier
- forming a first data frame based on the service data of the carrier unit includes: obtaining the service data of k CCs currently activated; k is an integer greater than or equal to 1; forming a periodic data pattern based on the service data of the k CCs currently activated; the periodic data pattern includes at least part of the service data of the k CCs currently activated; forming a first data frame based on the periodic data pattern; the payload of the first data frame includes: N periodic data patterns; N is an integer greater than or equal to 1.
- obtaining the service data of the k currently activated CCs includes: receiving the service data of all CCs; caching the service data of the k currently activated CCs in the service data of all CCs; and obtaining the service data of the k currently activated CCs from the cached service data.
- service data of all CCs may be received from a Modem in the first chip.
- At least part of the service data of the k currently activated CCs are interleaved in proportion within a periodic data pattern.
- 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, are interleaved in proportion within a periodic data pattern.
- 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.
- 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.
- 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.
- the service data of the first CC i.e., CC0
- the service sampling rate is 122.88 MHz.
- the service data of the second CC i.e., CC1
- the service sampling rate is 30.72 MHz.
- the service data of the third CC i.e., CC2
- the service sampling rate is 15.36 MHz.
- the air interface throughput of CC0 is 2 ⁇ 122.88
- the air interface throughput of CC1 is 4 ⁇ 30.72
- 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
- D_CC2 is the air interface throughput of CC2.
- a data pattern of one arrangement period may include 4 bytes of CC0 service data, 2 bytes of CC1 service data, and 1 byte of CC2 service data.
- a data pattern of one arrangement period may also 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 volume of k CCs included in the data pattern of the arrangement period is the ratio of the air interface throughput of the k CCs.
- the first data frame includes a start of frame (SOF, Start Of Frame), a frame header (Header), a payload (PayLoad), a cyclic redundancy check (CRC, Cyclic Redundancy Check), and an end of frame (EOF, End OF Frame).
- SOF Start Of Frame
- Header frame header
- PayLoad payload
- CRC Cyclic Redundancy Check
- EEF End OF Frame
- SOF indicates the start of a frame.
- the Header is used to identify characteristics of the current frame.
- the CRC is a CRC checksum generated based on the Header and the Payload.
- EOF indicates the end position of a frame.
- the payload of the first data frame further includes: A padding bytes; A is an integer greater than or equal to 0.
- a padding bytes may be added to the payload of the first data frame to complete the framing.
- 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.
- the high-speed serial communication encoding may be, for example, 8B/10B encoding, 64B/66B encoding, 128B/132B encoding, or the like.
- bit width conversion refers to converting the bit width of data encoded by high-speed serial communication into a bit width required for subsequent processing.
- the first physical layer processing includes parallel-to-serial conversion, transmit filtering, and de-emphasis.
- Step 101 determine whether the number of cached first data frames is less than or equal to a first preset threshold; when the number of cached first data frames is less than or equal to the first preset threshold, stop mapping the first data frames to the activated M physical transmission channels.
- 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 flow continues to be executed, that is, the first data frame continues to be mapped to the activated M physical transmission channels, as well as subsequent data processing steps.
- Step 102 respectively determine whether the data after bit width conversion 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 first preset threshold and the data after bit width conversion cached on all activated physical transmission channels are all empty, stop performing the first physical layer processing on the data after bit width conversion on each activated physical transmission channel respectively; and control to enter the power saving mode.
- the physical transmission channels on each activated physical transmission channel are stopped.
- the data processing method also includes: determining whether the number of cached first data frames is greater than a second preset threshold; when the number of cached first data frames is greater than the second preset threshold, continuing to map the first data frames to the activated M physical transmission channels; and controlling the exit from the power saving mode.
- the data processing method further includes: respectively determining whether the amount of bit-width converted data cached on each activated physical transmission channel is greater than a third preset threshold; when the amount of bit-width converted data cached on all activated physical transmission channels is greater than the third preset threshold, stopping composing the first data frame according to the service data of the CC, for example, stopping composing the first data frame according to a periodically arranged data pattern.
- 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 process continues to be executed, that is, the first data frame is continued to be composed according to the business data of the carrier unit, for example, the first data frame is continued to be composed according to the periodically arranged data pattern, as well as subsequent data processing steps.
- 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 service data of the carrier unit, for example, continuing to compose the first data frame according to the periodically arranged data pattern.
- 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 processing according to the carrier unit is continued to be stopped.
- the business data constitutes a first data frame, and subsequent data processing steps, such as continuing to stop the data pattern according to the arrangement period to constitute the first data frame, and subsequent data processing steps.
- the data processing method provided in the embodiment of the present application monitors the number of cached first data frames. When the number of cached first data frames is small, it stops mapping the first data frames to the activated M physical transmission channels. When the cached data after bit width conversion are all empty, it controls to enter the power saving mode, thereby reducing power consumption.
- 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.
- the framing, mapping, encoding and other processes are stopped, thereby simplifying the clock problem.
- FIG. 4 is a flow chart of a data processing method provided in an embodiment of the present application.
- 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 perform data transmission, such as any of the above chips.
- the data processing method may include steps 400 to 403 .
- Step 400 obtaining 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.
- the ratio of the service data amounts of the k component carriers included in the periodically arranged data pattern is determined according to the air interface throughputs of the k component carriers.
- 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.
- the ratio of the service data volumes of k carrier components included in the periodically arranged data pattern is a ratio of the air interface throughputs of the k carrier components.
- the service data of the first CC (ie, CC0) is transmitted through 2 antennas, the service sampling rate is 122.88 MHz, and the service data of the second CC (ie, CC1) is transmitted through 4 antennas, the service sampling rate is 30.72 MHz.
- the service data of the third CC (i.e. CC2) is transmitted through 4 antennas, and the service sampling rate is 15.36 MHz. Therefore, 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
- D_CC2 is the air interface throughput of CC2.
- a data pattern of one arrangement period may include 4 bytes of CC0 service data, 2 bytes of CC1 service data, and 1 byte of CC2 service data.
- a data pattern of one arrangement period may also 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 volume of k CCs included in the data pattern of the arrangement period is the ratio of the air interface throughput of the k CCs.
- the second data frame includes SOF, Header, PayLoad, CRC, and EOF.
- SOF indicates the start of a frame.
- the Header is used to identify characteristics of the current frame.
- the CRC is a CRC checksum generated based on the Header and the Payload.
- EOF indicates the end position of a frame.
- the payload of the second data frame further includes: A padding bytes; A is an integer greater than or equal to 0.
- obtaining the second data frame includes: performing second physical layer processing on 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 de-physical transmission channel mapping on the decoded data on all activated physical transmission channels to obtain the second data frame.
- the inverse bit width conversion refers to converting the bit width of the data processed by the second physical layer into a bit width required for subsequent processing.
- the purpose of channel alignment is to eliminate the differences between different channels.
- the delay jitter problem between different channels may be caused by the difference in board-level routing.
- the high-speed serial communication decoding may be, for example, 8B/10B decoding, 64B/66B decoding, 128B/132B decoding, or the like.
- the second physical layer processing includes equalization processing, clock recovery processing, reception filtering, and serial-to-parallel conversion.
- Step 401 demodulate the second data frame to obtain N periodic data patterns; and cache the N periodic data patterns obtained by demodulation.
- 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.
- Step 402 determine whether the number of data patterns of the cached arrangement period is greater than or equal to the 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.
- the fifth preset threshold is determined according to the maximum transmission delay that the system can currently tolerate.
- the fifth preset threshold is the amount of data that can be transmitted with the maximum transmission delay that the system can currently tolerate.
- the maximum transmission delay that the system can currently tolerate is less than or equal to the length of one scheduling cycle.
- Step 403 Separate the service data of all activated CCs from the obtained data pattern of the arrangement period.
- the service data of the k CCs currently activated may be separated from the data pattern of the arrangement period according to the ratio of the service data amounts of the k CCs currently activated in the data pattern of the arrangement period.
- the data processing method after separating the business data of all activated CCs from the obtained data pattern of the arrangement period, the data processing method also 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.
- 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 arranged in a period, and then composes a first data frame based on the data pattern arranged in the period.
- the delay jitter is limited to one arrangement period, so that the transmission delay is controllable and predictable, which effectively improves the quality and reliability of service transmission.
- FIG5 is a block diagram of the composition of a data processing device provided in an embodiment of the present application.
- an embodiment of the present application provides a data processing device, which may be a first interface module disposed in a first chip, and the first chip may be any chip that requires data transmission, such as any of the above chips.
- the data processing device includes: a framing unit 501, configured to form 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; 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 503, configured to perform bit width conversion on the data after high-speed serial communication encoding on the corresponding physical transmission channel; cache the data after bit width conversion on the corresponding physical transmission channel; a physical sending unit 504, configured to perform first physical layer processing on the data after bit width conversion on each activated physical transmission channel; send the corresponding first physical layer processed data through the activated physical transmission channel; power saving control Unit 505 is 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; when the number of cached first data frames is less than or equal to the first preset threshold, stop outputting the cached first data frames to the mapping
- the power saving control unit 505 is further configured to: when the number of cached first data frames is greater than the first 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 frame to the mapping unit; Yuan 502.
- 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 flow, 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.
- the data processing device also includes: a data cache unit 506, configured to obtain business data of k CCs currently activated; k is an integer greater than or equal to 1; a data pattern arranged in a periodicity is formed according to the business data of the k CCs currently activated; the data pattern of the periodicity includes at least part of the business data of the k CCs currently activated; the framing unit 501 is specifically configured to form a first data frame according to the business data of the carrier unit in the following manner: the first data frame is formed according to the data pattern of the periodicity; the payload of the first data frame includes: N data patterns arranged in a periodicity; N is an integer greater than or equal to 1.
- the data cache unit 506 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.
- the data cache unit 506 may receive service data of all CCs from a Modem in the first chip.
- the data cache unit 506 can interleave at least part of the business data of the currently activated k CCs in proportion within a data pattern arranged in a periodicity. As shown in FIG3 , at least part of the business data of the currently activated three CCs, i.e., the business data of CC0, the business data of CC1, and the business data of CC2, can be interleave in proportion within a data pattern arranged in a periodicity.
- 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.
- 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.
- the periodic data pattern includes the services of k CCs.
- the ratio of the data volumes is the ratio of the air interface throughputs of the k CCs.
- the service data of the first CC i.e., CC0
- the service sampling rate is 122.88 MHz.
- the service data of the second CC i.e., CC1
- the service sampling rate is 30.72 MHz.
- the service data of the third CC i.e., CC2
- the service sampling rate is 15.36 MHz.
- the air interface throughput of CC0 is 2 ⁇ 122.88
- the air interface throughput of CC1 is 4 ⁇ 30.72
- 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
- D_CC2 is the air interface throughput of CC2.
- a data pattern of one arrangement period may include 4 bytes of CC0 service data, 2 bytes of CC1 service data, and 1 byte of CC2 service data.
- a data pattern of one arrangement period may also 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 volume of k CCs included in the data pattern of the arrangement period is the ratio of the air interface throughput of the k CCs.
- the first data frame includes SOF, Header, PayLoad, CRC, and EOF.
- SOF indicates the start of a frame.
- the Header is used to identify characteristics of the current frame.
- the CRC is a CRC checksum generated based on the Header and the Payload.
- EOF indicates the end position of a frame.
- the payload of the first data frame further includes: A padding bytes; A is an integer greater than or equal to 0.
- a padding bytes may be added to the payload of the first data frame to complete the framing.
- 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 for performing high-speed serial communication encoding on the data mapped to each activated physical transmission channel can refer to MIPI The mapping and encoding methods in the DigRF V4 interface specification.
- the high-speed serial communication encoding may be, for example, 8B/10B encoding, 64B/66B encoding, 128B/132B encoding, or the like.
- each activated physical transmission channel corresponds to a bit width conversion unit 503 .
- the 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 .
- the first physical layer processing includes parallel-to-serial conversion, transmit filtering, and de-emphasis.
- the power saving control unit 505 is also configured to: determine whether the number of cached first data frames is greater than a second preset threshold; when the number of cached first data frames is greater than the second preset threshold, continue to output the cached first data frames to the mapping unit 502; control the mapping unit 502, the bit width conversion unit 503, and the physical sending unit 504 to exit the power saving mode.
- the power saving control unit 505 is also configured to: when the number of cached first data frames is less than or equal to a second preset threshold, do not perform any processing, and continue to execute the data processing process of the original flow, 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.
- the power saving control unit 505 can control the mapping unit 502, the bit width conversion unit 503, and the physical sending 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 sending 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 sending unit 504 are controlled to exit the power saving mode.
- the data processing device also includes: a back pressure control unit 507, configured to respectively 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 506 to stop outputting the periodically arranged data pattern to the framing unit 501.
- a back pressure control unit 507 configured to respectively 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 506 to stop outputting the periodically arranged data pattern to the framing unit 501.
- 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, do not perform any processing, and continue to execute the data processing process of the original flow, that is, continue to control the data cache unit 506 to output the periodically arranged data pattern to the framing unit 501.
- the back pressure control unit 507 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 fourth preset threshold; when the amount of data after bit width conversion cached on all bit width conversion units 503 is less than the fourth preset threshold, control the data cache unit 506 to continue to output the periodically arranged data pattern to the framing unit 501.
- 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, do not perform any processing and continue to execute the data processing process of the original flow, that is, continue to control the data cache unit 506 to stop outputting the periodically arranged data pattern to the framing unit 501.
- the back-pressure control unit 507 can control the data cache unit 506 to continue to output the data pattern of the arrangement period to the framing unit 501 or stop outputting the data pattern of the arrangement period to the framing unit 501 through the back-pressure signal pdata_en. For example, when the back-pressure signal pdata_en is pulled low, the back-pressure control unit 507 controls the data cache unit 506 to stop outputting the data pattern of the arrangement period to the framing unit 501.
- 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.
- FIG6 is a block diagram of the composition of a data processing device provided in an embodiment of the present application.
- an embodiment of the present application provides a data processing device, which may be a second interface module disposed in a second chip, and the first chip may be any chip that requires data transmission, such as any of the above chips.
- 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; the second data frame is demodulated to obtain data patterns of N arrangement periods; a de-jitter unit 602, configured to cache the demodulated data patterns of N arrangement periods; determine 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, obtain the cached data patterns of the arrangement periods; and separate the service data of all activated CCs from the obtained data patterns of the arrangement periods.
- 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; the second data frame is demodulated to obtain data patterns of N arrangement periods;
- a de-jitter unit 602 configured
- the ratio of the service data amounts of the k component carriers included in the periodically arranged data pattern is determined according to the air interface throughputs of the k component carriers.
- 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.
- the ratio of the service data volumes of k carrier components included in the periodically arranged data pattern is a ratio of the air interface throughputs of the k carrier components.
- the service data of the first CC i.e., CC0
- the service sampling rate is 122.88 MHz.
- the service data of the second CC i.e., CC1
- the service sampling rate is 30.72 MHz.
- the service data of the third CC i.e., CC2
- the service sampling rate is 15.36 MHz.
- the air interface throughput of CC0 is 2 ⁇ 122.88
- the air interface throughput of CC1 is 4 ⁇ 30.72
- 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
- D_CC2 is the air interface throughput of CC2.
- a data pattern of one arrangement period can include 4 bytes of CC0 service data, 2 bytes of CC1 service data, and 1 byte of CC2 service data. It is also possible to include 8 bytes of CC0 service data, 4 bytes of CC1 service data, and 2 bytes of CC2 service data in one arrangement period. And so on, as long as The ratio of the service data volumes of the k CCs included in the data pattern satisfying the arrangement period may be the ratio of the air interface throughputs of the k CCs.
- the second data frame includes SOF, Header, PayLoad, CRC, and EOF.
- SOF indicates the start of a frame.
- the Header is used to identify characteristics of the current frame.
- the CRC is a CRC checksum generated based on the Header and the Payload.
- EOF indicates the end position of a frame.
- the payload of the second data frame further includes: A padding bytes; A is an integer greater than or equal to 0.
- the fifth preset threshold is determined according to the maximum transmission delay that the system can currently tolerate.
- the fifth preset threshold is the amount of data that can be transmitted with the maximum transmission delay that the system can currently tolerate.
- the maximum transmission delay that the system can currently tolerate is less than or equal to the time length of one scheduling cycle.
- 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.
- the deframing unit 601 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. After the CRC check fails, an alarm message is generated to the local main control CPU for subsequent processing. After the check succeeds, the data patterns of N arrangement periods are output to the de-jitter unit 602 for subsequent processing.
- the deframing unit 601 further includes: a physical receiving unit 603, configured to perform second physical layer processing on the data received from each activated physical transmission channel respectively; a reverse bit width conversion unit 604, configured to perform reverse bit width conversion on the data processed by the second physical layer; a channel alignment unit 605, configured to perform channel alignment on the reverse 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; a demapping unit 606, configured to perform demapping on the decoded data on all activated physical transmission channels.
- the second data frame is obtained by mapping.
- 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.
- each activated physical transmission channel corresponds to one inverse bit width conversion unit 604 .
- 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 channel alignment unit 605 .
- the channel alignment unit 605 performs channel alignment mainly to eliminate the delay jitter problem between different physical transmission channels.
- the delay jitter problem between different physical transmission channels may be caused by the difference in board-level routing.
- the high-speed serial communication decoding may be, for example, 8B/10B decoding, 64B/66B decoding, 128B/132B decoding, or the like.
- the second physical layer processing includes equalization processing, clock recovery processing, reception filtering, and serial-to-parallel conversion.
- the data processing device also includes: a control unit 607, configured to cache the business data of all activated CCs separated out, and to 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 CCs for subsequent processing.
- a control unit 607 configured to cache the business data of all activated CCs separated out, and to 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 CCs for subsequent processing.
- an embodiment of the present application provides a communication device, including: the above-mentioned data processing device.
- 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.
- 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).
- a 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 include, but are 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 tapes, 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.
- communication media typically contain 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.
- 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 in a limiting sense. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly noted, 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.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2023年7月31日提交的中国专利申请NO.202310961630.4的优先权,该中国专利申请的内容通过引用的方式整体合并于此。This application claims priority to Chinese patent application No. 202310961630.4 filed on July 31, 2023, the contents of which are incorporated herein by reference in their entirety.
本申请实施例涉及通信技术领域,特别涉及数据处理方法、数据处理装置、通信设备、计算机可读存储介质。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.
现有的射频(RF,Radio Frequency)接口传输技术主要包括以JESD204为代表的流传输方式和以移动产业处理器接口(MIPI,Mobile Industry Processor Interface)的DigRF V4为代表的包传输方式。这两种传输方式均存在功耗较大的问题。Existing radio frequency (RF) interface transmission technologies mainly include stream transmission represented by JESD204 and packet transmission represented by DigRF V4 of Mobile Industry Processor Interface (MIPI). Both transmission methods have the problem of high power consumption.
公开内容Public Content
第一方面,本申请实施例提供一种数据处理方法,包括:根据载波单元的业务数据组成第一数据帧,缓存所述第一数据帧;将所述第一数据帧映射到激活的M个物理传输通道上;M为大于或等于1的整数;分别对映射到每一个激活的物理传输通道上的数据进行高速串行通信编码;分别将每一个激活的物理传输通道上的高速串行通信编码后的数据进行位宽转换;分别缓存每一个激活的物理传输通道上的位宽转换后的数据;分别对每一个激活的物理传输通道上的位宽转换后的数据进行第一物理层处理;判断缓存的第一数据帧的数量是否小于或等于第一预设阈值;在缓存的第一数据帧的数量小于或等于所述第一预设阈值的情况下,停止所述将所述第一数据帧映射到激活的M 个物理传输通道上;分别判断每一个激活的物理传输通道上缓存的位宽转换后的数据是否均为空;在缓存的第一数据帧的数量小于或等于所述第一预设阈值,并且所有激活的物理传输通道上缓存的位宽转换后的数据均为空的情况下,停止所述分别对每一个激活的物理传输通道上的位宽转换后的数据进行第一物理层处理;控制进入节电模式。In a first aspect, an embodiment of the present application provides a data processing method, including: forming a first data frame according to business data of a carrier unit, caching the first data frame; 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 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 activated M if the number of cached first data frames is less than or equal to the first preset threshold. physical transmission channels; respectively determine 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 first preset threshold and the bit-width converted data cached on all activated physical transmission channels are all empty, stop the first physical layer processing of the bit-width converted data on each activated physical transmission channel respectively; control to enter the power saving mode.
第二方面,本申请实施例提供一种数据处理装置,包括:成帧单元,配置为根据载波单元的业务数据组成第一数据帧;映射单元,配置为将所述第一数据帧映射到激活的M个物理传输通道上;M为大于或等于1的整数;分别对映射到每一个激活的物理传输通道上的数据进行高速串行通信编码;位宽转换单元,配置为将对应的物理传输通道上高速串行通信编码后的数据进行位宽转换;缓存对应的物理传输通道上的位宽转换后的数据;物理发送单元,配置为分别对每一个激活的物理传输通道上的位宽转换后的数据进行第一物理层处理;通过所述激活的物理传输通道发送对应的第一物理层处理后的数据;节电控制单元,配置为缓存所述第一数据帧,判断缓存的第一数据帧的数量是否小于或等于第一预设阈值;在缓存的第一数据帧的数量小于或等于所述第一预设阈值的情况下,停止将缓存的第一数据帧输出给所述映射单元;判断每一个激活的物理传输通道上缓存的位宽转换后的数据是否均为空;在缓存的第一数据帧的数量小于或等于所述第一预设阈值,并且所有激活的物理传输通道上缓存的位宽转换后的数据均为空的情况下,控制所述位宽转换单元停止将缓存的位宽转换后的数据输出给所述物理发送单元,控制所述映射单元、所述位宽转换单元、所述物理发送单元进入节电模式。In a 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 data after bit width conversion on the corresponding physical transmission channel; a physical sending unit, configured to perform first physical layer processing on the data after bit width conversion on each activated physical transmission channel respectively; and send the corresponding first physical layer processed data through the activated physical transmission channel. data; a power-saving control unit configured to cache the first data frame, and determine whether the number of cached first data frames is less than or equal to a first preset threshold; when the number of cached first data frames is less than or equal to the first preset threshold, stop outputting the cached first data frames to the mapping unit; determine 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 first preset threshold, and the bit-width converted data cached on all activated physical transmission channels are all empty, control the bit-width conversion unit to stop outputting the cached bit-width converted data to the physical sending unit, and control the mapping unit, the bit-width conversion unit, and the physical sending unit to enter a power-saving mode.
第三方面,本申请实施例提供一种通信设备,包括:上述数据处理装置。In a third aspect, an embodiment of the present application provides a communication device, including: the above-mentioned data processing device.
第四方面,本申请实施例提供一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行,使得所述处理器实现上述数据处理方法。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.
图1为本申请实施例提供的数据处理方法的流程图;FIG1 is a flow chart of a data processing method provided in an embodiment of the present application;
图2为本申请实施例的数据帧的组成示意图;FIG2 is a schematic diagram of the composition of a data frame according to an embodiment of the present application;
图3为本申请实施例的数据帧的净荷的组成示意图;FIG3 is a schematic diagram of the composition of the payload of a data frame according to an embodiment of the present application;
图4为本申请实施例提供的数据处理方法的流程图;FIG4 is a flow chart of a data processing method provided in an embodiment of the present application;
图5为本申请实施例提供的数据处理装置的组成框图;FIG5 is a block diagram of a data processing device according to an embodiment of the present application;
图6为本申请实施例提供的数据处理装置的组成框图。FIG6 is a block diagram of the composition of a data processing device provided in an embodiment of the present application.
为使本领域的技术人员更好地理解本申请的技术方案,下面结合附图对本申请提供的数据处理方法、数据处理装置、通信设备、计算机可读存储介质进行详细描述。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 by the present application are described in detail below in conjunction with the accompanying drawings.
在下文中将参考附图更充分地描述部分示例实施方式,但是所述示例实施方式可以以不同形式来体现,且本申请不应当被解释为限于本文阐述的实施方式。提供这些实施方式的目的在于使本申请更加透彻和完整,并使本领域技术人员充分理解本申请的范围。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 the present application should not be construed as being limited to the embodiments set forth herein. The purpose of providing these embodiments is to make the present application more thorough and complete, and to enable those skilled in the art to fully understand the scope of the present application.
在不冲突的情况下,本申请各实施方式及实施方式中的各特征可相互组合。In the absence of conflict, the various embodiments of the present application and the various features therein may be combined with each other.
如本文所使用的,术语“和/或”包括至少一个相关列举条目的任何和所有组合。As used herein, the term "and/or" includes any and all combinations of at least one of the associated listed items.
本文所使用的术语仅用于描述特定实施方式,且不限制本申请。如本文所使用的,单数形式“一个”和“该”也包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在特定特征、整体、步骤、操作、元件和/或组件,但不排除存在或可添加至少一个其它特征、整体、步骤、操作、元件、组件和/或其群组。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 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, it is specified that there are specific features, wholes, steps, operations, elements and/or components, but it does not exclude the presence or addition of at least one other feature, whole, step, operation, element, component and/or its group.
除非另外限定,否则本文所用的所有术语(包括技术术语和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本申请的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。 Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this application, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined herein.
JESD204这类流传输方式由于传输连接一旦建立就不允许更改业务配置或者增加新的业务连接、删除已有业务连接,这对终端芯片灵活调度业务带来了挑战。若终端采用JESD204接口作为数字基带(DBB,Digital Baseband)芯片和RF芯片之间的RF接口,则在系统初始化阶段就不得不按照当前应用场景整个生命周期内可能出现的最大业务组合顶格配置RF接口,然后以固定采样率和固定传输速率的方式在DBB芯片和RF芯片之间建立传输连接。当业务组合变更导致业务流量变小时,RF接口就必须通过发送无效数据的方式依然按照最大流量收/发数据,因此业务流量越小,RF接口的承载带宽的浪费就越严重,最终表现为DBB芯片和RF芯片在功耗和灵活性上缺乏竞争力。除此之外,JESD204接口不允许数据和控制信息共物理传输通道(Lane)传输,这就要求在RF接口之外,还要有一个配套的控制信息的传输接口,比如串行外设接口(SPI,Seriel Peripheral Interface),此接口虽然规模不大,但还是会对芯片面积和输入输出(IO,Input Output)产生不利影响。JESD204 and other streaming transmission methods do not allow changes to service configurations, addition of new service connections, or deletion of existing service connections once a transmission connection is established, which poses a challenge to the flexible scheduling of services by terminal chips. If the terminal uses the JESD204 interface as the RF interface between the digital baseband (DBB) chip and the RF chip, the RF interface must be configured to the maximum service combination that may occur in the entire life cycle of the current application scenario during the system initialization phase, and then a transmission connection is established between the DBB chip and the RF chip at a fixed sampling rate and a fixed transmission rate. When the service combination changes and the service traffic becomes smaller, the RF interface must send and receive data at the maximum traffic by sending invalid data. Therefore, the smaller the service traffic, the more serious the waste of the RF interface's bearer bandwidth, which ultimately manifests as the lack of competitiveness of 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 that in addition to the RF interface, there must also be a supporting control information transmission interface, such as the Serial Peripheral Interface (SPI). Although this interface is not large in scale, it will still have an adverse effect on the chip area and input and output (IO).
DigRF V4这类包传输方式的优势是可以通过节能模式自适应的实现RF接口承载带宽和业务带宽的匹配,而且还支持数据和控制信息共Lane传输。同时,由于所有传输共享底层大带宽的高速Lane资源,因此极大地提高了物理(PHY,PHYsical)传输带宽的利用效率,但目前较大的问题是无法解决业务增删或重配条件下,恢复或新建链路后传输延迟固定的问题。The advantage of packet transmission methods such as DigRF V4 is that it can adaptively match the RF interface bearer bandwidth and service bandwidth through energy-saving mode, and also supports data and control information co-transmission in the same lane. At the same time, since all transmissions share the underlying high-speed Lane resources with large bandwidth, the utilization efficiency of the physical (PHY, PHYsical) transmission bandwidth is greatly improved. However, the biggest problem at present is that it cannot solve the problem of fixed transmission delay after restoration or new link under the conditions of service addition, deletion or reconfiguration.
另外,上述两种传输方式都存在功耗较大的问题。In addition, both of the above two transmission modes have the problem of high power consumption.
本申请实施例提供的数据处理方法可以应用于通信设备中需要进行数据传输的两个芯片中。通信设备可以是终端、基站、或其他通信设备等通信设备。芯片类型可以包括DBB芯片、RF芯片、射频前端(RFFE,RF Front End)芯片、电源管理芯片(PMIC,Power Management Integrated Circuit)等。The data processing method provided in the embodiment of the present application can be applied to two chips in a communication device that need to transmit data. The communication device can be a terminal, a base station, or other communication devices. The chip types can include DBB chips, RF chips, RF front-end (RFFE, RF Front End) chips, power management chips (PMIC, Power Management Integrated Circuit), etc.
DBB芯片主要完成各种无线制式的调制解调器(Modem)的协议栈和物理层基带信号处理。The DBB chip mainly completes the protocol stack and physical layer baseband signal processing of modems of various wireless standards.
RF芯片主要完成无线信号的滤波、放大和天线数据的分发以及 射频开关的控制等功能。RF chips are mainly used to filter and amplify wireless signals and distribute antenna data. RF switch control and other functions.
图1为本申请实施例提供的数据处理方法的流程图。FIG1 is a flow chart of a data processing method provided in an embodiment of the present application.
第一方面,参照图1,本申请实施例提供一种数据处理方法,该方法可以由通信设备中的第一芯片中的第一接口模块执行,第一芯片可以是任何需要进行数据传输的芯片,如上述任意一种芯片。In a first aspect, referring to FIG. 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 perform data transmission, such as any of the above chips.
该数据处理方法可以包括步骤100至102。The data processing method may include steps 100 to 102 .
步骤100,根据载波单元(CC,Component Carrier)的业务数据组成第一数据帧,缓存所述第一数据帧;将所述第一数据帧映射到激活的M个物理传输通道上;M为大于或等于1的整数;分别对映射到每一个激活的物理传输通道上的数据进行高速串行通信编码;分别将每一个激活的物理传输通道上的高速串行通信编码后的数据进行位宽转换;分别缓存每一个激活的物理传输通道上的位宽转换后的数据;分别对每一个激活的物理传输通道上的位宽转换后的数据进行第一物理层处理。Step 100, compose a first data frame according to the service data of a component carrier (CC), cache the first data frame; 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; perform first physical layer processing on the bit width converted data on each activated physical transmission channel.
在一些实施方式中,根据载波单元的业务数据组成第一数据帧包括:获取当前激活的k个CC的业务数据;k为大于或等于1的整数;根据当前激活的k个CC的业务数据组成排布周期的数据图样;排布周期的数据图样包括当前激活的k个CC的至少部分业务数据;根据排布周期的数据图样组成第一数据帧;第一数据帧的净荷包括:N个排布周期的数据图样;N为大于或等于1的整数。In some embodiments, forming a first data frame based on the service data of the carrier unit includes: obtaining the service data of k CCs currently activated; k is an integer greater than or equal to 1; forming a periodic data pattern based on the service data of the k CCs currently activated; the periodic data pattern includes at least part of the service data of the k CCs currently activated; forming a first data frame based on the periodic data pattern; the payload of the first data frame includes: N periodic data patterns; N is an integer greater than or equal to 1.
在一些实施方式中,获取当前激活的k个CC的业务数据包括:接收所有CC的业务数据;缓存所有CC的业务数据中当前激活的k个CC的业务数据;从缓存的业务数据中获取当前激活的k个CC的业务数据。In some implementations, obtaining the service data of the k currently activated CCs includes: receiving the service data of all CCs; caching the service data of the k currently activated CCs in the service data of all CCs; and obtaining the service data of the k currently activated CCs from the cached service data.
在一些实施方式中,在第一芯片为DBB芯片的情况下,可以从第一芯片中的Modem接收所有CC的业务数据。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.
在一些实施方式中,在排布周期的数据图样内按照比例间插当前激活的k个CC的至少部分业务数据,如图3所示,在一个排布周期的数据图样内按照比例间插当前激活的3个CC的至少部分业务数据,即CC0的业务数据、CC1的业务数据和CC2的业务数据。 In some embodiments, at least part of the service data of the k currently activated CCs are interleaved in proportion within a periodic data pattern. 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, are interleaved in proportion within a periodic data pattern.
在一些实施方式中,排布周期的数据图样包括的k个CC的业务数据量的比值根据k个CC的空口的吞吐量确定。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.
在一些实施方式中,在CC通过B个天线传输的情况下,CC的空口的吞吐量为CC的业务采样率的B倍,B为大于或等于1的整数。In some implementations, when a CC is transmitted 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.
在一些实施方式中,排布周期的数据图样包括的k个CC的业务数据量的比值为k个CC的空口的吞吐量的比值。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.
例如,当前激活了3个CC,第1个CC(即CC0)的业务数据通过2个天线传输,业务采样率是122.88兆赫兹(MHz),第2个CC(即CC1)的业务数据通过4个天线传输,业务采样率是30.72MHz,第3个CC(即CC2)的业务数据通过4个天线传输,业务采样率是15.36MHz,那么,CC0的空口的吞吐量为2×122.88,CC1的空口的吞吐量为4×30.72,CC1的空口的吞吐量为4×15.36,D_CC0:D_CC1:D_CC2=4:2:1,D_CC0为CC0的空口的吞吐量,D_CC1为CC1的空口的吞吐量,D_CC2为CC2的空口的吞吐量。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.
那么,可以在一个排布周期的数据图样中包含4字节的CC0的业务数据、2字节的CC1的业务数据、1字节的CC2的业务数据。也可以在一个排布周期的数据图样中包含8字节的CC0的业务数据、4字节的CC1的业务数据、2字节的CC2的业务数据。以此类推,只要满足排布周期的数据图样包括的k个CC的业务数据量的比值为k个CC的空口的吞吐量的比值即可。Then, a data pattern of one arrangement period may include 4 bytes of CC0 service data, 2 bytes of CC1 service data, and 1 byte of CC2 service data. A data pattern of one arrangement period may also 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 volume of k CCs included in the data pattern of the arrangement period is the ratio of the air interface throughput of the k CCs.
在一些实施方式中,如图2所示,第一数据帧包括帧开始(SOF,Start Of Frame),帧头(Header)、净荷(PayLoad)、循环冗余校验(CRC,Cyclic Redundancy Check)、帧结束(EOF,End OF Frame)。In some embodiments, as shown in FIG2 , the first data frame includes a start of frame (SOF, Start Of Frame), a frame header (Header), a payload (PayLoad), a cyclic redundancy check (CRC, Cyclic Redundancy Check), and an end of frame (EOF, End OF Frame).
在一些实施方式中,SOF表示帧的开始位置。In some implementations, SOF indicates the start of a frame.
在一些实施方式中,Header用于标识当前帧的特性。In some implementations, the Header is used to identify characteristics of the current frame.
在一些实施方式中,CRC是根据Header和Payload生成的CRC校验位。In some implementations, the CRC is a CRC checksum generated based on the Header and the Payload.
在一些实施方式中,EOF表示帧的结束位置。In some implementations, EOF indicates the end position of a frame.
在一些实施方式中,第一数据帧的净荷还包括:A个填充字节;A为大于或等于0的整数。 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.
在一些实施方式中,如图3所示,当N个排布周期的数据图样不足以填满第一数据帧的净荷时,可以在第一数据帧的净荷添加A个填充字节来完成组帧。In some implementations, as shown in FIG. 3 , when the data patterns of N arrangement periods 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.
在一些实施方式中,将第一数据帧映射到激活的M个物理传输通道上的映射方式、以及分别对映射到每一个激活的物理传输通道上的数据进行高速串行通信编码的编码方式可以参考MIPI的DigRF V4接口规范中的映射方式和编码方式。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.
在一些实施方式中,高速串行通信编码可以是例如8B/10B编码或64B/66B编码或128B/132B编码等。In some implementations, the high-speed serial communication encoding may be, for example, 8B/10B encoding, 64B/66B encoding, 128B/132B encoding, or the like.
在一些实施方式中,位宽转换是指将高速串行通信编码后的数据的位宽转换成后续处理所需要的位宽。In some implementations, bit width conversion refers to converting the bit width of data encoded by high-speed serial communication into a bit width required for subsequent processing.
在一些实施方式中,第一物理层处理包括并串转换、发送滤波和去加重等处理。In some implementations, the first physical layer processing includes parallel-to-serial conversion, transmit filtering, and de-emphasis.
步骤101,判断缓存的第一数据帧的数量是否小于或等于第一预设阈值;在缓存的第一数据帧的数量小于或等于第一预设阈值的情况下,停止将所述第一数据帧映射到激活的M个物理传输通道上。Step 101, determine whether the number of cached first data frames is less than or equal to a first preset threshold; when the number of cached first data frames is less than or equal to the first preset threshold, stop mapping the first data frames to the activated M physical transmission channels.
在一些实施方式中,在缓存的第一数据帧的数量大于第一预设阈值的情况下,不做任何处理,继续执行原流程的数据处理过程,即继续将第一数据帧映射到激活的M个物理传输通道上,以及后续数据处理步骤。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 flow continues to be executed, that is, the first data frame continues to be mapped to the activated M physical transmission channels, as well as subsequent data processing steps.
步骤102,分别判断每一个激活的物理传输通道上缓存的位宽转换后的数据是否均为空;在缓存的第一数据帧的数量小于或等于所述第一预设阈值,并且所有激活的物理传输通道上缓存的位宽转换后的数据均为空的情况下,停止分别对每一个激活的物理传输通道上的位宽转换后的数据进行第一物理层处理;控制进入节电模式。Step 102, respectively determine whether the data after bit width conversion 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 first preset threshold and the data after bit width conversion cached on all activated physical transmission channels are all empty, stop performing the first physical layer processing on the data after bit width conversion on each activated physical transmission channel respectively; and control to enter the power saving mode.
在一些实施方式中,在至少一个激活的物理传输通道上缓存的位宽转换后的数据不为空的情况下,不做任何处理,继续执行原流程的数据处理过程,即继续执行分别对每一个激活的物理传输通道上的位宽转换后的数据进行第一物理层处理。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 continues to be executed respectively.
在一些实施方式中,停止分别对每一个激活的物理传输通道上 的位宽转换后的数据进行第一物理层处理后,该数据处理方法还包括:判断缓存的第一数据帧的数量是否大于第二预设阈值;在缓存的第一数据帧的数量大于第二预设阈值的情况下,继续执行将第一数据帧映射到激活的M个物理传输通道上;控制退出节电模式。In some embodiments, the physical transmission channels on each activated physical transmission channel are stopped. After the bit width converted data is processed by the first physical layer, the data processing method also includes: determining whether the number of cached first data frames is greater than a second preset threshold; when the number of cached first data frames is greater than the second preset threshold, continuing to map the first data frames to the activated M physical transmission channels; and controlling the exit from the power saving mode.
在一些实施方式中,在缓存的第一数据帧的数量小于或等于第二预设阈值的情况下,不做任何处理,继续执行原流程的数据处理过程,即继续停止将第一数据帧映射到激活的M个物理传输通道上,以及继续控制处于节电模式。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 flow 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.
在一些实施方式中,分别缓存每一个激活的物理传输通道上的位宽转换后的数据后,在分别对每一个激活的物理传输通道上的位宽转换后的数据进行第一物理层处理之前,该数据处理方法还包括:分别判断每一个激活的物理传输通道上缓存的位宽转换后的数据数量是否均大于第三预设阈值;在所有激活的物理传输通道上缓存的位宽转换后的数据数量均大于所述第三预设阈值的情况下,停止根据CC的业务数据组成第一数据帧,例如停止根据排布周期的数据图样组成第一数据帧。In some embodiments, after respectively caching the bit-width converted data on each activated physical transmission channel, and before respectively performing the first physical layer processing on the bit-width converted data on each activated physical transmission channel, the data processing method further includes: respectively determining whether the amount of bit-width converted data cached on each activated physical transmission channel is greater than a third preset threshold; when the amount of bit-width converted data cached on all activated physical transmission channels is greater than the third preset threshold, stopping composing the first data frame according to the service data of the CC, for example, stopping composing the first data frame according to a periodically arranged data pattern.
在一些实施方式中,在至少一个激活的物理传输通道上缓存的位宽转换后的数据数量小于或等于第三预设阈值的情况下,不做任何处理,继续执行原流程的数据处理过程,即继续执行根据载波单元的业务数据组成第一数据帧,例如继续执行根据排布周期的数据图样组成第一数据帧,以及后续数据处理步骤。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 process continues to be executed, that is, the first data frame is continued to be composed according to the business data of the carrier unit, for example, the first data frame is continued to be composed according to the periodically arranged data pattern, as well as subsequent data processing steps.
在一些实施方式中,停止根据排布周期的数据图样组成第一数据帧后,该数据处理方法还包括:分别判断每一个激活的物理传输通道上缓存的位宽转换后的数据数量是否均小于第四预设阈值;在所有激活的物理传输通道上缓存的位宽转换后的数据数量均小于第四预设阈值的情况下,继续执行根据载波单元的业务数据组成第一数据帧,例如继续执行根据排布周期的数据图样组成第一数据帧。In some embodiments, after stopping composing the first data frame according to the periodically arranged data pattern, 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 service data of the carrier unit, for example, continuing to compose the first data frame according to the periodically arranged data pattern.
在一些实施方式中,在至少一个激活的物理传输通道上缓存的位宽转换后的数据数量大于或等于第四预设阈值的情况下,不做任何处理,继续执行原流程的数据处理过程,即继续停止根据载波单元的 业务数据组成第一数据帧,以及后续数据处理步骤,例如继续停止根据排布周期的数据图样组成第一数据帧,以及后续数据处理步骤。In some implementations, 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 processing according to the carrier unit is continued to be stopped. The business data constitutes a first data frame, and subsequent data processing steps, such as continuing to stop the data pattern according to the arrangement period to constitute the first data frame, and subsequent data processing steps.
本申请实施例提供的数据处理方法,通过对缓存的第一数据帧的数量进行监控,在缓存的第一数据帧的数量较少的情况下,停止将第一数据帧映射到激活的M个物理传输通道上,并在缓存的位宽转换后的数据均为空的情况下,控制进入节电模式,减少了功耗。The data processing method provided in the embodiment of the present application monitors the number of cached first data frames. When the number of cached first data frames is small, it stops mapping the first data frames to the activated M physical transmission channels. When the cached data after bit width conversion are all empty, it controls to enter the power saving mode, thereby reducing power consumption.
在一些实施方式中,通过在一个排布周期的数据图样内包含所有当前激活的载波单元的至少部分业务数据,然后基于排布周期的数据图样组成第一数据帧,使得在业务重配或增删业务的情况下,将时延抖动限定在一个排布周期内,使得传输时延可控和可预测,有效地提高了业务传输的质量和可靠性。In some embodiments, by including at least part of the service data of all currently activated carrier units in a data pattern arranged in a period, and then forming a first data frame based on the data pattern arranged in the period, 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.
在一些实施方式中,通过对缓存的位宽转换后的数据量进行监控,在缓存的位宽转换后的数据量较多的情况下,停止成帧、映射、编码等过程,简化了时钟问题。In some implementations, by monitoring the amount of data after the bit width conversion in the cache, when the amount of data after the bit width conversion in the cache is large, the framing, mapping, encoding and other processes are stopped, thereby simplifying the clock problem.
图4为本申请实施例提供的数据处理方法的流程图。FIG. 4 is a flow chart of a data processing method provided in an embodiment of the present application.
第二方面,参照图4,本申请实施例提供一种数据处理方法,该方法可以由通信设备中的第二芯片中的第二接口模块执行,第二芯片可以是任何需要进行数据传输的芯片,如上述任意一种芯片。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 perform data transmission, such as any of the above chips.
该数据处理方法可以包括步骤400至403。The data processing method may include steps 400 to 403 .
步骤400,获取第二数据帧;第二数据帧的净荷包括:N个排布周期的数据图样;N为大于或等于1的整数。Step 400, obtaining 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.
在一些实施方式中,排布周期的数据图样包括的k个载波单元的业务数据量的比值根据k个载波单元的空口的吞吐量确定。In some implementations, the ratio of the service data amounts of the k component carriers included in the periodically arranged data pattern is determined according to the air interface throughputs of the k component carriers.
在一些实施方式中,在CC通过B个天线传输的情况下,CC的空口的吞吐量为CC的业务采样率的B倍,B为大于或等于1的整数。In some implementations, when a CC is transmitted 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.
在一些实施方式中,排布周期的数据图样包括的k个载波单元的业务数据量的比值为k个载波单元的空口的吞吐量的比值。In some implementations, the ratio of the service data volumes of k carrier components included in the periodically arranged data pattern is a ratio of the air interface throughputs of the k carrier components.
例如,当前激活了3个CC,第1个CC(即CC0)的业务数据通过2个天线传输,业务采样率是122.88兆赫兹(MHz),第2个CC(即CC1)的业务数据通过4个天线传输,业务采样率是30.72MHz, 第3个CC(即CC2)的业务数据通过4个天线传输,业务采样率是15.36MHz,那么,CC0的空口的吞吐量为2×122.88,CC1的空口的吞吐量为4×30.72,CC1的空口的吞吐量为4×15.36,D_CC0:D_CC1:D_CC2=4:2:1,D_CC0为CC0的空口的吞吐量,D_CC1为CC1的空口的吞吐量,D_CC2为CC2的空口的吞吐量。For example, 3 CCs are currently activated, the service data of the first CC (ie, CC0) is transmitted through 2 antennas, the service sampling rate is 122.88 MHz, and the service data of the second CC (ie, CC1) is transmitted through 4 antennas, the service sampling rate is 30.72 MHz. The service data of the third CC (i.e. CC2) is transmitted through 4 antennas, and the service sampling rate is 15.36 MHz. Therefore, 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.
那么,可以在一个排布周期的数据图样中包含4字节的CC0的业务数据、2字节的CC1的业务数据、1字节的CC2的业务数据。也可以在一个排布周期的数据图样中包含8字节的CC0的业务数据、4字节的CC1的业务数据、2字节的CC2的业务数据。以此类推,只要满足排布周期的数据图样包括的k个CC的业务数据量的比值为k个CC的空口的吞吐量的比值即可。Then, a data pattern of one arrangement period may include 4 bytes of CC0 service data, 2 bytes of CC1 service data, and 1 byte of CC2 service data. A data pattern of one arrangement period may also 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 volume of k CCs included in the data pattern of the arrangement period is the ratio of the air interface throughput of the k CCs.
在一些实施方式中,如图2所示,第二数据帧包括SOF,Header、PayLoad、CRC、EOF。In some implementations, as shown in FIG. 2 , the second data frame includes SOF, Header, PayLoad, CRC, and EOF.
在一些实施方式中,SOF表示帧的开始位置。In some implementations, SOF indicates the start of a frame.
在一些实施方式中,Header用于标识当前帧的特性。In some implementations, the Header is used to identify characteristics of the current frame.
在一些实施方式中,CRC是根据Header和Payload生成的CRC校验位。In some implementations, the CRC is a CRC checksum generated based on the Header and the Payload.
在一些实施方式中,EOF表示帧的结束位置。In some implementations, EOF indicates the end position of a frame.
在一些实施方式中,第二数据帧的净荷还包括:A个填充字节;A为大于或等于0的整数。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.
在一些实施方式中,获取第二数据帧包括:分别对从每一个激活的物理传输通道上接收的数据进行第二物理层处理;分别对每一个激活的物理传输通道上的第二物理层处理后的数据进行反位宽转换;对所有激活的物理传输通道上的反位宽转换后的数据进行通道对齐;对通道对齐后的数据进行符号边界搜索和高速串行通信译码;对所有激活的物理传输通道上的译码后的数据进行解物理传输通道映射得到第二数据帧。In some embodiments, obtaining the second data frame includes: performing second physical layer processing on 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 de-physical transmission channel mapping on the decoded data on all activated physical transmission channels to obtain the second data frame.
在一些实施方式中,反位宽转换是指将第二物理层处理后的数据的位宽转换成后续处理所需要的位宽。In some implementations, the inverse bit width conversion refers to converting the bit width of the data processed by the second physical layer into a bit width required for subsequent processing.
在一些实施方式中,进行通道对齐的目的主要是消除不同通道 之间的时延抖动问题,这里不同通道的时延抖动问题可能是由板级走线的不同而导致的。In some embodiments, the purpose of channel alignment is to eliminate the differences between different channels. The delay jitter problem between different channels may be caused by the difference in board-level routing.
在一些实施方式中,高速串行通信译码可以是例如8B/10B译码或64B/66B译码或128B/132B译码等。In some implementations, the high-speed serial communication decoding may be, for example, 8B/10B decoding, 64B/66B decoding, 128B/132B decoding, or the like.
在一些实施方式中,第二物理层处理包括均衡处理、时钟恢复处理、接收滤波和串并转换等处理。In some implementations, the second physical layer processing includes equalization processing, clock recovery processing, reception filtering, and serial-to-parallel conversion.
步骤401,解调第二数据帧得到N个排布周期的数据图样;缓存解调得到的N个排布周期的数据图样。Step 401, demodulate the second data frame to obtain N periodic data patterns; and cache the N periodic data patterns obtained by demodulation.
在一些实施方式中,解调第二数据帧得到N个排布周期的数据图样时,还得到CRC校验结果,CRC校验失败后产生告警信息给本地主控CPU进行后续处理,校验成功后继续进行后续处理。In some implementations, when the second data frame is demodulated to obtain data patterns of N arrangement periods, 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.
步骤402,判断缓存的排布周期的数据图样数量是否大于或等于第五预设阈值;在缓存的排布周期的数据图样数量大于或等于第五预设阈值的情况下,获取缓存的排布周期的数据图样。Step 402, determine whether the number of data patterns of the cached arrangement period is greater than or equal to the 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.
在一些实施方式中,第五预设阈值根据系统当前所能容忍的最大传输时延确定。例如,第五预设阈值为系统当前所能容忍的最大传输时延所能传输的数据量。In some implementations, the fifth preset threshold is determined according to 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.
在一些实施方式中,系统当前所能容忍的最大传输时延小于或等于一个排布周期的时间长度。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.
步骤403,从获得的排布周期的数据图样中分离出所有激活的CC的业务数据。Step 403: Separate the service data of all activated CCs from the obtained data pattern of the arrangement period.
在一些实施方式中,可以按照排布周期的数据图样中当前激活的k个CC的业务数据量的比值从排布周期的数据图样中分离出当前激活的k个CC的业务数据。In some implementations, the service data of the k CCs currently activated may be separated from the data pattern of the arrangement period according to the ratio of the service data amounts of the k CCs currently activated in the data pattern of the arrangement period.
在一些实施方式中,从获得的排布周期的数据图样中分离出所有激活的CC的业务数据后,该数据处理方法还包括:缓存分离出的所有激活的CC的业务数据,分别判断缓存的每个CC的业务数据量是否大于或等于第六预设阈值;在缓存的所有CC的业务数据量均大于或等于第六预设阈值的情况下,读取缓存的CC的业务数据进行后续处理。 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 also 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.
本申请实施例提供的数据处理方法,通过在一个排布周期的数据图样内包含所有当前激活的载波单元的至少部分业务数据,然后基于排布周期的数据图样组成第一数据帧,使得在业务重配或增删业务的情况下,将时延抖动限定在一个排布周期内,使得传输时延可控和可预测,有效地提高了业务传输的质量和可靠性。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 arranged in a period, and then composes a first data frame based on the data pattern arranged in the period. In the case of service reconfiguration or addition and deletion of services, the delay jitter is limited to one arrangement period, so that the transmission delay is controllable and predictable, which effectively improves the quality and reliability of service transmission.
图5为本申请实施例提供的数据处理装置的组成框图。FIG5 is a block diagram of the composition of a data processing device provided in an embodiment of the present application.
第三方面,参照图5,本申请实施例提供一种数据处理装置,该数据处理装置可以是设置在第一芯片中的第一接口模块,第一芯片可以是任何需要进行数据传输的芯片,如上述任意一种芯片。In a third aspect, referring to FIG. 5 , an embodiment of the present application provides a data processing device, which may be a first interface module disposed in a first chip, and the first chip may be any chip that requires data transmission, such as any of the above chips.
数据处理装置包括:成帧单元501,配置为根据载波单元的业务数据组成第一数据帧;映射单元502,配置为将所述第一数据帧映射到激活的M个物理传输通道上;M为大于或等于1的整数;分别对映射到每一个激活的物理传输通道上的数据进行高速串行通信编码;位宽转换单元503,配置为将对应的物理传输通道上的高速串行通信编码后的数据进行位宽转换;缓存对应的物理传输通道上的位宽转换后的数据;物理发送单元504,配置为分别对每一个激活的物理传输通道上的位宽转换后的数据进行第一物理层处理;通过所述激活的物理传输通道发送对应的第一物理层处理后的数据;节电控制单元505,配置为缓存所述第一数据帧,判断缓存的第一数据帧的数量是否小于或等于第一预设阈值;在缓存的第一数据帧的数量小于或等于所述第一预设阈值的情况下,停止将缓存的第一数据帧输出给映射单元502;判断每一个激活的物理传输通道上缓存的位宽转换后的数据是否均为空;在缓存的第一数据帧的数量小于或等于所述第一预设阈值,并且所有激活的物理传输通道上缓存的位宽转换后的数据均为空的情况下,控制所述位宽转换单元503停止将缓存的位宽转换后的数据输出给所述物理发送单元504,控制映射单元502、位宽转换单元503、物理发送单元504进入节电模式。The data processing device includes: a framing unit 501, configured to form 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; 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 503, configured to perform bit width conversion on the data after high-speed serial communication encoding on the corresponding physical transmission channel; cache the data after bit width conversion on the corresponding physical transmission channel; a physical sending unit 504, configured to perform first physical layer processing on the data after bit width conversion on each activated physical transmission channel; send the corresponding first physical layer processed data through the activated physical transmission channel; power saving control Unit 505 is 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; when the number of cached first data frames is less than or equal to the first 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 are all 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 all empty, control the 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.
在一些实施方式中,节电控制单元505还配置为:在缓存的第一数据帧数量大于第一预设阈值的情况下,不做任何处理,继续执行原流程的数据处理过程,即继续将中缓存的第一数据帧输出给映射单 元502。In some embodiments, the power saving control unit 505 is further configured to: when the number of cached first data frames is greater than the first 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 frame to the mapping unit; Yuan 502.
在一些实施方式中,节电控制单元505还配置为:在至少一个激活的物理传输通道上缓存的位宽转换后的数据不为空的情况下,不做任何处理,继续执行原流程的数据处理过程,即继续控制位宽转换单元503将缓存的位宽转换后的数据输出给物理发送单元504,控制映射单元502、位宽转换单元503和物理发送单元504退出节电模式。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 flow, 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.
在一些实施方式中,所述数据处理装置还包括:数据缓存单元506,配置为获取当前激活的k个CC的业务数据;k为大于或等于1的整数;根据当前激活的k个CC的业务数据组成排布周期的数据图样;排布周期的数据图样包括当前激活的k个CC的至少部分业务数据;成帧单元501具体配置为采用以下方式实现根据载波单元的业务数据组成第一数据帧:根据排布周期的数据图样组成第一数据帧;第一数据帧的净荷包括:N个排布周期的数据图样;N为大于或等于1的整数。In some embodiments, the data processing device also includes: a data cache unit 506, configured to obtain business data of k CCs currently activated; k is an integer greater than or equal to 1; a data pattern arranged in a periodicity is formed according to the business data of the k CCs currently activated; the data pattern of the periodicity includes at least part of the business data of the k CCs currently activated; the framing unit 501 is specifically configured to form a first data frame according to the business data of the carrier unit in the following manner: the first data frame is formed according to the data pattern of the periodicity; the payload of the first data frame includes: N data patterns arranged in a periodicity; N is an integer greater than or equal to 1.
在一些实施方式中,数据缓存单元506具体配置为采用以下方式实现获取当前激活的k个CC的业务数据:接收所有CC的业务数据;缓存所有CC的业务数据中当前激活的k个CC的业务数据;从缓存的业务数据中获取当前激活的k个CC的业务数据。In some embodiments, the data cache unit 506 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.
在一些实施方式中,在第一芯片为DBB芯片的情况下,数据缓存单元506可以从第一芯片中的Modem接收所有CC的业务数据。In some implementations, when the first chip is a DBB chip, the data cache unit 506 may receive service data of all CCs from a Modem in the first chip.
在一些实施方式中,数据缓存单元506可以在排布周期的数据图样内按照比例间插当前激活的k个CC的至少部分业务数据,如图3所示,在一个排布周期的数据图样内按照比例间插当前激活的3个CC的至少部分业务数据,即CC0的业务数据、CC1的业务数据和CC2的业务数据。In some embodiments, the data cache unit 506 can interleave at least part of the business data of the currently activated k CCs in proportion within a data pattern arranged in a periodicity. As shown in FIG3 , at least part of the business data of the currently activated three CCs, i.e., the business data of CC0, the business data of CC1, and the business data of CC2, can be interleave in proportion within a data pattern arranged in a periodicity.
在一些实施方式中,排布周期的数据图样包括的k个CC的业务数据量的比值根据k个CC的空口的吞吐量确定。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.
在一些实施方式中,在CC通过B个天线传输的情况下,CC的空口的吞吐量为CC的业务采样率的B倍,B为大于或等于1的整数。In some implementations, when a CC is transmitted 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.
在一些实施方式中,排布周期的数据图样包括的k个CC的业务 数据量的比值为k个CC的空口的吞吐量的比值。In some embodiments, the periodic data pattern includes the services of k CCs. The ratio of the data volumes is the ratio of the air interface throughputs of the k CCs.
例如,当前激活了3个CC,第1个CC(即CC0)的业务数据通过2个天线传输,业务采样率是122.88兆赫兹(MHz),第2个CC(即CC1)的业务数据通过4个天线传输,业务采样率是30.72MHz,第3个CC(即CC2)的业务数据通过4个天线传输,业务采样率是15.36MHz,那么,CC0的空口的吞吐量为2×122.88,CC1的空口的吞吐量为4×30.72,CC1的空口的吞吐量为4×15.36,D_CC0:D_CC1:D_CC2=4:2:1,D_CC0为CC0的空口的吞吐量,D_CC1为CC1的空口的吞吐量,D_CC2为CC2的空口的吞吐量。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.
那么,可以在一个排布周期的数据图样中包含4字节的CC0的业务数据、2字节的CC1的业务数据、1字节的CC2的业务数据。也可以在一个排布周期的数据图样中包含8字节的CC0的业务数据、4字节的CC1的业务数据、2字节的CC2的业务数据。以此类推,只要满足排布周期的数据图样包括的k个CC的业务数据量的比值为k个CC的空口的吞吐量的比值即可。Then, a data pattern of one arrangement period may include 4 bytes of CC0 service data, 2 bytes of CC1 service data, and 1 byte of CC2 service data. A data pattern of one arrangement period may also 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 volume of k CCs included in the data pattern of the arrangement period is the ratio of the air interface throughput of the k CCs.
在一些实施方式中,如图2所示,第一数据帧包括SOF,Header、PayLoad、CRC、EOF。In some implementations, as shown in FIG2 , the first data frame includes SOF, Header, PayLoad, CRC, and EOF.
在一些实施方式中,SOF表示帧的开始位置。In some implementations, SOF indicates the start of a frame.
在一些实施方式中,Header用于标识当前帧的特性。In some implementations, the Header is used to identify characteristics of the current frame.
在一些实施方式中,CRC是根据Header和Payload生成的CRC校验位。In some implementations, the CRC is a CRC checksum generated based on the Header and the Payload.
在一些实施方式中,EOF表示帧的结束位置。In some implementations, EOF indicates the end position of a frame.
在一些实施方式中,第一数据帧的净荷还包括:A个填充字节;A为大于或等于0的整数。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.
在一些实施方式中,如图3所示,当N个排布周期的数据图样不足以填满第一数据帧的净荷时,可以在第一数据帧的净荷添加A个填充字节来完成组帧。In some implementations, as shown in FIG. 3 , when the data patterns of N arrangement periods 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.
在一些实施方式中,映射单元502将第一数据帧映射到激活的M个物理传输通道上的映射方式,以及分别对映射到每一个激活的物理传输通道上的数据进行高速串行通信编码的编码方式可以参考MIPI 的DigRF V4接口规范中的映射方式和编码方式。In some implementations, 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 for performing high-speed serial communication encoding on the data mapped to each activated physical transmission channel can refer to MIPI The mapping and encoding methods in the DigRF V4 interface specification.
在一些实施方式中,高速串行通信编码可以是例如8B/10B编码或64B/66B编码或128B/132B编码等。In some implementations, the high-speed serial communication encoding may be, for example, 8B/10B encoding, 64B/66B encoding, 128B/132B encoding, or the like.
在一些实施方式中,每一个激活的物理传输通道对应一个位宽转换单元503。In some implementations, each activated physical transmission channel corresponds to a bit width conversion unit 503 .
在一些实施方式中,位宽转换是指将高速串行通信编码后的数据的位宽转换成物理发送单元504所需要的位宽。In some implementations, the 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 .
在一些实施方式中,第一物理层处理包括并串转换、发送滤波和去加重等处理。In some implementations, the first physical layer processing includes parallel-to-serial conversion, transmit filtering, and de-emphasis.
在一些实施方式中,节电控制单元505还配置为:判断缓存的第一数据帧的数量是否大于第二预设阈值;在缓存的第一数据帧的数量大于第二预设阈值的情况下,继续将缓存的第一数据帧输出给映射单元502;控制映射单元502、位宽转换单元503、物理发送单元504退出节电模式。In some embodiments, the power saving control unit 505 is also configured to: determine whether the number of cached first data frames is greater than a second preset threshold; when the number of cached first data frames is greater than the second preset threshold, continue to output the cached first data frames to the mapping unit 502; control the mapping unit 502, the bit width conversion unit 503, and the physical sending unit 504 to exit the power saving mode.
在一些实施方式中,节电控制单元505还配置为:在缓存的第一数据帧的数量小于或等于第二预设阈值的情况下,不做任何处理,继续执行原流程的数据处理过程,即继续停止将缓存的第一数据帧输出给映射单元502,以及继续控制映射单元502、位宽转换单元503、物理发送单元504处于节电模式。In some embodiments, the power saving control unit 505 is also configured to: when the number of cached first data frames is less than or equal to a second preset threshold, do not perform any processing, and continue to execute the data processing process of the original flow, 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.
在一些实施方式中,节电控制单元505可以通过stall_en信号控制映射单元502、位宽转换单元503、物理发送单元504进入节电模式还是退出节电模式。例如,在拉高stall_en信号时,控制映射单元502、位宽转换单元503、物理发送单元504进入节电模式;在拉低stall_en信号时,控制映射单元502、位宽转换单元503、物理发送单元504退出节电模式。In some implementations, the power saving control unit 505 can control the mapping unit 502, the bit width conversion unit 503, and the physical sending 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 sending 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 sending unit 504 are controlled to exit the power saving mode.
在一些实施方式中,该数据处理装置还包括:反压控制单元507,配置为分别判断每一个激活的物理传输通道上缓存的位宽转换后的数据数量是否均大于第三预设阈值;在所有激活的物理传输通道上缓存的位宽转换后的数据数量均大于第三预设阈值的情况下,控制数据缓存单元506停止将排布周期的数据图样输出给成帧单元501。 In some embodiments, the data processing device also includes: a back pressure control unit 507, configured to respectively 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 506 to stop outputting the periodically arranged data pattern to the framing unit 501.
在一些实施方式中,反压控制单元507还配置为:在至少一个激活的物理传输通道上缓存的位宽转换后的数据数量小于或等于第三预设阈值的情况下,不做任何处理,继续执行原流程的数据处理过程,即继续控制数据缓存单元506将排布周期的数据图样输出给成帧单元501。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, do not perform any processing, and continue to execute the data processing process of the original flow, that is, continue to control the data cache unit 506 to output the periodically arranged data pattern to the framing unit 501.
在一些实施方式中,反压控制单元507还配置为:分别判断每一个位宽转换单元503上缓存的位宽转换后的数据数量是否均小于第四预设阈值;在所有位宽转换单元503上缓存的位宽转换后的数据数量均小于第四预设阈值的情况下,控制数据缓存单元506继续将排布周期的数据图样输出给成帧单元501。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 bit width conversion unit 503 is less than a fourth preset threshold; when the amount of data after bit width conversion cached on all bit width conversion units 503 is less than the fourth preset threshold, control the data cache unit 506 to continue to output the periodically arranged data pattern to the framing unit 501.
在一些实施方式中,反压控制单元507还配置为:在至少一个激活的物理传输通道上缓存的位宽转换后的数据数量大于或等于第四预设阈值的情况下,不做任何处理,继续执行原流程的数据处理过程,即继续控制数据缓存单元506停止将排布周期的数据图样输出给成帧单元501。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, do not perform any processing and continue to execute the data processing process of the original flow, that is, continue to control the data cache unit 506 to stop outputting the periodically arranged data pattern to the framing unit 501.
在一些实施方式中,反压控制单元507可以通过反压信号pdata_en控制数据缓存单元506继续将排布周期的数据图样输出给成帧单元501,还是停止将排布周期的数据图样输出给成帧单元501。例如,拉低反压信号pdata_en时,反压控制单元507控制数据缓存单元506停止将排布周期的数据图样输出给成帧单元501,这时成帧单元501以后到位宽转换单元503之间的所有单元由于没有数据驱动而处于时钟门控状态;拉高反压信号pdata_en时,反压控制单元507控制数据缓存单元506继续将排布周期的数据图样输出给成帧单元501。In some embodiments, the back-pressure control unit 507 can control the data cache unit 506 to continue to output the data pattern of the arrangement period to the framing unit 501 or stop outputting the data pattern of the arrangement period to the framing unit 501 through the back-pressure signal pdata_en. For example, when the back-pressure signal pdata_en is pulled low, the back-pressure control unit 507 controls the data cache unit 506 to stop outputting the data pattern of the arrangement period to the framing unit 501. At this time, all units from the framing unit 501 to the bit width conversion unit 503 are in a clock gating state due to the lack of data drive; when the back-pressure signal pdata_en is pulled high, the back-pressure control unit 507 controls the data cache unit 506 to continue outputting the data pattern of the arrangement period to the framing unit 501.
在一些实施方式中,在第一芯片为DBB芯片的情况下,物理发送单元504的输入的M条激活的物理传输通道各自连接1个位宽转换单元503,输出连接到DDB芯片上M个激活的物理传输通道对应的M组差分信号管脚。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.
上述数据处理装置的具体实现过程与前述的数据处理方法的具体实现过程相同,这里不再赘述。 The specific implementation process of the above data processing device is the same as the specific implementation process of the above data processing method, which will not be repeated here.
图6为本申请实施例提供的数据处理装置的组成框图。FIG6 is a block diagram of the composition of a data processing device provided in an embodiment of the present application.
第四方面,参照图6,本申请实施例提供一种数据处理装置,数据处理装置可以是设置在第二芯片中的第二接口模块,第一芯片可以是任何需要进行数据传输的芯片,如上述任意一种芯片。In a fourth aspect, referring to FIG. 6 , an embodiment of the present application provides a data processing device, which may be a second interface module disposed in a second chip, and the first chip may be any chip that requires data transmission, such as any of the above chips.
数据处理装置包括:解帧单元601,配置为获取第二数据帧;第二数据帧的净荷包括:N个排布周期的数据图样;N为大于或等于1的整数;解调第二数据帧得到N个排布周期的数据图样;去抖动单元602,配置为缓存解调得到的N个排布周期的数据图样;判断缓存的排布周期的数据图样数量是否大于或等于第五预设阈值;在缓存的排布周期的数据图样数量大于或等于第五预设阈值的情况下,获取缓存的排布周期的数据图样;从获得的排布周期的数据图样中分离出所有激活的CC的业务数据。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; the second data frame is demodulated to obtain data patterns of N arrangement periods; a de-jitter unit 602, configured to cache the demodulated data patterns of N arrangement periods; determine 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, obtain the cached data patterns of the arrangement periods; and separate the service data of all activated CCs from the obtained data patterns of the arrangement periods.
在一些实施方式中,排布周期的数据图样包括的k个载波单元的业务数据量的比值根据k个载波单元的空口的吞吐量确定。In some implementations, the ratio of the service data amounts of the k component carriers included in the periodically arranged data pattern is determined according to the air interface throughputs of the k component carriers.
在一些实施方式中,在CC通过B个天线传输的情况下,CC的空口的吞吐量为CC的业务采样率的B倍,B为大于或等于1的整数。In some implementations, when a CC is transmitted 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.
在一些实施方式中,排布周期的数据图样包括的k个载波单元的业务数据量的比值为k个载波单元的空口的吞吐量的比值。In some implementations, the ratio of the service data volumes of k carrier components included in the periodically arranged data pattern is a ratio of the air interface throughputs of the k carrier components.
例如,当前激活了3个CC,第1个CC(即CC0)的业务数据通过2个天线传输,业务采样率是122.88兆赫兹(MHz),第2个CC(即CC1)的业务数据通过4个天线传输,业务采样率是30.72MHz,第3个CC(即CC2)的业务数据通过4个天线传输,业务采样率是15.36MHz,那么,CC0的空口的吞吐量为2×122.88,CC1的空口的吞吐量为4×30.72,CC1的空口的吞吐量为4×15.36,D_CC0:D_CC1:D_CC2=4:2:1,D_CC0为CC0的空口的吞吐量,D_CC1为CC1的空口的吞吐量,D_CC2为CC2的空口的吞吐量。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.
那么,可以在一个排布周期的数据图样中包含4字节的CC0的业务数据、2字节的CC1的业务数据、1字节的CC2的业务数据。也可以在一个排布周期的数据图样中包含8字节的CC0的业务数据、4字节的CC1的业务数据、2字节的CC2的业务数据。以此类推,只要 满足排布周期的数据图样包括的k个CC的业务数据量的比值为k个CC的空口的吞吐量的比值即可。Then, a data pattern of one arrangement period can include 4 bytes of CC0 service data, 2 bytes of CC1 service data, and 1 byte of CC2 service data. It is also possible to include 8 bytes of CC0 service data, 4 bytes of CC1 service data, and 2 bytes of CC2 service data in one arrangement period. And so on, as long as The ratio of the service data volumes of the k CCs included in the data pattern satisfying the arrangement period may be the ratio of the air interface throughputs of the k CCs.
在一些实施方式中,如图2所示,第二数据帧包括SOF,Header、PayLoad、CRC、EOF。In some implementations, as shown in FIG. 2 , the second data frame includes SOF, Header, PayLoad, CRC, and EOF.
在一些实施方式中,SOF表示帧的开始位置。In some implementations, SOF indicates the start of a frame.
在一些实施方式中,Header用于标识当前帧的特性。In some implementations, the Header is used to identify characteristics of the current frame.
在一些实施方式中,CRC是根据Header和Payload生成的CRC校验位。In some implementations, the CRC is a CRC checksum generated based on the Header and the Payload.
在一些实施方式中,EOF表示帧的结束位置。In some implementations, EOF indicates the end position of a frame.
在一些实施方式中,第二数据帧的净荷还包括:A个填充字节;A为大于或等于0的整数。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.
在一些实施方式中,第五预设阈值根据系统当前所能容忍的最大传输时延确定。例如,第五预设阈值为系统当前所能容忍的最大传输时延所能传输的数据量。In some implementations, the fifth preset threshold is determined according to 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.
在一些实施方式中,系统当前所能容忍的最大传输时延小于或等于一个排布周期的时间长度。In some implementations, the maximum transmission delay that the system can currently tolerate is less than or equal to the time length of one scheduling cycle.
在一些实施方式中,去抖动单元602可以按照排布周期的数据图样中当前激活的k个CC的业务数据量的比值从排布周期的数据图样中分离出当前激活的k个CC的业务数据。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.
在一些实施方式中,解帧单元601解调第二数据帧得到N个排布周期的数据图样时,还得到CRC校验结果,CRC校验失败后产生告警信息给本地主控CPU进行后续处理,校验成功后将N个排布周期的数据图样输出给去抖动单元602进行后续处理。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. After the CRC check fails, an alarm message is generated to the local main control CPU for subsequent processing. After the check succeeds, the data patterns of N arrangement periods are output to the de-jitter unit 602 for subsequent processing.
在一些实施方式中,解帧单元601还包括:物理接收单元603,配置为分别对从每一个激活的物理传输通道上接收的数据进行第二物理层处理;反向位宽转换单元604,配置为对第二物理层处理后的数据进行反位宽转换;通道对齐单元605,配置为对所有激活的物理传输通道上的反位宽转换后的数据进行通道对齐;对通道对齐后的数据进行符号边界搜索和高速串行通信译码;解映射单元606,配置为对所有激活的物理传输通道上的译码后的数据进行解物理传输通道 映射得到第二数据帧。In some embodiments, the deframing unit 601 further includes: a physical receiving unit 603, configured to perform second physical layer processing on the data received from each activated physical transmission channel respectively; a reverse bit width conversion unit 604, configured to perform reverse bit width conversion on the data processed by the second physical layer; a channel alignment unit 605, configured to perform channel alignment on the reverse 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; a demapping unit 606, configured to perform demapping on the decoded data on all activated physical transmission channels. The second data frame is obtained by mapping.
在一些实施方式中,在第二芯片为RF芯片的情况下,物理接收单元603的输入连接RF芯片上M个激活的物理传输通道对应的M组差分信号管脚,输出的M条激活的物理传输通道各自连接1个反向位宽转换单元604。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.
在一些实施方式中,每一个激活的物理传输通道对应一个反向位宽转换单元604。In some implementations, each activated physical transmission channel corresponds to one inverse bit width conversion unit 604 .
在一些实施方式中,反位宽转换是将物理接收单元603输出的第二物理层处理后的数据的位宽转换为通道对齐单元605所需要的位宽。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 channel alignment unit 605 .
在一些实施方式中,通道对齐单元605进行通道对齐的目的主要是消除不同物理传输通道之间的时延抖动问题,这里不同物理传输通道的时延抖动问题可能是由板级走线的不同而导致的。In some implementations, the channel alignment unit 605 performs channel alignment mainly to eliminate the delay jitter problem between different physical transmission channels. Here, the delay jitter problem between different physical transmission channels may be caused by the difference in board-level routing.
在一些实施方式中,高速串行通信译码可以是例如8B/10B译码或64B/66B译码或128B/132B译码等。In some implementations, the high-speed serial communication decoding may be, for example, 8B/10B decoding, 64B/66B decoding, 128B/132B decoding, or the like.
在一些实施方式中,第二物理层处理包括均衡处理、时钟恢复处理、接收滤波和串并转换等处理。In some implementations, the second physical layer processing includes equalization processing, clock recovery processing, reception filtering, and serial-to-parallel conversion.
在一些实施方式中,该数据处理装置还包括:控制单元607,配置为缓存分离出的所有激活的CC的业务数据,分别判断缓存的每个CC的业务数据量是否大于或等于第六预设阈值;在缓存的所有CC的业务数据量均大于或等于第六预设阈值的情况下,通知后续单元读取缓存的CC的业务数据进行后续处理。In some embodiments, the data processing device also includes: a control unit 607, configured to cache the business data of all activated CCs separated out, and to 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 CCs for subsequent processing.
上述数据处理装置的具体实现过程与前述的数据处理方法的具体实现过程相同,这里不再赘述。The specific implementation process of the above data processing device is the same as the specific implementation process of the above data processing method, which will not be repeated here.
第五方面,参照图7,本申请实施例提供一种通信设备,包括:上述数据处理装置。In a fifth aspect, referring to FIG. 7 , an embodiment of the present application provides a communication device, including: the above-mentioned data processing device.
第六方面,本申请实施例提供一种计算机可读存储介质,存储有计算机程序,计算机程序被处理器执行,使得所述处理器实现上述数据处理方法。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.
本领域普通技术人员可以理解,上文中所公开方法中的全部或 某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器(如中央处理器、数字信号处理器或微处理器)执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其它存储器技术、CD-ROM、数字多功能盘(DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储器、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。It will be understood by those skilled in the art that all or part of the methods disclosed above Functional modules/units in certain steps, systems, and devices 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 physical components 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 known to those of ordinary skill 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 include, but are 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 tapes, 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, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
本文已经公开了示例实施方式,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不是限制性的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则与特定实施方式相结合描述的特征、特性和/或元素可单独使用,或可与结合其它实施方式描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本申请的范围的情况下,可进行各种形式和细节上的改变。 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 in a limiting sense. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly noted, 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 (5)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310961630.4 | 2023-07-31 | ||
| CN202310961630.4A CN117097445A (en) | 2023-07-31 | 2023-07-31 | Data processing method and device, communication equipment and computer readable medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025025990A1 true WO2025025990A1 (en) | 2025-02-06 |
Family
ID=88774459
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/104009 Pending WO2025025990A1 (en) | 2023-07-31 | 2024-07-05 | Data processing method and apparatus, communication device, and computer-readable storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN117097445A (en) |
| WO (1) | WO2025025990A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117097445A (en) * | 2023-07-31 | 2023-11-21 | 深圳市中兴微电子技术有限公司 | Data processing method and device, communication equipment and computer readable medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106301678A (en) * | 2015-06-08 | 2017-01-04 | 华为技术有限公司 | Method, communication equipment and the communication system that a kind of data process |
| US20170155458A1 (en) * | 2014-06-30 | 2017-06-01 | Sanechips Technology Co.,Ltd. | Multi-lane synchronization method, synchronization apparatus and system, and computer storage medium |
| US20220394729A1 (en) * | 2020-02-17 | 2022-12-08 | Huawei Technologies Co., Ltd. | Service Transmission Method, and Apparatus |
| CN117097445A (en) * | 2023-07-31 | 2023-11-21 | 深圳市中兴微电子技术有限公司 | Data processing method and device, communication equipment and computer readable medium |
-
2023
- 2023-07-31 CN CN202310961630.4A patent/CN117097445A/en active Pending
-
2024
- 2024-07-05 WO PCT/CN2024/104009 patent/WO2025025990A1/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170155458A1 (en) * | 2014-06-30 | 2017-06-01 | Sanechips Technology Co.,Ltd. | Multi-lane synchronization method, synchronization apparatus and system, and computer storage medium |
| CN106301678A (en) * | 2015-06-08 | 2017-01-04 | 华为技术有限公司 | Method, communication equipment and the communication system that a kind of data process |
| US20220394729A1 (en) * | 2020-02-17 | 2022-12-08 | Huawei Technologies Co., Ltd. | Service Transmission Method, and Apparatus |
| CN116405973A (en) * | 2020-02-17 | 2023-07-07 | 华为技术有限公司 | A service transmission method and device |
| CN117097445A (en) * | 2023-07-31 | 2023-11-21 | 深圳市中兴微电子技术有限公司 | Data processing method and device, communication equipment and computer readable medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117097445A (en) | 2023-11-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9807757B2 (en) | Method and apparatus of transmitting PPDU in wireless communication system | |
| EP1161820B1 (en) | Seamless rate adaptive multicarrier modulation system and protocols | |
| US8718163B2 (en) | Method for seamlessly changing power modes in an ADSL system | |
| WO2025025990A1 (en) | Data processing method and apparatus, communication device, and computer-readable storage medium | |
| WO2025025988A1 (en) | Data processing method and apparatus, communication device, and computer readable storage medium | |
| WO2025025974A1 (en) | Data processing method and apparatus, and communication device and computer-readable storage medium | |
| CN115104269A (en) | Uplink retransmission with compact memory usage | |
| US20050220202A1 (en) | Method for seamlessly changing power modes in an ADSL system | |
| WO2024093878A1 (en) | Communication method and apparatus | |
| KR20090035549A (en) | Transmission driver data communication | |
| CN117083820A (en) | Data transmission method, communication equipment and system | |
| CN113890673B (en) | Decoding method, decoding device and storage medium | |
| CN106535257A (en) | Transmission method and device for data frame of wireless local area network | |
| WO2019201196A1 (en) | Rate matching method and apparatus, and rate de/matching method and apparatus | |
| JP2008113444A (en) | Method and apparatus for header setting in wireless communications system | |
| CN117560359B (en) | DigRF frame processing method, digRF frame processing device, digRF frame processing computer equipment and DigRF frame processing readable medium | |
| WO2022117058A1 (en) | Data transmission method and apparatus | |
| CN102067471B (en) | Resource management in a wireless communication network | |
| WO2024027710A1 (en) | Digrf frame processing method and apparatus, computer device, and readable medium | |
| WO2020010968A1 (en) | Data sending method, receiving method, device, and system | |
| WO2023039699A1 (en) | Information transmission method, apparatus and device, and storage medium | |
| WO2023039806A1 (en) | Data transmission method and apparatus, device, and storage medium | |
| AU2005237157B2 (en) | Seamless rate adaptive multicarrier modulation system and protocols | |
| CN119854241A (en) | Network system, message forwarding method and forwarding policy issuing method | |
| CN116346613A (en) | A method, communication device and system for interface self-adaptation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24847950 Country of ref document: EP Kind code of ref document: A1 |