Vehicle relay communication method, device, electronic equipment and computer storage medium

By calculating the distance and weight coefficients between the vehicle terminal and the relay vehicle and the base station, and intelligently allocating communication data, the problem of waste of resources in communication between the vehicle and the base station is solved and communication efficiency is improved.

CN113573275BActive Publication Date: 2024-12-03CM INTELLIGENT MOBILITY +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010354896.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-29
Publication Date
2024-12-03
Estimated Expiration
2040-04-29

AI Technical Summary

Technical Problem

In the prior art, wireless communication between a vehicle and a base station requires multiple base stations to repeatedly cover the corresponding road area, resulting in an increase in the base station layout density or an increase in signal strength, resulting in wasted resources.

Method used

By determining the distance between the target relay vehicle and the base station at the vehicle terminal, calculating the weight coefficient, and intelligently allocating the communication data to the relay vehicle, and sending data to the base station using the relay vehicle to reduce dependence on the base station.

Benefits of technology

It effectively reduces unnecessary resource waste, avoids the need to increase the base station layout density or improve the signal strength of the base station, and improves the efficiency of communication between the vehicle terminal and the base station.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113573275B_ABST
    Figure CN113573275B_ABST
Patent Text Reader

Abstract

Embodiments of the present invention provide a vehicle relay communication method, device, electronic device and computer storage medium. The vehicle relay communication method includes: when it is determined that the signal strength of the current position of the first vehicle terminal does not meet the communication conditions, respectively determine the first distance between the first vehicle terminal and each target relay vehicle terminal, and the second distance between each target relay vehicle terminal and the target base station; wherein the first vehicle terminal and each target relay vehicle terminal are within the signal coverage range of the target base station; according to the first distance and the second distance, determine the weight coefficient corresponding to each target relay vehicle terminal; based on the weight coefficient corresponding to each target relay vehicle terminal, send communication data to each target relay vehicle terminal, so that each target relay vehicle terminal sends communication data to the target base station. According to an embodiment of the present invention, it is possible to reduce unnecessary waste of resources during the communication between the vehicle terminal and the base station.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of wireless communication technology, and in particular relates to a vehicle relay communication method, device, electronic equipment and computer storage medium. Background Art

[0002] With the rapid development of 5G communication technology, driverless driving and Internet of Vehicles technology have gradually entered people's lives, and stable base station signals are a crucial link in the popularization of these technologies. Internet of Vehicles: The on-board equipment on the vehicle uses wireless communication technology to effectively utilize all vehicle dynamic information on the information network platform and provide different functional services during vehicle operation. The Internet of Vehicles can help car owners navigate in real time and improve the efficiency of traffic operation by communicating with other vehicles and network systems.

[0003] At present, the relevant technology only installs wireless transceivers on vehicles to connect to the Internet, realizes information transmission between vehicles and wireless communication between vehicles and base stations, and has high requirements for base station signals. It requires multiple base stations to repeatedly cover the corresponding road areas, which increases the layout density of base stations or improves the strength of base station transmission signals, all of which cause unnecessary waste of resources.

[0004] Therefore, how to reduce unnecessary waste of resources during communication between vehicle terminals and base stations is a technical problem that technical personnel in this field urgently need to solve. Summary of the invention

[0005] The embodiments of the present invention provide a vehicle relay communication method, device, electronic device and computer storage medium, which can reduce unnecessary waste of resources during the communication between a vehicle terminal and a base station.

[0006] In a first aspect, an embodiment of the present invention provides a vehicle relay communication method, applied to a first vehicle terminal, comprising:

[0007] When it is determined that the signal strength of the current position of the first vehicle terminal does not meet the communication condition, respectively determine the first distance between the first vehicle terminal and each target relay vehicle terminal, and the second distance between each target relay vehicle terminal and the target base station; wherein the first vehicle terminal and each target relay vehicle terminal are all within the signal coverage range of the target base station;

[0008] Determine a weight coefficient corresponding to each target relay vehicle terminal according to the first distance and the second distance;

[0009] Based on the weight coefficient corresponding to each target relay vehicle terminal, communication data is sent to each target relay vehicle terminal, so that each target relay vehicle terminal sends communication data to the target base station.

[0010] Optionally, before respectively determining the first distances between the first vehicle terminal and each target relay vehicle terminal, the method further includes:

