WO2021052304A1 - Vehicle-to-vehicle point-to-point communication method, apparatus and system, and storage medium - Google Patents

Vehicle-to-vehicle point-to-point communication method, apparatus and system, and storage medium Download PDF

Info

Publication number
WO2021052304A1
WO2021052304A1 PCT/CN2020/115233 CN2020115233W WO2021052304A1 WO 2021052304 A1 WO2021052304 A1 WO 2021052304A1 CN 2020115233 W CN2020115233 W CN 2020115233W WO 2021052304 A1 WO2021052304 A1 WO 2021052304A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
message
information
vehicles
identification information
Prior art date
Application number
PCT/CN2020/115233
Other languages
French (fr)
Chinese (zh)
Inventor
尹江波
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021052304A1 publication Critical patent/WO2021052304A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • 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/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast

Definitions

  • This application relates to the technical field of Internet of Vehicles, and in particular to a point-to-point communication method, device, system and storage medium between vehicles.
  • V2X The Internet of Vehicles
  • V2X Vehicle to Everything
  • V2V vehicle-to-vehicle
  • V2V vehicle-to-road communication
  • V2I Vehicle to Infrastructure
  • V2P vehicle to person
  • V2N vehicle to network
  • the interaction between cars can adopt a car-cloud-car approach.
  • the vehicle first transmits its own information to the cloud server via the Internet, and then the cloud server transmits it to other vehicles, thereby indirectly realizing the interaction between the vehicle and the vehicle.
  • the vehicle first needs to register vehicle information with the cloud server, and when the information between the vehicles is transferred through the cloud server, the quality of the information interaction depends on the quality of the Internet connected to the vehicle, and the time delay is relatively large.
  • the embodiments of the present application provide a method, device, system, and storage medium for point-to-point communication between vehicles.
  • an embodiment of the present application provides a point-to-point communication method between vehicles, which is applied to a host vehicle, and the method includes:
  • the host vehicle obtains a first message from at least one first vehicle, and the first message includes: identification information of the first vehicle and position and orientation information of the first vehicle; Position and orientation information, determine a second vehicle from the at least one first vehicle, and the second vehicle is the target recipient of the first message to be sent by the main vehicle; and then send a second message, the second The message includes: identification information of the second vehicle and the first information. So that after receiving the second message sent by the main vehicle, the second vehicle detects whether the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, and if they are consistent, it is determined that the second message is sent For the second vehicle, the second vehicle obtains the first information from the second message.
  • the host vehicle determines that the vehicle desired to communicate is the second vehicle, and carries the identification information of the second vehicle and the first information to be sent in the second message and sends it to the second vehicle, so that the second vehicle can
  • the first information sent by the host vehicle is obtained according to the identification information of the second vehicle carried in the second message, but other vehicles cannot obtain the first information in the second message, thereby realizing the point-to-point communication between the host vehicle and the second vehicle.
  • the host vehicle determines the second vehicle from the at least one first vehicle based on the position and orientation information of each of the first vehicles, including: the host vehicle obtains the third vehicle input by the user.
  • the third message includes: the first information and the position information of the second vehicle; the position information of the second vehicle is compared with the position and position information of each of the first vehicles, from The second vehicle is determined among the at least one first vehicle.
  • the above-mentioned position information of the second vehicle is the position information of the second vehicle relative to the host vehicle.
  • the host vehicle compares the position information of the second vehicle with the position and position information of each of the first vehicles, and determines the second vehicle from the at least one first vehicle.
  • the vehicle includes: a host vehicle determines the position information of each of the first vehicles relative to the host vehicle based on the location information of each of the first vehicles and the location information of the host vehicle; The position information of is compared with the position information of each of the first vehicles relative to the host vehicle, and the second vehicle is determined from the at least one first vehicle.
  • the host vehicle compares the location information of the second vehicle with the location information of each of the first vehicles relative to the host vehicle, and determines the location information from the at least one first vehicle.
  • the second vehicle includes: comparing the position information of the second vehicle with the position information of each of the first vehicles relative to the host vehicle, and determining from the at least one first vehicle and the At least one third vehicle with the same azimuth information of the second vehicle; the third vehicle with the smallest distance from the host vehicle among the at least one third vehicle is determined as the second vehicle.
  • the master vehicle determines the second vehicle from the at least one first vehicle based on the position and orientation information of each of the first vehicles, including: based on each of the first vehicles The location information of each of the first vehicles and the location information of the host vehicle are used to determine the location information of each first vehicle relative to the host vehicle; according to the location information of each first vehicle relative to the host vehicle, The second vehicle is determined among the at least one first vehicle.
  • the above-mentioned host vehicle determines the second vehicle from the at least one first vehicle according to the position information of each first vehicle relative to the host vehicle, including: displaying each vehicle Location information of the first vehicle relative to the host vehicle; detecting the user's selection operation on the displayed location information of each of the first vehicles relative to the host vehicle; in response to the selection In operation, a second vehicle is determined from the at least one first vehicle.
  • the host vehicle determines that each of the first vehicles is relative to the host vehicle based on the location information of each of the first vehicles and the location information of the host vehicle.
  • the orientation information of the vehicle includes: taking the host vehicle as the center and taking the heading angle direction of the host vehicle as the x-axis direction to establish a rectangular coordinate system, and the location information of the host vehicle includes the heading angle and position coordinates;
  • the position coordinates of the first vehicle and the position coordinates of the host vehicle are converted to the rectangular coordinate system; according to the position coordinates of each of the first vehicle and the host vehicle in the rectangular coordinate system, Determine the position information of each of the first vehicles relative to the host vehicle.
  • the host vehicle determines the position information of each first vehicle relative to the host vehicle according to the position coordinates of each first vehicle and the host vehicle in the Cartesian coordinate system, including : According to the position coordinates of each of the first vehicle and the main vehicle in the Cartesian coordinate system, with the main vehicle as the center, the area of the first vehicle and the main vehicle is performed in a nine-square-grid manner Divide, determine the position information of each of the first vehicles relative to the host vehicle.
  • the foregoing second message further includes identification information of the host vehicle.
  • the above method further includes: the host vehicle receives a fourth message from the second vehicle, where the fourth message includes identification information of the host vehicle and the second vehicle to be sent to The second information of the host vehicle, the fourth message is sent by the second vehicle when it detects that the identification information of the second vehicle carried in the second information is consistent with the identification information of the second vehicle itself .
  • the foregoing fourth message further includes identification information of the second vehicle.
  • acquiring the third message input by the user by the host vehicle includes: receiving the voice information input by the user by the host vehicle, and the voice information includes: first information and position information of the second vehicle; The first information and the position information of the second vehicle are recognized from the voice information, and the third message is obtained.
  • the first message, the second message, and the fourth message are all broadcast messages.
  • the first vehicle is a vehicle within a preset range around the host vehicle.
  • an embodiment of the present application provides a point-to-point communication method between vehicles, which is applied to a second vehicle, and the method includes:
  • the second vehicle receives a second message, and the second message includes: the identification information of the second vehicle and the first information; if it is detected that the identification information of the second vehicle carried in the second message and the identification information of the second vehicle itself are detected If the identification information is consistent, the second message is parsed to obtain the message to be sent.
  • the second vehicle detects that the identification information of the second vehicle carried in the second message is inconsistent with the identification information of the second vehicle itself, the second message is discarded.
  • the second message further includes identification information of the host vehicle.
  • the second vehicle further sends a fourth message, the fourth message including the identification information of the host vehicle and the second information to be sent by the second vehicle to the host vehicle.
  • the foregoing fourth message further includes identification information of the second vehicle.
  • the foregoing fourth message and the second message are both broadcast messages.
  • an embodiment of the present application provides a point-to-point communication device between vehicles, which is applied to a host vehicle, and the device includes:
  • a receiving unit configured to obtain a first message from at least one first vehicle, the first message including: identification information of the first vehicle and position and orientation information of the first vehicle;
  • a processing unit configured to determine a second vehicle from the at least one first vehicle based on the position and orientation information of each of the first vehicles, the second vehicle being the source of the first message to be sent by the main vehicle Target recipient
  • the sending unit is configured to send a second message, where the second message includes: identification information of the second vehicle and the first information.
  • the processing unit is specifically configured to obtain a third message input by the user, where the third message includes: the first information and the position information of the second vehicle; The position information of the second vehicle is compared with the position and position information of each of the first vehicles, and the second vehicle is determined from the at least one first vehicle.
  • the position information of the second vehicle is the position information of the second vehicle relative to the host vehicle.
  • the processing unit is specifically configured to determine that each first vehicle is relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle.
  • the position information of the vehicle; the position information of the second vehicle is compared with the position information of each of the first vehicles relative to the host vehicle, and the second vehicle is determined from the at least one first vehicle.
  • the processing unit is specifically configured to compare the position information of the second vehicle with the position information of each of the first vehicles relative to the host vehicle, from the at least At least one third vehicle that is consistent with the position information of the second vehicle is determined among a first vehicle; the third vehicle with the smallest distance from the host vehicle among the at least one third vehicle is determined as the first vehicle Two vehicles.
  • the processing unit is specifically configured to determine that each first vehicle is relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle. Vehicle orientation information; according to the orientation information of each of the first vehicles relative to the host vehicle, a second vehicle is determined from the at least one first vehicle.
  • the device further includes a display unit:
  • the display unit is configured to display the position information of each of the first vehicles relative to the main vehicle;
  • the processing unit is configured to detect a selection operation of the user on the displayed orientation information of each of the first vehicles relative to the main vehicle; in response to the selection operation, the selection operation from the at least one first vehicle Identify the second vehicle among the vehicles.
  • the processing unit is specifically configured to establish a rectangular coordinate system with the host vehicle as the center and the heading angle direction of the host vehicle as the x-axis direction, and the position of the host vehicle
  • the information includes the heading angle and position coordinates; the position coordinates of each of the first vehicles and the position coordinates of the main vehicle are converted to the rectangular coordinate system; according to the position coordinates of each of the first vehicles and the main vehicle
  • the position coordinates in the rectangular coordinate system determine the position information of each of the first vehicles relative to the host vehicle.
  • the processing unit is specifically configured to take the host vehicle as the center according to the position coordinates of each of the first vehicle and the host vehicle in the Cartesian coordinate system, according to The area division of the first vehicle and the main vehicle is performed in a nine-grid manner, and the position information of each first vehicle relative to the main vehicle is determined.
  • the second message further includes identification information of the host vehicle.
  • the receiving unit is further configured to receive a fourth message from the second vehicle, where the fourth message includes identification information of the main vehicle and the second vehicle to be sent The second information to the host vehicle, the fourth message is sent by the second vehicle when it detects that the identification information of the second vehicle carried in the second information is consistent with the identification information of the second vehicle itself of.
  • the fourth message further includes identification information of the second vehicle.
  • the receiving unit is further configured to receive voice information input by the user, where the voice information includes: first information and position information of the second vehicle;
  • the processing unit is further configured to identify the first information and the position information of the second vehicle from the voice information, and obtain the third message.
  • the first message, the second message, and the fourth message are all broadcast messages.
  • the first vehicle is a vehicle within a preset range around the host vehicle.
  • an embodiment of the present application provides a point-to-point communication device between vehicles, which is applied to a second vehicle, and the device includes:
  • a receiving unit configured to receive a second message, the second message including: identification information of the second vehicle and first information;
  • the processing unit is configured to, if it is detected that the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, parse the second message to obtain the message to be sent.
  • the processing unit is further configured to discard the first vehicle if it is detected that the identification information of the second vehicle carried in the second message is inconsistent with the identification information of the second vehicle itself. Two news.
  • the second message further includes identification information of the host vehicle.
  • the device further includes a sending unit:
  • the sending unit is configured to send a fourth message, where the fourth message includes identification information of the host vehicle and second information to be sent by the second vehicle to the host vehicle.
  • the fourth message further includes identification information of the second vehicle.
  • the fourth message and the second message are both broadcast messages.
  • an embodiment of the present application provides a vehicle-mounted device, including: a processor and a transceiver, and the processor and the transceiver are used to implement the implementation as described in any one of the first aspect or the second aspect.
  • Point-to-point communication method between vehicles including: a processor and a transceiver, and the processor and the transceiver are used to implement the implementation as described in any one of the first aspect or the second aspect.
  • an embodiment of the present application provides a computer storage medium.
  • the storage medium includes computer instructions.
  • the instructions When the instructions are executed by a computer, the computer realizes the vehicle described in the first aspect or/or the second aspect. Point-to-point communication method between.
  • an embodiment of the present application provides a computer program product, the program product includes a computer program, the computer program is stored in a readable storage medium, a network device or a caller device can read from the readable storage medium Taking the computer program and executing the computer program enables the network device or the calling party to implement the aforementioned point-to-point communication method between vehicles.
  • the host vehicle obtains a first message from at least one first vehicle, and the first message includes the identification information of the first vehicle and the information of the first vehicle. Position and orientation information; then the master vehicle determines a second vehicle from at least one first vehicle based on the acquired position and orientation information of each first vehicle, and the second vehicle is the target of the first information to be sent by the master vehicle receiver.
  • the host vehicle carries the identification information of the second vehicle and the first information in the second message and sends it out. After the second vehicle receives the second message sent by the main vehicle, it detects whether the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself.
  • the second vehicle obtains the first information from the second message. That is to say, in the embodiment of this application, the host vehicle determines that the vehicle desired to communicate is the second vehicle, and carries the identification information of the second vehicle and the first information to be sent in the second message and sends it to the second vehicle, so that the second vehicle can
  • the first information sent by the host vehicle is obtained according to the identification information of the second vehicle carried in the second message, but other vehicles cannot obtain the first information in the second message, thereby realizing the point-to-point communication between the host vehicle and the second vehicle.
  • there is no need for a cloud server to transfer during the entire communication process which greatly reduces the communication delay and improves the efficiency of point-to-point communication between vehicles.
  • FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the application
  • FIG. 2 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application
  • FIG. 3 is a schematic diagram of inter-vehicle communication involved in an embodiment of the application.
  • FIG. 4 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application
  • FIG. 5 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application
  • FIG. 6 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application
  • Figure 7 is a schematic diagram of the positions of the host vehicle and the first vehicle in the geocentric coordinate system
  • Fig. 8 is a schematic diagram of the positions of the main vehicle and the first vehicle in a Cartesian rectangular coordinate system
  • FIG. 9 is a schematic diagram of an orientation division involved in an embodiment of this application.
  • FIG. 10 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application.
  • FIG. 11 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application.
  • Figure 12 is a user interface interaction diagram involved in an embodiment of the application.
  • FIG. 13 is a schematic structural diagram of a vehicle-mounted device provided by an embodiment of this application.
  • FIG. 14 is a schematic structural diagram of a communication device provided by an embodiment of this application.
  • 15 is a schematic structural diagram of a point-to-point communication device between vehicles according to an embodiment of the application.
  • FIG. 16 is a schematic structural diagram of a point-to-point communication device between vehicles according to an embodiment of the application.
  • FIG. 17 is a schematic structural diagram of a point-to-point communication device between vehicles according to an embodiment of the application.
  • FIG. 18 is a schematic structural diagram of a vehicle-mounted device provided by an embodiment of the application.
  • FIG. 19 is a schematic structural diagram of a vehicle provided by an embodiment of the application.
  • FIG. 20 is a schematic structural diagram of an inter-vehicle communication system provided by an embodiment of the application.
  • Intelligent Traffic System is a new type of information-based, intelligent, and socialized transportation system that uses advanced information, communication, and control technologies to transform the traditional transportation system into an informationized, intelligent, and socialized transportation system.
  • DSRC Dedicated Short Range Communication
  • On Board Unit based on DSRC technology or LTE-V technology, according to a certain protocol format (such as the BSM message defined by the national standard), broadcast the vehicle's own information to vehicles within a preset distance (for example, 300m).
  • Status information such as vehicle ID information, real-time positioning information, motion status information, body status information, and historical route information, etc.
  • B corresponding to A means that B is associated with A.
  • B can be determined according to A.
  • determining B based on A does not mean that B is determined only based on A, and B can also be determined based on A and/or other information.
  • words such as “first” and “second” are used to distinguish the same or similar items with substantially the same function and effect. Those skilled in the art can understand that words such as “first” and “second” do not limit the quantity and execution order, and words such as “first” and “second” do not limit the difference.
  • FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the application.
  • each vehicle is equipped with an OBU, and mutual communication can be realized within a certain distance. That is, the information broadcasted by a vehicle can be received by other vehicles within a certain distance.
  • vehicle A and vehicle C can both receive the message broadcasted by vehicle A.
  • the current inter-vehicle communication needs to be transferred through a cloud server, which depends on the quality of the Internet to which the vehicle is connected, and the time delay is relatively large.
  • the present application provides a point-to-point communication method between vehicles, which can realize fast and high-quality point-to-point communication between vehicles.
  • FIG. 2 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application. As shown in FIG. 2, the method of the embodiment of the application includes:
  • the host vehicle obtains a first message from at least one first vehicle.
  • the host vehicle involved in the embodiment of the present application is a vehicle that expects to send a message to a certain vehicle. For example, as shown in FIG. 3, assuming that vehicle A expects to send a message to vehicle B, the vehicle A can be understood as the host vehicle.
  • the message sent by vehicle A can be received by vehicle B, vehicle C, and vehicle E, and similarly, the message sent by any one of vehicle B, vehicle C, and vehicle E can also be received by vehicle A.
  • vehicle B, the vehicle C, and the vehicle E are understood as the first vehicle.
  • the foregoing first vehicle may be a vehicle within a preset range around the host vehicle, for example, a vehicle within a range of 300 m from the host vehicle is regarded as the first vehicle.
  • the aforementioned preset range may be a circular area with the host vehicle as the center, for example, a circular area with the host vehicle as the center and a radius of 300 m as the preset range.
  • the above-mentioned preset range may also be a rectangular area, for example, a rectangular area of 300 m in the front and rear of the main vehicle and 100 m in the left and right.
  • the embodiment of the present application does not limit the preset range, which is specifically determined according to actual conditions, wherein the first vehicle within the preset range can communicate with the host vehicle.
  • the foregoing first message is a broadcast message.
  • the first vehicle periodically broadcasts its own status in the form of a blind spot monitoring system (BSM) message.
  • BSM blind spot monitoring system
  • Other vehicles within the preset range around can receive the broadcast information.
  • the host vehicle receives the first message sent by at least one first vehicle
  • the first information sent by each first vehicle can be analyzed and processed, and the first vehicle that is threatening to the host vehicle can be screened out, and The driver gives an early warning.
  • the first message may also include identification information of the first vehicle and location and orientation information of the first vehicle.
  • vehicle B carries the identification information of vehicle B and the current position and orientation information of vehicle B in the first message and sends it to surrounding vehicles
  • vehicle C carries the identification information of vehicle C and the current position and orientation information of vehicle C.
  • the host vehicle obtains the identification information of the vehicle B and the location and orientation information of the vehicle B from the first message sent by the vehicle B, and obtains the identification information of the vehicle C and the location and orientation information of the vehicle C from the first message sent by the vehicle C.
  • the identification information of the above-mentioned vehicle is information that can uniquely identify the vehicle, such as the license plate number of the vehicle, the engine number of the vehicle, and so on.
  • the host vehicle determines a second vehicle from the at least one first vehicle based on the position and orientation information of each of the first vehicles.
  • the second vehicle is the target recipient of the first information to be sent by the host vehicle.
  • vehicle B is the target recipient of the first information to be sent by the host vehicle, that is, the host vehicle expects to send the first information to be sent to vehicle B. Therefore, the vehicle B can be understood as the second vehicle.
  • the second vehicle in the embodiment of the present application is one of at least one first vehicle around the host vehicle.
  • the host vehicle before the host vehicle sends the first information to the second vehicle, it first needs to determine the second vehicle from the at least one second vehicle according to the obtained position and orientation information of each first vehicle. For example, as shown in FIG. 3, the host vehicle determines to send the first information to the vehicle B in the left front according to the position and orientation information of each first vehicle, so that it can be determined that the vehicle B is the second vehicle.
  • S103 The host vehicle sends a second message.
  • the above-mentioned second message includes: the identification information of the second vehicle and the first information.
  • the identification information of the second vehicle may be obtained from the first message sent by the second vehicle.
  • the host vehicle may carry the identification information of the second vehicle and the first information to be sent in the second message and send it out.
  • the above-mentioned second message is a broadcast message, that is, in addition to the second vehicle that can be received by the second vehicle, the second message sent by the host vehicle can also be received by other vehicles within a preset range around the host vehicle.
  • the above-mentioned second message may also include the identification information of the host vehicle, so that it is convenient for the second vehicle to perform point-to-point communication with the host vehicle after receiving the second message.
  • the second vehicle receives the second message, and detects whether the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself.
  • the second vehicle If the second vehicle detects that the identification information carried in the second message is consistent with the identification information of the second vehicle itself, it will parse the second message to obtain the first information.
  • the second vehicle after receiving the second message, the second vehicle detects the second message and obtains the identification information of the second vehicle carried in the second message.
  • the identification information of the second vehicle carried in the second message is compared with its own identification information to determine whether the two are consistent. If the second vehicle detects that the identification information of the second vehicle carried in the second message is consistent with its own identification information, it is determined that the second message is sent to the second vehicle itself. At this time, the second vehicle then parses the first information sent by the host vehicle from the second message.
  • the identification information of the second vehicle in order to facilitate the second vehicle to quickly parse the identification information of the second vehicle from the second message, the identification information of the second vehicle may be carried in the header of the second message.
  • the identification information of the second vehicle After the second vehicle receives the second message, the identification information of the second vehicle can be obtained by parsing the header of the second message, thereby improving the analysis speed of the identification information of the second vehicle.
  • the identification information of the second vehicle is carried in the second message, so that the second vehicle can obtain the first information in the second message according to the identification information of the second vehicle carried in the second message, so as to achieve communication with the host.
  • Car communication Other vehicles cannot obtain the first information in the second message, and cannot communicate with the host vehicle.
  • the host vehicle when the host vehicle communicates with the second vehicle, neither the host vehicle nor the second vehicle need to register vehicle information with the cloud server, nor do they need to transfer the cloud server, but through the second vehicle.
  • the message carries the identification information of the second vehicle.
  • the main vehicle directly sends the second message to the second vehicle, realizing the direct point-to-point communication between the main vehicle and the second vehicle, reducing the dependence of the main vehicle and the second vehicle on the Internet for mutual communication. And the communication delay between the two vehicles is greatly reduced, and the efficiency of point-to-point communication between vehicles is improved.
  • the host vehicle obtains a first message from at least one first vehicle, and the first message includes the identification information of the first vehicle and the position and orientation information of the first vehicle; Based on the obtained position and orientation information of each first vehicle, the vehicle determines a second vehicle from at least one first vehicle, and the second vehicle is a target recipient of the first information to be sent by the host vehicle.
  • the host vehicle carries the identification information of the second vehicle and the first information in the second message and sends it out. After the second vehicle receives the second message sent by the main vehicle, it detects whether the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself.
  • the second vehicle obtains the first information from the second message. That is to say, in the embodiment of this application, the host vehicle determines that the vehicle desired to communicate is the second vehicle, and carries the identification information of the second vehicle and the first information to be sent in the second message and sends it to the second vehicle, so that the second vehicle can
  • the first information sent by the host vehicle is obtained according to the identification information of the second vehicle carried in the second message, but other vehicles cannot obtain the first information in the second message, thereby realizing the point-to-point communication between the host vehicle and the second vehicle.
  • there is no need for a cloud server to transfer during the entire communication process which greatly reduces the communication delay and improves the efficiency of point-to-point communication between vehicles.
  • Fig. 4 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application.
  • the method of the embodiment of the application includes:
  • the host vehicle obtains a first message from at least one first vehicle.
  • the above-mentioned first message includes: identification information of the first vehicle and position and orientation information of the first vehicle.
  • the host vehicle Based on the position and orientation information of each of the first vehicles, the host vehicle determines a second vehicle from the at least one first vehicle.
  • the aforementioned second vehicle is the target recipient of the first message to be sent by the host vehicle.
  • the host vehicle sends a second message.
  • the second message includes: the identification information of the second vehicle and the first information.
  • the second vehicle receives the second message, and detects whether the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself.
  • S205 If the second vehicle detects that the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, then parse the second message to obtain the first information.
  • the second vehicle after receiving the second message, the second vehicle obtains the identification information of the second vehicle carried in the second message.
  • the identification information of the second vehicle carried in the second message is compared with its own identification information to determine whether the two are consistent. If the second vehicle detects that the identification information of the second vehicle carried in the second message is consistent with its own identification information, it determines that the second message is sent to itself, and the second vehicle parses out the host vehicle from the second message. The first information.
  • the second vehicle detects that the identification information of the second vehicle carried in the second message is inconsistent with its own identification information, it can be determined that the second message is not sent to itself, or the second message is damaged, and then the second vehicle The second message can be discarded.
  • the second message further includes the identification information of the main vehicle.
  • the embodiment of the present application further includes:
  • the second vehicle sends a fourth message.
  • the fourth message includes identification information of the host vehicle and second information to be sent by the second vehicle to the host vehicle.
  • the host vehicle receives the fourth message, and detects whether the identification information of the host vehicle carried in the fourth message is consistent with the identification information of the host vehicle itself.
  • S209 If the host vehicle detects that the identification information of the host vehicle carried in the fourth message is consistent with the identification information of the host vehicle itself, the host vehicle parses the fourth message to obtain the second information.
  • the second vehicle may send a fourth message to the host vehicle.
  • the first information sent by the host vehicle to the second vehicle is backup
  • the second vehicle can send a second message such as thanks to the main vehicle.
  • the second vehicle sends a fourth message
  • vehicles in the preset area around the second vehicle can receive the fourth message
  • the vehicles in the preset area around the second vehicle include the host vehicle.
  • the host vehicle detects that the identification information of the host vehicle carried in the fourth message is consistent with the identification information of the host vehicle itself, then determines that the fourth message is sent to itself, and then parses the fourth message, The second information carried in the fourth message is obtained to realize the communication between the second vehicle and the host vehicle. If the host vehicle detects that the identification information of the host vehicle carried in the fourth message is inconsistent with the identification information of the host vehicle itself, it is determined that the fourth message is not sent to itself, or the fourth message is damaged, and the host vehicle can The fourth message is discarded.
  • Other vehicles in the preset area around the second vehicle compare the identification information of the host vehicle carried in the fourth message with the identification information of the own vehicle, and detect that the identification information of the host vehicle carried in the fourth message is inconsistent with the identification information of the own vehicle , It is determined that the fourth message did not occur to oneself, and the fourth message is discarded.
  • the foregoing fourth message may further include identification information of the second vehicle, so that the host vehicle can learn the sender of the fourth message.
  • the point-to-point communication method between vehicles not only realizes the sending of the host vehicle to the second vehicle by carrying the first information, the identification information of the second vehicle, and the identification information of the host vehicle in the second message sent by the host vehicle
  • the second message also enables the second vehicle to send a fourth message to the host vehicle.
  • the fourth information includes the identification information of the host vehicle and the second information to be sent by the second vehicle to the host vehicle, so as to realize the communication between the host vehicle and the second vehicle.
  • Point-to-point information interaction the entire interaction process does not require a cloud server to transfer, which greatly reduces the communication delay and improves the efficiency of point-to-point communication between vehicles.
  • Fig. 5 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application.
  • the method of the embodiment of the application includes:
  • the host vehicle obtains a first message from at least one first vehicle.
  • the first message includes: identification information of the first vehicle and position and orientation information of the first vehicle.
  • S302 The host vehicle obtains the third message input by the user.
  • the third message includes: the first information and the position information of the second vehicle.
  • the position information of the second vehicle is the position information of the second vehicle relative to the host vehicle.
  • the user inputs a third message to the host vehicle, and the third message includes the location information of the second vehicle.
  • the host vehicle determines the second vehicle from the at least one first vehicle that sent the first message through the location information of the second vehicle input by the user.
  • the third message input by the user is: send a message that the trunk is not closed to the front left vehicle.
  • the host vehicle can determine the position information of the second vehicle to the front left of the host vehicle, and the first information The trunk is open.
  • the user inputs the third message to the host vehicle by voice, specifically: the host vehicle receives voice information input by the user, and the voice information includes: the first information and the location information of the second vehicle; Then, the host vehicle recognizes the first information and the location information of the second vehicle from the voice information, and then obtains the third message.
  • the driver of the main vehicle wants to transmit information to the driver of the second vehicle (assumed as vehicle B), and the driver of vehicle A enters the third message by voice speech into the microphone, and the third message includes the need to be delivered to The information of the vehicle B (ie, the first information) and the location where the vehicle of the recipient of the first information is expected (ie, the location information of the second vehicle).
  • the OBU installed in the vehicle A records the third message input by the microphone, and transfers the recorded third message to the AI voice intelligent recognition module.
  • the AI voice intelligent recognition module recognizes the position information of the second vehicle (such as the front left) and the first information from the recorded third message.
  • the host vehicle compares the position information of the second vehicle with the position and position information of each of the first vehicles, and determines the second vehicle from the at least one first vehicle.
  • the main vehicle after the main vehicle obtains the third message, it obtains the position information of the second vehicle carried in the third message, and combines the position information of the second vehicle carried in the third message with each of the first messages obtained in S301.
  • the carried position information of the first vehicle is compared to determine the second vehicle from the at least one first vehicle.
  • the foregoing S303 may include the following steps S3031 to S3032:
  • the host vehicle determines the position information of each first vehicle relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle.
  • the location information of the host vehicle includes the heading angle and location coordinates of the host vehicle
  • the location information of the first vehicle includes the heading angle and location coordinates of the first vehicle.
  • the heading angle and position coordinates of each first vehicle can be compared with the heading angle and position coordinates of the host vehicle to determine the orientation information of each first vehicle relative to the host vehicle.
  • the above-mentioned S3031 includes: taking the host vehicle as the center and taking the heading angle direction of the host vehicle as the x-axis direction to establish a rectangular coordinate system; The position coordinates of the main vehicle are converted to the rectangular coordinate system; according to the position coordinates of each of the first vehicles and the main vehicle in the rectangular coordinate system, it is determined that each of the first vehicles is relative to the The location information of the host vehicle.
  • Figure 7 is a schematic diagram of the position of the main vehicle and the first vehicle in the geocentric coordinate system (World Geodetic System-1984 Coordinate System, WGS84), and Figure 8 is the main vehicle and the first vehicle.
  • the position information of the main vehicle is taken as the origin of the coordinates, that is, the main vehicle is the center, the heading angle direction of the main vehicle is the x-axis direction, and the main vehicle is horizontally left.
  • the side is the positive direction of the y-axis, and the position information of the Global Navigation Satellite System (GNSS) of each first vehicle and the host vehicle is converted into a rectangular coordinate system to obtain the relative origin of each first vehicle. (Ie, the host vehicle) (x, y) coordinate values, and then obtain the position information of each first vehicle equivalent to the host vehicle.
  • GNSS Global Navigation Satellite System
  • the position information of each first vehicle relative to the host vehicle is determined according to the position coordinates of each first vehicle and the host vehicle in the Cartesian coordinate system. Including step A:
  • Step A According to the position coordinates of each first vehicle and the main vehicle in the Cartesian coordinate system, the main vehicle is centered on the main vehicle, and the first vehicle and the main vehicle are divided into regions in a nine-square grid to determine each The position information of the first vehicle relative to the host vehicle.
  • FIG. 9 is a schematic diagram of an orientation division according to an embodiment of the application.
  • the position coordinates of the main vehicle and the first vehicle shown in FIG. 9 are all coordinates in rectangular coordinates, and the main vehicle As the center, the first vehicle and the main vehicle are divided into regions according to the nine-square grid, and the position information of each first vehicle relative to the main vehicle can be obtained.
  • RV represents the first vehicle
  • HV represents the main vehicle
  • vehicle RV1 is located at the front left of the main vehicle
  • vehicle RV2 is located directly in front of the main vehicle
  • vehicle RV3 is located at the front left of the main vehicle
  • vehicle RV4 It is located directly on the right of the main vehicle
  • vehicle RV5 is located on the left rear of the main vehicle
  • vehicle RV7 is located directly behind the main vehicle
  • vehicle RV8 is located on the right rear of the main vehicle.
  • the clock direction can also be used to indicate the orientation information of the vehicle.
  • the front can be indicated by the 12 o'clock direction
  • the front left can be indicated by the 9 o'clock direction
  • the front right can be used.
  • the 3 o'clock direction is displayed, and the 6 o'clock direction can be used directly behind.
  • the host vehicle compares the location information of the second vehicle with the location information of each of the first vehicles relative to the host vehicle, and determines the second vehicle from the at least one first vehicle.
  • the host vehicle determines the position information of each first vehicle relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle. Then, the host vehicle compares the location information of the second vehicle carried in the third message with the location information of each first vehicle relative to the host vehicle, and determines the second vehicle from the at least one first vehicle. For example, the position information of the second vehicle is compared with the position information of each first vehicle relative to the host vehicle, and the first vehicle whose position information is consistent with the position information of the second vehicle is determined from at least one of the first vehicles as the first vehicle. Two vehicles.
  • the foregoing S3032 may be: the host vehicle compares the location information of the second vehicle with the location information of each first vehicle relative to the host vehicle, and determines from at least one first vehicle At least one third vehicle whose position information is consistent with the position information of the second vehicle; then, according to the position coordinates of each third vehicle and the main vehicle in the Cartesian coordinate system, determine the distance between each third vehicle and the main vehicle; The third vehicle with the smallest distance from the host vehicle among the at least one third vehicle is determined to be the second vehicle.
  • the master vehicle determines the second vehicle from the at least one first vehicle.
  • the host vehicle sends a second message.
  • the host vehicle determines the second vehicle from at least one first vehicle, and then the host vehicle can obtain the identification information of the second vehicle from the first message sent by the second vehicle. Then, the host vehicle carries the identification information of the second vehicle and the first information to be sent to the second vehicle in a second message for transmission.
  • the second vehicle receives the second message, and detects whether the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself.
  • the host vehicle obtains a third message input by the user.
  • the third message includes the location information of the second vehicle and the first information to be sent.
  • the location information of the second vehicle is compared with the location and location information of the at least one first vehicle, and the second vehicle is determined from the at least one first vehicle; then, the host vehicle compares the identification information of the second vehicle with the first information It is carried in the second message and sent to the second vehicle, so that when the second vehicle detects that the identification information carried in the second message is consistent with the identification information of the second vehicle itself, it parses the second message to obtain the first message carried in the second message.
  • FIG. 10 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application. Based on the foregoing embodiment, as shown in FIG. 10, the method of the embodiment of the application includes:
  • the host vehicle obtains a first message from at least one first vehicle.
  • the first message includes: identification information of the first vehicle and location and orientation information of the first vehicle.
  • the host vehicle determines the position information of each first vehicle relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle.
  • the host vehicle determines a second vehicle from the at least one first vehicle according to the position information of each of the first vehicles relative to the host vehicle.
  • the host vehicle after the host vehicle obtains the orientation information of each first vehicle relative to the host vehicle, it can select a first vehicle from at least one first vehicle according to the location information of each first vehicle relative to the host vehicle.
  • the vehicle serves as the second vehicle.
  • the host vehicle captures the environment around the host vehicle through a vehicle-mounted camera to obtain a road image
  • the road map includes at least one first vehicle around the host vehicle.
  • the host vehicle recognizes the captured road image, identifies the orientation information of the vehicle that needs to send the first information from the road image, and then compares the orientation information of the identified vehicle with each first vehicle determined in step S402 relative to the host vehicle.
  • the position information of the vehicle is compared, and the first vehicle matching the position information of the recognized vehicle is determined from at least one vehicle, and the first vehicle is regarded as the second vehicle.
  • the main vehicle recognizes the captured road image and recognizes that the trunk of the upper left vehicle of the main vehicle in the road image is not closed. In this way, the main vehicle can obtain the position information of each first vehicle relative to the main vehicle and the upper left For the matched first vehicle, use the matched first vehicle as the second vehicle.
  • the above S403 may include the steps of S4031 to S4033:
  • the host vehicle displays the position information of each of the first vehicles relative to the host vehicle.
  • the main vehicle in the embodiment of the present application includes at least one display device, on which the position information of each first vehicle determined in step S402 relative to the main vehicle is drawn and displayed, as shown in FIG. 12, where HV represents the main vehicle, RV represents the first vehicle within a preset range around the host vehicle.
  • the host vehicle detects the user's selection operation on the displayed orientation information of each first vehicle relative to the host vehicle.
  • the host vehicle determines a second vehicle from the at least one first vehicle.
  • the host vehicle displays the location information of each first vehicle relative to the host vehicle as shown in FIG. 12 to the user, and the user performs a selection operation on the displayed location information of each first vehicle relative to the host vehicle.
  • the host vehicle detects the user's selection operation on the displayed orientation information of each first vehicle relative to the host vehicle, and in response to the selection operation, determines the second vehicle from the at least one first vehicle.
  • the user clicks on the RV1 vehicle and when the host vehicle detects that the user clicks on the RV1 vehicle, it can determine that the RV1 vehicle is the second vehicle selected by the user.
  • a menu may also pop up to show how the user enters the second message.
  • the input methods include sending a text message and sending a voice message.
  • the menu may also display other information, for example, display the identification information of the selected second vehicle.
  • a text box can be popped up, and the user can input the first information to be sent and the identification information of the second vehicle in the text box.
  • the host vehicle turns on the microphone and records the voice message input by the user.
  • the voice message includes the first information to be sent and the identification information of the second vehicle.
  • the identification information of the second vehicle does not need to be input by the user, and the main vehicle can be automatically added.
  • the host vehicle may send the position information of each first vehicle relative to the host vehicle determined in S402 to the user terminal device, and the user terminal device draws and displays each first vehicle.
  • the user selects the second vehicle on the user terminal device and enters the second message.
  • the user terminal device sends the identification information of the second vehicle selected by the user on the terminal device and the manner of inputting the second message to the host vehicle.
  • the main vehicle displays the text box or turns on the microphone according to the input mode of the second message selected by the user, receives the first information input by the user and the identification information of the second vehicle, and then forms the second message.
  • S404 The host vehicle sends a second message.
  • the second vehicle receives the second message, and detects whether the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself.
  • the host vehicle determines the position of each first vehicle relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle. Position information; determine the second vehicle from at least one first vehicle according to the position information of each of the first vehicles relative to the main vehicle, for example, according to the position of each of the first vehicles relative to the main vehicle. The information and the user's selection operation of the second vehicle determine the second vehicle from the at least one first vehicle. Then, the host vehicle carries the identification information of the second vehicle and the first information in a second message and sends it to the second vehicle, so that the second vehicle detects that the identification information carried in the second message is the same as the identification information of the second vehicle itself. When they are consistent, the second message is parsed to obtain the first information carried in the second message, so as to realize the point-to-point communication between the main vehicle and the second vehicle.
  • the foregoing embodiments all describe the point-to-point communication between one vehicle and one vehicle, that is, the identification information of the second vehicle carried in the second message sent by the host vehicle is the identification information of one vehicle.
  • the host vehicle may also send the first information to multiple vehicles at the same time.
  • the above-mentioned second message may include identification information of multiple vehicles.
  • vehicle A finds vehicle B and vehicle C. When none of the trunks of vehicle A are closed, vehicle A can send a second message to vehicle B and vehicle C at the same time. At this time, the second message carries the identification information of vehicle B, the identification information of vehicle C, and the first information.
  • the method of the embodiment of the present application can also realize point-to-multipoint communication between vehicles.
  • FIG. 13 is a schematic structural diagram of a vehicle-mounted device provided by an embodiment of the application.
  • the vehicle-mounted device 500 in this embodiment may be the vehicle-mounted unit on the main vehicle (or a component that can be used for the vehicle-mounted unit of the main vehicle) mentioned in the foregoing method embodiment or the vehicle-mounted device on the first vehicle. Unit (or a component that can be used in the on-board unit of the first vehicle).
  • the in-vehicle device can be used to implement the method corresponding to the main vehicle or the second vehicle described in the foregoing method embodiment. For details, refer to the description in the foregoing method embodiment.
  • the in-vehicle device 500 may include one or more processors 501, and the processor 501 may also be referred to as a processing unit, which may implement certain control or processing functions.
  • the processor 501 may be a general-purpose processor or a special-purpose processor. For example, it can be a baseband processor or a central processing unit.
  • the baseband processor can be used to process the communication protocol and communication data
  • the central processor can be used to control the on-board equipment, execute the software program, and process the data of the software program.
  • the processor 501 may also store instructions 503 or data (for example, intermediate data).
  • the instruction 503 may be executed by the processor, so that the in-vehicle device 500 executes the method corresponding to the main vehicle or the second vehicle described in the foregoing method embodiment.
  • the vehicle-mounted device 500 may include a circuit, and the circuit may implement the sending or receiving or communication function in the foregoing method embodiment.
  • the in-vehicle device 500 may include one or more memories 502, on which instructions 504 may be stored, and the instructions may be executed on the processor, so that the in-vehicle device 500 executes the foregoing method implementation The method described in the example.
  • processor 501 and the memory 502 can be provided separately or integrated together.
  • the vehicle-mounted device 500 may further include a transceiver 505 and/or an antenna 506.
  • the processor 501 may be referred to as a processing unit, which controls the vehicle-mounted equipment.
  • the transceiver 505 may be called a transceiver unit, a transceiver, a transceiver circuit, or a transceiver, etc., and is used to implement the transceiver function of the vehicle-mounted device.
  • the transceiver 505 may obtain the first message from at least one first vehicle. Including: the identification information of the first vehicle and the position and orientation information of the first vehicle; the processor 501 determines from the at least one first vehicle based on the position and orientation information of each of the first vehicles The second vehicle, the second vehicle is the target recipient of the first message to be sent by the host vehicle; a second message is sent by the transceiver 505, and the second message includes: the identification information of the second vehicle and The first information.
  • the transceiver 505 may receive a second message, the second message including: identification information of the second vehicle And the first information; the processor 501 detects that the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, then the second message is parsed to obtain the message to be sent .
  • the processor 501 and the transceiver 505 described in this application can be implemented in integrated circuits (IC), analog ICs, radio frequency integrated circuits (RFICs), mixed signal ICs, and application specific integrated circuits (application specific integrated circuits). circuit, ASIC), printed circuit board (PCB), electronic equipment, etc.
  • the processor 501 and the transceiver 505 can also be manufactured using various 1C process technologies, such as complementary metal oxide semiconductor (CMOS), nMetal-oxide-semiconductor (NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
  • CMOS complementary metal oxide semiconductor
  • NMOS nMetal-oxide-semiconductor
  • PMOS P-type metal oxide semiconductor
  • BJT bipolar junction transistor
  • BiCMOS bipolar CMOS
  • SiGe silicon germanium
  • the vehicle-mounted device 500 is described by taking the main vehicle or the first vehicle as an example, the scope of the vehicle-mounted device described in this application is not limited to the foregoing main vehicle or the foregoing first vehicle.
  • the structure may not be limited by FIG. 13.
  • the in-vehicle device of the embodiment of the present application can be used to implement the technical solutions of the main vehicle (or the first vehicle) in the foregoing method embodiments, and the implementation principles and technical effects are similar, and will not be repeated here.
  • FIG. 14 is a schematic structural diagram of a communication device provided by an embodiment of the application.
  • the communication device 700 exists in the form of a chip product.
  • the structure of the communication device includes a processor 701 and a memory 702.
  • the memory 702 is used for coupling with the processor 701.
  • the memory 702 stores program instructions and data necessary for the communication device.
  • the processor 701 is configured to execute program instructions stored in the memory 702, so that the communication device executes the functions of the main vehicle or the second vehicle in the foregoing method embodiment.
  • the communication device of the embodiment of the present application may be used to execute the technical solutions of the main vehicle or the second vehicle in the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
  • FIG. 15 is a schematic structural diagram of a point-to-point communication device between vehicles according to an embodiment of the application.
  • This inter-vehicle point-to-point communication device is applied to the host vehicle. It can be an on-board unit on the host vehicle, or a component of the on-board unit of the host vehicle (for example, integrated circuits, chips, etc.).
  • the vehicle The inter-point-to-point communication device 800 may include:
  • the receiving unit 801 is configured to obtain a first message from at least one first vehicle, the first message including: identification information of the first vehicle and position and orientation information of the first vehicle;
  • the processing unit 802 is configured to determine a second vehicle from the at least one first vehicle based on the position and orientation information of each of the first vehicles, where the second vehicle is the first message to be sent by the main vehicle The target recipient;
  • the sending unit 803 is configured to send a second message, where the second message includes: identification information of the second vehicle and the first information.
  • the processing unit 802 is specifically configured to obtain a third message input by the user, where the third message includes: the first information and the position information of the second vehicle; The position information of the second vehicle is compared with the position and position information of each of the first vehicles, and the second vehicle is determined from the at least one first vehicle.
  • the position information of the second vehicle is the position information of the second vehicle relative to the host vehicle.
  • the processing unit 802 is specifically configured to determine that each first vehicle is relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle. Position information of the host vehicle; compare the position information of the second vehicle with the position information of each of the first vehicles relative to the host vehicle, and determine the second vehicle from the at least one first vehicle .
  • the processing unit 802 is specifically configured to compare the orientation information of the second vehicle with the orientation information of each of the first vehicles relative to the host vehicle, from the Determine at least one third vehicle consistent with the orientation information of the second vehicle among at least one first vehicle; determine the third vehicle with the smallest distance from the host vehicle among the at least one third vehicle as the The second vehicle.
  • the processing unit 802 is specifically configured to determine that each first vehicle is relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle.
  • the location information of the host vehicle; and the second vehicle is determined from the at least one first vehicle according to the location information of each of the first vehicles relative to the host vehicle.
  • the communication device in the embodiment of the present application may be used to execute the technical solutions of the main vehicle in the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
  • FIG. 16 is a schematic structural diagram of a point-to-point communication device between vehicles provided by an embodiment of this application. As shown in FIG. 16, the communication device of this application further includes a display unit 804:
  • the display unit 804 is configured to display the position information of each of the first vehicles relative to the main vehicle;
  • the processing unit 802 is configured to detect a selection operation of the user on the displayed orientation information of each of the first vehicles relative to the main vehicle; in response to the selection operation, from the at least one first vehicle Identify the second vehicle among the one vehicle.
  • the processing unit 802 is specifically configured to set up a rectangular coordinate system with the host vehicle as the center and the heading angle direction of the host vehicle as the x-axis direction.
  • the position information includes the heading angle and position coordinates; the position coordinates of each of the first vehicles and the position coordinates of the main vehicle are converted to the rectangular coordinate system; according to each of the first vehicles and the main vehicle The position coordinates in the rectangular coordinate system determine the position information of each of the first vehicles relative to the host vehicle.
  • the processing unit 802 is specifically configured to take the host vehicle as the center according to the position coordinates of each of the first vehicle and the host vehicle in the Cartesian coordinate system, The area division of the first vehicle and the main vehicle is performed in a nine-square grid manner, and the position information of each of the first vehicles relative to the main vehicle is determined.
  • the second message further includes identification information of the host vehicle.
  • the receiving unit 801 is further configured to receive a fourth message from the second vehicle, where the fourth message includes the identification information of the main vehicle and the waiting state of the second vehicle.
  • the fourth message further includes identification information of the second vehicle.
  • the receiving unit 801 is further configured to receive voice information input by the user, where the voice information includes: first information and position information of the second vehicle;
  • the processing unit 802 is further configured to identify the first information and the position information of the second vehicle from the voice information, and obtain the third message.
  • the first message, the second message, and the fourth message are all broadcast messages.
  • the first vehicle is a vehicle within a preset range around the host vehicle.
  • the communication device in the embodiment of the present application may be used to execute the technical solutions of the main vehicle in the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
  • FIG. 17 is a schematic structural diagram of a point-to-point communication device between vehicles according to an embodiment of the application.
  • This inter-vehicle point-to-point communication device is applied to the second vehicle. It can be an onboard unit on the second vehicle or a component (for example, an integrated circuit, a chip, etc.) of the onboard unit of the second vehicle, as shown in Figure 17 .
  • the point-to-point communication device 900 between vehicles may include:
  • the receiving unit 901 is configured to receive a second message, where the second message includes: identification information of the second vehicle and first information;
  • the processing unit 902 is configured to, if it is detected that the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, parse the second message to obtain the message to be sent.
  • the processing unit 902 is further configured to discard the second vehicle if it is detected that the identification information of the second vehicle carried in the second message is inconsistent with the identification information of the second vehicle itself. The second message.
  • the second message further includes identification information of the host vehicle.
  • the foregoing communication device 900 further includes a sending unit 903:
  • the sending unit 903 is configured to send a fourth message, where the fourth message includes identification information of the host vehicle and second information to be sent by the second vehicle to the host vehicle.
  • the fourth message further includes identification information of the second vehicle.
  • the fourth message and the second message are both broadcast messages.
  • the communication device of the embodiment of the present application may be used to execute the technical solution of the second vehicle in the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
  • FIG. 18 is a schematic structural diagram of a vehicle-mounted device provided by an embodiment of the application.
  • the vehicle-mounted device 610 includes a processor 612, a communication interface 613, and a memory 611.
  • the in-vehicle communication device 610 may further include a bus 614.
  • the communication interface 613, the processor 612, and the memory 611 can be connected to each other through a bus 614;
  • the bus 614 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) Bus and so on.
  • the bus 614 can be divided into an address bus, a data bus, a control bus, and so on. For ease of presentation, only one thick line is used to represent in FIG. 18, but it does not mean that there is only one bus or one type of bus.
  • the in-vehicle device of the embodiment of the present application may be used to execute the technical solutions of the main vehicle or the second vehicle in the foregoing method embodiments, and the implementation principles and technical effects are similar, and will not be repeated here.
  • FIG. 19 is a schematic structural diagram of a vehicle provided by an embodiment of the application.
  • the vehicle 200 of the embodiment of the present application includes a vehicle body 210 and a vehicle-mounted device 220 provided on the vehicle body 210.
  • the vehicle-mounted device may be the vehicle-mounted device shown in FIG. 13 or FIG. 18.
  • the vehicle 200 can be used to implement the function of the main vehicle side in the foregoing method embodiment, and the page can be used to implement the function of the second vehicle side in the foregoing method embodiment.
  • the implementation principles and technical effects are similar, and will not be repeated here. .
  • FIG. 20 is a schematic structural diagram of an inter-vehicle communication system provided by an embodiment of the application. As shown in 20, the communication system 300 of the embodiment of the present application includes the above-mentioned main vehicle 310 and the second vehicle 320.
  • the main vehicle 310 can be used to implement the function of the main vehicle side in the foregoing method embodiment
  • the second vehicle 320 can be used to implement the function of the second vehicle side in the foregoing method embodiment, and its implementation principles and technical effects are similar. I won't repeat them here.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including a number of instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
  • the computer may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it can be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

