Road traffic marking generation method, device and electronic equipment

By setting markers and configuring information in road splines, road traffic markings can be automatically generated, solving the problems of long time consumption and high cost of manual modeling, and realizing the unified standardization and efficient generation of markings.

CN115645928BActive Publication Date: 2026-06-02NETEASE (HANGZHOU) NETWORK CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NETEASE (HANGZHOU) NETWORK CO LTD
Filing Date
2022-09-05
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

In existing technologies, the manual modeling of road traffic markings in game scenes is time-consuming, costly, and lacks standardized presentation, resulting in poor marking effects.

Method used

By setting marker points and configuring corresponding marker information in the road spline, road traffic markings, including lane dividing lines and special markings, are automatically generated on the target road. The marking information is read in a preset order to generate the markings.

Benefits of technology

It has achieved a standardized and unified style of line markings, improved generation efficiency and display effect, and reduced modification costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115645928B_ABST
    Figure CN115645928B_ABST
Patent Text Reader

Abstract

The application provides a road traffic marking line generation method and device and electronic equipment, and a road spline line of a target road is acquired in advance; a plurality of marking points are included in the road spline line, and the marking points are configured with corresponding marking information; the marking information includes a road position of the generated road traffic marking line and display parameters of the road traffic marking line; the marking information corresponding to the plurality of marking points is read in a preset order, and the road traffic marking line is generated on the target road based on the marking information. In this way, the marking points are set in the road spline line of the target road in advance, and the corresponding marking information is configured for each marking point, the corresponding road traffic marking line can be automatically generated on the target road based on the marking information, the marking line form of the marking line is standardized and unified, the generation efficiency and display effect of the road traffic marking line are improved, and the modification cost of the road traffic marking line is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a method, apparatus, and electronic device for generating road traffic markings. Background Technology

[0002] In related technologies, road traffic markings in game scenes are typically created manually using modeling software based on road splines. Level designers usually use spline tools to create the road distribution during the design phase, and then artists manually create the road traffic markings based on these splines. First, solid lines are generated from the splines. Then, dashed lines, intersection markings, and special road markings such as directional arrows and pedestrian crossing warning signs are generated according to design needs and road traffic rules. Finally, textures are used to generate the road traffic markings in the game scene. However, this manual method of creating markings is time-consuming and labor-intensive, and modifications are costly. Furthermore, the markings lack standardized representation and a unified standard, resulting in poor overall quality. Summary of the Invention

[0003] In view of this, the purpose of the present invention is to provide a method, apparatus and electronic device for generating road traffic markings. By setting marker points in road splines and configuring corresponding marking information for each marker point, the corresponding road traffic markings can be automatically generated on the target road based on the marking information, so that the marking form of the markings is standardized and uniform, while improving the generation efficiency and display effect of the markings and reducing the modification cost of the markings.

[0004] In a first aspect, embodiments of the present invention provide a method for generating road traffic markings. The method includes: acquiring a pre-created road spline of a target road; wherein the road spline includes multiple marker points, and the marker points are configured with corresponding marker information; the marker information includes: the road location for generating the road traffic markings, and the display parameters of the road traffic markings; reading the marker information corresponding to the multiple marker points in a preset order, and generating road traffic markings on the target road based on the marker information.

[0005] Secondly, embodiments of the present invention provide a road traffic marking generation device, the device comprising: a spline acquisition module, used to acquire a pre-created road spline of a target road; wherein the road spline includes multiple marker points, and the marker points are configured with corresponding marker information; the marker information includes: the road location for generating the road traffic marking, and the display parameters of the road traffic marking; and a marking generation module, used to read the marker information corresponding to the multiple marker points in a preset order, and generate road traffic markings on the target road based on the marker information.

[0006] Thirdly, embodiments of the present invention provide an electronic device, including a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the road traffic marking generation method of any of the first aspects.

[0007] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are invoked and executed by a processor, the computer-executable instructions cause the processor to implement the road traffic marking generation method of any one of the first aspects.

[0008] The embodiments of the present invention bring the following beneficial effects:

[0009] This invention provides a method, apparatus, and electronic device for generating road traffic markings. The method involves acquiring a pre-created road spline of a target road. The road spline includes multiple marker points, each configured with corresponding marker information. This marker information includes the road location from which the road traffic markings will be generated and display parameters for the road traffic markings. The method reads the marker information corresponding to multiple marker points in a preset order and generates road traffic markings on the target road based on this information. By pre-setting marker points in the road spline of the target road and configuring corresponding marker information for each marker point, the method can automatically generate corresponding road traffic markings on the target road based on the marker information. This results in standardized and uniform marking formats, improves the generation efficiency and display effect of road traffic markings, and reduces the cost of modifying road traffic markings.

[0010] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.

[0011] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0012] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0013] Figure 1A flowchart illustrating a method for generating road traffic markings provided in an embodiment of the present invention;

[0014] Figure 2 This is a schematic diagram of a road spline in a method for generating road traffic markings provided in an embodiment of the present invention;

[0015] Figure 3 This is a schematic diagram of a road spline in another method for generating road traffic markings provided in an embodiment of the present invention;

[0016] Figure 4 This is a schematic diagram of lane dividing lines in a method for generating road traffic markings provided in an embodiment of the present invention;

[0017] Figure 5 This is a schematic diagram of a road spline for a non-intersection road in a method for generating road traffic markings provided in an embodiment of the present invention;

[0018] Figure 6 This is a schematic diagram of the road spline lines at an intersection in a method for generating road traffic markings provided in an embodiment of the present invention;

[0019] Figure 7 This is a schematic diagram of a longitudinal deceleration marking in a method for generating road traffic markings provided in an embodiment of the present invention;

[0020] Figure 8 This is a schematic diagram of a lateral deceleration marking in a method for generating road traffic markings provided in an embodiment of the present invention;

[0021] Figure 9 This is a schematic diagram of the outer edge extension marking in a method for generating road traffic markings provided in an embodiment of the present invention;

[0022] Figure 10 This is a schematic diagram of pedestrian crossing markings and pedestrian warning markings in a method for generating road traffic markings provided in an embodiment of the present invention;

[0023] Figure 11 This is a schematic diagram of the vehicle distance confirmation marking and guide arrow marking in a method for generating road traffic markings provided in an embodiment of the present invention;

[0024] Figure 12 This is a schematic diagram of a road traffic marking generation method provided in an embodiment of the present invention;

[0025] Figure 13 This is a schematic diagram of the road outline at an intersection in a method for generating road traffic markings provided in an embodiment of the present invention;

[0026] Figure 14A schematic diagram of the road outline at an intersection in another method for generating road traffic markings provided in an embodiment of the present invention;

[0027] Figure 15 A schematic diagram of road traffic markings at an intersection, provided by an embodiment of the present invention, illustrating a method for generating road traffic markings.

[0028] Figure 16 This is a schematic diagram illustrating a method for generating road traffic markings according to an embodiment of the present invention, which incorporates road traffic markings into an intersection road.

[0029] Figure 17 This is a schematic diagram of the structure of a road traffic marking generation device provided in an embodiment of the present invention;

[0030] Figure 18 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0031] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0032] Generally, 3D models have two basic forms: solids and splines. Solids are actual, formed objects, while splines are composed of lines and do not have actual volume. Splines are usually used to assist in the generation of solids. For example, adding an extrusion operation to a circular spline can generate a cylinder.

[0033] Furthermore, procedural generation is an algorithm in computer science that enables computers to automatically generate a type of data. It is commonly used to create texture maps and 3D model resources, and in the field of video games, it is used to automatically generate large amounts of game content. In the field of procedural generation, splines are often used to guide the generation of 3D models, for example, by making the 3D model follow the path of a spline and generate it under the control of algorithmic rules.

[0034] Currently, there is no specific procedural generation solution for road markings in game scenes. The common approach is to use modeling software such as Maya and 3ds Max to manually model roads based on splines. Specifically, level designers use spline tools during the design phase to create the distribution of city roads in spline form. After receiving the road splines created by the level designers, the art team begins creating the traffic markings based on them.

[0035] The production process typically involves the following steps: First, spline lines are extruded multiple times to obtain the basic surface form of the markings. Then, segments and parts are selectively cut and trimmed to convert some solid lines into dashed lines. For intersections, such as merging sections, specific adjustments are required. Next, special road markings, such as directional arrows and pedestrian crossing warning signs, are created according to design needs. Finally, the numerous models described above need to be UV-coded according to the style of the road marking texture to ensure that the UVs correctly match the specific areas of the texture.