[0011] Determine a third distance between the first vehicle terminal and the target base station based on the current position and the pre-collected base station position; wherein the base station position is the position of the target base station;

[0012] Determine each second vehicle terminal in the target area; wherein the target area is a circular area with the base station position as the center and the third distance as the radius;

[0013] respectively determining a fourth distance between each second vehicle terminal and the first vehicle terminal;

[0014] The second vehicle terminal corresponding to the fourth distance that is smaller than the third distance is determined as the target relay vehicle terminal.

[0015] Optionally, after respectively determining the first distance between the first vehicle terminal and each target relay vehicle terminal, and the second distance between each target relay vehicle terminal and the target base station, the method further includes:

[0016] Determining a first communication rate between the first vehicle terminal and each target relay vehicle terminal based on each first distance;

[0017] Determining a second communication rate between each target relay vehicle terminal and the target base station based on each second distance;

[0018] A maximum communication rate among the first communication rate and the second communication rate is determined for transmitting communication data to the target base station based on the maximum communication rate.

[0019] Optionally, determining a weight coefficient corresponding to each target relay vehicle terminal according to the first distance and the second distance includes:

[0020] Determine the amount of communication data to be transmitted by each target relay vehicle terminal;

[0021] The weight coefficient corresponding to each target relay vehicle terminal is determined according to the first distance, the second distance and the amount of communication data to be transmitted.

[0022] In a second aspect, an embodiment of the present invention provides a vehicle relay communication device, applied to a first vehicle terminal, including:

[0023] A first determination module is used to determine, when it is determined that the signal strength of the current position of the first vehicle terminal does not meet the communication condition, respectively determine the first distance between the first vehicle terminal and each target relay vehicle terminal, and the second distance between each target relay vehicle terminal and the target base station; wherein the first vehicle terminal and each target relay vehicle terminal are all within the signal coverage range of the target base station;

[0024] A second determination module is used to determine a weight coefficient corresponding to each target relay vehicle terminal according to the first distance and the second distance;

[0025] The sending module is used to send communication data to each target relay vehicle terminal based on the weight coefficient corresponding to each target relay vehicle terminal, so that each target relay vehicle terminal sends communication data to the target base station.

[0026] Optionally, the first determination module is also used to determine the third distance between the first vehicle terminal and the target base station based on the current position and the pre-collected base station position; wherein the base station position is the position of the target base station; determine each second vehicle terminal within the target area; wherein the target area is a circular area with the base station position as the center and the third distance as the radius; respectively determine the fourth distance between each second vehicle terminal and the first vehicle terminal; and determine the second vehicle terminal corresponding to the fourth distance less than the third distance as the target relay vehicle terminal.

[0027] Optionally, the first determination module is also used to determine the first communication rate between the first vehicle terminal and each target relay vehicle terminal based on each first distance; determine the second communication rate between each target relay vehicle terminal and the target base station based on each second distance; and determine the maximum communication rate among the first communication rate and the second communication rate, so as to send communication data to the target base station based on the maximum communication rate.

[0028] Optionally, the second determination module is used to determine the amount of communication data to be transmitted by each target relay vehicle terminal; and determine the weight coefficient corresponding to each target relay vehicle terminal based on the first distance, the second distance and the amount of communication data to be transmitted.

[0029] In a third aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising: a processor, and a memory storing computer program instructions;

[0030] The processor reads and executes computer program instructions to implement the vehicle relay communication method in the first aspect or any optional implementation of the first aspect.

[0031] In a fourth aspect, an embodiment of the present invention provides a computer storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the vehicle relay communication method in the first aspect or any optional implementation of the first aspect.

[0032] The vehicle relay communication method, device, electronic device and computer storage medium of the embodiment of the present invention can reduce unnecessary waste of resources in the process of communication between the vehicle terminal and the base station. The vehicle relay communication method, when it is determined that the signal strength of the current position of the first vehicle terminal does not meet the communication conditions, respectively determines the first distance between the first vehicle terminal and each target relay vehicle terminal, and the second distance between each target relay vehicle terminal and the target base station; wherein the first vehicle terminal and each target relay vehicle terminal are within the signal coverage range of the target base station; according to the first distance and the second distance, the weight coefficient corresponding to each target relay vehicle terminal is determined; based on the weight coefficient corresponding to each target relay vehicle terminal, communication data is sent to each target relay vehicle terminal, so that each target relay vehicle terminal sends communication data to the target base station. It can be seen that the method sends communication data to the target base station through each target relay vehicle terminal, avoiding the measures of increasing the layout density of the base station or improving the strength of the signal transmitted by the base station in the related technology, thereby reducing unnecessary waste of resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the following is a brief introduction to the drawings required for use in the embodiment of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0034] Figure 1 It is a flow chart of a vehicle relay communication method provided by an embodiment of the present invention;

