Data transmission method and device, electronic equipment, chip and medium

By obtaining the target address of the target storage area in the application processor + modem architecture and determining the data description sequence, the high bandwidth and high power consumption problems caused by multiple memory read and write operations are solved, and more efficient data transmission is achieved.

CN120371750APending Publication Date: 2025-07-25BEIJING X RING TECHNOLOGY CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510241494.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-28
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

Under the application processor + modem architecture, there are multiple memory read and write operations in the data transmission from the modem to the application processor, resulting in high memory bandwidth requirements and increased power consumption.

Method used

By obtaining the target address of the target storage area of the application processor, the target data is stored in the target storage area using the interface between the modem and the application processor, and the data description sequence is determined to indicate the processing order of the target data, avoiding reading and writing operations on the modem's memory.

Benefits of technology

Reduces bandwidth requirements for modem memory and reduces power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120371750A_ABST
    Figure CN120371750A_ABST
Patent Text Reader

Abstract

The invention relates to a data transmission method and device, electronic equipment, a chip and a medium, and the method comprises the steps: obtaining a target address of a target storage region in a first memory corresponding to an application processor; according to the target address, storing at least one piece of target data acquired by the modem into a target storage area through an interface between the modem and the application processor; determining a data description sequence according to each piece of target data in the target storage area; the data description sequence comprises data description of each piece of target data; storing the data description sequence into a target storage area; the data description sequence is used for indicating a processing sequence of at least one piece of target data; according to the method and the device, read-write operation processing on the second memory corresponding to the modem is avoided, the bandwidth requirement on the second memory is reduced, and the power consumption is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technologies, and in particular, to a data transmission method, apparatus, electronic device, chip, and medium. Background Art

[0002] Currently, in the architecture of an application processor + modem, the data transmission strategy from the modem to the application processor can be that the modem stores the data in the obtained data packet into the memory corresponding to the modem, and after sorting the data descriptions of the data, submits them to the application processor; the application processor reads the data from the memory corresponding to the modem according to the data descriptions and stores the read data in the memory corresponding to the application processor.

[0003] In the above solution, there are multiple read and write operations on the memory, which requires a high bandwidth for the memory and increases power consumption. Summary of the Invention

[0004] The present disclosure provides a data transmission method, apparatus, electronic device, chip, and medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a data transmission method is provided. The method includes: obtaining a target address of a target storage area in a first memory corresponding to an application processor; the target storage area is a storage area in the first memory for storing target data; according to the target address, storing at least one piece of the target data obtained by the modem into the target storage area through an interface between the modem and the application processor; determining a data description sequence according to each piece of the target data in the target storage area; the data description sequence includes data descriptions of each piece of the target data; storing the data description sequence into the target storage area; the data description sequence is used to indicate the processing order of at least one piece of the target data.

[0006] In an embodiment of the present disclosure, the obtaining a target address of a target storage area in a first memory corresponding to an application processor includes: using the direct memory access capability to obtain at least one candidate storage area description in a modem processing unit in the application processor; selecting a target storage area description from the at least one candidate storage area description according to at least one piece of the target data obtained by the modem; determining the storage area address in the target storage area description as the target address.

[0007] In one embodiment of the present disclosure, the number of the target addresses is multiple; there is a corresponding relationship between the target addresses and at least one of the target data; the storing, according to the target addresses, at least one of the target data obtained by the modem into the target storage area through an interface between the modem and the application processor includes: for each target address, determining the target data corresponding to the target address; and storing the target data into the target storage area corresponding to the target address through the interface between the modem and the application processor according to the target address.

[0008] In one embodiment of the present disclosure, the determining a data description sequence according to each of the target data in the target storage area includes: determining data descriptions of each of the target data in the target storage area; transmitting each of the data descriptions to a reordering processing unit in the modem; receiving the data description sequence returned by the reordering processing unit; the arrangement order of each of the data descriptions in the data description sequence is determined in combination with the data packet sequence number in the data description.

[0009] In one embodiment of the present disclosure, the data description of the target data includes at least one of the following parameters: a storage area description of a target storage area where the target data is located, a storage address of the target data in the target storage area, a length of the target data, a data packet sequence number of the target data, and a resource block identifier of the target data.

[0010] In one embodiment of the present disclosure, the method further includes: configuring control logic for a direct memory access mechanism; and controlling the direct memory access mechanism in combination with the control logic to adopt the direct memory access capability of the direct memory access mechanism to access a first memory corresponding to the application processor through an interface between the modem and the application processor.

[0011] According to a second aspect of the embodiments of the present disclosure, there is also provided a data transmission method, the method including: applying for at least one candidate storage area from a first memory corresponding to an application processor, and determining a candidate storage area description of at least one of the candidate storage areas; receiving at least one target data and a target address of a target storage area transmitted by an application processing unit in a modem; the target storage area being a storage area described by a target storage area description in at least one of the candidate storage area descriptions; storing each of the target data into the target storage area; receiving a data description sequence transmitted by the application processing unit; the data description sequence being used to indicate a processing order of at least one of the target data; the data description sequence including data descriptions of each of the target data.

[0012] In one embodiment of the present disclosure, the method further includes: when receiving a region description access request sent by the application processing unit using the direct memory access capability, providing at least one of the candidate storage region descriptions to the application processing unit for target storage region description selection processing.

[0013] According to a third aspect of the embodiments of the present disclosure, there is also provided a data transmission device, including: an acquisition module, configured to acquire a target address of a target storage region in a first memory corresponding to an application processor; the target storage region is a storage region in the first memory for storing target data; a first storage module, configured to store at least one of the target data acquired by the modem into the target storage region through an interface between the modem and the application processor according to the target address; a determination module, configured to determine a data description sequence according to each of the target data in the target storage region; the data description sequence includes data descriptions of each of the target data; a second storage module, configured to store the data description sequence into the target storage region; the data description sequence is used to indicate the processing order of at least one of the target data.

[0014] In one embodiment of the present disclosure, the acquisition module is specifically configured to, using the direct memory access capability, acquire at least one candidate storage region description in a modem processing unit in the application processor; select a target storage region description from the at least one candidate storage region description according to at least one of the target data acquired by the modem; and determine the storage region address in the target storage region description as the target address.

[0015] In one embodiment of the present disclosure, the number of the target addresses is multiple; there is a corresponding relationship between the target addresses and at least one of the target data; the first storage module is specifically configured to, for each target address, determine the target data corresponding to the target address; and store the target data into the target storage region corresponding to the target address through an interface between the modem and the application processor according to the target address.

