Parameter configuration method, device and equipment

文档序号:1923377 发布日期:2021-12-03 浏览:29次 中文

阅读说明:本技术 一种参数配置方法、装置及设备 (Parameter configuration method, device and equipment ) 是由 陈一珂 吴海飞 张吉凯 肖延毅 叶倪 沈丹萍 于 2020-05-29 设计创作,主要内容包括:本申请提供一种参数配置方法、装置及设备,该方法包括:确定待管理路口的路口类型;获取与所述路口类型对应的三维底图,并获取与所述路口类型对应的待加载到所述三维底图中的三维模型;将所述三维模型加载到所述三维底图中,得到三维目标图像;根据所述三维目标图像对所述待管理路口的信号机进行参数配置。通过本申请的技术方案,对路口真实情况的还原度较高,能够根据路口真实情况进行信号机的配置,信号机配置的效率和准确率均较高。(The application provides a parameter configuration method, a device and equipment, wherein the method comprises the following steps: determining the type of the intersection to be managed; acquiring a three-dimensional base map corresponding to the type of the intersection, and acquiring a three-dimensional model corresponding to the type of the intersection and to be loaded into the three-dimensional base map; loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image; and carrying out parameter configuration on the signal machine of the intersection to be managed according to the three-dimensional target image. Through the technical scheme, the reduction degree of the road junction real situation is high, the configuration of the signal machine can be carried out according to the road junction real situation, and the efficiency and the accuracy of the configuration of the signal machine are high.)

1. A method of parameter configuration, the method comprising:

determining the type of the intersection to be managed;

acquiring a three-dimensional base map corresponding to the type of the intersection, and acquiring a three-dimensional model corresponding to the type of the intersection and to be loaded into the three-dimensional base map;

loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image;

and carrying out parameter configuration on the signal machine of the intersection to be managed according to the three-dimensional target image.

2. The method of claim 1,

the determining of the intersection type of the intersection to be managed comprises the following steps:

acquiring direction marks of a plurality of lane arrows of an intersection to be managed, wherein the lane arrows represent the driving direction of a lane;

selecting a target direction set from a plurality of candidate direction sets, wherein the target direction set comprises direction marks of the plurality of lane arrows; wherein each candidate direction set comprises a plurality of direction identifiers;

and determining the intersection type corresponding to the target direction set as the intersection type of the intersection to be managed.

3. The method of claim 1, wherein said obtaining a three-dimensional floor map corresponding to said type of intersection comprises: selecting a three-dimensional base map corresponding to the type of the intersection from a plurality of pre-created three-dimensional base maps; wherein the plurality of three-dimensional base maps comprise any combination of the following images: t-shaped three-dimensional base map, Y-shaped three-dimensional base map, quadrilateral three-dimensional base map, hexagonal three-dimensional base map and octagonal three-dimensional base map;

the acquiring of the three-dimensional model to be loaded into the three-dimensional base map corresponding to the intersection type includes: selecting a three-dimensional model corresponding to the type of the intersection from a plurality of pre-created three-dimensional models, and determining the selected three-dimensional model as the three-dimensional model to be loaded into the three-dimensional base map; wherein the plurality of three-dimensional models comprises any combination of: the three-dimensional model of the road, the three-dimensional model of the intersection, the three-dimensional model of the name plate, the three-dimensional model of the sidewalk, the three-dimensional model of the signal lamp, the three-dimensional model of the arrow and the three-dimensional model of the building.

4. The method of claim 1,

the loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image comprises:

acquiring the position relation between the three-dimensional model and the three-dimensional base map in a coordinate system of the three-dimensional base map;

determining the target position of the three-dimensional model according to the position relation;

and loading the three-dimensional model at the target position of the three-dimensional base map to obtain a three-dimensional target image.

5. The method according to claim 1, wherein the signal comprises at least one signal light, and the lane in the three-dimensional target image has a correspondence relationship with the signal light;

carrying out parameter configuration on the signal machine of the intersection to be managed according to the three-dimensional target image, wherein the parameter configuration comprises the following steps:

acquiring target lane information and control parameters of the intersection to be managed;

inquiring a target lane matched with the target lane information from the three-dimensional target image;

and carrying out parameter configuration on the signal lamp corresponding to the target lane according to the control parameters.

6. The method of claim 1, wherein after loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image, the method further comprises:

acquiring target lane area information and the number of target lanes;

inquiring a target lane area matched with the target lane area information from the three-dimensional target image;

and adjusting the number of lanes of the target lane area to the number of target lanes.

7. The method of claim 1, wherein after loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image, the method further comprises:

acquiring target sidewalk information and a sidewalk starting state;

and if the sidewalk is not started, inquiring a target sidewalk matched with the target sidewalk information from the three-dimensional target image, and deleting the target sidewalk.

8. The method of claim 1, wherein after loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image, the method further comprises:

acquiring arrow information and a target direction of a target lane;

inquiring a target lane arrow matched with the target lane arrow information from the three-dimensional target image;

and adjusting the direction of the arrow of the target lane to be the target direction.

9. An apparatus for parameter configuration, the apparatus comprising:

the determining module is used for determining the type of the intersection to be managed;

the acquisition module is used for acquiring a three-dimensional base map corresponding to the type of the intersection and acquiring a three-dimensional model corresponding to the type of the intersection to be loaded into the three-dimensional base map;

the generating module is used for loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image;

and the configuration module is used for carrying out parameter configuration on the signal machine of the intersection to be managed according to the three-dimensional target image.

10. A parameter configuration device, comprising: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor;

the processor is configured to execute machine executable instructions to perform the steps of:

determining the type of the intersection to be managed;

acquiring a three-dimensional base map corresponding to the type of the intersection, and acquiring a three-dimensional model corresponding to the type of the intersection and to be loaded into the three-dimensional base map;

loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image;

and carrying out parameter configuration on the signal machine of the intersection to be managed according to the three-dimensional target image.

Technical Field

The present application relates to the field of traffic management, and in particular, to a parameter configuration method, apparatus, and device.

Background

Traffic signals (traffic signals) are one of the important components of urban traffic systems, and are used for controlling and managing traffic signals. The signal machine can be composed of signal lamps, a Central Processing Unit (CPU) board, a control board, a lamp group drive board, a switching power supply, a button board, a distribution board, a wiring terminal row and the like. In order to control and manage traffic signals, parameter configuration needs to be performed on the signal machine, for example, red light duration and green light duration of each signal lamp are configured, so that state switching and duration of the signal lamps are managed.

In order to implement parameter configuration of the traffic signal, a channelized graph is generally required to be displayed to a user, and the user knows contents of intersections, road sections, lanes, stop lines, pedestrian crossings, road signs, green belts, isolation belts, lane arrow signs and the like based on the channelized graph, so that the user can configure relevant parameters for the traffic signal according to the channelized graph.

However, in the related art, the drawing of the channelized graph is rough, and the reduction degree of the real situation of the intersection is low, so that a user cannot know the real situation of the intersection according to the channelized graph, that is, cannot configure the signal machine according to the real situation of the intersection, and therefore, the efficiency and the accuracy of signal machine configuration are low.

Disclosure of Invention

The application provides a parameter configuration method, which comprises the following steps:

determining the type of the intersection to be managed;

acquiring a three-dimensional base map corresponding to the type of the intersection, and acquiring a three-dimensional model corresponding to the type of the intersection and to be loaded into the three-dimensional base map;

loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image;

and carrying out parameter configuration on the signal machine of the intersection to be managed according to the three-dimensional target image.

Illustratively, the determining the intersection type of the intersection to be managed includes: acquiring direction marks of a plurality of lane arrows of an intersection to be managed, wherein the lane arrows represent the driving direction of a lane;