[0035] Figure 2 is a schematic diagram of a vehicle relay communication method provided by an embodiment of the present invention;

[0036] Figure 3 It is a structural schematic diagram of a vehicle relay communication device provided by an embodiment of the present invention;

[0037] Figure 4 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0038] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.

[0039] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0040] At present, the relevant technology only installs wireless transceivers on vehicles to connect to the Internet, realizes information transmission between vehicles and wireless communication between vehicles and base stations, and has high requirements for base station signals. It requires multiple base stations to repeatedly cover the corresponding road areas, which increases the layout density of base stations or improves the strength of base station transmission signals, all of which cause unnecessary waste of resources.

[0041] In order to solve the problems in the prior art, an embodiment of the present invention provides a vehicle relay communication method, device, electronic device and computer storage medium. The vehicle relay communication method provided by an embodiment of the present invention is first introduced below.

[0042] Figure 1 FIG. 1 is a flow chart of a vehicle relay communication method provided by an embodiment of the present invention. Figure 1 As shown, the vehicle relay communication method is applied to the first vehicle terminal and may include the following steps:

[0043] S101. When it is determined that the signal strength of the current position of the first vehicle terminal does not meet the communication conditions, the first distance between the first vehicle terminal and each target relay vehicle terminal, and the second distance between each target relay vehicle terminal and the target base station are determined respectively; wherein the first vehicle terminal and each target relay vehicle terminal are within the signal coverage range of the target base station.

[0044] In order to determine a target relay vehicle terminal with a faster communication rate, in one embodiment, before respectively determining the first distance between the first vehicle terminal and each target relay vehicle terminal, the method may also include: determining the third distance between the first vehicle terminal and the target base station based on the current position and the pre-collected base station position; wherein the base station position is the position of the target base station; determining each second vehicle terminal within the target area; wherein the target area is a circular area with the base station position as the center and the third distance as the radius; respectively determining the fourth distance between each second vehicle terminal and the first vehicle terminal; and determining the second vehicle terminal corresponding to the fourth distance that is less than the third distance as the target relay vehicle terminal.

[0045] S102. Determine a weight coefficient corresponding to each target relay vehicle terminal according to the first distance and the second distance.

[0046] In order to more accurately determine the weight coefficient corresponding to each target relay vehicle terminal, in one embodiment, determining the weight coefficient corresponding to each target relay vehicle terminal based on the first distance and the second distance can include: determining the amount of communication data to be transmitted by each target relay vehicle terminal; determining the weight coefficient corresponding to each target relay vehicle terminal based on the first distance, the second distance and the amount of communication data to be transmitted.

[0047] S103. Based on the weight coefficient corresponding to each target relay vehicle terminal, send communication data to each target relay vehicle terminal, so that each target relay vehicle terminal sends communication data to the target base station.

[0048] In order to improve the communication data transmission rate, in one embodiment, after respectively determining the first distance between the first vehicle terminal and each target relay vehicle terminal, and the second distance between each target relay vehicle terminal and the target base station, the method may also include: determining the first communication rate between the first vehicle terminal and each target relay vehicle terminal based on each first distance; determining the second communication rate between each target relay vehicle terminal and the target base station based on each second distance; determining the maximum communication rate among the first communication rate and the second communication rate, so as to send communication data to the target base station based on the maximum communication rate.

[0049] The vehicle relay communication method, when it is determined that the signal strength of the current position of the first vehicle terminal does not meet the communication conditions, determines the first distance between the first vehicle terminal and each target relay vehicle terminal, and the second distance between each target relay vehicle terminal and the target base station; wherein the first vehicle terminal and each target relay vehicle terminal are all within the signal coverage range of the target base station; according to the first distance and the second distance, determines the weight coefficient corresponding to each target relay vehicle terminal; based on the weight coefficient corresponding to each target relay vehicle terminal, sends communication data to each target relay vehicle terminal, so that each target relay vehicle terminal sends communication data to the target base station. It can be seen that this method sends communication data to the target base station through each target relay vehicle terminal, avoiding the measures in the related art of increasing the layout density of the base station or improving the strength of the signal transmitted by the base station, thereby reducing unnecessary waste of resources.