[0036] However, manual modeling requires a significant investment of time and effort. For example, completing traffic markings for a 2km x 2km block requires at least 15 days of work. After providing the road spline lines, level designers must wait a considerable amount of time before confirming the design of the traffic signs and markings. Secondly, manually modeled traffic markings are extremely costly to adjust and modify. For instance, if a level designer wants to widen the markings after seeing the final result, the art team must manually adjust the width of the markings for each block, segment by segment, resulting in substantial rework costs. Furthermore, manually modeled markings lack any flexibility for adjustment and are extremely rigid. Finally, manual modeling leads to inconsistent and unstandardized representations of the markings, and because the entire process is done manually, some oversights and errors are inevitable, posing potential risks to the standardization and normalization of project quality.

[0037] Based on this, the present invention provides a method, apparatus and electronic device for generating road traffic markings, which can be applied to devices such as laptops and computers.

[0038] To facilitate understanding of this embodiment, a method for generating road traffic markings disclosed in this embodiment of the invention will first be described in detail, such as... Figure 1 As shown, the method includes the following steps:

[0039] Step S102: Obtain the pre-created road spline of the target road; wherein, the road spline includes multiple marker points, and the marker points are configured with corresponding marker information; the marker information includes: the road location for generating road traffic markings, and the display parameters of road traffic markings;

[0040] The aforementioned target road typically refers to a road model, and the aforementioned road splines are mainly used to assist in generating line segments of the road model. The aforementioned marker points are mainly used to store marking information and also to mark the road positions on the splines. The aforementioned road positions can be a single point or a road at a certain distance. The aforementioned display parameters are mainly used to indicate the marking parameters of road traffic markings. The aforementioned road traffic markings refer to the markings on the road surface that use lines, arrows, text, vertical markings, raised pavement markers, and delineators to convey traffic information such as guidance, restrictions, and warnings to road users. Their function is to regulate and guide traffic; they can be used in conjunction with signs or used independently.

[0041] In practice, the aforementioned marker points and their corresponding marking information are pre-configured using a designated tool. The displayed parameters include at least one or more of the following: road width, number of lane dividers, lane divider type, lane direction, intersection markings, and non-intersection markings. This designated tool can be a built-in sub-module within the tool that generates road traffic markings, or a plugin from another engine. Configuring marker points and marking information using a designated tool further improves the efficiency of marking generation. Furthermore, this tool allows for quick adjustments to local road sections, reducing modification costs.

[0042] For example, such as Figure 2 The road spline of the target road shown is illustrated with a more detailed explanation of a section of the road spline, such as... Figure 3 As shown, this includes 16 marker points, meaning it's a road spline composed of 16 marker points. Each marker point can be configured with a three-dimensional coordinate point for generating road traffic markings. For example, marker point 0 has a road position of (x, y, z) = (275.685, 3.68292, 573.455); marker point 1 has a road position of (x, y, z) = (273.685, 3.68291, 573.484), and so on.

[0043] In addition, the display parameters for generating road traffic markings mentioned above are usually represented by different variables. Different variable values ​​represent different display formats for the road traffic markings, as shown in the table below:

[0044] spline point information Corresponding variable name Range of values ​​and their meanings Road width innerWidth Decimals greater than 0 Number of lanes on the left side of the spline Segment_C_L Integers greater than or equal to 1 Number of lanes on the right side of the spline Segment_C_R Integers greater than or equal to 1 Lane direction LaneDirArray An integer array, for example: [0, 0, 1, 1] represents a four-lane road, with directions being forward, forward, backward, and backward. Lane dividing line type LineTypeArray An integer array, for example: [1, 1, 1] represents a two-lane road with three solid white lines separating it. Guide arrow ArrowTypeArray An integer array, for example: [1, 1] represents a two-lane road with one straight arrow on each side. Does this point generate a directional arrow? A_Mark Integers, 0 = no generation, 1 = generation T-junction intersection pattern B_Mark Integers: 0 = no inflow, 1 = inflow, 2 = outflow Crossing the pedestrian crossing C_Mark Integers, 0 = no generation, 1 = generation Pedestrian crossing generation at intersection C2_Mark Integers: 0 = generated both before and after the intersection, 1 = before the intersection, 2 = after the intersection, 3 = not generated. Intersection mesh pattern generation CN_Mark Integers, 0 = no generation, 1 = generation Vehicle distance confirmation line generation D_Mark Integers: 0 = no generation, 1 = only forward, 2 = only reverse, 3 = bidirectional. Expressway markings H_Mark Integers, 0 = non-expressway, 1 = expressway Curve Expansion Zone Generation Ib_Mark Integers: 0 = no generation, 1 = left side of the road, 2 = right side of the road, 3 = both sides of the road. Outward offset of the curve extension area Ib_OutOffset Decimals, greater than 0, external bias; less than 0, internal bias. Curve extension area height offset Ib_HeightOffset Decimals: Values ​​greater than 0 are raised; values ​​less than 0 are lowered. outermost line offset LineSideOffset Decimals, greater than 0 are skewed inwards, less than 0 are skewed outwards. Longitudinal deceleration marking generation S_Mark Integers: 0 = no generation, 1 = only forward, 2 = only reverse, 3 = bidirectional. Generating lateral deceleration markings S2_Mark Integers: 0 = no generation, 1 = only forward, 2 = only reverse, 3 = bidirectional. Central median strip generated Isolation_Belt Integers, 0 = no generation, 1 = generation Central median width Isolation_Belt_Width Decimals greater than 0 Marking Material Index Shader_Line A string representing the material reference path, used to guide lines other than arrows. Logo Material Index Shader_Mark A string representing the material's reference path, used as a guide arrow. Intersection and non-intersection markings cross Integers, 0 = not an intersection, 1 = an intersection

[0045] The spline point information in the table refers to the possible configuration information for the marker points, and the corresponding variable names are the variable names corresponding to the marker information. For example, if the marker information configured for the second marker point is: innerWidth = 12m, LaneDirArray = [0, 0, 1, 1], LineTypeArray = [1, 3, 1, 3, 1], then the road traffic markings at the location of the second marker point in the manual are as follows: lane width is 12 meters, four lanes (3 meters each), and the lane directions are forward, forward, reverse, reverse. The lane markings from left to right are: solid white line, dashed white line, solid white line, dashed white line, solid white line. For another example, taking a four-lane road segment as an example, its lane dividing line type information array could be [1, 1, 1, 1, 1] – representing five solid white lines; or it could be [1, 3, 3, 3, 1] – representing two solid white lines for the leftmost and rightmost lane dividing lines, and three dashed white lines for the middle three.

[0046] In addition, different values ​​of different variables will represent different types of lane markings. For example, the lane dividing line type and its corresponding value: 0 - no marking, 1 - single solid line - white, 3 - single dashed line - white, 2 - single solid line - yellow, etc. Another example is the type of directional arrow and its corresponding value: 0 - no arrow, 1 - straight, 2 - left turn, 3 - right turn, 4 - left turn or straight, 6 - merging to the left, 7 - merging to the right, etc.

[0047] The aforementioned road spline is actually input by staff using the spline marking tool panel provided by the designated tools. The specific configuration needs to be done by staff according to the actual needs of the road, including the configuration of marker points and the configuration of marking information.

[0048] Step S104: Read the marking information corresponding to multiple marking points in a preset order, and generate road traffic markings on the target road based on the marking information.

[0049] The aforementioned preset order can be a pre-set order, or it can be a pre-configured order of marker points. The marker information is typically stored in an array. Taking lane divider type as an example, each element of the array corresponds to a lane divider, and the value of the element represents the type of that divider. This embodiment supports the generation of 16 types of lane dividers, some of which are as follows: Figure 4 As shown.

[0050] In actual implementation, by combining the road location and display parameters in the marker information, such as road width, the program can accurately generate each lane divider in the correct position. Combined with the lane divider array, it can achieve free combination of 16 lane dividers. This allows for the generation of the corresponding lane divider at each marker point's road location.

[0051] In addition, the aforementioned road traffic markings include not only the most basic lane dividing lines, but also other special markings, such as longitudinal deceleration markings, transverse deceleration markings, outer edge extension markings, pedestrian crossings and warning signs, broken line vehicle distance confirmation lines, directional arrows, etc., which can all be generated at the corresponding road locations based on the corresponding variable values.

[0052] This invention provides a method for generating road traffic markings. The method involves acquiring a pre-created road spline of a target road. The road spline includes multiple marker points, each configured with corresponding marker information. This marker information includes the road location from which the road traffic markings will be generated and the display parameters of the road traffic markings. The method reads the marker information corresponding to multiple marker points in a preset order and generates road traffic markings on the target road based on this information. By pre-setting marker points in the road spline of the target road and configuring corresponding marker information for each marker point, the method can automatically generate corresponding road traffic markings on the target road based on the marker information. This results in standardized and uniform marking formats, improves the generation efficiency and display effect of road traffic markings, and reduces the cost of modifying road traffic markings.