[0016] In one embodiment of the present disclosure, the determination module is specifically configured to determine data descriptions of each of the target data in the target storage region; transmit each of the data descriptions to a reordering processing unit in the modem; and receive the data description sequence returned by the reordering processing unit; the arrangement order of the data descriptions in the data description sequence is determined in combination with the data packet sequence numbers in the data descriptions.

[0017] In one embodiment of the present disclosure, the data description of the target data includes at least one of the following parameters: a storage area description of a target storage area where the target data is located, a storage address of the target data in the target storage area, a length of the target data, a data packet sequence number of the target data, and a resource block identifier of the target data.

[0018] In one embodiment of the present disclosure, the device further includes: a configuration module and a control module; the configuration module is configured to configure control logic for a direct memory access mechanism; the control module is configured to perform control processing on the direct memory access mechanism in combination with the control logic, so as to access a first memory corresponding to the application processor through an interface between the modem and the application processor by using the direct memory access capability of the direct memory access mechanism.

[0019] According to a fourth aspect of the embodiments of the present disclosure, there is also provided a data transmission device, where the device includes: a determination module, configured to apply for at least one candidate storage area from a first memory corresponding to an application processor, and determine candidate storage area descriptions of at least one of the candidate storage areas; a first receiving module, configured to receive at least one target data and a target address of a target storage area transmitted by an application processing unit in a modem; the target storage area is a storage area described by a target storage area description in at least one of the candidate storage area descriptions; a storage module, configured to store each of the target data in the target storage area; a second receiving module, configured to receive a data description sequence transmitted by the application processing unit; the data description sequence is used to indicate a processing order of at least one of the target data; the data description sequence includes data descriptions of each of the target data.

[0020] In one embodiment of the present disclosure, the device further includes: a providing module, configured to provide at least one of the candidate storage area descriptions to the application processing unit for target storage area description selection processing when receiving a region description access request sent by the application processing unit by using the direct memory access capability.

[0021] According to a fifth aspect of the embodiments of the present disclosure, there is also provided a modem, including: an application processing unit and a first interface portion; the first interface portion is used to connect to a second interface portion in an application processor, and the combination of the first interface portion and the second interface portion forms an interface between the modem and the application processor; the application processing unit is connected to the first interface portion; the application processing unit is configured to obtain a target address of a target storage area through the first interface portion, and store at least one target data obtained by the modem into the target storage area; determine a data description sequence according to each of the target data in the target storage area; the data description sequence includes data descriptions of each of the target data; store the data description sequence into the target storage area through the first interface portion; the data description sequence is used to indicate the processing order of at least one of the target data.

[0022] According to a sixth aspect of the embodiments of the present disclosure, there is also provided an application processor, including: a modem processing unit and a second interface portion; the second interface portion is used to connect to a first interface portion in a modem, and the combination of the first interface portion and the second interface portion forms an interface between the modem and the application processor; the modem processing unit is connected to the second interface portion; the modem processing unit is configured to apply for at least one candidate storage area, and determine candidate storage area descriptions of at least one of the candidate storage areas; receive at least one target data and a target address of a target storage area through the second interface portion; the target storage area is a storage area described by a target storage area description in at least one of the candidate storage area descriptions; store each of the target data into the target storage area; receive a data description sequence through the second interface portion; the data description sequence is used to indicate the processing order of at least one of the target data; the data description sequence includes data descriptions of each of the target data.

[0023] According to a seventh aspect of the embodiments of the present disclosure, there is also provided a data transmission system, including: the modem as described in the fifth aspect and the application processor as described in the sixth aspect.

[0024] According to an eighth aspect of the embodiments of the present disclosure, there is also provided an electronic device, including: a processor; a memory for storing executable instructions of the processor; wherein, the processor is configured to: implement the steps of the data transmission method as described above.

[0025] According to a ninth aspect of the embodiments of the present disclosure, there is also provided a non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor, enabling the processor to execute the data transmission method as described above.

[0026] According to a tenth aspect of the embodiments of the present disclosure, there is also provided a chip, including a modem as described in the fifth aspect and an application processor as described in the sixth aspect.

[0027] The technical solutions provided by the embodiments of the present disclosure at least bring the following beneficial effects:

[0028] By obtaining a target address of a target storage area in a first memory corresponding to an application processor; the target storage area is a storage area in the first memory for storing target data; according to the target address, storing at least one target data obtained by the modem into the target storage area through an interface between the modem and the application processor; determining a data description sequence according to each target data in the target storage area; the data description sequence includes data descriptions of each target data; storing the data description sequence into the target storage area; the data description sequence is used to indicate the processing order of at least one target data; wherein, avoiding read and write operation processing on a second memory corresponding to the modem reduces the bandwidth requirement for the second memory and reduces power consumption.

[0029] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure, and do not constitute an improper limitation to the present disclosure.

[0031] Figure 1 It is a flowchart of a data transmission method according to an embodiment of the present disclosure;

[0032] Figure 2 It is a flowchart of a data transmission method according to another embodiment of the present disclosure;

[0033] Figure 3 It is a flowchart of a data transmission method according to another embodiment of the present disclosure;

[0034] Figure 4 It is a schematic diagram of data transmission;

[0035] Figure 5 It is a schematic structural diagram of a data transmission device according to an embodiment of the present disclosure;

[0036] Figure 6 It is a schematic structural diagram of a data transmission device according to another embodiment of the present disclosure;

[0037] Figure 7 It is a structural block diagram of an electronic device shown according to an exemplary embodiment of the present disclosure. Detailed implementation manners

[0038] In order to enable those of ordinary skill in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0039] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments of the present disclosure described herein can be implemented in an order different from those illustrated or described herein. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0040] Currently, in the architecture of an application processor + a modem, the data transmission strategy from the modem to the application processor can be that the modem stores the data in the obtained data packet into the memory corresponding to the modem, and after sorting the data descriptions of the data, submits them to the application processor; the application processor reads the data from the memory corresponding to the modem according to the data description and stores the read data into the memory corresponding to the application processor.

[0041] In the above solution, there are multiple read and write operations on the memory, which requires a high bandwidth for the memory and increases the power consumption.

[0042] Figure 1 It is a flowchart of the data transmission method according to an embodiment of the present disclosure. Among them, it should be noted that the data transmission method of this embodiment can be applied to a data transmission device, and this device can be configured in an electronic device or a chip so that the electronic device or the chip can perform the data transmission function.

