CN110708661B - Data transmission method, system, device and medium based on 5G communication - Google Patents

Data transmission method, system, device and medium based on 5G communication Download PDF

Info

Publication number
CN110708661B
CN110708661B CN201911121470.2A CN201911121470A CN110708661B CN 110708661 B CN110708661 B CN 110708661B CN 201911121470 A CN201911121470 A CN 201911121470A CN 110708661 B CN110708661 B CN 110708661B
Authority
CN
China
Prior art keywords
terminal
information
request
data
distance
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
CN201911121470.2A
Other languages
Chinese (zh)
Other versions
CN110708661A (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.)
Yibin Dongfang tuoyu Technology Co.,Ltd.
Original Assignee
Shenzhen Eastaeon 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 Eastaeon Technology Co ltd filed Critical Shenzhen Eastaeon Technology Co ltd
Priority to CN201911121470.2A priority Critical patent/CN110708661B/en
Publication of CN110708661A publication Critical patent/CN110708661A/en
Application granted granted Critical
Publication of CN110708661B publication Critical patent/CN110708661B/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/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

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

Abstract

The invention relates to a data transmission method, a system and a storage medium based on 5G communication. The method comprises the following steps: acquiring position information of each request terminal and the first terminal and motion information within a preset time length; acquiring a request terminal for forwarding data information for the first terminal as a target terminal based on the position information and the motion information; and sending data information corresponding to the data request information to the first terminal through the target terminal. When existing data request information is received, position information of a mobile terminal which previously sends the data request information and motion information within a preset time length are obtained, a target terminal is determined based on the position information and the motion information, data information corresponding to the data request information is sent to a first terminal through the target terminal, and data obtaining of the mobile terminal is completed under the condition that bandwidth of data flow is not occupied through data sharing among the mobile terminals, so that the mobile terminal can obtain data without a network or under the condition that signals are weak.

Description