[0053] The aforementioned markers are configured with corresponding sequence identifiers; the aforementioned display parameters include intersection identifiers and non-intersection identifiers; wherein, the sequence identifiers can be manually set when setting the markers, or can be automatically generated based on the start and end positions of the road. The variable values ​​of the intersection identifiers are different from those of the non-intersection identifiers, indicating different intersections; for example, the non-intersection identifier is cross=0, and the intersection identifier is cross=1.

[0054] The above step S104, which involves reading the marker information corresponding to multiple marker points in a preset order and generating road traffic markings on the target road based on the marker information, can be implemented in one possible way:

[0055] Step 10: Read the marking information corresponding to multiple marking points according to the order of the marking points;

[0056] like Figure 3 The indicated markers are numbered 0-15. The marker information corresponding to each marker is read sequentially according to the order of 0-15.

[0057] Step 20: Determine the markers and marking information that include non-intersection markers from the marking information corresponding to multiple markers as the first markers and first marking information; determine the markers and marking information that include intersection markers from the marking information corresponding to multiple markers as the second markers and second marking information.

[0058] The main process involves reading intersection and non-intersection markers from the road marking information. If a non-intersection marker (e.g., cross = 0) is read, the road location of that marker point belongs to a non-intersection road. If an intersection marker (e.g., cross = 1) is read, the road location of that marker point belongs to an intersection road. Markers containing non-intersection markers are designated as first markers, and markers containing intersection markers are designated as second markers. The purpose is to divide the road spline of the target road into two parts for processing; the road formed by the first marker points is a non-intersection road, i.e., a non-intersecting road segment. For example, ... Figure 5 As shown; the road formed by the second marker point is an intersection road, i.e., an intersecting road segment, for example, as shown in... Figure 6 As shown.

[0059] Step 30: Read the first marking information corresponding to the first marking point according to the order of the first marking points, and generate road traffic markings on the non-intersection road in the target road according to the first marking information; wherein, the road location included in the first marking information is the location of the non-intersection road.

[0060] Step 40: Read the second marker information corresponding to the second marker points according to the order of the second marker points, and generate road traffic markings on the intersection road in the target road based on the second marker information; wherein, the road location included in the second marker information is the location of the intersection road.

[0061] Then, based on the first marking information corresponding to the first marking point, road traffic markings are generated on non-intersection roads within the target road. Finally, based on the second marking information corresponding to the second marking point, road traffic signs are generated on intersection roads within the target road. In this method, the target road is divided into intersection roads and non-intersection roads, and then road traffic markings are generated on intersection roads and non-intersection roads respectively, further improving the efficiency of marking generation.

[0062] The first marking information corresponding to the aforementioned first marking point includes at least the following display parameters: road width, number of lane dividing lines, and type of lane dividing lines; road traffic markings include lane dividing lines;

[0063] Step 30 above, which involves generating road traffic markings on non-intersection roads within the target road based on the first marking information, can be implemented in one possible way:

[0064] (1) Generate initial lane dividers at the road locations included in the first marking information based on the road width and the number of lane dividers;

[0065] (2) Update the generated initial lane dividers to target lane dividers that match the lane divider type, based on the lane divider type.

[0066] For example, if the road width is 12 and the number of lane dividers is 5, then it can be calculated that the number of lanes at the current first marker point is 4 lanes. Initial lane dividers (solid white lines) are generated every 3 meters along the road location included in the first marker information. Then, based on the lane divider type, the generated initial lane dividers are updated to target lane dividers that match the lane divider type.

[0067] Alternatively, it can be generated directly at the road locations included in the first marker information based on the road width, the number of lane dividers, and the lane divider type. For example, if the road width is 12, the number of lane dividers is 5, and the lane divider type is [1, 3, 1, 3, 1], then a single solid white line can be generated directly at the corresponding road location, starting from the left and moving to the right. A single dashed white line can be generated every three meters, followed by another single solid white line every three meters, then another dashed white line every three meters, and finally another solid white line every three meters.

[0068] In addition, after the step of updating the generated initial lane divider to a target lane divider that matches the lane divider type, the method further includes:

[0069] (3) If the first marking information corresponding to the first marking point includes the display parameters of special markings, special markings are generated on non-intersection roads in the target road according to the display parameters of special markings; wherein, special markings include at least one or more of the following markings: longitudinal deceleration markings, transverse deceleration markings, outer edge extension markings, pedestrian crossing markings, vehicle distance confirmation markings and guide arrow markings.

[0070] After generating lane dividing lines, it is also necessary to read whether there are special marking display parameters in the first marking information. If so, special markings need to be generated on non-intersection roads in the target road according to the special marking display parameters.

[0071] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: display parameters for lane direction; the above step (3), the step of generating special markings on non-intersection roads in the target road according to the display parameters of special markings, has the following possible implementation:

[0072] If the display parameters for special markings are the same as those for longitudinal deceleration markings, longitudinal deceleration markings matching the lane direction are generated at the road locations where longitudinal deceleration markings are generated, as included in the first marking information.

[0073] Specifically, the generation logic of longitudinal deceleration markings is similar to that of dashed lines. Dashed lines are procedurally trimmed from solid lines. Longitudinal deceleration markings have a reduced trimming interval, making them denser, and their sides are uniformly moved along the road direction to form the shape of longitudinal deceleration markings. An example is... Figure 7 As shown, longitudinal deceleration markings are displayed on each lane.

[0074] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: lane width and number of lane dividing lines; another possible implementation of step (3) above, which is the step of generating special markings on non-intersection roads in the target road according to the display parameters of special markings:

[0075] If the display parameters for special markings are the same as those for lateral deceleration markings, the length of the lateral deceleration markings is determined based on the lane width and the number of lane dividers; the lateral deceleration markings are generated at the road locations for which they are generated, as included in the first marking information.

[0076] Specifically, by reading the lane width and the number of lane dividers, the number of lanes and lane width are determined, and the length of the transverse deceleration markings can then be determined as the lane width. The transverse deceleration markings are composed of multiple short lines, each with its length, width, and the distance between them generated according to a pre-set standard, known as the traffic marking standard. Finally, the transverse deceleration markings are generated at the designated road locations for each lane. Figure 8 As shown, each lane displays lateral deceleration markings.

[0077] Another possible implementation of step (3) above, which involves generating special markings on non-intersection roads within the target road based on the display parameters of the special markings, is as follows:

[0078] If the display parameters for special markings are the same as those for outer edge extension markings, then according to the pre-set generation logic, outer edge extension markings are generated at the road locations for which they are generated, as included in the first marking information; wherein, the marking colors at the starting and ending positions of the outer edge extension markings are different.

[0079] Specifically, the outer edge extension markings are usually designed using a special algorithm to ensure that they do not have abrupt breaks at the beginning and end, regardless of their length, and follow the rule of different color blocks at the beginning and end. Specifically, the outer edge marking is divided into three parts: beginning, end, and middle. The beginning and end areas are in fixed positions, while the middle area is scaled up as a whole, so that the marking color at the starting and ending points of the outer edge extension marking is different. For example... Figure 9 As shown, an outer edge extension mark is displayed at the far right edge.

[0080] Another possible implementation of step (3) above, which involves generating special markings on non-intersection roads within the target road based on the display parameters of the special markings, is as follows:

[0081] (1) If the display parameters of special markings are the display parameters of pedestrian crossing markings, delete the road traffic signs generated at the road location where the pedestrian crossing markings are generated, which are included in the first sign information, and generate the pedestrian crossing markings.

[0082] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: lane direction display parameters; if the display parameters of the special markings are pedestrian crossing markings, after deleting the road traffic signs generated at the road location where the pedestrian crossing markings are generated, which are included in the first marking information, and generating the pedestrian crossing markings, the above method further includes:

[0083] (2) Generate warning markings at a specified distance in each lane in the specified direction of the pedestrian crossing markings; wherein the specified direction is associated with the lane direction.

[0084] Specifically, for pedestrian crossings, after the program reads the generation marker of the pedestrian crossing, it will delete other existing road traffic signs (usually lane dividers) at the road location corresponding to the first marker point and insert pedestrian crossing markings. Simultaneously, according to road traffic rules, combined with lane number and lane direction information, warning markings are generated a distance before and after the pedestrian crossing markings. These warning markings can be polygonal patterns or irregular patterns, such as diamond-shaped warning markings or triangular warning markings. The aforementioned association between the specified direction and lane direction can specifically mean that the specified direction is related to or corresponds to the lane direction, or it can be the same as or opposite to the lane direction. For example, if the lane direction is to the right, warning markings are generated on the left side of the pedestrian crossing, or warning markings are generated on both the left and right sides of the pedestrian crossing. An example is... Figure 10 As shown, a pedestrian crossing marking is generated in the middle of the road, and then warning markings are generated at a certain distance before and after the pedestrian crossing marking. The specified distance can be set according to actual needs or road traffic rules.

[0085] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: display parameters for lane direction; another possible implementation of step (3) above, which is the step of generating special markings on non-intersection roads in the target road according to the display parameters of special markings:

