Self-learning method of operation mode of vehicle, terminal device and vehicle

By acquiring and storing the set of operating modes of the vehicle's historical driving routes, the system automatically determines and switches to the optimal mode, solving the problem that the vehicle cannot automatically adjust its operating mode and improving the vehicle's level of automation.

CN116620289BActive Publication Date: 2026-06-23GREAT WALL MOTOR CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREAT WALL MOTOR CO LTD
Filing Date
2023-06-07
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

The vehicle cannot automatically determine the operating mode that the user frequently uses on fixed road sections, which requires the user to frequently manually adjust the vehicle's operating mode.

Method used

By acquiring the target routes traveled by vehicles within a historical time period and their corresponding set of operating modes, the optimal operating mode is determined and stored so that the vehicle can automatically switch to the optimal mode when it passes through the route again.

Benefits of technology

It enables automated switching of vehicle operating modes, improves the level of vehicle automation, and eliminates the hassle of manual adjustments for users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116620289B_ABST
    Figure CN116620289B_ABST
Patent Text Reader

Abstract

The application is suitable for the technical field of intelligent automobile, and provides a self-learning method of running mode of vehicle, a terminal device and a vehicle, and the method comprises the following steps: determining an optimal running mode of a target road section by using a historical running mode used by a vehicle for driving the target road section in a historical time period. When the vehicle passes through the target road section again, the optimal running mode corresponding to the target route is acquired, and the vehicle is controlled to drive based on the optimal running mode corresponding to the target route. The application can determine the running mode to be used according to the current navigation route of the vehicle when the vehicle drives, and then control the vehicle to drive according to the determined running mode to be used. The application does not need the user to adjust the running mode, realizes the automatic adjustment of the running mode of the vehicle, and improves the automation level of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of intelligent vehicle technology, and in particular relates to a self-learning method for vehicle operation mode, terminal equipment, and vehicle. Background Technology

[0002] As vehicles evolve, people have increasingly higher demands for their level of intelligence. Currently, users need to manually adjust the vehicle's operating mode by pressing buttons or keypads. Due to the low level of automation, if a user frequently travels along a fixed route, such as their commute, they need to manually adjust the vehicle's operating mode each time they pass that route. The vehicle cannot automatically determine the operating mode frequently used by the user on that route, and therefore cannot automatically switch operating modes. Summary of the Invention

[0003] This application provides a self-learning method for vehicle operation modes, a terminal device, and a vehicle, which can solve the problem that the vehicle cannot automatically determine the operation mode frequently used by the user in the road section that has been passed, and the vehicle cannot complete the automatic switching of operation modes.

[0004] In a first aspect, embodiments of this application provide a self-learning method for a vehicle's operating mode, comprising:

[0005] Obtain the target route traveled by the vehicle within a historical time period and the set of various operating modes corresponding to the target route, wherein the set of operating modes is the set of historical operating modes used by the vehicle when it travels through each segment of the target route once;

[0006] Based on the historical operating modes in each of the aforementioned operating mode sets, the optimal operating mode corresponding to the target route is determined;

[0007] The target route and the corresponding optimal operating mode are stored, wherein the optimal operating mode corresponding to the target route is used when the vehicle passes through the target route again.

[0008] In one feasible approach, determining the optimal operating mode corresponding to the target route based on historical operating modes from each of the sets of operating modes includes:

[0009] Based on the historical operating modes in each of the operating mode sets, the commonly used operating mode is determined each time the vehicle passes through the target route. The commonly used operating mode is the historical operating mode that appears most frequently or has a frequency greater than a preset frequency in one of the operating mode sets.

[0010] Based on the common operating modes used by the vehicle each time it passes the target route, the optimal operating mode of the target route is determined. The optimal operating mode is the common operating mode that appears more than a preset number of times or has the highest number of occurrences. The optimal operating mode includes power mode and / or driving mode.

[0011] In one implementable manner, before determining the commonly used operating mode for each time the vehicle passes the target route based on historical operating modes in each of the respective sets of operating modes, the method further includes:

[0012] The system searches for a first route among the various routes traveled by the vehicle within the historical time period, wherein the first route is a route that overlaps with the target route.

[0013] Accordingly, determining the commonly used operating mode for each vehicle passing the target route based on historical operating modes in each of the sets of operating modes includes:

[0014] If the first route is not among the routes, the common operating mode used by the vehicle each time it passes the target route is determined based on the historical operating modes in each set of operating modes.

[0015] In one possible implementation, after checking whether a first route exists among the various routes traveled by the vehicle within the historical time period, the method further includes:

[0016] If the first route exists in each of the routes and the first route is a part of the target route, based on the historical operating modes in each set of operating modes, determine the historical operating mode used by the vehicle each time it travels the first segment and the historical operating mode used by the vehicle each time it travels the second segment, wherein the first segment is the overlapping segment of the target route with the first route, and the second segment is the non-overlapping segment of the target route with the first route;

[0017] Obtain the historical operating mode used by the vehicle each time it travels the first route;

[0018] Based on the historical operating modes used by the vehicle each time it travels the first road segment and the historical operating modes used by the vehicle each time it travels the first route, the first optimal operating mode corresponding to the first road segment is determined;

[0019] Based on the historical operating mode used by the vehicle each time it travels the second road segment, a second optimal operating mode corresponding to the second road segment is determined, wherein the first optimal operating mode corresponding to the first road segment and the second optimal operating mode constitute the optimal operating mode corresponding to the target route.

[0020] In one feasible approach, determining the first optimal operating mode corresponding to the first road segment based on the historical operating modes used by the vehicle each time it travels the first road segment and the historical operating modes used by the vehicle each time it travels the first route includes:

