This disclosure relates to the vehicle to everything field, and in particular, to a MAP message sending method and apparatus.
In development of the intelligent vehicle to everything, a road side unit (RSU) broadcasts a map message to provide information like map data of a local area for a vehicle. With great value to a vehicle-to-everything (V2X) application, this manner can improve a capability of an autonomous vehicle to sense an ambient environment, and improve driving safety of the autonomous vehicle.
Generally, the map data indicated in the map message includes a plurality of map elements, and the map elements may include connection relationships between intersections, between road sections, and between lanes, and the like. A traffic environment, a lane attribute, and the like change with time. When the map element like the intersection, the road section, the lane, or the like changes with time, the change cannot be obtained by a vehicle in a timely manner by using an existing map message mechanism to affect driving decision of the vehicle.
Embodiments disclose a MAP message sending method and apparatus, to improve timeliness and accuracy of map element information in a map message.
According to a first aspect, an embodiment provides a MAP message sending method, applied to a road side apparatus. The method includes: obtaining a first map message, where the first map message includes map element information describing a map element, and a time attribute of the map element information, the map element includes at least one of a node-level map element, a road-level map element, or a lane-level map element, and the map element information includes at least one of node-level map element information, road-level map element information, or lane-level map element information; and sending the first map message.
The obtaining a first map message may be receiving the first map message or generating the first map message. This is not specifically limited in embodiments.
It can be learned that the first map message includes the node-level map element, the road-level map element, and the lane-level map element. The node-level map element may be an intersection, a ramp entrance, or an endpoint of a road section. The road-level map element may be a road, the road is an infrastructure for various trackless vehicles and pedestrians to pass through, the road may also be referred to as a road section, and each road may include a plurality of lanes. The lane-level map element may be a lane, and the lane is a part that is on a carriageway and that is used for a single column of vehicles to travel.
The map element information indicates an attribute or a status of the map element. The first map message further includes the node-level map element information, the road-level map element information, or the lane-level map element information. The node-level map element information describes an attribute or a status of the node-level map element, for example, including a location of an endpoint of a road section, a prohibited zone at an intersection, information about a traffic light at an intersection, or an upstream/downstream road section connected to the node-level map element. The road-level map element information describes an attribute or a status of the road-level map element, for example, including a road speed limit, a road width, a connection relationship between a road section and an upstream/downstream road section, or a lane set included in the road section. The lane-level map element information describes an attribute or a status of the lane-level map element, for example, including a lane speed limit, a lane sharing attribute, allowed turning behavior, or a connection relationship between a lane and an upstream/downstream lane.
In the foregoing method, the time attribute is set in the first map message, so that timeliness and accuracy of obtaining the map element information by a terminal using the map data are improved. This helps the terminal make a correct decision on route planning, and improves travel efficiency.
In a possible implementation of the first aspect, the time attribute indicates a valid period of the map element information, and the time attribute includes at least one of confidence of the valid period, or a valid start time, a valid end time, or valid duration of the map element information.
The valid start time and the valid end time may be represented by absolute moments (for example, by using a standard time of the National Time Service Center), so that the valid start time and the valid end time are more intuitive and clearer. In another specific implementation, the valid start time and the valid end time may alternatively be represented in a relative time manner (for example, represented based on a time point indicated by a timestamp in the first map message and relative duration, and when the timestamp is 9:00 a.m. Beijing time, relative duration of 2 hours is used to represent a time point at 11:00 a.m. Beijing time), so that a length of the first map message can be effectively reduced, and overheads of resource transmission over an air interface are reduced.
In a possible implementation of the first aspect, the valid duration is duration of the map element information that is based on a timestamp, and the timestamp is a time point indicated by a MinuteOftheYear field in the first map message.
In the foregoing implementation, the valid duration is used to represent a valid time period of the map element information, so that a length of the first map message can be effectively reduced, and overheads of resource transmission over an air interface are reduced.
In a possible implementation of the first aspect, the time attribute is null when the map element information is permanently valid.
In a possible implementation of the first aspect, the time attribute indicates a plurality of time periods, and within each of the plurality of time periods, map element information corresponding to the time period remains unchanged.
In a specific implementation, two groups of map element information respectively corresponding to two adjacent time periods in the plurality of time periods are different. For example, a time period 1 is adjacent to a time period 2, the time period 1 corresponds to a first group of map element information, and the time period 2 corresponds to a second group of map element information. The first group of map element information is different from the second group of map element information. Specifically, there may be at least one of the following cases: Compared with the first group of map element information, in the second group of map element information, a piece of map element information is updated or changed, map element information is added, or the map element information is reduced.
In the foregoing implementation, the time attribute is represented by using the plurality of time periods, so that dynamic changes of the map element information in the plurality of time periods can be intuitively displayed.
In a possible implementation of the first aspect, the time attribute further indicates confidence of each of the plurality of time periods.
In the foregoing implementation, time confidence indicates credibility of a corresponding time period, and the time confidence helps the terminal make a route planning decision based on the credibility of the corresponding time period, and helps improve accuracy of making the route planning decision by the terminal.
In a possible implementation of the first aspect, the method further includes: sending a second map message in response to a change of the map element, where compared with the first map message, at least one of the map element information or the time attribute changes in the second map message, and a moment for sending the second map message is determined based on a moment for the change.
In the foregoing implementation, the second map message is immediately sent in response to the change of the map element, so that a terminal that receives the second map message can master a change of map data in a timely manner and obtain accurate map element information and an accurate time attribute, which has good prewarning effect on a route decision of the terminal.
In a specific implementation, the first map message or the second map message may be sent periodically.
In a possible implementation of the first aspect, the sending the first map message may be specifically: sending the first map message in any one of a broadcast, multicast, or unicast mode.
According to a second aspect, an embodiment provides a MAP message receiving method, applied to a vehicle side apparatus. The method includes: receiving a first map message, where the first map message includes map element information describing a map element, and a time attribute of the map element information, the map element includes at least one of a node-level map element, a road-level map element, or a lane-level map element, and the map element information includes at least one of node-level map element information, road-level map element information, or lane-level map element information; and obtaining the map element information and the time attribute based on the first map message.
In the foregoing method, a terminal obtains the map element information and the time attribute by receiving the first map message that carries the map element information and the time attribute, to master accurate map data in a timely manner. This helps the terminal make a correct decision on route planning, and improves travel efficiency.
In a possible implementation of the second aspect, the time attribute indicates a valid period of the map element information, and the time attribute includes at least one of confidence of the valid period, or a valid start time, a valid end time, or valid duration of the map element information.
In a possible implementation of the second aspect, the valid duration is duration of the map element information that is based on a timestamp, and the timestamp is a time point indicated by a MinuteOftheYear field in the first map message.
In a possible implementation of the second aspect, the time attribute is null when the map element information is permanently valid.
In a possible implementation of the second aspect, the time attribute indicates a plurality of time periods, and within each of the plurality of time periods, map element information corresponding to the time period remains unchanged.
In a possible implementation of the second aspect, two groups of map element information respectively corresponding to two adjacent time periods in the plurality of time periods are different.
In a possible implementation of the second aspect, the time attribute further indicates confidence of each of the plurality of time periods.
In a possible implementation of the second aspect, the method further includes: planning a navigation route based on the map element information and the time attribute.
In the foregoing implementation, the terminal plans the navigation route based on the obtained map element information and the obtained time attribute, so that a road or a lane that is not allowed to pass through at a corresponding moment can be effectively avoided.
According to a third aspect, an embodiment provides a MAP message sending apparatus. The apparatus includes: an obtaining unit configured to obtain a first map message, where the first map message includes map element information describing a map element, and a time attribute of the map element information, the map element includes at least one of a node-level map element, a road-level map element, or a lane-level map element, and the map element information includes at least one of node-level map element information, road-level map element information, or lane-level map element information; and a sending unit configured to send the first map message.
In a possible implementation of the third aspect, the time attribute indicates a valid period of the map element information, and the time attribute includes at least one of confidence of the valid period, or a valid start time, a valid end time, or valid duration of the map element information.
In a possible implementation of the third aspect, the valid duration is duration of the map element information that is based on a timestamp, and the timestamp is a time point indicated by a MinuteOftheYear field in the first map message.
In a possible implementation of the third aspect, the time attribute of the map element information is null when the map element information is permanently valid.
In a possible implementation of the third aspect, the time attribute indicates a plurality of time periods, and within each of the plurality of time periods, map element information corresponding to the time period remains unchanged.
In a possible implementation of the third aspect, two groups of map element information respectively corresponding to two adjacent time periods in the plurality of time periods are different.
In a possible implementation of the third aspect, the time attribute further indicates confidence of each of the plurality of time periods.
In a possible implementation of the third aspect, the sending unit is further configured to send a second map message in response to a change of the map element, where compared with the first map message, at least one of the map element information or the time attribute changes in the second map message, and a moment for sending the second map message is determined based on a moment for the change.
In a possible implementation of the third aspect, the sending unit is further configured to send the first map message in any one of a broadcast, multicast, or unicast mode.
In a possible implementation of the third aspect, the sending unit is further configured to periodically send the first map message or the second map message.
According to a fourth aspect, an embodiment provides a MAP message receiving apparatus. The apparatus includes: a receiving unit configured to receive a first map message, where the first map message includes map element information describing a map element, and a time attribute of the map element information, the map element includes at least one of a node-level map element, a road-level map element, or a lane-level map element, and the map element information includes at least one of node-level map element information, road-level map element information, or lane-level map element information; and a processing unit configured to obtain the map element information and the time attribute based on the first map message.
In a possible implementation of the fourth aspect, the time attribute indicates a valid period of the map element information, and the time attribute includes at least one of confidence of the valid period, or a valid start time, a valid end time, or valid duration of the map element information.
In a possible implementation of the fourth aspect, the valid duration is duration of the map element information that is based on a timestamp, and the timestamp is a time point indicated by a MinuteOftheYear field in the first map message.
In a possible implementation of the fourth aspect, the time attribute of the map element information is null when the map element information is permanently valid.
In a possible implementation of the fourth aspect, the time attribute indicates a plurality of time periods, and within each of the plurality of time periods, map element information corresponding to the time period remains unchanged.
In a possible implementation of the fourth aspect, two groups of map element information respectively corresponding to two adjacent time periods in the plurality of time periods are different.
In a possible implementation of the fourth aspect, the time attribute further indicates confidence of each of the plurality of time periods.
In a possible implementation of the fourth aspect, the processing unit is further configured to plan a navigation route based on the map element information and the time attribute.
According to a fifth aspect, an embodiment provides an apparatus. The apparatus includes a processor and a memory. The processor and the memory are connected or coupled together through a bus. The memory is configured to store program instructions. The processor invokes the program instructions in the memory, to perform the method according to any one of the first aspect or the possible implementations of the first aspect.
According to a sixth aspect, an embodiment provides an apparatus. The apparatus includes a processor and a memory. The processor and the memory are connected or coupled together through a bus. The memory is configured to store program instructions. The processor invokes the program instructions in the memory, to perform the method according to any one of the second aspect or the possible implementations of the second aspect.
According to a seventh aspect, an embodiment provides a computer-readable storage medium. The computer-readable storage medium stores program code to be executed by an apparatus. The program code includes instructions for performing the method according to any one of the first aspect or the possible implementations of the first aspect.
According to an eighth aspect, an embodiment provides a computer-readable storage medium. The computer-readable storage medium stores program code to be executed by an apparatus. The program code includes instructions for performing the method according to any one of the second aspect or the possible implementations of the second aspect.
According to a ninth aspect, an embodiment provides a computer software product. The computer program software product includes program instructions, and when the computer software product is executed by an apparatus, an apparatus performs the method according to any one of the first aspect or the possible embodiments of the first aspect. The computer software product may be a software installation package. When the method provided in any possible design of the first aspect needs to be used, the computer software product may be downloaded and executed on the apparatus, to implement the method according to any one of the first aspect or the possible implementations of the first aspect.
According to a tenth aspect, an embodiment provides a computer software product. The computer program software product includes program instructions, and when the computer software product is executed by an apparatus, an apparatus performs the method according to any one of the second aspect or the possible embodiments of the second aspect. The computer software product may be a software installation package. When the method provided in any possible design of the first aspect needs to be used, the computer software product may be downloaded and executed on the apparatus, to implement the method according to any one of the second aspect or the possible implementations of the second aspect.
To describe technical solutions in embodiments more clearly, the following briefly describes the accompanying drawings for describing embodiments. It is clear that the accompanying drawings in the following descriptions show merely some embodiments, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
The terms used in embodiments are merely for the purpose of illustrating specific embodiments, and are not intended to limit this disclosure. In the specification and claims in embodiments, the terms “first”, “second”, and the like are intended to distinguish between different objects but do not indicate a particular order of the objects.
The road side apparatus is a key device for implementing smart road and cooperative vehicle infrastructure system. A road side facility may include an apparatus like a road side unit RSU, a multi-access edge computing (MEC), or a sensor. For example, the road side apparatus may be an RSU, a MEC, or a sensor, or may be a system including an RSU and a MEC, or may be a system including an RSU and a sensor, or may be a system including an RSU, a MEC, and a sensor.
The road side sensing device is configured to collect road information and road traffic information. The road side sensing device may be a camera, a laser radar, a millimeter-wave radar, or the like. The cloud device may be a service center computer, a computing device, or the like. The cloud device may be configured to: collect real-time information of a traffic road condition, and process and analyze the collected real-time information of the traffic road condition.
The terminal is a device that supports an LTE-V2X communication function. For example, the terminal may be a vehicle. For example, the vehicle may be generally a transportation means like a car, an automobile, a tourist bus, a bicycle, a tricycle, an electric vehicle, or a truck. Alternatively, the terminal may be an on-board unit (OBU), a user mobile phone, a tablet, an intelligent wearable device (for example, a sports band or a watch), a computer with a wireless receiving function, or the like. The terminal may receive a map message broadcast or multicast by the road side apparatus, and the map message may be used to assist a user in route planning. It should be noted that the terminal may also be referred to as a vehicle side apparatus.
It should be noted that the communication system shown in
It should be noted that
It should be noted that, for ease of description, the following describes the solution by using an example in which the road side apparatus is an RSU and the terminal is a vehicle. However, in embodiments, the road side apparatus is not limited to only the RSU, and the terminal is not limited to only the vehicle.
The RSU may send a MAP1 message to the terminal. The MAP1 message indicates map data of a local area. The MAP1 message includes a node, a road section, and a lane of the local area. The node may be an intersection, a ramp entrance, an endpoint of the road section, or the like. Attributes of the node include an ID, a location, a prohibited zone, an upstream road section set connected to the node, and the like. Further, the upstream road section set includes a plurality of road sections. One road section represents a directed line segment between two nodes, namely, a road from one node to another adjacent node. Attributes of the road section include an upstream node ID, a road speed limit, a road width, a connection relationship between the road section and a downstream road section, a lane set included in the road section, and the like. Further, one road section includes at least one lane, and each lane has a unique ID. Attributes of the lane include a lane ID, a lane speed limit, and a lane sharing attribute (briefly referred to as “sharing”), allowed turning behavior (briefly referred to as “turning”), a connection relationship set between the lane and a downstream lane, and the like. The allowed turning behavior includes one or more of going straight, turning right, and turning left.
It should be noted that the map data includes a plurality of map elements, for example, a node-level map element, a road-level map element, and a lane-level map element. Each map element has a plurality of attributes or statuses. The attribute or the status of the map element may also be referred to as map element information, which describes the map element.
It can be learned from
To resolve the foregoing problem, an embodiment provides a MAP2 message. The MAP2 message can indicate a valid period of map element information, to prevent a vehicle from making an incorrect decision on route planning. This improves travel efficiency of a vehicle owner.
A time attribute is added to the MAP2 message based on the MAP1 message. The time attribute indicates the valid period of the map element information, and therefore the MAP2 message can indicate dynamic map data. The time attribute is added based on the MAP1 message in at least the following two manners.
A first manner is first described below.
Specifically, the map data includes a plurality of map elements, and some of the plurality of map elements may dynamically change with time. Therefore, the time attribute of the map element information is set in the MAP2 message, and the time attribute of the map element information indicates the valid period of the map element information. It should be noted that a map element change means that the map element information of the map element changes.
At a node layer, changeable map element information may be a prohibited zone or the like. At a road section layer, changeable map element information may be a road speed limit, a road width, a quantity of lanes in a lane set of the road section, or the like. At a lane layer, changeable map element information may be a lane sharing attribute, allowed turning behavior, a connection relationship between a lane and a downstream lane, a lane speed limit, or the like.
The time attribute of the map element information may be represented by one or more of a start time and an end time. The start time indicates a start moment or an effective moment of the map element information, and the end time indicates a stop moment or an ineffective moment of the map element information.
It should be noted that the start time and the end time are represented in the following two manners, namely, a manner A and a manner B.
Manner A: Both the start time and end time may be represented in an absolute time manner.
Specifically, both the start time and the end time are represented by absolute moments. For example, the map element information is turning, and duration of the turning is described by using the start time to the end time. It is assumed that the lane 1 allows turning right at any moment on month B date C, year A, but supports going straight only at 17:00:00 p.m. to 19:00:00 p.m., month B date C, year A. In this case, the manner A may be represented as a schematic diagram of time description of the MAP2 message shown in
In some possible embodiments, a timestamp may be used to represent common year-month-day information, and the start time may represent only a start moment. Similarly, the end time may represent only a stop moment. Therefore, a length of a message can be reduced, and air interface overheads can be reduced. For example,
In some possible embodiments, the time attribute of the map element information further includes time confidence. The time confidence indicates credibility or accuracy of the time attribute of the map element information. Refer to
In a specific implementation, when the time attribute of the map element information is represented only by the end time, it indicates that the start time of the map element information is a moment for sending the MAP2 message by default, and the map element information starts from the moment for sending the MAP2 message and ends at a moment indicated by the end time of the map element information.
In another specific implementation, when the time attribute of the map element information is represented only by the start time, it indicates that the map element information starts from a moment indicated by the start time, and duration of the map element information is not limited, which is equivalent to that the end time of the map element is not limited. It should be noted that the start time may be the moment for sending the MAP2 message. In some possible embodiments, the start time may alternatively be a moment later than the moment for sending the MAP 2 message. This is not specifically limited in embodiments.
Manner B: Both the start time and the end time may be represented in a relative time manner.
Specifically, the start time may be represented by the timestamp and first relative duration, and the end time may be represented by the timestamp and second relative duration. The timestamp may also be referred to as reference time. The first relative duration indicates duration of the start time of the map element information relative to the timestamp, the second relative duration indicates duration of the end time of the map element information relative to the timestamp, and the timestamp indicates the moment for sending the MAP2 message. The three parameters, namely, the timestamp, the first relative duration, and the second relative duration, are included in the MAP2 message.
For example,
In a specific implementation, when the time attribute of the map element information includes only the first relative duration, the start time of the map element may be determined based on the timestamp and the first relative duration, and indicates that the map element information is valid from a moment to which the first relative duration is from the timestamp, but duration of the map element information is not limited. For example, it is assumed that the lane 1 supports turning right at any moment and supports going straight from 11:30:00 a.m. If the MAP2 message is designed based on
In a specific implementation, when the time attribute of the map element information includes only the second relative duration, the end time of the map element may be determined based on the timestamp and the second relative duration, and a start time of the valid period of the map element information is a moment indicated by the timestamp in the MAP2 message by default. The end time of the map element information is a moment to which the second relative duration is from the timestamp. For example, it is assumed that the lane 1 supports turning right at any moment and supports going straight in a time period from 11:00:00 a.m. to 11:30:00 a.m. If the MAP2 message is designed based on
It should be noted that, if a time attribute of a piece of map element information is null, it indicates that a valid period of the map element information is not limited. In other words, the map element information is permanently valid.
For example, in
A second manner is described below.
Specifically, in a node-road section-lane structure, any map element includes a plurality of pieces of map element information, and a status change time point of each piece of map element information of the any map element is used as a baseline to represent a status change of the map element over time.
In a specific implementation, the time attribute includes a plurality of status change time points. For example, the plurality of status change time points may be a first time point and a second time point. The first time point is an initial time point of the plurality of status change time points, and the second time point is an adjacent time point of the first time point. The first time point corresponds to map element information 1, and the first time point is also a start time point of a valid period of the map element information 1. The second time point corresponds to map element information 2, and the second time point is also a time point at which the map element information 2 changes. The map element information 2 is map element information that is in the map element information 1 and that changes at the second time point. In other words, the map element information 2 is map element information that is in the map element information 1 and that needs to be updated at the second time point. In this case, other map element information that is in the map element information 1 and that does not need to be updated at the second time point remains unchanged.
The lane layer is used as an example. It is assumed that a dynamic change of a related attribute of the lane 1 in map data in a time period T0-T3 is shown in (1) of
Alternatively, for the related settings of the lane 1 shown in (1) in
Alternatively, for related settings of the lane 1 shown in (1) in
If the dynamic change of the lane shown in (1) in
As shown in (2) in
In a specific implementation, the status change time point, for example, T0, T1, T2, and T3 in
In some possible embodiments, the MAP2 message may further include time confidence of each status change time point, and the time confidence indicates accuracy of the status change time point. For example, time confidence of T1 is used as an example. In (2) of
In some possible embodiments, if the MAP2 message is designed in the foregoing first manner, the dynamic change of the lane shown in (1) in
It should be noted that, in addition to the lane layer in the node-road section-lane three-layer structure of the MAP2 message, the foregoing two manners may be applied to the node layer and the road section layer of the MAP2 message. For example, at the node layer, a time attribute can be set to indicate a valid period of the prohibited zone. For another example, at the road section layer, a time attribute may be separately set to indicate a valid period of one or more map elements in a speed limit of the road section, a connection relationship between the road section and a downstream road section, a quantity of lanes in the lane set, and the like. It should be noted that time attributes of map element information of two map elements, namely, the road section and the lane, in the MAP2 message are associated. For example, a time attribute of map element information of the connection relationship (or referred to as a road section connection relationship) between the road section and the downstream road section in the road section layer is related to a time attribute of map element information of a connection relationship (or referred to as a lane connection relationship) between a lane and a downstream lane in the lane layer, and the time attribute of the map element information of the lane connection relationship in the lane layer is related to a time attribute of map element information of turning of the lane in the lane layer. Therefore, the time attribute of the map element information of the road section connection relationship in the road section layer is also related to the time attribute of the map element information of the turning of the lane in the lane layer. Specifically, the time attribute of the map element information of the lane connection relationship in the lane layer is consistent with the time attribute of the map element information of the turning of the lane in the lane layer, and the time attribute of the map element information of the connection relationship between the road sections in the road section layer is consistent with the time attribute of the map element information of the lane connection relationship in the lane layer.
A specific example is used to indicate that, that the time attribute of the map element information of the lane connection relationship in the lane layer is consistent with the time attribute of the map element information of the turning of the lane in the lane layer means: It is assumed that a time attribute of the turning “going straight” of the lane 1 is 9:00 a.m. to 11:00 a.m., and a time attribute of the turning “turning right” of the lane 1 is 9:00 a.m. to 12:00 a.m. If a lane connection relationship corresponding to “turning right” is “lane 1-lane 2”, and a lane connection relationship corresponding to “going straight” is “lane 1-lane 3”, it may be understood that a time attribute corresponding to the lane connection relationship, namely, “lane 1-lane 2”, is 9:00 a.m. to 12:00 a.m., and a time attribute corresponding to the lane connection relationship, namely, “lane 1-lane 3”, is 9:00 a.m. to 11:00 a.m. Therefore, it can be noted that the turning of the lane is associated with the lane connection relationship, and when the turning of the lane changes, the lane connection relationship also changes.
In some possible embodiments, in addition to using either of the foregoing two manners to set the MAP2 message, both of the foregoing manners may be used to set the MAP2 message. In a specific implementation, time attributes at different layers in the node-road section-lane three-layer structure of the MAP2 message may be represented in different manners. For example, at the node layer and the road section layer, the time attribute may be added to indicate the valid period of the map element information, to represent a status change of the map element information of the node layer and the road section layer (namely, the first manner), and at the lane layer, a status change time point of each map element information may be used as a baseline to represent a status change of the lane (namely, the second manner). In another specific implementation, a time attribute at a same layer in the node-road section-lane three-level structure may be represented in different manners. For example, if a node corresponds to two lanes, at the lane layer, a time attribute may be added to one of the lanes to indicate the valid period of the map element information, to represent a status change of the lane, and on another lane, the status change time point of each map element information is used as a baseline to represent a status change of the another lane. This is not specifically limited in embodiments.
S101: A road side apparatus obtains a first map message.
In this embodiment, the road side apparatus obtains the first map message. The first map message includes map element information describing a map element, and a time attribute of the map element information, the map element includes at least one of a node-level map element, a road-level map element, or a lane-level map element, and the map element information includes at least one of node-level map element information, road-level map element information, or lane-level map element information. For specific descriptions of the road side apparatus, refer to the related descriptions in the foregoing embodiment.
In a specific implementation, that the road side apparatus obtains the first map message may be: The road side apparatus receives the first map message. For example, the road side apparatus is a device having a communication function, for example, an RSU, a road side sensor, or the like.
In another specific implementation, that the road side apparatus obtains the first map message may be: The road side apparatus generates the first map message. For example, the road side apparatus may be an RSU, an MEC, or the like. In this case, the road side apparatus may first obtain historical and real-time status information of a road from a road side sensing device sensor (for example, a camera, a laser radar, or the like) that can communicate with the road side apparatus, process and analyze the historical and real-time status information to obtain information indicating a time attribute of a map element, and finally generate the first map message. The first map message includes the time attribute corresponding to the map element.
It should be noted that the first map message is the MAP2 message in the foregoing embodiments, and the map element information in the first map message is an attribute of the map element in the MAP2 message in the foregoing embodiments. Specifically, in the first map message, the node-level map element may be an intersection, a ramp entrance, or an endpoint of a road section. The node-level map element information includes at least one of a prohibited zone, a location, an ID, and the like. The road-level map element may be a road (which is also referred to as a road section), the road is an infrastructure for various trackless vehicles and pedestrians to pass through, and each road may include a plurality of lanes. The road-level (which is also referred to as road section level) map element information includes at least one of a road speed limit, a road width, a connection relationship between a road section and a downstream road section, a lane set included in the road section, and the like. The lane-level map element may be a lane, and the lane is a part that is on a carriageway and that is used for a single column of vehicles to travel. The lane-level map element information includes at least one of a lane speed limit, a lane sharing attribute, allowed turning behavior, a connection relationship between a lane and a downstream lane, and the like.
In some possible embodiments, the time attribute indicates a valid period of the map element information, and the time attribute includes at least one of confidence of the valid period, or a valid start time, a valid end time, or valid duration of the map element information. It should be noted that the valid start time is the start time in the foregoing embodiments, and the valid end time is the end time in the foregoing embodiments. For representation manners of the valid start time and the valid duration, refer to the manner A and the manner B in the foregoing embodiment. For brevity of this specification, details are not described herein again. This embodiment corresponds to the first manner in the foregoing embodiment. For details, refer to the related descriptions of the first manner.
In some possible embodiments, the valid duration is duration of the map element information that is based on a timestamp, and the timestamp is a time point indicated by a MinuteOftheYear field in the first map message. It may be understood that, an end time of the valid period of the map element information may be represented based on the timestamp and the valid duration. In another specific implementation, a start time of the valid period of the map element information may alternatively be represented based on the timestamp and the valid duration. This is not specifically limited in embodiments.
In a specific implementation, in the first map message, when a piece of map element information is permanently valid, the time attribute of the map element information is null. Therefore, a length of the first map message can be reduced, and air interface overheads can be reduced.
In some possible embodiments, the time attribute further indicates a plurality of time periods, and within each of the plurality of time periods, map element information corresponding to the time period remains unchanged within the time period. This embodiment corresponds to the second manner in the foregoing embodiment. For details, refer to the related descriptions of the second manner.
For example, refer to (2) in
It may be understood that two groups of map element information corresponding to two adjacent time periods in the plurality of time periods indicated by the time attribute are different. It is assumed that a time period 1 is adjacent to a time period 2, the time period 1 corresponds to a first group of map element information, and the time period 2 corresponds to a second group of map element information. In this case, the second group of map element information is different from the first group of map element information. Specifically, there may be at least one of the following cases: Compared with the first group of map element information, in the second group of map element information, the map element information is changed, map element information is added, or the map element information is reduced.
For example, in (1) in
For another example, compared with the first group of map element information, in the second group of map element information, that map element information is added may be as follows: It is assumed that the time period 1 and the time period 2 are adjacent time periods, the first group of map element information corresponding to the time period 1 includes “turning=going straight+turning right” and “sharing=motorcycle”, and the second group of map element information corresponding to the time period 2 includes “turning=going straight+turning right”, “speed limit=80 km/h”, and “sharing=motorcycle”. It can be learned that, compared with the first group of map element information, in the second group of map element information, the map element information “speed limit=80 km/h” is added.
For another example, compared with the first group of map element information, in the second group of map element information, that the map element information is reduced may be as follows: It is assumed that the time period 1 and the time period 2 are adjacent time periods, the first group of map element information corresponding to the time period 1 includes “turning=going straight+turning right”, “speed limit=80 km/h”, and “sharing=motorcycle”, and the second group of map element information corresponding to the time period 2 includes “turning=going straight+turning right”, “speed limit=”, and “sharing=motorcycle”. It can be learned that the “speed limit” in the second group of map element information is set to null, which indicates that the speed limit is not limited in the time period 2. That is, compared with the first group of map element information, in the second group of map element information, the map element information “speed limit=80 km/h” is removed.
In a specific implementation, the time attribute further indicates confidence of each of the plurality of time periods. The credibility of the time period indicates credibility that the map element information corresponding to the time period remains unchanged in the time period.
S102: The road side apparatus sends the first map message.
In this embodiment, the road side apparatus may send the first map message in any one of a broadcast, multicast, or unicast mode, so that a terminal receiving the first map message obtains the map element information and the time attribute.
In a specific implementation, a moment at which the road side apparatus sends the first map message may be an obtaining moment of the first map message, that is, the first map message is immediately sent after being generated. Alternatively, the moment at which the first map message is sent may be a preset moment. This is not specifically limited in embodiments.
In a specific implementation, the road side apparatus may periodically and repeatedly send the first map message, and a moment at which the first map message is sent for the first time may be the obtaining moment of the first map message.
In some possible embodiments, after the first map message is generated, if the map element changes, the road side apparatus sends a second map message in response to the change. Compared with the first map message, at least one of the map element information or the time attribute changes in the second map message. In another specific implementation, the road side apparatus may periodically and repeatedly send the second map message, and a moment at which the second map message is sent for the first time is determined based on a change moment of the map element.
S103: The terminal obtains the map element information and the time attribute from the first map message.
In this embodiment, the terminal receives the first map message from the road side apparatus, and obtains the map element information and the time attribute based on the first map message.
The map element information describes the map element, the time attribute may indicate the valid period of the map element information, and the time attribute includes at least one of the confidence of the valid period, or the valid start time, the valid end time, or the valid duration of the map element information. For the valid start time, the valid end time, the valid duration, and the like, refer to the related descriptions in S101. Details are not described herein again.
In some possible embodiments, the time attribute indicates a plurality of time periods, and within each of the plurality of time periods, map element information corresponding to the time period remains unchanged within the time period. In a specific implementation, the time attribute further indicates confidence of each of the plurality of time periods.
In conclusion, based on the first map message from the road side apparatus, the terminal may learn accurate map data, namely, the map element information and the valid period of the map element information, in a timely manner.
It can be learned that, in embodiments, a map message that carries the time attribute and that is sent by the road side apparatus can effectively improve timeliness and accuracy of the map element information in the map message. In addition, the terminal receives the map message sent by the road side apparatus, to learn accurate the map element information in a timely manner and master a change status of the map element information in a timely manner.
S201: The MEC obtains information indicating a time attribute.
In this embodiment, the MEC obtains the information indicating the time attribute. The time attribute indicates a valid period of map element information. The MEC may be connected to and communicate with a plurality of road side sensing devices. For specific descriptions of the MEC and the map element information, refer to the related descriptions in
In a specific implementation, the MEC obtains, based on status data obtained from the road side sensing device or a cloud device, the information indicating the time attribute. The status data includes a topology relationship between an intersection, a road section, and a lane in a local area, a lane attribute, and a real-time traffic road condition (for example, congestion on a road section, collision of a vehicle in a lane, or the like). The MEC may analyze and process the status data by using an artificial intelligence (AI) algorithm, to predict a valid period of each map element in map data, thereby obtaining the information indicating the time attribute. It should be noted that the AI algorithm may be a long short-term memory (LSTM) network, a random forest algorithm, an autoregressive integrated moving average model (ARIMA) algorithm, or the like. This is not specifically limited in this disclosure.
The status data may be from the road side sensing device (for example, a camera, a laser radar, a millimeter-wave radar, or the like) connected to the MEC, or may be from the cloud device that may communicate with the MEC, or may be from both the road side sensing device and the cloud device. It should be noted that the status data may be at least one of historical data and real-time data. This is not specifically limited in embodiments.
In another specific implementation, that the MEC obtains the information indicating the time attribute means that the MEC receives the information that indicates the time attribute and that is sent by the cloud device. The cloud device (for example, a cloud server) may receive road information (for example, the topology relationship between an intersection, a road section, and a lane, and the lane attribute) and road traffic information (for example, a real-time traffic road condition or a historical traffic road condition) that are sent by the road side sensing device. In other words, it is equivalent to that the status data is stored in a cloud, and the cloud device processes and analyzes the status data by using the foregoing AI algorithm, to predict the valid period (which is also referred to as the time attribute) of each map element in the map data, and sends the information indicating the time attribute to the MEC.
S202: The MEC generates a first map message, where the first map message includes the time attribute.
In this embodiment, after obtaining the information indicating the time attribute, the MEC generates the first map message based on a correspondence between the time attribute and the map element information. The first map message includes the map element information and the time attribute. The map element information describes the map element, and the time attribute indicates the valid period of the map element information. It should be noted that the first map message in S202 is the MAP2 message in the foregoing embodiment. For a specific process of generating the first map message, refer to the related descriptions of the MAP2 message in the foregoing embodiment. For brevity of this specification, details are not described herein again.
S203: The road side apparatus sends the first map message.
In this embodiment, after the first map message is generated, the road side apparatus sends the first map message to the outside, so that the vehicle that receives the first map message replans a navigation route. The first map message may be sent in any one of a broadcast, multicast, or unicast mode. Correspondingly, the vehicle receives the first map message from the road side apparatus, and may perform operations such as planning and decision-making on a route based on the received first map message.
In some possible embodiments, after the MEC generates the first map message, the MEC first sends the first map message to an RSU in the road side apparatus, and then the RSU sends the first map message to at least one vehicle in a range in which the RSU is located.
The MEC may send the first map message in any one of the following manners.
In a specific implementation, after the first map message is generated, the first map message is immediately sent, that is, a moment for sending the first map message is a generation moment of the first map message.
In another specific implementation, the first map message may be periodically and repeatedly sent, and a moment at which the first map message is sent for the first time may be the generation moment of the first map message or a preset moment.
For example,
For example,
In some possible embodiments, after sending the first map message, the MEC may further send a second map message in response to a change of the map element. Compared with the first map message, at least one of the map element information or the time attribute changes in the second map message, and a moment for sending the second map message is determined based on a change moment of the map element.
For example,
It should be noted that the time attribute in the first map message includes a description of a future time period of the map element. Therefore, the moment at which the first map message is sent for the first time should be earlier than the future time period, so that the vehicle can be reminded in advance that the map data is to change, and good prewarning effect is provided.
S204: The vehicle obtains the map element information and the time attribute based on the first map message. For details of this step, refer to the related descriptions of S103 in
S205: The vehicle plans a navigation route based on the map element information and the time attribute.
In this embodiment, the vehicle may plan the navigation route based on the map element information and the time attribute that are in the first map message, to avoid, in the navigation route, a road or a lane that is not allowed to pass through at a corresponding moment.
For example,
In some possible embodiments, the time attribute may further include time confidence. When the time confidence is greater than a preset threshold, for example, when the time confidence is 100%, it indicates that a time attribute corresponding to the time confidence has high credibility, and the first map message may directly affect a decision making on the navigation route of the vehicle. When the time confidence is less than or equal to the preset threshold, for example, when the time confidence is 20%, it indicates that the time attribute corresponding to the time confidence has low credibility. Therefore, when planning the navigation route, the vehicle needs to reference the first map message, and further needs to comprehensively analyze and process, in combination of information about a road condition ahead sent by another vehicle, a road traffic event sent by the cloud device, and the like, the information, to plan the navigation route.
It should be noted that, that the vehicle plans the navigation route based on the received first map message is merely an example of a scenario provided in embodiments. In some possible embodiments, the first map message generated in embodiments may be further used in a field like an advance driver assistant system (ADAS), an automated driving system (ADS), or the like, to assist in guiding an autonomous vehicle to make a correct driving decision as much as possible.
It can be learned that, in embodiments, the time attribute is set in the map message, so that timeliness and accuracy of the map element information in the map message can be effectively improved, and the vehicle that receives the map message can obtain accurate map data in a timely manner. This helps improve a route planning decision-making capability of the vehicle.
S301: The RSU receives a first map message.
In this embodiment, the RSU receives the first map message. For descriptions of the first map message, refer to the related descriptions of the first map message in S101 in
The first map message received by the RSU may be from a cloud computing device, a MEC, a CU, or another sensor or apparatus integrated with a MEC or a CU. The MEC is used as an example. The MEC generates the first map message based on S202, and sends the first map message to the RSU. Correspondingly, the RSU receives the first map message.
S302: The RSU sends the first map message. For details of this step, refer to the related descriptions of S203 in the embodiment of
S303: The vehicle plans a navigation route based on the first map message.
For details, refer to the related descriptions of S204 and S205 in the embodiment of
It can be learned that, in embodiments, the road side unit sends a map message carrying a time attribute, so that not only timeliness and accuracy of map element information in the map message are improved, but also the vehicle obtains accurate map data in a timely manner. This helps improve a route planning decision-making capability of the vehicle.
In embodiments, the apparatus 30 is configured to implement the method performed by the road side apparatus described in the foregoing embodiment of
The receiver 112 may be configured to obtain a first map message. In some possible embodiments, the receiver 112 may be further configured to receive road information, road condition information, and the like that are sent by a road side sensing device (for example, a camera, a laser radar, or the like) or a cloud device. The transmitter 113 is configured to send the first MAP message. In some possible embodiments, the transmitter 113 may be further configured to send a second map message. Compared with the first map message, at least one of map element information or a time attribute changes in the second map message. The receiver 112 and the transmitter 113 may include an antenna and a chip set that are configured to communicate with a device, a sensor or another entity device in a vehicle directly or through an air interface. The transmitter 113 and the transceiver 112 form a communication module. The communication module may be configured to receive and send information based on one or more other types of wireless communication (for example, protocols), and the wireless communication is, for example, Bluetooth, IEEE 802.11 communication protocols, a cellular technology, Worldwide Interoperability for Microwave Access (WiMAX) or LTE, a ZigBee protocol, dedicated short-range communications (DSRC), or radio-frequency identification (RFID) communication. In some possible embodiments, the communication module may alternatively be a wired interface, for example, an Ethernet interface, a local interconnect network (LIN), or the like. This is not specifically limited in embodiments.
In some possible embodiments, the processor 110 may be configured to generate the first map message including the map element information and the time attribute, for example, perform the step shown in S202 in
The memory 111 may include a volatile memory, such as a random-access memory (RAM). Alternatively, the memory 111 may include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD). Alternatively, the memory 111 may include a combination of the foregoing types of memories. The memory 111 may store a program and data. The stored program includes a map message generation program, a time setting algorithm, and the like, and the stored data includes the first map message, a sending period, the time attribute, the map element information, and the like. The memory 111 may exist independently, or may be integrated into the processor 110.
In addition,
In embodiments, the apparatus 40 is configured to implement the method on the terminal side described in the embodiment of
The receiver 212 may be configured to receive a first map message. The receiver 212 may be a wireless interface, for example, a cellular network interface or a wireless local area network interface.
The processor 210 is configured to obtain map element information and a time attribute based on the first map message. The processor 210 may include one or more general-purpose processors, for example, a CPU, or a combination of a CPU and a hardware chip. The hardware chip may be an ASIC, a PLD, or a combination thereof. The PLD may be a CPLD, an FPGA, a GAL, or any combination thereof.
The memory 211 may include a volatile memory, such as a RAM. Alternatively, the memory 111 may include a non-volatile memory, such as a ROM, a flash memory, an HDD, or an SSD. Alternatively, the memory 111 may include a combination of the foregoing types of memories. The memory 211 may store a program and data. The stored program includes a map message parsing program and the like, and the stored data includes a navigation map, the first map message, the time attribute, the map element information, and the like. The memory 211 may exist independently, or may be integrated into the processor 110.
In addition,
The obtaining unit 310 is configured to obtain a first map message. The first map message includes map element information describing a map element, and a time attribute of the map element information, the map element includes at least one of a node-level map element, a road-level map element, or a lane-level map element, and the map element information includes at least one of node-level map element information, road-level map element information, or lane-level map element information. The sending unit 311 is configured to send the first map message.
Function modules of the apparatus 31 may be configured to implement the method described in the embodiment of
The function modules of the apparatus 31 may be further configured to implement the methods described in the embodiments of
The receiving unit 411 is configured to receive a first map message. The first map message includes map element information describing a map element, and a time attribute of the map element information, the map element includes at least one of a node-level map element, a road-level map element, or a lane-level map element, and the map element information includes at least one of node-level map element information, road-level map element information, or lane-level map element information. The processing unit 410 is configured to obtain the map element information and the time attribute based on the first map message. In the embodiment of
Function modules of the apparatus 41 may be configured to implement the method described in the embodiment of
The function modules of the apparatus 41 may be further configured to implement the methods described in the embodiments of
In the foregoing embodiments in this specification, the description of each embodiment has respective focuses. For a part that is not described in detail in an embodiment, refer to related descriptions in other embodiments.
It should be noted that a person of ordinary skill in the art may learn that, all or some of the steps in methods of the foregoing embodiments may be implemented by a program instructing related hardware. The program may be stored in a computer-readable storage medium. The storage medium includes a ROM, a RAM, a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OOTPROM), an electrically-erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or another optical disk memory, magnetic disk memory, magnetic tape memory, or any other computer-readable medium that can be configured to carry or store data.
The technical solutions essentially, or the part contributing to the conventional technology, or all or some of the technical solutions may be implemented in a form of a software product. The computer software product is stored in a storage medium and includes several instructions for instructing a device (which may be a personal computer, a server, or a network device, a robot, a single-chip microcomputer, a chip, a robot, or the like) to perform all or some of the steps of the methods described in embodiments.
Number | Date | Country | Kind |
---|---|---|---|
202110303026.3 | Mar 2021 | CN | national |
This is a continuation of Int'l Patent App. No. PCT/CN2022/079986, filed on Mar. 9, 2022, which claims priority to Chinese Patent App. No. 202110303026.3, filed on Mar. 22, 2021, both of which are incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2022/079986 | Mar 2022 | US |
Child | 18472013 | US |