A method, system, terminal and medium for event positioning display based on high-speed lanes
By drawing a plane display map on the highway and using cameras to capture images, process lane lines, and identify event icons, the problem of non-intuitive event display in the existing technology is solved, and an intuitive display of the event location and impact range is achieved, thereby improving management efficiency.
Patent Information
- Application Number
- CN202410701708.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2044-05-31
AI Technical Summary
The existing highway event display method lacks intuitiveness, making it difficult to quickly and accurately understand the relative location and impact range of the event, affecting management efficiency.
Draw a plan view of the target area of the highway, capture images of the event scene through a camera, perform image processing to identify lane lines, and mark the event icon on the display map based on the camera position to achieve an intuitive display of the event location and impact range.
It improves highway managers' intuitive understanding of the location and impact range of events, and improves management efficiency.
Smart Images

Figure CN118629206B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of traffic event positioning and display, and in particular to a method, system, terminal and medium for positioning and displaying an event based on a highway lane. Background Art
[0002] With the rapid development of modern transportation networks, highways, as the main arteries connecting cities, carry enormous amounts of traffic and logistics. Furthermore, with the continuous improvement of the highway network and the rapid growth of vehicle ownership, the safe operation and incident handling of highways have become important issues that need to be addressed in the field of traffic management. Traffic accidents, vehicle breakdowns, and other incidents are inevitable during highway operations. These incidents often lead to traffic congestion, delays, and even more serious safety incidents. Therefore, quickly and accurately locating highway incidents and visually displaying relevant information to management personnel is crucial for improving highway operational efficiency and safety.
[0003] To address these challenges, existing highway management systems have introduced a range of technologies to monitor and locate highway incidents. However, these technologies still have some shortcomings in practical application. Existing event displays, mostly in text or table format, lack intuitiveness and visibility. They cannot clearly reflect the relative location and specific lanes of the incident on the highway, making it difficult for managers to quickly and accurately understand the impact of the incident, hindering highway management efficiency. Summary of the Invention
[0004] To solve the above problems, the present invention provides a method, system, terminal and medium for locating and displaying events based on highway lanes, which can identify the relative position and specific lane of the event in the display diagram, making it convenient for management personnel to intuitively know the location and impact range of the event, thereby improving the management efficiency of the highway.
[0005] In a first aspect, the technical solution of the present invention provides a method for locating and displaying an event based on a highway lane, comprising the following steps:
[0006] Draw a plan view of the target area, showing each lane on the highway;
[0007] When an alarm message is received, the corresponding camera is triggered to collect images of the incident scene according to the alarm message;
[0008] Receive the transmitted images of the incident scene;
[0009] Perform image processing on the incident scene image to obtain the lane where the incident occurred;
[0010] An event icon is marked on the target lane on the target area plan display based on the camera position and the lane where the event is located.
[0011] In an optional embodiment, when an alarm message is received, triggering a corresponding camera to capture an image of the incident scene according to the alarm message specifically includes the following steps:
[0012] Pre-store the camera's identification and geographic coordinates;
[0013] When receiving an alarm message, parse the event geographic coordinates in the alarm message;
[0014] Find the camera closest to the event location based on the event's geographic coordinates and the camera's geographic coordinates;
[0015] Trigger the searched camera to capture images of the event scene.
[0016] In an optional embodiment, performing image processing on the incident scene image to obtain the lane where the incident occurred specifically includes the following steps:
[0017] Use Gaussian filter to denoise the event scene image;
[0018] Performing a histogram equalization operation to process the event scene image into a grayscale image;
[0019] Perform ROI selection operation to crop the image containing the road part;
[0020] Use edge detection algorithms to extract edge information from images to identify the position and shape of lane lines;
[0021] Use Hough transform to find straight line features corresponding to lane lines, cluster the multiple detected lines, and use the least squares method to fit the lane lines based on the clustering results;
[0022] Based on the relative positions of the lane lines in the image, the lane where the event is located is determined by comparing the previous and next frame images.
[0023] In an optional embodiment, marking an event icon on a target lane on a planar representation of the target area based on the camera position and the lane where the event is located specifically includes:
[0024] Pre-configure the horizontal coordinates of each camera in the plane display of the target area;
[0025] Pre-configure the longitudinal coordinates of each lane in the target area plan display;
[0026] The horizontal coordinate of the corresponding camera is used as the horizontal coordinate of the event icon, and the vertical coordinate of the lane where the located event is located is used as the vertical coordinate of the event icon;
[0027] The target lane on the target area plane display map is marked according to the horizontal and vertical coordinates of the event icon.
[0028] In an optional embodiment, the plan display image also displays identification points on the highway within the target area.
[0029] In an optional embodiment, the identification points include toll booths, service areas, parking areas, and transportation hubs.
[0030] In a second aspect, the technical solution of the present invention provides an event location display system based on a highway lane, comprising:
[0031] Display map drawing module: draws a plan display map of the target area, and displays each lane on the highway in the plan display map;
[0032] Image acquisition trigger module: When an alarm message is received, the corresponding camera is triggered to collect images of the incident scene according to the alarm message;
[0033] Image receiving module: receives the returned event scene images;
[0034] Image processing module: performs image processing on the incident scene image to obtain the lane where the incident occurred;
[0035] Event icon identification module: Based on the camera position and the lane where the event is located, the event icon is marked on the target lane on the target area plan display.
[0036] In a third aspect, the technical solution of the present invention provides a terminal, including:
[0037] A memory, used for storing an event location display program based on a high-speed lane;
[0038] A processor is used to implement the steps of any of the above-mentioned methods for locating and displaying events based on highway lanes when executing the program for locating and displaying events based on highway lanes.
[0039] In a fourth aspect, the technical solution of the present invention provides a computer-readable storage medium, on which a highway-based event location display program is stored. When the highway-based event location display program is executed by a processor, the steps of the highway-based event location display method as described in any one of the above items are implemented.
[0040] The present invention provides a method, system, terminal, and medium for displaying highway lane-based event location. Compared to existing technologies, the method first draws a planar display of the target area. Then, when an event occurs, a camera captures the scene image, performs image processing to determine the lane where the event occurred, and finally, based on the camera's position and the event lane, the event is marked on the target lane in the display diagram, achieving a visual display of the event location. The present invention can identify the relative position and specific lane of the event in the display diagram, making it easier for managers to intuitively understand the event location and impact range, thereby improving highway management efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0042] Figure 1 This is a flow chart of a method for locating and displaying an event based on a highway lane provided by an embodiment of the present invention.
[0043] Figure 2 It is a schematic diagram of the plan display of the target area.
[0044] Figure 3 The present invention provides a schematic block diagram of a high-speed lane-based event location display system structure.
[0045] Figure 4 It is a structural diagram of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0046] In order to enable those skilled in the art to better understand the present invention, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0048] Figure 1This is a flow chart of a method for locating and displaying an event on a highway provided by an embodiment of the present invention. Figure 1 The execution entity may be a highway-based event location display system. The highway-based event location display method provided in embodiments of the present invention is executed by a computer device. Accordingly, the highway-based event location display system runs on the computer device. The order of the steps in this flowchart may be changed, and some steps may be omitted, depending on different needs.
[0049] like Figure 1 As shown, the method includes the following steps.
[0050] S1, draw a plan view of the target area, where each lane on the highway is shown in the plan view.
[0051] Figure 2 It is a schematic diagram of the plan display of the target area, which shows each lane on the highway. In addition, for the convenience of intuitive viewing, the plan display also shows the marking points on the highway in the target area, including toll stations, service areas, parking areas, transportation hubs, etc.
[0052] S2, when an alarm message is received, the corresponding camera is triggered according to the alarm message to collect images of the incident scene.
[0053] In this embodiment, the received alarm information includes the geographic location of the incident. Multiple cameras are placed at intervals along the highway. When an alarm is received, the corresponding camera is controlled to take a photo of the scene. Image processing is performed to obtain the lane where the incident occurred, and then the lane is marked on the display map. The specific steps include the following.
[0054] S2.1, pre-store the camera's identification and geographic coordinates.
[0055] S2.2, upon receiving an alarm message, parsing the event geographic coordinates in the alarm message.
[0056] S2.3, according to the geographic coordinates of the event and the geographic coordinates of the camera, find the camera closest to the event location.
[0057] S2.4, triggering the searched camera to capture images of the event scene.
[0058] S3, receiving the transmitted event scene images.
[0059] S4, performing image processing on the incident scene image to obtain the lane where the incident occurred.
[0060] The purpose of this step is to process the image to obtain the lane where the event is located. In an optional implementation, the following steps are specifically included.
[0061] S4.1, use Gaussian filter to denoise the event scene image.
[0062] S4.2, performing a histogram equalization operation to process the event scene image into a grayscale image.
[0063] S4.3, perform ROI selection operation to crop the image containing the road portion.
[0064] S4.4, use edge detection algorithm to extract edge information of the image to identify the position and shape of the lane line.
[0065] S4.5, use Hough transform to find straight line features corresponding to lane lines, cluster the multiple detected straight lines, and use the least squares method to fit the lane lines based on the clustering results.
[0066] S4.6, based on the relative positions of the lane lines in the image, determine the lane where the event is located by comparing the previous and next frame images.
[0067] First, the image is denoised and grayscale processed. The region of interest is then cropped. Lane lines are detected and fitted using edge detection algorithms and clustering. The lane where the incident occurred is determined based on the relative positions of lanes and a comparison of the previous and next frames. It is understood that the vehicle at the incident site is generally stationary, and its appearance in the previous and next frames remains unchanged. Therefore, the incident location can be determined based on the comparison of the previous and next frames.
[0068] S5, marking an event icon on the target lane on the target area plane display map based on the camera position and the lane where the event is located.
[0069] The purpose of this step is to mark the event on the target lane in the display image. The target lane refers to the lane where the event occurred. The specific steps include the following.
[0070] S5.1, pre-configure the horizontal coordinates of each camera in the plane display image of the target area.
[0071] S5.2, pre-configure the longitudinal coordinates of each lane in the target area plan display.
[0072] S5.3, the horizontal coordinate of the corresponding camera is used as the horizontal coordinate of the event icon, and the vertical coordinate of the lane where the located event is located is used as the vertical coordinate of the event icon.
[0073] S5.4. Mark the target lane on the target area plan display according to the horizontal coordinate and vertical coordinate of the event icon.
[0074] To improve identification efficiency, this embodiment uses the camera's horizontal coordinates and the lane's vertical coordinates in the display image to identify events. The coordinates of each camera and lane are pre-stored. When the camera closest to the event is found, its horizontal coordinates are retrieved as the horizontal coordinates for the event identification. After image processing determines the lane where the event is located, the vertical coordinates of the target lane are retrieved as the vertical coordinates for the event identification. The event is then identified on the display image based on these horizontal and vertical coordinates.
[0075] This embodiment can mark the relative position and specific lane of the event in the display diagram, so that management personnel can intuitively know the location of the event and the scope of impact, thereby improving the management efficiency of the highway.
[0076] The above describes in detail an embodiment of a method for locating and displaying events based on a highway lane. Based on the method for locating and displaying events based on a highway lane described in the above embodiment, an embodiment of the present invention also provides an event locating and displaying system based on a highway lane corresponding to the method.
[0077] Figure 3 This is a schematic block diagram of the structure of an event location display system based on a highway lane provided by an embodiment of the present invention. In this embodiment, the event location display system 300 based on a highway lane can be divided into multiple functional modules according to the functions it performs, such as Figure 3 The functional modules may include: a display image drawing module 310, an image acquisition triggering module 320, an image receiving module 330, an image processing module 340, and an event icon identification module 350. A module as referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can perform fixed functions, and is stored in a memory.
[0078] The display map drawing module 310 draws a plane display map of the target area, where each lane on the highway is displayed in the plane display map.
[0079] Image acquisition trigger module 320: When receiving alarm information, trigger the corresponding camera to acquire images of the incident scene according to the alarm information.
[0080] Image receiving module 330: receives the transmitted event scene images.
[0081] Image processing module 340: performs image processing on the incident scene image to obtain the lane where the incident occurred.
[0082] The event icon marking module 350 marks an event icon on the target lane on the target area plane display map based on the camera position and the lane where the event is located.
[0083] The highway-based event location display system of this embodiment is used to implement the aforementioned highway-based event location display method. Therefore, the specific implementation method of this system can be seen in the embodiment part of the highway-based event location display method in the previous text. Therefore, its specific implementation method can refer to the description of the corresponding embodiments of each part, and will not be elaborated here.
[0084] In addition, since the highway-based event location display system of this embodiment is used to implement the aforementioned highway-based event location display method, its function corresponds to that of the aforementioned method and will not be described in detail here.
[0085] Figure 4 A schematic diagram of the structure of a terminal 400 provided in an embodiment of the present invention includes: a processor 410, a memory 420, and a communication unit 430. The processor 410 is configured to implement the following steps when implementing the high-speed lane-based event location display program stored in the memory 420:
[0086] Draw a plan view of the target area, showing each lane on the highway;
[0087] When an alarm message is received, the corresponding camera is triggered to collect images of the incident scene according to the alarm message;
[0088] Receive the transmitted images of the incident scene;
[0089] Perform image processing on the incident scene image to obtain the lane where the incident occurred;
[0090] An event icon is marked on the target lane on the target area plan display based on the camera position and the lane where the event is located.
[0091] The terminal 400 includes a processor 410, a memory 420, and a communication unit 430. These components communicate via one or more buses. Those skilled in the art will appreciate that the server structure shown in the figure does not limit the present invention; it may be a bus structure or a star structure, and may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0092] Memory 420 can be used to store execution instructions of processor 410. Memory 420 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. When the execution instructions in memory 420 are executed by processor 410, terminal 400 can perform some or all of the steps in the above-described method embodiments.
[0093] The processor 410 is the control center of the storage terminal. It uses various interfaces and lines to connect various parts of the entire electronic terminal. It executes various functions of the electronic terminal and / or processes data by running or executing software programs and / or modules stored in the memory 420, and calling data stored in the memory. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 410 can only include a central processing unit (CPU). In an embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0094] The communication unit 430 is configured to establish a communication channel so that the storage terminal can communicate with other terminals, receive user data sent by other terminals, or send user data to other terminals.
[0095] The present invention also provides a computer storage medium, wherein the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).
[0096] The computer storage medium stores a program for locating and displaying events based on a highway lane. When the program is executed by a processor, the following steps are implemented:
[0097] Draw a plan view of the target area, showing each lane on the highway;
[0098] When an alarm message is received, the corresponding camera is triggered to collect images of the incident scene according to the alarm message;
[0099] Receive the transmitted images of the incident scene;
[0100] Perform image processing on the incident scene image to obtain the lane where the incident occurred;
[0101] An event icon is marked on the target lane on the target area plan display based on the camera position and the lane where the event is located.
[0102] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software plus a necessary general-purpose hardware platform. Based on this understanding, the technical solutions in the embodiments of the present invention, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, among other media capable of storing program code, and includes instructions for causing a computer terminal (which can be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention.
[0103] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0104] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0105] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0106] The above disclosure is only a preferred embodiment of the present invention, but the present invention is not limited thereto. Any non-creative changes that can be thought of by those skilled in the art, as well as several improvements and modifications made without departing from the principles of the present invention, should fall within the scope of protection of the present invention.
Claims
1. A method for locating and displaying events based on a highway lane, characterized in that: include: Draw a plan view of the target area, showing each lane on the highway; When an alarm message is received, the corresponding camera is triggered according to the alarm message to collect images of the incident scene, specifically including: pre-storing the camera's identification and geographic coordinates; when the alarm message is received, parsing the incident geographic coordinates in the alarm message; searching for the camera closest to the incident location based on the incident geographic coordinates and the camera's geographic coordinates; and triggering the found camera to collect images of the incident scene; Receive the transmitted images of the incident scene; Perform image processing on the incident scene image to obtain the lane where the incident occurred, specifically including: using a Gaussian filter to denoise the incident scene image; performing a histogram equalization operation to process the incident scene image into a grayscale image; performing a ROI selection operation to crop the image containing the road portion; using an edge detection algorithm to extract edge information from the image to identify the position and shape of the lane lines; using the Hough transform to find straight line features corresponding to the lane lines, clustering the multiple detected straight lines, and fitting the lane lines using the least squares method based on the clustering results; based on the relative position of the lane lines in the image, the event position is obtained by comparing the previous and next frame images, and then the lane where the incident occurred is determined; Marking an event icon on a target lane on a planar display of the target area based on the camera position and the lane where the event is located, specifically comprising: pre-configuring the horizontal coordinates of each camera in the planar display of the target area; pre-configuring the vertical coordinates of each lane in the planar display of the target area; using the horizontal coordinates of the corresponding camera as the horizontal coordinates of the event icon, and using the vertical coordinates of the lane where the located event is located as the vertical coordinates of the event icon; marking the target lane on the planar display of the target area according to the horizontal and vertical coordinates of the event icon; The plan display also shows the marking points on the highway in the target area; Sign points include toll booths, service areas, parking areas, and transportation hubs.
2. An event location display system based on a highway lane, characterized in that: include, Display map drawing module: draws a plan display map of the target area, and displays each lane on the highway in the plan display map; The image acquisition trigger module is used to trigger the corresponding camera to acquire images of the incident scene according to the alarm information when receiving the alarm information. Specifically, it is used to pre-store the camera identification and geographic coordinates; when receiving the alarm information, it parses the event geographic coordinates in the alarm information; based on the event geographic coordinates and the geographic coordinates of the camera, it searches for the camera closest to the incident location; and triggers the searched camera to acquire images of the incident scene; An image receiving module is used to receive the returned event scene images; The image processing module is used to process the image of the incident scene to obtain the lane where the incident occurred. Specifically, it is used to perform denoising on the image of the incident scene using a Gaussian filter; perform a histogram equalization operation to process the image of the incident scene into a grayscale image; perform a ROI selection operation to crop the image containing the road portion; use an edge detection algorithm to extract edge information of the image to identify the position and shape of the lane lines; use the Hough transform to find straight line features corresponding to the lane lines; cluster the multiple detected straight lines and use the least squares method to fit the lane lines based on the clustering results; based on the relative position of the lane lines in the image, the event position is obtained by comparing the previous and next frame images, and then the lane where the event occurred is determined; An event icon identification module is used to identify an event icon on a target lane on a target area plane display map based on the camera position and the lane where the event is located. Specifically, it is used to pre-configure the horizontal coordinates of each camera in the target area plane display map; pre-configure the vertical coordinates of each lane in the target area plane display map; use the horizontal coordinates of the corresponding camera as the horizontal coordinates of the event icon; use the vertical coordinates of the lane where the located event is located as the vertical coordinates of the event icon; and identify the target lane on the target area plane display map according to the horizontal and vertical coordinates of the event icon.
3. A terminal, characterized in that: include: A memory, used for storing an event location display program based on a high-speed lane; A processor is used to implement the steps of the event location display method based on the highway lane as claimed in claim 1 when executing the event location display program based on the highway lane.
4. A computer-readable storage medium, characterized in that The readable storage medium stores a high-speed lane-based event location display program, which, when executed by a processor, implements the steps of the high-speed lane-based event location display method as claimed in claim 1.
Citation Information
Patent Citations
Highway traffic accident information issuing system
CN104852970A
Traffic accident message publishing method and server
CN106469512A