[0021] Find the historical operating mode that appears most frequently in the target mode set, wherein the target mode set includes the historical operating mode used by the vehicle each time it travels the first road segment and the historical operating mode used by the vehicle each time it travels the first route;

[0022] The historical operating mode that appears most frequently in the target mode set is recorded as the first optimal operating mode corresponding to the first road segment.

[0023] In one possible implementation, after checking whether a first route exists among the target routes traveled by the vehicle within the historical time period, the method further includes:

[0024] If the first route exists among the various routes and the target route is a section of the first route, obtain the historical operating mode used by the vehicle each time it travels the target section, wherein the target section is a section of the first route that overlaps with the target route;

[0025] Based on the historical operating modes used by the vehicle each time it travels the target road segment and the historical operating modes in each set of operating modes, the optimal operating mode corresponding to the target route is determined.

[0026] In one possible implementation, after storing the target route and the optimal operating mode corresponding to the target route, the method further includes:

[0027] Obtain the vehicle's current navigation route;

[0028] The key location points in the current navigation route are compared with the key location points in the pre-stored target route to obtain the comparison results;

[0029] If the comparison result indicates that the routes are consistent, the optimal operating mode corresponding to the target route is obtained;

[0030] The vehicle's movement is controlled based on the optimal operating mode corresponding to the target route.

[0031] In one feasible embodiment, before controlling the vehicle's movement based on the optimal operating mode corresponding to the target route, the method further includes:

[0032] Based on the type of optimal operating mode, the current state of the vehicle is obtained. When the type of optimal operating mode is power mode and driving mode, the current state includes the remaining energy value of the power output device and the fault state of the target component in the vehicle. The target component is the component that needs to be used when switching driving modes.

[0033] Accordingly, controlling the vehicle's movement based on the optimal operating mode corresponding to the target route includes:

[0034] If the current state meets the preset requirements, the vehicle is controlled to drive based on the optimal operating mode corresponding to the target route. The preset requirements include that the remaining energy value is greater than the first preset threshold corresponding to the power mode and that the target component is in a non-faulty state.

[0035] Secondly, embodiments of this application provide a self-learning device for vehicle operating modes, comprising:

[0036] The data acquisition module is used to acquire the target route traveled by the vehicle within a historical time period and the set of various operating modes corresponding to the target route, wherein the set of operating modes is the set of historical operating modes used by the vehicle when it travels through each segment of the target route once.

[0037] The data processing module is used to determine the optimal operating mode corresponding to the target route based on the historical operating modes in each of the operating mode sets;

[0038] The data storage module is used to store the target route and the optimal operating mode corresponding to the target route, wherein the optimal operating mode corresponding to the target route is used when the vehicle passes through the target route again.

[0039] Thirdly, embodiments of this application provide a terminal device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a self-learning method for the vehicle's operating mode as described in any of the first aspects above.

[0040] Fourthly, embodiments of this application provide a vehicle, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a self-learning method for the vehicle's operating mode as described in any of the first aspects above.

[0041] Fifthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements a self-learning method for the vehicle's operating mode as described in any of the second aspects above.

[0042] Sixthly, embodiments of this application provide a computer program product that, when run on a terminal device, causes the terminal device to execute a self-learning method for the vehicle's operating mode as described in any of the first aspects above.

[0043] The beneficial effects of the first aspect of this application compared to the prior art are: obtaining the target route traveled by the vehicle within a historical time period and the corresponding set of operating modes, wherein the set of operating modes is a set of historical operating modes used by the vehicle when traveling through each segment of the target route; determining the optimal operating mode corresponding to the target route based on the historical operating modes in each set of operating modes; and storing the target route and the optimal operating mode corresponding to the target route. This application determines the optimal operating mode of the target road segment based on the historical operating modes used when passing through the target road segment within a historical time period, achieving the purpose of automatically determining the optimal operating mode of the road segment already passed by the vehicle, so that the optimal operating mode can be used to control the vehicle's driving when passing through the target road segment again, eliminating the need for the user to manually switch the vehicle's operating mode, realizing automated switching of operating modes, and improving the vehicle's automation level. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1 This is a flowchart illustrating a self-learning method for vehicle operation modes provided in an embodiment of this application;

[0046] Figure 2 This is a flowchart illustrating a method for determining the optimal operating mode provided in an embodiment of this application;

[0047] Figure 3 This is a schematic diagram of a route with overlapping road segments provided in an embodiment of this application;

[0048] Figure 4 This is a flowchart illustrating a method for determining the optimal operating mode of a target route with overlapping road segments, provided in another embodiment of this application.

[0049] Figure 5 This is a flowchart illustrating a method for determining the optimal operating mode of a target route with overlapping road segments, provided in another embodiment of this application.

[0050] Figure 6 This is a flowchart illustrating a method for automatically switching operating modes of a vehicle according to an embodiment of this application;

[0051] Figure 7 This is a schematic diagram of the structure of a self-learning device for the operating mode of a vehicle provided in an embodiment of this application;

[0052] Figure 8 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. Detailed Implementation

[0053] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0054] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0055] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0056] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0057] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized.

[0058] Currently, to meet user needs, vehicles are equipped with multiple power modes and driving modes, which can both be referred to as vehicle operating modes. Users can freely combine power modes and driving modes to satisfy different driving experiences.

