CN114299716B - Method, device, storage medium and equipment for associating time information of signal lamps - Google Patents

Method, device, storage medium and equipment for associating time information of signal lamps Download PDF

Info

Publication number
CN114299716B
CN114299716B CN202111619667.6A CN202111619667A CN114299716B CN 114299716 B CN114299716 B CN 114299716B CN 202111619667 A CN202111619667 A CN 202111619667A CN 114299716 B CN114299716 B CN 114299716B
Authority
CN
China
Prior art keywords
target
intersection
time information
passing direction
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.)
Active
Application number
CN202111619667.6A
Other languages
Chinese (zh)
Other versions
CN114299716A (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

Abstract

The invention discloses a method, a device, a storage medium and equipment for associating time information of a signal lamp, relates to the technical field of data communication, and is used for associating time information of a connecting link and the signal lamp so as to save human resources. The method comprises the following steps: determining a target link chain of an intersection and a target passing direction of the target link chain; the target passing direction points to the intersection; acquiring a target azimuth of a target link chain relative to an intersection; determining target time information corresponding to the target azimuth from the mapping relation of the target signal lamp according to the target azimuth; 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 correlating the target link chain, the target passing direction and the target time information to obtain a correlation result of the time information.

Description

Method, device, storage medium and equipment for associating time information of signal lamps
Technical Field
The present invention relates to the field of traffic technologies, and in particular, to a method, an apparatus, a storage medium, and a device for associating time information of a signal lamp.
Background
The green wave speed refers to a specified speed when a vehicle passes through a road section at the specified speed, and the vehicle can meet green light at the next intersection to continue to pass, so that the number of times of starting and braking of the vehicle is reduced, energy conservation and emission reduction are facilitated, and the specified speed is called green wave speed.
However, how to quickly judge whether a signal lamp exists at a crossing in front of a vehicle running, and how to acquire time information of the signal lamp in case that the signal lamp exists at the crossing in front is a key for calculating the green wave speed.
In the prior art, the link, the intersection and the signal lamp time information of the road link are related in a manual mode, and a large amount of data are required to be arranged, so that the whole association process is time-consuming and labor-consuming.
Disclosure of Invention
The invention provides a method, a device, a storage medium and equipment for associating time information of a signal lamp, which are used for associating link and the time information of the signal lamp so as to save human resources.
In order to achieve the above purpose, the invention adopts the following technical scheme:
in a first aspect, there is provided a method for associating time information of a signal lamp, the method comprising: determining a target link chain of an intersection and a target passing direction of the target link chain; the target passing direction points to the intersection; acquiring a target azimuth of a target link chain relative to an intersection; determining target time information corresponding to the target azimuth from the mapping relation of the target signal lamp according to the target azimuth; 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 correlating the target link chain, the target passing direction and the target time information to obtain a correlation result of the time information.
The technical scheme provided by the invention has the following beneficial effects: the electronic device first determines a link chain with a traffic direction pointing at the intersection. Further, the electronic device obtains the azimuth of the connecting link relative to the intersection, and takes the signal lamp and the intersection with the distance smaller than the first threshold value as the signal lamp corresponding to the connecting link. Because the mapping relation of the signal lamp comprises a plurality of orientations and time information corresponding to each orientation, the electronic equipment determines the time information corresponding to the orientation according to the orientation and the mapping relation of the continuous road chain. And finally, the electronic equipment associates the continuous road chain and the passing direction of the continuous road chain with the time information to obtain an association result of the time information. Therefore, the electronic equipment correlates the link chain and the passing direction of the link chain with the time information, thereby saving manpower resources.
In one possible implementation manner, the determining the target link of the intersection and the target traffic direction of the target link includes: acquiring at least one passing direction of a continuous road chain of an intersection; if the first passing direction of the connecting link points to the intersection, determining that the connecting link is a target connecting link of the intersection and the first passing direction is a target passing direction of the intersection; the first passing direction is any passing direction of at least one passing direction. Thus, the electronic equipment can determine the road chain for the vehicle to drive into the intersection from a plurality of continuous road chains corresponding to the intersection.
In one possible implementation manner, the "obtaining the target position of the target link relative to the intersection" includes: determining the azimuth angle of the midpoint of the target link chain pointing to the intersection; and determining the target azimuth of the target link chain relative to the intersection according to the azimuth angle. In this way, the electronic device can determine the target orientation of the link relative to the intersection.
In one possible implementation manner, after obtaining the association result of the time information, the method further includes: acquiring a current connecting link and a current passing direction of a vehicle; determining current time information corresponding to the current link and the current passing direction from the association result according to the current link 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 correlate the results and calculate the green wave speed of the vehicle traveling on the current link.
In a second aspect, there is provided an apparatus for correlating time information of a signal lamp, 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 link chain of the intersection and a target passing direction of the target link chain; the target passing direction points to the intersection; the acquisition unit is used for acquiring the target azimuth of the target connecting link relative to the intersection; the determining unit is also used for determining target time information corresponding to the target azimuth from the mapping relation of the target signal lamp according to the target azimuth; 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 correlating the target continuous link, the target passing direction and the target time information to obtain a correlation 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 an intersection; if the first passing direction of the connecting link points to the intersection, determining that the connecting link is a target connecting link of the intersection and the first passing direction is a target passing direction of the intersection; the first passing direction is any passing direction of at least one passing direction.
In a possible implementation manner, the acquiring unit is specifically configured to: determining the azimuth angle of the midpoint of the target link chain pointing to the intersection; and determining the target azimuth of the target link chain relative to the intersection according to the azimuth angle.
In one possible implementation manner, after obtaining the association result of the time information, the obtaining unit is further configured to obtain a current link chain and a current traffic direction where the vehicle is located; the determining unit is also used for 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 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 a method of correlating traffic light time information as in the first aspect.
In a fourth aspect, there is provided 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 a method of correlating traffic light time information as in the first aspect.
Drawings
Fig. 1 is a schematic structural diagram of a system for associating time information of signal lamps according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for associating time information of a signal lamp according to an embodiment of the present invention;
FIG. 3 is a second flowchart of a method for associating time information of a signal lamp according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an application scenario provided in an embodiment of the present invention;
FIG. 5 is a third flow chart of a method for correlating time information of a signal lamp according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an azimuth of a connection link relative to an intersection according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of an example signal lamp matching with an intersection according to the embodiment of the present invention.
FIG. 8 is a flowchart of a method for associating time information of a signal lamp according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a device for correlating time information of signal lamps 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 present invention.
Detailed Description
Before describing the embodiments of the present invention, some concepts related to the embodiments of the present invention will be briefly described:
link chain: link is the smallest digital unit that makes up a link. A section of road is typically made up of one or more links. For example, an a-section of length 500m may be composed of 3 links. The length of each link may be the same or different. The Link length can be set according to the actual condition of the road. Each link has its own unique Identity (ID), and there is link information in the server that matches each link. For example, the link information may also include link position information, length, and the like. The Link location information may include a plurality of latitudes and longitudes. A section of a road in a real road can be understood approximately. There are multiple nodes in the link, where two nodes are a starting node and one is a terminating node.
Traffic light static data: the traffic light information comprises the number, longitude and latitude, intersection name and the like of the traffic light.
Traffic light dynamic data: the traffic light information comprises the number of the traffic light, a timing scheme, countdown and the like.
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 a specified road section, if a vehicle passes through the road section at a specified speed, the vehicle can meet green light at the next intersection and continue to pass, so that the number of times of starting and braking of the vehicle is reduced, and energy conservation and emission reduction are facilitated, and the specified speed is called green wave speed.
Azimuth angle: also known as horizon, is one of the methods of measuring the angular difference between objects on a plane. Is the horizontal included angle between the clockwise direction and the target direction line from the north-pointing direction line of a certain point.
The foregoing is a description of some concepts related to the embodiments of the present invention, and is not repeated herein.
The following describes in detail the implementation of the embodiment of the present invention with reference to the drawings.
The green wave speed is based on the vehicle position to provide green wave speed suggestion, so that the running vehicle can run at the current suggested speed, parking waiting is not needed, and the traffic light is comfortably passed through, so that the purpose of green travel is achieved, the travel comfort of masses is improved, and the experience is improved. The principle of the green wave speed is that the position and the running direction of the vehicle in the road network are judged by combining the longitude and latitude coordinates of the vehicle with map data, then whether a signal lamp exists at an intersection in front of the vehicle is judged, if so, the real-time state of the signal lamp is extracted and is 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 in the current or next green light period are calculated and prompted according to the position of the vehicle and the state of the signal lamp. The difficulty of the service is how to quickly judge whether a signal lamp exists at the intersection in front of the vehicle driving, and therefore intersection information and traffic light information need to be matched.
However, how to quickly judge whether a signal lamp exists at a crossing in front of a vehicle running, and how to acquire time information of the signal lamp in case that the signal lamp exists at the crossing in front is a key for calculating the green wave speed. 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 access attributes and the directions of the road links and the intersection nodes and the signal lamp nodes displayed by the map, and input the signal lamp data corresponding to the road links, the intersection data corresponding to the road links and the signal lamp data corresponding to the road links into a table. Finally, the operation and maintenance personnel imports the form data to the navigation system. Meanwhile, operation and maintenance personnel also need to repeatedly verify the form data to determine that the signal lamp corresponding to the road chain in the road data is accurate. Thus, the process of matching road links, intersections and signal lights is time consuming and labor intensive.
In view of this, an embodiment of the present invention provides a method for associating time information of signal lamps, including: determining a target link chain of an intersection and a target passing direction of the target link chain; the target passing direction points to the intersection; acquiring a target azimuth of a target link chain relative to an intersection; determining target time information corresponding to the target azimuth from the mapping relation of the target signal lamp according to the target azimuth; 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 correlating the target link chain, the target passing direction and the target time information to obtain a correlation result of the time information.
According to the technical scheme provided by the invention, the electronic equipment firstly determines the continuous road chain with the passing direction pointing to the intersection. Then, the electronic equipment obtains the azimuth of the connecting link relative to the intersection, and takes the signal lamp and the distance between the signal lamp and the intersection smaller than a first threshold value as the signal lamp corresponding to the connecting link. Because the mapping relation of the signal lamp comprises a plurality of orientations and time information corresponding to each orientation, the electronic equipment determines the time information corresponding to the orientation according to the orientation and the mapping relation of the continuous road chain. And finally, the electronic equipment associates the continuous road chain and the passing direction of the continuous road chain with the time information to obtain an association result of the time information. Therefore, the electronic equipment correlates the link chain and the passing direction of the link chain with the time information, thereby saving manpower resources.
The system architecture and the service scenario described in the embodiments of the present invention are for more clearly describing the technical solution provided in the embodiments of the present invention, and do not constitute a limitation on the technical solution provided in the embodiments of the present invention, and those skilled in the art can know that, with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided in the embodiments of the present invention is equally applicable to similar technical problems.
The association method of the signal lamp time information, which is applied by the embodiment of the invention, can be applied to an association system of the signal lamp time information. Fig. 1 shows a schematic diagram of the association system. As shown in fig. 1, the association system 10 is used for associating link and time information of signal lamps to save human resources. The association system 10 comprises association means 11, an electronic device 12. The association device 11 and the electronic device 12 may be connected in a wired manner or may be connected 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 (personal computer, abbreviated as PC) used by a user. Such as smart phones, personal Digital Assistants (PDAs), tablet computers, notebook computers, car computers (carters), smart glasses, smart watches, wearable devices, virtual display devices or display enhancement devices (e.g., google Glass, oculus lift, hollens, gear VR), etc.
The electronic device may be a server or other devices implementing the determination method of the present invention, which is not limited in this application. 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 taking an example in which the associating means 11 and the electronic device 12 are provided independently of each other. In practical applications, the determining method provided in the embodiment of the present invention may be applied to the association device 11 or may be applied to the electronic device 12, and in the following, taking the determining method applied to the electronic device as an example, the determining method provided in the embodiment of the present invention is described.
In order to clearly describe the technical solution of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. For example, the first filtering policy and the second filtering policy are merely for distinguishing different indication information, and are not limited in order. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
In the present invention, the words "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the present invention, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). 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 plural.
The following describes a method for associating time information of signal lamps provided by the embodiment of the invention. In which the terms and the like related to the actions of the embodiments of the present invention are mutually referred to, without limitation. The message names of interactions between the devices or parameter names in the messages in the embodiments of the present invention are just an example, and other names may be used in specific implementations without limitation.
Fig. 2 is a block diagram of a method for associating time information of a signal lamp 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 link chain of the intersection and a target passing direction of the target link chain.
Wherein the target traffic direction is directed at the intersection.
In one design, in order to determine a road chain for a vehicle to enter an intersection from a plurality of connection road chains corresponding to the intersection, as shown in fig. 3, the present invention provides S201, which specifically includes the following S2011-S2014.
S2011, the electronic equipment acquires the link chains of the intersections and the passing direction of each link chain.
As a possible implementation manner, the electronic device obtains all the connection links corresponding to each intersection and the passing direction of each connection link from the storage module.
For example, in the case where the intersection is a complex intersection, the complex intersection N1 as shown in (a) of fig. 4 includes four nodes N1, N2, N3, N4. Wherein, the n1 point is a main node, and the n2 point, the n 3 point and the n 4 point are sub-nodes. Each node corresponds to 2 splice links. The electronic equipment acquires 8 continuous road links corresponding to the complex intersection and the passing direction of each continuous road link. In the case where the intersection is a single-node intersection, the single-node intersection N2 as shown in (b) of fig. 4 includes one node N5, and the node N5 corresponds to 4 continuous road links. The electronic equipment obtains 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 connecting link may be forward traffic, reverse traffic, bidirectional traffic, or no traffic. When the continuous road chain can pass from the starting node to the ending node, the forward pass is called; when the continuous link chain can pass from the termination node to the starting node, the reverse direction passing is called; when the connecting link chain can pass in the forward direction and the reverse direction, the two-way passing is called; when the connecting link chain can pass in the forward direction or in the reverse direction, the passing is forbidden.
S2012, the electronic equipment acquires 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 plurality of links, and determines at least one traffic direction corresponding to the link.
Illustratively, as shown in (b) of fig. 4, the electronic device acquires the traffic direction of the link L9 in the complex intersection N2. Because the traffic direction of the link chain L9 is bidirectional, the electronic device obtains two traffic directions of the link chain L9: forward traffic and reverse traffic.
S2013, the electronic equipment judges whether the first passing direction of the connecting road chain points to the intersection.
The first passing direction is any passing direction 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 road chain. The electronic equipment judges whether the distance between the traffic end point of the continuous road chain and the node of the intersection is smaller than a preset threshold value.
As shown in fig. 4 (b), the electronic device determines whether the distance between the traffic node of the link L9 in the traffic direction 1 and the node of the intersection is smaller than the preset threshold.
S2014, if the first passing direction of the link points to the intersection, the electronic device determines that the link is a target link of the intersection and the first passing direction is a target passing direction of the intersection.
Specifically, if the electronic device determines that the distance between the traffic end position of the link and the node of the intersection is smaller than the preset threshold, the electronic device determines that the link is the target link of the intersection and the first traffic direction is the target traffic direction of the intersection.
For example, as shown in (b) of fig. 4, if the electronic device determines that the distance between the passing node of the link L9 in the passing direction 1 and the node N5 of the intersection is smaller than the preset threshold, it determines that the link L9 is the target link 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 the link links in which the vehicle is driven into the intersection in the first direction of passage.
S202, the electronic equipment acquires the target azimuth of the target connecting link relative to the intersection.
In one design, in order to determine the target orientation of the link relative to the intersection, as shown in fig. 5, the present invention provides S202, which specifically includes the following S2021-S2022.
S2021, the electronic equipment determines the azimuth angle that the midpoint of the target link points to the intersection.
As a possible implementation manner, the electronic device obtains a midpoint position of the target link from the storage module, and obtains and determines an azimuth angle of the midpoint of the target link to the intersection node according to the midpoint position of the link and the intersection node position.
Illustratively, as shown in fig. 6, the electronic device concatenates the midpoint M1 position of the splice chain with the node M2 position of the intersection. The electronic device determines that the azimuth angle beta of the midpoint of the target link chain pointing to the intersection is 25 degrees.
S2022, the electronic equipment determines the target azimuth of the target link relative to the intersection according to the azimuth.
Illustratively, as shown in fig. 6, the electronic device determines that the target link is north relative to the target azimuth of 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: 316 ° -45 ° north; 46-135 DEG is east; 136-225 DEG is south; 226-315 deg. C. It should be noted that other dividing criteria may exist according to the azimuth dividing the azimuth of the link, and the present invention is not limited specifically.
As another possible implementation manner, the electronic device obtains the starting node position of the target link from the storage module, and obtains and determines the azimuth angle of the starting node of the target link to the intersection according to the starting node position of the link and the intersection node position.
It can be appreciated that there are various implementation manners for determining the azimuth angle of the target link to the intersection by the electronic device, and the present invention is not limited in detail.
S203, the electronic equipment determines target time information corresponding to the target azimuth from the mapping relation of the target signal lamp according to the target azimuth.
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 directions and a time information mapping relationship corresponding to each direction. And the electronic equipment determines target time information corresponding to the target azimuth from the mapping relation of the target signal lamp according to the target azimuth.
Specifically, the electronic device first obtains static data of the signal lamp from the storage module. And the electronic equipment selects traffic lights with the distance from the intersection smaller than a first threshold value according to the positions of the traffic lights and the positions of the nodes in the static data of the signal lights, and determines the traffic lights as target traffic lights. Then, the electronic device acquires the signal lamp dynamic data from the storage module. And the electronic equipment determines target time information corresponding to the target azimuth from a plurality of azimuth and time information mapping relations corresponding to each azimuth in the signal lamp dynamic data according to the target azimuth.
The first threshold may be 10m, which is not particularly limited in the present invention.
For example, 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 the time information corresponding to the azimuth of the link chain L32 according to the azimuth of the link chain L32 and the mapping relation of the signal lamp 30. Wherein, the mapping relation is shown in the reference table 1:
TABLE 1
Azimuth of Time information
North China Signal lamp time
South of China Signal lamp time
East (Dong) Signal lamp time
Western medicine Signal lamp time
S204, the electronic equipment associates the target continuous link, the target passing direction and the target time information to obtain an association result of the time information.
As a possible implementation manner, the electronic device associates the target connection link, the target passing 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 the step, the invention can correlate the link chain of each real road and the passing direction corresponding to each link chain with the signal lamp time information, and store the correlation result in the form of a table in the electronic equipment. Thereby providing more travel services to the vehicle. Wherein the correlation results may be referred to in table 2.
TABLE 2
Connecting link chain Direction of passage Time information
Splice chain 120 Pass in the positive direction Signal lamp time
Connecting link 121 Reverse direction traffic Signal lamp time
According to the technical scheme provided by the invention, the electronic equipment firstly determines the continuous road chain with the passing direction pointing to the intersection. Then, the electronic equipment obtains the azimuth of the connecting link relative to the intersection, and takes the signal lamp and the distance between the signal lamp and the intersection smaller than a first threshold value as the signal lamp corresponding to the connecting link. Because the mapping relation of the signal lamp comprises a plurality of orientations and time information corresponding to each orientation, the electronic equipment determines the time information corresponding to the orientation according to the orientation and the mapping relation of the continuous road chain. And finally, the electronic equipment associates the continuous road chain and the passing direction of the continuous road chain with the time information to obtain an association result of the time information. Therefore, the electronic equipment correlates the link chain and the passing direction of the link chain with the time information, thereby saving manpower resources.
In one design, in order to calculate the green wave speed of a vehicle traveling on a current link, as shown in fig. 8, the present invention provides a method for correlating time information of a traffic light, which includes the following steps S205-S207.
S205, the electronic equipment acquires a current continuous road chain and a current passing direction of the vehicle.
As a possible implementation manner, the electronic device obtains a current connection link where the vehicle is located according to a current position of the vehicle. And 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 road chain and the current passing direction from the association result according to the current continuous road chain and the current passing direction.
S207, the electronic equipment determines the green wave speed of the vehicle according to the current time information.
As one 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 link and the current time information.
Specifically, the electronic equipment obtains the distance between the vehicle and the signal lamp according to the current position of the vehicle and the position of the intersection corresponding to the current continuous road chain. Further, the electronic equipment 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 association method of the signal lamp time information can provide a green wave speed service for the vehicle. By adopting the technical scheme of the invention, the electronic equipment can also obtain the number of traffic lights on the navigation path according to the navigation path, the navigation direction and the association result.
The foregoing description of the solution provided by the embodiments of the present invention has been mainly presented in terms of a method. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform 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 implemented as hardware or computer software driven 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 embodiments of the present invention.
The embodiment of the invention can divide the functional modules of the device according to the method example, for example, each functional module can be divided corresponding to each function, or two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. Optionally, the division of the modules in the embodiment of the present invention is schematic, which is merely a logic function division, and other division manners may be implemented in practice.
Fig. 9 is a schematic structural diagram of a device for correlating time information of signal lamps according to an embodiment of the present invention. As shown in fig. 9, the association means 40 may be located in the above-described electronic device. The management device 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 is directed at the intersection. For example, in connection with fig. 2, the determination unit 401 may be used to perform S201.
An obtaining unit 402, configured to obtain a target azimuth of the target connection link relative to the intersection. For example, in connection with fig. 2, the acquisition unit 402 may be used to perform S202.
The determining unit 401 is further configured to determine, according to the target azimuth, target time information corresponding to the target azimuth 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 connection with fig. 2, the determining unit 401 may be used to perform S203.
And the processing unit 403 is configured to correlate the target connection link and the target traffic direction with the target time information, so as to obtain a correlation result of the time information. For example, in connection with fig. 2, the processing unit 403 may be used to perform S204.
Optionally, the determining unit 401 is specifically configured to: acquiring at least one passing direction of a continuous link of an intersection; if the first passing direction of the connection link points to the intersection, determining that the connection link is a target connection link of the intersection and the first passing direction is a target passing direction of the intersection; the first passing direction is any passing direction of at least one passing direction. For example, in connection with fig. 3, the determination unit 401 may be used to perform S2011-S2014.
Optionally, the acquiring 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 azimuth of the target continuing link relative to the intersection according to the azimuth angle. For example, in connection with fig. 5, the acquisition unit 402 may be used to perform S2021-S2022.
Optionally, after obtaining the association result of the time information, the obtaining unit 402 is further configured to obtain a current continuing link and a current passing direction where the vehicle is located. For example, in connection with fig. 8, the acquisition unit 402 may be used to perform S205.
The determining unit 401 is further configured to determine, from the association result, current time information corresponding to the current connection link and the current traffic direction according to the current connection link and the current traffic direction. For example, in connection with fig. 8, the determination unit 401 may be used 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 determination unit 401 may be used 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 possible structural schematic diagram of the electronic device involved in 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 device, and may be one processor or a collective term of a plurality of processing elements. For example, the processor 501 may be a general-purpose central processing unit (central processing unit, CPU), or may be another general-purpose processor. Wherein the general purpose processor may be a microprocessor or any conventional processor or the like.
As one example, processor 501 may include one or more CPUs, such as CPU 0 and CPU 1 shown in fig. 10.
Memory 502 may be, but is not limited to, read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, as well as electrically erasable programmable read-only memory (EEPROM), magnetic disk storage or other magnetic storage devices, 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 exist separately from the processor 501, and the memory 502 may be connected to the processor 501 by means of a bus 503 for storing instructions or program code. The processor 501, when calling and executing instructions or program code stored in the memory 502, is capable of implementing the sensor determination method provided by the embodiment of the present invention.
In another possible implementation, the memory 502 may also be integrated with the processor 501.
Bus 503 may be an industry standard architecture (Industry Standard Architecture, ISA) bus, peripheral component interconnect (Peripheral Component Interconnect, PCI) bus, or extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 10, but not only one bus or one type of bus.
It should be noted that the structure shown in fig. 10 does not constitute a limitation of the electronic device 50. The electronic device 50 may include more or less components than those shown in fig. 10, or may combine certain components, or may have a different arrangement of components.
As an example, in connection with fig. 9, the functions implemented by the determining unit 401 and the processing unit 403 in the associating means 40 are the same as those of 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 via a communication network. The communication network may be an ethernet, a radio access network, a wireless local area network (wireless local area networks, WLAN), etc. The communication interface 504 may include a receiving unit for receiving data and a transmitting unit for transmitting data.
In one design, the communication interface may also be integrated into the processor in the server provided by the embodiments of the present invention.
Fig. 11 shows another hardware structure of the electronic device in the embodiment of the invention. As shown in fig. 11, the electronic device 60 may include a processor 601 and a communication interface 602. The processor 601 is coupled to a communication interface 602.
The function of the processor 601 may be as described above with reference to the processor 601. 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 an external interface of the communication device.
It should be noted that the structure shown in fig. 11 does not constitute a limitation of the electronic device 60, and the electronic device 60 may include more or less components than those shown in fig. 11, or may combine some components, or may be arranged in different components.
From the above description of embodiments, it will be apparent to those skilled in the art that the foregoing functional unit divisions are merely illustrative for convenience and brevity of description. In practical applications, the above-mentioned function allocation may be performed by different functional units, i.e. the internal structure of the device is divided into different functional units, as needed, to perform all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores instructions, and when the computer executes the instructions, the computer executes each step in the signal lamp time information association method flow shown in the method embodiment.
The embodiment of the invention also provides a computer program product containing instructions, which when run on a computer, cause the computer to execute the method for correlating the time information of the signal lamp in the method embodiment.
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 a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: electrical connections having one or more wires, portable computer diskette, hard disk. Random access Memory (Random Access Memory, RAM), read-Only Memory (ROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), registers, hard disk, optical fiber, portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any other form of computer-readable storage medium suitable for use by a person or persons of skill 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. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuit, ASIC). In embodiments of the present 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 can be applied to the above-mentioned method, the technical effects that can be obtained by the method can also refer to the above-mentioned method embodiments, and the embodiments of the present invention are not described herein again.
The present invention is not limited to the above embodiments, and any changes or substitutions within the technical scope of the present invention should be covered by the scope of the present invention.

