Vehicle residence detection method, device, electronic device and storage medium

By installing a positioning device on hazardous chemical vehicles, combining identity information and space-time screening conditions for resident detection, identifying the actual resident position of the vehicle and outputting an abnormal warning, the problem of low detection efficiency and inability to achieve long-term continuous supervision in the prior art is solved, and efficient and reliable abnormal residence detection is achieved.

CN113946646BActive Publication Date: 2025-04-18JINGDONG CITY BEIJING DIGITS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111288082.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-02
Publication Date
2025-04-18
Estimated Expiration
2041-11-02

AI Technical Summary

Technical Problem

The prior art is less efficient in detecting abnormal residence of hazardous chemical vehicles, and cannot achieve long-term continuous supervision and comprehensive coverage.

Method used

By installing a positioning device on the vehicle, collecting and uploading location information, and performing resident detection in combination with identity information. Use spatiotemporal filtering conditions and clustering operations to identify the actual residency position of the vehicle, and compare it with the legal residency position to output abnormal reside warning information.

Benefits of technology

It improves the efficiency and reliability of abnormal residence detection of hazardous chemical vehicles, achieves long-term continuous detection of vehicles and comprehensive coverage of supervision areas, and reduces the probability of missed inspection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113946646B_ABST
    Figure CN113946646B_ABST
Patent Text Reader

Abstract

The present disclosure provides a vehicle residence detection method, device, electronic device and storage medium, which relate to the field of vehicle dynamic analysis technology. Among them, the vehicle residence detection method includes: receiving identity information sent by the vehicle, collecting location information reported by the same vehicle based on the identity information, and obtaining a location information set; performing a residence detection operation on the location information set based on time and space screening conditions to obtain residence location information; performing a clustering operation on the residence location information to generate the actual residence location of the vehicle; when a vehicle residence abnormality is detected based on the actual residence location and the legal residence location, outputting abnormal residence warning information. Through the technical solution of the present disclosure, it is possible to achieve long-term continuous detection of hazardous chemical vehicles and comprehensive coverage of supervision of vehicle passage areas, thereby improving the reliability and detection efficiency of abnormal vehicle residence detection results, and further reducing the probability of missed detection of hazardous chemical vehicles.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Dangerous chemical transport vehicles, namely hazardous chemical vehicles, have become the focus and difficulty of road traffic safety management due to the particularity of the materials they transport. If these vehicles stay in non-specified areas for a long time, there will be greater hidden risks, and once an accident occurs, it will cause serious consequences. Therefore, it is necessary to detect the abnormal stay of hazardous chemical vehicles during the transportation of hazardous chemicals.

[0003] At present, the detection methods for abnormal residence of hazardous chemical vehicles include manual on-site inspection and video inspection.

[0004] Although manual on-site inspections can detect abnormally stationed hazardous chemical vehicles, the manual workload is large and continuous supervision cannot be carried out for a long time, resulting in a certain probability of missed detection.

[0005] For the video patrol method, it is necessary to manually review the surveillance video. On the one hand, it is impossible to achieve comprehensive coverage of the supervision area. On the other hand, since it also requires human participation, it leads to a large manual workload.

[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0007] The purpose of the present disclosure is to provide a vehicle residence detection method, device, electronic device and computer-readable storage medium, which can at least to some extent improve the problem of low efficiency in abnormal residence detection of hazardous chemicals vehicles in the related art.

[0008] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0009] According to one aspect of the present disclosure, a vehicle residence detection method is provided, comprising: receiving identity information sent by a vehicle, collecting location information reported by the same vehicle based on the identity information, and obtaining a location information set; performing a residence detection operation on the location information set based on a spatiotemporal screening condition to obtain residence location information; performing a clustering operation on the residence location information to generate an actual residence location of the vehicle; and outputting abnormal residence warning information when an abnormal residence of the vehicle is detected based on the actual residence location and a legal residence location.

[0010] In one embodiment, the identity information includes a device identifier of a positioning device used to collect the location information, and the identity information sent by the receiving vehicle is collected based on the identity information to obtain a location information set, specifically including: determining a vehicle identifier bound to the device identifier based on a preset binding relationship, the vehicle identifier being used to identify the vehicle; receiving the location information reported by the vehicle and the collection time corresponding to the location information; and generating the location information set of the same vehicle based on the vehicle identifier when it is detected that the collection time of the location information reaches a preset time.