Abstract

Provided in the present application are a vehicle-to-vehicle point-to-point communication method, apparatus and system, and a storage medium. The method comprises: a main vehicle obtaining a first message from at least one first vehicle, wherein the first message comprises identification information of the first vehicle and position and orientation information of the first vehicle; and determining a second vehicle from the at least one first vehicle on the basis of the obtained position and orientation information of each first vehicle, carrying identification information of the second vehicle and the first information in a second message, and sending the second message. Thus, when it is detected by the second vehicle that the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, the first information is obtained from the second message. That is, according to the present application, the main vehicle carries the identification information of the second vehicle and the first information to be sent in the second message and sends the second message to the second vehicle, and the second vehicle can obtain the first information sent by the main vehicle, but other vehicles cannot obtain same, thus realizing point-to-point communication between the main vehicle and the second vehicle.

Description

车辆间的点对点通信方法、装置、系统及存储介质Point-to-point communication method, device, system and storage medium between vehicles
本申请要求于2019年09月17日提交中国专利局、申请号为201910877493.X、申请名称为“车辆间的点对点通信方法、装置、系统及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on September 17, 2019, the application number is 201910877493.X, and the application name is "Point-to-point communication methods, devices, systems and storage media between vehicles", all of which The content is incorporated in this application by reference.
技术领域Technical field
本申请涉及车联网技术领域,尤其涉及一种车辆间的点对点通信方法、装置、系统及存储介质。This application relates to the technical field of Internet of Vehicles, and in particular to a point-to-point communication method, device, system and storage medium between vehicles.
背景技术Background technique
车联网(vehicle to everything,V2X)是通过装载在车上的传感器、车载终端等提供车辆信息,并通过各种通信技术实现车与车之间(Vehicle to Vehicle,V2V)、车与路之间(Vehicle to Infrastructure,V2I)、车与人之间(Vehicle to Pedestrian,V2P)、车与网络之间(Vehicle to Network,V2N)的相互通信。The Internet of Vehicles (Vehicle to Everything, V2X) is to provide vehicle information through sensors, on-board terminals, etc. mounted on the vehicle, and to achieve vehicle-to-vehicle (V2V) and vehicle-to-road communication through various communication technologies. (Vehicle to Infrastructure, V2I), vehicle to person (Vehicle to Pedestrian, V2P), vehicle to network (Vehicle to Network, V2N) mutual communication.
目前,车与车之间的交互可以采用车—云端—车的方式。车辆将自身的信息先通过互联网传送到云端服务器,然后再由云端服务器传送给其它车辆,从而间接实现车辆与车辆的交互。At present, the interaction between cars can adopt a car-cloud-car approach. The vehicle first transmits its own information to the cloud server via the Internet, and then the cloud server transmits it to other vehicles, thereby indirectly realizing the interaction between the vehicle and the vehicle.
但是,上述交互方式,车辆首先需要向云端服务器进行注册车辆信息,且通过云端服务器中转车辆间的信息时,其信息交互质量依赖车辆连接的互联网的质量,时延较大。However, in the above interaction method, the vehicle first needs to register vehicle information with the cloud server, and when the information between the vehicles is transferred through the cloud server, the quality of the information interaction depends on the quality of the Internet connected to the vehicle, and the time delay is relatively large.
发明内容Summary of the invention
本申请实施例提供一种车辆间的点对点通信方法、装置、系统及存储介质。The embodiments of the present application provide a method, device, system, and storage medium for point-to-point communication between vehicles.
第一方面,本申请实施例提供一种车辆间的点对点通信方法,应用于主车,所述方法包括:In the first aspect, an embodiment of the present application provides a point-to-point communication method between vehicles, which is applied to a host vehicle, and the method includes:
主车从至少一个第一车辆处获取第一消息,所述第一消息包括:所述第一车辆的标识信息和所述第一车辆的位置和方位信息;基于每个所述第一车辆的位置和方位信息,从所述至少一个第一车辆中确定第二车辆,所述第二车辆为所述主车待发送的第一消息的目标接收方;接着发送第二消息,所述第二消息包括:所述第二车辆的标识信息和所述第一信息。以使第二车辆接收到主车发送的第二消息后,检测第二消息携带的第二车辆的标识信息是否与第二车辆自身的标识信息一致,若一致,则确定该第二消息是发送给第二车辆的,第二车辆从该第二消息中获得第一信息。The host vehicle obtains a first message from at least one first vehicle, and the first message includes: identification information of the first vehicle and position and orientation information of the first vehicle; Position and orientation information, determine a second vehicle from the at least one first vehicle, and the second vehicle is the target recipient of the first message to be sent by the main vehicle; and then send a second message, the second The message includes: identification information of the second vehicle and the first information. So that after receiving the second message sent by the main vehicle, the second vehicle detects whether the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, and if they are consistent, it is determined that the second message is sent For the second vehicle, the second vehicle obtains the first information from the second message.
即本申请实施例,主车确定期望通信的车辆为第二车辆,并将第二车辆的标识信息和待发送的第一信息携带在第二消息中发送给第二车辆,这样第二车辆可以根据第二消息携带的第二车辆的标识信息来获得主车发送的第一信息,而其他车辆无法获得该第二消息中的第一信息,进而实现了主车与第二车辆的点对点通信,且整个通信过程中不需要云服务器进行中转,大大降低了通信时延,提高了车辆间点对点通信的效率。That is to say, in the embodiment of this application, the host vehicle determines that the vehicle desired to communicate is the second vehicle, and carries the identification information of the second vehicle and the first information to be sent in the second message and sends it to the second vehicle, so that the second vehicle can The first information sent by the host vehicle is obtained according to the identification information of the second vehicle carried in the second message, but other vehicles cannot obtain the first information in the second message, thereby realizing the point-to-point communication between the host vehicle and the second vehicle. In addition, there is no need for a cloud server to transfer during the entire communication process, which greatly reduces the communication delay and improves the efficiency of point-to-point communication between vehicles.
在第一种可能的实现方式中,主车基于每个所述第一车辆的位置和方位信息,从所述 至少一个第一车辆中确定第二车辆,包括:主车获取用户输入的第三消息,所述第三消息包括:所述第一信息和所述第二车辆的方位信息;将所述第二车辆的方位信息与每个所述第一车辆的位置和方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆。In a first possible implementation manner, the host vehicle determines the second vehicle from the at least one first vehicle based on the position and orientation information of each of the first vehicles, including: the host vehicle obtains the third vehicle input by the user. Message, the third message includes: the first information and the position information of the second vehicle; the position information of the second vehicle is compared with the position and position information of each of the first vehicles, from The second vehicle is determined among the at least one first vehicle.
可选的,上述第二车辆的方位信息为所述第二车辆相对于主车的方位信息。Optionally, the above-mentioned position information of the second vehicle is the position information of the second vehicle relative to the host vehicle.
在该实现方式的一些示例中,主车将所述第二车辆的方位信息与每个所述第一车辆的位置和方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆,包括:主车基于每个所述第一车辆的位置信息和所述主车的位置信息,确定每个所述第一车辆相对于所述主车的方位信息;将所述第二车辆的方位信息与每个所述第一车辆相对于所述主车的方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆。In some examples of this implementation, the host vehicle compares the position information of the second vehicle with the position and position information of each of the first vehicles, and determines the second vehicle from the at least one first vehicle. The vehicle includes: a host vehicle determines the position information of each of the first vehicles relative to the host vehicle based on the location information of each of the first vehicles and the location information of the host vehicle; The position information of is compared with the position information of each of the first vehicles relative to the host vehicle, and the second vehicle is determined from the at least one first vehicle.
在一种具体的示例中,主车将所述第二车辆的方位信息与每个所述第一车辆相对于所述主车的方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆,包括:将所述第二车辆的方位信息与每个所述第一车辆相对于所述主车的方位信息进行比较,从所述至少一个第一车辆中确定出与所述第二车辆的方位信息一致的至少一个第三车辆;将所述至少一个第三车辆中与所述主车的距离最小的第三车辆确定为所述第二车辆。In a specific example, the host vehicle compares the location information of the second vehicle with the location information of each of the first vehicles relative to the host vehicle, and determines the location information from the at least one first vehicle. The second vehicle includes: comparing the position information of the second vehicle with the position information of each of the first vehicles relative to the host vehicle, and determining from the at least one first vehicle and the At least one third vehicle with the same azimuth information of the second vehicle; the third vehicle with the smallest distance from the host vehicle among the at least one third vehicle is determined as the second vehicle.
在第二种可能的实现方式中,主车基于每个所述第一车辆的位置和方位信息,从所述至少一个第一车辆中确定第二车辆,包括:基于每个所述第一车辆的位置信息和所述主车的位置信息,确定每个所述第一车辆相对于所述主车的方位信息;根据每个所述第一车辆相对于所述主车的方位信息,从所述至少一个第一车辆中确定第二车辆。In a second possible implementation manner, the master vehicle determines the second vehicle from the at least one first vehicle based on the position and orientation information of each of the first vehicles, including: based on each of the first vehicles The location information of each of the first vehicles and the location information of the host vehicle are used to determine the location information of each first vehicle relative to the host vehicle; according to the location information of each first vehicle relative to the host vehicle, The second vehicle is determined among the at least one first vehicle.
在第二种实现方式的一些示例中,上述主车根据每个所述第一车辆相对于所述主车的方位信息,从所述至少一个第一车辆中确定第二车辆,包括:显示每个所述第一车辆相对于所述主车的方位信息;检测到所述用户在显示的每个所述第一车辆相对于所述主车的方位信息上的选择操作;响应于所述选择操作,从所述至少一个第一车辆中确定第二车辆。In some examples of the second implementation manner, the above-mentioned host vehicle determines the second vehicle from the at least one first vehicle according to the position information of each first vehicle relative to the host vehicle, including: displaying each vehicle Location information of the first vehicle relative to the host vehicle; detecting the user's selection operation on the displayed location information of each of the first vehicles relative to the host vehicle; in response to the selection In operation, a second vehicle is determined from the at least one first vehicle.
在上述第一种实现方式和第二种实现方式中,主车基于每个所述第一车辆的位置信息和所述主车的位置信息,确定每个所述第一车辆相对于所述主车的方位信息,包括:以所述主车为中心,以所述主车的航向角方向为x轴方向,建立直角坐标系,所述主车的位置信息包括航向角和位置坐标;将每个所述第一车辆的位置坐标和所述主车的位置坐标转换至所述直角坐标系下;根据每个所述第一车辆和所述主车在所述直角坐标系下的位置坐标,确定每个所述第一车辆相对于所述主车的方位信息。In the above-mentioned first implementation manner and the second implementation manner, the host vehicle determines that each of the first vehicles is relative to the host vehicle based on the location information of each of the first vehicles and the location information of the host vehicle. The orientation information of the vehicle includes: taking the host vehicle as the center and taking the heading angle direction of the host vehicle as the x-axis direction to establish a rectangular coordinate system, and the location information of the host vehicle includes the heading angle and position coordinates; The position coordinates of the first vehicle and the position coordinates of the host vehicle are converted to the rectangular coordinate system; according to the position coordinates of each of the first vehicle and the host vehicle in the rectangular coordinate system, Determine the position information of each of the first vehicles relative to the host vehicle.
在一些示例中,主车根据每个所述第一车辆和所述主车在所述直角坐标系下的位置坐标,确定每个所述第一车辆相对于所述主车的方位信息,包括:根据每个所述第一车辆和所述主车在所述直角坐标系下的位置坐标,以所述主车为中心,按照九宫格的方式对所述第一车辆和所述主车进行区域划分,确定每个所述第一车辆相对于所述主车的方位信息。In some examples, the host vehicle determines the position information of each first vehicle relative to the host vehicle according to the position coordinates of each first vehicle and the host vehicle in the Cartesian coordinate system, including : According to the position coordinates of each of the first vehicle and the main vehicle in the Cartesian coordinate system, with the main vehicle as the center, the area of the first vehicle and the main vehicle is performed in a nine-square-grid manner Divide, determine the position information of each of the first vehicles relative to the host vehicle.
可选的,上述第二消息还包括所述主车的标识信息。Optionally, the foregoing second message further includes identification information of the host vehicle.
在一种可能的实现方式中,上述方法还包括:主车从所述第二车辆处接收第四消息,所述第四消息包括所述主车的标识信息和所述第二车辆待发送给所述主车的第二信息,所述第四消息为所述第二车辆在检测到所述第二信息携带的第二车辆的标识信息与所述第二车辆自身的标识信息一致时发送的。In a possible implementation, the above method further includes: the host vehicle receives a fourth message from the second vehicle, where the fourth message includes identification information of the host vehicle and the second vehicle to be sent to The second information of the host vehicle, the fourth message is sent by the second vehicle when it detects that the identification information of the second vehicle carried in the second information is consistent with the identification information of the second vehicle itself .
可选的,上述第四消息还包括所述第二车辆的标识信息。Optionally, the foregoing fourth message further includes identification information of the second vehicle.
在一些示例中,主车获取用户输入的第三消息,包括:主车接收所述用户输入的语音 信息,所述语音信息包括:第一信息和所述第二车辆的方位信息;从所述语音信息中识别出所述第一信息和所述第二车辆的方位信息,获得所述第三消息。In some examples, acquiring the third message input by the user by the host vehicle includes: receiving the voice information input by the user by the host vehicle, and the voice information includes: first information and position information of the second vehicle; The first information and the position information of the second vehicle are recognized from the voice information, and the third message is obtained.
可选的,所述第一消息、所述第二消息和所述第四消息均为广播消息。Optionally, the first message, the second message, and the fourth message are all broadcast messages.
可选的,所述第一车辆为所述主车周围预设范围内的车辆。Optionally, the first vehicle is a vehicle within a preset range around the host vehicle.
第二方面,本申请实施例提供一种车辆间的点对点通信方法,应用于第二车辆,所述方法包括:In a second aspect, an embodiment of the present application provides a point-to-point communication method between vehicles, which is applied to a second vehicle, and the method includes:
第二车辆接收第二消息,所述第二消息包括:第二车辆的标识信息和第一信息;若检测到所述第二消息携带的第二车辆的标识信息与所述第二车辆自身的标识信息一致,则解析所述第二消息,获得所述待发送消息。The second vehicle receives a second message, and the second message includes: the identification information of the second vehicle and the first information; if it is detected that the identification information of the second vehicle carried in the second message and the identification information of the second vehicle itself are detected If the identification information is consistent, the second message is parsed to obtain the message to be sent.
在一种可能的实现方式中,若第二车辆检测到所述第二消息携带的第二车辆的标识信息与所述第二车辆自身的标识信息不一致,则丢弃所述第二消息。In a possible implementation manner, if the second vehicle detects that the identification information of the second vehicle carried in the second message is inconsistent with the identification information of the second vehicle itself, the second message is discarded.
可选的,所述第二消息还包括所述主车的标识信息。Optionally, the second message further includes identification information of the host vehicle.
在一种可能的实现方式中,第二车辆还发送第四消息,所述第四消息包括主车的标识信息和所述第二车辆待发送给所述主车的第二信息。In a possible implementation manner, the second vehicle further sends a fourth message, the fourth message including the identification information of the host vehicle and the second information to be sent by the second vehicle to the host vehicle.
可选的,上述第四消息还包括所述第二车辆的标识信息。Optionally, the foregoing fourth message further includes identification information of the second vehicle.
可选的,上述第四消息和所述第二消息均为广播消息。Optionally, the foregoing fourth message and the second message are both broadcast messages.
第三方面,本申请实施例提供一种车辆间的点对点通信装置,应用于主车,所述装置包括:In a third aspect, an embodiment of the present application provides a point-to-point communication device between vehicles, which is applied to a host vehicle, and the device includes:
接收单元,用于从至少一个第一车辆处获取第一消息,所述第一消息包括:所述第一车辆的标识信息和所述第一车辆的位置和方位信息;A receiving unit, configured to obtain a first message from at least one first vehicle, the first message including: identification information of the first vehicle and position and orientation information of the first vehicle;
处理单元,用于基于每个所述第一车辆的位置和方位信息,从所述至少一个第一车辆中确定第二车辆,所述第二车辆为所述主车待发送的第一消息的目标接收方;A processing unit, configured to determine a second vehicle from the at least one first vehicle based on the position and orientation information of each of the first vehicles, the second vehicle being the source of the first message to be sent by the main vehicle Target recipient
发送单元,用于发送第二消息,所述第二消息包括:所述第二车辆的标识信息和所述第一信息。The sending unit is configured to send a second message, where the second message includes: identification information of the second vehicle and the first information.
在一种可能的实现方式中,所述处理单元,具体用于获取用户输入的第三消息,所述第三消息包括:所述第一信息和所述第二车辆的方位信息;将所述第二车辆的方位信息与每个所述第一车辆的位置和方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆。In a possible implementation manner, the processing unit is specifically configured to obtain a third message input by the user, where the third message includes: the first information and the position information of the second vehicle; The position information of the second vehicle is compared with the position and position information of each of the first vehicles, and the second vehicle is determined from the at least one first vehicle.
可选的,所述第二车辆的方位信息为所述第二车辆相对于主车的方位信息。Optionally, the position information of the second vehicle is the position information of the second vehicle relative to the host vehicle.
在一种可能的实现方式中,所述处理单元,具体用于基于每个所述第一车辆的位置信息和所述主车的位置信息,确定每个所述第一车辆相对于所述主车的方位信息;将所述第二车辆的方位信息与每个所述第一车辆相对于所述主车的方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆。In a possible implementation manner, the processing unit is specifically configured to determine that each first vehicle is relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle. The position information of the vehicle; the position information of the second vehicle is compared with the position information of each of the first vehicles relative to the host vehicle, and the second vehicle is determined from the at least one first vehicle.
在一种可能的实现方式中,所述处理单元,具体用于将所述第二车辆的方位信息与每个所述第一车辆相对于所述主车的方位信息进行比较,从所述至少一个第一车辆中确定出与所述第二车辆的方位信息一致的至少一个第三车辆;将所述至少一个第三车辆中与所述主车的距离最小的第三车辆确定为所述第二车辆。In a possible implementation manner, the processing unit is specifically configured to compare the position information of the second vehicle with the position information of each of the first vehicles relative to the host vehicle, from the at least At least one third vehicle that is consistent with the position information of the second vehicle is determined among a first vehicle; the third vehicle with the smallest distance from the host vehicle among the at least one third vehicle is determined as the first vehicle Two vehicles.
在一种可能的实现方式中,所述处理单元,具体用于基于每个所述第一车辆的位置信息和所述主车的位置信息,确定每个所述第一车辆相对于所述主车的方位信息;根据每个 所述第一车辆相对于所述主车的方位信息,从所述至少一个第一车辆中确定第二车辆。In a possible implementation manner, the processing unit is specifically configured to determine that each first vehicle is relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle. Vehicle orientation information; according to the orientation information of each of the first vehicles relative to the host vehicle, a second vehicle is determined from the at least one first vehicle.
在一种可能的实现方式中,所述装置还包括显示单元:In a possible implementation manner, the device further includes a display unit:
所述显示单元,用于显示每个所述第一车辆相对于所述主车的方位信息;The display unit is configured to display the position information of each of the first vehicles relative to the main vehicle;
所述处理单元,用于检测到所述用户在显示的每个所述第一车辆相对于所述主车的方位信息上的选择操作;响应于所述选择操作,从所述至少一个第一车辆中确定第二车辆。The processing unit is configured to detect a selection operation of the user on the displayed orientation information of each of the first vehicles relative to the main vehicle; in response to the selection operation, the selection operation from the at least one first vehicle Identify the second vehicle among the vehicles.
在一种可能的实现方式中,所述处理单元,具体用于以所述主车为中心,以所述主车的航向角方向为x轴方向,建立直角坐标系,所述主车的位置信息包括航向角和位置坐标;将每个所述第一车辆的位置坐标和所述主车的位置坐标转换至所述直角坐标系下;根据每个所述第一车辆和所述主车在所述直角坐标系下的位置坐标,确定每个所述第一车辆相对于所述主车的方位信息。In a possible implementation manner, the processing unit is specifically configured to establish a rectangular coordinate system with the host vehicle as the center and the heading angle direction of the host vehicle as the x-axis direction, and the position of the host vehicle The information includes the heading angle and position coordinates; the position coordinates of each of the first vehicles and the position coordinates of the main vehicle are converted to the rectangular coordinate system; according to the position coordinates of each of the first vehicles and the main vehicle The position coordinates in the rectangular coordinate system determine the position information of each of the first vehicles relative to the host vehicle.
在一种可能的实现方式中,所述处理单元,具体用于根据每个所述第一车辆和所述主车在所述直角坐标系下的位置坐标,以所述主车为中心,按照九宫格的方式对所述第一车辆和所述主车进行区域划分,确定每个所述第一车辆相对于所述主车的方位信息。In a possible implementation manner, the processing unit is specifically configured to take the host vehicle as the center according to the position coordinates of each of the first vehicle and the host vehicle in the Cartesian coordinate system, according to The area division of the first vehicle and the main vehicle is performed in a nine-grid manner, and the position information of each first vehicle relative to the main vehicle is determined.
可选的,所述第二消息还包括所述主车的标识信息。Optionally, the second message further includes identification information of the host vehicle.
在一种可能的实现方式中,所述接收单元,还用于从所述第二车辆处接收第四消息,所述第四消息包括所述主车的标识信息和所述第二车辆待发送给所述主车的第二信息,所述第四消息为所述第二车辆在检测到所述第二信息携带的第二车辆的标识信息与所述第二车辆自身的标识信息一致时发送的。In a possible implementation, the receiving unit is further configured to receive a fourth message from the second vehicle, where the fourth message includes identification information of the main vehicle and the second vehicle to be sent The second information to the host vehicle, the fourth message is sent by the second vehicle when it detects that the identification information of the second vehicle carried in the second information is consistent with the identification information of the second vehicle itself of.
可选的,所述第四消息还包括所述第二车辆的标识信息。Optionally, the fourth message further includes identification information of the second vehicle.
在一种可能的实现方式中,所述接收单元,还用于接收所述用户输入的语音信息,所述语音信息包括:第一信息和所述第二车辆的方位信息;In a possible implementation manner, the receiving unit is further configured to receive voice information input by the user, where the voice information includes: first information and position information of the second vehicle;
所述处理单元,还用于从所述语音信息中识别出所述第一信息和所述第二车辆的方位信息,获得所述第三消息。The processing unit is further configured to identify the first information and the position information of the second vehicle from the voice information, and obtain the third message.
可选的,所述第一消息、所述第二消息和所述第四消息均为广播消息。Optionally, the first message, the second message, and the fourth message are all broadcast messages.
可选的,所述第一车辆为所述主车周围预设范围内的车辆。Optionally, the first vehicle is a vehicle within a preset range around the host vehicle.
第四方面,本申请实施例提供一种车辆间的点对点通信装置,应用于第二车辆,所述装置包括:In a fourth aspect, an embodiment of the present application provides a point-to-point communication device between vehicles, which is applied to a second vehicle, and the device includes:
接收单元,用于接收第二消息,所述第二消息包括:第二车辆的标识信息和第一信息;A receiving unit, configured to receive a second message, the second message including: identification information of the second vehicle and first information;
处理单元,用于若检测到所述第二消息携带的第二车辆的标识信息与所述第二车辆自身的标识信息一致,则解析所述第二消息,获得所述待发送消息。The processing unit is configured to, if it is detected that the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, parse the second message to obtain the message to be sent.
在一种可能的实现方式中,所述处理单元,还用于若检测到所述第二消息携带的第二车辆的标识信息与所述第二车辆自身的标识信息不一致,则丢弃所述第二消息。In a possible implementation, the processing unit is further configured to discard the first vehicle if it is detected that the identification information of the second vehicle carried in the second message is inconsistent with the identification information of the second vehicle itself. Two news.
可选的,所述第二消息还包括所述主车的标识信息。Optionally, the second message further includes identification information of the host vehicle.
在一种可能的实现方式中,所述装置还包括发送单元:In a possible implementation manner, the device further includes a sending unit:
所述发送单元,用于发送第四消息,所述第四消息包括主车的标识信息和所述第二车辆待发送给所述主车的第二信息。The sending unit is configured to send a fourth message, where the fourth message includes identification information of the host vehicle and second information to be sent by the second vehicle to the host vehicle.
可选的,所述第四消息还包括所述第二车辆的标识信息。Optionally, the fourth message further includes identification information of the second vehicle.
可选的,所述第四消息和所述第二消息均为广播消息。Optionally, the fourth message and the second message are both broadcast messages.
第五方面,本申请实施例提供一种车载设备,包括:处理器和收发器,所述处理器和 所述收发器用于执行实现如第一方面或如第二方面任一项权利要求所述的车辆间的点对点通信方法。In a fifth aspect, an embodiment of the present application provides a vehicle-mounted device, including: a processor and a transceiver, and the processor and the transceiver are used to implement the implementation as described in any one of the first aspect or the second aspect. Point-to-point communication method between vehicles.
第六方面,本申请实施例提供一种计算机存储介质,所述存储介质包括计算机指令,当所述指令被计算机执行时,使得所述计算机实现第一方面或/或第二方面所述的车辆间的点对点通信方法。In a sixth aspect, an embodiment of the present application provides a computer storage medium. The storage medium includes computer instructions. When the instructions are executed by a computer, the computer realizes the vehicle described in the first aspect or/or the second aspect. Point-to-point communication method between.
第七方面,本申请实施例提供一种计算机程序产品,所述程序产品包括计算机程序,所述计算机程序存储在可读存储介质中,网络设备或呼叫方设备可以从所述可读存储介质读取所述计算机程序,并执行所述计算机程序使得网络设备或呼叫方实施上述所述的车辆间的点对点通信方法。In a seventh aspect, an embodiment of the present application provides a computer program product, the program product includes a computer program, the computer program is stored in a readable storage medium, a network device or a caller device can read from the readable storage medium Taking the computer program and executing the computer program enables the network device or the calling party to implement the aforementioned point-to-point communication method between vehicles.
本申请实施例提供的车辆间的点对点通信方法、装置、系统及存储介质,主车从至少一个第一车辆处获得第一消息,该第一消息包括第一车辆的标识信息和第一车辆的位置和方位信息;接着主车基于获得的每个第一车辆的位置和方位信息,从至少一个第一车辆中确定出第二车辆,该第二车辆为主车待发送的第一信息的目标接收方。主车将第二车辆的标识信息和第一信息携带在第二消息中发送出去。第二车辆接收到主车发送的第二消息后,检测第二消息携带的第二车辆的标识信息是否与第二车辆自身的标识信息一致,若一致,则确定该第二消息是发送给第二车辆的,第二车辆从该第二消息中获得第一信息。即本申请实施例,主车确定期望通信的车辆为第二车辆,并将第二车辆的标识信息和待发送的第一信息携带在第二消息中发送给第二车辆,这样第二车辆可以根据第二消息携带的第二车辆的标识信息来获得主车发送的第一信息,而其他车辆无法获得该第二消息中的第一信息,进而实现了主车与第二车辆的点对点通信,且整个通信过程中不需要云服务器进行中转,大大降低了通信时延,提高了车辆间点对点通信的效率。According to the method, device, system and storage medium for point-to-point communication between vehicles provided by the embodiments of the present application, the host vehicle obtains a first message from at least one first vehicle, and the first message includes the identification information of the first vehicle and the information of the first vehicle. Position and orientation information; then the master vehicle determines a second vehicle from at least one first vehicle based on the acquired position and orientation information of each first vehicle, and the second vehicle is the target of the first information to be sent by the master vehicle receiver. The host vehicle carries the identification information of the second vehicle and the first information in the second message and sends it out. After the second vehicle receives the second message sent by the main vehicle, it detects whether the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself. If they are consistent, it is determined that the second message is sent to the first vehicle. For the second vehicle, the second vehicle obtains the first information from the second message. That is to say, in the embodiment of this application, the host vehicle determines that the vehicle desired to communicate is the second vehicle, and carries the identification information of the second vehicle and the first information to be sent in the second message and sends it to the second vehicle, so that the second vehicle can The first information sent by the host vehicle is obtained according to the identification information of the second vehicle carried in the second message, but other vehicles cannot obtain the first information in the second message, thereby realizing the point-to-point communication between the host vehicle and the second vehicle. In addition, there is no need for a cloud server to transfer during the entire communication process, which greatly reduces the communication delay and improves the efficiency of point-to-point communication between vehicles.
附图说明Description of the drawings
图1为本申请实施例提供的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the application;
图2为本申请实施例提供的车辆间的点对点通信方法的流程图;2 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application;
图3为本申请实施例涉及的车辆间通信示意图;FIG. 3 is a schematic diagram of inter-vehicle communication involved in an embodiment of the application;
图4为本申请实施例提供的车辆间的点对点通信方法的流程图;4 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application;
图5为本申请实施例提供的车辆间的点对点通信方法的流程图;FIG. 5 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application;
图6为本申请实施例提供的车辆间的点对点通信方法的流程图;FIG. 6 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application;
图7为主车以及第一车辆的在地心坐标系下的位置示意图;Figure 7 is a schematic diagram of the positions of the host vehicle and the first vehicle in the geocentric coordinate system;
图8为主车和第一车辆在笛卡尔直角坐标系下的位置示意图;Fig. 8 is a schematic diagram of the positions of the main vehicle and the first vehicle in a Cartesian rectangular coordinate system;
图9为本申请实施例涉及的一种方位划分示意图;FIG. 9 is a schematic diagram of an orientation division involved in an embodiment of this application;
图10为本申请实施例提供的车辆间的点对点通信方法的流程图;FIG. 10 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application;
图11为本申请实施例提供的车辆间的点对点通信方法的流程图;FIG. 11 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application;
图12为本申请实施例涉及的用户界面交互图;Figure 12 is a user interface interaction diagram involved in an embodiment of the application;
图13为本申请实施例提供的一种车载设备的结构示意图;FIG. 13 is a schematic structural diagram of a vehicle-mounted device provided by an embodiment of this application;
图14为本申请实施例提供的一种通信装置的结构示意图;FIG. 14 is a schematic structural diagram of a communication device provided by an embodiment of this application;
图15为本申请实施例提供的一种车辆间的点对点通信装置的结构示意图;15 is a schematic structural diagram of a point-to-point communication device between vehicles according to an embodiment of the application;
图16为本申请实施例提供的一种车辆间的点对点通信装置的结构示意图;FIG. 16 is a schematic structural diagram of a point-to-point communication device between vehicles according to an embodiment of the application;
图17为本申请实施例提供的一种车辆间的点对点通信装置的结构示意图;FIG. 17 is a schematic structural diagram of a point-to-point communication device between vehicles according to an embodiment of the application;
图18为本申请实施例提供的一种车载设备的结构示意图;FIG. 18 is a schematic structural diagram of a vehicle-mounted device provided by an embodiment of the application;
图19为本申请实施例提供的一种车辆的结构示意图;FIG. 19 is a schematic structural diagram of a vehicle provided by an embodiment of the application;
图20为本申请实施例提供的一种车辆间的通信系统的结构示意图。FIG. 20 is a schematic structural diagram of an inter-vehicle communication system provided by an embodiment of the application.
具体实施方式detailed description
为了便于理解本申请的实施例,首先对本申请实施例涉及到的相关概念进行如下简单介绍:In order to facilitate the understanding of the embodiments of the present application, firstly, the relevant concepts involved in the embodiments of the present application are briefly introduced as follows:
智能交通系统(Intelligent Traffic System,ITS),是运用先进的信息、通信和控制等高新技术,对传统运输系统进行改造成形成的一种信息化、智能化、社会化的新型交通运输系统。Intelligent Traffic System (ITS) is a new type of information-based, intelligent, and socialized transportation system that uses advanced information, communication, and control technologies to transform the traditional transportation system into an informationized, intelligent, and socialized transportation system.
专用短程通信(Dedicated Short Range Communication,DSRC),是一种高效的无线通信技术,它可以实现小范围图像、语音和数据的实时和可靠的双向传输,将车辆和道路有机连接,成为ITS的重要通信平台。Dedicated Short Range Communication (DSRC) is an efficient wireless communication technology that can realize real-time and reliable two-way transmission of images, voices and data in a small range, and organically connect vehicles and roads, becoming an important part of ITS Communication platform.
车载单元(On Board Unit,OBU),基于DSRC技术或LTE-V技术,按照一定的协议格式(如国标定义的BSM消息),向周边预设距离(例如300m)范围内的车辆广播车辆自身的状态信息,如车辆的ID信息、实时定位信息、运动状态信息、车身状态信息和历史路径信息等。On Board Unit (OBU), based on DSRC technology or LTE-V technology, according to a certain protocol format (such as the BSM message defined by the national standard), broadcast the vehicle's own information to vehicles within a preset distance (for example, 300m). Status information, such as vehicle ID information, real-time positioning information, motion status information, body status information, and historical route information, etc.
应理解,在本发明实施例中,“与A对应的B”表示B与A相关联。在一种实现方式中,可以根据A确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。It should be understood that in the embodiment of the present invention, "B corresponding to A" means that B is associated with A. In an implementation manner, B can be determined according to A. However, it should also be understood that determining B based on A does not mean that B is determined only based on A, and B can also be determined based on A and/or other information.
在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。In the description of this application, unless otherwise specified, "plurality" means two or more than two.
另外,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In addition, in order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same function and effect. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not limit the difference.
图1为本申请实施例提供的一种应用场景示意图,如图1所示,各车辆上安装有OBU,在一定的距离内,可以实现之间的互相通信。即一个车辆对外广播的信息,周边一定距离内的其它车辆都可以接收到。例如,车辆A对外广播的消息,车辆B和车辆C都可以接收到。FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the application. As shown in FIG. 1, each vehicle is equipped with an OBU, and mutual communication can be realized within a certain distance. That is, the information broadcasted by a vehicle can be received by other vehicles within a certain distance. For example, vehicle A and vehicle C can both receive the message broadcasted by vehicle A.
但是,目前车辆间通信需要通过云端服务器进行中转,该方式依赖车辆连接的互联网的质量,且时延较大。However, the current inter-vehicle communication needs to be transferred through a cloud server, which depends on the quality of the Internet to which the vehicle is connected, and the time delay is relatively large.
为了解决该技术问题,本申请提供一种车辆间的点对点通信方法,可以实现车辆间点对点的快速高质通信。In order to solve this technical problem, the present application provides a point-to-point communication method between vehicles, which can realize fast and high-quality point-to-point communication between vehicles.
下面结合具体的实施例对本申请提出的车辆间的点对点通信方法进行详细介绍。The following describes the point-to-point communication method between vehicles proposed in the present application in detail with reference to specific embodiments.
图2为本申请实施例提供的车辆间的点对点通信方法的流程图,如图2所示,本申请实施例的方法包括:FIG. 2 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application. As shown in FIG. 2, the method of the embodiment of the application includes:
S101、主车从至少一个第一车辆处获取第一消息。S101. The host vehicle obtains a first message from at least one first vehicle.
本申请实施例涉及的主车为期望向某一车辆发送消息的车辆,例如图3所示,假设车辆A期望向车辆B发送消息,该车辆A可以理解为主车。The host vehicle involved in the embodiment of the present application is a vehicle that expects to send a message to a certain vehicle. For example, as shown in FIG. 3, assuming that vehicle A expects to send a message to vehicle B, the vehicle A can be understood as the host vehicle.
继续参照图3所示,车辆A发送的消息车辆B、车辆C和车辆E均可以收到,同样,车辆B、车辆C和车辆E中的任一车辆发送的消息车辆A也可以收到。在此,将车辆B、车辆C和车辆E理解为第一车辆。Continuing to refer to FIG. 3, the message sent by vehicle A can be received by vehicle B, vehicle C, and vehicle E, and similarly, the message sent by any one of vehicle B, vehicle C, and vehicle E can also be received by vehicle A. Here, the vehicle B, the vehicle C, and the vehicle E are understood as the first vehicle.
可选的,上述第一车辆可以为主车周围预设范围内的车辆,例如将距离主车300m范围内的车辆作为第一车辆。Optionally, the foregoing first vehicle may be a vehicle within a preset range around the host vehicle, for example, a vehicle within a range of 300 m from the host vehicle is regarded as the first vehicle.
可选的,上述预设范围可以是以主车为圆心的圆形区域,例如以主车为圆心,300m为半径的圆形区域作为预设范围。Optionally, the aforementioned preset range may be a circular area with the host vehicle as the center, for example, a circular area with the host vehicle as the center and a radius of 300 m as the preset range.
可选的,上述预设范围还可以是矩形区域,例如为主车前后300m,左右100m的矩形区域。Optionally, the above-mentioned preset range may also be a rectangular area, for example, a rectangular area of 300 m in the front and rear of the main vehicle and 100 m in the left and right.
本申请实施例对预设范围不做限制,具体根据实际情况确定,其中该预设范围内的第一车辆可以与主车进行通信。The embodiment of the present application does not limit the preset range, which is specifically determined according to actual conditions, wherein the first vehicle within the preset range can communicate with the host vehicle.
可选的,上述第一消息为广播消息,例如第一车辆将自身的状态等以盲点监测系统(Blind spot monitoring system,BSM)消息的形式,周期性的广播出去。周边预设范围内的其它车辆,可以接收到该广播信息。Optionally, the foregoing first message is a broadcast message. For example, the first vehicle periodically broadcasts its own status in the form of a blind spot monitoring system (BSM) message. Other vehicles within the preset range around can receive the broadcast information.
示例性的,当主车接收至少一个第一车辆发送的第一消息后,可以对各第一车辆发送的第一信息进行分析处理,筛选出对主车有碰撞威胁的第一车辆车辆,并对驾驶员进行预警。Exemplarily, after the host vehicle receives the first message sent by at least one first vehicle, the first information sent by each first vehicle can be analyzed and processed, and the first vehicle that is threatening to the host vehicle can be screened out, and The driver gives an early warning.
可选的,该第一消息中还可以包括第一车辆的标识信息和第一车辆的位置和方位信息。例如,车辆B将车辆B的标识信息和车辆B当前时刻的位置和方位信息携带在第一消息中发送给周围车辆,车辆C将车辆C的标识信息和车辆C当前时刻的位置和方位信息携带在第一消息中发送给周围车辆。主车从车辆B发送的第一消息中获得车辆B的标识信息和车辆B的位置和方位信息,从车辆C发送的第一消息中获得车辆C的标识信息和车辆C的位置和方位信息。Optionally, the first message may also include identification information of the first vehicle and location and orientation information of the first vehicle. For example, vehicle B carries the identification information of vehicle B and the current position and orientation information of vehicle B in the first message and sends it to surrounding vehicles, and vehicle C carries the identification information of vehicle C and the current position and orientation information of vehicle C. Send to surrounding vehicles in the first message. The host vehicle obtains the identification information of the vehicle B and the location and orientation information of the vehicle B from the first message sent by the vehicle B, and obtains the identification information of the vehicle C and the location and orientation information of the vehicle C from the first message sent by the vehicle C.
可选的,上述车辆的标识信息为可以唯一标识车辆的信息,例如车辆的车牌号、车辆的发动机号等。Optionally, the identification information of the above-mentioned vehicle is information that can uniquely identify the vehicle, such as the license plate number of the vehicle, the engine number of the vehicle, and so on.
S102、主车基于每个所述第一车辆的位置和方位信息,从所述至少一个第一车辆中确定第二车辆。S102. The host vehicle determines a second vehicle from the at least one first vehicle based on the position and orientation information of each of the first vehicles.
其中,第二车辆为所述主车待发送的第一信息的目标接收方。Wherein, the second vehicle is the target recipient of the first information to be sent by the host vehicle.
继续参照图3所示,假设车辆A为主车,车辆B为主车待发送的第一信息的目标接收方,即主车期望将待发送的第一信息发送给车辆B,因此,该车辆B可以理解为第二车辆。Continuing to refer to Figure 3, suppose that vehicle A is the host vehicle, and vehicle B is the target recipient of the first information to be sent by the host vehicle, that is, the host vehicle expects to send the first information to be sent to vehicle B. Therefore, the vehicle B can be understood as the second vehicle.
本申请实施例的第二车辆为主车周围的至少一个第一车辆中的某一车辆。这样,主车向第二车辆发送第一信息之前,首先需要根据获得的每个第一车辆的位置和方位信息,从这至少一个第二车辆中确定出第二车辆来。例如,图3所示,主车根据每个第一车辆的位置和方位信息,确定将第一信息发送给左前方的车辆B,这样,可以确定车辆B为第二车辆。The second vehicle in the embodiment of the present application is one of at least one first vehicle around the host vehicle. In this way, before the host vehicle sends the first information to the second vehicle, it first needs to determine the second vehicle from the at least one second vehicle according to the obtained position and orientation information of each first vehicle. For example, as shown in FIG. 3, the host vehicle determines to send the first information to the vehicle B in the left front according to the position and orientation information of each first vehicle, so that it can be determined that the vehicle B is the second vehicle.
S103、主车发送第二消息。S103: The host vehicle sends a second message.
上述第二消息包括:第二车辆的标识信息和第一信息。The above-mentioned second message includes: the identification information of the second vehicle and the first information.
本申请实施例,主车从至少一个第一车辆中确定出第二车辆后,可以从该第二车辆发送的第一消息中获得该第二车辆的标识信息。主车可以将第二车辆的标识信息和待发送的 第一信息携带在第二消息中发送出去。In the embodiment of the present application, after the master vehicle determines the second vehicle from at least one first vehicle, the identification information of the second vehicle may be obtained from the first message sent by the second vehicle. The host vehicle may carry the identification information of the second vehicle and the first information to be sent in the second message and send it out.
可选的,上述第二消息为广播消息,即主车发送的第二消息除了第二车辆可以接收到外,主车周围预设范围内的其他车辆也可以接收到。Optionally, the above-mentioned second message is a broadcast message, that is, in addition to the second vehicle that can be received by the second vehicle, the second message sent by the host vehicle can also be received by other vehicles within a preset range around the host vehicle.
在一种示例中,上述第二消息还可以包括主车的标识信息,这样方便第二车辆在接收到第二消息后与主车进行点对点通信。In an example, the above-mentioned second message may also include the identification information of the host vehicle, so that it is convenient for the second vehicle to perform point-to-point communication with the host vehicle after receiving the second message.
S104、第二车辆接收第二消息,并检测所述第二消息携带的第二车辆的标识信息与第二车辆自身的标识信息是否一致。S104. The second vehicle receives the second message, and detects whether the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself.
S105、若第二车辆检测到第二消息携带的标识信息与第二车辆自身的标识信息一致,则解析所述第二消息,获得第一信息。S105. If the second vehicle detects that the identification information carried in the second message is consistent with the identification information of the second vehicle itself, it will parse the second message to obtain the first information.
本申请实施例,第二车辆在接收到该第二消息后,检测该第二消息,获得该第二消息携带的第二车辆的标识信息。将第二消息携带的第二车辆的标识信息与自身的标识信息进行比较,判断两者是否一致。若第二车辆检测到第二消息携带的第二车辆的标识信息与自身的标识信息一致,则确定该第二消息是发送给第二车辆自己的。此时,第二车辆再从该第二消息中解析出主车发送的第一信息。In the embodiment of the present application, after receiving the second message, the second vehicle detects the second message and obtains the identification information of the second vehicle carried in the second message. The identification information of the second vehicle carried in the second message is compared with its own identification information to determine whether the two are consistent. If the second vehicle detects that the identification information of the second vehicle carried in the second message is consistent with its own identification information, it is determined that the second message is sent to the second vehicle itself. At this time, the second vehicle then parses the first information sent by the host vehicle from the second message.
本申请实施例,虽然主车预设范围内除第二车辆之外的其他车辆也接收到该第二消息,但是其他车辆检测到第二消息携带的车辆的标识信息与自身的车辆标识信息不一致,即可确定该第二消息不是发生给自己的,则不会解析该第二消息携带的第一信息,进而无法实现与主车的通信。In the embodiment of this application, although other vehicles other than the second vehicle within the preset range of the host vehicle also receive the second message, other vehicles have detected that the identification information of the vehicle carried in the second message is inconsistent with its own vehicle identification information , It can be determined that the second message did not occur to oneself, the first information carried in the second message will not be parsed, and communication with the host vehicle cannot be realized.
可选的,本申请实施例中,为了方便第二车辆快速从第二消息中解析出第二车辆的标识信息,则可以将第二车辆的标识信息携带在第二消息的头部,这样,第二车辆接收到第二消息后,通过解析该第二消息的头部即可获得第二车辆的标识信息,进而提高了第二车辆的标识信息的解析速度。Optionally, in this embodiment of the present application, in order to facilitate the second vehicle to quickly parse the identification information of the second vehicle from the second message, the identification information of the second vehicle may be carried in the header of the second message. In this way, After the second vehicle receives the second message, the identification information of the second vehicle can be obtained by parsing the header of the second message, thereby improving the analysis speed of the identification information of the second vehicle.
本申请实施例,通过在第二消息中携带第二车辆的标识信息,这样第二车辆可以根据第二消息携带的第二车辆的标识信息而获得第二消息中的第一信息,实现与主车的通信。而其他车辆无法获得第二消息中的第一信息,无法实现与主车的通信。In the embodiment of the present application, the identification information of the second vehicle is carried in the second message, so that the second vehicle can obtain the first information in the second message according to the identification information of the second vehicle carried in the second message, so as to achieve communication with the host. Car communication. Other vehicles cannot obtain the first information in the second message, and cannot communicate with the host vehicle.
由此可知,本申请实施例中,在主车与第二车辆通信时,主车和第二车辆均不需要向云端服务器注册车辆信息,也不需要云端服务器进行中转,而是通过在第二消息中携带第二车辆的标识信息,主车将第二消息直接发送给第二车辆,实现主车与第二车辆的点对点直接通信,降低了主车与第二车辆互相通信对互联网的依赖,且大大降低了两车之间的通信时延,提高了车辆间点对点通信的效率。It can be seen from this that, in the embodiment of the present application, when the host vehicle communicates with the second vehicle, neither the host vehicle nor the second vehicle need to register vehicle information with the cloud server, nor do they need to transfer the cloud server, but through the second vehicle. The message carries the identification information of the second vehicle. The main vehicle directly sends the second message to the second vehicle, realizing the direct point-to-point communication between the main vehicle and the second vehicle, reducing the dependence of the main vehicle and the second vehicle on the Internet for mutual communication. And the communication delay between the two vehicles is greatly reduced, and the efficiency of point-to-point communication between vehicles is improved.
本申请实施例提供的车辆间的点对点通信方法,主车从至少一个第一车辆处获得第一消息,该第一消息包括第一车辆的标识信息和第一车辆的位置和方位信息;接着主车基于获得的每个第一车辆的位置和方位信息,从至少一个第一车辆中确定出第二车辆,该第二车辆为主车待发送的第一信息的目标接收方。主车将第二车辆的标识信息和第一信息携带在第二消息中发送出去。第二车辆接收到主车发送的第二消息后,检测第二消息携带的第二车辆的标识信息是否与第二车辆自身的标识信息一致,若一致,则确定该第二消息是发送给第二车辆的,第二车辆从该第二消息中获得第一信息。即本申请实施例,主车确定期望通信的车辆为第二车辆,并将第二车辆的标识信息和待发送的第一信息携带在第二消息中发送给第二车辆,这样第二车辆可以根据第二消息携带的第二车辆的标识信息来获得主 车发送的第一信息,而其他车辆无法获得该第二消息中的第一信息,进而实现了主车与第二车辆的点对点通信,且整个通信过程中不需要云服务器进行中转,大大降低了通信时延,提高了车辆间点对点通信的效率。In the point-to-point communication method between vehicles provided by the embodiments of the present application, the host vehicle obtains a first message from at least one first vehicle, and the first message includes the identification information of the first vehicle and the position and orientation information of the first vehicle; Based on the obtained position and orientation information of each first vehicle, the vehicle determines a second vehicle from at least one first vehicle, and the second vehicle is a target recipient of the first information to be sent by the host vehicle. The host vehicle carries the identification information of the second vehicle and the first information in the second message and sends it out. After the second vehicle receives the second message sent by the main vehicle, it detects whether the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself. If they are consistent, it is determined that the second message is sent to the first vehicle. For the second vehicle, the second vehicle obtains the first information from the second message. That is to say, in the embodiment of this application, the host vehicle determines that the vehicle desired to communicate is the second vehicle, and carries the identification information of the second vehicle and the first information to be sent in the second message and sends it to the second vehicle, so that the second vehicle can The first information sent by the host vehicle is obtained according to the identification information of the second vehicle carried in the second message, but other vehicles cannot obtain the first information in the second message, thereby realizing the point-to-point communication between the host vehicle and the second vehicle. In addition, there is no need for a cloud server to transfer during the entire communication process, which greatly reduces the communication delay and improves the efficiency of point-to-point communication between vehicles.
图4为本申请实施例提供的车辆间的点对点通信方法的流程图,在上述实施例的基础上,如图4所示,本申请实施例的方法包括:Fig. 4 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application. On the basis of the foregoing embodiment, as shown in Fig. 4, the method of the embodiment of the application includes:
S201、主车从至少一个第一车辆处获取第一消息。S201. The host vehicle obtains a first message from at least one first vehicle.
上述第一消息包括:第一车辆的标识信息和第一车辆的位置和方位信息。The above-mentioned first message includes: identification information of the first vehicle and position and orientation information of the first vehicle.
S202、基于每个所述第一车辆的位置和方位信息,主车从所述至少一个第一车辆中确定第二车辆。S202: Based on the position and orientation information of each of the first vehicles, the host vehicle determines a second vehicle from the at least one first vehicle.
上述第二车辆为所述主车待发送的第一消息的目标接收方。The aforementioned second vehicle is the target recipient of the first message to be sent by the host vehicle.
S203、主车发送第二消息。S203. The host vehicle sends a second message.
其中,第二消息包括:第二车辆的标识信息和第一信息。Wherein, the second message includes: the identification information of the second vehicle and the first information.
上述步骤S201至S203的具体实现过程参照上述S101至S103的具体描述,在此不再赘述。For the specific implementation process of the foregoing steps S201 to S203, refer to the specific description of the foregoing S101 to S103, which will not be repeated here.
S204、第二车辆接收第二消息,并检测所述第二消息携带的第二车辆的标识信息与第二车辆自身的标识信息是否一致。S204. The second vehicle receives the second message, and detects whether the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself.
S205、若第二车辆检测到所述第二消息携带的第二车辆的标识信息与第二车辆自身的标识信息一致,则解析所述第二消息,获得所述第一信息。S205: If the second vehicle detects that the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, then parse the second message to obtain the first information.
S206、若第二车辆检测到所述第二消息携带的第二车辆的标识信息与第二车辆自身的标识信息不一致,则丢弃所述第二消息。S206: If the second vehicle detects that the identification information of the second vehicle carried in the second message is inconsistent with the identification information of the second vehicle itself, discard the second message.
本申请实施例中,第二车辆在接收到该第二消息后,获得该第二消息携带的第二车辆的标识信息。将第二消息携带的第二车辆的标识信息与自身的标识信息进行比较,判断两者是否一致。若第二车辆检测到第二消息携带的第二车辆的标识信息与自身的标识信息一致,则确定该第二消息为发送给自己的,第二车辆从该第二消息中解析出主车发送的第一信息。In the embodiment of the present application, after receiving the second message, the second vehicle obtains the identification information of the second vehicle carried in the second message. The identification information of the second vehicle carried in the second message is compared with its own identification information to determine whether the two are consistent. If the second vehicle detects that the identification information of the second vehicle carried in the second message is consistent with its own identification information, it determines that the second message is sent to itself, and the second vehicle parses out the host vehicle from the second message. The first information.
若第二车辆检测到第二消息携带的第二车辆的标识信息与自身的标识信息不一致,则可以确定该第二消息不是发送给自己的,或者该第二消息被损害,此时第二车辆可以丢弃该第二消息。If the second vehicle detects that the identification information of the second vehicle carried in the second message is inconsistent with its own identification information, it can be determined that the second message is not sent to itself, or the second message is damaged, and then the second vehicle The second message can be discarded.
在一些实施例中,第二消息还包括所述主车的标识信息,在S205之后,本申请实施例还包括:In some embodiments, the second message further includes the identification information of the main vehicle. After S205, the embodiment of the present application further includes:
S207、第二车辆发送第四消息。S207. The second vehicle sends a fourth message.
其中,第四消息包括所述主车的标识信息和所述第二车辆待发送给所述主车的第二信息。Wherein, the fourth message includes identification information of the host vehicle and second information to be sent by the second vehicle to the host vehicle.
S208、主车接收到第四消息,并检测所述第四消息携带的主车的标识信息与主车自身的标识信息是否一致。S208: The host vehicle receives the fourth message, and detects whether the identification information of the host vehicle carried in the fourth message is consistent with the identification information of the host vehicle itself.
S209、若主车检测到所述第四消息携带的主车的标识信息与主车自身的标识信息一致,则解析所述第四消息,获得所述第二信息。S209: If the host vehicle detects that the identification information of the host vehicle carried in the fourth message is consistent with the identification information of the host vehicle itself, the host vehicle parses the fourth message to obtain the second information.
在本申请实施例中,第二车辆获得主车发送的第一信息和主车的标识信息后,可以向主车发送第四消息,例如,主车向第二车辆发送的第一信息为后备箱没关,第二车辆接收到第一信息后,可以向主车发送感谢等的第二信息。In the embodiment of the present application, after the second vehicle obtains the first information sent by the host vehicle and the identification information of the host vehicle, it may send a fourth message to the host vehicle. For example, the first information sent by the host vehicle to the second vehicle is backup The box is not closed, and after receiving the first message, the second vehicle can send a second message such as thanks to the main vehicle.
具体的,第二车辆发送第四消息,第二车辆周围预设区域内的车辆可以接收到该第四消息,其中第二车辆周围预设区域内的车辆包括主车。主车接收到该第四消息后,检测该第四消息携带的主车的标识信息与主车自身的标识信息一致,则确定该第四消息是发送给自己的,接着解析该第四消息,获得该第四消息携带的第二信息,实现第二车辆与主车的通信。若主车检测到该第四消息携带的主车的标识信息与主车自身的标识信息不一致,则确定该第四消息不是发送给自己的,或者该第四消息被损害,此时主车可以丢弃该第四消息。Specifically, the second vehicle sends a fourth message, and vehicles in the preset area around the second vehicle can receive the fourth message, where the vehicles in the preset area around the second vehicle include the host vehicle. After receiving the fourth message, the host vehicle detects that the identification information of the host vehicle carried in the fourth message is consistent with the identification information of the host vehicle itself, then determines that the fourth message is sent to itself, and then parses the fourth message, The second information carried in the fourth message is obtained to realize the communication between the second vehicle and the host vehicle. If the host vehicle detects that the identification information of the host vehicle carried in the fourth message is inconsistent with the identification information of the host vehicle itself, it is determined that the fourth message is not sent to itself, or the fourth message is damaged, and the host vehicle can The fourth message is discarded.
第二车辆周围预设区域内的其他车辆将第四消息携带的主车的标识信息与自身车辆的标识信息进行比较,检测到第四消息携带的主车的标识信息与自身车辆的标识信息不一致,则确定该第四消息不是发生给自己的,丢弃该第四消息。Other vehicles in the preset area around the second vehicle compare the identification information of the host vehicle carried in the fourth message with the identification information of the own vehicle, and detect that the identification information of the host vehicle carried in the fourth message is inconsistent with the identification information of the own vehicle , It is determined that the fourth message did not occur to oneself, and the fourth message is discarded.
可选的,上述第四消息还可以包括所述第二车辆的标识信息,以使主车获知该第四消息的发送方。Optionally, the foregoing fourth message may further include identification information of the second vehicle, so that the host vehicle can learn the sender of the fourth message.
本申请实施例提供的车辆间的点对点通信方法,通过在主车发送的第二消息中携带第一信息、第二车辆的标识信息和主车的标识信息,不仅实现主车向第二车辆发送第二消息,还实现第二车辆向主车发送第四消息,该第四信息包括主车的标识信息和第二车辆待发送给主车的第二信息,进而实现主车与第二车辆的点对点信息交互,整个交互过程不需要云服务器进行中转,大大降低了通信时延,提高了车辆间点对点通信的效率。The point-to-point communication method between vehicles provided by the embodiments of the present application not only realizes the sending of the host vehicle to the second vehicle by carrying the first information, the identification information of the second vehicle, and the identification information of the host vehicle in the second message sent by the host vehicle The second message also enables the second vehicle to send a fourth message to the host vehicle. The fourth information includes the identification information of the host vehicle and the second information to be sent by the second vehicle to the host vehicle, so as to realize the communication between the host vehicle and the second vehicle. Point-to-point information interaction, the entire interaction process does not require a cloud server to transfer, which greatly reduces the communication delay and improves the efficiency of point-to-point communication between vehicles.
图5为本申请实施例提供的车辆间的点对点通信方法的流程图,在上述实施例的基础上,如图5所示,本申请实施例的方法包括:Fig. 5 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application. On the basis of the foregoing embodiment, as shown in Fig. 5, the method of the embodiment of the application includes:
S301、主车从至少一个第一车辆处获取第一消息。S301. The host vehicle obtains a first message from at least one first vehicle.
其中,第一消息包括:所述第一车辆的标识信息和所述第一车辆的位置和方位信息。Wherein, the first message includes: identification information of the first vehicle and position and orientation information of the first vehicle.
上述S301与上述S101和S201的实现过程一致,参照上述描述即可,在此不再赘述。The implementation process of the above S301 is the same as the above S101 and S201, and it is sufficient to refer to the above description, which will not be repeated here.
S302、主车获取用户输入的第三消息。S302: The host vehicle obtains the third message input by the user.
其中,第三消息包括:所述第一信息和所述第二车辆的方位信息。Wherein, the third message includes: the first information and the position information of the second vehicle.
可选的,第二车辆的方位信息为所述第二车辆相对于主车的方位信息。Optionally, the position information of the second vehicle is the position information of the second vehicle relative to the host vehicle.
本申请实施例中,用户向主车输入第三消息,该第三消息包括第二车辆的方位信息。主车通过用户输入的第二车辆的方位信息来从发送第一消息的至少一个第一车辆中确定出第二车辆。In the embodiment of the present application, the user inputs a third message to the host vehicle, and the third message includes the location information of the second vehicle. The host vehicle determines the second vehicle from the at least one first vehicle that sent the first message through the location information of the second vehicle input by the user.
例如,用户输入的第三消息为:向左前方车辆发送后备箱没关的消息,主车接收到该第三消息后,可以确定第二车辆的方位信息为主车的左前方,第一信息为后备箱没关。For example, the third message input by the user is: send a message that the trunk is not closed to the front left vehicle. After receiving the third message, the host vehicle can determine the position information of the second vehicle to the front left of the host vehicle, and the first information The trunk is open.
在一种可能的实现方式中,用户以语音的方式向主车输入第三消息,具体是:主车接收用户输入的语音信息,该语音信息包括:第一信息和第二车辆的方位信息;接着,主车从该语音信息中识别出第一信息和第二车辆的方位信息,进而获得第三消息。In a possible implementation manner, the user inputs the third message to the host vehicle by voice, specifically: the host vehicle receives voice information input by the user, and the voice information includes: the first information and the location information of the second vehicle; Then, the host vehicle recognizes the first information and the location information of the second vehicle from the voice information, and then obtains the third message.
例如,主车(假设为车辆A)驾驶员希望传递信息给第二车辆(假设为车辆B)驾驶员,车辆A驾驶员对麦克风进行语音讲话输入第三消息,该第三消息包括需要传递给车辆B的信息(即第一信息)和期望该第一信息接收方车辆所在方位(即第二车辆的方位信息)。车辆A中安装的OBU对麦克风语音输入的第三消息进行录音,并将录音的第三消息传递到AI语音智能识别模块。AI语音智能识别模块从录音的第三消息中识别出第二车辆的方位信息(如左前方)和第一信息。For example, the driver of the main vehicle (assumed as vehicle A) wants to transmit information to the driver of the second vehicle (assumed as vehicle B), and the driver of vehicle A enters the third message by voice speech into the microphone, and the third message includes the need to be delivered to The information of the vehicle B (ie, the first information) and the location where the vehicle of the recipient of the first information is expected (ie, the location information of the second vehicle). The OBU installed in the vehicle A records the third message input by the microphone, and transfers the recorded third message to the AI voice intelligent recognition module. The AI voice intelligent recognition module recognizes the position information of the second vehicle (such as the front left) and the first information from the recorded third message.
S303、主车将所述第二车辆的方位信息与每个所述第一车辆的位置和方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆。S303. The host vehicle compares the position information of the second vehicle with the position and position information of each of the first vehicles, and determines the second vehicle from the at least one first vehicle.
本申请实施例中,主车获取第三消息后,获取该第三消息携带的第二车辆的方位信息,并将第三消息携带的第二车辆的方位信息与上述S301中获得各第一消息所携带的第一车辆的方位信息进行比较,以从至少一个第一车辆中确定出第二车辆。In the embodiment of the present application, after the main vehicle obtains the third message, it obtains the position information of the second vehicle carried in the third message, and combines the position information of the second vehicle carried in the third message with each of the first messages obtained in S301. The carried position information of the first vehicle is compared to determine the second vehicle from the at least one first vehicle.
在一种可能的实现方式中,如图6所示,上述S303可以包括以下S3031至S3032的步骤:In a possible implementation manner, as shown in FIG. 6, the foregoing S303 may include the following steps S3031 to S3032:
S3031、主车基于每个所述第一车辆的位置信息和所述主车的位置信息,确定每个所述第一车辆相对于所述主车的方位信息。S3031. The host vehicle determines the position information of each first vehicle relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle.
可选的,主车的位置信息包括主车的航向角和位置坐标,第一车辆的位置信息包括第一车辆的航向角和位置坐标。这样可以将每一个第一车辆的航向角和位置坐标与主车的航向角和位置坐标进行比较,确定出每个第一车辆相对于主车的方位信息。Optionally, the location information of the host vehicle includes the heading angle and location coordinates of the host vehicle, and the location information of the first vehicle includes the heading angle and location coordinates of the first vehicle. In this way, the heading angle and position coordinates of each first vehicle can be compared with the heading angle and position coordinates of the host vehicle to determine the orientation information of each first vehicle relative to the host vehicle.
在一种可能的实现方式中,上述S3031包括:以所述主车为中心,以主车的航向角方向为x轴方向,建立直角坐标系;将每个所述第一车辆的位置坐标和主车的位置坐标转换至所述直角坐标系下;根据每个所述第一车辆和所述主车在所述直角坐标系下的位置坐标,确定每个所述第一车辆相对于所述主车的方位信息。In a possible implementation manner, the above-mentioned S3031 includes: taking the host vehicle as the center and taking the heading angle direction of the host vehicle as the x-axis direction to establish a rectangular coordinate system; The position coordinates of the main vehicle are converted to the rectangular coordinate system; according to the position coordinates of each of the first vehicles and the main vehicle in the rectangular coordinate system, it is determined that each of the first vehicles is relative to the The location information of the host vehicle.
具体的,参照图7和图8所示,图7为主车以及第一车辆的在地心坐标系(World Geodetic System一1984 Coordinate System,WGS84)下的位置示意图,图8为主车和第一车辆在笛卡尔直角坐标系下的位置示意图。为了便于确定各第一车辆相对于主车的方位信息,则将主车的位置信息作为坐标原点,即以主车为中心,以主车的航向角方向为x轴方向,以主车横向左侧为y轴正向,将各第一车辆和主车的全球导航卫星系统(Global Navigation Satellite System,GNSS)位置信息进行坐标系转换,转换为直角坐标系下,获取到各第一车辆相对原点(即主车)的(x,y)坐标值,进而获得各第一车辆相当于主车的方位信息。Specifically, referring to Figures 7 and 8, Figure 7 is a schematic diagram of the position of the main vehicle and the first vehicle in the geocentric coordinate system (World Geodetic System-1984 Coordinate System, WGS84), and Figure 8 is the main vehicle and the first vehicle. A schematic diagram of the position of a vehicle in a Cartesian coordinate system. In order to determine the position information of each first vehicle relative to the main vehicle, the position information of the main vehicle is taken as the origin of the coordinates, that is, the main vehicle is the center, the heading angle direction of the main vehicle is the x-axis direction, and the main vehicle is horizontally left. The side is the positive direction of the y-axis, and the position information of the Global Navigation Satellite System (GNSS) of each first vehicle and the host vehicle is converted into a rectangular coordinate system to obtain the relative origin of each first vehicle. (Ie, the host vehicle) (x, y) coordinate values, and then obtain the position information of each first vehicle equivalent to the host vehicle.
在一种示例中,上述根据每个所述第一车辆和所述主车在所述直角坐标系下的位置坐标,确定每个所述第一车辆相对于所述主车的方位信息,可以包括步骤A:In an example, the position information of each first vehicle relative to the host vehicle is determined according to the position coordinates of each first vehicle and the host vehicle in the Cartesian coordinate system. Including step A:
步骤A、主车根据每个第一车辆和主车在所述直角坐标系下的位置坐标,以主车为中心,按照九宫格的方式对第一车辆和所述主车进行区域划分,确定每个第一车辆相对于主车的方位信息。Step A. According to the position coordinates of each first vehicle and the main vehicle in the Cartesian coordinate system, the main vehicle is centered on the main vehicle, and the first vehicle and the main vehicle are divided into regions in a nine-square grid to determine each The position information of the first vehicle relative to the host vehicle.
具体的,参照图9所示,图9为本申请实施例涉及的一种方位划分示意图,图9所示的主车和第一车辆的位置坐标均为在直角坐标下的坐标,以主车为中心,采用按照九宫格的方式对第一车辆和所述主车进行区域划分,可以获得每个第一车辆相对于主车的方位信息。Specifically, referring to FIG. 9, FIG. 9 is a schematic diagram of an orientation division according to an embodiment of the application. The position coordinates of the main vehicle and the first vehicle shown in FIG. 9 are all coordinates in rectangular coordinates, and the main vehicle As the center, the first vehicle and the main vehicle are divided into regions according to the nine-square grid, and the position information of each first vehicle relative to the main vehicle can be obtained.
例如,如图9所示,其中RV表示第一车辆,HV表示主车,车辆RV1位于主车的左前方,车辆RV2位于主车的正前方,车辆RV3位于主车的正左方,车辆RV4位于主车的正右方,车辆RV5位于主车的左后方,车辆RV7位于主车的正后方,车辆RV8位于主车的右后方。For example, as shown in Figure 9, where RV represents the first vehicle, HV represents the main vehicle, vehicle RV1 is located at the front left of the main vehicle, vehicle RV2 is located directly in front of the main vehicle, vehicle RV3 is located at the front left of the main vehicle, and vehicle RV4 It is located directly on the right of the main vehicle, vehicle RV5 is located on the left rear of the main vehicle, vehicle RV7 is located directly behind the main vehicle, and vehicle RV8 is located on the right rear of the main vehicle.
可选的,在本申请实施例中还可以使用时钟方向来表示车辆的方位信息,例如,正前方可以使用12点钟方向表示,正左方可以使用9点钟方向表示,正右方可以使用3点钟方向表示,正后方可以使用6点钟方向表示。Optionally, in the embodiment of the present application, the clock direction can also be used to indicate the orientation information of the vehicle. For example, the front can be indicated by the 12 o'clock direction, the front left can be indicated by the 9 o'clock direction, and the front right can be used. The 3 o'clock direction is displayed, and the 6 o'clock direction can be used directly behind.
S3032、主车将所述第二车辆的方位信息与每个所述第一车辆相对于所述主车的方位 信息进行比较,从所述至少一个第一车辆中确定所述第二车辆。S3032. The host vehicle compares the location information of the second vehicle with the location information of each of the first vehicles relative to the host vehicle, and determines the second vehicle from the at least one first vehicle.
在本申请实施例中,主车基于每个第一车辆的位置信息和主车的位置信息,确定每个第一车辆相对于主车的方位信息。接着,主车将上述第三消息携带的第二车辆的方位信息与每个第一车辆相对于主车的方位信息进行比较,从至少一个第一车辆中确定出第二车辆。例如,将第二车辆的方位信息与每个第一车辆相对于主车的方位信息进行比较,从至少一个第一车辆中确定出方位信息与第二车辆的方位信息一致的第一车辆作为第二车辆。In the embodiment of the present application, the host vehicle determines the position information of each first vehicle relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle. Then, the host vehicle compares the location information of the second vehicle carried in the third message with the location information of each first vehicle relative to the host vehicle, and determines the second vehicle from the at least one first vehicle. For example, the position information of the second vehicle is compared with the position information of each first vehicle relative to the host vehicle, and the first vehicle whose position information is consistent with the position information of the second vehicle is determined from at least one of the first vehicles as the first vehicle. Two vehicles.
可选的,在一种实现方式中,上述S3032可以是:主车将第二车辆的方位信息与每个第一车辆相对于主车的方位信息进行比较,从至少一个第一车辆中确定出方位信息与第二车辆的方位信息一致的至少一个第三车辆;接着,根据每个第三车辆和主车在直角坐标系下的位置坐标,确定每个第三车辆与主车的距离;将至少一个第三车辆中与主车距离最小的第三车辆确定为第二车辆。Optionally, in an implementation manner, the foregoing S3032 may be: the host vehicle compares the location information of the second vehicle with the location information of each first vehicle relative to the host vehicle, and determines from at least one first vehicle At least one third vehicle whose position information is consistent with the position information of the second vehicle; then, according to the position coordinates of each third vehicle and the main vehicle in the Cartesian coordinate system, determine the distance between each third vehicle and the main vehicle; The third vehicle with the smallest distance from the host vehicle among the at least one third vehicle is determined to be the second vehicle.
本申请实施例,基于上述S3031和S3032的步骤,主车从至少一个第一车辆中确定出第二车辆。In this embodiment of the present application, based on the steps of S3031 and S3032, the master vehicle determines the second vehicle from the at least one first vehicle.
S304、主车发送第二消息。S304. The host vehicle sends a second message.
根据上述S301至S303的步骤,主车从至少一个第一车辆中确定出第二车辆,进而主车可以从第二车辆发送的第一消息中,获得第二车辆的标识信息。接着,主车将第二车辆的标识信息以及待发送给第二车辆的第一信息携带在第二消息中进行发送。According to the above steps S301 to S303, the host vehicle determines the second vehicle from at least one first vehicle, and then the host vehicle can obtain the identification information of the second vehicle from the first message sent by the second vehicle. Then, the host vehicle carries the identification information of the second vehicle and the first information to be sent to the second vehicle in a second message for transmission.
S305、第二车辆接收第二消息,并检测所述第二消息携带的第二车辆的标识信息与第二车辆自身的标识信息是否一致。S305. The second vehicle receives the second message, and detects whether the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself.
S306、若第二车辆检测到所述第二消息携带的第二车辆的标识信息与第二车辆自身的标识信息一致,则解析所述第二消息,获得所述第一信息。S306: If the second vehicle detects that the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, then parse the second message to obtain the first information.
上述S304至S306步骤的具体实现过程参照上述S103至S105步骤的具体描述,在此不再赘述。For the specific implementation process of the above steps S304 to S306, refer to the specific description of the above steps S103 to S105, which will not be repeated here.
本申请实施例提供的车辆间的点对点通信方法,主车获取用户输入第三消息,该第三消息包括第二车辆的方位信息和待发送的第一信息,主车将第三消息携带的第二车辆的方位信息与所述至少一个第一车辆的位置和方位信息进行比较,从所述至少一个第一车辆中确定第二车辆;接着,主车将第二车辆的标识信息和第一信息携带在第二消息中发送给第二车辆,以使第二车辆在检测到第二消息携带的标识信息与第二车辆自身的标识信息一致时,解析第二消息,获得第二消息携带的第一信息,实现主车与第二车辆的点对点通信。In the point-to-point communication method between vehicles provided in the embodiments of the present application, the host vehicle obtains a third message input by the user. The third message includes the location information of the second vehicle and the first information to be sent. The location information of the second vehicle is compared with the location and location information of the at least one first vehicle, and the second vehicle is determined from the at least one first vehicle; then, the host vehicle compares the identification information of the second vehicle with the first information It is carried in the second message and sent to the second vehicle, so that when the second vehicle detects that the identification information carried in the second message is consistent with the identification information of the second vehicle itself, it parses the second message to obtain the first message carried in the second message. One information to realize the point-to-point communication between the main vehicle and the second vehicle.
图10为本申请实施例提供的车辆间的点对点通信方法的流程图,在上述实施例的基础上,如图10所示,本申请实施例的方法包括:FIG. 10 is a flowchart of a point-to-point communication method between vehicles provided by an embodiment of the application. Based on the foregoing embodiment, as shown in FIG. 10, the method of the embodiment of the application includes:
S401、主车从至少一个第一车辆处获取第一消息。S401. The host vehicle obtains a first message from at least one first vehicle.
其中,第一消息包括:第一车辆的标识信息和第一车辆的位置和方位信息。Wherein, the first message includes: identification information of the first vehicle and location and orientation information of the first vehicle.
S402、主车基于每个所述第一车辆的位置信息和所述主车的位置信息,确定每个所述第一车辆相对于所述主车的方位信息。S402: The host vehicle determines the position information of each first vehicle relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle.
上述S402步骤的具体实现过程参照上述S3031步骤的具体描述,在此不再赘述。For the specific implementation process of the above step S402, refer to the specific description of the above step S3031, which will not be repeated here.
S403、主车根据每个所述第一车辆相对于所述主车的方位信息,从所述至少一个第一车辆中确定第二车辆。S403. The host vehicle determines a second vehicle from the at least one first vehicle according to the position information of each of the first vehicles relative to the host vehicle.
在本申请实施例中,主车获得每个第一车辆相对于主车的方位信息后,可以根据每个 第一车辆相对于主车的方位信息,从至少一个第一车辆中选择一个第一车辆作为第二车辆。In the embodiment of the present application, after the host vehicle obtains the orientation information of each first vehicle relative to the host vehicle, it can select a first vehicle from at least one first vehicle according to the location information of each first vehicle relative to the host vehicle. The vehicle serves as the second vehicle.
在一种示例中,主车通过车载摄像头拍摄主车周围的环境,获得道路图像,该道路图中包括主车周围的至少一个第一车辆。主车识别拍摄的道路图像,从该道路图像中识别出需要发送第一信息的车辆的方位信息,进而将识别出的车辆的方位信息与上述步骤S402确定的每个第一车辆相对于主车的方位信息进行比较,从至少一个车辆中确定出与识别出的车辆的方位信息匹配的第一车辆,将该第一车辆作为第二车辆。例如,主车识别拍摄的道路图像,识别出道路图像中主车左上方的车辆的后备箱未关,这样,主车可以从每个第一车辆相对于主车的方位信息中获得与左上方匹配的第一车辆,将该匹配出的第一车辆作为第二车辆。In an example, the host vehicle captures the environment around the host vehicle through a vehicle-mounted camera to obtain a road image, and the road map includes at least one first vehicle around the host vehicle. The host vehicle recognizes the captured road image, identifies the orientation information of the vehicle that needs to send the first information from the road image, and then compares the orientation information of the identified vehicle with each first vehicle determined in step S402 relative to the host vehicle. The position information of the vehicle is compared, and the first vehicle matching the position information of the recognized vehicle is determined from at least one vehicle, and the first vehicle is regarded as the second vehicle. For example, the main vehicle recognizes the captured road image and recognizes that the trunk of the upper left vehicle of the main vehicle in the road image is not closed. In this way, the main vehicle can obtain the position information of each first vehicle relative to the main vehicle and the upper left For the matched first vehicle, use the matched first vehicle as the second vehicle.
在另一种示例中,如图11所示,上述S403可以包括S4031至S4033的步骤:In another example, as shown in FIG. 11, the above S403 may include the steps of S4031 to S4033:
S4031、主车显示每个所述第一车辆相对于主车的方位信息。S4031. The host vehicle displays the position information of each of the first vehicles relative to the host vehicle.
本申请实施例的主车包括至少一个显示装置,在该显示装置绘制并显示上述步骤S402确定的每个第一车辆相对于主车的方位信息,如图12所示,其中HV表示主车,RV表示主车周围预设范围内的第一车辆。The main vehicle in the embodiment of the present application includes at least one display device, on which the position information of each first vehicle determined in step S402 relative to the main vehicle is drawn and displayed, as shown in FIG. 12, where HV represents the main vehicle, RV represents the first vehicle within a preset range around the host vehicle.
S4032、主车检测到用户在显示的每个第一车辆相对于主车的方位信息上的选择操作。S4032. The host vehicle detects the user's selection operation on the displayed orientation information of each first vehicle relative to the host vehicle.
S4033、主车响应于所述选择操作,从至少一个第一车辆中确定第二车辆。S4033. In response to the selection operation, the host vehicle determines a second vehicle from the at least one first vehicle.
主车向用户显示如图12所示的每个第一车辆相对于主车的方位信息,用户在显示的每个第一车辆相对于主车的方位信息上进行选择操作。主车检测到用户在显示的每个第一车辆相对于主车的方位信息上的选择操作,响应于该选择操作,从至少一个第一车辆中确定第二车辆。如图12所示,用户点击RV1车辆,主车检测到用户点击RV1车辆时,可以确定RV1车辆为用户选中的第二车辆。The host vehicle displays the location information of each first vehicle relative to the host vehicle as shown in FIG. 12 to the user, and the user performs a selection operation on the displayed location information of each first vehicle relative to the host vehicle. The host vehicle detects the user's selection operation on the displayed orientation information of each first vehicle relative to the host vehicle, and in response to the selection operation, determines the second vehicle from the at least one first vehicle. As shown in Figure 12, the user clicks on the RV1 vehicle, and when the host vehicle detects that the user clicks on the RV1 vehicle, it can determine that the RV1 vehicle is the second vehicle selected by the user.
可选的,在用户点击RV1车辆后,如图12所示,还可以弹出菜单,显示用户以何种方式输入第二消息,输入方式包括:发送文本消息和发送语音消息。可选的,该菜单还可以显示其他的信息,例如显示选中的第二车辆的标识信息等。用户选择输入第二消息的方式为发送文本消息时,可以弹出文本框,用户可以在该文本框中输入待发送的第一信息和第二车辆的标识信息。若用户选择输入第二消息的方式为发送语音消息,则主车开启麦克风,对用户输入的语音消息进行录音,该语音消息中包括待发送的第一信息和第二车辆的标识信息。Optionally, after the user clicks on the RV1 vehicle, as shown in FIG. 12, a menu may also pop up to show how the user enters the second message. The input methods include sending a text message and sending a voice message. Optionally, the menu may also display other information, for example, display the identification information of the selected second vehicle. When the user chooses to input the second message by sending a text message, a text box can be popped up, and the user can input the first information to be sent and the identification information of the second vehicle in the text box. If the user chooses to input the second message by sending a voice message, the host vehicle turns on the microphone and records the voice message input by the user. The voice message includes the first information to be sent and the identification information of the second vehicle.
可选的,在形成上述第二消息时,第二车辆的标识信息不需要用户输入,主车可以自动添加。Optionally, when forming the above-mentioned second message, the identification information of the second vehicle does not need to be input by the user, and the main vehicle can be automatically added.
在本申请实施例的一种可能的实现方式中,主车可以将上述S402确定的每个第一车辆相对于主车的方位信息发送给用户终端设备,用户终端设备绘制并显示每个第一车辆相对于主车的方位信息。用户在该用户终端设备上选择第二车辆,以及输入第二消息的方式。用户终端设备将用户在终端设备选择的第二车辆的标识信息以及输入第二消息的方式发送给主车。主车根据用户选择的第二消息的输入方式显示文本框或开启麦克风,接收用户输入的第一信息和第二车辆的标识信息,进而形成第二消息。In a possible implementation manner of the embodiment of the present application, the host vehicle may send the position information of each first vehicle relative to the host vehicle determined in S402 to the user terminal device, and the user terminal device draws and displays each first vehicle. The position information of the vehicle relative to the host vehicle. The user selects the second vehicle on the user terminal device and enters the second message. The user terminal device sends the identification information of the second vehicle selected by the user on the terminal device and the manner of inputting the second message to the host vehicle. The main vehicle displays the text box or turns on the microphone according to the input mode of the second message selected by the user, receives the first information input by the user and the identification information of the second vehicle, and then forms the second message.
S404、主车发送第二消息。S404: The host vehicle sends a second message.
S405、第二车辆接收第二消息,并检测所述第二消息携带的第二车辆的标识信息与第二车辆自身的标识信息是否一致。S405. The second vehicle receives the second message, and detects whether the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself.
S406、若第二车辆检测到所述第二消息携带的第二车辆的标识信息与第二车辆自身的标识信息一致,则解析所述第二消息,获得所述第一信息。S406: If the second vehicle detects that the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, the second vehicle is parsed to obtain the first information.
上述S404至S406步骤的具体实现过程参照上述S103至S105步骤的具体描述,在此不再赘述。For the specific implementation process of the above steps S404 to S406, refer to the specific description of the above steps S103 to S105, which will not be repeated here.
本申请实施例提供的车辆间的点对点通信方法,主车基于每个所述第一车辆的位置信息和所述主车的位置信息,确定每个所述第一车辆相对于所述主车的方位信息;根据每个所述第一车辆相对于所述主车的方位信息,从至少一个第一车辆中确定第二车辆,例如根据每个所述第一车辆相对于所述主车的方位信息和用户对第二车辆的选择操作,从至少一个第一车辆中确定第二车辆。接着,主车将第二车辆的标识信息和第一信息携带在第二消息中发送给第二车辆,以使第二车辆在检测到第二消息携带的标识信息与第二车辆自身的标识信息一致时,解析第二消息,获得第二消息携带的第一信息,实现主车与第二车辆的点对点通信。In the point-to-point communication method between vehicles provided by the embodiments of the present application, the host vehicle determines the position of each first vehicle relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle. Position information; determine the second vehicle from at least one first vehicle according to the position information of each of the first vehicles relative to the main vehicle, for example, according to the position of each of the first vehicles relative to the main vehicle The information and the user's selection operation of the second vehicle determine the second vehicle from the at least one first vehicle. Then, the host vehicle carries the identification information of the second vehicle and the first information in a second message and sends it to the second vehicle, so that the second vehicle detects that the identification information carried in the second message is the same as the identification information of the second vehicle itself. When they are consistent, the second message is parsed to obtain the first information carried in the second message, so as to realize the point-to-point communication between the main vehicle and the second vehicle.
上述实施例均是针对一个车辆与一个车辆的点对点通信进行描述,即主车发送的第二消息携带的第二车辆的标识信息为一个车辆的标识信息。The foregoing embodiments all describe the point-to-point communication between one vehicle and one vehicle, that is, the identification information of the second vehicle carried in the second message sent by the host vehicle is the identification information of one vehicle.
可选的,在一些实施例中,主车还可以同时向多个车辆发送第一信息,此时,上述第二消息可以包括多个车辆的标识信息,例如,车辆A发现车辆B和车辆C的后备箱均未关时,车辆A可以同时向车辆B和车辆C发送第二消息,此时第二消息携带车辆B的标识信息、车辆C的标识信息以及第一信息。Optionally, in some embodiments, the host vehicle may also send the first information to multiple vehicles at the same time. In this case, the above-mentioned second message may include identification information of multiple vehicles. For example, vehicle A finds vehicle B and vehicle C. When none of the trunks of vehicle A are closed, vehicle A can send a second message to vehicle B and vehicle C at the same time. At this time, the second message carries the identification information of vehicle B, the identification information of vehicle C, and the first information.
即本申请实施例的方法,还可以实现车辆间点对多点的通信。That is, the method of the embodiment of the present application can also realize point-to-multipoint communication between vehicles.
图13为本申请实施例提供的一种车载设备的结构示意图。如图13所示,本实施例所述的车载设备500可以是前述方法实施例中提到的主车上的车载单元(或者可用于主车的车载单元的部件)或者第一车辆上的车载单元(或者可用于第一车辆的车载单元的部件)。车载设备可用于实现上述方法实施例中描述的对应于主车或者第二车辆的方法,具体参见上述方法实施例中的说明。FIG. 13 is a schematic structural diagram of a vehicle-mounted device provided by an embodiment of the application. As shown in FIG. 13, the vehicle-mounted device 500 in this embodiment may be the vehicle-mounted unit on the main vehicle (or a component that can be used for the vehicle-mounted unit of the main vehicle) mentioned in the foregoing method embodiment or the vehicle-mounted device on the first vehicle. Unit (or a component that can be used in the on-board unit of the first vehicle). The in-vehicle device can be used to implement the method corresponding to the main vehicle or the second vehicle described in the foregoing method embodiment. For details, refer to the description in the foregoing method embodiment.
所述车载设备500可以包括一个或多个处理器501,所述处理器501也可以称为处理单元,可以实现一定的控制或者处理功能。所述处理器501可以是通用处理器或者专用处理器等。例如可以是基带处理器、或中央处理器。基带处理器可以用于对通信协议以及通信数据进行处理,中央处理器可以用于对车载设备进行控制,执行软件程序,处理软件程序的数据。The in-vehicle device 500 may include one or more processors 501, and the processor 501 may also be referred to as a processing unit, which may implement certain control or processing functions. The processor 501 may be a general-purpose processor or a special-purpose processor. For example, it can be a baseband processor or a central processing unit. The baseband processor can be used to process the communication protocol and communication data, and the central processor can be used to control the on-board equipment, execute the software program, and process the data of the software program.
在一种可能的设计中,处理器501也可以存有指令503或者数据(例如中间数据)。其中,所述指令503可以被所述处理器运行,使得所述车载设备500执行上述方法实施例中描述的对应于主车或者第二车辆的方法。In a possible design, the processor 501 may also store instructions 503 or data (for example, intermediate data). The instruction 503 may be executed by the processor, so that the in-vehicle device 500 executes the method corresponding to the main vehicle or the second vehicle described in the foregoing method embodiment.
在又一种可能的设计中,车载设备500可以包括电路,所述电路可以实现前述方法实施例中发送或接收或者通信的功能。In yet another possible design, the vehicle-mounted device 500 may include a circuit, and the circuit may implement the sending or receiving or communication function in the foregoing method embodiment.
可选的,所述车载设备500中可以包括一个或多个存储器502,其上可以存有指令504,所述指令可在所述处理器上被运行,使得所述车载设备500执行上述方法实施例中描述的方法。Optionally, the in-vehicle device 500 may include one or more memories 502, on which instructions 504 may be stored, and the instructions may be executed on the processor, so that the in-vehicle device 500 executes the foregoing method implementation The method described in the example.
可选的,处理器501和存储器502可以单独设置,也可以集成在一起。Optionally, the processor 501 and the memory 502 can be provided separately or integrated together.
可选的,所述车载设备500还可以包括收发器505和/或天线506。所述处理器501可 以称为处理单元,对车载设备进行控制。所述收发器505可以称为收发单元、收发机、收发电路、或者收发器等,用于实现车载设备的收发功能。Optionally, the vehicle-mounted device 500 may further include a transceiver 505 and/or an antenna 506. The processor 501 may be referred to as a processing unit, which controls the vehicle-mounted equipment. The transceiver 505 may be called a transceiver unit, a transceiver, a transceiver circuit, or a transceiver, etc., and is used to implement the transceiver function of the vehicle-mounted device.
在一个设计中,若该车载设备500用于实现对应于上述各实施例中主车的操作时,例如,可以由收发器505从至少一个第一车辆处获取第一消息,所述第一消息包括:所述第一车辆的标识信息和所述第一车辆的位置和方位信息;由处理器501基于每个所述第一车辆的位置和方位信息,从所述至少一个第一车辆中确定第二车辆,所述第二车辆为所述主车待发送的第一消息的目标接收方;由收发器505发送第二消息,所述第二消息包括:所述第二车辆的标识信息和所述第一信息。In one design, if the in-vehicle device 500 is used to implement operations corresponding to the main vehicle in the foregoing embodiments, for example, the transceiver 505 may obtain the first message from at least one first vehicle. Including: the identification information of the first vehicle and the position and orientation information of the first vehicle; the processor 501 determines from the at least one first vehicle based on the position and orientation information of each of the first vehicles The second vehicle, the second vehicle is the target recipient of the first message to be sent by the host vehicle; a second message is sent by the transceiver 505, and the second message includes: the identification information of the second vehicle and The first information.
其中,上述收发器505与处理器501的具体实现过程可以参见上述各实施例的相关描述,此处不再赘述。For the specific implementation process of the foregoing transceiver 505 and the processor 501, reference may be made to the relevant descriptions of the foregoing embodiments, and details are not described herein again.
另一个设计中,若该车载设备用于实现对应于上述各实施例中第二车辆的操作时,例如可以由收发器505接收第二消息,所述第二消息包括:第二车辆的标识信息和第一信息;由处理器501检测到所述第二消息携带的第二车辆的标识信息与所述第二车辆自身的标识信息一致,则解析所述第二消息,获得所述待发送消息。In another design, if the in-vehicle device is used to implement operations corresponding to the second vehicle in the foregoing embodiments, for example, the transceiver 505 may receive a second message, the second message including: identification information of the second vehicle And the first information; the processor 501 detects that the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, then the second message is parsed to obtain the message to be sent .
其中,上述收发器505与处理器501的具体实现过程可以参见上述各实施例的相关描述,此处不再赘述。For the specific implementation process of the foregoing transceiver 505 and the processor 501, reference may be made to the relevant descriptions of the foregoing embodiments, and details are not described herein again.
本申请中描述的处理器501和收发器505可实现在集成电路(integrated circuit,IC)、模拟IC、射频集成电路(radio frequency integrated circuit,RFIC)、混合信号IC、专用集成电路(application specific integrated circuit,ASIC)、印刷电路板(printed circuit board,PCB)、电子设备等上。该处理器501和收发器505也可以用各种1C工艺技术来制造,例如互补金属氧化物半导体(complementary metal oxide semiconductor,CMOS)、N型金属氧化物半导体(nMetal-oxide-semiconductor,NMOS)、P型金属氧化物半导体(positive channel metal oxide semiconductor,PMOS)、双极结型晶体管(Bipolar Junction Transistor,BJT)、双极CMOS(BiCMOS)、硅锗(SiGe)、砷化镓(GaAs)等。The processor 501 and the transceiver 505 described in this application can be implemented in integrated circuits (IC), analog ICs, radio frequency integrated circuits (RFICs), mixed signal ICs, and application specific integrated circuits (application specific integrated circuits). circuit, ASIC), printed circuit board (PCB), electronic equipment, etc. The processor 501 and the transceiver 505 can also be manufactured using various 1C process technologies, such as complementary metal oxide semiconductor (CMOS), nMetal-oxide-semiconductor (NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
虽然在以上的实施例描述中,车载设备500以主车或者第一车辆为例来描述,但本申请中描述的车载设备的范围并不限于上述主车或上述第一车辆,而且车载设备的结构可以不受图13的限制。Although in the above description of the embodiment, the vehicle-mounted device 500 is described by taking the main vehicle or the first vehicle as an example, the scope of the vehicle-mounted device described in this application is not limited to the foregoing main vehicle or the foregoing first vehicle. The structure may not be limited by FIG. 13.
本申请实施例的车载设备,可以用于执行上述各方法实施例中主车(或第一车辆)的技术方案,其实现原理和技术效果类似,此处不再赘述。The in-vehicle device of the embodiment of the present application can be used to implement the technical solutions of the main vehicle (or the first vehicle) in the foregoing method embodiments, and the implementation principles and technical effects are similar, and will not be repeated here.
图14为本申请实施例提供的一种通信装置的结构示意图。该通信装置700以芯片的产品形态存在,该通信装置的结构中包括处理器701和存储器702,该存储器702用于与处理器701耦合,该存储器702上保存该通信装置必要的程序指令和数据,该处理器701用于执行存储器702中存储的程序指令,使得该通信装置执行上述方法实施例中主车或第二车辆的功能。FIG. 14 is a schematic structural diagram of a communication device provided by an embodiment of the application. The communication device 700 exists in the form of a chip product. The structure of the communication device includes a processor 701 and a memory 702. The memory 702 is used for coupling with the processor 701. The memory 702 stores program instructions and data necessary for the communication device. The processor 701 is configured to execute program instructions stored in the memory 702, so that the communication device executes the functions of the main vehicle or the second vehicle in the foregoing method embodiment.
本申请实施例的通信装置,可以用于执行上述各方法实施例中主车或第二车辆的技术方案,其实现原理和技术效果类似,此处不再赘述。The communication device of the embodiment of the present application may be used to execute the technical solutions of the main vehicle or the second vehicle in the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
图15为本申请实施例提供的一种车辆间的点对点通信装置的结构示意图。该车辆间的点对点通信装置应用于主车,可以是主车上的车载单元,也可以是主车的车载单元的部件(例如,集成电路,芯片等等),如图15所示,该车辆间的点对点通信装置800可以 包括:FIG. 15 is a schematic structural diagram of a point-to-point communication device between vehicles according to an embodiment of the application. This inter-vehicle point-to-point communication device is applied to the host vehicle. It can be an on-board unit on the host vehicle, or a component of the on-board unit of the host vehicle (for example, integrated circuits, chips, etc.). As shown in Figure 15, the vehicle The inter-point-to-point communication device 800 may include:
接收单元801,用于从至少一个第一车辆处获取第一消息,所述第一消息包括:所述第一车辆的标识信息和所述第一车辆的位置和方位信息;The receiving unit 801 is configured to obtain a first message from at least one first vehicle, the first message including: identification information of the first vehicle and position and orientation information of the first vehicle;
处理单元802,用于基于每个所述第一车辆的位置和方位信息,从所述至少一个第一车辆中确定第二车辆,所述第二车辆为所述主车待发送的第一消息的目标接收方;The processing unit 802 is configured to determine a second vehicle from the at least one first vehicle based on the position and orientation information of each of the first vehicles, where the second vehicle is the first message to be sent by the main vehicle The target recipient;
发送单元803,用于发送第二消息,所述第二消息包括:所述第二车辆的标识信息和所述第一信息。The sending unit 803 is configured to send a second message, where the second message includes: identification information of the second vehicle and the first information.
在一种可能的实现方式中,所述处理单元802,具体用于获取用户输入的第三消息,所述第三消息包括:所述第一信息和所述第二车辆的方位信息;将所述第二车辆的方位信息与每个所述第一车辆的位置和方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆。In a possible implementation, the processing unit 802 is specifically configured to obtain a third message input by the user, where the third message includes: the first information and the position information of the second vehicle; The position information of the second vehicle is compared with the position and position information of each of the first vehicles, and the second vehicle is determined from the at least one first vehicle.
可选的,所述第二车辆的方位信息为所述第二车辆相对于主车的方位信息。Optionally, the position information of the second vehicle is the position information of the second vehicle relative to the host vehicle.
在一种可能的实现方式中,所述处理单元802,具体用于基于每个所述第一车辆的位置信息和所述主车的位置信息,确定每个所述第一车辆相对于所述主车的方位信息;将所述第二车辆的方位信息与每个所述第一车辆相对于所述主车的方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆。In a possible implementation manner, the processing unit 802 is specifically configured to determine that each first vehicle is relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle. Position information of the host vehicle; compare the position information of the second vehicle with the position information of each of the first vehicles relative to the host vehicle, and determine the second vehicle from the at least one first vehicle .
在一种可能的实现方式中,所述处理单元802,具体用于将所述第二车辆的方位信息与每个所述第一车辆相对于所述主车的方位信息进行比较,从所述至少一个第一车辆中确定出与所述第二车辆的方位信息一致的至少一个第三车辆;将所述至少一个第三车辆中与所述主车的距离最小的第三车辆确定为所述第二车辆。In a possible implementation manner, the processing unit 802 is specifically configured to compare the orientation information of the second vehicle with the orientation information of each of the first vehicles relative to the host vehicle, from the Determine at least one third vehicle consistent with the orientation information of the second vehicle among at least one first vehicle; determine the third vehicle with the smallest distance from the host vehicle among the at least one third vehicle as the The second vehicle.
在一种可能的实现方式中,所述处理单元802,具体用于基于每个所述第一车辆的位置信息和所述主车的位置信息,确定每个所述第一车辆相对于所述主车的方位信息;根据每个所述第一车辆相对于所述主车的方位信息,从所述至少一个第一车辆中确定第二车辆。In a possible implementation manner, the processing unit 802 is specifically configured to determine that each first vehicle is relative to the host vehicle based on the location information of each first vehicle and the location information of the host vehicle. The location information of the host vehicle; and the second vehicle is determined from the at least one first vehicle according to the location information of each of the first vehicles relative to the host vehicle.
本申请实施例的通信装置,可以用于执行上述各方法实施例中主车的技术方案,其实现原理和技术效果类似,此处不再赘述。The communication device in the embodiment of the present application may be used to execute the technical solutions of the main vehicle in the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
图16为本申请实施例提供的一种车辆间的点对点通信装置的结构示意图,如图16所示,本申请的通信装置还包括显示单元804:FIG. 16 is a schematic structural diagram of a point-to-point communication device between vehicles provided by an embodiment of this application. As shown in FIG. 16, the communication device of this application further includes a display unit 804:
所述显示单元804,用于显示每个所述第一车辆相对于所述主车的方位信息;The display unit 804 is configured to display the position information of each of the first vehicles relative to the main vehicle;
所述处理单元802,用于检测到所述用户在显示的每个所述第一车辆相对于所述主车的方位信息上的选择操作;响应于所述选择操作,从所述至少一个第一车辆中确定第二车辆。The processing unit 802 is configured to detect a selection operation of the user on the displayed orientation information of each of the first vehicles relative to the main vehicle; in response to the selection operation, from the at least one first vehicle Identify the second vehicle among the one vehicle.
在一种可能的实现方式中,所述处理单元802,具体用于以所述主车为中心,以所述主车的航向角方向为x轴方向,建立直角坐标系,所述主车的位置信息包括航向角和位置坐标;将每个所述第一车辆的位置坐标和所述主车的位置坐标转换至所述直角坐标系下;根据每个所述第一车辆和所述主车在所述直角坐标系下的位置坐标,确定每个所述第一车辆相对于所述主车的方位信息。In a possible implementation, the processing unit 802 is specifically configured to set up a rectangular coordinate system with the host vehicle as the center and the heading angle direction of the host vehicle as the x-axis direction. The position information includes the heading angle and position coordinates; the position coordinates of each of the first vehicles and the position coordinates of the main vehicle are converted to the rectangular coordinate system; according to each of the first vehicles and the main vehicle The position coordinates in the rectangular coordinate system determine the position information of each of the first vehicles relative to the host vehicle.
在一种可能的实现方式中,所述处理单元802,具体用于根据每个所述第一车辆和所述主车在所述直角坐标系下的位置坐标,以所述主车为中心,按照九宫格的方式对所述第一车辆和所述主车进行区域划分,确定每个所述第一车辆相对于所述主车的方位信息。In a possible implementation, the processing unit 802 is specifically configured to take the host vehicle as the center according to the position coordinates of each of the first vehicle and the host vehicle in the Cartesian coordinate system, The area division of the first vehicle and the main vehicle is performed in a nine-square grid manner, and the position information of each of the first vehicles relative to the main vehicle is determined.
可选的,所述第二消息还包括所述主车的标识信息。Optionally, the second message further includes identification information of the host vehicle.
在一种可能的实现方式中,所述接收单元801,还用于从所述第二车辆处接收第四消息,所述第四消息包括所述主车的标识信息和所述第二车辆待发送给所述主车的第二信息,所述第四消息为所述第二车辆在检测到所述第二信息携带的第二车辆的标识信息与所述第二车辆自身的标识信息一致时发送的。In a possible implementation manner, the receiving unit 801 is further configured to receive a fourth message from the second vehicle, where the fourth message includes the identification information of the main vehicle and the waiting state of the second vehicle. The second information sent to the host vehicle, where the fourth message is when the second vehicle detects that the identification information of the second vehicle carried in the second information is consistent with the identification information of the second vehicle itself Sent.
可选的,所述第四消息还包括所述第二车辆的标识信息。Optionally, the fourth message further includes identification information of the second vehicle.
在一种可能的实现方式中,所述接收单元801,还用于接收所述用户输入的语音信息,所述语音信息包括:第一信息和所述第二车辆的方位信息;In a possible implementation, the receiving unit 801 is further configured to receive voice information input by the user, where the voice information includes: first information and position information of the second vehicle;
所述处理单元802,还用于从所述语音信息中识别出所述第一信息和所述第二车辆的方位信息,获得所述第三消息。The processing unit 802 is further configured to identify the first information and the position information of the second vehicle from the voice information, and obtain the third message.
可选的,所述第一消息、所述第二消息和所述第四消息均为广播消息。Optionally, the first message, the second message, and the fourth message are all broadcast messages.
可选的,所述第一车辆为所述主车周围预设范围内的车辆。Optionally, the first vehicle is a vehicle within a preset range around the host vehicle.
本申请实施例的通信装置,可以用于执行上述各方法实施例中主车的技术方案,其实现原理和技术效果类似,此处不再赘述。The communication device in the embodiment of the present application may be used to execute the technical solutions of the main vehicle in the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
图17为本申请实施例提供的一种车辆间的点对点通信装置的结构示意图。该车辆间的点对点通信装置应用于第二车辆,可以是第二车辆上的车载单元,也可以是第二车辆的车载单元的部件(例如,集成电路,芯片等等),如图17所示,该车辆间的点对点通信装置900可以包括:FIG. 17 is a schematic structural diagram of a point-to-point communication device between vehicles according to an embodiment of the application. This inter-vehicle point-to-point communication device is applied to the second vehicle. It can be an onboard unit on the second vehicle or a component (for example, an integrated circuit, a chip, etc.) of the onboard unit of the second vehicle, as shown in Figure 17 , The point-to-point communication device 900 between vehicles may include:
接收单元901,用于接收第二消息,所述第二消息包括:第二车辆的标识信息和第一信息;The receiving unit 901 is configured to receive a second message, where the second message includes: identification information of the second vehicle and first information;
处理单元902,用于若检测到所述第二消息携带的第二车辆的标识信息与所述第二车辆自身的标识信息一致,则解析所述第二消息,获得所述待发送消息。The processing unit 902 is configured to, if it is detected that the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, parse the second message to obtain the message to be sent.
在一种可能的实现方式中,所述处理单元902,还用于若检测到所述第二消息携带的第二车辆的标识信息与所述第二车辆自身的标识信息不一致,则丢弃所述第二消息。In a possible implementation, the processing unit 902 is further configured to discard the second vehicle if it is detected that the identification information of the second vehicle carried in the second message is inconsistent with the identification information of the second vehicle itself. The second message.
可选的,所述第二消息还包括所述主车的标识信息。Optionally, the second message further includes identification information of the host vehicle.
在一种可能的实现方式中,上述通信装置900还包括发送单元903:In a possible implementation manner, the foregoing communication device 900 further includes a sending unit 903:
所述发送单元903,用于发送第四消息,所述第四消息包括主车的标识信息和所述第二车辆待发送给所述主车的第二信息。The sending unit 903 is configured to send a fourth message, where the fourth message includes identification information of the host vehicle and second information to be sent by the second vehicle to the host vehicle.
可选的,所述第四消息还包括所述第二车辆的标识信息。Optionally, the fourth message further includes identification information of the second vehicle.
可选的,所述第四消息和所述第二消息均为广播消息。Optionally, the fourth message and the second message are both broadcast messages.
本申请实施例的通信装置,可以用于执行上述各方法实施例中第二车辆的技术方案,其实现原理和技术效果类似,此处不再赘述。The communication device of the embodiment of the present application may be used to execute the technical solution of the second vehicle in the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
图18为本申请实施例提供的一种车载设备的结构示意图。如图18所示,该车载设备610包括:处理器612、通信接口613、存储器611。可选地,车载通信装置610还可以包括总线614。其中,通信接口613、处理器612以及存储器611可以通过总线614相互连接;总线614可以是外设部件互连标准(Peripheral ComponentInterconnect,简称PCI)总线或扩展工业标准结构(Extended Industry StandardArchitecture,简称EISA)总线等。所述总线614可以分为地址总线、数据总线、控制总线等。为便于表示,图18中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。FIG. 18 is a schematic structural diagram of a vehicle-mounted device provided by an embodiment of the application. As shown in FIG. 18, the vehicle-mounted device 610 includes a processor 612, a communication interface 613, and a memory 611. Optionally, the in-vehicle communication device 610 may further include a bus 614. Among them, the communication interface 613, the processor 612, and the memory 611 can be connected to each other through a bus 614; the bus 614 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) Bus and so on. The bus 614 can be divided into an address bus, a data bus, a control bus, and so on. For ease of presentation, only one thick line is used to represent in FIG. 18, but it does not mean that there is only one bus or one type of bus.
本申请实施例的车载设备,可以用于执行上述各方法实施例中主车或第二车辆的技术方案,其实现原理和技术效果类似,此处不再赘述。The in-vehicle device of the embodiment of the present application may be used to execute the technical solutions of the main vehicle or the second vehicle in the foregoing method embodiments, and the implementation principles and technical effects are similar, and will not be repeated here.
图19为本申请实施例提供的一种车辆的结构示意图。如19所示,本申请实施例的车辆200包括车体210和设置在车体210上的车载设备220,所述车载设备可以为图13或图18所示的车载设备。FIG. 19 is a schematic structural diagram of a vehicle provided by an embodiment of the application. As shown in 19, the vehicle 200 of the embodiment of the present application includes a vehicle body 210 and a vehicle-mounted device 220 provided on the vehicle body 210. The vehicle-mounted device may be the vehicle-mounted device shown in FIG. 13 or FIG. 18.
其中,该车辆200可以用于实现上述方法实施例中主车侧的功能,页可以用于实现上述方法实施例中第二车辆侧的功能,其实现原理和技术效果类似,此处不再赘述。Among them, the vehicle 200 can be used to implement the function of the main vehicle side in the foregoing method embodiment, and the page can be used to implement the function of the second vehicle side in the foregoing method embodiment. The implementation principles and technical effects are similar, and will not be repeated here. .
图20为本申请实施例提供的一种车辆间的通信系统的结构示意图。如20所示,本申请实施例的通信系统300包括上述主车310和第二车辆320。FIG. 20 is a schematic structural diagram of an inter-vehicle communication system provided by an embodiment of the application. As shown in 20, the communication system 300 of the embodiment of the present application includes the above-mentioned main vehicle 310 and the second vehicle 320.
其中,该主车310可以用于实现上述方法实施例中主车侧的功能,该第二车辆320可以用于实现上述方法实施例中第二车辆侧的功能,其实现原理和技术效果类似,此处不再赘述。Wherein, the main vehicle 310 can be used to implement the function of the main vehicle side in the foregoing method embodiment, and the second vehicle 320 can be used to implement the function of the second vehicle side in the foregoing method embodiment, and its implementation principles and technical effects are similar. I won't repeat them here.
基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including a number of instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website site, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。另外,各个方法实施例之间、各个装置实施例之间也可以互相参考,在不同实施例中的相同或对应内容可以互相引用,不做赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here. In addition, the various method embodiments and the various device embodiments may also refer to each other, and the same or corresponding content in different embodiments may be referred to each other, and details are not repeated.