[0043] Among them, the electronic device can be any device with computing capabilities, such as a personal computer (PC for short), a mobile terminal, a terminal device, a server, etc. The mobile terminal can be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, etc., which are hardware devices with various operating systems, touch screens, and / or display screens.

[0044] In addition, the data transmission device can also be software in an electronic device, such as data transmission software. In addition, the data transmission device can also be an application processor or a modem in an electronic device. In the following embodiments, the example of the application processing unit in the modem is used as the execution subject for illustration. Among them, the application processing unit can be a hardware accelerator.

[0045] As Figure 1 shown, the method includes the following steps:

[0046] Step 101, obtain the target address of the target storage area in the first memory corresponding to the application processor; the target storage area is the storage area in the first memory for storing target data.

[0047] In the embodiments of the present disclosure, the application processor can be the application processor in the application processor + modem architecture. In the above architecture, the Application Processor (AP) is responsible for running the operating system and application programs; performing tasks such as user interface rendering, multimedia processing, and graphics acceleration; and managing most of the system resources unrelated to communication.

[0048] Among them, a modem demodulation processing unit can be provided in the application processor. The modem demodulation processing unit can be a hardware accelerator; or the modem demodulation processing unit can be software.

[0049] Among them, the Modem is responsible for wireless communication, including cellular networks (such as 4G LTE, 5G), Wi-Fi, Bluetooth, etc.; processing communication protocols at the physical layer and link layer to ensure reliable data transmission; and supporting functions such as voice calls and text message sending and receiving.

[0050] In the embodiments of the present disclosure, at least one candidate storage area description can be stored in the modem demodulation processing unit in the application processor. The obtaining method of at least one candidate storage area description stored in the modem demodulation processing unit is that the modem demodulation processing unit applies for a candidate storage area from the first memory corresponding to the application processor; and for each applied candidate storage area, generates a candidate storage area description; and stores the candidate storage area description in the modem demodulation processing unit.

[0051] Among them, the candidate storage area description can include at least one of the following parameters: the address of the candidate storage area, the size of the candidate storage area, etc. Among them, the target storage area can be the storage area corresponding to a candidate storage area description selected by the application processing unit in the modem from at least one candidate storage area description.

[0052] In the embodiments of the present disclosure, it should be noted that, in one example, the application processor and the modem can be located on different chips. For example, the application processor can be disposed on the first chip; the modem can be disposed on the second chip. In this example, the modulation and demodulation processing unit in the application processor can be located on the first chip. The application processing unit in the modem can be located on the second chip.

[0053] In this example, the first memory corresponding to the application processor and the second memory corresponding to the modem can be different memories.

[0054] In another example, the application processor and the modem can be located on the same chip. For example, the application processor can be the first subsystem on the first chip; the modem can be the second subsystem on the first chip. In this example, the modulation and demodulation processing unit and the application processing unit can both be located on the first chip.

[0055] In this example, the first memory corresponding to the application processor and the second memory corresponding to the modem can be different storage areas in the same memory. For example, the first memory corresponding to the application processor can be the first storage area independently used by the application processor; the second memory corresponding to the modem can be the second storage area independently used by the modem; the first storage area and the second storage area are located in the same memory.

[0056] Step 102, according to the target address, store at least one target data obtained by the modem into the target storage area through the interface between the modem and the application processor.

[0057] In the embodiments of the present disclosure, the electronic device where the modem is located can perform data transmission with other electronic devices to obtain the target data in at least one received target data packet. Among them, the modem can store at least one obtained target data in the IP data cache area between the application processing unit and the decryption and integrity check unit (PDCP Decipher&Integrity Check).

[0058] Among them, the target data packet to which the target data belongs can be, for example, a Packet Data Convergence Protocol Service Data Unit (PDCP SDU) data packet. This data packet is a data unit processed by the PDCP layer in a mobile communication system (such as LTE and 5G NR). The PDCP layer is a part of the protocol stack, located above the RLC (Radio Link Control) layer, and is responsible for processing data transmission on the user plane and the control plane.

[0059] In an embodiment of the present disclosure, the process of the application processing unit in the modem for executing step 102 may be, for example, that the application processing unit reads at least one target data from the IP data cache area; and stores the at least one target data into a target storage area in a first memory corresponding to the application processor through an interface between the modem and the application processor.

[0060] Among them, in order to facilitate the application processing unit to access the first memory corresponding to the application processor, the application processing unit may use the direct memory access capability to access the first memory. Correspondingly, before step 102, the application processing unit in the modem may further execute the following process: configure the control logic for the direct memory access mechanism; and control and process the direct memory access mechanism in combination with the control logic, so as to use the direct memory access capability of the direct memory access mechanism to access the first memory corresponding to the application processor through an interface between the modem and the application processor.

[0061] In an embodiment of the present disclosure, the number of target addresses may be multiple; there is a corresponding relationship between the target addresses and at least one target data. The corresponding relationship is, for example, that one target address corresponds to one or more target data, that is to say, the target storage area corresponding to one target address can be used to store one or more target data. Correspondingly, the process of the application processing unit in the modem for executing step 102 may be, for example, for each target address, determine the target data corresponding to the target address; and store the target data into the target storage area corresponding to the target address through an interface between the modem and the application processor according to the target address. Among them, in the case where it is difficult to store all the target data in the target storage area corresponding to one target address, the target data may be stored in the target storage areas corresponding to multiple target addresses to implement the storage processing of all the target data and ensure the success rate of data transmission.

[0062] Step 103, determine a data description sequence according to each target data in the target storage area; the data description sequence includes data descriptions of each target data.

[0063] In an embodiment of the present disclosure, the application processing unit in the modem may sort each data description according to the packet sequence number in the data description to obtain a data description sequence. Among them, the packet sequence number (Sequence Number, SN) is a unique number assigned to each packet to which each data belongs, and is used to identify the order of messages or packets.

[0064] In an embodiment of the present disclosure, the data description of the target data may include various metadata information of the data packet to which the target data belongs, which is used to assist in the transmission, reception, and processing of the data packet, etc. Among them, the data description of the target data may include at least one of the following parameters: the storage area description of the target storage area where the target data is located, the storage address of the target data in the target storage area, the length of the target data, the data packet sequence number of the target data, and the resource block identifier of the target data.

[0065] Step 104, storing the data description sequence in the target storage area; the data description sequence is used to indicate the processing order of at least one target data.

