Driving mode control method, electronic equipment and storage medium
By obtaining and detecting the driver's historical driving information, if the preset requirements are not met, the vehicle is controlled to enter the primary driving mode, which solves the problem of drivers being unfamiliar with the vehicle driving mode or insufficient control, and improves driving safety and experience.
Patent Information
- Application Number
- CN202411326715.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2024-11-29
AI Technical Summary
Drivers are unfamiliar with various driving modes of the vehicle or lack control of driving, which may lead to driving safety accidents.
By obtaining the driver's historical driving information, detecting his or her technical maturity. If the preset requirements are not met, the vehicle will be controlled to enter the primary driving mode, limit the maximum speed, and avoid accidents caused by mistaken driving mode.
It improves the driver's driving experience and driving safety, and avoids accidents caused by the driver's unfamiliarity with the vehicle's driving mode function or insufficient control.
Smart Images

Figure CN119037435A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a driving mode control method, electronic device, and storage medium. Background Art
[0002] With the continuous development of new energy technologies and the automotive industry, vehicle driving modes are becoming increasingly diverse. For example, driving modes include Economy, Comfort, Snow, and Sport. Because different driving modes vary in power and acceleration, their application scenarios vary.
[0003] When the driver is driving a vehicle, if the driver is not familiar with the functions of the vehicle's various driving modes or has poor control over the vehicle, and the driver mistakenly selects a driving mode that does not suit the application scenario, it may cause a driving safety accident. Summary of the Invention
[0004] The present invention proposes a driving mode control method, electronic device and storage medium, which can provide the driver with a driving mode that meets the application scenario when the driver is not familiar with the functions of the vehicle's various driving modes or has poor control over the vehicle, so as to avoid the occurrence of driving safety accidents.
[0005] An embodiment of the present application provides a driving mode control method, comprising: obtaining historical driving information of the driver driving a target vehicle in response to a driving request of a driver, wherein the historical driving information is used to characterize the driver's technical maturity in driving the target vehicle; detecting whether the historical driving information meets preset driving requirements; and controlling the target vehicle to enter a primary driving mode when it is detected that the historical driving information does not meet the preset driving requirements, wherein the maximum speed of the target vehicle is no higher than a preset speed when the target vehicle is in the primary driving mode.
[0006] Compared to related technologies, the embodiments of the present application have at least the following advantages: While the driver is operating the target vehicle, historical driving information of the target vehicle is obtained. Based on this historical driving information, the driver's technical proficiency in operating the target vehicle can be determined, thereby determining whether the target vehicle has entered the primary mode. This avoids driving accidents caused by the driver's lack of familiarity with the target vehicle's various driving modes or poor control over the target vehicle. Furthermore, it improves the driver's driving experience and safety.
[0007] In some possible implementations, the historical driving information includes a cumulative number of trips, a cumulative driving duration, and a cumulative driving distance; obtaining the historical driving information of the driver driving the target vehicle in response to the driver's driving request includes: obtaining the cumulative number of trips, the cumulative driving duration, and the cumulative driving distance of the driver driving the target vehicle in response to the driver's driving request; detecting whether the historical driving information meets the preset driving requirements includes: detecting whether the cumulative number of trips is less than a cumulative number threshold, and / or detecting whether the cumulative driving duration is less than a cumulative duration threshold, and / or detecting whether the cumulative driving distance is less than a cumulative distance threshold; if it is detected that the historical driving information does not meet the preset driving requirements, controlling the target vehicle to enter the primary driving mode includes: controlling the target vehicle to enter the primary driving mode if it is detected that the cumulative number of trips is less than the cumulative number threshold, and / or if it is detected that the cumulative driving duration is less than the cumulative duration threshold, and / or if it is detected that the cumulative driving distance is less than the cumulative distance threshold.
[0008] In some possible implementations, after controlling the target vehicle to enter the primary driving mode, the method further includes: obtaining the current driving time and the current driving distance of the target vehicle; detecting whether the current driving time is greater than or equal to a single time threshold, and whether the current driving distance is greater than or equal to a single distance threshold; if it is detected that the current driving time is greater than or equal to the single time threshold, and the current driving distance is greater than or equal to the single distance threshold, taking the sum of the current driving time and the cumulative driving time as the new cumulative driving time, taking the sum of the current driving distance and the cumulative driving distance as the new cumulative driving distance, and increasing the cumulative number of driving times.
[0009] In some possible implementations, before controlling the target vehicle to enter the primary driving mode, it also includes: determining the number of occurrences of abnormal driving behavior based on the historical driving information; detecting whether the number of occurrences of the abnormal driving behavior is less than the abnormal number threshold; controlling the target vehicle to enter the primary driving mode includes: if it is detected that the number of occurrences of the abnormal driving behavior is greater than the abnormal number threshold, controlling the target vehicle to enter the primary driving mode.
[0010] In some possible implementations, the abnormal number threshold includes a first number threshold and a second number threshold, the first number threshold is less than the second number threshold; the primary driving mode includes a novice mode and a new car mode, and the maximum speed of the target vehicle when in the novice mode is less than the maximum speed of the target vehicle when in the new car mode; if it is detected that the number of occurrences of the abnormal driving behavior is greater than the abnormal number threshold, the target vehicle is controlled to enter the primary driving mode, including: if it is detected that the number of occurrences of the abnormal driving behavior is greater than the first number threshold and less than the second number threshold, the target vehicle is controlled to enter the new car mode; if it is detected that the number of occurrences of the abnormal driving behavior is greater than or equal to the second number threshold, the target vehicle is controlled to enter the novice mode.
[0011] In some possible implementations, the primary driving mode includes a novice mode and a new car mode, and the maximum speed of the target vehicle when in the novice mode is less than the maximum speed of the target vehicle when in the new car mode; the driving request carries the identity information of the driver; before controlling the target vehicle to enter the primary driving mode, it also includes: based on the identity information, obtaining the driver's driving experience data; detecting whether the driving experience data is less than a preset driving experience threshold; controlling the target vehicle to enter the primary driving mode, including: if it is detected that the driving experience data is less than the preset driving experience threshold, controlling the target vehicle to enter the novice mode; if it is detected that the driving experience data is greater than or equal to the preset driving experience threshold, controlling the target vehicle to enter the new car mode.
[0012] In some possible implementations, before controlling the target vehicle to enter the primary driving mode, it also includes: detecting whether the cumulative number of driving times is greater than a preset number threshold, and / or detecting whether the cumulative driving time is greater than a preset time threshold, and / or detecting whether the cumulative driving distance is greater than a preset distance threshold; if it is detected that the cumulative number of driving times is greater than the preset number threshold, and / or it is detected that the cumulative driving time is greater than the preset time threshold, and / or it is detected that the cumulative driving distance is greater than the preset distance threshold, increasing the maximum speed of the target vehicle when it is in the primary driving mode.
[0013] In some possible implementations, the driving request carries the identity information of the driver; after obtaining the historical driving information of the driver driving the target vehicle in response to the driver's driving request, it also includes: obtaining the driver's driving experience data and / or violation data based on the identity information; detecting whether the driving experience data is less than a preset driving experience threshold and / or whether the violation data is less than a preset violation threshold; if it is detected that the driving experience data is greater than or equal to the preset driving experience threshold, and / or, when it is detected that the violation data is less than the preset violation threshold, increasing the cumulative number threshold, the cumulative time threshold and the cumulative distance threshold; if it is detected that the driving experience data is less than the preset driving experience threshold, and / or, when it is detected that the violation data is greater than or equal to the preset violation threshold, reducing the cumulative number threshold, the cumulative time threshold and the cumulative distance threshold.
[0014] In a second aspect, the present application discloses an electronic device, which includes a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call the instructions in the memory so that the electronic device executes the above-mentioned driving mode control method.
[0015] A third aspect of the present application discloses a storage medium comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned driving mode control method.
[0016] It can be understood that the electronic device of the second aspect and the storage medium of the third aspect provided above correspond to the method of the first aspect. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a flow chart of a driving mode control method according to an embodiment of the present application.
[0018] Figure 2 This is another flowchart of a driving mode control method according to an embodiment of the present application.
[0019] Figure 3 This is another flowchart of a driving mode control method according to an embodiment of the present application.
[0020] Figure 4 This is another flowchart of a driving mode control method according to an embodiment of the present application.
[0021] Figure 5 It is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to more clearly understand the above-mentioned objectives, features and advantages of the present application, the present application is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features therein can be combined with each other in the absence of conflict.
[0023] In the following description, many specific details are set forth to facilitate a full understanding of the present application. The described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application pertains. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0025] It should be further noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.
[0026] In this application, "at least one" means one or more, and "more than one" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.
[0027] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0028] Please refer to Figure 1, is a flow chart of the driving mode control method provided in an embodiment of the present application, which is applied to a target vehicle, and the target vehicle is provided with multiple driving modes. The multiple driving modes include at least a standard mode, a professional mode and a primary driving mode. In the present embodiment, the standard mode may include an economy mode, a comfort mode and a snow mode. The professional mode may include a drift mode, a ejection mode and a sport+ mode. Among them, when the target vehicle is in drift mode, the power of the target vehicle is mainly placed at the rear by weakening the functions of the electronic target vehicle stability control system and the driving safety supplementary system (i.e., the ESC function), thereby achieving power drift to increase driving pleasure. When the target vehicle is in ejection mode, the motor stall is mainly utilized to obtain a larger acceleration, thereby obtaining the speed and pleasure of ejection. When the target vehicle is in sport+ mode, the power response of the target vehicle is faster and the acceleration performance is stronger.
[0029] In this embodiment, when the target vehicle is in primary driving mode, the target vehicle's maximum speed is not higher than a preset speed. For example, the preset speed may be 60 km / h or 80 km / h. When the target vehicle is in primary driving mode, the target vehicle's maximum speed is limited to less than 60 km / h or 80 km / h. Alternatively, the target vehicle's maximum speed may be limited by limiting the target vehicle's maximum power. Alternatively, the target vehicle's maximum speed may be limited by limiting the target vehicle's maximum gear position, etc. The preset speed may be modified based on actual design requirements, and this application does not limit the specific value of the preset speed. When the target vehicle is in primary driving mode, by limiting the target vehicle's maximum speed, the target vehicle is prevented from driving too fast, allowing the driver to have sufficient emergency response time in the event of an emergency, thereby reducing the incidence of safety accidents and improving the user experience.
[0030] The driving mode control method includes the following steps:
[0031] Step 101: In response to a driving request from a driver, obtain historical driving information of the driver when driving a target vehicle.
[0032] In some embodiments, the historical driving information includes a cumulative number of trips, a cumulative driving duration, and a cumulative driving distance. When the driver drives the target vehicle, the target vehicle responds to the driver's driving request and obtains the cumulative number of trips, the cumulative driving duration, and the cumulative driving distance of the driver driving the target vehicle.
[0033] In some embodiments, since the same target vehicle may be driven by multiple drivers at different times, in order to obtain historical driving information of different drivers driving the target vehicle, it is necessary to first determine the driver's identity information and then obtain historical driving information of the driver driving the target vehicle. The historical driving information is used to indicate the driver's technical proficiency in driving the target vehicle.
[0034] Furthermore, the driving request carries the driver's identity information. When the driver enters the main driver's seat of the target vehicle, the driver's identity information can be determined in a variety of ways.
[0035] In this embodiment, the driver's identity information can be determined by at least the following methods, which may include fingerprint recognition technology, image acquisition technology, iris technology, and scanning technology.
[0036] For example, a camera can be set near the main driver's seat, and the camera can be used to collect a video stream or image of the driver. The driver's identity information is determined by analyzing the video stream or image. Alternatively, a fingerprint recognition device can be set near the main driver's seat, and the driver's fingerprint information can be identified by the fingerprint recognition device to determine the driver's identity information; or alternatively, a scanning device can be set near the main driver's seat, and the driver's ID can be scanned by the scanning device to determine the driver's identity information. The driver's ID includes at least an ID card and a driver's license. In other embodiments, the driver's ID can also be other documents that can determine the driver's identity information. Alternatively, if the target vehicle is a shared target vehicle, the driver's identity information can be determined by the driver scanning a QR code on the shared target vehicle.
[0037] The above is just an example of various ways to determine the identity information of the driver, and does not limit the way to determine the identity information of the driver to the way described above. In other embodiments, other ways can also be used to determine the identity information of the driver.
[0038] Step 102: Check whether the historical driving information meets the preset driving requirements.
[0039] Specifically, the method detects whether the cumulative number of trips meets the preset driving requirement, and / or detects whether the cumulative driving time meets the preset driving requirement, and / or detects whether the cumulative driving distance meets the preset driving requirement. The specific detection steps are described in detail in subsequent embodiments and will not be repeated here to avoid repetition.
[0040] Step 103: If it is detected that the historical driving information does not meet the preset driving requirements, the target vehicle is controlled to enter the primary driving mode.
[0041] In some embodiments, a determination is made based on the test results as to whether the target vehicle should enter the beginner driving mode. If the historical driving information does not meet preset driving requirements, this indicates that the driver's driving proficiency in the target vehicle is low and that they need to drive the target vehicle more frequently to improve their control. To ensure driving safety, the target vehicle is controlled to enter the beginner driving mode to limit its maximum speed, thereby ensuring driving safety. Furthermore, to prevent accidents caused by drivers who are not yet proficient in controlling the target vehicle from mistakenly switching the target vehicle's driving mode to the professional mode, the professional mode of the target vehicle can be disabled. Furthermore, a voice prompt can be provided to the driver if the driver mistakenly switches the target vehicle's driving mode to the professional mode. For example, the driver can be informed of the reason for switching from the beginner driving mode to the professional mode and be briefed on the features of the professional mode. Conversely, if the historical driving information meets the preset driving requirements, this indicates that the driver's driving proficiency in the target vehicle is high, that the driver has a good understanding of the vehicle's functions, and that the driver has good control over the target vehicle, and the beginner driving mode of the target vehicle can be disabled. The driver can switch the driving mode of the target vehicle to standard mode or professional mode to experience the different driving experiences brought by other driving modes.
[0042] In other embodiments, after the driver has driven the target vehicle for a period of time, even if the driver's historical driving information still does not meet the preset driving requirements, placing the target vehicle in the primary driving mode, since the driver's driving skill has improved during this period, the target vehicle can be controlled to remain in the primary driving mode while allowing the driver to switch the target vehicle's driving mode from the primary driving mode to the standard mode, allowing the driver to experience the different driving experiences offered by the other driving modes.
[0043] Compared with related technologies, the embodiments of the present application have at least the following advantages: when the driver drives the target vehicle, the driver's identity information is determined by means of a camera, a fingerprint recognition device, or a scanning device. Then, the driver's historical driving information of the target vehicle is obtained, and it is detected whether the driver's historical driving information meets the preset driving requirements to determine the maturity of the driver's driving technology for the target vehicle. Finally, based on the detection results, it is determined whether the primary driving mode of the target vehicle is in the on state or the off state. Thus, driving accidents caused by the driver's unfamiliarity with the functions of the various driving modes of the target vehicle or poor control over the target vehicle are avoided. At the same time, the driver's driving experience and driving safety are also improved.
[0044] Please refer to Figure 2 , Figure 2This is another flow chart of the driving mode control method provided by an embodiment of the present application. This embodiment is a specific description of the aforementioned embodiment, and further illustrates: a method of detecting whether historical driving information meets preset driving requirements.
[0045] This embodiment is applied to the target vehicle, and the specific process is as follows Figure 2 As shown, the following steps are included:
[0046] Step 201: In response to a driving request from a driver, the cumulative number of times the driver drives a target vehicle, the cumulative driving time, and the cumulative driving distance are obtained.
[0047] The specific content of this step can be referred to step 101, and will not be repeated here to avoid repetition.
[0048] Step 202: Detect whether the cumulative number of driving times is less than the cumulative number threshold, and / or detect whether the cumulative driving time is less than the cumulative time threshold, and / or detect whether the cumulative driving distance is less than the cumulative distance threshold.
[0049] In some embodiments, the driver's ability to control the target vehicle can be determined by detecting the cumulative number of times the driver drives the target vehicle, and / or detecting the cumulative driving time of the driver driving the target vehicle, and / or detecting the cumulative driving distance of the driver driving the target vehicle.
[0050] In this embodiment, the cumulative number threshold can be set to 10, the cumulative duration threshold can be set to 5 hours, and the cumulative distance threshold can be set to 100 km. In other embodiments, the cumulative number threshold, the cumulative duration threshold, and the cumulative distance threshold can be changed according to actual needs. For example, the cumulative number threshold can also be 12 or 15, the cumulative duration threshold can also be 8 hours or 10 hours, and the cumulative distance threshold can also be 120 km or 150 km. This application does not limit the specific values of the cumulative number threshold, the cumulative duration threshold, and the cumulative distance threshold.
[0051] In some embodiments, the specific values of the cumulative number threshold, the cumulative time threshold, and the cumulative distance threshold can also be adjusted according to the following method. The specific steps include:
[0052] 1. Based on the driver's identity information, obtain the driver's driving experience data and / or violation data.
[0053] Specifically, the driver's license information can be obtained from a traffic management system or other related system, and the driver's driving experience data can be determined from the license information. And / or, the driver's traffic violation data can be obtained. In other embodiments, the number of accidents the driver has occurred can also be obtained.
[0054] 2. Check whether the driving experience data is less than the preset driving experience threshold and / or whether the violation data is less than the preset violation threshold.
[0055] The preset driving experience threshold and the preset traffic violation threshold can be set and modified according to actual circumstances. For example, the preset driving experience threshold can be set to 1 year, 2 years, etc. Similarly, the preset traffic violation threshold can be set to 3 times, 5 times, etc.
[0056] In other embodiments, if the number of accidents a driver has experienced is obtained, one or more of the following may be checked: whether the driver's driving experience data is less than a preset driving experience threshold, whether the violation data is less than a preset violation threshold, and whether the number of accidents is less than a preset accident threshold. Similarly, the number of accidents can be set to 1, 2, etc.
[0057] 3. If the driving experience data is detected to be greater than or equal to the preset driving experience threshold, and / or if the violation data is detected to be less than the preset violation threshold, increase the cumulative number threshold, cumulative time threshold, and cumulative distance threshold.
[0058] 4. If the driving experience data is detected to be less than the preset driving experience threshold, and / or the violation data is detected to be greater than or equal to the preset violation threshold, the cumulative number threshold, the cumulative time threshold, and the cumulative distance threshold are reduced.
[0059] Based on the driver's driving experience data and / or violation data, the system can determine the driver's driving skill level and dynamically adjust the specific values of the cumulative number of times, cumulative time, and cumulative distance thresholds. By setting different test values for different drivers, the target vehicle's driving mode can be adjusted according to the driver's different driving skills, thereby improving the driver's driving experience.
[0060] Step 203: If it is detected that the cumulative number of driving times is less than the cumulative number threshold, and / or if it is detected that the cumulative driving time is less than the cumulative time threshold, and / or if it is detected that the cumulative driving distance is less than the cumulative distance threshold, control the target vehicle to enter the primary driving mode.
[0061] In some embodiments, if it is detected that the cumulative number of driving times is less than a cumulative number threshold, and / or if it is detected that the cumulative driving duration is less than a cumulative duration threshold, and / or if it is detected that the cumulative driving distance is less than a cumulative distance threshold, it is proved that the driver's driving level of the target vehicle or the driver's control over the target vehicle needs to be improved. It is also necessary to drive the target vehicle multiple times to improve the control level of the target vehicle. In order to ensure driving safety, the target vehicle is controlled to be in a primary driving mode to limit the maximum speed of the target vehicle, thereby ensuring driving safety.
[0062] Conversely, if the target vehicle's entry-level driving mode is turned off, the target vehicle can enter other driving modes besides the entry-level driving mode, such as standard mode or professional mode. This proves that the driver's driving skills are relatively mature, and the driver can experience the different driving pleasures brought by other driving modes.
[0063] In some embodiments, before controlling the target vehicle to enter the primary driving mode, it is further possible to detect whether the cumulative number of trips is greater than a preset number threshold, and / or whether the cumulative driving time is greater than a preset time threshold, and / or whether the cumulative driving distance is greater than a preset distance threshold. The preset number threshold is less than the cumulative number threshold, the preset time threshold is less than the cumulative time threshold, and the preset distance threshold is less than the cumulative distance threshold. If it is detected that the cumulative number of trips is greater than the preset number threshold, and / or the cumulative driving time is greater than the preset time threshold, and / or the cumulative driving distance is greater than the preset distance threshold, the maximum speed of the target vehicle when in the primary driving mode is increased.
[0064] By comparing one or more of the cumulative number of trips, cumulative driving time, and cumulative driving distance with corresponding preset thresholds, a determination is made, based on the comparison results, as to whether to gradually increase the maximum speed of the target vehicle in the primary driving mode. This allows the maximum speed limit of the target vehicle to be gradually relaxed as the driver's driving skills mature, thereby improving the driving experience.
[0065] Step 204: Obtain the current driving time and current driving distance of the target vehicle.
[0066] In some embodiments, the target vehicle's driving mode is determined by detecting whether the driver's cumulative driving times, driving duration, and driving distance meet preset driving requirements. To determine the driver's driving mode the next time they drive the target vehicle, the driver's current driving duration and distance are required.
[0067] Step 205: Check whether the current driving duration is greater than or equal to a single duration threshold, and whether the current driving distance is greater than or equal to a single distance threshold.
[0068] In this embodiment, the single trip duration threshold may be 0.5 hours, and the single trip distance threshold may be 10 km. It is detected whether the current driving duration is greater than or equal to 0.5 and whether the current driving distance is greater than or equal to 10. In other embodiments, the single trip duration threshold may be 20 minutes or 40 minutes, and the single distance threshold may be 15 km or 20 km. This application does not limit the specific values of the single trip duration threshold and the single distance threshold, and they can be set according to actual design requirements.
[0069] Step 206: If it is detected that the current driving time is greater than or equal to the single time threshold, and the current driving distance is greater than or equal to the single distance threshold, the sum of the current driving time and the cumulative driving time is used as the new cumulative driving time, the sum of the current driving distance and the cumulative driving distance is used as the new cumulative driving distance, and the cumulative number of driving times is increased.
[0070] In this embodiment, the cumulative number of trips is incremented by one to form a new cumulative number of trips. The next time the driver drives the target vehicle, the driver's control over the target vehicle is detected based on one or more of the new cumulative driving time, the new cumulative driving distance, and the new cumulative number of trips, thereby determining whether the primary driving mode of the target vehicle is in the off state or in the on state.
[0071] It can be understood that by simultaneously detecting the current driving time and distance, it is possible to avoid situations where the target vehicle is idle for an extended period of time or is driven at a relatively slow speed for an extended period of time while the driver is driving the target vehicle, thereby preventing inaccurate subsequent detection of the driver's control over the target vehicle using one or more of the new cumulative driving time, new cumulative driving distance, and new cumulative number of trips. This can lead to situations where the driver mistakenly switches the target vehicle's driving mode to the professional mode when the target vehicle's primary driving mode is off, causing a driving accident.
[0072] Compared to related technologies, the embodiments of the present application have at least the following advantages: by detecting one or more of the cumulative number of times the driver has driven the target vehicle, the cumulative driving time, and the cumulative driving distance, the driver's control ability over the target vehicle can be more accurately verified. This avoids accidents caused by improper operation of the target vehicle's related functions due to the driver's immature driving skills. Furthermore, it further enhances the driver's driving experience.
[0073] Please refer to Figure 3 , Figure 3 This is another flow chart of the driving mode control method provided by an embodiment of the present application. This embodiment is a specific description of the aforementioned embodiment, and further illustrates: another way to detect whether historical driving information meets the preset driving requirements.
[0074] This embodiment is applied to the target vehicle, and the specific process is as follows Figure 3 As shown, the following steps are included:
[0075] Step 301: In response to a driving request from a driver, the cumulative number of times the driver drives a target vehicle, the cumulative driving time, and the cumulative driving distance are obtained.
[0076] The specific content of this step can also refer to step 101, and will not be repeated here to avoid repetition.
[0077] Step 302: Detect whether the cumulative number of driving times is less than the cumulative number threshold, and / or detect whether the cumulative driving time is less than the cumulative time threshold, and / or detect whether the cumulative driving distance is less than the cumulative distance threshold.
[0078] Step 302 is the same as step 202 and will not be described again here to avoid repetition.
[0079] Step 303: If it is detected that the cumulative number of driving times is less than the cumulative number threshold, and / or if it is detected that the cumulative driving time is less than the cumulative time threshold, and / or if it is detected that the cumulative driving distance is less than the cumulative distance threshold, determine the number of occurrences of abnormal driving behavior from the historical driving information.
[0080] In some embodiments, abnormal driving behaviors include sudden braking, sudden acceleration, sudden deceleration, sharp turns, and lane deviation corrections. The number of occurrences of each abnormal driving behavior is determined from the driving data. In other embodiments, abnormal driving behaviors may also include other types, such as failing to use a turn signal when changing lanes or turning, or illegally overtaking or changing lanes.
[0081] Step 304: If it is detected that the number of occurrences of abnormal driving behavior is greater than the abnormal number threshold, the target vehicle is controlled to enter the primary driving mode.
[0082] In some embodiments, if the number of abnormal driving behaviors detected exceeds a threshold, it indicates that the driver's control over the target vehicle is not yet sufficient. To avoid accidents and ensure the safety of passengers, the target vehicle is controlled to enter a primary driving mode.
[0083] In some embodiments, the primary driving mode includes a novice mode and a new car mode, and the maximum speed of the target vehicle when in the novice mode is less than the maximum speed of the target vehicle when in the new car mode. In the present embodiment, the novice mode is mainly used when the driver has a low degree of driving maturity for the target vehicle. For example, when a driver who has just obtained a driver's license not long ago drives the target vehicle, the target vehicle can be placed in novice mode when the driver is driving the target vehicle. The new car mode is mainly used when the driver's technology for driving the target vehicle is relatively mature, but the driver has not yet driven the target vehicle or has driven the target vehicle a small number of times, and the driving control of the target vehicle is not yet mature. At this time, when the driver is driving the target vehicle, the target vehicle can be placed in new car mode.
[0084] In some embodiments, the abnormal number threshold includes a first number threshold and a second number threshold, wherein the first number threshold is less than the second number threshold. If the number of occurrences of abnormal driving behavior detected is greater than the first number threshold and less than the second number threshold, the target vehicle is controlled to enter the new vehicle mode. If the number of occurrences of abnormal driving behavior detected is greater than or equal to the second number threshold, the target vehicle is controlled to enter the novice mode.
[0085] Step 305: Obtain the current driving time and current driving distance of the target vehicle.
[0086] Step 306: Check whether the current driving duration is greater than or equal to a single duration threshold, and whether the current driving distance is greater than or equal to a single distance threshold.
[0087] Step 307: If it is detected that the current driving time is greater than or equal to the single time threshold, and the current driving distance is greater than or equal to the single distance threshold, the sum of the current driving time and the cumulative driving time is used as the new cumulative driving time, the sum of the current driving distance and the cumulative driving distance is used as the new cumulative driving distance, and the cumulative number of driving times is increased.
[0088] Steps 305 to 307 are the same as steps 204 to 206 and will not be described again here to avoid repetition.
[0089] Compared to related technologies, the embodiments of the present application have at least the following advantages: by detecting one or more of the cumulative number of times the driver has driven the target vehicle, the cumulative driving time, and the cumulative driving distance, as well as the number of abnormal driving behaviors, the driver's control ability in driving the target vehicle can be more accurately verified. This verifies the driver's driving proficiency and avoids accidents caused by improper operation of the target vehicle's related functions due to the driver's immature driving skills. Furthermore, it further improves the driver's driving experience.
[0090] Please refer to Figure 4 , Figure 4 This is another flow chart of the driving mode control method provided in one embodiment of the present application. This embodiment is a specific description of the above embodiment, further illustrating how to determine the primary driving mode. It includes the following steps:
[0091] Step 401: In response to a driving request from a driver, obtain historical driving information of the driver when driving a target vehicle.
[0092] In some embodiments, the driving request carries the driver's identity information.
[0093] Step 402: Check whether the historical driving information meets the preset driving requirements.
[0094] Step 401 and step 402 are the same as step 101 and step 102, and will not be described again here to avoid repetition.
[0095] Step 403: When it is detected that the historical driving information does not meet the preset driving requirements, the driver's driving experience data is obtained based on the identity information.
[0096] In this embodiment, the method for obtaining the driver's driving experience data can refer to the description in the above embodiments.
[0097] Step 404: Check whether the driving experience data is less than a preset driving experience threshold.
[0098] In some embodiments, the preset driving experience threshold can be set to 1 year or 2 years, depending on actual design requirements.
[0099] In some embodiments, the primary driving mode includes a novice mode and a new car mode, and the maximum speed of the target vehicle when in the novice mode is less than the maximum speed of the target vehicle when in the new car mode. In the present embodiment, the novice mode is mainly used when the driver is less mature in driving the target vehicle. For example, when a driver who has just obtained a driver's license not long ago drives the target vehicle, the target vehicle can be placed in novice mode when the driver is driving the target vehicle. The new car mode is mainly used when the driver's technology for driving the target vehicle is relatively mature, but the driver has not yet driven the target vehicle or has driven the target vehicle a small number of times, and the driving control of the target vehicle is not yet mature. At this time, when the driver is driving the target vehicle, the target vehicle can be placed in new car mode.
[0100] Step 405: If it is detected that the driving experience data is less than the preset driving experience threshold, the target vehicle is controlled to enter the novice mode.
[0101] In some embodiments, if the driving experience data is less than a preset driving experience threshold, it indicates that the driver has only recently obtained a driver's license. In this case, the driver's vehicle driving skills may not be mature enough. Therefore, the target vehicle is controlled to enter a novice mode to ensure safety during driving.
[0102] Step 406: If it is detected that the driving experience data is greater than or equal to the preset driving experience threshold, control the target vehicle to enter the new vehicle mode.
[0103] In some embodiments, if the driving experience data is greater than or equal to a preset driving experience threshold, it indicates that the driver has certain driving ability, but the driver may not be familiar with the functions of the target vehicle or have low driving control ability of the target vehicle. Therefore, the target vehicle is controlled to enter the new vehicle mode to ensure safety during driving.
[0104] It is understandable that when historical driving information meets the preset driving requirements, detecting the driver's driving experience data can provide appropriate driving modes for drivers of different driving levels, thereby providing different driving experiences for drivers of different driving levels.
[0105] Compared to related technologies, the embodiments of the present application have at least the following advantages: by simultaneously detecting the driver's historical driving information and driving experience data for the target vehicle, appropriate driving modes can be provided for drivers of varying driving proficiency. Furthermore, as the driver's cumulative number of trips, cumulative distance driven, and cumulative driving time in the target vehicle increase, the maximum speeds in Novice Mode and New Car Mode are adjusted to continuously adapt to the driver's driving proficiency. This further enhances the driver's driving experience in the target vehicle.
[0106] Please refer to Figure 5 , is a schematic diagram of the hardware structure of the electronic device 1000 provided in the embodiment of the present application. Figure 5 As shown, electronic device 1000 may include a processor 1001 and a memory 1002. Memory 1002 is configured to store one or more computer programs 1003. One or more computer programs 1003 are configured to be executed by processor 1001. The one or more computer programs 1003 include instructions that can be used to implement the aforementioned driving mode control method in electronic device 1000.
[0107] It is understood that the structure shown in this embodiment does not constitute a specific limitation on the electronic device 1000. In other embodiments, the electronic device 1000 may include more or fewer components than shown, or combine or separate some components, or arrange the components differently.
[0108] The processor 1001 may include one or more processing units. For example, the processor 1001 may include an application processor (AP), a modem, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.
[0109] Processor 1001 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in processor 1001 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 1001. If processor 1001 needs to use the same instruction or data again, it can directly access it from this memory. This avoids duplicate accesses, reduces the waiting time of processor 1001, and thus improves system efficiency.
[0110] In some embodiments, the processor 1001 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM interface, and / or a USB interface.
[0111] In some embodiments, processor 1001 is used to execute acceleration schemes such as single instruction multiple data (SIMD) and very long instruction word (VLIW).
[0112] In some embodiments, memory 1002 may include high-speed random access memory and may also include non-volatile memory, such as a hard disk, memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0113] This embodiment also provides a storage medium, which stores computer instructions. When the instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the driving mode control method in the above-mentioned embodiment.
[0114] Among them, the electronic device and storage medium provided in this embodiment are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0115] In practical applications, the above functions can be distributed 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.
[0116] In the several embodiments provided in this application, the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are schematic. For example, the division of the modules or units is 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.
[0117] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0118] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0119] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0120] The above description is only a specific implementation method of the present application, but the protection scope of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in the present application should be included in the protection scope of the present application.
Claims
1. A driving mode control method, characterized in that: include: In response to a driving request of a driver, obtaining historical driving information of the driver driving a target vehicle, wherein the historical driving information is used to characterize the technical maturity of the driver driving the target vehicle; Detecting whether the historical driving information meets the preset driving requirements; If it is detected that the historical driving information does not meet the preset driving requirement, the target vehicle is controlled to enter a primary driving mode, wherein when the target vehicle is in the primary driving mode, the maximum speed of the target vehicle is not higher than a preset speed.
2. The driving mode control method according to claim 1, characterized in that: The historical driving information includes the cumulative number of trips, the cumulative driving time and the cumulative driving distance; The step of obtaining, in response to the driver's driving request, historical driving information of the driver driving the target vehicle includes: In response to the driving request of the driver, obtaining the cumulative number of times the driver drives the target vehicle, the cumulative driving time, and the cumulative driving distance; The detecting whether the historical driving information meets the preset driving requirements includes: Detecting whether the cumulative number of driving times is less than a cumulative number threshold, and / or detecting whether the cumulative driving time is less than a cumulative time threshold, and / or detecting whether the cumulative driving distance is less than a cumulative distance threshold; If it is detected that the historical driving information does not meet the preset driving requirement, controlling the target vehicle to enter the primary driving mode includes: If it is detected that the cumulative number of driving times is less than the cumulative number threshold, and / or if it is detected that the cumulative driving time is less than the cumulative time threshold, and / or if it is detected that the cumulative driving distance is less than the cumulative distance threshold, the target vehicle is controlled to enter the primary driving mode.
3. The driving mode control method according to claim 2, characterized in that: After controlling the target vehicle to enter the primary driving mode, the method further includes: Obtaining the current driving time and current driving distance of the target vehicle; Detecting whether the current driving duration is greater than or equal to a single duration threshold, and whether the current driving distance is greater than or equal to a single distance threshold; If it is detected that the current driving duration is greater than or equal to the single duration threshold, and the current driving distance is greater than or equal to the single distance threshold, the sum of the current driving duration and the cumulative driving duration is taken as the new cumulative driving duration, the sum of the current driving distance and the cumulative driving distance is taken as the new cumulative driving distance, and the cumulative number of driving times is increased.
4. The driving mode control method according to claim 2, characterized in that: Before controlling the target vehicle to enter the primary driving mode, the method further includes: determining the number of occurrences of abnormal driving behavior based on the historical driving information; Detecting whether the number of occurrences of the abnormal driving behavior is less than an abnormal number threshold; The controlling the target vehicle to enter the primary driving mode comprises: If it is detected that the occurrence frequency of the abnormal driving behavior is greater than the abnormal frequency threshold, the target vehicle is controlled to enter the primary driving mode.
5. The driving mode control method according to claim 4, characterized in that: The abnormal number threshold includes a first number threshold and a second number threshold, the first number threshold is less than the second number threshold; the primary driving mode includes a novice mode and a new car mode, and the maximum speed of the target vehicle when in the novice mode is less than the maximum speed of the target vehicle when in the new car mode; If it is detected that the number of occurrences of the abnormal driving behavior is greater than the abnormal number threshold, controlling the target vehicle to enter the primary driving mode includes: If it is detected that the number of occurrences of the abnormal driving behavior is greater than the first number threshold and less than the second number threshold, controlling the target vehicle to enter the new vehicle mode; If it is detected that the number of occurrences of the abnormal driving behavior is greater than or equal to the second number threshold, the target vehicle is controlled to enter the novice mode.
6. The driving mode control method according to claim 1, characterized in that: The primary driving mode includes a novice mode and a new car mode, and the maximum speed of the target vehicle when in the novice mode is less than the maximum speed of the target vehicle when in the new car mode; The driving request carries the identity information of the driver; Before controlling the target vehicle to enter the primary driving mode, the method further includes: Based on the identity information, obtaining the driving experience data of the driver; Detecting whether the driving experience data is less than a preset driving experience threshold; The controlling the target vehicle to enter the primary driving mode comprises: If it is detected that the driving experience data is less than the preset driving experience threshold, controlling the target vehicle to enter the novice mode; If it is detected that the driving experience data is greater than or equal to the preset driving experience threshold, the target vehicle is controlled to enter the new vehicle mode.
7. The driving mode control method according to claim 2, characterized in that: Before controlling the target vehicle to enter the primary driving mode, the method further includes: Detecting whether the cumulative number of driving times is greater than a preset number threshold, and / or detecting whether the cumulative driving time is greater than a preset time threshold, and / or detecting whether the cumulative driving distance is greater than a preset distance threshold; If it is detected that the cumulative number of driving times is greater than a preset number threshold, and / or, it is detected that the cumulative driving time is greater than a preset time threshold, and / or, it is detected that the cumulative driving distance is greater than a preset distance threshold, the maximum speed of the target vehicle when it is in the primary driving mode is increased.
8. The driving mode control method according to claim 2, characterized in that: The driving request carries the identity information of the driver; After obtaining the historical driving information of the driver driving the target vehicle in response to the driver's driving request, the method further includes: Based on the identity information, obtaining the driver's driving experience data and / or violation data; Detecting whether the driving experience data is less than a preset driving experience threshold and / or whether the traffic violation data is less than a preset traffic violation threshold; If it is detected that the driving experience data is greater than or equal to the preset driving experience threshold, and / or, if it is detected that the traffic violation data is less than the preset traffic violation threshold, increase the cumulative number threshold, the cumulative time threshold and the cumulative distance threshold; If it is detected that the driving experience data is less than the preset driving experience threshold, and / or, when it is detected that the violation data is greater than or equal to the preset violation threshold, the cumulative number threshold, the cumulative time threshold and the cumulative distance threshold are reduced.
9. An electronic device, characterized in that: The electronic device includes a processor and a memory, the memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device executes the driving mode control method according to any one of claims 1 to 8.
10. A computer storage medium, characterized in that: The computer storage medium stores computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the driving mode control method according to any one of claims 1 to 8.
