CN114299716A - Signal lamp time information correlation method and device, storage medium and equipment - Google Patents

Signal lamp time information correlation method and device, storage medium and equipment Download PDF

Info

Publication number
CN114299716A
CN114299716A CN202111619667.6A CN202111619667A CN114299716A CN 114299716 A CN114299716 A CN 114299716A CN 202111619667 A CN202111619667 A CN 202111619667A CN 114299716 A CN114299716 A CN 114299716A
Authority
CN
China
Prior art keywords
target
intersection
time information
determining
link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111619667.6A
Other languages
Chinese (zh)
Other versions
CN114299716B (en
Inventor
贾鹏
孟庭言
王秀静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Cennavi Technologies Co Ltd
Original Assignee
Beijing Cennavi Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Cennavi Technologies Co Ltd filed Critical Beijing Cennavi Technologies Co Ltd
Priority to CN202111619667.6A priority Critical patent/CN114299716B/en
Publication of CN114299716A publication Critical patent/CN114299716A/en
Application granted granted Critical
Publication of CN114299716B publication Critical patent/CN114299716B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Traffic Control Systems (AREA)

Abstract

The invention discloses a method, a device, a storage medium and equipment for associating signal lamp time information, relates to the technical field of data communication, and is used for associating time information of a connection link and a signal lamp so as to save human resources. The method comprises the following steps: determining a target continuous road chain of the intersection and a target passing direction of the target continuous road chain; the target traffic direction points to the intersection; acquiring a target position of a target connection road link relative to a road junction; according to the target position, determining target time information corresponding to the target position from the mapping relation of the target signal lamp; the mapping relation comprises a plurality of directions and time information corresponding to each direction, and the distance between a target signal lamp and the intersection is smaller than a first threshold value; and associating the target connection link and the target traffic direction with the target time information to obtain an association result of the time information.

Description

Signal lamp time information correlation method and device, storage medium and equipment
Technical Field
The invention relates to the technical field of traffic, in particular to a method, a device, a storage medium and equipment for associating signal lamp time information.
Background
The green wave speed refers to that in a specified road section, if a vehicle passes through the road section at a specified speed, the vehicle can just meet a green light at the next intersection and continue to pass through the road section, so that the starting and braking times of the vehicle are reduced, energy conservation and emission reduction are facilitated, and the specified speed is called as the green wave speed.
However, how to quickly determine whether there is a signal light at the intersection ahead of the vehicle, and how to acquire the time information of the signal light is the key to calculate the green wave speed when there is a signal light at the intersection ahead.
In the prior art, the road link, the intersection and the signal lamp time information are associated in a manual mode, and the whole association process is time-consuming and labor-consuming due to the fact that a large amount of data need to be arranged.
Disclosure of Invention
The invention provides a method, a device, a storage medium and equipment for associating signal lamp time information, which are used for associating link and signal lamp time information so as to save human resources.
In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect, a method for associating signal lamp time information is provided, where the method includes: determining a target continuous road chain of the intersection and a target passing direction of the target continuous road chain; the target traffic direction points to the intersection; acquiring a target position of a target connection road link relative to a road junction; according to the target position, determining target time information corresponding to the target position from the mapping relation of the target signal lamp; the mapping relation comprises a plurality of directions and time information corresponding to each direction, and the distance between a target signal lamp and the intersection is smaller than a first threshold value; and associating the target connection link and the target traffic direction with the target time information to obtain an association result of the time information.
The technical scheme provided by the invention has the following beneficial effects: the electronic equipment firstly determines a continuous road chain of which the traffic direction points to the intersection. Further, the electronic device acquires the position of the continuous road link relative to the intersection, and takes the distance between the signal lamp and the intersection smaller than the first threshold value as the signal lamp corresponding to the continuous road link. Because the mapping relation of the signal lamp comprises a plurality of directions and the time information corresponding to each direction, the electronic equipment determines the time information corresponding to the directions according to the directions and the mapping relation of the connection link chain. And finally, the electronic equipment associates the continuous link and the passing direction of the continuous link with the time information to obtain an association result of the time information. Therefore, the electronic equipment associates the continuous road link and the passing direction of the continuous road link with the time information, and therefore human resources are saved.
In a possible implementation manner, the determining a target continuous link of the intersection and a target traffic direction of the target continuous link includes: acquiring at least one passing direction of a continuous road chain of the intersection; if the first passing direction of the continuous road chain points to the intersection, determining that the continuous road chain is a target continuous road chain of the intersection and the first passing direction is the target passing direction of the intersection; the first passing direction is any one of at least one passing direction. In this way, the electronic device can determine the road link of the vehicle entering the intersection from the plurality of continuous road links corresponding to the intersection.
In a possible implementation manner, the acquiring a target position of the target link relative to the intersection includes: determining an azimuth angle of a midpoint of the target continuous road chain pointing to the intersection; and determining the target position of the target connecting road link relative to the intersection according to the azimuth angle. In this manner, the electronic device can determine a target position of the link relative to the intersection.
In one possible implementation, after obtaining the correlation result of the time information, the method further includes: acquiring a current continuous road chain and a current passing direction of a vehicle; determining current time information corresponding to the current continuous road chain and the current passing direction from the correlation result according to the current continuous road chain and the current passing direction; and determining the green wave speed of the vehicle according to the current time information. In this way, the electronic device can calculate the green wave speed of the vehicle traveling on the currently connected link, in association with the result.
In a second aspect, an apparatus for associating signal lamp time information is provided, the apparatus comprising: the device comprises a determining unit, an acquiring unit and a processing unit; the determining unit is used for determining a target continuous road chain of the intersection and a target passing direction of the target continuous road chain; the target traffic direction points to the intersection; the acquisition unit is used for acquiring the target direction of the target connecting road link relative to the intersection; the determining unit is further used for determining target time information corresponding to the target direction from the mapping relation of the target signal lamp according to the target direction; the mapping relation comprises a plurality of directions and time information corresponding to each direction, and the distance between a target signal lamp and the intersection is smaller than a first threshold value; and the processing unit is used for associating the target connection link and the target traffic direction with the target time information to obtain an association result of the time information.
In a possible implementation manner, the determining unit is specifically configured to: acquiring at least one passing direction of a continuous road chain of the intersection; if the first passing direction of the continuous road chain points to the intersection, determining that the continuous road chain is a target continuous road chain of the intersection and the first passing direction is the target passing direction of the intersection; the first passing direction is any one of at least one passing direction.
In a possible implementation manner, the obtaining unit is specifically configured to: determining an azimuth angle of a midpoint of the target continuous road chain pointing to the intersection; and determining the target position of the target connecting road link relative to the intersection according to the azimuth angle.
In a possible implementation manner, after obtaining the correlation result of the time information, the obtaining unit is further configured to obtain a current junction link where the vehicle is located and a current passing direction; the determining unit is further used for determining current time information corresponding to the current continuous link and the current passing direction from the association result according to the current continuous link and the current passing direction; and the determining unit is also used for determining the green wave speed of the vehicle according to the current time information.
In a third aspect, a computer-readable storage medium is provided, in which instructions are stored, which, when executed by a processor of an electronic device, cause the electronic device to perform the method of associating signal light time information as in the first aspect.
In a fourth aspect, an electronic device is provided, comprising: a processor, a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of correlating signal light time information as in the first aspect.
Drawings
Fig. 1 is a schematic structural diagram of a system for associating signal lamp time information according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for associating signal lamp time information according to an embodiment of the present invention;
fig. 3 is a second schematic flowchart of a method for associating signal lamp time information according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an application scenario provided in the embodiment of the present invention;
fig. 5 is a third schematic flowchart of a method for associating signal lamp time information according to an embodiment of the present invention;
fig. 6 is a schematic view of an orientation of a connection link relative to an intersection according to an embodiment of the present invention.
Fig. 7 is a schematic diagram illustrating an exemplary signal lamp and an intersection matching method according to an embodiment of the present invention.
Fig. 8 is a fourth schematic flowchart of a method for associating signal lamp time information according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an apparatus for associating signal lamp time information according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 11 is a second schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Before describing the embodiments of the present invention, a brief introduction is made to some concepts related to the embodiments of the present invention:
link: link is the smallest unit of numbers that make up a link. A section of road is typically made up of one or more links. For example, the a-segment having a length of 500m may be composed of 3 links. The length of each link may be the same or different. The length of Link can be set according to the actual condition of the road. Each link has its own unique Identity (ID) and there is information on the links that match the respective link in the server. For example, the information of the link may further include location information, length, and the like of the link. The location information of Link may include a plurality of latitudes and longitudes. Can be approximately understood as a section of road in the real road. A plurality of nodes exist in the link, wherein one of the two nodes is a starting node, and the other node is a terminating node.
Traffic light static data: including the information of the number, longitude and latitude, crossing name, etc. of the traffic lights.
Traffic light dynamic data: including the number of the traffic lights, the timing scheme, the countdown and other information.
And (4) crossing: the intersections are divided into single-node intersections and complex intersections, and the complex intersections comprise main nodes and sub-nodes.
The green wave speed refers to the speed of the green wave in a specified road section, and if the vehicle passes through the road section at a specified speed, the vehicle can just meet the green light at the next intersection and continue to pass through the road section, so that the starting and braking times of the vehicle are reduced, energy conservation and emission reduction are facilitated, and the specified speed is called the green wave speed.
Azimuth angle: also known as the longitude of the horizon is one of the methods to measure the angular difference between objects on a plane. Is the horizontal included angle from the north-pointing direction line of a certain point to the target direction line along the clockwise direction.
The above is an introduction of a part of concepts related to the embodiments of the present invention, and details are not described below.
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Green wave speed is based on the vehicle position provides green wave speed suggestion, lets the vehicle that traveles can go with current suggestion speed, need not stop and wait, and comfortable traffic lights that pass through to this reaches the purpose of green trip, improves masses' trip comfort level, experiences the sense. The principle of the green wave speed is that the position and the running direction of a vehicle in a road network are judged through longitude and latitude coordinates of the vehicle and map data, then whether a signal lamp exists at an intersection in front of the vehicle is judged, if yes, the real-time state of the signal lamp is extracted and directly displayed to a driver, and finally the highest running speed and the lowest running speed required by the vehicle to pass through the intersection without stopping during the green light period of the time or the next time are calculated according to the position of the vehicle and the state of the signal lamp and are prompted. The difficulty of the service is how to quickly judge whether signal lamps exist at the intersection in front of the vehicle, so that intersection information and traffic light information need to be matched.
However, how to quickly determine whether there is a signal light at the intersection ahead of the vehicle, and how to acquire the time information of the signal light is the key to calculate the green wave speed when there is a signal light at the intersection ahead. At present, operation and maintenance personnel map signal lamp data, intersection data and road link data, search signal lamps and intersections corresponding to the road links according to the road links, the in-out attribute and the direction of the road links, and intersection nodes and signal lamp nodes displayed on the map, and input the road link data, the intersection data corresponding to the road links and the signal lamp data corresponding to the road links into a table. And finally, importing the form data into a navigation system by the operation and maintenance personnel. Meanwhile, operation and maintenance personnel also need to repeatedly verify the form data and determine that the signal lamps corresponding to the links in the road data are accurate. Thus, the process of road link, intersection and signal lamp matching is time consuming and labor consuming.
In view of this, an embodiment of the present invention provides a method for associating signal lamp time information, where the method includes: determining a target continuous road chain of the intersection and a target passing direction of the target continuous road chain; the target traffic direction points to the intersection; acquiring a target position of a target connection road link relative to a road junction; according to the target position, determining target time information corresponding to the target position from the mapping relation of the target signal lamp; the mapping relation comprises a plurality of directions and time information corresponding to each direction, and the distance between a target signal lamp and the intersection is smaller than a first threshold value; and associating the target connection link and the target traffic direction with the target time information to obtain an association result of the time information.
According to the technical scheme provided by the invention, the electronic equipment firstly determines the continuous road chain of which the traffic direction points to the intersection. Then, the electronic equipment acquires the position of the continuous road chain relative to the intersection, and takes the distance between the signal lamp and the intersection smaller than a first threshold value as the signal lamp corresponding to the continuous road chain. Because the mapping relation of the signal lamp comprises a plurality of directions and the time information corresponding to each direction, the electronic equipment determines the time information corresponding to the directions according to the directions and the mapping relation of the connection link chain. And finally, the electronic equipment associates the continuous link and the passing direction of the continuous link with the time information to obtain an association result of the time information. Therefore, the electronic equipment associates the continuous road link and the passing direction of the continuous road link with the time information, and therefore human resources are saved.
The system architecture and the service scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not form a limitation on the technical solution provided in the embodiment of the present invention, and it can be known by those skilled in the art that the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems along with the evolution of the network architecture and the appearance of a new service scenario.
The method for associating the signal lamp time information, which is applied by the embodiment of the invention, can be applied to a system for associating the signal lamp time information. Fig. 1 shows a schematic structural diagram of the association system. As shown in fig. 1, the association system 10 is used to associate link and signal light time information to save human resources. The association system 10 includes an association apparatus 11 and an electronic device 12. The association apparatus 11 and the electronic device 12 may be connected in a wired manner or in a wireless manner, which is not limited in the embodiment of the present invention.
The electronic device 12 may be a mobile terminal or a Personal Computer (PC) used by a user. Such as a smart phone, a Personal Digital Assistant (PDA), a tablet computer, a laptop computer, a car computer (carputer), smart glasses, a smart watch, a wearable device, a virtual display device or a display enhancement device (e.g., Google Glass, Oculus Rift, Hololens, Gear VR), etc.
The electronic device may be a server, or may be other devices that implement the determination method of the present invention, and the present application is not limited thereto. The electronic device 12 may include a storage module for storing road data (e.g., intersection data, signal light data, etc.).
In the following embodiments provided by the present invention, the present invention is described by taking as an example that the association apparatus 11 and the electronic device 12 are set independently of each other. In practical applications, the determining method provided by the embodiment of the present invention may be applied to the association apparatus 11, and may also be applied to the electronic device 12, and the determining method provided by the embodiment of the present invention is described below with reference to the accompanying drawings by taking the determining method applied to the electronic device as an example.
In order to facilitate clear description of technical solutions of the embodiments of the present invention, in the embodiments of the present invention, terms such as "first" and "second" are used to distinguish the same items or similar items having substantially the same functions and actions. For example, the first filtering policy and the second filtering policy are only for distinguishing different indication information, and the sequence order thereof is not limited. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
It is to be understood that the terms "exemplary" or "such as" are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the present invention, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
The following describes a method for associating signal lamp time information provided by an embodiment of the present invention. In addition, the actions, terms, and the like related to the embodiments of the present invention may be mutually referred to, and are not limited. In the embodiment of the present invention, the name of the message interacted among the devices or the name of the parameter in the message, etc. are only an example, and other names may also be used in the specific implementation, which is not limited.
Fig. 2 is a method for associating signal lamp time information according to an embodiment of the present invention, where the method includes the following steps S201 to S204.
S201, the electronic equipment determines a target connection road chain of the intersection and a target passing direction of the target connection road chain.
Wherein the target traffic direction points to the intersection.
In one design, in order to determine a road link where a vehicle enters the intersection from a plurality of continuous road links corresponding to the intersection, as shown in fig. 3, S201 provided by the present invention specifically includes the following S2011-S2014.
S2011, the electronic device obtains the link at the intersection and the passing direction of each link.
As a possible implementation manner, the electronic device obtains all the link chains corresponding to each intersection and the passing direction of each link chain from the storage module.
Illustratively, in the case where the intersection is a complex intersection, the complex intersection N1 shown in (a) in fig. 4 includes four nodes, N1 point, N2 point, N3 point, and N4 point. Wherein, point n1 is the master node, and points n2, n 3, and n 4 are the subnodes. Each node corresponds to 2 links. The electronic equipment acquires 8 continuous road chains corresponding to the complex intersection and the passing direction of each continuous road chain. In the case where the intersection is a single-node intersection, the single-node intersection N2 shown in fig. 4 (b) includes one node N5, and the node N5 corresponds to 4 links. The electronic equipment acquires 4 continuous road chains corresponding to the single-node intersection and the passing direction of each continuous road chain.
It should be noted that the direction corresponding to the connection link chain may be forward direction passing, reverse direction passing, bidirectional passing, and no passing. When the continuous link chain can pass from the starting node to the ending node, the continuous link chain is called to pass in the positive direction; when the continuous link chain can pass from the termination node to the starting node, the reverse direction passing is called; when the continuous road chain can pass in the positive direction and the reverse direction, the bidirectional passing is called; when the continuous link chain can not pass in the positive direction and the reverse direction, the continuous link chain is called as no-pass.
S2012, the electronic device obtains at least one passing direction of a continuous road chain of the intersection.
As a possible implementation manner, the electronic device selects one link from the multiple links, and determines at least one passing direction corresponding to the link.
For example, as shown in fig. 4 (b), the electronic device acquires the traffic direction of the link chain L9 at the complex intersection N2. Since the traffic direction of the link chain L9 is bidirectional, the electronic device acquires two traffic directions of the link chain L9: forward direction traffic and reverse direction traffic.
S2013, the electronic equipment judges whether the first passing direction of the continuous road chain points to the intersection or not.
The first passing direction is any one of at least one passing direction.
Specifically, the electronic device obtains a start node position, an end node position, a traffic direction and an intersection node position of the continuous link. The electronic equipment judges whether the distance between the passing end point of the continuous road chain and the node of the intersection is less than a preset threshold value.
For example, as shown in (b) in fig. 4, the electronic device determines whether the distance between the passing node of the continuous link chain L9 in the passing direction 1 and the node of the intersection is smaller than a preset threshold.
S2014, if the first passing direction of the connected road link points to the intersection, the electronic device determines that the connected road link is the target connected road link of the intersection and the first passing direction is the target passing direction of the intersection.
Specifically, the electronic device determines that the continuous road link is a target continuous road link of the intersection and the first passing direction is a target passing direction of the intersection if the distance between the passing end position of the continuous road link and the node of the intersection is smaller than a preset threshold.
For example, as shown in (b) in fig. 4, when the electronic device determines that the distance between the passing node of the link chain L9 in the passing direction 1 and the node N5 of the intersection is smaller than the preset threshold, it is determined that the link chain L9 is the target link chain of the intersection N2, and the passing direction 1 is the target passing direction of the intersection.
It will be appreciated that through the above steps, the electronic device is able to determine all links of the intersection that the vehicle has driven into the intersection in the first direction of travel.
S202, the electronic equipment acquires the target position of the target connecting road link relative to the intersection.
In one design, in order to determine the target position of the continuous road link relative to the intersection, as shown in fig. 5, S202 provided by the present invention specifically includes following S2021-S2022.
S2021, the electronic equipment determines an azimuth angle of the midpoint of the target continuous road chain pointing to the intersection.
As a possible implementation manner, the electronic device obtains the midpoint position of the target continuous link from the storage module, and obtains an azimuth angle for determining that the midpoint of the target continuous link points to the intersection node according to the midpoint position of the continuous link and the intersection node position.
Illustratively, as shown in fig. 6, the electronic device connects the midpoint M1 of the link chain and the node M2 of the intersection in parallel. The electronic equipment determines that the azimuth angle beta of the middle point of the target continuous road chain pointing to the intersection is 25 degrees.
S2022, the electronic equipment determines the target direction of the target connection road link relative to the intersection according to the azimuth.
Illustratively, as shown in fig. 6, the electronic device determines that the target direction of the target link is north relative to the intersection according to the azimuth angle β. The standard for dividing the azimuth of the continuous road chain according to the azimuth is as follows: north at 316-45 degrees; east at 46-135 deg.; 136-225 ℃ is south; 226-315 degrees is west. It should be noted that, other division standards may exist according to the azimuth of the continuous link chain divided by the azimuth, and the present invention is not limited specifically.
As another possible implementation manner, the electronic device obtains the start node position of the target continuous road chain from the storage module, and obtains an azimuth angle for determining that the start node of the target continuous road chain points to the intersection according to the start node position of the continuous road chain and the intersection node position.
It can be understood that there are various implementation manners for the electronic device to determine the azimuth angle at which the target continuous road link points to the intersection, and the present invention is not limited in particular.
S203, the electronic equipment determines target time information corresponding to the target direction from the mapping relation of the target signal lamp according to the target direction.
Wherein the signal lamp is a traffic light.
The mapping relation comprises a plurality of directions and time information corresponding to each direction, and the distance between the target signal lamp and the intersection is smaller than a first threshold value.
As a possible implementation manner, the electronic device obtains, from the storage unit, the target signal lamp data including a plurality of orientations and a time information mapping relationship corresponding to each orientation. And the electronic equipment determines target time information corresponding to the target direction from the mapping relation of the target signal lamp according to the target direction.
Specifically, the electronic device first obtains the signal lamp static data from the storage module. The electronic equipment selects the traffic light with the distance to the intersection smaller than the first threshold value according to the position of the red street light and the position of the node in the static data of the signal light, and determines that the traffic light is the target traffic light. Then, the electronic equipment acquires the signal lamp dynamic data from the storage module. And the electronic equipment determines target time information corresponding to the target direction from a plurality of directions in the signal lamp dynamic data and the time information mapping relation corresponding to each direction according to the target direction.
For example, the first threshold may be 10m, and the first threshold is not particularly limited in the present invention.
Illustratively, as shown in fig. 7, the distance between the signal lamp 30 and the node 31 of the intersection is less than 10m, and the electronic device determines that the signal lamp corresponding to the intersection 31 is the signal lamp 30. The electronic device determines time information corresponding to the position of the road link L32 according to the position angle of the continuous road link L32 and the mapping relation of the signal lamp 30. Wherein, the mapping relation is shown in the following table 1:
TABLE 1
Orientation Time information
North China Time of signal lamp
South China Time of signal lamp
East Time of signal lamp
Western medicine Time of signal lamp
S204, the electronic equipment associates the target connection link and the target traffic direction with the target time information to obtain an association result of the time information.
As a possible implementation manner, the electronic device associates the target link chain, the target traffic direction, and the target time information into one piece of data, obtains an association result of the time information, and stores the association result in the storage module.
It can be understood that, through this step, the present invention can associate the continuous links of each real road and the traffic direction corresponding to each continuous link with the signal light time information, and store the association result in the form of a table in the electronic device. Thereby providing more travel services for the vehicle. The correlation result can be referred to table 2.
TABLE 2
Connecting road chain Direction of passage Time information
Connecting link 120 Passing in positive direction Time of signal lamp
Connection link 121 Passing in the reverse direction Time of signal lamp
According to the technical scheme provided by the invention, the electronic equipment firstly determines the continuous road chain of which the traffic direction points to the intersection. Then, the electronic equipment acquires the position of the continuous road chain relative to the intersection, and takes the distance between the signal lamp and the intersection smaller than a first threshold value as the signal lamp corresponding to the continuous road chain. Because the mapping relation of the signal lamp comprises a plurality of directions and the time information corresponding to each direction, the electronic equipment determines the time information corresponding to the directions according to the directions and the mapping relation of the connection link chain. And finally, the electronic equipment associates the continuous link and the passing direction of the continuous link with the time information to obtain an association result of the time information. Therefore, the electronic equipment associates the continuous road link and the passing direction of the continuous road link with the time information, and therefore human resources are saved.
In one design, in order to calculate the green wave speed of the vehicle traveling on the current link, as shown in fig. 8, the present invention provides a method for associating traffic light time information, which includes the following steps S205 to S207.
S205, the electronic equipment acquires the current connecting link chain where the vehicle is located and the current passing direction.
As a possible implementation manner, the electronic device obtains the current connection link where the vehicle is located according to the current position of the vehicle. The electronic equipment acquires the current passing direction of the vehicle according to the positions of the vehicle at different moments.
S206, the electronic equipment determines current time information corresponding to the current continuous link and the current traffic direction from the association result according to the current continuous link and the current traffic direction.
And S207, the electronic equipment determines the green wave speed of the vehicle according to the current time information.
As a possible implementation manner, the electronic device calculates the green wave speed of the vehicle according to the current position of the vehicle, the position of the intersection corresponding to the current continuous road link, and the current time information.
Specifically, the electronic device obtains the distance from the vehicle to the signal lamp according to the current position of the vehicle and the position of the intersection corresponding to the current continuous road link. Further, the electronic device obtains the green wave speed of the vehicle according to the distance and the current time information.
It can be understood that, in the subsequent navigation service, the method for associating the signal lamp time information can provide the service of green wave speed for the vehicle. By adopting the technical scheme of the invention, the electronic equipment can also obtain the number of the traffic lights on the navigation path according to the navigation path, the navigation direction and the correlation result.
The scheme provided by the embodiment of the invention is mainly introduced from the perspective of a method. To implement the above functions, it includes hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present embodiments.
In the embodiment of the present invention, the device may be divided into functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. Optionally, the division of the modules in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 9 is a schematic structural diagram of an apparatus for associating signal lamp time information according to an embodiment of the present invention. As shown in fig. 9, the associating means 40 may be located in the electronic device. The management apparatus 40 includes: a determination unit 401, an acquisition unit 402 and a processing unit 403.
A determining unit 401, configured to determine a target connection link of an intersection and a target passing direction of the target connection link; the target traffic direction points to the intersection. For example, in conjunction with fig. 2, the determination unit 401 may be configured to perform S201.
An acquiring unit 402, configured to acquire a target position of the target link relative to the intersection. For example, in conjunction with fig. 2, the obtaining unit 402 may be configured to perform S202.
The determining unit 401 is further configured to determine, according to the target position, target time information corresponding to the target position from the mapping relationship of the target signal lamp; the mapping relation comprises a plurality of directions and time information corresponding to each direction, and the distance between the target signal lamp and the intersection is smaller than a first threshold value. For example, in conjunction with fig. 2, the determination unit 401 may be configured to perform S203.
The processing unit 403 is configured to associate the target connection link and the target traffic direction with the target time information, so as to obtain an association result of the time information. For example, in conjunction with fig. 2, processing unit 403 may be used to execute S204.
Optionally, the determining unit 401 is specifically configured to: acquiring at least one passing direction of a link for connection at an intersection; if the first traffic direction of the connecting link points to the intersection, determining that the connecting link is the target connecting link of the intersection and the first traffic direction is the target traffic direction of the intersection; the first passing direction is any one of at least one passing direction. For example, in conjunction with fig. 3, determination unit 401 may be configured to perform S2011-S2014.
Optionally, the obtaining unit 402 is specifically configured to: determining the azimuth angle of the midpoint of the target connection link pointing to the intersection; and determining the target position of the target connection link relative to the intersection according to the azimuth angle. For example, in conjunction with FIG. 5, fetch unit 402 may be used to perform S2021-S2022.
Optionally, after obtaining the correlation result of the time information, the obtaining unit 402 is further configured to obtain a current continuing link and a current traffic direction of the vehicle. For example, in conjunction with fig. 8, the obtaining unit 402 may be configured to perform S205.
The determining unit 401 is further configured to determine, according to the current connection link and the current traffic direction, current time information corresponding to the current connection link and the current traffic direction from the association result. For example, in connection with fig. 8, the determining unit 401 may be configured to perform S206.
The determining unit 401 is further configured to determine a green wave speed of the vehicle according to the current time information. For example, in connection with fig. 8, the determining unit 401 may be configured to perform S207.
In the case of implementing the functions of the integrated modules in the form of hardware, the embodiment of the present invention provides a schematic diagram of a possible structure of the electronic device related to the above embodiment. As shown in fig. 10, the electronic device 50 includes a processor 501, a memory 502, and a bus 503. The processor 501 and the memory 502 may be connected by a bus 503.
The processor 501 is a control center of the communication apparatus, and may be a single processor or a collective term for a plurality of processing elements. For example, the processor 501 may be a Central Processing Unit (CPU), other general-purpose processors, or the like. Wherein a general purpose processor may be a microprocessor or any conventional processor or the like.
For one embodiment, processor 501 may include one or more CPUs, such as CPU 0 and CPU 1 shown in FIG. 10.
The memory 502 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
As a possible implementation, the memory 502 may be present separately from the processor 501, and the memory 502 may be connected to the processor 501 via a bus 503 for storing instructions or program code. The sensor determination method provided by the embodiments of the present invention can be implemented when the processor 501 calls and executes instructions or program codes stored in the memory 502.
In another possible implementation, the memory 502 may also be integrated with the processor 501.
The bus 503 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 10, but this is not intended to represent only one bus or type of bus.
It is to be noted that the structure shown in fig. 10 does not constitute a limitation of the electronic apparatus 50. In addition to the components shown in FIG. 10, the electronic device 50 may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As an example, in connection with fig. 9, the determining unit 401 and the processing unit 403 in the associating means 40 implement the same functions as the processor 501 in fig. 10.
Optionally, as shown in fig. 10, the electronic device 50 provided in the embodiment of the present invention may further include a communication interface 504.
A communication interface 504 for connecting with other devices through a communication network. The communication network may be an ethernet network, a radio access network, a Wireless Local Area Network (WLAN), etc. The communication interface 504 may include a receiving unit for receiving data and a transmitting unit for transmitting data.
In one design, in the server provided in the embodiment of the present invention, the communication interface may be further integrated in the processor.
Fig. 11 shows another hardware configuration of the electronic apparatus in the embodiment of the present invention. As shown in fig. 11, electronic device 60 may include a processor 601 and a communication interface 602. Processor 601 is coupled to a communication interface 602.
The functions of the processor 601 may refer to the description of the processor 601 above. The processor 601 also has a memory function, and the function of the memory 602 can be referred to.
The communication interface 602 is used to provide data to the processor 601. The communication interface 602 may be an internal interface of the communication device, or may be an external interface of the communication device.
It should be noted that the configuration shown in fig. 11 does not constitute a limitation on the electronic device 60, and the electronic device 60 may include more or less components than those shown in fig. 11, or combine some components, or arrange different components, in addition to the components shown in fig. 11.
Through the above description of the embodiments, it is clear for a person skilled in the art that, for convenience and simplicity of description, only the division of the above functional units is illustrated. In practical applications, the above function allocation can be performed by different functional units according to needs, that is, the internal structure of the device is divided into different functional units to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer executes the instructions, the computer executes each step in the flow of the association method for signal lamp time information shown in the above method embodiment.
Embodiments of the present invention further provide a computer program product including instructions, where when the instructions are run on a computer, the instructions cause the computer to execute the method for associating signal lamp time information in the foregoing method embodiments.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read-Only Memory (EPROM), registers, a hard disk, an optical fiber, a portable Compact disk Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any other form of computer-readable storage medium, in any suitable combination, or as appropriate in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC). In embodiments of the invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Since the server, the user equipment, the computer-readable storage medium, and the computer program product in the embodiments of the present invention may be applied to the method described above, the technical effects obtained by the embodiments of the method may also refer to the embodiments of the method described above, and no further description is given to the embodiments of the present invention.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions within the technical scope of the present invention are intended to be covered by the scope of the present invention.