[0050] The above content is described below with a specific embodiment, which is as follows:

[0051] Step 1) The vehicle obtains its own coordinate information through the high-precision positioning device installed on the vehicle, and at the same time obtains the vehicle position coordinate information within the radius of the distance between the vehicle and the base station based on the pre-collected base station position.

[0052] Step 2) Based on the position information of each vehicle provided by the perception layer, calculate the distance l between the vehicle itself and the base station, and the distance d between the vehicle and the i-th other vehicle i ; for d i Screen and discard vehicles with a value greater than l.

[0053] Step 3) The distance l between the selected vehicle and the vehicle itself i ′ Sort them in ascending order and calculate the distance l between the selected vehicles and the base station i .

[0054] Step 4) If the signal strength at the location of the vehicle itself is not sufficient to support the vehicle's own communication, based on the relationship between signal strength and distance, according to l i With l i ′ and weight coefficient k i Intelligently distribute the vehicle's own communication data to other vehicles in proportion, and use other vehicles as relays to communicate with the base station.

[0055] Wherein, step 1) specifically includes:

[0056] The distance between the vehicle and the communication base station (x0, y0) is calculated based on the real-time position (x, y) of the vehicle provided by the high-precision positioning device. The base station (x0, y0) is taken as the center of the circle. For the radius, obtain the real-time position of other vehicles within the range.

[0057] Step 4) specifically includes:

[0058] a. If the signal strength at the location of vehicle 1 is not strong enough to support the vehicle's own communication, vehicles 2, 3, ... N that are closer to the base station are required to perform relay transmission.

[0059] b. Based on the relationship between signal transmission rate and distance, according to the distance l between vehicles 2, 3, ... N and the base station i , define the communication rate f1(l i ); according to the distance l between vehicle 1 and vehicles 2, 3, ... N i ′, define the communication rate between cars f2(l′ i ).

[0060] c. When other vehicles are used as relays for communication, the communication rate between the vehicle and the base station is also affected by f1(l i ) and the communication rate between cars f2(l′ i ), so the maximum relay transmission rate is max{f1(l i ),f2(l′ i )}.

[0061] d. Since vehicles 2, 3, ... N also need a certain bandwidth for communication, in order to avoid excessively occupying the bandwidth of other vehicles, it is necessary to add a weight coefficient k before the transmission volume of other vehicles. i , intelligently distribute the vehicle’s own communication data to other vehicles in proportion.

[0062] e. Calculate the communication volume φ(t) based on the above:

[0063]

[0064] In the formula, l i represents the distance between the i-th vehicle and the base station;

[0065] k i The weight coefficient representing the amount of information that needs to be transmitted by the i-th vehicle;

[0066] l i ′ represents the distance between the vehicle itself and the i-th vehicle.

[0067] The embodiment of the present invention provides a vehicle relay communication method, which is applicable to the problem that the vehicle's own signal strength is insufficient, the communication data throughput is large, and real-time data communication cannot be completed. Based on high-precision positioning technology, the positions of the vehicle, relay vehicle and base station are obtained, and the relative distances between the vehicle itself, the selected relay vehicle and the base station are calculated to obtain their respective communication rates and the maximum relay transmission rate. The data communication volume that cannot be completed is intelligently allocated to the relay vehicle according to the weight coefficient, thereby completing data transmission, which is of great significance to the development of technologies such as smart cars, unmanned driving, and V2X (Vehicle to Everything).

[0068] A specific application of the embodiment of the present invention is as follows Figure 2 As shown:

[0069] Step 1) Use the high-precision positioning device installed on car A to obtain its own coordinate information (x, y) and the base station position (x0, y0). Take the base station position (x0, y0) as the center of the circle. Draw a circle with radius , and there are four cars B, C, D, and E within the range, and their position coordinate information are (x1, y1), (x2, y2), (x3, y3), and (x4, y4) respectively.

[0070] Step 2) Based on the location information of each vehicle provided by the perception layer, calculate the distance between the vehicle itself and the base station Distance to each vehicle Right i Screen and discard vehicles D and E that are greater than 1.

