CN112218339B - Relay transmission scheduling method, device, storage medium and electronic equipment - Google Patents

Relay transmission scheduling method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112218339B
CN112218339B CN202011069332.7A CN202011069332A CN112218339B CN 112218339 B CN112218339 B CN 112218339B CN 202011069332 A CN202011069332 A CN 202011069332A CN 112218339 B CN112218339 B CN 112218339B
Authority
CN
China
Prior art keywords
target condition
base station
random number
relay base
determining
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.)
Active
Application number
CN202011069332.7A
Other languages
Chinese (zh)
Other versions
CN112218339A (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.)
Sunwave Communications Co Ltd
Original Assignee
Sunwave Communications 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 Sunwave Communications Co Ltd filed Critical Sunwave Communications Co Ltd
Priority to CN202011069332.7A priority Critical patent/CN112218339B/en
Publication of CN112218339A publication Critical patent/CN112218339A/en
Priority to PCT/CN2021/090883 priority patent/WO2022068192A1/en
Application granted granted Critical
Publication of CN112218339B publication Critical patent/CN112218339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The embodiment of the invention provides a relay transmission scheduling method, a device, a storage medium and electronic equipment, wherein the method comprises the following steps: acquiring a random number in an idle time slot; acquiring the number m of data packets stored in a relay base station, and comparing the m with a first preset threshold value to obtain a first comparison result; determining a target condition based on the first comparison result; judging whether the random number meets the target condition; and determining the data transmission direction of the relay base station based on the judgment result. The invention solves the problem of low data transmission precision caused by packet loss when the relay base station receives or sends the data packet in the related technology, thereby achieving the effects of reducing the data packet loss and improving the data transmission precision.

Description