[0086] If the display parameters of the special markings are the display parameters of the distance confirmation line or the display parameters of the guide arrow markings, obtain the target distance confirmation line or target guide arrow marking that matches the lane direction and display parameters from the pre-generated markings; display the target distance confirmation line or target guide arrow marking at the road location where the distance confirmation line or guide arrow marking is generated, as included in the first marking information.

[0087] Specifically, the generation of the polyline vehicle distance confirmation line and the guide arrow markings uses a Copy To Point approach. This means that the basic models for both are pre-made and built into the tool. The program is responsible for selecting and assembling the corresponding markings onto the positions of the generated polyline vehicle distance confirmation line and guide arrow markings corresponding to the current first marker point, based on the display parameters of the vehicle distance confirmation line or the guide arrow markings. For example... Figure 11 As shown, different lanes display corresponding broken line distance confirmation lines and directional arrow markings. For example... Figure 11 As shown, the typical display parameters for the broken line vehicle distance confirmation line include: forward only, reverse only, and both directions. Of course, the display parameters for directional arrow markings include: none, straight, left turn, right turn, left turn or straight, right turn or straight, merging to the left, merging to the right, etc. For example, the variable corresponding to the directional arrow marking is ArrowTypeArray, and the variable value [1, 1] represents one straight arrow in each lane of a two-lane road.

[0088] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: the display parameters of the central divider marking: after step (3) above, which generates special markings on non-intersection roads in the target road according to the display parameters of the special markings, the above method also includes:

[0089] If the display parameters include the display parameters for the central divider marking, the offset and offset direction of the target lane divider and special markings at the road location included in the first marking information are determined according to the width parameter of the central divider marking; wherein, the offset direction of the target lane divider and special markings located on the left side of the center of the road is left offset, and the offset direction of the target lane divider and special markings located on the right side of the center of the road is right offset; the offset of the target lane divider and special markings is controlled according to the offset amount and offset direction, and the central divider marking is generated at the road location for generating the central divider marking included in the first marking information according to the width parameter.

[0090] Specifically, the generation of road traffic markings on non-intersecting road segments is done segment by segment. For a road spline segment, it is necessary to consider whether the road spline has the display parameters for a central divider marking. Based on the display parameters of the central divider marking, the offset and direction of the central divider marking on the already generated road traffic markings are calculated. After calculating the offset caused by the central divider marking, the target lane divider and special markings located on the left side of the road center are shifted to the left by the aforementioned offset, and the target lane divider and special markings located on the right side of the road center are shifted to the right by the aforementioned offset. Finally, the corresponding central divider marking is generated at the location where the central divider marking was generated.

[0091] The above-mentioned display parameters include the number of lane dividing lines; after step 30, which involves reading the first marker information corresponding to the first marker points according to their sequential identification, and generating road traffic markings on non-intersection roads in the target road based on the first marker information, the method further includes:

[0092] The system reads the number of lane dividing lines in the first marking information corresponding to the first marking points according to their sequential identifiers. If the number of lane dividing lines corresponding to two consecutive first marking points is different, the two consecutive first marking points are identified as the first target marking point and the second target marking point. Starting from the first target marking point and the second target marking point respectively, a specified number of first marking points are determined in opposite directions to obtain transition marking points. Based on the marking information corresponding to the transition marking points, the first lane dividing line and the second lane dividing line that need to be updated are determined from the lane dividing lines corresponding to the transition marking points. The first lane dividing line is the lane dividing line inside the road, and the second lane dividing line is the lane dividing line at the edge of the lane. The first lane dividing line is updated to a specified dashed line, and the second lane dividing line is updated to a solid line with a specified slope.

[0093] Specifically, after generating the central divider markings, it is necessary to read the lane divider numbers from the first marker information corresponding to the first marker points in the order of the first marker points, and detect the road locations where the number of lanes has changed to determine whether to change the lane dividers. The processing logic is as follows: traverse all first marker points, find the point of abrupt change in the number of lanes, i.e., the aforementioned first target marker point and second target marker point; starting from this point, form a transition segment by several points forward and backward. Areas outside the transition segment are generated normally, while areas within the transition segment undergo special processing. Specifically, the first and second lane dividers that need to be updated are determined from the transition segment. In particular, the original solid lines in the transition segment need to be selectively converted into dashed lines with denser spacing. Based on the change in the number of lanes, the start and end points of the dashed lines in the transition segment, the slope of the outermost solid line, etc., are automatically determined.

[0094] The above steps can be used to generate road traffic markings on non-intersection roads, as exemplified by... Figure 12 As shown, this includes various possible road traffic markings.

[0095] Furthermore, the display parameters included in the second marking information corresponding to the second marking point mentioned above include: road width; Step 40, the step of generating road traffic markings on the intersection road in the target road based on the second marking information, can be implemented in the following possible ways:

[0096] If the display parameters in the second marking information include those for a crossroads or a T-junction, the road spline corresponding to the second marking point is converted into an intersection outline based on the road width. The intersection outline includes four or three roads. A road centerline is generated in the middle of the roads in the intersection outline. Based on the display parameters of the road traffic markings in the second marking information and the pre-configured road traffic rules, corresponding road traffic markings are generated on the roads at the intersection.

[0097] Specifically, the key to generating road markings in intersecting road segments (i.e., intersections) lies in the automated generation logic of the intersection portion. Compared to non-intersecting road segments, intersecting road segments generally do not require additional manual marking. Instead, the system reads the already marked information for each sub-segment of the intersecting road segment and intelligently generates the correct road markings. Of course, it can also incorporate road traffic rules to identify and fill gaps. For example, if the second marking information does not include the display parameters for directional arrow markings, then the correct directional arrow markings can be generated at the corresponding road location according to the road traffic rules.

[0098] The generation of intersection markings is performed intersection by intersection; taking a crossroads as an example, the program first converts the intersection splines into intersection outlines, such as... Figure 13As shown; then, the outline will break at the four corners, resulting in four pairs of lines. The average of these four pairs of lines can be used to construct the four center lines of the intersection markings, as shown. Figure 14 As shown; after obtaining the reconstructed centerline, the intersection is essentially transformed into four independent non-intersecting road segments. Similar to non-intersecting road segments, the required markings can be generated for each segment. However, adjustments to the marking types are needed for the intersection. For example, since lane changes are not permitted at intersections, the dashed lane dividers at the intersection should be changed to solid lines. Furthermore, within the lanes entering the intersection, the intersection conditions need to be identified, and corresponding directional arrow markings should be automatically generated. Pedestrian crossing markings should also be generated at the intersection entry point. Combining these elements yields the completed road traffic markings for the intersection, as shown below. Figure 15 As shown.

[0099] The display parameters for road traffic markings are the same as those mentioned in the previous embodiments. Therefore, the generation method for these markings is also the same as the aforementioned method, and will not be repeated here. It should be noted that for T-junctions, the generation logic is basically the same as for crossroads: the centerline is reconstructed from the outline, and then the required markings are generated from the centerline. In this method, by generating the outline of the intersection road and then generating the corresponding non-intersection road based on the outline, a perfect match between the markings and the intersection is ensured, further improving the effectiveness of the markings.

[0100] Following the step of generating corresponding road traffic markings on the intersection road based on the display parameters of the road traffic markings in the second marking information and the pre-configured road traffic rules, the above method further includes:

[0101] If the display parameters in the second marking information include the display parameters of a T-junction, and the display parameters of the T-junction are tributary merging, determine the non-intersecting roads and merging roads in the intersection road; delete the road traffic markings in the first merging area of ​​the non-intersecting roads and the road traffic markings in the second merging area of ​​the merging roads; determine the guiding area in the intersection road, and generate guiding markings in the guiding area.

[0102] Specifically, when a special case of a T-junction is a merging intersection, i.e., when the display parameters of the T-junction are a branch road merging in, the above-mentioned approach for merging intersections can be as follows: The non-intersecting edge can be extracted as the main direction of the intersection, and the marking type in the main direction remains basically unchanged, with only local elimination in the merging area to match the merging; alternatively, the guide edge, i.e., the small-angle edge, can be extracted, and a zigzag guide line can be generated based on this edge. The final effect of the generated road traffic markings is as follows: Figure 16 As shown.

[0103] It should be noted that if the directional arrows generated according to road traffic rules do not meet the requirements, you can set custom directional arrow marking display parameters in the intersection area, just like for non-intersecting road sections. The program will use the custom directional arrow marking display parameters to generate directional arrow markings that meet the requirements, thereby overriding the automatically generated directional arrow markings.

