Information encoding method, information transmission method, device, equipment and storage medium
By embedding control information into the data to be transmitted in 5G large-scale antenna technology and transmitting it through the JESD204 interface, the problem of increased GPIO pin interconnection between RF chips and digital chips is solved, simplifying PCB wiring and reducing packaging costs. effect.
Patent Information
- Application Number
- CN202010621245.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-30
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2040-06-30
AI Technical Summary
In 5G's large-scale antenna technology, a large amount of control information is needed to be transmitted between the RF chip and the digital chip, resulting in an increase in the interconnection of GPIO pins, and an increase in complexity and cost.
Through the JESD204 standard frame structure data, the encoding controls the control information is embedded in the data to be transmitted, and the GPIO pin is reduced through the JESD204 interface transmission.
Simplified PCB wiring, reducing the complexity and cost of packaging, and improving the reliability and efficiency of the system.
Smart Images

Figure CN113868176B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to but are not limited to the field of communication technology, and in particular, to an information encoding method, an information transmission method, an apparatus, a device, and a storage medium. Background Art
[0002] The JESD204 standard is a serial data interface and link protocol between data converters and logic devices proposed by the Joint Electron Devices Engineering Council (JEDEC). It transmits frame structure data through a high-speed serial interface, which can effectively save GPIO (General-Purpose Input / Output) pins. Without affecting system performance, it simplifies PCB (Printed Circuit Board) wiring, reduces packaging complexity, and saves PCB manufacturing costs.
[0003] Taking 5G's massive antenna technology as an example, signal transmission and signal receiving devices often have at least 64 antennas, that is, 64 channels. If GPIO pins are used to transmit digital gain compensation information, even if each channel only occupies 3 GPIO pins, at least 192 pins will be occupied, and other control information must be transmitted between the RF transceiver chip and the digital chip, such as low noise amplifier bypass LNA bypass information, channel switch control information, etc. At present, these control information are transmitted separately through GPIO pins, resulting in a large number of GPIO pins interconnected, increasing the complexity of wiring and packaging costs between the RF chip and the digital chip. Summary of the invention
[0004] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
[0005] The embodiments of the present application provide an information encoding method, an information transmission method, an apparatus, a device and a storage medium. Based on the frame structure data of the JESD204 standard, control information is embedded into the data to be transmitted by encoding, and transmitted through the JESD204 interface, thereby effectively reducing the use of GPIO pins, thereby simplifying the wiring of the PCB, reducing the complexity of the package, and saving manufacturing costs.
[0006] In the first aspect, an embodiment of the present application provides an information encoding method, which obtains the number of bits of original data based on the original data; adds redundant bits to the original data based on the number of bits of the original data to obtain data to be transmitted; obtains the number of character bits of digital gain compensation information based on digital gain compensation information; expands the data to be transmitted based on the number of character bits of the digital gain compensation information to obtain expanded data; truncates data equal to the number of bits of the data to be transmitted starting from high data bits to obtain truncated data; inserts control characters into the truncated data to obtain encoded data to be transmitted.
[0007] In a second aspect, an embodiment of the present application provides an information transmission method. Based on the JESD204 protocol, the method performs frame encoding on the encoded data to be transmitted generated by the information encoding method of the first aspect to obtain encoded data; and sends the encoded data through the JESD204 interface.
[0008] In a third aspect, an embodiment of the present application provides an information transmission device for executing the information transmission method described in the second aspect.
[0009] In fourth aspect, an embodiment of the present application provides an information transmission method, which obtains the encoded data sent according to the information transmission method described in the second aspect through the JESD204 interface; based on the JESD204 protocol, the encoded data is decoded and deframed to obtain the data to be transmitted and the control information.
[0010] In a fifth aspect, an embodiment of the present application provides an information transmission device for executing the information transmission method described in the fourth aspect.
[0011] In a sixth aspect, an embodiment of the present application provides a device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements: the information encoding method as described in the first aspect; or, the information transmission method as described in the second aspect; or, the information transmission method as described in the fourth aspect.
[0012] In the seventh aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the information encoding method as described in the first aspect; or, the information transmission method as described in the second aspect; or, the information transmission method as described in the fourth aspect.
[0013] The embodiment of the present application is based on the JESD204 standard, and redundant bits are added to the original data to obtain data to be transmitted, and these redundant bits can be used to transmit control information, and the data to be transmitted is expanded according to the number of character bits of the digital gain compensation information, and the expansion can prevent the data overflow after the digital gain compensation, and the expanded data is obtained, and then the expanded data is truncated, and the control information is embedded in the truncated data. Since the retained data intercepted when the high-bit truncation contains valid information of the data to be transmitted, important information will not be lost due to truncation; at the same time, the control data embedded in the data to be transmitted is transmitted through the JESD204 interface, which can effectively reduce the use of GPIO pins, thereby simplifying the wiring of the PCB, reducing the complexity of the package, and saving manufacturing costs.
[0014] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic diagram of the connection between the RF transceiver chip and the digital chip;
[0016] Figure 2 A GPIO pin connection diagram for transmitting gain compensation information between the RF transceiver chip and the digital chip;
[0017] Figure 3 A schematic diagram of a flow chart of an information encoding method provided in an embodiment of the present application;
[0018] Figure 4 A mapping relationship between digital gain compensation information and gain compensation information control characters provided in an embodiment of the present application;
[0019] Figure 5 A mapping relationship between analog attenuation information of a radio frequency transceiver, bypass control information of a low noise amplifier, and control characters of gain compensation information provided by another embodiment of the present application;
[0020] Figure 6 A mapping relationship between a gain compensation information control character and a transmission control character provided in an embodiment of the present application;
[0021] Figure 7 A schematic diagram of a flow chart of bit expansion and bit truncation of an information encoding method provided in another embodiment of the present application;
[0022] Figure 8 A schematic diagram of a flow chart of bit expansion and bit truncation of an information encoding method provided in another embodiment of the present application;
[0023] Fig. 9 A schematic diagram of a control character insertion process of an information encoding method provided in an embodiment of the present application;
[0024] Fig.10 A schematic diagram of a control character insertion process of an information encoding method provided by another embodiment of the present application;
[0025] Fig.11 A schematic diagram of a module of an information transmission device provided in an embodiment of the present application;
[0026] Fig.12 A module schematic diagram of an information transmission device provided for another embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0028] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0029] In the description of the embodiments of the present application, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the embodiments of the present application based on the specific content of the technical solution.
[0030] At present, electronic devices transmit information through GPIO pins. However, when multi-channel information needs to be transmitted, each channel requires at least one GPIO pin to transmit information, which will lead to a large number of GPIO pins interconnected. At the same time, taking 5G's large-scale antenna technology as an example, a large amount of control information must be transmitted between the RF transceiver chip and the digital chip, such as automatic gain compensation information, channel switch control information, etc. At present, these control information are transmitted separately through GPIO pins, resulting in a large number of GPIO pins interconnected, which increases the complexity of wiring and packaging costs between the RF chip and the digital chip.
[0031] like Figure 1Take the connection diagram of the RF transceiver chip and the digital chip shown in the figure as an example. The RF transceiver chip and the digital chip are often interconnected by a large number of GPIO pins, which causes the problems of complex PCB, multiple stacking and high cost. In order to solve the above problems, the Joint Electron Device Engineering Committee proposed a serial data interface and link protocol between data converters and logic devices, called the JESD204 standard. As the JESD204 standard evolved over time, the JESD204B and JESD204C standards were gradually added. The above standards support line transmission rates from 1Gb / s to 32Gb / s, and use 64B66B or 8B10B link layer configurations to transmit information instantly and quickly. The module that supports the JESD204 standard is the JESD204 module in the figure. Both the RF transceiver chip and the digital chip have a JESD204 module, which has a serial data interface and can support the JESD204 protocol.
[0032] like Figure 2 As shown in the connection diagram of the GPIO pins for transmitting gain compensation information, for a 4-channel transceiver chip alone, at least 16 GPIO pins need to be interconnected for data transmission. Specifically, the 4 GPIO pins connected to the receiving channel RX1 are GPIO8 to GPIO11 from low data bits to high data bits, and each GPIO pin can transmit 1 bit of information. Taking 5G's large-scale antenna technology as an example, the signal sending and signal receiving devices often have at least 64 antennas, that is, 64 channels, so the GPIO pins used to transmit gain compensation information are as high as 256, which will greatly increase the complexity of wiring.
[0033] Based on this, the embodiments of the present application provide an information encoding method, an information transmission method, an apparatus, a device and a storage medium. Based on the frame structure data of the JESD204 standard, the control information is embedded into the data to be transmitted through encoding, and transmitted through the JESD204 interface, thereby effectively reducing the use of GPIO pins, thereby simplifying the wiring of the PCB, reducing the complexity of the package, and saving manufacturing costs.
[0034] In a first aspect, an embodiment of the present application provides an information encoding method. Figure 3 The following is a flow chart of the information encoding method provided in the embodiment of the present application. Figure 3 As shown, the information encoding method provided by this embodiment at least includes:
[0035] Step S100: Obtain the number of original data bits according to the original data.
[0036] The original data is working data generated by the electronic device. In this embodiment, the original data generated by the data converter is 12 bits or 14 bits.
[0037] Step S200: according to the number of bits of the original data, redundant bits are added to the original data to obtain data to be transmitted.
[0038] The number of data bits to be transmitted is related to the number of original data bits and the number of data bits that can be transmitted as specified by the protocol.
[0039] In this embodiment, based on the JESD204 protocol, the number of data bits to be transmitted is a multiple of 4, which can ensure that all data can be divided into all frames for transmission, and the effective data bits generated by the RF transceiver chip are generally 12 or 14 bits, so it needs to be expanded to 16 bits for data transmission, that is, in this embodiment, the number of data bits to be transmitted is 16 bits.
[0040] The added redundant bits can be determined based on the number of bits of the original data and the number of bits of data to be transmitted. Taking the original data as 14 bits as an example, the extended redundant bits are 2 bits, and converted to I / Q two-way data for transmission, 4 bits are obtained for transmitting control information. Assuming that 3 bits are used to transmit gain compensation information, the maximum control character that can be transmitted is 111, and the corresponding gain compensation information control character is 7. Then, according to the upper limit of the gain compensation information control character, a suitable attenuation step is selected. In this embodiment, the attenuation step corresponding to the 3-bit gain compensation information can be 6dB.
[0041] Those skilled in the art will appreciate that, based on the relationship between the number of original data bits and the number of data bits to be transmitted, the fewer the number of bits used to transmit gain compensation information, the larger the attenuation step that needs to be matched to reduce the number of data bits required for transmission; correspondingly, the more the number of bits used to transmit gain compensation information, the smaller the attenuation step that can be matched to increase the number of data bits required for transmission.
[0042] In the following embodiments, 3-bit gain compensation information and 6 dB attenuation step are used as examples for description.
[0043] Step S300: acquiring the number of character bits of the digital gain compensation information according to the digital gain compensation information.
[0044] The digital gain compensation information is generated by the digital gain compensation module in the RF transceiver chip and is used to compensate for the gain of the analog attenuation of the RF transceiver chip. According to different attenuation steps, the gain compensation information characters and the number of gain compensation information character bits corresponding to the digital gain compensation information are different. Figure 4 In the corresponding embodiment, an exemplary explanation is given for the mapping relationship between the gain compensation information and its control characters.
[0045] Specifically, in this embodiment, the attenuation step is 6dB, so when the attenuation is 0dB, there is no need to expand the bit; when the attenuation is 0-6dB, expand 1 bit; when the attenuation is 6dB-12dB, expand 2 bits; when the attenuation is 12dB-18dB, expand 3 bits.
[0046] Step S400: expanding the data to be transmitted according to the number of character bits of the digital gain compensation information to obtain expanded data.
[0047] The same as the embodiment in steps S100 to S300, the attenuation step is 6dB. Based on this attenuation step, assuming that the analog ATT attenuation value is 14dB, the corresponding digital gain compensation is 14dB. At the same time, it is necessary to expand the data to be transmitted by 3 bits and obtain the expanded data, a total of 19 bits. The expansion of the data to be transmitted can effectively prevent the overflow of the digital gain compensation information.
[0048] Step S500: In the expanded data, data equal to the number of bits of the data to be transmitted is intercepted starting from the high data bits to obtain the truncated data.
[0049] The higher the number of bits of data, the more important the data being transmitted is, that is, the valid data. Therefore, intercepting data equal to the number of bits of data to be transmitted starting from the high data bits can retain the validity of the data to the greatest extent while meeting the transmission conditions.
[0050] As described in the previous step, the expanded data has 19 bits in total, so the first 16 bits need to be intercepted for transmission. The first 16 bits represent intercepting 16 bits in sequence from the high data bits to obtain the truncated data.
[0051] Step S600: inserting control characters into the truncated data to obtain encoded data to be transmitted.
[0052] Since truncation causes data loss, taking the attenuation step of 6dB as an example, if there is no truncation, there will be no loss. At this time, the gain compensation information control character is 0, and the corresponding control character is 000; if 1 bit is truncated, there will be a loss of 6dB, so the gain compensation information control character is 1, and the corresponding control character is 001; if 2 bits are truncated, there will be a loss of 12dB, the gain compensation information control character is 2, and the corresponding control character is 010, and so on.
[0053] The control characters are represented in binary format and inserted into the truncated data, thus completing the entire process of encoding the control information.
[0054] In this embodiment, according to the gain compensation information, the corresponding gain compensation information control character is obtained as 2, which is converted into binary representation as 10. Because the number of bits used to transmit the gain compensation information is 3, the corresponding control character is 010, and 010 is inserted into the truncated data to form the encoded data to be transmitted.
[0055] Theoretically, any control information transmitted between electronic devices can be transmitted by the method described in this embodiment. Specifically, the control information can be gain compensation information, low noise amplifier bypass LNAbypass information, transmission channel TX control information, receiving channel RX control information, etc. The above information can be integrated into the mapping relationship chart between control information and control characters, and the number of control character bits can be determined after binary representation. Accordingly, after decoding to obtain all data with control information, the specific control information is also obtained through the mapping relationship chart between control information and control characters.
[0056] In the above embodiment, by expanding the transmission data according to the number of control information bits, intercepting the valid data containing important information, and inserting the control information therein, it is possible to achieve the effect of transmitting the control information and the valid data together through the serial interface, thereby saving the GPIO pins originally used to transmit the control information, reducing the interconnection of the GPIO pins, and thus simplifying the PCB wiring and reducing the complexity of the package.
[0057] Figure 4 A mapping relationship between digital gain compensation information and control characters provided in another embodiment of the present application.
[0058] Still taking the example of transmitting 3-bit gain compensation information and matching 6dB attenuation step, Figure 4 As shown. According to the analog attenuation information, the digital gain compensation interval is determined, and the corresponding gain compensation information control character is corresponding. When the required digital gain compensation is 0dB, the control character 000 is transmitted; when the required digital gain compensation is within the range of 0dB to 6dB, the control character of the gain compensation information is 1, which is converted into binary as 1, and the control character 001 is transmitted; when the required digital gain compensation is within the range of 6dB to 12dB, the control character of the gain compensation information is 2, which is converted into binary as 10, and the control character 010 is transmitted; and so on, when the required digital gain compensation is within the range of 36dB to 42dB, the control character of the gain compensation information is 7, which is converted into binary as 111, and the control character 111 is transmitted.
[0059] Those skilled in the art can appreciate that other control information, such as low noise amplifier bypass LNAbypass control information, transmission channel TX control information, and reception channel RX control information can all be represented by 0 / 1.
[0060] In one embodiment, for the low noise amplifier bypass LNAbypass control information, when the low noise amplifier LNA has a gain of 10 dB, if the LNAbypass control bit is 1, it indicates bypass; when the LNAbypass control bit is 0, it indicates that the low noise amplifier LNA works normally, that is, generates a gain of 10 dB.
[0061] In another embodiment, the opening and closing of the transmission channel and the reception channel can be indicated by 1 / 0 in the control bit.
[0062] In another embodiment, Figure 5 The mapping relationship between the ATT analog attenuation information, the low noise amplifier bypass LNAbypass control information and the gain compensation information control characters of the RF transceiver chip provided in another embodiment of the present application. Figure 5 As shown, the low noise amplifier bypass LNAbypass control information, the RF transceiver ATT analog attenuation information, and the gain compensation information control characters are integrated into a mapping relationship. When transmitting the control information, on the premise of knowing that the low noise amplifier LNA has a gain of 10dB and the attenuation step is 6dB, the control information corresponding to the attenuation index is sent, and at the decoding end, the control information of the low noise amplifier bypass LNAbypass and the RF transceiver chip gain compensation information are obtained according to the above mapping relationship.
[0063] Figure 6 A mapping relationship between a gain compensation information control character and a transmission control character provided in an embodiment of the present application.
[0064] In the actual data transmission process, two I / Q paths are used, i.e., the in-phase I path and the orthogonal Q path. Therefore, as long as the sum of the control character bits of the two I / Q paths is equal to the total control character bits, it is sufficient. In another embodiment, using 4 control characters can match the attenuation step of less than 6dB, and thus greater gain compensation information, then for the two I / Q paths, each path only needs 2 bits as control character bits to achieve the purpose of carrying complete control information.
[0065] Those skilled in the art should know that the control character bits carried by the two paths may not be equal, that is, the I path may carry 2 bits and the Q path may carry 1 bit.
[0066] Figure 7 A schematic diagram of the process of expanding and truncating bits of an information encoding method provided in another embodiment of the present application.
[0067] like Figure 7As shown, the first row in the figure represents the data to be transmitted, from D0 to D15, a total of 16 bits; the second row in the figure represents the data after expansion, that is, the expansion is performed before the high bit of the data to be transmitted, D+ represents the expansion position, and the expanded data is obtained; the data in the dotted box in the third row of the figure represents the truncated data. Since the data to be transmitted can only transmit 16 bits, 16 bits are sequentially intercepted starting from the high data bit. It can be seen from the figure that the original data D0 is truncated, but because D0 is in a lower position, it does not carry valid information or the information it carries is not important, so being truncated will not affect the overall validity of the data.
[0068] Figure 8 A schematic diagram of the process flow of expanding and truncating bits of an information encoding method provided in yet another embodiment of the present application.
[0069] like Figure 8 As shown in the figure, the first row in the figure represents the data to be transmitted, from D0 to D15, a total of 16 bits; the second row in the figure represents the data after expansion, that is, the expansion is carried out after the low bit of the data to be transmitted, D+ represents the expansion position, and the expanded data is obtained; the data in the dotted box in the third row of the figure represents the truncated data. Since the data to be transmitted can only transmit 16 bits, 16 bits are sequentially intercepted starting from the high data bit. It can be seen from the figure that the two redundant bits originally added are truncated. Based on this situation, if the control information is inserted into the low bit of this truncated data, that is, from D0 to D1, the original D0 and D1 data are deleted and the control information is replaced; if the control information is inserted into the high bit of this truncated data, that is, from D14 to D15, each data bit of the original data is shifted two bits to the right in turn, leaving 2 high bits empty for inserting the control information.
[0070] Therefore, when redundant bits are added to the original data according to the number of control character bits, the redundant bits are added after the low data bits of the original data; when the control characters are inserted into the truncated data, the control characters can be inserted at any position of the truncated data, and any position of the truncated data includes before the high data bit, between the data bits or after the low data bit of the truncated data.
[0071] Fig. 9 A schematic diagram of the control character insertion process of an information encoding method provided in one embodiment of the present application.
[0072] In this embodiment, the control information needs 2 bits to be represented, so the I / Q data can each use 1 bit to represent the control information. Fig. 9 As shown, the upper row represents I-channel data, the lower row represents Q-channel data, SL0 and SL1 represent 2-bit control information respectively, and S represents the positive and negative of the information, that is, the sign bit. Through the information encoding method in this embodiment, the 2-bit control information can be embedded into the data to be transmitted and sent together with the data to be transmitted.
[0073] Fig.10A schematic diagram of the control character insertion process of an information encoding method provided in another embodiment of the present application.
[0074] In this embodiment, the control information needs 4 bits to be represented, so the I / Q data can each use 2 bits to represent the control information. Fig.10 As shown, the upper row represents I-channel data, the lower row represents Q-channel data, SL0 and SL1 represent 2-bit control information in I-channel respectively, SL2 and SL3 represent 2-bit control information in Q-channel respectively, and S represents the positive and negative of the information, that is, the sign bit. Through the information encoding method in this embodiment, the 4-bit control information can be embedded into the data to be transmitted and sent together with the data to be transmitted.
[0075] The above two embodiments embed the control information into the data to be transmitted and transmit them together through the JESD204 interface, thereby saving the GPIO pins originally used to transmit the control information and reducing the interconnection of the GPIO pins, thereby simplifying the PCB wiring and reducing the complexity of the package.
[0076] In the second aspect, an embodiment of the present application provides an information transmission method. The method in this embodiment is based on the JESD204 protocol, performs frame encoding on the encoded data to be transmitted generated by the information encoding method of the first aspect, obtains encoded data, and sends the encoded data through the JESD204 interface.
[0077] In a third aspect, an embodiment of the present application provides an information transmission device for executing the information transmission method described in the second aspect.
[0078] Fig.11 A module schematic diagram of an information transmission device is provided for an embodiment of the present application. As shown in the figure, the information transmission device in this embodiment includes an information encoding module for performing frame encoding on the encoded data to be transmitted generated according to the information encoding method of the first aspect to obtain the encoded data; and a JESD204 module for sending the encoded data through a JESD204 interface.
[0079] In fourth aspect, an embodiment of the present application provides an information transmission method. The information transmission method in this embodiment obtains the encoded data sent by the information transmission method described in the second aspect through the JESD204 interface, and decodes and deframes the encoded data based on the JESD204 protocol to obtain the data to be transmitted and the control information.
[0080] In a fifth aspect, an embodiment of the present application provides an information transmission device for executing the information transmission method described in the fourth aspect.
[0081] Fig.12A module schematic diagram of an information transmission device is provided for an embodiment of the present application. As shown in the figure, the information transmission device in this embodiment includes a JESD module for receiving encoded data sent by the information transmission method as described in the second aspect through a JESD204 interface, and an information decoding module for decoding and deframing the encoded data.
[0082] In a sixth aspect, an embodiment of the present application provides a device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements: the information encoding method as described in the first aspect; or, the information transmission method as described in the second aspect; or, the information transmission method as described in the fourth aspect.
[0083] In the seventh aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the information encoding method as described in the first aspect; or, the information transmission method as described in the second aspect; or, the information transmission method as described in the fourth aspect.
[0084] The above-mentioned embodiment of the present application is based on the JESD204 standard, expands the data to be transmitted, and embeds the control information into the redundant bits obtained by the expansion. Since the retained data intercepted when the high-bit bits are truncated contains the valid information of the data to be transmitted, important information will not be lost due to truncation; at the same time, the control data embedded in the data to be transmitted is transmitted through the JESD204 interface, which can effectively reduce the use of GPIO pins, thereby simplifying the wiring of the PCB, reducing the complexity of the package, and saving manufacturing costs.
[0085] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0086] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium. The mobile terminal device may be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal device, a wearable device, a super mobile personal computer, a netbook, a personal digital assistant, a CPE, a UFI (wireless hotspot device), etc.; the embodiments of the present invention are not specifically limited.
[0087] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions without violating the spirit of the present application. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. An information encoding method, comprising: According to the original data, obtain the number of original data bits; According to the number of bits of the original data, redundant bits are added to the original data to obtain data to be transmitted; According to the digital gain compensation information, the number of character bits of the digital gain compensation information is obtained; Expanding the data to be transmitted according to the number of character bits of the digital gain compensation information to obtain expanded data; In the expanded data, data equal to the number of bits of the data to be transmitted are intercepted from high data bits to obtain truncated data; A control character is inserted into the truncated data to obtain encoded data to be transmitted, wherein the control character is obtained according to control information, and the control information includes the digital gain compensation information.
2. The method according to claim 1, characterized in that The step of obtaining the number of character bits of the digital gain compensation information according to the digital gain compensation information comprises: According to the digital gain compensation information, establishing a mapping relationship between the digital gain compensation information and the digital gain compensation information character; According to the digital gain compensation information character, the number of bits of the digital gain compensation information character capable of representing the digital gain compensation information is obtained.
3. The method according to claim 1, characterized in that The method of adding redundant bits to the original data according to the number of bits of the original data to obtain the data to be transmitted is specifically as follows: Redundant bits are added after the low data bits of the original data to obtain the data to be transmitted, and the number of bits of the data to be transmitted is a multiple of 4.
4. The method according to claim 1, characterized in that: The control character is inserted into the truncated data to obtain the encoded data to be transmitted: The control character is inserted at any position of the truncated data, wherein the any position of the truncated data includes before a high data bit, between data bits, or after a low data bit of the truncated data.
5. The method according to claim 4, characterized in that The truncated data is divided into an in-phase I path and an orthogonal Q path, and the control character is inserted at any position of the in-phase I path and the orthogonal Q path respectively. The sum of the control character bit number of the in-phase I path and the control character bit number of the orthogonal Q path is equal to the control character bit number.
6. The method according to any one of claims 1 to 5, characterized in that: The control information includes at least one of the following: Gain compensation information, low noise amplifier bypass LNAbypass information, transmit channel TX control information, receive channel RX control information.
7. An information transmission method, comprising: Based on the JESD204 protocol, frame encoding is performed on the encoded data to be transmitted generated by the information encoding method according to claims 1 to 6 to obtain encoded data; The encoded data is sent through the JESD204 interface.
8. An information transmission device, comprising: An information encoding module, the information encoding module is used to perform frame encoding on the data to be transmitted after being encoded as claimed in claims 1 to 6 to obtain encoded data; A JESD204 module is used to send the encoded data through the JESD204 interface.
9. An information transmission method, comprising: Obtaining, through the JESD204 interface, the encoded data sent by the information transmission method according to claim 7; Based on the JESD204 protocol, the encoded data is decoded and deframed to obtain the data to be transmitted and the control information.
10. The method according to claim 9, characterized in that The step of decoding and deframing the encoded data to obtain the data to be transmitted and the control information comprises: The control information is acquired according to a mapping relationship between the control information and the control character.
11. An information transmission device, comprising: A JESD204 module, the JESD204 module being configured to receive the encoded data as claimed in claim 7 via a JESD204 interface; An information decoding module, wherein the information decoding module is used to decode and deframe the encoded data.
12. A device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements: the information encoding method according to any one of claims 1 to 6; or, the information transmission method according to claim 7; or, the information transmission method according to claim 9.
13. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the information encoding method according to any one of claims 1 to 6; Or, the information transmission method as claimed in claim 7; Or, the information transmission method as claimed in claim 9.
Citation Information
Patent Citations
Automatic gain control circuit and receiver
JP2001326549A
Circuit and Methods to Use an Audio Interface to Program a Device within an Audio Stream
US20130322439A1