CN117641590A - DMA multi-queue based PCIE high-speed network card data transmission method - Google Patents

DMA multi-queue based PCIE high-speed network card data transmission method Download PDF

Info

Publication number
CN117641590A
CN117641590A CN202410107768.2A CN202410107768A CN117641590A CN 117641590 A CN117641590 A CN 117641590A CN 202410107768 A CN202410107768 A CN 202410107768A CN 117641590 A CN117641590 A CN 117641590A
Authority
CN
China
Prior art keywords
terminal
dma
uplink data
resource
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410107768.2A
Other languages
Chinese (zh)
Inventor
林伟建
田洋
罗江君
何伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN MTN ELECTRONIC CO Ltd
Original Assignee
SHENZHEN MTN ELECTRONIC CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN MTN ELECTRONIC CO Ltd filed Critical SHENZHEN MTN ELECTRONIC CO Ltd
Priority to CN202410107768.2A priority Critical patent/CN117641590A/en
Publication of CN117641590A publication Critical patent/CN117641590A/en
Pending legal-status Critical Current

Links

Abstract

The application provides a PCIE high-speed network card data transmission method based on DMA multi-queue, which belongs to the technical field of communication and is used for adjusting a GF resource use strategy in time under the condition that resource collision exists among multiple users, so that the resource collision is reduced and the use experience of the users is improved. The method is applied to a terminal, the terminal is provided with a network module, the terminal establishes connection with an operator network through the network module, the operator network distributes a scheduling-free GF resource set for the terminal, and the method comprises the following steps: in the process that the terminal transmits uplink data on the GF resource set, the terminal acquires the retransmission condition of the transmitted uplink data; the terminal schedules uplink data to be sent on the direct memory access DMA multi-queue according to the retransmission condition of the uplink data; wherein the uplink data to be sent on the DMA multi-queue is to be mapped onto the GF resource set for transmission.

Description