Data transmission method, system, device and medium based on 5G communication
Technical Field
The present invention relates to the field of 5G communication technologies, and in particular, to a data transmission method, system, device and storage medium based on 5G communication.
Background
The fifth Generation mobile communication technology (english: 5th Generation mobile networks or 5th Generation wireless systems, 5th-Generation, 5G or 5G technology for short) is the latest Generation cellular mobile communication technology, and is also an extension behind the 4G (LTE-A, WiMax), 3G (UMTS, LTE) and 2G (gsm) systems. The performance goals of 5G are high data rates, reduced latency, energy savings, reduced cost, increased system capacity, and large-scale device connectivity.
In the implementation process of the 5G communication technology, the D2D communication technology refers to a communication method for directly performing communication between two peer user nodes. In a distributed network of D2D communication users, each user node can send and receive signals and has the function of automatic routing (forwarding messages).
However, in the 5G data transmission field, the data transmission amount of each mobile terminal is large, the occupied bandwidth is large, and even if the mobile terminal and the base station complete communication, the base station may not process the data request of the mobile terminal in time or cannot acquire the data required by the mobile terminal in time due to channel occupation, which may cause a situation that the user has a signal but the data transmission delay is high.
Disclosure of Invention
In order to solve the problems in the prior art, at least one embodiment of the present invention provides a data transmission method, system, device and storage medium based on 5G communication.
In a first aspect, an embodiment of the present invention provides a data transmission method based on 5G communication, which is applied to mobile terminals connected to each other based on a D2D communication technology, and the method includes:
when receiving data request information of a first terminal, judging whether the data request information exists; the first terminal is any mobile terminal;
if the data request information exists, acquiring position information of each request terminal and the first terminal and motion information within a preset time length; the request terminal is the mobile terminal which previously sends the data request information;
acquiring a request terminal for forwarding data information for the first terminal as a target terminal based on the position information and the motion information;
and sending data information corresponding to the data request information to the first terminal through the target terminal.
Based on the above technical solutions, the embodiments of the present invention may be further improved as follows.
With reference to the first aspect, in a first embodiment of the first aspect, the acquiring, as a target terminal, a request terminal for forwarding data information for the first terminal based on the location information and the motion information includes:
calculating to obtain an initial relative distance between each request terminal and the first terminal according to the position information of each request terminal and the first terminal;
obtaining a first predicted motion track of the first terminal according to the motion information of the first terminal;
obtaining a second predicted motion track of each request terminal according to the motion information of each request terminal;
obtaining the relative distance between each request terminal and the first terminal after a preset time length on the basis of the first predicted motion trail and each second predicted motion trail;
obtaining a request terminal for forwarding data information for the first terminal as a target terminal according to the initial relative distance and the relative distance after each preset time duration; and the change of the distance between the target terminal and the first terminal meets a preset condition.
With reference to the first embodiment of the first aspect, in a second embodiment of the first aspect, the obtaining, as a target terminal, a request terminal for forwarding data information to the first terminal according to the initial relative distance and the relative distance after each preset time duration, includes:
for each request terminal, calculating a reference amount of distance change between the request terminal and the first terminal by the following formula:
Figure BDA0002275578990000031
wherein M is the reference amount of the distance change, N1 is the initial relative distance, and N2, N3..... No. (N-2), N (N-1), Nn are the relative distances between the requesting terminal and the first terminal after a preset time period;
comparing each distance change reference quantity with a preset distance change reference quantity, and judging whether the distance change reference quantity is smaller than or equal to the preset distance change reference quantity or not;
and when the distance change reference quantity is smaller than or equal to the preset distance change reference quantity, taking a request terminal corresponding to the distance change reference quantity as the target terminal.
With reference to the second embodiment of the first aspect, in a third embodiment of the first aspect, the method further includes:
and when all the distance change reference quantities are larger than the preset distance change reference quantity, taking the request terminal which corresponds to the distance change reference quantity with the minimum value and has the relative distance with the first terminal smaller than the preset distance as the target terminal.
With reference to the second kind of embodiment of the first aspect, in a fourth embodiment of the first aspect, the sending, by the target terminal, data information corresponding to the data request information for the first terminal includes:
sorting the interval change reference quantity corresponding to each target terminal according to the size;
and sending data information corresponding to the data request information to the first terminal through the target terminal corresponding to the reference quantity of the minimum distance change of the numerical value.
With reference to the third embodiment of the first aspect, in a fifth embodiment of the first aspect, the transmission method further includes:
when the relative distance between a target terminal sending data information for the first terminal and the first terminal is larger than a preset distance threshold value, removing preset distance change reference quantity corresponding to the target terminal sending data information for the first terminal, recalculating to obtain the distance change reference quantity between each request terminal and the first terminal, taking the request terminal corresponding to the distance change reference quantity with the minimum value as the target terminal, and sending the data information corresponding to the data request information to the first terminal through the target terminal.
With reference to the first aspect or the first, second, third, fourth, or fifth embodiment of the first aspect, in a sixth embodiment of the first aspect, the transmission method further includes:
and when the distance between a target terminal which sends data information for the first terminal and the first terminal exceeds a preset distance threshold, sending the data information corresponding to the data request information to the first terminal through another target terminal.
With reference to the first aspect or the first, second, third, fourth, or fifth embodiment of the first aspect, in a seventh embodiment of the first aspect, the transmission method further includes:
and when the target terminal which sends the data information to the first terminal is disconnected with the first terminal, sending the data information corresponding to the data request information to the first terminal through another target terminal.
In a second aspect, an embodiment of the present invention provides a data transmission system based on 5G communication, including: mobile terminals interconnected based on D2D communication technology, the system further comprising:
the device comprises a judging unit, a judging unit and a judging unit, wherein the judging unit is used for judging whether data request information of a first terminal exists or not when the data request information is received; the first terminal is any mobile terminal;
a first obtaining unit, configured to obtain, if the data request information already exists, location information of each request terminal and the first terminal and motion information within a preset time duration; the request terminal is the mobile terminal which previously sends the data request information;
a second obtaining unit, configured to obtain, as a target terminal, a request terminal for forwarding data information for the first terminal based on the position information and the motion information;
and the data transmission unit is used for sending data information corresponding to the data request information to the first terminal through the target terminal.
In a third aspect, an embodiment of the present invention provides a data transmission apparatus based on 5G communication, including: the mobile terminals are connected with each other based on the D2D communication technology, and further comprise a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete the communication with each other through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the data transmission method according to any one of the embodiments of the first aspect when executing the program stored in the memory.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement the data transmission method described in any one of the first aspects.
Compared with the prior art, the technical scheme of the invention has the following advantages: when existing data request information is received, position information of a mobile terminal which previously sends the data request information and motion information within a preset time length are obtained, a target terminal is determined based on the position information and the motion information, data information corresponding to the data request information is sent to a first terminal through the target terminal, and data obtaining of the mobile terminal is completed under the condition that bandwidth of data flow is not occupied through data sharing among the mobile terminals, so that the mobile terminal can obtain data without a network or under the condition that signals are weak.
Drawings
Fig. 1 is a schematic flow chart of a data transmission method based on 5G communication according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a data transmission method based on 5G communication according to another embodiment of the present invention;
fig. 3 is a first flowchart of a data transmission method based on 5G communication according to another embodiment of the present invention;
fig. 4 is a second schematic flowchart of a data transmission method based on 5G communication according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data transmission system based on 5G communication according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data transmission device based on 5G communication according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a data transmission method based on 5G communication, which is applied to mobile terminals interconnected based on D2D communication technology. Referring to fig. 1, the method includes the steps of:
s11, when receiving the data request information of the first terminal, judging whether the data request information exists; the first terminal is any mobile terminal.
In the embodiment, the fifth Generation mobile communication technology (5th Generation mobile networks or 5th Generation wireless systems, 5th-Generation, 5G or 5G technology for short) is the latest Generation cellular mobile communication technology, which is also an extension behind the 4G (LTE-A, WiMax), 3G (UMTS, LTE) and 2G (gsm) systems. As a D2D communication technology which is one of 5G-oriented key candidate technologies, the advantages of the D2D communication technology can be fully shown in the application of 5G mobile communication by exerting the advantages of the core technology of the D2D communication technology on the basis of the characteristics of ultra-high speed, ultra-large bandwidth, ultra-large scale access capability, ultra-large data processing capability and the like of the future mobile communication technology. D2D is Device-to-Device, also known as terminal pass-through. The D2D communication technology refers to a communication method for directly communicating between two peer user nodes. In a distributed network of D2D communication users, each user node can send and receive signals and has the function of automatic routing (forwarding messages).
In this embodiment, when receiving a data request message of any one of the mobile terminals, for example, a control command such as a video request message, an audio request message, and a chat request message, it is determined whether the data request message exists, for example, a base station receiving the data request message of the mobile terminal may determine whether another mobile terminal has sent the data request message before, and if the data request message exists, the base station may directly obtain data information corresponding to the data request message from another mobile terminal, and based on the D2D principle of the 5G communication technology, the base station may obtain data corresponding to the data request message from another mobile terminal, thereby avoiding occupying a bandwidth of the base station and improving data transmission efficiency.
S12, if the data request information exists, acquiring the position information of each request terminal and the first terminal and the motion information within a preset time length; the request terminal is the mobile terminal which previously sends the data request information.
In this embodiment, if it is determined that the data request information already exists, the location information of each request terminal and the motion information within the preset duration, the location information of the first terminal, and the motion information within the preset duration are respectively obtained, where the location information may be obtained by a positioning module disposed in the mobile terminal, which is not described herein in detail in this embodiment, and the corresponding motion information of the mobile terminal may be obtained by the positioning module, for example, the motion acceleration may be obtained by a change of the location with time, and the motion trajectory and other information may be obtained by performing positioning.
And S13, acquiring a request terminal for forwarding data information for the first terminal as a target terminal based on the position information and the motion information.
In this embodiment, a request terminal for sending data information to a first terminal is determined based on location information and motion information, for example, because there is a request terminal in the range of a base station, if there is only one request terminal and its location is appropriate to the distance of the first terminal, it directly takes the request terminal as a target terminal, where whether the distance is appropriate can be defined by a preset distance threshold, if there are multiple request terminals, it is determined whether the distance between the two terminals is too far according to the location information of the first terminal and each request terminal, and scoring can be performed according to the distance, and then it is determined whether the current motion of the terminals is too large according to the motion information of the two terminals, because the motion of the terminals will cause location change, and the larger the location change will cause the data transmission efficiency between the two terminals to fluctuate, in order to ensure the data transmission efficiency of the request terminal for sending data to the first terminal, the request terminal with smaller space and smaller motion quantity is adopted.
And S14, sending data information corresponding to the data request information to the first terminal through the target terminal.
In this embodiment, the target terminal determined through the above steps sends data information corresponding to the data request information to the first terminal requesting data, if the target terminal and the first terminal can be directly connected without other mobile terminals, the target terminal and the first terminal are directly connected to transmit corresponding data to the first terminal, and if the target terminal and the first terminal cannot be directly connected, the data transmission mode between the two terminals can be remote relay transmission through the data transmission mode of D2D, which is not particularly limited in this embodiment.
In this embodiment, the transmission method further includes:
and when the distance between a target terminal which sends data information for the first terminal and the first terminal exceeds a preset distance threshold, sending the data information corresponding to the data request information to the first terminal through another target terminal.
In this embodiment, the transmission method further includes:
and when the target terminal which sends the data information to the first terminal is disconnected with the first terminal, sending the data information corresponding to the data request information to the first terminal through another target terminal.
In this embodiment, when the distance between the target terminal that sends data to the first terminal and the first terminal exceeds the preset distance threshold or the connection is disconnected, the target terminal that sends data to the first terminal is switched in time, so as to ensure the data transmission efficiency.
In the embodiment of the present invention, a data transmission method based on a 5G communication technology is provided, where for a base station, when any terminal requests data requested by other terminals before the base station, for example, the base station receives an instruction sent by any terminal to request downloading of a certain video, a certain music, and a certain article, an identifier of a terminal that sent the request instruction in advance may be queried in a data interaction record of the base station, the other terminal that forwards data is determined for a first terminal that requested data based on a D2D communication technology, then a target terminal is determined according to position information of the other terminal and the terminal that currently requests data and motion information within a preset time duration, the data is forwarded for the terminal that currently sends the request instruction by the target terminal that has obtained data again, and data sharing between mobile terminals is performed without occupying bandwidth of data traffic, and the data acquisition of the mobile terminal is completed, so that the mobile terminal can acquire the data without a network or under the condition of weak signals.
As shown in fig. 2, an embodiment of the present invention provides a data transmission method. Referring to fig. 2, the data transmission method includes the steps of:
s21, when receiving the data request information of the first terminal, judging whether the data request information exists; the first terminal is any mobile terminal.
Regarding step S21, refer to the description in step S11 for details, which are not repeated herein.
S22, if the data request information exists, acquiring the position information of each request terminal and the first terminal and the motion information within a preset time length; the request terminal is the mobile terminal which previously sends the data request information.
Regarding step S22, refer to the description in step S12 for details, which are not repeated herein.
And S23, calculating the initial relative distance between each request terminal and the first terminal according to the position information of each request terminal and the first terminal.
In this embodiment, the relative distance between each requesting terminal and the first terminal is respectively calculated according to the position information of the requesting terminal and the first terminal, and in the field, the larger the spatial distance between the two terminals is, the more signal problems may be encountered during the transmission process, and finally the higher the data transmission delay is, so the distance between the two terminals may be used to represent the data transmission efficiency between the two terminals.
And S24, obtaining a first predicted motion trail of the first terminal according to the motion information of the first terminal.
In this embodiment, the movement tendency of the first terminal is predicted according to past movement information of the first terminal, in daily life, movement tracks of most people are relatively fixed, for example, the working hours of monday to friday, the few waking hours in the morning, the time of getting out after getting up, the movement tracks of working and the movement tracks of working are all traceable, the movement tracks of weekends can be known in the same way, after the initial relative distance between the request terminal and the first terminal is known, the predicted movement track of the first terminal is obtained, so as to predict whether the position of the first terminal is greatly changed in a future period of time, and the data transmission quality between the terminals is confirmed by referring to the position change of the terminal. In this embodiment, the predicted motion trajectory obtained based on the historical motion information may be obtained by a deep learning method or a linear regression method.
And S25, obtaining a second predicted motion track of each request terminal according to the motion information of each request terminal.
In the present embodiment, the predicted motion trajectory of each requesting terminal is obtained in the same manner.
And S26, obtaining the relative distance between each request terminal and the first terminal after each preset time length on the basis of the first predicted motion trail and each second predicted motion trail.
In this embodiment, according to the first predicted motion trajectory and each second predicted motion trajectory, the relative distance between the first terminal and each request terminal after a preset time period elapses after the current time is obtained, and the change in the relative distance between each request terminal and the first terminal can be confirmed through the calculated relative distance, for example, the relative distance between the request terminal and the first terminal gradually increases, and the relative distance between the request terminal and the first terminal gradually decreases.
S27, obtaining a request terminal for forwarding data information for the first terminal as a target terminal according to the initial relative distance and the relative distance after each preset time duration; and the change of the distance between the target terminal and the first terminal meets a preset condition.
In the embodiment, through the initial relative distance between the request terminal and the first middle shield and the relative distance after every preset time length in a period of time,
and S28, sending data information corresponding to the data request information to the first terminal through the target terminal.
Regarding step S28, refer to the description in step S14 for details, which are not repeated herein.
As shown in fig. 3, in this embodiment, the obtaining, in step S27, a request terminal for forwarding data information to the first terminal according to the initial relative distance and the relative distance after each preset time duration, as a target terminal, includes the following steps:
s31, for each of the request terminals, calculating a reference amount of distance variation between the request terminal and the first terminal by the following formula:
Figure BDA0002275578990000111
wherein M is the reference amount of the distance change, N1 is the initial relative distance, and N2, N3..
In this embodiment, since the farther the distance between the requesting terminal and the first terminal is, the longer the data transmission time for the requesting terminal to transmit data to the first terminal is, or the more variables that easily cause deterioration of the data transmission effect are, if relay transmission is performed by another terminal connected through D2D, the more terminals that may cause relays to increase, and the time consumed for transmission is increased, in this step, the reference amount of the distance change between the two terminals is calculated with reference to the initial relative distance between the requesting terminal and the first terminal and the variation amount of the relative distance every preset time period thereafter, which can be obtained by the above formula, if the relative distance after the current preset time period is smaller than the relative distance of the last preset time period, it means that the relative distance between the requesting terminal and the first terminal is being reduced, and if the requesting terminal keeps accelerating the relative distance with the first terminal, the smaller the reference amount of the distance change, the better the final data transmission effect due to the smaller the distance between the terminals, but the reference amount in this solution is a pre-measurement, and the position change of the terminal may also change the terminal connected to D2D, which may take longer time, so in this step, the reference amount of the distance change is calculated only by referring to the relative distance change in the adjacent image within the preset time period.
And S32, comparing each distance change reference quantity with a preset distance change reference quantity, and judging whether the distance change reference quantity is smaller than or equal to the preset distance change reference quantity.
And S33, when the distance change reference is smaller than or equal to the preset distance change reference, taking the request terminal corresponding to the distance change reference as the target terminal.
In this embodiment, as described above, when the smaller the distance change reference calculated according to the predicted relative distance, the smaller the relative distance between the requesting terminal and the first terminal is, and the smaller the change of other terminals connected between the requesting terminal and the first terminal through the D2D technology is, the better the stability of the data transmission line is, and the better the final data transmission effect is, at this time, each requesting terminal whose distance change reference is smaller than or equal to the preset distance change reference is taken as the target terminal.
In this embodiment, when all the distance change references are greater than the preset distance change reference, the request terminal corresponding to the distance change reference with the smallest value and having a relative distance with the first terminal smaller than a preset distance is used as the target terminal.
In this embodiment, when the calculated reference distance between each request terminal and the first terminal is greater than the preset reference distance, the minimum reference distance is determined to correspond to the reference distance, and the request terminal whose relative distance from the first terminal is smaller than the preset distance is determined to be the target terminal, so as to send data to the first terminal through the request terminal, thereby avoiding transmission through the base station, and occupying the base station as a baseband.
As shown in fig. 4, in this embodiment, the sending, by the target terminal, data information corresponding to the data request information to the first terminal in step S28 includes the following steps:
and S41, sorting the distance change reference quantity corresponding to each target terminal according to the size.
In this embodiment, the obtained target terminals may be sorted according to the size of the reference amount of the distance change, so as to determine the target terminal with the best data transmission effect in the prediction result.
And S42, sending data information corresponding to the data request information to the first terminal through the target terminal corresponding to the reference quantity of the minimum distance change.
In this embodiment, the target terminal with the best data transmission effect sends the data information of the data request information to the first terminal, so as to ensure that the data information is transmitted with the best data transmission effect.
In this embodiment, the transmission method further includes: when the relative distance between a target terminal sending data information for the first terminal and the first terminal is larger than a preset distance threshold value, removing preset distance change reference quantity corresponding to the target terminal sending data information for the first terminal, recalculating to obtain the distance change reference quantity between each request terminal and the first terminal, taking the request terminal corresponding to the distance change reference quantity with the minimum value as the target terminal, and sending the data information corresponding to the data request information to the first terminal through the target terminal.
As shown in fig. 5, an embodiment of the present invention provides a data transmission system based on 5G communication, including: mobile terminals interconnected based on D2D communication technology, the system further comprising: a judging unit 11, a first acquiring unit 12, a second acquiring unit 13, and a data transmitting unit 14.
In this embodiment, the determining unit 11 is configured to determine whether data request information already exists when the data request information of the first terminal is received; the first terminal is any mobile terminal;
in this embodiment, the first obtaining unit 12 is configured to obtain, if the data request information already exists, location information of each request terminal and the first terminal and motion information within a preset time duration; the request terminal is the mobile terminal which previously sends the data request information;
in this embodiment, the second obtaining unit 13 is configured to obtain, as a target terminal, a request terminal that forwards data information for the first terminal, based on the position information and the motion information;
in this embodiment, the data transmission unit 14 is configured to send data information corresponding to the data request information to the first terminal through the target terminal.
In this embodiment, the second obtaining unit 13 includes: a first calculating subunit, a first processing subunit, a second processing subunit and a third processing subunit,
In this embodiment, the first calculating subunit is configured to calculate, according to the position information of each request terminal and the first terminal, an initial relative distance between each request terminal and the first terminal.
In this embodiment, the first processing subunit is configured to obtain a first predicted motion trajectory of the first terminal according to the motion information of the first terminal; and obtaining a second predicted motion track of each request terminal according to the motion information of each request terminal.
In this embodiment, the second processing subunit is configured to obtain, based on the first predicted motion trajectory and each of the second predicted motion trajectories, a relative distance between each of the request terminals and the first terminal after a preset time period elapses.
In this embodiment, the third processing subunit is configured to obtain, as a target terminal, a request terminal for forwarding data information for the first terminal according to the initial relative distance and the relative distance after each preset time duration; and the change of the distance between the target terminal and the first terminal meets a preset condition.
In this embodiment, the third processing subunit is specifically configured to, for each request terminal, calculate a reference amount of a distance change between the request terminal and the first terminal by using the following formula:
Figure BDA0002275578990000141
wherein M is the reference amount of the distance change, N1 is the initial relative distance, and N2, N3..... No. (N-2), N (N-1), Nn are the relative distances between the requesting terminal and the first terminal after a preset time period;
the third processing subunit is specifically configured to compare each of the distance change references with a preset distance change reference, and determine whether the distance change reference is smaller than or equal to the preset distance change reference; and when the distance change reference quantity is smaller than or equal to the preset distance change reference quantity, taking a request terminal corresponding to the distance change reference quantity as the target terminal.
In this embodiment, the second obtaining unit 13 is further configured to, when all the distance change references are greater than the preset distance change reference, take, as the target terminal, a request terminal that corresponds to the distance change reference with the smallest value and has a relative distance with the first terminal smaller than a preset distance.
In this embodiment, the data transmission unit 14 is specifically configured to sort the reference distance variation amount corresponding to each target terminal according to size; and sending data information corresponding to the data request information to the first terminal through the target terminal corresponding to the reference quantity of the minimum distance change of the numerical value.
In this embodiment, the second obtaining unit 13 is further configured to, when a relative distance between a target terminal that sends data information to the first terminal and the first terminal is greater than a preset distance threshold, remove a preset distance change reference corresponding to the target terminal that sends data information to the first terminal, recalculate the distance change reference to obtain a distance change reference between each request terminal and the first terminal, and use the request terminal corresponding to the distance change reference with the smallest value as the target terminal.
In this embodiment, the data transmission unit 14 is further configured to send the data information corresponding to the data request information to the first terminal through another target terminal when a distance between a target terminal that sends the data information for the first terminal and the first terminal exceeds a preset distance threshold.
In this embodiment, the data transmission unit 14 is further configured to send the data information corresponding to the data request information to the first terminal through another target terminal when the target terminal that sends the data information for the first terminal is disconnected from the first terminal.
As shown in fig. 6, an embodiment of the present invention provides a data transmission apparatus based on 5G communication, including a processor 1110, a communication interface 1120, a memory 1130, and a communication bus 1140, where the processor 1110, the communication interface 1120, and the memory 1130 complete communication with each other through the communication bus 1140;
a memory 1130 for storing computer programs;
processor 1110, when executing the program stored in memory 1130, implements a terminal connection method based on 5G communication as follows:
when receiving data request information of a first terminal, judging whether the data request information exists; the first terminal is any mobile terminal;
if the data request information exists, acquiring position information of each request terminal and the first terminal and motion information within a preset time length; the request terminal is the mobile terminal which previously sends the data request information;
acquiring a request terminal for forwarding data information for the first terminal as a target terminal based on the position information and the motion information;
and sending data information corresponding to the data request information to the first terminal through the target terminal.
In the electronic device provided in the embodiment of the present invention, the processor 1110, by executing the program stored in the memory 1130, realizes that when receiving an existing data request message, it indicates that a server or another service terminal has received the data request message, and performs corresponding processing, at this time, location information of a mobile terminal that previously sent the data request message and motion information within a preset time duration are obtained, a target terminal is determined based on the location information and the motion information, data information corresponding to the data request message is sent to a first terminal by the target terminal, and data acquisition of the mobile terminal is completed under the condition that a bandwidth of data traffic is not occupied by data sharing between the mobile terminals, so that the mobile terminal can acquire data without a network or in a case that a signal is weak.
The communication bus 1140 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 1140 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The communication interface 1120 is used for communication between the electronic device and other devices.
The memory 1130 may include a Random Access Memory (RAM) 1130, and may also include a non-volatile memory 1130, such as at least one disk memory 1130. Optionally, the memory 1130 may also be at least one memory device located remotely from the processor 1110.
The processor 1110 may be a general-purpose processor 1110, and includes a Central Processing Unit (CPU) 1110, a Network Processor (NP) 1110, and the like; the device may also be a digital signal processor 1110 (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
An embodiment of the present invention provides a computer-readable storage medium, which stores one or more programs, where the one or more programs are executable by one or more processors, to perform the data transmission method described in any of the first aspect embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the invention are brought about in whole or in part when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (ssd)), among others.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. A data transmission method based on 5G communication is applied to mobile terminals which are connected with each other based on D2D communication technology, and is characterized in that the method comprises the following steps:
when receiving data request information of a first terminal, judging whether the data request information exists; the first terminal is any mobile terminal;
if the data request information exists, acquiring position information of each request terminal and the first terminal and motion information within a preset time length; the request terminal is the mobile terminal which previously sends the data request information;
acquiring a request terminal for forwarding data information for the first terminal as a target terminal based on the position information and the motion information;
sending data information corresponding to the data request information to the first terminal through the target terminal;
wherein, the obtaining, as a target terminal, a request terminal for forwarding data information for the first terminal based on the location information and the motion information includes:
calculating to obtain an initial relative distance between each request terminal and the first terminal according to the position information of each request terminal and the first terminal;
obtaining a first predicted motion track of the first terminal according to the motion information of the first terminal;
obtaining a second predicted motion track of each request terminal according to the motion information of each request terminal;
obtaining the relative distance between each request terminal and the first terminal after a preset time length on the basis of the first predicted motion trail and each second predicted motion trail;
obtaining a request terminal for forwarding data information for the first terminal as a target terminal according to the initial relative distance and the relative distance after each preset time duration; the change of the distance between the target terminal and the first terminal meets a preset condition;
wherein, the obtaining, as a target terminal, a request terminal for forwarding data information for the first terminal according to the initial relative distance and the relative distance after each preset duration includes:
for each request terminal, calculating a reference amount of distance change between the request terminal and the first terminal by the following formula:
Figure FDA0002537802250000021
wherein M is the reference amount of distance change, N1 is the initial relative distance, and N2, N3... No. (N-2), N (N-1), Nn are the relative distances between the requesting terminal and the first terminal after a preset time period;
comparing each distance change reference quantity with a preset distance change reference quantity, and judging whether the distance change reference quantity is smaller than or equal to the preset distance change reference quantity or not;
and when the distance change reference quantity is smaller than or equal to the preset distance change reference quantity, taking a request terminal corresponding to the distance change reference quantity as the target terminal.
2. The transmission method according to claim 1, characterized in that the method further comprises:
and when all the distance change reference quantities are larger than the preset distance change reference quantity, taking the request terminal which corresponds to the distance change reference quantity with the minimum value and has the relative distance with the first terminal smaller than the preset distance as the target terminal.
3. The transmission method according to claim 1, wherein the sending, by the target terminal, data information corresponding to the data request information for the first terminal includes:
sorting the interval change reference quantity corresponding to each target terminal according to the size;
and sending data information corresponding to the data request information to the first terminal through the target terminal corresponding to the reference quantity of the minimum distance change of the numerical value.
4. The transmission method according to claim 2, wherein the transmission method further comprises:
when the relative distance between a target terminal sending data information for the first terminal and the first terminal is larger than a preset distance threshold value, removing preset distance change reference quantity corresponding to the target terminal sending data information for the first terminal, recalculating to obtain the distance change reference quantity between each request terminal and the first terminal, taking the request terminal corresponding to the distance change reference quantity with the minimum value as the target terminal, and sending the data information corresponding to the data request information to the first terminal through the target terminal.
5. The transmission method according to any one of claims 1 to 4, further comprising:
and when the distance between a target terminal which sends data information for the first terminal and the first terminal exceeds a preset distance threshold, sending the data information corresponding to the data request information to the first terminal through another target terminal.
6. The transmission method according to any one of claims 1 to 4, further comprising:
and when the target terminal which sends the data information to the first terminal is disconnected with the first terminal, sending the data information corresponding to the data request information to the first terminal through another target terminal.
7. A data transmission system based on 5G communication, comprising: mobile terminals interconnected on the basis of D2D communication technology, characterized in that the system further comprises:
the device comprises a judging unit, a judging unit and a judging unit, wherein the judging unit is used for judging whether data request information of a first terminal exists or not when the data request information is received; the first terminal is any mobile terminal;
a first obtaining unit, configured to obtain, if the data request information already exists, location information of each request terminal and the first terminal and motion information within a preset time duration; the request terminal is the mobile terminal which previously sends the data request information;
a second obtaining unit, configured to obtain, as a target terminal, a request terminal for forwarding data information for the first terminal based on the position information and the motion information;
a data transmission unit, configured to send data information corresponding to the data request information to the first terminal through the target terminal;
the second acquisition unit includes: the system comprises a first calculation subunit, a first processing subunit, a second processing subunit and a third processing subunit;
the first calculating subunit is configured to calculate, according to the position information of each request terminal and the first terminal, an initial relative distance between each request terminal and the first terminal;
the first processing subunit is configured to obtain a first predicted motion trajectory of the first terminal according to the motion information of the first terminal; obtaining a second predicted motion track of each request terminal according to the motion information of each request terminal;
the second processing subunit is configured to obtain, based on the first predicted motion trajectory and each of the second predicted motion trajectories, a relative distance between each of the request terminals and the first terminal after a preset time period elapses;
a third processing subunit, configured to obtain, as a target terminal, a request terminal for forwarding data information for the first terminal according to the initial relative distance and the relative distance after each preset duration; the change of the distance between the target terminal and the first terminal meets a preset condition;
the third processing subunit is specifically configured to, for each request terminal, calculate a reference amount of a change in a distance between the request terminal and the first terminal by using the following formula:
Figure FDA0002537802250000041
wherein M is the reference amount of distance change, N1 is the initial relative distance, and N2, N3... No. (N-2), N (N-1), Nn are the relative distances between the requesting terminal and the first terminal after a preset time period;
the third processing subunit is specifically configured to compare each of the distance change references with a preset distance change reference, and determine whether the distance change reference is smaller than or equal to the preset distance change reference; and when the distance change reference quantity is smaller than or equal to the preset distance change reference quantity, taking a request terminal corresponding to the distance change reference quantity as the target terminal.
8. A data transmission apparatus based on 5G communication, comprising: the mobile terminals are connected with each other based on the D2D communication technology, and the mobile terminals are characterized by further comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are used for completing the communication with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the data transmission method based on 5G communication according to any one of claims 1 to 6 when executing the program stored in the memory.
9. A computer-readable storage medium storing one or more programs which are executable by one or more processors to implement the 5G communication-based data transmission method according to any one of claims 1 to 6.
CN201911121470.2A 2019-11-15 2019-11-15 Data transmission method, system, device and medium based on 5G communication Active CN110708661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911121470.2A CN110708661B (en) 2019-11-15 2019-11-15 Data transmission method, system, device and medium based on 5G communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911121470.2A CN110708661B (en) 2019-11-15 2019-11-15 Data transmission method, system, device and medium based on 5G communication

