CN114501396A - Data transmission method, device and equipment - Google Patents

Data transmission method, device and equipment Download PDF

Info

Publication number
CN114501396A
CN114501396A CN202210308852.1A CN202210308852A CN114501396A CN 114501396 A CN114501396 A CN 114501396A CN 202210308852 A CN202210308852 A CN 202210308852A CN 114501396 A CN114501396 A CN 114501396A
Authority
CN
China
Prior art keywords
terminal device
resource
data
terminal
resource set
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.)
Granted
Application number
CN202210308852.1A
Other languages
Chinese (zh)
Other versions
CN114501396B (en
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 Consys Technology Co ltd
Original Assignee
Shenzhen Consys Technology 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 Consys Technology Co ltd filed Critical Shenzhen Consys Technology Co ltd
Priority to CN202210308852.1A priority Critical patent/CN114501396B/en
Publication of CN114501396A publication Critical patent/CN114501396A/en
Application granted granted Critical
Publication of CN114501396B publication Critical patent/CN114501396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/02Selection of wireless resources by user or terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a data transmission method, a device and equipment, wherein the method comprises the following steps: the first terminal equipment acquires a resource set from the second terminal equipment; and the first terminal equipment determines a target resource according to the resource set and sends data to the second terminal equipment through the target resource. The probability of resource collisions is reduced.

Description

Data transmission method, device and equipment
Technical Field
The present application relates to the field of communications, and in particular, to a data transmission method, apparatus, and device.
Background
Data can be transmitted and received between UEs through Orthogonal Frequency Division Multiple Access (OFDMA).
Currently, when a sending party UE sends data to a receiving party UE through OFDMA, the sending party UE may obtain an idle time-frequency resource of the receiving party UE, randomly select one time-frequency resource from the idle time-frequency resource, and send the data to the receiving party UE. However, the sender UE does not know the existence of other sender UEs, and when a plurality of sender UEs simultaneously send data to the receiver UE, the resources of the receiver UE collide, which results in a high resource collision rate.
Disclosure of Invention
The application provides a data transmission method, a data transmission device and data transmission equipment, which are used for solving the technical problem of high resource collision rate in the prior art.
In a first aspect, the present application provides a data transmission method, including:
the first terminal equipment acquires a resource set from the second terminal equipment;
and the first terminal equipment determines a target resource according to the resource set and sends data to the second terminal equipment through the target resource.
In one possible implementation, the acquiring, by the first terminal device, the set of resources from the second terminal device includes:
when a preset condition is met, the first terminal equipment acquires a resource set from second terminal equipment;
wherein the preset condition comprises at least one of the following conditions:
the data volume of the data to be sent to the second terminal equipment by the first terminal equipment is greater than or equal to a preset threshold value;
the first terminal equipment is to send data to the second terminal equipment periodically;
and the time length between the latest data sending time of the first terminal equipment and the current time is greater than or equal to the preset time length.
In one possible implementation, the acquiring, by the first terminal device, the set of resources from the second terminal device includes:
the first terminal equipment receives the resource set sent by the second terminal equipment
In a possible implementation manner, before the first terminal device receives the set of resources sent by the second terminal device, the method further includes:
the first terminal device sends a request message to the second terminal device, the request message includes a request parameter set, the request parameter set includes at least one group of request parameters, each group of request parameters corresponds to a type of data to be sent, the sending priority of each group of request parameters is positively correlated with the sending priority of the data to be sent corresponding to the request parameters, and the resource set is determined according to the request message.
In one possible embodiment, the request parameter includes at least one of:
identification of the resource pool;
sending a priority;
the duration between the latest data sending time and the current time;
the number of consecutive subchannels of the frequency domain resource;
the number of retransmissions;
a resource reservation period;
a first time domain resource, which is a resource for the first terminal device to send data to other terminal devices except the second terminal device, and/or a resource for the first terminal device to receive data from other terminal devices except the second terminal device;
a number of the first time domain resources.
In a possible implementation, the determining, by the first terminal device, a target resource according to the resource set includes:
the first terminal equipment determines an equipment identifier corresponding to the resource set;
and the first terminal equipment determines the target resource according to the equipment identifier and the resource set.
In a possible implementation manner, the determining, by the first terminal device, the target resource according to the device identifier and the resource set includes:
if the device identifier is the same as the identifier of the first terminal device, the first terminal device determines the target resource in the resource set;
and if the equipment identifier is not the same as the identifier of the first terminal equipment, the first terminal equipment determines the target resource in the resources except the resource set.
In one possible embodiment, the method further comprises:
the first terminal equipment receives a conflict indication, wherein the conflict indication comprises a resource set with conflict;
and the first terminal equipment determines reselection resources according to the conflict indication and sends data to the second terminal equipment through the reselection resources.
In a second aspect, the present application provides another data transmission method, including:
the second terminal equipment determines at least one group of resource sets;
and the second terminal equipment sends the at least one group of resource sets to the first terminal equipment, wherein the resource sets are used for assisting the first terminal equipment to select resources used for sending data.
In a possible embodiment, the second terminal device determines at least one set of resources, including
After receiving a request message sent by the first terminal device, the second terminal device determines the resource set according to the request message, where the request message includes a request parameter set, the request parameter set includes at least one group of request parameters, each group of request parameters corresponds to a type of data to be sent, and the sending priority of each group of request parameters is positively correlated with the sending priority of the data to be sent corresponding to the request parameters; alternatively, the first and second electrodes may be,
when the second terminal device determines that the ratio of resource conflict between the first terminal device and other terminal devices is greater than or equal to a preset ratio, the second terminal device determines a plurality of available resources, and determines the resource set according to the plurality of available resources, wherein the available resources are resources which can be used by the first terminal device to send data to the second terminal device.
In a possible implementation manner, the determining, by the second terminal device, the resource set according to the request message includes:
the second terminal device determines a plurality of available resources, wherein the available resources are resources which can be used by the first terminal device to send data to the second terminal device;
determining the set of resources based on the plurality of available resources and the request message.
In one possible embodiment, the request parameter includes at least one of:
identification of the resource pool;
sending a priority;
the duration between the latest data sending time and the current time;
the number of consecutive subchannels of the frequency domain resource;
the number of retransmissions;
a resource reservation period;
a first time domain resource, which is a resource for the first terminal device to send data to other terminal devices except the second terminal device, and/or a resource for the first terminal device to receive data from other terminal devices except the second terminal device;
a number of the first time domain resources.
In a possible implementation, the sending, by the second terminal device, the set of resources to the first terminal device includes:
the second terminal equipment sets the resource set as a non-filtering type;
and the second terminal equipment sends the resource set of the non-filtering type to the first terminal equipment so as to enable the first terminal equipment to process the resource set.
In one possible embodiment, the method further comprises:
the second terminal equipment determines resource conflict between the first terminal equipment and third terminal equipment;
if the priority of the data to be sent of the first terminal device is higher than the priority of the data to be sent of the third terminal device, the second terminal device sends a first conflict indication to the third terminal device, wherein the first conflict indication is used for indicating the third terminal device to perform resource reselection, and the first conflict indication comprises a resource set with conflict;
and if the priority of the data to be sent of the first terminal device is lower than the priority of the data to be sent of the third terminal device, the second terminal device sends a second conflict indication to the first terminal device, wherein the second conflict indication is used for indicating the first terminal device to perform resource reselection, and the second conflict indication comprises a resource set with conflicts.
In a third aspect, the present application provides a data transmission apparatus, including an obtaining module and a sending module, where:
the acquisition module is used for acquiring a resource set from the second terminal equipment;
and the sending module is used for determining target resources according to the resource set and sending data to the second terminal equipment through the target resources.
In a possible implementation manner, the obtaining module is specifically configured to:
when a preset condition is met, the first terminal equipment acquires a resource set from second terminal equipment;
wherein the preset condition comprises at least one of the following conditions:
the data volume of the data to be sent to the second terminal equipment by the first terminal equipment is greater than or equal to a preset threshold value;
the first terminal equipment is to send data to the second terminal equipment periodically;
and the time length between the latest data sending time of the first terminal equipment and the current time is greater than or equal to the preset time length.
In a possible implementation manner, the obtaining module is specifically configured to:
the first terminal equipment receives the resource set sent by the second terminal equipment
In a possible implementation, the sending module is further configured to:
the first terminal device sends a request message to the second terminal device, the request message includes a request parameter set, the request parameter set includes at least one group of request parameters, each group of request parameters corresponds to a type of data to be sent, the sending priority of each group of request parameters is positively correlated with the sending priority of the data to be sent corresponding to the request parameters, and the resource set is determined according to the request message.
In one possible embodiment, the request parameter includes at least one of:
identification of the resource pool;
sending a priority;
the duration between the latest data sending time and the current time;
the number of consecutive subchannels of the frequency domain resource;
the number of retransmissions;
a resource reservation period;
a first time domain resource, which is a resource for the first terminal device to send data to other terminal devices except the second terminal device, and/or a resource for the first terminal device to receive data from other terminal devices except the second terminal device;
a number of the first time domain resources.
In a possible implementation manner, the sending module is specifically configured to:
the first terminal equipment determines an equipment identifier corresponding to the resource set;
and the first terminal equipment determines the target resource according to the equipment identifier and the resource set.
In a possible implementation manner, the sending module is specifically configured to: if the device identifier is the same as the identifier of the first terminal device, the first terminal device determines the target resource in the resource set;
and if the equipment identifier is not the same as the identifier of the first terminal equipment, the first terminal equipment determines the target resource in the resources except the resource set.
In a possible implementation, the data transmission apparatus further includes a receiving module, where the receiving module is configured to:
the first terminal equipment receives a conflict indication, wherein the conflict indication comprises a resource set with conflict;
and the first terminal equipment determines reselection resources according to the conflict indication and sends data to the second terminal equipment through the reselection resources.
In a fourth aspect, the present application provides another data transmission apparatus, including a determining module and a sending module, wherein:
the determining module is used for determining at least one group of resource sets;
the sending module is configured to send the at least one set of resource sets to a first terminal device, where the resource sets are used to assist the first terminal device in selecting resources used for sending data.
In a possible implementation, the determining module is specifically configured to:
after receiving a request message sent by the first terminal device, the second terminal device determines the resource set according to the request message, where the request message includes a request parameter set, the request parameter set includes at least one group of request parameters, each group of request parameters corresponds to a type of data to be sent, and the sending priority of each group of request parameters is positively correlated with the sending priority of the data to be sent corresponding to the request parameters; alternatively, the first and second electrodes may be,
when the second terminal device determines that the ratio of resource conflict between the first terminal device and other terminal devices is greater than or equal to a preset ratio, the second terminal device determines a plurality of available resources, and determines the resource set according to the plurality of available resources, wherein the available resources are resources which can be used by the first terminal device to send data to the second terminal device.
In a possible implementation, the determining module is specifically configured to: the second terminal device determines a plurality of available resources, wherein the available resources are resources which can be used by the first terminal device to send data to the second terminal device;
determining the set of resources based on the plurality of available resources and the request message.
In one possible embodiment, the request parameter includes at least one of:
identification of the resource pool;
sending a priority;
the duration between the latest data sending time and the current time;
the number of consecutive subchannels of the frequency domain resource;
the number of retransmissions;
a resource reservation period;
a first time domain resource, which is a resource for the first terminal device to send data to other terminal devices except the second terminal device, and/or a resource for the first terminal device to receive data from other terminal devices except the second terminal device;
a number of the first time domain resources.
In a possible implementation manner, the sending module is specifically configured to:
the second terminal equipment sets the resource set as a non-filtering type;
and the second terminal equipment sends the resource set of the non-filtering type to the first terminal equipment so as to enable the first terminal equipment to process the resource set.
In a possible implementation, the determining module is further configured to:
the second terminal equipment determines resource conflict between the first terminal equipment and third terminal equipment;
if the priority of the data to be sent of the first terminal device is higher than the priority of the data to be sent of the third terminal device, the second terminal device sends a first conflict indication to the third terminal device, wherein the first conflict indication is used for indicating the third terminal device to perform resource reselection, and the first conflict indication comprises a resource set with conflict;
and if the priority of the data to be sent of the first terminal device is lower than the priority of the data to be sent of the third terminal device, the second terminal device sends a second conflict indication to the first terminal device, wherein the second conflict indication is used for indicating the first terminal device to perform resource reselection, and the second conflict indication comprises a resource set with conflicts.
In a fifth aspect, an embodiment of the present application provides a terminal device, including: a processor, a memory;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory, causing the processor to perform the data transfer method of any one of the first and second aspects.
In a sixth aspect, embodiments of the present application provide a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is configured to implement the data transmission method according to any one of the first aspect and the second aspect.
In a seventh aspect, the invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the data transmission method according to any one of the preceding claims.
The method comprises the steps that a first terminal device obtains a resource set from a second terminal device, the first terminal device determines a target resource according to the resource set, and sends data to the second terminal device through the target resource. According to the method, before the first terminal device sends data to the second terminal device, the first terminal device can acquire the resource set for assisting in sending the data from the second terminal device, and then sends the data to the second terminal through the resource set provided by the second terminal, so that the problem of resource conflict with other terminals is avoided, and the probability of resource collision is reduced.
Drawings
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a data transmission process according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another data transmission method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a data transmission process according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another data transmission method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present application;
fig. 9 is a schematic diagram of a hardware structure of a terminal device provided in the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
For ease of understanding, the concepts of the present application are explained below.
The terminal equipment: the device has a wireless transceiving function. The terminal equipment can be deployed on land, including indoor or outdoor, handheld, wearable or vehicle-mounted; can also be deployed on the water surface (such as a ship and the like); and may also be deployed in the air (e.g., airplanes, balloons, satellites, etc.). The terminal device may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a vehicle-mounted terminal device, a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), a wearable terminal device, and the like. The terminal device according to the embodiment of the present application may also be referred to as a terminal, a User Equipment (UE), an access terminal device, a vehicle-mounted terminal, an industrial control terminal, a UE unit, a UE station, a mobile station, a remote terminal device, a mobile device, a UE terminal device, a wireless communication device, a UE agent, or a UE apparatus. The terminal equipment may also be fixed or mobile.
In the related art, when data is transmitted and received between UEs through OFDMA or TDMA, a transmitting UE needs to perform data transmission according to idle resources of a receiving UE. For example, the sending UE may obtain idle time-frequency resources of the receiving UE, and randomly select one time-frequency resource from the idle time-frequency resources to send data to the receiving UE. However, the sender UE does not know the existence of other sender UEs (e.g., hidden nodes between UEs), and when multiple sender UEs send data to the receiver UE in the same time-frequency resource, the resources of the receiver UE collide, which further results in a high resource collision rate.
In order to solve the technical problem of high resource collision rate in the related art, an embodiment of the present application provides a data transmission method, where a data amount of data to be sent by a first terminal device to a second terminal device is greater than or equal to a preset threshold, or the first terminal device is to send data to the second terminal device periodically, or a duration between a latest sending time of the data of the first terminal device and a current time is greater than or equal to a preset duration, the first terminal device obtains a resource set from the second terminal device, determines a target resource according to the resource set, and sends the data to the second terminal device through the target resource. Therefore, when the first terminal device sends data to the second terminal device, if the data volume is large, the first terminal device may first obtain the resource set from the second terminal device, and send the data to the second terminal device through the time-frequency resource in the resource set, so as to avoid resource collision between the first terminal device and other sending terminal devices when sending the data to the second terminal device, and further reduce the probability of resource collision.
Next, an application scenario of the embodiment of the present application will be described with reference to fig. 1.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application. Referring to fig. 1, the terminal device includes a first terminal device a, a first terminal device B, and a second terminal device. The second terminal device is respectively connected with the first terminal device A and the first terminal device B in a communication mode. When the first terminal device a sends data to the second terminal device, the second terminal device may send a resource set to the first terminal device a, and the first terminal device a selects a target time-frequency resource in the resource set, and then sends the data to the second terminal device through the target time-frequency resource. Therefore, the second terminal device can assist the first terminal device in data transmission, when the first terminal device transmits data to the second terminal device, the first terminal device can select time-frequency resources which can successfully transmit data to the second terminal device from a resource set provided by the second terminal device, resource conflict with other terminal devices is avoided, and resource collision probability is further reduced.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following embodiments may exist alone or in combination with each other, and description of the same or similar contents is not repeated in different embodiments.
Fig. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present application. Referring to fig. 2, the method may include:
s201, the first terminal device obtains a resource set from the second terminal device.
The execution main body of the embodiment of the application may be the first terminal device, and may also be a data transmission device disposed in the first terminal device. Wherein the data transmission means may be implemented by a combination of software and/or hardware.
Optionally, the first terminal device is a device for sending data, and the second terminal device is a device for receiving data. For example, if terminal a transmits data to terminal B through Orthogonal Frequency Division Multiple Access (OFDMA) or Time Division Multiple Access (TDMA), terminal a is a first terminal and terminal B is a second terminal; if terminal device B sends data to terminal device a through OFDMA or TDMA, terminal device B is a first terminal device, and terminal device a is a second terminal device.
Optionally, the resource set is used to assist the first terminal device to select an air interface time-frequency resource when sending data to the second terminal device. The resource set comprises at least one air interface time frequency resource. For example, the resource set may include multiple air interface time-frequency resources, and the first terminal device may send data to the second terminal device according to the multiple air interface time-frequency resources.
Alternatively, the resource set may be a preferred resource set or a non-preferred resource set. The preferred resource set is a set of time-frequency resources that the second terminal device can successfully receive data from the first terminal device. For example, if the first terminal device can successfully send data to the second terminal device in time-frequency resource a, time-frequency resource B, and time-frequency resource C, the preferred resource set may include time-frequency resource a, time-frequency resource B, and time-frequency resource C.
The non-preferred resource set is a set of time-frequency resources in which the second terminal device cannot successfully receive data from the first terminal device, for example, if the second terminal device receives data from other terminal devices in time-frequency resource a, time-frequency resource B, and time-frequency resource C, the second terminal device cannot receive data from the first terminal device through time-frequency resource a, time-frequency resource B, and time-frequency resource C, and therefore the non-preferred resource set sent by the second terminal device to the first terminal device may include time-frequency resource a, time-frequency resource B, and time-frequency resource C.
Optionally, the first terminal device may obtain the resource set from the second terminal device through the following feasible implementation manners: and when the preset condition is met, the first terminal equipment acquires the resource set from the second terminal equipment. Wherein the preset condition comprises at least one of the following conditions: the data volume of data to be sent to the second terminal equipment by the first terminal equipment is larger than or equal to a preset threshold value. For example, if the first terminal device is ready to send data exceeding a maximum transmission data amount of one sub-channel to the second terminal device, the first terminal device determines that the preset condition is satisfied, and the first terminal device acquires the resource set from the second terminal device.
The first terminal equipment is to send data to the second terminal equipment periodically. For example, if the first terminal device needs to periodically send data to the second terminal device, the first terminal device may obtain a resource set from the second terminal device, and select a suitable time-frequency resource from the resource set, so as to periodically send data to the second terminal device.
The time length between the latest data sending time of the first terminal equipment and the current time is greater than or equal to the preset time length. For example, if the duration between the latest data transmission time of the first terminal device and the current time is greater than or equal to the preset duration, it indicates that the packet delay budget of the data transmitted by the first terminal device is sufficient, and the first terminal device may obtain the resource set from the second terminal device.
Optionally, the obtaining, by the first terminal device, the resource set from the second terminal device specifically includes: and the first terminal equipment receives the resource set sent by the second terminal equipment. For example, after the second terminal device determines the preferred resource set and/or the non-preferred resource set corresponding to the first terminal device, the second terminal device may send the preferred resource set and/or the non-preferred resource set to the first terminal device, so that the first terminal device obtains the preferred resource set and/or the non-preferred resource set.
S202, the first terminal device determines target resources according to the resource set.
Optionally, the target resource is a time-frequency resource used when the first terminal device sends data to the second terminal device. For example, when the resource set is the preferred resource set, the first terminal device may select a time-frequency resource in the resource set as the target resource, and send data to the second terminal device through the time-frequency resource, and when the resource set is the non-preferred resource set, the first terminal device does not select the target resource in the non-preferred resource set when selecting the target resource.
Optionally, the target resource may be determined according to the following feasible implementation manners: and the first terminal equipment determines the equipment identification corresponding to the resource set. Optionally, the device identifier may be an ID of a destination terminal device corresponding to the resource set. For example, the second terminal device sends the resource set to the first terminal device, and if the identifier of the first terminal device is L2 ID, the device identifier corresponding to the resource set is L2 ID.
And the first terminal equipment determines the target resource according to the equipment identifier and the resource set. Optionally, when the second terminal device sends the resource set to the first terminal device, the other terminal devices may also obtain the resource set sent by the second terminal device. For example, the first terminal device a, the first terminal device B, and the first terminal device C all have sent data to the second terminal device, and when the second terminal device sends the resource set to the first terminal device a, the first terminal device B and the first terminal device C may also obtain the resource set.
Optionally, if the device identifier is the same as the device identifier of the first terminal device, the first terminal device determines the target resource in the resource set. For example, if the device identifier corresponding to the resource set is the same as the device identifier of the first terminal device, it is determined that the resource set is sent to the first terminal device, if the resource set is the preferred resource set, the first terminal device selects one time-frequency resource (e.g., any time-frequency resource at the intersection of the selectable resource set of the first terminal device and the preferred resource set) in the preferred resource set as a target resource, and if the resource set is the non-preferred resource set, all time-frequency resources in the non-preferred resource set are excluded when the first terminal device selects the time-frequency resource.
And if the equipment identifier is not the same as the identifier of the first terminal equipment, the first terminal equipment determines the target resource in the resources except the resource set. For example, if the device identifier corresponding to the resource set is different from the device identifier of the first terminal device, it is determined that the resource set is not sent to the first terminal device, if the resource set is the preferred resource set, the first terminal device excludes the preferred resource set from the available resource set provided by the PHY layer, and if the resource set is the non-preferred resource set, when the first terminal device selects the time-frequency resource, the time-frequency resource that has not been selected before by the first terminal device in the non-preferred resource set is excluded from the available resource provided by the PHY layer.
Optionally, the second terminal device may set the resource set to a non-filtering type, so that the first terminal device processes the resource set. For example, when the second terminal device sends the resource set, the second terminal device may set the resource set as non-filterable, so that other first terminal devices may receive and parse the resource set. For example, the second terminal device may split a part of bits from the data field, and define the part of bits as "enable switch of the unfiltered resource set", and set a new value as "enable", and if the enable switch of the unfiltered resource set of the other first terminal devices is enabled, the other first terminal devices may also receive and parse the resource set. For example, when the second terminal device sends the resource set to the first terminal device, the other first terminal devices may also receive the resource set, if the enable switch of the non-filtered resource set of the other first terminal devices is off, the other first terminal devices may automatically filter the resource set, and if the enable switch of the non-filtered resource set of the other first terminal devices is on, the other first terminal devices may parse the resource set after receiving the resource set.
Optionally, after the first terminal device selects the time-frequency resource to send data to the second terminal device, the first terminal device excludes the used time-frequency resource from the available resource set. For example, the available resource set of the first terminal device includes a time-frequency resource a, a time-frequency resource B, and a time-frequency resource C, and if the first terminal device uses the time-frequency resource a to send data to the second terminal device, the first terminal device deletes the time-frequency resource a from the available resource set.
S203, the first terminal device sends data to the second terminal device through the target resource.
Optionally, after the first terminal device determines the target resource, the first terminal device may send data to the second terminal device through the target resource. For example, after the first terminal device determines the time-frequency resource, the data may be sent to the second terminal device through the time-frequency resource.
Next, a procedure of transmitting data from the first terminal device to the second terminal device will be described with reference to fig. 3.
Fig. 3 is a schematic diagram of a data transmission process according to an embodiment of the present application. Please refer to fig. 3, which includes a first terminal device and a second terminal device. The second terminal device sends the resource set to the first terminal device. The first terminal equipment determines that the target resource is a time-frequency resource A in the resource set. And the first terminal equipment sends data to the second terminal equipment through the time-frequency resource A.
The embodiment of the application provides a data transmission method, when data volume of data to be sent to a second terminal device by a first terminal device is larger than or equal to a preset threshold, or the data to be sent to the second terminal device by the first terminal device is periodically sent by the first terminal device, or time between the latest sending time of the data of the first terminal device and the current time is larger than or equal to preset time, the first terminal device receives a resource set sent by the second terminal device, determines a device identifier corresponding to the resource set by the first terminal device, determines a target resource according to the device identifier and the resource set, and sends the data to the second terminal device through the target resource. Therefore, when the first terminal device sends data to the second terminal device, the first terminal device can first obtain the resource set for auxiliary data sending from the second terminal device, and send data to the second terminal device according to the time-frequency resource in the resource set, so that resource conflict between the first terminal device and other sending terminal devices when the first terminal device sends data to the second terminal device is avoided, and the probability of resource collision is further reduced.
Based on the embodiment shown in fig. 2, the following describes the data transmission method in detail with reference to fig. 4.
Fig. 4 is a flowchart illustrating another data transmission method according to an embodiment of the present application. Referring to fig. 4, the process of the method includes:
s401, the first terminal device sends a request message to the second terminal device.
Optionally, the request message is used to request the second terminal device for the resource set, so as to assist the first terminal device in selecting the air interface time-frequency resource when sending data to the second terminal device. The request message comprises a request parameter set, the request parameter set comprises at least one group of request parameters, each group of request parameters corresponds to a type of data to be sent, and the sending priority of each group of request parameters is positively correlated with the sending priority of the data to be sent corresponding to the request parameters. For example, if there are 2 types of data to be sent in the first terminal, the request parameter set includes 2 sets of request parameters.
And the resource set of the second terminal equipment is determined according to the request message. For example, the second terminal device may allocate a corresponding resource set to the first terminal device according to the request message sent by the first terminal device.
Optionally, when the first terminal device sends the inter-UE coordination message to the second terminal device, the first terminal device may add a request message including the request parameter to the inter-UE coordination message. For example, the first terminal device may add a display request message including the request parameter in the inter-UE coordination message.
Optionally, the request parameter includes at least one of the following: the method comprises the steps of identification of a resource pool, sending priority, duration between the latest sending time of data and the current time, the number of continuous sub-channels of frequency domain resources, retransmission times, a resource reservation period, first time domain resources and the number of the first time domain resources.
The identifier of the resource pool is used for indicating the resource pool required by the first terminal device when sending data. For example, when the first terminal device sends data to the second terminal device, the time-frequency resource may be selected in the first resource pool, or the time-frequency resource may be selected in the second resource pool, and the second terminal device determines, through the resource pool identifier, the resource pool where the time-frequency resource in the resource set is located.
The sending priority is the transmission priority of the data. For example, if the priority of data transmitted by the first terminal device to the second terminal device is high, the first terminal device may add a message with a high priority to the inter-UE coordination message when transmitting the inter-UE coordination message to the second terminal device.
The duration between the latest data transmission time and the current time may be a remaining delay budget duration for data transmission. For example, if the duration between the latest transmission time and the current time of the data transmitted by the first terminal device to the second terminal device is 10 milliseconds, the second terminal device selects a resource set from a plurality of time-frequency resources within 10 milliseconds.
The number of the continuous sub-channels of the frequency domain resource is the number of the continuous sub-channels required when the first terminal device sends data to the second terminal device. For example, if the number of consecutive subchannels of the frequency-domain resource is 2, it indicates that the first terminal device needs to transmit data to the second terminal device through 2 consecutive subchannels.
The number of retransmissions is the number of retransmissions of data from the first terminal device to the second terminal device. For example, if the number of retransmissions is 2, when the first terminal device fails to transmit data to the second terminal device for the first time, the first terminal device may also retransmit the data to the second terminal device 2 times.
The resource reservation period is a period in which the first terminal device transmits data to the second terminal device. For example, if the resource reservation period is 10, it means that the first terminal device needs to send data to the second terminal device at 10 consecutive time resource units (for example, time slots or milliseconds) at periodic intervals, and the second terminal device needs to allocate corresponding time-frequency resources for each data transmission.
The first time domain resource is a resource for the first terminal device to transmit data to other devices except the second terminal device, and/or a resource for the first terminal device to receive data from other terminal devices except the second terminal device. For example, if the first terminal device sends data to other terminal devices except the second terminal device through the time-frequency resource a, the first time-domain resource includes the time-frequency resource a, and if the first terminal device receives data from other terminal devices except the second terminal device through the time-frequency resource B, the first time-domain resource includes the time-frequency resource B. Optionally, when the inter-UE coordination message sent by the first terminal device to the second terminal device includes the first time domain resource, the first terminal device may add the number of the first time domain resource. For example, if the first time domain resource includes a time frequency resource a and a time frequency resource B, the number of the first time domain resource is 2.
Optionally, there is a parameter priority between the request parameters, and the first terminal device edits the request message according to the parameter priority. For example, if the priority of the identifier of the resource pool is higher than the priority of the retransmission times, the position corresponding to the identifier of the resource pool in the request message is located before the position of the retransmission times, so that the first terminal device may clip the last message of the request message when the network communication quality is poor, and further, the transmission quality of the data may be ensured. Optionally, there is a priority between each set of request parameters. For example, the transmission priority of each group of request parameters is the same as the transmission priority of the corresponding data to be transmitted, the multiple groups of request parameters carried in the request message are arranged according to the order of the transmission priority, and the high-priority request parameters are arranged in the front, so that when the quality of the wireless channel is poor, the high-priority request parameters can be preferentially transmitted, so that the second terminal preferentially allocates the resource set for the data to be transmitted with high priority.
Optionally, the first terminal device may send the request message (inter-UE coordination message) to the second terminal device when the enable switch of the request message (inter-UE coordination message) is turned on. For example, if the inter-UE coordination message of the first terminal device is enabled, the first terminal device may send the inter-UE coordination message to the second terminal device, and if the inter-UE coordination message of the first terminal device is not enabled, the first terminal device may not send the inter-UE coordination message to the second terminal device.
S402, the first terminal device receives the resource set sent by the second terminal device.
Optionally, after the first terminal device sends the request message to the second terminal device, the second terminal device may send the resource set to the first terminal device according to the request message set. Optionally, when the second terminal device does not receive the request message sent by the first terminal device, the second terminal device may also determine the resource set, and send the resource set to the first terminal device.
S403, the first terminal device determines the target resource according to the resource set.
Next, a procedure of transmitting data from the first terminal device to the second terminal device will be described with reference to fig. 5.
Fig. 5 is a schematic diagram of a data transmission process according to an embodiment of the present application. Please refer to fig. 5, which includes a first terminal device and a second terminal device. The first terminal device sends a request message to the second terminal device, and the second terminal device determines a resource set corresponding to the first terminal device after receiving the request message of the first terminal device. And the second terminal equipment sends the resource set to the first terminal equipment, and after receiving the resource set, the first terminal equipment determines the target resource and sends data to the second terminal equipment through the target resource.
Optionally, when the first terminal device determines the target resource, the data transmission method further includes a collision processing process, where the collision processing process specifically includes: the first terminal device receives the conflict indication. The conflict indication is used for indicating that the time-frequency resource of the first terminal equipment for sending the data conflicts with the time-frequency resource of other terminal equipment for sending the data, and the conflict indication comprises a resource set with conflicts. For example, when the first terminal device a sends data to the second terminal device through the time-frequency resource a, if the first terminal device B also sends data to the second terminal device through the time-frequency resource a, the second terminal device may send a collision indication to the first terminal device a, or the second terminal device may send a collision indication to the first terminal device B, where the collision indication includes the time-frequency resource a.
Optionally, the second terminal device may send a collision indication to the first terminal device according to the data priority. For example, when the priority of data transmitted by the first terminal device is lower than the priority of data transmitted by other terminal devices, the second terminal device may transmit a collision indication to the first terminal device to assist the first terminal device in reselecting the time-frequency resource. For example, when the future collision indication switch is enabled, the first terminal device a and the first terminal device B simultaneously transmit data to the second terminal device, and the collision timeslot offset value is greater than or equal to the time domain resource offset value threshold, if the priority of the data transmitted by the first terminal device a is lower than the priority of the data transmitted by the first terminal device B, the second terminal device transmits a collision indication to the first terminal device a, so as to assist the first terminal device a in performing resource reselection.
And the first terminal equipment determines reselection resources according to the conflict indication and sends data to the second terminal equipment through the reselection resources. For example, when the first terminal device reselects the resource, the time-frequency resource which will conflict in the future is excluded. For example, if the first terminal device may have a resource conflict with other terminal devices in the time-frequency resource a, the first terminal device may not select the time-frequency resource a when reselecting the time-frequency resource.
S404, the first terminal device sends data to the second terminal device through the target resource.
The embodiment of the application provides a data transmission method, wherein a first terminal device sends a request message to a second terminal device, the first terminal device receives a resource set sent by the second terminal device, the first terminal device determines a target resource according to the resource set, and sends data to the second terminal device through the target resource. Therefore, the first terminal equipment can actively request to acquire the resource set of the second terminal equipment, and the second terminal equipment can accurately configure the resource set for the first terminal equipment according to the request parameters so as to assist the first terminal equipment to send data to the second terminal equipment, avoid resource conflict between the first terminal equipment and other terminal equipment and further reduce resource collision rate.
On the basis of any of the above embodiments, another data transmission method is described in detail below with reference to fig. 6.
Fig. 6 is a flowchart illustrating another data transmission method according to an embodiment of the present application. Referring to fig. 6, the method includes:
s601, the second terminal device determines at least one group of resource sets.
The execution main body of the embodiment of the application may be the second terminal device, and may also be a data transmission device disposed in the second terminal device. Wherein the data transmission means may be implemented by a combination of software and/or hardware.
Optionally, each group of resource sets corresponds to a type of data to be sent. For example, if there are 3 types of data to be sent in the first terminal, the number of the resource sets is 3, each resource set includes information such as a resource starting position, an offset value, a resource identifier, a sending priority, a reservation period, and the like, where the sending priority of the resource set is the sending priority of the data to be sent corresponding to the resource set, the 3 resource sets are arranged according to the order of the sending priorities, the high-priority resource set is arranged in the front, and when the wireless channel condition is poor, only the high-priority resource set is sent, so that the first terminal can use the resource set to send the data to be sent with high priority in a limited way, and it can avoid that the low-priority data of other terminals seize the resource.
Optionally, the second terminal device determines that the resource set has the following two cases:
case 1: the second terminal device receives the request message.
After the second terminal device receives the request message sent by the first terminal device, the second terminal device determines the resource set according to the request message. Wherein, the request message includes request parameters. For example, after the second terminal device receives the request message, the second terminal device may determine the resource set of the first terminal device according to the request parameter set in the request message, where the request parameter set includes at least one group of request parameters, each group of request parameters corresponds to a type of data to be sent, and the sending priority of each group of request parameters is positively correlated with the sending priority of the data to be sent corresponding to the request parameters. Optionally, the resource set may be determined according to the request message according to the following feasible implementation manners: the second terminal device determines a plurality of available resources. The available resource is a resource which can be used by the first terminal device to send data to the second terminal device. Optionally, the request parameter includes at least one of the following: the method comprises the steps of identification of a resource pool, sending priority, duration between the latest sending time of data and the current time, the number of continuous sub-channels of frequency domain resources, retransmission times, a resource reservation period, first time domain resources and the number of the first time domain resources.
A set of resources is determined based on the plurality of available resources and the request message. For example, after the second terminal device receives the request message, the second terminal device may select, according to the request parameter of the first terminal device, at least one time-frequency resource corresponding to the request parameter from among the plurality of available resources, and determine the selected time-frequency resource as the resource set. For example, the second terminal device may determine, according to the identifier of the resource pool, the time-frequency resource in the corresponding resource pool in the idle resource, select, according to the number of the consecutive subchannels of the frequency-domain resource, the time-frequency resource in the resource pool that satisfies the number of the consecutive subchannels, and so on, and then accurately determine, in the idle time-frequency resource, the resource set of the first terminal device.
Case 2: the second terminal device does not receive the request message.
Optionally, when the second terminal device does not receive the request message sent by the first terminal device, and when the second terminal device determines that the ratio of resource conflicts between the first terminal device and other terminal devices is greater than or equal to the preset ratio, the second terminal device determines a plurality of available resources, and determines a resource set according to the plurality of available resources. The available resource is a resource which can be used by the first terminal device to send data to the second terminal device.
Optionally, the available resource is a time-frequency resource that the first terminal device can successfully send data to the second terminal device. For example, the available resource may be an idle resource that is not reserved or reserved by the second terminal device and other terminal devices, or the available resource may be a resource that is reserved by other terminal devices to the second terminal device and has a priority of data to be carried that is smaller than a priority of data to be sent by the first terminal device and has a signal strength that is smaller than a first threshold, or the available resource may be a resource that is reserved by other terminal devices to another second terminal device and has a priority of data to be carried that is smaller than a priority of data to be sent by the first terminal device and has a signal strength that is smaller than a first threshold. For example, if a first terminal device conflicts with a plurality of terminal devices in sending resources, a second terminal device may actively determine a resource set corresponding to the first terminal device. For example, if a first terminal device a has a resource conflict with a first terminal device B, a first terminal device C, and a first terminal device D, it is determined that a ratio of the resource conflict between the first terminal device a and other terminal devices is greater than a preset ratio, and a second terminal device may determine a resource set corresponding to the first terminal device a.
Optionally, when the second terminal device determines the resource set according to the multiple available resources, the second terminal device may determine the request parameter corresponding to the first terminal device according to the previously received characteristic of the data sent by the first terminal device, and further determine the resource set corresponding to the first terminal device according to the request parameter in the available resources. For example, when the ratio of resource conflict between the first terminal device and other terminal devices is greater than the preset ratio, the second terminal device may obtain the last request parameter sent by the first terminal device from the database, and determine the resource set corresponding to the first terminal device according to the last request parameter sent and the idle time-frequency resource of the second terminal device.
S602, the second terminal device sends at least one group of resource sets to the first terminal device.
Optionally, the resource set is used to assist the first terminal device in selecting the resource used for transmitting data. For example, the resource set may be a preferred resource set or a non-preferred resource set, the first terminal device may determine, through the preferred resource set, a time-frequency resource used when sending data to the second terminal device, and the first terminal device may also determine, through the non-preferred resource set, a time-frequency resource used when sending data to the second terminal device.
Optionally, before the second terminal device sends the resource set to the first terminal device, the second terminal device sets the resource set as a non-filtering type. And the second terminal equipment sends the resource set of the non-filtering type to the first terminal equipment so that the first terminal equipment processes the resource set. For example, if the second terminal device sets the resource set as a non-filtering type, all terminal devices receiving the resource set may parse the resource set.
Optionally, the data transmission method further includes a resource conflict resolution process, specifically: the second terminal device determines that the first terminal device and the third terminal device have resource conflict. Optionally, the third terminal device is a device that sends data to the second terminal device. Optionally, the second terminal device may determine that the first terminal device and the third terminal device have resource conflict according to the reserved time-frequency resource of the first terminal device and the reserved time-frequency resource of the third terminal device. For example, if the first terminal device transmits data to the second terminal device in the 1 st resource block after approximately 10 ms in advance, and the third terminal device also transmits data to the second terminal device in the 1 st resource block after approximately 10 ms in advance, the second terminal device determines that the resources of the first terminal device and the third terminal device conflict.
And if the priority of the data to be sent of the first terminal equipment is higher than that of the data to be sent of the third terminal equipment, the second terminal equipment sends a first conflict indication to the third terminal equipment. And the first conflict indication is used for indicating the third terminal equipment to reselect the resource. For example, when the priority of the data sent by the first terminal device is higher than the priority of the data sent by the third terminal device, the second terminal device sends the first collision indication to the third terminal device, so that the third terminal device reselects the time-frequency resource, thereby avoiding resource collision with the first terminal device and reducing the resource collision probability.
And if the priority of the data to be sent of the first terminal equipment is lower than the priority of the data to be sent of the third terminal equipment, the second terminal equipment sends a second conflict indication to the first terminal equipment. And the second conflict indication is used for indicating the first terminal equipment to perform resource reselection. For example, when the priority of data sent by the first terminal device is lower than the priority of data sent by the third terminal device, the second terminal device sends a second collision indication to the first terminal device, so that the first terminal device reselects the time-frequency resource, thereby avoiding resource collision with the third terminal device and reducing the resource collision probability.
The embodiment of the application provides a data transmission method, wherein a second terminal device determines a resource set, and sends the resource set to a first terminal device. Therefore, before the second terminal device receives the data sent by the first terminal device, the second terminal device can send the resource set to the first terminal device to assist the first terminal device to select the time-frequency resource when sending the data to the second terminal device, and through the coordination message between the UEs, the resource conflict between the terminal devices can be effectively avoided, so that the resource collision probability is reduced.
Fig. 7 is a schematic structural diagram of a data transmission device according to an embodiment of the present application. Referring to fig. 7, the data transmission apparatus 10 includes an obtaining module 11 and a sending module 12, wherein:
the obtaining module 11 is configured to obtain a resource set from a second terminal device;
the sending module 12 is configured to determine a target resource according to the resource set, and send data to the second terminal device through the target resource.
In a possible implementation manner, the obtaining module 11 is specifically configured to:
when a preset condition is met, the first terminal equipment acquires a resource set from second terminal equipment;
wherein the preset condition comprises at least one of the following conditions:
the data volume of the data to be sent to the second terminal equipment by the first terminal equipment is greater than or equal to a preset threshold value;
the first terminal equipment is to send data to the second terminal equipment periodically;
and the time length between the latest data sending time of the first terminal equipment and the current time is greater than or equal to the preset time length.
In a possible implementation manner, the obtaining module 11 is specifically configured to:
the first terminal equipment receives the resource set sent by the second terminal equipment
In a possible implementation, the sending module is further configured to:
the first terminal device sends a request message to the second terminal device, the request message includes a request parameter set, the request parameter set includes at least one group of request parameters, each group of request parameters corresponds to a type of data to be sent, the sending priority of each group of request parameters is positively correlated with the sending priority of the data to be sent corresponding to the request parameters, and the resource set is determined according to the request message.
In one possible embodiment, the request parameter includes at least one of:
identification of the resource pool;
sending a priority;
the duration between the latest data sending time and the current time;
the number of consecutive subchannels of the frequency domain resource;
the number of retransmissions;
a resource reservation period;
a first time domain resource, which is a resource for the first terminal device to send data to other terminal devices except the second terminal device, and/or a resource for the first terminal device to receive data from other terminal devices except the second terminal device;
a number of the first time domain resources.
In a possible implementation manner, the sending module 12 is specifically configured to:
the first terminal equipment determines an equipment identifier corresponding to the resource set;
and the first terminal equipment determines the target resource according to the equipment identifier and the resource set.
In a possible implementation manner, the sending module is specifically configured to: if the device identifier is the same as the identifier of the first terminal device, the first terminal device determines the target resource in the resource set;
and if the equipment identifier is not the same as the identifier of the first terminal equipment, the first terminal equipment determines the target resource in the resources except the resource set.
In a possible implementation manner, the data transmission apparatus further includes a receiving module 13, where the receiving module 13 is configured to:
the first terminal equipment receives a conflict indication, wherein the conflict indication comprises a resource set with conflict;
and the first terminal equipment determines reselection resources according to the conflict indication and sends data to the second terminal equipment through the reselection resources.
The data transmission device provided in the embodiment of the present application can implement the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
The data transmission device shown in the embodiment of the application can be a chip, a hardware module, a processor and the like. Of course, the data transmission device may have other forms, and this embodiment of the present application is not particularly limited thereto.
Fig. 8 is a schematic structural diagram of another data transmission device according to an embodiment of the present application. Referring to fig. 8, the data transmission apparatus 20 includes a determining module 21 and a sending module 22, wherein:
the determining module 21 is configured to determine at least one set of resource sets;
the sending module 22 is configured to send the resource set to a first terminal device, where the resource set is used to assist the first terminal device in selecting resources used for sending data.
In a possible implementation, the determining module 21 is specifically configured to:
after receiving a request message sent by the first terminal device, the second terminal device determines the resource set according to the request message, where the request message includes a request parameter set, the request parameter set includes at least one group of request parameters, each group of request parameters corresponds to a type of data to be sent, and the sending priority of each group of request parameters is positively correlated with the sending priority of the data to be sent corresponding to the request parameters; alternatively, the first and second electrodes may be,
when the second terminal device determines that the ratio of resource conflict between the first terminal device and other terminal devices is greater than or equal to a preset ratio, the second terminal device determines a plurality of available resources, and determines the resource set according to the plurality of available resources, wherein the available resources are resources to be used by other terminal devices.
In a possible implementation, the determining module 21 is specifically configured to:
the second terminal equipment determines a plurality of available resources, wherein the available resources are resources to be used by other terminal equipment;
determining the set of resources based on the plurality of available resources and the request message.
In one possible embodiment, the request parameter includes at least one of:
identification of the resource pool;
sending a priority;
the duration between the latest data sending time and the current time;
the number of consecutive subchannels of the frequency domain resource;
the number of retransmissions;
a resource reservation period;
a first time domain resource, which is a resource for the first terminal device to send data to other terminal devices except the second terminal device, and/or a resource for the first terminal device to receive data from other terminal devices except the second terminal device;
a number of the first time domain resources.
In a possible implementation, the sending module 22 is specifically configured to:
the second terminal equipment sets the resource set as a non-filtering type;
and the second terminal equipment sends the resource set of the non-filtering type to the first terminal equipment so as to enable the first terminal equipment to process the resource set.
In a possible implementation, the determining module 21 is further configured to:
the second terminal equipment determines resource conflict between the first terminal equipment and third terminal equipment;
if the priority of the data to be sent of the first terminal device is higher than the priority of the data to be sent of the third terminal device, the second terminal device sends a first conflict indication to the third terminal device, wherein the first conflict indication is used for indicating the third terminal device to perform resource reselection, and the first conflict indication comprises a resource set with conflict;
and if the priority of the data to be sent of the first terminal device is lower than the priority of the data to be sent of the third terminal device, the second terminal device sends a second conflict indication to the first terminal device, wherein the second conflict indication is used for indicating the first terminal device to perform resource reselection, and the second conflict indication comprises a resource set with conflicts.
The data transmission device provided in the embodiment of the present application can implement the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
The data transmission device shown in the embodiment of the application can be a chip, a hardware module, a processor and the like. Of course, the data transmission device may have other forms, and this embodiment of the present application is not particularly limited thereto.
Fig. 9 is a schematic diagram of a hardware structure of a terminal device provided in the present application. Referring to fig. 9, the terminal device 30 may include: a processor 31 and a memory 32, wherein the processor 31 and the memory 32 may be in communication; illustratively, the processor 31 and the memory 32 communicate via a communication bus 33, the memory 32 being configured to store program instructions, the processor 31 being configured to invoke the program instructions in the memory to perform the data transfer method illustrated in any of the above-described method embodiments.
Optionally, the terminal device 30 may further comprise a communication interface, which may comprise a transmitter and/or a receiver.
Optionally, the Processor may be a Central Processing Unit (CPU), or may be another general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
A readable storage medium having a computer program stored thereon; the computer program is for implementing a data transmission method as described in any of the embodiments above.
The embodiment of the application provides a computer program product, which comprises instructions, and when the instructions are executed, the instructions cause a computer to execute the data transmission method.
All or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be stored in a readable memory. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape (magnetic tape), floppy disk (flexible disk), optical disk (optical disk), and any combination thereof.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable terminal device to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable terminal equipment to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable terminal device to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.
In the present application, the terms "include" and variations thereof may refer to non-limiting inclusions; the term "or" and variations thereof may mean "and/or". The terms "first," "second," and the like in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. In the present application, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.

Claims (18)

1. A method of data transmission, comprising:
the first terminal equipment acquires a resource set from the second terminal equipment;
and the first terminal equipment determines a target resource according to the resource set and sends data to the second terminal equipment through the target resource.
2. The data transmission method according to claim 1, wherein the first terminal device obtains the resource set from the second terminal device, including:
when a preset condition is met, the first terminal equipment acquires a resource set from second terminal equipment;
wherein the preset condition comprises at least one of the following conditions:
the data volume of the data to be sent to the second terminal equipment by the first terminal equipment is greater than or equal to a preset threshold value;
the first terminal equipment is to send data to the second terminal equipment periodically;
and the time length between the latest data sending time of the first terminal equipment and the current time is greater than or equal to the preset time length.
3. The data transmission method according to claim 2, wherein the first terminal device obtains the resource set from the second terminal device, and comprises:
and the first terminal equipment receives the resource set sent by the second terminal equipment.
4. The data transmission method according to claim 3, wherein before the first terminal device receives the set of resources sent by the second terminal device, the method further comprises:
the first terminal device sends a request message to the second terminal device, the request message includes a request parameter set, the request parameter set includes at least one group of request parameters, each group of request parameters corresponds to a type of data to be sent, the sending priority of each group of request parameters is positively correlated with the sending priority of the data to be sent corresponding to the request parameters, and the resource set is determined according to the request message.
5. The data transmission method according to claim 4, wherein the request parameter comprises at least one of:
identification of the resource pool;
sending a priority;
the duration between the latest data sending time and the current time;
the number of consecutive subchannels of the frequency domain resource;
the number of retransmissions;
a resource reservation period;
a first time domain resource, which is a resource for the first terminal device to send data to other terminal devices except the second terminal device, and/or a resource for the first terminal device to receive data from other terminal devices except the second terminal device;
a number of the first time domain resources.
6. The data transmission method according to any one of claims 1 to 5, wherein the determining, by the first terminal device, a target resource according to the set of resources comprises:
the first terminal equipment determines an equipment identifier corresponding to the resource set;
and the first terminal equipment determines the target resource according to the equipment identifier and the resource set.
7. The data transmission method according to claim 6, wherein the determining, by the first terminal device, the target resource according to the device identifier and the resource set comprises:
if the device identifier is the same as the identifier of the first terminal device, the first terminal device determines the target resource in the resource set;
and if the equipment identifier is not the same as the identifier of the first terminal equipment, the first terminal equipment determines the target resource in the resources except the resource set.
8. The data transmission method according to any one of claims 1 to 5, characterized in that the method further comprises:
the first terminal equipment receives a conflict indication, wherein the conflict indication comprises a resource set with conflict;
and the first terminal equipment determines reselection resources according to the conflict indication and sends data to the second terminal equipment through the reselection resources.
9. A method of data transmission, comprising:
the second terminal equipment determines at least one group of resource sets;
and the second terminal equipment sends the at least one group of resource sets to the first terminal equipment, wherein the resource sets are used for assisting the first terminal equipment to select resources used for sending data.
10. The data transmission method of claim 9, wherein the determining, by the second terminal device, at least one set of resources comprises:
after receiving a request message sent by the first terminal device, the second terminal device determines the resource set according to the request message, where the request message includes a request parameter set, the request parameter set includes at least one group of request parameters, each group of request parameters corresponds to a type of data to be sent, and the sending priority of each group of request parameters is positively correlated with the sending priority of the data to be sent corresponding to the request parameters; alternatively, the first and second electrodes may be,
when the second terminal device determines that the ratio of resource conflict between the first terminal device and other terminal devices is greater than or equal to a preset ratio, the second terminal device determines a plurality of available resources, and determines the resource set according to the plurality of available resources, wherein the available resources are resources which can be used by the first terminal device to send data to the second terminal device.
11. The data transmission method according to claim 10, wherein the determining, by the second terminal device, the set of resources according to the request message comprises:
the second terminal device determines a plurality of available resources, wherein the available resources are resources which can be used by the first terminal device to send data to the second terminal device;
determining the set of resources based on the plurality of available resources and the request message.
12. The data transmission method according to claim 10 or 11, wherein the request parameter comprises at least one of:
identification of the resource pool;
sending a priority;
the duration between the latest data sending time and the current time;
the number of consecutive subchannels of the frequency domain resource;
the number of retransmissions;
a resource reservation period;
a first time domain resource, which is a resource for the first terminal device to send data to other terminal devices except the second terminal device, and/or a resource for the first terminal device to receive data from other terminal devices except the second terminal device;
a number of the first time domain resources.
13. The data transmission method according to any one of claims 9 to 11, wherein the sending, by the second terminal device, the set of resources to the first terminal device comprises:
the second terminal equipment sets the resource set as a non-filtering type;
and the second terminal equipment sends the resource set of the non-filtering type to the first terminal equipment so as to enable the first terminal equipment to process the resource set.
14. The data transmission method according to any one of claims 9 to 11, characterized in that the method further comprises:
the second terminal equipment determines resource conflict between the first terminal equipment and third terminal equipment;
if the priority of the data to be sent of the first terminal device is higher than the priority of the data to be sent of the third terminal device, the second terminal device sends a first conflict indication to the third terminal device, wherein the first conflict indication is used for indicating the third terminal device to perform resource reselection, and the first conflict indication comprises a resource set with conflict;
and if the priority of the data to be sent of the first terminal device is lower than the priority of the data to be sent of the third terminal device, the second terminal device sends a second conflict indication to the first terminal device, wherein the second conflict indication is used for indicating the first terminal device to perform resource reselection, and the second conflict indication comprises a resource set with conflicts.
15. A data transmission apparatus, comprising an obtaining module and a sending module, wherein:
the acquisition module is used for acquiring a resource set from the second terminal equipment;
and the sending module is used for determining target resources according to the resource set and sending data to the second terminal equipment through the target resources.
16. A data transmission apparatus, comprising a determining module and a sending module, wherein:
the determining module is used for determining at least one group of resource sets;
the sending module is configured to send the at least one set of resource sets to a first terminal device, where the resource sets are used to assist the first terminal device in selecting resources used for sending data.
17. A terminal device, comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is configured to execute a computer program stored in the memory to implement the data transmission method according to any one of claims 1 to 8 or the data transmission method according to any one of claims 9 to 14.
18. A readable storage medium, on which a data transmission program is stored, which when executed by a processor implements the data transmission method of any one of claims 1 to 8, or the data transmission method of any one of claims 9 to 14.
CN202210308852.1A 2022-03-28 2022-03-28 Data transmission method, device and equipment Active CN114501396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210308852.1A CN114501396B (en) 2022-03-28 2022-03-28 Data transmission method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210308852.1A CN114501396B (en) 2022-03-28 2022-03-28 Data transmission method, device and equipment