[0011] In one embodiment, the spatiotemporal filtering conditions include a first duration threshold, a second duration threshold and a preset size area, the first duration threshold is less than the second duration threshold, and the spatiotemporal filtering conditions are based on which a residence detection operation is performed on the location information set to obtain residence location information, specifically including: in any time period greater than or equal to the first duration threshold and less than or equal to the second duration threshold, detecting that multiple time-continuous location information in the location information set within the time period is distributed in the preset size area, and determining the multiple time-continuous location information as the residence location information.

[0012] In one embodiment, the clustering operation is performed on the residence position information to generate the actual residence position of the vehicle, specifically comprising: for each of the preset size areas, determining the center point in the residence position information or the number of residence positions within the preset size area; determining the center point as the cluster center, and performing a clustering operation based on the cluster center or the number of residence positions to generate the actual residence position of the vehicle.

[0013] In one embodiment, when the vehicle is detected to be abnormally parked based on the actual parking position and the legal parking position, outputting abnormal parking warning information specifically includes: obtaining the legal parking position; deleting the legal parking position from the actual parking position, and determining the remaining actual parking position as the abnormal parking position; and outputting the abnormal parking warning information based on the abnormal parking position.

[0014] In one embodiment, obtaining the legal residence location specifically includes: obtaining the electronic waybill of the vehicle, extracting the consignment location information and the consignment location information in the electronic waybill, and determining the consignment location information and the consignment location information as the first legal residence location; determining the general location information where the vehicle is allowed to stay, and determining the general location information as the second legal residence location; generating the legal residence location based on the first legal residence location and the second legal residence location.

[0015] In one embodiment, the outputting of the abnormal residence warning information based on the abnormal residence position specifically includes: counting the number of the abnormal residence positions; when it is detected that the number of abnormal residence positions is greater than or equal to a quantity threshold, generating the abnormal residence warning information, wherein the abnormal residence warning information includes the vehicle identification of the vehicle, the ownership information of the vehicle, the time information when the vehicle resides at the abnormal residence position, and the latitude and longitude information of the abnormal residence position.

[0016] According to another aspect of the present disclosure, a vehicle residence detection device is provided, including: a receiving module, used to receive identity information sent by a vehicle, and collect location information reported by the same vehicle based on the identity information to obtain a location information set; a residence detection module, used to perform a residence detection operation on the location information set based on a time-space screening condition to obtain residence location information; a clustering module, used to perform a clustering operation on the residence location information to generate an actual residence location of the vehicle; and a generating module, used to output abnormal residence warning information when an abnormal residence of the vehicle is detected based on the actual residence location and a legal residence location.

[0017] According to another aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the vehicle residence detection method described in another aspect above by executing the executable instructions.

[0018] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any one of the above-mentioned vehicle residence detection methods is implemented.

[0019] The vehicle residence detection solution provided by the embodiments of the present disclosure, by carrying the identity information of the vehicle when the vehicle reports the location information, realizes the tracking of the location information of the same vehicle based on the identification of the identity information, thereby collecting multiple location information as a location information set, and identifying the residence location information based on the residence detection operation on the location information set, so as to further realize the effective detection of abnormal residence of hazardous chemical vehicles by clustering and anomaly detection operations on the residence location information.

[0020] By setting up a positioning device, the involvement of manual supervision can be greatly reduced, so as to achieve long-term continuous detection of hazardous chemical vehicles and comprehensive coverage of supervision of vehicle passage areas, thereby improving the reliability and detection efficiency of abnormal vehicle residence detection results, and further reducing the probability of missed detection of hazardous chemical vehicles.

[0021] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0023] Figure 1 A schematic diagram showing the structure of a vehicle residence detection system in an embodiment of the present disclosure;

[0024] Figure 2 A flow chart of a vehicle stationary detection method according to an embodiment of the present disclosure is shown;

[0025] Figure 3 A flow chart showing another vehicle stationary detection method in an embodiment of the present disclosure;

[0026] Figure 4 A flow chart showing another vehicle stationary detection method in an embodiment of the present disclosure is shown;

[0027] Figure 5 A flow chart showing another vehicle stationary detection method in an embodiment of the present disclosure is shown;

[0028] Figure 6 A flow chart showing another vehicle stationary detection method in an embodiment of the present disclosure is shown;

[0029] Figure 7 A flow chart showing another vehicle stationary detection method in an embodiment of the present disclosure is shown;

[0030] Figure 8 A flow chart showing another vehicle stationary detection method in an embodiment of the present disclosure is shown;

[0031] Fig. 9 A flow chart showing another vehicle stationary detection method in an embodiment of the present disclosure is shown;

[0032] Fig.10 A schematic diagram showing a vehicle parking detection device according to an embodiment of the present disclosure is shown;