[0066] In an embodiment of the present disclosure, after the application processing unit in the modem stores the data description sequence in the target storage area, it can provide the storage address of the data description sequence to the TCP / IP protocol processing unit in the application processor; the TCP / IP protocol processing unit can read the data description sequence from the target storage area according to this storage address; and read each target data from the target storage area in sequence according to the order of the data descriptions in the data description sequence and perform processing.

[0067] Among them, as an alternative to step 104, the application processing unit in the modem can store the data description sequence in the TCP / IP protocol processing unit; the TCP / IP protocol processing unit can directly read each target data from the target storage area in sequence according to the order of the data descriptions in the data description sequence and perform processing.

[0068] In the data transmission method of the embodiment of the present disclosure, by obtaining the target address of the target storage area in the first memory corresponding to the application processor; the target storage area is the storage area in the first memory for storing target data; according to the target address, at least one target data obtained by the modem is stored in the target storage area through the interface between the modem and the application processor; determining a data description sequence according to each target data in the target storage area; the data description sequence includes the data descriptions of each target data; storing the data description sequence in the target storage area; the data description sequence is used to indicate the processing order of at least one target data; among them, avoiding read and write operation processing on the second memory corresponding to the modem reduces the bandwidth requirement for the second memory and reduces power consumption.

[0069] Figure 2 It is a flowchart of the data transmission method for another embodiment of the present disclosure. It should be noted that the data transmission method of this embodiment can be applied to a data transmission device, and the device can be configured in an electronic device or a chip so that the electronic device or the chip can perform the data transmission function.

[0070] Among them, the electronic device can be any device with computing capabilities, such as a personal computer (PC), a mobile terminal, a terminal device, a server, etc. The mobile terminal can be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, etc., which are hardware devices with various operating systems, touch screens, and / or display screens.

[0071] In addition, the data transmission device can also be software in the electronic device, etc. Among them, the software is, for example, data transmission software, etc. In addition, the data transmission device can also be an application processor or a modem in the electronic device, etc. Among them, in the following embodiments, the example of the application processing unit in the modem is used as the execution subject for illustration.

[0072] As Figure 2 shown, the method includes the following steps:

[0073] Step 201, using the direct memory access capability, obtain at least one candidate storage area description in the modulation and demodulation processing unit of the application processor.

[0074] In the embodiment of the present disclosure, before step 201, the application processing unit in the modem can perform the following process: determine whether control logic is configured for the direct memory access mechanism; if not, configure the control logic for the direct memory access mechanism; combine the control logic to perform control processing on the direct memory access mechanism, so as to use the direct memory access capability of the direct memory access mechanism to access the first memory corresponding to the application processor through the interface between the modem and the application processor.

[0075] In the embodiment of the present disclosure, the candidate storage area description may include at least one of the following parameters: the address of the candidate storage area, the size of the candidate storage area, etc.

[0076] Step 202, according to at least one target data obtained by the modem, select a target storage area description from at least one candidate storage area description.

[0077] In the embodiment of the present disclosure, the process of the application processing unit in the modem executing step 202 may be, for example, determining the storage area size required by at least one target data; determining the area size of each candidate storage area according to each candidate storage area description; and selecting a target storage area description from each candidate storage area description according to the storage area size and the area size of each candidate storage area, so that the total storage area size of the target storage area corresponding to the target storage area description is greater than or equal to the storage area size required by each target data, ensuring that each target data can be stored successfully.

[0078] It should be noted that after step 202, the application processing unit in the modem can perform marking processing on the target storage area description selected from at least one candidate storage area description to mark that the target storage area corresponding to the target storage area description has been allocated. Thus, when the application processing unit in the modem selects a target storage area description subsequently, it can select from the unmarked candidate storage area descriptions.

[0079] Step 203: Determine the storage area address in the target storage area description as the target address of the target storage area; the target storage area is the storage area in the first memory corresponding to the application processor for storing target data.

[0080] Step 204: Store at least one target data obtained by the modem into the target storage area through the interface between the modem and the application processor according to the target address.

[0081] Step 205: Determine a data description sequence according to each target data in the target storage area; the data description sequence includes the data descriptions of each target data.

[0082] In the embodiment of the present disclosure, the process of the application processing unit in the modem executing step 205 can be, for example, determining the data descriptions of each target data in the target storage area; passing each data description to the reordering processing unit in the modem; and receiving the data description sequence returned by the reordering processing unit.

[0083] In one example, the reordering processing unit can sort each data description according to the packet sequence number in the data description to obtain a data description sequence. Among them, the packet sequence number (Sequence Number, SN) is a unique number assigned to each data packet to which each data belongs, and is used to identify the order of messages or data packets.

[0084] In another example, the reordering processing unit can, for the data description, combine the packet sequence number in the data description to determine the COUNT value corresponding to the data described by the data description; sort in ascending order according to the COUNT value to obtain a data description sequence.

[0085] It should be noted that the reordering processing unit can combine the data descriptions of multiple target data with consecutive and increasing COUNT values on a dedicated radio bearer (DRB) into a data description sequence and provide it to the application processing unit in the modem; or, the reordering unit can combine the existing multiple target data in ascending order of COUNT value after timeout and provide it to the application processing unit in the modem.

[0086] Step 206, storing the data description sequence into a target storage area; the data description sequence is used to indicate the processing order of at least one target data.

[0087] It should be noted that for the detailed descriptions of steps 204 to 206, reference can be made to Figure 1 steps 102 to 104 in the illustrated embodiment, and no detailed description will be given here.

[0088] In the data transmission method of the embodiments of the present disclosure, by using the direct memory access capability, at least one candidate storage area description in the modulation and demodulation processing unit in the application processor is obtained; according to at least one target data obtained by the modem, a target storage area description is selected from at least one candidate storage area description; the storage area address in the target storage area description is determined as the target address of the target storage area; the target storage area is the storage area in the first memory corresponding to the application processor for storing the target data; according to the target address, at least one target data obtained by the modem is stored into the target storage area through the interface between the modem and the application processor; a data description sequence is determined according to each target data in the target storage area; the data description sequence includes data descriptions of each target data; the data description sequence is stored into the target storage area; the data description sequence is used to indicate the processing order of at least one target data; wherein, according to at least one target data obtained by the modem, a target storage area description is selected from at least one candidate storage area description, and then the target storage area is determined, which can ensure that the total storage area size of the target storage area corresponding to the target storage area description is greater than or equal to the storage area size required by each target data, and ensure that each target data can be stored successfully.