[0104] The foregoing embodiments provide a workflow tool for quickly creating road traffic markings, which can be developed based on Houdini (a 3D computer graphics software). The tool's operation is as follows: After obtaining the road spline provided by the level designer, the points on the spline are manually marked. The marked road spline is then input into the tool, which reads this marking information and generates the corresponding traffic markings. Specifically, after the user marks the road spline, they can click and wait a moment to obtain standardized road traffic markings that meet the design requirements. Specifically, it can quickly generate standardized traffic markings that match the road type based on the road spline; for complex situations such as intersections and merging sections, it can automatically generate correct traffic markings and signs; for special markings and signs such as pedestrian crossings and speed reduction markings, their generation positions can be manually specified. This tool greatly shortens the production and iteration cycle of road traffic markings when creating urban scenes. It has extremely high adjustment flexibility, reducing the original traffic marking production process, which often took ten days to half a month, to within minutes. Additionally, basic road splines are obtained from level designers and marked using spline marking tools. After generation, the finished road traffic markings can be directly exported to the engine. As needed, marking tools can also be used to quickly adjust specific road sections.

[0105] Corresponding to the above method embodiments, this invention provides a road traffic marking generation device, such as... Figure 17 As shown, the device includes:

[0106] The spline acquisition module 171 is used to acquire the road spline of the pre-created target road; wherein, the road spline includes multiple marker points, and the marker points are configured with corresponding marker information; the marker information includes: the road location for generating road traffic markings, and the display parameters of road traffic markings;

[0107] The road marking generation module 172 is used to read the marking information corresponding to multiple marking points in a preset order and generate road traffic markings on the target road based on the marking information.

[0108] This invention provides a road traffic marking generation device that acquires a pre-created road spline of a target road. The road spline includes multiple marker points, each configured with corresponding marking information. This marking information includes the road location from which the road traffic markings will be generated and display parameters for the road traffic markings. The device reads the marking information corresponding to multiple marker points in a preset order and generates road traffic markings on the target road based on this information. This method, by pre-setting marker points in the road spline of the target road and configuring corresponding marking information for each marker point, can automatically generate corresponding road traffic markings on the target road based on the marking information. This results in standardized and uniform marking formats, improves the generation efficiency and display effect of road traffic markings, and reduces the cost of modifying road traffic markings.

[0109] Furthermore, the above-mentioned display parameters include at least one or more of the following: road width, number of lane dividers, lane divider type, lane direction, intersection markings, and non-intersection markings.

[0110] Furthermore, the aforementioned markers are configured with corresponding sequence identifiers; the aforementioned display parameters include intersection identifiers and non-intersection identifiers; the aforementioned marking generation module is also used to: read the marking information corresponding to multiple markers according to the sequence identifiers of the markers; determine the markers and marking information including non-intersection identifiers among the marking information corresponding to multiple markers as first markers and first marking information, and determine the markers and marking information including intersection identifiers among the marking information corresponding to multiple markers as second markers and second marking information; read the first marking information corresponding to the first marker according to the sequence identifiers of the first markers, and generate road traffic markings on non-intersection roads in the target road according to the first marking information; wherein, the road location included in the first marking information is the location of the non-intersection road; read the second marking information corresponding to the second marker according to the sequence identifiers of the second markers, and generate road traffic markings on intersection roads in the target road according to the second marking information; wherein, the road location included in the second marking information is the location of the intersection road.

[0111] Furthermore, the display parameters included in the first marking information corresponding to the first marking point include at least: road width, number of lane dividing lines, and lane dividing line type; the road traffic markings include lane dividing lines; the marking generation module is also used to: generate an initial lane dividing line at the road location included in the first marking information based on the road width and the number of lane dividing lines; and update the generated initial lane dividing line to a target lane dividing line that matches the lane dividing line type based on the lane dividing line type.

[0112] Furthermore, the aforementioned device also includes: a special marking generation module, used to: if the first marking information corresponding to the first marking point includes display parameters for special markings, generate special markings on non-intersection roads in the target road according to the display parameters for special markings; wherein, the special markings include at least one or more of the following markings: longitudinal deceleration markings, lateral deceleration markings, outer edge extension markings, pedestrian crossing markings, vehicle distance confirmation markings, and guide arrow markings.

[0113] Furthermore, the display parameters in the first marking information corresponding to the first marking point also include: lane direction; the special marking generation module is also used to: if the display parameters of the special marking are the display parameters of the longitudinal deceleration marking, generate a longitudinal deceleration marking that matches the lane direction at the road position for generating the longitudinal deceleration marking included in the first marking information.

[0114] Furthermore, the display parameters in the first marking information corresponding to the first marking point also include: lane width and number of lane dividing lines; the special marking generation module is also used to: if the display parameters of the special marking are the display parameters of the lateral deceleration marking, determine the length of the lateral deceleration marking according to the lane width and number of lane dividing lines; and generate the lateral deceleration marking at the road location for generating the lateral deceleration marking included in the first marking information.

[0115] Furthermore, the aforementioned special marking generation module is also used to: if the display parameters of the special marking are the display parameters of the outer edge extension marking, generate the outer edge extension marking at the road location for generating the outer edge extension marking included in the first marking information, according to the pre-set generation logic; wherein the marking color at the starting position and the ending position of the outer edge extension marking are different.

[0116] Furthermore, the aforementioned special marking generation module is also used to: if the display parameters of the special marking are the display parameters of the pedestrian crossing marking, delete the road traffic sign generated at the road location where the pedestrian crossing marking is generated, which is included in the first sign information, and generate the pedestrian crossing marking.

[0117] Furthermore, the display parameters in the first marking information corresponding to the first marking point also include: lane direction; the device further includes: a warning marking generation module, used to: generate warning markings at a specified distance in a specified direction of the pedestrian crossing markings in each lane; wherein the specified direction is associated with the lane direction.

[0118] Furthermore, the display parameters in the first marking information corresponding to the first marking point also include: lane direction; the special marking generation module is also used to: if the display parameters of the special marking are the display parameters of the distance confirmation line or the display parameters of the guide arrow marking, obtain the target distance confirmation line or target guide arrow marking that matches the lane direction and display parameters from the pre-generated markings; and display the target distance confirmation line or target guide arrow marking at the road position where the distance confirmation line or guide arrow marking is generated, as included in the first marking information.

[0119] Furthermore, the display parameters in the first marking information corresponding to the first marking point also include: display parameters for the central divider marking; the device further includes: a central divider marking generation module, used to: determine the offset and offset direction of the target lane dividing line and special marking on the road location included in the first marking information according to the width parameter of the central divider marking; wherein, the offset direction of the target lane dividing line and special marking located on the left side of the road center is left offset, and the offset direction of the target lane dividing line and special marking located on the right side of the road center is right offset; control the offset of the target lane dividing line and special marking according to the offset and offset direction, and generate the central divider marking on the road location included in the first marking information for generating the central divider marking according to the width parameter.

[0120] Furthermore, the aforementioned display parameters include the number of lane dividing lines; the aforementioned device also includes a lane dividing line update module, used for: reading the number of lane dividing lines in the first marking information corresponding to the first marking points according to the sequential identification of the first marking points; if the number of lane dividing lines corresponding to two consecutive first marking points in the sequential marking is different, determining the two consecutive first marking points in the sequential marking as the first target marking point and the second target marking point; determining a specified number of first marking points in opposite directions, respectively, starting from the first target marking point and the second target marking point, to obtain transition marking points; determining the first lane dividing line and the second lane dividing line that need to be updated from the lane dividing lines corresponding to the transition marking points according to the marking information corresponding to the transition marking points; wherein, the first lane dividing line is the lane dividing line inside the road, and the second lane dividing line is the lane dividing line at the edge of the lane; updating the first lane dividing line to a specified dashed line, and updating the second lane dividing line to a solid line with a specified slope.

[0121] Furthermore, the display parameters included in the second marking information corresponding to the second marking point include: road width; the marking generation module is also used to: if the display parameters in the second marking information include the display parameters of a crossroads or a T-junction, convert the road spline corresponding to the second marking point into an intersection outline according to the road width; the intersection outline includes four or three roads; generate a road centerline in the middle of the roads in the intersection outline; and generate corresponding road traffic markings on the roads at the intersection according to the display parameters of the road traffic markings in the second marking information and the pre-configured road traffic rules.

[0122] Furthermore, the above-mentioned device also includes: a merging intersection marking generation module, used to: if the display parameters in the second marking information include the display parameters of a T-junction, and the display parameters of the T-junction are branch road merging, determine the non-intersecting roads and merging roads in the intersection roads; delete the road traffic markings in the first merging area of ​​the non-intersecting roads and the road traffic markings in the second merging area of ​​the merging roads; determine the guiding area in the intersection roads, and generate guiding markings in the guiding area.

[0123] The road traffic marking generation device provided in this embodiment of the invention has the same technical features as the road traffic marking generation method provided in the above embodiments, so it can also solve the same technical problems and achieve the same technical effects.

[0124] This embodiment also provides an electronic device, including a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor. The processor executes the machine-executable instructions to implement the above-described method for generating road traffic markings. This electronic device can be a server or a terminal device.

