A data processing apparatus and a data processing method

CN117641447BActive Publication Date: 2026-08-21HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210999706.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-19
Publication Date
2026-08-21
Estimated Expiration
2042-08-19

AI Technical Summary

Technical Problem

在实践中发现,目前终端设备对数据的处理效率较低

Benefits of technology

[0075]第二方面、第三方面和第四方面的有益效果可参见第一方面的有益效果,在此不赘述。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117641447B_ABST
    Figure CN117641447B_ABST
Patent Text Reader

Abstract

The application provides a data processing device and a data processing method. The data processing device comprises a general processing platform, a coprocessor, a first radio frequency module and a first antenna. The general processing platform is connected to the coprocessor through a wire, the general processing platform is connected to the first radio frequency module through a wire, and the first radio frequency module is connected to the first antenna. The first antenna is used for receiving a first signal. The first radio frequency module is used for performing first processing on the first signal to obtain a second signal. The coprocessor is used for performing second processing on the second signal to obtain a third signal, and the second processing comprises decoding processing. The general processing platform is used for performing third processing on the third signal to obtain a first data packet, and the first data packet is transmitted to an application service. The third processing comprises MAC layer, RLC layer and PDCP layer processing. Based on the scheme provided in the application, the data processing efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and in particular to a data processing device and a data processing method. Background Technology

[0002] Downlink transmission refers to data being sent from the network side and received by the terminal device. Uplink transmission refers to data being sent from the terminal device and received by the network side. For downlink transmission, after receiving data through an antenna, the terminal device needs to process the data to obtain data packets. For uplink transmission, the terminal device needs to process the data packets to obtain the data to be sent, and then transmit the data through the antenna. In practice, it has been found that the data processing efficiency of current terminal devices is relatively low. Summary of the Invention

[0003] This application provides a data processing device and a data processing method, which are beneficial to improving data processing efficiency.

[0004] In a first aspect, this application provides a data processing device, which includes a general-purpose processing platform, a coprocessor, a first radio frequency module, and a first antenna; the general-purpose processing platform and the coprocessor are connected via a wire, the general-purpose processing platform and the first radio frequency module are connected via a wire, and the first radio frequency module is connected to the first antenna; wherein:

[0005] A first antenna is used to receive a first signal; a first radio frequency module is used to perform a first processing on the first signal to obtain a second signal; the first radio frequency module is also used to transmit the second signal to a coprocessor; the coprocessor is used to perform a second processing on the second signal to obtain a third signal, and transmit the third signal to a general processing platform, the second processing including decoding processing; the general processing platform is used to perform a third processing on the third signal to obtain a first data packet, and transmit the first data packet to an application service, the third processing including: Media Access Control (MAC) layer, Radio Link Control (RLC) layer, and Packet Data Convergence Protocol (PDCP) layer processing;

[0006] Alternatively, a first antenna is used to receive a first signal; a first radio frequency module is used to perform a first processing on the first signal to obtain a second signal; the first radio frequency module is also used to transmit the second signal to a general processing platform; the general processing platform is used to perform a fourth processing on the second signal to obtain a fourth signal, and transmit the fourth signal to a coprocessor, the fourth processing including time-frequency conversion; the coprocessor is used to perform a fifth processing on the fourth signal to obtain a fifth signal, and transmit the fifth signal to the general processing platform, the fifth processing including decoding processing; the general processing platform is used to perform a sixth processing on the fifth signal to obtain a first data packet, and transmit the first data packet to an application service, the sixth processing including MAC layer, RLC layer, and PDCP layer processing.

[0007] Coprocessors can perform parallel computing. They are faster than general-purpose processing platforms. Therefore, using coprocessors to handle some or all of the physical layer processing, rather than having a general-purpose platform handle it all, can improve data processing efficiency.

[0008] In one possible implementation, the first signal, second signal, third signal, fourth signal, and fifth signal are signals of a first communication standard; the data processing device further includes a second radio frequency module and a second antenna; the general-purpose processing platform and the second radio frequency module are connected via a wire, and the second radio frequency module is connected to the second antenna; wherein:

[0009] A second antenna is used to receive a sixth signal; a second radio frequency module is used to perform a seventh processing on the sixth signal to obtain a seventh signal; the second radio frequency module is also used to transmit the seventh signal to a coprocessor; the coprocessor is used to perform an eighth processing on the seventh signal to obtain an eighth signal, and transmit the eighth signal to a general processing platform, the eighth processing including decoding processing; the general processing platform is used to perform a ninth processing on the eighth signal to obtain a first data packet, and transmit the first data packet to an application service, the ninth processing including: MAC layer, RLC layer, PDCP layer processing;

[0010] Alternatively, a second antenna is used to receive the sixth signal; a second radio frequency module is used to perform a seventh processing on the sixth signal to obtain a seventh signal; the second radio frequency module is also used to transmit the seventh signal to a general processing platform; the general processing platform is used to perform a tenth processing on the seventh signal to obtain a ninth signal, and transmit the ninth signal to a coprocessor, the tenth processing including time-frequency conversion; the coprocessor is used to perform an eleventh processing on the ninth signal to obtain a tenth signal, and transmit the tenth signal to the general processing platform, the eleventh processing including decoding; the general processing platform is used to perform a twelfth processing on the tenth signal to obtain a first data packet, and transmit the first data packet to the application service, the twelfth processing including MAC layer, RLC layer, and PDCP layer processing;

[0011] Among them, the sixth, seventh, eighth, ninth, and tenth signals are signals of the second communication standard.

[0012] Based on this possible implementation, a single data processing device can handle data from multiple communication standards, which helps save on equipment costs.

[0013] In one possible implementation, a first container and a second container are deployed on the general-purpose processing platform. The first container includes a protocol stack for a first communication standard, and the second container includes a protocol stack for a second communication standard. The first and second containers are used to invoke the computing resources of the general-purpose processing platform and the coprocessor for data processing. Wherein:

[0014] The general processing platform performs a third processing on the third signal to obtain the first data packet, including: a first container calling the resources of the general processing platform to perform the third processing on the third signal to obtain the first data packet. The general processing platform performs a ninth processing on the eighth signal to obtain the first data packet, including: a second container calling the resources of the general processing platform to perform the ninth processing on the eighth signal to obtain the first data packet.

[0015] Alternatively, the general processing platform performs a sixth processing step on the fifth signal to obtain the first data packet, including: a first container calling the resources of the general processing platform to perform the sixth processing on the fifth signal to obtain the first data packet. The general processing platform performs a twelfth processing step on the tenth signal to obtain the first data packet, including: a second container calling the resources of the general processing platform to perform the twelfth processing on the tenth signal to obtain the first data packet.

[0016] Based on this possible implementation, since the number of containers is easy to expand, deploying the protocol stack in the containers is beneficial for flexibly expanding the device's capabilities.

[0017] In one possible implementation, the second or fifth process may further include one or more of the following: de-resource mapping, de-layer mapping, demodulation, descrambling, demultiplexing of data and control information, deconcatenation of decoded blocks, de-rate matching, de-channel coding, and de-cyclic redundancy check (CRC).

[0018] In one possible implementation, the third processing may also include partial physical PHY layer processing, and / or the fourth processing may also include partial PHY layer processing, and / or the sixth processing may also include partial PHY layer processing.

[0019] In one possible implementation, the ninth process further includes partial physical PHY layer processing, and / or the tenth process further includes partial PHY layer processing, and / or the twelfth process further includes partial PHY layer processing.

[0020] In one possible implementation, the coprocessor is a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a data processing unit (DPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA).

[0021] In one possible implementation, the first signal, second signal, third signal, fourth signal, and fifth signal are signals of a first communication standard; a first container is deployed on the general-purpose processing platform, the first container including a protocol stack of the first communication standard, the first container being used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing; the general-purpose processing platform performs a third processing on the third signal to obtain a first data packet, including: the first container calling the resources of the general-purpose processing platform to perform a third processing on the third signal to obtain the first data packet; or, the general-purpose processing platform performs a sixth processing on the fifth signal to obtain the first data packet, including: the first container calling the resources of the general-purpose processing platform to perform a sixth processing on the fifth signal to obtain the first data packet; wherein:

[0022] The general-purpose processing platform is also used to obtain the communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard. The version of the third communication standard is higher than the version of the first communication standard. The general-purpose processing platform is also used to stop the first container from running and run the third container on the general-purpose processing platform according to the image file of the protocol stack of the third communication standard. The communication parameters of the first radio frequency module are updated to the communication parameters of the third communication standard. The third container includes the protocol stack of the third communication standard. The third container is used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing.

[0023] Based on this possible implementation, there is no need to deploy a dedicated chip for the protocol stack in the data processing device. Instead, the protocol stack is mirrored and virtualized within a container on a general-purpose processing platform. This allows for software upgrades to the protocol stack deployed on the general-purpose processing platform. Furthermore, in this embodiment, the communication parameters of the first radio frequency module can also be updated via software. Therefore, when upgrading the data processing device, it is not necessary to replace the hardware, which helps reduce resource waste.

[0024] In one possible implementation, the first signal, the second signal, the third signal, the fourth signal, and the fifth signal are signals of the first communication standard; the general processing platform is also used to obtain the communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard, wherein the version of the third communication standard is higher than the version of the first communication standard; the general processing platform is also used to update the communication parameters of the first radio frequency module to the communication parameters of the third communication standard, and run the installation package of the protocol stack of the third communication standard, install the protocol stack of the third communication standard on the general processing platform, and run the protocol stack of the third communication standard, and stop running the protocol stack of the first communication standard.

[0025] Based on this possible implementation method, when upgrading data processing equipment, it is not necessary to replace the hardware of the data processing equipment, which helps to reduce resource waste.

[0026] In one possible implementation, the communication parameters include one or more of the following parameters: the transmit frequency of the RF module, the receive frequency of the RF module, the sampling rate of the RF module, the transmission bandwidth of the RF module, the transmit gain parameter of the RF module, or the receive gain parameter of the RF module.

[0027] Secondly, this application provides a data processing method applied to a data processing device, the data processing device including a general-purpose processing platform, a coprocessor, a first radio frequency module, and a first antenna; the general-purpose processing platform and the coprocessor are connected via a wire, the general-purpose processing platform and the first radio frequency module are connected via a wire, and the first radio frequency module is connected to the first antenna; the method includes:

[0028] A first signal is received through a first antenna; the first signal is processed by a first radio frequency module to obtain a second signal; the second signal is transmitted to a coprocessor; the second signal is processed by the coprocessor to obtain a third signal, and the third signal is transmitted to a general processing platform, the second processing including decoding; the third signal is processed by the general processing platform to obtain a first data packet, and the first data packet is transmitted to an application service, the third processing including: Media Access Control (MAC) layer, Radio Link Control (RLC) layer, and Packet Data Convergence Protocol (PDCP) layer processing;

[0029] Alternatively, a first signal may be received via a first antenna; the first signal may be processed by a first radio frequency module to obtain a second signal; the second signal may be transmitted to a general processing platform; the second signal may be processed by the general processing platform to obtain a fourth signal, which may be transmitted to a coprocessor, the fourth processing including time-frequency conversion; the fourth signal may be processed by the coprocessor to obtain a fifth signal, which may be transmitted to the general processing platform, the fifth processing including decoding; the fifth signal may be processed by the general processing platform to obtain a first data packet, which may be transmitted to an application service, the sixth processing including MAC layer, RLC layer, and PDCP layer processing.

[0030] In one possible implementation, the first signal, the second signal, the third signal, the fourth signal, and the fifth signal are signals of a first communication standard; the data processing device further includes a second radio frequency module and a second antenna; the general-purpose processing platform and the second radio frequency module are connected via a wire, and the second radio frequency module is connected to the second antenna; the method further includes:

[0031] The sixth signal is received via the second antenna; the sixth signal is processed by the second radio frequency module to obtain the seventh signal; the seventh signal is transmitted to the coprocessor; the seventh signal is processed by the coprocessor to obtain the eighth signal, and the eighth signal is transmitted to the general processing platform, the eighth processing including decoding; the eighth signal is processed by the general processing platform to obtain the first data packet, and the first data packet is transmitted to the application service, the ninth processing including MAC layer, RLC layer, and PDCP layer processing;

[0032] Alternatively, the sixth signal is received via a second antenna; the sixth signal is processed by a second radio frequency module to obtain a seventh signal; the seventh signal is transmitted to a general processing platform; the seventh signal is processed by the general processing platform to obtain a ninth signal, which is then transmitted to a coprocessor. The tenth processing includes time-frequency conversion; the ninth signal is processed by the coprocessor to obtain a tenth signal, which is then transmitted to the general processing platform. The eleventh processing includes decoding; the tenth signal is processed by the general processing platform to obtain a first data packet, which is then transmitted to the application service. The twelfth processing includes MAC layer, RLC layer, and PDCP layer processing.

[0033] Among them, the sixth, seventh, eighth, ninth, and tenth signals are signals of the second communication standard.

[0034] In one possible implementation, a first container and a second container are deployed on a general-purpose processing platform. The first container includes a protocol stack for a first communication standard, and the second container includes a protocol stack for a second communication standard. The first and second containers are used to invoke the computing resources of the general-purpose processing platform and the coprocessor for data processing, wherein:

[0035] The process of obtaining a first data packet by performing third processing on a third signal through a general processing platform includes: using a first container to call resources of the general processing platform to perform third processing on the third signal to obtain the first data packet. The process of obtaining a first data packet by performing ninth processing on an eighth signal through a general processing platform includes: using a second container to call resources of the general processing platform to perform ninth processing on the eighth signal to obtain the first data packet.