Publications (2)

Publication Number Publication Date
CN110708661A CN110708661A (en) 2020-01-17
CN110708661B true CN110708661B (en) 2020-08-21

Family

ID=69206237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911121470.2A Active CN110708661B (en) 2019-11-15 2019-11-15 Data transmission method, system, device and medium based on 5G communication

Country Status (1)

Country Link
CN (1) CN110708661B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291775A (en) * 2020-10-19 2021-01-29 深圳市中诺通讯有限公司 Method and device for terminal to acquire service
CN112543423B (en) * 2020-11-23 2022-04-29 广州技象科技有限公司 Internet of things exhibition hall data sharing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571863A (en) * 2010-12-30 2012-07-11 国际商业机器公司 Method and device for realizing content sharing between mobile terminals
CN107948956A (en) * 2017-11-07 2018-04-20 北京小米移动软件有限公司 Localization method and device
CN108307677A (en) * 2015-05-05 2018-07-20 诺基亚通信公司 method, system and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4967057B2 (en) * 2007-03-30 2012-07-04 テレコム・イタリア・エッセ・ピー・アー Method and system for enabling connection of a mobile communication terminal to a wireless communication network
CN106686679B (en) * 2016-12-19 2020-03-17 西安交通大学 Energy-efficiency-based multi-hop D2D routing hop number limiting method in content-centric network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571863A (en) * 2010-12-30 2012-07-11 国际商业机器公司 Method and device for realizing content sharing between mobile terminals
CN108307677A (en) * 2015-05-05 2018-07-20 诺基亚通信公司 method, system and device
CN107948956A (en) * 2017-11-07 2018-04-20 北京小米移动软件有限公司 Localization method and device

