Parking method and device, electronic equipment and storage medium
By determining whether there is a driver in the car door and driving position, and controlling the car's electronic parking brake and gear adjustment, the problem of unconscious driving of the car caused by the driver forgetting to hang in the parking gear or not pulling the handbrake is improved, The reliability and safety of the vehicle.
Patent Information
- Application Number
- CN202411432236.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-02-18
AI Technical Summary
After parking, the driver may forget to hang in the parking gear or fail to pull the handbrake, causing the car to drive unconsciously and cause safety accidents.
By determining whether the car door is open and obtaining image information of the driver's position, we can determine whether there is a driver in the driver's position. If there is no driver, control the car's electronic parking brake to start and make another judgment as soon as possible. If there is still no driver, adjust the car to parking gear.
Improve the reliability of car parking and avoid safety accidents caused by unconscious driving of cars.
Smart Images

Figure CN119459613A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle braking, and in particular to a parking method, device, electronic equipment and storage medium. Background Art
[0002] During the driving process, the following situation often occurs: after parking, the driver forgets to engage the parking gear or leaves the vehicle without pulling the handbrake due to his own negligence, causing the car to drive unconsciously and causing a safety accident. Summary of the invention
[0003] The embodiments of the present invention provide a parking method, device, electronic device and storage medium, which can ensure the reliability of car parking based on the judgment of the driver in the driving seat and whether the car door is open.
[0004] In a first aspect, an embodiment of the present invention provides a parking method, which is applied to a car, and includes:
[0005] Determining whether the automobile door is open;
[0006] If yes, obtaining first image information of the driving seat, and judging whether the driver has left the driving seat according to the first image information;
[0007] If yes, the electronic parking brake of the automobile is controlled to start; and the second image information of the driving seat is obtained within the first time, and it is determined whether the driver has left the driving seat according to the second image information;
[0008] If so, the automobile is controlled to be adjusted to the parking position.
[0009] In a second aspect, an embodiment of the present invention provides a parking device, the parking device comprising:
[0010] A car door determination module, used to determine whether the car door is open; if so, obtaining first image information of the driver's seat;
[0011] a driver's seat image determination module, configured to determine whether the driver has left the driver's seat based on the first image information obtained; if so, control the activation of the electronic parking brake of the vehicle; and obtain second image information of the driver's seat within a first time, and determine whether the driver has left the driver's seat based on the second image information;
[0012] The parking gear adjustment module controls the vehicle to be adjusted to the parking gear if it is determined that the driver has left.
[0013] In a third aspect, an embodiment of the present invention provides an electronic device, including:
[0014] one or more processors;
[0015] A storage device for storing one or more programs;
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the parking method described in the first aspect.
[0017] In a fourth aspect, an embodiment of the present invention provides a storage medium comprising computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the parking method as described in the first aspect.
[0018] A parking method provided by an embodiment of the present invention first determines whether a car door is open; if so, obtains first image information of the driver's seat, and determines whether the driver has left the driver's seat based on the first image information; if so, controls the electronic parking brake of the car to start; and obtains second image information of the driver's seat within the first time, and determines whether the driver has left the driver's seat based on the second image information; if so, controls the car to be adjusted to the parking gear. By determining whether the driver has left and the opening of the car door, the gear of the car is further adjusted, thereby ensuring the reliability of the car's parking and avoiding safety accidents caused by the car's unconsciousness. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required to describe the embodiments. Obviously, the drawings introduced are only drawings of a part of the embodiments to be described in the present invention, rather than all the drawings. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 A schematic diagram of a parking method according to the first embodiment of the present invention;
[0021] Figure 2 A schematic diagram of a parking method according to a second embodiment of the present invention;
[0022] Figure 3 A schematic diagram of a parking method according to a third embodiment of the present invention;
[0023] Figure 4 A schematic diagram of the structure of a parking device provided in Embodiment 4 of the present invention;
[0024] Figure 5 It is a structural schematic diagram of an electronic device provided in Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be fully described below in combination with the drawings in the embodiments of the present invention through specific implementation methods. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work fall within the protection scope of the present invention.
[0026] Embodiment 1
[0027] Figure 1 A schematic diagram of a parking method according to the first embodiment of the present invention is provided. Figure 1 As shown, this embodiment can be applied to brake adjustment of a vehicle. The method can be executed by a parking device in an embodiment of the present invention, wherein the device can be implemented by software and / or hardware. The method specifically includes the following steps:
[0028] S110: Determine whether the car door is open.
[0029] Among them, the car door is judged first, and the state of the car door is obtained. Among them, the state of the car door includes the car door opening and the car door closing. It can be understood that when the car is to be parked, the state of the car door can be obtained first, that is, the opening and closing state of the car door is collected, and the acquired state of the car door is transmitted to the controller (the controller can be understood as the automatic control system of the car, and the embodiment of the present invention will not be described in detail). If the car door is open, it proves that the car needs to be parked, otherwise there will be safety hazards. Among them, the state of the car door is a relatively direct factor affecting the safety of the car driving or parking. By judging the car door first, the reliability of parking can be guaranteed and safety hazards can be avoided.
[0030] S120: Acquire first image information of the driving seat, and determine whether the driver has left the driving seat based on the first image information.
[0031] Among them, the first image information of the driving seat may include the driver being in the driving seat and the driver leaving the driving seat. Furthermore, the first image information can be obtained by a driving seat camera set on the car, that is, the driving seat camera takes a picture of the driving seat, etc., and transmits the obtained image information to the controller, and the controller analyzes the image to obtain a judgment result of whether there is a driver in the driving seat. By judging whether the driver is in the driving seat, it can be understood as judging whether the vehicle can be manually controlled, and then further performing the next step of vehicle control based on whether there is a driver, which can improve the reliability and safety of the parking method.
[0032] S130, controlling the electronic parking brake of the vehicle to start; and obtaining second image information of the driver's seat as soon as possible, and determining whether the driver has left the driver's seat according to the second image information.
[0033] Among them, the Electronic Park Brake (EPB) can be understood as the parking brake controlled by electronic circuits, and its function is the same as the mechanical lever handbrake. When starting, the electronic handbrake does not need to be turned off manually, and it will be automatically turned off when the accelerator is pressed. Or it can be understood that the electronic parking brake system shows us the electronic handbrake button that replaces the traditional lever handbrake. Compared with the traditional lever handbrake, it is safer and will not change the braking effect due to the driver's strength, turning the traditional lever handbrake into a button within reach.
[0034] For example, if the current gear of the car is the forward gear and the reverse gear, the electronic parking brake of the car is controlled to start, and when the driver has a driving demand, he can start by stepping on the accelerator. If the current gear of the car is the neutral gear, the driver can directly switch to the power gear, that is, the forward gear and the reverse gear.
[0035] Furthermore, when it is determined through the first image information that the driver is not in the driving seat and the car door is open, it is impossible to determine the driver's control needs for the car in a short period of time (i.e., whether the driver is away from the driving seat for a short period of time or for a long period of time), so the electronic parking brake of the car is controlled to start first to prevent the car from slipping. The adjustment of the car gear can be further controlled according to subsequent judgments.
[0036] Further, the second image information of the driving position is obtained within the first time, that is, the second judgment of whether there is a driver in the driving position is made, wherein the first time is a time period pre-set by the controller, such as 30 seconds, 40 seconds or 60 seconds, etc., and the specific value based on the first time can be adaptively adjusted according to the actual situation. It should be noted that the first time is set to be a reliable time period when the driver is not in the driving position and the car will not cause an accident due to failure to adjust to the parking gear or stalling, so the duration of the first time will not be too long. Within the first time, the camera of the driving position needs to obtain the image information of the driving position (i.e., the second image information) again, which is equivalent to the second judgment of whether the driver is in the driving position. Specifically, if the second image information obtained within the first time is judged that the driver is in the driving position, that is, it is equivalent to the situation that the driver returns to the driving position within the first time, in which case the driver can manually control the car; if the second image information obtained within the first time is judged that the driver is not in the driving position, that is, it is equivalent to the situation that the driver did not return to the driving position within the first time, the current car is in a flexible state, that is, there are certain safety hazards, so S140 is executed to control the car to adjust to the parking gear. That is to avoid the vehicle slipping due to the lack of driver control.
[0037] It can be understood that when the driver is not in the driving seat and the car door is in the open state, the driver's position information is re-judged in the first time. If the driver leaves the driving seat for a short period of time, the gear position of the car can be adjusted by the driver according to needs to facilitate the driver's driving operations; if the driver leaves the driving seat for a long time, the gear position of the car is controlled to be in the parking gear to prevent the car from slipping and ensure the reliability of parking.
[0038] S140, controlling the vehicle to adjust to the parking gear.
[0039] Among them, the parking gear (Parking, P), when the driver's operation is to stop driving, that is, to park, or when the car's automatic control system determines that the current state is parking, the gear can be adjusted to the parking gear manually or automatically by the system. At this time, the car is in a mechanical locking state, which can prevent the car from slipping, thereby improving the safety of the car and avoiding accidents.
[0040] Specifically, when the driver is not in the driving seat for a long time and the car door is not opened, the controller can adjust the car gear according to this judgment, adjust the car gear to the parking gear, avoid rolling, etc., thereby improving the reliability and stability of parking.
[0041] Optionally, the gears of the car include a parking gear, a neutral gear, a reverse gear and a forward gear.
[0042] Among them, the neutral gear (Neutral, N) can be understood as a pause gear, for example, this gear is used when temporarily parking (such as at a red light). The reverse gear (Reverse, R) is used when the car is reversing. The forward gear (Drive, D) is also called the drive gear, and this gear is used when the car is moving forward. Optionally, the car's gears can also include a low-speed gear (Low, L), which can be engaged when the car is going down a mountain or down a long slope. The gear can be limited to the car's gear automatically only in the lowest gear (equivalent to the first gear of a manual transmission car), which can allow the car to use engine power for braking when going downhill, and the driver does not need to step on the brakes for a long time, causing the brake pads to overheat and cause danger.
[0043] In summary, a parking method provided by an embodiment of the present invention further adjusts the gear information of the car by judging whether the driver has left the driving seat and whether the car door is open, thereby ensuring the parking reliability of the car and avoiding safety accidents caused by unconscious parking of the car.
[0044] Embodiment 2
[0045] Figure 2 A schematic diagram of a parking method provided in the second embodiment of the present invention, referring to Figure 2 As shown, the second embodiment is refined on the basis of the above embodiment, and different operations are performed based on different states of the car. In this embodiment, the method specifically includes the following steps:
[0046] S210: Determine whether the car door is open. If yes, execute S220; if no, execute S230.
[0047] Optionally, the car includes a door detection sensor, which is used to obtain the state of the door; the state includes the door opening and the door closing. Specifically, the car includes a door detection sensor, which can detect whether the door is opened and transmit the detection result to the controller. Optionally, the door detection sensor is arranged near the door of the car.
[0048] S220: Determine whether the driver has left the driving seat according to the first image information. If yes, execute S270; if no, execute S260.
[0049] Optionally, the car includes an image acquisition unit, which is used to acquire image information of the driving seat and obtain the first image information. Specifically, the car also includes an image acquisition unit, which is arranged near the driving seat and can acquire image information of the driving seat. Exemplarily, the image acquisition unit can acquire the first image information of the driving seat, and further, the image acquisition unit can also perform a second image acquisition of the driving seat within the first time, that is, acquire the second image information, etc. Specifically, the image acquisition unit can be understood as a camera in the car, which is used to acquire the image of the driving seat. Optionally, it is also possible to determine whether there is a driver in the driving seat by using infrared and other devices.
[0050] S230: Determine whether the driver has left the driving seat according to the third image information. If yes, execute S240; if no, execute S250.
[0051] Among them, the third image information of the driving seat may include the driver being in the driving seat and the driver leaving the driving seat. Furthermore, the third image information can be obtained by a driving seat camera set on the car, that is, the driving seat camera takes a picture of the driving seat, etc., and transmits the obtained image information to the controller, and the controller analyzes the image to obtain a judgment result of whether there is a driver in the driving seat. Specifically, when judging whether the car door is in a closed state, judging whether the driver is in the driving seat can be understood as judging whether the vehicle can be manually controlled, which can improve the reliability and safety of the parking method.
[0052] S240, controlling the vehicle to adjust to the parking gear.
[0053] S250. Control the gear position of the vehicle to be the gear position input by the driver.
[0054] Specifically, if it is determined that there is a driver in the driving seat, it proves that the current vehicle can be controlled by the driver. That is, whether it is determined that there is a driver in the driving seat based on the second image information mentioned later or based on the third image information, the driver can adjust the gear of the car according to needs.
[0055] S260: Control the electronic parking brake of the vehicle to start, and control the gear position of the vehicle to be the gear position input by the driver.
[0056] Specifically, when it is determined based on the first image information that there is a driver in the driving seat, that is, when the car door is open and there is a driver in the driving seat, the electronic parking brake of the car can be controlled to start, that is, the electronic parking brake is tightened, and the gear can be adjusted according to the driver's needs.
[0057] Furthermore, the gears of the car may include a power gear and a parking gear. The power gear may be understood as when the car is in this gear, the driver can start the car by stepping on the accelerator, and the power gear may include a forward gear and a reverse gear. The parking gear may be understood as when the car is in this gear, if the driver wants to start the car, he needs to adjust the parking gear to the power gear before he can step on the accelerator to start the car.
[0058] Specifically, when the gear of the car is in the power gear, the electronic parking brake of the car is controlled to start, and the gear of the car is controlled to be the gear input by the driver, including: controlling the electronic parking brake of the car to start, and the gear of the car remains in the power gear.
[0059] Among them, when it is determined according to the first image information that there is a driver in the driving seat, that is, when the car door is open and there is a driver in the driving seat, the electronic parking brake of the car can be controlled to start, that is, the electronic parking brake is tightened, and the original gear of the car is in the power gear, then the driver can directly step on the accelerator to start.
[0060] When the gear of the car is in the parking gear, the electronic parking brake of the car is controlled to start, and controlling the gear of the car to be the gear input by the driver includes: controlling the electronic parking brake of the car to start, and adjusting the car to the power gear.
[0061] Among them, when it is determined according to the first image information that there is a driver in the driving seat, that is, when the car door is open and there is a driver in the driving seat, the electronic parking brake of the car can be controlled to start, that is, the electronic parking brake is tightened, and the original gear of the car is in the parking gear. To ensure that the car can start, the parking gear needs to be adjusted to the power gear, and then the driver can step on the accelerator to start.
[0062] S270: Determine whether the driver has left the driving seat according to the second image information. If yes, execute S240; if no, execute S250.
[0063] Specifically, the second image information of the driver's seat may include the driver being in the driver's seat and the driver leaving the driver's seat. Further, the second image information may be acquired through a driver's seat camera provided on the car, that is, the driver's seat camera takes a photo of the driver's seat, etc., and transmits the acquired image information to the controller, and the controller analyzes the image to obtain a judgment result of whether there is a driver in the driver's seat. Specifically, when it is judged that the car door is in an open state, and the result of the first image information feedback is that the driver is not in the driver's seat, in order to judge whether the driver is absent from the driver's seat for a long time or for a short time, the second image information of the driver's seat is collected. If the result of the second image information collection is that there is a driver in the driver's seat, it proves that the driver has temporarily left the driver's seat, and S250 is executed; if the result of the second image information collection is that there is no driver in the driver's seat, it proves that the driver has left the driver's seat for a long time, and S240 is executed.
[0064] By acquiring images of the driving seat of the car multiple times, that is, determining whether the driver is in the driving seat multiple times in different situations, it is possible to ensure that the parking method provided by the embodiment of the present invention is safer and more reliable, and to avoid potential safety hazards as much as possible.
[0065] In summary, a parking method provided by an embodiment of the present invention performs multiple image acquisitions on the driving seat, that is, it is determined multiple times whether there is a driver in the driving seat; different control processes are performed on the car according to the first image information, the second image information and the third image information to ensure the stability and reliability of parking.
[0066] Embodiment 3
[0067] Figure 3 A schematic diagram of a parking method according to the third embodiment of the present invention is shown in FIG. Figure 3 As shown, the second embodiment is refined on the basis of the above embodiment, and refines how to control the car to adjust to the parking gear. In this embodiment, the method specifically includes the following steps:
[0068] S310, obtaining the speed of the vehicle, and determining whether the speed exceeds the first speed; if so, executing S320; if not, executing S330;
[0069] Among them, it should be noted that Figure 3 The parking method shown is Figure 1 The refinement of S140 or Figure 2 The refinement of S240, that is, the overall flow chart, Figure 2 Should undertake Figure 1 S140 or Figure 2 Medium S240.
[0070] Wherein, when the car is to be controlled to execute the parking gear, the current speed of the car must be obtained first, and the obtained speed is compared with the first speed. Wherein the first speed is a pre-set speed for whether the parking gear can be directly executed. The first speed can be 1.5km / h, 2km / h or 3km / h. The specific value of the first speed can be adaptively adjusted according to the actual situation, that is, different cars have different braking effects, and the corresponding first speed can be different. The embodiment of the present invention does not specifically limit this. It can be understood that when the speed of the car is relatively large, directly putting the car in the parking gear will have a safety hazard or adverse effects on the car. Therefore, when the obtained speed is less than or equal to the first speed, the gear can be adjusted to the parking gear, that is, the car can be controlled to execute the parking gear. If the obtained speed is greater than the first speed, it proves that the car cannot be adjusted to the parking gear immediately, and the speed needs to be reduced, that is, S320 is executed, and S330 is executed after the speed reduction, that is, the speed after the speed reduction is compared with the first speed. Further, when the vehicle speed is adjusted to be reduced to the first vehicle speed or less than the first vehicle speed, the vehicle can then be controlled to execute the parking gear.
[0071] S320: Adjust the vehicle speed to reduce to the first vehicle speed.
[0072] Specifically, adjusting the vehicle speed to decrease to the first vehicle speed includes obtaining a deceleration time for the vehicle speed to decrease to the first vehicle speed, and determining whether the deceleration time exceeds a second time.
[0073] Among them, when the acquired vehicle speed is greater than the first vehicle speed, in the process of reducing the vehicle speed to the first vehicle speed, it is necessary to obtain the time taken for the vehicle speed to be reduced to the first vehicle speed or less than the first vehicle speed, and judge the time. Specifically, the deceleration time is compared with the second time, and the second time is a preset time, such as 30 seconds, 40 seconds or 60 seconds, etc. The specific value based on the second time can be adaptively adjusted according to the actual situation. It should be noted that the set second time is the time during the deceleration process when there will be no obvious slipping of the car due to the speed of the car, that is, during this time period, even if the speed of the car exceeds the first speed, the car will not have an obvious moving trajectory, so the second time will not be too long.
[0074] Furthermore, if the time when the vehicle speed is reduced to the first speed or less than the first speed exceeds the preset second time, the vehicle is controlled to execute the neutral gear; if the time when the vehicle speed is reduced to the first speed or less than the first speed does not exceed the preset second time, the vehicle is controlled to execute the parking gear. By judging the time of speed adjustment, the parking effect can be guaranteed to be more accurate and accidents can be avoided, which also reflects that the parking method provided by the embodiment of the present invention has multi-dimensional judgment conditions, ensuring the reliable driving and reliable parking of the vehicle, thereby improving the overall safety.
[0075] S340, obtaining the number of execution times n of the vehicle realizing the parking gear; if n=1, executing S350; if n≥1, executing S360.
[0076] Further, controlling the car to execute the parking gear includes obtaining the number of executions n of the car to realize the parking gear. The number of executions can be understood as the number of adjustments when controlling the car to adjust to the parking gear. If n=1, it proves that the car can be directly adjusted to the parking gear, that is, the controller does not produce errors when adjusting the gear, and directly implements the gear switch, so the car can be controlled to complete the execution of the parking gear. If n≥1, it proves that the car does not immediately adjust the gear to the parking gear, that is, there is an error in the adjustment of the gear by the controller. In order to ensure the parking effect of the car, the gear of the car can be adjusted to the neutral gear to avoid slipping, and the driver can also be reminded of safety to ensure the overall safety and reliability. In other words, if the controller does not adjust the gear to the required parking gear at one time, and in order to avoid hidden dangers, the parking system provided in the embodiment of the present invention can first control the car to enter the neutral gear, that is, when the parking gear adjustment fails or is not successfully executed at the first time, the neutral gear can be used as a safety gear to avoid the car slipping, etc., thereby improving the safety and reliability of the parking method.
[0077] S350, controlling the vehicle to complete the execution of the parking gear.
[0078] Specifically, the adjustment and completion of the gear position of the car means that the gear position of the car is already in the parking gear position.
[0079] S360, control the vehicle to execute the neutral gear position.
[0080] Specifically, in order to ensure the reliability of the gear adjustment of the automobile and the parking effect of the automobile, when the automobile executes the neutral gear, the execution times of the neutral gear are also obtained, and the process is similar to S330.
[0081] S370, obtaining the number of times m that the vehicle realizes the neutral gear position; if m=1, executing S380; if m≥1, executing S390;
[0082] S380, controlling the vehicle to complete the execution of the neutral gear position.
[0083] S390, controlling the vehicle to stop gear adjustment.
[0084] Specifically, controlling the execution of the neutral gear position of the automobile specifically includes obtaining the number of executions m of the automobile realizing the neutral gear position. The number of executions can be understood as the number of adjustments when the automobile is controlled to be adjusted to the neutral gear position. If m=1, it proves that the automobile can be directly adjusted to the neutral gear position, that is, the controller does not produce errors when adjusting the gear position, and directly switches the gear position, then the automobile can be controlled to complete the execution of the neutral gear position. If m≥1, it proves that the automobile is not immediately adjusted to the parking gear position, and the gear position cannot be immediately adjusted to the neutral gear position, that is, there is an error in the adjustment of the gear position by the controller. In order to ensure the parking effect of the automobile, the gear adjustment of the automobile is stopped to avoid the situation of incorrect gear adjustment, or the automobile is directly controlled to be turned off to avoid slipping.
[0085] In other words, if the controller fails to adjust the gear to the required parking gear in one go, and in order to avoid hidden dangers, the parking system provided in the embodiment of the present invention can first control the car to enter the neutral gear, that is, when the parking gear adjustment fails or is not successfully executed the first time, the neutral gear can be used as a safety gear to prevent the car from slipping; further, when there is still a deviation when executing the neutral gear, the car can be directly controlled to shut down, thereby avoiding the risk of slipping from the source and improving the safety and reliability of the parking method.
[0086] In summary, the other parking method provided by the embodiment of the present invention can further ensure the parking reliability of the car and avoid safety accidents caused by unconscious parking of the car by refining the adjustment of the parking gear.
[0087] Embodiment 4
[0088] Figure 4 This is a schematic diagram of the structure of a parking device provided in the fourth embodiment of the present invention. The technical solution of this embodiment can be applied to the situation of parking a car. The device can be implemented by software and / or hardware and is generally integrated on any electronic device with network communication function, including but not limited to: servers, computers, personal digital assistants and other devices. Figure 4 As shown, the parking device 1 provided in this embodiment may include: a car door judgment module 100, a driving position image judgment module 200 and a gear adjustment module.
[0089] The vehicle door determination module 100 is used to determine whether the vehicle door is open; if so, first image information of the driver's seat is obtained.
[0090] The driving seat image judgment module 200 is used to judge whether the driver has left the driving seat based on the first image information obtained; if so, control the electronic parking brake of the vehicle to start; and obtain the second image information of the driving seat within the first time, and judge whether the driver has left the driving seat based on the second image information; if so, the gear adjustment module 300 controls the vehicle to adjust to the parking gear.
[0091] Optionally, a driving seat image judgment module is used to judge whether the driver has left the driving seat based on the first image information obtained; if so, control the electronic parking brake of the vehicle to start; and obtain the second image information of the driving seat within the first time, and judge whether the driver has left the driving seat based on the second image information; if not, the gear adjustment module controls the gear of the vehicle to the gear input by the driver.
[0092] Optionally, a driving seat image judgment module is used to judge whether the driver has left the driving seat based on the acquired first image information; if not, the electronic parking brake of the vehicle is controlled to start, and the gear adjustment module controls the gear of the vehicle to the gear input by the driver.
[0093] Optionally, the car door judgment module is used to judge whether the car door is open; if not, the third image information of the driver's seat is obtained. The driver's seat image judgment module obtains the third image information of the driver's seat and judges whether the driver has left the driver's seat according to the third image information; if so, the gear adjustment module controls the car to adjust to the parking gear; if not, the gear adjustment module controls the car's gear to the gear input by the driver.
[0094] Furthermore, the parking device further comprises:
[0095] The vehicle speed acquisition module is used to acquire the vehicle speed and determine whether the vehicle speed exceeds the first vehicle speed; if not, the vehicle is controlled to execute the parking gear; if so, the vehicle speed is adjusted to be reduced to the first vehicle speed.
[0096] The parking gear execution times acquisition module is used to acquire the execution times n of the car to realize the parking gear; if n=1, the car is controlled to complete the execution of the parking gear; if n≥1, the car is controlled to execute the neutral gear.
[0097] The vehicle speed adjustment time module is used to obtain the deceleration time for the vehicle speed to decrease to the first vehicle speed, and determine whether the deceleration time exceeds the second time; if not, the vehicle is controlled to execute the parking gear; if so, the vehicle is controlled to execute the neutral gear.
[0098] The neutral gear execution times acquisition module is used to acquire the execution times m of the vehicle realizing the neutral gear; if m=1, the vehicle is controlled to complete the execution of the neutral gear; if m≥1, the vehicle is controlled to stop the gear adjustment.
[0099] In summary, a parking device provided in an embodiment of the present invention determines the state of the car door and the state of the driver in the driving seat through a car door judgment module and a driving seat image judgment module, and further adjusts the car's gear information according to the judgment result, thereby ensuring the parking reliability of the car and avoiding safety accidents caused by the car unconsciously.
[0100] Embodiment 5
[0101] Figure 5 1 is a schematic diagram of the structure of an electronic device provided in Embodiment 5 of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0102] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0103] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0104] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the parking method.
[0105] Embodiment 6
[0106] Embodiment 6 of the present invention provides a computer executable storage medium having a computer program stored thereon, which is used to execute a parking method when executed by a processor, the method comprising: determining whether a car door is open; if so, obtaining first image information of a driving seat, and determining whether a driver has left the driving seat based on the first image information; if so, controlling an electronic parking brake of the car to start; and obtaining second image information of the driving seat within a first time, and determining whether a driver has left the driving seat based on the second image information; if so, controlling the car to adjust to a parking gear.
[0107] Optionally, when the program is executed by a processor, it can also be used to execute the parking method provided by any embodiment of the present invention.
[0108] The computer storage medium of the embodiment of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the above. The computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device.
[0109] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to: electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0110] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the above.
[0111] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0112] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, combinations and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A parking method, applied to a car, characterized in that: include: Determining whether the automobile door is open; If yes, obtaining first image information of the driving seat, and judging whether the driver has left the driving seat according to the first image information; If yes, the electronic parking brake of the automobile is controlled to start; and the second image information of the driving seat is obtained within the first time, and it is determined whether the driver has left the driving seat according to the second image information; If so, the automobile is controlled to be adjusted to the parking position.
2. The parking method according to claim 1, characterized in that: acquiring second image information of the driving seat within a first time, and determining whether the driver has left the driving seat according to the second image information; If not, the gear position of the automobile is controlled to be the gear position input by the driver.
3. The parking method according to claim 1, characterized in that: Acquire first image information of the driving seat, and determine whether the driver has left the driving seat according to the first image information; If not, the electronic parking brake of the vehicle is controlled to be activated, and the gear position of the vehicle is controlled to be the gear position input by the driver.
4. The parking method according to claim 3, characterized in that: The gear positions of the automobile include a power gear and a parking gear; When the gear position of the automobile is in the power gear, the electronic parking brake of the automobile is controlled to be activated, and the gear position of the automobile is controlled to be the gear position input by the driver, including: Controlling the electronic parking brake of the automobile to start, and the gear position of the automobile to maintain the power gear; When the gear position of the automobile is in the parking gear, the electronic parking brake of the automobile is controlled to be activated, and the gear position of the automobile is controlled to be the gear position input by the driver, including: The electronic parking brake of the automobile is controlled to be activated, and the automobile is adjusted to the power gear.
5. The parking method according to claim 1, characterized in that: Determining whether the automobile door is open; If not, obtaining third image information of the driving seat, and determining whether the driver has left the driving seat according to the third image information; If yes, controlling the automobile to adjust to the parking position; If not, the gear position of the automobile is controlled to be the gear position input by the driver.
6. The parking method according to claim 1, characterized in that: The automobile includes an image acquisition unit, and the image acquisition unit is used to acquire image information of the driving position and obtain the first image information.
7. The parking method according to claim 1, characterized in that: The automobile comprises a door detection sensor, and the door detection sensor is used to obtain the state of the door; the state comprises door opening and door closing.
8. The parking method according to claim 1, characterized in that Controlling the automobile to adjust to the parking gear position includes: Obtaining the speed of the vehicle, and determining whether the speed exceeds a first speed; If not, controlling the vehicle to execute the parking gear; If so, the vehicle speed is adjusted to decrease to the first vehicle speed.
9. The parking method according to claim 8, characterized in that: Then controlling the automobile to execute the parking gear comprises: Obtaining the number of times n that the vehicle realizes the parking gear; If n=1, the vehicle is controlled to complete the execution of the parking gear; If n≥1, the vehicle is controlled to execute the neutral gear position.
10. The parking method according to claim 8, characterized in that: Adjusting the vehicle speed to decrease to the first vehicle speed includes: Obtaining a deceleration time for the vehicle speed to decrease to the first vehicle speed, and determining whether the deceleration time exceeds a second time; If not, controlling the vehicle to execute the parking gear; If so, the vehicle is controlled to execute the neutral gear position.
11. The parking method according to claim 9 or 10, characterized in that: Controlling the automobile to execute the neutral gear position includes: Obtaining the number of times m that the vehicle realizes the neutral gear position; If m=1, the vehicle is controlled to complete the execution of the neutral gear position; If m≥1, the vehicle is controlled to stop gear adjustment.
12. The parking method according to claim 1, characterized in that: The gear positions of the automobile include a parking gear position, a neutral gear position, a reverse gear position and a forward gear position.
13. A parking device, characterized in that: The parking device comprises: A car door determination module, used to determine whether the car door is open; if so, obtaining first image information of the driver's seat; a driver's seat image determination module, configured to determine whether the driver has left the driver's seat based on the first image information obtained; if so, control the activation of the electronic parking brake of the vehicle; and obtain second image information of the driver's seat within a first time, and determine whether the driver has left the driver's seat based on the second image information; The gear adjustment module controls the vehicle to adjust to the parking gear if it is determined that the driver has left.
14. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the parking method described in any one of claims 1-12.
15. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to perform the parking method according to any one of claims 1 to 12 when executed by a computer processor.