Publications (2)

Publication Number Publication Date
CN114501396A true CN114501396A (en) 2022-05-13
CN114501396B CN114501396B (en) 2022-10-14

Family

ID=81488152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210308852.1A Active CN114501396B (en) 2022-03-28 2022-03-28 Data transmission method, device and equipment

Country Status (1)

Country Link
CN (1) CN114501396B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115292024A (en) * 2022-10-09 2022-11-04 苏州市中地行信息技术有限公司 Multi-target oriented data screening method and system

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740469A (en) * 2011-04-02 2012-10-17 华为技术有限公司 Method, terminal equipment, network-side equipment, and communication system for sending upstream data
CN104125610A (en) * 2013-04-28 2014-10-29 电信科学技术研究院 Data transmitting method and device in D2D communication
CN105743956A (en) * 2014-12-12 2016-07-06 阿里巴巴集团控股有限公司 Data resource allocation method and device
WO2018031638A1 (en) * 2016-08-11 2018-02-15 Intel IP Corporation Uplink transmission request for multiple numerologies
CN107734703A (en) * 2016-08-11 2018-02-23 华为技术有限公司 A kind of resource regulating method and device
CN109219015A (en) * 2017-07-06 2019-01-15 电信科学技术研究院 A kind of resource selection method and device
CN109392134A (en) * 2017-08-11 2019-02-26 电信科学技术研究院 A kind of resource selection method and device
CN110167012A (en) * 2018-02-12 2019-08-23 电信科学技术研究院有限公司 A kind of communication resource management method and device
CN110958586A (en) * 2018-09-27 2020-04-03 电信科学技术研究院有限公司 Method, equipment and device for resource allocation and receiving resource allocation
CN110971356A (en) * 2018-09-28 2020-04-07 华为技术有限公司 Communication method and communication device
CN111316675A (en) * 2017-11-03 2020-06-19 Oppo广东移动通信有限公司 Method and terminal equipment for selecting resources in D2D communication
CN111432497A (en) * 2020-03-30 2020-07-17 京信通信系统(中国)有限公司 Resource allocation method, device, computer equipment and storage medium
CN111629438A (en) * 2019-02-27 2020-09-04 华为技术有限公司 Resource allocation method and device
US20200314804A1 (en) * 2019-03-28 2020-10-01 Samsung Electronics Co., Ltd. Method and device of resource allocation for sidelink transmission in wireless communication system
CN112203253A (en) * 2020-10-12 2021-01-08 Oppo广东移动通信有限公司 Data transmission method, device, storage medium and mobile terminal
CN112671523A (en) * 2017-03-20 2021-04-16 华为技术有限公司 Method and device for determining data feedback resources
CN112997551A (en) * 2019-03-28 2021-06-18 Oppo广东移动通信有限公司 Method and terminal equipment for transmitting sideline channel
CN113038610A (en) * 2021-02-10 2021-06-25 展讯通信(上海)有限公司 Data transmission method, device, equipment, storage medium and program product
CN113852926A (en) * 2021-09-09 2021-12-28 上海移远通信技术股份有限公司 Communication method and device
CN114071405A (en) * 2020-08-06 2022-02-18 华为技术有限公司 Resource sensing method and communication device

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740469A (en) * 2011-04-02 2012-10-17 华为技术有限公司 Method, terminal equipment, network-side equipment, and communication system for sending upstream data
CN104125610A (en) * 2013-04-28 2014-10-29 电信科学技术研究院 Data transmitting method and device in D2D communication
CN105743956A (en) * 2014-12-12 2016-07-06 阿里巴巴集团控股有限公司 Data resource allocation method and device
WO2018031638A1 (en) * 2016-08-11 2018-02-15 Intel IP Corporation Uplink transmission request for multiple numerologies
CN107734703A (en) * 2016-08-11 2018-02-23 华为技术有限公司 A kind of resource regulating method and device
CN112671523A (en) * 2017-03-20 2021-04-16 华为技术有限公司 Method and device for determining data feedback resources
CN112929143A (en) * 2017-03-20 2021-06-08 华为技术有限公司 Method and device for determining data feedback resources
CN109219015A (en) * 2017-07-06 2019-01-15 电信科学技术研究院 A kind of resource selection method and device
CN109392134A (en) * 2017-08-11 2019-02-26 电信科学技术研究院 A kind of resource selection method and device
CN111316675A (en) * 2017-11-03 2020-06-19 Oppo广东移动通信有限公司 Method and terminal equipment for selecting resources in D2D communication
CN110167012A (en) * 2018-02-12 2019-08-23 电信科学技术研究院有限公司 A kind of communication resource management method and device
CN110958586A (en) * 2018-09-27 2020-04-03 电信科学技术研究院有限公司 Method, equipment and device for resource allocation and receiving resource allocation
CN110971356A (en) * 2018-09-28 2020-04-07 华为技术有限公司 Communication method and communication device
CN111629438A (en) * 2019-02-27 2020-09-04 华为技术有限公司 Resource allocation method and device
US20200314804A1 (en) * 2019-03-28 2020-10-01 Samsung Electronics Co., Ltd. Method and device of resource allocation for sidelink transmission in wireless communication system
CN112997551A (en) * 2019-03-28 2021-06-18 Oppo广东移动通信有限公司 Method and terminal equipment for transmitting sideline channel
CN111432497A (en) * 2020-03-30 2020-07-17 京信通信系统(中国)有限公司 Resource allocation method, device, computer equipment and storage medium
CN114071405A (en) * 2020-08-06 2022-02-18 华为技术有限公司 Resource sensing method and communication device
CN112203253A (en) * 2020-10-12 2021-01-08 Oppo广东移动通信有限公司 Data transmission method, device, storage medium and mobile terminal
CN113038610A (en) * 2021-02-10 2021-06-25 展讯通信(上海)有限公司 Data transmission method, device, equipment, storage medium and program product
CN113852926A (en) * 2021-09-09 2021-12-28 上海移远通信技术股份有限公司 Communication method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115292024A (en) * 2022-10-09 2022-11-04 苏州市中地行信息技术有限公司 Multi-target oriented data screening method and system