Claims (8)

1. A method of correlating time information of a signal lamp, the method comprising:
determining a target link chain of an intersection and a target passing direction of the target link chain; the target passing direction points to the intersection;
determining the azimuth angle of the midpoint of the target link chain pointing to the intersection;
determining a target azimuth of the target link relative to the intersection according to the azimuth;
determining target time information corresponding to the target azimuth from the mapping relation of the target signal lamp according to the target azimuth; 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 correlating the target link chain, the target passing direction and the target time information to obtain a correlation result of the time information.
2. The association method according to claim 1, wherein determining the target link of the intersection and the target traffic direction of the target link comprises:
acquiring at least one passing direction of a continuous road chain of the intersection;
if the first passing direction of the connecting link points to the intersection, determining that the connecting link is a target connecting link of the intersection and the first passing direction is a target passing direction of the intersection; the first passing direction is any passing direction of at least one passing direction.
3. The association method according to claim 1 or 2, wherein after obtaining the association result of the time information, the method further comprises:
acquiring a current connecting link 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.
4. A device for correlating time information of a signal lamp, the device comprising: the device comprises a determining unit, an acquiring unit and a processing unit;
the determining unit is used for determining a target link chain of the intersection and a target passing direction of the target link chain; the target passing direction points to the intersection;
the acquisition unit is used for determining the azimuth angle of the midpoint of the target link chain pointing to the intersection; determining a target azimuth of the target link relative to the intersection according to the azimuth;
the determining unit is further configured to determine, according to the target azimuth, target time information corresponding to the target azimuth 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 connection link, the target passing direction and the target time information to obtain an association result of the time information.
5. The association device according to claim 4, wherein the determination 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 connecting link points to the intersection, determining that the connecting link is a target connecting link of the intersection and the first passing direction is a target passing direction of the intersection; the first passing direction is any passing direction of at least one passing direction.
6. The association device according to claim 4 or 5, wherein the obtaining unit is further configured to obtain a current link chain and a current traffic direction in which the vehicle is located after obtaining the association result of the time information;
the determining unit is further configured to determine, from the association result, current time information corresponding to the current link and the current traffic direction according to the current link and the current traffic direction;
the determining unit is further used for determining the green wave speed of the vehicle according to the current time information.
7. A computer readable storage medium having instructions stored therein, which when executed by a processor of an electronic device, cause the electronic device to perform the method of correlating traffic light time information according to any one of claims 1 to 3.
8. 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 correlating traffic light time information as claimed in any one of claims 1 to 3.
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 CN114299716A (en) 2022-04-08
CN114299716B true 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)