[0059] The power mode primarily controls the vehicle's power output method. The driving mode primarily controls the vehicle's driving style. For hybrid vehicles, power modes can include pure electric mode, hybrid mode, and pure gasoline mode; driving modes can include standard mode, sport mode, and economy mode. In pure electric mode, the battery is the power output device, and the vehicle consumes electrical energy. In hybrid mode, the vehicle consumes both electrical energy and fuel; the battery and fuel system are the power output devices. In pure gasoline mode, the fuel system is the power output device, and the vehicle consumes fuel. In sport mode, fuel consumption increases, and the vehicle's power increases. In economy mode, fuel consumption decreases, and the vehicle's power decreases. In standard mode, fuel consumption and power are between those of sport and economy modes.

[0060] Users often travel the same routes when using vehicles; for example, commuters frequently take the same roads to and from get off work. Having to manually adjust the vehicle's power and driving modes each time they travel a certain distance causes inconvenience.

[0061] For the reasons mentioned above, this application first uses the historical operating modes used by vehicles when traversing the target route within a historical time period to perform self-learning, in order to determine the optimal operating mode corresponding to the target route. Then, it pre-stores routes frequently traveled by users and the corresponding optimal operating modes. When a user traverses a stored route again, the vehicle can automatically drive according to the pre-stored optimal operating mode without the user having to manually adjust the vehicle's operating mode, thus achieving automatic switching of the vehicle's operating mode.

[0062] Figure 1 A schematic flowchart illustrating the self-learning method for vehicle operating modes provided in this application is shown. This method can be applied to the vehicle's central control equipment and / or cloud server. (Refer to...) Figure 1 The method is described in detail below:

[0063] S201, obtain the target route traveled by the vehicle within a historical time period and the set of various operating modes corresponding to the target route, wherein the set of operating modes is the set of historical operating modes used by the vehicle when traveling through each segment of the target route once.

[0064] In this embodiment, each route traversed by the vehicle within a historical time period can be recorded as a target route. The vehicle may traverse the same target route multiple times within a historical time period, and may use multiple historical operating modes during a single traversal of the target route (i.e., different historical operating modes were used on different road segments). All historical operating modes used during a single traversal of the target route are combined to obtain an operating mode set. Historical operating modes include power modes and / or driving modes.

[0065] For example, when a vehicle passes the target route for the first time, the historical operating patterns it uses in chronological order are A, B, A, and C. A, B, A, and C form a set of operating patterns. When the vehicle passes the target route for the second time, the historical operating patterns it uses in chronological order are B, B, C, and A. B, B, C, and A form a set of operating patterns.

[0066] S202, Based on the historical operating modes in each of the sets of operating modes, determine the optimal operating mode corresponding to the target route.

[0067] In this embodiment, the historical operating mode that appears most frequently in the set of all operating modes is found, and the historical operating mode that appears most frequently is determined as the optimal operating mode for the target route.

[0068] Alternatively, find historical operating modes in the set of all operating modes with a probability greater than a preset probability, and determine the historical operating modes with a probability greater than the preset probability as the optimal operating modes for the target route.

[0069] As an example, as shown in Table 1 below, the historical operating modes used when the vehicle first traveled the target route were: Mode 2, Mode 1, Mode 1, Mode 1, and Mode 1; the historical operating modes used when the vehicle traveled the target route for the second time were: Mode 1, Mode 2, Mode 1, Mode 3, and Mode 1. From the historical operating modes used in the two trips to the target route, it can be seen that Mode 1 was used the most times. Therefore, Mode 1 is considered the optimal operating mode for the target route.

[0070] Table 1 shows the historical operating modes used when the vehicle traveled the target route twice.

[0071] First drive Mode 2 Mode 1 Mode 1 Mode 1 Mode 1 Second trip Mode 1 Mode 2 Mode 1 Mode 3 Mode 1

[0072] In this embodiment of the application, the optimal operating mode of the target route is determined based on the historical operating mode used within a historical time period, so that the obtained optimal operating mode is more accurate.

[0073] S203, store the target route and the optimal operating mode corresponding to the target route, wherein the optimal operating mode corresponding to the target route is used when the vehicle passes through the target route again.

[0074] In this embodiment, the target route traveled by the vehicle within a historical time period and the corresponding set of operating modes are obtained. The set of operating modes represents the historical operating modes used by the vehicle when traversing each segment of the target route. Based on the historical operating modes in each set, the optimal operating mode corresponding to the target route is determined. The target route and its optimal operating mode are stored, whereby the optimal operating mode is used to control vehicle movement. This application determines the optimal operating mode for a target road segment based on the historical operating modes used during the passage of that segment within a historical time period. This allows the optimal operating mode to be used to control vehicle movement when the vehicle passes through the target road segment again, eliminating the need for manual switching of the vehicle's operating mode by the user, achieving automated switching of operating modes, and improving the vehicle's automation level.

[0075] like Figure 2 As shown, in one possible implementation, step S202 may include:

[0076] S2021, based on the historical operating modes in each of the operating mode sets, determine the commonly used operating mode each time the vehicle passes through the target route, wherein the commonly used operating mode is the historical operating mode that appears most frequently or has a frequency greater than a preset frequency in the operating mode set.

[0077] In this embodiment, for each set of operating modes, the historical operating modes that appear most frequently or whose frequency exceeds a preset frequency are found to obtain the commonly used operating modes in each set. The preset frequency can be set as needed.

[0078] For example, if the historical operating modes in operating mode set 1 are A, B, A, and C, then the commonly used operating mode in operating mode set 1 is A. If the historical operating modes in operating mode set 2 are A, B, B, and C, then the commonly used operating mode in operating mode set 2 is B.

