Prediction method and apparatus for autonomous driving manual takeover, and system
A prediction method and apparatus for an autonomous driving manual takeover, and a system are provided. One example method includes: A first vehicle sends a first message to a second vehicle when detecting that the first vehicle has a manual takeover requirement, where the first message includes information about a first location of the first vehicle, and the information about the first location is used to indicate a location of the first vehicle when the first vehicle detects that the first vehicle has the manual takeover requirement.
1. A prediction method for an autonomous driving manual takeover, comprising:
sending, by a first vehicle, a first message to a second vehicle when the first vehicle detecting that the first vehicle has a manual takeover requirement, wherein the first message comprises information about a first location of the first vehicle, and the information about the first location indicates a location of the first vehicle when the first vehicle detects that the first vehicle has the manual takeover requirement, and wherein the first message indicates information about a time when the first vehicle has the manual takeover requirement, and wherein the first message comprises a takeover type that indicates whether a manual takeover is induced by an event or by a traffic flow.
2. The method according to claim 1 , wherein the information about the first location comprises latitude and longitude of the first location.
3. The method according to claim 1 , wherein when the first location is at an intersection, the information about the first location comprises an identifier of the intersection.
4. The method according to claim 1 , wherein when the first location is in a road section or a lane section, the information about the first location comprises an identifier of a road section in which the first location is located and a distance from a start point of the road section to the first location, or an identifier of a lane section in which the first location is located and a distance from a start point of the lane section to the first location.
5. The method according to claim 3 , wherein the first message further comprises an identifier type, and the identifier type comprises a road type, a lane type, or an intersection type.
6. The method according to claim 1 , wherein the first message further comprises a manual takeover identification code.
7. A prediction method for an autonomous driving manual takeover, applied to a server, wherein the method comprises:
receiving, by the server, a first message from a first vehicle, wherein the first message comprises information about a first location of the first vehicle and first time, the information about the first location indicates a location of the first vehicle when the first vehicle detects that the first vehicle has a manual takeover requirement, and the first time indicates time when the first vehicle detects that the first vehicle has the manual takeover requirement;
determining, by the server based on the information about the first location and the first time, a first probability that a manual takeover occurs in a first area in which the first location is located within a first time range within which the first time falls; and
sending, by the server, a second message to a second vehicle, wherein the second message comprises the first probability, and the second message indicates that a probability that the manual takeover occurs in the first area within the first time range is the first probability.
8. The method according to claim 7 , wherein the second message further comprises information about the first area.
9. The method according to claim 8 , wherein the information about the first location comprises latitude and longitude of the first location, and the method further comprises:
determining, based on the latitude and the longitude of the first location, that the first area is an intersection; and
obtaining coordinates of the intersection, wherein the information about the first area comprises the coordinates of the intersection.
10. The method according to claim 8 , wherein the information about the first location comprises latitude and longitude of the first location, and the method further comprises:
determining, based on the latitude and the longitude of the first location, that the first area is a road section; and
obtaining start point coordinates of the road section and end point coordinates of the road section, wherein the information about the first area comprises the start point coordinates of the road section and the end point coordinates of the road section.
11. The method according to claim 9 , wherein the second message further comprises an area type, and the area type comprises a road section type or an intersection type.
12. The method according to claim 8 , wherein the information about the first location comprises an identifier of an intersection, and the information about the first area comprises the identifier of the intersection.
13. The method according to claim 8 , wherein the information about the first location comprises an identifier of a road section and a distance from a start point of the road section to the first location, and the information about the first area comprises the identifier of the road section and a preset area range of the road section.
14. A prediction apparatus for an autonomous driving manual takeover, comprising:
at least one processor; and
a non-transitory computer-readable storage medium coupled to the at least one processor and storing programming instructions, that when executed by the at least one processor, cause the apparatus to:
send, by a first vehicle, a first message to a second vehicle when detecting that the first vehicle has a manual takeover requirement, wherein the first message comprises information about a first location of the first vehicle, and the information about the first location indicates a location of the first vehicle when the first vehicle detects that the first vehicle has the manual takeover requirement, and wherein the first message indicates information about a time when the first vehicle has the manual takeover requirement, and wherein the first message comprises a takeover type that indicates whether a manual takeover is induced by an event or by a traffic flow.
15. The prediction apparatus according to claim 14 , wherein the information about the first location comprises latitude and longitude of the first location.
16. The prediction apparatus according to claim 14 , wherein when the first location is in a road section or a lane section, the information about the first location comprises an identifier of a road section in which the first location is located and a distance from a start point of the road section to the first location, or an identifier of a lane section in which the first location is located and a distance from a start point of the lane section to the first location.
17. The prediction apparatus according to claim 14 , wherein the first message further comprises an identifier type, and the identifier type comprises a road type, a lane type, or an intersection type.
18. The prediction apparatus according to claim 14 , wherein the first message further comprises a manual takeover identification code.