[0036] Alternatively, the fifth signal can be processed a sixth time using a general processing platform to obtain the first data packet, including: using a first container to call the resources of the general processing platform to process the fifth signal a sixth time to obtain the first data packet. The tenth signal can be processed a twelfth time using a general processing platform to obtain the first data packet, including: using a second container to call the resources of the general processing platform to process the tenth signal a twelfth time to obtain the first data packet.

[0037] In one possible implementation, the second or fifth process may further include one or more of the following: de-resource mapping, de-layer mapping, demodulation, descrambling, demultiplexing of data and control information, deconcatenation of decoded blocks, de-rate matching, de-channel coding, and de-cyclic redundancy check (CRC).

[0038] In one possible implementation, the third processing may also include partial physical PHY layer processing, and / or the fourth processing may also include partial PHY layer processing, and / or the sixth processing may also include partial PHY layer processing.

[0039] In one possible implementation, the ninth process further includes partial physical PHY layer processing, and / or the tenth process further includes partial PHY layer processing, and / or the twelfth process further includes partial PHY layer processing.

[0040] In one possible implementation, the coprocessor is a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a data processing unit (DPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA).

[0041] In one possible implementation, the first signal, second signal, third signal, fourth signal, and fifth signal are signals of a first communication standard; a first container is deployed on the general-purpose processing platform, the first container including a protocol stack of the first communication standard, the first container being used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing; the third signal is processed by the general-purpose processing platform to obtain the first data packet by performing a third processing on the third signal, including: calling the resources of the general-purpose processing platform through the first container to perform a third processing on the third signal to obtain the first data packet; or, the fifth signal is processed by the general-purpose processing platform to obtain the first data packet by performing a sixth processing on the fifth signal, including: calling the resources of the general-purpose processing platform through the first container to perform a sixth processing on the fifth signal to obtain the first data packet; the method further includes:

[0042] The communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard are obtained through the general processing platform. The version of the third communication standard is higher than that of the first communication standard. The first container is stopped from running through the general processing platform, and the third container is run on the general processing platform according to the image file of the protocol stack of the third communication standard. The communication parameters of the first radio frequency module are updated to the communication parameters of the third communication standard. The third container includes the protocol stack of the third communication standard. The third container is used to call the computing resources of the general processing platform and the coprocessor for data processing.

[0043] In one possible implementation, the first signal, the second signal, the third signal, the fourth signal, and the fifth signal are signals of a first communication standard; the method further includes:

[0044] The communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard are obtained through the general processing platform. The version of the third communication standard is higher than that of the first communication standard. The communication parameters of the first radio frequency module are updated to the communication parameters of the third communication standard through the general processing platform, and the installation package of the protocol stack of the third communication standard is run. The protocol stack of the third communication standard is installed on the general processing platform, and the protocol stack of the third communication standard is run. The protocol stack of the first communication standard is stopped.

[0045] In one possible implementation, the communication parameters include one or more of the following parameters: the transmit frequency of the RF module, the receive frequency of the RF module, the sampling rate of the RF module, the transmission bandwidth of the RF module, the transmit gain parameter of the RF module, or the receive gain parameter of the RF module.

[0046] Thirdly, this application provides a data processing device, which includes a general-purpose processing platform, a coprocessor, a first radio frequency module, and a first antenna; the general-purpose processing platform and the coprocessor are connected by a wire, the general-purpose processing platform and the first radio frequency module are connected by a wire, and the first radio frequency module is connected to the first antenna;

[0047] A general-purpose processing platform is used to perform a first processing on a first data packet to obtain a first signal and transmit the first signal to a coprocessor. The first processing includes processing at the Packet Data Convergence Protocol (PDCP) layer, the Radio Link Control (RLC) layer, and the Media Access Control (MAC) layer. The coprocessor is used to perform a second processing on the first signal to obtain a second signal and transmit the second signal to a first radio frequency (RF) module, or transmit the second signal to the RF module through the general-purpose processing platform. The second processing includes encoding processing. The first RF module is used to perform a third processing on the second signal to obtain a third signal and transmit the third signal to a first antenna. The first antenna is used to transmit the third signal.

[0048] In one possible implementation, the first signal, the second signal, and the third signal are signals of a first communication standard; the data processing device further includes a second radio frequency module and a second antenna; the general processing platform and the second radio frequency module are connected by a wire, and the second radio frequency module is connected to the second antenna;

[0049] The general-purpose processing platform is also used to perform a fourth processing on the second data packet to obtain a fourth signal, and to transmit the fourth signal to the coprocessor. The fourth processing includes processing at the PDCP layer, RLC layer, and MAC layer. The coprocessor is also used to perform a fifth processing on the fourth signal to obtain a fifth signal, and to transmit the fifth signal to the second radio frequency module or to transmit the fifth signal to the second radio frequency module through the general-purpose processing platform. The fifth processing includes encoding processing. The second radio frequency module is also used to perform a sixth processing on the fifth signal to obtain a sixth signal, and to transmit the sixth signal to the second antenna. The second antenna is also used to transmit the sixth signal. The fourth, fifth, and sixth signals are signals of the second communication standard.

[0050] In one possible implementation, a first container and a second container are deployed on a general-purpose processing platform. The first container includes a protocol stack for a first communication standard, and the second container includes a protocol stack for a second communication standard. The first and second containers are used to call upon the computing resources of the general-purpose processing platform and the coprocessor for data processing.

[0051] The general processing platform performs a first processing on the first data packet, including: the first container calling the resources of the general processing platform to perform the first processing on the first data packet; the general processing platform performs a fourth processing on the second data packet, including: the second container calling the resources of the general processing platform to perform the fourth processing on the second data packet.

[0052] In one possible implementation, the second process may also include one or more of the following: Cyclic Redundancy Check (CRC) addition, code block segmentation, channel coding, rate matching, code block concatenation, data and control information multiplexing, scrambling, modulation, layer mapping, and resource mapping.

[0053] In one possible implementation, the first processing also includes some physical PHY layer processing.

[0054] In one possible implementation, the fourth processing also includes some physical PHY layer processing.

[0055] In one possible implementation, the coprocessor is a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a data processing unit (DPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA).

[0056] In one possible implementation, the first signal, the second signal, and the third signal are signals of a first communication standard; a first container is deployed on the general processing platform, the first container includes a protocol stack of the first communication standard, and the first container is used to call the computing resources of the general processing platform and the coprocessor to perform data processing; the general processing platform performs first processing on the first data packet, including: the first container calls the resources of the general processing platform to perform first processing on the first data packet.

[0057] The general-purpose processing platform is also used to obtain the communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard. The version of the third communication standard is higher than the version of the first communication standard. The general-purpose processing platform is also used to stop the first container from running and run the third container on the general-purpose processing platform according to the image file of the protocol stack of the third communication standard. The communication parameters of the first radio frequency module are updated to the communication parameters of the third communication standard. The third container includes the protocol stack of the third communication standard. The third container is used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing.

[0058] In one possible implementation, the first signal, the second signal, and the third signal are signals of the first communication standard;

[0059] The general-purpose processing platform is also used to obtain the communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard. The version of the third communication standard is higher than that of the first communication standard. The general-purpose processing platform is also used to update the communication parameters of the first radio frequency module to the communication parameters of the third communication standard, run the installation package of the protocol stack of the third communication standard, install the protocol stack of the third communication standard on the general-purpose processing platform, run the protocol stack of the third communication standard, and stop running the protocol stack of the first communication standard.

[0060] In one possible implementation, the communication parameters include one or more of the following parameters: the transmit frequency of the RF module, the receive frequency of the RF module, the sampling rate of the RF module, the transmission bandwidth of the RF module, the transmit gain parameter of the RF module, or the receive gain parameter of the RF module.

[0061] Fourthly, this application provides a data processing method, characterized in that it is applied to a data processing device, the data processing device including a general-purpose processing platform, a coprocessor, a first radio frequency module, and a first antenna; the general-purpose processing platform and the coprocessor are connected via a wire, the general-purpose processing platform and the first radio frequency module are connected via a wire, and the first radio frequency module is connected to the first antenna; the method includes:

[0062] The first data packet is processed by a general-purpose processing platform to obtain a first signal, which is then transmitted to a coprocessor. The first processing includes processing at the Packet Data Convergence Protocol (PDCP) layer, Radio Link Control (RLC) layer, and Media Access Control (MAC) layer. The first signal is then processed by the coprocessor to obtain a second signal, which is then transmitted to a first radio frequency (RF) module, or transmitted to the RF module via the general-purpose processing platform. The second processing includes encoding processing. The second signal is then processed by the RF module to obtain a third signal, which is then transmitted to a first antenna. Finally, the third signal is transmitted via the first antenna.

[0063] In one possible implementation, the first signal, the second signal, and the third signal are signals of a first communication standard; the data processing device further includes a second radio frequency module and a second antenna; the general-purpose processing platform and the second radio frequency module are connected via a wire, and the second radio frequency module is connected to the second antenna; the method further includes:

[0064] The second data packet is processed a fourth time by a general processing platform to obtain a fourth signal, which is then transmitted to a coprocessor. This fourth processing includes processing at the PDCP layer, RLC layer, and MAC layer. The fourth signal is then processed a fifth time by the coprocessor to obtain a fifth signal, which is then transmitted to the second radio frequency module, or transmitted to the second radio frequency module via the general processing platform. This fifth processing includes encoding. The fifth signal is then processed a sixth time by the second radio frequency module to obtain a sixth signal, which is then transmitted to the second antenna. The sixth signal is then transmitted via the second antenna. The fourth, fifth, and sixth signals are signals of the second communication standard.

[0065] In one possible implementation, a first container and a second container are deployed on a general-purpose processing platform. The first container includes a protocol stack for a first communication standard, and the second container includes a protocol stack for a second communication standard. The first and second containers are used to call upon the computing resources of the general-purpose processing platform and the coprocessor for data processing.

[0066] The first data packet is processed by a general processing platform, including: using a first container to call the resources of the general processing platform to process the first data packet; the second data packet is processed by a general processing platform, including: using a second container to call the resources of the general processing platform to process the second data packet.

[0067] In one possible implementation, the second process may also include one or more of the following: Cyclic Redundancy Check (CRC) addition, code block segmentation, channel coding, rate matching, code block concatenation, data and control information multiplexing, scrambling, modulation, layer mapping, and resource mapping.

[0068] In one possible implementation, the first processing also includes some physical PHY layer processing.

[0069] In one possible implementation, the fourth processing also includes some physical PHY layer processing.

[0070] In one possible implementation, the coprocessor is a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a data processing unit (DPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA).

[0071] In one possible implementation, the first signal, the second signal, and the third signal are signals of a first communication standard; a first container is deployed on the general-purpose processing platform, the first container including a protocol stack of the first communication standard, the first container being used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing; the first processing of the first data packet by the general-purpose processing platform includes: calling the resources of the general-purpose processing platform through the first container to perform the first processing of the first data packet; the method further includes:

[0072] The communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard are obtained through the general processing platform. The version of the third communication standard is higher than that of the first communication standard. The first container is stopped from running through the general processing platform, and the third container is run on the general processing platform according to the image file of the protocol stack of the third communication standard. The communication parameters of the first radio frequency module are updated to the communication parameters of the third communication standard. The third container includes the protocol stack of the third communication standard. The third container is used to call the computing resources of the general processing platform and the coprocessor for data processing.

[0073] In one possible implementation, the first signal, the second signal, and the third signal are signals of the first communication standard; the method further includes: obtaining the communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard through a general processing platform, wherein the version of the third communication standard is higher than the version of the first communication standard; updating the communication parameters of the first radio frequency module to the communication parameters of the third communication standard through the general processing platform, running the installation package of the protocol stack of the third communication standard, installing the protocol stack of the third communication standard on the general processing platform, running the protocol stack of the third communication standard, and stopping the running of the protocol stack of the first communication standard.

[0074] In one possible implementation, the communication parameters include one or more of the following parameters: the transmit frequency of the RF module, the receive frequency of the RF module, the sampling rate of the RF module, the transmission bandwidth of the RF module, the transmit gain parameter of the RF module, or the receive gain parameter of the RF module.

[0075] The beneficial effects of the second, third, and fourth aspects can be found in the beneficial effects of the first aspect, and will not be repeated here.

[0076] Fifthly, this application provides a data processing apparatus capable of executing the methods described in either the second or fourth aspect. The functions of this data processing apparatus can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the aforementioned functions. The unit or module can be software and / or hardware. The operations performed by this data processing apparatus and its beneficial effects can be found in the methods described in the second or fourth aspect and their beneficial effects.

[0077] In a sixth aspect, embodiments of this application provide a computer storage medium including computer instructions that, when executed on a server, cause the server to perform the methods described in the second or fourth aspect.

[0078] In a seventh aspect, embodiments of this application provide a computer program product that, when run on a computer, causes the computer to perform the method described in the second or fourth aspect. Attached Figure Description

[0079] Figure 1 This is a schematic diagram of the structure of a data processing device 100 provided in an embodiment of this application;

[0080] Figure 2 This is a schematic diagram of the structure of another data processing device 100 provided in the embodiments of this application;

[0081] Figure 3 This is a schematic diagram of the structure of another data processing device 300 provided in the embodiments of this application;

[0082] Figure 4 This is a schematic diagram of the structure of another data processing device 300 provided in the embodiments of this application;

[0083] Figure 5 A flowchart illustrating a data processing method provided in an embodiment of this application;

[0084] Figure 6 A flowchart illustrating another data processing method provided in an embodiment of this application;

