A method, device, equipment and medium for identifying an informal gas station
Through Chongchai OBD monitoring data and spatial big data technology, the identification of informal gas stations has been solved, and the problems of difficulty in identifying and low governance efficiency in the existing technology have been solved, and efficient and accurate identification of informal gas stations has been achieved.
Patent Information
- Application Number
- CN202311773870.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2043-12-21
AI Technical Summary
The existing technology is difficult to efficiently and accurately identify informal gas stations, which leads to a lot of manpower and material resources required to be invested in their governance and has poor timeliness. Due to the lack of registration, it is difficult to accurately obtain their location information.
The geographic location coordinate information is obtained through the monitoring data of the Chongchai Truck OBD, the monitoring target position image is generated, the buffer zone is divided, the overlapping area is fused, the number of refueling points is counted, and the position image of the regular gas station is matched. The refueling is determined using spatial big data and fusion technology. Is the point an informal gas station?
It realizes efficient and accurate identification of informal gas stations, reduces the cost and time of manual investigation, and improves the timeliness of governance.
Smart Images

Figure CN117893794B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, equipment and medium for identifying an informal gas station. Background Art
[0002] At present, in order to ensure the safety of oil products, a crackdown on informal gas stations has been launched. Informal gas stations are gas stations that do not have the relevant qualifications to operate hazardous goods. Since informal gas stations do not have the relevant qualifications to operate hazardous goods, the oil products they sell are often not subject to supervision, and they sell inferior products as good ones, resulting in excessive nitrogen oxides in vehicles. At the same time, since informal gas stations lack corresponding oil and gas recovery equipment, leaks often occur during the refueling and unloading process, causing direct pollution to the atmosphere, soil and groundwater quality.
[0003] In summary, the rectification and management of informal gas stations has become an urgent problem to be solved. In the relevant technologies, special rectification of informal gas stations is often carried out manually. The specific means include but are not limited to: daily work accumulation, reporting of informal gas stations, sorting out clues from previous inspections, etc. The source of information is relatively single, but because informal gas stations are not registered and filed, it is difficult to accurately obtain their location information. Manual inspection requires a lot of manpower and material resources, and the timeliness is poor. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a method, device, equipment and medium for identifying informal gas stations, so as to achieve the purpose of efficiently and accurately identifying informal gas stations.
[0005] The embodiment of the present application provides the following technical solution: a method for identifying an informal gas station, comprising:
[0006] According to the OBD monitoring data of the heavy diesel vehicle, the geographical location coordinate information when the oil increase of all the heavy diesel vehicles in the target area exceeds the first set threshold value within the set time period is obtained;
[0007] Marking the geographic location coordinate information on a map to generate a monitoring target location image;
[0008] In the monitoring target location image, each marked geographic location coordinate point is taken as the center, and the area is divided based on a preset range, and the obtained area is used as a buffer zone for each geographic location;
[0009] Merging the edges of all the overlapping and intersecting buffer zones to generate a plurality of fused units;
[0010] Counting the number of fueling points for heavy diesel vehicles in each fusion unit, and taking the fusion unit in which the number of fueling points for heavy diesel vehicles is greater than a second set threshold as a target fusion unit;
[0011] Marking the geographical coordinates of all regular gas stations in the target area on a map to generate a regular gas station location image;
[0012] The regular gas station location image is combined and matched with the target fusion unit. If the regular gas station location image and the target fusion unit have overlapping parts, it is determined that there is a regular gas station in the target fusion unit. If not, it is determined that there is a suspected informal gas station in the target fusion unit.
[0013] According to an embodiment of the present application, before marking the geographic location coordinate information on the map, the method further includes: preprocessing the geographic location coordinate information, and the preprocessing includes removing outliers.
[0014] According to an embodiment of the present application, the geographical location coordinate information is marked on a map to generate a monitoring target location image, including:
[0015] The data file of the geographic location coordinate information is saved as a csv format file, and the csv format file is loaded through QGIS software to generate a monitoring target location image.
[0016] According to an embodiment of the present application, in the monitoring target location image, each coordinate point of the marked geographic location coordinates is taken as the center, and the area is divided based on a preset range, and the obtained area is used as a buffer zone for each geographic location, including:
[0017] A circle is drawn with the coordinate point of each marked geographical location as the center and the set value as the radius, and the generated circular area is used as the buffer zone of each geographical location; wherein the set value is 20-25m.
[0018] According to an embodiment of the present application, all the edges of the overlapping and intersecting buffer zones are fused to generate multiple fusion units, including:
[0019] By using the spatial fusion tool of QGIS software, the spatial layers of the multiple overlapping and intersecting buffer zones are merged into a single layer to obtain multiple fusion units.
[0020] According to an embodiment of the present application, counting the number of fueling points for heavy diesel vehicles in each of the fusion units includes:
[0021] The number of refueling points for heavy diesel vehicles in each fusion unit was counted using the spatial association tool of QGIS software.
[0022] According to an embodiment of the present application, combining and matching the regular gas station location image with the target fusion unit includes:
[0023] The spatial intersection tool of QGIS software is used to intersect the layer of the regular gas station location image with the layer of the target fusion unit. If the intersection result of the two layers is 1, the regular gas station location image and the target fusion unit have overlapping parts, and it is determined that there is a regular gas station in the target fusion unit. If the intersection result of the two layers is 0, the regular gas station location image and the target fusion unit have no overlapping parts, and it is determined that there is a suspected informal gas station in the target fusion unit.
[0024] The present application also provides an informal gas station identification device, comprising:
[0025] A data acquisition module is used to obtain the geographical location coordinate information when the oil increase of all heavy diesel vehicles in the target area exceeds a first set threshold value within a set time period according to the OBD monitoring data of the heavy diesel vehicles;
[0026] A first image generation module, used to mark the geographic location coordinate information on a map to generate a monitoring target location image;
[0027] An image processing module, for dividing the area based on a preset range with the coordinate point of each marked geographical location as the center in the monitoring target location image, and using the obtained area as a buffer zone for each geographical location;
[0028] The image processing module is also used to fuse the edges of all the overlapping and intersecting buffer areas to generate a plurality of fusion units;
[0029] The image processing module is also used to count the number of fueling points for heavy diesel trucks in each fusion unit, and take the fusion unit whose number of fueling points for heavy diesel trucks is greater than a second set threshold as a target fusion unit;
[0030] A second image generation module is used to mark the geographical location coordinates of all regular gas stations in the target area on a map to generate a regular gas station location image;
[0031] The identification module is used to combine and match the regular gas station location image with the target fusion unit. If the regular gas station location image and the target fusion unit have overlapping parts, it is determined that there is a regular gas station in the target fusion unit. If not, it is determined that there is a suspected informal gas station in the target fusion unit.
[0032] The present application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for identifying informal gas stations when executing the computer program.
[0033] The present application also provides a computer-readable storage medium, which stores a computer program for executing the above-mentioned informal gas station identification method.
[0034] Compared with the prior art, the beneficial effects that can be achieved by at least one of the above-mentioned technical solutions adopted in the embodiments of this specification include at least the following: the embodiments of the present invention use spatial big data aggregation technology and spatial fusion technology to determine the location of the refueling point of the heavy diesel vehicle based on the latitude and longitude information of the vehicle tank liquid level change monitored by the OBD of the heavy diesel vehicle and the POI coordinate data of the regular gas station, and use spatial association and spatial intersection technology to determine the association between the location of the heavy diesel vehicle refueling point and the POI coordinates of the regular gas station, so as to achieve efficient and accurate identification of whether the concentrated refueling point of the heavy diesel vehicle is an informal gas station. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 is a schematic diagram of a flow chart of a method for identifying an informal gas station according to an embodiment of the present invention;
[0037] Figure 2 is a structural block diagram of an informal gas station identification device according to an embodiment of the present invention;
[0038] Figure 3 It is a structural schematic diagram of the computer device of the present invention. DETAILED DESCRIPTION
[0039] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0040] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.
[0041] like Figure 1As shown, an embodiment of the present invention provides a method for identifying an informal gas station, including:
[0042] S101. Based on the OBD (On-Board Diagnostic Vehicle Fault Detector) monitoring data of the heavy diesel vehicles, obtain the geographical location coordinate information when the oil increase of all heavy diesel vehicles in the target area exceeds a first set threshold within a set time period.
[0043] At present, the on-board terminal for remote emission monitoring of heavy-duty diesel vehicles (referred to as heavy diesel vehicles) will collect real-time data such as vehicle speed, atmospheric pressure, engine fuel flow, air intake, SCR inlet and outlet temperature, fuel tank level, engine coolant temperature, longitude and latitude. Therefore, heavy diesel vehicles are equipped with OBD monitors, which can monitor the geographical location information when the vehicle oil changes, and obtain the longitude and latitude information collected by OBD when the oil of heavy diesel vehicles changes in a certain area within a period of time. Taking Province A as an example, the longitude and latitude information of all heavy diesel vehicles monitored by OBD when the oil changes within a period of time are collected and summarized together.
[0044] In order to improve the accuracy of the acquired geographic location coordinate information data and avoid the increase of oil collection data due to the influence of external temperature, terrain and other factors, rather than the increase of oil due to refueling, this embodiment sets a first set threshold. When the increase of oil exceeds the first set threshold, the corresponding geographic location is identified as the geographic location coordinate information of the suspected refueling of the heavy diesel truck. The geographic location coordinate information in this embodiment includes longitude and latitude coordinates.
[0045] S102. Mark the geographic location coordinate information on a map to generate a monitoring target location image.
[0046] In one embodiment, before marking the geographic location coordinate information on the map, this step further includes: preprocessing the geographic location coordinate information, wherein the preprocessing includes removing abnormal values.
[0047] In the specific implementation, since OBD monitoring may have deviations, points outside the target area or points with obvious abnormal geographical locations are removed. The method for removing abnormal values is to use geographic information system tools. The specific method is to use GIS software such as QGIS, ArcGIS, etc., usually using spatial query and filtering functions to remove latitude and longitude abnormal values. This embodiment uses QGIS software (formerly known as Quantum GIS desktop geographic information system) to implement it by executing SQL query. The SQL statement is as follows:
[0048] SELECT *
[0049] FROM your_table
[0050] WHERE latitude BETWEEN min_latitude AND max_latitude
[0051] AND longitude BETWEEN min_longitude AND max_longitude
[0052] In the above SQL statement, your_table is the name of the data table to be filtered, latitude and longitude are the names of the longitude and latitude fields, min_latitude and max_latitude are the allowed latitude ranges, and min_longitude and max_longitude are the allowed longitude ranges. The query will return data within the specified longitude and latitude range, thereby removing outliers. In QGIS, you can use the "Select by Expression" function to achieve similar filtering; in ArcGIS, you can use the "Select by Attributes" tool to achieve similar functions.
[0053] After data preprocessing, the geographic location coordinate information is marked on the map to generate a monitoring target location image, including: saving the data file of the geographic location coordinate information as a csv format file, loading the csv format file through QGIS software, and generating a monitoring target location image.
[0054] In the specific implementation, after removing the outliers, the data file of the geographic location coordinate information is saved in csv format, and the operating software used is QGIS as an example. First, load the boundary file (shp file) of the target area in the QGIS software, and in the menu bar of the QGIS main interface, select "Layer"-"Add Layer"-"Add Delimited Text Layer", and load the OBD monitoring data after removing the outliers in the pop-up dialog box. Load all the latitude and longitude information of the oil changes of heavy diesel vehicles in Province A monitored by OBD within the set time period in QGIS to generate a monitoring target location image.
[0055] S103. In the monitoring target location image, each marked geographic location coordinate point is taken as the center, and regions are divided based on a preset range, and the obtained regions are used as buffer zones for each geographic location.
[0056] Specifically, the method comprises: taking the coordinate point of each marked geographical location as the center of the circle and the set value as the radius to draw a circle, and using the generated circular area as the buffer zone of each geographical location; wherein the set value is 20-25m.
[0057] In the specific implementation of this embodiment, since there may be a certain delay in the OBD monitoring results, a 20m*20m circular buffer is established around each monitoring coordinate. The buffer is the possible refueling area of the coordinate vehicle. The method of establishing the buffer is to establish a buffer for each refueling point monitored by OBD, that is, with the monitoring target position as the center, on the basis of removing outliers. The angle of the buffer is selected as 360°, and the radius of the buffer is 20m. The formula for establishing a buffer in QGIS is:
[0058] Buffer(input,distance,segments)
[0059] Among them, input represents the layer or feature collection for buffer analysis, distance represents the distance of the buffer, and segments represents the number of segments in the buffer.
[0060] S104. Merge the edges of all the overlapping and intersecting buffer zones to generate a plurality of fused units.
[0061] Specifically, the method comprises: using the spatial fusion tool of QGIS software, merging the spatial layers of the multiple overlapping and intersecting buffer zones into a single layer, and obtaining multiple fusion units in the target area.
[0062] When this embodiment is implemented, in areas where gas stations are densely located, buffers will overlap and intersect. In order to better determine the location of possible gas stations, on the basis of obtaining the buffers, all overlapping and intersecting buffer edges are fused into one unit. The fusion method is to select the fusion tool in QGIS, and the fusion object is the buffer result established in the above steps. Spatial fusion in QGIS usually refers to merging multiple spatial layers into a single layer, which can be achieved by performing a spatial fusion (Union) operation. In QGIS software, the "Union" tool in "Geoprocessing Tools" can be used to perform spatial fusion; the specific steps are as follows:
[0063] (1) In the menu bar of the QGIS main interface, select "Vector" - "Geoprocessing Tools" - "Union";
[0064] (2) In the pop-up dialog box, select the input layer to be merged;
[0065] (3) Set the location and name of the output file;
[0066] (4) Click the “Run” button and QGIS will perform the spatial fusion operation to merge multiple input layers into a single layer.
[0067] S105. Count the number of fueling points for heavy diesel vehicles in each fusion unit, and take the fusion unit in which the number of fueling points for heavy diesel vehicles is greater than a second set threshold as a target fusion unit.
[0068] When this embodiment is implemented, based on the generation of multiple fusion units in S104, the spatial association technology of QGIS software is used to count the number of heavy diesel truck refueling points in each of the above fusion units, and the fusion units with more than 5 heavy diesel truck refueling points in the fusion units are screened out, and the units are defined as target fusion units where heavy diesel trucks may be refueled in a centralized manner. Among them, the above number of heavy diesel truck refueling points is the number of coordinate points of the geographical location coordinates marked in each fusion unit in the monitoring target position image. The target fusion unit defined in this embodiment is the centralized refueling unit for heavy diesel trucks.
[0069] In this embodiment, the calculation principle of the spatial association technology of QGIS software is to judge and calculate based on the spatial position relationship between geometric objects. In the spatial association analysis, QGIS software will make corresponding spatial relationship judgments on the input geometric objects to determine the spatial association between the geometric objects.
[0070] The spatial association algorithm used by QGIS software is based on computational geometry and spatial indexing technology, and mainly includes the following steps:
[0071] 1. Representation of geometric objects: First, QGIS software will appropriately represent and store the input geometric objects for subsequent spatial association calculations. Common geometric objects include points, lines, and surfaces.
[0072] 2. Spatial relationship judgment: QGIS software uses spatial association functions to judge the spatial relationship between two geometric objects, such as intersection, inclusion, adjacency, etc. These spatial relationship judgments are calculated based on the coordinates and shape features of the geometric objects.
[0073] 3. Spatial index acceleration: In order to improve the efficiency of spatial association calculation, QGIS software usually uses spatial index data structures (such as R-tree, Quadtree, etc.) to accelerate spatial association judgment. Through spatial index, other geometric objects that intersect or are adjacent to the specified geometric object can be quickly located and retrieved.
[0074] 4. Output of spatial association results: Finally, QGIS software will output geometric objects that meet the conditions or perform corresponding spatial association analysis based on the results of spatial relationship judgment.
[0075] S106. Mark the geographical location coordinates of all regular gas stations in the target area on the map to generate a regular gas station location image.
[0076] In this step, consistent with the above-mentioned process of marking the geographic location coordinate information on the map and generating a monitoring target location image, the data file of the geographic location coordinate information of all regular gas stations is saved as a csv format file, and the csv format file is loaded through QGIS software to generate a regular gas station location image.
[0077] S107. Combine and match the regular gas station location image with the target fusion unit. If there is an overlapping part between the regular gas station location image and the target fusion unit, it is determined that there is a regular gas station in the target fusion unit. If not, it is determined that there is a suspected informal gas station in the target fusion unit.
[0078] On the basis of step S106, the longitude and latitude coordinates of all regular gas stations in the target area are simultaneously loaded into the above-mentioned target fusion unit. The layer of the above-mentioned regular gas station location image is the point coordinates of all regular gas stations in the target area. In order to determine whether there is a regular gas station in the above-mentioned target fusion unit, the spatial intersection tool of the QGIS software is used to intersect the regular gas station layer in the target area (that is, the above-mentioned regular gas station location image) with the layer of the above-mentioned target fusion unit. If the intersection result of the two layers is 1, the regular gas station location image and the target fusion unit have overlapping parts, and it is determined that there is a regular gas station in the target fusion unit. If the intersection result of the two layers is 0, the regular gas station location image and the target fusion unit have no overlapping parts, and it is determined that there is a suspected informal gas station in the target fusion unit. This result is used to determine whether there is a regular gas station in the target fusion unit. The method for QGIS software to determine whether two layers intersect is as follows:
[0079] intersects($geometry,geometry(get_feature('layer2','id',1)))
[0080] In the expression, $geometry represents the geometry of the current layer, and get_feature('layer2','id',1) means getting the collection shape of the feature with ID 1 from another layer named 'layer2'. The intersects function is used to determine whether two geometric shapes intersect.
[0081] According to the intersection result in step S107, the concentrated refueling units (i.e., target fusion units) of heavy diesel vehicles with an intersection result of 0 are screened out. These concentrated refueling units may have refueling points, but no regular refueling stations fall into them, so there may be informal refueling stations in these concentrated refueling units. The above method is used to determine the informal refueling stations that may exist in the target area of the study.
[0082] Based on the fuel tank level change data monitored by the OBD of heavy diesel vehicles, the embodiment of the present invention extracts the geographical location of the heavy diesel vehicle when the fuel tank level changes, and clusters the monitoring results. The clustering area is considered to have a refueling point, and the clustering result is matched with the POI location information of a regular gas station. If a POI point of a regular gas station falls within the above clustering area, then the refueling point is a regular gas station; if no POI point of a regular gas station falls within the clustering area, then the refueling point may be an informal gas station. Based on the spatial fusion technology, the embodiment of the present invention defines the possible centralized refueling units through the refueling position of the heavy diesel vehicle, and combines the spatial analysis technology to match the location of the centralized refueling unit with the POI coordinates of the regular gas station, so as to realize the identification and determination of the centralized refueling unit, which serves as an auxiliary tool for screening informal gas stations.
[0083] like Figure 2 As shown, the present application also provides an informal gas station identification device 200, comprising:
[0084] The data acquisition module 201 is used to acquire the geographical location coordinate information when the oil increase of all heavy diesel vehicles in the target area exceeds a first set threshold value within a set time period according to the OBD monitoring data of the heavy diesel vehicles;
[0085] The first image generation module 202 is used to mark the geographical location coordinate information on a map to generate a monitoring target location image;
[0086] The image processing module 203 is used to divide the area based on the preset range with the coordinate point of each marked geographical location as the center in the monitoring target location image, and use the obtained area as the buffer zone of each geographical location;
[0087] The image processing module 203 is further used to fuse the edges of all the overlapping and intersecting buffers to generate a plurality of fusion units;
[0088] The image processing module 203 is also used to count the number of fueling points for heavy diesel trucks in each fusion unit, and take the fusion unit whose number of fueling points for heavy diesel trucks is greater than a second set threshold as a target fusion unit;
[0089] The second image generation module 204 is used to mark the geographical location coordinates of all regular gas stations in the target area on the map to generate a regular gas station location image;
[0090] The identification module 205 is used to combine and match the regular gas station location image with the target fusion unit. If the regular gas station location image and the target fusion unit have overlapping parts, it is determined that there is a regular gas station in the target fusion unit. If not, it is determined that there is a suspected informal gas station in the target fusion unit.
[0091] In a specific implementation, the first image generation module 202 is also used to pre-process the geographic location coordinate information before marking the geographic location coordinate information on the map, and the pre-processing includes removing abnormal values. After pre-processing, the first image generation module 201 saves the data file of the geographic location coordinate information as a csv format file, loads the csv format file through QGIS software, and generates a monitoring target location image.
[0092] During specific implementation, the image processing module 203 uses the coordinate point of each marked geographic location as the center of the circle and the set value as the radius to make a circle, and uses the generated circular area as the buffer zone of each geographic location; wherein the set value is 20-25m. Then, through the spatial fusion tool of the QGIS software, the spatial layers of multiple overlapping and intersecting buffer zones are merged into a single layer to obtain multiple fusion units. Next, through the spatial association tool of the QGIS software, the number of heavy diesel truck refueling points in each fusion unit is counted, and the fusion unit whose number of heavy diesel truck refueling points is greater than the second set threshold is used as the target fusion unit.
[0093] In specific implementation, the identification module 205 intersects the layer of the regular gas station location image with the layer of the target fusion unit through the spatial intersection tool of the QGIS software. If the intersection result of the two layers is 1, the regular gas station location image and the target fusion unit have an overlapping part, and it is determined that there is a regular gas station in the target fusion unit. If the intersection result of the two layers is 0, the regular gas station location image and the target fusion unit have no overlapping part, and it is determined that there is a suspected informal gas station in the target fusion unit.
[0094] In one embodiment, a computer device is provided, such as Figure 3 As shown, it includes a memory 301, a processor 302, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, any of the above-mentioned methods for identifying informal gas stations is implemented.
[0095] Specifically, the computer device may be a computer terminal, a server or a similar computing device.
[0096] In this embodiment, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program for executing any of the above-mentioned informal gas station identification methods.
[0097] Specifically, computer-readable storage media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable storage media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0098] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present invention are not limited to any specific combination of hardware and software.
[0099] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for identifying informal gas stations. It is characterized in that include: According to the OBD monitoring data of the heavy diesel vehicle, the geographical location coordinate information when the oil increase of all the heavy diesel vehicles in the target area exceeds the first set threshold value within the set time period is obtained; Marking the geographic location coordinate information on a map to generate a monitoring target location image; In the monitoring target location image, each marked geographic location coordinate point is taken as the center, and the area is divided based on a preset range, and the obtained area is used as a buffer zone for each geographic location; Merging the edges of all the overlapping and intersecting buffer zones to generate a plurality of fused units; Counting the number of fueling points for heavy diesel vehicles in each fusion unit, and taking the fusion unit in which the number of fueling points for heavy diesel vehicles is greater than a second set threshold as a target fusion unit; Marking the geographical coordinates of all regular gas stations in the target area on a map to generate a regular gas station location image; The regular gas station location image is combined and matched with the target fusion unit. If the regular gas station location image and the target fusion unit have overlapping parts, it is determined that there is a regular gas station in the target fusion unit. If not, it is determined that there is a suspected irregular gas station in the target fusion unit. The geographical location coordinate information is marked on a map to generate a monitoring target location image, including: The data file of the geographic location coordinate information is saved as a csv format file, and the csv format file is loaded through QGIS software to generate a monitoring target location image; The edges of all the overlapping and intersecting buffers are merged to generate multiple fusion units, including: By using the spatial fusion tool of QGIS software, the spatial layers of the multiple overlapping and intersecting buffer zones are merged into a single layer to obtain multiple fusion units; Count the number of fueling points for heavy diesel vehicles in each of the fusion units, including: The number of fueling points for heavy diesel vehicles in each fusion unit was counted by using the spatial association tool of QGIS software; Combining and matching the regular gas station location image with the target fusion unit includes: The spatial intersection tool of QGIS software is used to intersect the layer of the regular gas station location image with the layer of the target fusion unit. If the intersection result of the two layers is 1, the regular gas station location image and the target fusion unit have overlapping parts, and it is determined that there is a regular gas station in the target fusion unit. If the intersection result of the two layers is 0, the regular gas station location image and the target fusion unit have no overlapping parts, and it is determined that there is a suspected informal gas station in the target fusion unit.
2. The method for identifying an informal gas station according to claim 1, It is characterized in that Before marking the geographic location coordinate information on the map, the method further includes: The geographic location coordinate information is preprocessed, and the preprocessing includes removing abnormal values.
3. The method for identifying an informal gas station according to claim 1, It is characterized in that In the monitoring target location image, each marked geographic location coordinate point is taken as the center, and the area is divided based on a preset range, and the obtained area is used as a buffer zone for each geographic location, including: A circle is drawn with the coordinate point of each marked geographical location as the center and the set value as the radius, and the generated circular area is used as the buffer zone of each geographical location; wherein the set value is 20-25m.
4. An informal gas station identification device, using the informal gas station identification method according to any one of claims 1 to 3, It is characterized in that include: A data acquisition module is used to obtain the geographical location coordinate information when the oil increase of all heavy diesel vehicles in the target area exceeds a first set threshold value within a set time period according to the OBD monitoring data of the heavy diesel vehicles; A first image generation module, used to mark the geographic location coordinate information on a map to generate a monitoring target location image; An image processing module, for dividing the area based on a preset range with the coordinate point of each marked geographical location as the center in the monitoring target location image, and using the obtained area as a buffer zone for each geographical location; The image processing module is also used to fuse the edges of all the overlapping and intersecting buffer areas to generate a plurality of fusion units; The image processing module is also used to count the number of fueling points for heavy diesel trucks in each fusion unit, and take the fusion unit whose number of fueling points for heavy diesel trucks is greater than a second set threshold as a target fusion unit; A second image generation module is used to mark the geographical location coordinates of all regular gas stations in the target area on a map to generate a regular gas station location image; The identification module is used to combine and match the regular gas station location image with the target fusion unit. If the regular gas station location image and the target fusion unit have overlapping parts, it is determined that there is a regular gas station in the target fusion unit. If not, it is determined that there is a suspected informal gas station in the target fusion unit.
5. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method for identifying an informal gas station according to any one of claims 1 to 3 is implemented.
6. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program for executing the method for identifying an informal gas station according to any one of claims 1 to 3.
Citation Information
Patent Citations
Inferior fuelling station position judgment method and device, computer equipment and storage medium
CN113704639A
Method, device and equipment for identifying illegal gas station, and storage medium
CN113821735A
Method and device for analyzing illegal refueling point and readable storage medium
CN114596459A
Method and device for detecting a refueling location
DE102022109326A1
Method and system for indicating the quality of the fuel supplied by a filling station
WO2016091523A1