Claims (31)

  1. 一种车辆间的点对点通信方法,其特征在于,应用于主车,所述方法包括:A point-to-point communication method between vehicles, characterized in that it is applied to a host vehicle, and the method includes:
    从至少一个第一车辆处获取第一消息,所述第一消息包括:所述第一车辆的标识信息和所述第一车辆的位置和方位信息;Acquiring a first message from at least one first vehicle, the first message including: identification information of the first vehicle and position and orientation information of the first vehicle;
    基于每个所述第一车辆的位置和方位信息,从所述至少一个第一车辆中确定第二车辆,所述第二车辆为所述主车待发送的第一消息的目标接收方;Determine a second vehicle from the at least one first vehicle based on the location and orientation information of each of the first vehicles, where the second vehicle is the target recipient of the first message to be sent by the host vehicle;
    发送第二消息,所述第二消息包括:所述第二车辆的标识信息和所述第一信息。Send a second message, the second message including: the identification information of the second vehicle and the first information.
  2. 根据权利要求1所述的方法,其特征在于,所述基于每个所述第一车辆的位置和方位信息,从所述至少一个第一车辆中确定第二车辆,包括:The method according to claim 1, wherein the determining a second vehicle from the at least one first vehicle based on the position and orientation information of each of the first vehicles comprises:
    获取用户输入的第三消息,所述第三消息包括:所述第一信息和所述第二车辆的方位信息;Acquiring a third message input by the user, the third message including: the first information and the location information of the second vehicle;
    将所述第二车辆的方位信息与每个所述第一车辆的位置和方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆。The position information of the second vehicle is compared with the position and position information of each of the first vehicles, and the second vehicle is determined from the at least one first vehicle.
  3. 根据权利要求2所述的方法,其特征在于,所述第二车辆的方位信息为所述第二车辆相对于主车的方位信息。The method according to claim 2, wherein the position information of the second vehicle is the position information of the second vehicle relative to the host vehicle.
  4. 根据权利要求3所述的方法,其特征在于,所述将所述第二车辆的方位信息与每个所述第一车辆的位置和方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆,包括:The method according to claim 3, wherein the position information of the second vehicle is compared with the position and position information of each of the first vehicles, and the determination is made from the at least one first vehicle The second vehicle includes:
    基于每个所述第一车辆的位置信息和所述主车的位置信息,确定每个所述第一车辆相对于所述主车的方位信息;Determine the position information of each of the first vehicles relative to the host vehicle based on the location information of each of the first vehicles and the location information of the host vehicle;
    将所述第二车辆的方位信息与每个所述第一车辆相对于所述主车的方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆。The position information of the second vehicle is compared with the position information of each of the first vehicles relative to the host vehicle, and the second vehicle is determined from the at least one first vehicle.
  5. 根据权利要求4所述的方法,其特征在于,所述将所述第二车辆的方位信息与每个所述第一车辆相对于所述主车的方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆,包括:The method according to claim 4, characterized in that, the position information of the second vehicle is compared with the position information of each of the first vehicles relative to the main vehicle, and the position information of each of the first vehicles is compared from the at least one first vehicle. Determining the second vehicle in a vehicle includes:
    将所述第二车辆的方位信息与每个所述第一车辆相对于所述主车的方位信息进行比较,从所述至少一个第一车辆中确定出与所述第二车辆的方位信息一致的至少一个第三车辆;The position information of the second vehicle is compared with the position information of each of the first vehicles relative to the host vehicle, and the position information of the at least one first vehicle is determined to be consistent with the position information of the second vehicle At least one third vehicle;
    将所述至少一个第三车辆中与所述主车的距离最小的第三车辆确定为所述第二车辆。A third vehicle with the smallest distance from the host vehicle among the at least one third vehicle is determined as the second vehicle.
  6. 根据权利要求1所述的方法,其特征在于,所述基于每个所述第一车辆的位置和方位信息,从所述至少一个第一车辆中确定第二车辆,包括:The method according to claim 1, wherein the determining a second vehicle from the at least one first vehicle based on the position and orientation information of each of the first vehicles comprises:
    基于每个所述第一车辆的位置信息和所述主车的位置信息,确定每个所述第一车辆相对于所述主车的方位信息;Determine the position information of each of the first vehicles relative to the host vehicle based on the location information of each of the first vehicles and the location information of the host vehicle;
    根据每个所述第一车辆相对于所述主车的方位信息,从所述至少一个第一车辆中确定第二车辆。The second vehicle is determined from the at least one first vehicle according to the position information of each of the first vehicles relative to the host vehicle.
  7. 根据权利要求6所述的方法,其特征在于,所述根据每个所述第一车辆相对于所述主车的方位信息,从所述至少一个第一车辆中确定第二车辆,包括:The method according to claim 6, wherein the determining the second vehicle from the at least one first vehicle according to the position information of each of the first vehicles relative to the host vehicle comprises:
    显示每个所述第一车辆相对于所述主车的方位信息;Displaying the position information of each of the first vehicles relative to the main vehicle;
    检测到所述用户在显示的每个所述第一车辆相对于所述主车的方位信息上的选择操 作;Detecting the selection operation of the user on the displayed position information of each of the first vehicles relative to the host vehicle;
    响应于所述选择操作,从所述至少一个第一车辆中确定第二车辆。In response to the selection operation, a second vehicle is determined from the at least one first vehicle.
  8. 根据权利要求4或6所述的方法,其特征在于,所述基于每个所述第一车辆的位置信息和所述主车的位置信息,确定每个所述第一车辆相对于所述主车的方位信息,包括:The method according to claim 4 or 6, characterized in that, based on the location information of each of the first vehicles and the location information of the host vehicle, determine that each of the first vehicles is relative to the host vehicle. The location information of the car, including:
    以所述主车为中心,以所述主车的航向角方向为x轴方向,建立直角坐标系,所述主车的位置信息包括航向角和位置坐标;Taking the main vehicle as a center and taking the heading angle direction of the main vehicle as the x-axis direction, establish a rectangular coordinate system, and the position information of the main vehicle includes the heading angle and position coordinates;
    将每个所述第一车辆的位置坐标和所述主车的位置坐标转换至所述直角坐标系下;Transforming the position coordinates of each of the first vehicle and the position coordinates of the main vehicle to the rectangular coordinate system;
    根据每个所述第一车辆和所述主车在所述直角坐标系下的位置坐标,确定每个所述第一车辆相对于所述主车的方位信息。According to the position coordinates of each of the first vehicles and the host vehicle in the Cartesian coordinate system, the orientation information of each of the first vehicles relative to the host vehicle is determined.
  9. 根据权利要求8所述的方法,其特征在于,所述根据每个所述第一车辆和所述主车在所述直角坐标系下的位置坐标,确定每个所述第一车辆相对于所述主车的方位信息,包括:The method according to claim 8, characterized in that, according to the position coordinates of each of the first vehicle and the host vehicle in the Cartesian coordinate system, it is determined that each of the first vehicles is relative to each other. State the location information of the main vehicle, including:
    根据每个所述第一车辆和所述主车在所述直角坐标系下的位置坐标,以所述主车为中心,按照九宫格的方式对所述第一车辆和所述主车进行区域划分,确定每个所述第一车辆相对于所述主车的方位信息。According to the position coordinates of each of the first vehicle and the main vehicle in the Cartesian coordinate system, with the main vehicle as the center, the first vehicle and the main vehicle are divided into regions in a nine-square grid , Determine the position information of each of the first vehicles relative to the host vehicle.
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述第二消息还包括所述主车的标识信息。The method according to any one of claims 1-9, wherein the second message further includes identification information of the main vehicle.
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method according to claim 10, wherein the method further comprises:
    从所述第二车辆处接收第四消息,所述第四消息包括所述主车的标识信息和所述第二车辆待发送给所述主车的第二信息,所述第四消息为所述第二车辆在检测到所述第二信息携带的第二车辆的标识信息与所述第二车辆自身的标识信息一致时发送的。A fourth message is received from the second vehicle, the fourth message includes the identification information of the host vehicle and the second information to be sent by the second vehicle to the host vehicle, and the fourth message is The second vehicle is sent when it is detected that the identification information of the second vehicle carried in the second information is consistent with the identification information of the second vehicle itself.
  12. 根据权利要求10所述的方法,其特征在于,所述第四消息还包括所述第二车辆的标识信息。The method according to claim 10, wherein the fourth message further includes identification information of the second vehicle.
  13. 根据权利要求2所述的方法,其特征在于,所述获取用户输入的第三消息,包括:The method according to claim 2, wherein said obtaining the third message input by the user comprises:
    接收所述用户输入的语音信息,所述语音信息包括:第一信息和所述第二车辆的方位信息;Receiving voice information input by the user, where the voice information includes: first information and position information of the second vehicle;
    从所述语音信息中识别出所述第一信息和所述第二车辆的方位信息,获得所述第三消息。The first information and the position information of the second vehicle are recognized from the voice information, and the third message is obtained.
  14. 根据权利要求11所述的方法,其特征在于,所述第一消息、所述第二消息和所述第四消息均为广播消息。The method according to claim 11, wherein the first message, the second message, and the fourth message are all broadcast messages.
  15. 根据权利要求1-7任一项所述的方法,其特征在于,所述第一车辆为所述主车周围预设范围内的车辆。The method according to any one of claims 1-7, wherein the first vehicle is a vehicle within a preset range around the host vehicle.
  16. 一种车辆间的点对点通信方法,其特征在于,包括:A point-to-point communication method between vehicles, characterized in that it comprises:
    接收第二消息,所述第二消息包括:第二车辆的标识信息和第一信息;Receiving a second message, the second message including: the identification information of the second vehicle and the first information;
    若检测到所述第二消息携带的第二车辆的标识信息与所述第二车辆自身的标识信息一致,则解析所述第二消息,获得所述待发送消息。If it is detected that the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, the second message is parsed to obtain the message to be sent.
  17. 根据权利要求16所示的方法,其特征在于,还包括:The method according to claim 16, further comprising:
    若检测到所述第二消息携带的第二车辆的标识信息与所述第二车辆自身的标识信息不一致,则丢弃所述第二消息。If it is detected that the identification information of the second vehicle carried in the second message is inconsistent with the identification information of the second vehicle itself, the second message is discarded.
  18. 根据权利要求16或17所述的方法,其特征在于,所述第二消息还包括所述主车的标识信息。The method according to claim 16 or 17, wherein the second message further includes identification information of the host vehicle.
  19. 根据权利要求18所示的方法,其特征在于,还包括:The method according to claim 18, further comprising:
    发送第四消息,所述第四消息包括主车的标识信息和所述第二车辆待发送给所述主车的第二信息。A fourth message is sent, and the fourth message includes the identification information of the host vehicle and the second information to be sent by the second vehicle to the host vehicle.
  20. 根据权利要求19所述的方法,其特征在于,所述第四消息还包括所述第二车辆的标识信息。The method according to claim 19, wherein the fourth message further includes identification information of the second vehicle.
  21. 根据权利要求19所述的方法,其特征在于,所述第四消息和所述第二消息均为广播消息。The method according to claim 19, wherein the fourth message and the second message are both broadcast messages.
  22. 一种车辆间的点对点通信装置,其特征在于,应用于主车,所述装置包括:A point-to-point communication device between vehicles, which is characterized in that it is applied to a host vehicle, and the device includes:
    接收单元,用于从至少一个第一车辆处获取第一消息,所述第一消息包括:所述第一车辆的标识信息和所述第一车辆的位置和方位信息;A receiving unit, configured to obtain a first message from at least one first vehicle, the first message including: identification information of the first vehicle and position and orientation information of the first vehicle;
    处理单元,用于基于每个所述第一车辆的位置和方位信息,从所述至少一个第一车辆中确定第二车辆,所述第二车辆为所述主车待发送的第一消息的目标接收方;A processing unit, configured to determine a second vehicle from the at least one first vehicle based on the position and orientation information of each of the first vehicles, the second vehicle being the source of the first message to be sent by the main vehicle Target recipient
    发送单元,用于发送第二消息,所述第二消息包括:所述第二车辆的标识信息和所述第一信息。The sending unit is configured to send a second message, where the second message includes: identification information of the second vehicle and the first information.
  23. 根据权利要求22所述的装置,其特征在于,The device of claim 22, wherein:
    所述处理单元,具体用于获取用户输入的第三消息,所述第三消息包括:所述第一信息和所述第二车辆的方位信息;将所述第二车辆的方位信息与每个所述第一车辆的位置和方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆。The processing unit is specifically configured to obtain a third message input by a user, where the third message includes: the first information and the position information of the second vehicle; and the position information of the second vehicle is combined with each The position and orientation information of the first vehicle are compared, and the second vehicle is determined from the at least one first vehicle.
  24. 根据权利要求23所述的装置,其特征在于,所述第二车辆的方位信息为所述第二车辆相对于主车的方位信息。The device according to claim 23, wherein the position information of the second vehicle is the position information of the second vehicle relative to the host vehicle.
  25. 根据权利要求24所述的装置,其特征在于,The device of claim 24, wherein:
    所述处理单元,具体用于基于每个所述第一车辆的位置信息和所述主车的位置信息,确定每个所述第一车辆相对于所述主车的方位信息;将所述第二车辆的方位信息与每个所述第一车辆相对于所述主车的方位信息进行比较,从所述至少一个第一车辆中确定所述第二车辆。The processing unit is specifically configured to determine the position information of each first vehicle relative to the main vehicle based on the position information of each first vehicle and the position information of the main vehicle; The position information of the second vehicle is compared with the position information of each of the first vehicles relative to the host vehicle, and the second vehicle is determined from the at least one first vehicle.
  26. 根据权利要求22所述的装置,其特征在于,所述装置还包括:The device according to claim 22, wherein the device further comprises:
    所述接收单元,还用于从所述第二车辆处接收第四消息,所述第四消息包括所述主车的标识信息和所述第二车辆待发送给所述主车的第二信息,所述第四消息为所述第二车辆在检测到所述第二信息携带的第二车辆的标识信息与所述第二车辆自身的标识信息一致时发送的。The receiving unit is further configured to receive a fourth message from the second vehicle, where the fourth message includes identification information of the host vehicle and second information to be sent by the second vehicle to the host vehicle The fourth message is sent when the second vehicle detects that the identification information of the second vehicle carried in the second information is consistent with the identification information of the second vehicle itself.
  27. 一种车辆间的点对点通信装置,其特征在于,应用于第二车辆,所述装置包括:A point-to-point communication device between vehicles, which is characterized in that it is applied to a second vehicle, and the device includes:
    接收单元,用于接收第二消息,所述第二消息包括:第二车辆的标识信息和第一信息;A receiving unit, configured to receive a second message, the second message including: identification information of the second vehicle and first information;
    处理单元,用于若检测到所述第二消息携带的第二车辆的标识信息与所述第二车辆自身的标识信息一致,则解析所述第二消息,获得所述待发送消息。The processing unit is configured to, if it is detected that the identification information of the second vehicle carried in the second message is consistent with the identification information of the second vehicle itself, parse the second message to obtain the message to be sent.
  28. 根据权利要求27所示的装置,其特征在于,还包括:The device according to claim 27, further comprising:
    所述处理单元,还用于若检测到所述第二消息携带的第二车辆的标识信息与所述第二车辆自身的标识信息不一致,则丢弃所述第二消息。The processing unit is further configured to discard the second message if it is detected that the identification information of the second vehicle carried in the second message is inconsistent with the identification information of the second vehicle itself.
  29. 一种车载设备,其特征在于,包括:处理器和收发器,所述处理器和所述收发器用于执行实现如权利要求1至15或如权利要求16至21中任一项权利要求所述的车辆间的点对点通信方法。An in-vehicle device, characterized by comprising: a processor and a transceiver, the processor and the transceiver are used to implement the implementation of any one of claims 1 to 15 or claims 16 to 21 Point-to-point communication method between vehicles.
  30. 一种计算机存储介质,其特征在于,所述存储介质包括计算机指令,当所述指令被计算机执行时,使得所述计算机实现如权利要求1至21中任一项权利要求所述的车辆间的点对点通信方法。A computer storage medium, wherein the storage medium includes computer instructions, and when the instructions are executed by a computer, the computer realizes the inter-vehicle communication according to any one of claims 1 to 21. Point-to-point communication method.
  31. 一种程序产品,其特征在于,所述程序产品包括计算机程序,所述计算机程序存储在可读存储介质中,通信装置的至少一个处理器可以从所述可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序使得通信装置实施如权利要求1-15任意一项所述的方法或者如权利要求16-21任意一项所述的方法。A program product, characterized in that the program product includes a computer program, the computer program is stored in a readable storage medium, and at least one processor of a communication device can read the computer program from the readable storage medium The execution of the computer program by the at least one processor causes the communication device to implement the method according to any one of claims 1-15 or the method according to any one of claims 16-21.