Also Published As

Publication number Publication date
CN110708661A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
US11743823B2 (en) Efficient MICO mode management method utilizing network analysis information in 5G mobile network system
US10178167B2 (en) Real-time peer-to-peer communications in an environment that includes a restricted channel
US10966122B2 (en) Method and migration managing module for managing a migration of a service
US8996042B1 (en) System and method for forwarding a paging message between access nodes
CN102474889B (en) The refusal of a kind of specified delay time is provided to respond
US20120082131A1 (en) System and method of handover in wireless network
CN110708661B (en) Data transmission method, system, device and medium based on 5G communication
CN108738079B (en) Transmission rate negotiation method and device
JP2018160017A (en) Server, service providing system, service providing method, and program
US8700059B1 (en) Selecting a carrier
US20180176817A1 (en) Data throughput control in a mobile wireless communication environment
US10003954B2 (en) Method and apparatus for distributive mobility management
CN107404404B (en) Terminal routing method based on Internet of things and Internet of things terminal
CN110856148B (en) Data transmission method, system, device and medium based on 5G communication
CN110650433B (en) Data transmission method, system, device and medium based on 5G communication
US9088959B1 (en) Paging back-off timer
CN110856147B (en) Terminal connection method, system, device and medium based on 5G communication
CN114630346B (en) Data interaction method and device based on wireless intelligent control platform
US11277765B2 (en) Adaptive media service
CN110809235B (en) Terminal remote control method, system, device and medium based on 5G communication
US9307471B1 (en) Selecting an access node for wireless device communication
US9055399B1 (en) Systems and methods of tracking area adjustment
US20120079028A1 (en) Content sharing system performance improvement
US9380553B1 (en) Paging a wireless device
US11765064B1 (en) Network repository function overload protection

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220127

Address after: 610101 Room 301, No. 9, west section of Gangyuan Avenue, Lingang Economic Development Zone, Yibin City, Sichuan Province

Patentee after: Yibin Dongfang tuoyu Technology Co.,Ltd.

Address before: 518000 south block, 4th floor, building B, Kingdee Software Park, No.2, Keji South 12th Road, South District, high tech Industrial Park, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN EASTAEON TECHNOLOGY Co.,Ltd.