[0079] S2022, Based on the common operating mode used by the vehicle each time it passes the target route, determine the optimal operating mode of the target route, wherein the optimal operating mode is the common operating mode that appears more than a preset number of times or appears the most frequently.

[0080] In this embodiment, if a commonly used operating mode appears more than a preset number of times or appears the most times, then the commonly used operating mode is determined to be the operating mode frequently used by the vehicle when passing through the target route. The operating mode is stored so that when the user passes through the target route again, the vehicle can be directly switched to the user's commonly used operating mode.

[0081] For example, if the common operating mode in operating mode set 1 is A; the common operating mode in operating mode set 2 is B; the common operating mode in operating mode set 3 is A; and the common operating mode in operating mode set 4 is A, then the common operating mode A appears more than the preset number of times 2, so the common operating mode A is the optimal operating mode.

[0082] In one possible implementation, there may be sections of the route that overlap with the target route in the historical time period. Therefore, in order to make the optimal operation mode of the determined target route more accurate, it is also necessary to consider the historical operation mode of the routes that overlap with the target route.

[0083] Specifically, prior to step S2021, the above method may further include:

[0084] S301, search for whether a first route exists among the various routes traveled by the vehicle within the historical time period, wherein the first route is a route that overlaps with the target route.

[0085] Accordingly, step S2021 may specifically include: if the first route does not exist in each route, determining the common operating mode used by the vehicle each time it passes the target route based on the historical operating modes in each set of operating modes.

[0086] In this embodiment, there may be multiple routes traveled by vehicles within a historical time period, and there may be overlapping sections among these routes. For overlapping sections, the operating mode used by the vehicle each time it passes through the overlapping section is comprehensively considered to determine the common operating mode used by the vehicle in the overlapping section, so that the optimal operating mode of the obtained route is more accurate. Therefore, before determining the optimal operating mode corresponding to the target route, it is first determined whether there are any overlapping sections of the target route with other routes.

[0087] For example, such as Figure 3 As shown, the target route is route 1. The road segment L in target route 1 and route L in route 2 are overlapping road segments. In this application, road segment L is referred to as the first road segment.

[0088] In this embodiment, if the first route does not exist in the route, the operating modes on other routes do not need to be considered. The common operating mode of the target route can be determined directly based on the historical operating mode used when the vehicle travels the target route.

[0089] like Figure 4 As shown, in one possible implementation, after step S301, the above method may further include:

[0090] S401, if the first route exists among the various routes and the first route is a part of the target route, based on the historical operating modes in each of the operating mode sets, determine the historical operating mode used by the vehicle each time it travels the first route and the historical operating mode used by the vehicle each time it travels the second route, wherein the first route is the overlapping route with the first route in the target route, and the second route is the non-overlapping route with the first route in the target route.

[0091] In this embodiment, if the first route is a section of the target route, in order to take into account the historical operation mode used by the first route in the target route, the target route is divided into two parts: one part is the section that overlaps with the first route, and the other part is the section that does not overlap with the first route.

[0092] There can be one or more first road segments, and there can also be one or more second road segments.

[0093] The operation mode set stores the historical operation modes used when the vehicle travels on each segment of the target route. Therefore, after the target route is segmented, the historical operation mode corresponding to each segment of the target route can be determined based on the operation mode set.

[0094] For example, if the first road segment is segment D, and the historical operating modes used by the vehicle when traveling on the first road segment are recorded in the operating mode set as A and B, then according to the operating mode set, it can be determined that the historical operating modes used by the vehicle when traveling on the first road segment are A and B.

[0095] S402, Obtain the historical operating mode used by the vehicle each time it travels the first route.

[0096] In this embodiment, the historical operating mode used by the vehicle for each route is recorded. Therefore, the historical operating mode corresponding to the first route can be obtained by searching the recorded information.

[0097] S403, based on the historical operating mode used by the vehicle each time it travels the first road segment and the historical operating mode used by the vehicle each time it travels the first route, determine the first optimal operating mode corresponding to the first road segment.

[0098] In this embodiment, the specific implementation method of step S403 may include: finding the historical operating mode that appears most frequently in the target mode set, wherein the target mode set includes the historical operating mode used by the vehicle each time it travels the first road segment and the historical operating mode used by the vehicle each time it travels the first route; and recording the historical operating mode that appears most frequently in the target mode set as the first optimal operating mode corresponding to the first road segment.

[0099] By integrating the historical operating patterns used by the vehicle each time it travels the first route and the historical operating patterns used by the vehicle each time it passes through the first road segment, the historical operating pattern used most frequently by the vehicle is determined.

[0100] For example, if the historical operating modes used by a vehicle when passing through the first route are A, B, A, A, and A respectively; and the historical operating modes used by a vehicle when passing through the first road segment are B, C, A, A, then the historical operating mode A is used the most. Therefore, historical operating mode A is recorded as the first optimal operating mode corresponding to the first road segment.

[0101] In this embodiment, the specific implementation method of step S403 may further include: determining the first commonly used operating mode used by the vehicle each time it passes through the first road segment. The first commonly used operating mode is the historical operating mode that the vehicle uses the most times or has a usage frequency greater than a preset frequency when passing through the first road segment once.

[0102] Determine the second most frequently used operating mode for each time the vehicle passes through the first route. The second most frequently used operating mode is the historical operating mode that the vehicle uses most often or has a usage frequency greater than the preset frequency when passing through the first route once.

[0103] The first optimal operating mode is determined from each of the first and second most common operating modes. The first optimal operating mode is the most frequently occurring or the most frequently occurring operating mode.