selecting a target direction set from a plurality of candidate direction sets, wherein the target direction set comprises direction marks of the plurality of lane arrows; wherein each candidate direction set comprises a plurality of direction identifiers;

and determining the intersection type corresponding to the target direction set as the intersection type of the intersection to be managed.

Illustratively, the acquiring a three-dimensional base map corresponding to the intersection type includes: selecting a three-dimensional base map corresponding to the type of the intersection from a plurality of pre-created three-dimensional base maps; wherein the plurality of three-dimensional base maps comprise any combination of the following images: t-shaped three-dimensional base map, Y-shaped three-dimensional base map, quadrilateral three-dimensional base map, hexagonal three-dimensional base map and octagonal three-dimensional base map;

the acquiring of the three-dimensional model to be loaded into the three-dimensional base map corresponding to the intersection type includes: selecting a three-dimensional model corresponding to the type of the intersection from a plurality of pre-created three-dimensional models, and determining the selected three-dimensional model as the three-dimensional model to be loaded into the three-dimensional base map; wherein the plurality of three-dimensional models comprises any combination of: the three-dimensional model of the road, the three-dimensional model of the intersection, the three-dimensional model of the name plate, the three-dimensional model of the sidewalk, the three-dimensional model of the signal lamp, the three-dimensional model of the arrow and the three-dimensional model of the building.

The loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image comprises:

acquiring the position relation between the three-dimensional model and the three-dimensional base map in a coordinate system of the three-dimensional base map;

determining the target position of the three-dimensional model according to the position relation;

and loading the three-dimensional model at the target position of the three-dimensional base map to obtain a three-dimensional target image.

The signal machine comprises at least one signal lamp, and the lane in the three-dimensional target image and the signal lamp have a corresponding relation; carrying out parameter configuration on the signal machine of the intersection to be managed according to the three-dimensional target image, wherein the parameter configuration comprises the following steps: acquiring target lane information and control parameters of the intersection to be managed;

inquiring a target lane matched with the target lane information from the three-dimensional target image;

and carrying out parameter configuration on the signal lamp corresponding to the target lane according to the control parameters.

Illustratively, after the three-dimensional model is loaded into the three-dimensional base map to obtain a three-dimensional target image, the method further includes: acquiring target lane area information and the number of target lanes;

inquiring a target lane area matched with the target lane area information from the three-dimensional target image;

and adjusting the number of lanes of the target lane area to the number of target lanes.

Illustratively, after the three-dimensional model is loaded into the three-dimensional base map to obtain a three-dimensional target image, the method further includes: acquiring target sidewalk information and a sidewalk starting state;

and if the sidewalk is not started, inquiring a target sidewalk matched with the target sidewalk information from the three-dimensional target image, and deleting the target sidewalk.

Illustratively, after the three-dimensional model is loaded into the three-dimensional base map to obtain a three-dimensional target image, the method further includes: acquiring arrow information and a target direction of a target lane;

inquiring a target lane arrow matched with the target lane arrow information from the three-dimensional target image;

and adjusting the direction of the arrow of the target lane to be the target direction.

The application provides a parameter configuration device, the device includes:

the determining module is used for determining the type of the intersection to be managed;

the acquisition module is used for acquiring a three-dimensional base map corresponding to the type of the intersection and acquiring a three-dimensional model corresponding to the type of the intersection to be loaded into the three-dimensional base map;

the generating module is used for loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image;

and the configuration module is used for carrying out parameter configuration on the signal machine of the intersection to be managed according to the three-dimensional target image.

The application provides a parameter configuration equipment, includes: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor;

the processor is configured to execute machine executable instructions to perform the steps of:

determining the type of the intersection to be managed;

acquiring a three-dimensional base map corresponding to the type of the intersection, and acquiring a three-dimensional model corresponding to the type of the intersection and to be loaded into the three-dimensional base map;

loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image;

and carrying out parameter configuration on the signal machine of the intersection to be managed according to the three-dimensional target image.

According to the technical scheme, the three-dimensional target image (namely the three-dimensional canalization image) can be generated and displayed to the user, so that the user can know the contents of intersections, road sections, lanes, stop lines, pedestrian crossings, road signs, green belts, isolation belts, lane arrow signs and the like based on the three-dimensional target image through the function of interaction with the user through the three-dimensional scene, and the signal machine is subjected to parameter configuration according to the three-dimensional target image. Because the three-dimensional target image is a multi-view 3D effect image, the reduction degree of the real situation of the road junction is higher, so that a user can know the real situation of the road junction, namely, the configuration of the signal machine can be carried out according to the real situation of the road junction, the efficiency and the accuracy of the configuration of the signal machine are higher, and the user experience is improved.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments of the present application or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings of the embodiments of the present application.

FIGS. 1A-1C are schematic illustrations of a three-dimensional base map in one embodiment of the present application;

FIG. 1D is a schematic representation of a three-dimensional model of an arrow in one embodiment of the present application;

FIG. 2 is a flow chart illustrating a parameter configuration method according to an embodiment of the present application;

FIGS. 3A and 3B are schematic diagrams of tree structures of a three-dimensional model in an embodiment of the present application;

3C-3F are schematic diagrams of three-dimensional target images in one embodiment of the present application;

FIG. 4 is a schematic diagram of a parameter configuration apparatus according to an embodiment of the present application;

fig. 5 is a hardware configuration diagram of a parameter configuration device according to an embodiment of the present application.

Detailed Description

The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein is meant to encompass any and all possible combinations of one or more of the associated listed items.

It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Depending on the context, moreover, the word "if" as used may be interpreted as "at … …" or "when … …" or "in response to a determination".

The signal machine (traffic signal machine) is one of the important components of the urban traffic system, and is used for controlling and managing traffic signals, and the signal machine is composed of signal lamps, a CPU board, a control board, a lamp group drive board, a switch power supply, a button board, a distribution board, a wiring terminal row and the like. In order to implement control and management of traffic signals, in the embodiment of the application, a three-dimensional target image may be generated and displayed to a user, so that the user knows contents of intersections, road sections, lanes, stop lines, pedestrian crossings, road signs, green belts, isolation belts, lane arrow signs and the like based on the three-dimensional target image, and performs parameter configuration on a traffic signal according to the three-dimensional target image, for example, red light duration and green light duration of each signal lamp may be configured, so as to manage state switching and duration of the signal lamps. Because the three-dimensional target image is a multi-view 3D effect image, the reduction degree of the real situation of the road junction is high, so that a user can know the real situation of the road junction, the configuration of the signal machine is convenient to carry out according to the real situation of the road junction, the configuration efficiency and accuracy of the signal machine are improved, and the user experience is improved.

For example, the three-dimensional target image may be a three-dimensional type intersection canalization map, i.e., the intersection canalization map may be a three-dimensional image. Based on the three-dimensional intersection canalization diagram, the conflicted traffic flow can be separated or controlled in the modes of diversion islands, road surface marking lines and the like to enter a certain route, so that vehicles with different speeds can run along the specified direction without interfering with each other, and the basic requirement of plane crossing is met.

In a possible implementation manner, a three-dimensional base map may be created for each intersection type, and for each intersection type, the intersection type may correspond to one three-dimensional base map or at least two three-dimensional base maps, which is not limited to this, and then the intersection type corresponds to one three-dimensional base map as an example.

The three-dimensional base map refers to a base map of a three-dimensional type, i.e., a base map having a three-dimensional effect. The base map is an image which is arranged at the bottommost part of a plurality of layers in a drawing process, and after the base map exists, elements (namely data sets) related to the base map can be loaded to the base map in an ordered mode in the form of the layers. In this embodiment, the three-dimensional model may be loaded to the three-dimensional base map, and therefore, the three-dimensional base map may also be understood as a three-dimensional image on which the three-dimensional model is not superimposed.