Also Published As

Publication number Publication date
CN114501396B (en) 2022-10-14

Similar Documents

Publication Publication Date Title
JP2022050577A (en) Method for indicating allocated resources for harq message in random access procedure for low-complexity, narrowband terminal
CN106470492B (en) Resource occupation method and device and user equipment
CN110351687B (en) V2V resource allocation method and device
CN110267311B (en) Communication method, network side equipment and terminal
CN102938690B (en) The sending, receiving method of response message and equipment
CN110972101A (en) Method and device for allocating and acquiring sidelink resources and computer readable medium
CN110087328B (en) Resource multiplexing method and device
EP3099095A1 (en) Method and device for determining and acquiring radio resource
EP3070858A1 (en) Data transmission method and device
US11723091B2 (en) Unicast connection establishment method for direct link, terminal and device
WO2015180045A1 (en) Data transmission method, device and system
CN110447290B (en) Wireless communication method, terminal equipment and network equipment
US20220248466A1 (en) Resource configuration method and device
JP2024506624A (en) Collision indication method, device and electronic equipment
CN114501396B (en) Data transmission method, device and equipment
WO2017133013A1 (en) Method and device for transmitting control signalling
EP3618553A1 (en) Method, device and system for resource allocation, and computer-readable storage medium
KR102152098B1 (en) Resource reservation method and device
CN109565655B (en) Method and device for determining resources of logical channel and computer storage medium
KR101817449B1 (en) Method for transmitting signal in device to device proximity service, base station and user equipment
CN112887074B (en) Information sending method, device, terminal, access network equipment and system
CN114128327B (en) SFCI sending method and SFCI sending device
US10873879B2 (en) Data transmission method, device, and system
CN113498176A (en) PSFCH resource determining method, PSFCH resource configuring method and communication equipment
CN108307467A (en) Communication means, base station and terminal

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
GR01 Patent grant
GR01 Patent grant