Data communication method and system, device, and storage medium
View Patent ↗Provided are a data communication method and system, a device, and a storage medium. The data communication method includes generating a pre-request message and sending the pre-request message to each forwarding terminal in a forwarding terminal group; receiving a pre-response message returned by each forwarding terminal, where the pre-response message is generated after a receiving terminal group receives the pre-request message forwarded by a corresponding forwarding terminal and is returned by the receiving terminal group to the corresponding forwarding terminal; determining candidate forwarding terminals from the forwarding terminal group according to the received pre-response message in response to a forwarding terminal screening condition being currently satisfied; and when the candidate forwarding terminals satisfy a transmission condition, forwarding to-be-transmitted data to the receiving terminal group through the candidate forwarding terminals.
1 . A data communication method, being applied to a sending terminal and comprising:
generating a pre-request message and sending the pre-request message to each forwarding terminal in a forwarding terminal group;
receiving a pre-response message returned by each forwarding terminal in the forwarding terminal group, wherein the pre-response message is generated after a receiving terminal group receives the pre-request message forwarded by a corresponding forwarding terminal and is returned by the receiving terminal group to the corresponding forwarding terminal;
in response to a forwarding terminal screening condition being currently satisfied, determining candidate forwarding terminals from the forwarding terminal group according to the received pre-response message; and
in response to the candidate forwarding terminals satisfying a transmission condition, forwarding to-be-transmitted data to the receiving terminal group through the candidate forwarding terminals.
2 . The method according to claim 1 , wherein in response to the forwarding terminal screening condition being currently satisfied, determining the candidate forwarding terminals from the forwarding terminal group according to the received pre-response message comprises:
in a case where pre-response messages returned by all forwarding terminals in the forwarding terminal group are currently received, confirming that the forwarding terminal screening condition is currently satisfied;
acquiring, in each of the pre-response messages, a received signal strength indication from a corresponding forwarding terminal to a receiving terminal in the receiving terminal group, channel capacity information from the corresponding forwarding terminal to the receiving terminal in the receiving terminal group, and antenna gain information of the corresponding forwarding terminal;
determining, according to the channel capacity information, a sum rate corresponding to the all forwarding terminals; and
determining the candidate forwarding terminals from the forwarding terminal group according to the received signal strength indication, the sum rate, and the antenna gain information.
3 . The method according to claim 2 , wherein determining the candidate forwarding terminals from the forwarding terminal group according to the received signal strength indication, the sum rate, and the antenna gain information comprises:
determining a channel transmission frequency corresponding to each forwarding terminal in the forwarding terminal group, and determining channel frequency-domain orthogonality between forwarding terminals in the forwarding terminal group based on the channel transmission frequency;
using the received signal strength indication, the sum rate, the antenna gain information, and the channel frequency-domain orthogonality as grouping dimensions to sort the forwarding terminals under each of the grouping dimensions from large to small; and
selecting, according to a sorting result of the forwarding terminals under each of the grouping dimensions, a forwarding terminal with a preset top rank in the sorting result as a candidate forwarding terminal.
4 . The method according to claim 1 , wherein the transmission condition satisfied by the candidate forwarding terminals is that a total sum rate of frequency bands of the selected candidate forwarding terminals is greater than or equal to a data size of the to-be-transmitted data; and
accordingly, the method further comprises:
in response to the currently determined candidate forwarding terminals not satisfying the transmission condition, returning to re-execute determining the candidate forwarding terminals from the forwarding terminal group according to the received pre-response message.
5 . A data communication system, comprising:
a sending terminal, a forwarding terminal group, and a receiving terminal group, wherein the forwarding terminal group comprises at least one forwarding terminal, and the receiving terminal group comprises at least one receiving terminal; and
the sending terminal is configured to execute the data communication method of claim 1 .
6 . The system according to claim 5 , wherein each of the at least one forwarding terminal comprises:
a second message receiving module configured to receive the pre-request message sent by the sending terminal, send the pre-request message to a receiving terminal in the receiving terminal group, and receive the pre-response message generated by the receiving terminal based on the pre-request message; and
a second message sending module configured to perform channel precoding according to the pre-response message, encapsulate determined antenna gain information in the pre-response message after the channel precoding is completed, and return the pre-response message to the sending terminal.
7 . The system according to claim 5 , wherein each of the at least one receiving terminal comprises:
a third message receiving module configured to receive the pre-request message sent by a forwarding terminal in the forwarding terminal group;
an information determination module configured to determine a received signal strength indication and channel capacity information between the each of the at least one receiving terminal and the forwarding terminal according to the pre-request message; and
a third message sending module configured to encapsulate the received signal strength indication and the channel capacity information in the pre-response message and send the pre-response message to the forwarding terminal.
8 . An electronic device, wherein, as an execution device of a sending terminal, the electronic device comprises:
at least one processor; and
a memory communicatively connected to the at least one processor,
wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to cause the at least one processor to execute the data communication method according to claim 1 .
9 . The electronic device according to claim 8 , wherein the at least one processor is caused to execute, in response to the forwarding terminal screening condition being currently satisfied, determining the candidate forwarding terminals from the forwarding terminal group according to the received pre-response message by:
in a case where pre-response messages returned by all forwarding terminals in the forwarding terminal group are currently received, confirming that the forwarding terminal screening condition is currently satisfied;
acquiring, in each of the pre-response messages, a received signal strength indication from a corresponding forwarding terminal to a receiving terminal in the receiving terminal group, channel capacity information from the corresponding forwarding terminal to the receiving terminal in the receiving terminal group, and antenna gain information of the corresponding forwarding terminal;
determining, according to the channel capacity information, a sum rate corresponding to the all forwarding terminals; and
determining the candidate forwarding terminals from the forwarding terminal group according to the received signal strength indication, the sum rate, and the antenna gain information.
10 . The electronic device according to claim 9 , wherein the at least one processor is caused to execute determining the candidate forwarding terminals from the forwarding terminal group according to the received signal strength indication, the sum rate, and the antenna gain information by:
determining a channel transmission frequency corresponding to each forwarding terminal in the forwarding terminal group, and determining channel frequency-domain orthogonality between forwarding terminals in the forwarding terminal group based on the channel transmission frequency;
using the received signal strength indication, the sum rate, the antenna gain information, and the channel frequency-domain orthogonality as grouping dimensions to sort the forwarding terminals under each of the grouping dimensions from large to small; and
selecting, according to a sorting result of the forwarding terminals under each of the grouping dimensions, a forwarding terminal with a preset top rank in the sorting result as a candidate forwarding terminal.
11 . The electronic device according to claim 8 , wherein the transmission condition satisfied by the candidate forwarding terminals is that a total sum rate of frequency bands of the selected candidate forwarding terminals is greater than or equal to a data size of the to-be-transmitted data; and
accordingly, the at least one processor is caused to further execute:
in response to the currently determined candidate forwarding terminals not satisfying the transmission condition, returning to re-execute determining the candidate forwarding terminals from the forwarding terminal group according to the received pre-response message.
12 . A non-transitory computer-readable storage medium storing a computer instruction, wherein when executed by a processor, the computer instruction is configured to cause the processor to implement the data communication method according to claim 1 .
13 . The storage medium according to claim 12 , wherein the processor is caused to implement, in response to the forwarding terminal screening condition being currently satisfied, determining the candidate forwarding terminals from the forwarding terminal group according to the received pre-response message by:
in a case where pre-response messages returned by all forwarding terminals in the forwarding terminal group are currently received, confirming that the forwarding terminal screening condition is currently satisfied;
acquiring, in each of the pre-response messages, a received signal strength indication from a corresponding forwarding terminal to a receiving terminal in the receiving terminal group, channel capacity information from the corresponding forwarding terminal to the receiving terminal in the receiving terminal group, and antenna gain information of the corresponding forwarding terminal;
determining, according to the channel capacity information, a sum rate corresponding to the all forwarding terminals; and
determining the candidate forwarding terminals from the forwarding terminal group according to the received signal strength indication, the sum rate, and the antenna gain information.
14 . The storage medium according to claim 13 , wherein the processor is caused to implement determining the candidate forwarding terminals from the forwarding terminal group according to the received signal strength indication, the sum rate, and the antenna gain information by:
determining a channel transmission frequency corresponding to each forwarding terminal in the forwarding terminal group, and determining channel frequency-domain orthogonality between forwarding terminals in the forwarding terminal group based on the channel transmission frequency;
using the received signal strength indication, the sum rate, the antenna gain information, and the channel frequency-domain orthogonality as grouping dimensions to sort the forwarding terminals under each of the grouping dimensions from large to small; and
selecting, according to a sorting result of the forwarding terminals under each of the grouping dimensions, a forwarding terminal with a preset top rank in the sorting result as a candidate forwarding terminal.
15 . A data communication method, being applied to a forwarding terminal in a forwarding terminal group and comprising:
receiving a pre-request message sent by a sending terminal, sending the pre-request message to a receiving terminal in a receiving terminal group, and receiving a pre-response message generated by the receiving terminal based on the pre-request message; and
performing channel precoding according to the pre-response message, encapsulating determined antenna gain information in the pre-response message after the channel precoding is completed, and returning the pre-response message to the sending terminal.
16 . An electronic device, wherein, as an execution device of a forwarding terminal, the electronic device comprises:
at least one processor; and
a memory communicatively connected to the at least one processor,
wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to cause the at least one processor to execute the data communication method according to claim 15 .
17 . A non-transitory computer-readable storage medium storing a computer instruction, wherein when executed by a processor, the computer instruction is configured to cause the processor to implement the data communication method according to claim 15 .
18 . A data communication method, being applied to a receiving terminal in a receiving terminal group and comprising:
receiving a pre-request message sent by a forwarding terminal in a forwarding terminal group;
determining, according to the pre-request message, a received signal strength indication and channel capacity information of the receiving terminal to the forwarding terminal; and
encapsulating the received signal strength indication and the channel capacity information in a pre-response message, and sending the pre-response message to the forwarding terminal.
19 . An electronic device, wherein, as an execution device of a receiving terminal, the electronic device comprises:
at least one processor; and
a memory communicatively connected to the at least one processor,
wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to cause the at least one processor to execute the data communication method according to claim 18 .
20 . A non-transitory computer-readable storage medium storing a computer instruction, wherein when executed by a processor, the computer instruction is configured to cause the processor to implement the data communication method according to claim 18 .