For example, the intersection types may include, but are not limited to: t-shaped intersections (i.e., T-junctions), Y-shaped intersections (i.e., three-way intersections), quadrangular intersections (i.e., intersections), hexagonal intersections, octagonal intersections, and the like.

For the T-shaped intersection, a T-shaped three-dimensional image can be created, and the T-shaped three-dimensional image is used as a three-dimensional base map of the T-shaped intersection. Aiming at the Y-shaped intersection, a Y-shaped three-dimensional image can be created, and the Y-shaped three-dimensional image is used as a three-dimensional base map of the Y-shaped intersection. Aiming at the quadrilateral intersection, a quadrilateral three-dimensional image can be created, and the quadrilateral three-dimensional image is used as a three-dimensional base map of the quadrilateral intersection. For a hexagonal intersection, a hexagonal three-dimensional image can be created as a three-dimensional base map of the hexagonal intersection. For an octagonal intersection, an octagonal three-dimensional image can be created, which serves as a three-dimensional base map for the octagonal intersection.

Of course, the above are only a few examples and are not limiting. Aiming at different intersection types, a three-dimensional base map corresponding to the intersection type can be created, and the intersection type can be user-defined.

When the three-dimensional base map corresponding to the intersection type is created, the three-dimensional base map is a three-dimensional image, and the creating mode is not limited, and the three-dimensional base map is only a three-dimensional image corresponding to the intersection type. For example, see fig. 1A for an example of a quadrilateral three-dimensional image, see fig. 1B for an example of a hexagonal three-dimensional image, and see fig. 1C for an example of an octagonal three-dimensional image. Of course, fig. 1A to 1C are only examples, which are not limited to these, and details about the T-shaped three-dimensional image and the Y-shaped three-dimensional image are not repeated here. Fig. 1A to 1C are merely examples of two-dimensional images given for convenience, and in practice, fig. 1A to 1C are each three-dimensional images.

In one possible implementation, a three-dimensional model may be created in advance, and the three-dimensional model may include, but is not limited to, one or any combination of the following: the three-dimensional model of the road, the three-dimensional model of the intersection, the three-dimensional model of the name plate, the three-dimensional model of the sidewalk, the three-dimensional model of the signal lamp, the three-dimensional model of the arrow and the three-dimensional model of the building.

For each intersection type, the intersection type may correspond to one three-dimensional model or at least two three-dimensional models, which is not limited to this. For example, the T-shaped road junction can correspond to a three-dimensional model of a road, a three-dimensional model of a sidewalk, a three-dimensional model of a signal lamp and a three-dimensional model of an arrow. Aiming at the Y-shaped road junction, the method can correspond to a road three-dimensional model, a junction three-dimensional model, a signal lamp three-dimensional model and an arrow three-dimensional model. The method can correspond to a road three-dimensional model, an intersection three-dimensional model, a sidewalk three-dimensional model, a signal lamp three-dimensional model, an arrow three-dimensional model and a building three-dimensional model for the quadrangular intersection. Of course, the above are only a few examples, and the method is not limited thereto as long as the three-dimensional model corresponding to the intersection type can be determined.

To create the three-dimensional model, a 3D coordinate system may be first established, taking a top view as an example, and then a forward X axis is centered rightward, a forward Y axis is centered downward, and a forward Z axis is centered outward from the screen, so as to establish the 3D coordinate system. Obtaining a two-dimensional model (plane model), such as a road two-dimensional model, an intersection two-dimensional model, a name plate two-dimensional model, a sidewalk two-dimensional model, a signal lamp two-dimensional model, an arrow two-dimensional model and a building two-dimensional model. And under the 3D coordinate system, converting the two-dimensional model into the three-dimensional model by adopting a 3D technology, and not limiting the conversion process. If a 3D technology is adopted to convert a two-dimensional road model into a three-dimensional road model, a 3D technology is adopted to convert a two-dimensional name plate model into a three-dimensional name plate model, a 3D technology is adopted to convert a two-dimensional sidewalk model into a three-dimensional sidewalk model, a 3D technology is adopted to convert a two-dimensional signal lamp model into a three-dimensional signal lamp model, a 3D technology is adopted to convert a two-dimensional arrow head model into a three-dimensional arrow head model, and a 3D technology is adopted to convert a two-dimensional building model into a three-dimensional building model.

For example, when a two-dimensional model is converted into a three-dimensional model by using a 3D technology, the two-dimensional model can be converted into the three-dimensional model by using a plane shape and a map for a two-dimensional model of a road, a two-dimensional model of an intersection, a two-dimensional model of a name plate, a two-dimensional model of a sidewalk, a two-dimensional model of a signal lamp, and the like, and the conversion process is not limited. For the two-dimensional model of the building, the two-dimensional model of the building can be converted into a three-dimensional model of the building in a cuboid and map mode, and the conversion process is not limited. For the arrow two-dimensional model, the arrow two-dimensional model may be extruded into an arrow three-dimensional model, for example, as shown in fig. 1D, an arrow contour is traced in an X-Y coordinate system, and an arrow height is given in a Z-axis, thereby forming the arrow three-dimensional model. Of course, the above is only an example of converting a two-dimensional model into a three-dimensional model by using a 3D technique, and the method is not limited thereto.

Illustratively, a two-dimensional model is a two-dimensional model, i.e., a model in a planar dimension, with each point in the two-dimensional model having horizontal axis information and vertical axis information. The three-dimensional model is a three-dimensional model, i.e., a model of a three-dimensional dimension, each point in the three-dimensional model having horizontal axis information, vertical axis information, and vertical axis information.

In the case of a three-dimensional model, "three-dimensional" means that the three-dimensional model has three dimensions, i.e., has horizontal axis information, vertical axis information, and the "model" means an image, and the three-dimensional model herein is an image related to an intersection, such as a road image, a sidewalk image, a signal light image, an arrow image, and the like.

In this embodiment, the three-dimensional model may be loaded to the three-dimensional base map, and therefore, the three-dimensional model may also be understood as a three-dimensional image that can be loaded to the three-dimensional base map, such as a three-dimensional image related to an intersection.

Based on the application scenario, an embodiment of the present application provides a parameter configuration method, which may be applied to a server, and referring to fig. 2, the method is a flow diagram of the parameter configuration method, and the method may include:

step 201, determining the intersection type of the intersection to be managed.

For example, when a signal machine of a certain intersection needs to be configured with parameters, the intersection may be called an intersection to be managed, and the intersection type of the intersection to be managed, such as a T-shaped intersection, a Y-shaped intersection, a quadrilateral intersection, a hexagonal intersection, an octagonal intersection, etc., is determined, and the intersection type is not limited.

In a possible implementation manner, intersection type indication information of an intersection to be managed can be obtained, and the intersection type of the intersection to be managed is determined according to the intersection type indication information. For example, if the intersection type indication information is used to indicate that the intersection type of the intersection to be managed is a T-shaped intersection, it is determined that the intersection type of the intersection to be managed is the T-shaped intersection, and if the intersection type indication information is used to indicate that the intersection type of the intersection to be managed is a quadrangular intersection, it is determined that the intersection type of the intersection to be managed is the quadrangular intersection, and so on.

Illustratively, the server may display a WEB page to the user, where the user inputs information related to the intersection type, and the server determines intersection type indication information of the intersection to be managed based on the information.

For example, the WEB page may include buttons of a plurality of intersection types, and when the user clicks the button of "T-shaped intersection", the intersection type indication information is used to indicate that the intersection type of the intersection to be managed is a T-shaped intersection.