Relay transmission scheduling method and device, storage medium and electronic equipment
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a relay transmission scheduling method, a relay transmission scheduling device, a storage medium and electronic equipment.
Background
With the development of relay technology, cache assisted relay is more and more concerned by academia and industry. The relay base station is provided with a certain amount of buffer space, so that the relay base station can buffer the received data firstly and then send the data out in a proper time. The cache auxiliary relay breaks through the limitation that the traditional relay has a fixed transceiving scheduling schedule, so that the relay base station can effectively schedule transceiving according to various network information, and the transmission efficiency of the whole system is greatly improved.
In the related art, a communication system includes at least one macro base station, a half-duplex relay base station, and a mobile subscriber. Suppose a file containing K data packets needs to be sent to the user side sequentially through the macro base station and the relay base station. Since the relay base station generally operates in a half-duplex mode, in this mode, it is only possible to select to attempt to receive a data packet from the macro base station or to transmit a data packet to the user in each time slot of the relay base station. Due to the time-varying nature of the wireless channel, no matter the relay base station chooses to receive or transmit the data packet, there is a certain probability of failure (packet loss) in a certain time slot.
In view of the above problems in the related art, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a relay transmission scheduling method, a relay transmission scheduling device, a storage medium and electronic equipment, which are used for at least solving the problem of packet loss when a relay base station receives or sends a data packet in the related art.
According to an embodiment of the present invention, a method for scheduling relay transmission is provided, including:
acquiring a random number in an idle time slot, wherein the value range of the random number is [0,1];
acquiring the number m of data packets stored in a relay base station, and comparing the m with a first preset threshold value to obtain a first comparison result, wherein the m is greater than or equal to 0;
determining a target condition based on the first comparison result;
judging whether the random number meets the target condition;
and determining the data transmission direction of the relay base station based on the judgment result.
In one exemplary embodiment, the determining a target condition based on the first comparison result includes:
determining that the target condition is a first target condition if the first comparison result is used for indicating that m is greater than a first preset threshold;
and determining that the target condition is a second target condition when the first comparison result is used for indicating that the m is smaller than a first preset threshold value.
In one exemplary embodiment, in a case where it is determined that the target condition is the first target condition, determining the data transmission direction of the relay base station based on the determination result includes:
determining the transmission direction as receiving a data packet from a macro base station under the condition that the judgment result is determined to indicate that the random number meets the first target condition;
and under the condition that the judgment result is determined to be used for indicating that the random number does not meet the first target condition, determining the transmission direction as transmitting the data packet stored in the relay base station to a user side.
In one exemplary embodiment, in a case where it is determined that the target condition is a second target condition, determining the data transmission direction of the relay base station based on the determination result includes:
determining the transmission direction as receiving a data packet from a macro base station under the condition that the judgment result is determined to indicate that the random number meets the second target condition;
and under the condition that the judgment result is determined to be used for indicating that the random number does not meet the second target condition, determining the transmission direction as transmitting the data packet stored in the relay base station to a user side.
In one exemplary embodiment of the present invention,
in the case where the target condition is the first target condition, the first target condition is that a random number x is smaller than
Figure BDA0002712957860000031
In the formula, p 1 Probability, p, for the relay base station to successfully receive the data packet from the macro base station 2 A probability of successfully receiving the data packet from the relay base station for the user side;
in the case where the target condition is the second target condition, the second target condition is that a random number x is smaller than
Figure BDA0002712957860000032
According to another embodiment of the present invention, there is provided a relay transmission scheduling apparatus including:
the device comprises a random number generation module, a random number generation module and a random number generation module, wherein the random number generation module is used for acquiring a random number in an idle time slot, and the value range of the random number is [0,1];
the relay base station comprises a data packet acquisition module, a data packet processing module and a data packet processing module, wherein the data packet acquisition module is used for acquiring the number m of data packets stored in the relay base station, and comparing the m with a first preset threshold value to obtain a first comparison result, wherein the m is greater than or equal to 0;
a target condition determination module for determining a target condition based on the first comparison result;
the judging module is used for judging whether the random number meets the target condition;
and the transmission direction determining module is used for determining the data transmission direction of the relay base station based on the judgment result.
In one exemplary embodiment, the target condition determining module includes:
a first target condition determining unit, configured to determine that the target condition is a first target condition if the first comparison result is used to indicate that m is greater than a first preset threshold;
a second target condition determining unit, configured to determine that the target condition is a second target condition when the first comparison result is used to indicate that m is smaller than a first preset threshold.
In one exemplary embodiment, the first target condition determination unit includes:
a first packet receiving subunit, configured to determine that the transmission direction is to receive a packet from a macro base station, when it is determined that the determination result is used to indicate that the random number satisfies the first target condition;
a first packet sending subunit, configured to determine that the transmission direction is to send a packet stored in the relay base station to a user end, when it is determined that the determination result is used to indicate that the random number does not satisfy the first target condition.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the number of the data packets in the relay base station is obtained in advance, and the data packets are sent or received according to a certain condition, so that the number of the data packets of the relay base station is dynamically maintained at a certain numerical value, therefore, the problem of low data transmission precision caused by packet loss when the relay base station receives or sends the data packets in the related technology can be solved, and the effects of reducing data distortion and improving the data transmission precision are achieved.
Drawings
Fig. 1 is a block diagram of a hardware structure of a mobile terminal of a relay transmission scheduling method according to an embodiment of the present invention;
fig. 2 is a flowchart of a relay transmission scheduling method according to an embodiment of the present invention;
fig. 3 is a block diagram of a relay transmission scheduling apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an embodiment of the present invention;
fig. 5 is a flowchart of an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the operation on the mobile terminal as an example, fig. 1 is a hardware structure block diagram of the mobile terminal of a relay transmission scheduling method according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the mobile terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of an application software, such as a computer program corresponding to a relay transmission scheduling method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a relay transmission scheduling method is provided, and fig. 2 is a flowchart of a relay transmission scheduling method according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, acquiring a random number in an idle time slot, wherein the value range of the random number is [0,1];
in this embodiment, the idle time slot includes a time slot before the relay base station does not perform the operation of transmitting or receiving the data packet, where the time slot before the operation of transmitting or receiving the data packet is not performed may be after the last transmission or reception of the data packet is performed, or may be a time slot when the relay base station is used for the first time.
X represents a random number for representing the probability of successfully receiving or transmitting a data packet when the simulated relay base station operates normally, for example, when the random number x is 0.32, the probability of successfully receiving or transmitting a data packet by the simulated relay base station may be represented as 0.32; since the relay base station may be successful or failed in receiving or transmitting the data packet, the value range of the random number x is [0,1].
It should be noted that the random number x is only used to indicate the probability of successful transmission or reception of the data packet of the relay base station in the analog state, and is not the probability of successful reception or transmission of the actual data packet of the relay base station; the random number may be generated by a random number generation algorithm, such as a Python random number generation algorithm, or may be generated by a hardware random number generator, such as by an RDRAND instruction in a chip, and the generated random number may be repeated or not, and the random number may be transmitted in the form of an analog signal or a digital signal, which is not described herein again.
Step S204, acquiring the number m of data packets stored in the relay base station, and comparing the m with a first preset threshold value to obtain a first comparison result, wherein the m is greater than or equal to 0;
in this embodiment, the manner of obtaining the number m of the data packets stored in the relay base station may be obtained by scanning the data packets in the relay base station, or by reading the data packets stored in the relay base station, or by recording the receiving and sending numbers of the data packets in real time and calculating according to the receiving and sending numbers, or by other manners, as long as the number m of the data packets stored in the relay base station can be obtained, which is not described herein again.
The first preset threshold h is represented by h, and the first preset threshold may be determined according to the maximum storage amount of the data packet in the relay base station, or may be determined according to a data packet transceiving policy of the relay base station, that is, the first preset threshold h may be used to represent the maximum allowable storage amount of the data packet in the relay base station, or may be an alert value representing the storage amount of the data packet in the relay base station.
For example, when the number m of data packets in the relay base station reaches the first preset threshold h, the ratio of the working state of the relay base station for sending the data packets to the working time in unit time is increased; similarly, when the number m of the data packets in the relay base station does not reach the first preset threshold h, the ratio of the working state of the relay base station for receiving the data packets to the working time in the unit time is increased.
It should be noted that, since the relay base station is a relay device for data transmission, the number m of data packets stored in the relay base station may be greater than 0, or equal to 0, where when the number m of data packets is equal to 0, it indicates that no data packet is stored in the relay base station, and when m is greater than 0, it indicates that a certain number of data packets to be transmitted are stored in the relay base station.
Step S206, determining a target condition based on the first comparison result;
in this embodiment, when the first comparison result is that the number m of the data packets is greater than the first preset threshold h, it indicates that the number m of the data packets in the relay base station exceeds the first preset threshold h, which may cause the relay base station not to receive the data packets in time, thereby causing data packet loss, and therefore, it is determined that the target condition is the first target condition at this time, so that the working state of the relay base station is mainly based on sending the data packets, thereby enabling the relay base station to receive the data packets in time; on the contrary, the number of the data packets in the relay base station is not enough to support the relay base station to continuously send the data packets, which may cause data packet loss, and at this time, the target condition is determined to be a second target condition so that the working state of the relay base station is mainly based on receiving the data packets, so that the relay base station can send the data packets in time; by the method, the data packet in the relay base station is dynamically kept near the first preset threshold h to ensure that the relay base station can continuously keep the state of normally receiving or sending the data packet, and the data packet caused by untimely data receiving or sending due to the relay base station being in a certain state continuously is avoided.
Step S208, judging whether the random number meets the target condition;
in this embodiment, since the random number is used to simulate the probability of receiving or transmitting a data packet by the relay base station in the normal operating state, whether the probability of transmitting or receiving a data packet by the relay base station in the normal operating state satisfies the target condition is simulated by determining whether the random number satisfies the target condition.
For example, when the random number x satisfies the first target condition, it is determined that the probability of receiving the packet by the relay base station in the state satisfies the first target condition, so that the relay base station performs the packet receiving operation, and similarly, when the random number x does not satisfy the first target condition, it is determined that the probability of receiving the packet by the relay base station in the state does not satisfy the first target condition, so that the relay base station performs the datagram transmitting operation, and so on.
It should be noted that, because the relay base station may receive or transmit a large number of data packets simultaneously in a unit time, fixing the number of data packets of the relay station to the first preset threshold h may cause the relay base station to be in a state of receiving or transmitting data packets continuously in a period of time, and at this time, may cause the relay base station to be unable to receive or transmit data packets in the period of time, thereby causing a data packet loss.
Step S210, determining the data transmission direction of the relay base station based on the determination result.
In this embodiment, when the determination result is that the random number x satisfies the first target condition, determining that the data transmission direction of the relay base station is to receive the data packet from the macro base station, and otherwise determining that the data transmission direction of the relay base station is to send the data packet to the user terminal; similarly, when the judgment result is that the random number x does not satisfy the second target condition, determining that the data transmission direction of the relay base station is to receive the data packet from the macro base station, and otherwise, determining that the data transmission direction of the relay base station is to send the data packet to the user terminal.
It should be noted that the data transmission direction determined based on the determination result may be adjusted according to an actual use situation, that is, when the determination result is that the random number x satisfies the first target condition, the data transmission direction of the relay base station is determined to be sending the data packet to the user side, otherwise, the data transmission direction of the relay base station is determined to be receiving the data packet from the macro base station, or other data transmission directions, which is not the only solution in this embodiment.
Through the steps, the relay base station sends and receives the data packets under the condition of meeting a certain condition through the preset threshold and the random number, and the quantity m of the data packets stored on the random number by the relay base station is ensured to float near the first preset threshold h, so that the problem of low data transmission precision caused by packet loss when the relay base station receives or sends the data packets in the related technology is solved, and the data distortion and the data transmission precision are improved and reduced.
The main body of the above steps may be a base station, a terminal, etc., but is not limited thereto.
In an alternative embodiment, the determining the target condition based on the first comparison result comprises:
step S2062, determining that the target condition is a first target condition under the condition that the first comparison result is used for indicating that m is greater than a first preset threshold value;
step S2064 determines that the target condition is the second target condition when the first comparison result indicates that m is smaller than the first preset threshold.
In the present embodiment, in the case where the target condition is the first target condition, the first target condition is that the random number x is smaller than
Figure BDA0002712957860000091
In the formula, p 1 The probability that the relay base station successfully receives the data packet from the macro base station is shown as p 2; in the case where the target condition is a second target condition, the second target condition is that the random number x is smaller than
Figure BDA0002712957860000092
From the above conditions, when m is less than 2h,
Figure BDA0002712957860000093
has a value of
Figure BDA0002712957860000094
When m is 0, the compound (A) is,
Figure BDA0002712957860000095
has a value of 1.
In an optional embodiment, in a case where the target condition is determined to be the first target condition, determining the data transmission direction of the relay base station based on the determination result includes:
step S2066, under the condition that the judgment result is used for indicating that the random number meets the first target condition, the transmission direction is determined to be receiving the data packet from the macro base station;
step S2068, in the case that the determination result is used to indicate that the random number does not satisfy the first target condition, determining that the transmission direction is to transmit the data packet stored in the relay base station to the user end.
In this embodiment, when the number m of data packets in the relay base station is close to (greater than or less than) the first preset threshold h, in order to ensure that the number m of data packets in the relay base station floats around the first preset threshold h, the operating state of the relay base station needs to be mainly based on the sending of the data packets, and at this time, the relay base station needs to be in a working state mainly based on the sending of the data packets
Figure BDA0002712957860000096
Has a value of
Figure BDA0002712957860000097
Then judging whether the random number x is larger than
Figure BDA0002712957860000098
And when the random number is larger than x, indicating the relay base station to send the data packet, otherwise, indicating the relay base station to receive the data packet.
Since the random number is randomly generated, x may be greater than
Figure BDA0002712957860000099
May also be less than
Figure BDA00027129578600000910
So that the number m of data packets stored in the relay base station is floated with the change of the random number x, but at this time, p can be preset 2 And p 1 X is greater than
Figure BDA00027129578600000911
The probability of (2) is greater, so that the working state of the relay base station is mainly to send data packets.
For example, when p 1 =0.8,p 2 10 for h of 0.5, m is 12, then
Figure BDA00027129578600000912
The value of (a) is equal to about 0.3, and the probability that x is greater than 0.3 is 0.7, so that the relay base station can be guaranteed to be mainly in the working state of sending the data packet.
In an optional embodiment, in a case that the target condition is determined to be the second target condition, determining the data transmission direction of the relay base station based on the determination result includes:
step S2070, determining the transmission direction as receiving the data packet from the macro base station under the condition that the determination result is used for indicating that the random number meets the second target condition;
step S2072, determining the transmission direction as sending the data packet stored in the relay base station to the user terminal when the determination result is used to indicate that the random number does not satisfy the second target condition.
In this embodiment, when the number m of data packets in the relay base station is far away from (far less than) the first preset threshold h, in order to ensure that the number m of data packets in the relay base station floats near the first preset threshold h, the working state of the relay base station needs to be mainly the received data packets, and at this time, it is determined whether the random number x is greater than or equal to the first preset threshold h, where the random number x is greater than or equal to the second preset threshold h
Figure BDA0002712957860000101
When the random number is less than x, the relay base station is instructed to send the data packet, otherwiseThe relay base station is instructed to receive the data packet.
Since the random number is randomly generated, x may be greater than
Figure BDA0002712957860000102
May also be less than
Figure BDA0002712957860000103
So that the number m of data packets stored in the relay base station is floated with the change of the random number x, but at this time, p can be preset 2 And p 1 X is less than
Figure BDA0002712957860000104
The probability of (2) is greater, so that the working state of the relay base station is mainly to transmit data packets.
For example, when p 1 =0.8,p 2 10 for h of 0.5, m is 2, then
Figure BDA0002712957860000105
The value of (a) is equal to about 0.8, and the probability that x is greater than 0.8 is 0.2, and the probability that x is less than 0.8 is 0.8, so that the relay base station can be guaranteed to be mainly in the working state of receiving the data packet.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a relay transmission scheduling apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the description already made is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also possible and contemplated.
Fig. 3 is a block diagram of a relay transmission scheduling apparatus according to an embodiment of the present invention, and as shown in fig. 3, the apparatus includes:
a random number generation module 32, configured to obtain a random number in an idle time slot, where a value range of the random number is [0,1];
the data packet acquisition module 34 is configured to acquire the number m of data packets stored in the relay base station, and compare m with a first preset threshold to obtain a first comparison result, where m is greater than or equal to 0;
a target condition determination module 36 for determining a target condition based on the first comparison result;
a judging module 38, configured to judge whether the random number satisfies a target condition;
and a transmission direction determining module 40, configured to determine a data transmission direction of the relay base station based on the determination result.
In an alternative embodiment, the target condition determination module 36 includes:
a first target condition determining unit 362, configured to determine that the target condition is a first target condition if the first comparison result is used to indicate that m is greater than a first preset threshold;
a second target condition determining unit 364, configured to determine that the target condition is a second target condition if the first comparison result indicates that m is smaller than the first preset threshold.
In an alternative embodiment, the first target condition determination unit 362 includes:
a first packet receiving subunit 3622, configured to determine that the transmission direction is to receive a packet from the macro base station when the determination result is used to indicate that the random number satisfies the first target condition;
a first packet sending subunit 3624, configured to, in a case that the determination result is used to indicate that the random number does not satisfy the first target condition, determine that the transmission direction is to send the packet stored in the relay base station to the user end.
In an alternative embodiment, the second target condition determining unit 364 includes:
the second packet receiving subunit 3642, in a case that the determination result is used to indicate that the random number does not satisfy the second target condition, determines that the transmission direction is to receive the packet from the macro base station;
the second packet sending subunit 3644, in a case that the determination result is used to indicate that the random number satisfies the second target condition, determines that the transmission direction is to send the packet stored in the relay base station to the user end.
It should be noted that the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
The present invention will be described with reference to specific examples.
As shown in fig. 4 and 5, assuming that the macro base station has K =1000 data packets to be sent to the mobile user through the relay base station, the probability p that the channel between the macro base station and the relay base station successfully transmits one data packet is assumed 1 =0.8, probability p of successful transmission of one data packet of the channel between relay base station and user 2 =0.5. Before transmission, let m =0, n =0, and the first preset threshold h =10, where n is the number of data packets received by the ue (corresponding to S501 in fig. 5).
In the first time slot, a random number x is randomly generated (corresponding to S502 in fig. 5), assuming that x =0.312. Since m =0<h =10 (corresponding to S503 in fig. 5), we need to sum x and
Figure BDA0002712957860000121
is compared (corresponding to S508 in fig. 5). Due to the fact that
Figure BDA0002712957860000122
Obviously x is
Figure BDA0002712957860000123
Small, therefore, the relay base station will choose to receive the data packet from the macro base station (corresponding to S505 in fig. 5), otherwise the relay base station will choose to send one data packet to the user terminal (corresponding to S509 in fig. 5). If a packet is successfully received (corresponding to S506 in fig. 5), m =0+1=1 (corresponding to S507 in fig. 5), and if a client terminal successfully receives a packet (corresponding to S511 in fig. 5), n =0+1=1 (corresponding to S512 in fig. 5).
In the next time slot, the relay base station selects between receiving the data packet and sending the data packet according to the current buffer size m in the same way.
Let us assume that at the 30 th slot we have m =15,n =5. A random number x is randomly generated, assuming x =0.891. Due to m>h, we need to sum x with
Figure BDA0002712957860000124
Is compared (corresponding to S504 in fig. 5). Due to the fact that
Figure BDA0002712957860000125
Obviously x is
Figure BDA0002712957860000131
Large, therefore, the relay base station will choose to send one packet to the user (corresponding to S509 in fig. 5). If the user successfully receives the data packet (corresponding to S506 in fig. 5), n =5+1=6, m =15-1=14. Since n is<K =1000, so the user has not completed receiving all packets and transmission continues.
According to the above transmission method, when the users all receive 1000 data packets, i.e., n =1000, the transmission ends.
An embodiment of the present invention further provides a storage medium having a computer program stored therein, wherein the computer program is configured to perform the steps in any of the method embodiments described above when executed.
In an exemplary embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A relay transmission scheduling method, comprising:
acquiring a random number in an idle time slot, wherein the value range of the random number is [0,1];
acquiring the number m of data packets stored in a relay base station, and comparing the m with a first preset threshold value to obtain a first comparison result, wherein the m is greater than or equal to 0;
determining a target condition based on the first comparison result;
judging whether the random number meets the target condition;
determining a data transmission direction of the relay base station based on the judgment result;
wherein the determining a target condition based on the first comparison result comprises: determining that the target condition is a first target condition if the first comparison result is used for indicating that the m is greater than the first preset threshold;
determining, in a case where it is determined that the target condition is the first target condition, a data transmission direction of the relay base station based on the determination result includes:
determining the transmission direction as receiving a data packet from a macro base station under the condition that the judgment result is determined to indicate that the random number meets the first target condition;
determining the transmission direction as transmitting the data packet stored in the relay base station to a user side under the condition that the judgment result is determined to indicate that the random number does not meet the first target condition;
in the case where the target condition is the first target condition, the first target condition is that a random number x is smaller than
Figure FDA0004026303930000011
In the formula, p 1 Is the preset probability, p, that the relay base station successfully receives the data packet from the macro base station 2 A rule for successful reception of data packets from the relay base station for a predetermined subscriber terminalAnd h is the first preset threshold.
2. The method of claim 1, wherein determining a target condition based on the first comparison further comprises:
and determining that the target condition is a second target condition when the first comparison result is used for indicating that the m is smaller than a first preset threshold value.
3. The method of claim 2, wherein in the case that the target condition is determined to be a second target condition, determining the data transmission direction of the relay base station based on the determination result comprises:
determining the transmission direction as receiving a data packet from a macro base station under the condition that the judgment result is determined to indicate that the random number does not meet the second target condition;
and under the condition that the judgment result is determined to be used for indicating that the random number meets the second target condition, determining the transmission direction as transmitting the data packet stored in the relay base station to a user side.
4. The method of claim 2,
in the case where the target condition is the second target condition, the second target condition is that a random number x is smaller than
Figure FDA0004026303930000021
5. A relay transmission scheduling apparatus, comprising:
the device comprises a random number generation module, a random number generation module and a random number generation module, wherein the random number generation module is used for acquiring a random number in an idle time slot, and the value range of the random number is [0,1];
the relay base station comprises a data packet acquisition module, a data packet processing module and a data packet processing module, wherein the data packet acquisition module is used for acquiring the number m of data packets stored in the relay base station, and comparing the m with a first preset threshold value to obtain a first comparison result, wherein the m is greater than or equal to 0;
a target condition determination module for determining a target condition based on the first comparison result;
the judging module is used for judging whether the random number meets the target condition;
a transmission direction determining module, configured to determine a data transmission direction of the relay base station based on the determination result;
wherein the target condition determination module comprises: a first target condition determining unit, configured to determine that the target condition is a first target condition if the first comparison result is used to indicate that m is greater than the first preset threshold;
the first target condition determination unit includes:
a first packet receiving subunit, configured to determine that the transmission direction is to receive a packet from a macro base station, when it is determined that the determination result is used to indicate that the random number satisfies the first target condition;
a first packet sending subunit, configured to determine that the transmission direction is to send a packet stored in the relay base station to a user side, when it is determined that the determination result is used to indicate that the random number does not satisfy the first target condition;
in the case where the target condition is the first target condition, the first target condition is that a random number x is smaller than
Figure FDA0004026303930000031
In the formula, p 1 Is the preset probability, p, that the relay base station successfully receives the data packet from the macro base station 2 And h is the first preset threshold, wherein the probability that a preset user side successfully receives the data packet from the relay base station is.
6. The apparatus of claim 5, wherein the target condition determination module further comprises:
a second target condition determining unit, configured to determine that the target condition is a second target condition when the first comparison result is used to indicate that m is smaller than a first preset threshold.
7. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 4 when executed.
8. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 4.
CN202011069332.7A 2020-09-30 2020-09-30 Relay transmission scheduling method, device, storage medium and electronic equipment Active CN112218339B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011069332.7A CN112218339B (en) 2020-09-30 2020-09-30 Relay transmission scheduling method, device, storage medium and electronic equipment
PCT/CN2021/090883 WO2022068192A1 (en) 2020-09-30 2021-04-29 Relay transmission scheduling method and apparatus, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011069332.7A CN112218339B (en) 2020-09-30 2020-09-30 Relay transmission scheduling method, device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112218339A CN112218339A (en) 2021-01-12
CN112218339B true CN112218339B (en) 2023-03-14