[0033] Fig.11 A schematic diagram of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0034] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0035] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0036] The solution provided in this application can greatly reduce the involvement of manual supervision to achieve long-term continuous detection of hazardous chemical vehicles and comprehensive coverage of supervision of vehicle passage areas, thereby improving the reliability and detection efficiency of vehicle abnormal residence detection results, and further reducing the probability of missed detection of hazardous chemical vehicles.

[0037] For ease of understanding, the nouns (abbreviations) involved in this application are first explained below.

[0038] Hazardous chemicals vehicles: vehicles used to transport hazardous chemicals.

[0039] Figure 1 A schematic structural diagram of a vehicle residence detection system in an embodiment of the present disclosure is shown, which includes multiple terminals 120 and a server cluster 140 .

[0040] The terminal 120 may be a mobile terminal such as a mobile phone, a game console, a tablet computer, an e-book reader, smart glasses, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a smart home device, an AR (Augmented Reality) device, a VR (Virtual Reality) device, or the terminal 120 may also be a personal computer (PC), such as a laptop computer and a desktop computer.

[0041] The terminal 120 may be installed with an application for providing vehicle residence detection.

[0042] The terminal 120 is connected to the server cluster 140 via a communication network. Optionally, the communication network is a wired network or a wireless network.

[0043] The server cluster 140 is a server, or is composed of several servers, or is a virtualization platform, or is a cloud computing service center. The server cluster 140 is used to provide background services for applications that provide vehicle residence detection. Optionally, the server cluster 140 undertakes the main computing work, and the terminal 120 undertakes the secondary computing work; or, the server cluster 140 undertakes the secondary computing work, and the terminal 120 undertakes the main computing work; or, the terminal 120 and the server cluster 140 adopt a distributed computing architecture for collaborative computing.

[0044] In some optional embodiments, the server cluster 140 is used to store vehicle presence detection models, etc.

[0045] Optionally, the client of the application installed in different terminals 120 is the same, or the client of the application installed on the two terminals 120 is the client of the same type of application of different control system platforms. Based on the different terminal platforms, the specific form of the client of the application may also be different, for example, the application client may be a mobile client, a PC client or a World Wide Web (Web) client.

[0046] Those skilled in the art will appreciate that the number of the terminals 120 may be more or less. For example, there may be only one terminal, or there may be dozens or hundreds of terminals, or a greater number. The embodiment of the present application does not limit the number and device type of the terminals.

[0047] Optionally, the system may also include a management device ( Figure 1 (not shown), the management device is connected to the server cluster 140 via a communication network. Optionally, the communication network is a wired network or a wireless network.

[0048] Optionally, the above-mentioned wireless network or wired network uses standard communication technology and / or protocol. The network is usually the Internet, but it can also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a dedicated network or any combination of a virtual private network). In some embodiments, the data exchanged through the network is represented by technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above-mentioned data communication technologies.

[0049] Below, each step of the vehicle stationary detection method in this example implementation will be described in more detail with reference to the accompanying drawings and embodiments.

[0050] Figure 2 The method provided by the embodiment of the present disclosure can be executed by any electronic device with computing and processing capabilities, such as Figure 1 The terminal 120 and / or the server cluster 140 in the embodiment. In the following examples, the terminal 120 is used as the execution subject for example description.

[0051] like Figure 2 As shown, the server cluster 140 executes the vehicle residence detection method, including the following steps:

[0052] Step S202: receiving identity information sent by a vehicle, and collecting location information reported by the same vehicle based on the identity information to obtain a location information set.

[0053] Specifically, the vehicle may be a hazardous chemical vehicle. A positioning device is installed on the hazardous chemical vehicle. The positioning device is used to collect the location information of the vehicle and upload it to a corresponding server so that the server can detect abnormal residence of the hazardous chemical vehicle based on the location information of the vehicle.

[0054] The positioning device may be any one of the Global Positioning System (GPS), the Beidou satellite navigation system, the Galileo satellite navigation system and the Global Navigation Satellite System.

[0055] Specifically, the identity information may be the identity information of the vehicle, such as the vehicle license plate number or the vehicle model identification code, or may be the device identification of the positioning device installed on the vehicle, such as the device number of the positioning device.

[0056] Step S204: performing a residence detection operation on the location information set based on the spatiotemporal screening conditions to obtain residence location information.

[0057] Among them, the spatiotemporal filtering conditions include time filtering conditions and / or space filtering conditions. When the time filtering conditions are in the default state, filtering can be performed only based on the space filtering conditions. When the space filtering conditions are in the default state, filtering can be performed only based on the time filtering conditions.

[0058] Preferably, the filtering is performed based on both the time filtering condition and the space filtering condition, so that the location information that meets the time and space filtering conditions is used as the resident location information.