[0104] S404, based on the historical operating mode used by the vehicle each time it travels the second road segment, determine the second optimal operating mode corresponding to the second road segment, wherein the first optimal operating mode corresponding to the first road segment and the second optimal operating mode constitute the optimal operating mode corresponding to the target route.

[0105] In this embodiment, the second optimal operating mode corresponding to the second road segment is determined using the method described in S403 above, which will not be repeated here.

[0106] As an example, as shown in Table 2 below, the historical operating mode used when a vehicle first passes through the first second segment (position 1 to position 2) of the pre-stored road segment is: Mode 2, Mode 1, Mode 1, Mode 1; the historical operating mode used when passing through the second second segment (position 3 to position 4) is: Mode 1, Mode 2, and Mode 2; and the historical operating mode used when passing through the first segment (from position 2 to position 3) is: Mode 1, Mode 2, Mode 2, Mode 2. The historical operating mode used when a vehicle passes through the first second segment (position 1 to position 2) of the pre-stored road segment for the second time is: Mode 1, Mode 2, Mode 1, Mode 1; the historical operating mode used when passing through the second second segment (position 3 to position 4) is: Mode 1, Mode 2, and Mode 2; and the historical operating mode used when passing through the first segment is: Mode 2, Mode 1, Mode 2, Mode 2.

[0107] The historical operating modes used by the vehicle when passing through the first route are: Mode 2, Mode 2, Mode 1, Mode 2.

[0108] Table 2 Historical Operating Modes Used for Vehicle Target Routes and Route 1

[0109]

[0110] As shown in Table 2 above, in the second road segment (location 1 to location 2), vehicles used mode 1 more often. Therefore, historical operation mode 1 is taken as the second optimal operation mode for the second road segment (location 1 to location 2).

[0111] In the second road segment (positions 3 to 4), vehicles used mode 2 more frequently. Therefore, historical operating mode 2 is selected as the second optimal operating mode for the second road segment (positions 3 to 4).

[0112] In the first segment, vehicles used mode 2 more frequently. Therefore, historical operating mode 2 was selected as the first optimal operating mode for the first segment.

[0113] Therefore, the optimal operating modes corresponding to the pre-stored road segments are as follows: the optimal operating mode for the second road segment (location 1 to location 2) is 1, the optimal operating mode for the first road segment is 2, and the optimal operating mode for the second road segment (location 3 to location 4) is 2.

[0114] In this embodiment, since both the first road segment and the second road segment are road segments on the target route, the first optimal operating mode corresponding to the first road segment and the second optimal operating mode corresponding to the second road segment are both the optimal operating modes corresponding to the target route. When obtaining the optimal operating mode corresponding to the target route, it is necessary to obtain the first optimal operating mode corresponding to the first road segment and the second optimal operating mode corresponding to the second road segment; the vehicle uses the first optimal operating mode when traveling on the first road segment and the second optimal operating mode when traveling on the second road segment.

[0115] like Figure 5 As shown, in one possible implementation, after step S301, the above method may further include:

[0116] S501, if the first route exists among the various routes and the target route is a section of the first route, obtain the historical operating mode used by the vehicle each time it travels the target section, wherein the target section is a section of the first route that overlaps with the target route.

[0117] In this embodiment, if the target route is a section of the first route, it is necessary to obtain the historical operation mode of the sections of the first route that overlap with the target route, so as to determine the optimal operation mode of the target route based on the historical operation mode of the sections of the first route that overlap with the target route.

[0118] S502, based on the historical operating modes used by the vehicle each time it travels the target road segment and the historical operating modes in each set of operating modes, determine the optimal operating mode corresponding to the target route.

[0119] In this embodiment, the specific implementation of step S502 is the same as that of step S403 above. Please refer to the description of step S403 above, which will not be repeated here.

[0120] like Figure 6 As shown, after step S203, the above method may further include:

[0121] S101, Obtain the vehicle's current navigation route.

[0122] In this embodiment, the current navigation route has a starting position and an ending position. The current navigation route may also have intermediate positions, which are the positions between the starting and ending positions. The current navigation route is the route set by the user.

[0123] When this application is used in a cloud server, the vehicle needs to send the current navigation route to the cloud server, and the cloud server needs to receive the current navigation route sent by the vehicle.

[0124] S102, compare the key location points in the current navigation route with the key location points in the pre-stored target route to obtain the comparison result.

[0125] In this embodiment, the comparison result can be either the routes are consistent or the routes are inconsistent.

[0126] The target routes are pre-stored routes frequently traveled by users. Each target route and its corresponding optimal operating mode are pre-stored. Target routes are determined based on routes traveled by vehicles within a historical time period. The optimal operating mode for each target route is determined based on the operating mode used by vehicles traversing the target route within a historical time period.

[0127] In this embodiment, each target route and its corresponding optimal operating mode can be stored in the form of a table. The optimal operating mode can be represented by numbers, letters, or Chinese characters. For example, if the optimal operating mode is represented by numbers, then each number represents an operating mode.

[0128] S103, if the comparison result is that the routes are consistent, obtain the optimal running mode corresponding to the target route.

[0129] S104, control the vehicle's movement based on the optimal operating mode corresponding to the target route.

[0130] In this embodiment, after obtaining the optimal operating mode, the vehicle is switched to the optimal operating mode so that the vehicle can drive in the optimal operating mode.

[0131] If this application is applied to a cloud server, the cloud server can send the optimal operating mode to the vehicle so that the vehicle can drive based on the optimal operating mode.

[0132] If there are multiple optimal operating modes corresponding to the target route, then the vehicle's movement is controlled based on any one of the optimal operating modes.

[0133] In this embodiment, the vehicle's current navigation route is first obtained. If the current navigation route is the target route, the optimal operating mode corresponding to the target route is obtained, and then the optimal operating mode corresponding to the target route is used. This application can determine the required operating mode based on the vehicle's current navigation route while the vehicle is in motion, and then control the vehicle's movement according to the determined operating mode. This application eliminates the need for the user to manually adjust the operating mode, achieving automatic adjustment of the vehicle's operating mode and improving the vehicle's automation level.

[0134] In one possible implementation, after obtaining the optimal operating mode, it is also necessary to check the vehicle's current state to determine whether the vehicle can switch to the optimal operating mode at the current moment. Specifically, before step S103, the above method may further include:

[0135] Based on the type of optimal operating mode, the current state of the vehicle is obtained. When the type of optimal operating mode is power mode and driving mode, the current state includes the remaining energy value of the power output device and the fault state of the target component in the vehicle. The target component is the component that needs to be used when switching driving modes.

[0136] Accordingly, step S103 may specifically include:

[0137] If the current state meets the preset requirements, the vehicle is controlled to drive based on the optimal operating mode corresponding to the target route. The preset requirements include that the remaining energy value is greater than the first preset threshold corresponding to the power mode and that the target component is in a non-faulty state.

[0138] In this embodiment, when the optimal operating mode is power mode, only the remaining energy value of the power output device in the vehicle needs to be acquired. When the optimal operating mode is driving mode, only the fault status of the target component in the vehicle needs to be acquired.

[0139] When obtaining the remaining energy value of the power output device, the remaining energy value of the corresponding device can also be obtained according to the type of power mode. For example, if the power mode is pure electric mode, the remaining battery charge is obtained; if the power mode is pure gasoline mode, the remaining fuel of the gasoline device is obtained; if the power mode is hybrid mode, the remaining battery charge and the remaining fuel of the gasoline device are obtained.

[0140] The target components may include the vehicle's ESP (Electronic Stability Program), central control equipment, engine controller, and transmission controller.

[0141] In this embodiment, the vehicle's current state can be used to determine whether the vehicle can switch to the optimal operating mode at the current moment. If the current state meets the preset requirements, it means that the vehicle can switch to the optimal operating mode and can drive according to the optimal operating mode. If the current state does not meet the preset requirements, it means that the vehicle cannot switch to the optimal operating mode, and the optimal operating mode can be ignored and driving can continue according to the currently used operating mode; or the automatic switching of operating modes can be exited, allowing the user to switch to the desired operating mode manually.

[0142] Specifically, if the remaining energy value is greater than the first preset threshold corresponding to the power mode, it means that the remaining energy in the vehicle can support that power mode. For example, if the power mode is pure electric mode and the remaining battery level is 60%, which is greater than the first threshold, then the remaining energy value is determined to be greater than the first preset threshold corresponding to the power mode, and the vehicle can operate in pure electric mode. The first preset threshold includes the first threshold value. If the power mode is pure gasoline mode and the remaining fuel level is 30%, which is greater than the second threshold value, then the remaining energy value is determined to be greater than the first preset threshold corresponding to the power mode, and the vehicle can operate in pure gasoline mode. The first preset threshold includes the second threshold value. Both the first and second threshold values ​​can be set as needed.

[0143] In this embodiment of the application, when switching the vehicle's operating state to the optimal operating mode, the current state of the vehicle is detected first, and the vehicle's operating mode is determined based on the current state. This makes the automatic switching of the operating mode more consistent with the current state of the vehicle, and makes the switching of the operating mode more accurate.

[0144] In one possible implementation, the above method may further include:

[0145] Each time a vehicle makes a trip, it sends the navigation route and the operating mode used while traveling that route to the cloud server. Navigation routes within a historical time period can be recorded as target routes. The operating mode used by the vehicle to travel the navigation route within a historical time period is recorded as the historical operating mode.

[0146] The cloud server determines the optimal operating mode for the target route based on the historical operating modes used when traversing the target route within a historical time period, and stores the target route and the corresponding optimal operating mode in association. Specifically, the process of determining the optimal operating mode for the target route is described in steps S201 to S203, S301, S401 to S404, S501, and S502 above, and will not be repeated here.

[0147] When a vehicle needs to travel at a given moment, it sends its current navigation route to the cloud server.

[0148] If the cloud server determines that the current navigation route is the target route, the cloud server obtains the optimal operating mode corresponding to the target route and sends the optimal operating mode corresponding to the target route to the vehicle.

[0149] The vehicle controls its movement according to the optimal operating mode corresponding to the target route.

[0150] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0151] Corresponding to the self-learning method for vehicle operation modes described in the above embodiments, Figure 7 A structural block diagram of a self-learning device for vehicle operation modes provided in an embodiment of this application is shown. For ease of explanation, only the parts related to the embodiments of this application are shown.

[0152] Reference Figure 7 The device 700 may include: a data acquisition module 710, a data processing module 720, and a data storage module 730.

[0153] The data acquisition module 710 is used to acquire the target route traveled by the vehicle within a historical time period and the set of various operating modes corresponding to the target route, wherein the set of operating modes is the set of historical operating modes used by the vehicle when it travels through each segment of the target route once.

[0154] Data processing module 720 is used to determine the optimal operating mode corresponding to the target route based on the historical operating modes in each of the operating mode sets;

[0155] The data storage module 730 is used to store the target route and the optimal operating mode corresponding to the target route, wherein the optimal operating mode corresponding to the target route is used when the vehicle passes through the target route again.

[0156] In one possible implementation, the data processing module 720 may specifically include:

