A method for identifying abnormal parking conditions in autonomous driving
By installing temperature monitoring equipment and charging piles in self-driving parking lots, using infrared thermal imaging and blockchain technology to identify and protect privacy, monitoring temperature abnormalities in real time and planning the fastest route, the risk of spontaneous combustion and rescue paths in self-driving parking lots are solved. problem, achieving fast and safe rescue.
Patent Information
- Application Number
- CN202210786019.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-06
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-07-06
AI Technical Summary
There is a risk of spontaneous combustion or even explosion in self-driving parking lots when charging, and the path planning of rescue vehicles is not necessarily the fastest. A system is needed to monitor temperature abnormalities in the parking lot in real time and plan the fastest route to the incident location.
Install temperature monitoring equipment and self-driving car charging piles in parking lots, use DS18B20 temperature sensors and infrared thermal imaging to identify abnormal temperature locations, protect car owners’ private information through blockchain, and issue alerts when temperatures are abnormal, assess the severity and plan emergencies The best route to avoid danger.
Real-time identification of temperature anomalies during charging of autonomous vehicles and protection of private information, timely alarms and optimal route planning are achieved to ensure that rescue vehicles arrive at the incident site quickly and safely.
Smart Images

Figure CN115223342B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and in particular to a method for identifying abnormalities in automatic driving parking. Background Art
[0002] Since self-driving cars generally use batteries to store electricity, there is actually a risk of spontaneous combustion during charging. Just like users on high floors cannot push electric cars back home to charge, self-driving parking lots are all electric cars. When charging, electric cars are at risk of spontaneous combustion or even explosion. In the event of a fire, timely rescue is the most important thing, and the vehicles and routes in the parking lot are not necessarily the best way to reach the target location the fastest. Therefore, a system is needed to obtain real-time information on whether each parking space in the parking lot is occupied to plan a route plan for rescue vehicles to reach the scene of the incident as quickly as possible. Summary of the invention
[0003] The present invention provides a method for identifying abnormal parking in an automatic driving system, which mainly includes:
[0004] Install temperature monitoring equipment in parking lots; install self-driving car charging piles in parking lots; identify the parts of self-driving cars with abnormal temperatures when charging; protect the privacy of car owners after identification through blockchain; issue an alarm when abnormal temperatures occur in a parking space in the parking lot; alert relevant personnel based on the severity of the temperature abnormality; plan the best route for emergency avoidance;
[0005] Further optionally, the step of installing a temperature monitoring device in the parking lot includes:
[0006] Install surveillance cameras and DS18B20 temperature sensors to monitor and acquire parking and temperature data in the parking lot in real time; including: using the DS18B20 temperature sensor to acquire temperature data; Using the DS18B20 temperature sensor to acquire temperature data specifically includes: DS18B20, as a programmable temperature acquisition sensor, has a unique single-wire interface mode. Only one line is required to achieve two-way communication with the microprocessor. Its temperature measurement range is from -55° to +125°, which meets the requirements of temperature measurement in the parking lot. By programming the pull-up and pull-down modes of the DQ bus, it can sense temperature changes in the environment and convert the temperature analog quantity into digital data, which is convenient for the microprocessor to process and store.
[0007] Further optionally, the step of installing a charging pile for an autonomous driving vehicle in a parking lot includes:
[0008] Install self-driving car charging piles in the parking lot and allocate car charging spaces. Use the license plate recognition device near the entrance of the parking lot lane to capture vehicle images and obtain the license plate number of the incoming vehicle. The license plate number and the number and location of the remaining parking spaces are displayed on the display screen at the entrance of the parking lot lane for car owners to view. Use the arrow instructions in the parking lot to guide car owners to the designated charging piles for charging.
[0009] Further optionally, the identifying of a location where the temperature of the autonomous driving vehicle is abnormal during charging includes:
[0010] Infrared thermal imaging is used to identify the parts of the autonomous driving car with abnormal temperature when charging. The infrared imaging area of the infrared imager at the current temperature value is collected by the infrared imaging acquisition module. The range temperature threshold of the infrared imaging area is calculated by the clarity determination module. The boundaries of the four rectangular areas of the area are determined according to the range temperature threshold. The clarity of the infrared imaging is determined according to all image points on the boundaries. The infrared thermal sensing is used to identify the specific part of the autonomous driving car with abnormal temperature, and the abnormal temperature part is highlighted and displayed on a clear pattern.
[0011] Further optionally, the car owner's private information after being protected and identified by blockchain includes:
[0012] Blockchain is used to protect the identity privacy of the car owner, that is, the association between the user identity information and the blockchain address; the blockchain address is the real name used by the car owner in the blockchain system, usually used as an input account or output account. The address in the blockchain system is generated by the car owner himself and has nothing to do with the car owner's identity information. The car owner does not need the participation of a third party to create and use the address; compared with traditional accounts, blockchain addresses are anonymous; including: using blockchain to encrypt private information;
[0013] The use of blockchain to encrypt private information specifically includes:
[0014] The real-name identity of the owner and the key corresponding to the real-name identity of the owner are obtained through blockchain data collection. After obtaining the data, an upload request is sent to the data storage node. If the data storage node verifies, the final encrypted data is received and the final encrypted data is decrypted through the private key of the data storage node to obtain the real-name encrypted data of the owner. The data storage node verifies whether the real-name encrypted data of the owner meets the requirements. If it meets the requirements, the corresponding relationship between the real-name encrypted data of the owner and the real-name identity of the owner is stored in the local database. The data storage node compresses the data stored within the specified time to generate a block and adds it to the blockchain. Differential privacy is used to protect the privacy of the owner's identity information. Noise is added by the frequency of use of the account by the owner, so that the owner's information cannot be inferred from data changes when querying the database.
[0015] Further optionally, the issuing of an alarm when an abnormal temperature occurs in a parking space in the parking lot includes:
[0016] A temperature sensor is installed on the car body in the parking lot. The temperature sensor obtains temperature data every second, and calculates the difference between the obtained temperature and the temperature data of adjacent seconds; the temperature difference exceeding the average value is pre-set as the warning temperature point, and the temperature difference exceeding the maximum value is pre-set as the dangerous temperature point; the temperature difference is judged whether it is too large according to the temperature detected by the temperature sensor in the parking lot; when the temperature exceeds the warning temperature point, the temperature sensor sends the data before and after the abnormal temperature time period in time; the system records the temperature data obtained by the temperature sensor and the corresponding parking space position, estimates the temperature change, and issues a warning according to the continuous upward trend in the change curve. At the same time, the temperature sensor uploads the changing temperature data to the system in real time, and the system predicts how many seconds it will take to reach the dangerous temperature point based on the acquired temperature data; including: obtaining temperature data for prediction;
[0017] The obtaining of temperature data for prediction specifically includes:
[0018] The temperature data collected by the temperature sensor is analyzed. The time point is set as the independent variable and the temperature is set as the dependent variable in the temperature change data at each time point. The corresponding temperature change points are drawn in the rectangular coordinate system. The temperature points at adjacent time points are connected. The least square method is used to perform linear regression calculations on the temperature abnormality change points. The temperature is used as the dependent variable and the number of seconds in time is used as the independent variable. Each data point is substituted into the linear regression equation y=kx+b to calculate the parameters k and b. After the parameters are calculated, the correlation coefficient r is calculated. When the value of the correlation coefficient r is greater than 0.8, the temperature change is highly correlated with the regression function. The future temperature change is predicted. The temperature = 50 degrees Celsius is substituted into the regression equation with the calculated parameters y to predict the time required to reach the temperature. The predicted number of seconds is subtracted from the current time point to predict that the temperature will reach the dangerous temperature point in the next few seconds.
[0019] Further optionally, the prompting of relevant personnel according to the severity of the temperature abnormality includes:
[0020] The temperature sensor reports the temperature anomaly and the location in the parking lot to the garage manager or fire alarm; the temperature anomaly location is marked on the garage map, and the severity is analyzed according to the temperature change. The severity is quantified by the temperature change, and the quantified value of the dangerous temperature point is set as the critical value. If it exceeds the critical value, the system will judge it as serious; otherwise, it will be judged as not serious; if the calculated quantified result of the temperature change exceeds the critical value, it will remind the relevant personnel that the fire situation is serious and they need to go to the scene as soon as possible; including: evaluating the severity of the temperature anomaly;
[0021] The assessment of the severity of the temperature anomaly specifically includes:
[0022] In the process of obtaining temperature data for prediction, the temperature data at the start time of abnormal temperature change is obtained, the severity is quantified, the temperature difference is used as the first influencing factor, the abnormal temperature change time period is used as the second influencing factor, and whether the current temperature exceeds the critical value is used as the third influencing factor. The three factors are weighted and summed as the value of severity quantification, the severity W is preset, the first influencing factor is preset as the one-dimensional array t of the temperature difference at adjacent time points, the second influencing factor is preset as a duration of seconds d, and the third influencing factor is preset as the 01 array h of whether the temperature exceeds the critical value per second. That is, the temperature difference per second, the duration of abnormal temperature, and whether the temperature exceeds the critical value of 50 degrees Celsius. The larger the first influencing factor, the higher the severity, and the larger the second influencing factor, the smaller the severity. The more the number of 1s in the third influencing factor, the greater the severity, and the more the number of 0s, the smaller the severity. The severity is quantified by assigning weights to the three influencing factors. The three weight parameters are preset as k1, k2, and k3, and the severity calculation formula is W=k1*∑t(i)+k2*d+k3*∑h(i), where t(i) is the difference between the temperature at the i-th second and the temperature at the i-1st second, and h(i) is the 0.1 variable indicating whether the temperature at the i-th second exceeds the critical value. All three parameters are set to 1 / 3. The corresponding severity value is obtained through the calculation formula.
[0023] Further optionally, the planning of the best route for emergency avoidance includes:
[0024] The severity of the temperature anomaly is evaluated to determine whether the fire alarm vehicle needs to go to the temperature anomaly location via an illegal route, obtain whether there are vehicles in each parking space in the garage, and the road route specified in the garage; by installing a vehicle detection device in each parking space, detect whether there are vehicles parked in each parking space, and merge the parking spaces without parking spaces as routes with the road routes, establish an undirected graph matrix, calculate the shortest path from the garage entrance to the location where the fire may occur in the garage, send the planned shortest path plan to the rescue vehicle, and the rescue vehicle goes to the scene of the incident according to the route plan; including: data preparation; using Floyd shortest path to plan the fastest arrival route;
[0025] The data preparation specifically includes: Determine whether there is a vehicle parked in each parking space in the garage. If there is no vehicle parked, record it in an undirected graph, and preset an undirected graph matrix G. First draw the road route in the garage, and preset the road route of the garage to be S-shaped. When there is no vehicle parked in the parking space, mark the parking space position on the route. By obtaining the location of whether there is a temperature sensor on each parking space in the garage, collect the parking space positions without positioning marks on the parking space, set nodes on the map for the road point positions connected before and after the parking space without positioning marks, find the road point positions connected before and after all the parking spaces without markings, and connect the front and back nodes as one of the edges of the undirected graph. The route of this edge passes through the parking space. Get the length and width of the parking space, the standard length and width are 5.3m and 2.5m. That is, based on the road route, each empty parking space position passed is regarded as a road intersection, and the parking space is connected to two intersections before and after. In this way, an undirected graph is established. Set each turning point of the road as a node, and finally get a route map containing parking intersections and road turning points. Number each parking turning node, as well as the starting point and the end point, and set the length of each path edge passing through the parking space to 6m. The part longer than 5.3m is regarded as the distance from the main road turning into the parking path. Record the distance between each empty parking intersection encountered on the main road again. If there is a third node between two nodes, the distance between the two points is not recorded. Finally, collect the distance undirected graph matrix G with direct edges connecting each point, in which the two nodes without recorded distances are set to positive infinity, and the obtained matrix G is a matrix symmetric about the main diagonal, with equal number of rows and columns.
[0026] The use of Floyd's shortest path planning to reach the fastest route specifically includes: In the data preparation, obtain the undirected graph matrix G, record the total number of nodes as N, the first node as the starting point, the last node as the end point, preset the N-row and N-column 0 matrix M, preset the intermediate variable k, k=1,2...N, representing the kth intermediate node, preset the intermediate variable i, i=1,2...N, representing the starting node, and preset the intermediate variable j, j=1,2...N, representing the end node. The three intermediate variables are nested in loops, k is the first loop, i is the second loop, and j is the third loop. In the third loop, determine whether G(i,j) is greater than G(i,k)+G(k,j). If the judgment is correct, assign the value of G(i,k)+G(k,j) to G(i,j), that is, G(i,j)=G(i,k)+G(k,j). Assign the value of k to M(i,j). When the loop ends, the obtained G is the shortest path length value between each node and the path direction matrix M. The path distance from the first node to the last node in G is the shortest distance. Then calculate each node passed by this path. Preset the intermediate variable P, preset the empty array L to store the nodes passed by the shortest route, assign the value of M(1,N) to P, enter the loop, when P meets the condition that it is not equal to 0, add the value of P to the next element of the last element in the array L, and then assign the value of M(P,j) to P for a new round of loop. When P=0, the loop ends, and the array L is obtained, which is each intermediate node that needs to be passed under the shortest path from node 1 to node N. That is, the direction required for the optimal path. The technical solution provided by the embodiment of the present invention may include the following beneficial effects: When the monitoring of the parking lot detects that the temperature is abnormal in a certain place in the parking lot, it is determined whether there is a parking lot at that place. If so, according to the different parts of the temperature abnormality of the autonomous driving vehicle and the severity of the abnormality, different degrees of alarm prompts are given to the owner or manager, and the optimal arrival route and solution are planned. The information of electric car owners must be protected by privacy encryption through blockchain technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 The present invention is a flowchart of a method for identifying abnormal parking in an automatic driving system. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments. Figure 1 FIG. 1 is a flow chart of an automatic driving parking anomaly recognition method of the present invention. Figure 1 As shown, the method for identifying abnormal parking of an automatic driving in this embodiment may specifically include:
[0029] Step 101, install temperature monitoring equipment in the parking lot. Install surveillance cameras and DS18B20 temperature sensors to monitor and obtain parking and temperature data in the parking lot in real time. Use DS18B20 temperature sensor to obtain temperature data. As a programmable temperature acquisition sensor, DS18B20 has a unique single-wire interface mode. Only one line is required to achieve two-way communication with the microprocessor. Its temperature measurement range is from -55° to +125°, which meets the requirements of temperature measurement in the parking lot. By programming the pull-up and pull-down modes of the DQ bus, it can sense the temperature changes in the environment and convert the temperature analog quantity into digital data, which is convenient for the microprocessor to process and store.
[0030] Step 102: Install self-driving car charging piles in the parking lot. Install self-driving car charging piles in the parking lot and allocate car charging parking spaces. Use the license plate recognition device near the entrance of the parking lot lane to capture the vehicle image and obtain the license plate number of the vehicle entering. The license plate number and the number and location of the remaining parking spaces are displayed on the display screen at the entrance of the parking lot lane for the car owner to view. Use the arrows in the parking lot to guide the car owner to the designated charging pile for charging.
[0031] Step 103, identifying the parts of the autonomous vehicle with abnormal temperature when charging. Using infrared thermal imaging to identify the parts of the autonomous vehicle with abnormal temperature when charging, the infrared imaging area of the infrared imager under the current temperature value is collected by the infrared imaging acquisition module, and the range temperature threshold of the infrared imaging area is calculated by the clarity determination module. The boundaries of the four rectangular areas of the area are determined according to the range temperature threshold, and the clarity of the infrared imaging is determined according to all image points on the boundaries. The infrared thermal sensing is used to determine which part of the autonomous vehicle has abnormal temperature, and the abnormal temperature part is highlighted and displayed on a clear pattern.
[0032] Step 104, protect the owner's privacy information after identification through blockchain. Blockchain is used to protect the owner's identity privacy, that is, the association between the user identity information and the blockchain address. The blockchain address is the real name used by the owner in the blockchain system, usually used as an input account or output account. The address in the blockchain system is generated by the owner himself and has nothing to do with the owner's identity information. The owner does not need to participate in the creation and use of the address. Compared with traditional accounts, blockchain addresses are anonymous. Blockchain is used to encrypt private information. The owner's real-name identity and the key corresponding to the owner's real-name identity are obtained through blockchain data collection. After obtaining the data, an upload request is sent to the data storage node. If the data storage node passes the verification, the final encrypted data is received and the final encrypted data is decrypted by the private key of the data storage node to obtain the owner's real-name encrypted data. The data storage node verifies whether the owner's real-name encrypted data meets the requirements. If it meets the requirements, the corresponding relationship between the owner's real-name encrypted data and the owner's real-name identity is stored in the local database. The data storage node compresses the data stored within the specified time to generate a block and adds it to the blockchain. Differential privacy is used to protect the owner's identity information. Noise is added based on the frequency of account usage by the owner, making it impossible to infer the owner's information through data changes when querying the database.
[0033] Step 105, an alarm is issued when an abnormal temperature occurs in a parking space in the parking lot. A temperature sensor is installed on the car body in the parking lot. The temperature sensor obtains temperature data every second, and the obtained temperature is used to calculate the difference between the temperature data of adjacent seconds. The temperature difference exceeding the average value is pre-set as the warning temperature point, and the temperature difference exceeding the maximum value is pre-set as the dangerous temperature point. Determine whether the temperature difference is too large based on the temperature detected by the temperature sensor in the parking lot. When the temperature exceeds the warning temperature point, the temperature sensor sends the data before and after the abnormal temperature time period in a timely manner. The system records the temperature data obtained by the temperature sensor and the corresponding parking space position, estimates the temperature change, and issues an early warning based on the continuous upward trend in the change curve. At the same time, the temperature sensor uploads the changing temperature data to the system in real time, and the system predicts how many seconds it will take to reach the dangerous temperature point based on the temperature data already obtained. Obtain temperature data for prediction. The temperature data collected by the temperature sensor is analyzed. The time point is set as the independent variable and the temperature is set as the dependent variable in the temperature change data at each time point. The corresponding temperature change points are drawn in the rectangular coordinate system. The temperature points at adjacent time points are connected. The least square method is used to perform linear regression calculations on the temperature abnormality change points. The temperature is used as the dependent variable and the number of seconds in time is used as the independent variable. Each data point is substituted into the linear regression equation y=kx+b to calculate the parameters k and b. After the parameters are calculated, the correlation coefficient r is calculated. When the value of the correlation coefficient r is greater than 0.8, the temperature change is highly correlated with the regression function. The future temperature change is predicted. The temperature = 50 degrees Celsius is substituted into the regression equation with the calculated parameters y to predict the time required to reach the temperature. The predicted number of seconds is subtracted from the current time point to predict that the temperature will reach the dangerous temperature point in the next few seconds.
[0034] Step 106, prompt relevant personnel according to the severity of the temperature anomaly. The temperature sensor reports the temperature anomaly and the location in the parking lot to the garage manager or the fire alarm. Mark the location of the temperature anomaly in the garage map, and analyze the severity according to the temperature change. The severity is quantified by the temperature change, and the quantified value of the dangerous temperature point is set as the critical value. If it exceeds the critical value, the system will judge it as serious. On the contrary, it is judged as not serious if it does not exceed the critical value. If the calculated quantitative result of the temperature change exceeds the critical value, it will remind the relevant personnel that the fire is serious and they need to go to the scene as soon as possible. Evaluate the severity of the temperature anomaly. In the acquisition of temperature data for prediction, the temperature data at the start time of the abnormal temperature change is obtained, the severity is quantified, the temperature difference is used as the first influencing factor, the abnormal temperature change time period is used as the second influencing factor, and whether the current temperature exceeds the critical value is used as the third influencing factor. The weighted sum of the three factors is used as the value of the severity quantification, and the severity W is preset. The first influencing factor is preset as a one-dimensional array t of the temperature difference between adjacent time points, the second influencing factor is preset as a duration in seconds d, and the third influencing factor is preset as a 0.1 array h of whether the temperature exceeds the critical value per second. That is, the temperature difference per second, the duration of abnormal temperature, and whether the temperature exceeds the critical value of 50 degrees Celsius. The larger the first influencing factor, the higher the severity, and the larger the second influencing factor, the smaller the severity. The more the number of 1s in the third influencing factor is, the greater the severity, and the more the number of 0s is, the smaller the severity. The severity is quantified by assigning weights to the three influencing factors. The three weight parameters are preset as k1, k2, and k3, respectively. The severity calculation formula is W=k1*∑t(i)+k2*d+k3*∑h(i), where t(i) is the temperature difference between the i-th second and the i-1 second, and h(i) is the 0.1 variable of whether the temperature in the i-th second exceeds the critical value. All three parameters are set to 1 / 3. The corresponding severity value is obtained through the calculation formula.
[0035] Step 107, planning the best route for emergency avoidance.
[0036] The severity of the temperature anomaly is evaluated to determine whether the fire vehicle needs to go to the temperature anomaly location via an illegal route, and to obtain whether there are vehicles in each parking space in the garage and the road routes specified in the garage. By installing a vehicle detection device in each parking space, it is detected whether there are vehicles parked in each parking space, and the parking spaces without parking spaces are combined with the road routes as routes to establish an undirected graph matrix, calculate the shortest path from the garage entrance to the location where the fire may occur in the garage, and send the planned shortest path plan to the rescue vehicle, and the rescue vehicle goes to the scene of the incident according to the route plan.
[0037] Data preparation.
[0038] Determine whether there is a vehicle parked in each parking space in the garage. If no vehicle is parked, record it in an undirected graph and preset the undirected graph matrix G. First draw the road route in the garage. The preset garage road route is S-shaped. When there is no vehicle parked in the parking space, mark the parking space position on the route. By obtaining the location of whether there is a temperature sensor on each parking space in the garage, collect the parking space positions without positioning marks on the parking space, set nodes on the map for the road point positions connected before and after the parking space without positioning marks, find the road point positions connected before and after all the parking spaces without markings, and connect the front and back nodes as one of the edges of the undirected graph. The route of this edge passes through the parking space. Get the length and width of the parking space, the standard length and width are 5.3m and 2.5m. That is, based on the road route, each empty parking space position passed is regarded as a road intersection, and the parking space is connected to two intersections before and after. In this way, an undirected graph is established. Set each turning point of the road as a node, and finally obtain a route map containing parking space intersections and road turning points. Number each parking space turning node, as well as the starting point and the end point, and set the length of each path passing through the parking space to 6m. The part longer than 5.3m is regarded as the distance from the main road to the parking space path. Record the distance between each empty parking space intersection encountered on the main road again. If there is a third node between two nodes, the distance between the two points is not recorded. Finally, collect the distance undirected graph matrix G with direct edges connecting each point, in which the two nodes without recorded distance are set to positive infinity, and the obtained matrix G is a matrix symmetrical about the main diagonal, with equal number of rows and columns.
[0039] Use Floyd's shortest path planning to get there the fastest.
[0040] In the data preparation, an undirected graph matrix G is obtained, the total number of nodes is recorded as N, the first node is the starting point, the last node is the end point, a zero matrix M with N rows and N columns is preset, an intermediate variable k is preset, k=1,2...N, representing the kth intermediate node, an intermediate variable i is preset, i=1,2...N, representing the starting node, and an intermediate variable j is preset, j=1,2...N, representing the end node. The three intermediate variables are nested in loops, k is the first loop, i is the second loop, and j is the third loop. In the third loop, it is determined whether G(i,j) is greater than G(i,k)+G(k,j). If the judgment is correct, the value of G(i,k)+G(k,j) is assigned to G(i,j), that is, G(i,j)=G(i,k)+G(k,j). The value of k is assigned to M(i,j). When the loop ends, the obtained G is the shortest path length value between each node and the path direction matrix M. The path distance from the first node to the last node in G is the shortest distance. Then calculate each node that this path passes through. Preset the intermediate variable P, preset the empty array L to store the nodes that the shortest route passes through, assign the value of M(1,N) to P, enter the loop, when P meets the condition that it is not equal to 0, add the value of P to the next element of the last element in the array L, and then assign the value of M(P,j) to P for a new round of loop. When P=0, the loop ends, and the array L is obtained, which is each intermediate node that needs to be passed under the shortest path from node 1 to node N. That is, the direction that the optimal path needs to go.
[0041] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
[0042] The program for implementing the information control of the present invention can be written in one or more programming languages or a combination thereof to form a computer program code for performing the operations of the present invention, wherein the programming language includes an object-oriented programming language such as Java, python, C++, and a conventional procedural programming language such as C or a similar programming language.
[0043] The program code may execute entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0044] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0045] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0046] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present invention.
[0047] The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
Claims
1. A method for identifying abnormal parking in an automatic driving vehicle, characterized in that: The method includes: installing temperature monitoring equipment in a parking lot, specifically including: using a DS18B20 temperature sensor to obtain temperature data; installing a self-driving car charging pile in the parking lot; identifying the location of the self-driving car with abnormal temperature when charging; protecting the owner's privacy information after identification through blockchain, specifically including: using blockchain to encrypt the privacy information; issuing an alarm when an abnormal temperature occurs in a parking space in the parking lot, specifically including: obtaining temperature data for prediction; prompting relevant personnel according to the severity of the temperature abnormality, specifically including: evaluating the severity of the temperature abnormality; planning the best route for emergency avoidance, the planning of the best route for emergency avoidance specifically including: data preparation, using Floyd's shortest path to plan the fastest arrival route; The planning of the best route for emergency evacuation includes: evaluating the severity of the temperature anomaly to determine whether the fire alarm vehicle needs to go to the temperature anomaly location via an illegal route, obtaining whether there are vehicles in each parking space in the garage, and the road route specified in the garage; installing a vehicle detection device in each parking space to detect whether there are vehicles parked in each parking space, merging the parking spaces without parking spaces as routes with the road routes, establishing an undirected graph matrix, calculating the shortest path from the garage entrance position to the position where the fire may occur in the garage, sending the planned shortest path plan to the rescue vehicle, and the rescue vehicle goes to the scene of the incident according to the route plan; The data preparation specifically includes: judging whether there is a vehicle parked in each parking space in the garage, if there is no vehicle parked, recording it in an undirected graph, and presetting the undirected graph matrix G; first drawing the road route in the garage, and presetting the road route of the garage to be S-shaped, when there is no vehicle parked in the parking space, marking the position of this parking space on the route, by obtaining the location of whether there is a temperature sensor on each parking space in the garage, collecting the positions of the parking spaces without positioning markings on the parking spaces, setting nodes on the map for the road point positions connecting the front and back of the parking spaces without positioning markings, finding the road point positions connecting the front and back of all the parking spaces without markings and connecting the front and back nodes as one of the edges of the undirected graph; the route of this edge passes through the parking space; obtaining the length and width of the parking space, the standard length and width are 5.3m and 2.5m; that is, based on the road route, each empty parking space position passed by Treat them as road intersections, and connect two intersections in front and behind the parking spaces respectively; in this way, establish an undirected graph; set each turning point of the road as a node, and finally obtain a route map containing parking intersections and road turning points; number each parking turning node, as well as the starting point and the end point, and set the length of each path edge passing through the parking space to 6m, and treat the part longer than 5.3m as the distance from the main road to the parking space path; record the distance between each empty parking intersection encountered in the main road again; if there is a third node between two nodes, the distance between the two points is not recorded, and finally collect the distance undirected graph matrix G with direct edges connecting each point, in which the two nodes without recorded distances are set to positive infinity, and the obtained matrix G is a matrix symmetric on the main diagonal, with equal numbers of rows and columns; The method of sending out an alarm when an abnormal temperature occurs in a parking space in the parking lot includes: installing a temperature sensor on the car body in the parking lot, the temperature sensor obtains temperature data every second, and performs difference calculation on the temperature data of adjacent seconds with the obtained temperature; pre-setting a temperature difference exceeding the average value as a warning temperature point, and a temperature difference exceeding the maximum value as a dangerous temperature point; judging whether the temperature difference is too large based on the temperature detected by the temperature sensor in the parking lot; when the temperature exceeds the warning temperature point, the temperature sensor promptly sends the data before and after the abnormal temperature time period; the system records the temperature data obtained by the temperature sensor and the corresponding parking space position, estimates the temperature change, and issues an alarm based on the continuous upward trend in the change curve, and at the same time, the temperature sensor uploads the changed temperature data to the system in real time, and the system predicts how many seconds it will take to reach the dangerous temperature point based on the obtained temperature data; including: obtaining temperature data for prediction; the obtaining temperature The data is predicted, specifically including: analyzing the temperature data collected by the temperature sensor, setting the time point as the independent variable and the temperature as the dependent variable in the temperature change data at each time point, drawing the corresponding temperature change point in the rectangular coordinate system, connecting the temperature points at adjacent time points, using the least squares method to perform linear regression calculation on the temperature abnormal change points, taking the temperature as the dependent variable and the number of seconds in the time as the independent variable, and bringing each data point into the linear regression equation y=kx+b to calculate the parameters k and b; after calculating the parameters, calculating the correlation coefficient r, when the value of the correlation coefficient r is greater than 0.8, the temperature change is highly correlated with the regression function, and predicting the future temperature change, bringing the temperature = 50 degrees Celsius as the dependent variable y into the regression equation with the calculated parameters to predict the time required to reach the temperature, and taking the difference between the predicted number of seconds and the current time point, it is predicted that the temperature will reach the dangerous temperature point in the next few seconds; The method of prompting relevant personnel according to the severity of the temperature anomaly includes: the temperature sensor reports the temperature anomaly and the location in the parking lot to the garage manager or the fire alarm; marking the location of the temperature anomaly on the garage map, analyzing the severity according to the temperature change, quantifying the severity through the temperature change, setting the quantified value of the dangerous temperature point as the quantitative critical value, and if it exceeds the quantitative critical value, the system determines it as severe; otherwise, if it does not exceed the quantitative critical value, it is judged as not severe; if the calculated quantitative result of the temperature change exceeds the quantitative critical value, the relevant personnel are reminded that the fire is serious and they need to go to the scene as soon as possible; including: evaluating the severity of the temperature anomaly; The evaluation of the severity of the temperature anomaly specifically includes: in the acquisition of temperature data for prediction, the temperature data at the start time of the abnormal temperature change is acquired, the severity is quantified, the temperature difference is used as the first influencing factor, the abnormal temperature change time period is used as the second influencing factor, and whether the current temperature exceeds the temperature critical value is used as the third influencing factor; the three factors are weighted summed as the value of the severity quantification, the severity W is preset, the first influencing factor is preset as a one-dimensional array t of the temperature difference between adjacent time points, the second influencing factor is preset as a duration in seconds d, and the third influencing factor is preset as a 0.1 array h of whether the temperature exceeds the temperature critical value per second; that is, the temperature difference per second, the abnormal temperature duration, and Whether the temperature exceeds the critical temperature value of 50 degrees Celsius; when the first influencing factor is larger, the severity is higher, and when the second influencing factor is larger, the severity is relatively smaller; the more the third influencing factor is 1, the greater the severity is, and the more the third influencing factor is 0, the smaller the severity is; the severity is quantified by assigning weights to the three influencing factors; the three weight parameters are preset as k1, k2, and k3, respectively, and the severity calculation formula is W=k1*∑t(i)+k2*d+k3*∑h(i), where t(i) is the difference between the temperature at the i-th second and the temperature at the i-1st second, and h(i) is the 0.1 variable of whether the temperature at the i-th second exceeds the critical temperature value. The three weight parameters are all set to 1 / 3, and the corresponding severity values are obtained through the calculation formula.
2. The method according to claim 1, wherein: The temperature monitoring equipment is installed in the parking lot, including: installing surveillance cameras and DS18B20 temperature sensors to monitor and obtain parking and temperature data in the parking lot in real time; including: using the DS18B20 temperature sensor to obtain temperature data; using the DS18B20 temperature sensor to obtain temperature data specifically includes: DS18B20 as a programmable temperature acquisition sensor has a unique single-wire interface mode, only one line is required to achieve two-way communication with the microprocessor, and its temperature measurement range is from -55°C to +125°C, which meets the requirements of temperature measurement in the parking lot. By programming the pull-up and pull-down modes of the DQ bus, it can sense the temperature changes in the environment and convert the temperature analog quantity into digital data, which is convenient for the microprocessor to process and store.
3. The method according to claim 1, wherein: The installation of an autonomous driving car charging pile in a parking lot includes: installing an autonomous driving car charging pile in the parking lot and allocating car charging parking spaces, capturing vehicle images and obtaining license plate numbers of vehicles entering the parking lot through a license plate recognition device near the entrance of the parking lot lane, displaying the license plate numbers and the number and positions of remaining parking spaces on a display screen at the entrance of the parking lot lane for car owners to view, and using arrows in the parking lot to guide car owners to designated charging piles for charging.
4. The method according to claim 1, wherein: The method for identifying the location of abnormal temperature when the autonomous driving vehicle is charging includes: using infrared thermal imaging to identify the location of abnormal temperature when the autonomous driving vehicle is charging, collecting the infrared imaging area of the infrared imager at the current temperature value by an infrared imaging acquisition module, calculating the range temperature threshold of the infrared imaging area by a clarity determination module, determining the boundaries of four rectangular areas of the area according to the range temperature threshold, determining the clarity of the infrared imaging according to all image points on the boundaries, and using infrared thermal sensing to determine which specific location of the autonomous driving vehicle has abnormal temperature, and highlighting and displaying the abnormal temperature location on a clear pattern.
5. The method according to claim 1, wherein: The protection of the owner's private information after identification by blockchain includes: using blockchain to protect the owner's identity privacy, that is, the association between the user's identity information and the blockchain address; the blockchain address is the real name used by the owner in the blockchain system, usually used as an input account or output account. The address in the blockchain system is generated by the owner himself and has nothing to do with the owner's identity information. The owner does not need to participate in the creation and use of the address without the participation of a third party; Compared with traditional accounts, blockchain addresses are anonymous; including: using blockchain to encrypt private information; the use of blockchain to encrypt private information specifically includes: collecting data through blockchain to obtain the real-name identity of the car owner and the key corresponding to the real-name identity of the car owner, sending an upload request to the data storage node after obtaining the data, if the data storage node verifies it, then receiving the final encrypted data and decrypting the final encrypted data through the private key of the data storage node to obtain the real-name encrypted data of the car owner, the data storage node verifies whether the real-name encrypted data of the car owner meets the requirements, if it meets the requirements, then storing the corresponding relationship between the real-name encrypted data of the car owner and the real-name identity of the car owner in the local database, the data storage node compresses the data stored within the specified time to generate a block, and adds it to the blockchain; using differential privacy to protect the privacy of the car owner's identity information, adding noise through the frequency of use of the account by the car owner, so that the car owner information cannot be inferred from data changes when querying the database.
6. The method according to claim 1, wherein: The method of using Floyd shortest path planning to reach the fastest route specifically includes: in the data preparation, obtaining an undirected graph matrix G, recording the total number of nodes as N, with the first node as the starting point and the last node as the end point, presetting an N-row and N-column 0 matrix M, presetting an intermediate variable k, k=1,2...N, representing the kth intermediate node, presetting an intermediate variable i, i=1,2...N, representing the starting node, and presetting an intermediate variable j, j=1,2...N, representing the end node; performing nested loops on the three intermediate variables, with k being the first loop, i being the second loop, and j being the third loop, and judging in the third loop whether G(i,j) is greater than G(i,k)+G(k,j); if the judgment is correct, assigning the value of G(i,k)+G(k,j) to G(i,j), that is, G( i,j)=G(i,k)+G(k,j); assign the value of k to M(i,j); when the loop ends, the obtained G is the shortest path length value between each node and the path direction matrix M; the path distance from the first node to the last node in G is the shortest distance; then calculate each node passed by this path; preset the intermediate variable P, preset the empty array L to store the nodes passed by the shortest route, assign the value of M(1,N) to P, enter the loop, when P meets the condition that it is not equal to 0, add the value of P to the next element of the last element in the array L, and then assign the value of M(P,j) to P for a new round of loop; when P=0, the loop ends, and the obtained array L is each intermediate node that needs to be passed under the shortest path from node 1 to node N; that is, the direction required for the optimal path.
Citation Information
Patent Citations
Vehicle information processing method and device, and readable storage medium
CN107707633A
Intelligent vehicle route planning method based on improved Floyd algorithm
CN109029478A
Fire alarm treatment system and method for intelligent stereo garage
CN109741569A
Parking and charging guiding system based on electric vehicle charging parking lot
CN214202660U