For another example, the user may input "T-shaped intersection" on the WEB page, and based on the above information, the server may determine intersection type indication information for indicating that the intersection type of the intersection to be managed is the T-shaped intersection.

Of course, the above-mentioned modes are only two examples, and no limitation is made to this, as long as the server can determine the intersection type indication information of the intersection to be managed, and determine the intersection type of the intersection to be managed according to the intersection type indication information.

In another possible embodiment, the intersection type of the intersection to be managed is determined by the following steps:

step 2011, obtaining direction identifiers of a plurality of lane arrows of the intersection to be managed, where the lane arrows indicate a driving direction of the lane, that is, the vehicle needs to drive on the lane according to the driving direction.

For example, the intersection to be managed may include a plurality of lane arrows, and the server may acquire direction identifications of the plurality of lane arrows. For example, for each lane arrow, the server may first determine a unique identification for the lane arrow and determine a directional identification for the lane arrow based on the unique identification for the lane arrow. For another example, for each lane arrow, the server may directly determine the direction identification of the lane arrow.

In one possible embodiment, the server may display a WEB page to the user, where the user enters information about the lane arrow, based on which the server determines the unique identification of the lane arrow. For example, a WEB page may include buttons for various lane arrows, and when a user clicks on a button for a lane arrow, a unique identification for that lane arrow may be determined. For another example, the user may input a unique identifier of a lane arrow on the WEB page, and based on the information, the server may determine the unique identifier of the lane arrow.

With respect to lane arrows, may include, but are not limited to: lane arrows in the southwest to northeast direction, lane arrows in the southeast to north, lane arrows in the southeast to northwest direction, lane arrows in the west to east direction, lane arrows in the east to west direction, lane arrows in the northwest to southeast direction, lane arrows in the north to south direction, and lane arrows in the northeast to southwest direction. Of course, the above are only a few examples and are not limiting.

For example, when a lane arrow in the southwest-to-northeast direction exists in the intersection to be managed, the user may click a button of the lane arrow in the southwest-to-northeast direction on the WEB page, or the user may input a unique identifier of the lane arrow in the southwest-to-northeast direction on the WEB page, so that the server can determine the unique identifier of the lane arrow in the southwest-to-northeast direction, and so on. Obviously, since the intersection to be managed can have lane arrows in multiple directions, the server can determine unique identifications of the lane arrows in multiple directions.

For example, the server may store a mapping relationship between the unique identifier of the lane arrow and the direction identifier of the lane arrow, and therefore, after determining the unique identifier of the lane arrow, the server may obtain the direction identifier of the lane arrow through the mapping relationship. For example, for a unique identifier of each lane arrow, the server may query the mapping relationship through the unique identifier, thereby obtaining a direction identifier of the lane arrow.

For example, for each lane arrow, the following data structure (i.e. the mapping of the unique identification of the lane arrow to the directional identification of the lane arrow) for that lane arrow may be stored:

int id: unique identification of the lane arrows, i.e. each lane arrow has a unique identification.

int dir: the direction of the lane arrow, that is, the direction indicator of the lane arrow, indicates a southwest direction to a northeast direction as the direction indicator 1, the direction indicator 2 indicates a southwest direction to a northwest direction, the direction indicator 3 indicates a southeast direction to a northwest direction, the direction indicator 4 indicates a northwest direction, the direction indicator 6 indicates an eastern direction to a west direction, the direction indicator 7 indicates a northwest direction to a southeast direction, the direction indicator 8 indicates a northeast direction, and the direction indicator 9 indicates a northeast direction to a southwest direction.

int type: lane arrow types, i.e. lane types such as left turn lane, straight lane, right turn lane.

In summary, for each lane arrow (taking lane arrow a as an example), a unique identifier (e.g. 111) of the lane arrow a, and a mapping relationship between a direction identifier (e.g. direction identifier 1) and a lane arrow type (e.g. left turn lane) may be stored. Based on this, after the server determines the unique identifier 111 of the lane arrow a, the mapping relationship is queried through the unique identifier 111, and it can be obtained that the direction identifier of the lane arrow a is the direction identifier 1.

In another possible embodiment, the server may display a WEB page to the user, where the user enters information about the lane arrow, and the server determines the direction indication of the lane arrow based on the information. For example, the WEB page may include buttons of various lane arrows, and when the user clicks the button of a lane arrow, the direction indication of the lane arrow may be determined. For another example, the user may input a direction indicator of a lane arrow on the WEB page, and based on the information, the server may determine the direction indicator of the lane arrow.

For example, when there is a lane arrow in the southwest to northeast direction at the intersection to be managed, the user may click a button of the lane arrow in the southwest to northeast direction on the WEB page, or the user may input a direction identifier of the lane arrow in the southwest to northeast direction on the WEB page, so that the server can determine the direction identifier of the lane arrow in the southwest to northeast direction, and so on. Obviously, since the intersection to be managed can have lane arrows in multiple directions, the server can determine the direction identifications of the lane arrows in multiple directions.

Step 2012, selecting a target direction set from the plurality of candidate direction sets, where the target direction set includes direction identifiers of a plurality of lane arrows at the intersection to be managed. For example, each candidate direction set may include a plurality of direction identifiers, and the direction identifiers in different candidate direction sets are not identical.

And 2013, determining the intersection type corresponding to the target direction set as the intersection type of the intersection to be managed.

For example, for each intersection type, direction identifications of all lane arrows corresponding to the intersection type can be determined, and the direction identifications of the lane arrows are added to the same candidate direction set.

For example, when the intersection type is a quadrangular intersection, in one case, a lane arrow in a north-south direction (corresponding to the direction indicator 2), a lane arrow in a east-west direction (corresponding to the direction indicator 4), a lane arrow in an east-west direction (corresponding to the direction indicator 6), and a lane arrow in a south-north direction (corresponding to the direction indicator 8) may be included, and based on this, the direction indicator 2, the direction indicator 4, the direction indicator 6, and the direction indicator 8 may all be added to the same candidate direction set 1, that is, the candidate direction set 1 may be (2,4,6, 8).

When the intersection type is a quadrilateral intersection, in another case, the intersection type may include a lane arrow in a southwest to northeast direction (corresponding to the direction identifier 1), a lane arrow in a southeast to northwest direction (corresponding to the direction identifier 3), a lane arrow in a northwest to southeast direction (corresponding to the direction identifier 7), and a lane arrow in a northeast to southwest direction (corresponding to the direction identifier 9), based on which, the direction identifier 1, the direction identifier 3, the direction identifier 7, and the direction identifier 9 may all be added to the same candidate direction set 2, that is, the candidate direction set 2 may be (1,3,7, 9).

When the intersection type is a hexagonal intersection, in one case, the direction identifier 1, the direction identifier 3, the direction identifier 4, the direction identifier 6, the direction identifier 7, and the direction identifier 9 may all be added to the same candidate direction set 3, that is, the candidate direction set 3 may be (1,3,4,6,7, 9). In another case, the direction identifier 1, the direction identifier 2, the direction identifier 3, the direction identifier 7, the direction identifier 8, and the direction identifier 9 may all be added to the same candidate direction set 4, i.e., the candidate direction set 4 may be (1,2,3,7,8, 9).

When the intersection type is an octagonal intersection, the direction identifier 1, the direction identifier 2, the direction identifier 3, the direction identifier 4, the direction identifier 6, the direction identifier 7, the direction identifier 8, and the direction identifier 9 may all be added to the same candidate direction set 5, that is, the candidate direction set 5 may be (1,2,3,4,6,7,8, 9).

Of course, the above are only a few examples of the candidate direction sets, and no limitation is made to this.