[0059] Step S206: performing a clustering operation on the parking position information to generate the actual parking position of the vehicle.

[0060] The clustering operation is performed on the residence position information to take the smallest area including the residence GPS of the same category as the actual residence position.

[0061] Step S208: when abnormal parking of the vehicle is detected based on the actual parking position and the legal parking position, abnormal parking warning information is output.

[0062] The legal parking location can be understood as a non-road area where the vehicle is allowed to stay.

[0063] The monitoring end may include the national road or vehicle regulatory department, or it may be the corporate regulatory department to which the vehicle belongs.

[0064] In this embodiment, by carrying the identity information of the vehicle when the vehicle reports the location information, the location information of the same vehicle is tracked based on the identification of the identity information, so that multiple location information is collected as a location information set, and the resident location information is identified based on the resident detection operation on the location information set, so as to further achieve effective detection of abnormal residence of hazardous chemical vehicles by clustering and anomaly detection operations on the resident location information.

[0065] By setting up a positioning device, the involvement of manual supervision can be greatly reduced, so as to achieve long-term continuous detection of hazardous chemical vehicles and comprehensive coverage of supervision of vehicle passage areas, thereby improving the reliability and detection efficiency of abnormal vehicle residence detection results, and further reducing the probability of missed detection of hazardous chemical vehicles.

[0066] like Figure 3 As shown, in one embodiment, the identity information includes a device identification of a positioning device for collecting location information. In step S202, a specific implementation method of receiving the identity information sent by a vehicle and collecting location information reported by the same vehicle based on the identity information to obtain a location information set includes:

[0067] Step S302, determining a vehicle identification bound to the device identification based on a preset binding relationship, where the vehicle identification is used to identify the vehicle.

[0068] Among them, as an easy-to-implement receiving method, the vehicle's positioning device reports its own device identification and location information to the server. When the server receives the device identification and location information, it queries the pre-stored vehicle identification bound to the device identification based on the device identification. The vehicle identification can specifically be a license plate number, so as to realize the tracking of the location information of the same vehicle.

[0069] Step S304, receiving the location information reported by the vehicle and the collection time corresponding to the location information.

[0070] By simultaneously receiving the location information and the collection time, the corresponding continuous location information can be obtained within a continuous period of time, and then whether there is abnormal residence is detected based on the continuous location information.

[0071] Step S306, when it is detected that the collection time of the position information reaches a preset time, a set of position information of the same vehicle is generated based on the vehicle identification.

[0072] Among them, the preset duration can be determined based on the vehicle's dispatch frequency, dispatch duration and driving route length. For example, if the vehicle dispatch frequency is high, the preset duration can be set to a larger value.

[0073] Optionally, the preset duration may be 7 days, or 30 days.

[0074] In this embodiment, a location information set is generated by collecting location information within a preset time period, and the location information set includes location information and corresponding collection time, so that the resident location information can be further filtered out from the location information set using time-space filtering conditions.

[0075] In one embodiment, the spatiotemporal screening condition includes a first duration threshold, a second duration threshold, and a preset size area, and the first duration threshold is smaller than the second duration threshold.

[0076] Among them, the first time threshold is used to indicate the maximum stop time of a vehicle during normal driving, such as waiting for a red light at an intersection, and the second time threshold is used to indicate the minimum stop time for a short stop or a long stop during normal driving, such as rest at night.

[0077] The preset size area is preferably an area of ​​regular shape such as a circle, a rectangle or a square.

[0078] like Figure 4 As shown, in step S204, a specific implementation method of performing a resident detection operation on the location information set based on the spatiotemporal screening condition to obtain the resident location information includes:

[0079] Step S402: In any time period greater than or equal to the first time threshold and less than or equal to the second time threshold, it is detected that multiple location information in the location information set within the time period are distributed in a preset size area, and the multiple location information are determined as a group of resident location information.

[0080] Step S404: generating multiple sets of residence location information based on multiple time periods.

[0081] In this embodiment, in any time period, if it is detected that multiple position information in the position information set within the time period are distributed in a preset size area, indicating that the vehicle is parked, the time period less than the first time threshold and the time period greater than the second time threshold are excluded to exclude the scenarios of short-term parking and overnight parking during driving, so as to retain the actual parking location where abnormal parking may exist, thereby ensuring the reliability of abnormal parking detection.

[0082] like Figure 5 As shown, in one embodiment, step S206, a specific implementation method of performing a clustering operation on the parking position information to generate the actual parking position of the vehicle includes:

[0083] Step S502: for each area of ​​a preset size, determine the number of center points or resident positions in the resident position information within the area of ​​the preset size.