[0157] Based on the historical operating modes in each of the operating mode sets, the commonly used operating mode is determined each time the vehicle passes through the target route. The commonly used operating mode is the historical operating mode that appears most frequently or has a frequency greater than a preset frequency in one of the operating mode sets.

[0158] Based on the common operating modes used by the vehicle each time it passes the target route, the optimal operating mode of the target route is determined. The optimal operating mode is the common operating mode that appears more than a preset number of times or has the highest number of occurrences. The optimal operating mode includes power mode and / or driving mode.

[0159] In one possible implementation, the data processing module 720 can specifically be used for:

[0160] The system searches for a first route among the various routes traveled by the vehicle within the historical time period, wherein the first route is a route that overlaps with the target route.

[0161] Accordingly, determining the commonly used operating mode for each vehicle passing the target route based on historical operating modes in each of the sets of operating modes includes:

[0162] If the first route is not among the routes, the common operating mode used by the vehicle each time it passes the target route is determined based on the historical operating modes in each of the operating mode sets.

[0163] In one possible implementation, the data processing module 720 can specifically be used for:

[0164] If the first route exists in each of the routes and the first route is a part of the target route, based on the historical operating modes in each set of operating modes, determine the historical operating mode used by the vehicle each time it travels the first segment and the historical operating mode used by the vehicle each time it travels the second segment, wherein the first segment is the overlapping segment of the target route with the first route, and the second segment is the non-overlapping segment of the target route with the first route;

[0165] Obtain the historical operating mode used by the vehicle each time it travels the first route;

[0166] Based on the historical operating modes used by the vehicle each time it travels the first road segment and the historical operating modes used by the vehicle each time it travels the first route, the first optimal operating mode corresponding to the first road segment is determined;

[0167] Based on the historical operating mode used by the vehicle each time it travels the second road segment, a second optimal operating mode corresponding to the second road segment is determined, wherein the first optimal operating mode corresponding to the first road segment and the second optimal operating mode constitute the optimal operating mode corresponding to the target route.

[0168] In one possible implementation, the data processing module 720 can specifically be used for:

[0169] Find the historical operating mode that appears most frequently in the target mode set, wherein the target mode set includes the historical operating mode used by the vehicle each time it travels the first road segment and the historical operating mode used by the vehicle each time it travels the first route;

[0170] The historical operating mode that appears most frequently in the target mode set is recorded as the first optimal operating mode corresponding to the first road segment.

[0171] In one possible implementation, the data processing module 720 can be specifically used to: if the first route exists among the various routes and the target route is a section of the first route, obtain the historical operating mode used by the vehicle each time it travels the target section, wherein the target section is a section of the first route that overlaps with the target route;

[0172] Based on the historical operating modes used by the vehicle each time it travels the target road segment and the historical operating modes in each set of operating modes, the optimal operating mode corresponding to the target route is determined.

[0173] In one possible implementation, the data storage module 730 also includes:

[0174] The route acquisition module is used to obtain the vehicle's current navigation route;

[0175] The route comparison module is used to compare the key location points in the current navigation route with the key location points in the pre-stored target route to obtain the comparison result;

[0176] The mode determination module is used to obtain the optimal operating mode corresponding to the target route if the comparison result is that the routes are consistent.

[0177] The vehicle control module is used to control the vehicle's movement based on the optimal operating mode corresponding to the target route.

[0178] In one possible implementation, the following components are also connected to the vehicle control module:

[0179] The status acquisition module is used to acquire the current status of the vehicle based on the type of the optimal operating mode. When the type of the optimal operating mode is power mode and driving mode, the current status includes the remaining energy value of the power output device and the fault status of the target component in the vehicle. The target component is the component that needs to be used when switching the driving mode.

[0180] Accordingly, the vehicle control module can be specifically used for:

[0181] If the current state meets the preset requirements, the vehicle is controlled to drive based on the optimal operating mode corresponding to the target route. The preset requirements include that the remaining energy value is greater than the first preset threshold corresponding to the power mode and that the target component is in a non-faulty state.

[0182] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0183] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be 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 into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0184] This application also provides a terminal device, see [link to relevant documentation] Figure 8 The terminal device 800 may include: at least one processor 810, a memory 820, and a computer program stored in the memory 820 and executable on the at least one processor 810. When the processor 810 executes the computer program, it implements the steps in any of the above method embodiments, for example... Figure 1 Steps S101 to S103 in the illustrated embodiment. Alternatively, when the processor 810 executes the computer program, it implements the functions of each module / unit in the above-described device embodiments, for example... Figure 7 The functions of the data acquisition module 710 to the data storage module 730 are shown.

[0185] For example, a computer program may be divided into one or more modules / units, one or more of which are stored in memory 820 and executed by processor 810 to complete this application. The one or more modules / units may be a series of computer program segments capable of performing a specific function, which are used to describe the execution process of the computer program in terminal device 800.

[0186] Those skilled in the art will understand that Figure 8 This is merely an example of a terminal device and does not constitute a limitation on the terminal device. It may include more or fewer components than shown, or combine certain components, or different components, such as input / output devices, network access devices, buses, etc.

[0187] The processor 810 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0188] The memory 820 can be an internal storage unit of the terminal device or an external storage device, such as a plug-in hard drive, a smart media card (SMC), a secure digital card (SD), or a flash card. The memory 820 is used to store the computer program and other programs and data required by the terminal device. The memory 820 can also be used to temporarily store data that has been output or will be output.

[0189] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0190] The self-learning method for vehicle operation modes provided in this application embodiment can be applied to terminal devices such as computers, tablets, laptops, netbooks, and personal digital assistants (PDAs). This application embodiment does not impose any restrictions on the specific type of terminal device.