[0085] Figure 7 This is a flowchart illustrating another data processing method provided in an embodiment of this application. Detailed Implementation

[0086] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0087] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0088] To improve data processing efficiency, embodiments of this application provide a data processing device and a data processing method. The data processing device and data processing method provided in these embodiments are further described below:

[0089] Please see Figure 1 , Figure 1 This is a schematic diagram of the structure of a data processing device 100 provided in an embodiment of this application. The data processing device 100 includes a general processing platform 101, a coprocessor 102, a first radio frequency module 103, and a first antenna 104; the general processing platform 101 and the coprocessor 102 are connected by a wire, the general processing platform 101 and the first radio frequency module 103 are connected by a wire, and the first radio frequency module 103 is connected to the first antenna 104.

[0090] In this context, the general-purpose processing platform 101 refers to a non-custom platform. For example, the general-purpose processing platform 101 can be an x86 general-purpose server, an embedded system development board, an advanced reduced instruction set processor (ARM), or an application processor (AP).

[0091] Optionally, the coprocessor can be a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a data processing unit (DPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA), etc.

[0092] Optionally, the wired connection in this embodiment can be a peripheral component interface extender (PCIe) connection, an optical port connection, or a universal serial bus (USB) connection, etc.

[0093] In this embodiment of the application, the data processing device 100 may implement downlink data processing in ways including but not limited to the following two schemes:

[0094] Downlink data processing scheme one: A first antenna 104 is used to receive a first signal; a first radio frequency module 103 is used to perform a first processing on the first signal to obtain a second signal; the first radio frequency module 103 is also used to transmit the second signal to a coprocessor 102; the coprocessor 102 is used to perform a second processing on the second signal to obtain a third signal, and transmit the third signal to a general processing platform 101, the second processing including decoding processing; the general processing platform 101 is used to perform a third processing on the third signal to obtain a first data packet, and transmit the first data packet to an application service, the third processing including: media access control (MAC) layer, radio link control (RLC) layer, and packet data convergence protocol (PDCP) layer processing.

[0095] Optionally, the first processing may include, but is not limited to, down-conversion, sampling, and digital-to-analog conversion. The second signal may be a baseband signal.

[0096] Optionally, the first radio frequency module 103 may transmit the second signal to the coprocessor 102 by writing the second signal into the shared memory, and the coprocessor 102 may obtain the second signal from the shared memory.

[0097] Optionally, the second processing may include other physical (PHY) layer processing in addition to decoding. For example, the second processing may also include one or more of the following physical layer processes: de-resource mapping, de-layer mapping, demodulation, descrambling, data and control information demultiplexing, decoder block concatenation, rate matching de-coding, channel coding de-coding, and cyclic redundancy check (CRC) de-coding. Alternatively, the second processing may include all PHY layer processes. Decoding is also a type of PHY layer processing.

[0098] Optionally, the third processing also includes some physical PHY layer processing.

[0099] Optionally, application services can be applications (such as instant messaging applications), web pages, multimedia, voice, and other services.

[0100] In one possible implementation, the data processing device can also be upgraded. The following describes two optional methods for upgrading the data processing device:

[0101] Equipment upgrade method one: The first signal, the second signal, and the third signal are signals of the first communication standard; such as Figure 2 As shown, a first container 1011 is deployed on the general-purpose processing platform 101. The first container 1011 includes a protocol stack for a first communication standard. The first container 1011 is used to call the computing resources of the general-purpose processing platform 101 and the coprocessor 102 for data processing. Wherein:

[0102] The general processing platform 101 performs third processing on the third signal to obtain the first data packet, including: the first container 1011 calls the resources of the general processing platform 101 to perform third processing on the third signal to obtain the first data packet. The general processing platform 101 is also used to obtain the communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard, wherein the version of the third communication standard is higher than the version of the first communication standard; the general processing platform 101 is also used to stop running the first container 1011, and run the third container 1012 on the general processing platform 101 according to the image file of the protocol stack of the third communication standard, and update the communication parameters of the first radio frequency module 103 to the communication parameters of the third communication standard. The third container 1012 includes the protocol stack of the third communication standard, and the third container 1012 is used to call the computing resources of the general processing platform 101 and the coprocessor 102 for data processing.

[0103] Optionally, the first communication standard can be 3G, 4G, 5G, 6G, or a higher communication standard, and the third communication standard has a higher version than the first communication standard. For example, the first communication standard is 3G, and the third communication standard can be one of 4G, 5G, or 6G. The first communication standard is 4G, and the third communication standard can be one of 5G or 6G. The first communication standard is 5G, and the third communication standard can be 6G or a higher communication standard.

[0104] Optionally, the first container 1011 may include part or all of the protocol stack of the first communication standard. For example, the first container 1011 may include a PHY layer, a MAC layer, an RLC layer, and a PDCP layer. Alternatively, the first container 1011 may include a MAC layer, an RLC layer, and a PDCP layer. Figure 2 Taking the first container 1011, which includes a MAC layer, an RLC layer, and a PDCP layer, as an example.

[0105] Optionally, the third container 1012 may include part or all of the protocol stack of the third communication standard. For example, the third container 1012 may include a PHY layer, a MAC layer, an RLC layer, and a PDCP layer. Alternatively, the third container 1012 may include a MAC layer, an RLC layer, and a PDCP layer. Figure 2 Taking the third container 1012, which includes a MAC layer, an RLC layer, and a PDCP layer, as an example.

[0106] Optionally, the general processing platform 101 obtains the communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard by receiving the communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard sent by other devices. Optionally, the communication parameters of the third communication standard can be carried in an upgrade script and sent to the general processing platform 101. After receiving the upgrade script and the image file of the protocol stack of the third communication standard, the general processing platform 101 can run the upgrade script. By running the upgrade script, the first container 1011 can be stopped, and the third container 1012 can be run on the general processing platform 101 according to the image file of the protocol stack of the third communication standard, and the communication parameters of the first radio frequency module 103 can be updated to the communication parameters of the third communication standard.

[0107] Optionally, the general processing platform 101 acquires the communication parameters and the image file of the protocol stack of the third communication standard by receiving the communication parameters and the image file of the protocol stack of the third communication standard imported by the user via the USB interface. Optionally, the communication parameters of the third communication standard can be imported into the general processing platform 101 in the upgrade script.

[0108] Optionally, the general-purpose processing platform 101 can directly run the upgrade script after receiving the upgrade script and the image file of the protocol stack for the third communication standard. Alternatively, after receiving the upgrade script and the image file of the protocol stack for the third communication standard, the general-purpose processing platform 101 can receive a user-input command to trigger the upgrade. After receiving the command to trigger the upgrade, the general-purpose processing platform 101 runs the upgrade script.

[0109] In this embodiment, there is no need to deploy a dedicated chip for the protocol stack in the data processing device. Instead, the protocol stack is mirrored and virtualized within a container on a general-purpose processing platform. This allows for software upgrades of the protocol stack deployed on the general-purpose processing platform. Furthermore, in this embodiment, the communication parameters of the first radio frequency module can also be updated via software. Therefore, upgrading the device using this first method eliminates the need to replace the hardware of the data processing device, thus reducing resource waste.

[0110] Equipment upgrade method two: The first signal, the second signal, and the third signal are signals of the first communication standard; the general processing platform 101 is also used to obtain the communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard, the version of the third communication standard is higher than the version of the first communication standard; the general processing platform 101 is also used to update the communication parameters of the first radio frequency module to the communication parameters of the third communication standard, and run the installation package of the protocol stack of the third communication standard, install the protocol stack of the third communication standard on the general processing platform 101, and run the protocol stack of the third communication standard, and stop running the protocol stack of the first communication standard.

[0111] For descriptions of the first and third communication standards, as well as the protocol stacks of the first and third communication standards, please refer to the descriptions in the first device upgrade method, which will not be repeated here.

[0112] Optionally, the general processing platform 101 acquires the communication parameters of the third communication standard and the installation package of the third communication standard's protocol stack, including: the general processing platform 101 receiving the communication parameters of the third communication standard and the installation package of the third communication standard's protocol stack sent by other devices. Optionally, the communication parameters of the third communication standard can be carried in an upgrade script and sent to the general processing platform 101. After receiving the upgrade script and the installation package of the third communication standard's protocol stack, the general processing platform 101 can run the upgrade script. By running the upgrade script, the protocol stack of the first communication standard can be stopped from running, and the protocol stack of the third communication standard can be installed and run on the general processing platform 101 according to the installation package of the third communication standard's protocol stack, and the communication parameters of the first radio frequency module 103 can be updated to the communication parameters of the third communication standard.

[0113] Optionally, the general processing platform 101 acquires the communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard, including: the general processing platform 101 receiving the communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard imported by the user through the USB interface. Optionally, the communication parameters of the third communication standard can be imported into the general processing platform 101 in the upgrade script.

[0114] Optionally, the general-purpose processing platform 101 can directly run the upgrade script after receiving the upgrade script and the installation package of the protocol stack for the third communication standard. Alternatively, after receiving the upgrade script and the installation package of the protocol stack for the third communication standard, the general-purpose processing platform 101 can receive a user-input command to trigger the upgrade. After receiving the command to trigger the upgrade, the general-purpose processing platform 101 runs the upgrade script.

[0115] Optionally, in the first and second device upgrade methods, the general processing platform 101 may also install the driver for the first radio frequency module 103 and update the communication parameters of the first radio frequency module 103 to the communication parameters of the third communication standard by calling the driver library interface of the first radio frequency module 103.

[0116] Optionally, in the first and second equipment upgrade methods, the communication parameters include one or more of the following parameters: the transmitting frequency of the radio frequency module, the receiving frequency of the radio frequency module, the sampling rate of the radio frequency module, the transmission bandwidth of the radio frequency module, the transmitting gain parameter of the radio frequency module, or the receiving gain parameter of the radio frequency module.

[0117] Downlink data processing scheme two: A first antenna 104 is used to receive a first signal; a first radio frequency module 103 is used to perform a first processing on the first signal to obtain a second signal; the first radio frequency module 103 is also used to transmit the second signal to a general processing platform 101; the general processing platform 101 is used to perform a fourth processing on the second signal to obtain a fourth signal, and transmit the fourth signal to a coprocessor 102, the fourth processing including time-frequency conversion; the coprocessor 102 is used to perform a fifth processing on the fourth signal to obtain a fifth signal, and transmit the fifth signal to the general processing platform 101, the fifth processing including decoding processing; the general processing platform 101 is used to perform a sixth processing on the fifth signal to obtain a first data packet, and transmit the first data packet to an application service, the sixth processing including MAC layer, RLC layer, and PDCP layer processing.

[0118] Optionally, the first radio frequency module 103 may transmit the second signal to the general processing platform 101 by writing the second signal into the shared memory, and the general processing platform 101 may obtain the second signal from the shared memory.

[0119] Optionally, the fourth processing may also include partial PHY layer processing, and / or the sixth processing may also include partial PHY layer processing.

[0120] Optionally, the fifth process may include other PHY layer processes in addition to decoding. For example, the fifth process may also include one or more of the following physical layer processes: de-resource mapping, de-layer mapping, demodulation, descrambling, data and control information demultiplexing, decoder block concatenation, de-rate matching, de-channel coding, and de-CRC. Alternatively, the fifth process may include all PHY layer processes.

[0121] In one possible implementation, the data processing device can also be upgraded. The following describes two optional methods for upgrading the data processing device:

[0122] Equipment upgrade method one: The first signal, the second signal, the fourth signal, and the fifth signal are signals of the first communication standard; such as Figure 2 As shown, a first container 1011 is deployed on the general-purpose processing platform 101. The first container 1011 includes a protocol stack for a first communication standard. The first container 1011 is used to call the computing resources of the general-purpose processing platform 101 and the coprocessor 102 for data processing. Wherein:

[0123] The general processing platform 101 performs a sixth processing on the fifth signal to obtain a first data packet, including: the first container 1011 calling the resources of the general processing platform 101 to perform the sixth processing on the fifth signal to obtain the first data packet. The general processing platform 101 is also used to obtain the communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard, wherein the version of the third communication standard is higher than the version of the first communication standard; the general processing platform 101 is also used to stop running the first container 1011, and run the third container 1012 on the general processing platform 101 according to the image file of the protocol stack of the third communication standard, and update the communication parameters of the first radio frequency module 103 to the communication parameters of the third communication standard. The third container 1012 includes the protocol stack of the third communication standard, and the third container 1012 is used to call the computing resources of the general processing platform 101 and the coprocessor 102 for data processing.

[0124] Equipment upgrade method two: The first signal, the second signal, the fourth signal, and the fifth signal are signals of the first communication standard; the general processing platform 101 is also used to obtain the communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard, the version of the third communication standard is higher than the version of the first communication standard; the general processing platform 101 is also used to update the communication parameters of the first radio frequency module to the communication parameters of the third communication standard, and run the installation package of the protocol stack of the third communication standard, install the protocol stack of the third communication standard on the general processing platform 101, and run the protocol stack of the third communication standard, and stop running the protocol stack of the first communication standard.

[0125] The principles of the two equipment upgrade methods in Downlink Data Processing Scheme 2 are the same as those of the two equipment upgrade methods in Downlink Data Processing Scheme 1. Please refer to the relevant introduction of the two equipment upgrade methods in Downlink Data Processing Scheme 1, which will not be repeated here.

[0126] Optionally, the first data packet can be a Transmission Control Protocol (TCP) packet, a User Datagram Protocol (UDP) packet, or an Internet Protocol (IP) packet.