[0089] Figure 3 It is a flowchart of the data transmission method of another embodiment of the present disclosure. It should be noted that the data transmission method of this embodiment can be applied to a data transmission device, and the device can be configured in an electronic device or a chip so that the electronic device or the chip can perform the data transmission function.

[0090] Among them, the electronic device can be any device with computing ability, such as a personal computer (PC for short), a mobile terminal, a terminal device, a server, etc. The mobile terminal can be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, etc., which are hardware devices with various operating systems, touch screens and / or display screens.

[0091] In addition, the data transmission device may also be software in an electronic device, such as data transmission software. In addition, the data transmission device may also be an application processor or a modem in the electronic device. In the following embodiments, the modulation and demodulation processing unit in the application processor is taken as an example of the execution subject for illustration. The modulation and demodulation processing unit may be a hardware accelerator; or the modulation and demodulation processing unit may be software.

[0092] As Figure 3 shown, the method includes the following steps:

[0093] Step 301: Apply for at least one candidate storage area from the first memory corresponding to the application processor, and determine the candidate storage area description of the at least one candidate storage area.

[0094] In the embodiments of the present disclosure, the application processor may be the application processor in the application processor + modem architecture. In the above architecture, the application processor (AP) is responsible for running the operating system and application programs, performing tasks such as user interface rendering, multimedia processing, and graphics acceleration, and managing most of the system resources not related to communication.

[0095] Among them, the modem is responsible for wireless communication, including cellular networks (such as 4G LTE, 5G), Wi-Fi, Bluetooth, etc., processing communication protocols at the physical layer and link layer to ensure reliable data transmission, and supporting functions such as voice calls and text message sending and receiving. An application processing unit may be provided in the modem. The application processing unit may be a hardware accelerator.

[0096] Among them, the candidate storage area description may include at least one of the following parameters: the address of the candidate storage area, the size of the candidate storage area, etc. The sizes of the respective candidate storage areas may be the same or different. For example, the modulation and demodulation processing unit in the application processor may apply for candidate storage areas from the first memory according to the specified area size, and the area size of each applied candidate storage area is the specified area size.

[0097] In the embodiments of the present disclosure, the modulation and demodulation processing unit in the application processor may also execute the following process: when receiving a region description access request sent by the application processing unit using the direct memory access capability, provide the at least one candidate storage area description to the application processing unit for target storage area description selection processing.

[0098] Step 302: Receive at least one target data and the target address of the target storage area transmitted by the application processing unit in the modem; the target storage area is the storage area described in the target storage area description among at least one candidate storage area description.

[0099] In the embodiments of the present disclosure, the target data packet to which the target data belongs may be, for example, a Packet Data Convergence Protocol Service Data Unit (PDCP SDU) packet. This packet is a data unit processed by the PDCP layer in a mobile communication system (such as LTE and 5G NR). The PDCP layer is part of the protocol stack, located above the Radio Link Control (RLC) layer, and is responsible for processing data transmission on the user plane and the control plane.

[0100] Among them, the number of target addresses may be multiple; there is a corresponding relationship between the target addresses and at least one target data. Among them, the corresponding relationship is, for example, one target address corresponds to one or more target data, that is to say, the target storage area corresponding to one target address can be used to store one or more target data.

[0101] Step 303: Store each target data into the target storage area.

[0102] Step 304: Receive the data description sequence transmitted by the application processing unit; the data description sequence is used to indicate the processing order of at least one target data; the data description sequence includes the data descriptions of each target data.

[0103] In the embodiments of the present disclosure, the data description of the target data may include various metadata information of the data packet to which the target data belongs, which is used to assist in the transmission, reception, and processing of the data packet, etc. Among them, the data description of the target data may include at least one of the following parameters: the storage area description of the target storage area where the target data is located, the storage address of the target data in the target storage area, the length of the target data, the data packet sequence number of the target data, and the resource block identifier of the target data.

[0104] Among them, in one example, the acquisition method of the data description sequence may be, for example, sorting each data description according to the data packet sequence number in the data description to obtain the data description sequence. Among them, the data packet sequence number (Sequence Number, SN) is a unique number assigned to each data packet to which the data belongs, and is used to identify the order of messages or data packets.

[0105] In another example, the method for obtaining the data description sequence may be, for example, for a data description, combining the data packet sequence number in the data description to determine the COUNT value corresponding to the data described by the data description; sorting in ascending order according to the COUNT value to obtain the data description sequence.

[0106] In an embodiment of the present disclosure, after step 304, the modulation and demodulation processing unit in the application processor may further perform the following process: obtain the storage address of the data description sequence provided by the application processing unit in the modem; provide the storage address of the data description sequence to the TCP / IP protocol processing unit in the application processor; the TCP / IP protocol processing unit may read the data description sequence from the target storage area according to the storage address; and read each target data from the target storage area in the order of the data descriptions in the data description sequence and perform processing.

[0107] In the data transmission method of the embodiment of the present disclosure, by applying for at least one candidate storage area from the first memory corresponding to the application processor, and determining the candidate storage area descriptions of the at least one candidate storage area; receiving at least one target data and the target address of the target storage area transmitted by the application processing unit in the modem; the target storage area is the storage area described by the target storage area description in the at least one candidate storage area description; storing each target data into the target storage area; receiving the data description sequence transmitted by the application processing unit; the data description sequence is used to indicate the processing order of the at least one target data; the data description sequence includes the data descriptions of each target data; wherein, the provision of the candidate storage area descriptions of the at least one candidate storage area enables the application processing unit in the modem to directly store the obtained at least one target data into the first memory corresponding to the application processor, thereby avoiding the read and write operation processing on the second memory corresponding to the modem, reducing the bandwidth requirement for the second memory, and reducing the power consumption.

[0108] The following is an example for illustration. As Figure 4 shown, it is a schematic diagram of data transmission. It may include the following steps.

[0109] Step 401, the PDCP Decipher&Integrity Check unit (the decryption and integrity check unit in the integrated circuit chip in the modem) outputs the output data packet Payload (the payload in the data packet, that is, at least one target data) to the IP Packet Buffer (IP data buffer area).

[0110] Among them, the IP Packet Buffer is located in the PDCP Decipher & Integrity Check unit and the AP IF processing unit (application processing unit), and uses on-chip storage space.