[0084] The dwelling position is the dwelling point.

[0085] Step S504: determine the center point as the cluster center, and perform a clustering operation based on the number of cluster centers or stationary positions to generate the actual stationary position of the vehicle.

[0086] In this embodiment, the number of clusters, that is, the number of stationary points or cluster centers, is specified in advance, and repeated iterations are performed until the goal of "points within a cluster are close enough, and points between clusters are far enough" is finally achieved as the actual stationary position of the vehicle.

[0087] Among them, the classic partitioning clustering methods include k-means and its variants k-means++, bi-kmeans, kernelk-means, etc.

[0088] like Figure 6 As shown, in one embodiment, step S208, when abnormal parking of the vehicle is detected based on the actual parking position and the legal parking position, a specific implementation method of outputting abnormal parking warning information includes:

[0089] Step S602, obtaining a legal residence location.

[0090] Step S604: Delete the legal resident locations from the actual resident locations, and determine the remaining actual resident locations as abnormal resident locations.

[0091] Step S606: output abnormal residence warning information based on the abnormal residence position, and feed it back to the monitoring end to output the abnormal residence warning information.

[0092] In this embodiment, by deleting the legal residence positions in the actual residence positions, the remaining ones are abnormal residence positions, and abnormal residence warning information is generated based on the abnormal residence positions. The abnormal residence warning information can be generated based on the number of abnormal residence positions, the frequency of occurrence of the same abnormal residence position, and at least one of the durations corresponding to the abnormal residence positions, and reported to the monitoring end to realize an intelligent detection process.

[0093] like Figure 7 As shown, in one embodiment, step S602, a specific implementation method of obtaining a legal residence location includes:

[0094] Step S702, obtaining the electronic waybill of the vehicle, extracting the consignment place information and the consignment place information in the electronic waybill, and determining the consignment place information and the consignment place information as the first legal residence location.

[0095] Step S704: determine the general location information where the vehicle is allowed to stay, and determine the general location information as the second legal stay location.

[0096] The general location information where vehicles are allowed to stay includes, but is not limited to, hazardous chemical enterprises, service areas, catering units, chemical parks, maintenance stations, parking lots, toll stations, hazardous chemical waste producing enterprises, ports and certain areas around them.

[0097] Step S706: Generate a legal residence location based on the first legal residence location and the second legal residence location.

[0098] like Figure 8As shown, in one embodiment, step S606, a specific implementation method of outputting abnormal residence warning information based on the abnormal residence position includes:

[0099] Step S802, counting the number of abnormal residence locations.

[0100] Step S804: when it is detected that the number of abnormal residence positions is greater than or equal to the number threshold, abnormal residence warning information is generated.

[0101] Among them, the abnormal residence warning information includes the vehicle identification of the vehicle, the vehicle's ownership information, the time information when the vehicle resides at the abnormal residence location, and the latitude and longitude information of the abnormal residence location.

[0102] In this embodiment, the vehicle residence detection is performed by using the location information generated when the vehicle transports hazardous chemicals within a preset time period as source data. If the time and location distribution of the GPS data meets specific conditions, it is considered that the vehicle is stationed in the area, and the location information in the station area is aggregated into the actual station position to obtain all the actual station positions of the vehicle. Then, based on the existing legal station positions, the station positions located in the legal station area, i.e., the station points, are detected, and these legal station positions are removed from the vehicle station position set to obtain abnormal station positions. The total number of abnormal station positions of the vehicle is counted. If the total number exceeds the specified threshold, it is considered that the vehicle is abnormally stationed. By setting a quantity threshold, a direct warning is prevented when the driver unintentionally stays in an abnormal station position or the vehicle stays in an abnormal station position due to a malfunction.

[0103] The vehicle residence detection solution can be specifically divided into four modules, namely the data collection and upload module installed on the hazardous chemicals transport vehicle, the spatiotemporal data receiving and storage module on the server, the abnormal residence detection module on the server, and the early warning information generation and sending module on the server.

[0104] like Fig. 9 As shown, a vehicle residence detection method according to an embodiment of the present disclosure includes:

[0105] Step S902: The vehicle positioning device collects and uploads location information.

[0106] Among them, the data collection and upload module is specifically a positioning device. When the vehicle is transporting hazardous chemicals, the positioning device is in the turned-on state. The communication module will transmit the vehicle's GPS data, equipment number, data collection time and other information in real time through the 2G / 3G / 4G network to the GPS spatiotemporal database in the spatiotemporal data receiving and storage module.

[0107] Step S904, storing the GPS information in a spatiotemporal database.