[0071] Step 3) The distance l between the selected vehicles B and C and the vehicle A i ′ are sorted in ascending order to become l1′, l2′, and the distance between vehicles B, C and the base station is calculated

[0072] Step 4) The signal strength at the location of vehicle A is not sufficient to support vehicle communication. Based on the relationship between signal strength and distance, according to l i With l i ′ and weight coefficient k i Intelligently distribute vehicle A's own communication data to other vehicles in proportion, and use vehicles B and C as relays to communicate with the base station.

[0073] Step 4) specifically includes:

[0074] a. If the signal strength at the location of vehicle A is not strong enough to support the vehicle's own communication, vehicles B and C, which are closer to the base station, are required to relay the transmission.

[0075] b. Based on the relationship between signal transmission rate and distance, according to the distance between vehicles B and C and the base station, i , define the communication rates f1(l1) and f1(l2) between cars B and C and the base station; according to the distance l between vehicle A and vehicles B and C i ′, define the communication rates f1(l1′) and f1(l2′) between cars.

[0076] c. When using vehicles B and C as relays for communication, they are affected by the communication rates f1(l1), f1(l2) between vehicles B and C and the base station and the communication rates f1(l1′), f1(l2′) between vehicles. Therefore, the maximum transmission rate of vehicle B relay is max{f1(l1), f2(l′1)}, and the maximum transmission rate of vehicle C relay is max{f1(l2), f2(l′2)}.

[0077] d. Since vehicles B and C also need a certain bandwidth for communication, in order to avoid excessive use of bandwidth of other vehicles, it is necessary to add a weight coefficient k before the transmission volume of other vehicles. i , intelligently distribute the vehicle’s own communication data to other vehicles in proportion.

[0078] e. Calculate the traffic volume φ(t) of vehicle A based on the above:

[0079]

[0080]

[0081] In the formula, l i represents the distance between the i-th vehicle and the base station;

[0082] k i The weight coefficient representing the amount of information that needs to be transmitted by the i-th vehicle;

[0083] l i ′ represents the distance between the vehicle itself and the i-th vehicle.

[0084] The following is a vehicle relay communication device provided by an embodiment of the present invention. Figure 3 As shown, the vehicle relay communication device is applied to a first vehicle terminal and includes:

[0085] The first determination module 301 is used to determine the first distance between the first vehicle terminal and each target relay vehicle terminal, and the second distance between each target relay vehicle terminal and the target base station respectively when it is determined that the signal strength of the current position of the first vehicle terminal does not meet the communication condition; wherein the first vehicle terminal and each target relay vehicle terminal are within the signal coverage range of the target base station;

[0086] A second determination module 302 is used to determine a weight coefficient corresponding to each target relay vehicle terminal according to the first distance and the second distance;

[0087] The sending module 303 is used to send communication data to each target relay vehicle terminal based on the weight coefficient corresponding to each target relay vehicle terminal, so that each target relay vehicle terminal sends communication data to the target base station.

[0088] Optionally, in one embodiment, the first determination module 301 is also used to determine the third distance between the first vehicle terminal and the target base station based on the current position and the pre-collected base station position; wherein the base station position is the position of the target base station; determine each second vehicle terminal within the target area; wherein the target area is a circular area with the base station position as the center and the third distance as the radius; respectively determine the fourth distance between each second vehicle terminal and the first vehicle terminal; and determine the second vehicle terminal corresponding to the fourth distance less than the third distance as the target relay vehicle terminal.

[0089] Optionally, in one embodiment, the first determination module 301 is also used to determine the first communication rate between the first vehicle terminal and each target relay vehicle terminal based on each first distance; determine the second communication rate between each target relay vehicle terminal and the target base station based on each second distance; and determine the maximum communication rate among the first communication rate and the second communication rate to send communication data to the target base station based on the maximum communication rate.

[0090] Optionally, in one embodiment, the second determination module 302 is used to determine the amount of communication data to be transmitted by each target relay vehicle terminal; and determine the weight coefficient corresponding to each target relay vehicle terminal based on the first distance, the second distance and the amount of communication data to be transmitted.

[0091] Figure 3 Each module / unit in the device shown has the function of realizing Figure 1 The functions of each step in the process can achieve the corresponding technical effects, which will not be described in detail here for the sake of brevity.

