Drainage system blockage detection method and device, vehicle and readable storage medium
By calculating the difference between the target and actual drainage volume of the drainage system when the vehicle sunroof is in contact with water, and judging whether the drainage system is blocked, the problem of undetectable blockage in the sunroof drain pipe is solved, and timely warning and dredging are achieved to avoid water leakage.
Patent Information
- Application Number
- CN202410378441.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2025-09-30
AI Technical Summary
Existing technologies are unable to effectively detect whether a vehicle's sunroof drain pipe is clogged, resulting in water leakage problems that cannot be discovered and resolved in a timely manner.
By determining the target drainage volume and actual posture of the drainage system when the vehicle sunroof is in contact with water, calculating the difference between the actual drainage volume and the target drainage volume, judging whether the drainage system is blocked, and issuing warnings and prompts based on the size of the difference.
Accurately determine whether the drainage system is blocked and promptly notify the user to clear it, avoiding sunroof leakage and improving the vehicle's waterproof performance.
Smart Images

Figure CN120716611A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and more particularly, to a drainage system blockage detection method, device, vehicle, and computer-readable storage medium in the field of vehicle technology. Background Art
[0002] Most vehicles today are equipped with sunroofs, which can leak during use. One possible cause of sunroof leaks is a clogged drain pipe. Because the drain pipe is located inside the vehicle, it's difficult for users to inspect. When the drain pipe becomes clogged or has a gap, users often fail to detect the leak until it's too late, potentially causing vehicle damage. Therefore, detecting a clogged sunroof drain pipe has become a pressing issue. Summary of the Invention
[0003] The present application provides a drainage system blockage detection method, device, vehicle and computer-readable storage medium. The present application can accurately detect whether the drainage system of a vehicle sunroof is blocked, thereby avoiding water leakage of the sunroof.
[0004] In a first aspect, a method for detecting blockage of a drainage system is provided, which includes: determining a target drainage volume of the drainage system of a vehicle sunroof when the sunroof is in contact with water; obtaining the actual posture of the vehicle; determining the actual drainage volume of the drainage system based on the actual posture; and judging whether the drainage system is blocked based on the difference between the actual drainage volume and the target drainage volume.
[0005] In the above technical solution, the embodiment of the present application adopts a technical solution that determines the target drainage volume of the sunroof's drainage system when the vehicle's sunroof is in contact with water, obtains the vehicle's actual posture, determines the actual drainage volume of the drainage system based on the actual posture, and judges whether the drainage system is blocked based on the difference between the actual drainage volume and the target drainage volume. This can accurately judge whether the drainage system is blocked. When it is detected that the sunroof's drainage system is blocked, an early warning is issued and the user is notified in time, allowing the user to intervene in the unblocking of the drainage system as soon as possible, thereby avoiding water leakage from the sunroof.
[0006] In combination with the first aspect, in some possible implementations, determining the target drainage volume of the drainage system of the skylight includes: if the scene in which the skylight is in contact with water is a rainy scene, obtaining the rainfall and the first area of the rainy area on the top surface of the skylight; determining the target drainage volume based on the rainfall and the first area.
[0007] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, determining the target drainage volume of the drainage system of the sunroof includes: if the scene in which the sunroof is in contact with water is a car washing scene, obtaining a car washing method; wherein the car washing method is a first method of automatic car washing using a car washing device or a second type of manual car washing performed by a user holding a water gun; obtaining the water output of the water outlet device corresponding to the car washing method, and the flushing pressure of the water flowing out of the water outlet device on the top surface of the sunroof; wherein, if the car washing method is the first method, the water outlet device is a water spraying component in the car washing device that sprays water toward the top surface of the sunroof; if the car washing method is the second method, the water outlet device is the water gun; determining the second area of the water receiving area of the top surface of the sunroof according to the car washing method; and determining the target drainage volume according to the water output, the flushing pressure and the second area.
[0008] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, determining the second area of the water-receiving area of the top surface of the skylight according to the car washing method includes: if the car washing method is the first method, determining the top surface area of the top surface of the skylight as the second area; if the car washing method is the second method, determining the second area according to the height and angle of the water outlet of the water gun.
[0009] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the drainage system includes multiple drainage pipes, and the respective setting positions of the multiple drainage pipes are different; determining the actual drainage volume of the drainage system according to the actual posture includes: obtaining a preset pipeline identifier associated with the actual posture; determining the drainage pipeline with the pipeline identifier of the preset pipeline identifier among the multiple drainage pipes as the target pipeline; obtaining the pipeline drainage volume of the target pipeline; and determining the actual drainage volume based on the pipeline drainage volume.
[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, judging whether the drainage system is blocked based on the difference between the actual drainage volume and the target drainage volume includes: judging whether the difference is less than or equal to a first threshold value; if the difference is less than or equal to the first threshold value, judging that the drainage system is not blocked; if the difference is greater than the first threshold value, judging that the drainage system is blocked.
[0011] In combination with the first aspect and the above implementations, in certain possible implementations, after determining that the drainage system is blocked when the difference is greater than the first threshold, the drainage system blockage detection method further includes: if the difference is greater than the first threshold and less than or equal to a second threshold, determining that the drainage system is blocked at a first level and performing a first prompt operation; wherein the first prompt operation includes outputting a first prompt message indicating that the drainage system is blocked and prompting a user to perform a self-inspection of the drainage system; if the difference is greater than the second threshold and less than or equal to a third threshold, determining that the drainage system is blocked at a second level and performing a second prompt operation; wherein the second prompt operation includes outputting a second prompt message indicating that the drainage system is blocked and, when the vehicle is powered on again, outputting the second prompt message and a video guiding unblocking the drainage system; if the difference is greater than the third threshold and less than or equal to a fourth threshold, determining that the drainage system is blocked at a third level and performing a third prompt operation; wherein the third prompt operation includes outputting a third prompt message indicating that the user needs to have the drainage system unblocked and maintained at a vehicle after-sales service center and schedule a maintenance appointment, and the first threshold < the second threshold < the third threshold < the fourth threshold.
[0012] In a second aspect, a drainage system blockage detection device is provided, the drainage system blockage detection device comprising:
[0013] a first determining module, configured to determine a target drainage volume of a drainage system of a sunroof when the sunroof of the vehicle is in contact with water;
[0014] A posture acquisition module, used to obtain the actual posture of the vehicle;
[0015] A second determining module is used to determine the actual drainage volume of the drainage system according to the actual posture;
[0016] The blockage judgment module is used to judge whether the drainage system is blocked according to the difference between the actual drainage volume and the target drainage volume.
[0017] With reference to the second aspect, in some possible implementations, the first determining module includes:
[0018] The first determination unit is used to obtain the rainfall and the first area of the rain-drenched area on the top surface of the skylight if the scene in which the skylight is in contact with water is a rainy scene; and determine the target drainage volume according to the rainfall and the first area.
[0019] In combination with the second aspect and the foregoing implementations, in some possible implementations, the first determining module includes:
[0020] a first acquiring unit, configured to acquire a car washing method if the scene in which the sunroof is in contact with water is a car washing scene; wherein the car washing method is a first method of automatic car washing using a car washing device or a second type of manual car washing performed by a user holding a water gun;
[0021] a second obtaining unit, configured to obtain a water output of a water outlet device corresponding to the car washing method, and a flushing pressure of the water discharged from the water outlet device on the top surface of the sunroof; wherein, if the car washing method is the first method, the water outlet device is a water spraying component in the car washing device that sprays water toward the top surface of the sunroof; and if the car washing method is the second method, the water outlet device is the water gun;
[0022] a second determining unit, configured to determine an area of a second region of the water receiving area of the top surface of the skylight according to the car washing method;
[0023] The third determining unit is configured to determine the target drainage volume according to the water output, the flushing pressure, and the area of the second region.
[0024] In combination with the second aspect and the above-mentioned implementation method, in some possible implementation methods, the second determination unit is specifically used to: if the car washing method is the first method, determine the top surface area of the skylight top surface as the second area area; if the car washing method is the second method, determine the second area area according to the height and angle of the water outlet of the water gun.
[0025] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the drainage system includes multiple drainage pipes, and the multiple drainage pipes are set at different positions. The second determination module is specifically used to: obtain the preset pipeline identifier associated with the actual posture; determine the drainage pipeline with the pipeline identifier of the multiple drainage pipes as the preset pipeline identifier as the target pipeline; obtain the pipeline drainage volume of the target pipeline; and determine the actual drainage volume based on the pipeline drainage volume.
[0026] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the blockage judgment module is specifically used to: determine whether the difference is less than or equal to a first threshold; when the difference is less than or equal to the first threshold, determine that the drainage system is not blocked; when the difference is greater than the first threshold, determine that the drainage system is blocked.
[0027] In combination with the second aspect and the above implementations, in some possible implementations, the drainage system blockage detection device further includes:
[0028] A blockage prompt unit is used to determine that the blockage level of the drainage system is the first level and execute a first prompt operation if the difference is greater than the first threshold and less than or equal to the second threshold; wherein the first prompt operation includes outputting a first prompt message indicating that the drainage system is blocked and prompting the user to perform a self-inspection of the drainage system; if the difference is greater than the second threshold and less than or equal to the third threshold, determining that the blockage level of the drainage system is the second level and executing a second prompt operation; wherein the second prompt operation includes outputting a second prompt message indicating that the drainage system is blocked, and when the vehicle is powered on again, outputting the second prompt message and a guidance video for unblocking the drainage system; if the difference is greater than the third threshold and less than or equal to the fourth threshold, determining that the blockage level of the drainage system is the third level and executing a third prompt operation; wherein the third prompt operation includes outputting a third prompt message indicating that the user needs to unblock and maintain the drainage system and schedule a maintenance appointment through a vehicle after-sales service center, and the first threshold < the second threshold < the third threshold < the fourth threshold.
[0029] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is configured to store executable program code, and the processor is configured to retrieve and execute the executable program code from the memory, so that the vehicle executes the drainage system blockage detection method of the first aspect or any possible implementation of the first aspect.
[0030] In a fourth aspect, a computer program product is provided, which includes: computer program code, which, when running on a computer, enables the computer to execute the drainage system blockage detection method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0031] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the drainage system blockage detection method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A schematic flow chart of a drainage system blockage detection method provided in an embodiment of the present application is shown;
[0033] Figure 2 A schematic diagram of a sunroof of a vehicle is shown;
[0034] Figure 3 A schematic structural diagram of a drainage system blockage detection device provided in an embodiment of the present application is shown;
[0035] Figure 4 A structural schematic diagram of a vehicle provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0036] The following will clearly and thoroughly describe the technical solutions in this application in conjunction with the accompanying drawings. In the description of the embodiments of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more than two.
[0037] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0038] The following is an embodiment of a drainage system blockage detection method provided in an embodiment of the present application.
[0039] Figure 1 FIG. 1 shows a schematic flow chart of a drainage system blockage detection method provided in an embodiment of the present application, as shown in FIG. Figure 1 As shown, the drainage system blockage detection method provided in the embodiment of the present application is applied to a vehicle, the vehicle has a sunroof, the sunroof includes sunroof glass and a drainage system of the sunroof, the drainage system includes multiple drainage pipes, and the multiple drainage pipes are respectively set at different positions. Figure 2 As shown, Figure 2 A schematic diagram of a vehicle sunroof is shown. 100 represents the roof, 101 represents the sunroof glass, and 1011-1014 represent the four drainage pipes in the drainage system. Drainage pipes 1011 and 1014 are located near the front of the vehicle, while drainage pipes 1012 and 1013 are located near the rear. Drainage pipes 1011 and 1012 are located on the right side of the vehicle, while drainage pipes 1013 and 1014 are located on the left side. For example, when it rains or when washing the car, water that falls into the sunroof area will be drained through the four drainage pipes.
[0040] The above-mentioned drainage system blockage detection method includes the following schemes:
[0041] S110 : When the sunroof of the vehicle is in contact with water, determining a target drainage volume of the drainage system of the sunroof.
[0042] In one exemplary embodiment, a vehicle sunroof is in contact with water, specifically, a scenario where the sunroof is in contact with water for an extended period of time, indicating that water has fallen onto the sunroof. This can occur, for example, during rainy weather, during car washing, or when water has flowed from a location above the vehicle's roof and landed on the sunroof after the vehicle is parked. Upon detecting that the vehicle sunroof is in contact with water, a target drainage volume for the sunroof drainage system is calculated. The target drainage volume can also be understood as the theoretical drainage volume of the drainage system. Using the target drainage volume and the actual drainage volume of the drainage system, it is possible to determine whether the drainage system is clogged.
[0043] S120: Acquire the actual position and posture of the vehicle.
[0044] The actual posture is detected by the gyroscope sensor installed in the vehicle. The actual posture is used to represent the vehicle's tilt angle and specific tilt conditions. For example, the vehicle tilt condition is forward (i.e., the height of the front of the vehicle is lower than the height of the rear of the vehicle), and the forward tilt angle is 60 degrees. Among them, the drainage pipes involved in the drainage system may be different depending on the actual posture of the vehicle. Figure 2 For example, when the vehicle tilts forward and the tilt angle is greater than a preset angle (for example, 30 degrees), the drainage pipes involved in drainage in the drainage system are 1011 and 1014 respectively; for example, when the vehicle tilts backward and the tilt angle is greater than a preset angle, the drainage pipes involved in drainage in the drainage system are 1012 and 1013 respectively.
[0045] S130: Determine the actual drainage volume of the drainage system according to the actual position.
[0046] After obtaining the vehicle's actual position, the drainage pipes involved in drainage in the drainage system are determined based on the actual position. The water discharged from each drainage pipe in the drainage system is then tested to determine the drainage volume of each pipe. The drainage volumes of each drainage pipe are then summed to determine the actual drainage volume of the drainage system. Determining the actual drainage volume of the drainage system based on the actual position accurately determines the location of each drainage pipe involved in drainage, facilitating the accurate calculation of the actual drainage volume of the drainage system and, consequently, improving the accuracy of determining whether the drainage system is clogged.
[0047] S140: Determine whether the drainage system is blocked based on the difference between the actual drainage volume and the target drainage volume.
[0048] After obtaining the actual and target drainage volumes, the difference between the two is calculated. If the difference indicates a small difference between the actual and target drainage volumes, the drainage system is determined to be unblocked. If the difference indicates a large difference between the actual and target drainage volumes, the drainage system is determined to be blocked. If the drainage system is blocked, water that falls into the sunroof may not be able to drain out in time, potentially causing the sunroof to leak into the vehicle and causing damage. Therefore, if a blockage in the sunroof drainage system is detected, the user can be notified promptly, allowing them to intervene to clear the drainage system early, thereby preventing sunroof leaks.
[0049] The embodiment of the present application adopts a technical solution that determines the target drainage volume of the sunroof's drainage system when the vehicle's sunroof is in contact with water, obtains the vehicle's actual position, determines the actual drainage volume of the drainage system based on the actual position, and judges whether the drainage system is blocked based on the difference between the actual drainage volume and the target drainage volume. This can accurately judge whether the drainage system is blocked. When it is detected that the sunroof's drainage system is blocked, an early warning is issued and the user is notified in time, allowing the user to intervene in the unblocking of the drainage system as soon as possible, thereby avoiding the occurrence of sunroof leakage.
[0050] The following Figure 1 The specific implementation of each step in the embodiment shown is described below:
[0051] In a possible implementation, determining the target drainage volume of the drainage system of the skylight includes the following scheme:
[0052] If the scene in which the skylight is in contact with water is a rainy scene, obtaining the rainfall amount and the first area of the rainy area on the top surface of the skylight;
[0053] The target drainage volume is determined according to the rainfall and the area of the first region.
[0054] If the scene in which the sunroof is in contact with water is a rainy scene, it means that the vehicle is located in the rain and the rain will splash onto the entire sunroof. Therefore, the top surface area of the sunroof is determined as the first area area of the rain-drenching area of the sunroof top surface, wherein the rain-drenching area is the entire top surface area of the sunroof, and the entire area of the top surface is a preset value. The rainfall is detected by a rain sensor installed on the roof.
[0055] In one possible implementation, the vehicle is located in a rainy external environment and the external environment of the vehicle is in windy weather. The wind direction information of the external environment can be obtained through weather information; based on the wind direction information and the current actual position of the vehicle, the part of the skylight area that is in contact with rainwater is determined. For example, the vehicle is parked on the side of the road, the front of the vehicle faces north, the two front wheels are parked on the sidewalk, and the rear wheels are on the road (that is, the rear wheels are not on the sidewalk). The wind direction information obtained through weather information is south wind. Based on the current actual position of the vehicle and the wind direction information, it can be obtained that the rain-exposed area on the top surface of the skylight is the rear area of the skylight; that is, it can be understood that the rain-exposed area on the top surface of the skylight can also be a part of the skylight; based on the wind direction of the vehicle's current environment and the current actual position of the vehicle, the area of the skylight that is in contact with rainwater and prone to water accumulation is determined to be the rain-exposed area on the top surface of the skylight.
[0056] In one possible implementation, the number of rain sensors in the sunroof can be reduced to save vehicle costs; the rain sensor can be placed in the center of the sunroof. The vehicle's water accumulation area is predicted based on the vehicle's current actual position, wind direction, wind speed, and the direction of rain flow detected by the rain sensor. For example, if the current wind direction is north with high wind speed, the rain sensor located in the center of the sunroof detects that the rain flow is southward, and the vehicle's current actual position indicates that the front area of the vehicle is facing north, then the current water accumulation area of the vehicle is determined to be the rear area of the sunroof. That is, when rain falls on the top surface of the sunroof, the wind direction, wind speed, and the actual position of the vehicle body cause the rain to flow to the rear area of the sunroof, causing water accumulation there. At this point, the target drainage volume is determined based on the rainfall detected by the rain sensor and the area of the rear area of the sunroof.
[0057] Optionally, when predicting the water accumulation area and amount of water in the vehicle's sunroof through the rain sensor and the rain area, the amount of water in the vehicle's sunroof water accumulation area is determined in combination with the current wind force level (for example, wind speed and / or wind direction). When the wind force is relatively small, the amount of water in the corresponding current sunroof water accumulation area is relatively small; when the wind force is relatively large, the amount of water in the corresponding current sunroof water accumulation area is relatively large. For example, the current wind direction is north wind, and the actual position of the vehicle is with the front area facing north. Then, at a level five wind force, the amount of water accumulated on the rear side of the vehicle is greater than the amount of water accumulated in the rear area of the vehicle at a level three wind force. Therefore, the amount of water accumulated in the vehicle's sunroof water accumulation area is determined in combination with the current wind force level to ensure a more accurate prediction of the amount of water accumulated in the vehicle's sunroof, thereby determining a more accurate target drainage volume.
[0058] Optionally, whether the drainage system is blocked can be determined based on the amount of water accumulated in the water accumulation area and the drainage pressure in the water accumulation area; for example, for a water accumulation area with a large amount of water accumulated, if the drainage pressure of the water accumulation area is detected to be less than a preset drainage pressure threshold, it indicates that the drainage system in the water accumulation area is blocked; if the drainage pressure of the water accumulation area is detected to be greater than or equal to the preset drainage pressure threshold, it indicates that the drainage system in the water accumulation area is normal.
[0059] The corresponding drainage volume of rainfall and area is calibrated in advance. Different rainfall and area correspond to different drainage volumes. The correspondence between rainfall, area and drainage volume calibrated in advance is called the first correspondence. An example of the first correspondence is shown in Table 1:
[0060] Table 1
[0061] rainfall area Displacement J1 S11 P11 J2 S12 P12 J3 S13 P13 ... ... ...
[0062] After obtaining the rainfall and the area of the first region, the target drainage volume is obtained by querying the first correspondence between the rainfall and the area of the first region. For example, if the rainfall is J11 and the area of the first region is S11, the target drainage volume is P11. Determining the target drainage volume through this correspondence can improve the efficiency of calculating the target drainage volume of the drainage system in rainy scenarios.
[0063] In a possible implementation, determining the target drainage volume of the drainage system of the skylight includes the following scheme:
[0064] If the scene in which the sunroof is in contact with water is a car wash scene, obtaining a car wash method; wherein the car wash method is a first method of automatic car washing using a car washing device or a second type of manual car washing performed by a user holding a water gun;
[0065] Obtaining the water output of the water outlet device corresponding to the car washing method, and the flushing pressure of the water flowing out of the water outlet device on the top surface of the skylight;
[0066] determining the area of a second region of the water receiving area on the top surface of the skylight according to the car washing method;
[0067] The target drainage volume is determined according to the water output, the flushing pressure and the area of the second region.
[0068] There are two types of car washes: automatic car washes using a car wash device and manual car washes using a handheld water gun. If the sunroof is exposed to water, the camera identifies the specific car wash method and then measures the water output of the corresponding water outlet device and the flushing pressure of the water flowing from the water outlet device on the top surface of the sunroof. If the car wash method is the first method, the water outlet device is the spraying component of the car wash device that sprays water toward the top surface of the sunroof, such as a showerhead. If the car wash method is the second method, the water outlet device is a water gun.
[0069] After obtaining the car wash method, the second area of the water receiving area on the top of the skylight is calculated based on the car wash method. Different car wash methods require different calculation methods for the second area of the water receiving area on the top of the skylight. The target drainage volume of the drainage system is then calculated based on the water output, flushing pressure, and the area of the second area.
[0070] The corresponding drainage volume of the water output, flushing pressure and area is calibrated in advance. Different water output, flushing pressure and area correspond to different drainage volumes. The corresponding relationship of water output, flushing pressure, area and drainage volume calibrated in advance is called the second corresponding relationship. An example of the second corresponding relationship is shown in Table 2:
[0071] Table 2
[0072] Water output Flushing pressure area Displacement C1 L1 S21 P21 C2 L2 S22 P22 C3 L3 S23 P23 ... ... ... ...
[0073] After obtaining the water output, flushing pressure, and second zone area, the target drainage volume is calculated by querying the second correspondence between the water output, flushing pressure, and second zone area. For example, if the water output is C1, the flushing pressure is L1, and the second zone area is S21, the target drainage volume is P21. Determining the target drainage volume through this correspondence can improve the calculation efficiency of the target drainage volume for the drainage system in the car wash scenario.
[0074] In a possible implementation, determining the area of the second region of the water-receiving area of the top surface of the skylight according to the car washing method includes the following schemes:
[0075] If the car washing method is the first method, the top surface area of the skylight top surface is determined as the second region area;
[0076] If the car washing method is the second method, the area of the second region is determined according to the height and angle of the water outlet of the water gun.
[0077] If the car wash method is the first method, i.e., automatic car wash, and the water flowing out of the car wash device will fall on the entire sunroof, the top surface area of the sunroof is determined as the second region area, and the top surface area of the sunroof is a preset value. If the car wash method is the second method, i.e., manual car wash, one method of manual car wash is that the user uses a handheld water gun to wash the vehicle, including the sunroof. The camera then recognizes that the user is holding the water gun to wash the sunroof, obtains the height and angle of the water outlet of the water gun, and then calculates the second region area based on the height and angle of the water outlet of the water gun.
[0078] The areas corresponding to the height and angle of the water outlet are calibrated in advance. Different heights and angles of the water outlet correspond to different areas. The pre-calibrated correspondence between the height, angle, and area of the water outlet is called the third correspondence. An example of the third correspondence is shown in Table 3:
[0079] Table 3
[0080] high angle area H1 D1 S31 H2 D2 S32 H3 D3 S33 ... ... ...
[0081] After obtaining the height and angle of the water outlet, the third corresponding relationship is searched through the height and angle of the water outlet to obtain the area of the second region. For example, if the height is H1 and the angle is D1, the area of the second region is S31.
[0082] In one possible implementation, the drainage system includes multiple drainage pipes, each of which is arranged at a different location. The above-mentioned determination of the actual drainage volume of the drainage system according to the actual position includes the following schemes:
[0083] Obtaining a preset pipeline identifier associated with the actual posture;
[0084] Determine the drainage pipeline with the preset pipeline identifier among the multiple drainage pipelines as the target pipeline;
[0085] Obtaining the pipeline drainage volume of the target pipeline;
[0086] The actual drainage volume is determined according to the pipeline drainage volume.
[0087] The correspondence between different postures and the preset pipeline identifiers of the drainage pipelines participating in drainage under the corresponding postures is calibrated in advance, which is called the fourth correspondence. An example of the fourth correspondence is shown in Table 4, wherein each posture includes at least one preset pipeline identifier, that is, there is at least one drainage pipeline participating in drainage under the posture.
[0088] Table 4
[0089] posture Preset pipeline identification Z1 1011、1014 Z2 1012、1013 Z3 1011、1012 ... ...
[0090] Refer to Table 4 and Figure 2 For example, the actual posture is Z1, and the preset pipeline identifiers associated with Z1 are 1011 and 1014, indicating that drainage pipelines 1011 and 1014 participate in drainage, and other drainage pipelines do not participate. Then, drainage pipelines 1011 and 1014 are determined as target pipelines, and then the pipeline drainage volumes of drainage pipelines 1011 and 1014 are obtained, and the sum of the pipeline drainage volumes of drainage pipelines 1011 and 1014 is determined as the actual drainage volume of the drainage system.
[0091] In a possible implementation, judging whether the drainage system is blocked based on the difference between the actual drainage volume and the target drainage volume includes the following solutions:
[0092] Determining whether the difference is less than or equal to a first threshold;
[0093] If the difference is less than or equal to the first threshold, determining that the drainage system is not blocked;
[0094] When the difference is greater than the first threshold, it is determined that the drainage system is clogged.
[0095] The difference is compared with a first threshold. If the difference is less than or equal to the first threshold, it indicates that the actual drainage volume is close to or equal to the target drainage volume, and the difference between the actual drainage volume and the target drainage volume is small. The drainage system can ensure that the skylight does not leak by draining according to the current actual drainage volume, so the drainage system is determined to be unblocked. If the difference is greater than the first threshold, it indicates that the actual drainage volume is significantly different from the target drainage volume, and the drainage system cannot drain the water in a timely manner according to the current actual drainage volume, causing the skylight to leak. Therefore, the drainage system is determined to be blocked. If a blockage in the skylight drainage system is detected, an early warning can be issued to promptly notify the user, allowing the user to intervene to clear the drainage system early, thereby preventing the skylight from leaking.
[0096] In a possible implementation, after determining that the drainage system is blocked when the difference is greater than the first threshold, the drainage system blockage detection method further includes the following solution:
[0097] If the difference is greater than the first threshold and less than or equal to the second threshold, determining that the blockage level of the drainage system is the first level, and performing a first prompt operation;
[0098] If the difference is greater than the second threshold and less than or equal to the third threshold, determining that the blockage level of the drainage system is the second level, and performing a second prompt operation;
[0099] If the difference is greater than the third threshold and less than or equal to the fourth threshold, determine that the clogging level of the drainage system is the third level, and perform the third prompting operation.
[0100] Among them, the first threshold Y1 < the second threshold Y2 < the third threshold Y3 < the fourth threshold Y4. For the clogging situation of the drainage system, multiple clogging levels are pre-divided. For example, the multiple clogging levels include the first level, the second level, and the third level. The higher the level, the more serious the clogging of the drainage system, the less the actual drainage volume, and the greater the probability of water leakage from the sunroof.
[0101] Corresponding prompting operations for dredging the drainage system are pre-set for different clogging levels, and the prompting operations corresponding to each clogging level are different. For example, the first level corresponds to the first prompting operation. The first prompting operation includes outputting the clogging of the drainage system and the first prompt message for prompting the user to perform a self-check on the drainage system. The second level corresponds to the second prompting operation. The second prompting operation includes outputting the second prompt message of the clogging of the drainage system, and when the vehicle is powered on again, outputting the second prompt message and the guiding video for dredging the drainage system. The third level corresponds to the third prompting operation. The third prompting operation includes outputting the third prompt message that the user needs to perform dredging and maintenance on the drainage system through the vehicle after-sales service center and the maintenance appointment time.
[0102] The above difference is represented as Y / 0. If Y1 < Y0 ≤ Y2, it is determined that the clogging level is the first level, which can be understood as a slight clogging. For a slight clogging, the user can dredge the drainage system by himself and perform the first prompting operation, that is, outputting the clogging of the drainage system and the first prompt message for prompting the user to perform a self-check on the drainage system to notify the user to dredge the drainage system by himself. Among them, since the specific drainage pipelines participating in drainage in the drainage system can be obtained through the actual pose of the vehicle, when prompting the user that the drainage system is clogged, the user can also be prompted which specific drainage pipeline is clogged, resulting in the clogging of the drainage system, which can help the user accurately check the drainage system, achieve rapid positioning of the clogged drainage pipeline, and avoid the occurrence of water leakage from the sunroof.
[0103] If Y2 < Y0 ≤ Y3, it is determined that the blockage level is the second level, which can be understood as relatively serious blockage. Without guidance, the user may not be able to dredge the drainage system. Then, the second prompt operation is executed, the second prompt message of the drainage system blockage is output, and when the vehicle is powered on again, the second prompt message and the guidance video for dredging the drainage system are output. The second prompt message will prompt the user that the drainage system is blocked. The vehicle being powered on again means that after the user has completed using the vehicle this time and uses the vehicle again, that is, when the user uses the vehicle again, the second prompt message is output on the vehicle's central control screen and the guidance video for dredging the drainage system is played. The user is guided by the guidance video on how to correctly check the drainage system for dredging, so as to avoid the occurrence of skylight water leakage.
[0104] If Y3 < Y0 ≤ Y4, it is determined that the blockage level is the third level, which can be understood as very serious blockage. The user cannot dredge the drainage system by themselves and needs after-sales maintenance of the vehicle for dredging. Then, the third prompt operation is executed, and the third prompt message is output. The third prompt message prompts the user that the drainage system has been dredged, and the user needs to dredge and maintain the drainage system through the vehicle after-sales service center. It also prompts the user that the vehicle has automatically reserved vehicle maintenance, and informs the user of the maintenance reservation time, so that the user can dredge and maintain the drainage system at the vehicle after-sales service center as soon as possible to avoid the occurrence of skylight water leakage.
[0105] The following is an embodiment of the device of the present application, which can be used to execute the method embodiment of the present application. For details not disclosed in the device embodiment of the present application, please refer to the method embodiment of the present application.
[0106] Figure 3 Fig. shows a schematic structural diagram of a drainage system blockage detection device provided by an embodiment of the present application, as Figure 3 shown, the drainage system blockage detection device 300 includes:
[0107] A first determination module 310, configured to determine a target drainage volume of the drainage system of the skylight when the skylight of the vehicle is in a scene of contacting water;
[0108] A pose acquisition module 320, configured to acquire the actual pose of the vehicle;
[0109] A second determination module 330, configured to determine the actual drainage volume of the drainage system according to the actual pose;
[0110] A blockage judgment module 340, configured to judge whether the drainage system is blocked according to the difference between the actual drainage volume and the target drainage volume.
[0111] In a possible implementation manner, the first determination module 310 includes:
[0112] The first determination unit is used to obtain the rainfall and the first area of the rain-drenched area on the top surface of the skylight if the scene in which the skylight is in contact with water is a rainy scene; and determine the target drainage volume according to the rainfall and the first area.
[0113] In a possible implementation, the first determining module 310 includes:
[0114] a first acquiring unit, configured to acquire a car washing method if the scene in which the sunroof is in contact with water is a car washing scene; wherein the car washing method is a first method of automatic car washing using a car washing device or a second type of manual car washing performed by a user holding a water gun;
[0115] a second obtaining unit, configured to obtain a water output of a water outlet device corresponding to the car washing method, and a flushing pressure of the water discharged from the water outlet device on the top surface of the sunroof; wherein, if the car washing method is the first method, the water outlet device is a water spraying component in the car washing device that sprays water toward the top surface of the sunroof; and if the car washing method is the second method, the water outlet device is the water gun;
[0116] a second determining unit, configured to determine an area of a second region of the water receiving area of the top surface of the skylight according to the car washing method;
[0117] The third determining unit is configured to determine the target drainage volume according to the water output, the flushing pressure, and the area of the second region.
[0118] In one possible implementation, the second determination unit is specifically used to: if the car washing method is the first method, determine the top surface area of the skylight top surface as the second area area; if the car washing method is the second method, determine the second area area according to the height and angle of the water outlet of the water gun.
[0119] In one possible implementation, the drainage system includes multiple drainage pipes, and the multiple drainage pipes are set at different positions. The second determination module 330 is specifically used to: obtain a preset pipe identifier associated with the actual posture; determine the drainage pipe with the preset pipe identifier among the multiple drainage pipes as the target pipe; obtain the pipe drainage volume of the target pipe; and determine the actual drainage volume based on the pipe drainage volume.
[0120] In one possible implementation, the blockage judgment module 340 is specifically used to: determine whether the difference is less than or equal to a first threshold; if the difference is less than or equal to the first threshold, determine that the drainage system is not blocked; if the difference is greater than the first threshold, determine that the drainage system is blocked.
[0121] In a possible implementation, the drainage system blockage detection device 300 further includes:
[0122] A blockage prompt unit is used to determine that the blockage level of the drainage system is the first level and execute a first prompt operation if the difference is greater than the first threshold and less than or equal to the second threshold; wherein the first prompt operation includes outputting a first prompt message indicating that the drainage system is blocked and prompting the user to perform a self-inspection of the drainage system; if the difference is greater than the second threshold and less than or equal to the third threshold, determining that the blockage level of the drainage system is the second level and executing a second prompt operation; wherein the second prompt operation includes outputting a second prompt message indicating that the drainage system is blocked, and when the vehicle is powered on again, outputting the second prompt message and a guidance video for unblocking the drainage system; if the difference is greater than the third threshold and less than or equal to the fourth threshold, determining that the blockage level of the drainage system is the third level and executing a third prompt operation; wherein the third prompt operation includes outputting a third prompt message indicating that the user needs to unblock and maintain the drainage system and schedule a maintenance appointment through a vehicle after-sales service center, and the first threshold < the second threshold < the third threshold < the fourth threshold.
[0123] It should be noted that the drainage system blockage detection device provided in the above embodiment, when executing the drainage system blockage detection method, is only illustrated by the division of the above-mentioned functional modules. In actual applications, the above-mentioned 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. In addition, the drainage system blockage detection device provided in the above embodiment and the drainage system blockage detection method embodiment are based on the same concept. Therefore, for details not disclosed in the device embodiment of this application, please refer to the above-mentioned drainage system blockage detection method embodiment of this application, and no further details will be given here.
[0124] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0125] Figure 4 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application is shown. Figure 4 As shown, the vehicle 400 includes: a memory 401 and a processor 402, wherein the memory 401 stores an executable program code 4011, and the processor 402 is used to call and execute the executable program code 4011 to perform a drainage system blockage detection method.
[0126] This embodiment can divide the vehicle into functional modules based on the above-described method example. For example, each functional module can be mapped to a specific function, or two or more functions can be integrated into a single processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and represents only one logical functional division. In actual implementation, other division methods may be used.
[0127] When the functional modules are divided according to their functions, the vehicle may include a first determination module, a posture acquisition module, a second determination module, a congestion determination module, etc. It should be noted that all relevant contents of the various steps involved in the above method embodiment can be referred to the functional description of the corresponding functional modules and will not be repeated here.
[0128] The vehicle provided in this embodiment is used to execute the above-mentioned drainage system blockage detection method, and thus can achieve the same effect as the above-mentioned implementation method.
[0129] In the case of an integrated unit, the vehicle may include a processing module and a storage module. The processing module may be used to control and manage the vehicle's movements, while the storage module may be used to support the vehicle's execution of program codes and data.
[0130] The processing module may be a processor or controller that implements or executes the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processing (DSP) and a microprocessor, and the storage module may be a memory.
[0131] This embodiment also provides a computer-readable storage medium, which stores computer program code. When the computer program code runs on a computer, the computer executes the above-mentioned related method steps to implement a drainage system blockage detection method in the above-mentioned embodiment.
[0132] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a drainage system blockage detection method in the above-mentioned embodiment.
[0133] In addition, the vehicle provided in the embodiment of the present application can specifically be a chip, component or module, and the vehicle may include a connected processor and memory; wherein the memory is used to store instructions, and when the vehicle is running, the processor can call and execute instructions to enable the chip to execute a drainage system blockage detection method in the above embodiment.
[0134] Among them, the vehicle, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding drainage system blockage detection method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding drainage system blockage detection method provided above, and will not be repeated here.
[0135] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by 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.
[0136] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0137] The above content is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A method for detecting blockage in a drainage system, characterized in that: The drainage system blockage detection method comprises: When a sunroof of a vehicle is in contact with water, determining a target drainage volume of a drainage system of the sunroof; Obtaining the actual position of the vehicle; determining an actual drainage volume of the drainage system according to the actual posture; Whether the drainage system is blocked is determined based on a difference between the actual drainage volume and the target drainage volume.
2. The drainage system blockage detection method according to claim 1, characterized in that: Determining the target drainage volume of the drainage system of the skylight includes: If the scene in which the skylight is in contact with water is a rainy scene, obtaining the rainfall amount and the first area of the rainy area on the top surface of the skylight; The target drainage volume is determined according to the rainfall and the area of the first region.
3. The drainage system blockage detection method according to claim 1, characterized in that: Determining the target drainage volume of the drainage system of the skylight includes: If the scene in which the sunroof is in contact with water is a car wash scene, obtaining a car wash method; wherein the car wash method is a first method of automatic car washing using a car washing device or a second type of manual car washing performed by a user holding a water gun; Obtaining the water output of the water outlet device corresponding to the car washing method, and the flushing pressure of the water discharged from the water outlet device on the top surface of the skylight; wherein, if the car washing method is the first method, the water outlet device is a water spray component in the car washing device that sprays water toward the top surface of the skylight; if the car washing method is the second method, the water outlet device is the water gun; determining the area of a second region of the water receiving area on the top surface of the skylight according to the car washing method; The target drainage volume is determined according to the water output, the flushing pressure and the area of the second region.
4. The drainage system blockage detection method according to claim 3, characterized in that: The determining of the second area of the water-receiving region of the top surface of the skylight according to the car washing method includes: If the car washing method is the first method, the top surface area of the skylight top surface is determined as the second region area; If the car washing method is the second method, the area of the second region is determined according to the height and angle of the water outlet of the water gun.
5. The drainage system blockage detection method according to claim 1, characterized in that: The drainage system includes a plurality of drainage pipes, and each of the plurality of drainage pipes is arranged at a different position; Determining the actual drainage volume of the drainage system according to the actual posture includes: Obtaining a preset pipeline identifier associated with the actual posture; Determine the drainage pipeline with the preset pipeline identifier among the multiple drainage pipelines as the target pipeline; Obtaining the pipeline drainage volume of the target pipeline; The actual drainage volume is determined according to the pipeline drainage volume.
6. The drainage system blockage detection method according to claim 1, characterized in that: The determining whether the drainage system is blocked according to the difference between the actual drainage volume and the target drainage volume includes: Determining whether the difference is less than or equal to a first threshold; If the difference is less than or equal to the first threshold, determining that the drainage system is not blocked; When the difference is greater than the first threshold, it is determined that the drainage system is clogged.
7. The drainage system blockage detection method according to claim 6, characterized in that: After determining that the drainage system is blocked when the difference is greater than the first threshold, the drainage system blockage detection method further includes: If the difference is greater than the first threshold and less than or equal to the second threshold, determining that the blockage level of the drainage system is the first level and performing a first prompt operation; wherein the first prompt operation includes outputting a first prompt message indicating that the drainage system is blocked and prompting the user to perform a self-inspection of the drainage system; If the difference is greater than the second threshold and less than or equal to a third threshold, determining that the drainage system is blocked at a second level and performing a second prompt operation; wherein the second prompt operation includes outputting a second prompt message indicating that the drainage system is blocked, and outputting the second prompt message and a video guiding unblocking the drainage system when the vehicle is powered on again; If the difference is greater than the third threshold and less than or equal to the fourth threshold, the blockage level of the drainage system is determined to be the third level, and a third prompt operation is performed; wherein, the third prompt operation includes outputting a third prompt message that the user needs to clear the drainage system and perform maintenance and schedule a maintenance appointment through a vehicle after-sales service center, and the first threshold < the second threshold < the third threshold < the fourth threshold.
8. A drainage system blockage detection device, characterized in that: The drainage system blockage detection device comprises: a first determining module, configured to determine a target drainage volume of a drainage system of a sunroof when the sunroof of the vehicle is in contact with water; A posture acquisition module, used to obtain the actual posture of the vehicle; A second determining module is used to determine the actual drainage volume of the drainage system according to the actual posture; The blockage judgment module is used to judge whether the drainage system is blocked according to the difference between the actual drainage volume and the target drainage volume.
9. A vehicle, characterized in that: The vehicle comprises: a memory for storing executable program code; A processor is used to call and run the executable program code from the memory, so that the vehicle executes the drainage system blockage detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed, the drainage system blockage detection method according to any one of claims 1 to 7 is implemented.