Families Citing this family (1)

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

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369785A (en) * 2018-12-25 2020-07-03 阿里巴巴集团控股有限公司 Traffic data processing method, device, equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110128A (en) * 2009-12-28 2011-06-29 日电(中国)有限公司 Traffic information conversion method and device based on traffic information element knowledge base
CN102110364B (en) * 2009-12-28 2013-12-11 日电(中国)有限公司 Traffic information processing method and traffic information processing device based on intersections and sections
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
CN109360428B (en) * 2018-12-12 2021-11-19 连云港杰瑞电子有限公司 Method for monitoring bottleneck control state
CN109949594B (en) * 2019-04-29 2020-10-27 北京智行者科技有限公司 Real-time traffic light identification method
CN111311936B (en) * 2020-03-05 2021-01-08 星觅(上海)科技有限公司 Method, device and equipment for determining vehicle passable state and storage medium
CN111739323B (en) * 2020-03-19 2022-08-12 腾讯科技(深圳)有限公司 Method and device for acquiring intersection information

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369785A (en) * 2018-12-25 2020-07-03 阿里巴巴集团控股有限公司 Traffic data processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114299716A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
JP6774153B2 (en) Systems and methods for fraud inspection
CN106649391B (en) Method and device for processing graph data
CN106169253B (en) Parking lot idle condition prediction technique and system based on parking difficulty
US20230103040A1 (en) Vehicle travel control method and apparatus
CN107341668A (en) A kind of method and device for judging True Data
CN109756845B (en) Method and device for identifying cheating orders in network taxi appointment scene
JP2020532773A (en) Systems and methods for determining traffic conditions
CN114299716B (en) Method, device, storage medium and equipment for associating time information of signal lamps
BR112018009617B1 (en) SYSTEM AND METHOD FOR SERVICE SEQUENCE UPDATE
CN114036253B (en) High-precision map data processing method, device, electronic equipment and medium
CN111311193B (en) Method and device for configuring public service resources
CN111739283B (en) Road condition calculation method, device, equipment and medium based on clustering
CN106920003A (en) A kind of route planning method, device, server and storage medium
CN113850996A (en) Road section bus line repetition coefficient data calculation method and device and storage medium
CN115188215B (en) Electronic equipment and prediction method of bus running duration between stations
CN116481509A (en) Map updating method, device, equipment and computer readable storage medium
CN113497670A (en) Map data acquisition method, device and system
WO2022193665A1 (en) Detour path determination method and apparatus, and storage medium
CN111339468B (en) Information pushing method, device, electronic equipment and storage medium
CN113282638A (en) Urban construction vehicle identification method and device
CN113344277A (en) Prediction model training method, state updating method, device, equipment and medium
CN114218504A (en) Blocked road segment identification method and device, electronic equipment and storage medium
CN111144612A (en) Gas station position point prediction method and device, storage medium and terminal
CN114579889B (en) Recommendation method, device, equipment and storage medium for order thermodynamic diagrams
CN117114433A (en) Quantitative analysis method and device for public service facilities, storage medium and terminal

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