[0092] Figure 4 A schematic structural diagram of an electronic device provided by an embodiment of the present invention is shown.

[0093] The electronic device may include a processor 401 and a memory 402 storing computer program instructions.

[0094] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.

[0095] Memory 402 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. In one example, memory 402 may include a removable or non-removable (or fixed) medium, or memory 402 is a non-volatile solid-state memory. Memory 402 may be inside or outside the electronic device.

[0096] In one example, the memory 402 may be a read-only memory (ROM). In one example, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0097] The processor 401 reads and executes the computer program instructions stored in the memory 402 to implement Figure 1 The method in the embodiment shown in the figure is achieved Figure 1 The corresponding technical effects achieved by executing the method in the example shown are not repeated here for the sake of brevity.

[0098] In one example, the electronic device may further include a communication interface 403 and a bus 410. Figure 4 As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.

[0099] The communication interface 403 is mainly used to implement the communication between the modules, devices, units and / or equipment in the embodiment of the present invention.

[0100] Bus 410 includes hardware, software or both, and the components of electronic equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, front side bus (Front Side Bus, FSB), Hyper Transport (Hyper Transport, HT) interconnection, industry standard architecture (Industry Standard Architecture, ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 410 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.

[0101] In addition, the embodiment of the present invention can be implemented by providing a computer storage medium. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, Figure 1 The vehicle relay communication method shown.

[0102] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0103] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0104] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0105] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.

Claims

1. A vehicle relay communication method, characterized in that: Applied to the first vehicle terminal, comprising: When it is determined that the signal strength of the current position of the first vehicle terminal does not meet the communication condition, respectively determine the first distance between the first vehicle terminal and each target relay vehicle terminal, and the second distance between each target relay vehicle terminal and the target base station; wherein the first vehicle terminal and each target relay vehicle terminal are all within the signal coverage range of the target base station; Determine a weight coefficient corresponding to each of the target relay vehicle terminals according to the first distance and the second distance; Based on the weight coefficient corresponding to each of the target relay vehicle terminals, sending communication data to each of the target relay vehicle terminals, so that each of the target relay vehicle terminals sends the communication data to the target base station; The step of determining a weight coefficient corresponding to each of the target relay vehicle terminals according to the first distance and the second distance includes: Determining the amount of communication data to be transmitted by each of the target relay vehicle terminals; Determine a weight coefficient corresponding to each of the target relay vehicle terminals according to the first distance, the second distance and the amount of communication data to be transmitted, wherein the weight coefficient is used to avoid occupying the bandwidth of the target relay vehicle terminal so that the target relay vehicle terminal cannot meet its own communication needs; The method further comprises: The total communication volume Φ(t) corresponding to the first vehicle terminal is determined by the following formula (1) and formula (2): In formula (1), N=1 indicates that the first vehicle is the vehicle corresponding to the first vehicle terminal, and f1(l1) is the communication rate between the vehicle corresponding to the first vehicle terminal and the base station; In formula (2), N ≥ 2 means that the 2nd to Nth vehicles are the vehicles corresponding to the target relay vehicle terminal, and there is Wherein, k1 represents the weight coefficient of the amount of vehicle transmission information corresponding to the first vehicle terminal; k i represents the weight coefficient of the amount of information that needs to be transmitted by the i-th, i≥2-th vehicle; l i represents the distance between the i-th, i≥2-th vehicle and the base station; f1(l i ) is the communication rate between the i-th, i≥2-th vehicle and the base station; l i ′ represents the distance between the vehicle corresponding to the first vehicle terminal and the i-th vehicle, i≥2; f2(l i ′) is the communication rate between the i-th vehicle, i≥2, and the vehicle corresponding to the first vehicle terminal; In formula (2), ∫φ i (t)dt is the amount of communication data prepared to be transmitted by the target relay vehicle terminal corresponding to the i-th vehicle, i≥2.

2. The vehicle relay communication method according to claim 1, characterized in that: Before respectively determining the first distances between the first vehicle terminal and each target relay vehicle terminal, the method further includes: Determine a third distance between the first vehicle terminal and the target base station based on the current position and the pre-collected base station position; wherein the base station position is the position of the target base station; Determine each second vehicle terminal in a target area; wherein the target area is a circular area with the base station position as the center and the third distance as the radius; respectively determining a fourth distance between each of the second vehicle terminals and the first vehicle terminal; The second vehicle terminal corresponding to a fourth distance smaller than the third distance is determined as the target relay vehicle terminal.

