Radio frequency interface sending and receiving device and method, chip, base station and terminal
By using an interleaving unit and a delay adjustment unit in the RF interface transmitting device, the interleaving pattern and delay adjustment amount of the data channel are adaptively adjusted, and the transmission rate changes and delay problems in the prior art are solved, thereby achieving the improvement of stability and reliability.
Patent Information
- Application Number
- CN202411616436.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-11-13
AI Technical Summary
The existing RF interface devices cannot automatically adapt to the changes in transmission rate due to service changes while ensuring that the transmission delay does not change, and cannot reduce transmission delay, solving the problem of fixed transmission delay.
By introducing a service data interleaving unit, a delay adjustment amount determination unit and a framer unit in the RF interface sending device, the data of multiple data channels are serially interleaved according to the current interleaving pattern, and the delay adjustment amount of each data channel is determined to form an interleaved data and management frame that adapts to business changes.
It realizes adaptive adjustment of the RF interface bearer bandwidth under the condition of unchanged transmission delay, reduces power consumption, improves the stability and reliability of system data transmission, and solves the problem of crosstalk between services.
Smart Images

Figure CN119232329B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of wireless communication technology, and in particular to a radio frequency interface sending device, a radio frequency interface sending method, a radio frequency interface receiving device, a radio frequency interface receiving method, a chip, a base station and a terminal device. Background Art
[0002] Although radio frequency (RF) interface devices of related technologies, such as JESD204B interface or JESD204C interface, can solve the problem of transmission delay jitter and reduce transmission delay, due to the basic characteristics of their transmission technology, such interface devices cannot automatically adapt to changes in transmission rate caused by business changes while ensuring that the transmission delay does not change.
[0003] Some other RF interface devices, such as the DigRF V4 interface, can adaptively adjust the transmission bandwidth to match the changes in transmission rate caused by business changes. However, due to the basic characteristics of their transmission technology, this type of interface device cannot reduce transmission delay or solve the problem of fixed transmission delay. Summary of the invention
[0004] The present disclosure provides an RF interface sending device, an RF interface sending method, an RF interface receiving device, an RF interface receiving method, a chip, a base station and a terminal device.
[0005] In a first aspect, an embodiment of the present disclosure provides an RF interface sending device, including a sending controller, the sending controller including a service data interleaving unit, a delay adjustment amount determining unit and a framer unit, wherein the service data interleaving unit is configured to: serially interleave data of multiple data channels according to a current interleaving pattern to form interleaved data including one or more cycles, wherein the data of each channel includes multiple unit data blocks, the interleaving pattern indicates the corresponding number of unit data blocks of each data channel included in the interleaved data of one cycle and the arrangement order of the unit data blocks of the multiple data channels in one cycle, and serially interleave the data of the multiple data channels with the same interleaving pattern in the one or more cycles, and the delay adjustment amount determining unit is configured to: determine each unit data block corresponding to the current interleaving pattern. The delay adjustment amount of a data channel, wherein, in a case where the position of a unit data block of one data channel among the multiple data channels in the current interleaving pattern is offset by m unit data blocks along a first direction relative to the position in the previous interleaving pattern, the historical delay adjustment amount of the one data channel corresponding to the previous interleaving pattern is offset by m unit data blocks in a direction opposite to the first direction and then determined as the delay adjustment amount of the one data channel corresponding to the current interleaving pattern, wherein m is an integer greater than or equal to 1, and the framer unit is configured to: form a service frame according to the interleaved data, wherein the interleaved data is filled in the payload area of the service frame as net load data; and form a management frame, wherein the management frame includes information on the delay adjustment amount of each data channel corresponding to the current interleaving pattern.
[0006] In a second aspect, an embodiment of the present disclosure provides an RF interface receiving device, comprising a receiving controller, the receiving controller comprising a deframer unit, a service data deinterleaving unit and a plurality of delay units, wherein the service data deinterleaving unit is configured to: receive the net load data of the service frame provided by the deframer unit; deinterleave the net load data according to an interleaving pattern to obtain data of a plurality of data channels, wherein the net load data comprises one or more periods of interleaved data, the data of each channel comprises a plurality of unit data blocks, the interleaving pattern indicates the corresponding number of unit data blocks of each data channel included in the interleaved data of a period and the arrangement order of the unit data blocks of the plurality of data channels within a period, and the plurality of unit data blocks are interleaved with the same interleaving pattern within the one or more periods. The data of the data channel are serially interleaved, and the deframer unit is configured to: deframe the input data according to the business frame structure or the management frame structure to obtain a business frame or a management frame, wherein, when the input data is deframed to obtain the business frame, the deframer unit sends the net load data of the business frame to the business data deinterleaving unit, and when the input data is deframed to obtain the management frame, the management frame includes information of the interleaving pattern and information of the delay adjustment amount of each data channel corresponding to the interleaving pattern, the multiple delay units correspond to the multiple data channels respectively, and each delay unit is configured to: according to the delay adjustment amount of the corresponding data channel, delay the data of the data channel for a time corresponding to the delay adjustment amount and then output it.
[0007] In a third aspect, an embodiment of the present disclosure provides a transmission method for an RF interface, comprising: serially interleaving data of multiple data channels according to a current interleaving pattern to form interleaved data including one or more periods, wherein the data of each channel includes multiple unit data blocks, and the interleaving pattern indicates the corresponding number of unit data blocks of each data channel included in the interleaved data of one period and the arrangement order of the unit data blocks of the multiple data channels within one period, and serially interleaving the data of the multiple data channels with the same interleaving pattern within the one or more periods; determining a delay adjustment amount for each data channel corresponding to the current interleaving pattern, wherein the unit data blocks of one data channel in the multiple data channels are arranged in a corresponding order. When the position of a data block in the current interleaving pattern is offset by m unit data blocks along a first direction relative to the position in the previous interleaving pattern, the historical delay adjustment amount of the one data channel corresponding to the previous interleaving pattern is offset by m unit data blocks in a direction opposite to the first direction and then determined as the delay adjustment amount of the one data channel corresponding to the current interleaving pattern, wherein m is an integer greater than or equal to 1; a service frame is formed according to the interleaved data, wherein the interleaved data is filled in the payload area of the service frame as net load data; a management frame is formed, wherein the management frame includes information on the delay adjustment amount of each data channel corresponding to the current interleaving pattern; and the service frame or the management frame is sent.
[0008] In a fourth aspect, an embodiment of the present disclosure provides a receiving method for an RF interface, comprising: deframing input data according to a service frame structure or a management frame structure to obtain a service frame or a management frame; in the case of deframing the input data to obtain the service frame, deinterleaving the net load data of the service frame according to an interleaving pattern to obtain data of multiple data channels, wherein the net load data includes one or more cycles of interleaved data, the data of each channel includes multiple unit data blocks, the interleaving pattern indicates the corresponding number of unit data blocks of each data channel included in the interleaved data of one cycle and the arrangement order of the unit data blocks of the multiple data channels within one cycle, and serially interleaving the data of the multiple data channels with the same interleaving pattern within the one or more cycles; in the case of deframing the input data to obtain the management frame, obtaining the interleaving pattern and the delay adjustment amount of each data channel corresponding to the interleaving pattern according to the management frame; according to the respective delay adjustment amounts of the multiple data channels, respectively delaying the data of each data channel by a time corresponding to the delay adjustment amount and outputting it.
[0009] In a fifth aspect, an embodiment of the present disclosure provides a chip, including an RF interface sending device according to the present disclosure, and an RF interface receiving device according to the present disclosure.
[0010] In a sixth aspect, an embodiment of the present disclosure provides a base station, comprising a chip according to the present disclosure.
[0011] In a seventh aspect, an embodiment of the present disclosure provides a terminal device, comprising a chip according to the present disclosure.
[0012] According to the disclosed embodiment, the data of multiple data channels are serially interleaved according to the current interleaving pattern to form interleaved data, and the delay adjustment amount of each data channel corresponding to the current interleaving pattern is determined, so that the data of each data channel can be delayed by the time corresponding to the delay adjustment amount according to the respective delay adjustment amounts of the multiple data channels and then output. Therefore, under the condition of ensuring that the transmission delay remains unchanged, the problem of crosstalk between services introduced by operations such as service link removal, link establishment, or stop / resume transmission can be effectively solved, and the RF interface bearer bandwidth can be adaptively adjusted according to the change of the actual transmission rate of the service, and the power consumption of the RF interface is reduced by improving the utilization efficiency of the bearer bandwidth, and the stability and reliability of the system data transmission are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In the accompanying drawings of the embodiments of the present disclosure:
[0014] Figure 1 A schematic block diagram of a transmission controller of an RF interface transmission device according to an embodiment of the present disclosure is shown;
[0015] Figure 2 Another schematic block diagram of a transmission controller of an RF interface transmission device according to an embodiment of the present disclosure is shown;
[0016] Figure 3 A schematic structural diagram of a service frame according to an embodiment of the present disclosure is shown;
[0017] Figure 4 A schematic structural diagram of a management frame according to an embodiment of the present disclosure is shown;
[0018] Figure 5 Another schematic block diagram of a transmission controller of an RF interface transmission device according to an embodiment of the present disclosure is shown;
[0019] Figure 6 An example of a management frame transmission timing according to an embodiment of the present disclosure is shown;
[0020] Figure 7 A schematic block diagram of an RF interface sending device according to an embodiment of the present disclosure is shown;
[0021] Figure 8 A flow chart of a sending method for an RF interface according to an embodiment of the present disclosure is shown;
[0022] Fig. 9 A detailed flow chart of step S120 in the sending method for the RF interface according to an embodiment of the present disclosure is shown;
[0023] Fig.10 Another flow chart of a sending method for an RF interface according to an embodiment of the present disclosure is shown;
[0024] Fig.11 Another flow chart of a sending method for an RF interface according to an embodiment of the present disclosure is shown;
[0025] Fig.12 A detailed flow chart of step S150 in the sending method for the RF interface according to an embodiment of the present disclosure is shown;
[0026] Fig.13 A schematic block diagram of a receiving controller of an RF interface receiving device according to an embodiment of the present disclosure is shown;
[0027] Fig.14 Another schematic block diagram of a receiving controller of an RF interface receiving device according to an embodiment of the present disclosure is shown;
[0028] Fig.15 An example of delay adjustment according to an embodiment of the present disclosure is shown;
[0029] Fig.16 Another schematic block diagram of a receiving controller of an RF interface receiving device according to an embodiment of the present disclosure is shown;
[0030] Fig.17 A schematic block diagram of an RF interface receiving device according to an embodiment of the present disclosure is shown;
[0031] Fig.18 A flow chart of a receiving method for an RF interface according to an embodiment of the present disclosure is shown;
[0032] Fig.19 A detailed flow chart of step S240 in the receiving method for the RF interface according to an embodiment of the present disclosure is shown;
[0033] Fig. 20 A typical application scenario of the RF interface device according to an embodiment of the present disclosure is shown;
[0034] Fig.21 The figure shows the connection relationship between the sending controller and the sending physical layer of the RF interface sending device according to the embodiment of the present disclosure;
[0035] Fig. 22 The connection relationship between the receiving controller and the receiving physical layer of the RF interface receiving device according to the embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0036] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0037] The present disclosure will be described more fully below with reference to the accompanying drawings, but the embodiments shown may be embodied in different forms, and the present disclosure should not be construed as being limited to the embodiments set forth below. On the contrary, the purpose of providing these embodiments is to make the present disclosure thorough and complete, and to enable those skilled in the art to fully understand the scope of the present disclosure.
[0038] The accompanying drawings of the embodiments of the present disclosure are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the detailed embodiments, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. By describing the detailed embodiments with reference to the accompanying drawings, the above and other features and advantages will become more apparent to those skilled in the art.
[0039] The present disclosure may be described with reference to plan views and / or cross-sectional views by means of ideal schematic views of the present disclosure. Therefore, the exemplary illustrations may be modified according to manufacturing techniques and / or tolerances.
[0040] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.
[0041] The terms used in the present disclosure are only used to describe specific embodiments and are not intended to limit the present disclosure. The term "and / or" as used in the present disclosure includes any and all combinations of one or more related enumerated items. The singular forms "one" and "the" as used in the present disclosure are also intended to include plural forms, unless the context clearly indicates otherwise. The terms "including", "made of..." as used in the present disclosure specify the presence of the features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof.
[0042] Unless otherwise defined, all terms (including technical and scientific terms) used in this disclosure have the same meaning as 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 disclosure, and will not be interpreted as having an idealized or overly formal meaning unless expressly defined in this disclosure.
[0043] RF interface devices of related technologies, such as JESD204B interface or JESD204C interface, can solve the problem of transmission delay jitter and reduce transmission delay. However, due to the basic characteristics of the transmission technology of such interface devices, the distribution patterns of different transmission services in the frame structure cannot be changed. Once the distribution pattern changes, the link must be broken and rebuilt. After the link is broken and rebuilt, the delay relationship under the original service link no longer exists. This means that any link break and reconstruction will cause a delay jitter for all service transmissions that have established links, resulting in the inability to automatically adapt to changes in transmission rate caused by service changes while ensuring that the transmission delay does not change. Therefore, this type of interface can only use a fixed-rate transmission method. The RF interface using this technology must construct the service distribution pattern in the data frame structure according to the maximum transmission service combination and peak traffic at the beginning of link establishment. If some services do not have actual data transmission requirements, or the discontinuous transmission services are in a dormant state, these services will also send invalid data on the JESD204B interface or JESD204C interface to ensure that the RF interface can work stably and reliably when these services have data transmission requirements. These invalid transmissions waste a lot of bearer bandwidth and power consumption.
[0044] Some other RF interface devices, such as the DigRF V4 interface, can adaptively adjust the transmission bandwidth to match the changes in transmission rate caused by service changes. However, due to the basic characteristics of the transmission technology of such interface devices, they cannot reduce transmission delay or solve the problem of fixed transmission delay. This is because the DigRF V4 interface requires that the basic unit of transmission is a data frame. Caching data frames will increase transmission delay. In addition, the DigRF V4 interface sends data frames in a polling manner. In the application scenario where multiple services are concurrent, any adjustment or discontinuous transmission and reception of any service will cause jitter in the transmission and reception delay of other services. For example, there are currently two equal-rate subcarrier (cc) services cc0 and cc1 that need to transmit data. Since the payload area of each data frame of the DigRF V4 interface only carries the service data of the same cc service, the poller responsible for distributing transmission time slices monitors the data cache of each cc service in real time. When it is found that the data cache of the cc0 service is full of a frame of data, the data is immediately sent to the subsequent framing module for processing. After the data of the cc0 service is sent, the data of the cc1 service is sent to the framing module for processing, and then the data of the cc0 service and the data of the cc1 service are sent. And so on. If the system deletes the transmission connection of the cc0 service, the data frame of the cc1 service will be sent in advance because there is no congestion of the cc0 service; on the contrary, if the system adds a transmission connection of the cc2 service, the cc0 service and the cc1 service will adjust the time interval to send the data frame backward due to the influence of the cc2 service. The larger the transmission bandwidth of the newly added cc2 service, the greater the impact on the cc0 service and the cc1 service. Therefore, any change in the transmission service (deleting the transmission service or adding the transmission service) means that the time position of the data frame of the existing service has changed, which is a delay jitter in the eyes of the receiving end, which is unacceptable for system-level service transmission.
[0045] During the transmission process, the baseband signal of the physical layer of 5G mobile communication often faces the operation of adding or deleting services or discontinuous transmission and reception, which leads to the problems of transmission rate change and delay jitter, which seriously interferes with the stable and reliable data transmission required by mobile communication. In addition, since the real-time performance of data transmission is also a key indicator for considering the performance of RF interface devices, both base stations and mobile terminals need such an RF interface device, which can adapt to the changes in transmission rate and remove delay jitter, while also reducing transmission delay as much as possible.
[0046] In order to solve the problems existing in related high-speed interfaces, the present disclosure proposes a new private frame structure, and by optimizing the implementation of protocol processing, proposes a large-bandwidth, low-latency RF interface device that supports variable rate and fixed delay.
[0047] An embodiment of the present disclosure provides an RF interface sending device.
[0048] Figure 1 A schematic block diagram of a transmission controller of an RF interface transmission device according to an embodiment of the present disclosure is shown.
[0049] like Figure 1 As shown, the RF interface sending device according to the embodiment of the present disclosure includes a sending controller 100 , and the sending controller 100 includes a service data interleaving unit 101 , a delay adjustment amount determining unit 102 and a framer unit 103 .
[0050] The service data interleaving unit 101 is configured to serially interleave the data of multiple data channels according to the current interleaving pattern to form interleaved data including one or more cycles. The data of each channel includes multiple unit data blocks. The interleaving pattern indicates the corresponding number of unit data blocks of each data channel included in the interleaved data of one cycle and the arrangement order of the unit data blocks of multiple data channels in one cycle. The data of multiple data channels are serially interleaved with the same interleaving pattern in one or more cycles.
[0051] According to the embodiment of the present disclosure, the data of each channel may include multiple data blocks in units of sample points, and one sample point is composed of a set of in-phase / quadrature (I / Q) data. For example, the sampling accuracy of I / Q data is 12 bits, so one sample point can be data represented by 24 bits. In the same product, the accuracy represented by the sample point is the same.
[0052] The interleaving pattern may include the number of unit data blocks of each data channel in the interleaved data of one cycle and the arrangement order of the unit data blocks of each data channel in one cycle. For example, there are three CC services cc0, cc1 and cc2 that need to transmit data, that is, data needs to be transmitted on three data channels, and the interleaving pattern can be expressed as:
[0053] s0, s1, s1, s2
[0054] S0 represents the sample point of the data channel corresponding to the cc0 service, S1 represents the sample point of the data channel corresponding to the cc1 service, and S2 represents the sample point of the data channel corresponding to the cc2 service. This example interleaving pattern means that the interleaved data in one cycle includes one sample point of the cc0 service, two sample points of the cc1 service, and one sample point of the cc2 service, and is arranged in the order from the cc0 service to the cc1 service and then to the cc2 service. If the transmission service does not change, the interleaving pattern will not change, and the data of the data channels corresponding to these transmission services are serially interleaved with the same interleaving pattern in each cycle.
[0055] The delay adjustment amount determining unit 102 is configured to determine the delay adjustment amount of each data channel corresponding to the current interleaving pattern. When the position of a unit data block of one of the multiple data channels in the current interleaving pattern is shifted by m unit data blocks along a first direction relative to the position in the previous interleaving pattern, a historical delay adjustment amount corresponding to the previous interleaving pattern of the one data channel is shifted by m unit data blocks in a direction opposite to the first direction and is determined as the delay adjustment amount corresponding to the current interleaving pattern of the one data channel, where m is an integer greater than or equal to 1.
[0056] For example, originally there are two cc services cc0 and cc1 that need to send data, and the interleaving pattern is, for example, s0, s1, s1, which means that one sample point of the cc0 service and two sample points of the cc1 service are included in the interleaving data of one cycle, and they are arranged in the order from the cc0 service to the cc1 service. A new cc2 service is added, and the position relationship of this service is between the cc0 service and the cc1 service. In this case, the interleaving pattern can be changed to, for example, s0, s2, s2, s2, s2,s1, s1, which means that one sample point of the cc0 service, four sample points of the cc2 service and two sample points of the cc1 service are included in the interleaving data of one cycle, and they are arranged in the order from the cc0 service to the cc2 service and then to the cc1 service. In other words, the position of the data of the data channel corresponding to the cc1 service in the current interleaving pattern is offset by 4 sample points backward (i.e., in the first direction) relative to the position in the previous interleaving pattern. If the delay of the data channel corresponding to the cc1 service is not adjusted, then for the receiving side, the delay of the cc0 service does not change, while the cc1 service will be delayed by 4 sample points. In order to achieve delay fixation, the delay of the data channel corresponding to the cc1 service needs to be adjusted forward (i.e., in the opposite direction to the first direction) by 4 sample points.
[0057] According to an embodiment of the present disclosure, the delay adjustment amount determination unit 102 is further configured to: in the absence of a previous interleaving pattern, determine the delay adjustment amount of each data channel corresponding to the current interleaving pattern as a specified value; in the absence of a historical delay adjustment amount corresponding to the previous interleaving pattern for one data channel among multiple data channels, determine the delay adjustment amount of the data channel corresponding to the current interleaving pattern as a specified value.
[0058] In the above example, the data channel corresponding to the newly added cc2 service does not have a historical delay adjustment amount corresponding to the previous interleaving pattern, so the delay adjustment amount of the data channel can be determined as a specified value according to service requirements.
[0059] The framer unit 103 is configured to form a service frame according to the interleaved data, and the interleaved data is filled in the payload area of the service frame as the payload data. The framer unit 103 is also configured to form a management frame, and the management frame includes information on the delay adjustment amount of each data channel corresponding to the current interleaving pattern.
[0060] like Figure 1 As shown, the service data interleaving unit 101 sends the interleaved data to the framer unit 103 to form a service frame, and the delay adjustment amount determination unit 102 sends the delay adjustment amount of each data channel corresponding to the current interleaving pattern to the framer unit 103 to form a management frame.
[0061] It should be recognized that although Figure 1 In the figure, the delay adjustment determination 102 is shown as being directly connected to the framer unit 103, but those skilled in the art can understand that the delay adjustment determination 102 can be indirectly connected to the framer unit 103 via, for example, a memory or a register component, that is, the delay adjustment determination 102 can send the delay adjustment amount to the memory or register, and the framer unit 103 can obtain the delay adjustment amount by reading the memory or the register. It should be recognized that the arrows in the drawings of the present disclosure are intended to illustrate the flow of data and / or signals between the various components, and do not mean that there must be a direct connection relationship between the two components connected by the arrows.
[0062] According to the embodiment of the present disclosure, the delay adjustment amount of each data channel corresponding to the current interleaving pattern can be sent to the receiving side through the management frame. The receiving side can output the data of the data channel after delaying the time corresponding to the delay adjustment amount according to the received delay adjustment amount.
[0063] According to an embodiment of the present disclosure, the delay adjustment amount may include a first delay adjustment amount and a second delay adjustment amount, and the delay adjustment amount determining unit 102 is configured to: when the position of a unit data block of one of the multiple data channels in the current interleaving pattern is offset by m unit data blocks along a first direction relative to the position in the previous interleaving pattern, offset the historical first delay adjustment amount corresponding to the previous interleaving pattern of the one data channel by m unit data blocks in a direction opposite to the first direction. When the historical first delay adjustment amount after the offset is a negative number, set the first delay adjustment amount corresponding to the current interleaving pattern of the one data channel to 0, and set the difference between the historical second delay adjustment amount corresponding to the previous interleaving pattern of the one data channel and the size of the first number of unit data blocks as the second delay adjustment amount corresponding to the current interleaving pattern of the one data channel, the first number being the absolute value of the negative number. When the historical first delay adjustment amount after the offset is not a negative number, the historical first delay adjustment amount after the offset is set to the first delay adjustment amount corresponding to the current interleaving pattern of the one data channel, and the second delay adjustment amount corresponding to the current interleaving pattern of the one data channel is set to be equal to the historical second delay adjustment amount corresponding to the previous interleaving pattern.
[0064] According to an embodiment of the present disclosure, the delay adjustment amount of a data channel may include two parts, namely, a first delay adjustment amount and a second delay adjustment amount. That is, the embodiment of the present disclosure may provide two delay adjustment methods, one delay adjustment method may be implemented by a delay line, and the other delay adjustment method may be implemented by a delay storage unit (for example, implemented as a cache). The first delay adjustment amount and the second delay adjustment amount of each data channel corresponding to the current interleaving pattern may be sent to the receiving side through a management frame. The receiving side may delay the data of the data channel by a time corresponding to the first delay adjustment amount according to the received first delay adjustment amount, and send the data to the delay storage unit corresponding to the data channel, and output the data of the data channel when the data stored in the delay storage unit reaches the storage capacity corresponding to the second delay adjustment amount.
[0065] According to an embodiment of the present disclosure, a delay line can be used to delay the data of a data channel by a time corresponding to a first delay adjustment amount. For example, a delay line can be used to delay the data of a data channel by a number of beats corresponding to the first delay adjustment amount, and each beat has a fixed time length. Therefore, the data of the data channel can be delayed by a time corresponding to the first delay adjustment amount.
[0066] Those skilled in the art can understand that the first delay adjustment amount can be expressed as the number of sample points, and the second delay adjustment amount can be expressed as the expected storage capacity of the delay storage unit. Continuing with the above example, when the delay amount of the data channel corresponding to the cc1 service needs to be adjusted forward by 4 sample points, it can be adjusted first by the first delay adjustment amount, that is, the historical first delay adjustment amount corresponding to the previous interleaving pattern is adjusted forward by 4 sample points. Adjusting the historical first delay adjustment amount forward by 4 sample points means subtracting the historical first delay adjustment amount by 4. In the case where the difference obtained after subtracting 4 from the historical first delay adjustment amount is a negative number, since it is meaningless for the number of beats of the delay line to be a negative number, the first delay adjustment amount corresponding to the current interleaving pattern is set to 0. In this case, it is necessary to further adjust the delay according to the second delay adjustment amount through the delay storage unit to achieve delay fixation. Specifically, the adjustment method is to set the difference between the historical second delay adjustment amount corresponding to the previous interleaving pattern and the size of the first number of unit data blocks (e.g., sample points) (e.g., 24 bits) as the second delay adjustment amount corresponding to the current interleaving pattern, and the first number is the absolute value of the negative number. For example, the difference obtained by subtracting 4 from the historical first delay adjustment amount is -3, so the first delay adjustment amount corresponding to the current interleaving pattern is set to 0, and the result obtained by subtracting 3 (i.e., the absolute value of -3) sample points (e.g., 3×24=72 bits) from the historical second delay adjustment amount is set as the second delay adjustment amount corresponding to the current interleaving pattern. On the other hand, if the difference obtained by subtracting 4 from the historical first delay adjustment amount is not a negative number, the difference is set as the first delay adjustment amount corresponding to the current interleaving pattern, and the historical second delay adjustment amount corresponding to the previous interleaving pattern continues to be used as the second delay adjustment amount corresponding to the current interleaving pattern.
[0067] According to an embodiment of the present disclosure, the delay adjustment amount determination unit 102 is further configured to: in the absence of a previous interleaving pattern, determine the first delay adjustment amount and the second delay adjustment amount of each data channel corresponding to the current interleaving pattern as the first specified value and the second specified value, respectively; in the absence of a historical delay adjustment amount corresponding to the previous interleaving pattern for one data channel among multiple data channels, determine the first delay adjustment amount and the second delay adjustment amount of the data channel corresponding to the current interleaving pattern as the first specified value and the second specified value, respectively.
[0068] In the above example, the data channel corresponding to the newly added cc2 service does not have a historical delay adjustment amount corresponding to the previous interleaving pattern. Therefore, according to service requirements, the first delay adjustment amount and the second delay adjustment amount of the data channel can be determined as the first specified value and the second specified value respectively.
[0069] According to the RF interface device of the embodiment of the present disclosure, under the condition of ensuring that the transmission delay remains unchanged, the problem of crosstalk between services introduced by operations such as service link disconnection, link establishment, or stop / resume transmission can be effectively solved. At the same time, the RF interface bearer bandwidth can be adaptively adjusted according to changes in the actual transmission rate of the service. By improving the utilization efficiency of the bearer bandwidth, the power consumption of the RF interface is reduced, and the stability and reliability of the system data transmission are improved.
[0070] Figure 2 Another schematic block diagram of a transmission controller of an RF interface transmission device according to an embodiment of the present disclosure is shown.
[0071] like Figure 2 As shown, the sending controller 100 of the RF interface sending device according to the embodiment of the present disclosure may further include an interleaving pattern determining unit 104.
[0072] The interleaving pattern determining unit 104 is configured to determine the interleaving pattern according to at least one of the following: information of multiple services corresponding to multiple data channels respectively; user configuration information. The management frame may also include information of the current interleaving pattern.
[0073] like Figure 2 As shown, the interleaving pattern determination unit 104 sends the interleaving pattern to the service data interleaving unit 101, the delay adjustment amount determination 102 and the framer unit 103 respectively, so that the service data interleaving unit 101 can perform data interleaving according to the interleaving pattern, the delay adjustment amount determination 102 can determine the delay adjustment amount of each data channel according to the current interleaving pattern and the previous interleaving pattern, and the framer unit 103 forms a management frame including the interleaving pattern.
[0074] It should be recognized that although Figure 2 The interleaving pattern determination unit 104 is shown as being directly connected to each of the service data interleaving unit 101, the delay adjustment amount determination 102 and the framer unit 103, but those skilled in the art will appreciate that the interleaving pattern determination unit 104 may be indirectly connected to one or more of the service data interleaving unit 101, the delay adjustment amount determination 102 and the framer unit 103 via, for example, a component of a memory or a register, that is, the interleaving pattern determination unit 104 may send the interleaving pattern to the memory or register, and one or more of the service data interleaving unit 101, the delay adjustment amount determination 102 and the framer unit 103 may obtain the interleaving pattern by reading the memory or the register.
[0075] According to the embodiments of the present disclosure, the interleaving pattern may be determined according to the actual conditions of multiple services and / or according to the user's configuration, and the current interleaving pattern may be sent to the receiving side via a management frame.
[0076] According to an embodiment of the present disclosure, the interleaving pattern determination unit 104 is configured to: determine the interleaving image so that the ratio of the data amount of multiple data channels in the interleaving pattern is consistent with the ratio of the transmission bandwidth of multiple services, specifically, determine the interleaving image so that the ratio of the corresponding number of unit data blocks of the multiple data channels in the interleaving pattern is consistent with the ratio of the transmission bandwidth of multiple services.
[0077] For example, there are three cc services cc0, cc1 and cc2 that need to transmit data. The transmission bandwidth of the cc1 service is twice that of the cc0 service, while the transmission bandwidth of the cc2 service is the same as that of the cc0 service. The interleaving pattern can be expressed as:
[0078] s0, s1, s1, s2
[0079] This example interleaving pattern indicates that one cycle of interleaved data includes one sample point of cc0 service, two sample points of cc1 service and one sample point of cc2 service, and the ratio of the number of sample points of each service is consistent with the ratio of the transmission bandwidth of each service.
[0080] According to an embodiment of the present disclosure, the service frame may further include valid indication information for indicating whether the data of each data channel in the interleaved data is valid. The service data interleaving unit 101 is further configured to: when there is no data in one of the multiple data channels, fill the corresponding position of the unit data block of the one data channel in the interleaving pattern with invalid data as the data of the one data channel to obtain the interleaved data. The framer unit 103 is further configured to: set the valid information to indicate that the data of the one data channel is invalid.
[0081] After completing the interleaving pattern according to the service of the data to be transmitted and the transmission bandwidth configuration of each service, the service data interleaving unit 101 can perform serial interleaving on the data of multiple data channels according to the current interleaving pattern to obtain data. However, the arrival time of the data of each different service may be different, for example, the data of the cc0 service has arrived, while the data of the cc1 service has not arrived yet. In the case where the time boundary of the service frame has been reached, in order to ensure the real-time transmission of the service frame (that is, there is no need to cache the data at the RF interface transmitting device), when the service data interleaving unit 101 performs serial interleaving on the data of each data channel to form interleaved data, invalid data can be filled as the data of the data channel corresponding to the cc1 service at the corresponding position of the unit data block of the data channel, and the framer unit 103 can mark the data of the data channel corresponding to the cc1 service as invalid through valid information when forming the service frame. Invalid data can be implemented according to a specific data format, which is not limited by the present disclosure.
[0082] According to an embodiment of the present disclosure, the service frame may further include a service frame header feature word for indicating that the frame is a service frame.
[0083] Figure 3 A schematic structural diagram of a service frame according to an embodiment of the present disclosure is shown.
[0084] like Figure 3 As shown, according to an embodiment of the present disclosure, a service frame may include: a start of frame (Star of Frame, SOF), a service frame header feature word, valid indication information, interleaved data and an end of frame (End of Frame, EOF) or an end of transmission (End of Transmission, EOT).
[0085] SOF indicates the start of the frame seen on each lane, EOF indicates the end of the current frame, and EOT indicates the end of the current frame and the end of the current burst. The code description of SOF, EOF, and EOT can be defined by referring to the DigRFV4 protocol, or defined by the Physical Coding Sublayer (PCS) protocol.
[0086] The service frame header feature word is used to indicate that the frame is a service frame to distinguish it from a management frame. The valid indication information is used to indicate whether the data of each data channel in the interleaved data is valid, so that the receiving side can discard the data of the data channel indicated as invalid according to the valid indication information. The service frame header feature word and the valid indication information can be implemented according to various encoding methods that can achieve the above purpose, and the present disclosure does not limit this.
[0087] According to an embodiment of the present disclosure, the management frame may further include information about the management frame length and information about the service frame length. The management frame length is used to indicate the length of the management frame, and the service frame length is used to indicate the length of the service frame.
[0088] According to an embodiment of the present disclosure, the management frame may further include a management frame header feature word, which is used to indicate that the frame is a management frame.
[0089] According to an embodiment of the present disclosure, the management frame may further include information on data channel identifiers. In the interleaving pattern, the arrangement of the data channel identifiers of multiple data channels is used to indicate the corresponding number of unit data blocks of each data channel included in the interleaved data of one cycle, as well as the arrangement order of the unit data blocks of multiple data channels within one cycle.
[0090] Figure 4 A schematic structural diagram of a management frame according to an embodiment of the present disclosure is shown.
[0091] like Figure 4As shown, according to the embodiment of the present disclosure, the management frame may include: SOF, management frame header feature word, management frame length, service frame length, data channel identifier, interleaving pattern, delay adjustment amount (including a first delay adjustment amount and a second delay adjustment amount), cyclic redundancy check (CRC), EOF or EOT.
[0092] The meanings of SOF, EOF and EOT are consistent with those in the service frame and are not repeated here.
[0093] The management frame header feature word is used to indicate that the frame is a management frame to distinguish it from a service frame. The management frame length and the service frame length are used to indicate the length of the management frame and the length of the service frame respectively. The data channel identifier is used to indicate each currently activated data channel, and an interleaving pattern can be formed by arranging the data channel identifiers. The management frame header feature word, the management frame length, the service frame length and the data channel identifier can be implemented according to various coding methods that can achieve the above purposes, and the present disclosure does not limit this.
[0094] Figure 5 Another schematic block diagram of a transmission controller of an RF interface transmission device according to an embodiment of the present disclosure is shown.
[0095] like Figure 5 As shown, the transmission controller 100 of the RF interface transmission device according to the embodiment of the present disclosure may further include a mapping and caching unit 105. The mapping and caching unit 105 is configured to: receive multiple subcarrier data streams corresponding to multiple services respectively, map the multiple subcarrier data streams to the caches of multiple data channels, and provide the data in the caches to the service data interleaving unit 101.
[0096] According to the embodiment of the present disclosure, the mapping and caching unit 105 can route the data streams of multiple services to the caches of the data channels corresponding to the respective services according to the system configuration. It should be recognized that these caches are mainly used to solve the problem of service frame transmission path blocking that may be caused when sending management frames. Figure 5 As shown, after forming the management frame, the framer unit 103 can send, for example, management frame valid information to the mapping and buffering unit 105 and the service data interleaving unit 103 respectively, so as to inform the mapping and buffering unit 105 and the service data interleaving unit 103 that the management frame is currently being sent, so that the mapping and buffering unit 105 buffers the received service data, and the service data interleaving unit 103 suspends data interleaving. In the case of non-blocking, as long as there is data in the buffer of each data channel, the mapping and buffering unit 105 can send the data to the service data interleaving unit 103 for data interleaving in real time.
[0097] like Figure 5 As shown, the transmission controller 100 of the RF interface transmission device according to the embodiment of the present disclosure may further include a transmission frame selection unit 106. The transmission frame selection unit 106 is configured to select a service frame or a management frame as a transmission frame.
[0098] like Figure 5 As shown, after receiving the service frame and the management frame sent by the frame maker unit 103, the transmission frame selection unit 106 can select one of the service frame and the management frame as the transmission frame based on the system configuration.
[0099] According to an embodiment of the present disclosure, the transmission frame selection unit 106 is configured to: when the system initialization is completed and the link is established for the first time, at the beginning of the first burst, select the management frame as the transmission frame; at the beginning of other bursts after the link is established, when the content of the management frame changes, select the management frame as the transmission frame.
[0100] Selecting a management frame as a transmission frame only when the content of the management frame changes can minimize the impact of the transmission of the management frame on the transmission of the service frame, thereby minimizing the problem of blocking the service frame transmission path that may be caused when sending the management frame.
[0101] According to other embodiments of the present disclosure, the transmission frame selection unit 106 is configured to select a management frame as a transmission frame at the beginning of each burst after the link is established.
[0102] Selecting a management frame as a transmission frame at the beginning of each burst can ensure that the receiving side can deinterleave data, discard invalid data in the data channel, and delay data output based on the content of the management frame corresponding to the burst.
[0103] According to an embodiment of the present disclosure, the transmission frame selection unit 106 is configured to: when selecting a management frame as a transmission frame, enable the management frame to be repeatedly transmitted n times continuously, where n is an integer greater than 1.
[0104] By sending management frames multiple times in succession, it can be ensured that the receiving side can reliably receive the management frames.
[0105] According to the embodiment of the present disclosure, the sending frame selection unit 106 is configured to: make the sending priority of the management frame higher than the sending priority of the service frame.
[0106] When the content of the management frame changes, it is necessary to ensure that the receiving side can process the received data based on the updated content in the management frame, so the sending priority of the management frame needs to be set higher than the sending priority of the service frame.
[0107] Figure 6 An example of the management frame transmission timing according to an embodiment of the present disclosure is shown.
[0108] like Figure 6 As shown in the figure, when the burst state is idle (Idle), the channel stops sending data; when the burst state is working (Work), when the system initialization is completed and the link is established for the first time, three transmission frames are sent continuously at the beginning of the first burst (Burst 1) and then multiple (K) data frames are sent. At the beginning of the new burst (Burst 2), three management frames can be sent continuously and then multiple (M) data frames can be sent. Or, when the content of the management frame has not changed (Burst 3), it can be chosen not to send a management frame, but to directly send multiple (N) service frames. Figure 6 As shown, in the case of selecting to send a management frame (burst 1 and burst 2), the management frame is sent first and then the service frame is sent, that is, the sending priority of the management frame is higher than the sending priority of the service frame.
[0109] like Figure 5 As shown, the transmission controller 100 of the RF interface transmission device according to the embodiment of the present disclosure may further include a Lane mapping and encoding unit 107 connected to the transmission frame selection unit 106. The Lane mapping and encoding unit 107 is configured to: receive the transmission frame provided by the transmission frame selection unit 106, map the transmission frame to a Lane, and encode it.
[0110] The Lane mapping and encoding unit 107 can perform a mapping process of a custom frame (for example, a service frame or a management frame) to a frame on a Lane. The mapping method can refer to the Lane mapping process described in the DigRF V4 interface specification of the Mobile Industry Processor Interface (MIPI), and the encoding method can adopt the relevant technical specifications of PCS encoding.
[0111] like Figure 5 As shown, the RF interface transmitting device according to the embodiment of the present disclosure may further include a transmitting physical layer 200 connected to the transmitting controller 100 .
[0112] According to the embodiment of the present disclosure, the final transmission process can be completed by distributing the data after Lane mapping and PCS coding to each Lane of the transmission physical layer 200. The present disclosure does not limit the implementation of the transmission physical layer 200.
[0113] Figure 7 A schematic block diagram of an RF interface sending device according to an embodiment of the present disclosure is shown.
[0114] like Figure 7As shown, the framer unit 103 may include a management frame framer 1031 and a service frame framer 1032. The data stream of the cc0 service, the data stream of the cc1 service, and the data stream of the cc2 service may be three service data streams after digital intermediate frequency processing. In the absence of blocking, the data streams of the three services are sent to the service data interleaving unit 103 through the mapping and buffering unit 105 for data interleaving.
[0115] The service data interleaving unit 103 serially interleaves the data streams of the three services based on the interleaving pattern provided (directly or indirectly) by the interleaving pattern determining unit 104 to form interleaved data, thereby ensuring that each data stream has the same transmission opportunity in the data frame and a transmission capability matching the corresponding data bandwidth to minimize the transmission delay of all data streams. The service data interleaving unit 103 provides the interleaved data to the service frame framer 1032.
[0116] The service frame framer 1032 adds the service frame header feature word and valid indication information at the appropriate position based on the service frame structure and service frame length according to the embodiment of the present disclosure, and fills the interleaved data provided by the service data interleaving unit 101 into the payload area to form a service frame. The service frame framer 1032 sends the service frame and the service frame valid signal to the transmission frame selection unit 106.
[0117] The delay adjustment amount determination unit 102 determines the delay adjustment amount of each service based on the interleaving pattern provided (directly or indirectly) by the interleaving pattern determination unit 104 , and sends the delay adjustment amount to the management frame framer 1031 .
[0118] The management frame framer 1031 forms a management frame based on the interleaving pattern provided by the interleaving pattern determination unit 104 (directly or indirectly), the delay adjustment amount provided by the delay adjustment amount determination unit 102 (directly or indirectly), and various configuration parameters provided by the master CPU, and based on the management frame structure and management frame length according to the embodiment of the present disclosure. The management frame framer 1031 can be configured to send a management frame and a management frame valid signal to the transmission frame selection unit 106 in response to a management frame sending indication provided by the master CPU.
[0119] The transmission frame selection unit 106 can be implemented as, for example, a combined frame multiplexer (MUX) to achieve time division multiplexing of service frames and management frames. The transmission frame selection unit 106 can be configured so that the transmission priority of the management frame is higher than the transmission priority of the service frame. At the beginning of each burst, the transmission frame selection unit 106 can choose whether to send a management frame according to the configuration state of the register. When a new link is established, the transmission frame selection unit 106 can force the continuous transmission of multiple frame management frames. If necessary, the management frame can also be forcibly inserted in the middle of the burst, but in this case, the transmission frame selection unit 106 is required to ensure the integrity of the service frame.
[0120] The embodiment of the present disclosure also provides a sending method applied to the RF interface according to the present disclosure.
[0121] Figure 8 A flow chart of a sending method for an RF interface according to an embodiment of the present disclosure is shown.
[0122] like Figure 8 As shown, the sending method for the RF interface according to the embodiment of the present disclosure includes the following steps S110 to S150.
[0123] In step S110, data of a plurality of data channels are serially interleaved according to a current interleaving pattern to form interleaved data including one or more cycles.
[0124] The data of each channel includes a plurality of unit data blocks, and the interleaving pattern indicates the corresponding number of unit data blocks of each data channel included in the interleaved data of one cycle and the arrangement order of the unit data blocks of the plurality of data channels in one cycle. The data of the plurality of data channels are serially interleaved with the same interleaving pattern in one or more cycles.
[0125] In step S120, the delay adjustment amount of each data channel corresponding to the current interleaving pattern is determined.
[0126] In a case where the position of a unit data block of one of multiple data channels in a current interleaving pattern is offset by m unit data blocks along a first direction relative to the position in a previous interleaving pattern, a historical delay adjustment amount corresponding to the previous interleaving pattern of the data channel is offset by m unit data blocks in a direction opposite to the first direction and then determined as the delay adjustment amount corresponding to the current interleaving pattern of the data channel, where m is an integer greater than or equal to 1.
[0127] In step S130, a service frame is formed according to the interleaved data, and the interleaved data is filled in a payload area of the service frame as payload data.
[0128] In step S140, a management frame is formed, where the management frame includes information about the delay adjustment amount of each data channel corresponding to the current interleaving pattern.
[0129] In step S150, a service frame or a management frame is sent.
[0130] According to the disclosed embodiment, the delay adjustment amount of each data channel is used to instruct the receiving side to output the data of each data channel obtained after deinterleaving the interleaved data after delaying it by a time corresponding to the delay adjustment amount.
[0131] According to an embodiment of the present disclosure, determining the delay adjustment amount of each data channel corresponding to the current interleaving pattern (i.e., step S120) includes: in the absence of a previous interleaving pattern, determining the delay adjustment amount of each data channel corresponding to the current interleaving pattern as a specified value; in the absence of a historical delay adjustment amount corresponding to the previous interleaving pattern for one data channel among multiple data channels, determining the delay adjustment amount of the data channel corresponding to the current interleaving pattern as a specified value.
[0132] Fig. 9 A detailed flow chart of step S120 in the sending method for an RF interface according to an embodiment of the present disclosure is shown.
[0133] According to an embodiment of the present disclosure, the delay adjustment amount may include a first delay adjustment amount and a second delay adjustment amount. Fig. 9 As shown, determining the delay adjustment amount of each data channel corresponding to the current interleaving pattern (ie, step S120 ) includes the following steps S121 to S123 .
[0134] In step S121, when the position of a unit data block of a data channel among multiple data channels in a current interleaving pattern is offset by m unit data blocks along a first direction relative to the position in a previous interleaving pattern, a historical first delay adjustment amount corresponding to the previous interleaving pattern of the data channel is offset by m unit data blocks in a direction opposite to the first direction.
[0135] In step S122, when the historical first delay adjustment amount after the offset is a negative number, the first delay adjustment amount corresponding to the current interleaving pattern of the one data channel is set to 0, and the difference between the historical second delay adjustment amount corresponding to the previous interleaving pattern of the one data channel and the size of the first number of unit data blocks is set to the second delay adjustment amount corresponding to the current interleaving pattern of the one data channel, and the first number is the absolute value of the negative number.
[0136] In step S123, when the historical first delay adjustment amount after the offset is not a negative number, the historical first delay adjustment amount after the offset is set to the first delay adjustment amount corresponding to the current interleaving pattern of the one data channel, and the second delay adjustment amount corresponding to the current interleaving pattern of the one data channel is set to be equal to the historical second delay adjustment amount corresponding to the previous interleaving pattern.
[0137] According to an embodiment of the present disclosure, the first delay adjustment amount of each data channel is used to instruct the receiving side to delay the data of the data channel obtained after deinterleaving by a time corresponding to the first delay adjustment amount and then send it to the delay storage unit corresponding to the data channel.
[0138] According to an embodiment of the present disclosure, the second delay adjustment amount of each data channel is used to instruct the receiving side to output the data of the data channel when the data stored in the delay storage unit corresponding to the data channel reaches the storage capacity corresponding to the second delay adjustment amount.
[0139] According to an embodiment of the present disclosure, determining the delay adjustment amount of each data channel corresponding to the current interleaving pattern (i.e., step S120) includes: in the absence of a previous interleaving pattern, determining the first delay adjustment amount and the second delay adjustment amount of each data channel corresponding to the current interleaving pattern as the first specified value and the second specified value, respectively; in the absence of a historical delay adjustment amount corresponding to the previous interleaving pattern for one data channel among multiple data channels, determining the first delay adjustment amount and the second delay adjustment amount of a data channel corresponding to the current interleaving pattern as the first specified value and the second specified value, respectively.
[0140] Fig.10 Another flow chart of a sending method for an RF interface according to an embodiment of the present disclosure is shown.
[0141] like Fig.10 As shown, the sending method for the RF interface according to the embodiment of the present disclosure may further include step S101 before step S110 and step S120.
[0142] In step S101, an interleaving pattern is determined according to at least one of the following: information of a plurality of services respectively corresponding to a plurality of data channels; and user configuration information.
[0143] The management frame also includes information about the current interleaving pattern.
[0144] According to an embodiment of the present disclosure, determining an interleaving pattern (i.e., step S101) includes: determining an interleaving image so that a ratio of data amounts of multiple data channels in the interleaving pattern is consistent with a ratio of transmission bandwidths of multiple services, specifically, determining an interleaving image so that a ratio of corresponding numbers of unit data blocks of multiple data channels in the interleaving pattern is consistent with a ratio of transmission bandwidths of multiple services.
[0145] According to an embodiment of the present disclosure, the service frame may further include valid indication information for indicating whether the data of each data channel in the interleaved data is valid, and serially interleaving the data of multiple data channels according to the current interleaving pattern (i.e., step S110) includes: when there is no data in one data channel of the multiple data channels, filling the corresponding position of the unit data block of the one data channel in the interleaving pattern with invalid data as the data of the one data channel to obtain the interleaved data, and forming a service frame according to the interleaved data (i.e., step S130) includes: setting the valid information to indicate that the data of the one data channel is invalid.
[0146] Fig.11 Another flow chart of a sending method for an RF interface according to an embodiment of the present disclosure is shown.
[0147] like Fig.11 As shown, the sending method for the RF interface according to the embodiment of the present disclosure may further include steps S103 to S105 before step S110.
[0148] In step S103, a plurality of subcarrier data streams respectively corresponding to a plurality of services are received.
[0149] In step S105, multiple subcarrier data streams are mapped to buffers of multiple data channels.
[0150] Fig.12 A detailed flow chart of step S150 in the sending method for the RF interface according to an embodiment of the present disclosure is shown.
[0151] like Fig.12 As shown, sending a service frame or a management frame (ie, step S150 ) includes steps S151 to S152 .
[0152] In step S151, a service frame or a management frame is selected as a transmission frame.
[0153] In step S152, a transmission frame is sent.
[0154] According to an embodiment of the present disclosure, selecting a service frame or a management frame as a transmission frame (i.e., step S151) includes: when system initialization is completed and a link is established for the first time, at the beginning of the first burst, selecting a management frame as a transmission frame; at the beginning of other bursts after the link is established, when the content of the management frame changes, selecting a management frame as a transmission frame.
[0155] According to other embodiments of the present disclosure, selecting a service frame or a management frame as a transmission frame (ie, step S151 ) includes: selecting a management frame as the transmission frame at the start position of each burst after link establishment is completed.
[0156] According to an embodiment of the present disclosure, when a management frame is selected as a transmission frame, the management frame is repeatedly transmitted n times continuously, where n is an integer greater than 1.
[0157] According to an embodiment of the present disclosure, the sending priority of a management frame is higher than the sending priority of a service frame.
[0158] The sending methods for the RF interface provided in each embodiment of the present disclosure can be executed by the RF interface sending device according to each embodiment of the present disclosure. For the sake of clarity, the corresponding technical details and technical effects are not repeated here.
[0159] The embodiment of the present disclosure also provides an RF interface receiving device.
[0160] Fig.13 A schematic block diagram of an RF interface receiving device according to an embodiment of the present disclosure is shown.
[0161] like Fig.13 As shown, the RF interface receiving device according to the embodiment of the present disclosure includes a receiving controller 300 , and the receiving controller 300 includes a deframer unit 301 , a service data deinterleaving unit 302 and a plurality of delay units 303 .
[0162] The service data deinterleaving unit 302 is configured to: receive the net load data of the service frame provided by the deframer unit 301, deinterleave the net load data according to the interleaving pattern, and obtain data of multiple data channels. The net load data includes interleaved data of one or more cycles, the data of each channel includes multiple unit data blocks, the interleaving pattern indicates the corresponding number of unit data blocks of each data channel included in the interleaved data of one cycle and the arrangement order of the unit data blocks of multiple data channels in one cycle, and serially interleave the data of multiple data channels with the same interleaving pattern in one or more cycles.
[0163] The deframer unit 301 is configured to: deframe the input data according to the service frame structure or the management frame structure to obtain a service frame or a management frame. In the case of deframing the input data to obtain a service frame, the deframer unit 301 sends the net load data of the service frame to the service data deinterleaving unit 302; in the case of deframing the input data to obtain a management frame, the management frame includes information on the interleaving pattern and information on the delay adjustment amount of each data channel corresponding to the interleaving pattern.
[0164] The multiple delay units 303 correspond to the multiple data channels respectively, and each delay unit 303 is configured to: according to the delay adjustment amount of the corresponding data channel, delay the data of the data channel for a time corresponding to the delay adjustment amount and then output it.
[0165] It should be recognized that although Fig.12 The deframer unit 301 is shown as being directly connected to the service data deinterleaving unit 302 and each of the plurality of delay units 303, but those skilled in the art will appreciate that the deframer unit 301 may be indirectly connected to the service data deinterleaving unit 302 and / or the delay unit 303 via, for example, a component of a memory or a register, that is, the deframer unit 301 may send the interleaving pattern and the delay adjustment amount included in the management frame to the memory or the register, and the service data deinterleaving unit 302 and the delay unit 303 may obtain the interleaving pattern and the delay adjustment amount respectively by reading the memory or the register. Similar situations have been described many times in this article and will not be repeated below.
[0166] Fig.14 Another schematic block diagram of an RF interface receiving device according to an embodiment of the present disclosure is shown.
[0167] According to an embodiment of the present disclosure, the delay adjustment amount may include a first delay adjustment amount and a second delay adjustment amount. Fig.14 As shown, each of the plurality of delay units 303 includes a delay line unit 3031 and a delay storage unit 3032 .
[0168] The service data deinterleaving unit 302 is configured to provide the obtained data of each data channel among the multiple data channels to the delay line unit 3031 of the delay unit 303 corresponding to the data channel.
[0169] The delay line unit 3031 is configured to: according to the first delay adjustment amount of the corresponding data channel, delay the data of the data channel by a time corresponding to the first delay adjustment amount and then store it in the delay storage unit 3032 of the delay unit 303 corresponding to the data channel.
[0170] The delay storage unit 3032 is configured to: according to the second delay adjustment amount of the corresponding data channel, output the stored data when the data storage of the data channel reaches the storage capacity corresponding to the second delay adjustment amount.
[0171] According to the embodiment of the present disclosure, the service data deinterleaving unit 302 can perform a deinterleaving operation on the payload data in the service frame sent by the deframer unit 301 according to the interleaving pattern obtained through the control frame, separate the data streams of all services according to the data channel, and provide the data streams to the delay line unit 3031 on the corresponding data channel. The delay line unit 3031 on each data channel receives the data stream output by the service data deinterleaving unit 302, and then completes the delay processing according to the first delay adjustment amount of each data channel obtained through the control frame, and sends the delayed data to the corresponding delay storage unit 3032 for buffering. When the amount of data buffered by the delay storage unit 3032 is greater than the second delay adjustment amount of each data channel obtained through the control frame, the delay storage unit 3032 sends the read data to the post-stage processing module in response to the data read request of the post-stage processing module under the clock domain of the post-stage processing module to complete subsequent processing.
[0172] The delay adjustment according to the embodiment of the present disclosure is described in detail below through a specific example.
[0173] Fig.15 An example of delay adjustment according to an embodiment of the present disclosure is shown.
[0174] exist Fig.15 In the example, on the sending side, the chip's system on chip (SoC) subsystem cannot guarantee the specific timing relationship between the cc0 and cc1 services when sending the two services. Therefore, once any service ( Fig.15 When the cc0 service shown in FIG. 1 arrives, the framing process of the service frame according to the embodiment of the present disclosure can be started. Fig.15 As shown, if the cc1 service does not reach the framing module at the time boundary of the first service frame, the data of the cc1 service needs to be cached and postponed to the start time of the next service frame to participate in the framing of the service frame. Fig.15 As shown, in the first service frame output after framing, the data of cc0 is valid data, and the data of cc1 is invalid data, and it is indicated by the valid indication information included in the first service frame.
[0175] On the receiving side, Fig.15As shown, after the service frame is processed by the service data deinterleaving unit, the data streams of different services can be separated. At this time, the data streams of each service are aligned with the boundary of the service frame. In order to restore the relative timing of the data streams of each service on the sending side, it is first necessary to restore the time relationship of the data streams of each service in the frame through the delay line unit on each data channel of the receiving side according to the first delay adjustment amount of each data channel, and then restore the relative time relationship of the data stream of the cc0 service and the data stream of the cc1 service on the frame according to the second delay adjustment amount of each data channel through the delay storage unit on each data channel.
[0176] It should be recognized that the above example is only an example of using the delay line unit and the delay storage unit together to achieve delay fixation. In fact, according to specific application scenarios, the delay line unit and the delay storage unit can also be used to adjust the demodulated data stream forward / backward on the time axis.
[0177] According to the embodiment of the present disclosure, the delay storage unit may be implemented as a Mail-Box, and the second delay adjustment amount may be implemented as a Ready threshold of the Mail-Box.
[0178] Delay line and Mail-Box are two mechanisms for implementing delay adjustment. The delay line implements delay by outputting a register. In order to avoid the logic scale of the delay line being too large, the delay range of the delay line is usually relatively small. Mail-Box can be used as a clock domain conversion device between the RF interface device and the subsequent digital front end (DFE) module, which is usually implemented by a first in first out (FIFO) memory. In the embodiment of the present disclosure, the FIFO memory is used to cache the "water level" relationship of data at the beginning of the service transmission to implement delay adjustment. In the context of this application, the term "water level" embodies such a concept: the FIFO memory will have an input port and a write clock wr_clk on the input port, and an output port and a read clock rd_clk on the output port. The write clock wr_clk and the read clock rd_clk can be clocks in two different clock domains. When the input port writes data to the FIFO memory using the write clock wr_clk, the water level of the FIFO memory rises, and when the output port reads data from the FIFO memory using the read clock rd_clk, the water level of the FIFO memory drops.
[0179] After the link is established, the delay storage unit (Mail-Box) pulls up the Ready output signal according to the water level of the cached data and the second delay adjustment amount (Ready threshold of the Mail-Box) set in the management frame. When the water level reaches the Ready threshold of the Mail-Box. After each link is established, once the Ready output signal is pulled high, it will remain at a high level until the link is broken and then the Ready output signal will be pulled low. After detecting that the Ready output signal is pulled high, the subsequent module (for example, the DEF module) starts to read data from the corresponding MailBox for subsequent processing.
[0180] One of the functions of Mail-Box is to realize clock domain conversion, so it is necessary to absorb the frequency deviation and jitter of the write clock wr_clk and the read clock rd_clk of the FIFO memory. In order to ensure that the FIFO memory does not have abnormal states such as "empty / full", a data safety water level is usually retained in the FIFO memory. This data safety water level can be determined based on the clock indicators of the write clock wr_clk and the read clock rd_clk in the system design. On the basis of the data safety water level, the embodiment of the present disclosure superimposes the water level of the service delay jitter range to form the Ready threshold of the Mail-Box, so that the data is delayed through the Mail-Box to achieve delay fixation, or to achieve various functions such as forward / backward adjustment of the data flow on the time axis according to the specific application scenario.
[0181] According to an embodiment of the present disclosure, the delay storage unit 3032 is configured to: receive and store delayed data from the delay line unit 3031 corresponding to the delay storage unit 3032 under the clock domain of the RF interface, and when the amount of data stored in the delay storage unit 3032 is greater than or equal to the storage capacity corresponding to the second delay adjustment amount, respond to the read data request of the subsequent-stage module under the clock domain of the subsequent-stage module and output the stored data to the subsequent-stage module.
[0182] According to an embodiment of the present disclosure, an interleaved image is determined so that a ratio of data amounts of multiple data channels in the interleaved pattern is consistent with a ratio of transmission bandwidths of multiple services. Specifically, an interleaved image is determined so that a ratio of corresponding numbers of unit data blocks of multiple data channels in the interleaved pattern is consistent with a ratio of transmission bandwidths of multiple services.
[0183] Fig.16 Another schematic block diagram of a receiving controller of an RF interface receiving device according to an embodiment of the present disclosure is shown.
[0184] like Fig.16As shown, according to the embodiment of the present disclosure, the receiving controller 300 may further include a control register group 304. When the input data is deframed to obtain a management frame, the control register group 304 is refreshed according to the management frame.
[0185] The service data deinterleaving unit 302 can obtain the interleaving pattern by reading the registers in the control register group 304. The delay storage unit 303 (including the delay line unit 3031 and the delay storage unit 3032) can obtain the delay adjustment amount (including the first delay adjustment amount and the second delay adjustment amount) by reading the registers in the control register group 304.
[0186] like Fig.16 As shown, according to an embodiment of the present disclosure, the receiving controller 300 may further include a decoding and Lane processing unit 305 connected to the deframer unit 301. The decoding and Lane processing unit 305 is configured to: decode the data on each Lane, align the delays of all activated Lanes, perform Lane merging and Lane demerging functions, and provide the physical frame obtained after Lane demerging to the deframer unit 301.
[0187] The decoding and Lane processing unit 305 aligns the delays of all activated Lanes after completing PCS decoding for each Lane, and then completes the Lane merging and Lane de-merging functions. The Lane merging and Lane de-merging process can refer to the Lane demapping process described in the DigRF V4 interface specification of MIPI, and the physical frame after Lane de-merging can be output to the de-framer unit 301.
[0188] like Fig.16 As shown, the RF interface receiving device according to the embodiment of the present disclosure may further include a receiving physical layer 400 connected to the receiving controller 300 .
[0189] According to the embodiment of the present disclosure, the receiving physical layer 400 performs equalization, clock recovery, receiving filtering, serial / parallel conversion, and bit width conversion on each Lane, and the outputs of all Lanes activated by the receiving physical layer 400 are connected to the decoding and Lane processing unit 305. The present disclosure does not limit the implementation of the receiving physical layer 400.
[0190] Fig.17 A schematic block diagram of an RF interface receiving device according to an embodiment of the present disclosure is shown.
[0191] like Fig.17As shown, the deframer unit 301 sends the service frame obtained by deframing to the service data interleaving unit 302, and when the management frame is obtained by deframing, the control register group 304 is refreshed according to the management frame. The service data interleaving unit 302 can obtain the interleaving pattern by reading the registers in the control register group 304, and deinterleave the service frame provided by the deframer unit 301 according to the interleaving pattern, and provide the data of each data channel obtained after deinterleaving to the delay line unit corresponding to each channel. The delay line unit and the delay storage unit corresponding to each data channel obtain the first delay adjustment amount and the second delay adjustment amount by reading the registers in the control register group 304, and perform delay adjustment respectively according to the obtained first delay adjustment amount and the second delay adjustment amount.
[0192] The embodiment of the present disclosure also provides a receiving method applied to the RF interface according to the present disclosure.
[0193] Fig.18 A flow chart of a receiving method for an RF interface according to an embodiment of the present disclosure is shown.
[0194] like Fig.18 As shown, the receiving method for the RF interface according to the embodiment of the present disclosure includes the following steps S210 to S240.
[0195] In step S210, the input data is deframed according to the service frame structure or the management frame structure to obtain a service frame or a management frame.
[0196] In step S220, when the input data is deframed to obtain a service frame, the payload data of the service frame is deinterleaved according to the interleaving pattern to obtain data of multiple data channels.
[0197] The net load data includes one or more cycles of interleaved data, the data of each channel includes multiple unit data blocks, the interleaving pattern indicates the corresponding number of unit data blocks of each data channel included in the interleaved data of one cycle and the arrangement order of the unit data blocks of multiple data channels in one cycle, and the data of multiple data channels are serially interleaved with the same interleaving pattern in one or more cycles.
[0198] In step S230, when the input data is deframed to obtain a management frame, an interleaving pattern and a delay adjustment amount of each data channel corresponding to the interleaving pattern are obtained according to the management frame.
[0199] In step S240, according to the delay adjustment amount of each of the multiple data channels, the data of each data channel is delayed by a time corresponding to the delay adjustment amount and then output.
[0200] Fig.19A detailed flow chart of step S240 in the receiving method for the RF interface according to an embodiment of the present disclosure is shown.
[0201] According to an embodiment of the present disclosure, the delay adjustment amount includes a first delay adjustment amount and a second delay adjustment amount. Fig.19 As shown, according to the delay adjustment amounts of the multiple data channels, respectively delaying the data of each data channel by a time corresponding to the delay adjustment amount and then outputting it (ie, step S240 ) includes the following steps S241 to S242 .
[0202] In step S241, according to a first delay adjustment amount of the data channel, data of the data channel is delayed by a delay line unit for a time corresponding to the first delay adjustment amount and then stored in a delay storage unit corresponding to the data channel.
[0203] In step S242, according to the second delay adjustment amount of the data channel, the stored data is output when the data of the data channel stored in the delay storage unit reaches a storage capacity corresponding to the second delay adjustment amount.
[0204] According to an embodiment of the present disclosure, an interleaved image is determined so that a ratio of data amounts of multiple data channels in the interleaved pattern is consistent with a ratio of transmission bandwidths of multiple services. Specifically, an interleaved image is determined so that a ratio of corresponding numbers of unit data blocks of multiple data channels in the interleaved pattern is consistent with a ratio of transmission bandwidths of multiple services.
[0205] According to an embodiment of the present disclosure, in the case where the input data is deframed to obtain a management frame, the method further includes: refreshing the control register group according to the management frame.
[0206] According to an embodiment of the present disclosure, in the clock domain of the RF interface, the delay storage unit receives and stores delayed data from the delay line unit corresponding to the delay storage unit, and when the amount of data stored in the delay storage unit is greater than or equal to the storage capacity corresponding to the second delay adjustment amount, the stored data is output to the subsequent-stage module in response to the read data request of the subsequent-stage module in the clock domain of the subsequent-stage module.
[0207] The receiving method for the RF interface provided in each embodiment of the present disclosure can be executed by the RF interface receiving device according to each embodiment of the present disclosure. For the sake of clarity, the corresponding technical details and technical effects are not repeated here.
[0208] The embodiments of the present disclosure also provide a chip, including the RF interface sending device according to each embodiment of the present disclosure, and the RF interface receiving device according to each embodiment of the present disclosure.
[0209] Fig. 20 A typical application scenario of the RF interface device according to an embodiment of the present disclosure is shown.
[0210] like Fig. 20 As shown, the chip according to the embodiment of the present disclosure may include at least one of a digital intermediate frequency chip and a radio frequency chip. The digital intermediate frequency chip and the radio frequency chip respectively include an RF interface transmitting device according to each embodiment of the present disclosure, and an RF interface receiving device according to each embodiment of the present disclosure. The RF interface transmitting device of the digital intermediate frequency chip is connected to the RF interface receiving device of the radio frequency chip, and the RF interface transmitting device of the radio frequency chip is connected to the RF interface receiving device of the digital intermediate frequency chip.
[0211] The RF interface device according to the embodiment of the present disclosure is a large-bandwidth, low-latency RF interface device that supports variable rates and fixed delays, and can be used in 5G base station physical layer processing chipsets. 5G base station physical layer processing chipsets generally include baseband chips, digital intermediate frequency chips, radio frequency (RFIC) chips, and radio frequency front-end (RFFE) chips. The modulation and demodulation processing of the physical layer signals of 5G services is completed in the baseband chip, and functions such as digital up conversion (Digital Up Converter, DUC), digital down conversion (Digital Down Converter, DDC), power detection, peak clipping (Crest Factor Reduction, CFR), and digital pre-distortion (Digital Pre-Distortion, DPD) are completed in the digital intermediate frequency chip. The RF chip completes the functions of RF signal amplification, shaping filtering, mixing / frequency selection and filtering, RF switch control, analog-to-digital conversion (ADC) / digital-to-analog conversion (DAC). The RF front end mainly completes functions such as antenna transmission and reception. Such as Fig. 20 As shown, the RF interface device according to the embodiment of the present disclosure is a high-speed interface for data communication between a digital intermediate frequency chip and a radio frequency chip.
[0212] exist Fig. 20 In the typical application scenario shown in the figure, the downlink direction shown in the figure is the sending direction. The baseband chip of the base station sends the service data of multiple CCs after modulation and demodulation to the digital intermediate frequency chip for processing through the Common Public Radio Interface (CPRI); after the digital intermediate frequency processing module in the digital intermediate frequency chip completes the up-conversion, peak clipping and digital pre-distortion processing, it transmits the service data to the radio frequency chip for processing through the RF interface. Fig. 20In the example, the digital front-end processing module in the RF chip receives service data of k component carriers (CC) cc1 to cck of different service groups in the downlink direction, where k is an integer greater than or equal to 1; in the uplink direction, the digital intermediate frequency processing module in the digital intermediate frequency chip receives service data of n component carriers cc1 to ccn output by the digital front-end processing module in the RF chip through the RF interface, where n is an integer greater than or equal to 1. Since the uplink and downlink processing of services by the physical layer of the base station is completely asymmetric, k and n are independent of each other.
[0213] The RF interface transmitting device according to the embodiment of the present disclosure is located on the chip where the signal source is located, for example, the digital intermediate frequency chip on the downlink and the radio frequency chip on the uplink in the base station system. The RF interface receiving device according to the embodiment of the present disclosure is located on the chip where the signal sink is located, for example, the radio frequency chip on the downlink and the digital intermediate frequency chip on the uplink in the base station system. Each RF interface device includes a controller and a physical layer (PHY). The RF interface transmitting device includes a transmitting controller and a transmitting physical layer (Tx_PHY), Fig.21 The RF interface receiving device includes a receiving controller and a receiving physical layer (Rx_PHY). Fig. 22 The connection relationship between the receiving controller and the receiving physical layer is shown.
[0214] The embodiment of the present disclosure also provides a base station, comprising a chip according to the embodiment of the present disclosure.
[0215] An embodiment of the present disclosure also provides a terminal device, including a chip according to an embodiment of the present disclosure.
[0216] It should be appreciated that the RF interface device according to the embodiment of the present disclosure can be applied not only to base stations, but also to point-to-point service data transmission between a digital baseband chip and a radio frequency chip in a mobile terminal device.
[0217] Those skilled in the art will appreciate that all or some of the steps, systems, and functional modules / units in the apparatus disclosed above may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0218] In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation.
[0219] Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit (CPU), a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is well 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, random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH) or other disk storage; compact disk (CD-ROM), digital versatile disk (DVD) or other optical disk storage; magnetic cassettes, tapes, disk storage or other magnetic storage; any other medium that can be used to store the desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0220] The present disclosure has disclosed example embodiments, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for limiting purposes. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly stated, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, those skilled in the art will appreciate that various changes in form and detail may be made without departing from the scope of the present disclosure as set forth in the appended claims.
Claims
1. A radio frequency (RF) interface transmitting device, characterized in that: The transmission controller includes a service data interleaving unit, a delay adjustment amount determining unit and a framer unit, wherein: The service data interleaving unit is configured as follows: The data of the plurality of data channels are serially interleaved according to the current interleaving pattern to form interleaved data including one or more cycles, wherein the data of each channel includes a plurality of unit data blocks, the interleaving pattern indicates the corresponding number of unit data blocks of each data channel included in the interleaved data of one cycle and the arrangement order of the unit data blocks of the plurality of data channels in one cycle, and the data of the plurality of data channels are serially interleaved with the same interleaving pattern in the one or more cycles, wherein the plurality of data channels correspond to a plurality of services respectively, The delay adjustment amount determination unit is configured as follows: Determine a delay adjustment amount for each data channel corresponding to the current interleaving pattern, wherein, when a position of a unit data block of one of the multiple data channels in the current interleaving pattern is offset by m unit data blocks along a first direction relative to a position in a previous interleaving pattern, a historical delay adjustment amount of the one data channel corresponding to the previous interleaving pattern is offset by m unit data blocks in a direction opposite to the first direction and is determined as a delay adjustment amount of the one data channel corresponding to the current interleaving pattern, wherein m is an integer greater than or equal to 1, The framer unit is configured as follows: forming a service frame according to the interleaved data, wherein the interleaved data is filled in a payload area of the service frame as payload data, A management frame is formed, wherein the management frame includes information about a delay adjustment amount of each data channel corresponding to the current interleaving pattern.
2. The RF interface transmitting device according to claim 1, characterized in that: The delay adjustment amount of each data channel is used to instruct the receiving side to delay the data of each data channel obtained after deinterleaving the interleaved data for a time corresponding to the delay adjustment amount before outputting it.
3. The RF interface transmitting device according to claim 1, characterized in that: The delay adjustment amount includes a first delay adjustment amount and a second delay adjustment amount, and the delay adjustment amount determination unit is configured as follows: When a position of a unit data block of one of the multiple data channels in the current interleaving pattern is shifted by m unit data blocks along the first direction relative to a position in the previous interleaving pattern, a historical first delay adjustment amount corresponding to the previous interleaving pattern of the one data channel is shifted by m unit data blocks in a direction opposite to the first direction, In the case where the historical first delay adjustment amount after the shift is a negative number, the first delay adjustment amount corresponding to the current interleaving pattern of the one data channel is set to 0, and the difference between the historical second delay adjustment amount corresponding to the previous interleaving pattern of the one data channel and the size of the first number of unit data blocks is set as the second delay adjustment amount corresponding to the current interleaving pattern of the one data channel, wherein the first number is the absolute value of the negative number; When the historical first delay adjustment amount after the offset is not a negative number, the historical first delay adjustment amount after the offset is set to the first delay adjustment amount of the one data channel corresponding to the current interleaving pattern, and the second delay adjustment amount of the one data channel corresponding to the current interleaving pattern is set equal to the historical second delay adjustment amount corresponding to the previous interleaving pattern.
4. The RF interface transmitting device according to claim 3, characterized in that: The first delay adjustment amount of each data channel is used to instruct the receiving side to delay the data of the data channel obtained after deinterleaving by a time corresponding to the first delay adjustment amount and then send it to the delay storage unit corresponding to the data channel, The second delay adjustment amount of each data channel is used to instruct the receiving side to output the data of the data channel when the data stored in the delay storage unit corresponding to the data channel reaches the storage capacity corresponding to the second delay adjustment amount.
5. The RF interface transmitting device according to claim 1, characterized in that: The delay adjustment amount determination unit is further configured to: In the absence of the previous interleaving pattern, determining the delay adjustment amount of each data channel corresponding to the current interleaving pattern to be a specified value; In a case where a data channel among the plurality of data channels does not have a historical delay adjustment amount corresponding to the previous interleaving pattern, the delay adjustment amount of the data channel corresponding to the current interleaving pattern is determined to be a specified value.
6. The RF interface transmitting device according to claim 5, characterized in that: The delay adjustment amount includes a first delay adjustment amount and a second delay adjustment amount, and the delay adjustment amount determination unit is configured as follows: In the absence of the previous interleaving pattern, determining the first delay adjustment amount and the second delay adjustment amount of each data channel corresponding to the current interleaving pattern as the first specified value and the second specified value respectively; When there is no historical delay adjustment amount corresponding to the previous interleaving pattern for one of the multiple data channels, the first delay adjustment amount and the second delay adjustment amount of the one data channel corresponding to the current interleaving pattern are determined as the first specified value and the second specified value, respectively.
7. The RF interface transmitting device according to claim 1, characterized in that: The transmission controller further includes an interleaving pattern determination unit, The interleaving pattern determining unit is configured to determine the interleaving pattern according to at least one of the following: Information of the multiple services respectively corresponding to the multiple data channels; User configuration information, The management frame further includes information about the current interleaving pattern.
8. The RF interface transmitting device according to claim 7, characterized in that: The interlaced pattern determination unit is configured as follows: The interleaving pattern is determined so that a ratio of data amounts of the multiple data channels in the interleaving pattern is consistent with a ratio of transmission bandwidths of the multiple services.
9. The RF interface transmitting device according to claim 8, characterized in that: The ratio of the corresponding numbers of unit data blocks of the multiple data channels in the interleaving pattern is consistent with the ratio of the transmission bandwidths of the multiple services.
10. The RF interface transmitting device according to claim 1, characterized in that: The service frame also includes valid indication information, which is used to indicate whether the data of each data channel in the interleaved data is valid, wherein: The service data interleaving unit is further configured as: In the case that one of the data channels has no data, invalid data is used as data of the one data channel to fill the corresponding position of the unit data block of the one data channel in the interleaving pattern to obtain the interleaved data, The framer unit is further configured to: The validity indication information is set to indicate that the data of the one data channel is invalid.
11. The RF interface transmitting device according to claim 1, characterized in that: The management frame also includes information about the management frame length and the service frame length. The management frame length is used to indicate the length of the management frame. The service frame length is used to indicate the length of the service frame.
12. The RF interface transmitting device according to claim 1, characterized in that: The management frame also includes a management frame header feature word, and the service frame includes a service frame header feature word. The management frame header signature is used to indicate that the frame is a management frame. The service frame header feature word is used to indicate that the frame is a service frame.
13. The RF interface transmitting device according to claim 1, characterized in that: The management frame also includes information about the data channel identifier. The interleaving pattern indicates the corresponding number of unit data blocks of each data channel included in the interleaved data of one cycle and the arrangement order of the unit data blocks of the multiple data channels in one cycle through the arrangement of the data channel identifiers of the multiple data channels.
14. The RF interface transmitting device according to claim 1, characterized in that: The sending controller also includes a mapping and caching unit, The mapping and caching unit is configured as follows: receiving a plurality of subcarrier data streams corresponding to the plurality of services respectively, Mapping the plurality of subcarrier data streams to the buffers of the plurality of data channels, The data in the buffer is provided to the service data interleaving unit.
15. The RF interface transmitting device according to claim 1, characterized in that: The transmission controller further includes a transmission frame selection unit, The sending frame selection unit is configured as follows: The service frame or the management frame is selected as a sending frame.
16. The RF interface transmitting device according to claim 15, characterized in that: The sending frame selection unit is configured as follows: When the system is initialized and the link is established for the first time, at the beginning of the first burst, the management frame is selected as the transmission frame. At the start positions of other bursts after the link is established, when the content of the management frame changes, the management frame is selected as the sending frame.
17. The RF interface transmitting device according to claim 15, characterized in that: The sending frame selection unit is configured as follows: At the beginning of each burst after link establishment is completed, the management frame is selected as the sending frame.
18. The RF interface transmitting device according to claim 16 or 17, characterized in that: The sending frame selection unit is configured as follows: When the management frame is selected as the sending frame, the management frame is repeatedly sent n times continuously, where n is an integer greater than 1.
19. The RF interface transmitting device according to claim 16 or 17, characterized in that: The sending frame selection unit is configured as follows: The sending priority of the management frame is made higher than the sending priority of the service frame.
20. The RF interface transmitting device according to claim 15, characterized in that: The transmission controller also includes a Lane mapping and encoding unit connected to the transmission frame selection unit. The Lane mapping and encoding unit is configured as follows: receiving the transmission frame provided by the transmission frame selection unit, The transmission frame is mapped onto Lane and encoded.
21. The RF interface transmitting device according to claim 1, characterized in that: Also included is a transmit physical layer connected to the transmit controller.
22. A radio frequency (RF) interface receiving device, characterized in that: The receiving controller includes a deframer unit, a service data deinterleaving unit and a plurality of delay units, wherein: The service data deinterleaving unit is configured as follows: receiving the net load data of the service frame provided by the deframer unit, Deinterleaving the net load data according to the interleaving pattern to obtain data of multiple data channels, wherein the net load data includes interleaved data of one or more periods, the data of each channel includes multiple unit data blocks, the interleaving pattern indicates the corresponding number of unit data blocks of each data channel included in the interleaved data of one period and the arrangement order of the unit data blocks of the multiple data channels in one period, and serially interleaving the data of the multiple data channels with the same interleaving pattern in the one or more periods, wherein the multiple data channels correspond to multiple services respectively, The deframer unit is configured as follows: Deframe the input data according to the service frame structure or management frame structure to obtain a service frame or a management frame. Wherein, when the input data is deframed to obtain the service frame, the deframer unit sends the net load data of the service frame to the service data deinterleaving unit, In the case where the management frame is obtained by de-framing the input data, the management frame includes information about the interleaving pattern and information about a delay adjustment amount of each data channel corresponding to the interleaving pattern, The plurality of delay units correspond to the plurality of data channels respectively, and each delay unit is configured as follows: According to the delay adjustment amount of the corresponding data channel, the data of the data channel is delayed for a time corresponding to the delay adjustment amount and then output.
23. The RF interface receiving device according to claim 22, characterized in that: The delay adjustment amount includes a first delay adjustment amount and a second delay adjustment amount. Each of the plurality of delay units includes a delay line unit and a delay storage unit. The service data deinterleaving unit is further configured as: providing the obtained data of each data channel of the plurality of data channels to the delay line unit of the delay unit corresponding to the data channel, The delay line unit is configured as follows: According to the first delay adjustment amount of the corresponding data channel, the data of the data channel is delayed by a time corresponding to the first delay adjustment amount and then stored in the delay storage unit of the delay unit corresponding to the data channel, The delay storage unit is configured as follows: According to the second delay adjustment amount of the corresponding data channel, the stored data is output when the data storage of the data channel reaches a storage capacity corresponding to the second delay adjustment amount.
24. The RF interface receiving device according to claim 22, characterized in that: The interleaving pattern is determined so that a ratio of data amounts of the multiple data channels in the interleaving pattern is consistent with a ratio of transmission bandwidths of the multiple services corresponding to the multiple data channels.
25. The RF interface receiving device according to claim 24, characterized in that: The ratio of the corresponding numbers of unit data blocks of the multiple data channels in the interleaving pattern is consistent with the ratio of the transmission bandwidths of the multiple services.
26. The RF interface receiving device according to claim 22, characterized in that: The receiving controller also includes a control register group, In a case where the management frame is obtained by de-framing the input data, the control register group is refreshed according to the management frame.
27. The RF interface receiving device according to claim 23, characterized in that: The delay storage unit is configured as follows: receiving and storing delayed data from a delay line unit corresponding to the delay storage unit in the clock domain of the RF interface, When the amount of data stored in the delay storage unit is greater than or equal to the storage capacity corresponding to the second delay adjustment amount, the stored data is output to the subsequent-stage module in response to the read data request of the subsequent-stage module under the clock domain of the subsequent-stage module.
28. The RF interface receiving device according to claim 22, characterized in that: The receiving controller further comprises a decoding and lane processing unit connected to the deframer unit, wherein the decoding and lane processing unit is configured as follows: Decode the data on each Lane. Align the delays of all activated Lanes, Execute Lane merging and Lane unmerging functions, The physical frame obtained after de-Lane is provided to the de-framer unit.
29. The RF interface receiving device according to claim 22, characterized in that: Also included is a receive physical layer coupled to the receive controller.
30. A transmission method for a radio frequency (RF) interface, characterized in that: include: Serially interleaving data of a plurality of data channels according to a current interleaving pattern to form interleaved data including one or more cycles, wherein the data of each channel includes a plurality of unit data blocks, the interleaving pattern indicates the corresponding number of unit data blocks of each data channel included in the interleaved data of one cycle and the arrangement order of the unit data blocks of the plurality of data channels in one cycle, and serially interleaving data of the plurality of data channels with the same interleaving pattern in the one or more cycles, wherein the plurality of data channels correspond to a plurality of services respectively; Determining a delay adjustment amount for each data channel corresponding to the current interleaving pattern, wherein, when a position of a unit data block of one of the multiple data channels in the current interleaving pattern is offset by m unit data blocks along a first direction relative to a position in a previous interleaving pattern, a historical delay adjustment amount of the one data channel corresponding to the previous interleaving pattern is offset by m unit data blocks in a direction opposite to the first direction and is determined as the delay adjustment amount of the one data channel corresponding to the current interleaving pattern, wherein m is an integer greater than or equal to 1; forming a service frame according to the interleaved data, wherein the interleaved data is filled in a payload area of the service frame as payload data; forming a management frame, wherein the management frame includes information of a delay adjustment amount for each data channel corresponding to the current interleaving pattern; Send the service frame or the management frame.
31. The sending method according to claim 30, characterized in that: The delay adjustment amount of each data channel is used to instruct the receiving side to delay the data of each data channel obtained after deinterleaving the interleaved data for a time corresponding to the delay adjustment amount before outputting it.
32. The sending method according to claim 30, characterized in that: The delay adjustment amount includes a first delay adjustment amount and a second delay adjustment amount, and determining the delay adjustment amount of each data channel corresponding to the current interleaving pattern includes: When a position of a unit data block of one of the multiple data channels in the current interleaving pattern is shifted by m unit data blocks along the first direction relative to a position in the previous interleaving pattern, a historical first delay adjustment amount corresponding to the previous interleaving pattern of the one data channel is shifted by m unit data blocks in a direction opposite to the first direction, In the case where the historical first delay adjustment amount after the shift is a negative number, the first delay adjustment amount corresponding to the current interleaving pattern of the one data channel is set to 0, and the difference between the historical second delay adjustment amount corresponding to the previous interleaving pattern of the one data channel and the size of the first number of unit data blocks is set as the second delay adjustment amount corresponding to the current interleaving pattern of the one data channel, wherein the first number is the absolute value of the negative number; When the historical first delay adjustment amount after the offset is not a negative number, the historical first delay adjustment amount after the offset is set to the first delay adjustment amount of the one data channel corresponding to the current interleaving pattern, and the second delay adjustment amount of the one data channel corresponding to the current interleaving pattern is set equal to the historical second delay adjustment amount corresponding to the previous interleaving pattern.
33. The sending method according to claim 32, characterized in that: The first delay adjustment amount of each data channel is used to instruct the receiving side to delay the data of the data channel obtained after deinterleaving by a time corresponding to the first delay adjustment amount and then send it to the delay storage unit corresponding to the data channel, The second delay adjustment amount of each data channel is used to instruct the receiving side to output the data of the data channel when the data stored in the delay storage unit corresponding to the data channel reaches the storage capacity corresponding to the second delay adjustment amount.
34. The sending method according to claim 30, characterized in that: Determining the delay adjustment amount of each data channel corresponding to the current interleaving pattern includes: In the absence of the previous interleaving pattern, determining the delay adjustment amount of each data channel corresponding to the current interleaving pattern to be a specified value; In a case where a data channel among the plurality of data channels does not have a historical delay adjustment amount corresponding to the previous interleaving pattern, the delay adjustment amount of the data channel corresponding to the current interleaving pattern is determined to be a specified value.
35. The sending method according to claim 34, characterized in that: The delay adjustment amount includes a first delay adjustment amount and a second delay adjustment amount, and determining the delay adjustment amount of each data channel corresponding to the current interleaving pattern includes: In the absence of the previous interleaving pattern, determining the first delay adjustment amount and the second delay adjustment amount of each data channel corresponding to the current interleaving pattern as the first specified value and the second specified value respectively; When there is no historical delay adjustment amount corresponding to the previous interleaving pattern for one of the multiple data channels, the first delay adjustment amount and the second delay adjustment amount of the one data channel corresponding to the current interleaving pattern are determined as the first specified value and the second specified value, respectively.
36. The sending method according to claim 30, characterized in that: Also includes: The interlacing pattern is determined according to at least one of the following: Information of the multiple services respectively corresponding to the multiple data channels; User configuration information, The management frame further includes information about the current interleaving pattern.
37. The sending method according to claim 36, characterized in that: Determining the interlaced pattern comprises: The interleaving pattern is determined so that a ratio of data amounts of the multiple data channels in the interleaving pattern is consistent with a ratio of transmission bandwidths of the multiple services.
38. The sending method according to claim 37, characterized in that: The ratio of the corresponding numbers of unit data blocks of the multiple data channels in the interleaving pattern is consistent with the ratio of the transmission bandwidths of the multiple services.
39. The sending method according to claim 30, characterized in that: The service frame also includes valid indication information, which is used to indicate whether the data of each data channel in the interleaved data is valid, wherein: Serially interleaving data of a plurality of data channels according to a current interleaving pattern comprises: In the case that one of the data channels has no data, invalid data is used as data of the one data channel to fill the corresponding position of the unit data block of the one data channel in the interleaving pattern to obtain the interleaved data, Forming a service frame according to the interleaved data comprises: The validity indication information is set to indicate that the data of the one data channel is invalid.
40. The sending method according to claim 30, characterized in that: The management frame also includes information about the management frame length and the service frame length. The management frame length is used to indicate the length of the management frame. The service frame length is used to indicate the length of the service frame.
41. The sending method according to claim 30, characterized in that: The management frame also includes a management frame header feature word, and the service frame includes a service frame header feature word. The management frame header signature is used to indicate that the frame is a management frame. The service frame header feature word is used to indicate that the frame is a service frame.
42. The sending method according to claim 30, characterized in that: The management frame also includes information about the data channel identifier. The interleaving pattern indicates the corresponding number of unit data blocks of each data channel included in the interleaved data of one cycle and the arrangement order of the unit data blocks of the multiple data channels in one cycle through the arrangement of the data channel identifiers of the multiple data channels.
43. The sending method according to claim 30, characterized in that: Also includes: receiving a plurality of subcarrier data streams respectively corresponding to the plurality of services; The multiple subcarrier data streams are mapped to buffers of the multiple data channels.
44. The sending method according to claim 30, characterized in that: Sending the service frame or the management frame includes: Selecting the service frame or the management frame as a transmission frame; The transmit frame is transmitted.
45. The sending method according to claim 44, characterized in that: Selecting the service frame or the management frame as a transmission frame includes: When the system is initialized and the link is established for the first time, at the beginning of the first burst, the management frame is selected as the transmission frame. At the start positions of other bursts after the link is established, when the content of the management frame changes, the management frame is selected as the sending frame.
46. The sending method according to claim 44, characterized in that: Selecting the service frame or the management frame as a transmission frame includes: At the beginning of each burst after link establishment is completed, the management frame is selected as the sending frame.
47. The sending method according to claim 45 or 46, characterized in that: When the management frame is selected as the sending frame, the management frame is repeatedly sent n times continuously, where n is an integer greater than 1.
48. The sending method according to claim 45 or 46, characterized in that: The sending priority of the management frame is higher than the sending priority of the service frame.
49. A receiving method for a radio frequency (RF) interface, characterized in that: include: De-framing the input data according to the service frame structure or the management frame structure to obtain a service frame or a management frame; In the case where the service frame is obtained by deframing the input data, deinterleaving the payload data of the service frame according to the interleaving pattern to obtain data of multiple data channels, wherein the payload data includes interleaved data of one or more cycles, the data of each channel includes multiple unit data blocks, the interleaving pattern indicates the corresponding number of unit data blocks of each data channel included in the interleaved data of one cycle and the arrangement order of the unit data blocks of the multiple data channels in one cycle, and serially interleaving the data of the multiple data channels with the same interleaving pattern in the one or more cycles, wherein the multiple data channels correspond to multiple services respectively; In a case where the management frame is obtained by de-framing the input data, obtaining the interleaving pattern and a delay adjustment amount of each data channel corresponding to the interleaving pattern according to the management frame; According to the delay adjustment amounts of each of the multiple data channels, data of each data channel is delayed for a time corresponding to the delay adjustment amount and then output.
50. The receiving method according to claim 49, characterized in that: The delay adjustment amount includes a first delay adjustment amount and a second delay adjustment amount. According to the respective delay adjustment amounts of the plurality of data channels, respectively delaying the data of each data channel by a time corresponding to the delay adjustment amount and then outputting the data comprises: According to the first delay adjustment amount of the data channel, the data of the data channel is delayed by a delay line unit for a time corresponding to the first delay adjustment amount and then stored in a delay storage unit corresponding to the data channel, According to the second delay adjustment amount of the data channel, the stored data is output when the data of the data channel is stored in the delay storage unit to a storage capacity corresponding to the second delay adjustment amount.
51. The receiving method according to claim 49, characterized in that: The interleaving pattern is determined so that a ratio of data amounts of the multiple data channels in the interleaving pattern is consistent with a ratio of transmission bandwidths of the multiple services corresponding to the multiple data channels.
52. The receiving method according to claim 51, characterized in that: The ratio of the corresponding numbers of unit data blocks of the multiple data channels in the interleaving pattern is consistent with the ratio of the transmission bandwidths of the multiple services.
53. The receiving method according to claim 49, characterized in that: When the management frame is obtained by deframing the input data, a control register group is refreshed according to the management frame.
54. The receiving method according to claim 50, characterized in that: In the clock domain of the RF interface, the delay storage unit receives and stores delayed data from a delay line unit corresponding to the delay storage unit. When the amount of data stored in the delay storage unit is greater than or equal to the storage capacity corresponding to the second delay adjustment amount, the stored data is output to the subsequent-stage module in response to the read data request of the subsequent-stage module under the clock domain of the subsequent-stage module.
55. A chip, characterized in that: It comprises an RF interface transmitting device according to any one of claims 1 to 21, and an RF interface receiving device according to any one of claims 22 to 29.
56. A base station, characterized in that: Comprising a chip according to claim 55.
57. A terminal device, characterized in that: Comprising a chip according to claim 55.
Citation Information
Patent Citations
Data transmission method, device and system
CN104380790A
Configurable interleaver with cycling performance and de-interleaver
CN106330394A