PCT/CN2020/115233 2019-09-17 2020-09-15 Vehicle-to-vehicle point-to-point communication method, apparatus and system, and storage medium WO2021052304A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910877493.X 2019-09-17
CN201910877493.XA CN110769363A (en) 2019-09-17 2019-09-17 Method, device, system and storage medium for peer-to-peer communication between vehicles

Publications (1)

Publication Number Publication Date
WO2021052304A1 true WO2021052304A1 (en) 2021-03-25

Family

ID=69329952

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/115233 WO2021052304A1 (en) 2019-09-17 2020-09-15 Vehicle-to-vehicle point-to-point communication method, apparatus and system, and storage medium

Country Status (2)

Country Link
CN (1) CN110769363A (en)
WO (1) WO2021052304A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769363A (en) * 2019-09-17 2020-02-07 华为技术有限公司 Method, device, system and storage medium for peer-to-peer communication between vehicles
CN111724615A (en) * 2020-06-18 2020-09-29 北京百度网讯科技有限公司 Method, apparatus, device and storage medium for controlling vehicle
WO2022000175A1 (en) * 2020-06-29 2022-01-06 曾浩军 Vehicle communication method, vehicle, and computer-readable storage medium
CN113538717B (en) * 2021-07-01 2023-10-24 支付宝(杭州)信息技术有限公司 Transaction processing method and device applied to vehicle
CN117376875A (en) * 2021-08-18 2024-01-09 支付宝(杭州)信息技术有限公司 Communication processing method and device applied to vehicle

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170090473A1 (en) * 2006-04-17 2017-03-30 General Electric Company Vehicle communication system
US20170256167A1 (en) * 2016-03-03 2017-09-07 Lg Electronics Inc. Display apparatus and vehicle having the same
CN107564335A (en) * 2017-08-11 2018-01-09 维沃移动通信有限公司 One kind knocks into the back method for early warning and electronic equipment
CN109257722A (en) * 2017-07-13 2019-01-22 三星电子株式会社 Electronic device and its control method for being communicated with external electronic
CN109699024A (en) * 2018-12-10 2019-04-30 斑马网络技术有限公司 Vehicle communication method, device, electronic equipment and storage medium
CN110769363A (en) * 2019-09-17 2020-02-07 华为技术有限公司 Method, device, system and storage medium for peer-to-peer communication between vehicles

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908283B (en) * 2009-06-08 2013-01-30 财团法人车辆研究测试中心 Running instant anti-collision warning system and method
CN106303915B (en) * 2015-06-08 2021-05-28 索尼公司 Wireless communication apparatus and wireless communication method
CN107517437A (en) * 2017-08-23 2017-12-26 上海与德科技有限公司 Vehicle communication method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170090473A1 (en) * 2006-04-17 2017-03-30 General Electric Company Vehicle communication system
US20170256167A1 (en) * 2016-03-03 2017-09-07 Lg Electronics Inc. Display apparatus and vehicle having the same
CN109257722A (en) * 2017-07-13 2019-01-22 三星电子株式会社 Electronic device and its control method for being communicated with external electronic
CN107564335A (en) * 2017-08-11 2018-01-09 维沃移动通信有限公司 One kind knocks into the back method for early warning and electronic equipment
CN109699024A (en) * 2018-12-10 2019-04-30 斑马网络技术有限公司 Vehicle communication method, device, electronic equipment and storage medium
CN110769363A (en) * 2019-09-17 2020-02-07 华为技术有限公司 Method, device, system and storage medium for peer-to-peer communication between vehicles