[0125] See Figure 18 As shown, the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine-executable instructions that can be executed by the processor 100. The processor 100 executes the machine-executable instructions to implement the above-described method for generating road traffic markings.

[0126] Furthermore, Figure 18 The electronic device shown also includes a bus 102 and a communication interface 103, with the processor 100, the communication interface 103 and the memory 101 connected via the bus 102.

[0127] The memory 101 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 103 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network. The bus 102 may be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 18 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.

[0128] Processor 100 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 100 or by instructions in software form. Processor 100 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a readily available storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 101, and the processor 100 reads the information from memory 101 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.

[0129] This embodiment also provides a machine-readable storage medium storing machine-executable instructions. When the machine-executable instructions are invoked and executed by a processor, the machine-executable instructions cause the processor to implement the above-mentioned method for generating road traffic markings, specifically including:

[0130] The method involves acquiring a pre-created road spline of the target road, where each spline includes multiple marker points configured with corresponding marking information. This marking information includes the road location from which the road traffic markings will be generated, as well as the display parameters for the road traffic markings. The marking information of multiple marker points is read in a preset order, and road traffic markings are generated on the target road based on this information. This approach, by pre-setting marker points in the road spline of the target road and configuring corresponding marking information for each marker point, automatically generates corresponding road traffic markings on the target road based on this information. This ensures standardized and uniform marking formats, improves the efficiency and display effect of road traffic marking generation, and reduces the cost of modifying road traffic markings.

[0131] The displayed parameters include at least one or more of the following: road width, number of lane dividers, lane divider type, lane direction, intersection markings, and non-intersection markings. This method further improves the efficiency of lane marking generation by configuring marker points and marking information through a designated tool. Additionally, the designated tool allows for quick adjustments to local road sections, reducing modification costs.

[0132] The aforementioned markers are configured with corresponding sequence identifiers; the display parameters include intersection identifiers; the steps of reading the marker information corresponding to multiple markers in a preset order and generating road traffic markings on the target road based on the marker information include: reading the marker information corresponding to multiple markers according to the sequence identifiers of the markers; identifying the markers and marker information containing non-intersection identifiers among the marker information corresponding to multiple markers as first markers and first marker information, and identifying the markers and marker information containing intersection identifiers among the marker information corresponding to multiple markers as second markers and second marker information; reading the first marker information corresponding to the first marker according to the sequence identifiers of the first markers, and generating road traffic markings on non-intersection roads in the target road based on the first marker information; wherein, the road location included in the first marker information is the location of the non-intersection road; reading the second marker information corresponding to the second marker according to the sequence identifiers of the second markers, and generating road traffic markings on intersection roads in the target road based on the second marker information; wherein, the road location included in the second marker information is the location of the intersection road. In this method, the target road is divided into intersection roads and non-intersection roads, and then road traffic markings are generated on the intersection roads and non-intersection roads respectively, which further improves the efficiency of marking generation.

[0133] The first marking information corresponding to the aforementioned first marking point includes at least the following display parameters: road width, number of lane dividers, and lane divider type; road traffic markings include lane dividers; the step of generating road traffic markings on non-intersection roads in the target road based on the first marking information includes: generating initial lane dividers at the road locations included in the first marking information based on the road width and number of lane dividers; and updating the generated initial lane dividers to target lane dividers that match the lane divider type based on the lane divider type.

[0134] After updating the generated initial lane divider to a target lane divider that matches the lane divider type according to the above steps, the method further includes: if the first marking information corresponding to the first marking point includes display parameters for special markings, generating special markings on non-intersection roads in the target road according to the display parameters of the special markings; wherein, the special markings include at least one or more of the following markings: longitudinal deceleration markings, lateral deceleration markings, outer edge extension markings, pedestrian crossing markings, vehicle distance confirmation markings, and guide arrow markings.

[0135] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: lane direction; the step of generating special markings on non-intersection roads in the target road according to the display parameters of special markings includes: if the display parameters of special markings are the display parameters of longitudinal deceleration markings, generating longitudinal deceleration markings that match the lane direction at the road location for generating longitudinal deceleration markings included in the first marking information.

[0136] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: lane width and number of lane dividing lines; the step of generating special markings on non-intersection roads in the target road according to the display parameters of special markings includes: if the display parameters of special markings are the display parameters of lateral deceleration markings, determining the length of the lateral deceleration markings according to the lane width and number of lane dividing lines; generating lateral deceleration markings at the road locations for generating lateral deceleration markings included in the first marking information.

[0137] The steps described above for generating special markings on non-intersection roads in the target road based on the display parameters of special markings include: if the display parameters of the special markings are the display parameters of the outer edge extension markings, generating the outer edge extension markings at the road location for generating the outer edge extension markings included in the first marking information according to the pre-set generation logic; wherein the marking colors at the starting and ending positions of the outer edge extension markings are different.

[0138] The steps described above for generating special markings on non-intersection roads in the target road based on the display parameters of the special markings include: if the display parameters of the special markings are the display parameters of pedestrian crossing markings, deleting the road traffic sign generated at the road location where the pedestrian crossing markings are generated, which is included in the first sign information, and generating the pedestrian crossing markings.

[0139] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: lane direction; if the display parameters of the special markings are the display parameters of pedestrian crossing markings, after deleting the road traffic signs generated at the road location where the pedestrian crossing markings are generated, which are included in the first marking information, and generating the pedestrian crossing markings, the above method further includes: generating warning markings at each lane at a specified distance in the specified direction of the pedestrian crossing markings; wherein, the specified direction is associated with the lane direction.

[0140] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: lane direction; the step of generating special markings on non-intersection roads in the target road according to the display parameters of special markings includes: if the display parameters of the special markings are the display parameters of a vehicle distance confirmation line or a directional arrow marking, obtaining a target vehicle distance confirmation line or a target directional arrow marking that matches the lane direction and display parameters from the pre-generated markings; displaying the target vehicle distance confirmation line or the target directional arrow marking at the road location where the vehicle distance confirmation line or the directional arrow marking is generated, as included in the first marking information.

[0141] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: display parameters for the central isolation line: after the step of generating special markings on non-intersection roads in the target road according to the display parameters of the special markings, the above method further includes: determining the offset and offset direction of generating the target lane dividing line and special markings at the road positions included in the first marking information according to the width parameter of the central isolation line; wherein, the offset direction of the target lane dividing line and special markings located on the left side of the center of the road is left offset, and the offset direction of the target lane dividing line and special markings located on the right side of the center of the road is right offset; controlling the offset of the target lane dividing line and special markings according to the offset amount and offset direction, and generating the central isolation line at the road positions for generating the central isolation line included in the first marking information according to the width parameter.

[0142] The above-mentioned display parameters include the number of lane dividing lines. After the steps of reading the first marking information corresponding to the first marking points according to the sequential identifiers of the first marking points, and generating road traffic markings on non-intersection roads in the target road based on the first marking information, the above method further includes: reading the number of lane dividing lines in the first marking information corresponding to the first marking points according to the sequential identifiers of the first marking points; if the number of lane dividing lines corresponding to two consecutive first marking points in the sequential identifiers is different, the two consecutive first marking points in the sequential identifiers are determined as the first target marking point and the second target marking point; taking the first target marking point and the second target marking point as starting points respectively, determining a specified number of first marking points in opposite directions to obtain transition marking points; determining the first lane dividing line and the second lane dividing line that need to be updated from the lane dividing lines corresponding to the transition marking points according to the marking information corresponding to the transition marking points; wherein, the first lane dividing line is the lane dividing line inside the road, and the second lane dividing line is the lane dividing line at the edge of the lane; updating the first lane dividing line to a specified dashed line, and updating the second lane dividing line to a solid line with a specified slope.

[0143] The second marking information corresponding to the aforementioned second marking point includes display parameters such as road width. The step of generating road traffic markings on the intersection road in the target road based on the second marking information includes: if the display parameters in the second marking information include those for a crossroads or a T-junction, converting the road spline corresponding to the second marking point into an intersection outline based on the road width; the intersection outline includes four or three roads; generating a road centerline in the middle of the roads in the intersection outline; and generating corresponding road traffic markings on the intersection road based on the display parameters of the road traffic markings in the second marking information and pre-configured road traffic rules. In this method, by generating the outline of the intersection road and then generating the corresponding non-intersection road based on the outline, a perfect match between the markings and the intersection is ensured, further improving the effectiveness of the markings.

[0144] After the step of generating corresponding road traffic markings on the intersection road based on the display parameters of the road traffic markings in the second marking information and the pre-configured road traffic rules, the method further includes: if the display parameters in the second marking information include the display parameters of a T-junction, and the display parameters of the T-junction are merging from a branch road, determining the non-intersecting roads and merging roads in the intersection road; deleting the road traffic markings in the first merging area of ​​the non-intersecting roads and the road traffic markings in the second merging area of ​​the merging roads; determining the guiding area in the intersection road, and generating guiding markings in the guiding area.