3. The vehicle relay communication method according to claim 1, characterized in that: After respectively determining the first distance between the first vehicle terminal and each target relay vehicle terminal, and the second distance between each target relay vehicle terminal and the target base station, the method further includes: determining a first communication rate between the first vehicle terminal and each of the target relay vehicle terminals based on each of the first distances; Based on each of the second distances, determining a second communication rate between each of the target relay vehicle terminals and the target base station; A maximum communication rate among the first communication rate and the second communication rate is determined for transmitting the communication data to the target base station based on the maximum communication rate.

4. A vehicle relay communication device, characterized in that: Applied to the first vehicle terminal, comprising: A first determination module is used to determine, when it is determined that the signal strength of the current position of the first vehicle terminal does not meet the communication condition, respectively determine the first distance between the first vehicle terminal and each target relay vehicle terminal, and the second distance between each target relay vehicle terminal and a target base station; wherein the first vehicle terminal and each target relay vehicle terminal are all within the signal coverage range of the target base station; A second determination module, configured to determine a weight coefficient corresponding to each of the target relay vehicle terminals according to the first distance and the second distance; A sending module, used for sending communication data to each of the target relay vehicle terminals based on a weight coefficient corresponding to each of the target relay vehicle terminals, so that each of the target relay vehicle terminals sends the communication data to the target base station; The second determining module is specifically used for: Determining the amount of communication data to be transmitted by each of the target relay vehicle terminals; Determine a weight coefficient corresponding to each of the target relay vehicle terminals according to the first distance, the second distance and the amount of communication data to be transmitted, wherein the weight coefficient is used to avoid occupying the bandwidth of the target relay vehicle terminal so that the target relay vehicle terminal cannot meet its own communication needs; The second determining module is further used for: The total communication volume Φ(t) corresponding to the first vehicle terminal is determined by the following formula (1) and formula (2): In formula (1), N=1 indicates that the first vehicle is the vehicle corresponding to the first vehicle terminal, and f1(l1) is the communication rate between the vehicle corresponding to the first vehicle terminal and the base station; In formula (2), N ≥ 2 means that the 2nd to Nth vehicles are the vehicles corresponding to the target relay vehicle terminal, and there is Wherein, k1 represents the weight coefficient of the amount of vehicle transmission information corresponding to the first vehicle terminal; k i represents the weight coefficient of the amount of information that needs to be transmitted by the i-th, i≥2-th vehicle; l i represents the distance between the i-th, i≥2-th vehicle and the base station; f1(l i ) is the communication rate between the i-th, i≥2-th vehicle and the base station; l i ′ represents the distance between the vehicle corresponding to the first vehicle terminal and the i-th vehicle, i≥2; f2(l i ′) is the communication rate between the i-th vehicle, i≥2, and the vehicle corresponding to the first vehicle terminal; In formula (2), ∫φ i (t)dt is the amount of communication data prepared to be transmitted by the target relay vehicle terminal corresponding to the i-th vehicle, i≥2.

5. The vehicle relay communication device according to claim 4, characterized in that: The first determination module is also used to determine the third distance between the first vehicle terminal and the target base station based on the current position and the pre-collected base station position; wherein the base station position is the position of the target base station; determine each second vehicle terminal in the target area; wherein the target area is a circular area with the base station position as the center and the third distance as the radius; respectively determine the fourth distance between each second vehicle terminal and the first vehicle terminal; and determine the second vehicle terminal corresponding to the fourth distance less than the third distance as the target relay vehicle terminal.

6. The vehicle relay communication device according to claim 4, characterized in that: The first determination module is further used to determine a first communication rate between the first vehicle terminal and each of the target relay vehicle terminals based on each of the first distances; and to determine a second communication rate between each of the target relay vehicle terminals and the target base station based on each of the second distances; A maximum communication rate among the first communication rate and the second communication rate is determined for transmitting the communication data to the target base station based on the maximum communication rate.

7. An electronic device, characterized in that: The electronic device comprises: a processor, and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the vehicle relay communication method as described in any one of claims 1-3.

8. A computer storage medium, characterized in that: The computer storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the vehicle relay communication method according to any one of claims 1 to 3 is implemented.