[0191] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0192] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those 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 this application.

[0193] In the embodiments provided in this application, it should be understood that the disclosed terminal devices, apparatuses, and methods can be implemented in other ways. For example, the terminal device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, apparatuses, or units, and may be electrical, mechanical, or other forms.

[0194] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0195] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0196] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by one or more processors, it can implement the steps of the various method embodiments described above.

[0197] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by one or more processors, it can implement the steps of the various method embodiments described above.

[0198] Similarly, as a computer program product, when the computer program product is run on a terminal device, it enables the terminal device to implement the steps in the above-described method embodiments.

[0199] The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media may not include electrical carrier signals and telecommunication signals.

[0200] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A self-learning method for vehicle operation modes, characterized in that, include: Obtain the target route traveled by the vehicle within a historical time period and the set of various operating modes corresponding to the target route, wherein the set of operating modes is the set of historical operating modes used by the vehicle when it travels through each segment of the target route once; Based on the historical operating modes in each of the aforementioned operating mode sets, the optimal operating mode corresponding to the target route is determined; The target route and the corresponding optimal operating mode are stored, wherein the optimal operating mode corresponding to the target route is used when the vehicle passes through the target route again; The step of determining the optimal operating mode corresponding to the target route based on the historical operating modes in each of the sets of operating modes includes: The system searches for a first route among the various routes traveled by the vehicle within the historical time period, wherein the first route is a route that overlaps with the target route. If the first route is not among the routes, the common operating mode used by the vehicle each time it passes the target route is determined based on the historical operating modes in each set of operating modes. The common operating mode is the historical operating mode that appears most frequently or has a frequency greater than a preset frequency in a set of operating modes. Based on the common operating modes used by the vehicle each time it passes the target route, the optimal operating mode of the target route is determined. The optimal operating mode is the common operating mode that appears more than a preset number of times or has the highest number of occurrences. The optimal operating mode includes power mode and / or driving mode.

2. The self-learning method for vehicle operation modes as described in claim 1, characterized in that, After checking whether a first route exists among the various routes traveled by the vehicle within the historical time period, the method further includes: If the first route exists in each of the routes and the first route is a part of the target route, based on the historical operating modes in each set of operating modes, determine the historical operating mode used by the vehicle each time it travels the first segment and the historical operating mode used by the vehicle each time it travels the second segment, wherein the first segment is the overlapping segment of the target route with the first route, and the second segment is the non-overlapping segment of the target route with the first route; Obtain the historical operating mode used by the vehicle each time it travels the first route; Based on the historical operating modes used by the vehicle each time it travels the first road segment and the historical operating modes used by the vehicle each time it travels the first route, the first optimal operating mode corresponding to the first road segment is determined; Based on the historical operating mode used by the vehicle each time it travels the second road segment, a second optimal operating mode corresponding to the second road segment is determined, wherein the first optimal operating mode corresponding to the first road segment and the second optimal operating mode constitute the optimal operating mode corresponding to the target route.

3. The self-learning method for vehicle operation modes as described in claim 2, characterized in that, The step of determining the first optimal operating mode corresponding to the first road segment based on the historical operating mode used by the vehicle each time it travels the first road segment and the historical operating mode used by the vehicle each time it travels the first route includes: Find the historical operating mode that appears most frequently in the target mode set, wherein the target mode set includes the historical operating mode used by the vehicle each time it travels the first road segment and the historical operating mode used by the vehicle each time it travels the first route; The historical operating mode that appears most frequently in the target mode set is recorded as the first optimal operating mode corresponding to the first road segment.

4. The self-learning method for vehicle operation modes as described in claim 1, characterized in that, After checking whether a first route exists among the target routes traveled by the vehicle within the historical time period, the method further includes: If the first route exists among the various routes and the target route is a section of the first route, obtain the historical operating mode used by the vehicle each time it travels the target section, wherein the target section is a section of the first route that overlaps with the target route; Based on the historical operating modes used by the vehicle each time it travels the target road segment and the historical operating modes in each set of operating modes, the optimal operating mode corresponding to the target route is determined.

5. The self-learning method for the vehicle's operating mode as described in any one of claims 1 to 4, characterized in that, After storing the target route and the optimal operating mode corresponding to the target route, the method further includes: Obtain the vehicle's current navigation route; The key location points in the current navigation route are compared with the key location points in the pre-stored target route to obtain the comparison results; If the comparison result indicates that the routes are consistent, the optimal operating mode corresponding to the target route is obtained; The vehicle's movement is controlled based on the optimal operating mode corresponding to the target route.

6. The self-learning method for vehicle operation modes as described in claim 5, characterized in that, Before controlling the vehicle's movement based on the optimal operating mode corresponding to the target route, the method further includes: Based on the type of optimal operating mode, the current state of the vehicle is obtained. When the type of optimal operating mode is power mode and driving mode, the current state includes the remaining energy value of the power output device and the fault state of the target component in the vehicle. The target component is the component that needs to be used when switching driving modes. Accordingly, controlling the vehicle's movement based on the optimal operating mode corresponding to the target route includes: If the current state meets the preset requirements, the vehicle is controlled to drive based on the optimal operating mode corresponding to the target route. The preset requirements include that the remaining energy value is greater than the first preset threshold corresponding to the power mode and that the target component is in a non-faulty state.

7. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the self-learning method for the vehicle's operating mode as described in any one of claims 1 to 6.

8. A vehicle comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the self-learning method for the vehicle's operating mode as described in any one of claims 1 to 5.