Claims (10)

1. A method for associating signal lamp time information is characterized by comprising the following steps:
determining a target continuous road chain of a crossing and a target passing direction of the target continuous road chain; the target traffic direction points to the intersection;
acquiring a target position of the target connecting road chain relative to the intersection;
according to the target position, determining target time information corresponding to the target position from a mapping relation of a target signal lamp; the mapping relation comprises a plurality of directions and time information corresponding to each direction, and the distance between the target signal lamp and the intersection is smaller than a first threshold value;
and associating the target continuous link chain and the target traffic direction with the target time information to obtain an association result of the time information.
2. The association method according to claim 1, wherein the determining a target junction link of the intersection and a target traffic direction of the target junction link comprises:
acquiring at least one passing direction of a continuous road chain of the intersection;
if the first passing direction of the continuous road chain points to the intersection, determining that the continuous road chain is a target continuous road chain of the intersection and the first passing direction is the target passing direction of the intersection; wherein the first traffic direction is any one of at least one traffic direction.
3. The association method according to claim 1, wherein said obtaining a target position of the target link chain relative to the intersection comprises:
determining an azimuth angle of the midpoint of the target continuous road chain pointing to the intersection;
and determining the target position of the target continuous road chain relative to the intersection according to the azimuth angle.
4. The association method according to any of claims 1-3, characterized in that after obtaining the association result of the time information, the method further comprises:
acquiring a current continuous road chain and a current passing direction of a vehicle;
determining current time information corresponding to the current continuous road chain and the current passing direction from the association result according to the current continuous road chain and the current passing direction;
and determining the green wave speed of the vehicle according to the current time information.
5. An apparatus for associating signal time information, the apparatus comprising: the device comprises a determining unit, an acquiring unit and a processing unit;
the determining unit is used for determining a target continuous road chain of the intersection and a target passing direction of the target continuous road chain; the target traffic direction points to the intersection;
the acquisition unit is used for acquiring the target position of the target continuous road chain relative to the intersection;
the determining unit is further configured to determine, according to the target position, target time information corresponding to the target position from a mapping relationship of a target signal lamp; the mapping relation comprises a plurality of directions and time information corresponding to each direction, and the distance between the target signal lamp and the intersection is smaller than a first threshold value;
and the processing unit is used for associating the target continuous link chain and the target traffic direction with the target time information to obtain an association result of the time information.
6. The association apparatus according to claim 5, wherein the determining unit is specifically configured to:
acquiring at least one passing direction of a continuous road chain of the intersection;
if the first passing direction of the continuous road chain points to the intersection, determining that the continuous road chain is a target continuous road chain of the intersection and the first passing direction is the target passing direction of the intersection; wherein the first traffic direction is any one of at least one traffic direction.
7. The association apparatus according to claim 5, wherein the obtaining unit is specifically configured to:
determining an azimuth angle of the midpoint of the target continuous road chain pointing to the intersection;
and determining the target position of the target continuous road chain relative to the intersection according to the azimuth angle.
8. The association device according to any one of claims 5 to 7, wherein after obtaining the association result of the time information, the obtaining unit is further configured to obtain a current junction link and a current traffic direction where the vehicle is located;
the determining unit is further configured to determine, according to the current continuous link and the current passing direction, current time information corresponding to the current continuous link and the current passing direction from the association result;
the determining unit is further used for determining the green wave speed of the vehicle according to the current time information.
9. A computer-readable storage medium, characterized in that instructions are stored therein, which, when executed by a processor of an electronic device, cause the electronic device to perform the method of associating signal light time information according to any one of claims 1 to 4.
10. An electronic device, comprising: a processor, a memory for storing instructions executable by the processor; wherein the processor is configured to execute instructions to implement the method of associating signal light time information according to any one of claims 1 to 4.
CN202111619667.6A 2021-12-27 2021-12-27 Method, device, storage medium and equipment for associating time information of signal lamps Active CN114299716B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111619667.6A CN114299716B (en) 2021-12-27 2021-12-27 Method, device, storage medium and equipment for associating time information of signal lamps

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111619667.6A CN114299716B (en) 2021-12-27 2021-12-27 Method, device, storage medium and equipment for associating time information of signal lamps