[0127] In this embodiment, the coprocessor can perform parallel computing. The coprocessor is faster than a general-purpose processing platform. Therefore, using a coprocessor to perform some or all of the physical layer processing, instead of having the general-purpose processing platform perform all physical layer processing, improves data processing efficiency.

[0128] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of a data processing device 300 provided in an embodiment of this application. The data processing device 300 includes a general-purpose processing platform 301, a coprocessor 302, a first radio frequency module 303, a first antenna 304, a second radio frequency module 305, and a second antenna 306. The general-purpose processing platform 301 is connected to the coprocessor 302 via a wire, the general-purpose processing platform 301 and the first radio frequency module 303 are connected via a wire, the first radio frequency module 303 is connected to the first antenna 304, the general-purpose processing platform 301 and the second radio frequency module 305 are connected via a wire, and the second radio frequency module 305 is connected to the second antenna 306.

[0129] Downlink data processing scheme one: A first antenna 304 is used to receive a first signal; a first radio frequency module 303 is used to perform a first processing on the first signal to obtain a second signal; the first radio frequency module 303 is also used to transmit the second signal to a coprocessor 302; the coprocessor 302 is used to perform a second processing on the second signal to obtain a third signal, and transmit the third signal to a general processing platform 301, the second processing including decoding processing; the general processing platform 301 is used to perform a third processing on the third signal to obtain a first data packet, and transmit the first data packet to an application service, the third processing including: MAC layer, RLC layer, and PDCP layer processing.

[0130] The second antenna 306 is used to receive the sixth signal; the second radio frequency module 305 is used to perform a seventh processing on the sixth signal to obtain a seventh signal; the second radio frequency module 305 is also used to transmit the seventh signal to the coprocessor 302; the coprocessor 302 is used to perform an eighth processing on the seventh signal to obtain an eighth signal, and transmit the eighth signal to the general processing platform 301, the eighth processing including decoding processing; the general processing platform 301 is used to perform a ninth processing on the eighth signal to obtain a second data packet, and transmit the second data packet to the application service, the ninth processing including: MAC layer, RLC layer, PDCP layer processing.

[0131] In this embodiment, the first signal, the second signal, and the third signal are signals of a first communication standard. The sixth signal, the seventh signal, and the eighth signal are signals of a second communication standard. The first communication standard can be one of 3G, 4G, 5G, or 6G, and the second communication standard is a different first communication standard. Alternatively, the first communication standard and the second communication standard can be the same.

[0132] Optionally, the seventh processing may include, but is not limited to, down-conversion, sampling, and digital-to-analog conversion. The seventh signal may be a baseband signal.

[0133] Optionally, the second radio frequency module 305 can transmit the seventh signal to the coprocessor 302 by writing the seventh signal into the shared memory, and the coprocessor 302 obtaining the seventh signal from the shared memory.

[0134] Optionally, the eighth process may include other PHY layer processes in addition to decoding. For example, the eighth process may also include one or more of the following physical layer processes: de-resource mapping, de-layer mapping, demodulation, descrambling, data and control information demultiplexing, decoder block concatenation, de-rate matching, de-channel coding, and de-CRC processing. Alternatively, the eighth process may include all PHY layer processes. Decoding is also a type of PHY layer processing.

[0135] Optionally, the ninth processing also includes some physical PHY layer processing.

[0136] In one possible implementation, such as Figure 4 As shown, a first container 3011 and a second container 3012 are deployed on the general processing platform 301. The first container 3011 includes a protocol stack for a first communication standard, and the second container 3012 includes a protocol stack for a second communication standard. The first container 3011 and the second container 3012 are used to call the computing resources of the general processing platform 301 and the coprocessor 302 for data processing. Specifically, the general processing platform 301 performs a third processing on a third signal to obtain a first data packet, including: the first container 3011 calls the resources of the general processing platform 301 to perform a third processing on the third signal to obtain the first data packet; the general processing platform 301 performs a ninth processing on an eighth signal to obtain a second data packet, including: the second container 3012 calls the resources of the general processing platform 301 to perform a ninth processing on the eighth signal to obtain the second data packet.

[0137] Optionally, the first container 3011 may include part or all of the protocol stack of the first communication standard. For example, the first container 3011 may include a PHY layer, a MAC layer, an RLC layer, and a PDCP layer. Alternatively, the first container 3011 may include a MAC layer, an RLC layer, and a PDCP layer. Figure 4 Taking the first container 1011, which includes a MAC layer, an RLC layer, and a PDCP layer, as an example.

[0138] Optionally, the second container 3012 may include part or all of the protocol stack of the second communication standard. For example, the second container 3012 may include a PHY layer, a MAC layer, an RLC layer, and a PDCP layer. Alternatively, the second container 3012 may include a MAC layer, an RLC layer, and a PDCP layer. Figure 4Taking the second container 3012, which includes a MAC layer, an RLC layer, and a PDCP layer, as an example.

[0139] Different container runtime environments are isolated from each other. Because the number of containers is easily scalable, deploying protocol stacks within containers facilitates flexible expansion of device capabilities.

[0140] In one possible implementation, the first container 3011 and the second container 3012 are used to implement the functions of a terminal device; or, the first container 3011 and the second container 3012 are used to implement the functions of a network device. Optionally, the network device can be an access network device. An access network device refers to a radio access network (RAN) node (or device) that connects user equipment to a wireless network, and can also be called a base station.

[0141] In one possible implementation, the first container 3011 and the second container 3012 are used to implement the functions of the terminal device, and the first and second communication standards are the same. For example, the first communication standard is 5G, and the second communication standard is 5G. Based on this possible implementation, terminal devices with the same communication standard can be virtualized in the data processing device, which facilitates subsequent testing operations based on these multiple terminal devices with the same communication standard.

[0142] In one possible implementation, the first container 3011 and the second container 3012 are used to implement the functions of the network device; the first communication standard and the second communication standard are different. For example, the first communication standard is 5G and the second communication standard is 4G. Based on this possible implementation, multiple network devices with different communication standards can be virtualized in the communication device, thus avoiding the need to deploy multiple physical network devices with different communication standards, which helps to save equipment costs.

[0143] Downlink data processing scheme two: A first antenna 304 is used to receive a first signal; a first radio frequency module 303 is used to perform a first processing on the first signal to obtain a second signal; the first radio frequency module 303 is also used to transmit the second signal to a general processing platform 301; the general processing platform 301 is used to perform a fourth processing on the second signal to obtain a fourth signal, and transmit the fourth signal to a coprocessor 302, the fourth processing including time-frequency conversion; the coprocessor 302 is used to perform a fifth processing on the fourth signal to obtain a fifth signal, and transmit the fifth signal to the general processing platform 301, the fifth processing including decoding processing; the general processing platform 301 is used to perform a sixth processing on the fifth signal to obtain a first data packet, and transmit the first data packet to the application service, the sixth processing including MAC layer, RLC layer, and PDCP layer processing.

[0144] The second antenna 306 is used to receive the sixth signal; the second radio frequency module 305 is used to perform a seventh processing on the sixth signal to obtain a seventh signal; the second radio frequency module 305 is also used to transmit the seventh signal to the general processing platform 301; the general processing platform 301 is used to perform a tenth processing on the seventh signal to obtain a ninth signal, and transmit the ninth signal to the coprocessor 302, the tenth processing including time-frequency conversion; the coprocessor 302 is used to perform an eleventh processing on the ninth signal to obtain a tenth signal, and transmit the tenth signal to the general processing platform 301, the eleventh processing including decoding processing; the general processing platform 301 is used to perform a twelfth processing on the tenth signal to obtain a second data packet, and transmit the second data packet to the application service, the twelfth processing including MAC layer, RLC layer, and PDCP layer processing.

[0145] In this embodiment, the first signal, second signal, fourth signal, and fifth signal are signals of a first communication standard. The sixth signal, seventh signal, ninth signal, and tenth signal are signals of a second communication standard. The first communication standard can be one of 3G, 4G, 5G, or 6G, and the second communication standard is a different first communication standard. Alternatively, the first and second communication standards can be the same.

[0146] Optionally, the second radio frequency module 305 can transmit the seventh signal to the general processing platform 301 by writing the seventh signal into the shared memory, and the general processing platform 301 obtaining the seventh signal from the shared memory.

[0147] Optionally, the tenth process may also include partial PHY layer processing, and / or the twelfth process may also include partial PHY layer processing.

[0148] Optionally, the eleventh process may include other PHY layer processes in addition to decoding. For example, the eleventh process may also include one or more of the following physical layer processes: de-resource mapping, de-layer mapping, demodulation, descrambling, data and control information demultiplexing, decoder block concatenation, de-rate matching, de-channel coding, and de-CRC processing. Alternatively, the eleventh process may include all PHY layer processes.

[0149] In one possible implementation, such as Figure 4As shown, a first container 3011 and a second container 3012 are deployed on the general processing platform 301. The first container 3011 includes a protocol stack for a first communication standard, and the second container 3012 includes a protocol stack for a second communication standard. The first container 3011 and the second container 3012 are used to call the computing resources of the general processing platform 301 and the coprocessor 302 to perform data processing. Specifically, the general processing platform 301 performs a sixth processing on a fifth signal to obtain a first data packet, including: the first container 3011 calls the resources of the general processing platform 301 to perform a sixth processing on the fifth signal to obtain the first data packet; the general processing platform 301 performs a twelfth processing on a tenth signal to obtain a second data packet, including: the second container 3012 calls the resources of the general processing platform 301 to perform a twelfth processing on the tenth signal to obtain the second data packet.

[0150] Optionally, the first container 3011 may include part or all of the protocol stack of the first communication standard. For example, the first container 3011 may include a PHY layer, a MAC layer, an RLC layer, and a PDCP layer. Alternatively, the first container 3011 may include a MAC layer, an RLC layer, and a PDCP layer. Figure 4 Taking the first container 1011, which includes a MAC layer, an RLC layer, and a PDCP layer, as an example.

[0151] Optionally, the second container 3012 may include part or all of the protocol stack of the second communication standard. For example, the second container 3012 may include a PHY layer, a MAC layer, an RLC layer, and a PDCP layer. Alternatively, the second container 3012 may include a MAC layer, an RLC layer, and a PDCP layer. Figure 4 Taking the second container 3012, which includes a MAC layer, an RLC layer, and a PDCP layer, as an example.

[0152] Different container runtime environments are isolated from each other. Because the number of containers is easily scalable, deploying protocol stacks within containers facilitates flexible expansion of device capabilities.

[0153] In one possible implementation, the first container 3011 and the second container 3012 are used to implement the functions of a terminal device; or, the first container 3011 and the second container 3012 are used to implement the functions of a network device. Optionally, the network device can be an access network device. An access network device refers to a radio access network (RAN) node (or device) that connects user equipment to a wireless network, and can also be called a base station.

[0154] In one possible implementation, the first container 3011 and the second container 3012 are used to implement the functions of the terminal device, and the first and second communication standards are the same. For example, the first communication standard is 5G, and the second communication standard is 5G. Based on this possible implementation, terminal devices with the same communication standard can be virtualized in the data processing device, which facilitates subsequent testing operations based on these multiple terminal devices with the same communication standard.

[0155] In one possible implementation, the first container 3011 and the second container 3012 are used to implement the functions of the network device; the first communication standard and the second communication standard are different. For example, the first communication standard is 5G and the second communication standard is 4G. Based on this possible implementation, multiple network devices with different communication standards can be virtualized in the communication device, thus avoiding the need to deploy multiple physical network devices with different communication standards, which helps to save equipment costs.

[0156] Optionally, the second data packet can be a TCP packet, a UDP packet, or an IP packet.

[0157] based on Figure 3 The described data processing device can process data from multiple communication standards with a single device, which helps to save equipment costs.

[0158] Please see Figure 5 , Figure 5 This is a flowchart illustrating a data processing method provided in an embodiment of this application. Figure 5 The method shown is applied to a data processing device, which includes a general-purpose processing platform, a coprocessor, a first radio frequency module, and a first antenna; the general-purpose processing platform and the coprocessor are connected via a wire, the general-purpose processing platform and the first radio frequency module are connected via a wire, and the first radio frequency module is connected to the first antenna; the method includes:

[0159] 501. Receive the first signal through the first antenna.

[0160] 502. The first signal is processed by the first radio frequency module to obtain the second signal, and the second signal is transmitted to the coprocessor.

[0161] 503. The second signal is processed by the coprocessor to obtain the third signal, and the third signal is transmitted to the general processing platform. The second processing includes decoding processing.

[0162] 504. The third signal is processed by a general processing platform to obtain a first data packet, and the first data packet is transmitted to the application service. The third processing includes: Media Access Control (MAC) layer, Radio Link Control (RLC) layer, and Packet Data Convergence Protocol (PDCP) layer processing.

[0163] Optionally, the first, second, and third signals are signals of a first communication standard; the data processing device further includes a second radio frequency module and a second antenna; the general processing platform and the second radio frequency module are connected via a wire, and the second radio frequency module is connected to the second antenna. The data processing device may also perform the following steps: receiving a sixth signal via the second antenna; performing a seventh processing on the sixth signal via the second radio frequency module to obtain a seventh signal; transmitting the seventh signal to a coprocessor; performing an eighth processing on the seventh signal via the coprocessor to obtain an eighth signal, and transmitting the eighth signal to the general processing platform, the eighth processing including decoding processing; performing a ninth processing on the eighth signal via the general processing platform to obtain a second data packet, and transmitting the second data packet to the application service, the ninth processing including MAC layer, RLC layer, and PDCP layer processing. The sixth, seventh, and eighth signals are signals of a second communication standard.