[0108] Specifically, the spatiotemporal data receiving and storing module receives the uploaded GPS data, processes the data, and then saves it to the database.

[0109] Step S906, obtaining vehicle location information within the past 30 days from the spatiotemporal database.

[0110] The abnormal residence position detection module includes an abnormal residence detection model established based on vehicle position information, and performs abnormal residence detection based on the model.

[0111] Specifically, a list of license plate numbers is obtained from the hazardous chemicals vehicle data, and for each vehicle, the location information of the vehicle when transporting hazardous chemicals in the past 30 days is obtained from the spatiotemporal database.

[0112] Step S908: Perform vehicle residence detection based on the vehicle position information to obtain residence position information.

[0113] For each vehicle, the location information of the vehicle is subjected to residence detection, and the location information that meets the conditions is clustered to obtain the actual residence location.

[0114] Specifically, if the continuous position information of the vehicle in any time period t is distributed in a circular area with a radius of r, that is, within a preset size area, and satisfies: t min ≤t≤t max , r≤r max .

[0115] Among them, t min and t max are the first time threshold and the second time threshold, r max is the radius threshold corresponding to the preset size area, then the vehicle is considered to be stationed in the area, and this period of time is the station period. min or t>t max , it is considered that there is no parking, so that the situation that the vehicle stops briefly at the intersection or stays for a long time at night can be excluded.

[0116] Step S910: clustering the residence position information to obtain the actual residence position.

[0117] Specifically, after all the parking areas of the vehicle are detected, the parking position information in these areas is clustered to narrow the range of the parking area to form the actual parking position.

[0118] Step S912, obtaining all actual parking locations of the vehicle.

[0119] Specifically, through clustering operation, all the actual parking locations of the vehicle in the past 30 days are obtained and recorded as sp = {sp1, sp2, ..., sp i...,sp n}, where sp i represents the i-th actual parking position of the vehicle, and n represents the total number of actual parking positions.

[0120] Step S914, obtaining the legal parking location of the vehicle.

[0121] Specifically, for each vehicle, the legal parking location of the vehicle is obtained.

[0122] Since hazardous chemicals vehicles will fill out an electronic waybill before transporting hazardous chemicals every time, the consignor and consignee in the electronic waybill, that is, the consignment location information and the consignment location information, are extracted as the first legal residence area.

[0123] In addition, other hazardous chemical enterprises, service areas, catering units, chemical parks, maintenance stations, parking lots, toll stations, hazardous chemical waste-producing enterprises, ports and designated areas around the above-mentioned areas are all regarded as the second legal stay area.

[0124] All actual residence position sets sp obtained in step S912 are traversed, and the residence positions in the set that fall within the legal residence area are marked as legal residence positions.

[0125] Step S916: Eliminate the legal residence positions from all actual residence positions to obtain abnormal residence positions.

[0126] Specifically, the legal parking positions in the actual parking position set of each vehicle are removed, that is, the legal parking positions obtained in step S914 are removed from the actual parking position set sp, and the remaining abnormal parking positions are saved.

[0127] Step S918, counting the number of abnormal residence locations.

[0128] For each vehicle, count the number of abnormal parking locations for the vehicle in the past 30 days.

[0129] Step S920: It is detected that the number of abnormal residence locations exceeds a specified threshold.

[0130] Specifically, if the number of abnormal stay positions exceeds a specified threshold, ie, a quantity threshold, it is considered that the vehicle has been abnormally stayed in the past 30 days, and the vehicle information and the judgment result are output.

[0131] Step S922, generating vehicle abnormal stay warning information.

[0132] Specifically, the vehicle abnormal residence warning information generation and sending module generates warning information according to the results returned by the model and sends it to the monitoring end.

[0133] Among them, the warning information includes the license plate number, the company to which the vehicle belongs, the start time and end time of the stay, the longitude and latitude of the stay location, and the vehicle waybill information.

[0134] It should be noted that the above figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0135] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".

[0136] Refer to the following Fig.10 The vehicle residence detection device 1000 according to this embodiment of the present invention will be described. Fig.10 The vehicle stationary detection device 1000 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0137] The vehicle residence detection device 1000 is in the form of a hardware module. The components of the vehicle residence detection device 1000 may include but are not limited to: a receiving module 1002, which is used to receive the identity information sent by the vehicle, collect the location information reported by the same vehicle based on the identity information, and obtain a location information set; a residence detection module 1004, which is used to perform a residence detection operation on the location information set based on the time and space screening conditions to obtain the residence location information; a clustering module 1006, which is used to perform a clustering operation on the residence location information to generate the actual residence location of the vehicle; a generation module 1008, which is used to output abnormal residence warning information when a vehicle residence abnormality is detected based on the actual residence location and the legal residence location.