Based on the above process, a plurality of candidate direction sets can be obtained, and on this basis, for the steps 2011 to 2013, after the direction identifications of a plurality of lane arrows of the intersection to be managed are obtained, the direction identifications of the lane arrows are added to the direction list. If each direction identifier in the direction list is a subset of the candidate direction set 1 (for example, the direction list may include a direction identifier 2, a direction identifier 4, a direction identifier 6, and a direction identifier 8), determining that the target direction set is the candidate direction set 1, and determining an intersection type corresponding to the candidate direction set 1 as an intersection type of an intersection to be managed, that is, the intersection type of the intersection to be managed is a quadrilateral intersection.

If each direction identifier in the direction list is a subset of the candidate direction set 2, it may be determined that the target direction set is the candidate direction set 2, and the intersection type corresponding to the candidate direction set 2 is determined as the intersection type of the intersection to be managed. If each direction identifier in the direction list is a subset of the candidate direction set 3, it may be determined that the target direction set is the candidate direction set 3, and the intersection type corresponding to the candidate direction set 3 is determined as the intersection type of the intersection to be managed. If each direction identifier in the direction list is a subset of the candidate direction set 4, it can be determined that the target direction set is the candidate direction set 4, and the intersection type corresponding to the candidate direction set 4 is determined as the intersection type of the intersection to be managed. If each direction identifier in the direction list is a subset of the candidate direction set 5, it may be determined that the target direction set is the candidate direction set 5, and the intersection type corresponding to the candidate direction set 5 is determined as the intersection type of the intersection to be managed.

Step 202, obtaining a three-dimensional base map corresponding to the type of the intersection to be managed, and obtaining a three-dimensional model corresponding to the type of the intersection to be loaded into the three-dimensional base map.

Illustratively, after the intersection type of the intersection to be managed is obtained, a three-dimensional base map corresponding to the intersection type can be selected from a plurality of pre-created three-dimensional base maps. Referring to the above embodiment, a plurality of three-dimensional base maps, such as a T-shaped three-dimensional image, a Y-shaped three-dimensional image, a quadrilateral three-dimensional image, a hexagonal three-dimensional image, an octagonal three-dimensional image, etc., may be created in advance, and a corresponding relationship between an intersection type and the three-dimensional base maps, such as a corresponding relationship between a "T-shaped intersection" and a "T-shaped three-dimensional image", may be recorded.

Illustratively, after the intersection type of the intersection to be managed is obtained, a three-dimensional model corresponding to the intersection type can be selected from a plurality of pre-created three-dimensional models, and the selected three-dimensional model is determined as the three-dimensional model to be loaded into the three-dimensional base map. Referring to the above embodiment, a plurality of three-dimensional models, such as a road three-dimensional model, an intersection three-dimensional model, a name plate three-dimensional model, a sidewalk three-dimensional model, a signal lamp three-dimensional model, an arrow three-dimensional model, a building three-dimensional model, etc., may be created in advance, and a correspondence between an intersection type and the three-dimensional models, such as a correspondence between a "T-shaped intersection" and a "road three-dimensional model, a sidewalk three-dimensional model, a signal lamp three-dimensional model, an arrow three-dimensional model", may be recorded.

And 203, loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image.

Illustratively, after obtaining the three-dimensional base map and the three-dimensional model corresponding to the intersection type of the intersection to be managed, the three-dimensional model(s) may be loaded in the three-dimensional base map, and the three-dimensional base map after the three-dimensional model is loaded is taken as a three-dimensional target image, that is, the three-dimensional target image includes the three-dimensional base map and the three-dimensional model.

In one possible embodiment, the following steps may be used to generate a three-dimensional target image:

step 2031, obtaining the position relationship between the three-dimensional model and the three-dimensional base map in the coordinate system of the three-dimensional base map.

For example, after obtaining the three-dimensional base map and the three-dimensional model (which may be a plurality of three-dimensional models) corresponding to the intersection type, for each three-dimensional model, in the coordinate system of the three-dimensional base map, a position relationship between the three-dimensional model and the three-dimensional base map may be determined, where the position relationship represents a position relationship between a center of the three-dimensional model and a center of the three-dimensional base map, and the position relationship may include, but is not limited to: coordinate offset and/or rotation angle. The coordinate offset is used to indicate the offset between the three-dimensional model center and the three-dimensional base map center, for example, if the three-dimensional base map center is (x0, y0), the three-dimensional model center is (x1, y1), and the coordinate offset is (x2, y2), x2 is x1-x0, and y2 is y1-y 0. The rotation angle indicates an angle of rotating the three-dimensional model around the center of the three-dimensional base map, and for example, when the three-dimensional model is rotated around the center of the three-dimensional base map by 60 degrees in a clockwise direction, the rotation angle is 60 degrees.

Assuming that the intersection type corresponds to a road three-dimensional model, a signal lamp three-dimensional model and an arrow three-dimensional model, acquiring the position relation between the road three-dimensional model and a three-dimensional base map, such as coordinate offset 1 and a rotation angle 1, acquiring the position relation between the signal lamp three-dimensional model and the three-dimensional base map, such as coordinate offset 2 and a rotation angle 2, and acquiring the position relation between the arrow three-dimensional model and the three-dimensional base map, such as coordinate offset 3 and a rotation angle 3.

In one possible implementation, to obtain the position relationship between the three-dimensional model and the three-dimensional base map, the following method may be adopted: when the three-dimensional model is created in advance, the user provides the position relation between the three-dimensional model and the three-dimensional base map to the server, so that the server acquires and stores the position relation between the three-dimensional model and the three-dimensional base map. Of course, the server may also obtain the position relationship between the three-dimensional model and the three-dimensional base map in other manners, which is not limited to this, as long as the position relationship can be obtained. For example, when a three-dimensional model of a road is created in advance, the server acquires and stores the positional relationship between the three-dimensional model of the road and the three-dimensional base map.

In summary, since the server already stores the positional relationship between the three-dimensional model and the three-dimensional base map in advance, in step 2031, after obtaining a plurality of three-dimensional models corresponding to the intersection types, the positional relationship between the three-dimensional models and the three-dimensional base map can be directly read from the server for each three-dimensional model.

In another possible implementation, to obtain the position relationship between the three-dimensional model and the three-dimensional base map, the following method may be adopted: when a three-dimensional model is created in advance, a tree structure of the three-dimensional model may be created, as shown in fig. 3A, which is an example of a tree structure, a scene is an ancestor root element of all three-dimensional models, three-dimensional model a and three-dimensional model B are child elements of the scene, three-dimensional model a is a parent element of three-dimensional model a1 and three-dimensional model a2, three-dimensional model a1 is a parent element of three-dimensional model a11, and three-dimensional model B is a parent element of three-dimensional model B1. For the example of fig. 3A, see fig. 3B, the intersection three-dimensional model and the building three-dimensional model are child elements of the scene, and the intersection three-dimensional model is a name plate three-dimensional model, a sidewalk three-dimensional model, a signal light three-dimensional model, and a parent element of an arrow three-dimensional model. The building three-dimensional model is a parent element of an outer ring road three-dimensional model, an inner ring road three-dimensional model and a lawn three-dimensional model. Of course, fig. 3B is only an example, and the relationship between the parent-level element and the child-level element may be arbitrarily set, which is not limited.