[0164] Optionally, a first container and a second container are deployed on the general-purpose processing platform. The first container includes a protocol stack for a first communication standard, and the second container includes a protocol stack for a second communication standard. The first and second containers are used to call the computing resources of the general-purpose processing platform and the coprocessor to perform data processing. The third processing of the third signal by the general-purpose processing platform to obtain the first data packet includes: calling the resources of the general-purpose processing platform through the first container to perform the third processing of the third signal to obtain the first data packet. The ninth processing of the eighth signal by the general-purpose processing platform to obtain the second data packet includes: calling the resources of the general-purpose processing platform through the second container to perform the ninth processing of the eighth signal to obtain the second data packet.

[0165] Optionally, the second and / or eighth processes may further include one or more of the following: de-resource mapping, de-layer mapping, demodulation, descrambling, data and control information demultiplexing, decoder block concatenation, de-rate matching, de-channel coding, and de-cyclic redundancy check (CRC).

[0166] Optionally, the third processing may also include partial physical PHY layer processing, and / or the ninth processing may also include partial physical PHY layer processing.

[0167] Optionally, the coprocessor can be a GPU, NPU, DPU, DSP, or FPGA, etc.

[0168] Optionally, the first signal, the second signal, and the third signal are signals of a first communication standard; a first container is deployed on the general-purpose processing platform, the first container including the protocol stack of the first communication standard, the first container being used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing; the third signal is processed by the general-purpose processing platform to obtain a first data packet, including: the third signal is processed by the resources of the general-purpose processing platform through the first container to obtain the first data packet. The data processing device may also perform the following steps: obtaining the communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard through the general-purpose processing platform, the version of the third communication standard being higher than the version of the first communication standard; stopping the first container from running through the general-purpose processing platform, and running the third container on the general-purpose processing platform according to the image file of the protocol stack of the third communication standard, and updating the communication parameters of the first radio frequency module to the communication parameters of the third communication standard, the third container including the protocol stack of the third communication standard, the third container being used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing.

[0169] Optionally, the first signal, the second signal, and the third signal are signals of the first communication standard; the data processing device may also perform the following steps: obtain the communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard through the general processing platform, wherein the version of the third communication standard is higher than the version of the first communication standard; update the communication parameters of the first radio frequency module to the communication parameters of the third communication standard through the general processing platform, run the installation package of the protocol stack of the third communication standard, install the protocol stack of the third communication standard on the general processing platform, run the protocol stack of the third communication standard, and stop running the protocol stack of the first communication standard.

[0170] Optionally, the communication parameters include one or more of the following parameters: the transmit frequency of the RF module, the receive frequency of the RF module, the sampling rate of the RF module, the transmission bandwidth of the RF module, the transmit gain parameter of the RF module, or the receive gain parameter of the RF module.

[0171] Optionally, the first and second data packets can be TCP packets, UDP packets, or IP packets.

[0172] Please see Figure 6 , Figure 6 This is a flowchart illustrating a data processing method provided in an embodiment of this application. Figure 6 The method shown is applied to a data processing device, which includes a general-purpose processing platform, a coprocessor, a first radio frequency module, and a first antenna; the general-purpose processing platform and the coprocessor are connected via a wire, the general-purpose processing platform and the first radio frequency module are connected via a wire, and the first radio frequency module is connected to the first antenna; the method includes:

[0173] 601. Receive the first signal through the first antenna.

[0174] 602. The first signal is processed by the first radio frequency module to obtain the second signal, and the second signal is transmitted to the general processing platform.

[0175] 603. The second signal is processed by a general processing platform to obtain a fourth signal, and the fourth signal is transmitted to the coprocessor. The fourth processing includes time-frequency conversion.

[0176] 604. The coprocessor performs a fifth processing on the fourth signal to obtain a fifth signal, and then transmits the fifth signal to the general processing platform. The fifth processing includes decoding processing.

[0177] 605. The fifth signal is processed by a general processing platform to obtain a first data packet, and the first data packet is transmitted to the application service. The sixth processing includes: MAC layer, RLC layer, and PDCP layer processing.

[0178] Optionally, the first, second, fourth, and fifth signals are signals of a first communication standard; the data processing device further includes a second radio frequency module and a second antenna; the general processing platform and the second radio frequency module are connected via a wire, and the second radio frequency module is connected to the second antenna. The data processing device may also perform the following steps: receiving a sixth signal via the second antenna; performing a seventh processing on the sixth signal via the second radio frequency module to obtain a seventh signal; transmitting the seventh signal to the general processing platform; performing a tenth processing on the seventh signal via the general processing platform to obtain a ninth signal, and transmitting the ninth signal to the coprocessor, the tenth processing including time-frequency conversion; performing an eleventh processing on the ninth signal via the coprocessor to obtain a tenth signal, and transmitting the tenth signal to the general processing platform, the eleventh processing including decoding; performing a twelfth processing on the tenth signal via the general processing platform to obtain a second data packet, and transmitting the second data packet to the application service, the twelfth processing including MAC layer, RLC layer, and PDCP layer processing. The sixth, seventh, ninth, and tenth signals are signals of a second communication standard.

[0179] Optionally, a first container and a second container are deployed on the general-purpose processing platform. The first container includes a protocol stack for a first communication standard, and the second container includes a protocol stack for a second communication standard. The first and second containers are used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing. The sixth processing of the fifth signal by the general-purpose processing platform to obtain the first data packet includes: using the resources of the general-purpose processing platform through the first container to perform the sixth processing of the fifth signal to obtain the first data packet. The twelfth processing of the tenth signal by the general-purpose processing platform to obtain the second data packet includes: using the resources of the general-purpose processing platform through the second container to perform the twelfth processing of the tenth signal to obtain the second data packet.

[0180] Optionally, the fifth and / or eleventh processes may further include one or more of the following: de-resource mapping, de-layer mapping, demodulation, descrambling, data and control information demultiplexing, decoded block concatenation, de-rate matching, de-rate matching, and de-cyclic redundancy check (CRC).

[0181] Optionally, the fourth process may also include partial PHY layer processing, and / or the sixth process may also include partial PHY layer processing, and / or the tenth process may also include partial PHY layer processing, and / or the twelfth process may also include partial PHY layer processing.

[0182] Optionally, the coprocessor can be a GPU, NPU, DPU, DSP, or FPGA, etc.

[0183] Optionally, the first signal, second signal, fourth signal, and fifth signal are signals of a first communication standard; a first container is deployed on the general-purpose processing platform, the first container including the protocol stack of the first communication standard, and the first container is used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing. The fifth signal is processed a sixth time by the general-purpose processing platform to obtain the first data packet, including: calling the resources of the general-purpose processing platform through the first container to process the fifth signal a sixth time to obtain the first data packet. The data processing device may also perform the following steps: obtaining the communication parameters of a third communication standard and an image file of the protocol stack of the third communication standard through the general-purpose processing platform, wherein the version of the third communication standard is higher than the version of the first communication standard; stopping the first container from running through the general-purpose processing platform, and running the third container on the general-purpose processing platform according to the image file of the protocol stack of the third communication standard, and updating the communication parameters of the first radio frequency module to the communication parameters of the third communication standard; the third container includes the protocol stack of the third communication standard, and the third container is used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing.

[0184] Optionally, the first signal, second signal, fourth signal, and fifth signal are signals of the first communication standard. The data processing device may also perform the following steps: obtain the communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard through a general processing platform, wherein the version of the third communication standard is higher than the version of the first communication standard; update the communication parameters of the first radio frequency module to the communication parameters of the third communication standard through the general processing platform, run the installation package of the protocol stack of the third communication standard, install the protocol stack of the third communication standard on the general processing platform, run the protocol stack of the third communication standard, and stop running the protocol stack of the first communication standard.

[0185] Optionally, the communication parameters include one or more of the following parameters: the transmit frequency of the RF module, the receive frequency of the RF module, the sampling rate of the RF module, the transmission bandwidth of the RF module, the transmit gain parameter of the RF module, or the receive gain parameter of the RF module.

[0186] Optionally, the first and second data packets can be TCP packets, UDP packets, or IP packets.

[0187] Figure 5 and Figure 6 For the specific implementation and beneficial effects of the described method, please refer to the preceding text. Figures 1-4 The relevant descriptions of data processing equipment will not be elaborated here.

[0188] Please see Figure 1 , Figure 1 This is a schematic diagram of the structure of a data processing device 100 provided in an embodiment of this application. The data processing device 100 includes a general processing platform 101, a coprocessor 102, a first radio frequency module 103, and a first antenna 104; the general processing platform 101 and the coprocessor 102 are connected by a wire, the general processing platform 101 and the first radio frequency module 103 are connected by a wire, and the first radio frequency module 103 is connected to the first antenna 104.

[0189] In this embodiment of the application, the data processing device 100 may implement uplink data processing in ways including but not limited to the following:

[0190] Uplink data processing scheme: A general processing platform 101 is used to perform first processing on the first data packet to obtain a first signal and transmit the first signal to the coprocessor 102. The first processing includes processing at the Packet Data Convergence Protocol (PDCP) layer, Radio Link Control (RLC) layer, and Media Access Control (MAC) layer. The coprocessor 102 is used to perform second processing on the first signal to obtain a second signal and transmit the second signal to the first radio frequency module 103 or transmit the second signal to the first radio frequency module 103 through the general processing platform 101. The second processing includes encoding processing. The first radio frequency module 103 is used to perform third processing on the second signal to obtain a third signal and transmit the third signal to the first antenna 104. The first antenna 104 is used to transmit the third signal.

[0191] In this context, the general-purpose processing platform 101 refers to a non-customized platform. For example, the general-purpose processing platform 101 can be an x86 general-purpose server, an embedded system development board, an ARM processor, or an application processor (AP).

[0192] Optionally, the coprocessor can be a GPU, NPU, DPU, DSP, or FPGA, etc.

[0193] Optionally, the wired connection in this embodiment can be a PCIe connection, an optical port connection, or a USB connection, etc.

[0194] Optionally, the coprocessor 102 may transmit the second signal to the first radio frequency module 103 by writing the second signal into the shared memory, and the first radio frequency module 103 may obtain the second signal from the shared memory.

[0195] Optionally, the general processing platform 101 may transmit the second signal to the first radio frequency module 103 by writing the second signal into the shared memory and the first radio frequency module 103 obtaining the second signal from the shared memory.

[0196] Optionally, the third processing may include, but is not limited to, up-conversion and digital-to-analog conversion processing.

[0197] Optionally, the second processing may include other PHY layer processing in addition to encoding processing. For example, the second processing may also include one or more of the following physical layer processing: CRC addition, code block segmentation, channel coding, rate matching, code block concatenation, data and control information multiplexing, scrambling, modulation, layer mapping, and resource mapping. Alternatively, the second processing may include all PHY layer processing. Among these, encoding processing is also a type of PHY layer processing.

[0198] Optionally, the first processing may also include some physical PHY layer processing.

[0199] In one possible implementation, the data processing device can also be upgraded. The following describes two optional methods for upgrading the data processing device:

[0200] Equipment upgrade method one: The first signal, the second signal, and the third signal are signals of the first communication standard; such as Figure 2 As shown, a first container 1011 is deployed on the general-purpose processing platform 101. The first container 1011 includes a protocol stack for a first communication standard. The first container 1011 is used to call upon the computing resources of the general-purpose processing platform 101 and the coprocessor for data processing. Wherein:

[0201] The general processing platform 101 performs first processing on the first data packet, including: the first container 1011 calling the resources of the general processing platform 101 to perform first processing on the first data packet. The general processing platform 101 is also used to obtain the communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard, wherein the version of the third communication standard is higher than the version of the first communication standard; the general processing platform 101 is also used to stop running the first container 1011, and run the third container 1012 on the general processing platform 101 according to the image file of the protocol stack of the third communication standard, and update the communication parameters of the first radio frequency module to the communication parameters of the third communication standard. The third container 1012 includes the protocol stack of the third communication standard, and the third container 1012 is used to call the computing resources of the general processing platform 101 and the coprocessor to perform data processing.

[0202] Optionally, the first communication standard can be 3G, 4G, 5G, 6G, or a higher communication standard, and the third communication standard has a higher version than the first communication standard. For example, the first communication standard is 3G, and the third communication standard can be one of 4G, 5G, or 6G. The first communication standard is 4G, and the third communication standard can be one of 5G or 6G. The first communication standard is 5G, and the third communication standard can be 6G or a higher communication standard.

[0203] Optionally, the first container 1011 may include part or all of the protocol stack of the first communication standard. For example, the first container 1011 may include a PHY layer, a MAC layer, an RLC layer, and a PDCP layer. Alternatively, the first container 1011 may include a MAC layer, an RLC layer, and a PDCP layer. Figure 2 Taking the first container 1011, which includes a MAC layer, an RLC layer, and a PDCP layer, as an example.

[0204] Optionally, the third container 1012 may include part or all of the protocol stack of the third communication standard. For example, the third container 1012 may include a PHY layer, a MAC layer, an RLC layer, and a PDCP layer. Alternatively, the third container 1012 may include a MAC layer, an RLC layer, and a PDCP layer. Figure 2Taking the third container 1012, which includes a MAC layer, an RLC layer, and a PDCP layer, as an example.

[0205] Optionally, the general processing platform 101 obtains the communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard by receiving the communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard sent by other devices. Optionally, the communication parameters of the third communication standard can be carried in an upgrade script and sent to the general processing platform 101. After receiving the upgrade script and the image file of the protocol stack of the third communication standard, the general processing platform 101 can run the upgrade script. By running the upgrade script, the first container 1011 can be stopped, and the third container 1012 can be run on the general processing platform 101 according to the image file of the protocol stack of the third communication standard, and the communication parameters of the first radio frequency module 103 can be updated to the communication parameters of the third communication standard.

[0206] Optionally, the general processing platform 101 acquires the communication parameters and the image file of the protocol stack of the third communication standard by receiving the communication parameters and the image file of the protocol stack of the third communication standard imported by the user via the USB interface. Optionally, the communication parameters of the third communication standard can be imported into the general processing platform 101 in the upgrade script.

[0207] Optionally, the general-purpose processing platform 101 can directly run the upgrade script after receiving the upgrade script and the image file of the protocol stack for the third communication standard. Alternatively, after receiving the upgrade script and the image file of the protocol stack for the third communication standard, the general-purpose processing platform 101 can receive a user-input command to trigger the upgrade. After receiving the command to trigger the upgrade, the general-purpose processing platform 101 runs the upgrade script.

[0208] In this embodiment, there is no need to deploy a dedicated chip for the protocol stack in the data processing device. Instead, the protocol stack is mirrored and virtualized within a container on a general-purpose processing platform. This allows for software upgrades of the protocol stack deployed on the general-purpose processing platform. Furthermore, in this embodiment, the communication parameters of the first radio frequency module can also be updated via software. Therefore, upgrading the device using this first method eliminates the need to replace the hardware of the data processing device, thus reducing resource waste.

[0209] Equipment upgrade method two: The first signal, the second signal, and the third signal are signals of the first communication standard; the general processing platform 101 is also used to obtain the communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard, the version of the third communication standard is higher than the version of the first communication standard; the general processing platform 101 is also used to update the communication parameters of the first radio frequency module to the communication parameters of the third communication standard, and run the installation package of the protocol stack of the third communication standard, install the protocol stack of the third communication standard on the general processing platform 101, and run the protocol stack of the third communication standard, and stop running the protocol stack of the first communication standard.

[0210] For descriptions of the first and third communication standards, as well as the protocol stacks of the first and third communication standards, please refer to the descriptions in the first device upgrade method, which will not be repeated here.

[0211] Optionally, the general processing platform 101 acquires the communication parameters of the third communication standard and the installation package of the third communication standard's protocol stack, including: the general processing platform 101 receiving the communication parameters of the third communication standard and the installation package of the third communication standard's protocol stack sent by other devices. Optionally, the communication parameters of the third communication standard can be carried in an upgrade script and sent to the general processing platform 101. After receiving the upgrade script and the installation package of the third communication standard's protocol stack, the general processing platform 101 can run the upgrade script. By running the upgrade script, the protocol stack of the first communication standard can be stopped from running, and the protocol stack of the third communication standard can be installed and run on the general processing platform 101 according to the installation package of the third communication standard's protocol stack, and the communication parameters of the first radio frequency module 103 can be updated to the communication parameters of the third communication standard.

[0212] Optionally, the general processing platform 101 acquires the communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard, including: the general processing platform 101 receiving the communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard imported by the user through the USB interface. Optionally, the communication parameters of the third communication standard can be imported into the general processing platform 101 in the upgrade script.

[0213] Optionally, the general-purpose processing platform 101 can directly run the upgrade script after receiving the upgrade script and the installation package of the protocol stack for the third communication standard. Alternatively, after receiving the upgrade script and the installation package of the protocol stack for the third communication standard, the general-purpose processing platform 101 can receive a user-input command to trigger the upgrade. After receiving the command to trigger the upgrade, the general-purpose processing platform 101 runs the upgrade script.

[0214] Optionally, in the first and second device upgrade methods, the general processing platform 101 may also install the driver for the first radio frequency module 103 and update the communication parameters of the first radio frequency module 103 to the communication parameters of the third communication standard by calling the driver library interface of the first radio frequency module 103.

[0215] Optionally, in the first and second equipment upgrade methods, the communication parameters include one or more of the following parameters: the transmitting frequency of the radio frequency module, the receiving frequency of the radio frequency module, the sampling rate of the radio frequency module, the transmission bandwidth of the radio frequency module, the transmitting gain parameter of the radio frequency module, or the receiving gain parameter of the radio frequency module.

[0216] Optionally, the first data packet can be a TCP packet, a UDP packet, or an IP packet.

[0217] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of a data processing device 300 provided in an embodiment of this application. The data processing device 300 includes a general-purpose processing platform 301, a coprocessor 302, a first radio frequency module 303, a first antenna 304, a second radio frequency module 305, and a second antenna 306. The general-purpose processing platform 301 is connected to the coprocessor 302 via a wire, the general-purpose processing platform 301 and the first radio frequency module 303 are connected via a wire, the first radio frequency module 303 is connected to the first antenna 304, the general-purpose processing platform 301 and the second radio frequency module 305 are connected via a wire, and the second radio frequency module 305 is connected to the second antenna 306.

[0218] In this embodiment of the application, the data processing device 300 may implement uplink data processing in ways including but not limited to the following:

[0219] Uplink data processing scheme: A general processing platform 301 is used to perform first processing on the first data packet to obtain a first signal and transmit the first signal to a coprocessor 302. The first processing includes processing at the Packet Data Convergence Protocol (PDCP) layer, Radio Link Control (RLC) layer, and Media Access Control (MAC) layer. The coprocessor 302 is used to perform second processing on the first signal to obtain a second signal and transmit the second signal to a first radio frequency (RF) module 303, or transmit the second signal to the first RF module 303 through the general processing platform 301. The second processing includes encoding processing. The first RF module 303 is used to perform third processing on the second signal to obtain a third signal and transmit the third signal to a first antenna 304. The first antenna 304 is used to transmit the third signal.

[0220] The general processing platform 301 is further configured to perform a fourth processing on the second data packet to obtain a fourth signal, and transmit the fourth signal to the coprocessor 302. The fourth processing includes a PDCP layer, an RLC layer, and a MAC layer. The coprocessor 302 is further configured to perform a fifth processing on the fourth signal to obtain a fifth signal, and transmit the fifth signal to the second radio frequency module 305, or transmit the fifth signal to the second radio frequency module 305 through the general processing platform 301. The fifth processing includes encoding processing. The second radio frequency module 305 is further configured to perform a sixth processing on the fifth signal to obtain a sixth signal, and transmit the sixth signal to the second antenna 306. The second antenna 306 is further configured to transmit the sixth signal.

[0221] Among them, the first signal, the second signal, and the third signal are signals of the first communication standard. The fourth signal, the fifth signal, and the sixth signal are signals of the second communication standard. The first communication standard can be one of 3G, 4G, 5G, or 6G, and the second communication standard is a different first communication standard. Alternatively, the first communication standard and the second communication standard can be the same.

[0222] Optionally, the coprocessor 302 may transmit the fifth signal to the second radio frequency module 305 by writing the fifth signal into the shared memory, and the second radio frequency module 305 may obtain the fifth signal from the shared memory.

[0223] Optionally, the general processing platform 301 can transmit the fifth signal to the second radio frequency module 305 by: the general processing platform 301 writing the fifth signal into the shared memory, and the second radio frequency module 305 obtaining the second signal from the shared memory.

[0224] Optionally, the sixth processing may include, but is not limited to, up-conversion and digital-to-analog conversion processing.

[0225] Optionally, the fifth process may include other PHY layer processes in addition to encoding. For example, the fifth process may also include one or more of the following physical layer processes: CRC addition, code block segmentation, channel coding, rate matching, code block concatenation, data and control information multiplexing, scrambling, modulation, layer mapping, and resource mapping. Alternatively, the second process may include all PHY layer processes. Encoding is also a type of PHY layer process.

[0226] Optionally, the fourth processing also includes some physical PHY layer processing.

[0227] In one possible implementation, such as Figure 4As shown, a first container 3011 and a second container 3012 are deployed on the general-purpose processing platform 301. The first container 3011 includes a protocol stack for a first communication standard, and the second container 3012 includes a protocol stack for a second communication standard. The first container 3011 and the second container 3012 are used to call the computing resources of the general-purpose processing platform 301 and the coprocessor 302 for data processing. The general-purpose processing platform 301 performs first processing on a first data packet, including: the first container 3011 calling the resources of the general-purpose processing platform 301 to perform first processing on the first data packet. The general-purpose processing platform 301 performs fourth processing on a second data packet, including: the second container 3012 calling the resources of the general-purpose processing platform 301 to perform fourth processing on the second data packet.

[0228] Optionally, the first container 3011 may include part or all of the protocol stack of the first communication standard. For example, the first container 3011 may include a PHY layer, a MAC layer, an RLC layer, and a PDCP layer. Alternatively, the first container 3011 may include a MAC layer, an RLC layer, and a PDCP layer. Figure 4 Taking the first container 1011, which includes a MAC layer, an RLC layer, and a PDCP layer, as an example.

[0229] Optionally, the second container 3012 may include part or all of the protocol stack of the second communication standard. For example, the second container 3012 may include a PHY layer, a MAC layer, an RLC layer, and a PDCP layer. Alternatively, the second container 3012 may include a MAC layer, an RLC layer, and a PDCP layer. Figure 4 Taking the second container 3012, which includes a MAC layer, an RLC layer, and a PDCP layer, as an example.

[0230] Different container runtime environments are isolated from each other. Because the number of containers is easily scalable, deploying protocol stacks within containers facilitates flexible expansion of device capabilities.

[0231] In one possible implementation, the first container 3011 and the second container 3012 are used to implement the functions of a terminal device; or, the first container 3011 and the second container 3012 are used to implement the functions of a network device. Optionally, the network device can be an access network device. An access network device refers to a radio access network (RAN) node (or device) that connects user equipment to a wireless network, and can also be called a base station.

[0232] In one possible implementation, the first container 3011 and the second container 3012 are used to implement the functions of the terminal device, and the first and second communication standards are the same. For example, the first communication standard is 5G, and the second communication standard is 5G. Based on this possible implementation, terminal devices with the same communication standard can be virtualized in the data processing device, which facilitates subsequent testing operations based on these multiple terminal devices with the same communication standard.

[0233] In one possible implementation, the first container 3011 and the second container 3012 are used to implement the functions of the network device; the first communication standard and the second communication standard are different. For example, the first communication standard is 5G and the second communication standard is 4G. Based on this possible implementation, multiple network devices with different communication standards can be virtualized in the communication device, thus avoiding the need to deploy multiple physical network devices with different communication standards, which helps to save equipment costs.

[0234] Optionally, the second data packet can be a TCP packet, a UDP packet, or an IP packet.

[0235] Please see Figure 7 , Figure 7 This is a flowchart illustrating a data processing method provided in an embodiment of this application. Figure 7 The method shown is applied to a data processing device, which includes a general-purpose processing platform, a coprocessor, a first radio frequency module, and a first antenna; the general-purpose processing platform and the coprocessor are connected via a wire, the general-purpose processing platform and the first radio frequency module are connected via a wire, and the first radio frequency module is connected to the first antenna; the method includes:

[0236] 701. The first data packet is processed by a general processing platform to obtain a first signal, and the first signal is transmitted to the coprocessor. The first processing includes processing by the Packet Data Convergence Protocol (PDCP) layer, the Radio Link Control (RLC) layer, and the Media Access Control (MAC) layer.

[0237] 702. The first signal is processed by a coprocessor to obtain a second signal, and the second signal is transmitted to the first radio frequency module or transmitted to the first radio frequency module through a general processing platform. The second processing includes encoding processing.

[0238] 703. The second signal is processed by the first radio frequency module to obtain a third signal, and the third signal is transmitted to the first antenna.

[0239] 704. Transmit the third signal through the first antenna.

[0240] Optionally, the first signal, the second signal, and the third signal are signals of a first communication standard; the data processing device further includes a second radio frequency module and a second antenna; the general processing platform and the second radio frequency module are connected via a wire, and the second radio frequency module is connected to the second antenna; the data processing device may also perform the following steps:

[0241] The second data packet undergoes a fourth processing step via a general-purpose processing platform to obtain a fourth signal, which is then transmitted to the coprocessor. This fourth processing includes the PDCP layer, RLC layer, and MAC layer. The fourth signal is then subjected to a fifth processing step via the coprocessor to obtain a fifth signal, which is then transmitted to the second radio frequency module, or via the general-purpose processing platform. This fifth processing includes encoding. The fifth signal is then subjected to a sixth processing step via the second radio frequency module to obtain a sixth signal, which is then transmitted to the second antenna. Finally, the sixth signal is transmitted via the second antenna. The fourth, fifth, and sixth signals are signals of the second communication standard.

[0242] Optionally, a first container and a second container are deployed on the general-purpose processing platform. The first container includes a protocol stack for a first communication standard, and the second container includes a protocol stack for a second communication standard. The first and second containers are used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing. First processing of the first data packet via the general-purpose processing platform includes: calling the resources of the general-purpose processing platform via the first container to perform first processing on the first data packet. Fourth processing of the second data packet via the general-purpose processing platform includes: calling the resources of the general-purpose processing platform via the second container to perform fourth processing on the second data packet.

[0243] Optionally, the second and / or fifth processing may further include one or more of the following: Cyclic Redundancy Check (CRC) addition, code block segmentation, channel coding, rate matching, code block concatenation, data and control information multiplexing, scrambling, modulation, layer mapping, and resource mapping.

[0244] Optionally, the first and / or fourth processing may also include partial physical PHY layer processing.

[0245] Optionally, the coprocessor can be a GPU, NPU, DPU, DSP, or FPGA, etc.

[0246] Optionally, the first signal, the second signal, and the third signal are signals of a first communication standard; a first container is deployed on the general-purpose processing platform, the first container including a protocol stack of the first communication standard, the first container being used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing; the first processing of the first data packet by the general-purpose processing platform includes: calling the resources of the general-purpose processing platform through the first container to perform the first processing of the first data packet. The data processing device may also perform the following steps:

[0247] The communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard are obtained through the general processing platform. The version of the third communication standard is higher than that of the first communication standard. The first container is stopped from running through the general processing platform, and the third container is run on the general processing platform according to the image file of the protocol stack of the third communication standard. The communication parameters of the first radio frequency module are updated to the communication parameters of the third communication standard. The third container includes the protocol stack of the third communication standard. The third container is used to call the computing resources of the general processing platform and the coprocessor for data processing.

[0248] Optionally, the first signal, the second signal, and the third signal are signals of the first communication standard; the data processing device may also perform the following steps:

[0249] The communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard are obtained through the general processing platform. The version of the third communication standard is higher than that of the first communication standard. The communication parameters of the first radio frequency module are updated to the communication parameters of the third communication standard through the general processing platform, and the installation package of the protocol stack of the third communication standard is run. The protocol stack of the third communication standard is installed on the general processing platform, and the protocol stack of the third communication standard is run. The protocol stack of the first communication standard is stopped.

[0250] Optionally, the communication parameters include one or more of the following parameters: the transmit frequency of the RF module, the receive frequency of the RF module, the sampling rate of the RF module, the transmission bandwidth of the RF module, the transmit gain parameter of the RF module, or the receive gain parameter of the RF module.

[0251] Optionally, the first and second data packets can be TCP packets, UDP packets, or IP packets.

[0252] Figure 7 For the specific implementation and beneficial effects of the described method, please refer to the preceding text. Figures 1-4 The relevant descriptions of data processing equipment will not be elaborated here.

[0253] This application embodiment can divide the data processing device into functional modules based on the above data processing method example. For example, the various functions of the data processing device can be divided into separate functional modules, or two or more functions of the data processing device can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0254] This application also provides a computer-readable storage medium storing instructions that, when executed on a computer or processor, cause the computer or processor to perform one or more steps of any of the above methods.

[0255] This application also provides a computer program product containing instructions. When the computer program product is run on a computer or processor, it causes the computer or processor to perform one or more steps of any of the methods described above.

[0256] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0257] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0258] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the embodiments of this application should be covered within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.

[0259] The descriptions of the various embodiments provided in this application can be referenced mutually. Each embodiment has its own emphasis, and parts not described in detail in a certain embodiment can be referred to the relevant descriptions of other embodiments. For the sake of convenience and brevity, for example, the functions and execution steps of the various devices and equipment provided in the embodiments of this application can be referred to the relevant descriptions of the method embodiments of this application. The method embodiments and the device embodiments can also be referenced, combined or cited from each other.

Claims

1. A data processing device, characterized in that, The data processing device includes a general-purpose processing platform, a coprocessor, a first radio frequency module, and a first antenna; the general-purpose processing platform is connected to the coprocessor via a wire, the general-purpose processing platform and the first radio frequency module are connected via a wire, and the first radio frequency module is connected to the first antenna; the coprocessor is a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a data processing unit (DPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA); the general-purpose processing platform is an x86 general-purpose server, an embedded system development board, an advanced reduced instruction set processor (ARM), or an application processor (AP). The first antenna is used to receive the first signal; The first radio frequency module is used to perform a first process on the first signal to obtain a second signal, wherein the first process includes down-conversion, sampling and analog-to-digital conversion processing; in: The first radio frequency module is further configured to transmit the second signal to the coprocessor; the coprocessor is configured to perform a second processing on the second signal to obtain a third signal, and transmit the third signal to the general processing platform, wherein the second processing includes decoding processing; the general processing platform is configured to perform a third processing on the third signal to obtain a first data packet, and transmit the first data packet to the application service, wherein the third processing includes: Media Access Control (MAC) layer, Radio Link Control (RLC) layer, and Packet Data Convergence Protocol (PDCP) layer processing, and the application service is an application program or system service in an operating system; Alternatively, the first radio frequency module is further configured to transmit the second signal to the general processing platform; the general processing platform is configured to perform a fourth processing on the second signal to obtain a fourth signal, and transmit the fourth signal to the coprocessor, the fourth processing including time-frequency conversion; the coprocessor is configured to perform a fifth processing on the fourth signal to obtain a fifth signal, and transmit the fifth signal to the general processing platform, the fifth processing including decoding processing; the general processing platform is configured to perform a sixth processing on the fifth signal to obtain a first data packet, and transmit the first data packet to the application service, the sixth processing including MAC layer, RLC layer, and PDCP layer processing.

2. The device according to claim 1, characterized in that, The first signal, the second signal, the third signal, the fourth signal, and the fifth signal are signals of a first communication standard; the data processing device further includes a second radio frequency module and a second antenna; the general processing platform and the second radio frequency module are connected by a wire, and the second radio frequency module is connected to the second antenna; The second antenna is used to receive the sixth signal; The second radio frequency module is used to perform a seventh processing on the sixth signal to obtain a seventh signal. The seventh processing includes down-conversion, sampling, and digital-to-analog conversion. in: The second radio frequency module is further configured to transmit the seventh signal to the coprocessor; the coprocessor is configured to perform an eighth processing on the seventh signal to obtain an eighth signal, and transmit the eighth signal to the general processing platform, the eighth processing including decoding processing; the general processing platform is configured to perform a ninth processing on the eighth signal to obtain a second data packet, and transmit the second data packet to the application service, the ninth processing including: MAC layer, RLC layer, PDCP layer processing; Alternatively, the second radio frequency module is further configured to transmit the seventh signal to the general processing platform; the general processing platform is configured to perform a tenth processing on the seventh signal to obtain a ninth signal, and transmit the ninth signal to the coprocessor, the tenth processing including time-frequency conversion; the coprocessor is configured to perform an eleventh processing on the ninth signal to obtain a tenth signal, and transmit the tenth signal to the general processing platform, the eleventh processing including decoding; the general processing platform is configured to perform a twelfth processing on the tenth signal to obtain a second data packet, and transmit the second data packet to the application service, the twelfth processing including MAC layer, RLC layer, and PDCP layer processing; Among them, the sixth signal, the seventh signal, the eighth signal, the ninth signal, and the tenth signal are signals of the second communication standard.

3. The device according to claim 2, characterized in that, The general-purpose processing platform is equipped with a first container and a second container. The first container includes a protocol stack for the first communication standard, and the second container includes a protocol stack for the second communication standard. The first container and the second container are used to access the computing resources of the general-purpose processing platform and the coprocessor for data processing, wherein: The general processing platform performs third processing on the third signal to obtain a first data packet, including: The first container calls upon the resources of the general processing platform to perform third processing on the third signal to obtain the first data packet; The general processing platform performs a ninth process on the eighth signal to obtain a second data packet, including: The second container invokes the resources of the general processing platform to perform a ninth processing on the eighth signal to obtain a second data packet; or, The general processing platform performs a sixth process on the fifth signal to obtain a first data packet, including: The first container calls upon the resources of the general processing platform to perform a sixth process on the fifth signal to obtain a first data packet; The general processing platform performs a twelfth processing step on the tenth signal to obtain a second data packet, including: The second container invokes the resources of the general processing platform to perform twelfth processing on the tenth signal to obtain the second data packet.

4. The device according to any one of claims 1 to 3, characterized in that, The second process or the fifth process further includes one or more of the following: De-resource mapping, de-layer mapping, demodulation, descrambling, demultiplexing of data and control information, deconcatenation of decoded blocks, de-rate matching, de-channel coding, and de-cyclic redundancy check (CRC).

5. The device according to any one of claims 1 to 3, characterized in that, The third process also includes partial physical PHY layer processing, and / or the fourth process also includes partial PHY layer processing, and / or the sixth process also includes partial PHY layer processing.

6. The device according to any one of claims 1 to 3, characterized in that, The coprocessor is a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a data processing unit (DPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA).

7. The device according to claim 1, characterized in that, The first signal, the second signal, the third signal, the fourth signal, and the fifth signal are signals of a first communication standard; a first container is deployed on the general-purpose processing platform, the first container including a protocol stack of the first communication standard, the first container being used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing; the general-purpose processing platform performs a third processing on the third signal to obtain a first data packet, including: the first container calling the resources of the general-purpose processing platform to perform a third processing on the third signal to obtain a first data packet; or, the general-purpose processing platform performs a sixth processing on the fifth signal to obtain a first data packet, including: the first container calling the resources of the general-purpose processing platform to perform a sixth processing on the fifth signal to obtain a first data packet; in: The general processing platform is also used to obtain the communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard, wherein the version of the third communication standard is higher than the version of the first communication standard. The general-purpose processing platform is also used to stop running the first container, and run the third container on the general-purpose processing platform according to the image file of the protocol stack of the third communication standard, and update the communication parameters of the first radio frequency module to the communication parameters of the third communication standard. The third container includes the protocol stack of the third communication standard, and the third container is used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing.

8. The device according to claim 1, characterized in that, The first signal, the second signal, the third signal, the fourth signal, and the fifth signal are signals of the first communication standard; The general processing platform is also used to obtain the communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard, wherein the version of the third communication standard is higher than the version of the first communication standard. The general-purpose processing platform is further configured to update the communication parameters of the first radio frequency module to the communication parameters of the third communication standard, run the installation package of the protocol stack of the third communication standard, install the protocol stack of the third communication standard on the general-purpose processing platform, run the protocol stack of the third communication standard, and stop running the protocol stack of the first communication standard.

9. The device according to claim 7 or 8, characterized in that, The communication parameters include one or more of the following parameters: the transmit frequency of the radio frequency module, the receive frequency of the radio frequency module, the sampling rate of the radio frequency module, the transmission bandwidth of the radio frequency module, the transmit gain parameter of the radio frequency module, or the receive gain parameter of the radio frequency module.

10. A data processing method, characterized in that, The invention relates to a data processing device, comprising a general-purpose processing platform, a coprocessor, a first radio frequency module, and a first antenna. The general-purpose processing platform is connected to the coprocessor via a wired connection, and the general-purpose processing platform is connected to the first radio frequency module via a wired connection. The first radio frequency module is connected to the first antenna. The coprocessor is a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a data processing unit (DPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA). The general-purpose processing platform is an x86 general-purpose server, an embedded system development board, an advanced reduced instruction set processor (ARM), or an application processor (AP). The method includes: Receive the first signal through the first antenna; The first signal is processed by the first radio frequency module to obtain the second signal. The first processing includes down-conversion, sampling and analog-to-digital conversion. The method further includes: The second signal is transmitted to the coprocessor; the coprocessor performs a second processing on the second signal to obtain a third signal, and transmits the third signal to the general processing platform, the second processing including decoding; the general processing platform performs a third processing on the third signal to obtain a first data packet, and transmits the first data packet to the application service, the third processing including: Media Access Control (MAC) layer, Radio Link Control (RLC) layer, and Packet Data Convergence Protocol (PDCP) layer processing, the application service being an application program or system service in the operating system; Alternatively, the second signal is transmitted to the general processing platform; the general processing platform performs a fourth processing on the second signal to obtain a fourth signal, and transmits the fourth signal to the coprocessor, the fourth processing including time-frequency conversion; the coprocessor performs a fifth processing on the fourth signal to obtain a fifth signal, and transmits the fifth signal to the general processing platform, the fifth processing including decoding; the general processing platform performs a sixth processing on the fifth signal to obtain a first data packet, and transmits the first data packet to the application service, the sixth processing including MAC layer, RLC layer, and PDCP layer processing.

11. The method according to claim 10, characterized in that, The first signal, the second signal, the third signal, the fourth signal, and the fifth signal are signals of a first communication standard; the data processing device further includes a second radio frequency module and a second antenna; the general processing platform and the second radio frequency module are connected by a wire, and the second radio frequency module is connected to the second antenna; The sixth signal is received via the second antenna; The sixth signal is processed by the second radio frequency module to obtain a seventh signal. The seventh processing includes down-conversion, sampling and digital-to-analog conversion. The method further includes: The seventh signal is transmitted to the coprocessor; the coprocessor performs an eighth processing on the seventh signal to obtain an eighth signal, and transmits the eighth signal to the general processing platform, the eighth processing including decoding; the general processing platform performs a ninth processing on the eighth signal to obtain a second data packet, and transmits the second data packet to the application service, the ninth processing including MAC layer, RLC layer, and PDCP layer processing; Alternatively, the seventh signal can be transmitted to the general processing platform; the general processing platform can perform a tenth processing on the seventh signal to obtain a ninth signal, and transmit the ninth signal to the coprocessor, wherein the tenth processing includes time-frequency conversion; the coprocessor can perform an eleventh processing on the ninth signal to obtain a tenth signal, and transmit the tenth signal to the general processing platform, wherein the eleventh processing includes decoding; the general processing platform can perform a twelfth processing on the tenth signal to obtain a second data packet, and transmit the second data packet to the application service, wherein the twelfth processing includes MAC layer, RLC layer, and PDCP layer processing; Among them, the sixth signal, the seventh signal, the eighth signal, the ninth signal, and the tenth signal are signals of the second communication standard.