[0138] In one embodiment, the identity information includes a device identifier of a positioning device used to collect location information, and the receiving module 1002 is also used to: determine a vehicle identifier bound to the device identifier based on a preset binding relationship, the vehicle identifier being used to identify the vehicle; receive a collection time reported by the vehicle and corresponding to the location information; and generate a set of location information of the same vehicle based on the vehicle identifier when it is detected that the collection time of the location information reaches a preset time.

[0139] In one embodiment, the spatiotemporal screening conditions include a first duration threshold, a second duration threshold and a preset size area, the first duration threshold is less than the second duration threshold, and the resident detection module 1004 is also used to: in any time period greater than or equal to the first duration threshold and less than or equal to the second duration threshold, detect that multiple location information in the location information set within the time period is distributed in a preset size area, and determine the multiple location information as resident location information.

[0140] In one embodiment, the clustering module 1006 is also used to: for each preset size area, determine the center point or the number of residence positions in the residence position information within the preset size area; determine the center point as the cluster center, and perform clustering operations based on the cluster center or the number of residence positions to generate the actual residence position of the vehicle.

[0141] In one embodiment, the generation module 1008 also includes: an acquisition submodule 10082, which is used to obtain a legal residence position; a deletion submodule 10084, which is used to delete the legal residence position from the actual residence position and determine the remaining actual residence position as an abnormal residence position; and a generation submodule 10086, which is used to output abnormal residence warning information based on the abnormal residence position.

[0142] In one embodiment, the acquisition submodule 10082 is also used to: obtain the electronic waybill of the vehicle, extract the consignment location information and the consignment location information in the electronic waybill, and determine the consignment location information and the consignment location information as the first legal residence location; determine the general location information where the vehicle is allowed to stay, and determine the general location information as the second legal residence location; generate a legal residence location based on the first legal residence location and the second legal residence location.

[0143] In one embodiment, the generation submodule 10086 is also used to: count the number of abnormal residence positions; when it is detected that the number of abnormal residence positions is greater than or equal to a quantity threshold, generate abnormal residence warning information, wherein the abnormal residence warning information includes the vehicle identification of the vehicle, the vehicle's ownership information, the time information when the vehicle is stationed at the abnormal residence position, and the latitude and longitude information of the abnormal residence position.

[0144] Refer to the following Fig.11 The electronic device 1100 according to this embodiment of the present invention is described. Fig.11 The electronic device 1100 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0145] like Fig.11As shown, the electronic device 1100 is in the form of a general computing device. The components of the electronic device 1100 may include but are not limited to: at least one processing unit 1110, at least one storage unit 1120, and a bus 1130 connecting different system components (including the storage unit 1120 and the processing unit 1110).

[0146] The storage unit stores program codes, which can be executed by the processing unit 1110, so that the processing unit 1110 executes the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 1110 can execute the following steps: Figure 2 Steps S202, S204, S206 and S208 shown in, and other steps defined in the vehicle residence detection method of the present disclosure.

[0147] The storage unit 1120 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 11201 and / or a cache storage unit 11202 , and may further include a read-only storage unit (ROM) 11203 .

[0148] The storage unit 1120 may also include a program / utility 11204 having a set (at least one) of program modules 11205, such program modules 11205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0149] Bus 1130 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0150] The electronic device 1100 may also communicate with one or more external devices 1160 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device, and / or may communicate with any device that enables the electronic device 1100 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1150. Furthermore, the electronic device 1100 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1150. As shown, the network adapter 1150 communicates with other modules of the electronic device 1100 via a bus 1130. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0151] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0152] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0153] The program product for implementing the above method according to an embodiment of the present invention may adopt a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.

[0154] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0155] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0156] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0157] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0158] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0159] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0160] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

Claims

1. A vehicle residence detection method, characterized in that: include: Receiving identity information sent by a vehicle, and collecting location information reported by the same vehicle based on the identity information to obtain a location information set; Performing a residence detection operation on the location information set based on a spatiotemporal screening condition to obtain the residence location information, wherein the spatiotemporal screening condition includes a first duration threshold, a second duration threshold, and a preset size area, and in any time period greater than or equal to the first duration threshold and less than or equal to the second duration threshold, detecting that a plurality of time-continuous location information in the location information set within the time period is distributed in the preset size area, and determining the plurality of time-continuous location information as the residence location information; Performing a clustering operation on the stationary position information to generate the actual stationary position of the vehicle, wherein for each of the preset size areas, determining a center point in the stationary position information within the preset size area, and determining the center point as a cluster center for clustering operation; When the vehicle is detected to be abnormally parked based on the actual parking position and the legal parking position, abnormal parking warning information is output, and the abnormal parking warning information is generated based on at least one of the number of abnormal parking positions, the frequency of occurrence of the same abnormal parking position, and the duration corresponding to the abnormal parking position. The legal parking position information includes a first legal parking position and a second legal parking position. The first legal parking position is the consignment place information and the receiving place information in the electronic waybill of the vehicle, and the second legal parking position is the general location information where the vehicle is allowed to stay.