[0111] Step 402: The Modem IF processing unit (modulation and demodulation processing unit) of the AP Die (integrated circuit chip in the application processor) applies for a memory block (candidate storage area) for the packet Payload from the AP DDR (the first memory corresponding to the application processor) in advance, and generates a Descriptor Info (candidate storage area description) for each memory block; the AP IF processing unit of the Modem Die (integrated circuit chip in the modem) reads the Descriptor Info from the Modem IF processing unit of the AP Die through the DMA (direct memory access capability) of the PCIe Controller to obtain the target address where the packet Payload is stored in the AP DDR.

[0112] Step 403: The AP IF processing unit assigns the target address of the AP DDR to the received packet Payload according to the Descriptor Info.

[0113] Step 404: Control the PCIe Controller DMA to write the packet Payload into the AP DDR according to the target address.

[0114] Step 405: The AP IF processing unit generates a descriptor of the packet Payload (carrying information such as the length of the packet Payload, the target address of the AP DDR, the RB ID, the PDCP SN number, and the corresponding Descriptor Info, etc.) and submits it to the PDCP reorder processing unit (reordered processing unit).

[0115] Among them, the target address represents the target address. The RB ID represents the resource block identifier. The PDCP SN number represents the packet sequence number. The descriptor represents the description of the packet Payload. The corresponding Descriptor Info, etc. represents the Descriptor Info of the memory block used to store the packet Payload.

[0116] Step 406: The PDCP reorder processing unit processes PDCP out-of-order packets according to the SN number. The PDCP reorder processing unit will send the descriptors of the data packet Payloads with consecutive and increasing COUNT (calculated based on the SN number) values on each DRB to the AP IF processing unit in order, or after the Reorder timer times out, submit the descriptors of the data packet Payloads that no longer need to wait for reordering to the AP IF processing unit in the order of increasing COUNT (calculated based on the SN number). That is, the data packet Payload descriptor sequence (data description sequence) is provided to the AP IF processing unit.

[0117] Step 407: The AP IF processing accelerator generates corresponding Finish Info (including information such as the AP DDR address, length, and corresponding Descriptor Info of the data packet Payload) according to the received descriptors.

[0118] Among them, Finish Info represents a descriptor with fewer parameters.

[0119] Step 408: The AP IF processing unit writes the Finish Info into the AP DDR through the PCIe Controller DMA and notifies the Modem IF processing unit of the AP Die; after receiving the Finish Info, the Modem IF processing unit of the AP Die delivers the data packet Payload to the TCPIP protocol stack (TCPIP protocol processing unit) of the AP, returns the Descriptor Info, and after the TCPIP protocol stack completes the processing of the data packet Payload, releases its corresponding memory Block.

[0120] Figure 5 This is a schematic structural diagram of a data transmission device according to an embodiment of the present disclosure.

[0121] As Figure 5 shown, the data transmission device may include: an acquisition module 501, a first storage module 502, a determination module 503, and a second storage module 504.

[0122] Among them, an obtaining module 501 is configured to obtain a target address of a target storage area in a first memory corresponding to an application processor; the target storage area is a storage area in the first memory for storing target data; a first storage module 502 is configured to store at least one piece of the target data obtained by the modem into the target storage area through an interface between the modem and the application processor according to the target address; a determining module 503 is configured to determine a data description sequence according to each piece of the target data in the target storage area; the data description sequence includes data descriptions of each piece of the target data; a second storage module 504 is configured to store the data description sequence into the target storage area; the data description sequence is used to indicate a processing order of at least one piece of the target data.

[0123] In an embodiment of the present disclosure, the obtaining module 501 is specifically configured to, by using a direct memory access capability, obtain at least one candidate storage area description in a modem processing unit in the application processor; select a target storage area description from the at least one candidate storage area description according to at least one piece of the target data obtained by the modem; and determine a storage area address in the target storage area description as the target address.

[0124] In an embodiment of the present disclosure, the number of the target addresses is multiple; there is a corresponding relationship between the target addresses and at least one piece of the target data; the first storage module 502 is specifically configured to, for each target address, determine target data corresponding to the target address; and store the target data into a target storage area corresponding to the target address through an interface between the modem and the application processor according to the target address.

[0125] In an embodiment of the present disclosure, the determining module 503 is specifically configured to determine data descriptions of each piece of the target data in the target storage area; transmit each data description to a reordering processing unit in the modem; and receive the data description sequence returned by the reordering processing unit; the arrangement order of each data description in the data description sequence is determined by combining a data packet sequence number in the data description.

[0126] In an embodiment of the present disclosure, the data description of the target data includes at least one of the following parameters: a storage area description of a target storage area where the target data is located, a storage address of the target data in the target storage area, a length of the target data, a data packet sequence number of the target data, and a resource block identifier of the target data.

[0127] In one embodiment of the present disclosure, the apparatus further includes: a configuration module and a control module; the configuration module is configured to configure control logic for a direct memory access mechanism; the control module is configured to perform control processing on the direct memory access mechanism in combination with the control logic, so as to access a first memory corresponding to the application processor through an interface between the modem and the application processor by using the direct memory access capability of the direct memory access mechanism.

[0128] In the data transmission apparatus according to the embodiment of the present disclosure, a target address of a target storage area in a first memory corresponding to an application processor is obtained; the target storage area is a storage area in the first memory for storing target data; according to the target address, at least one target data obtained by the modem is stored in the target storage area through an interface between the modem and the application processor; a data description sequence is determined according to each target data in the target storage area; the data description sequence includes data descriptions of each target data; the data description sequence is stored in the target storage area; the data description sequence is used to indicate the processing order of at least one target data; wherein, read and write operation processing on a second memory corresponding to the modem is avoided, the bandwidth requirement for the second memory is reduced, and the power consumption is reduced.

[0129] Figure 6 It is a schematic structural diagram of a data transmission apparatus according to another embodiment of the present disclosure.

[0130] As Figure 6 shown, the data transmission apparatus may include: a determination module 601, a first receiving module 602, a storage module 603, and a second receiving module 604.

[0131] Among them, the determination module 601 is configured to apply for at least one candidate storage area from a first memory corresponding to the application processor, and determine a candidate storage area description of at least one of the candidate storage areas; the first receiving module 602 is configured to receive at least one target data and a target address of a target storage area transmitted by an application processing unit in the modem; the target storage area is a storage area described by a target storage area description in at least one of the candidate storage area descriptions; the storage module 603 is configured to store each of the target data in the target storage area; the second receiving module 604 is configured to receive a data description sequence transmitted by the application processing unit; the data description sequence is used to indicate the processing order of at least one of the target data; the data description sequence includes data descriptions of each of the target data.