Family

ID=74053475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011069332.7A Active CN112218339B (en) 2020-09-30 2020-09-30 Relay transmission scheduling method, device, storage medium and electronic equipment

Country Status (2)

Country Link
CN (1) CN112218339B (en)
WO (1) WO2022068192A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112218339B (en) * 2020-09-30 2023-03-14 三维通信股份有限公司 Relay transmission scheduling method, device, storage medium and electronic equipment
CN115942333A (en) * 2021-08-13 2023-04-07 中兴通讯股份有限公司 Information determination method, device and storage medium
CN115167612B (en) * 2022-07-14 2023-06-16 北京中科心研科技有限公司 Wall time and supplementary packet method, device and equipment for synchronizing data and medium
CN116074225B (en) * 2023-03-28 2023-06-23 浙江大丰数艺科技有限公司 Cross-media multidimensional sensor signal data interaction method, system and medium

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7430169B2 (en) * 2002-06-03 2008-09-30 International Business Machines Corporation Retro flow control for arriving traffic in computer networks
JP2006262143A (en) * 2005-03-17 2006-09-28 Ibm Japan Ltd Communication relay device, information management system, control method and program
CN101389113B (en) * 2007-09-14 2012-07-18 中兴通讯股份有限公司 Method for allocating radio resource to relays
CN101873642A (en) * 2009-04-24 2010-10-27 大唐移动通信设备有限公司 Method and device for reporting transmission buffering state of relay node
CN101969669B (en) * 2009-07-27 2013-02-13 电信科学技术研究院 Method, system and device for adjusting data volume
WO2011020228A1 (en) * 2009-08-17 2011-02-24 上海贝尔股份有限公司 Device and method for controlling downlink flow in user equipment, relay node and evolved universal terrestrial radio access network nodeb
CN102036382B (en) * 2009-09-30 2014-09-03 华为技术有限公司 Method, system and device for allocating wireless resources
CN102065483B (en) * 2009-11-18 2013-12-04 华为技术有限公司 Flow controlling method and device
CN102598825B (en) * 2009-12-22 2015-04-29 富士通株式会社 Quality of service control in a relay
CN102104913B (en) * 2009-12-22 2013-11-20 上海无线通信研究中心 Relay network flow control method
CN102137498B (en) * 2010-01-22 2013-08-14 电信科学技术研究院 Method and device for allocating resources in relay system
US8479055B2 (en) * 2010-05-16 2013-07-02 International Business Machines Corporation Detecting and optimizing false sharing
EP2509382A1 (en) * 2011-04-08 2012-10-10 Telefonaktiebolaget LM Ericsson (publ) Green relay scheduler
CN104270791A (en) * 2014-10-15 2015-01-07 哈尔滨工业大学 Relay node selecting method assisted by buffer
CN105050196B (en) * 2015-07-07 2019-03-22 上海交通大学 Multi-user communication based on full duplex relaying caching dispatches system and method
EP3270561A1 (en) * 2016-07-14 2018-01-17 Telefonica Digital España, S.L.U. Method and system for providing lawful interception in a peer to peer communication
CN106937399B (en) * 2017-03-15 2020-11-06 上海交通大学 Multi-user scheduling method and system for full-duplex cache relay system
CN107708085B (en) * 2017-08-29 2020-11-13 深圳市盛路物联通讯技术有限公司 Repeater guaranteeing method and access point
CN110035449B (en) * 2018-01-12 2021-06-22 华为技术有限公司 Method and device for sending data volume report
US10470136B1 (en) * 2018-08-10 2019-11-05 At&T Intellectual Property I, L.P. Downlink power control enhancements for multi-hop integrated access and backhaul
CN112218339B (en) * 2020-09-30 2023-03-14 三维通信股份有限公司 Relay transmission scheduling method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
WO2022068192A1 (en) 2022-04-07
CN112218339A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
CN112218339B (en) Relay transmission scheduling method, device, storage medium and electronic equipment
US11246168B2 (en) Method for random access and terminal device
CN110808948B (en) Remote procedure calling method, device and system
CN111490947A (en) Data packet transmitting method, data packet receiving method, system, device and medium
CN108696335B (en) Transmission method, sending end and receiving end
CN110365598A (en) Method, apparatus, server, terminal and the storage medium that heartbeat message is sent
CN111556513A (en) Method and equipment for configuring parameters
CN110943813A (en) SRS resource transmission method and device
CN112714159A (en) Message forwarding method and device, storage medium and electronic device
CN111641565B (en) Method, device and system for transmitting Ethernet message
CN111132279A (en) Communication method and device
CN112188562B (en) Multicast scheduling method and device for relay base station, storage medium and electronic device
CN114222281A (en) Data transmission method and communication device
JP2007201702A (en) Receiver, communication equipment, and communication method
CN113473612B (en) Communication transmission method and equipment
CN114337942A (en) Message retransmission method and device and electronic equipment
CN111866968B (en) Network mode switching method and device
CN108650049B (en) Channel detection method, device and base station
CN112637786B (en) Radio transmission apparatus and radio transmission method
WO2022047748A1 (en) Blind retransmission method and apparatus, device, and medium
CN116847303B (en) 5G technology-based power data transmission and processing method and system
CN114158069B (en) Method and device for data transmission in private network
CN114817113B (en) Method, system, equipment and storage medium for judging SDA data direction
CN115297178B (en) Message sending method and device, storage medium and electronic device
CN111372285B (en) Frame sending method and device and frame receiving method and device

Legal Events

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