2. The vehicle stationary detection method according to claim 1, characterized in that: The identity information includes a device identifier of a positioning device used to collect the location information, and the identity information sent by the receiving vehicle is collected based on the identity information to obtain a location information set reported by the same vehicle, specifically including: Determining a vehicle identifier bound to the device identifier based on a preset binding relationship, wherein the vehicle identifier is used to identify the vehicle; Receiving the location information reported by the vehicle and the collection time corresponding to the location information; When it is detected that the collection time of the position information reaches a preset time, the position information set of the same vehicle is generated based on the vehicle identification.

3. The vehicle residence detection method according to claim 2, characterized in that: The performing a clustering operation on the parking position information to generate the actual parking position of the vehicle specifically includes: For each of the preset size areas, determining the number of center points or resident positions in the resident position information within the preset size area; The central point is determined as a cluster center, and a clustering operation is performed based on the cluster center or the number of the parking positions to generate an actual parking position of the vehicle.

4. The vehicle stationary detection method according to any one of claims 1 to 3, characterized in that: When the abnormal parking of the vehicle is detected based on the actual parking position and the legal parking position, outputting abnormal parking warning information specifically includes: Obtaining the legal residence location; Deleting the legal resident positions from the actual resident positions, and determining the remaining actual resident positions as abnormal resident positions; The abnormal residence warning information is output based on the abnormal residence position.

5. The vehicle stationary detection method according to claim 4, characterized in that: The obtaining of the legal residence location specifically includes: Obtaining an electronic waybill of the vehicle, extracting the consignment location information and the consignment location information in the electronic waybill, and determining the consignment location information and the consignment location information as the first legal residence location; Determine the general location information where the vehicle is allowed to stay, and determine the general location information as the second legal stay location; The legal residence location is generated based on the first legal residence location and the second legal residence location.

6. The vehicle stationary detection method according to claim 4, characterized in that: The outputting the abnormal residence warning information based on the abnormal residence position specifically includes: Counting the number of abnormal residence locations; When it is detected that the number of the abnormal residence positions is greater than or equal to the number threshold, the abnormal residence warning information is generated, The abnormal residence warning information includes the vehicle identification of the vehicle, the ownership information of the vehicle, the time information when the vehicle resides at the abnormal residence position, and the longitude and latitude information of the abnormal residence position.

7. A vehicle parking detection device, characterized in that: include: A receiving module, used to receive identity information sent by a vehicle, and to collect location information reported by the same vehicle based on the identity information to obtain a location information set; a resident detection module, configured to perform a resident detection operation on the location information set based on a spatiotemporal screening condition to obtain resident location information, wherein the spatiotemporal screening condition includes a first duration threshold, a second duration threshold, and a preset size area, and in any time period greater than or equal to the first duration threshold and less than or equal to the second duration threshold, it is detected that a plurality of time-continuous location information in the location information set within the time period is distributed in the preset size area, and the plurality of time-continuous location information is determined as the resident location information; A clustering module, configured to perform a clustering operation on the stationary position information to generate an actual stationary position of the vehicle, wherein for each of the preset size areas, a center point in the stationary position information within the preset size area is determined, and the center point is determined as a clustering center for clustering operation; A generation module is used to output abnormal residence warning information when the vehicle is detected to be abnormal based on the actual residence position and the legal residence position, and the abnormal residence warning information is generated based on at least one of the number of abnormal residence positions, the frequency of occurrence of the same abnormal residence position, and the duration corresponding to the abnormal residence position. The legal residence position information includes a first legal residence position and a second legal residence position, the first legal residence position is the consignment place information and the receiving place information in the electronic waybill of the vehicle, and the second legal residence position is the general location information where the vehicle is allowed to stay.

8. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the vehicle residence detection method according to any one of claims 1 to 6 by executing the executable instructions.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the vehicle stationary detection method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Solid waste vehicle transportation monitoring method, device and equipment and storage medium

    CN112508488A

  • Intelligent identification method and device for trip chain of freight vehicle and electronic equipment

    CN113538072A