Event positioning display method and system based on high-speed lane, terminal and medium
By drawing a flat display diagram in the highway event display system and using cameras to collect and process images to identify the lane where the event is located, the problem of unintuitive event display in the existing technology is solved and the efficiency of highway management is improved.
Patent Information
- Application Number
- CN202410701708.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-05-31
AI Technical Summary
The existing highway incident display method lacks intuition and visibility, making it difficult to quickly and accurately understand the relative position and scope of impact of the incident, affecting management efficiency.
By drawing a flat display diagram of the target area, after receiving the alarm information, the camera is triggered to collect the incident scene image, and the image processing is performed to obtain the lane where the event is located, and the event icon is marked on the display diagram based on the camera position and lane to realize the intuitive positioning of the event.
It improves highway managers' intuitive understanding of the location and scope of the incident and improves management efficiency.
Smart Images

Figure CN118629206A
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 high-speed lane. Background Art
[0002] With the rapid development of modern transportation networks, highways, as the main traffic arteries connecting cities, carry huge traffic and logistics volumes. At the same time, with the increasing improvement of the highway network and the rapid growth of vehicle ownership, the safe operation and event handling of highways have become important issues that need to be urgently addressed in the field of traffic management. In the process of highway operation, traffic accidents, vehicle failures and other events are inevitable. These events often lead to road congestion, traffic delays, and even more serious safety accidents. Therefore, it is of great significance to quickly and accurately locate events on highways and intuitively display relevant information to managers to improve the efficiency and safety of highway operations.
[0003] In order to meet these challenges, the existing highway management system has introduced a series of technical means to monitor and locate events on the highway. However, these technologies still have some shortcomings in practical application. The existing event display methods are mostly in text or table form, which lacks intuitiveness and visibility, and cannot intuitively reflect the relative position and specific lanes of the event on the highway, making it difficult for managers to quickly and accurately understand the impact range of the event, affecting the management efficiency of the highway. 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 event location and impact range, 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 high-speed lane, comprising the following steps: 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 to collect images of the incident scene according to the alarm message; Receive the transmitted images of the incident scene; Perform image processing on the incident scene image to obtain the lane where the incident occurred; 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.
[0006] In an optional implementation, when an alarm message is received, triggering a corresponding camera to collect images of the event scene according to the alarm message specifically includes the following steps: Pre-store the camera's identification and geographic coordinates; When receiving an alarm message, parse the event geographic coordinates in the alarm message; Find the camera closest to the event location based on the event's geographic coordinates and the camera's geographic coordinates; Trigger the found camera to collect images of the event scene.
[0007] In an optional implementation, performing image processing on the event scene image to obtain the lane where the event occurred specifically includes the following steps: Use Gaussian filter to denoise the event scene image; Perform a histogram equalization operation to process the event scene image into a grayscale image; Perform ROI selection operation and crop the image containing the road part; Use edge detection algorithm to extract edge information of the image to identify the position and shape of lane lines; Use Hough transform to find straight line features corresponding to lane lines, cluster multiple detected straight lines, and use the least squares method to fit the lane lines based on the clustering results; 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.
[0008] In an optional implementation, marking an event icon on a target lane on a target area plan display map based on the camera position and the lane where the event is located specifically includes: Pre-configure the horizontal coordinates of each camera in the plane display of the target area; Pre-configure the longitudinal coordinates of each lane in the plane display of the target area; 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; The target lane on the target area plan display map is marked according to the horizontal and vertical coordinates of the event icon.
[0009] In an optional embodiment, the plan display also displays identification points on the highway within the target area.
[0010] In an optional implementation, the identification points include toll booths, service areas, parking areas, and transportation hubs.
[0011] In a second aspect, the technical solution of the present invention provides an event location display system based on a high-speed lane, comprising: Display map drawing module: draws a plane display map of the target area, and the plane display map shows each lane on the highway; Image acquisition trigger module: when receiving alarm information, trigger the corresponding camera to collect images of the incident scene according to the alarm information; Image receiving module: receiving the transmitted event scene images; Image processing module: performs image processing on the incident scene image to obtain the lane where the incident occurred; Event icon identification module: based on the camera position and the lane where the event is located, the event icon is identified on the target lane on the target area plane display map.
[0012] In a third aspect, the technical solution of the present invention provides a terminal, including: 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 described in any of the above items when executing the event location display program based on the highway lane.
[0013] 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.
[0014] The method, system, terminal and medium for locating and displaying an event based on a highway lane provided by the present invention have the following beneficial effects compared with the prior art: first, a planar display diagram of the target area is drawn, then, when an event occurs, a live image is captured by a camera, and image processing is performed to obtain the lane where the event is located, and finally, based on the position of the camera and the event lane, the event is marked on the target lane of the display diagram to achieve an intuitive display of the event location. The present invention can mark the relative position and specific lane of the event in the display diagram, making it convenient for managers to intuitively know the event location and impact range, thereby improving the management efficiency of the highway. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 creative work.
[0015] Figure 1 It is a flowchart of a method for locating and displaying an event based on a high-speed lane provided in an embodiment of the present invention.
[0016] Figure 2 It is a schematic diagram of the plan display of the target area.
[0017] Figure 3 The present invention is a schematic block diagram of a high-speed lane-based event location display system according to an embodiment of the present invention.
[0018] Figure 4 It is a schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0019] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0020] 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 the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0021] Figure 1 1 is a flow chart of a method for locating and displaying an event based on a high-speed lane provided by an embodiment of the present invention. Figure 1 The execution subject may be a high-speed lane-based event location display system. The high-speed lane-based event location display method provided in the embodiment of the present invention is executed by a computer device, and accordingly, the high-speed lane-based event location display system runs in the computer device. According to different requirements, the order of the steps in the flowchart can be changed, and some can be omitted.
[0022] like Figure 1 As shown, the method includes the following steps.
[0023] S1, draw a plan view of the target area, and the plan view shows each lane on the highway.
[0024] 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.
[0025] S2, when an alarm message is received, the corresponding camera is triggered according to the alarm message to collect images of the incident scene.
[0026] The alarm information received in this embodiment includes the geographical location of the event. Multiple cameras are arranged at intervals on the highway. When an alarm is received, the corresponding camera is controlled to take pictures on the spot to perform image processing to obtain the lane where the event is located, and then mark it on the display map. The specific steps include the following steps.
[0027] S2.1, pre-store the camera identification and geographic coordinates.
[0028] S2.2, when receiving the alarm information, parsing the event geographic coordinates in the alarm information.
[0029] 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.
[0030] S2.4, triggering the found camera to collect images of the event scene.
[0031] S3, receiving the transmitted event scene images.
[0032] S4, performing image processing on the event scene image to obtain the lane where the event is located.
[0033] 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.
[0034] S4.1, use Gaussian filter to denoise the event scene image.
[0035] S4.2, performing a histogram equalization operation to process the event scene image into a grayscale image.
[0036] S4.3, perform ROI selection operation to crop the image containing the road portion.
[0037] S4.4, use edge detection algorithm to extract edge information of the image to identify the position and shape of the lane line.
[0038] 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.
[0039] 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.
[0040] First, the image is denoised and grayscaled, and then the area of interest is cropped. The lane line is detected and fitted based on the edge detection algorithm and clustering. Then, the lane where the event is located is obtained based on the relative position between lanes and the comparison of the previous and next frames. It can be understood that the vehicle at the event is generally stationary, and its display in the previous and next frame images is also unchanged. Therefore, the event location can be obtained based on the comparison results of the previous and next frames.
[0041] 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.
[0042] 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 occurs. The specific steps include the following steps.
[0043] S5.1, pre-configure the horizontal coordinates of each camera in the plane display image of the target area.
[0044] S5.2, pre-configure the longitudinal coordinates of each lane in the plane display of the target area.
[0045] S5.3, using the horizontal coordinate of the corresponding camera as the horizontal coordinate of the event icon, and using the vertical coordinate of the lane where the located event is located as the vertical coordinate of the event icon.
[0046] S5.4, mark the target lane on the target area plan display map according to the horizontal coordinate and the vertical coordinate of the event icon.
[0047] In this embodiment, in order to improve the marking efficiency, the event marking is performed based on the horizontal coordinates of the camera in the display image and the vertical coordinates of the lane, and the coordinates of each camera and each lane are pre-stored. After finding the camera closest to the event, the horizontal coordinates of the camera are retrieved as the horizontal coordinates of the event marking, and after obtaining the lane where the event is located through image processing, the vertical coordinates of the target lane are retrieved as the vertical coordinates of the event marking, and then marking is performed on the display image based on the horizontal coordinates and the vertical coordinates.
[0048] 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 and impact range of the event, thereby improving the management efficiency of the highway.
[0049] An embodiment of a method for locating and displaying an event based on a highway is described in detail above. Based on the method for locating and displaying an event based on a highway described in the above embodiment, an embodiment of the present invention also provides an event locating and displaying system based on a highway corresponding to the method.
[0050] Figure 3is 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 trigger module 320, an image receiving module 330, an image processing module 340, and an event icon identification module 350. The module 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 complete fixed functions, which are stored in a memory.
[0051] The display map drawing module 310 draws a plane display map of the target area, and the plane display map shows each lane on the highway.
[0052] 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.
[0053] Image receiving module 330: receives the transmitted event scene images.
[0054] Image processing module 340: performs image processing on the event scene image to obtain the lane where the event is located.
[0055] The event icon identification module 350 identifies an event icon on a target lane on the target area plan display map based on the camera position and the lane where the event is located.
[0056] 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 the system can be seen in the implementation example 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 parts of the implementation example, which will not be elaborated here.
[0057] In addition, since the event location display system based on the expressway of this embodiment is used to implement the aforementioned event location display method based on the expressway, its function corresponds to that of the aforementioned method and will not be described in detail here.
[0058] 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 used to implement the following steps when implementing the event location display program based on the high-speed lane stored in the memory 420: 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 to collect images of the incident scene according to the alarm message; Receive the transmitted images of the incident scene; Perform image processing on the incident scene image to obtain the lane where the incident occurred; 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. The terminal 400 includes a processor 410, a memory 420 and a communication unit 430. These components communicate via one or more buses. It can be understood by those skilled in the art that the structure of the server shown in the figure does not constitute a limitation of the present invention, and it can be a bus structure or a star structure, and can also include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0059] The memory 420 can be used to store the execution instructions of the processor 410, and the memory 420 can be implemented by any type of volatile or non-volatile storage terminal 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 the memory 420 are executed by the processor 410, the terminal 400 can perform some or all of the steps in the following method embodiments.
[0060] The processor 410 is the control center of the storage terminal, and uses various interfaces and lines to connect various parts of the entire electronic terminal. It runs or executes software programs and / or modules stored in the memory 420, and calls data stored in the memory to perform various functions of the electronic terminal and / or process data. 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 include only a central processing unit (CPU). In the embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0061] The communication unit 430 is used 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.
[0062] 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).
[0063] The computer storage medium stores a high-speed lane-based event location display program, and when the high-speed lane-based event location display program is executed by a processor, the following steps are implemented: 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 to collect images of the incident scene according to the alarm message; Receive the transmitted images of the incident scene; Perform image processing on the incident scene image to obtain the lane where the incident occurred; 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. Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention, in essence or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes, including several instructions for enabling 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 each embodiment of the present invention.
[0064] 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 only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, 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.
[0065] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0066] 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.
[0067] 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 a person skilled in the art, as well as several improvements and modifications made without departing from the principle of the present invention, should fall within the protection scope of the present invention.
Claims
1. A method for locating and displaying events based on high-speed lanes, It is characterized in that The following steps are involved: 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 to collect images of the incident scene according to the alarm message; Receive the transmitted images of the incident scene; Perform image processing on the incident scene image to obtain the lane where the incident occurred; 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.
2. The method for locating and displaying an event based on a high-speed lane according to claim 1, It is characterized in that When an alarm message is received, the corresponding camera is triggered according to the alarm message to collect images of the incident scene, which specifically includes the following steps: Pre-store the camera's identification and geographic coordinates; When receiving an alarm message, parse the event geographic coordinates in the alarm message; Find the camera closest to the event location based on the event's geographic coordinates and the camera's geographic coordinates; Trigger the found camera to collect images of the event scene.
3. The method for locating and displaying an event based on a high-speed lane according to claim 1, It is characterized in that Perform image processing on the incident scene image to obtain the lane where the incident occurred, specifically including the following steps: Use Gaussian filter to denoise the event scene image; Perform a histogram equalization operation to process the event scene image into a grayscale image; Perform ROI selection operation and crop the image containing the road part; Use edge detection algorithm to extract edge information of the image to identify the position and shape of lane lines; Use Hough transform to find straight line features corresponding to lane lines, cluster multiple detected straight lines, and use the least squares method to fit the lane lines based on the clustering results; 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.
4. The method for locating and displaying an event based on a high-speed lane according to claim 3, It is characterized in that Based on the camera position and the lane where the event is located, an event icon is marked on the target lane on the target area plane display map, including: Pre-configure the horizontal coordinates of each camera in the plane display of the target area; Pre-configure the longitudinal coordinates of each lane in the plane display of the target area; 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; The target lane on the target area plan display map is marked according to the horizontal and vertical coordinates of the event icon.
5. The method for locating and displaying an event based on a high-speed lane according to any one of claims 1 to 4, It is characterized in that The plan view also shows the identification points on the highway within the target area.
6. The method for locating and displaying an event based on a high-speed lane according to claim 5, It is characterized in that Sign points include toll booths, service areas, parking areas, and transportation hubs.
7. An event location display system based on high-speed lanes, It is characterized in that include, Display map drawing module: draws a plane display map of the target area, and the plane display map shows each lane on the highway; Image acquisition trigger module: when receiving alarm information, trigger the corresponding camera to collect images of the incident scene according to the alarm information; Image receiving module: receiving the transmitted event scene images; Image processing module: performs image processing on the incident scene image to obtain the lane where the incident occurred; Event icon identification module: based on the camera position and the lane where the event is located, the event icon is identified on the target lane on the target area plane display map.
8. A terminal, It is 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 described in any one of claims 1-6 when executing the event location display program based on the highway lane.
9. A computer-readable storage medium, It is characterized in that The readable storage medium stores a high-speed lane-based event location display program, and when the high-speed lane-based event location display program is executed by a processor, the steps of the high-speed lane-based event location display method as described in any one of claims 1-6 are implemented.
Citation Information
Patent Citations
Car-mounted non-scale traffic accident spot rapid reconnaissance system based on binocular visual sense
CN102243075A
Method and system for speedy ex-situ evidence collection of traffic accident
CN103295396A
Analysis method for road traffic accidents
CN103390345A
Highway traffic accident information issuing system
CN104852970A
Traffic accident message publishing method and server
CN106469512A