[0145] The computer program product of the road traffic marking generation method, apparatus, electronic device, and system provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the preceding method embodiments. The method includes:

[0146] The method involves acquiring a pre-created road spline of the target road, where each spline includes multiple marker points configured with corresponding marking information. This marking information includes the road location from which the road traffic markings will be generated, as well as the display parameters for the road traffic markings. The marking information of multiple marker points is read in a preset order, and road traffic markings are generated on the target road based on this information. This approach, by pre-setting marker points in the road spline of the target road and configuring corresponding marking information for each marker point, automatically generates corresponding road traffic markings on the target road based on this information. This ensures standardized and uniform marking formats, improves the efficiency and display effect of road traffic marking generation, and reduces the cost of modifying road traffic markings.

[0147] The displayed parameters include at least one or more of the following: road width, number of lane dividers, lane divider type, lane direction, intersection markings, and non-intersection markings. This method further improves the efficiency of lane marking generation by configuring marker points and marking information through a designated tool. Additionally, the designated tool allows for quick adjustments to local road sections, reducing modification costs.

[0148] The aforementioned markers are configured with corresponding sequence identifiers; the display parameters include intersection identifiers; the steps of reading the marker information corresponding to multiple markers in a preset order and generating road traffic markings on the target road based on the marker information include: reading the marker information corresponding to multiple markers according to the sequence identifiers of the markers; identifying the markers and marker information containing non-intersection identifiers among the marker information corresponding to multiple markers as first markers and first marker information, and identifying the markers and marker information containing intersection identifiers among the marker information corresponding to multiple markers as second markers and second marker information; reading the first marker information corresponding to the first marker according to the sequence identifiers of the first markers, and generating road traffic markings on non-intersection roads in the target road based on the first marker information; wherein, the road location included in the first marker information is the location of the non-intersection road; reading the second marker information corresponding to the second marker according to the sequence identifiers of the second markers, and generating road traffic markings on intersection roads in the target road based on the second marker information; wherein, the road location included in the second marker information is the location of the intersection road. In this method, the target road is divided into intersection roads and non-intersection roads, and then road traffic markings are generated on the intersection roads and non-intersection roads respectively, which further improves the efficiency of marking generation.

[0149] The first marking information corresponding to the aforementioned first marking point includes at least the following display parameters: road width, number of lane dividers, and lane divider type; road traffic markings include lane dividers; the step of generating road traffic markings on non-intersection roads in the target road based on the first marking information includes: generating initial lane dividers at the road locations included in the first marking information based on the road width and number of lane dividers; and updating the generated initial lane dividers to target lane dividers that match the lane divider type based on the lane divider type.

[0150] After updating the generated initial lane divider to a target lane divider that matches the lane divider type according to the above steps, the method further includes: if the first marking information corresponding to the first marking point includes display parameters for special markings, generating special markings on non-intersection roads in the target road according to the display parameters of the special markings; wherein, the special markings include at least one or more of the following markings: longitudinal deceleration markings, lateral deceleration markings, outer edge extension markings, pedestrian crossing markings, vehicle distance confirmation markings, and guide arrow markings.

[0151] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: lane direction; the step of generating special markings on non-intersection roads in the target road according to the display parameters of special markings includes: if the display parameters of special markings are the display parameters of longitudinal deceleration markings, generating longitudinal deceleration markings that match the lane direction at the road location for generating longitudinal deceleration markings included in the first marking information.

[0152] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: lane width and number of lane dividing lines; the step of generating special markings on non-intersection roads in the target road according to the display parameters of special markings includes: if the display parameters of special markings are the display parameters of lateral deceleration markings, determining the length of the lateral deceleration markings according to the lane width and number of lane dividing lines; generating lateral deceleration markings at the road locations for generating lateral deceleration markings included in the first marking information.

[0153] The steps described above for generating special markings on non-intersection roads in the target road based on the display parameters of special markings include: if the display parameters of the special markings are the display parameters of the outer edge extension markings, generating the outer edge extension markings at the road location for generating the outer edge extension markings included in the first marking information according to the pre-set generation logic; wherein the marking colors at the starting and ending positions of the outer edge extension markings are different.

[0154] The steps described above for generating special markings on non-intersection roads in the target road based on the display parameters of the special markings include: if the display parameters of the special markings are the display parameters of pedestrian crossing markings, deleting the road traffic sign generated at the road location where the pedestrian crossing markings are generated, which is included in the first sign information, and generating the pedestrian crossing markings.

[0155] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: lane direction; if the display parameters of the special markings are the display parameters of pedestrian crossing markings, after deleting the road traffic signs generated at the road location where the pedestrian crossing markings are generated, which are included in the first marking information, and generating the pedestrian crossing markings, the above method further includes: generating warning markings at each lane at a specified distance in the specified direction of the pedestrian crossing markings; wherein, the specified direction is associated with the lane direction.

[0156] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: lane direction; the step of generating special markings on non-intersection roads in the target road according to the display parameters of special markings includes: if the display parameters of the special markings are the display parameters of a vehicle distance confirmation line or a directional arrow marking, obtaining a target vehicle distance confirmation line or a target directional arrow marking that matches the lane direction and display parameters from the pre-generated markings; displaying the target vehicle distance confirmation line or the target directional arrow marking at the road location where the vehicle distance confirmation line or the directional arrow marking is generated, as included in the first marking information.

[0157] The display parameters in the first marking information corresponding to the first marking point mentioned above also include: display parameters for the central isolation line: after the step of generating special markings on non-intersection roads in the target road according to the display parameters of the special markings, the above method further includes: determining the offset and offset direction of generating the target lane dividing line and special markings at the road positions included in the first marking information according to the width parameter of the central isolation line; wherein, the offset direction of the target lane dividing line and special markings located on the left side of the center of the road is left offset, and the offset direction of the target lane dividing line and special markings located on the right side of the center of the road is right offset; controlling the offset of the target lane dividing line and special markings according to the offset amount and offset direction, and generating the central isolation line at the road positions for generating the central isolation line included in the first marking information according to the width parameter.

[0158] The above-mentioned display parameters include the number of lane dividing lines. After the steps of reading the first marking information corresponding to the first marking points according to the sequential identifiers of the first marking points, and generating road traffic markings on non-intersection roads in the target road based on the first marking information, the above method further includes: reading the number of lane dividing lines in the first marking information corresponding to the first marking points according to the sequential identifiers of the first marking points; if the number of lane dividing lines corresponding to two consecutive first marking points in the sequential identifiers is different, the two consecutive first marking points in the sequential identifiers are determined as the first target marking point and the second target marking point; taking the first target marking point and the second target marking point as starting points respectively, determining a specified number of first marking points in opposite directions to obtain transition marking points; determining the first lane dividing line and the second lane dividing line that need to be updated from the lane dividing lines corresponding to the transition marking points according to the marking information corresponding to the transition marking points; wherein, the first lane dividing line is the lane dividing line inside the road, and the second lane dividing line is the lane dividing line at the edge of the lane; updating the first lane dividing line to a specified dashed line, and updating the second lane dividing line to a solid line with a specified slope.

[0159] The second marking information corresponding to the aforementioned second marking point includes display parameters such as road width. The step of generating road traffic markings on the intersection road in the target road based on the second marking information includes: if the display parameters in the second marking information include those for a crossroads or a T-junction, converting the road spline corresponding to the second marking point into an intersection outline based on the road width; the intersection outline includes four or three roads; generating a road centerline in the middle of the roads in the intersection outline; and generating corresponding road traffic markings on the intersection road based on the display parameters of the road traffic markings in the second marking information and pre-configured road traffic rules. In this method, by generating the outline of the intersection road and then generating the corresponding non-intersection road based on the outline, a perfect match between the markings and the intersection is ensured, further improving the effectiveness of the markings.

[0160] After the step of generating corresponding road traffic markings on the intersection road based on the display parameters of the road traffic markings in the second marking information and the pre-configured road traffic rules, the method further includes: if the display parameters in the second marking information include the display parameters of a T-junction, and the display parameters of the T-junction are merging from a branch road, determining the non-intersecting roads and merging roads in the intersection road; deleting the road traffic markings in the first merging area of ​​the non-intersecting roads and the road traffic markings in the second merging area of ​​the merging roads; determining the guiding area in the intersection road, and generating guiding markings in the guiding area.

[0161] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and apparatus described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0162] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.