Publications (2)

Publication Number Publication Date
CN114299716A true CN114299716A (en) 2022-04-08
CN114299716B CN114299716B (en) 2023-04-25

Family

ID=80969989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111619667.6A Active CN114299716B (en) 2021-12-27 2021-12-27 Method, device, storage medium and equipment for associating time information of signal lamps

Country Status (1)

Country Link
CN (1) CN114299716B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115171405A (en) * 2022-06-28 2022-10-11 亿咖通(湖北)技术有限公司 Method and device for determining passing time of traffic light intersection, electronic equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110364A (en) * 2009-12-28 2011-06-29 日电(中国)有限公司 Traffic information processing method and traffic information processing device based on intersections and sections
US20110160986A1 (en) * 2009-12-28 2011-06-30 Nec (China) Co., Ltd. Method and apparatus for traffic information conversion using traffic information element knowledge base
CN106503334A (en) * 2016-10-20 2017-03-15 南京莱斯信息技术股份有限公司 A kind of method for building intersection channelization model and showing clearance phase place
CN109243191A (en) * 2017-06-01 2019-01-18 华为技术有限公司 Information-pushing method and device
CN109360428A (en) * 2018-12-12 2019-02-19 连云港杰瑞电子有限公司 A kind of method of bottleneck state of a control monitoring
CN109949594A (en) * 2019-04-29 2019-06-28 北京智行者科技有限公司 Real-time traffic light recognition method
CN111311936A (en) * 2020-03-05 2020-06-19 星觅(上海)科技有限公司 Method, device and equipment for determining vehicle passable state and storage medium
CN111369785A (en) * 2018-12-25 2020-07-03 阿里巴巴集团控股有限公司 Traffic data processing method, device, equipment and storage medium
CN111739323A (en) * 2020-03-19 2020-10-02 腾讯科技(深圳)有限公司 Method and device for acquiring intersection information

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110364A (en) * 2009-12-28 2011-06-29 日电(中国)有限公司 Traffic information processing method and traffic information processing device based on intersections and sections
US20110160986A1 (en) * 2009-12-28 2011-06-30 Nec (China) Co., Ltd. Method and apparatus for traffic information conversion using traffic information element knowledge base
CN106503334A (en) * 2016-10-20 2017-03-15 南京莱斯信息技术股份有限公司 A kind of method for building intersection channelization model and showing clearance phase place
CN109243191A (en) * 2017-06-01 2019-01-18 华为技术有限公司 Information-pushing method and device
CN109360428A (en) * 2018-12-12 2019-02-19 连云港杰瑞电子有限公司 A kind of method of bottleneck state of a control monitoring
CN111369785A (en) * 2018-12-25 2020-07-03 阿里巴巴集团控股有限公司 Traffic data processing method, device, equipment and storage medium
CN109949594A (en) * 2019-04-29 2019-06-28 北京智行者科技有限公司 Real-time traffic light recognition method
CN111311936A (en) * 2020-03-05 2020-06-19 星觅(上海)科技有限公司 Method, device and equipment for determining vehicle passable state and storage medium
CN111739323A (en) * 2020-03-19 2020-10-02 腾讯科技(深圳)有限公司 Method and device for acquiring intersection information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115171405A (en) * 2022-06-28 2022-10-11 亿咖通(湖北)技术有限公司 Method and device for determining passing time of traffic light intersection, electronic equipment and medium
CN115171405B (en) * 2022-06-28 2023-09-22 亿咖通(湖北)技术有限公司 Traffic light intersection passing time determining method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN114299716B (en) 2023-04-25