12. The method according to claim 11, characterized in that, The general-purpose processing platform is equipped with a first container and a second container. The first container includes a protocol stack for the first communication standard, and the second container includes a protocol stack for the second communication standard. The first container and the second container are used to access the computing resources of the general-purpose processing platform and the coprocessor for data processing, wherein: The third signal is processed by a general processing platform to obtain a first data packet, including: The first data packet is obtained by calling the resources of the general processing platform through the first container to perform third processing on the third signal; The eighth signal is processed by a general processing platform to obtain a second data packet, including: The second container calls upon the resources of the general processing platform to perform a ninth process on the eighth signal to obtain a second data packet; or, The fifth signal is processed by a general processing platform to obtain a first data packet, including: The first data packet is obtained by using the resources of the general processing platform called by the first container to perform a sixth process on the fifth signal; The twelfth signal is processed by a general processing platform to obtain a second data packet, including: The second container invokes the resources of the general processing platform to perform twelfth processing on the tenth signal to obtain the second data packet.

13. The method according to any one of claims 10 to 12, characterized in that, The second process or the fifth process further includes one or more of the following: De-resource mapping, de-layer mapping, demodulation, descrambling, demultiplexing of data and control information, deconcatenation of decoded blocks, de-rate matching, de-channel coding, and de-cyclic redundancy check (CRC).

14. The method according to any one of claims 10 to 12, characterized in that, The third process also includes partial physical PHY layer processing, and / or the fourth process also includes partial PHY layer processing, and / or the sixth process also includes partial PHY layer processing.

15. The method according to any one of claims 10 to 12, characterized in that, The coprocessor is a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a data processing unit (DPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA).

16. The method according to claim 10, characterized in that, The first signal, the second signal, the third signal, the fourth signal, and the fifth signal are signals of a first communication standard; a first container is deployed on the general-purpose processing platform, the first container including a protocol stack of the first communication standard, the first container being used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing; the third signal is processed by the general-purpose processing platform to obtain a first data packet by performing a third processing on the third signal, including: calling the resources of the general-purpose processing platform through the first container to perform a third processing on the third signal to obtain a first data packet; or, the fifth signal is processed by the general-purpose processing platform to obtain a first data packet by performing a sixth processing on the fifth signal, including: calling the resources of the general-purpose processing platform through the first container to perform a sixth processing on the fifth signal to obtain a first data packet; The method further includes: The communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard are obtained through the general processing platform. The version of the third communication standard is higher than the version of the first communication standard. The first container is stopped from running on the general processing platform, and the third container is run on the general processing platform according to the image file of the protocol stack of the third communication standard. The communication parameters of the first radio frequency module are updated to the communication parameters of the third communication standard. The third container includes the protocol stack of the third communication standard. The third container is used to call the computing resources of the general processing platform and the coprocessor for data processing.

17. The method according to claim 10, characterized in that, The first signal, the second signal, the third signal, the fourth signal, and the fifth signal are signals of a first communication standard; the method further includes: The communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard are obtained through the general processing platform. The version of the third communication standard is higher than the version of the first communication standard. The general processing platform updates the communication parameters of the first radio frequency module to the communication parameters of the third communication standard, runs the installation package of the protocol stack of the third communication standard, installs the protocol stack of the third communication standard on the general processing platform, runs the protocol stack of the third communication standard, and stops running the protocol stack of the first communication standard.

18. The method according to claim 16 or 17, characterized in that, The communication parameters include one or more of the following parameters: the transmit frequency of the radio frequency module, the receive frequency of the radio frequency module, the sampling rate of the radio frequency module, the transmission bandwidth of the radio frequency module, the transmit gain parameter of the radio frequency module, or the receive gain parameter of the radio frequency module.

19. A data processing device, characterized in that, The data processing device includes a general-purpose processing platform, a coprocessor, a first radio frequency module, and a first antenna; the general-purpose processing platform is connected to the coprocessor via a wire, the general-purpose processing platform and the first radio frequency module are connected via a wire, and the first radio frequency module is connected to the first antenna; the coprocessor is a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a data processing unit (DPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA); the general-purpose processing platform is an x86 general-purpose server, an embedded system development board, an advanced reduced instruction set processor (ARM), or an application processor (AP). The general processing platform is used to perform a first processing on the first data packet to obtain a first signal, and to transmit the first signal to the coprocessor. The first processing includes processing of the Packet Data Convergence Protocol (PDCP) layer, the Radio Link Control (RLC) layer, and the Media Access Control (MAC) layer. The coprocessor is used to perform a second processing on the first signal to obtain a second signal, and to transmit the second signal to the first radio frequency module or to transmit the second signal to the first radio frequency module through the general processing platform. The second processing includes encoding processing. The first radio frequency module is used to perform a third processing on the second signal to obtain a third signal, and to transmit the third signal to the first antenna. The third processing includes up-conversion and digital-to-analog conversion processing. The first antenna is used to transmit the third signal.

20. The device according to claim 19, characterized in that, The first signal, the second signal, and the third signal are signals of a first communication standard; the data processing device further includes a second radio frequency module and a second antenna; the general processing platform and the second radio frequency module are connected by a wire, and the second radio frequency module is connected to the second antenna; The general processing platform is also used to perform a fourth processing on the second data packet to obtain a fourth signal, and to transmit the fourth signal to the coprocessor. The fourth processing includes PDCP layer, RLC layer, and MAC layer processing. The coprocessor is further configured to perform a fifth processing on the fourth signal to obtain a fifth signal, and transmit the fifth signal to the second radio frequency module or transmit the fifth signal to the second radio frequency module through the general processing platform, wherein the fifth processing includes encoding processing; The second radio frequency module is further configured to perform a sixth processing on the fifth signal to obtain a sixth signal, and transmit the sixth signal to the second antenna. The sixth processing includes up-conversion and digital-to-analog conversion processing. The second antenna is also used to transmit the sixth signal; Among them, the fourth signal, the fifth signal, and the sixth signal are signals of the second communication standard.

21. The device according to claim 20, characterized in that, The general-purpose processing platform is equipped with a first container and a second container. The first container includes a protocol stack for the first communication standard, and the second container includes a protocol stack for the second communication standard. The first container and the second container are used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing. The general processing platform performs a first processing on the first data packet, including: The first container invokes the resources of the general processing platform to perform first processing on the first data packet; The general processing platform performs a fourth processing step on the second data packet, including: The second container invokes the resources of the general processing platform to perform a fourth processing on the second data packet.

22. The device according to any one of claims 19 to 21, characterized in that, The second process also includes one or more of the following: Cyclic Redundancy Check (CRC) addition, code block segmentation, channel coding, rate matching, code block concatenation, data and control information multiplexing, scrambling, modulation, layer mapping, and resource mapping.

23. The device according to any one of claims 19 to 21, characterized in that, The first process also includes partial physical PHY layer processing.

24. The device according to any one of claims 19 to 21, characterized in that, The coprocessor is a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a data processing unit (DPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA).

25. The device according to claim 19, characterized in that, The first signal, the second signal, and the third signal are signals of a first communication standard; a first container is deployed on the general-purpose processing platform, the first container including a protocol stack of the first communication standard, the first container being used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing; the general-purpose processing platform performs a first processing on the first data packet, including: The first container invokes the resources of the general processing platform to perform first processing on the first data packet; in: The general processing platform is also used to obtain the communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard, wherein the version of the third communication standard is higher than the version of the first communication standard. The general-purpose processing platform is also used to stop running the first container, and run the third container on the general-purpose processing platform according to the image file of the protocol stack of the third communication standard, and update the communication parameters of the first radio frequency module to the communication parameters of the third communication standard. The third container includes the protocol stack of the third communication standard, and the third container is used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing.

26. The device according to claim 19, characterized in that, The first signal, the second signal, and the third signal are signals of the first communication standard; The general processing platform is also used to obtain the communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard, wherein the version of the third communication standard is higher than the version of the first communication standard. The general-purpose processing platform is further configured to update the communication parameters of the first radio frequency module to the communication parameters of the third communication standard, run the installation package of the protocol stack of the third communication standard, install the protocol stack of the third communication standard on the general-purpose processing platform, run the protocol stack of the third communication standard, and stop running the protocol stack of the first communication standard.

27. The device according to claim 25 or 26, characterized in that, The communication parameters include one or more of the following parameters: the transmit frequency of the radio frequency module, the receive frequency of the radio frequency module, the sampling rate of the radio frequency module, the transmission bandwidth of the radio frequency module, the transmit gain parameter of the radio frequency module, or the receive gain parameter of the radio frequency module.

28. A data processing method, characterized in that, The invention relates to a data processing device, comprising a general-purpose processing platform, a coprocessor, a first radio frequency module, and a first antenna. The general-purpose processing platform is connected to the coprocessor via a wired connection, and the general-purpose processing platform is connected to the first radio frequency module via a wired connection. The first radio frequency module is connected to the first antenna. The coprocessor is a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a data processing unit (DPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA). The general-purpose processing platform is an x86 general-purpose server, an embedded system development board, an advanced reduced instruction set processor (ARM), or an application processor (AP). The method includes: The first data packet is processed by the general processing platform to obtain a first signal, and the first signal is transmitted to the coprocessor. The first processing includes Packet Data Convergence Protocol (PDCP) layer, Radio Link Control (RLC) layer, and Media Access Control (MAC) layer processing. The coprocessor performs a second processing on the first signal to obtain a second signal, and transmits the second signal to the first radio frequency module or transmits the second signal to the first radio frequency module through the general processing platform. The second processing includes encoding processing. The second signal is processed by the first radio frequency module to obtain a third signal, and the third signal is transmitted to the first antenna. The third processing includes up-conversion and digital-to-analog conversion. The third signal is transmitted through the first antenna.

29. The method according to claim 28, characterized in that, The first signal, the second signal, and the third signal are signals of a first communication standard; the data processing device further includes a second radio frequency module and a second antenna; the general processing platform and the second radio frequency module are connected via a wire, and the second radio frequency module is connected to the second antenna; the method further includes: The second data packet is processed by the general processing platform to obtain a fourth signal, and the fourth signal is transmitted to the coprocessor. The fourth processing includes PDCP layer, RLC layer and MAC layer processing. The coprocessor performs a fifth processing on the fourth signal to obtain a fifth signal, and transmits the fifth signal to the second radio frequency module or transmits the fifth signal to the second radio frequency module through the general processing platform. The fifth processing includes encoding processing. The fifth signal is processed by the second radio frequency module to obtain a sixth signal, and the sixth signal is transmitted to the second antenna. The sixth processing includes up-conversion and digital-to-analog conversion. The sixth signal is transmitted via the second antenna; Among them, the fourth signal, the fifth signal, and the sixth signal are signals of the second communication standard.

30. The method according to claim 29, characterized in that, The general-purpose processing platform is equipped with a first container and a second container. The first container includes a protocol stack for the first communication standard, and the second container includes a protocol stack for the second communication standard. The first container and the second container are used to call the computing resources of the general-purpose processing platform and the coprocessor for data processing. The first data packet is processed by a general processing platform, including: The first data packet is processed by calling the resources of the general processing platform through the first container. The second data packet undergoes a fourth processing step using a general processing platform, including: The second container invokes the resources of the general processing platform to perform a fourth processing on the second data packet.

31. The method according to any one of claims 28 to 30, characterized in that, The second process also includes one or more of the following: Cyclic Redundancy Check (CRC) addition, code block segmentation, channel coding, rate matching, code block concatenation, data and control information multiplexing, scrambling, modulation, layer mapping, and resource mapping.

32. The method according to any one of claims 28 to 30, characterized in that, The first process also includes partial physical PHY layer processing.

33. The method according to any one of claims 28 to 30, characterized in that, The coprocessor is a graphics processing unit (GPU), an embedded neural network processing unit (NPU), a data processing unit (DPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA).

34. The method according to claim 28, characterized in that, The first signal, the second signal, and the third signal are signals of a first communication standard; the first container is deployed on the general processing platform, the first container includes a protocol stack of the first communication standard, and the first container is used to call the computing resources of the general processing platform and the coprocessor for data processing; The first data packet is processed by a general processing platform, including: The first data packet is processed by calling the resources of the general processing platform through the first container. The method further includes: The communication parameters of the third communication standard and the image file of the protocol stack of the third communication standard are obtained through the general processing platform. The version of the third communication standard is higher than the version of the first communication standard. The first container is stopped from running on the general processing platform, and the third container is run on the general processing platform according to the image file of the protocol stack of the third communication standard. The communication parameters of the first radio frequency module are updated to the communication parameters of the third communication standard. The third container includes the protocol stack of the third communication standard. The third container is used to call the computing resources of the general processing platform and the coprocessor for data processing.

35. The method according to claim 28, characterized in that, The first signal, the second signal, and the third signal are signals of a first communication standard; the method further includes: The communication parameters of the third communication standard and the installation package of the protocol stack of the third communication standard are obtained through the general processing platform. The version of the third communication standard is higher than the version of the first communication standard. The general processing platform updates the communication parameters of the first radio frequency module to the communication parameters of the third communication standard, runs the installation package of the protocol stack of the third communication standard, installs the protocol stack of the third communication standard on the general processing platform, runs the protocol stack of the third communication standard, and stops running the protocol stack of the first communication standard.

36. The method according to claim 34 or 35, characterized in that, The communication parameters include one or more of the following parameters: the transmit frequency of the radio frequency module, the receive frequency of the radio frequency module, the sampling rate of the radio frequency module, the transmission bandwidth of the radio frequency module, the transmit gain parameter of the radio frequency module, or the receive gain parameter of the radio frequency module.

37. A computer-readable storage medium, characterized in that, Includes computer instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 10-18, or cause the computer to perform the method as described in any one of claims 28-36.

38. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 10-18, or causes the computer to perform the method as described in any one of claims 28-36.

Citation Information

Patent Citations

  • Multi-dimensional segmentation method and apparatus for 5g-oriented protocol stack, and terminal

    US20200092942A1

  • Communication terminal and communication method therefor, and storage medium

    WO2019085912A1