[0163] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0164] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0165] Finally, it should be noted that the above embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for generating road traffic markings, characterized in that, The method includes: Obtain a pre-created road spline of the target road; wherein the road spline includes multiple marker points, and each marker point is configured with corresponding marker information; the marker information includes: the road location for generating road traffic markings, and the display parameters of the road traffic markings; wherein the marker points are configured with corresponding sequence identifiers; the display parameters include intersection identifiers and non-intersection identifiers; Read the marking information corresponding to the multiple marking points according to the sequential identification of the marking points; The marking information corresponding to the plurality of marking points that includes the non-intersection markers is determined as the first marking point and the first marking information, and the marking information corresponding to the plurality of marking points that includes the intersection markers is determined as the second marking point and the second marking information. Read the first marking information corresponding to the first marking point according to the sequential identification of the first marking point, and generate the road traffic markings on the non-intersection road in the target road according to the first marking information; wherein, the road location included in the first marking information is the location of the non-intersection road; The second marking information corresponding to the second marking point is read according to the sequential identification of the second marking point, and the road traffic marking is generated on the intersection road in the target road according to the second marking information; wherein, the road location included in the second marking information is the location of the intersection road.

2. The method according to claim 1, characterized in that, The display parameters also include one or more of the following: road width, number of lane dividers, lane divider type, and lane direction.

3. The method according to claim 1, characterized in that, The first marking information corresponding to the first marking point includes at least the following display parameters: road width, number of lane dividing lines, and type of lane dividing lines; the road traffic markings include lane dividing lines. The step of generating the road traffic markings on non-intersection roads within the target road based on the first marking information includes: Based on the road width and the number of lane dividers, initial lane dividers are generated at the road locations included in the first marking information; Based on the lane divider type, the generated initial lane divider is updated to a target lane divider that matches the lane divider type.

4. The method according to claim 3, characterized in that, After updating the generated initial lane divider to a target lane divider that matches the lane divider type according to the lane divider type, the method further includes: If the first marking information corresponding to the first marking point includes display parameters for special markings, the special markings are generated on non-intersection roads in the target road according to the display parameters of the special markings; wherein, the special markings include at least one or more of the following markings: longitudinal deceleration markings, lateral deceleration markings, outer edge extension markings, pedestrian crossing markings, vehicle distance confirmation markings, and guide arrow markings.

5. The method according to claim 4, characterized in that, The display parameters in the first marking information corresponding to the first marking point also include: lane direction; The step of generating the special markings on non-intersection roads within the target road according to the display parameters of the special markings includes: If the display parameters of the special markings are the same as those of the longitudinal deceleration markings, a longitudinal deceleration marking matching the lane direction is generated at the road location where the longitudinal deceleration marking is generated, as included in the first marking information.

6. The method according to claim 4, characterized in that, The display parameters in the first marking information corresponding to the first marking point also include: lane width; The step of generating the special markings on non-intersection roads within the target road according to the display parameters of the special markings includes: If the display parameters of the special markings are the same as those of the lateral deceleration markings, the length of the lateral deceleration markings is determined based on the lane width and the number of lane dividing lines. The lateral deceleration markings are generated at the road locations where they are to be generated, as included in the first marking information.

7. The method according to claim 4, characterized in that, The step of generating the special markings on non-intersection roads within the target road according to the display parameters of the special markings includes: If the display parameters of the special marking are the same as those of the outer edge extension marking, the outer edge extension marking is generated at the road location included in the first marking information according to the preset generation logic; wherein the marking color of the outer edge extension marking is different at the starting position and the ending position of the marking.

8. The method according to claim 4, characterized in that, The step of generating the special markings on non-intersection roads within the target road according to the display parameters of the special markings includes: If the display parameters of the special markings are the display parameters of pedestrian crossing markings, delete the road traffic signs generated at the road location where the pedestrian crossing markings are generated, which are included in the first marking information, and generate the pedestrian crossing markings.

9. The method according to claim 8, characterized in that, The display parameters in the first marking information corresponding to the first marking point also include: lane direction; If the display parameters of the special markings are the display parameters of pedestrian crossing markings, after deleting the road traffic signs generated at the road location where the pedestrian crossing markings are generated, which are included in the first marking information, and generating the pedestrian crossing markings, the method further includes: Warning markings are generated at a specified distance in a specified direction of the pedestrian crossing markings in each lane; wherein the specified direction is associated with the lane direction.

10. The method according to claim 4, characterized in that, The display parameters in the first marking information corresponding to the first marking point also include: lane direction; The step of generating the special markings on non-intersection roads within the target road according to the display parameters of the special markings includes: If the display parameters of the special marking are the display parameters of the distance confirmation line or the display parameters of the guide arrow marking, obtain the target distance confirmation line or target guide arrow marking that matches the lane direction and the display parameters from the pre-generated markings; The target vehicle distance confirmation line or the target directional arrow mark is displayed at the road location where the vehicle distance confirmation line or directional arrow mark is generated, as included in the first marking information.

11. The method according to claim 4, characterized in that, The display parameters in the first marking information corresponding to the first marking point also include: the display parameters for the central isolation line. After the step of generating the special markings on a non-intersection road within the target road based on the display parameters of the special markings, the method further includes: Based on the width parameter of the central divider line, the offset and offset direction of the target lane dividing line and special markings generated at the road locations included in the first marking information are determined; wherein, the offset direction of the target lane dividing line and special markings located on the left side of the road center is left offset, and the offset direction of the target lane dividing line and special markings located on the right side of the road center is right offset. The target lane divider and the special markings are offset according to the offset amount and the offset direction, and the central median marking is generated at the road location for generating the central median marking included in the first marking information according to the width parameter.

12. The method according to claim 1, characterized in that, The display parameters include the number of lane dividing lines; After the step of reading the first marking information corresponding to the first marking points according to their sequential identifiers, and generating the road traffic markings on non-intersection roads in the target road based on the first marking information, the method further includes: Read the number of lane dividing lines in the first marking information corresponding to the first marking point according to the sequential identifier of the first marking point. If the number of lane dividing lines corresponding to two consecutive first marking points with the sequential identifier is different, determine the two consecutive first marking points with the sequential identifier as the first target marking point and the second target marking point. Starting from the first target marker point and the second target marker point respectively, determine a specified number of first marker points in opposite directions to obtain transition marker points; Based on the marking information corresponding to the transition markers, determine the first lane dividing line and the second lane dividing line that need to be updated from the lane dividing lines corresponding to the transition markers; wherein, the first lane dividing line is the lane dividing line inside the road, and the second lane dividing line is the lane dividing line at the edge of the lane. Update the first lane divider to a specified dashed line, and update the second lane divider to a solid line with a specified slope.

13. The method according to claim 1, characterized in that, The display parameters included in the second marker information corresponding to the second marker point include: road width; The step of generating the road traffic markings on the intersection road in the target road based on the second marking information includes: If the display parameters in the second marking information include the display parameters for a crossroads or a T-junction, the road spline corresponding to the second marking point is converted into an intersection outline according to the road width; the intersection outline includes four or three roads; A road centerline is generated in the middle of the road within the intersection outline; Based on the display parameters of the road traffic markings in the second marking information and the pre-configured road traffic rules, corresponding road traffic markings are generated on the road at the intersection.

14. The method according to claim 13, characterized in that, After the step of generating corresponding road traffic markings on the road at the intersection based on the display parameters of the road traffic markings in the second marking information and the pre-configured road traffic rules, the method further includes: If the display parameters in the second marking information include the display parameters of the T-junction, and the display parameters of the T-junction are merging branches, then determine the non-intersecting roads and merging roads in the intersection. Delete the road traffic markings in the first merging area of ​​the non-intersecting road and the road traffic markings in the second merging area of ​​the merging road; Determine the traffic guidance area in the intersection road, and generate traffic guidance markings within the traffic guidance area.

15. A road traffic marking generation device, characterized in that, The device includes: A spline acquisition module is used to acquire a pre-created road spline of a target road; wherein the road spline includes multiple marker points, and each marker point is configured with corresponding marker information; the marker information includes: the road location for generating road traffic markings, and the display parameters of the road traffic markings; wherein the marker points are configured with corresponding sequence identifiers; the display parameters include intersection identifiers and non-intersection identifiers; A line marking generation module is used to read the marking information corresponding to the plurality of marking points according to the sequential identification of the marking points; The marking information corresponding to the plurality of marking points that includes the non-intersection markers is determined as the first marking point and the first marking information, and the marking information corresponding to the plurality of marking points that includes the intersection markers is determined as the second marking point and the second marking information. Read the first marking information corresponding to the first marking point according to the sequential identification of the first marking point, and generate the road traffic markings on the non-intersection road in the target road according to the first marking information; wherein, the road location included in the first marking information is the location of the non-intersection road; The second marking information corresponding to the second marking point is read according to the sequential identification of the second marking point, and the road traffic marking is generated on the intersection road in the target road according to the second marking information; wherein, the road location included in the second marking information is the location of the intersection road.

16. An electronic device, characterized in that, The method includes a processor and a memory, the memory storing computer-executable instructions that can be executed by the processor, the processor executing the computer-executable instructions to implement the method for generating road traffic markings according to any one of claims 1-14.

17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the method for generating road traffic markings as described in any one of claims 1-14.