DMA multi-queue based PCIE high-speed network card data transmission method
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission method for a PCIE high-speed network card based on DMA multiple queues
Background
Scheduling free/dynamic Grant (GF) is a resource used for data transmission in mobile communication technology. Its main objective is to reduce the signaling interaction flow and ensure low delay requirements. When the low-delay service carries out uplink data transmission, the uplink data transmission without scheduling needs to be supported, so that the signaling interaction time of 'the user equipment sends a scheduling request' and 'the uplink data transmission resource indication is sent to the user equipment' is saved. In a 5G mobile communication system, the existing technical scheme introduces a GF transmission mechanism, in which transmission resources and transmission parameters of a user are preconfigured or semi-statically configured. GF is used to allow sharing of resources while also increasing the likelihood of resource collisions if the user selects the same resource.
That is, although the GF resource transmission mechanism in the prior art reduces signaling overhead and reduces transmission delay, due to lack of scheduling in user resource selection, there is a resource collision between multiple users, and the number of users transmitting simultaneously on a certain resource exceeds the demodulation capability of the receiver, which may cause a sudden performance drop of the multi-user access network device, and affect the user experience of the users.
Disclosure of Invention
The embodiment of the application provides a PCIE high-speed network card data transmission method based on DMA multi-queue, which is used for adjusting the GF resource use strategy in time under the condition that resource collision exists among multiple users, so that the resource collision is reduced, and the use experience of the users is improved.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, a data transmission method of a PCIE high-speed network card based on DMA multiple queues is provided, the method is applied to a terminal, the terminal is provided with a network module, the terminal establishes connection with an operator network through the network module, and the operator network allocates a scheduling-free GF resource set for the terminal, the method includes: in the process that the terminal transmits uplink data on the GF resource set, the terminal acquires the retransmission condition of the transmitted uplink data; the terminal schedules uplink data to be sent on the direct memory access DMA multi-queue according to the retransmission condition of the uplink data; wherein the uplink data to be sent on the DMA multi-queue is to be mapped onto the GF resource set for transmission.
Optionally, the network module is a PCIE network card of a high-speed serial computer expansion bus standard, and the terminal establishing connection with the operator network through the network module means: the terminal establishes connection of non-third generation partnership project (3 GPP) access with an operator network through a PCIE network card, and specifically refers to: the terminal establishes connection of the wireless local area network WLAN with a non-3 GPP interworking function N3WIF network element in an operator network through a PCIE network card, and the GF resource set is a scheduling-free time-frequency resource set suitable for the WLAN.
Optionally, the network module is a universal subscriber identity module USIM, and the terminal establishes connection with the operator network through the network module means that: the terminal establishes connection of the third generation partnership project (3 GPP) access with an operator network through a universal mobile telecommunications system (USIM), and specifically comprises the following steps: and the terminal establishes air interface connection with Radio Access Network (RAN) equipment in an operator network through the USIM, and the GF resource set is a scheduling-free time-frequency resource set applicable to the air interface.
Optionally, if the terminal establishes a connection with the operator network through the network module, the terminal can use the GF resource set to perform uplink transmission, otherwise, if the terminal does not establish a connection with the operator network through the network module, the terminal cannot use the GF resource set to perform uplink transmission.
Optionally, the GF resource set includes M GF resource subsets, where M is an integer greater than 1, and in a process that the terminal transmits uplink data on the GF resource set, the terminal acquires a retransmission condition of the transmitted uplink data, including: in the current period, the terminal acquires M retransmission times in the previous period, wherein the ith retransmission time in the M retransmission times refers to: and the retransmission times of the uplink data sent on the ith GF resource subset in the M GF resource subsets in the last period are equal to any integer from 1 to M.
Optionally, the DMA multi-queue is M DMA queues, M is an integer greater than 1, and uplink data to be sent of the M DMA queues are mapped to M GF resource subsets by default in one-to-one correspondence; the terminal schedules uplink data to be sent on the DMA multi-queue according to the retransmission condition of the uplink data, and the method comprises the following steps: the terminal determines how many retransmission times are more than a retransmission threshold value in M retransmission times; if the retransmission times exceeding the retransmission threshold value in the M retransmission times is N, namely N retransmission times, and N is an integer greater than 1 or equal to and smaller than M, the terminal determines that the uplink data corresponding to the N retransmission times is the data of N DMA queues in the M DMA queues; the terminal schedules uplink data to be sent on N DMA queues to M-N DMA queues, or the terminal maps the uplink data to be sent on N DMA queues from default to N GF resource subsets for sending and adjusts the uplink data to be sent on M-N GF resource subsets for sending, wherein the M-N DMA queues are DMA queues except the N DMA queues in the M DMA queues, and the M-N GF resource subsets are GF resource subsets except the N GF resource subsets in the M GF resource subsets; if N is equal to M, the terminal does not schedule the uplink data port to be sent on the DMA multi-queue.
Optionally, the terminal schedules uplink data to be sent on the N DMA queues to the M-N DMA queues, including; the terminal determines that the data quantity which can be accepted by the M-N DMA queues is a first data quantity according to the existing uplink data to be sent on the M-N DMA queues, and the terminal also determines that the data quantity of the uplink data to be sent on the N DMA queues is a second data quantity; if the first data size is smaller than or equal to the second data size, the terminal schedules uplink data to be sent, which is the first data size, on the N DMA queues to M-N DMA queues; if the first data size is larger than the second data size, the terminal schedules all uplink data to be sent on the N DMA queues to M-N DMA queues; or alternatively; the terminal maps the uplink data to be transmitted on the N DMA queues from default to N GF resource subsets for transmission and adjusts the uplink data to be transmitted to M-N GF resource subsets for transmission temporarily, wherein the method comprises the steps of; the terminal determines the free GF resource amount in M-N GF resource subsets mapped by the M-N DMA queues by default as a first resource amount and determines the GF resource amount required to be occupied by the data to be transmitted on the N DMA queues as a second resource amount according to the existing uplink data to be transmitted on the M-N DMA queues; if the first resource amount is smaller than or equal to the resource data amount, the terminal temporarily maps uplink data to be transmitted, which needs to occupy the first resource amount, on the N DMA queues to M-N GF resource subsets for transmission; and if the first resource amount is larger than the second resource amount, the terminal temporarily maps all uplink data to be transmitted on the N DMA queues to M-N GF resource subsets for transmission.
Optionally, the DMA multi-queue is M DMA queues, M is an integer greater than 1, and uplink data to be sent of the M DMA queues are mapped to M GF resource subsets by default in one-to-one correspondence; the terminal schedules uplink data to be sent on the DMA multi-queue according to the retransmission condition of the uplink data, and the method comprises the following steps: the terminal determines how many retransmission times are more than a retransmission threshold value in M retransmission times; if the number of retransmissions exceeding the retransmission threshold value in the M number of retransmissions is N, that is, N number of retransmissions and N is equal to M, the terminal schedules all uplink data to be sent on the M DMA queues to K DMA queues, where K is an integer greater than 1 or equal to and less than M, and M-K DMA queues are DMA queues other than K DMA queues in the M DMA queues.
Optionally, the terminal schedules all uplink data to be sent on the M DMA queues to K DMA queues, including; the terminal determines all uplink data to be sent on the M DMA queues as a third data volume; and the terminal can be borne by the K DMA queues according to the third data volume, and schedule all uplink data to be sent on the M DMA queues to the K DMA queues.
Optionally, the terminal is provided with a feasible running environment TEE, and the terminal schedules uplink data to be sent on the DMA multi-queue to be executed in the TEE environment.
In a second aspect, a data transmission device of a PCIE high-speed network card based on DMA multi-queues is provided, the data transmission device is applied to a terminal, the terminal is provided with a network module, the terminal establishes connection with an operator network through the network module, the operator network allocates a scheduling-free GF resource set for the terminal, and the device is configured to: in the process that the terminal transmits uplink data on the GF resource set, the terminal acquires the retransmission condition of the transmitted uplink data; the terminal schedules uplink data to be sent on the direct memory access DMA multi-queue according to the retransmission condition of the uplink data; wherein the uplink data to be sent on the DMA multi-queue is to be mapped onto the GF resource set for transmission.
Optionally, the network module is a PCIE network card of a high-speed serial computer expansion bus standard, and the terminal establishing connection with the operator network through the network module means: the terminal establishes connection of non-third generation partnership project (3 GPP) access with an operator network through a PCIE network card, and specifically refers to: the terminal establishes connection of the wireless local area network WLAN with a non-3 GPP interworking function N3WIF network element in an operator network through a PCIE network card, and the GF resource set is a scheduling-free time-frequency resource set suitable for the WLAN.
Optionally, the network module is a universal subscriber identity module USIM, and the terminal establishes connection with the operator network through the network module means that: the terminal establishes connection of the third generation partnership project (3 GPP) access with an operator network through a universal mobile telecommunications system (USIM), and specifically comprises the following steps: and the terminal establishes air interface connection with Radio Access Network (RAN) equipment in an operator network through the USIM, and the GF resource set is a scheduling-free time-frequency resource set applicable to the air interface.
Optionally, if the terminal establishes a connection with the operator network through the network module, the terminal can use the GF resource set to perform uplink transmission, otherwise, if the terminal does not establish a connection with the operator network through the network module, the terminal cannot use the GF resource set to perform uplink transmission.
Optionally, the GF resource set comprises M GF resource subsets, M being an integer greater than 1, the apparatus being configured to: in the current period, the terminal acquires M retransmission times in the previous period, wherein the ith retransmission time in the M retransmission times refers to: and the retransmission times of the uplink data sent on the ith GF resource subset in the M GF resource subsets in the last period are equal to any integer from 1 to M.
Optionally, the DMA multi-queue is M DMA queues, M is an integer greater than 1, and uplink data to be sent of the M DMA queues are mapped to M GF resource subsets by default in one-to-one correspondence; the apparatus is configured to: the terminal determines how many retransmission times are more than a retransmission threshold value in M retransmission times; if the retransmission times exceeding the retransmission threshold value in the M retransmission times is N, namely N retransmission times, and N is an integer greater than 1 or equal to and smaller than M, the terminal determines that the uplink data corresponding to the N retransmission times is the data of N DMA queues in the M DMA queues; the terminal schedules uplink data to be sent on N DMA queues to M-N DMA queues, or the terminal maps the uplink data to be sent on N DMA queues from default to N GF resource subsets for sending and adjusts the uplink data to be sent on M-N GF resource subsets for sending, wherein the M-N DMA queues are DMA queues except the N DMA queues in the M DMA queues, and the M-N GF resource subsets are GF resource subsets except the N GF resource subsets in the M GF resource subsets; if N is equal to M, the terminal does not schedule the uplink data port to be sent on the DMA multi-queue.
Optionally, the apparatus is configured to: the terminal determines that the data quantity which can be accepted by the M-N DMA queues is a first data quantity according to the existing uplink data to be sent on the M-N DMA queues, and the terminal also determines that the data quantity of the uplink data to be sent on the N DMA queues is a second data quantity; if the first data size is smaller than or equal to the second data size, the terminal schedules uplink data to be sent, which is the first data size, on the N DMA queues to M-N DMA queues; if the first data size is larger than the second data size, the terminal schedules all uplink data to be sent on the N DMA queues to M-N DMA queues; or alternatively; the apparatus is configured to: the terminal determines the free GF resource amount in M-N GF resource subsets mapped by the M-N DMA queues by default as a first resource amount and determines the GF resource amount required to be occupied by the data to be transmitted on the N DMA queues as a second resource amount according to the existing uplink data to be transmitted on the M-N DMA queues; if the first resource amount is smaller than or equal to the resource data amount, the terminal temporarily maps uplink data to be transmitted, which needs to occupy the first resource amount, on the N DMA queues to M-N GF resource subsets for transmission; and if the first resource amount is larger than the second resource amount, the terminal temporarily maps all uplink data to be transmitted on the N DMA queues to M-N GF resource subsets for transmission.
Optionally, the DMA multi-queue is M DMA queues, M is an integer greater than 1, and uplink data to be sent of the M DMA queues are mapped to M GF resource subsets by default in one-to-one correspondence; the apparatus is configured to: the terminal determines how many retransmission times are more than a retransmission threshold value in M retransmission times; if the number of retransmissions exceeding the retransmission threshold value in the M number of retransmissions is N, that is, N number of retransmissions and N is equal to M, the terminal schedules all uplink data to be sent on the M DMA queues to K DMA queues, where K is an integer greater than 1 or equal to and less than M, and M-K DMA queues are DMA queues other than K DMA queues in the M DMA queues.
Optionally, the apparatus is configured to: the terminal determines all uplink data to be sent on the M DMA queues as a third data volume; and the terminal can be borne by the K DMA queues according to the third data volume, and schedule all uplink data to be sent on the M DMA queues to the K DMA queues.
Optionally, the terminal is provided with a feasible running environment TEE, and the terminal schedules uplink data to be sent on the DMA multi-queue to be executed in the TEE environment.
In a third aspect, embodiments of the present application provide a computer readable storage medium having program code stored thereon, which when executed by the computer, performs the method according to the first aspect.
In summary, the method and the device have the following technical effects:
by establishing a mapping relation between the DMA multi-queue and the GF resource set, namely, uplink data on the DMA multi-queue can be flexibly mapped to the GF resource set for uplink transmission. Therefore, the terminal can know the network condition in time through acquiring the retransmission condition of the sent uplink data, such as the condition of data retransmission caused by the receiving failure due to the collision of GF resources, so as to schedule the uplink data to be sent on the DMA multi-queue, such as scheduling the uplink data to be sent on some DMA multi-queues to other DMA multi-queues, finally, the data can be mapped from GF resources with high collision probability of GF resources to GF resources with low collision probability of GF resources for sending, thereby realizing the condition of resource collision among multiple users, and timely adjusting the use strategy of GF resources, thereby reducing the resource collision and improving the use experience of users.
In addition, the method and the device have the following technical effects:
1. the data transmission efficiency is improved by using the DMA multi-queue technology, and the data transmission can be managed and scheduled more efficiently. Meanwhile, based on the use of the scheduling-free GF resource set, the overhead of network scheduling can be reduced, and the data transmission efficiency is further improved. 2. And the occupation of resources is reduced, namely, the uplink data to be sent can be mapped to the call-free resource set by using the DMA multi-queue technology, so that the occupation of other network resources is reduced, and the utilization rate of the network resources is improved. 3. The technical scheme allows the terminal to send uplink data on the GF resource set, so that the terminal can flexibly transmit data according to the network condition and resource requirements, and the autonomy and flexibility of the terminal are improved.
Drawings
Fig. 1 is a schematic architecture diagram of a communication system according to an embodiment of the present application;
fig. 2 is a flowchart of a data transmission method of a PCIE high-speed network card based on DMA multi-queues according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Scheduling-free/dynamic Grant (GF) transmission:
the schedule-free transmission may be one of transmission schemes for reducing transmission delay in the future. The scheduling-free transmission mainly includes two types, one is that the terminal completes uplink data transmission in a random access (random access) process, such as a two-step random access (2-step RA) process introduced in a fifth generation (5th generation,5G) mobile communication system, that is, a New Radio (NR) system. The other is that the terminal directly performs uplink data transmission, for example, semi-persistent scheduling SPS (Semi-Persistent Scheduling) in long term evolution (long term evolution, LTE) system, transmission based on pre-configured uplink resources (preconfigured uplink resource, PUR), and Configured Grant (CG) transmission in NR. The common feature of the two types of scheduling-free transmission is that before uplink transmission, the terminal does not need to acquire the time-frequency resources and transmission parameters used for transmitting data by monitoring the dynamic grant of the base station, but uses the preconfigured time-frequency resources and transmission parameters to transmit data to the base station, and the preconfigured time-frequency resources and transmission parameters are usually signaled by the base station through a higher layer. However, although the GF resource transmission mechanism in the prior art reduces signaling overhead and reduces transmission delay, due to lack of scheduling in user resource selection, there is a resource collision between multiple users, and the number of users transmitting simultaneously on a certain resource exceeds the demodulation capability of the receiver, which may cause a sudden performance drop of the multi-user access network device, and affect the user experience of the users.
In the embodiment of the invention, the indication can comprise direct indication and indirect indication, and can also comprise explicit indication and implicit indication. In the specific implementation process, the manner of indicating the information to be indicated is various, for example, but not limited to, the information to be indicated may be directly indicated, such as the information to be indicated itself or an index of the information to be indicated. The information to be indicated can also be indicated indirectly by indicating other information, wherein the other information and the information to be indicated have an association relation. It is also possible to indicate only a part of the information to be indicated, while other parts of the information to be indicated are known or agreed in advance. For example, the indication of the specific information may also be achieved by means of a pre-agreed (e.g., protocol-specified) arrangement sequence of the respective information, thereby reducing the indication overhead to some extent. And meanwhile, the universal part of each information can be identified and indicated uniformly, so that the indication cost caused by independently indicating the same information is reduced.
The specific indication means may be any of various existing indication means, such as, but not limited to, the above indication means, various combinations thereof, and the like. Specific details of various indications may be referred to the prior art and are not described herein. As can be seen from the above, for example, when multiple pieces of information of the same type need to be indicated, different manners of indication of different pieces of information may occur. In a specific implementation process, a required indication mode can be selected according to specific needs, and the selected indication mode is not limited in the embodiment of the present invention, so that the indication mode according to the embodiment of the present invention is understood to cover various methods that can enable a party to be indicated to learn information to be indicated.
It should be understood that the information to be indicated may be sent together as a whole or may be sent separately in a plurality of sub-information, and the sending periods and/or sending timings of these sub-information may be the same or different. Specific transmission method the embodiment of the present invention is not limited. The transmission period and/or the transmission timing of the sub-information may be predefined, for example, predefined according to a protocol, or may be configured by the transmitting end device by transmitting configuration information to the receiving end device.
The "pre-defining" or "pre-configuring" may be implemented by pre-storing corresponding codes, tables, or other manners that may be used to indicate relevant information in the device, and the embodiments of the present invention are not limited to the specific implementation manner. Where "save" may refer to saving in one or more memories. The one or more memories may be provided separately or may be integrated in an encoder or decoder, processor, or electronic device. The one or more memories may also be provided separately as part of a decoder, processor, or electronic device. The type of memory may be any form of storage medium, and embodiments of the invention are not limited in this regard.
The "protocol" referred to in the embodiments of the present invention may refer to a protocol family in the communication field, a standard protocol similar to a frame structure of the protocol family, or a related protocol applied to a reliable access method system of future internet of things equipment, which is not specifically limited in the embodiments of the present invention.
In the embodiment of the invention, the descriptions of "when … …", "in the case of … …", "if" and "if" all refer to that the device will perform corresponding processing under some objective condition, and are not limited in time, nor do the descriptions require that the device must have a judging action when implementing, nor do the descriptions mean that other limitations exist.
In the description of the embodiments of the present invention, unless otherwise indicated, "/" means that the objects associated in tandem are in a "or" relationship, e.g., A/B may represent A or B; the "and/or" in the embodiment of the present invention is merely an association relationship describing the association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a alone, a and B together, and B alone, wherein A, B may be singular or plural. Also, in the description of the embodiments of the present invention, unless otherwise indicated, "plurality" means two or more than two. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural. In addition, in order to facilitate the clear description of the technical solution of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ. Meanwhile, in the embodiments of the present invention, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion that may be readily understood.
The network architecture and the service scenario described in the embodiments of the present invention are for more clearly describing the technical solution of the embodiments of the present invention, and do not constitute a limitation on the technical solution provided by the embodiments of the present invention, and those skilled in the art can know that, with the evolution of the network architecture and the appearance of the new service scenario, the technical solution provided by the embodiments of the present invention is applicable to similar technical problems.
The technical solutions in the present application will be described below with reference to the accompanying drawings.
Referring to fig. 1, a communication system is provided in an embodiment of the present application, which may include a terminal and an operator network.
The terminal may be a terminal having a transmitting/receiving function, or may be a chip or a chip system provided in the terminal. The terminal may also be referred to as a UE, an access terminal, a subscriber unit (subscriber unit), a subscriber station, a Mobile Station (MS), a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user equipment. The terminals in embodiments of the present application may be mobile phones (mobile phones), cellular phones (cellular phones), smart phones (smart phones), tablet computers (Pad), wireless data cards, personal digital assistants (personal digital assistant, PDA), wireless modems (modem), handheld devices (handset), laptop computers (laptop computers), machine type communication (machine type communication, MTC) terminals, computers with wireless transceiving functions, virtual Reality (VR) terminals, augmented reality (augmented reality, AR) terminals, smart home devices (e.g., refrigerator, television, air conditioner, electric meter, etc.), smart robots, robotic arms, wireless terminals in workshop devices, industrial control (industrial control), wireless terminals in unmanned aerial vehicle (self driving), wireless terminals in smart media, wireless terminals in smart grid (smart grid), wireless terminals in transportation safety (transportation safety), wireless terminals in smart city (smart city), wireless terminals in the road side, mobile terminals in the air, mobile station, etc. The terminal of the present application may also be an in-vehicle module, an in-vehicle component, an in-vehicle chip, or an in-vehicle unit built into a vehicle as one or more components or units. The terminal device may also be other devices with terminal functions, for example, the terminal device may also be a device functioning as a terminal function in D2D communication.
The operator network may be a public land mobile network (Public Land Mobile Network, PLMN), in particular a public network within the operator network. Alternatively, the operator network may be any possible form of network.
In the communication system, a terminal is provided with a network module, the terminal establishes connection with an operator network through the network module, and the operator network distributes a dispatching-free GF resource set for the terminal.
Optionally, the network module may be a high-speed serial computer expansion bus standard (peripheral component interconnect express, PCIE) network card, which may also be referred to as a PCIE high-speed network card, and may support a wireless local area network (Wireless Local Area Network, WLAN). In this case, the terminal establishing a connection with the operator network through the network module means: the terminal establishes connection with the operator network through the PCIE network card, wherein the connection is accessed by a non-third generation partnership project (3rd Generation Partnership Project,3GPP), specifically: the terminal can establish WLAN connection with a Non-3GPP interworking function (Non-3GPP InterWorking Function,N3WIF) network element in the operator network through the PCIE network card. As such, the GF resource set is a scheduling-free time-frequency resource set suitable for the WLAN, that is, the GF resource set is a resource configured in a frequency band and a time period allowed by the WLAN.
It may be appreciated that, unlike the prior art, for a terminal with non-3 GPP access, the operator network may also allocate GP resources used by the non-3 GPP access to the terminal, and a specific configuration manner may be predefined by a protocol, which is not limited by the specific implementation of the present application.
Optionally, the network module may also be a global subscriber identity card (Universal Subscriber Identity Module, USIM), and the terminal establishes a connection with the operator network through the network module means: the terminal establishes 3GPP access connection with the operator network through USIM, specifically means: the terminal establishes an air interface connection with a radio access network (wireless access network, RAN) device, such as a gNB, in the operator network via the USIM. Thus, the GF resource set is a scheduling-free time-frequency resource set applicable to the air interface, that is, the GF resource set is a resource configured in a frequency band and a time period allowed by the air interface.
On this basis, since the GF resource set is preconfigured or predefined by the operator network for the terminal, if the terminal establishes a connection with the operator network through the network module, the terminal (self-permission) can use the GF resource set to perform uplink transmission, or the connection is established so that the GF resource set is in an available state, that is, a state that is ready for use, otherwise, if the terminal does not establish a connection with the operator network through the network module, the terminal cannot use the GF resource set to perform uplink transmission, or if the connection is not established, the GF resource set is in an unavailable state.
The GF resource set comprises M GF resource subsets, M being an integer greater than 1. The terminal may divide the GF resource set into M GF resource subsets according to the DMA multi-queues that can be established or the DMA multi-queues that are established are M DMA queues, where the dividing manner may be equal, for example, the GF resource set includes GF resources of 100 RBs, m=5 may be divided into 5 GF resource subsets, and each GF resource subset includes GF resources of 20 RBs, or the dividing manner may be unequal, for example, the dividing manner may be according to the capability of the DMA queues, and if the capability of the DMA queues is stronger, for example, more data can be arranged or carried, the GF resource subset corresponding to the DMA queues may include more GF resources, or vice versa. In this way, the terminal can map the default mapping of the uplink data to be sent of the M DMA queues to the M GF resource subsets in a one-to-one correspondence. For example, uplink data to be sent of the 1 st DMA queue is mapped onto the 1 st GF subset by default and sent, uplink data to be sent of the 2 nd DMA queue is mapped onto the 2 nd GF subset by default and sent, uplink data to be sent of the 3 rd DMA queue is mapped onto the 3 rd GF subset by default and sent, and so on, and no further description is given.
By establishing a mapping relation between the DMA multi-queue and the GF resource set, namely, uplink data on the DMA multi-queue can be flexibly mapped to the GF resource set for uplink transmission. Therefore, the terminal can know the network condition in time through acquiring the retransmission condition of the sent uplink data, such as the condition of data retransmission caused by the receiving failure due to the collision of GF resources, so as to schedule the uplink data to be sent on the DMA multi-queue, such as scheduling the uplink data to be sent on some DMA multi-queues to other DMA multi-queues, finally, the data can be mapped from GF resources with high collision probability of GF resources to GF resources with low collision probability of GF resources for sending, thereby realizing the condition of resource collision among multiple users, and timely adjusting the use strategy of GF resources, thereby reducing the resource collision and improving the use experience of users.
The interaction between the terminal and the operator network in the above communication system will be described in detail with reference to the method.
Referring to fig. 2, an embodiment of the present application provides a data transmission method of a PCIE high-speed network card based on DMA multi-queues. The method may be applicable to communication between a terminal and an operator network. The method comprises the following steps:
S201, in the process that the terminal transmits uplink data on the GF resource set, the terminal acquires the retransmission condition of the transmitted uplink data.
The terminal acquires M retransmission times in the previous period in the current period. The ith retransmission number in the M retransmission numbers refers to: and the retransmission times of the uplink data sent on the ith GF resource subset in the M GF resource subsets in the last period are i being any integer from 1 to M, namely, the terminal can acquire the retransmission times of each GF resource subset in the last period.
S202, the terminal schedules uplink data to be sent on the direct memory access DMA multi-queue according to the retransmission condition of the uplink data.
Wherein the uplink data to be sent on the DMA multi-queue is to be mapped onto the GF resource set for transmission.
In one case:
the terminal may determine how many of the M retransmission times exceeds the retransmission threshold. If the number of retransmissions exceeding the retransmission threshold value in the M number of retransmissions is N, that is, N number of retransmissions, where N is an integer greater than 1 or equal to and less than M, the terminal determines that the uplink data corresponding to the N number of retransmissions is data of N DMA queues in the M DMA queues.
The terminal may schedule the uplink data to be sent on the N DMA queues onto the M-N DMA queues. The M-N DMA queues are DMA queues except the N DMA queues in the M DMA queues. For example, the terminal may determine, according to the uplink data to be sent existing on the M-N DMA queues, that the data amount that can be accepted by the M-N DMA queues is a first data amount, and the terminal further determines that the data amount of the uplink data to be sent on the N DMA queues is a second data amount; if the first data size is smaller than or equal to the second data size, the terminal can schedule uplink data to be sent, which is the first data size, on the N DMA queues to M-N DMA queues; if the first data size is larger than the second data size, the terminal may schedule all uplink data to be sent on the N DMA queues to M-N DMA queues.
For example, m=3, and the number of retransmissions of each of the 3 GF resource subsets in the previous period is 8, 4, and 5, respectively. If the retransmission threshold is 5, the retransmission times is 8 and is greater than the retransmission threshold. The GF resource subset with the retransmission number of 8 is the 1 st resource subset, which also indicates that the 1 st resource subset has serious collision of the transmission resources in the previous period. At this time, the 1 st DMA queue mapped by the 1 st resource subset has 80 uplink data to be sent, the 2 nd DMA queue has 60 uplink data to be sent, and the 2 nd DMA queue has 100 uplink data to be sent, so that the 2 nd DMA queue can also accept 20 uplink data, and similarly, the 3 rd DMA queue has 70 uplink data to be sent, and the 3 rd DMA queue has 100 uplink data to be sent, so that the 3 rd DMA queue can also accept 10 uplink data. Thus, the amount of data that can be accepted by the 2 nd DMA queue and the 3 rd DMA queue is 30, so that 30 uplink data to be sent in the 1 st DMA queue is randomly extracted and respectively scheduled to the 2 nd DMA queue and the 3 rd DMA queue, for example, the 2 nd DMA queue is scheduled 20, and the 3 rd DMA queue is scheduled 10.
It will be appreciated that this applies to the case where the GF resource subsets are partitioned by the capabilities of the DMA queue, i.e., the DMA queue is also able to accommodate an amount of data corresponding to, or consistent with, the amount of free resources of its corresponding GF resource subset.
Or, the terminal may adjust the transmission of the uplink data to be transmitted on the N DMA queues from mapping to the N GF resource subsets by default to mapping to the M-N GF resource subsets temporarily for transmission. The M-N GF resource subsets are GF resource subsets except N GF resource subsets in the M GF resource subsets. For example, the terminal may determine, according to uplink data to be sent existing on the M-N DMA queues, that an amount of GF resources that are free in the M-N GF resource subsets mapped by default by the M-N DMA queues is a first amount of resources, and that an amount of GF resources that need to be occupied by data to be sent on the N DMA queues is a second amount of resources; if the first resource amount is smaller than or equal to the resource data amount, the terminal can temporarily map uplink data to be transmitted, which needs to occupy the first resource amount, on the N DMA queues to M-N GF resource subsets for transmission; if the first resource amount is greater than the second resource amount, the terminal may temporarily map all uplink data to be sent on the N DMA queues onto the M-N GF resource subsets for sending.
It will be appreciated that this applies to the case where GF resource subsets are equally divided.
If N is equal to M, the terminal does not schedule the uplink data port to be sent on the DMA multi-queue.
In another case:
the terminal can determine how many retransmission times exceed a retransmission threshold value in M retransmission times; if the number of retransmissions exceeding the retransmission threshold value in the M number of retransmissions is N, that is, N number of retransmissions and N is equal to M, the terminal may schedule all uplink data to be sent on the M DMA queues to K DMA queues, where K is an integer greater than 1 or equal to and less than M, and M-K DMA queues are DMA queues other than K DMA queues in the M DMA queues. For example, the terminal may determine that all uplink data to be sent on the M DMA queues is a third data amount, so that according to the third data amount, all uplink data to be sent on the M DMA queues can be carried by the K DMA queues, and schedule all uplink data to be sent on the K DMA queues.
For example, m=3, and the number of retransmissions of each of the 3 GF resource subsets in the previous period is 8, 6, and 6, respectively. If the retransmission threshold is 5, the retransmission times of the 3 GF resource subsets in the previous period are all greater than the retransmission threshold, which indicates that the collision of the transmission resources of the 3 GF resource subsets in the previous period is serious. At this time, the uplink data to be sent of the 1 st DMA queue mapped by the 1 st resource subset is 50, the maximum amount of uplink data to be sent that can be carried by the 2 nd DMA queue is 100, the uplink data to be sent of the 2 nd DMA queue is 60, the maximum amount of uplink data to be sent that can be carried by the 2 nd DMA queue is 100, the uplink data to be sent of the 3 rd DMA queue is 70, and the maximum amount of uplink data to be sent that can be carried by the 3 rd DMA queue is 100. Thus, the sum of the data amounts of the 3 DMA queues is 180, and the data amounts can be migrated to the 2 DMA queues to be completely carried, for example, the 1 st DMA queue and the 2 nd DMA queue are randomly selected to be carried, and the 3 rd DMA queue is idle at this time, so as to reduce the degree of resource collision. Of course, if the sum of the data amounts of the 3 DMA queues cannot be migrated to 1 or 2 DMA queues for complete load, the terminal does not schedule.
Optionally, the terminal is provided with a feasible running environment TEE, and the terminal schedules uplink data to be sent on the DMA multi-queue to be executed in the TEE environment.
To sum up: by establishing a mapping relation between the DMA multi-queue and the GF resource set, namely, uplink data on the DMA multi-queue can be flexibly mapped to the GF resource set for uplink transmission. Therefore, the terminal can know the network condition in time through acquiring the retransmission condition of the sent uplink data, such as the condition of data retransmission caused by the receiving failure due to the collision of GF resources, so as to schedule the uplink data to be sent on the DMA multi-queue, such as scheduling the uplink data to be sent on some DMA multi-queues to other DMA multi-queues, finally, the data can be mapped from GF resources with high collision probability of GF resources to GF resources with low collision probability of GF resources for sending, thereby realizing the condition of resource collision among multiple users, and timely adjusting the use strategy of GF resources, thereby reducing the resource collision and improving the use experience of users.
In addition, the method and the device have the following technical effects:
1. the data transmission efficiency is improved by using the DMA multi-queue technology, and the data transmission can be managed and scheduled more efficiently. Meanwhile, based on the use of the scheduling-free GF resource set, the overhead of network scheduling can be reduced, and the data transmission efficiency is further improved. 2. And the occupation of resources is reduced, namely, the uplink data to be sent can be mapped to the call-free resource set by using the DMA multi-queue technology, so that the occupation of other network resources is reduced, and the utilization rate of the network resources is improved. 3. The technical scheme allows the terminal to send uplink data on the GF resource set, so that the terminal can flexibly transmit data according to the network condition and resource requirements, and the autonomy and flexibility of the terminal are improved.
The method provided in the embodiment of the present application is described in detail above in connection with fig. 2. The following describes a data transmission device of a PCIE high-speed network card based on DMA multi-queues for executing the method provided by the embodiment of the present application.
The data transmission device of the PCIE high-speed network card based on the DMA multi-queue is applied to a terminal, the terminal is provided with a network module, the terminal is connected with an operator network through the network module, the operator network is distributed with a dispatching-free GF resource set for the terminal, and the device is configured to: in the process that the terminal transmits uplink data on the GF resource set, the terminal acquires the retransmission condition of the transmitted uplink data; the terminal schedules uplink data to be sent on the direct memory access DMA multi-queue according to the retransmission condition of the uplink data; wherein the uplink data to be sent on the DMA multi-queue is to be mapped onto the GF resource set for transmission.
Optionally, the network module is a PCIE network card of a high-speed serial computer expansion bus standard, and the terminal establishing connection with the operator network through the network module means: the terminal establishes connection of non-third generation partnership project (3 GPP) access with an operator network through a PCIE network card, and specifically refers to: the terminal establishes connection of the wireless local area network WLAN with a non-3 GPP interworking function N3WIF network element in an operator network through a PCIE network card, and the GF resource set is a scheduling-free time-frequency resource set suitable for the WLAN.
Optionally, the network module is a universal subscriber identity module USIM, and the terminal establishes connection with the operator network through the network module means that: the terminal establishes connection of the third generation partnership project (3 GPP) access with an operator network through a universal mobile telecommunications system (USIM), and specifically comprises the following steps: and the terminal establishes air interface connection with Radio Access Network (RAN) equipment in an operator network through the USIM, and the GF resource set is a scheduling-free time-frequency resource set applicable to the air interface.
Optionally, if the terminal establishes a connection with the operator network through the network module, the terminal can use the GF resource set to perform uplink transmission, otherwise, if the terminal does not establish a connection with the operator network through the network module, the terminal cannot use the GF resource set to perform uplink transmission.
Optionally, the GF resource set comprises M GF resource subsets, M being an integer greater than 1, the apparatus being configured to: in the current period, the terminal acquires M retransmission times in the previous period, wherein the ith retransmission time in the M retransmission times refers to: and the retransmission times of the uplink data sent on the ith GF resource subset in the M GF resource subsets in the last period are equal to any integer from 1 to M.
Optionally, the DMA multi-queue is M DMA queues, M is an integer greater than 1, and uplink data to be sent of the M DMA queues are mapped to M GF resource subsets by default in one-to-one correspondence; the apparatus is configured to: the terminal determines how many retransmission times are more than a retransmission threshold value in M retransmission times; if the retransmission times exceeding the retransmission threshold value in the M retransmission times is N, namely N retransmission times, and N is an integer greater than 1 or equal to and smaller than M, the terminal determines that the uplink data corresponding to the N retransmission times is the data of N DMA queues in the M DMA queues; the terminal schedules uplink data to be sent on N DMA queues to M-N DMA queues, or the terminal maps the uplink data to be sent on N DMA queues from default to N GF resource subsets for sending and adjusts the uplink data to be sent on M-N GF resource subsets for sending, wherein the M-N DMA queues are DMA queues except the N DMA queues in the M DMA queues, and the M-N GF resource subsets are GF resource subsets except the N GF resource subsets in the M GF resource subsets; if N is equal to M, the terminal does not schedule the uplink data port to be sent on the DMA multi-queue.
Optionally, the apparatus is configured to: the terminal determines that the data quantity which can be accepted by the M-N DMA queues is a first data quantity according to the existing uplink data to be sent on the M-N DMA queues, and the terminal also determines that the data quantity of the uplink data to be sent on the N DMA queues is a second data quantity; if the first data size is smaller than or equal to the second data size, the terminal schedules uplink data to be sent, which is the first data size, on the N DMA queues to M-N DMA queues; if the first data size is larger than the second data size, the terminal schedules all uplink data to be sent on the N DMA queues to M-N DMA queues; or alternatively; the apparatus is configured to: the terminal determines the free GF resource amount in M-N GF resource subsets mapped by the M-N DMA queues by default as a first resource amount and determines the GF resource amount required to be occupied by the data to be transmitted on the N DMA queues as a second resource amount according to the existing uplink data to be transmitted on the M-N DMA queues; if the first resource amount is smaller than or equal to the resource data amount, the terminal temporarily maps uplink data to be transmitted, which needs to occupy the first resource amount, on the N DMA queues to M-N GF resource subsets for transmission; and if the first resource amount is larger than the second resource amount, the terminal temporarily maps all uplink data to be transmitted on the N DMA queues to M-N GF resource subsets for transmission.
Optionally, the DMA multi-queue is M DMA queues, M is an integer greater than 1, and uplink data to be sent of the M DMA queues are mapped to M GF resource subsets by default in one-to-one correspondence; the apparatus is configured to: the terminal determines how many retransmission times are more than a retransmission threshold value in M retransmission times; if the number of retransmissions exceeding the retransmission threshold value in the M number of retransmissions is N, that is, N number of retransmissions and N is equal to M, the terminal schedules all uplink data to be sent on the M DMA queues to K DMA queues, where K is an integer greater than 1 or equal to and less than M, and M-K DMA queues are DMA queues other than K DMA queues in the M DMA queues.
Optionally, the apparatus is configured to: the terminal determines all uplink data to be sent on the M DMA queues as a third data volume; and the terminal can be borne by the K DMA queues according to the third data volume, and schedule all uplink data to be sent on the M DMA queues to the K DMA queues.
Optionally, the terminal is provided with a feasible running environment TEE, and the terminal schedules uplink data to be sent on the DMA multi-queue to be executed in the TEE environment.
The following describes the various constituent elements of the electronic device 500 in detail with reference to fig. 3:
The processor 501 is a control center of the electronic device 500, and may be one processor or a collective term of a plurality of processing elements. For example, processor 501 is one or more central processing units (central processing unit, CPU), but may also be an integrated circuit (application specific integrated circuit, ASIC), or one or more integrated circuits configured to implement embodiments of the present application, such as: one or more microprocessors (digital signal processor, DSPs), or one or more field programmable gate arrays (field programmable gate array, FPGAs).
Alternatively, the processor 501 may perform various functions of the electronic device 500, such as the functions in the method shown in FIG. 3 described above, by running or executing a software program stored in the memory 502 and invoking data stored in the memory 502.
In a particular implementation, processor 501 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 3, as an embodiment.
In a particular implementation, as one embodiment, the electronic device 500 may also include multiple processors. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
The memory 502 is configured to store a software program for executing the present application, and the processor 501 controls the execution of the software program, and the specific implementation may refer to the above method embodiment, which is not described herein again.
Alternatively, memory 502 may be read-only memory (ROM) or other type of static storage device that may store static information and instructions, random access memory (random access memory, RAM) or
Other types of dynamic storage devices, which can store information and instructions, can also be, but are not limited to, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disc, etc.), magnetic disk storage or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by a computer. The memory 502 may be integral with the processor 501 or may exist separately from the processor and the electronic device 500
Is coupled to the processor 501 (not shown in fig. 3), as embodiments of the present application are not particularly limited.
A transceiver 503 for communication with other devices. For example, the multi-beam based positioning device is a terminal and the transceiver 503 may be used to communicate with a network device or with another terminal.
Alternatively, the transceiver 503 may include a receiver and a transmitter (not separately shown in fig. 3). The receiver is used for realizing the receiving function, and the transmitter is used for realizing the transmitting function.
Alternatively, the transceiver 503 may be integrated with the processor 501, or may exist separately, and be coupled to the processor 501 through an interface circuit (not shown in fig. 3) of the electronic device 500, which is not specifically limited in this embodiment of the present application.
It should be noted that the structure of the electronic device 500 shown in fig. 3 does not limit the apparatus, and the actual electronic device 500 may include more or less components than those shown, or may combine some components, or may be different in arrangement of components.
In addition, the technical effects of the method according to the above method embodiment may be referred to for the technical effects of the electronic device 500, which are not described herein.
It should be appreciated that the processor in embodiments of the present application may be a central processing unit (central processing unit, CPU), which may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), off-the-shelf programmable gate arrays (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It should also be appreciated that the memory in embodiments of the present application may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. The volatile memory may be random access memory (random access memory, RAM) which acts as an external cache. By way of example but not limitation, many forms of random access memory (random access memory, RAM) are available, such as Static RAM (SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced Synchronous Dynamic Random Access Memory (ESDRAM), synchronous Link DRAM (SLDRAM), and direct memory bus RAM (DR RAM).
The above embodiments may be implemented in whole or in part by software, hardware (e.g., circuitry), firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the processes or functions in accordance with the embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired (e.g., infrared, wireless, microwave, etc.) means. Computer readable storage media can be any available media that can be accessed by a computer or data storage devices, such as servers, data centers, etc. that contain one or more collections of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
It should be understood that the term "and/or" is merely an association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: there are three cases, a alone, a and B together, and B alone, wherein a, B may be singular or plural. In addition, the character "/" herein generally indicates that the associated object is an "or" relationship, but may also indicate an "and/or" relationship, and may be understood by referring to the context.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the partitioning of elements is merely a logical functional partitioning, and there may be additional partitioning in actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some feature fields may be omitted, or not implemented. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes or substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The data transmission method of the PCIE high-speed network card based on the DMA multi-queue is characterized by being applied to a terminal, wherein the terminal is provided with a network module, the terminal establishes connection with an operator network through the network module, the operator network is distributed with a dispatching-free GF resource set for the terminal, and the method comprises the following steps:
in the process that the terminal transmits uplink data on the GF resource set, the terminal acquires the retransmission condition of the transmitted uplink data;
the terminal schedules uplink data to be sent on a Direct Memory Access (DMA) multi-queue according to the retransmission condition of the uplink data; wherein, the uplink data to be sent on the DMA multi-queue is to be mapped to the GF resource set for sending.
2. The method of claim 1, wherein the network module is a PCIE network card of a high-speed serial computer expansion bus standard, and the terminal establishing connection with the operator network through the network module means: the terminal establishes a connection with the operator network through the PCIE network card, wherein the connection is accessed by a non-third generation partnership project (3 GPP), specifically: and the terminal establishes connection of a Wireless Local Area Network (WLAN) with a non-3 GPP interworking function (N3 WIF) network element in the operator network through the PCIE network card, wherein the GF resource set is a scheduling-free time-frequency resource set applicable to the WLAN.
3. The method according to claim 1, wherein the network module is a universal subscriber identity card USIM, and the terminal establishes a connection with an operator network through the network module means: the terminal establishes connection of a third generation partnership project (3 GPP) access with the operator network through the USIM, and specifically refers to: and the terminal establishes air interface connection with Radio Access Network (RAN) equipment in the operator network through the USIM, and the GF resource set is a scheduling-free time-frequency resource set applicable to the air interface.
4. A method according to claim 2 or 3, characterized in that the terminal is able to use the GF resource set for uplink transmission if the terminal establishes a connection with the operator network via the network module, otherwise the terminal is not able to use the GF resource set for uplink transmission if the terminal does not establish a connection with the operator network via the network module.
5. The method of claim 4, wherein the GF resource set comprises M GF resource subsets, M being an integer greater than 1, and wherein the terminal obtaining a retransmission of the transmitted uplink data during the transmission of the uplink data by the terminal on the GF resource set comprises:
The terminal acquires M retransmission times in the previous period in the current period, wherein the ith retransmission time in the M retransmission times refers to: and the retransmission times of the uplink data sent on the ith GF resource subset in the M GF resource subsets in the last period are equal to any integer from 1 to M.
6. The method of claim 5, wherein the DMA multi-queue is M DMA queues, M is an integer greater than 1, and uplink data to be sent of the M DMA queues are mapped onto the M GF resource subsets by default one-to-one correspondence; the terminal schedules uplink data to be sent on a DMA multi-queue according to the retransmission condition of the uplink data, and the method comprises the following steps:
the terminal determines how many retransmission times are more than a retransmission threshold value in the M retransmission times;
if the retransmission times exceeding the retransmission threshold value in the M retransmission times is N, that is, N retransmission times, and N is an integer greater than 1 or equal to and less than M, the terminal determines that uplink data corresponding to the N retransmission times is data of N DMA queues in the M DMA queues;
the terminal schedules uplink data to be sent on the N DMA queues to M-N DMA queues, or the terminal maps the uplink data to be sent on the N DMA queues from default to N GF resource subsets and adjusts the uplink data to be sent on the N GF resource subsets to be temporarily mapped to M-N GF resource subsets for sending, wherein the M-N DMA queues are DMA queues except the N DMA queues in the M DMA queues, and the M-N GF resource subsets are GF resource subsets except the N GF resource subsets in the M GF resource subsets;
And if N is equal to M, the terminal does not schedule the uplink data port to be transmitted on the DMA multi-queue.
7. The method of claim 6, wherein the terminal schedules uplink data to be sent on the N DMA queues onto M-N DMA queues, comprising;
the terminal determines that the data quantity which can be accepted by the M-N DMA queues is a first data quantity according to the existing uplink data to be sent on the M-N DMA queues, and the terminal also determines that the data quantity of the uplink data to be sent on the N DMA queues is a second data quantity;
if the first data size is smaller than or equal to the second data size, the terminal schedules uplink data to be sent, which is the first data size, on the N DMA queues to the M-N DMA queues; if the first data size is larger than the second data size, the terminal schedules all uplink data to be sent on the N DMA queues to the M-N DMA queues;
or alternatively;
the terminal maps the uplink data to be transmitted on the N DMA queues from default to N GF resource subsets for transmission and adjusts the uplink data to be transmitted to M-N GF resource subsets for transmission temporarily, wherein the method comprises the steps of;
The terminal determines the free GF resource amount in the M-N GF resource subsets mapped by the M-N DMA queues by default as a first resource amount and determines the GF resource amount required to be occupied by the data to be transmitted on the N DMA queues as a second resource amount according to the existing uplink data to be transmitted on the M-N DMA queues;
if the first resource amount is smaller than or equal to the resource data amount, the terminal temporarily maps uplink data to be transmitted, which needs to occupy the first resource amount, on the N DMA queues to M-N GF resource subsets for transmission; and if the first resource amount is larger than the second resource amount, the terminal temporarily maps all uplink data to be sent on the N DMA queues to M-N GF resource subsets for sending.
8. The method of claim 5, wherein the DMA multi-queue is M DMA queues, M is an integer greater than 1, and uplink data to be sent of the M DMA queues are mapped onto the M GF resource subsets by default one-to-one correspondence; the terminal schedules uplink data to be sent on a DMA multi-queue according to the retransmission condition of the uplink data, and the method comprises the following steps:
The terminal determines how many retransmission times are more than a retransmission threshold value in the M retransmission times;
and if the retransmission times exceeding the retransmission threshold value in the M retransmission times is N, namely N retransmission times, and N is equal to M, the terminal schedules all uplink data to be transmitted on the M DMA queues to K DMA queues, wherein K is an integer greater than 1 or equal to and less than M, and the M-K DMA queues are DMA queues except the K DMA queues in the M DMA queues.
9. The method of claim 8, wherein the terminal schedules all uplink data to be sent on the M DMA queues onto K DMA queues, including;
the terminal determines all uplink data to be sent on the M DMA queues as a third data volume;
and the terminal can be borne by the K DMA queues according to the third data volume, and schedules all uplink data to be sent on the M DMA queues to the K DMA queues.
10. The method according to claim 1, characterized in that the terminal is provided with a viable running environment TEE, the terminal scheduling the uplink data to be sent on the DMA multi-queue being performed within the TEE environment.
CN202410107768.2A 2024-01-26 2024-01-26 DMA multi-queue based PCIE high-speed network card data transmission method Pending CN117641590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410107768.2A CN117641590A (en) 2024-01-26 2024-01-26 DMA multi-queue based PCIE high-speed network card data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410107768.2A CN117641590A (en) 2024-01-26 2024-01-26 DMA multi-queue based PCIE high-speed network card data transmission method

Publications (1)

Publication Number Publication Date
CN117641590A true CN117641590A (en) 2024-03-01

Family

ID=90016705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410107768.2A Pending CN117641590A (en) 2024-01-26 2024-01-26 DMA multi-queue based PCIE high-speed network card data transmission method

Country Status (1)

Country Link
CN (1) CN117641590A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018126857A1 (en) * 2017-01-09 2018-07-12 华为技术有限公司 Uplink transmission method, terminal, network side device
WO2019029589A1 (en) * 2017-08-11 2019-02-14 华为技术有限公司 Communication method and device
CN109413744A (en) * 2017-08-18 2019-03-01 华为技术有限公司 Communication means and equipment
CN110999489A (en) * 2017-08-10 2020-04-10 日本电气株式会社 Communication system
WO2022151963A1 (en) * 2021-01-15 2022-07-21 展讯通信(上海)有限公司 Pucch retransmission determination and configuration methods and apparatuses, storage medium, user equipment, and network side device
CN115397028A (en) * 2021-05-25 2022-11-25 大唐移动通信设备有限公司 Uplink scheduling-free method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018126857A1 (en) * 2017-01-09 2018-07-12 华为技术有限公司 Uplink transmission method, terminal, network side device
CN110999489A (en) * 2017-08-10 2020-04-10 日本电气株式会社 Communication system
WO2019029589A1 (en) * 2017-08-11 2019-02-14 华为技术有限公司 Communication method and device
CN109413744A (en) * 2017-08-18 2019-03-01 华为技术有限公司 Communication means and equipment
WO2022151963A1 (en) * 2021-01-15 2022-07-21 展讯通信(上海)有限公司 Pucch retransmission determination and configuration methods and apparatuses, storage medium, user equipment, and network side device
CN115397028A (en) * 2021-05-25 2022-11-25 大唐移动通信设备有限公司 Uplink scheduling-free method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US20220015103A1 (en) Communication method and apparatus
CN112106395B (en) Method and device for reporting user equipment capability and computer readable storage medium
CN110622545A (en) Resource configuration method, terminal equipment and network equipment
US10652702B2 (en) Methods, user equipment and application managing function node for managing transfer of message over radio interface
CN110690944B (en) Method and device for transmitting and determining priority of channel state information, storage medium and user equipment
CN111405637A (en) Communication method and device
RU2744790C1 (en) Method of assigning resources, terminal device and network device
CN116308066B (en) Storage management method and device based on Internet of things
CN112187401B (en) Multi-time unit transmission method and related device
IL273244B1 (en) Resource allocation method, network device, and communications device
CN117641590A (en) DMA multi-queue based PCIE high-speed network card data transmission method
CN110612684B (en) Response feedback method, terminal and network equipment
WO2019191998A1 (en) Data transmission method, communication apparatus, storage medium, and program product
CN108282738B (en) Data transmission method, terminal equipment and network side equipment
CN116782407A (en) Scheduling-free resource allocation method and device
WO2021181128A1 (en) Apparatus and method of communication of same
CN112087799A (en) Feedback resource configuration method and terminal device
CN117693040B (en) Laser welding control system and control method based on wireless network
CN114980146B (en) Beam enhancement method and device based on intelligent communication box and intelligent communication box
CN112218373B (en) Communication method and device
CN116208992B (en) Running state stability evaluation method and device
CN114762366B (en) Downlink transmission method and communication device
WO2022237640A1 (en) Resource determination method and apparatus
EP4093116A1 (en) Data transmission method and related device
CN114915389A (en) Transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination