Bus route-based road environment detection network optimization deployment system and method
By screening and merging the equipment information of bus lines and optimizing the road environment detection line, the problem of low detection efficiency caused by large video recognition processing volume in the prior art is solved, and more efficient road network environment detection is achieved.
Patent Information
- Application Number
- CN202510062918.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2045-01-15
AI Technical Summary
Among the existing road network environment detection methods, the video recognition processing volume is large, resulting in low detection efficiency.
By obtaining the bus routes and bus equipment information in the road network, filtering out the existing shooting equipment lines, counting the total number of road sections they pass, and combining and selecting the line collection to optimize the road environment detection route.
It reduces the amount of video recognition processing and improves the efficiency of road network environmental detection.
Smart Images

Figure CN119476893A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of data processing technology, and in particular to a system and method for optimizing the deployment of a road environment detection network based on bus routes. Background Art
[0002] At present, in order to promote the application of smart cities through intensive construction, most regions have begun to install video equipment at the front of buses to shoot images. The images taken at the front of the bus and the video structuring algorithm are used to identify events that affect road traffic, such as potholes, cracks, missing manhole covers, missing traffic signs, and road construction in the road network, thereby reducing the company's investment in special inspection manpower and material resources.
[0003] In the related art, most of them select all the bus routes in the road network or select buses on bus routes with a higher frequency of defects to install camera equipment for road network environment detection. However, this method has a large amount of video recognition processing, resulting in low efficiency of road network environment detection. Summary of the invention The embodiments of the present application provide a system and method for optimizing the deployment of a road environment detection network based on bus routes, which solves the problem of large video recognition processing volume in existing road network environment detection methods, resulting in low efficiency of road network environment detection. The detection routes are screened and processed based on the installation status of bus shooting equipment, which can reduce the video recognition processing volume.
[0004] In a first aspect, an embodiment of the present application provides a method for optimizing deployment of a road environment detection network based on a bus route, comprising: Acquire equipment information of a plurality of bus routes and buses on each of the bus routes in a road network, wherein the road network includes a plurality of road sections, and the bus routes include a plurality of passing sections; Determine whether each of the bus routes is an existing shooting device route according to the device information, and if there are multiple existing shooting device routes, count the total number of sections passed by each of the existing shooting device routes, perform screening based on the multiple sections passed by the existing shooting device routes and the total number of sections passed by to obtain a first selected route set, and determine multiple bus routes other than the first selected route set as unselected routes; A plurality of unselected sections are determined based on the first selected route set and the plurality of road sections, a second selected route set is obtained by screening the plurality of unselected sections and the plurality of unselected routes, and the first selected route set and the second selected route set are merged to obtain a plurality of road environment detection routes for use in environment detection of the road network.
[0005] Optionally, the filtering and processing based on the plurality of the passed sections and the total number of the passed sections of the existing shooting device route to obtain the first selected route set includes: The route with the most sections in the existing shooting equipment routes is determined according to the total number of sections passed, and the route with the most sections is determined as the first selected route. The first selected route and the remaining existing shooting equipment routes are compared to obtain a first selected route set.
[0006] Optionally, when there are multiple routes with the most sections, determining the route with the most sections as the first selected route includes: Performing a segment overlap comparison process on the segments passed by each of the routes with the most segments, and when there are overlapped segments in each of the routes with the most segments, obtaining the total length of the covered detection segments of each of the routes with the most segments, and determining the route with the most segments with the longest total length of the covered detection segments as the first selected route; In the case where there is a route with the most sections without overlapping sections, when there is only one route with the most sections without overlapping sections, the route with the most sections without overlapping sections is determined as the first selected route; when there are multiple routes with the most sections without overlapping sections, one of the routes with the most sections without overlapping sections is randomly selected as the first selected route.
[0007] Optionally, the obtaining a first selected circuit set by performing comparison processing based on the first selected circuit and the remaining existing shooting device circuits includes: Compare the sections passed by the first selected route with the sections passed by the remaining existing shooting equipment routes to obtain multiple routes with no overlapped sections, and determine the route with the largest number of sections passed by no overlapped sections as the second selected route; Based on the second selected route and the remaining routes without overlapping sections, the process of repeatedly comparing the passing sections of the first selected route with the passing sections of the remaining existing shooting equipment routes is repeated to obtain multiple routes without overlapping sections, and the route without overlapping sections having the largest total number of passing sections is determined as the second selected route until there is no route available, and the selected routes are combined into a first selected route set.
[0008] Optionally, the filtering and processing based on the plurality of the unselected road sections and the plurality of the unselected routes to obtain the second selected route set includes: Compare the plurality of unselected sections with the sections of the unselected routes respectively, determine the proportion of unselected sections in each of the unselected routes according to the comparison results, and determine the unselected route with the highest proportion of unselected sections as the first selected route; A second selected circuit set is obtained by performing a comparison process based on the first selected circuit and the remaining unselected circuits.
[0009] Optionally, when there are multiple unselected routes with the highest proportion of unselected sections, determining the unselected route with the highest proportion of unselected sections as the first selected route includes: Obtain the preset detection weights of each unselected section in the unselected routes with the highest proportion of unselected sections, calculate the sum of the unselected section detection weights of each unselected route with the highest proportion of unselected sections according to the preset detection weights, and determine the unselected route with the highest sum of the unselected section detection weights as the first selected route.
[0010] Optionally, the obtaining a second selected circuit set by comparing the first selected circuit and the remaining unselected circuits includes: Compare the sections passed by the first selected route with the sections passed by the remaining unselected routes to obtain multiple routes without overlapping sections, and determine the route without overlapping sections with the largest proportion of unselected sections as the second selected route; Based on the second selected route and the remaining routes without overlapping sections, repeatedly compare the various passing sections of the first selected route with the various passing sections of the remaining unselected routes to obtain multiple routes without overlapping sections, determine the route without overlapping sections with the largest proportion of unselected sections as the second selected route until there are no routes to be selected, and combine the various selected routes into a second selected route set.
[0011] Optionally, when the equipment information of the buses on each bus route does not meet the pre-stored road environment detection equipment conditions and it is determined to deploy a dedicated shooting device, the method includes: Acquire multiple sections to be detected, compare the sections passed by each bus line with the multiple sections to be detected to obtain the sections to be detected covered by each bus line, and determine the bus line with the most sections to be detected covered as the first selected line; Compare the covered sections to be detected of the first selected route with the covered sections to be detected of the remaining bus routes to obtain multiple routes with no overlapping sections, and determine the route with the most covered sections to be detected with no overlapping sections as the second selected route; Based on the second selected route and the remaining routes without overlapping road sections, the method of repeatedly comparing the covered sections to be detected of the first selected route with the covered sections to be detected of the remaining bus routes is performed to obtain multiple routes without overlapping road sections, and the route without overlapping road sections that covers the most sections to be detected is determined as the second selected route until there is no route available, and the selected routes are combined into a special shooting equipment route set for the installation of the special shooting equipment and the environmental detection of the road network is performed through the installed special shooting equipment.
[0012] In a second aspect, the embodiment of the present application further provides a road environment detection network optimization deployment device based on bus routes, comprising: An acquisition module, used to acquire equipment information of a plurality of bus routes and buses on each of the bus routes in a road network, wherein the road network includes a plurality of road sections, and the bus routes include a plurality of passing sections; A judgment module, used to determine whether each of the bus routes is a route with existing photographing equipment according to the equipment information; A first screening processing module is used for counting the total number of sections passed by each of the existing shooting equipment routes when there are multiple existing shooting equipment routes, and performing screening processing based on the multiple sections passed by the existing shooting equipment routes and the total number of sections passed by to obtain a first selected route set; A second screening processing module is used to determine multiple bus routes other than the first selected route set as unselected routes, determine multiple unselected sections according to the first selected route set and the multiple road sections, and perform screening processing based on the multiple unselected sections and the multiple unselected routes to obtain a second selected route set; A set merging module is used to merge the first selected route set and the second selected route set to obtain multiple road environment detection routes for use in the environment detection of the road network.
[0013] In a third aspect, the embodiment of the present application further provides a road environment detection network optimization deployment device based on bus routes, the device comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the road environment detection network optimization deployment method based on bus routes described in the embodiment of the present application.
[0014] In a fourth aspect, an embodiment of the present application further provides a storage medium storing computer executable instructions, which, when executed by a computer processor, are used to execute the road environment detection network optimization deployment method based on bus lines described in an embodiment of the present application.
[0015] In the embodiment of the present application, the equipment information of multiple bus routes and buses on each bus route in the road network is obtained, the road network includes multiple road sections, and the bus routes include multiple passing sections. According to the equipment information, it is determined whether each bus route is an existing shooting equipment route. In the case of multiple existing shooting equipment routes, the total number of passing sections of each existing shooting equipment route is counted, and a first selection route set is obtained based on the multiple passing sections and the total number of passing sections of the existing shooting equipment routes. Multiple bus routes outside the first selection route set are determined as unselected routes, multiple unselected sections are determined based on the first selection route set and multiple road sections, and a second selection route set is obtained based on the multiple unselected sections and multiple unselected routes. The first selection route set and the second selection route set are merged to obtain multiple road environment detection routes for road network environment detection. This solution screens the detection routes according to the installation status of the bus shooting equipment, solves the problem that the existing road network environment detection method has a large amount of video recognition processing, resulting in low efficiency of road network environment detection, and can reduce the amount of video recognition processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A flowchart of a method for optimizing deployment of a road environment detection network based on bus routes provided in an embodiment of the present application; Figure 2 A flowchart of a method for optimizing deployment of a road environment detection network based on a bus route, including determining a first selection route set mode, provided in an embodiment of the present application; Figure 3 A flowchart of a method for optimizing deployment of a road environment detection network based on a bus route, including determining a second selection route set, provided in an embodiment of the present application; Figure 4 A module structure diagram of a road environment detection network optimization deployment device based on bus routes provided in an embodiment of the present application; Figure 5 A schematic diagram of the structure of a road environment detection network optimization deployment device based on bus routes provided in an embodiment of the present application. DETAILED DESCRIPTION
[0017] The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the embodiments of the present application, rather than to limit the embodiments of the present application. It should also be noted that, for ease of description, only parts related to the embodiments of the present application are shown in the accompanying drawings, rather than all structures.
[0018] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and or or" in the specification and claims represents at least one of the connected objects, and the character "or" generally indicates that the objects associated before and after are in an "or" relationship.
[0019] The embodiment of the present application provides a method for optimizing the deployment of a road environment detection network based on a bus route, which can be applied to the selection scenario of a road network detection route. For example, when a road network needs to perform road environment detection, the route can be selected by using the method for optimizing the deployment of a road environment detection network based on a bus route provided by the embodiment of the present application. The embodiment of the present application provides a method for optimizing the deployment of a road environment detection network based on a bus route, and the execution subject of each step is a server.
[0020] Figure 1 A flowchart of a method for optimizing the deployment of a road environment detection network based on bus routes provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, specifically including: Step S101, obtaining equipment information of multiple bus routes and buses on each bus route in a road network, wherein the road network includes multiple road sections, and the bus routes include multiple passing sections, and determining whether each bus route is an existing shooting equipment route based on the equipment information.
[0021] Among them, the road network refers to a road system composed of various roads that are interconnected and interwoven into a network distribution within a certain area. The road network may include multiple road sections, and the road sections may be road sections connecting various intersections. The bus line is used to characterize the operation route of the bus. The bus line may include multiple passing sections, and the passing sections may be various road sections that the bus line passes through in the road network. The bus is used to characterize the bus running on the bus line. The equipment information may be related information of the equipment installed on the bus. The equipment information can be used to determine whether the bus line is an existing shooting equipment line. The existing shooting equipment line may be a bus line where a bus with a camera that shoots road videos is installed. An exemplary example may be that the multiple bus lines in the road network a are line 1, line 2, line 3, line 4 and line 5, respectively. There is no camera for shooting road videos in the equipment information of the buses of line 1, line 3 and line 4, and there is a camera for shooting road videos in the equipment information of the buses of line 2 and line 5, then line 2 and line 5 are determined as existing shooting equipment lines.
[0022] Step S102: when there are multiple existing shooting equipment routes, count the total number of sections passed by each existing shooting equipment route, and perform screening based on the multiple sections passed by the existing shooting equipment route and the total number of sections passed by to obtain a first selected route set.
[0023] Among them, the total number of passing sections is used to characterize the total number of passing sections on the existing shooting device lines. The first selection route set can be determined using the total number of passing sections and the multiple passing sections of each existing shooting device line. The first selection route set can be a set of bus routes selected when the screening process is performed for the first time. In one embodiment, a screening process method can be to arrange the existing shooting device lines from large to small according to the total number of passing sections, and compare the passing sections of the multiple existing shooting device lines arranged before the preset proportion to obtain multiple non-overlapping route lines, and determine the multiple non-overlapping route lines as the first selection route set. Optionally, a screening process method can be to determine the route with the most sections in the existing shooting device lines according to the total number of passing sections, and determine the route with the most sections as the first selection route, and compare the first selection route and the remaining existing shooting device lines to obtain the first selection route set. By selecting the environmental detection route in the existing shooting device lines according to the total number of passing sections, the road environment detection range can be made as large as possible.
[0024] Step S103: Determine a plurality of bus routes other than the first selected route set as unselected routes, and determine a plurality of unselected road sections according to the first selected route set and the plurality of road sections.
[0025] Among them, the unselected sections are used to represent the road sections other than the passing sections in the first selected route set among the multiple road sections. An exemplary example may be that the multiple bus routes in the road network a are bus route 1, bus route 2...bus route 10, and the multiple road sections are section 1, section 2...section 60. The first selected route set includes bus route 1 and bus route 2, then bus routes 3 to bus routes 10 are determined as unselected routes, the passing sections of bus route 1 are section 1, section 2, section 3, section 4, section 5, and section 6, and the passing sections of bus route 2 are section 7, section 8, section 9, section 10, and section 11, then sections 12 to section 60 are determined as unselected sections.
[0026] Step S104: screening and processing are performed based on the plurality of the unselected road sections and the plurality of the unselected routes to obtain a second selected route set, and the first selected route set and the second selected route set are combined to obtain a plurality of road environment detection routes for use in the environmental detection of the road network.
[0027] Among them, the second selected route set can be a set of bus routes selected when the second screening process is performed. Multiple road environment detection routes can be obtained using the second selected route set and the first selected route set. The road environment detection route is used to characterize the bus route for performing road environment detection. The road environment detection route can be used to perform environmental detection of the road network. In one embodiment, a method for determining the second selected route set can be to compare multiple unselected sections with the passing sections in each unselected route to obtain the occupied unselected section set in each unselected route, determine that each occupied unselected section set can be merged into multiple unselected routes of all unselected sections, and determine it as the second selected route set. Optionally, a method for determining the second selected route set can be to compare multiple unselected sections with each passing section of multiple unselected routes, determine the proportion of unselected sections in each unselected route according to the comparison results, determine the unselected route with the highest proportion of unselected sections as the first selected route, and compare the first selected route and the remaining unselected routes to obtain the second selected route set. By determining other detection routes among the unselected routes according to the proportion of unselected road sections, the road environment detection range in the road network can be increased as much as possible.
[0028] In one embodiment, when the equipment information of buses on bus routes in each road network does not meet the pre-stored road environment detection equipment conditions and it is determined to deploy a dedicated shooting device, multiple sections to be detected are obtained, and the sections passed by each bus route are compared with the multiple sections to be detected to obtain the covered sections to be detected of each bus route, and the bus route with the most covered sections to be detected is determined as the first selected route, and the covered sections to be detected of the first selected route are compared with the covered sections to be detected of the remaining bus routes to obtain multiple routes without overlapping sections. The route with the most non-overlapping sections covering the sections to be detected is determined as the second selected route. Based on the second selected route and the remaining non-overlapping sections, the covered sections to be detected of the first selected route are compared with the covered sections to be detected of the remaining bus routes to obtain multiple non-overlapping sections. The route with the most non-overlapping sections covering the sections to be detected is determined as the second selected route until there is no route to be selected. Each selected route is combined into a special shooting equipment line set for the installation of special shooting equipment and the environmental detection of the road network is performed through the installed special shooting equipment. Among them, the road environment detection equipment condition is used to characterize the conditions that the equipment information of the bus needs to meet when used for road environment detection. Exemplarily, the road environment detection equipment condition is that the clarity of the shooting equipment in the equipment information of the bus is higher than the preset clarity and the authority of the shooting equipment is open to the public. The special shooting equipment can be a device that the enterprise uses to shoot the road condition information of the road. The section to be detected is used to characterize the road section waiting for road condition shooting and road condition detection. The section to be detected is used to characterize the section to be detected covered in each section of the bus line. The first selected route may be a route selected from a plurality of bus routes for installing a dedicated camera, and "first", "second", etc. are used to distinguish similar objects. The route without overlapping sections may be a bus route that covers the section to be detected and does not overlap with the bus route to be compared.
[0029] An illustrative example may be that the equipment information of the buses on the bus routes in each road network does not meet the pre-stored road environment detection equipment conditions, and it is determined to deploy special shooting equipment. There are currently 10 bus routes, namely route 1 to route 10, and 15 sections to be detected are obtained. The sections passed by each bus route in the road network are compared with the 15 sections to be detected to obtain the covered sections to be detected of each bus route, among which route 1 has the most covered sections to be detected, so route 1 is determined as the first selected route, and the covered sections to be detected of route 1 are compared with the covered sections to be detected of the bus routes numbered 2 to 10 to obtain routes without overlapping sections, namely route 3, route 4, route 5, route 7, route 8, and route 10, among which route 3 has the most covered sections to be detected, so route 3 is determined as the second selected route, and each of route 3 is compared with the covered sections to be detected of the bus routes numbered 2 to 10 to obtain routes without overlapping sections, namely route 3, route 4, route 5, route 7, route 8, and route 10. The covered sections to be detected are compared with the covered sections to be detected of lines 4, 5, 7, 8 and 10, and the routes without overlapping sections are lines 5, 7, 8 and 10, among which line 5 covers the most sections to be detected, so line 5 is determined as the third selected route, and the covered sections to be detected of line 5 are compared with the covered sections to be detected of lines 7, 8 and 10, and the routes without overlapping sections are lines 8 and 10, among which line 8 covers the most sections to be detected, so line 8 is determined as the fourth selected route, and the covered sections to be detected of line 8 are compared with the covered sections to be detected of line 10, and line 10 has no overlapping covered sections to be detected with line 8, so line 10 is determined as the fifth selected route, and lines 1, line 3, line 5, line 8 and line 10 are combined into a special shooting equipment line set.
[0030] As can be seen from the above, the equipment information of multiple bus routes and buses on each bus route in the road network is obtained. The road network includes multiple road sections, and the bus routes include multiple passing sections. According to the equipment information, it is determined whether each bus route is an existing shooting equipment route. In the case of multiple existing shooting equipment routes, the total number of passing sections of each existing shooting equipment route is counted. Based on the multiple passing sections of the existing shooting equipment routes and the total number of passing sections, a screening process is performed to obtain a first selection route set. Multiple bus routes outside the first selection route set are determined as unselected routes. Multiple unselected sections are determined based on the first selection route set and multiple road sections. Based on the multiple unselected sections and multiple unselected routes, a screening process is performed to obtain a second selection route set. The first selection route set and the second selection route set are merged to obtain multiple road environment detection routes for road network environment detection. This solution screens the detection routes according to the installation status of the bus shooting equipment, solves the problem that the existing road network environment detection method has a large amount of video recognition processing, resulting in low efficiency of road network environment detection, and can reduce the amount of video recognition processing.
[0031] Figure 2 A flowchart of a method for optimizing the deployment of a road environment detection network based on a bus route including determining a first selection route set is provided in an embodiment of the present application, such as Figure 2 As shown, specifically including: Step S201, obtaining equipment information of multiple bus routes and buses on each bus route in a road network, wherein the road network includes multiple road sections, and the bus routes include multiple passing sections, and determining whether each bus route is an existing shooting equipment route based on the equipment information.
[0032] Step S202: When there are multiple existing shooting equipment routes, count the total number of sections passed by each of the existing shooting equipment routes, determine the route with the most sections among the existing shooting equipment routes based on the total number of sections passed, and determine the route with the most sections as the first selected route, and compare the first selected route and the remaining existing shooting equipment routes to obtain a first selected route set.
[0033] Among them, the route with the most road sections is used to represent the existing shooting device route that passes through the most road sections. The first selected route can be determined using the route with the most road sections. The first selected route can be an existing shooting device route selected from multiple existing shooting device routes for road environment detection, and "first", "second", etc. are used to distinguish similar objects. Optionally, when there are multiple routes with the most sections, a method for determining the first selected route may be to perform a section overlap comparison process on the passing sections of each route with the most sections respectively; when there are overlapping sections in each route with the most sections, obtain the total length of the covered detection sections of each route with the most sections, and determine the route with the most sections with the longest total length of covered detection sections as the first selected route; when there is a route with the most sections without overlapping sections, when there is one route with the most sections without overlapping sections, determine the route with the most sections without overlapping sections as the first selected route; when there are multiple routes with the most sections without overlapping sections, randomly select a route with the most sections without overlapping sections as the first selected route, wherein the overlapping section may be a section in an existing shooting device route that is the same as a passing section in other existing shooting device routes, and the total length of the covered detection sections is used to represent the total length of all sections covered in the bus route for road detection. An exemplary example may be that the routes with the most sections are the existing camera route 1, the existing camera route 2 and the existing camera route 3, the sections passed in the existing camera route 1 are sections 1, 2, 3, 4 and 5, the sections passed in the existing camera route 2 are sections 1, 2, 6, 7 and 8, the sections passed in the existing camera route 3 are sections 9, 10, 11, 12 and 13, the overlapping sections of the existing camera route 1 and the existing camera route 2 are sections 1 and 2, and there is no overlapping section in the existing camera route 3 with the existing camera route 1 and the existing camera route 2, then the existing camera route 3 is determined as the first selected route. In another embodiment, the preset detection weights of the routes with the most sections are obtained, and the route with the most sections having the largest preset detection weight is determined as the first selected route.
[0034] Optionally, a method for determining the first selection route set may be to compare the various passing sections of the first selection route with the various passing sections of the remaining existing shooting equipment routes to obtain multiple routes without overlapping sections, determine the non-overlapping section route with the largest number of passing sections as the second selection route, and repeatedly compare the various passing sections of the first selection route with the various passing sections of the remaining existing shooting equipment routes based on the second selection route and the remaining non-overlapping section routes to obtain multiple routes without overlapping sections, determine the non-overlapping section route with the largest number of passing sections as the second selection route until there are no routes to be selected, and combine the various selection routes into the first selection route set, wherein the non-overlapping section route is used to represent a bus route that has no overlapping sections with the compared bus routes. An exemplary example may be that the multiple existing shooting equipment routes are bus route 1, bus route 2, bus route 3, bus route 4, bus route 5, and bus route 6, and bus route 1 is determined to be the first selected route. The various sections of bus route 1 are compared with the various sections of bus route 2, bus route 3, bus route 4, bus route 5, and bus route 6 to obtain the routes without overlapping sections, namely bus route 3, bus route 4, bus route 5, and bus route 6. Among them, bus route 3 has the largest number of sections, so bus route 3 is determined to be the second selected route. Select a route, compare each passing section of bus line 3 with each passing section of bus line 4, bus line 5, and bus line 6 to obtain routes without overlapping sections, and the total number of passing sections of bus line 5 is greater than that of bus line 6, then bus line 5 is determined as the third selected route, and each passing section of bus line 5 is compared with each passing section of bus line 6. Bus line 6 and bus line 5 have overlapping sections, and there is currently no route to choose, then bus line 1, bus line 3 and bus line 5 are combined into a first selected route set. In another embodiment, the various passing sections of the first selected route are compared with the various passing sections of the remaining existing shooting equipment routes to obtain multiple non-overlapping section routes, and the non-overlapping section route with the longest total length of covered detection sections is determined as the second selected route. Based on the second selected route and the remaining non-overlapping section routes, the various passing sections of the first selected route are repeatedly compared with the various passing sections of the remaining existing shooting equipment routes to obtain multiple non-overlapping section routes, and the non-overlapping section route with the longest total length of covered detection sections is determined as the second selected route until there are no routes to be selected, and the various selected routes are combined into a first selected route set.
[0035] Step S203: Determine a plurality of bus routes other than the first selected route set as unselected routes, and determine a plurality of unselected road sections according to the first selected route set and the plurality of road sections.
[0036] Step S204: screening and processing are performed based on the plurality of the unselected road sections and the plurality of the unselected routes to obtain a second selected route set, and the first selected route set and the second selected route set are combined to obtain a plurality of road environment detection routes for use in the environmental detection of the road network.
[0037] As can be seen from the above, the route with the most sections in the existing shooting equipment routes is determined according to the total number of sections passed, and the route with the most sections is determined as the first selected route. The first selected route and the remaining existing shooting equipment routes are compared and processed to obtain the first selected route set. This solution selects the environment detection route from the existing shooting equipment routes by the total number of sections passed and the overlap of the sections, which can reduce the amount of video recognition processing and make the road environment detection range as large as possible.
[0038] Figure 3 A flowchart of a method for optimizing the deployment of a road environment detection network based on a bus route including determining a second selection route set is provided in an embodiment of the present application, such as Figure 3 As shown, specifically including: Step S301, obtaining equipment information of multiple bus routes and buses on each bus route in a road network, wherein the road network includes multiple road sections, and the bus routes include multiple passing sections, and determining whether each bus route is an existing shooting equipment route based on the equipment information.
[0039] Step S302: when there are multiple existing shooting equipment routes, count the total number of sections passed by each existing shooting equipment route, and perform screening based on the multiple sections passed by the existing shooting equipment route and the total number of sections passed by to obtain a first selected route set.
[0040] Step S303: Determine a plurality of bus routes other than the first selected route set as unselected routes, and determine a plurality of unselected road sections according to the first selected route set and the plurality of road sections.
[0041] Step S304: compare the plurality of unselected sections with the sections of the plurality of unselected routes respectively, determine the proportion of unselected sections in each of the unselected routes according to the comparison results, and determine the unselected route with the highest proportion of unselected sections as the first selected route.
[0042] Among them, the proportion of unselected sections is used to characterize the ratio of the number of unselected sections in multiple passing sections in the unselected route to the total number of unselected sections. The first selected route can be determined using the proportion of unselected sections. The first selected route can be an unselected route selected from multiple unselected routes for road environment detection. Optionally, in the case where there are multiple unselected routes with the highest proportion of unselected sections, a method for determining the first selected route can be to obtain the preset detection weights of each unselected section in the unselected routes with the highest proportion of unselected sections, calculate the sum of the unselected section detection weights of the unselected routes with the highest proportion of unselected sections according to the preset detection weights, and determine the unselected route with the highest sum of unselected section detection weights as the first selected route, and the preset detection weight can be the importance of the pre-set sections for environmental detection. An illustrative example may be that the unselected routes with the highest proportion of unselected sections are bus route 1, bus route 2, and bus route 3, the unselected sections in bus route 1 are section 1, section 2, and section 3, the unselected sections in bus route 2 are section 3, section 4, and section 5, and the unselected sections in bus route 3 are section 2, section 4, and section 5, respectively. The preset detection weight of section 1 is 0.5, the preset detection weight of section 2 is 0.8, the preset detection weight of section 3 is 0.6, the preset detection weight of section 4 is 0.9, and the preset detection weight of section 5 is 0.3. It is calculated that the sum of the unselected section detection weights of bus route 1 is 1.9, the sum of the unselected section detection weights of bus route 2 is 1.8, and the sum of the unselected section detection weights of bus route 3 is 2. The unselected route with the highest sum of unselected section detection weights is bus route 3, and bus route 3 is determined as the first selected route. In another embodiment, the route lengths of each unselected section in the unselected routes with the highest proportion of unselected sections are obtained, the sum of the route lengths of each unselected section in the unselected routes is calculated respectively, and the unselected route with the largest sum of route lengths is determined as the first selected route.
[0043] Step S305: performing comparison processing based on the first selected route and the remaining unselected routes to obtain a second selected route set, merging the first selected route set and the second selected route set to obtain multiple road environment detection routes for use in the road network environment detection.
[0044] Among them, optionally, a method for determining the second selected route set can be to compare the various passing sections of the first selected route with the various passing sections of the remaining unselected routes to obtain multiple routes without overlapping sections, determine the route without overlapping sections with the largest proportion of unselected sections as the second selected route, and repeatedly compare the various passing sections of the first selected route with the various passing sections of the remaining unselected routes based on the second selected route and the remaining non-overlapping sections to obtain multiple routes without overlapping sections, determine the route without overlapping sections with the largest proportion of unselected sections as the second selected route until there are no routes to be selected, and combine the selected routes into the second selected route set. An exemplary example may be that the multiple unselected routes are bus route 2, bus route 4, bus route 6, bus route 7, bus route 8, and bus route 9, bus route 2 is determined to be the first selected route, and the various sections of bus route 2 are compared with the various sections of bus route 4, bus route 6, bus route 7, bus route 8, and bus route 9 to obtain routes without overlapping sections, namely bus route 6, bus route 7, bus route 8, and bus route 9, among which bus route 6 has the largest proportion of unselected sections, then bus route 6 is determined to be the second selected route, and bus route 6 is compared with the sections of bus route 6. Each passing section is compared with each passing section of bus line 7, bus line 8, and bus line 9, and the routes without overlapping sections are bus line 8 and bus line 9. The total number of passing sections of bus line 8 is greater than that of bus line 9, so bus line 8 is determined as the third selected route. Each passing section of bus line 8 is compared with each passing section of bus line 9. Bus line 9 has no overlapping sections with bus line 8, so bus line 9 is determined as the fourth selected route. Currently, there is no route to be selected, so bus line 2, bus line 6, bus line 8 and bus line 9 are combined into the second selected route set. In another embodiment, the passing sections of the first selected route are compared with the passing sections of the remaining unselected routes to obtain multiple routes without overlapping sections, and the route without overlapping sections with the longest total length of unselected sections is determined as the second selected route. Based on the second selected route and the remaining routes without overlapping sections, the comparison of the passing sections of the first selected route with the passing sections of the remaining unselected routes is repeated to obtain multiple routes without overlapping sections, and the route without overlapping sections with the longest total length of unselected sections is determined as the second selected route until there are no routes to be selected, and the selected routes are combined into a second selected route set.
[0045] As can be seen from the above, multiple unselected sections are compared with each of the sections passed by multiple unselected routes, and the proportion of unselected sections in each unselected route is determined according to the comparison results. The unselected route with the highest proportion of unselected sections is determined as the first selected route, and the second selected route set is obtained by comparing the first selected route and the remaining unselected routes. This solution determines other detection routes in the unselected routes according to the proportion of unselected sections, which can maximize the road environment detection range in the road network.
[0046] Figure 4 This is a module structure diagram of a road environment detection network optimization deployment device based on bus lines provided in an embodiment of the present application. The system is used to execute a road environment detection network optimization deployment method based on bus lines provided in the above embodiment, and has the corresponding functional modules and beneficial effects of the execution method. Figure 4 As shown, the system specifically includes: The acquisition module 101 is used to acquire equipment information of a plurality of bus routes and buses on each of the bus routes in a road network, wherein the road network includes a plurality of road sections, and the bus routes include a plurality of passing sections; A judgment module 102 is used to determine whether each of the bus routes is a route with existing photographing equipment according to the equipment information; A first screening processing module 103 is used for counting the total number of sections passed by each of the existing shooting device routes when there are multiple existing shooting device routes, and performing screening processing based on the multiple sections passed by the existing shooting device routes and the total number of sections passed by to obtain a first selected route set; A second screening processing module 104 is used to determine multiple bus routes other than the first selected route set as unselected routes, determine multiple unselected sections according to the first selected route set and the multiple road sections, and perform screening processing based on the multiple unselected sections and the multiple unselected routes to obtain a second selected route set; The set merging module 105 is used to merge the first selected route set and the second selected route set to obtain multiple road environment detection routes for use in the environment detection of the road network.
[0047] It can be seen from the above scheme that the equipment information of multiple bus routes and buses on each bus route in the road network is obtained, the road network includes multiple road sections, and the bus routes include multiple passing sections. According to the equipment information, it is determined whether each bus route is an existing shooting equipment route. In the case of multiple existing shooting equipment routes, the total number of passing sections of each existing shooting equipment route is counted, and a first selection route set is obtained based on the multiple passing sections and the total number of passing sections of the existing shooting equipment routes. Multiple bus routes outside the first selection route set are determined as unselected routes, and multiple unselected sections are determined based on the first selection route set and multiple road sections. A second selection route set is obtained based on the multiple unselected sections and multiple unselected routes. The first selection route set and the second selection route set are merged to obtain multiple road environment detection routes for road network environment detection. This scheme screens the detection routes according to the installation status of the bus shooting equipment, solves the problem that the existing road network environment detection method has a large amount of video recognition processing, resulting in low efficiency of road network environment detection, and can reduce the amount of video recognition processing.
[0048] In a possible embodiment, the first screening processing module 103 is specifically used to: The route with the most sections in the existing shooting equipment routes is determined according to the total number of sections passed, and the route with the most sections is determined as the first selected route. The first selected route and the remaining existing shooting equipment routes are compared to obtain a first selected route set.
[0049] In a possible embodiment, the first screening processing module 103 is further used to: Performing a segment overlap comparison process on the segments passed by each of the routes with the most segments, and when there are overlapped segments in each of the routes with the most segments, obtaining the total length of the covered detection segments of each of the routes with the most segments, and determining the route with the most segments with the longest total length of the covered detection segments as the first selected route; In the case where there is a route with the most sections without overlapping sections, when there is only one route with the most sections without overlapping sections, the route with the most sections without overlapping sections is determined as the first selected route; when there are multiple routes with the most sections without overlapping sections, one of the routes with the most sections without overlapping sections is randomly selected as the first selected route.
[0050] In a possible embodiment, the first screening processing module 103 is further used to: Compare the sections passed by the first selected route with the sections passed by the remaining existing shooting equipment routes to obtain multiple routes with no overlapped sections, and determine the route with the largest number of sections passed by no overlapped sections as the second selected route; Based on the second selected route and the remaining routes without overlapping sections, the process of repeatedly comparing the passing sections of the first selected route with the passing sections of the remaining existing shooting equipment routes is repeated to obtain multiple routes without overlapping sections, and the route without overlapping sections having the largest total number of passing sections is determined as the second selected route until there is no route available, and the selected routes are combined into a first selected route set.
[0051] In a possible embodiment, the second screening processing module 104 is specifically used to: Compare the plurality of unselected sections with the sections of the unselected routes respectively, determine the proportion of unselected sections in each of the unselected routes according to the comparison results, and determine the unselected route with the highest proportion of unselected sections as the first selected route; A second selected circuit set is obtained by performing a comparison process based on the first selected circuit and the remaining unselected circuits.
[0052] In a possible embodiment, the second screening processing module 104 is further used to: Obtain the preset detection weights of each unselected section in the unselected routes with the highest proportion of unselected sections, calculate the sum of the unselected section detection weights of each unselected route with the highest proportion of unselected sections according to the preset detection weights, and determine the unselected route with the highest sum of the unselected section detection weights as the first selected route.
[0053] In a possible embodiment, the second screening processing module 104 is further used to: Compare the sections passed by the first selected route with the sections passed by the remaining unselected routes to obtain multiple routes without overlapping sections, and determine the route without overlapping sections with the largest proportion of unselected sections as the second selected route; Based on the second selected route and the remaining routes without overlapping sections, repeatedly compare the various passing sections of the first selected route with the various passing sections of the remaining unselected routes to obtain multiple routes without overlapping sections, determine the route without overlapping sections with the largest proportion of unselected sections as the second selected route until there are no routes to be selected, and combine the various selected routes into a second selected route set.
[0054] In a possible embodiment, a dedicated shooting device line determination module is further included, which is specifically used to: Acquire multiple sections to be detected, compare the sections passed by each bus line with the multiple sections to be detected to obtain the sections to be detected covered by each bus line, and determine the bus line with the most sections to be detected covered as the first selected line; Compare the covered sections to be detected of the first selected route with the covered sections to be detected of the remaining bus routes to obtain multiple routes with no overlapping sections, and determine the route with the most covered sections to be detected with no overlapping sections as the second selected route; Based on the second selected route and the remaining routes without overlapping road sections, the method of repeatedly comparing the covered sections to be detected of the first selected route with the covered sections to be detected of the remaining bus routes is performed to obtain multiple routes without overlapping road sections, and the route without overlapping road sections that covers the most sections to be detected is determined as the second selected route until there is no route available, and the selected routes are combined into a special shooting equipment route set for the installation of the special shooting equipment and the environmental detection of the road network is performed through the installed special shooting equipment.
[0055] Figure 5 A schematic diagram of a structure of a road environment detection network optimization deployment device based on a bus line provided in an embodiment of the present application, such as Figure 5 As shown, the device includes a processor 201, a memory 202, an input device 203 and an output device 204; the number of processors 201 in the device can be one or more. Figure 5 A processor 201 is taken as an example; the processor 201, memory 202, input device 203 and output device 204 in the device can be connected by a bus or other means. Figure 5 The example of connection through a bus is taken. The memory 202, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions or modules corresponding to a method for optimizing the deployment of a road environment detection network based on bus lines in an embodiment of the present application. The processor 201 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 202, thereby realizing the above-mentioned method for optimizing the deployment of a road environment detection network based on bus lines. The input device 203 can be used to receive input digital or character information, and to generate key signal input related to user settings and function controls of the device. The output device 204 may include display devices such as display screens.
[0056] The embodiment of the present application also provides a storage medium containing computer executable instructions, and when the computer executable instructions are executed by a computer processor, they are used to execute a method for optimizing the deployment of a road environment detection network based on a bus route, the method comprising: Acquire equipment information of a plurality of bus routes and buses on each of the bus routes in a road network, wherein the road network includes a plurality of road sections, and the bus routes include a plurality of passing sections; Determine whether each of the bus routes is an existing shooting device route according to the device information, and if there are multiple existing shooting device routes, count the total number of sections passed by each of the existing shooting device routes, perform screening based on the multiple sections passed by the existing shooting device routes and the total number of sections passed by to obtain a first selected route set, and determine multiple bus routes other than the first selected route set as unselected routes; A plurality of unselected sections are determined based on the first selected route set and the plurality of road sections, a second selected route set is obtained by screening the plurality of unselected sections and the plurality of unselected routes, and the first selected route set and the second selected route set are merged to obtain a plurality of road environment detection routes for use in environment detection of the road network.
[0057] It is worth noting that in the above-mentioned embodiment of the road environment detection network optimization deployment method system based on bus lines, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present application.
[0058] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made to the present application without departing from the protection scope of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. A method for optimizing the deployment of a road environment detection network based on bus routes, characterized in that: The method comprises: Acquire equipment information of a plurality of bus routes and buses on each of the bus routes in a road network, wherein the road network includes a plurality of road sections, and the bus routes include a plurality of passing sections; Determine whether each of the bus routes is an existing shooting device route according to the device information, and if there are multiple existing shooting device routes, count the total number of sections passed by each of the existing shooting device routes, perform screening based on the multiple sections passed by the existing shooting device routes and the total number of sections passed by to obtain a first selected route set, and determine multiple bus routes other than the first selected route set as unselected routes; A plurality of unselected sections are determined based on the first selected route set and the plurality of road sections, a second selected route set is obtained by screening the plurality of unselected sections and the plurality of unselected routes, and the first selected route set and the second selected route set are merged to obtain a plurality of road environment detection routes for use in environment detection of the road network.
2. The method for optimizing the deployment of a road environment detection network based on a bus route according to claim 1 is characterized in that: The filtering process based on the plurality of the passed sections and the total number of the passed sections of the existing shooting device route to obtain a first selected route set includes: The route with the most sections in the existing shooting equipment routes is determined according to the total number of sections passed, and the route with the most sections is determined as the first selected route. The first selected route and the remaining existing shooting equipment routes are compared to obtain a first selected route set.
3. The method for optimizing the deployment of a road environment detection network based on bus routes according to claim 2 is characterized in that: In the case where there are multiple routes with the most sections, the method for determining the first selected route includes: Performing a segment overlap comparison process on the segments passed by each of the routes with the most segments, and when there are overlapped segments in each of the routes with the most segments, obtaining the total length of the covered detection segments of each of the routes with the most segments, and determining the route with the most segments with the longest total length of the covered detection segments as the first selected route; In the case where there is a route with the most sections without overlapping sections, when there is only one route with the most sections without overlapping sections, the route with the most sections without overlapping sections is determined as the first selected route; when there are multiple routes with the most sections without overlapping sections, one of the routes with the most sections without overlapping sections is randomly selected as the first selected route.
4. The method for optimizing the deployment of a road environment detection network based on bus routes according to claim 2 is characterized in that: The step of performing comparison processing based on the first selected circuit and the remaining existing shooting device circuits to obtain a first selected circuit set includes: Compare the sections passed by the first selected route with the sections passed by the remaining existing shooting equipment routes to obtain multiple routes with no overlapped sections, and determine the route with the largest number of sections passed by no overlapped sections as the second selected route; Based on the second selected route and the remaining routes without overlapping sections, the process of repeatedly comparing the passing sections of the first selected route with the passing sections of the remaining existing shooting equipment routes is repeated to obtain multiple routes without overlapping sections, and the route without overlapping sections having the largest total number of passing sections is determined as the second selected route until there is no route available, and the selected routes are combined into a first selected route set.
5. The method for optimizing the deployment of a road environment detection network based on a bus route according to any one of claims 1 to 4, characterized in that: The step of performing screening based on the plurality of unselected road sections and the plurality of unselected routes to obtain a second set of selected routes includes: Compare the plurality of unselected sections with the sections of the unselected routes respectively, determine the proportion of unselected sections in each of the unselected routes according to the comparison results, and determine the unselected route with the highest proportion of unselected sections as the first selected route; A second selected circuit set is obtained by performing a comparison process based on the first selected circuit and the remaining unselected circuits.
6. The method for optimizing the deployment of a road environment detection network based on bus routes according to claim 5 is characterized in that: When there are multiple unselected routes with the highest proportion of unselected sections, the method for determining the first selected route includes: Obtain the preset detection weights of each unselected section in the unselected routes with the highest proportion of unselected sections, calculate the sum of the unselected section detection weights of each unselected route with the highest proportion of unselected sections according to the preset detection weights, and determine the unselected route with the highest sum of the unselected section detection weights as the first selected route.
7. The method for optimizing the deployment of a road environment detection network based on bus routes according to claim 5 is characterized in that: The step of performing comparison processing based on the first selected circuit and the remaining unselected circuits to obtain a second selected circuit set includes: Compare the sections passed by the first selected route with the sections passed by the remaining unselected routes to obtain multiple routes without overlapping sections, and determine the route without overlapping sections with the largest proportion of unselected sections as the second selected route; Based on the second selected route and the remaining routes without overlapping sections, repeatedly compare the various passing sections of the first selected route with the various passing sections of the remaining unselected routes to obtain multiple routes without overlapping sections, determine the route without overlapping sections with the largest proportion of unselected sections as the second selected route until there are no routes to be selected, and combine the various selected routes into a second selected route set.
8. The method for optimizing the deployment of a road environment detection network based on bus routes according to claim 1 is characterized in that: When the equipment information of the buses on each bus route does not meet the pre-stored road environment detection equipment conditions and it is determined to deploy a dedicated shooting device, the method includes: Acquire multiple sections to be detected, compare the sections passed by each bus line with the multiple sections to be detected to obtain the sections to be detected covered by each bus line, and determine the bus line with the most sections to be detected covered as the first selected line; Compare the covered sections to be detected of the first selected route with the covered sections to be detected of the remaining bus routes to obtain multiple routes with no overlapping sections, and determine the route with the most covered sections to be detected with no overlapping sections as the second selected route; Based on the second selected route and the remaining routes without overlapping road sections, the method of repeatedly comparing the covered sections to be detected of the first selected route with the covered sections to be detected of the remaining bus routes is performed to obtain multiple routes without overlapping road sections, and the route without overlapping road sections that covers the most sections to be detected is determined as the second selected route until there is no route available, and the selected routes are combined into a special shooting equipment route set for the installation of the special shooting equipment and the environmental detection of the road network is performed through the installed special shooting equipment.
9. A road environment detection network optimization deployment device based on bus routes, characterized in that: include: An acquisition module, used to acquire equipment information of a plurality of bus routes and buses on each of the bus routes in a road network, wherein the road network includes a plurality of road sections, and the bus routes include a plurality of passing sections; A judgment module, used to determine whether each of the bus routes is a route with existing photographing equipment according to the equipment information; A first screening processing module is used for counting the total number of sections passed by each of the existing shooting equipment routes when there are multiple existing shooting equipment routes, and performing screening processing based on the multiple sections passed by the existing shooting equipment routes and the total number of sections passed by to obtain a first selected route set; A second screening processing module is used to determine multiple bus routes other than the first selected route set as unselected routes, determine multiple unselected sections according to the first selected route set and the multiple road sections, and perform screening processing based on the multiple unselected sections and the multiple unselected routes to obtain a second selected route set; A set merging module is used to merge the first selected route set and the second selected route set to obtain multiple road environment detection routes for use in the environment detection of the road network.
10. A road environment detection network optimization deployment device based on bus routes, the device comprising: one or more processors; A storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the road environment detection network optimization deployment method based on bus lines as described in any one of claims 1-8.
11. A storage medium storing computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the road environment detection network optimization deployment method based on bus lines as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Method and device for constructing joint topology of bus road network and road network, and upper computer
CN111753030A
Equipment layout method and device, electronic equipment and storage medium
CN112633735A
Road section bus route repetition coefficient data calculation method and device and storage medium
CN113850996A
Substation monitoring camera layout site design method
CN119155562A
Traffic information estimation system, estimation method, provision system and computer program
JP2010191614A