[0132] In one embodiment of the present disclosure, the apparatus further includes: a providing module, configured to provide at least one of the candidate storage area descriptions to the application processing unit for target storage area description selection processing when receiving a region description access request sent by the application processing unit using direct memory access capability.

[0133] In the data transmission apparatus according to the embodiments of the present disclosure, at least one candidate storage area is applied for from a first memory corresponding to an application processor, and candidate storage area descriptions of the at least one candidate storage area are determined; at least one target data and a target address of a target storage area transmitted by an application processing unit in a modem are received; the target storage area is a storage area described by a target storage area description in the at least one candidate storage area description; each target data is stored in the target storage area; a data description sequence transmitted by the application processing unit is received; the data description sequence is used to indicate a processing order of the at least one target data; the data description sequence includes data descriptions of the respective target data; wherein the provision of the candidate storage area descriptions of the at least one candidate storage area enables the application processing unit in the modem to directly store the acquired at least one target data in the first memory corresponding to the application processor, thereby avoiding read and write operation processing on a second memory corresponding to the modem, reducing the bandwidth requirement for the second memory, and reducing power consumption.

[0134] According to a fifth aspect of the embodiments of the present disclosure, a modem is further provided, including: an application processing unit and a first interface portion; the first interface portion is used to connect to a second interface portion in an application processor, and the first interface portion and the second interface portion together form an interface between the modem and the application processor; the application processing unit is connected to the first interface portion; the application processing unit is configured to obtain a target address of a target storage area through the first interface portion, and store at least one target data acquired by the modem in the target storage area; determine a data description sequence according to each of the target data in the target storage area; the data description sequence includes data descriptions of the respective target data; store the data description sequence in the target storage area through the first interface portion; the data description sequence is used to indicate a processing order of at least one of the target data.

[0135] According to a sixth aspect of the embodiments of the present disclosure, there is also provided an application processor, including: a modulation and demodulation processing unit and a second interface part; the second interface part is used to connect to a first interface part in a modem, and the first interface part and the second interface part together form an interface between the modem and the application processor; the modulation and demodulation processing unit is connected to the second interface part; the modulation and demodulation processing unit is configured to apply for at least one candidate storage area, and determine candidate storage area descriptions of at least one of the candidate storage areas; receive at least one target data and a target address of a target storage area through the second interface part; the target storage area is the storage area described by the target storage area description in at least one of the candidate storage area descriptions; store each of the target data in the target storage area; receive a data description sequence through the second interface part; the data description sequence is used to indicate the processing order of at least one of the target data; the data description sequence includes data descriptions of each of the target data.

[0136] According to a seventh aspect of the embodiments of the present disclosure, there is also provided a data transmission system, including: the modem as described in the fifth aspect and the application processor as described in the sixth aspect.

[0137] According to an eighth aspect of the embodiments of the present disclosure, there is also provided an electronic device, including: a processor; a memory for storing processor-executable instructions, wherein the processor is configured to: implement the steps of the data transmission method as described above.

[0138] To implement the above embodiments, the present disclosure also proposes a non-transitory computer-readable storage medium.

[0139] Wherein, when the instructions in the storage medium are executed by the processor, the processor is enabled to execute the data transmission method as described above.

[0140] To implement the above embodiments, the present disclosure also provides a computer program product.

[0141] Wherein, when the computer program product is executed by the processor of the electronic device, the electronic device is enabled to execute the method as described above.

[0142] To implement the above embodiments, the present disclosure also provides a chip, including the modem as described in the fifth aspect and the application processor as described in the sixth aspect. For example, the chip may be an SOC chip integrating a modem and an application processor, or an integrated circuit in which the modem and the application processor exist independently.

[0143] Figure 7 It is a block diagram of the structure of an electronic device shown according to an exemplary embodiment. Figure 7The electronic device shown is merely an example and should not impose any limitations on the functions and usage scope of the embodiments of the present disclosure.

[0144] As Figure 7 shown, the electronic device 1000 includes a processor 111, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 112 or a program loaded from a memory 116 into a random access memory (RAM) 113. In the RAM 113, various programs and data required for the operation of the electronic device 1000 are also stored. The processor 111, the ROM 112, and the RAM 113 are connected to each other via a bus 114. An input / output (I / O) interface 115 is also connected to the bus 114.

[0145] The following components are connected to the I / O interface 115: a memory 116 including a hard disk, etc.; and a communication part 117 including a network interface card such as a local area network (LAN) card, a modem, etc., and the communication part 117 performs communication processing via a network such as the Internet; a drive 118 is also connected to the I / O interface 115 as required.

[0146] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program carried on a computer-readable medium, and the computer program includes program codes for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication part 117. When the computer program is executed by the processor 111, the above functions defined in the method of the present disclosure are executed.

[0147] In an exemplary embodiment, a storage medium including instructions is also provided, such as a memory including instructions, and the above instructions can be executed by the processor 111 of the electronic device 1000 to complete the above method. Optionally, the storage medium can be a non-transitory computer-readable storage medium. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0148] In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination of the foregoing.

[0149] In the present disclosure, the processing of the collection, storage, use, processing, transmission, provision, and disclosure of the user's personal information complies with the provisions of relevant laws and regulations and does not violate public order and good customs.

[0150] In addition, the term "exemplary" is used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as "exemplary" is not necessarily understood to be advantageous compared to other aspects or designs. Instead, the use of the term exemplary is intended to present concepts in a specific manner. As used herein, the term "or" is intended to mean an inclusive "or" rather than an exclusive "or". That is, unless otherwise specified or clear from the context, "X applies A or B" is intended to mean any arrangement in a natural inclusive arrangement. That is, if X applies A; X applies B; or X applies both A and B, then "X applies A or B" is satisfied in any of the foregoing instances. Additionally, unless otherwise specified or clear from the context referring to the singular form, the articles "a" and "an" as used in this application and the appended claims are generally understood to mean "one or more".

[0151] Similarly, although the present disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art upon reading and understanding this specification and the drawings. The present disclosure includes all such modifications and variations and is limited only by the scope of the claims. Specifically with respect to the various functions performed by the components described above (e.g., elements, resources, etc.), unless otherwise indicated, the terms used to describe such components are intended to correspond to any component (functionally equivalent) that performs the specific function of the described component, even if not structurally equivalent to the disclosed structure. Additionally, although a particular feature of the present disclosure may have been disclosed with respect to only one of several implementations, such a feature may, as may be desired and advantageous for any given or particular application, be combined with one or more other features of other implementations. Further, with respect to the use of "comprising," "having," "including," "contains," or variants thereof in the detailed description or claims, such terms are intended to be inclusive in a manner similar to the term "including."

