Data transmission method, device, and medium
A data transmission method, a device, and a medium are provided. The data transmission method includes: sending first notification information to a second target device in a case that a wireless link between a relay terminal device and a first target device is abnormal. The first notification information is used to reduce data traffic transmitted from the second target device to the relay terminal device or to stop data transmission between the second target device and the relay terminal device.
1 . A data transmission method, performed by a relay terminal device, comprising:
sending first notification information to a second target device when a wireless link between the relay terminal device and a first target device is abnormal, wherein the first notification information is used to reduce data traffic transmitted from the second target device to the relay terminal device or to stop data transmission between the second target device and the relay terminal device,
wherein the wireless link between the relay terminal device and the first target device being abnormal comprises at least one of the following:
a quality of a wireless interface signal between the first target device and the relay terminal device is less than a preset quality threshold; or
an amount of data buffered by the relay terminal device is greater than or equal to a preset amount threshold,
wherein the first target device is further communicatively connected to the second target device directly, and the method further comprises:
sending, by the relay terminal device, second notification information to the first target device directly through a User-uplink (Uu) interface between the relay terminal device and the first target device when the wireless link is abnormal, wherein the second notification information is separate from the first notification information and used to characterize abnormality of the wireless link, and is used to generate third notification information,
wherein the third notification information is separate from the first notification information and sent from the first target device to the second target device, wherein the third notification information is used to reduce data traffic transmitted from the second target device to the relay terminal device or to stop data transmission between the second target device and the relay terminal device.
2 . The data transmission method according to claim 1 , wherein the first target device is an upstream node device of the relay terminal device, and the second target device is a downstream node device of the relay terminal device.
3 . The data transmission method according to claim 2 , wherein the first notification information comprises at least one of the following:
notification information used to indicate stopping sending data to the relay terminal device;
notification information used to indicate stopping sending a type of data;
notification information used to indicate duration for stopping sending;
notification information used to indicate a data transmission rate to be changed;
notification information used to indicate performing reselection of a transmission resource;
notification information used to indicate performing reselection of a transmission carrier; or
notification information used to indicate performing reselection of the relay terminal device.
4 . The data transmission method according to claim 1 ,
wherein the third notification information comprises at least one of the following:
notification information used to indicate stopping sending data to the relay terminal device;
notification information used to indicate stopping sending a type of data;
notification information used to indicate duration for stopping sending;
notification information used to indicate a data transmission rate to be changed;
notification information used to indicate that the second target device performs reselection of a transmission resource;
notification information used to indicate performing reselection of a transmission carrier;
notification information used to indicate performing reselection of the relay terminal device; or
notification information used to indicate an optional relay terminal device.
5 . The data transmission method according to claim 1 , wherein the first target device is a downstream node device of the relay terminal device, and the second target device is an upstream node device of the relay terminal device.
6 . The data transmission method according to claim 5 , wherein the first notification information comprises at least one of the following:
notification information used to indicate stopping sending data to the relay terminal device;
notification information used to indicate stopping sending a type of data;
notification information used to indicate duration for stopping sending; or
notification information used to indicate a data transmission rate to be changed.
7 . A data transmission method, performed by a first target device,
wherein:
the first target device is communicatively connected to a second target device directly, the first target device is an upstream node device of a relay terminal device, the second target device is a downstream node device of the relay terminal device, and first notification information is sent from the relay terminal device to the second target device when a wireless link between the relay terminal device and the first target device is abnormal,
the wireless link between the relay terminal device and the first target device being abnormal comprises at least one of the following:
a quality of a wireless interface signal between the first target device and the relay terminal device is less than a preset quality threshold; or
an amount of data buffered by the relay terminal device is greater than or equal to a preset amount threshold, and
the method comprises:
receiving, by the first target device, second notification information from the relay terminal device directly through a User-uplink (Uu) interface between the relay terminal device and the first target device when the wireless link is abnormal, wherein the second notification information is separate from the first notification information and used to characterize abnormality of the wireless link, and is used to generate third notification information; and
sending the third notification information from the first target device to the second target device when the wireless link is abnormal, wherein the third notification information is separate from the first notification information and used to reduce data traffic transmitted from the second target device to the relay terminal device or to stop data transmission between the second target device and the relay terminal device.
8 . The data transmission method according to claim 7 , wherein the third notification information comprises at least one of the following:
notification information used to indicate stopping sending data to the relay terminal device;
notification information used to indicate stopping sending a type of data;
notification information used to indicate duration for stopping sending;
notification information used to indicate a data transmission rate to be changed;
notification information used to indicate performing reselection of a transmission resource;
notification information used to indicate performing reselection of a transmission carrier;
notification information used to indicate performing reselection of the relay terminal device; or
notification information used to indicate an optional relay terminal device.
9 . A relay terminal device, comprising: a memory having a computer program stored therein; and a processor, wherein the computer program, when executed by the processor, causes the processor to perform a data transmission method, comprising:
sending first notification information to a second target device when a wireless link between the relay terminal device and a first target device is abnormal, wherein the first notification information is used to reduce data traffic transmitted from the second target device to the relay terminal device or to stop data transmission between the second target device and the relay terminal device,
wherein the wireless link between the relay terminal device and the first target device being abnormal comprises at least one of the following:
a quality of a wireless interface signal between the first target device and the relay terminal device is less than a preset quality threshold; or
an amount of data buffered by the relay terminal device is greater than or equal to a preset amount threshold,
wherein the first target device is further communicatively connected to the second target device directly, and the data transmission method further comprises:
sending, by the relay terminal device, second notification information to the first target device directly through a User-uplink (Uu) interface between the relay terminal device and the first target device when the wireless link is abnormal, wherein the second notification information is separate from the first notification information and used to characterize abnormality of the wireless link, and is used to generate third notification information,
wherein the third notification information is separate from the first notification information and sent from the first target device to the second target device, wherein the third notification information is used to reduce data traffic transmitted from the second target device to the relay terminal device or to stop data transmission between the second target device and the relay terminal device.
10 . The relay terminal device according to claim 9 , wherein the first target device is an upstream node device of the relay terminal device, and the second target device is a downstream node device of the relay terminal device.
11 . The relay terminal device according to claim 10 , wherein the first notification information comprises at least one of the following:
notification information used to indicate stopping sending data to the relay terminal device;
notification information used to indicate stopping sending a type of data;
notification information used to indicate duration for stopping sending;
notification information used to indicate a data transmission rate to be changed;
notification information used to indicate performing reselection of a transmission resource;
notification information used to indicate performing reselection of a transmission carrier; or
notification information used to indicate performing reselection of the relay terminal device.
12 . The relay terminal device according to claim 9 , wherein the third notification information comprises at least one of the following:
notification information used to indicate stopping sending data to the relay terminal device;
notification information used to indicate stopping sending a type of data;
notification information used to indicate duration for stopping sending;
notification information used to indicate a data transmission rate to be changed;
notification information used to indicate that the second target device performs reselection of a transmission resource;
notification information used to indicate performing reselection of a transmission carrier;
notification information used to indicate performing reselection of the relay terminal device; or
notification information used to indicate an optional relay terminal device.
13 . The relay terminal device according to claim 9 , wherein the first target device is a downstream node device of the relay terminal device, and the second target device is an upstream node device of the relay terminal device.
14 . The relay terminal device according to claim 13 , wherein the first notification information comprises at least one of the following:
notification information used to indicate stopping sending data to the relay terminal device;
notification information used to indicate stopping sending a type of data;
notification information used to indicate duration for stopping sending; or
notification information used to indicate a data transmission rate to be changed.