Also Published As

Publication number Publication date
CN110769363A (en) 2020-02-07

Similar Documents

Publication Publication Date Title
WO2021052304A1 (en) Vehicle-to-vehicle point-to-point communication method, apparatus and system, and storage medium
WO2017071224A1 (en) Method for sharing vehicle driving information, vehicle platform, and intelligent transportation system
US9247434B2 (en) Mobile-originated SMS local broadcast
US9843915B2 (en) Communication between responders
US11304128B2 (en) Apparatus for supporting vehicle to everything communication, system including the same, and method thereof
US20160191458A1 (en) Method, a device, and a data transmission system for data transmission in a network system
US20070021906A1 (en) Road information system and method for providing road information based on internet protocol
KR20100048933A (en) Method for transmitting and receiving broadcast service information, user equipment for broadcast service
US10395531B2 (en) Control device and method for coupling a multi-standard antenna assembly of a motor vehicle to at least one vehicle component
CN204719792U (en) A kind of taxi pooling system based on software of calling a taxi
WO2020058431A1 (en) Apparatus and method for vehicle searching
US10814869B2 (en) Vehicle control system and vehicle control device
US20210258278A1 (en) Program, control device, and control method
WO2021057561A1 (en) Communication connection method and apparatus, and storage medium
KR102435176B1 (en) Optimized Map Tile Data Transmission Method, and Service Providing Server Used Therein
CN110972204B (en) Resource allocation method, device, storage medium, network equipment and terminal
US11940544B2 (en) Vehicle positioning using V2X RSU messaging and vehicular sensors
US10349232B2 (en) Method and apparatus for utilizing vehicles as mobile network nodes for digital data transfer
CN104123832A (en) Communication processing method and apparatus for taxi calling
US11651299B2 (en) Control device, control system, program, and control method
US11644329B2 (en) Information processing apparatus, non-transitory computer readable medium, and information processing method
CN111615058B (en) Method, apparatus and computer-readable storage medium for locating vehicle
US20220286522A1 (en) Server, data collection system, recording medium, and data collection method
US11151879B2 (en) Communication device, method for execution by a communication device, and method for improving traffic safety of a road user
JP6738945B1 (en) Communication device, communication system, and communication device program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20865924

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20865924

Country of ref document: EP

Kind code of ref document: A1