Method, device and terminal equipment for automatic switching of operating mode of a vehicle
By pre-storing the locations and modes that the vehicle frequently travels, the system automatically switches operating modes based on the current vehicle speed and location, solving the inconvenience of manually adjusting vehicle modes for users, achieving automatic switching, and improving the driving experience.
Patent Information
- Application Number
- CN202310670894.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-07
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2043-06-07
AI Technical Summary
Users need to manually adjust the vehicle's operating mode, which is inconvenient, especially on frequently traveled fixed road sections, where existing technology cannot achieve automatic switching.
By pre-storing the locations that users frequently pass through, along with their corresponding operating modes and speeds, the system uses the vehicle's current location and speed to determine whether to automatically switch to the pre-stored operating mode, including power mode and driving mode.
It enables automatic switching of vehicle operating modes, reducing manual operation by the user and improving the driving experience.
Smart Images

Figure CN116513193B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of intelligent vehicles, and particularly relates to a method and device for automatically switching the running mode of a vehicle and a terminal device. BACKGROUND
[0002] With the development of vehicles, people have higher and higher requirements for the intelligent level of vehicles. At present, when a vehicle is running, a user needs to press a button or a key to adjust the running mode of the vehicle. If the user often passes through a fixed road section and needs to change the running mode of the vehicle on the road section, for example, the user takes a fixed route to go to work and school, the user needs to adjust the running mode of the vehicle every time the user passes through the road section, which is inconvenient for the user. SUMMARY
[0003] The present application provides a method and device for automatically switching the running mode of a vehicle and a terminal device, which can solve the problem that the user needs to adjust the running mode of the vehicle and the running mode cannot be automatically adjusted.
[0004] In a first aspect, the present application provides a method for automatically switching the running mode of a vehicle, comprising:
[0005] obtaining the current speed and the current position of the vehicle;
[0006] if the current position is a pre-stored position, obtaining the pre-stored speed corresponding to the pre-stored position;
[0007] if the absolute value of the difference between the current speed and the pre-stored speed is less than a first preset threshold, obtaining the pre-stored running mode of the vehicle corresponding to the pre-stored position;
[0008] controlling the vehicle to run based on the pre-stored running mode.
[0009] In an implementable manner, the pre-stored running mode includes a power mode and / or a driving mode.
[0010] Before the step of controlling the vehicle to run based on the pre-stored running mode, the method further comprises:
[0011] obtaining the current state of the vehicle based on the category of the pre-stored running mode, wherein when the category of the pre-stored running mode is the power mode and the driving mode, the current state includes the residual energy value of a power output device and the fault state of a target component in the vehicle, the target component being a component that needs to be used when the driving mode is converted;
[0012] Correspondingly, the step of controlling the vehicle to run based on the pre-stored running mode comprises:
[0013] If the current state meets preset requirements, the vehicle is controlled to travel based on the pre-stored running mode, the preset requirements including that the residual energy value is greater than a second preset threshold corresponding to the power mode, and the target component is in a non-fault state.
[0014] In an implementable manner, after the current state of the vehicle is obtained based on the pre-stored running mode, the method further includes:
[0015] If the current state does not meet the preset requirements, the pre-stored running mode is ignored.
[0016] In an implementable manner, the pre-stored running mode of the vehicle corresponding to the pre-stored position includes:
[0017] A pre-stored road section length of a road section corresponding to the pre-stored position is obtained, wherein the pre-stored road section length is determined based on continuous position points of the vehicle using the pre-stored running mode in a historical time period, and the continuous position points include the pre-stored position.
[0018] If the pre-stored road section length is greater than or equal to a first preset length, the pre-stored running mode of the vehicle corresponding to the pre-stored position is obtained.
[0019] In an implementable manner, after the road section length of the road section corresponding to the pre-stored position is obtained, the method further includes:
[0020] If the pre-stored road section length is less than the first preset length, it is determined whether there are other road sections before and after the road section corresponding to the pre-stored position.
[0021] If there are other road sections before or after the road section corresponding to the pre-stored position, the pre-stored running mode of the vehicle corresponding to the pre-stored position is obtained.
[0022] In an implementable manner, before the current speed and the current position of the vehicle are obtained, the method further includes:
[0023] Historical driving data of the vehicle is obtained, and the historical driving data includes a historical running mode and a driving speed used by the vehicle each time the vehicle travels to the pre-stored position;
[0024] A candidate running mode in the historical running mode is determined, wherein the candidate running mode is a historical running mode with a number of uses greater than a preset number of uses or a historical running mode with the most uses.
[0025] For any candidate running mode, an absolute value of a difference between any two driving speeds corresponding to the candidate running mode is calculated, to obtain each speed difference corresponding to the candidate running mode.
[0026] If the number of target speed differences is greater than a third preset threshold, the candidate running mode is stored as the pre-stored running mode corresponding to the pre-stored position, wherein the target speed difference is a speed difference greater than a fourth preset threshold among speed differences corresponding to the candidate running mode.
[0027] Based on the driving speed used for calculating the target speed difference, the pre-stored vehicle speed corresponding to the pre-stored position is determined.
[0028] In an implementable manner, after the candidate running mode is stored as the pre-stored running mode corresponding to the pre-stored position, the method further includes:
[0029] If there is a target position in all pre-stored positions, the total length between the first target position and the last target position is calculated, wherein the target position is a pre-stored position continuously passed through by the vehicle and corresponding to the same pre-stored running mode.
[0030] The total length is stored as the road segment length of the road segment corresponding to each target position.
[0031] In a second aspect, an embodiment of the present application provides an automatic switching device for a running mode of a vehicle, including:
[0032] An information acquisition module is configured to acquire a current vehicle speed and a current position of the vehicle.
[0033] A pre-stored position acquisition module is configured to acquire a pre-stored vehicle speed corresponding to a pre-stored position if the current position is the pre-stored position.
[0034] A pre-stored mode acquisition module is configured to acquire a pre-stored running mode of the vehicle corresponding to the pre-stored position if an absolute value of a difference between the current vehicle speed and the pre-stored vehicle speed is less than a first preset threshold.
[0035] A vehicle control module is configured to control the vehicle to drive based on the pre-stored running mode.
[0036] In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the automatic switching method for a running mode of a vehicle in any one of the first aspect.
[0037] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is executable on a processor to implement the automatic switching method for a running mode of a vehicle in any one of the first aspect.
[0038] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to perform the automatic switching method of the running mode of the vehicle according to any one of the first aspect.
[0039] In a sixth aspect, an embodiment of the present application provides a vehicle, which comprises a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the automatic switching method of the running mode of the vehicle according to any one of the first aspect when executing the computer program.
[0040] The beneficial effects of the first aspect of the present application compared with the prior art are that the present application first acquires the current speed and the current position of the vehicle, if the current position is the pre-stored position, the pre-stored speed corresponding to the pre-stored position can be acquired, if the absolute value of the difference between the current speed and the pre-stored speed is less than a first pre-set threshold, the pre-stored running mode of the vehicle corresponding to the pre-stored position is acquired, and finally the vehicle is controlled to run according to the pre-stored running mode.
[0041] The present application pre-stores the pre-stored position, and the pre-stored speed and the pre-stored running mode corresponding to the pre-stored position, when the vehicle passes the pre-stored position again, whether the vehicle is switched to the pre-stored running mode can be directly determined according to the pre-stored speed, if it is determined that the vehicle can be switched to the pre-stored running mode, the vehicle is controlled to run according to the pre-stored running mode, the present application does not need the user to manually switch the running mode at the pre-stored position, and the automatic switching of the running mode is realized.
[0042] It can be understood that the beneficial effects of the second aspect to the sixth aspect can be referred to the related description in the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0044] Figure 1 is a flowchart of the automatic switching method of the running mode of the vehicle provided by an embodiment of the present application;
[0045] Figure 2 is a flowchart of the method for self-learning and determining the pre-stored running mode and the pre-stored speed of the vehicle provided by an embodiment of the present application;
[0046] Figure 3 is a structural schematic diagram of the automatic switching device of the running mode of the vehicle provided by an embodiment of the present application;
[0047] Figure 4 is a structural schematic diagram of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0048] It should be understood that the term "comprises" as used in the specification and the appended claims indicates the presence of the described features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0049] It should also be understood that the term "and / or" as used in the specification and the appended claims, means any one or more of the associated listed items, as well as all possible combinations of the items.
[0050] As used in the specification and the appended claims, the term "if' can be interpreted as meaning "when" or "once" or "in response to a determination" or "in response to a detection" depending on the context. Similarly, the phrase "if determined" or "if detected [the described condition or event]" can be interpreted to mean "once determined" or "in response to a determination" or "once detected [the described condition or event]" or "in response to a detection [the described condition or event]" depending on the context.
[0051] In addition, in the description of the specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0052] In the present application, the reference "one embodiment" or "some embodiments" and the like means that the specific features, structures or characteristics described in connection with the embodiment are included in one or more embodiments of the present application. Therefore, the statements "in one embodiment", "in some embodiments", "in other some embodiments", "in further some embodiments" and the like appearing in different places in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized.
[0053] At present, in order to meet the needs of users, various power modes and driving modes can be configured in a vehicle, and the power mode and the driving mode of the vehicle can be referred to as the running mode of the vehicle. During use of the vehicle, the user can arbitrarily match the power mode and the driving mode to meet different driving experiences.
[0054] The power mode is mainly used to control the power output mode of the vehicle. The driving mode is mainly used to control the driving style of the vehicle. For a hybrid vehicle, the power mode can include an electric mode, a hybrid mode and an oil mode; and the driving mode can include a standard mode, a sport mode and an economic mode. When the vehicle is in the electric mode, the battery is the power output device, and the vehicle consumes electric energy. When the vehicle is in the hybrid mode, the vehicle consumes electric energy and fuel, and the battery and the fuel device are the power output devices. When the vehicle is in the oil mode, the fuel device is the power output device, and the vehicle consumes fuel. When the vehicle is in the sport mode, the fuel consumption increases, and the power of the vehicle increases. When the vehicle is in the economic mode, the fuel consumption decreases, and the power of the vehicle decreases. When the vehicle is in the standard mode, the fuel consumption is between the fuel consumption in the sport mode and the fuel consumption in the economic mode, and the power of the vehicle is also between the power in the sport mode and the power in the economic mode.
[0055] When a user uses the vehicle, the user often passes through the same position, for example, an office worker often takes the same road when going to work and going home. The user needs to manually adjust the power mode and the driving mode of the vehicle every time the user passes through a road, which is inconvenient for the user.
[0056] Based on the above reasons, the present application provides a method for automatically switching the running mode of a vehicle. The positions frequently passed through by a user and the running modes frequently used by the user when passing through the positions are pre-stored. When the user passes through the positions again, the user does not need to manually adjust the running mode of the vehicle. The vehicle can automatically drive according to the pre-stored running mode of the position, thereby realizing the automatic switching of the running mode of the vehicle.
[0057] Figure 1 A schematic flowchart of the method for automatically switching the running mode of the vehicle provided by the present application is shown. The method provided by the present application can be applied to a central control device in a vehicle and can also be applied to a cloud server. Referring to Figure 1 The details of the method are as follows:
[0058] S101, obtaining the current speed and the current position of the vehicle.
[0059] In this embodiment, the current speed of the vehicle can be measured by a speed sensor on the vehicle. The current position of the vehicle can be determined by GPS (Global Positioning System) positioning.
[0060] If the method provided by the present application is applied to a cloud server, the cloud server obtains the current speed and the current position from the vehicle.
[0061] S102, if the current position is a pre-stored position, obtaining a pre-stored speed corresponding to the pre-stored position.
[0062] In the embodiment, the pre-stored position is a position stored in advance. The pre-stored speed corresponding to each pre-stored position and a pre-stored running mode are stored in advance. The pre-stored running mode can include a power mode and / or a driving mode. The pre-stored speed represents the speed of the vehicle when passing the pre-stored position and using the pre-stored running mode. The pre-stored position is a position frequently passed by the user, and the pre-stored position can be determined according to the position points on the route traveled by the user.
[0063] In S103, if the absolute value of the difference between the current speed and the pre-stored speed is less than a first preset threshold, a pre-stored running mode of the vehicle corresponding to the pre-stored position is obtained.
[0064] In the embodiment, if the current speed of the vehicle is similar to the pre-stored speed, it indicates that the road condition in which the vehicle is currently located is similar to the road condition in which the vehicle used the pre-stored running mode at the historical time, and the vehicle can drive according to the pre-stored running mode. Therefore, when the absolute value of the difference between the current speed and the pre-stored speed is less than the first preset threshold, the pre-stored running mode corresponding to the pre-stored position can be obtained.
[0065] The first preset threshold can be set as needed, for example, the first preset threshold can be set to 18Km / h or 20Km / h, etc.
[0066] The pre-stored running mode can exist in the form of a label, a letter or a word. If the pre-stored running mode exists in the form of a label, each label corresponds to a running mode.
[0067] In S104, the vehicle is controlled to drive based on the pre-stored running mode.
[0068] In the embodiment, the running mode of the vehicle is converted to the pre-stored running mode, and the vehicle drives using the pre-stored running mode. If the present application is applied in a cloud server, the cloud server can send the pre-stored running mode to the vehicle, so that the vehicle drives based on the pre-stored running mode.
[0069] If the pre-stored running mode corresponding to the pre-stored position is multiple, the vehicle is controlled to drive based on any pre-stored running mode.
[0070] In the embodiment of the present application, the current speed and the current position of the vehicle are acquired first, if the current position is a pre-stored position, the pre-stored speed corresponding to the pre-stored position can be acquired, if the absolute value of the difference between the current speed and the pre-stored speed is less than a first pre-set threshold, the pre-stored running mode of the vehicle corresponding to the pre-stored position is acquired, and finally the vehicle is controlled to run according to the pre-stored running mode. The pre-stored position, the pre-stored speed corresponding to the pre-stored position and the pre-stored running mode are pre-stored, when the vehicle reaches the pre-stored position, whether the vehicle can be switched to the pre-stored running mode is determined according to the pre-stored speed, if it is determined that the vehicle can be switched to the pre-stored running mode, the vehicle is controlled to run according to the pre-stored running mode, the running mode is automatically switched without manual switching by the user at the pre-stored position, and the automatic switching of the running mode is realized.
[0071] In a possible implementation, before step S104, the above method can further include:
[0072] Based on the category of the pre-stored running mode, the current state of the vehicle is acquired, wherein when the category of the pre-stored running mode is the power mode and the driving mode, the current state includes the residual energy value of the power output device and the fault state of the target component in the vehicle, the target component is a component that needs to be used when the driving mode is converted.
[0073] In the embodiment, the category of the pre-stored running mode can be the power mode and / or the driving mode. When the category of the pre-stored running mode is the power mode, only the residual energy value of the power output device in the vehicle can be acquired. When the category of the pre-stored running mode is the driving mode, only the fault state of the target component in the vehicle can be acquired.
[0074] When the residual energy value of the power output device is acquired, the residual energy value of the corresponding device can also be acquired according to the category of the power mode, for example, if the power mode is the pure electric mode, the residual power of the battery is acquired, if the power mode is the pure oil mode, the residual oil of the fuel device is acquired, and if the power mode is the hybrid mode, the residual power of the battery and the residual oil of the fuel device are acquired.
[0075] The target component can include the ESP (Electronic Stability Program, vehicle body electronic stability control system), the central control device, the transmitter controller and / or the transmission controller, etc.
[0076] Correspondingly, step S104 includes: if the current state meets a pre-set requirement, the vehicle is controlled to run based on the pre-stored running mode, the pre-set requirement includes that the residual energy value is greater than a second pre-set threshold corresponding to the power mode, and the target component is in a non-fault state.
[0077] In the embodiment, the current state of the vehicle can be used to determine whether the vehicle can switch to the pre-stored running mode at the current time. If the current state meets the preset requirement, it indicates that the vehicle can switch to the pre-stored running mode, and the vehicle can travel according to the pre-stored running mode. If the current state does not meet the preset requirement, it indicates that the vehicle cannot switch to the pre-stored running mode, the pre-stored running mode can be ignored, and driving according to the currently used running mode is continued; or the state of automatically switching the running mode is exited, and the user switches the running mode to be used by himself.
[0078] Specifically, if the remaining energy value is greater than the second preset threshold corresponding to the power mode, it indicates that the remaining energy value in the vehicle can support the power mode. For example, if the power mode is the pure electric mode, the remaining electric quantity is 60%, and the remaining electric quantity is greater than the first threshold, it is determined that the remaining energy value is greater than the second preset threshold corresponding to the power mode, and the vehicle can run using the pure electric mode. The second preset threshold includes the first threshold. If the power mode is the pure oil mode, the remaining oil quantity is 30%, and the remaining oil quantity is greater than the second threshold, it is determined that the remaining energy value is greater than the second preset threshold corresponding to the power mode, and the vehicle can run using the pure oil mode. The second preset threshold includes the second threshold. The first threshold and the second threshold can be set as needed.
[0079] In the embodiment, when the running state of the vehicle is switched to the pre-stored running mode, the current state of the vehicle is detected first, and whether to switch the running mode of the vehicle is determined according to the current state, which can make the vehicle more consistent with the current state when the running mode is automatically switched, and the switched running mode is more accurate.
[0080] In a possible implementation, the pre-stored running mode of the vehicle corresponding to the pre-stored position in step S103 includes:
[0081] The pre-stored road section length of the road section corresponding to the pre-stored position is obtained, where the pre-stored road section length is determined based on continuous position points of the vehicle using the pre-stored running mode in a historical time period, and the continuous position points include the pre-stored position. If the pre-stored road section length is greater than or equal to a first preset length, the pre-stored running mode of the vehicle corresponding to the pre-stored position is obtained.
[0082] In the embodiment, the pre-stored road section length of the road section corresponding to each pre-stored position is set in advance. The pre-stored vehicle speed, the pre-stored running mode, and the pre-stored road section length of the corresponding road section corresponding to the pre-stored position can be stored in the form of a table.
[0083] As an example, the pre-stored vehicle speed, the pre-stored running mode, and the pre-stored road section length of the corresponding road section corresponding to the pre-stored position are shown as follows.
[0084]
[0085] The position 1, the position 2, the position 3, the position 4 and the position 5 in the table are positions continuously passed by the vehicle in time sequence, that is, the vehicle drives from the position 1 to the position 2, then from the position 2 to the position 3, from the position 3 to the position 4, and from the position 4 to the position 5. The pre-stored running mode corresponding to the position 1 is mode 1, the pre-stored vehicle speed is V1, and the corresponding pre-stored road section length is L1. The pre-stored running mode corresponding to the position 2 is mode 1, the pre-stored vehicle speed is V2, and the corresponding pre-stored road section length is L1. The pre-stored running mode corresponding to the position 3 is mode 2, the pre-stored vehicle speed is V3, and the corresponding pre-stored road section length is L2.
[0086] In the embodiment, the first pre-set length can be set as required, for example, the first pre-set length can be set as 50 meters, 60 meters or 100 meters, etc. If the pre-stored road section length is greater than or equal to the first pre-set length, it indicates that the pre-stored road section length is not too short, and the phenomenon of frequent running mode switching does not occur. Therefore, when the absolute value of the difference between the current vehicle speed and the pre-stored vehicle speed is less than the first pre-set threshold, and the pre-stored road section length is greater than or equal to the first pre-set length, the pre-stored running mode can be obtained, so that the vehicle drives according to the pre-stored running mode.
[0087] If the pre-stored road section length is less than the first pre-set length, it indicates that the pre-stored road section length is small. In order to avoid too frequent running mode switching, if the absolute value of the difference between the current vehicle speed and the pre-stored vehicle speed is greater than or equal to the first pre-set threshold, and / or the pre-stored road section length is less than the first pre-set length, the automatic switching of the running mode is exited, so that the user switches the running mode by himself / herself; or the vehicle continues to drive using the running mode currently used at the current time.
[0088] In a possible implementation, after the pre-stored road section length of the road section corresponding to the pre-stored position is obtained, the method further includes:
[0089] If the pre-stored road section length is less than the first pre-set length, it is determined whether there are other road sections before and after the road section corresponding to the pre-stored position. If there are other road sections before or after the road section corresponding to the pre-stored position, the pre-stored running mode of the vehicle corresponding to the pre-stored position is obtained.
[0090] In the embodiment, if the absolute value of the difference between the current vehicle speed and the pre-stored vehicle speed is greater than or equal to the first pre-set threshold, and / or the pre-set condition is not met, the automatic switching of the running mode is exited, so that the user switches the running mode by himself / herself; or the vehicle continues to drive using the running mode currently used at the current time. The pre-set condition is that the pre-stored road section length is less than the first pre-set length, and there are no other road sections before and after the road section corresponding to the pre-stored position.
[0091] As an example, as in the above table, there is another road segment L2 after the road segment length L1; there is another road segment L1 before the road segment length L2.
[0092] In the embodiment, the pre-stored road segment length is less than the first preset length, and there is another road segment before or after the road segment corresponding to the pre-stored position, which indicates that the road segment is a continuous road segment, and the automatic control of the running mode can be performed.
[0093] The pre-stored road segment length is less than the first preset length, and there is no other road segment before and after the road segment corresponding to the pre-stored position, which indicates that the road segment is a separate road segment, and the distance is short, and the running mode of the vehicle can not be changed in the road segment, so as to prevent the phenomenon of frequent change of the running mode.
[0094] In a possible implementation, before the method is used, pre-stored data needs to be set in advance, and the pre-stored data includes a pre-stored vehicle speed corresponding to a pre-stored position, a pre-stored running mode, and a pre-stored road segment length.
[0095] As shown in Figure 2 , specifically, the process of setting the pre-stored data includes:
[0096] S201, historical driving data of the vehicle is obtained, and the historical driving data includes a historical running mode and a driving speed used by the vehicle each time the vehicle drives to the pre-stored position.
[0097] In the embodiment, the historical driving data is determined based on a location, a running mode used, and a driving speed of the vehicle during a historical driving process in a historical time period. For example, the vehicle passes through position 1 in the historical time period, the position 1 can be a pre-stored position, the historical running mode used at the position 1 is S mode, and the driving speed is A; the S mode and the driving speed A corresponding to the position 1.
[0098] S202, a candidate running mode in the historical running mode is determined, and the candidate running mode is a historical running mode with a usage frequency greater than a preset frequency or a historical running mode with the highest usage frequency.
[0099] In the embodiment, for the same pre-stored position, a historical running mode with a usage frequency greater than a preset frequency or a historical running mode with the highest usage frequency is searched from historical running modes used each time the pre-stored position is passed through. The preset frequency can be set as needed, for example, the preset frequency can be set as 2 or 3.
[0100] For example, when the vehicle passes through the position 1, the historical running mode used for the first time is S, and the historical running mode used for the second and third times is R, the historical running mode R is the candidate running mode.
[0101] In the embodiment, the candidate running mode can be one or more.
[0102] S203, for any candidate running mode, calculate absolute values of differences between any two driving speeds corresponding to the candidate running mode, to obtain each speed difference corresponding to the candidate running mode.
[0103] For example, if the vehicle uses candidate running mode A for N times, the driving speeds corresponding to candidate running mode A are N, and the absolute values of differences between any two driving speeds are calculated.
[0104] S204, if the number of target speed differences is greater than a third preset threshold, store the candidate running mode as the pre-stored running mode corresponding to the pre-stored position, wherein the target speed difference is a speed difference greater than a fourth preset threshold in each speed difference corresponding to the candidate running mode.
[0105] In the embodiment, the speed difference greater than the fourth preset threshold is found, and the speed difference greater than the fourth preset threshold is recorded as the target speed difference. The number of target speed differences is counted, and if the number of target speed differences is greater than the third preset threshold, it is considered that the driving speed when using the candidate running mode is relatively stable, and the candidate running mode can be recorded as the pre-stored running mode of the pre-stored position.
[0106] The third preset threshold and the fourth preset threshold can be set as needed, for example, the third preset threshold can be set to 3 or 2, and the fourth preset threshold can be set to 20Km / h or 25Km / h.
[0107] S205, determine the pre-stored speed corresponding to the pre-stored position based on the driving speed used to calculate the target speed difference.
[0108] In the embodiment, the mean of each driving speed corresponding to the target speed difference is calculated to obtain the speed mean, and the speed mean is taken as the pre-stored speed of the pre-stored position.
[0109] Alternatively, the maximum driving speed or the minimum driving speed in the driving speed corresponding to the target speed difference is taken as the pre-stored speed of the pre-stored position.
[0110] Alternatively, the driving speeds corresponding to the target speed difference are arranged in ascending order to obtain the driving speed arranged in the middle, and the driving speed arranged in the middle is taken as the pre-stored speed of the pre-stored position.
[0111] In a possible implementation, after step S204, the above method can further include:
[0112] If there is a target position in all pre-stored positions, the total length between the first target position and the last target position is calculated, wherein the target position is a pre-stored position that the vehicle continuously passes through and has the same corresponding pre-stored running mode. The total length is stored as the road segment length of the road segment corresponding to each target position.
[0113] In the embodiment, if the running modes used by the M pre-stored positions continuously passed through by the vehicle during driving are the same, each of the M pre-stored positions is recorded as a target position.
[0114] For example, the driving route of the vehicle is: first passing through the pre-stored position A, and then passing through the pre-stored positions B, C and D in sequence, and the vehicle uses the running mode R when passing through A, B, C and D. It is determined that the pre-stored positions A, B, C and D are target positions, the distance h between the pre-stored position A and the pre-stored position D is calculated, and the road segment length is obtained. The road segment length corresponding to the pre-stored position A is h; the road segment length corresponding to the pre-stored position B is h; the road segment length corresponding to the pre-stored position C is h; and the road segment length corresponding to the pre-stored position D is h.
[0115] In the embodiment, the pre-stored speed, the pre-stored running mode and the corresponding road segment length of each pre-stored position are pre-stored, and when the vehicle passes through the pre-stored position again, the running mode of the vehicle can be directly determined according to the pre-stored information, so that the automatic switching of the running mode of the vehicle is realized.
[0116] In a possible implementation, the first switch and the second switch are arranged in the vehicle, the first switch is used to obtain the intention of whether the user wants to start the automatic switching of the running mode, and the second switch is used to one-key switch the running mode of the vehicle to the standard mode.
[0117] If the vehicle is in the state of automatically switching the running mode at the current time, the vehicle can display prompt information on the central control screen or the instrument panel, for example, displaying a highlight or displaying “self-adaptation” in the running mode display area on the central control screen.
[0118] In a possible implementation, the above method can further include:
[0119] In the historical driving process of the vehicle, the historical running mode, the driving speed and the pre-stored position when the vehicle passes through the pre-stored position are sent to the cloud server. The position point passed through by the vehicle in the driving process is recorded as a pre-stored position.
[0120] If the cloud server determines that the vehicle has passed the same pre-stored location and the number of times of using the same historical running mode is greater than the preset number of times and the floating value of the driving speed used is within the preset range, the cloud server records the historical running mode with the number of times greater than the preset number of times as a pre-stored running mode corresponding to the pre-stored location. The cloud server determines a pre-stored vehicle speed corresponding to the pre-stored location based on the driving speed used by the vehicle when passing the pre-stored location. In addition, if the target location exists in all the pre-stored locations, the cloud server calculates the total length between the first target location and the last target location, wherein the target location is a pre-stored location that the vehicle has continuously passed and for which the corresponding pre-stored running mode is the same, and stores the total length as a road segment length of a road segment corresponding to each target location.
[0121] When the vehicle is driving at the current time, the vehicle sends the current vehicle speed and the current location to the cloud server.
[0122] When the cloud server determines that the current location is a pre-stored location, the cloud server obtains a pre-stored vehicle speed corresponding to the pre-stored location. If the absolute value of the difference between the current vehicle speed and the pre-stored vehicle speed is less than a first preset threshold, the cloud server obtains a pre-stored running mode of the vehicle corresponding to the pre-stored location. The cloud server sends the pre-stored running mode to the vehicle.
[0123] After the vehicle receives the pre-stored running mode sent by the cloud server, the vehicle obtains the current state of the vehicle according to the type of the pre-stored running mode. If the vehicle determines that the current state meets the preset requirement, the vehicle controls driving based on the pre-stored running mode. If the current state does not meet the preset requirement, the vehicle ignores the pre-stored running mode.
[0124] In an implementation manner, when the cloud server determines that the current location is a pre-stored location, the cloud server can also obtain a pre-stored road segment length of a road segment corresponding to the pre-stored location. If the absolute value of the difference between the current vehicle speed and the pre-stored vehicle speed is less than the first preset threshold and the pre-stored road segment length is greater than or equal to a first preset length, the cloud server obtains a pre-stored running mode of the vehicle corresponding to the pre-stored location.
[0125] Alternatively, when the cloud server determines that the current location is a pre-stored location, the cloud server obtains a pre-stored road segment length of a road segment corresponding to the pre-stored location and determines whether there are other road segments before and after the road segment corresponding to the pre-stored location. If the absolute value of the difference between the current vehicle speed and the pre-stored vehicle speed is less than the first preset threshold and a preset condition is met, the cloud server obtains a pre-stored running mode of the vehicle corresponding to the pre-stored location, wherein the preset condition includes that the pre-stored road segment length is less than the first preset length and there are other road segments before or after the road segment corresponding to the pre-stored location.
[0126] It should be understood that the size of the serial number of each step in the above embodiments does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0127] The automatic switching method of the operation mode of the vehicle corresponding to the above embodiments, Figure 3 The structure block diagram of the automatic switching device of the operation mode of the vehicle provided by the embodiments of the present application is shown, and only the parts related to the embodiments of the present application are shown for the convenience of description.
[0128] Referring to Figure 3 The device 300 can include an information acquisition module 310, a pre-stored position acquisition module 320, a pre-stored mode acquisition module 330, and a vehicle control module 340.
[0129] The information acquisition module 310 is configured to acquire the current speed and the current position of the vehicle.
[0130] The pre-stored position acquisition module 320 is configured to acquire a pre-stored speed corresponding to the pre-stored position if the current position is the pre-stored position.
[0131] The pre-stored mode acquisition module 330 is configured to acquire a pre-stored operation mode of the vehicle corresponding to the pre-stored position if the absolute value of the difference between the current speed and the pre-stored speed is less than a first preset threshold.
[0132] The vehicle control module 340 is configured to control the vehicle to travel based on the pre-stored operation mode.
[0133] In a possible implementation, the vehicle control module 340 is further connected to:
[0134] A state acquisition module is configured to acquire a current state of the vehicle based on the category of the pre-stored operation mode, wherein the current state includes a residual energy value of a power output device and a fault state of a target component in the vehicle when the category of the pre-stored operation mode is the power mode and the driving mode, and the target component is a component that needs to be used when the driving mode is converted.
[0135] Correspondingly, the vehicle control module 340 can be specifically configured to:
[0136] If the current state meets a preset requirement, control the vehicle to travel based on the pre-stored operation mode, and the preset requirement includes that the residual energy value is greater than a second preset threshold corresponding to the power mode, and the target component is in a non-fault state.
[0137] In a possible implementation, the state acquisition module can be specifically configured to:
[0138] If the current state does not satisfy the preset requirement, the preset running mode is ignored.
[0139] In a possible implementation, the preset mode acquisition module 330 can be specifically configured to:
[0140] acquire a preset road section length of the road section corresponding to the preset position, wherein the preset road section length is determined based on position points that continuously use the preset running mode in a historical time period;
[0141] If the preset road section length is greater than or equal to a first preset length, the preset running mode of the vehicle corresponding to the preset position is acquired.
[0142] In a possible implementation, the preset mode acquisition module 330 can be specifically configured to:
[0143] If the preset road section length is less than the first preset length, it is determined whether there are other road sections before and after the road section corresponding to the preset position.
[0144] If there are other road sections before or after the road section corresponding to the preset position, the preset running mode of the vehicle corresponding to the preset position is acquired.
[0145] In a possible implementation, the information acquisition module 310 is further connected to:
[0146] a historical data acquisition module configured to acquire historical driving data of the vehicle, wherein the historical driving data includes a historical running mode and a driving speed used by the vehicle each time the vehicle drives to the preset position;
[0147] a candidate mode determination module configured to determine a candidate running mode in the historical running mode, wherein the candidate running mode is a historical running mode that is used more than a preset number of times or is used most frequently in the historical running mode;
[0148] a speed difference calculation module configured to, for any candidate running mode, calculate an absolute value of a difference between any two driving speeds corresponding to the candidate running mode, to obtain each speed difference corresponding to the candidate running mode;
[0149] a preset mode determination module configured to, if a number of target speed differences is greater than a third preset threshold, store the candidate running mode as the preset running mode corresponding to the preset position, wherein the target speed difference is a speed difference greater than a fourth preset threshold in each speed difference corresponding to the candidate running mode;
[0150] The pre-stored vehicle speed determination module is configured to determine the pre-stored vehicle speed corresponding to the pre-stored position based on the travel speed used to calculate the target speed difference.
[0151] In a possible implementation, the pre-stored mode determination module can be specifically configured to:
[0152] If the pre-stored position includes a target position, the total length between the first target position and the last target position is calculated, wherein the target position is a pre-stored position that the vehicle continuously passes through and has the same pre-stored running mode.
[0153] The total length is stored as the road segment length of the road segment corresponding to each target position.
[0154] It should be noted that the information interaction and execution process between the above devices / units are based on the same concept as the method embodiments of the present application, and the specific functions and technical effects thereof can be referred to the method embodiments part, which will not be described here.
[0155] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional units and modules is exemplified, and in actual application, the above functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or software. In addition, the specific names of each functional unit and module are only for easy distinction, and do not limit the protection scope of the present application. The specific working process of the units and modules in the system can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0156] The embodiments of the present application also provide a terminal device, which refers to Figure 4 The terminal device 400 can include at least one processor 410, a memory 420, and a computer program stored in the memory 420 and executable on the at least one processor 410, wherein the processor 410 implements the steps in any of the above method embodiments when executing the computer program, for example Figure 1 the steps S101 to S104 in the embodiments shown. Alternatively, the processor 410 implements the functions of each module / unit in the above device embodiments when executing the computer program, for example Figure 3 the functions of the information acquisition module 310 to the vehicle control module 340.
[0157] For example, the computer program can be divided into one or more modules / units, one or more modules / units are stored in the memory 420 and executed by the processor 410 to complete the present application. The one or more modules / units can be a series of computer program segments capable of completing a specific function, which are used to describe the execution process of the computer program in the terminal device 400.
[0158] Those skilled in the art can understand that, Figure 4 The terminal device is only an example and does not constitute a limitation on the terminal device, and can include more or fewer components than the illustration, or combine certain components, or different components, such as input / output devices, network access devices, buses, etc.
[0159] The processor 410 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0160] The memory 420 can be an internal storage unit of the terminal device, and can also be an external storage device of the terminal device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. The memory 420 is used to store the computer program and other programs and data required by the terminal device. The memory 420 can also be used to temporarily store data that has been output or will be output.
[0161] The bus can be an industry standard architecture (ISA) bus, a peripheral component (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application does not limit to only one bus or one type of bus.
[0162] The method for automatically switching the operation mode of the vehicle provided in the embodiments of the present application can be applied to a terminal device such as a computer, a tablet computer, a notebook computer, a netbook, a personal digital assistant (PDA), and the like. The embodiments of the present application do not limit the specific type of the terminal device.
[0163] In the above embodiments, the description of each embodiment focuses on different aspects. The parts not described or recorded in detail in a certain embodiment can be referred to the related description of other embodiments.
[0164] Those skilled in the art can understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0165] In the embodiments provided in the present application, it should be understood that the disclosed terminal device, apparatus and method can be implemented in other ways. For example, the terminal device embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division, and there can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or other forms.
[0166] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., they can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiments of the present application.
[0167] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0168] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the above-mentioned embodiment methods can also be implemented by a computer program instructing related hardware, and the computer program can be stored in a computer readable storage medium. The computer program, when executed by one or more processors, can implement the steps of the above-mentioned various method embodiments.
[0169] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the above-mentioned embodiment methods can also be implemented by a computer program instructing related hardware, and the computer program can be stored in a computer readable storage medium. The computer program, when executed by one or more processors, can implement the steps of the above-mentioned various method embodiments.
[0170] Similarly, as a computer program product, when the computer program product runs on the terminal device, it enables the terminal device to implement the steps in the above-mentioned various method embodiments.
[0171] The computer program includes computer program code, which can be in the form of source code, object code, executable files, or some intermediate forms. The computer readable medium can include any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the contents included in the computer readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
[0172] The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements to some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A method of automatic switching of an operating mode of a vehicle, characterized in that, The method comprises: obtaining a current speed and a current position of the vehicle; if the current position is a pre-stored position, obtaining a pre-stored speed corresponding to the pre-stored position; if an absolute value of a difference between the current speed and the pre-stored speed is less than a first preset threshold, obtaining a pre-stored running mode of the vehicle corresponding to the pre-stored position, the pre-stored running mode comprising a power mode and / or a driving mode; based on a type of the pre-stored running mode, obtaining a current state of the vehicle, wherein when the type of the pre-stored running mode is the power mode and the driving mode, the current state comprises a residual energy value of a power output device and a fault state of a target component in the vehicle, the target component being a component required to be used when the driving mode is converted; if the current state meets a preset requirement, controlling the vehicle to run based on the pre-stored running mode, the preset requirement comprising that the residual energy value is greater than a second preset threshold corresponding to the power mode and the target component is in a non-fault state.
2. The automatic switching method of the operation mode of a vehicle according to claim 1, characterized by, After the current state of the vehicle is obtained based on the pre-stored running mode, the method further comprises: if the current state does not meet the preset requirement, ignoring the pre-stored running mode.
3. The method of automatic switching of the operating mode of the vehicle according to any one of claims 1 to 2, characterized in that, The obtaining of the pre-stored running mode of the vehicle corresponding to the pre-stored position comprises: obtaining a pre-stored road segment length of a road segment corresponding to the pre-stored position, wherein the pre-stored road segment length is determined based on continuous position points of the vehicle using the pre-stored running mode within a historical time period, the continuous position points comprising the pre-stored position; if the pre-stored road segment length is greater than or equal to a first preset length, obtaining the pre-stored running mode of the vehicle corresponding to the pre-stored position.
4. The automatic switching method of the operation mode of a vehicle according to claim 3, characterized by, After the road segment length of the road segment corresponding to the pre-stored position is obtained, the method further comprises: if the pre-stored road segment length is less than the first preset length, determining whether there are other road segments before and after the road segment corresponding to the pre-stored position; if there are other road segments before or after the road segment corresponding to the pre-stored position, obtaining the pre-stored running mode of the vehicle corresponding to the pre-stored position.
5. The automatic switching method of the operation mode of a vehicle according to claim 1, characterized by, Before the current speed and the current position of the vehicle are obtained, the method further comprises: obtaining historical driving data of the vehicle, the historical driving data comprising a historical running mode and a driving speed used by the vehicle each time the vehicle drives to the pre-stored position; determining a candidate running mode in the historical running mode, wherein the candidate running mode is a historical running mode with a number of times of use greater than a preset number of times or a historical running mode with the most times of use; for any candidate running mode, calculating an absolute value of a difference between any two driving speeds corresponding to the candidate running mode to obtain each speed difference corresponding to the candidate running mode; if a number of target speed differences is greater than a third preset threshold, storing the candidate running mode as the pre-stored running mode corresponding to the pre-stored position, wherein the target speed difference is a speed difference greater than a fourth preset threshold in each speed difference corresponding to the candidate running mode; based on the driving speed used to calculate the target speed difference, determining the pre-stored speed corresponding to the pre-stored position.
6. The automatic switching method of the operation mode of a vehicle according to claim 5, characterized by, After the candidate running mode is stored as the pre-stored running mode corresponding to the pre-stored position, the method further comprises: If there is a target position in all pre-stored positions, calculating a total length between a first target position and a last target position, wherein the target position is a pre-stored position continuously passed by the vehicle and corresponding to the same pre-stored running mode; Storing the total length as a road segment length of a road segment corresponding to each target position.
7. An automatic switching device of an operation mode of a vehicle, characterized by The method comprises: An information acquisition module, configured to acquire a current speed and a current position of a vehicle; A pre-stored position acquisition module, configured to acquire a pre-stored speed corresponding to a pre-stored position if the current position is the pre-stored position; A pre-stored mode acquisition module, configured to acquire a pre-stored running mode of the vehicle corresponding to the pre-stored position if an absolute value of a difference between the current speed and the pre-stored speed is less than a first preset threshold, the pre-stored running mode comprising a power mode and / or a driving mode; A state acquisition module, configured to acquire a current state of the vehicle based on a type of the pre-stored running mode, wherein the current state comprises a residual energy value of a power output device and a fault state of a target component in the vehicle, the target component being a component required to be used when the driving mode is converted, when the type of the pre-stored running mode is the power mode and the driving mode; A vehicle control module, configured to control the vehicle to run based on the pre-stored running mode if the current state meets a preset requirement, the preset requirement comprising that the residual energy value is greater than a second preset threshold corresponding to the power mode and the target component is in a non-fault state.
8. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor implements the automatic switching method of the running mode of the vehicle according to any one of claims 1 to 6 when executing the computer program.
9. A vehicle, a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor implements the automatic switching method of the running mode of the vehicle according to any one of claims 1 to 6 when executing the computer program.
Citation Information
Patent Citations
Vehicle driving linkage control method and system, storage medium and vehicle
CN115285101A
Vehicle driving mode switching method and device, vehicle and storage medium
CN116176629A