[0152] Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0153] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes may be made without departing from its scope. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A data transmission method, characterized in that, The method includes: Obtaining a target address of a target storage area in a first memory corresponding to an application processor; the target storage area is a storage area in the first memory for storing target data; According to the target address, storing at least one piece of the target data obtained by the modem into the target storage area through an interface between the modem and the application processor; Determining a data description sequence according to each piece of the target data in the target storage area; the data description sequence includes data descriptions of each piece of the target data; Storing the data description sequence into the target storage area; the data description sequence is used to indicate the processing order of at least one piece of the target data.

2. The method according to claim 1, characterized in that, The obtaining a target address of a target storage area in a first memory corresponding to an application processor includes: Using the direct memory access capability to obtain at least one candidate storage area description in a modem processing unit in the application processor; Selecting a target storage area description from the at least one candidate storage area description according to at least one piece of the target data obtained by the modem; Determining the storage area address in the target storage area description as the target address.

3. The method according to claim 1 or 2, characterized in that, The number of the target addresses is multiple; there is a corresponding relationship between the target addresses and at least one piece of the target data; the storing at least one piece of the target data obtained by the modem into the target storage area through an interface between the modem and the application processor according to the target address includes: For each target address, determining the target data corresponding to the target address; According to the target address, storing the target data into the target storage area corresponding to the target address through an interface between the modem and the application processor.

4. The method according to claim 1, wherein The determining a data description sequence according to each piece of the target data in the target storage area includes: Determining data descriptions of each piece of the target data in the target storage area; Transmitting each piece of the data description to a reordering processing unit in the modem; Receiving the data description sequence returned by the reordering processing unit; the arrangement order of each piece of the data description in the data description sequence is determined in combination with the packet sequence number in the data description.

5. The method according to claim 1 or 4, characterized in that, The data description of the target data includes at least one of the following parameters: a storage area description of the target storage area where the target data is located, a storage address of the target data in the target storage area, a length of the target data, a packet sequence number of the target data, a resource block identifier of the target data.

6. The method according to claim 1 or 2, characterized in that, The method further includes: Configuring control logic for a direct memory access mechanism; Controlling and processing the direct memory access mechanism in combination with the control logic, so as to access a first memory corresponding to the application processor through an interface between the modem and the application processor by using the direct memory access capability of the direct memory access mechanism.

7. A data transmission method, characterized in that The method includes: Apply for at least one candidate storage area from the first memory corresponding to the application processor, and determine candidate storage area descriptions for at least one of the candidate storage areas; Receive at least one target data and the target address of the target storage area transmitted by the application processing unit in the modem; the target storage area is the storage area described by the target storage area description in at least one of the candidate storage area descriptions; Store each of the target data in the target storage area; Receive the data description sequence transmitted by the application processing unit; the data description sequence is used to indicate the processing order of at least one of the target data; the data description sequence includes data descriptions of each of the target data.

8. The method according to claim 7, wherein The method further includes: In the case of receiving a region description access request sent by the application processing unit using direct memory access capabilities, provide at least one of the candidate storage area descriptions to the application processing unit for target storage area description selection processing.

9. A data transmission device, characterized in that, The device includes: An acquisition module, configured to acquire the target address of the target storage area in the first memory corresponding to the application processor; the target storage area is the storage area in the first memory for storing target data; A first storage module, configured to store at least one of the target data acquired by the modem in the target storage area through an interface between the modem and the application processor according to the target address; A determination module, configured to determine a data description sequence according to each of the target data in the target storage area; the data description sequence includes data descriptions of each of the target data; A second storage module, configured to store the data description sequence in the target storage area; the data description sequence is used to indicate the processing order of at least one of the target data.

10. A data transmission device, characterized in that, The device includes: A determination module, configured to apply for at least one candidate storage area from the first memory corresponding to the application processor, and determine candidate storage area descriptions for at least one of the candidate storage areas; A first reception module, configured to receive at least one target data and the target address of the target storage area transmitted by the application processing unit in the modem; the target storage area is the storage area described by the target storage area description in at least one of the candidate storage area descriptions; A storage module, configured to store each of the target data in the target storage area; A second reception module, configured to receive the data description sequence transmitted by the application processing unit; the data description sequence is used to indicate the processing order of at least one of the target data; the data description sequence includes data descriptions of each of the target data.

11. A modem, characterized in that, Includes: An application processing unit and a first interface part; The first interface part is used to connect to the second interface part in the application processor, and the first interface part and the second interface part together form the interface between the modem and the application processor; The application processing unit is connected to the first interface part; The application processing unit is configured to obtain the target address of the target storage area through the first interface portion, and store at least one target data obtained by the modem into the target storage area; Determine a data description sequence according to each of the target data in the target storage area; the data description sequence includes data descriptions of each of the target data; store the data description sequence into the target storage area through the first interface portion; the data description sequence is used to indicate the processing order of at least one of the target data.

12. An application processor, characterized in that, Comprising: A modem processing unit and a second interface portion; The second interface portion is used to connect to the first interface portion in the modem, and the combination of the first interface portion and the second interface portion forms the interface between the modem and the application processor; The modem processing unit is connected to the second interface portion; The modem processing unit is configured to apply for at least one candidate storage area, and determine candidate storage area descriptions of at least one of the candidate storage areas; Receive at least one target data and the target address of the target storage area through the second interface portion; The target storage area is the storage area described by the target storage area description in at least one of the candidate storage area descriptions; store each of the target data into the target storage area; Receive a data description sequence through the second interface portion; the data description sequence is used to indicate the processing order of at least one of the target data; the data description sequence includes data descriptions of each of the target data.

13. A data transmission system, characterized in that, Comprising: The modem according to claim 11 and the application processor according to claim 12.

14. An electronic device, characterized in that, Comprising: A processor; A memory for storing instructions executable by the processor; Wherein, the processor is configured to: Implement the steps of the data transmission method according to any one of claims 1 to 6; or, implement the steps of the data transmission method according to any one of claims 7 to 8.

15. A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor, enable the processor to execute the data transmission method according to any one of claims 1 to 6; or, execute the data transmission method according to any one of claims 7 to 8.

16. A chip, characterized in that, Comprising the modem according to claim 11 and the application processor according to claim 12.

Citation Information

Cited By

  • Memory access method and device, electronic equipment and chip

    CN119690647A

  • Data processing method and device

    CN121349738A