When the three-dimensional model A (or the three-dimensional model B) is created in advance, the user provides the position relation between the three-dimensional model A and the three-dimensional base map to the server, so that the server acquires and stores the position relation between the three-dimensional model A and the three-dimensional base map. For a child-level element of the three-dimensional model a, such as the three-dimensional model a1 or the three-dimensional model a2, when the three-dimensional model a1 (or the three-dimensional model a2) is created in advance, the user provides the server with the positional relationship of the three-dimensional model a1 and a parent-level element (the three-dimensional model a) of the three-dimensional model a1, so that the server acquires and stores the positional relationship of the three-dimensional model a1 and the three-dimensional model a, instead of the positional relationship of the three-dimensional model a1 and the three-dimensional base map. For child-level elements of the three-dimensional model a1, such as the three-dimensional model a11, when the three-dimensional model a11 is created in advance, the user provides the server with the positional relationship of the three-dimensional model a11 and parent-level elements of the three-dimensional model a11 (the three-dimensional model a1), so that the server acquires and stores the positional relationship of the three-dimensional model a11 and the three-dimensional model a1, and so on.

In summary, since the server has previously stored the position relationship between the three-dimensional model and the three-dimensional base map, and the position relationship between the three-dimensional model and its parent element, in step 2031, after obtaining a plurality of three-dimensional models corresponding to the intersection types, the position relationship between the three-dimensional model and the three-dimensional base map can be obtained for each three-dimensional model. For example, for the three-dimensional model a, the position relationship between the three-dimensional model a and the three-dimensional base map is directly queried. For the three-dimensional model a1, the positional relationship between the three-dimensional model a1 and the three-dimensional base map is determined based on the positional relationship between the three-dimensional model a1 and the three-dimensional model a and the positional relationship between the three-dimensional model a and the three-dimensional base map. For the three-dimensional model a11, based on the positional relationship between the three-dimensional model a11 and the three-dimensional model a1, the positional relationship between the three-dimensional model a1 and the three-dimensional model a, and the positional relationship between the three-dimensional model a1 and the three-dimensional base map, the positional relationship between the three-dimensional model a11 and the three-dimensional base map is determined, and so on.

Step 2032, determining the target position of the three-dimensional model according to the position relationship.

Step 2033, a three-dimensional model is loaded at the target position of the three-dimensional base map to obtain a three-dimensional target image, that is, the three-dimensional target image may include the three-dimensional base map and each three-dimensional model.

For example, assuming that the intersection type corresponds to a three-dimensional road model, a target position of the three-dimensional road model may be determined based on a position relationship (such as coordinate offset 1 and rotation angle 1) between the three-dimensional road model and the three-dimensional base map, and the target position may include an actual coordinate of a center position of the three-dimensional road model and the rotation angle 1. Assuming that the three-dimensional base map center is (x0, y0) and the coordinate offset 1 is (x1, y1), the actual coordinates of the road three-dimensional model center position may be (x0+ x1, y0+ y 1). On this basis, the three-dimensional model of the road may be loaded at the target position (x0+ x1, y0+ y1) of the three-dimensional base map, and the three-dimensional model of the road may be rotated by the rotation angle 1 about the center of the three-dimensional base map in the clockwise direction.

The intersection type is assumed to correspond to other three-dimensional models such as a signal lamp three-dimensional model, and the intersection type is also processed in the manner described above, which is not described herein again. And finally, taking the three-dimensional base map loaded with each three-dimensional model as a three-dimensional target image.

In summary, assuming that the intersection type corresponds to a road three-dimensional model, a building three-dimensional model, a signal lamp three-dimensional model and an arrow three-dimensional model, the three-dimensional target image may include a three-dimensional base map, a road three-dimensional model, a building three-dimensional model, a signal lamp three-dimensional model and an arrow three-dimensional model. Referring to fig. 3C to 3F, examples of three-dimensional target images are shown, and a three-dimensional model of the three-dimensional target images is not limited thereto, and fig. 3C to 3F are only two-dimensional model examples provided for convenience, and actually, the models in fig. 3C to 3F are all three-dimensional models.

And 204, carrying out parameter configuration on the signal machine of the intersection to be managed according to the three-dimensional target image.

For example, the signal at the intersection to be managed may include at least one signal lamp, and the lane of the intersection to be managed has a corresponding relationship with the signal lamp, for example, the lane 1 of the intersection to be managed has a corresponding relationship with the signal lamp 1 of the signal lamp, the lane 2 of the intersection to be managed has a corresponding relationship with the signal lamp 2 of the signal lamp, and so on.

Since the three-dimensional target image is a simulated image of a real environment, the three-dimensional target image may include a lane of the intersection to be managed. For example, the three-dimensional road model is used to simulate lanes in a real environment, and when the three-dimensional target image includes the three-dimensional road model, the three-dimensional target image may include lanes of an intersection to be managed. The lane in the three-dimensional target image also has a corresponding relationship with the signal lamp, for example, the lane 1 (corresponding to the lane 1 of the intersection to be managed) in the three-dimensional target image has a corresponding relationship with the signal lamp 1 of the signal, and so on.

When parameter configuration needs to be performed on the signal lamp 1 of the signal machine, the control parameter corresponding to the lane 1 can be obtained (the content of the control parameter is not limited, such as the red light duration and the green light duration), and parameter configuration is performed on the signal lamp 1 corresponding to the lane 1 according to the control parameter, such as the red light duration and the green light duration of the signal lamp 1, so that state switching and duration of the signal lamp 1 are managed, and the like.

In one possible embodiment, the signal may be configured with the following steps:

step 2041, obtaining target lane information and control parameters of the intersection to be managed.

For example, the server may display a three-dimensional target image to the user, and assuming that there are 2 lanes (subsequently denoted as lane 1 and lane 2) in the north-south direction of the intersection to be managed, the three-dimensional target image includes lane 1 and lane 2. The user knows that lanes 1 and 2 exist in the south direction and the north direction of the intersection to be managed based on the three-dimensional target image.

When the user needs to perform parameter configuration on the signal lamp corresponding to the lane 1, target lane information may be provided to the server, and the target lane information is the lane 1. For example, the three-dimensional target image may include a button for each lane, and when the user clicks the button for "lane 1", the server acquires target lane information. For another example, the user inputs "lane 1" information on the WEB page, and the server acquires target lane information from the information input by the user. Of course, the above-mentioned modes are only two examples, and are not limited thereto.

When the user needs to perform parameter configuration on the signal lamp corresponding to the lane 1, the control parameters corresponding to the lane 1, such as the red light duration, the green light duration and the like, can be provided for the server, and the control parameters are not limited.

Step 2042, a target lane matched with the target lane information is inquired from the three-dimensional target image. For example, when the target lane information is lane 1, it is queried from the three-dimensional target image that the target lane is lane 1.

And 2043, performing parameter configuration on the signal lamp corresponding to the target lane according to the control parameters.

For example, since the lane and the signal lamp in the three-dimensional target image have a corresponding relationship, for example, the lane 1 and the signal lamp 1 in the three-dimensional target image have a corresponding relationship, after the target lane is determined to be the lane 1 from the three-dimensional target image, the signal lamp 1 corresponding to the lane 1 may be configured according to the control parameters, for example, the red light duration and the green light duration of the signal lamp 1 are configured, and the parameter configuration process is not limited.

For example, when performing parameter configuration on the signal lamp 1 corresponding to the lane 1 according to the control parameter, the server may send the information of the lane 1 and the control parameter to a signal machine of the intersection to be managed, the signal machine determines the signal lamp 1 corresponding to the information of the lane 1, and performs parameter configuration on the signal lamp 1 according to the control parameter.

The information of the lane 1 may be a lane identification of the lane 1, for example, the lane has a unique lane identification for each lane in the three-dimensional object image, and thus, the server may transmit the lane identification of the lane 1 to a traffic signal of the intersection to be managed. For the traffic signal, the corresponding relationship between the lane mark of the lane 1 and the mark of the signal lamp 1 may be recorded, and based on this, after the lane mark of the lane 1 is obtained, the mark of the signal lamp 1 is queried through the corresponding relationship, and then it is determined that parameter configuration needs to be performed on the signal lamp 1.