Similar Documents

Publication Publication Date Title
CN110050300B (en) Traffic congestion monitoring system and method
CN110675621B (en) System and method for predicting traffic information
WO2018157777A1 (en) Systems and methods for recommending a pick-up location
US9301099B2 (en) Method of analyzing points of interest with probe data
EP3649435A1 (en) Artificial intelligent systems and methods for predicting traffic accident locations
US20190139070A1 (en) Systems and methods for cheat examination
JP2020504344A (en) System and method for determining an estimated time of arrival
CN111142525A (en) High-precision map lane topology construction method and system, server and medium
CN110149804B (en) System and method for determining parent-child relationships of points of interest
JP2020532773A (en) Systems and methods for determining traffic conditions
CN105743763B (en) A kind of mapping method of virtual network based on study and reasoning
CN114036253B (en) High-precision map data processing method, device, electronic equipment and medium
US20140336925A1 (en) Displaying map icons based on a determined route of travel
CN112734956B (en) ETC portal determination method and device and storage medium
CN110782652B (en) Speed prediction system and method
CN114299716A (en) Signal lamp time information correlation method and device, storage medium and equipment
WO2020107569A1 (en) Systems and methods for determining traffic information of a region
CN113850996A (en) Road section bus line repetition coefficient data calculation method and device and storage medium
CN111739283A (en) Road condition calculation method, device, equipment and medium based on clustering
CN107869995A (en) A kind of generation method, system and the mobile terminal of path duration
CN116481509A (en) Map updating method, device, equipment and computer readable storage medium
CN103675763B (en) A kind of based on hardware-accelerated vector quantization VTS radar video rendering method
CN111223293A (en) System and method for analyzing traffic congestion
CN112781604B (en) Method, apparatus, device and computer readable storage medium for navigation
CN111862584A (en) Road information acquisition method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant