A method and apparatus for determining lane phase encoding
By using an automatic lane phase coding identification method, lane phase coding is determined using map data and preset relationships, which solves the problems of low efficiency and high error rate in existing technologies and improves the update efficiency and accuracy of high-precision maps.
Patent Information
- Application Number
- CN202410026981.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-08
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2044-01-08
AI Technical Summary
Existing technologies for determining lane phase coding are inefficient and have a high error rate, leading to longer update cycles and reduced timeliness of high-precision maps.
By acquiring map data, the heading angle of the road at the intersection is determined. The road orientation is determined using a preset correspondence between orientation and heading angle. The target turning information of the lane is obtained. The lane phase code is automatically identified according to a preset correspondence between phase and phase code, and the traffic lights are controlled.
It eliminates the need for manual on-site measurement and configuration, improves the efficiency and accuracy of lane phase coding, and simplifies the update process of high-precision maps.
Smart Images

Figure CN118015859B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent transportation technology, and in particular to a method and apparatus for determining lane phase codes. Background Technology
[0002] Traffic light phases are an effective means of controlling traffic flow at intersections, and their configuration information is also an important component of high-precision maps. In order to better identify phase information, lane phases need to be encoded according to orientation and road turning information.
[0003] In existing technologies, lane phase codes are determined through manual on-site measurement and configuration, which is time-consuming, labor-intensive, inefficient, prone to errors, and also prolongs the update cycle of high-precision maps, reduces the update frequency, and decreases the timeliness of high-precision maps.
[0004] Therefore, improving the efficiency and accuracy of lane phase coding has become an urgent technical problem to be solved. Summary of the Invention
[0005] This specification provides a method and apparatus for determining lane phase codes to solve the problems of low efficiency and high error rate in existing methods for determining lane phase codes.
[0006] To solve the above-mentioned technical problems, the embodiments in this specification are implemented as follows:
[0007] In a first aspect, the embodiments of this specification provide a method for determining lane phase codes, comprising:
[0008] Obtain map data;
[0009] For the intersections in the map data, determine the heading angle of the roads at the intersections;
[0010] The orientation of the road is determined based on the preset correspondence between orientation and heading angle;
[0011] Obtain the target steering information for each lane in the road;
[0012] Based on the target steering information and the orientation, determine the phase of each lane;
[0013] Based on the preset correspondence between phase and phase code, the phase code of each lane in the road is determined so as to control the traffic lights at the intersection using the phase code.
[0014] Secondly, the embodiments of this specification provide an apparatus for determining lane phase codes, comprising:
[0015] Map data acquisition module: used to acquire map data;
[0016] Heading Angle Determination Module: Used to determine the heading angle of the road at the intersection in the map data;
[0017] Orientation determination module: used to determine the orientation of the road according to a preset correspondence between orientation and heading angle;
[0018] Target turning information acquisition module: used to acquire target turning information for each lane in the road;
[0019] Phase determination module: used to determine the phase of each lane based on the target steering information and the orientation;
[0020] Phase code determination module: used to determine the phase code of each lane in the road according to the preset correspondence between phase and phase code, so as to use the phase code to control the traffic lights at the intersection.
[0021] One embodiment of this specification achieves the following beneficial effects: acquiring map data; determining the heading angle of the road at the intersection in the map data; determining the orientation of the road according to a preset correspondence between orientation and heading angle; acquiring target turning information for each lane in the road; determining the phase of each lane according to the target turning information and the orientation; and determining the phase code of each lane in the road according to a preset correspondence between phase and phase code, so as to control the traffic lights at the intersection using the phase code. This application determines the orientation of the road through a preset correspondence between orientation and heading angle, and obtains the phase code of the lanes through a preset correspondence between phase and phase code, thus eliminating the need for manual on-site measurement and configuration, achieving automatic identification of lane phase codes, and improving the efficiency and accuracy of determining lane phase codes. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 A flowchart illustrating a method for determining lane phase codes provided in an embodiment of this specification;
[0024] Figure 2 This diagram illustrates an application scenario of a method for determining lane phase coding provided in the embodiments of this specification.
[0025] Figure 3a This is a schematic diagram illustrating an application scenario that includes the graphic curvature information of an intersection, as provided in the embodiments of this specification.
[0026] Figure 3b This is a schematic diagram illustrating an application scenario including a phase of a lane entering a road, as provided in an embodiment of this specification.
[0027] Figure 3c This is a schematic diagram illustrating an application scenario of phase encoding for a lane entering a road, provided as an embodiment of this specification.
[0028] Figure 4 This is a schematic diagram of a device for determining lane phase codes provided in an embodiment of this specification. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of one or more embodiments of this specification clearer, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this specification, and not all of them. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of one or more embodiments of this specification.
[0030] The technical solutions provided in the various embodiments of this specification are described in detail below with reference to the accompanying drawings.
[0031] In existing technologies, lane phase coding is determined through manual on-site measurement and configuration, which is time-consuming, labor-intensive, inefficient, and prone to errors.
[0032] To address the shortcomings of existing technologies, this solution provides the following embodiments:
[0033] The method for determining lane phase codes provided in the embodiments of the specification will be described in detail with reference to the accompanying drawings.
[0034] Figure 1 This is a flowchart illustrating a method for determining lane phase codes provided in an embodiment of this specification. From a programming perspective, the entity executing the process can be a program mounted on an application server or an application client. From a hardware perspective, the entity executing the process can be a terminal device, a cloud control platform, etc., and this embodiment does not impose any particular limitations on these aspects.
[0035] like Figure 1 As shown, the process may include the following steps:
[0036] Step 110: Obtain map data.
[0037] In the embodiments described in this specification, map data may refer to data from a high-precision map. Map data within a preset range can be obtained as needed.
[0038] Step 120: For the intersection in the map data, determine the heading angle of the road at the intersection.
[0039] In the embodiments of this specification, the identification of intersections in map data can be achieved by pre-importing an intersection identification mechanism. The road at the intersection can refer to the inbound or outbound road connected to the intersection area. Here, the intersection area can refer to the area where different roads intersect on the map. For example, the intersection area can be determined based on lane lines, stop lines, and other relevant information near the junction of different roads on the map.
[0040] Step 130: Determine the orientation of the road according to the preset correspondence between orientation and heading angle.
[0041] In the embodiments of this specification, the obtained heading angle is matched with a preset correspondence between bearing and heading angle to obtain the relative bearing of entering or exiting a road or intersection area. A schematic diagram of the correspondence between bearing and heading angle is shown in Table 1.
[0042] Table 1. Relationship between bearing and heading angle
[0043]
[0044]
[0045] To make it easier to understand, let's take an example. Suppose that the heading angle of the approach road A at the intersection is 70 degrees. As shown in Table 1, 70 degrees is between 67.5 and 112.5 degrees. Therefore, the approach road A is located on the west side of the intersection.
[0046] The correspondence between orientation and heading angle can be defined according to the needs. The relative orientation of the road entering or leaving the road and the intersection area can be defined according to any heading angle interval. For example, it can be defined as four directions: east, south, west, and north, or it can be defined as eight directions: east, southeast, south, southwest, west, northwest, north, and northeast. It can be expanded according to the complexity of the intersection. No specific limitation is made here.
[0047] In practical applications, the correspondence between bearing and heading angle can be manually set, and a preset correspondence between bearing and heading angle can be imported in advance so that the obtained heading angle can be matched with the above correspondence.
[0048] Step 140: Obtain the target steering information for each lane in the road.
[0049] In the embodiments of this specification, target turning information for each lane in the road entering the intersection can be obtained. The turning information includes straight, left turn, right turn, U-turn, etc. One lane can correspond to at least one turning information, such as a left turn lane, a right turn and straight lane, a U-turn and left turn and straight lane, etc.
[0050] Step 150: Determine the phase of each lane based on the target steering information and the orientation.
[0051] In the embodiments of this specification, combining the turning information of each lane with the orientation can generate the phase of each lane, such as East-Straight, West-Left Turn, etc. Each turning information is combined with the orientation to generate a phase. For example, a right turn lane combined with a straight lane and the orientation East can generate two phases: East-Right Turn and East-Straight. That is, one lane can correspond to multiple phases.
[0052] Step 160: Determine the phase code of each lane in the road according to the preset correspondence between phase and phase code, so as to use the phase code to control the traffic lights at the intersection.
[0053] In this embodiment of the specification, the phase of each lane is matched with a preset correspondence between phase and phase code to obtain the phase code for each lane. A schematic diagram of this correspondence between phase and phase code is shown in Table 2.
[0054] Table 2 Relationship between phase and phase encoding
[0055]
[0056] The correspondence between phases and phase codes can be defined according to requirements. By importing the phases and phase codes into the traffic light controller, the working order and duration of each traffic light in each phase can be controlled. In the controller of the corresponding phase, settings can be made for each phase to control the working order and duration of each phase at the intersection.
[0057] In practical applications, a lane can have multiple phase codes. For example, if a lane can go straight and turn right, then the lane corresponds to two phase codes. The correspondence between phases and phase codes can be manually set, and preset correspondences between phases and phase codes can be imported in advance so that the obtained phases can be matched with the above correspondences.
[0058] It should be understood that the order of some steps in the methods described in one or more embodiments of this specification may be interchanged according to actual needs, or some steps may be omitted or deleted.
[0059] Figure 1The method described in this application determines the road's orientation by establishing a pre-defined correspondence between orientation and heading angle, and obtains the lane's phase code by establishing a pre-defined correspondence between phase and phase code. This eliminates the need for manual on-site measurement and configuration, achieving automatic identification of lane phase codes and improving the efficiency and accuracy of determining lane phase codes.
[0060] based on Figure 1 In addition to the method described in the embodiments of this specification, some specific implementation schemes of the method are also provided, which will be described below.
[0061] Optionally, the determination of the heading angle of the road at the intersection as described in the embodiments of this specification may specifically include:
[0062] Obtain road nodes from the map data, where each road node represents a coordinate point where the vehicle collects road information;
[0063] Identify the location information of the road nodes;
[0064] Using the location information, calculate the heading angle of the road at the intersection.
[0065] In the embodiments of this specification, a road node can be represented as the coordinate point of the collection point when the vehicle collects road information, or as the coordinate point of the collection information sent when the vehicle collects road information. The location information of the road node on the map is identified. The location information here can refer to latitude and longitude coordinates. Two road nodes of the road at the intersection can be selected, and the heading angle of the road at the intersection can be calculated.
[0066] Different methods can be used to determine lane steering information. As one implementation method, optionally, the acquisition of target steering information for each lane in the road described in the embodiments of this specification may specifically include:
[0067] Based on the driving relationship between the entering and exiting roads at the intersection, the first turning information of each lane within the intersection area is determined, and the intersection area is connected to the road at the intersection.
[0068] Based on the first steering information, the target steering information for each lane in the road is determined.
[0069] In the embodiments of this specification, intersection information is obtained from map data. Intersection information may include intersection code, entry road code, exit road code, intersection latitude and longitude, etc. By identifying the entry road code and exit road code, the entry road and exit road of the intersection can be determined. Based on the lane code, the lane information of the entry road in the map data can be identified.
[0070] The map data includes a lane connectivity field, which represents the connection relationships between lanes. This field contains the code for the next lane connected to the current lane. For example, if one lane in the entering road is coded as 1, and there are two lanes connected to lane 1 in the intersection area, coded as 2 and 3 respectively, then the connectivity field for lane 1 will contain codes 2 and 3. Therefore, using the lane connectivity field in the map data, we can obtain the lanes in the intersection area connected to lanes in the entering road. Based on the driving relationships between each lane in the entering road and the exit road in the map data, we can determine the first turning information for each lane in the intersection area. If an entering lane in the entering road is connected to one lane in the intersection area, the target turning information for each lane in the entering road can be obtained based on one first turning information. If an entering lane in the entering road is connected to multiple lanes in the intersection area, the first turning information can be merged based on the connectivity relationships between the lanes in the intersection area and the lanes in the entering road to obtain the target turning information for each lane in the entering road.
[0071] Figure 2 This is a schematic diagram illustrating an application scenario of a method for determining lane phase coding provided in the embodiments of this specification.
[0072] To make it easier to understand, let's take an example, such as... Figure 2 As shown, the intersection area is determined based on the stop line. The intersection area connects to the entering and exiting roads. The roads at the intersection include entering roads A, B, C, and D, and exiting roads A', B', C', and D'. Entering road A includes two entering lanes, a1 and a2. Using map data, the driving relationships between entering lane a1 and exiting roads A', B', C', and D' are obtained. Assuming that within the intersection area, the driving relationship between entering lane a1 and exiting road A' is a U-turn (i.e., the first turning information for lane L1 within the intersection area is a U-turn), and the driving relationship between entering lane a1 and exiting road B' is a left turn (i.e., the first turning information for lane L2 within the intersection area is a left turn), the relationship between entering lane a1 and exiting road B' is... There is no driving relationship between road C' and the entering lane a1 and the exit lane D'. Both lanes L1 and L2 are connected to the entering lane a1. The turning information of the two lanes in the intersection area can be merged to obtain the target turning information of the entering lane. The first turning information of lane L1 (U-turn) and the first turning information of lane L2 (left turn) are merged to obtain the target turning information of the entering lane a1, which is a U-turn plus a left turn. That is, the vehicle can make both a U-turn and a left turn on the entering road a1. Similarly, the target turning information of the entering lane a2 can be determined.
[0073] Alternatively, as an alternative implementation, the acquisition of target steering information for each lane in the road described in the embodiments of this specification may specifically include:
[0074] Based on the graphic curvature information on the map data, the second turning information of each lane in the intersection area is determined, wherein the graphic curvature information represents the lane centerline, and the intersection area is connected to the road at the intersection;
[0075] Based on the second steering information, the target steering information for each lane in the road is determined.
[0076] In the embodiments of this specification, graphic curvature information can represent the driving direction of a lane. Graphic curvature information can include the curvature of a graphic within a certain area. A graphic can refer to a line, and one graphic can represent one lane. Based on the curvature of the graphic within the intersection area, the second turning information for each lane within the intersection area can be determined. If an entering lane in the road is connected to a lane within the intersection area, the target turning information for each lane in the road can be obtained based on one second turning information. If an entering lane in the road is connected to multiple lanes within the intersection area, multiple second turning information can be merged based on the connection relationship between the graphic within the intersection area and the graphic outside the intersection area to obtain the target turning information for each lane in the road.
[0077] Furthermore, optionally, the method described in this embodiment for determining the second turning information of each lane within the intersection area based on the graphic curvature information on the map data may specifically include:
[0078] Calculate the difference between the heading angle of the road entering the intersection and the heading angle of the road exiting the intersection;
[0079] Based on the preset correspondence between the difference in heading angles and the steering information, the second steering information for each lane in the intersection area is determined.
[0080] In the embodiments of this specification, the curvature information of the graphic can be determined by the heading angle. Based on the road nodes of each lane in the road, the heading angle of each lane in the road is calculated. Based on the road nodes of each lane in the road, the heading angle of each lane in the road is calculated. Each graphic represents one lane. The difference between the heading angle of the lane in the road and the heading angle of the lane out of the road for each graphic is calculated, thereby determining the curvature of the graphic within the intersection area.
[0081] The obtained heading angle difference is matched with the preset correspondence between heading angle difference and steering information, thereby determining the second steering information for each lane in the intersection area based on the curvature of the graphic within the intersection area. A schematic diagram of the correspondence between the heading angle difference and steering information is shown in Table 3.
[0082] Table 3. Relationship between the difference in heading angle and steering information.
[0083] Turning information Range of heading angle differences U-turn -180° to -145° or 145° to 180° (excluding endpoints) Turn right 10°~100° (excluding endpoints) Turn left -10° to -110° (excluding endpoints) straight -145° to -110° or -10° to 10° or 100° to 145° (inclusive of endpoints)
[0084] The correspondence between the difference in heading angle and the steering information can be defined according to the needs. In practical applications, in order to simplify the correspondence between the difference and the steering information, the difference can be processed. If the difference is >180°, then subtract 360°. If the difference is <-180°, then add 360°. In this way, the range of the difference can be -180° to 180°.
[0085] Optionally, in the embodiments of this specification, the road node includes a first road node located on the stop line of the road at the intersection and a second road node adjacent to the first road node; the heading angle
[0086]
[0087] in The latitude of the second road node can be represented. The latitude of the first road node can be represented by Δλ, and the longitude of the second road node can be represented by Δλ.
[0088] In the embodiments of this specification, by utilizing the road space graphic information in the map data, the first road node on the stop line of the road at the intersection and the second road node adjacent to the first road node can be obtained, and the heading angle of the road at the intersection can be obtained according to the heading angle calculation formula.
[0089] Optionally, the acquisition of target steering information for each lane in the road described in the embodiments of this specification may specifically include:
[0090] Obtain first steering information, and determine the target steering information for each lane in the road based on the first steering information;
[0091] If the first steering information cannot be obtained, the second steering information is used to determine the target steering information for each lane in the road. The first steering information is determined based on the driving relationship between the entering and exiting roads at the intersection, and the second steering information is determined based on the graphic curvature information on the map data.
[0092] In this embodiment of the specification, the first steering information is used first to determine the target steering information of each lane in the road. It can be determined whether the map data contains the driving relationship between each lane entering the road and exiting the road. If so, the target steering information of each lane entering the road can be determined based on the first steering information. If not, the target steering information of each lane entering the road can be determined based on the second steering information by calculating the curvature of the graphic. Using the first steering information first can simplify the steps of obtaining the target steering information.
[0093] In practical applications, the target turning information for each lane in the road can also be determined by obtaining road signs, road markings, and other information.
[0094] Optionally, in the embodiments of this specification, before determining the heading angle of the road at the intersection in the map data, the following may be included:
[0095] Identify the road layers in the map data;
[0096] Identify intersection markers in the road layer;
[0097] The intersection is determined based on the intersection sign.
[0098] In the embodiments of this specification, the map data includes a road layer, and the road layer includes intersection markers. The intersection markers are used for intersection identification. The intersection markers may include codes, patterns, etc., without specific limitations. For example, code A represents an intersection. By identifying all codes A that represent intersections in the road layer, all intersections in the map data can be determined.
[0099] In practical applications, intersection recognition mechanisms can be pre-introduced based on intersection signs.
[0100] Optionally, the road at the intersection described in the embodiments of this specification may include the access road to the intersection.
[0101] In the embodiments described in this specification, the traffic lights at the intersection can be controlled according to the phase code of the road entering the intersection.
[0102] In practical applications, phase coding can also be used in digital twin systems. By using phase coding, traffic light status data can be obtained and imported into a cloud control screen. This data can then be used for vehicle control, such as controlling vehicle stopping and starting, thereby providing basic service support for achieving autonomous driving and remote vehicle control.
[0103] Figure 3a This is a schematic diagram illustrating an application scenario that includes the graphic curvature information of an intersection, as provided in the embodiments of this specification.
[0104] Figure 3b This is a schematic diagram illustrating an application scenario that includes the phase of a lane entering a road, as provided in an embodiment of this specification.
[0105] Figure 3c This is a schematic diagram illustrating an application scenario of phase encoding of a lane entering a road, as provided in an embodiment of this specification.
[0106] To facilitate understanding, an example is given: Intersection data is obtained from a high-precision map; the entering and exiting roads at the intersection are identified; the heading angle of the entering road is determined; and based on a preset correspondence between orientation and heading angle, the orientation of each entering road is determined. Using a high-precision map, such as... Figure 3a As shown, the curvature information of the road shape of the intersection is obtained, and the difference between the heading angle of the entering lane and the heading angle of the exit lane on each shape is calculated to determine the curvature of the shape in the intersection area. Thus, the second turning information of each lane in the intersection area is determined. According to the connection relationship of the shape, the second turning information can be merged to obtain the target turning information of each lane in the road.
[0107] Based on the target steering information of each lane and the direction of entry into the road, the phase of each lane in the entered road can be determined, such as... Figure 3b As shown, the phase of entering lane a1 is west-U-turn and west-left turn, and the phase of entering lane a2 is west-straight. Based on the preset correspondence between phases and phase codes, as shown in Table 2, the phase code corresponding to each phase can be determined, thereby determining the phase code of each lane in the road. Figure 3c As shown, the phase codes for entering lane a1 are 30 and 34, and the phase code for entering lane a2 is 29.
[0108] In practical applications, if a regular map (not a high-precision map) is obtained, intersections, lane lines, turning information, etc. can be manually marked on the regular map. The method of this application can also be used to calculate the phase code of each lane in the road.
[0109] In the embodiments of this specification, this application determines the road's orientation through a preset correspondence between azimuth and heading angle, and obtains the lane's phase code through a preset correspondence between phase and phase code. Because it employs a computer program, manual intervention is reduced, minimizing human error such as measurement errors, thereby improving the efficiency and accuracy of determining the lane phase code. Furthermore, the correspondence between azimuth and heading angle, and the correspondence between phase and phase code, can be flexibly configured according to requirements and actual conditions, making the entire method highly adaptable.
[0110] Figure 4This is a schematic diagram of the structure of a device for determining lane phase codes according to an embodiment of this specification.
[0111] The apparatus for determining lane phase codes described in the embodiments of this specification may include:
[0112] Map data acquisition module 402: Used to acquire map data;
[0113] Heading angle determination module 404: used to determine the heading angle of the road at the intersection in the map data;
[0114] Orientation determination module 406: used to determine the orientation of the road according to a preset correspondence between orientation and heading angle;
[0115] Target turning information acquisition module 408: used to acquire target turning information for each lane in the road;
[0116] Phase determination module 410: used to determine the phase of each lane based on the target steering information and the orientation;
[0117] Phase code determination module 412: used to determine the phase code of each lane in the road according to the preset correspondence between phase and phase code, so as to use the phase code to control the traffic lights at the intersection.
[0118] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. The apparatuses and methods provided in this application are one-to-one corresponding; therefore, the apparatuses also have similar beneficial technical effects to their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the corresponding apparatuses will not be repeated here.
[0119] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should understand that by simply performing some logic programming on the method flow using one of these hardware description languages and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.
[0120] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, ASICs, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0121] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0122] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.
[0123] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0124] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0125] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0126] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0127] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0128] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0129] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0130] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0131] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0132] This application can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0133] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for determining lane phase codes, characterized in that, include: Obtain map data; For the intersections in the map data, determine the heading angle of the roads at the intersections; The orientation of the road is determined based on the preset correspondence between orientation and heading angle; Obtain the target steering information for each lane in the road; Based on the target steering information and the orientation, determine the phase of each lane; Based on the preset correspondence between phase and phase code, the phase code of each lane in the road is determined so as to control the traffic lights at the intersection using the phase code; Determining the heading angle of the road at the intersection specifically includes: Obtain road nodes from the map data, where each road node represents a coordinate point where the vehicle collects road information; Identify the location information of the road nodes; Using the location information, calculate the heading angle of the road at the intersection; The road node includes a first road node located on the stop line of the road at the intersection and a second road node adjacent to the first road node; the heading angle , in This indicates the latitude of the second road node. Δλ represents the latitude of the first road node, and Δλ represents the difference between the longitude of the second road node and the longitude of the first road node. The acquisition of target steering information for each lane in the road specifically includes: Obtain first steering information, and determine the target steering information for each lane in the road based on the first steering information; If the first steering information cannot be obtained, the second steering information is used to determine the target steering information for each lane in the road. The first steering information is determined based on the driving relationship between the entering and exiting roads at the intersection, and the second steering information is determined based on the graphic curvature information on the map data.
2. The method according to claim 1, characterized in that, The acquisition of target steering information for each lane in the road specifically includes: Based on the driving relationship between the entering and exiting roads at the intersection, the first turning information of each lane within the intersection area is determined, and the intersection area is connected to the road at the intersection. Based on the first steering information, the target steering information for each lane in the road is determined.
3. The method according to claim 1, characterized in that, The acquisition of target steering information for each lane in the road specifically includes: Based on the graphic curvature information on the map data, the second turning information of each lane in the intersection area is determined, wherein the graphic curvature information represents the lane centerline, and the intersection area is connected to the road at the intersection; Based on the second steering information, the target steering information for each lane in the road is determined.
4. The method according to claim 3, characterized in that, The step of determining the second turning information for each lane within the intersection area based on the graphic curvature information on the map data specifically includes: Calculate the difference between the heading angle of the road entering the intersection and the heading angle of the road exiting the intersection; Based on the preset correspondence between the difference in heading angles and the steering information, the second steering information for each lane in the intersection area is determined.
5. The method according to claim 1, characterized in that, Before determining the heading angle of the road at the intersection in the map data, the process includes: Identify the road layers in the map data; Identify intersection markers in the road layer; The intersection is determined based on the intersection sign.
6. The method according to any one of claims 1-5, characterized in that, The roads at the intersection include the access roads to the intersection.
7. An apparatus for determining lane phase codes, comprising: Map data acquisition module: used to acquire map data; Heading Angle Determination Module: Used to determine the heading angle of the road at the intersection in the map data; Orientation determination module: used to determine the orientation of the road according to a preset correspondence between orientation and heading angle; Target turning information acquisition module: used to acquire target turning information for each lane in the road; Phase determination module: used to determine the phase of each lane based on the target steering information and the orientation; Phase code determination module: used to determine the phase code of each lane in the road according to the preset correspondence between phase and phase code, so as to use the phase code to control the traffic lights at the intersection; Determining the heading angle of the road at the intersection specifically includes: Obtain road nodes from the map data, where each road node represents a coordinate point where the vehicle collects road information; Identify the location information of the road nodes; Using the location information, calculate the heading angle of the road at the intersection; The road node includes a first road node located on the stop line of the road at the intersection and a second road node adjacent to the first road node; the heading angle , in This indicates the latitude of the second road node. Δλ represents the latitude of the first road node, and Δλ represents the difference between the longitude of the second road node and the longitude of the first road node. The acquisition of target steering information for each lane in the road specifically includes: Obtain first steering information, and determine the target steering information for each lane in the road based on the first steering information; If the first steering information cannot be obtained, the second steering information is used to determine the target steering information for each lane in the road. The first steering information is determined based on the driving relationship between the entering and exiting roads at the intersection, and the second steering information is determined based on the graphic curvature information on the map data.
Citation Information
Patent Citations
Method, device and equipment for generating virtual lane line at traffic intersection
CN114894202A
Navigation method and system for passing through intersection based on local relative map, and vehicle
CN115164928A