The information of the lane 1 may also be a unique identifier of a lane arrow disposed on the lane 1, for example, for each lane in the three-dimensional target image, a lane arrow is disposed on the lane (i.e., the lane and the lane arrow correspond to each other one by one), and the lane arrow has a unique identifier, so that the server may send the unique identifier of the lane arrow disposed on the lane 1 to a traffic signal of the intersection to be managed. For the traffic signal, the correspondence between the unique identifier of the lane arrow disposed on the lane 1 and the identifier of the signal lamp 1 may be recorded, and based on this, after the unique identifier of the lane arrow disposed on the lane 1 is obtained, the identifier of the signal lamp 1 is queried through the correspondence, and then it is determined that parameter configuration needs to be performed on the signal lamp 1.

For example, after the server performs parameter configuration on the signal lamp 1 corresponding to the lane 1 according to the control parameter, the server may further record a corresponding relationship between information of the lane 1 (such as a lane identifier of the lane 1, or a unique identifier of a lane arrow disposed on the lane 1) and the control parameter. Based on this, in the subsequent process, the user can inquire out the control parameter corresponding to the lane 1 from the server, and then adjust the control parameter.

Illustratively, in the parameter configuration process and after the parameter configuration is completed, the server can display the operation effect in real time through the three-dimensional target image, namely, the simulation of the channelized graph is carried out on the road junction scene, so that the staff can conveniently check whether the actual effect is consistent with the expectation or not and monitor whether the traffic state is normal or not in real time.

According to the technical scheme, the three-dimensional target image (namely the three-dimensional canalization image) can be generated and displayed to the user, so that the user can know the contents of intersections, road sections, lanes, stop lines, pedestrian crossings, road signs, green belts, isolation belts, lane arrow signs and the like based on the three-dimensional target image through the function of interaction with the user through the three-dimensional scene, and the signal machine is subjected to parameter configuration according to the three-dimensional target image. Because the three-dimensional target image is a multi-view 3D effect image, the reduction degree of the real situation of the road junction is higher, so that a user can know the real situation of the road junction, namely, the configuration of the signal machine can be carried out according to the real situation of the road junction, the efficiency and the accuracy of the configuration of the signal machine are higher, and the user experience is improved.

In a possible embodiment, after the server generates the three-dimensional target image, an interaction function with the user may be built based on the three-dimensional target image, for example, the server allows the user to adjust the three-dimensional target image, and an adjustment process of the three-dimensional target image is described below with reference to several specific cases.

Case one, adjustment of the number of lanes in a three-dimensional target image. For example, target lane region information and the number of target lanes are acquired, a target lane region matching the target lane region information is searched for from the three-dimensional target image, and the number of lanes of the target lane region is adjusted to the target lane number.

For example, the three-dimensional target image may include a plurality of lane regions, such as a lane region in a north-south direction, a lane region in a south-north direction, a lane region in an east-west direction, a lane region in a west-east direction, and the like, and the target lane region information is used to indicate which lane region the adjustment of the number of lanes is performed.

Illustratively, the target number of lanes is used to indicate the adjusted number of lanes.

For example, the server may display the three-dimensional target image to the user, assuming that the three-dimensional target image includes a lane region in a north-south direction, a lane region in a south-north direction, a lane region in an east-west direction, and each lane region includes at least one lane, such that there are two lanes in the lane region in the north-south direction. The user knows which lane areas exist at the intersection to be managed based on the three-dimensional target image, and knows the number of lanes in each lane area, for example, the number of lanes in the lane areas in the north-south direction is 2.

When the user needs to adjust the number of lanes in the lane area in the north-south direction, target lane area information is provided to the server, and the target lane area information is the lane area in the north-south direction. For example, when the user clicks a lane area in the north-south direction of the three-dimensional target image, the server acquires target lane area information. For another example, when the user inputs an adjustment to the number of lanes in the lane area in the north-south direction on the WEB page, the server acquires the target lane area information. Of course, the above approaches are examples only.

When the user needs to adjust the number of lanes in the lane area in the north-south direction, the number of target lanes can be provided to the server, and the number of target lanes is used for indicating the number of lanes after adjustment.

After obtaining the information of the target lane area, the server inquires the target lane area matched with the information of the target lane area from the three-dimensional target image, wherein the target lane area is a lane area in the south-north direction, and the lane area in the south-north direction has two lanes. And after obtaining the number of the target lanes, the server adjusts the number of the lanes in the target lane area to the number of the target lanes, and because the number of the target lanes is 1, two lanes in the lane area in the north-south direction are adjusted to be one lane.

And secondly, deleting and adjusting the sidewalk in the three-dimensional target image. For example, target sidewalk information is obtained along with a sidewalk enabled status, which is either disabled or enabled. And if the sidewalk is not started, inquiring a target sidewalk matched with the target sidewalk information from the three-dimensional target image, and deleting the target sidewalk. And if the sidewalk is started, inquiring a target sidewalk matched with the target sidewalk information from the three-dimensional target image, and keeping the target sidewalk.

For example, the three-dimensional target image may include a plurality of sidewalks, such as a north-south sidewalk, a south-north sidewalk, a west-east sidewalk, and the like, and the target sidewalk information indicates which sidewalk is to be processed.

For example, the sidewalk enabled status may be disabled or enabled, and when the sidewalk enabled status is disabled, it means that the sidewalk is not reserved. When the sidewalk enabling state is enabled, the sidewalk is reserved.

For example, the server displays a three-dimensional target image to the user, and assuming that the three-dimensional target image includes a sidewalk in the south-north direction, a sidewalk in the north-south direction, a sidewalk in the east-west direction, and a sidewalk in the west-east direction, the user knows which sidewalks exist at the intersection to be managed in which directions based on the three-dimensional target image.

When a user needs to process the sidewalk in the south-north direction, target sidewalk information is provided for the server, and the target sidewalk information is the sidewalk in the south-north direction. For example, when the user clicks a sidewalk in the north-south direction of the three-dimensional target image, the server acquires target sidewalk information. For another example, when the user inputs on the WEB page to process a sidewalk in the north-south direction, the server acquires target sidewalk information.

When the user needs to process the sidewalk in the north-south direction, a sidewalk enabled status, which may be disabled or enabled, may also be provided to the server.

After obtaining the information of the target sidewalk, the server queries a target sidewalk matched with the information of the target sidewalk, such as a sidewalk in the north-south direction, from the three-dimensional target image. And after the server obtains the sidewalk starting state, if the sidewalk starting state is not started, deleting the target sidewalk from the three-dimensional target image. And if the sidewalk starting state is starting, keeping the target sidewalk in the three-dimensional target image.

And thirdly, adjusting the direction of the lane arrow of the three-dimensional target image. For example, target lane arrow information and a target direction are acquired, a target lane arrow matching the target lane arrow information is searched for from the three-dimensional target image, and the direction of the target lane arrow is adjusted to the target direction.

For example, the three-dimensional target image may include a plurality of lane arrows, such as one lane arrow disposed per lane, with target lane arrow information indicating which lane arrow direction to adjust. The target direction is used to indicate the adjusted direction, for example, the direction of the lane arrow is adjusted to turn left, or the direction of the lane arrow is adjusted to go straight, or the direction of the lane arrow is adjusted to turn right.

For example, the server may display a three-dimensional target image including a plurality of lane arrows to the user, and the user knows which lane arrows are present at the intersection to be managed based on the three-dimensional target image.

When the user needs to adjust the direction of the lane arrow 1, target lane arrow information is provided to the server, and the target lane arrow information is the lane arrow 1. For example, the user clicks a lane arrow 1 of the three-dimensional target image, and the server acquires target lane arrow information. For another example, the user inputs the unique identifier of the lane arrow 1 on the WEB page, and the server acquires the target lane arrow information.

