Vehicle warning methods, devices, electronic equipment and readable storage media
By acquiring vehicle environmental data, identifying the type of liquid on the road, and determining the icing situation, the problem of poor weather forecast accuracy has been solved, enabling timely and accurate vehicle warnings and improving driving safety.
Patent Information
- Application Number
- CN202510276365.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2045-03-10
AI Technical Summary
In existing technologies, the accuracy of weather forecasts is poor, resulting in inaccurate warning information for vehicles when roads are icy, which affects driving safety.
By acquiring vehicle environmental data, identifying the type of liquid on the road and its freezing status, vehicle warning information is generated. Infrared, microwave, and visible light sensors are used to collect data, which, combined with temperature and humidity information, accurately determine whether the liquid has frozen and issue timely warnings.
It improved the accuracy of icing information, enabled timely vehicle warnings, and enhanced driving safety.
Smart Images

Figure CN119858568B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of security technology, and in particular to a vehicle warning method, device, electronic device, and readable storage medium. Background Technology
[0002] With the improvement of living standards, vehicles have become one of the main means of transportation for people's daily travel. As the number of vehicles on the road increases, road safety has become an urgent issue to be addressed.
[0003] Road icing conditions have a significant impact on driving safety. One related technology uses weather forecasts to determine whether liquids on the road will freeze, generating warning information for vehicles in the event of freezing. However, the accuracy of weather forecasts is often poor, affecting driving safety. Summary of the Invention
[0004] This application provides a vehicle warning method, device, electronic device, and readable storage medium, which can be used to solve problems in related technologies. The technical solution includes the following contents.
[0005] On the one hand, a vehicle warning method is provided, the method comprising:
[0006] Acquire environmental data, which is used to describe the driving environment of the first vehicle;
[0007] Liquid information is determined based on the environmental data, and the liquid information is used to describe the type of liquid present on the road in the driving environment;
[0008] Icing information is determined based on the liquid information and the environmental data, and the icing information is used to describe whether the liquid has frozen.
[0009] When the icing information describes the liquid freezing, a warning message is generated for the first vehicle.
[0010] On the other hand, a vehicle warning device is provided, the device comprising:
[0011] An acquisition module is used to acquire environmental data, which is used to describe the driving environment of the first vehicle;
[0012] The determination module is used to determine liquid information based on the environmental data, wherein the liquid information is used to describe the type of liquid present on the road in the driving environment;
[0013] The determining module is further configured to determine freezing information based on the liquid information and the environmental data, wherein the freezing information is used to describe whether the liquid has frozen;
[0014] A generation module is used to generate warning information for the first vehicle when the icing information describes the liquid freezing.
[0015] On the other hand, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one computer program, which is loaded and executed by the processor to enable the electronic device to implement any of the vehicle warning methods described above.
[0016] On the other hand, a computer-readable storage medium is also provided, wherein at least one computer program is stored therein, the at least one computer program being loaded and executed by a processor to enable an electronic device to implement any of the vehicle warning methods described above.
[0017] On the other hand, a computer program is also provided, wherein the computer program is at least one, and the at least one computer program is loaded and executed by a processor to enable the electronic device to implement any of the above-described vehicle warning methods.
[0018] On the other hand, a computer program product is also provided, which stores at least one computer program, which is loaded and executed by a processor to enable an electronic device to implement any of the above-described vehicle warning methods.
[0019] The technical solution provided in this application brings at least the following beneficial effects:
[0020] In the technical solution provided in this application, since different liquids have different requirements for the icing environment, liquid information characterizing the liquid type is first determined based on environmental data. Then, icing information describing whether the liquid has iced is determined based on the liquid information and environmental data. This enables real-time determination of whether liquids on the road have iced based on the vehicle's driving environment, improving the accuracy of icing information. By generating early warning information for the first vehicle when the icing information describes liquid icing, timely vehicle warnings are provided, improving driving safety. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a schematic diagram of the structure of a computer system provided in an embodiment of this application;
[0023] Figure 2This is a flowchart of a vehicle warning method provided in an embodiment of this application;
[0024] Figure 3 This is a framework diagram of a security early warning system provided in an embodiment of this application;
[0025] Figure 4 This is a schematic diagram of the structure of a vehicle warning device provided in an embodiment of this application;
[0026] Figure 5 This is a schematic diagram of the structure of a vehicle-mounted terminal provided in an embodiment of this application;
[0027] Figure 6 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation
[0028] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0029] It should be noted that the terms "first," "second," etc., used in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0030] like Figure 1 As shown, Figure 1 This is a schematic diagram of a computer system provided in an embodiment of this application. The computer system includes an in-vehicle terminal 101 and a server 102. The in-vehicle terminal 101 has a client installed and running, and the server 102 provides background services for the client installed on the in-vehicle terminal 101. The vehicle warning method provided in this embodiment can be executed by the in-vehicle terminal 101, by the server 102, or by both the in-vehicle terminal 101 and the server 102; this embodiment does not limit the execution of this method.
[0031] In one possible implementation, server 102 undertakes the primary computing task, while vehicle terminal 101 undertakes the secondary computing task. Alternatively, server 102 undertakes the secondary computing task, while vehicle terminal 101 undertakes the primary computing task. Or, vehicle terminal 101 and server 102 can collaborate on computing using a distributed computing architecture.
[0032] Optionally, the vehicle terminal 101 can be any electronic device that allows human-computer interaction with the user through one or more methods such as a keyboard, touchpad, remote control, voice interaction, or handwriting device. For example, the vehicle terminal 101 can be a mobile phone, computer, smart speaker, smartwatch, wearable device, etc.
[0033] The term "vehicle terminal 101" can refer to one of a plurality of vehicle terminals; this embodiment uses only vehicle terminal 101 as an example. Those skilled in the art will understand that the number of vehicle terminals 101 can be more or less. For example, there may be only one vehicle terminal 101, or there may be dozens or hundreds, or even more, vehicle terminals 101. This application embodiment does not limit the number or type of vehicle terminals 101.
[0034] Server 102 can be a single server, a server cluster consisting of multiple servers, or any of the following: a cloud computing platform or a virtualization center. This embodiment of the application does not limit this. Server 102 communicates directly or indirectly with the vehicle terminal 101 via a wired or wireless network. Server 102 has data receiving, data processing, and data sending functions. Of course, server 102 may also have other functions, which are not limited in this embodiment of the application.
[0035] Those skilled in the art should understand that the above-described vehicle terminal 101 and server 102 are merely illustrative examples. Other existing or future vehicle terminals or servers that are applicable to this application should also be included within the scope of protection of this application, and are hereby incorporated by reference.
[0036] This application provides a vehicle warning method, which can be applied to the aforementioned computer system and can be executed by at least one of an in-vehicle terminal 101 or a server 102. For ease of description, the in-vehicle terminal 101 and the server 102 are collectively referred to as electronic devices; that is, the method of this application embodiment is executed by an electronic device. Figure 2 As shown, the method in this application embodiment includes the following steps.
[0037] Step 201: Obtain environmental data, which is used to describe the driving environment of the first vehicle.
[0038] In this embodiment, the first vehicle can be any type of vehicle. For example, the first vehicle is a car, motorcycle, electric vehicle, etc. The driving environment of the first vehicle refers to the environment of the location of the first vehicle when it is driving on the road, including but not limited to at least one of temperature, humidity, visibility, and road conditions. The electronic device can acquire environmental data describing the driving environment in real time, and the acquisition method is not limited here. For example, the electronic device can determine the environmental data of the location of the first vehicle from map data based on the location data of the first vehicle. Alternatively, the first vehicle is equipped with temperature sensors, humidity sensors, optical sensors, etc., and the environmental data is collected in real time through these sensors.
[0039] In one possible implementation, step 201 includes: acquiring sensing data, which is obtained by collecting driving environment data through sensors; performing correction processing on the sensing data to obtain processed sensing data; and determining environmental data based on the processed sensing data.
[0040] The first vehicle is equipped with a data acquisition unit. During the vehicle's operation, this unit can collect real-time data about the driving environment, obtaining sensor data.
[0041] The data acquisition unit includes at least one sensor, and the number and type of each sensor are not limited herein. For example, the data acquisition unit may include an infrared sensor, a microwave sensor, a visible light sensor, a temperature sensor, and a humidity sensor. During the movement of the first vehicle, the infrared sensor can use infrared light to collect data about the driving environment and obtain an infrared image. Similarly, the microwave sensor can use microwaves to collect data about the driving environment and obtain a microwave image. The visible light sensor can use visible light to collect data about the driving environment and obtain a visible light image. Furthermore, the temperature sensor can collect the temperature of the driving environment in real time and obtain temperature data; the humidity sensor can collect the humidity of the driving environment in real time and obtain humidity data. By using the temperature and humidity sensors mounted on the first vehicle, the electronic equipment can acquire the temperature and humidity of the driving environment in real time, so as to determine in real time whether liquids on the road are freezing. The sensor data includes at least one of the following: infrared image, microwave image, visible light image, temperature data, and humidity data.
[0042] It is understandable that sensor data inevitably contains errors due to factors such as sensor manufacturing processes, installation methods, and environmental conditions. Therefore, electronic devices can calibrate the sensor data to remove erroneous data and obtain processed sensor data. The calibration method for sensor data is not limited here; one possible calibration method is shown below.
[0043] Sensing data may include systematic errors. Generally, systematic errors are constant; therefore, pre-set data can be subtracted from the sensing data to remove systematic errors. Alternatively, systematic errors may vary according to a certain pattern. Based on this, a linear function representing the relationship between sensing data and systematic error data can be obtained. The systematic error data is then determined based on the linear function and the sensing data, and subtracted from the sensing data to remove systematic errors. For example, the sensing data after removing systematic errors can be determined according to De = Di + fc(Di), where De represents the sensing data after removing systematic errors, Di represents the sensing data, and fc(·) is a linear function.
[0044] The sensing data may also include noise. In this example, the electronic device acquires a first threshold, removes data in the sensing data that is greater than the first threshold, and retains data in the sensing data that is not greater than the first threshold. This removes noise data from the sensing data. Optionally, the electronic device may also acquire a second threshold, and from the sensing data after removing data greater than the first threshold, remove data less than the second threshold, and retain data greater than the second threshold, thereby further removing noise data. Optionally, the sensing data after removing system error data and noise data is determined according to Dn = R(De, u). Here, Dn represents the sensing data after removing system error data and noise data, De represents the sensing data after removing system error data, u represents the first threshold, or u represents both the first and second thresholds. R(·) is a function for removing noise data.
[0045] In this example, the processed sensor data includes any of the following: sensor data after removing systematic error data; sensor data after removing noise data; and sensor data after removing both systematic error data and noise data. The electronic device can identify the processed sensor data as environmental data.
[0046] By correcting the sensor data, erroneous data is removed, improving data accuracy and consequently, the accuracy of liquid information. This increased accuracy allows for precise prediction of whether a liquid will freeze, enabling timely warnings and ensuring driving safety.
[0047] Optionally, determining environmental data based on the processed sensor data includes: determining a quality index based on the processed sensor data, the quality index being used to indicate the quality of the processed sensor data; and determining the processed sensor data as environmental data if the quality index meets the conditions.
[0048] Quality metrics are used to indicate the quality of processed sensor data. Optionally, the quality metric is positively correlated with the quality of the processed sensor data, that is, the larger the quality metric, the higher the quality of the processed sensor data. Alternatively, the quality metric is negatively correlated with the quality of the processed sensor data, that is, the smaller the quality metric, the higher the quality of the processed sensor data. This application does not limit the method of determining the quality metric.
[0049] For example, an electronic device can determine an average value based on the processed sensor data, and then determine a quality index based on the average value and the processed sensor data. In this implementation, the more dispersed the processed sensor data, the lower its quality.
[0050] Alternatively, the processed sensor data is the sensor data after removing systematic error data and noise data. Electronic devices can calculate quality indicators based on the difference between the sensor data after removing systematic error data and the sensor data after removing systematic error data and noise data. For example, according to... Calculate the quality index. Here, Screen represents the quality index. N represents the number of sensor data points, Dn(i) represents the i-th sensor data point after removing system error data and noise data, and De(i) represents the i-th sensor data point after removing system error data.
[0051] If the quality index is positively correlated with the quality of the processed sensor data, then: when the quality index is greater than the index threshold, the electronic device determines that the quality index meets the condition and can identify the processed sensor data as environmental data; when the quality index is not greater than the index threshold, the electronic device determines that the quality index does not meet the condition, and can change the data or linear function related to system error, the first threshold and / or the second threshold related to noise data, recalibrate the sensor data based on the changed data, and determine whether the quality index of the processed sensor data meets the condition according to the method of the embodiments of this application, so that when the quality index meets the condition, the processed sensor data can be identified as environmental data.
[0052] If the quality index is negatively correlated with the quality of the processed sensor data, then: when the quality index is less than the index threshold, the electronic device determines that the quality index meets the condition and can identify the processed sensor data as environmental data; when the quality index is not less than the index threshold, the electronic device determines that the quality index does not meet the condition, and can change the data or linear function related to system error, the first threshold and / or the second threshold related to noise data, recalibrate the sensor data based on the changed data, and determine whether the quality index of the processed sensor data meets the condition according to the method of the embodiments of this application, so that when the quality index meets the condition, the processed sensor data can be identified as environmental data.
[0053] By identifying sensor data that meets the quality criteria as environmental data, the quality of environmental data is ensured, which helps improve the accuracy of icing information and ensures driving safety.
[0054] In another possible implementation, step 201 includes: acquiring transmission data, which is obtained by encrypting, obfuscating, blurring, or adding noise to environmental data; and determining environmental data based on the transmission data.
[0055] In this embodiment, the vehicle-mounted terminal can acquire sensor data (i.e., environmental data before calibration), process the sensor data into transmission data, and send the transmission data to the server. Alternatively, the vehicle-mounted terminal can acquire sensor data, calibrate the sensor data to obtain environmental data, process the environmental data into transmission data, and send the transmission data to the server. The processing methods for sensor data or environmental data include at least one of encryption processing, obfuscation processing, blurring processing, and noise addition processing, and the order of these processing steps is not limited here.
[0056] Optionally, noise can be added to the sensor data or environmental data first. For example, according to x′=x+N(0, y 2 This involves adding noise to sensor data or environmental data. Here, x′ represents the data after adding noise, x represents the sensor data or environmental data, and N(0, y) = ... 2 The representation has a mean of 0 and a variance of y. 2 Gaussian noise (i.e., difference noise) is added, and the value of y is not limited here; for example, y = 1. Then, the noisy data is encrypted. For example, according to x″ = f(x′ + N(0, y...),... 2 The noisy data is homomorphically encrypted using the following steps: x″ represents the homomorphically encrypted data, k represents the encryption key, and f(·) represents the homomorphic encryption function. Next, the encrypted data is obfuscated. For example, according to x″′=M×x″+N(0, y 2 The encrypted data is then obfuscated. Here, x″′ represents the obfuscated data, and M represents the obfuscation matrix. Next, the obfuscated data is blurred. For example, it is blurred according to x″″=F(x″′,p). Here, x″″ represents the blurred data, F(·) is the blurring function, and p is the parameter of the blurring function.
[0057] After processing the sensor data or environmental data, the transmitted data is obtained. The vehicle terminal sends the transmitted data to the server. After receiving the transmitted data, the server parses it to obtain the sensor data or environmental data. Optionally, the server corrects the sensor data to obtain the environmental data. It can be understood that the process of parsing the transmitted data is the reverse process of processing the transmitted data; the specific parsing method will not be elaborated here.
[0058] By encrypting, obfuscating, blurring, and adding noise to environmental data, the transmitted data becomes difficult for malicious attackers to reconstruct, reducing the probability of malicious attackers stealing, tampering with, or destroying environmental data, thus protecting vehicle owner data and improving data security.
[0059] Step 202: Determine liquid information based on environmental data. Liquid information is used to describe the types of liquids present on the road in the driving environment.
[0060] Environmental data is used to describe the driving environment of the first vehicle, including the road on which the first vehicle travels. Electronic devices can determine, based on the environmental data, whether a liquid exists on the road. Any type of liquid can exist on the road; for example, liquids can include water and oil. If the electronic device determines that a liquid exists on the road, it can further identify the type of liquid based on the environmental data; for example, it can identify the liquid on the road as water.
[0061] In one possible implementation, step 202 includes: determining reflection information based on environmental data, the reflection information characterizing the reflectivity of the liquid to light; and determining liquid information based on the reflection information.
[0062] In this example, the environmental data includes at least one of the infrared or microwave images mentioned above. Optionally, the environmental data also includes a visible light image. That is, the environmental data can be represented as: D = (Dn(A), Dn(B), Dn(C), t). Wherein, D represents the environmental data. A represents the infrared image, and Dn(A) represents the infrared image after removing systematic error data and noise data. B represents the microwave image, and Dn(B) represents the microwave image after removing systematic error data and noise data. C represents the visible light image, and Dn(C) represents the visible light image after removing systematic error data and noise data. t represents time.
[0063] For any given image, the electronic device can first identify the road region from the image, then perform image recognition on the road region to obtain the probability that each pixel in the road region belongs to liquid. Pixels with probabilities greater than a probability threshold are selected from these pixels, and connected regions are determined based on the selected pixels. Each of the following image types—infrared, microwave, and visible light—can determine a connected region. If there are at least two types of images, the connected regions of the various images are merged to obtain a merged region. The electronic device can determine the area of the connected region or the merged region. If the area is greater than or equal to an area threshold, it is determined that liquid exists on the road where the first vehicle is traveling; if the area is less than the area threshold, it is determined that liquid does not exist on the road where the first vehicle is traveling.
[0064] When a liquid is present on the road where the first vehicle is traveling, the electronic device acquires the connected regions of each image and determines the reflection information based on these regions. Specifically, the electronic device can determine infrared reflection information from the connected regions of an infrared image; this infrared reflection information characterizes the liquid's reflectivity to infrared light. Similarly, the electronic device can determine microwave reflection information from the connected regions of a microwave image; this microwave reflection information characterizes the liquid's reflectivity to microwaves. Furthermore, the electronic device can determine visible light reflection information from the connected regions of a visible light image; this visible light reflection information characterizes the liquid's reflectivity to visible light. The electronic device can thus determine liquid information based on these various reflection parameters.
[0065] It is understandable that different liquids have different reflectivities of light. For example, comparing water and oil, we know that water has a relatively high reflectivity of infrared light, while oil has a relatively low reflectivity of infrared light; water has a relatively high absorption rate of microwaves, which makes water have a relatively low reflectivity of microwaves, while oil has a relatively low absorption rate of microwaves, which makes oil have a relatively high reflectivity of microwaves.
[0066] Based on the above, if the reflectivity represented by infrared reflection information is lower than the first reflectivity, and / or the reflectivity represented by microwave reflection information is higher than the second reflectivity, the electronic device determines that the liquid on the road is oil. If the reflectivity represented by infrared reflection information is higher than the first reflectivity, and / or the reflectivity represented by microwave reflection information is lower than the second reflectivity, the electronic device determines that the liquid on the road is water. Whether the first and second reflectivities are the same or different can be determined based on human experience or experimental verification.
[0067] In practical applications, the type of liquid on the road can also be determined based on the reflection information of other light sources. For example, if the reflectivity characterized by infrared reflection is lower than the first reflectivity, and / or the reflectivity characterized by microwave reflection is higher than the second reflectivity, and the reflectivity characterized by visible light reflection is lower than the third reflectivity, then the electronic device determines that the liquid on the road is oil. If the reflectivity characterized by infrared reflection is higher than the first reflectivity, and / or the reflectivity characterized by microwave reflection is lower than the second reflectivity, and the reflectivity characterized by visible light reflection is lower than the third reflectivity, then the electronic device determines that the liquid on the road is water. If the reflectivity characterized by visible light reflection is higher than the third reflectivity, then the electronic device determines that the liquid on the road is neither water nor oil. The third reflectivity can be the same as or different from the first and second reflectivities, and can be determined based on human experience or experimental verification.
[0068] In this example, the electronic device first determines whether there is liquid on the road where the first vehicle is traveling based on environmental data. If liquid is present on the road, it then determines the type of liquid based on the environmental data. This reduces computational load and saves computational and storage resources. Since different liquids have different reflectivities of light, determining liquid information based on the reflection information of various light rays allows for accurate identification of liquid types by utilizing the characteristics of different light rays, which helps improve the accuracy of icing information.
[0069] Step 203: Determine icing information based on liquid information and environmental data. Icing information is used to describe whether the liquid has frozen.
[0070] Since liquid information can characterize the type of liquid, and different types of liquids have different requirements for the icing environment, electronic devices can accurately determine icing information based on liquid information and environmental data, so as to provide timely warnings based on the icing information.
[0071] This application does not limit the method for determining icing information. Optionally, the environmental data includes at least one of temperature data or humidity data. Step 203 includes: obtaining solidification data based on liquid information, wherein the solidification data is used to indicate the solidification temperature of the liquid; and determining icing information based on at least one of temperature data or humidity data and the solidification data.
[0072] Different liquids have different freezing temperatures. The freezing temperature of a liquid refers to the critical temperature at which a substance changes from a liquid to a solid. For example, under standard atmospheric pressure, the freezing temperature of water is 0°C (110°F), meaning that water will begin to freeze when its temperature drops to 0°C. Based on this, electronic devices can obtain freezing data according to liquid information, thereby realizing the acquisition of the freezing temperature corresponding to the type of liquid indicated by the liquid information.
[0073] Electronic devices can determine whether a liquid has frozen based on at least one of temperature or humidity data, as well as freezing data, and the method of determination is not limited here. For example, when the temperature data is higher than the freezing data, the electronic device determines that the liquid has not frozen; when the temperature data is lower than the freezing data, the electronic device determines that the liquid has frozen.
[0074] For example, electronic devices determine an icing index based on temperature, humidity, and freezing data. The icing index indicates the likelihood of a liquid freezing. Optionally, the electronic device... A freezing index is determined. Here, I represents the freezing index, Tf represents the freezing data, T represents the temperature data, and H represents the humidity data. Generally, the higher the freezing index, the higher the probability of the liquid freezing. Based on this, the electronic device obtains an index threshold. If the freezing index is higher than the index threshold, the electronic device determines that the liquid has frozen; if the freezing index is lower than the index threshold, the electronic device determines that the liquid has not frozen. The index threshold can be determined based on human experience or experimental verification.
[0075] Since different types of liquids correspond to different freezing temperatures, icing information can be determined by using temperature data, humidity data, and freezing data. This enables accurate determination of whether the current type of liquid will freeze in the driving environment, thus improving the accuracy of icing information.
[0076] Step 204: In the case of liquid freezing described in the freezing information, generate a warning message for the first vehicle.
[0077] The vehicle's onboard terminal can determine icing information and, upon confirming liquid icing, generate a warning message for the first vehicle and issue a warning based on that message. The server can also determine icing information, generate a warning message for the first vehicle, and send it to the vehicle's onboard terminal. Upon receiving the warning message, the vehicle's onboard terminal issues a warning based on that message. The type and content of the warning message are not limited here. For example, the warning message can be text, images, audio, or video, and the onboard terminal can display the warning message on a screen or issue it via audio.
[0078] Optionally, the method in this application embodiment further includes: acquiring first location data of a first vehicle and second location data of a second vehicle; determining the distance between the first vehicle and the second vehicle based on the first location data and the second location data; and generating a warning message for the second vehicle if the distance is less than a threshold.
[0079] In this embodiment, the on-board terminal of the first vehicle can determine icing information and, upon determining that the liquid has frozen, send the icing information and first location data to the server. The server itself can also determine the icing information and obtain the first location data.
[0080] In addition, the server can acquire second location data for at least one second vehicle. For each second vehicle, the distance between the first and second vehicles is determined based on the first and second location data. If the distance is less than a distance threshold, the server generates a warning message for the second vehicle and sends it to the vehicle's onboard terminal. Upon receiving the warning message, the onboard terminal of the second vehicle issues a warning based on the warning message.
[0081] Optionally, the second vehicle travels in the same direction as the first vehicle and is positioned behind the first vehicle. By sending warning information to the second vehicles surrounding the first vehicle, a warning message about liquid icing is broadcast to surrounding vehicles, improving the driving safety of multiple vehicles.
[0082] The vehicle warning method of this application embodiment has been described above from the perspective of method and steps. The following is a systematic and comprehensive explanation. In this example, the first vehicle includes a safety warning system, which is used to implement the vehicle warning method of this application embodiment. Figure 3 As shown, Figure 3 This is a framework diagram of a security early warning system provided in an embodiment of this application. The security early warning system includes a data acquisition unit, a data analysis unit, and a sharing and protection unit.
[0083] The data acquisition unit is used to collect sensor data. In this example, the data acquisition unit includes a humidity sensor, a temperature sensor, an infrared sensor, a microwave sensor, and a visible light sensor. During the vehicle's movement, the infrared sensor uses infrared light to collect the driving environment and obtain an infrared image; the microwave sensor uses microwaves to collect the driving environment and obtain a microwave image; the visible light sensor uses visible light to collect the driving environment and obtain a visible light image; the temperature sensor collects the temperature of the driving environment in real time and obtains temperature data; and the humidity sensor collects the humidity of the driving environment in real time and obtains humidity data.
[0084] The data analysis unit includes a preprocessing unit, a liquid identification unit, and an icing prediction unit. In this example, the preprocessing unit is used to correct the transmitted data to obtain environmental data. The liquid identification unit is used to determine liquid information based on the environmental data. The icing prediction unit is used to determine icing information based on the liquid information and the environmental data.
[0085] The sharing and protection unit includes a data sharing unit and a data protection unit. The data sharing unit generates warning information for a first vehicle and a second vehicle when the icing information describes liquid icing. The data protection unit performs at least one of the following processing methods on the environmental data or sensor data: encryption, obfuscation, blurring, and noise addition, to obtain transmission data for network transmission.
[0086] The safety warning system is used to execute the vehicle warning method. Steps 201 to 204 have already described each step of the vehicle warning method in detail. Therefore, the implementation of each step will not be repeated here.
[0087] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant regions. For example, the environmental data and sensor data involved in this application were obtained with full authorization.
[0088] In the above method, since different liquids have different requirements for the icing environment, liquid information characterizing the liquid type is first determined based on environmental data. Then, icing information describing whether the liquid has frozen is determined based on the liquid information and environmental data. This enables real-time determination of whether liquids on the road have frozen based on the vehicle's driving environment, improving the accuracy of icing information. By generating early warning information for the first vehicle when the icing information describes liquid freezing, timely vehicle warnings are provided, improving driving safety.
[0089] Figure 4 The diagram shown is a structural schematic of a vehicle warning device provided in an embodiment of this application. Figure 4 As shown, the device includes:
[0090] The acquisition module 401 is used to acquire environmental data, which is used to describe the driving environment of the first vehicle.
[0091] The determination module 402 is used to determine liquid information based on environmental data. The liquid information is used to describe the type of liquid present on the road in the driving environment.
[0092] The determination module 402 is also used to determine icing information based on liquid information and environmental data. The icing information is used to describe whether the liquid has frozen.
[0093] The generation module 403 is used to generate a warning message for the first vehicle when the icing information describes liquid icing.
[0094] In one possible implementation, the acquisition module 401 is used to acquire transmission data, which is obtained by encrypting, obfuscating, blurring, or adding noise to environmental data; and to determine environmental data based on the transmission data.
[0095] In one possible implementation, the acquisition module 401 is used to acquire sensing data, which is obtained by collecting the driving environment through sensors; to perform correction processing on the sensing data to obtain processed sensing data; and to determine environmental data based on the processed sensing data.
[0096] In one possible implementation, the acquisition module 401 is used to determine a quality index based on the processed sensor data, the quality index being used to indicate the quality of the processed sensor data; if the quality index meets the conditions, the processed sensor data is determined as environmental data.
[0097] In one possible implementation, the determining module 402 is used to determine reflection information based on environmental data, the reflection information being a characterization of the reflectivity of the liquid to light; and to determine liquid information based on the reflection information.
[0098] In one possible implementation, the environmental data includes at least one of temperature data or humidity data;
[0099] The determination module 402 is used to obtain solidification data based on liquid information, the solidification data being used to indicate the solidification temperature of the liquid; and to determine icing information based on at least one of temperature data or humidity data and solidification data.
[0100] In one possible implementation, the acquisition module 401 is further configured to acquire first position data of the first vehicle and second position data of the second vehicle.
[0101] The determining module 402 is also used to determine the distance between the first vehicle and the second vehicle based on the first position data and the second position data;
[0102] The generation module 403 is used to generate warning information for the second vehicle when the distance is less than a threshold.
[0103] In the aforementioned device, since different liquids have different requirements for the icing environment, liquid information characterizing the liquid type is first determined based on environmental data. Then, icing information describing whether the liquid has frozen is determined based on the liquid information and environmental data. This enables real-time determination of whether liquids on the road have frozen based on the vehicle's driving environment, improving the accuracy of icing information. By generating early warning information for the first vehicle when the icing information describes liquid freezing, timely vehicle warnings are provided, improving driving safety.
[0104] It should be understood that the above Figure 4 The provided device, in implementing its functions, is only illustrated by the division of the above-described functional modules. In practical applications, the functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments, and will not be repeated here.
[0105] Figure 5A structural block diagram of an in-vehicle terminal 500 provided in an exemplary embodiment of this application is shown. The in-vehicle terminal 500 includes a processor 501 and a memory 502.
[0106] Processor 501 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 501 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 501 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 501 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 501 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0107] The memory 502 may include one or more computer-readable storage media, which may be non-transitory. The memory 502 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 502 are used to store at least one computer program, which is executed by the processor 501 to implement the vehicle warning method provided in the method embodiments of this application.
[0108] In some embodiments, the vehicle terminal 500 may optionally include a peripheral device interface 503 and at least one peripheral device. The processor 501, memory 502, and peripheral device interface 503 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 503 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 504, a display screen 505, a camera assembly 506, an audio circuit 507, and a power supply 508.
[0109] Peripheral device interface 503 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 501 and memory 502. In some embodiments, processor 501, memory 502 and peripheral device interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 501, memory 502 and peripheral device interface 503 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0110] The radio frequency (RF) circuit 504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 504 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 504 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 504 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 504 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0111] Display screen 505 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 505 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 501 for processing. In this case, display screen 505 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 505, disposed on the front panel of the vehicle terminal 500; in other embodiments, there may be at least two display screens, disposed on different surfaces of the vehicle terminal 500 or in a folded design; in still other embodiments, display screen 505 may be a flexible display screen, disposed on a curved or folded surface of the vehicle terminal 500. Furthermore, display screen 505 may be configured as a non-rectangular irregular shape, i.e., a non-rectangular screen. Display screen 505 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).
[0112] The camera assembly 506 is used to acquire images or videos. Optionally, the camera assembly 506 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 506 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0113] The audio circuit 507 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 501 for processing, or input to the radio frequency circuit 504 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the vehicle terminal 500. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert the electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 507 may also include a headphone jack.
[0114] Power supply 508 is used to power the various components in the vehicle terminal 500. Power supply 508 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 508 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0115] In some embodiments, the vehicle terminal 500 further includes one or more sensors 509. The one or more sensors 509 include, but are not limited to: an acceleration sensor 511, a gyroscope sensor 512, a pressure sensor 513, an optical sensor 514, and a proximity sensor 515.
[0116] Accelerometer 511 can detect the magnitude of acceleration on the three coordinate axes of a coordinate system established by the vehicle terminal 500. For example, accelerometer 511 can be used to detect the components of gravitational acceleration on the three coordinate axes. Processor 501 can control display screen 505 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 511. Accelerometer 511 can also be used for games or for acquiring user motion data.
[0117] The gyroscope sensor 512 can detect the orientation and rotation angle of the vehicle terminal 500. The gyroscope sensor 512, in conjunction with the accelerometer sensor 511, can collect 3D motion data from the user on the vehicle terminal 500. Based on the data collected by the gyroscope sensor 512, the processor 501 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0118] The pressure sensor 513 can be installed on the side frame of the vehicle terminal 500 and / or on the lower layer of the display screen 505. When the pressure sensor 513 is installed on the side frame of the vehicle terminal 500, it can detect the user's grip signal on the vehicle terminal 500, and the processor 501 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 513. When the pressure sensor 513 is installed on the lower layer of the display screen 505, the processor 501 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 505. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0119] An optical sensor 514 is used to collect ambient light intensity. In one embodiment, the processor 501 can control the display brightness of the display screen 505 based on the ambient light intensity collected by the optical sensor 514. Specifically, when the ambient light intensity is high, the display brightness of the display screen 505 is increased; when the ambient light intensity is low, the display brightness of the display screen 505 is decreased. In another embodiment, the processor 501 can also dynamically adjust the shooting parameters of the camera assembly 506 based on the ambient light intensity collected by the optical sensor 514.
[0120] The proximity sensor 515, also known as a distance sensor, is typically installed on the front panel of the vehicle terminal 500. The proximity sensor 515 is used to detect the distance between the user and the front of the vehicle terminal 500. In one embodiment, when the proximity sensor 515 detects that the distance between the user and the front of the vehicle terminal 500 is gradually decreasing, the processor 501 controls the display screen 505 to switch from a screen-on state to a screen-off state; when the proximity sensor 515 detects that the distance between the user and the front of the vehicle terminal 500 is gradually increasing, the processor 501 controls the display screen 505 to switch from a screen-off state to a screen-on state.
[0121] Those skilled in the art will understand that Figure 5 The structure shown does not constitute a limitation on the vehicle terminal 500, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0122] Figure 6This is a schematic diagram of the server structure provided in the embodiments of this application. The server 600 can vary considerably due to different configurations or performance. It may include one or more processors 601 and one or more memories 602. The one or more memories 602 store at least one computer program, which is loaded and executed by the one or more processors 601 to implement the vehicle warning method provided in the above-described method embodiments. For example, the processor 601 is a CPU. Of course, the server 600 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server 600 may also include other components for implementing device functions, which will not be elaborated here.
[0123] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one computer program that is loaded and executed by a processor to enable an electronic device to implement any of the vehicle warning methods described above.
[0124] Optionally, the aforementioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0125] In an exemplary embodiment, a computer program is also provided, which is at least one such computer program, loaded and executed by a processor to enable the electronic device to implement any of the vehicle warning methods described above.
[0126] In an exemplary embodiment, a computer program product is also provided, which stores at least one computer program that is loaded and executed by a processor to enable an electronic device to implement any of the vehicle warning methods described above.
[0127] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0128] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0129] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
Claims
1. A vehicle early warning method, characterized in that, The method includes: Acquire sensor data, which is obtained by collecting the driving environment of the first vehicle through sensors; The sensor data is corrected to obtain processed sensor data, which includes: sensor data after removing system error data and noise data, and sensor data after removing system error data; wherein, according to Determine the sensor data after removing the system error data, the The sensor data after removing the system error data represents the sensor data. Characterizing the sensing data, the It is a linear function; according to Calculate the quality indicators, the The quality index characterizes the quality of the processed sensor data, and N characterizes the quantity of the sensor data. The i-th sensor data after removing system error data and noise data, the The sensor data after removing the systematic error data is represented; If the quality indicators meet the conditions, the processed sensor data is determined as environmental data, which is used to describe the driving environment. Liquid information is determined based on the environmental data, and the liquid information is used to describe the type of liquid present on the road in the driving environment; Icing information is determined based on the liquid information and the environmental data, and the icing information is used to describe whether the liquid has frozen. When the icing information describes the liquid freezing, a warning message is generated for the first vehicle.
2. The method according to claim 1, characterized in that, The method further includes: Acquire transmission data, wherein the transmission data is obtained by performing at least one of the following processes on the environmental data: encryption, obfuscation, blurring, and noise addition; The environmental data is determined based on the transmitted data.
3. The method according to claim 1, characterized in that, The step of determining liquid information based on the environmental data includes: The reflection information is determined based on the environmental data, and the reflection information characterizes the reflectivity of the liquid to light; Liquid information is determined based on the reflected information.
4. The method according to claim 1, characterized in that, The environmental data includes at least one of temperature data or humidity data; determining the icing information based on the liquid information and the environmental data includes: Solidification data is obtained based on the liquid information, and the solidification data is used to indicate the solidification temperature of the liquid; Icing information is determined based on at least one of the temperature data or the humidity data, and the freezing data.
5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: Acquire the first location data of the first vehicle and the second location data of the second vehicle; Based on the first location data and the second location data, the distance between the first vehicle and the second vehicle is determined; If the distance is less than the threshold, a warning message for the second vehicle is generated.
6. A vehicle warning device, characterized in that, The device includes: The acquisition module is used to acquire sensor data, which is obtained by collecting the driving environment of the first vehicle through sensors. The acquisition module is further configured to perform correction processing on the sensing data to obtain processed sensing data, wherein the processed sensing data includes: sensing data after removing system error data and noise data, and sensing data after removing system error data; wherein, according to Determine the sensor data after removing the system error data, the The sensor data after removing the system error data represents the sensor data. Characterizing the sensing data, the It is a linear function; The acquisition module is also used to... Calculate the quality indicators, the The quality index characterizes the quality of the processed sensor data, and N characterizes the quantity of the sensor data. The i-th sensor data after removing system error data and noise data, the The sensor data after removing the systematic error data is represented; The acquisition module is further configured to determine the processed sensor data as environmental data when the quality indicators meet the conditions, and the environmental data is used to describe the driving environment. The determination module is used to determine liquid information based on the environmental data, wherein the liquid information is used to describe the type of liquid present on the road in the driving environment; The determining module is further configured to determine freezing information based on the liquid information and the environmental data, wherein the freezing information is used to describe whether the liquid has frozen; A generation module is used to generate warning information for the first vehicle when the icing information describes the liquid freezing.
7. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing at least one computer program, which is loaded and executed by the processor to enable the electronic device to implement the vehicle warning method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to enable the electronic device to implement the vehicle warning method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Method for processing data of asynchronous multiple sensors based on noise error and system thereof
CN101630445A
Real time comprehensive correction method for accurate length measurement and control and its device
CN1036075A