When the user needs to adjust the direction of the lane arrow 1, a target direction indicating the adjusted direction may also be provided to the server.

After obtaining the arrow information of the target lane, the server queries the arrow of the target lane, such as the arrow 1 of the lane, which is matched with the arrow information of the target lane from the three-dimensional target image. After obtaining the target direction, the server adjusts the direction of the lane arrow 1 to the target direction, and if the target direction is "left turn", the server adjusts the direction of the lane arrow 1 to left turn.

In the first, second and third cases, the server may interact with the user, so as to implement visual configuration of lanes, sidewalks and lane arrows in the three-dimensional target image.

In the first case, the server may know that the user clicks a certain lane area of the three-dimensional target image, and the implementation manner may be: and monitoring a mouse click event, acquiring a relative coordinate of a click position relative to the upper left corner of the scene, and setting rays inwards along the screen according to the position. And when the ray intersects with the triangular surface, the user is considered to click on the lane area.

In the second case, the server may know that the user clicks the sidewalk of the three-dimensional target image, and in the third case, the server may know that the user clicks the lane arrow of the three-dimensional target image, and the implementation principle is similar to that of the lane area, but the lane area is replaced by the sidewalk/lane arrow, which is not described herein again.

In one possible implementation, different states may be set for the user, each state opening a different function. For example, the user state may include a normal state, an intersection configuration state, and a lane arrow configuration state.

The initial state of the user may be a normal state, and in the normal state, the three-dimensional target image may not be adjusted. In a normal state, the intersection configuration state can be entered by clicking the intersection in the three-dimensional target image, and the lane arrow configuration state can be entered by clicking the lane arrow in the three-dimensional target image.

When the intersection is configured, the number of lanes in the three-dimensional target image can be adjusted, as shown in the first case, or the sidewalk in the three-dimensional target image can be adjusted, as shown in the second case. When in the intersection configuration state, the lane arrow configuration state can be entered by clicking the lane arrow in the three-dimensional target image.

In the lane arrow configuration state, the lane arrow direction of the three-dimensional object image may be adjusted, see case three. And the intersection configuration state can be entered by clicking the intersection in the three-dimensional target image.

Based on the same application concept as the method, an embodiment of the present application provides a parameter configuration apparatus, as shown in fig. 4, which is a schematic structural diagram of the parameter configuration apparatus, and the apparatus may include:

a determining module 41, configured to determine an intersection type of an intersection to be managed;

an obtaining module 42, configured to obtain a three-dimensional base map corresponding to the intersection type, and obtain a three-dimensional model corresponding to the intersection type and to be loaded into the three-dimensional base map;

the generating module 43 is configured to load the three-dimensional model into a three-dimensional base map to obtain a three-dimensional target image;

and the configuration module 44 is configured to perform parameter configuration on the signal machine of the intersection to be managed according to the three-dimensional target image.

The determining module 41 is specifically configured to, when determining the intersection type of the intersection to be managed:

acquiring direction marks of a plurality of lane arrows of an intersection to be managed, wherein the lane arrows represent the driving direction of a lane;

selecting a target direction set from a plurality of candidate direction sets, wherein the target direction set comprises direction marks of the plurality of lane arrows; wherein each candidate direction set comprises a plurality of direction identifiers;

and determining the intersection type corresponding to the target direction set as the intersection type of the intersection to be managed.

The obtaining module 42 is specifically configured to, when obtaining the three-dimensional base map corresponding to the intersection type: selecting a three-dimensional base map corresponding to the type of the intersection from a plurality of pre-created three-dimensional base maps; wherein the plurality of three-dimensional base maps comprise any combination of the following images: t-shaped three-dimensional base map, Y-shaped three-dimensional base map, quadrilateral three-dimensional base map, hexagonal three-dimensional base map and octagonal three-dimensional base map;

the obtaining module 42 is specifically configured to, when obtaining the three-dimensional model to be loaded into the three-dimensional base map corresponding to the intersection type: selecting a three-dimensional model corresponding to the type of the intersection from a plurality of pre-created three-dimensional models, and determining the selected three-dimensional model as the three-dimensional model to be loaded into the three-dimensional base map; wherein the plurality of three-dimensional models comprises any combination of: the three-dimensional model of the road, the three-dimensional model of the intersection, the three-dimensional model of the name plate, the three-dimensional model of the sidewalk, the three-dimensional model of the signal lamp, the three-dimensional model of the arrow and the three-dimensional model of the building.

The generating module 43 loads the three-dimensional model into the three-dimensional base map, and is specifically configured to: acquiring the position relation between the three-dimensional model and the three-dimensional base map in a coordinate system of the three-dimensional base map;

determining the target position of the three-dimensional model according to the position relation;

and loading the three-dimensional model at the target position of the three-dimensional base map to obtain a three-dimensional target image.

The signal machine comprises at least one signal lamp, and the lane in the three-dimensional target image and the signal lamp have a corresponding relation; the configuration module 44 is specifically configured to, when performing parameter configuration on the signal machine of the intersection to be managed according to the three-dimensional target image: acquiring target lane information and control parameters of the intersection to be managed;

inquiring a target lane matched with the target lane information from the three-dimensional target image;

and carrying out parameter configuration on the signal lamp corresponding to the target lane according to the control parameters.

The generating module 43 loads the three-dimensional model into the three-dimensional base map, and after obtaining the three-dimensional target image, is further configured to: acquiring target lane area information and the number of target lanes;

inquiring a target lane area matched with the target lane area information from the three-dimensional target image;

and adjusting the number of lanes of the target lane area to the number of target lanes.

The generating module 43 loads the three-dimensional model into the three-dimensional base map, and after obtaining the three-dimensional target image, is further configured to: acquiring target sidewalk information and a sidewalk starting state;

and if the sidewalk is not started, inquiring a target sidewalk matched with the target sidewalk information from the three-dimensional target image, and deleting the target sidewalk.

The generating module 43 loads the three-dimensional model into the three-dimensional base map, and after obtaining the three-dimensional target image, is further configured to: acquiring arrow information and a target direction of a target lane;

inquiring a target lane arrow matched with the target lane arrow information from the three-dimensional target image;

and adjusting the direction of the arrow of the target lane to be the target direction.

Based on the same application concept as the method, the embodiment of the present application provides a parameter configuration device (e.g., a server), as shown in fig. 5, where the parameter configuration device includes: a processor 51 and a machine-readable storage medium 52, the machine-readable storage medium 52 storing machine-executable instructions executable by the processor 51; the processor 51 is configured to execute machine executable instructions to perform the following steps:

determining the type of the intersection to be managed;

acquiring a three-dimensional base map corresponding to the type of the intersection, and acquiring a three-dimensional model corresponding to the type of the intersection and to be loaded into the three-dimensional base map;

loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image;

and carrying out parameter configuration on the signal machine of the intersection to be managed according to the three-dimensional target image.

Based on the same application concept as the method, embodiments of the present application further provide a machine-readable storage medium, where several computer instructions are stored on the machine-readable storage medium, and when the computer instructions are executed by a processor, the parameter configuration method disclosed in the above example of the present application can be implemented.

For example, the computer instructions, when executed by a processor, may implement the steps of:

determining the type of the intersection to be managed;

acquiring a three-dimensional base map corresponding to the type of the intersection, and acquiring a three-dimensional model corresponding to the type of the intersection and to be loaded into the three-dimensional base map;

loading the three-dimensional model into the three-dimensional base map to obtain a three-dimensional target image;

and carrying out parameter configuration on the signal machine of the intersection to be managed according to the three-dimensional target image.

The machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.

The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.

For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.

As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

25页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:信号控制电路及具有其的智能交通信号灯安全用电系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!