Vehicle control method and device, electronic equipment, vehicle and storage medium

By using the target network model in the vehicle to predict driving mileage and control energy supply, the problem of inaccurate trip prediction caused by insufficient GPS signal coverage is solved, and the energy management efficiency and energy-saving performance of the vehicle are improved.

CN118744728APending Publication Date: 2024-10-08NINGBO GEELY ROYAL ENGINE COMPONENTS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411031706.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

In areas where signals cannot be covered, GPS vehicle journey prediction results are less accurate, resulting in unreasonable energy distribution strategies in vehicle intelligent energy management and affecting the vehicle's energy-saving performance.

Method used

By obtaining the vehicle's travel information, including vehicle speed and driving period, it is input into the target network model to predict the driving mileage, and the energy supply is controlled based on the prediction results to improve the prediction accuracy of the driving mileage and reduce energy consumption.

Benefits of technology

Without the need for GPS positioning, the prediction accuracy of vehicle mileage is improved, the energy management strategy is optimized, and the energy consumption of the vehicle is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118744728A_ABST
    Figure CN118744728A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent traffic, and discloses a vehicle control method and device, electronic equipment, a vehicle and a storage medium, and the vehicle control method comprises the steps that the travel information of a target vehicle is acquired, and the travel information is used for indicating the vehicle speed and the driving time period of the target vehicle; inputting the travel information to a target network model to obtain a target mileage, the target network model being used for predicting the mileage corresponding to the travel route of the target vehicle; and controlling energy supply of the target vehicle based on the target mileage. According to the invention, the prediction precision of the driving mileage of the target vehicle can be improved without GPS positioning, the energy supply of the target vehicle can be controlled according to the predicted target mileage, and the energy consumption of the target vehicle can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent transportation technology, and in particular to a vehicle control method, device, electronic equipment, vehicle and storage medium. Background Art

[0002] With the development of intelligent networking, algorithms, and big data algorithms, intelligent driving and intelligent cockpits have been applied to vehicles, but the current level of intelligence in the vehicle's power system is still relatively low. Here, the focus of the intelligentization of the vehicle's power system is to achieve intelligent energy management of the vehicle. In order to further improve the vehicle's energy-saving performance, the vehicle's intelligent energy management algorithm needs to formulate a reasonable strategy based on the user's expected travel distance, and formulate the most economical energy allocation strategy based on the length of this mileage. For example, in the case of short mileage, the pure electric mode is more economical than the fuel mode. In the case of long mileage, a reasonable oil-electric allocation ratio will make the vehicle's economic performance better. Therefore, mileage estimation is particularly important for achieving intelligent energy management.

[0003] Based on this, the accuracy of vehicle trip prediction is crucial to the realization of intelligent vehicle energy management. However, in related trip prediction schemes, GPS (Global Positioning System) sensors are usually used to collect vehicle location information to predict vehicle trip distance. However, the scheme of trip prediction through GPS has great limitations. For example, in areas where the signal cannot be covered, the accuracy of the trip prediction result is poor, which leads to unreasonable energy allocation strategy. Summary of the invention

[0004] In view of this, the present invention provides a vehicle control method, device, electronic device, vehicle and storage medium to solve the problem that when vehicle trip prediction is performed by GPS, the accuracy of the trip prediction result will be poor in areas where the signal cannot cover.

[0005] In a first aspect, the present invention provides a vehicle control method, the method comprising:

[0006] Acquiring the travel information of the target vehicle, wherein the travel information is used to indicate the speed and driving period of the target vehicle;

[0007] Inputting the travel information into the target network model to obtain the target mileage, wherein the target network model is used to predict the mileage corresponding to the driving route of the target vehicle;

[0008] Based on the target mileage, the energy supply of the target vehicle is controlled.

[0009] In an optional implementation, obtaining the travel information of the target vehicle includes:

[0010] Extract the characteristics of the driving period of the target vehicle in the current trip to obtain a time feature sequence;

[0011] Monitor the speed parameter changes of the target vehicle in the current trip and obtain the current speed sequence;

[0012] The trip information is determined based on the time feature sequence and the current vehicle speed sequence.

[0013] In an optional implementation, obtaining the travel period corresponding to the current trip of the target vehicle includes:

[0014] Get the travel date during the travel period;

[0015] Matching the travel date in the travel period with the preset date to determine the category feature; wherein the preset date is a date of a preset type;

[0016] Based on the category characteristics and the travel period, the time feature sequence is determined.

[0017] In an optional implementation, the trip information includes: a current vehicle speed sequence of the target, wherein the current vehicle speed sequence is used to indicate a change in a vehicle speed parameter of the target vehicle in the current trip;

[0018] Input the trip information into the target network model to obtain the target mileage, including:

[0019] Based on the target network model, a driving route matching the current vehicle speed sequence is determined, and the target mileage is determined based on the driving route.

[0020] In an optional embodiment, the method further includes:

[0021] Obtaining historical travel data corresponding to the historical travel, wherein the historical travel data includes: mileage, historical vehicle speed sequence and timestamp;

[0022] Generate a mileage label based on the driving mileage, wherein the mileage label is used to indicate a total mileage range corresponding to the driving mileage;

[0023] Generate training data based on historical travel data and mileage labels;

[0024] The preset network model is trained based on the training data to obtain the target network model that meets the accuracy requirements.

[0025] In an optional implementation, the historical trip includes multiple sub-trips; obtaining historical trip data corresponding to the historical trip includes:

[0026] Read the vehicle speed parameters corresponding to each sub-trip respectively to obtain the historical vehicle speed sequence;

[0027] Determine the mileage based on the historical speed sequence and the driving time corresponding to the historical trip;

[0028] Generate a historical time feature sequence by reconstructing the features of the timestamp;

[0029] The historical vehicle speed series, mileage and historical time feature series are spliced ​​to obtain historical travel data.

[0030] In an optional implementation, controlling the energy supply of the target vehicle based on the target mileage includes:

[0031] Get the driving distance of the target vehicle;

[0032] Based on the driving distance and the target mileage, the remaining mileage is determined, and the energy supply to the target vehicle is controlled according to the remaining mileage.

[0033] The vehicle control method provided in the embodiment of the present application can first obtain the travel information of the target vehicle, wherein the travel information is used to indicate the speed and driving period of the target vehicle. Then, the travel information can be input into the target network model to obtain the target mileage, wherein the target network model is used to predict the mileage corresponding to the driving route of the target vehicle. Next, the energy supply of the target vehicle can be controlled based on the target mileage, thereby improving the prediction accuracy of the mileage of the target vehicle without GPS positioning, so as to control the energy supply of the target vehicle according to the predicted target mileage and reduce the energy consumption of the target vehicle.

[0034] In a second aspect, the present invention provides a vehicle control device, the device comprising:

[0035] An acquisition module, used to acquire the travel information of the target vehicle, wherein the travel information is used to indicate the speed and driving period of the target vehicle;

[0036] An input module, used to input the travel information into the target network model to obtain the target mileage, wherein the target network model is used to predict the mileage corresponding to the driving route of the target vehicle;

[0037] The prediction module is used to control the energy supply of the target vehicle based on the target mileage.

[0038] In a third aspect, the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the vehicle control method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0039] In a fourth aspect, the present invention provides a vehicle comprising: a vehicle memory and a memory for communicating with the vehicle controller; the memory stores instructions that can be executed by the vehicle controller, and the instructions are executed by the vehicle controller so that the vehicle controller executes the vehicle control method of the first aspect or any corresponding embodiment thereof.

[0040] In a fifth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the vehicle control method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0042] Figure 1 is a flow chart of a vehicle control method according to an embodiment of the present invention;

[0043] Figure 2 It is a schematic diagram of the communication between the vehicle terminal and the cloud server;

[0044] Figure 3 is a flow chart of another vehicle control method according to an embodiment of the present invention;

[0045] Figure 4 is a flow chart of a method for training a target network model according to an embodiment of the present invention;

[0046] Figure 5 is a flow chart of another vehicle control method according to an embodiment of the present invention;

[0047] Figure 6 is a structural block diagram of a vehicle control device according to an embodiment of the present invention;

[0048] Figure 7 It is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0050] In conjunction with the application scenarios on which the execution of the vehicle control method depends, the application scenarios are described here.

[0051] With the development of intelligent networking, algorithms, and big data algorithms, intelligent driving and intelligent cockpits have been applied to vehicles, but the current level of intelligence in the vehicle's power system is still relatively low. Here, the focus of the intelligentization of the vehicle's power system is to achieve intelligent energy management of the vehicle. In order to further improve the vehicle's energy-saving performance, the vehicle's intelligent energy management algorithm needs to formulate a reasonable strategy based on the user's expected travel distance, and formulate the most economical energy allocation strategy based on the length of this mileage. For example, in the case of short mileage, the pure electric mode is more economical than the fuel mode. In the case of long mileage, a reasonable oil-electric allocation ratio will make the vehicle's economic performance better. Therefore, mileage estimation is particularly important for achieving intelligent energy management.

[0052] Therefore, the accuracy of vehicle trip prediction is crucial to realize vehicle intelligent energy management. However, in related trip prediction schemes, GPS sensors are usually used to collect vehicle location information to predict vehicle trip distance. However, the solution of trip prediction through GPS has great limitations. For example, in areas where the signal cannot cover, the accuracy of trip prediction results is poor, which leads to unreasonable energy allocation strategy.

[0053] Specifically, when performing intelligent energy management on a vehicle, the GPS sensor can be used to collect the vehicle's location information, and the distance of the vehicle's current trip can be calculated based on the location information, so that energy can be reasonably allocated according to the distance of the trip, and the optimal vehicle power strategy can be selected to achieve the lowest energy consumption of the entire vehicle. For example, in the case of short mileage, the pure electric mode is more economical than the fuel mode, but in the case of long mileage, a reasonable oil-electric distribution ratio will make the vehicle's economic performance better.

[0054] Based on this, an embodiment of the present invention provides a vehicle control method, which can first obtain the travel information of the target vehicle, wherein the travel information is used to indicate the speed and driving period of the target vehicle. Then, the travel information can be input into the target network model to obtain the target mileage, wherein the target network model is used to predict the mileage corresponding to the driving route of the target vehicle. Next, the energy supply of the target vehicle can be controlled based on the target mileage, thereby improving the prediction accuracy of the mileage of the target vehicle without GPS positioning, so as to control the energy supply of the target vehicle according to the predicted target mileage and reduce the energy consumption of the target vehicle.

[0055] According to an embodiment of the present invention, a vehicle control method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0056] In this embodiment, a vehicle control method is provided, which can be used in a vehicle terminal. Figure 1 is a flow chart of a vehicle control method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0057] Step S101, obtaining the travel information of the target vehicle, wherein the travel information is used to indicate the speed and driving period of the target vehicle.

[0058] In an embodiment of the present invention, the target vehicle may be a hybrid vehicle. Here, a hybrid vehicle generally refers to a hybrid electric vehicle (HEV), which uses a traditional internal combustion engine (diesel engine or gasoline engine) and an electric motor as a power source.

[0059] When the target vehicle is detected to be in a driving state, the mileage of the current trip can be predicted, so as to formulate an energy allocation strategy for the target vehicle according to the prediction result. Specifically, the trip information of the target vehicle in the current trip can be first obtained, wherein the trip information can include a speed spectrum indicating the change of the target vehicle and a travel date and time corresponding to the current trip, so as to predict the target mileage corresponding to the current trip based on the trip information.

[0060] Step S102, inputting the travel information into the target network model to obtain the target mileage, wherein the target network model is used to predict the mileage corresponding to the driving route of the target vehicle.

[0061] In an embodiment of the present invention, the target network model can first predict the driving route corresponding to the current trip based on the trip information corresponding to the current trip, wherein the trip path can include the starting point of the path, the end point of the path, and the distance between the starting point and the end point. Next, the mileage tag associated with the driving route can be determined, and the target mileage can be determined based on the mileage tag. The target network model does not require the GPS sensor to provide a location, and it is based on the user's habit feature vector to achieve the target trip, saving development costs.

[0062] Specifically, multiple mileage labels for characterizing the length of the journey can be pre-established. For example, the mileage labels can include: short mileage labels (total journey mileage is 0-5km), medium-short mileage (total journey mileage is 5-10km), medium mileage (total journey mileage is 10-15km), medium-long mileage (total journey mileage is 15-20km), etc.

[0063] In the embodiment of the present invention, the target network model is not specifically limited, and cluster analysis, decision numbers and network models can be used. Exemplarily, the above-mentioned target network model can be a KNN (K-Nearest Neighbors algorithm, K-nearest neighbor neural network) model, and the KNN model can perform classification or regression analysis by measuring the distance between different feature points, that is, by measuring the distance between different feature points. Classification or regression analysis. In the KNN model, the predicted category of an unknown sample is determined by the majority vote of its nearest K neighbors. For example, the KNN model can classify and predict the predicted driving route to obtain the mileage label corresponding to the driving route.

[0064] It should be understood that the target network model can be set in the vehicle terminal or in the cloud server. If the target network model is set in the cloud server, Figure 2 The figure shows a schematic diagram of the communication between the vehicle terminal and the cloud server, wherein the vehicle terminal can send travel information to the cloud server, so that the cloud server outputs a mileage tag based on the travel information, and transmits the mileage tag to the vehicle terminal, so that the vehicle terminal calculates the target mileage based on the mileage tag.

[0065] Step S103, controlling the energy supply of the target vehicle based on the target mileage.

[0066] In an embodiment of the present invention, associated energy supply strategies can be set for target mileages under different mileage labels. For example, the energy supply strategies corresponding to short mileage labels and medium-short mileage labels can be pure electric modes, and the energy supply strategies corresponding to medium mileage labels and medium-long mileage labels can be hybrid oil-electric modes.

[0067] It should be understood that when the oil-electric hybrid mode is adopted, corresponding mixing ratios can be formulated for different mileage tags to improve the vehicle's economic performance. The specific formulation method is not limited in the present invention, which is subject to what can be implemented.

[0068] It can be seen from the above description that in an embodiment of the present invention, the travel information of the target vehicle can be first obtained, wherein the travel information is used to indicate the speed and driving period of the target vehicle. Then, the travel information can be input into the target network model to obtain the target mileage, wherein the target network model is used to predict the mileage corresponding to the driving route of the target vehicle. Next, the energy supply of the target vehicle can be controlled based on the target mileage, thereby improving the prediction accuracy of the mileage of the target vehicle without GPS positioning, so as to control the energy supply of the target vehicle according to the predicted target mileage and reduce the energy consumption of the target vehicle.

[0069] In this embodiment, another vehicle control method is provided, which can be used for a vehicle-mounted terminal. Figure 3 is a flow chart of another vehicle control method according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:

[0070] Step S301, obtaining the travel information of the target vehicle, wherein the travel information is used to indicate the speed and driving period of the target vehicle.

[0071] Specifically, the above step S301 includes:

[0072] Step S3011, extracting the characteristics of the driving period of the target vehicle in the current trip to obtain a time feature sequence.

[0073] Step S3012, monitoring the changes in the speed parameters of the target vehicle in the current trip to obtain the current speed sequence.

[0074] Step S3013, determining the travel information according to the time feature sequence and the current vehicle speed sequence.

[0075] In the embodiment of the present invention, multi-dimensional feature fusion is used to construct a feature vector, so as to obtain accurate travel information, thereby improving the accuracy of mileage prediction. Usually, the same route often faces similar traffic conditions in the same time period, and the traffic rules and driving habits in a specific area will form a certain pattern, making the driving time and speed show similarity.

[0076] First, the user's travel time will affect the user's driving pattern. For example, driving in the morning on weekdays is different from driving habits and routes in the afternoon on weekends. This application obtains the characteristics of the driving period of the target vehicle in the above current trip to obtain a time feature sequence. The time feature sequence is a sequence obtained by feature reconstruction based on the timestamp of the driving period. For example, if the driving period is 13:00 on July 24, 2024, the time feature sequence can be expressed as 2024 / 7 / 24 / 13. In addition, in order to improve the prediction accuracy and the training efficiency of model training, the time feature sequence is often expressed in a normalized manner.

[0077] Then, on a specific route, since the road layout, traffic conditions, etc. may lead to similar driving patterns, the changes in the speed parameters of the target vehicle in the current trip may be monitored in real time to obtain the current speed sequence, and the speed spectrum characteristics of the target vehicle may be determined based on the current speed sequence. For example, the speed characteristic spectrum may be expressed as [31, 37, 40, 42, 36, …, 50].

[0078] Next, the trip feature and the vehicle speed spectrum feature can be vertically spliced ​​to obtain input features, and the input features can be determined as trip information. For example, the input features can be expressed as [31, 37, 40, 42, 36, ..., 50, 2024 / 7 / 24 / 13], where the trip feature and the vehicle speed spectrum feature can be dimensionally reduced during splicing to obtain the conditions that meet the input features of the target network model.

[0079] Step S302: Input the travel information into the target network model to obtain the target mileage, wherein the target network model is used to predict the mileage corresponding to the driving route of the target vehicle. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.

[0080] Step S303: Based on the target mileage, control the energy supply of the target vehicle. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.

[0081] In an embodiment of the present invention, the time feature sequence of the current trip and the current vehicle speed sequence may be concatenated to obtain trip information, so as to improve the confidence of the prediction result of the current trip obtained by the target network model.

[0082] In some optional implementations, the above step S3011 includes:

[0083] Step a1, obtaining the travel date in the driving period.

[0084] Step a2, matching the travel date in the driving period with the preset date to determine the category feature; wherein the preset date is a date of a preset type.

[0085] Step a3, determining the time feature sequence based on the category features and the driving period.

[0086] In the embodiment of the present invention, the preset types indicated by the preset date are working days and non-working days. Considering that the user's travel arrangements on working days and non-working days are usually quite different when using the car, the preset date can be matched with the current travel date to obtain a category feature, which can be composed of "0" and "1", where the associated label is 1 when the travel date is a non-working day, and vice versa, when the travel date is a working day, it is 0.

[0087] Furthermore, considering that the arrangement of users on non-working days is usually quite different, the preset types of non-working days can be further subdivided into ordinary weekends and holidays, wherein ordinary weekends can be Saturdays and Sundays that are not holidays. Here, when the travel date of a holiday coincides with the date of the weekend, the preset type of the travel date is determined to be a holiday.

[0088] Next, the category features and the driving period can be spliced ​​to obtain a time feature sequence. Specifically, the time feature sequence is a sequence obtained by feature reconstruction based on the timestamp of the driving period, so that based on the time feature sequence, factors such as weekdays, holidays and ordinary weekends can be comprehensively considered, thereby making a more accurate description of the user's travel route. For example, if the driving period is 13:00 on July 24, 2024, here, since July 24, 2024 is a working day, the matching result of the travel date and the preset date is a working day, and the category feature can be expressed as 0. Therefore, the result of splicing the category feature and the driving period is the time feature sequence, which can be expressed as 2024 / 7 / 24 / 13 / 0.

[0089] In the embodiment of the present invention, considering that the difference between the user's itinerary arrangements on weekdays and non-working days is usually large, the category feature can be integrated into the time feature sequence to indicate whether the current trip is a weekday, thereby improving the accuracy of the driving route predicted by the target network model.

[0090] In some optional implementations, the above step S102 includes:

[0091] Based on the target network model, a driving route matching the current vehicle speed sequence is determined, and a target mileage is determined based on the driving route.

[0092] In the embodiment of the present invention, considering that the speed change sequence corresponding to the user driving in different paths may be different, a plurality of preset speed sequences may be pre-stored, each speed sequence corresponding to a different driving route.

[0093] For example, if the preset vehicle speed sequence is divided into ten types, the target network model can respectively calculate the similarity between the current vehicle speed sequence and the preset vehicle speed sequence to obtain the target vehicle speed sequence with the highest similarity to the current vehicle speed sequence.

[0094] Specifically, when calculating the similarity score similarity_, cosine similarity can be used for calculation, where similarity_ = 1-cos(,B), where A is the current vehicle speed sequence, and B is the preset vehicle speed sequence. The closer the value of similarity_ is, the more similar the two speed sequences are, and the closer the corresponding driving routes are.

[0095] After determining the target vehicle speed sequence with the highest similarity to the current vehicle speed sequence, the candidate driving routes corresponding to the target vehicle speed sequence may be obtained, and the target driving route matching the current trip may be determined among the driving routes.

[0096] Specifically, the current vehicle speed sequence corresponding to the current trip can be obtained, and the similarity between the current vehicle speed sequence and the candidate vehicle speed sequence of the candidate driving route can be calculated to obtain the target driving route with the highest similarity, and the target mileage corresponding to the target driving route can be obtained. Here, the similarity can be calculated by the above-mentioned cosine similarity, and the specific calculation process is as described above, which will not be repeated here.

[0097] In the embodiment of the present invention, considering that the sequence of vehicle speed changes corresponding to different paths during driving may be different, a plurality of preset vehicle speed sequences can be pre-stored, and a target vehicle speed sequence matching the current vehicle speed sequence is determined by calculating the similarity between the current vehicle speed sequence and the selected vehicle speed sequence, so that the driving route mileage corresponding to the target vehicle speed sequence is determined as the target mileage, thereby realizing the travel prediction without using GPS positioning, and there is no need to set a GPS device in the target vehicle, saving development costs.

[0098] In some optional implementations, the above step S102 further includes:

[0099] Step S1021, obtaining historical travel data corresponding to the historical travel, wherein the historical travel data includes: mileage, historical vehicle speed sequence and timestamp.

[0100] Step S1022: Generate a mileage tag based on the driving mileage, wherein the mileage tag is used to indicate a total mileage range corresponding to the driving mileage.

[0101] Step S1023, generating training data based on historical travel data and mileage labels.

[0102] Step S1024, training a preset network model based on the training data to obtain a target network model that meets the accuracy requirements.

[0103] In an embodiment of the present invention, the historical driving route of the target vehicle within a preset historical period can be monitored, and the historical travel data corresponding to the historical driving route can be collected. For example, the preset historical period can be set to one year.

[0104] Before collecting historical trip data, the historical trip can be screened to filter out discontinuous trips in the historical trip. Specifically, the above historical trip can be divided into N sub-trips, numbered 1-N. Then, the speed parameters of each sub-trip can be extracted to obtain a speed sequence. Here, the historical trip routes with discontinuous speed sequences can be filtered out, for example, the historical trip routes where the speed is not extracted for the N-3 trip are filtered out, thereby improving the reliability of the training data finally generated.

[0105] After determining the above historical travel data, training data can be generated based on the historical travel data and the corresponding mileage labels to train the preset network model to classify the historical travel data and obtain the correct mileage labels corresponding to the historical travel. Here, the mileage label can be used to characterize the length of the journey. For example, the mileage label may include: short mileage label (total travel mileage is 0-5km), medium-short mileage (total travel mileage is 5-10km), medium mileage (total travel mileage is 10-15km), medium-long mileage (total travel mileage is 15-20km), etc.

[0106] When training the above preset network model, the classification accuracy of the preset network model can be determined based on the accuracy of the mileage label output by the preset network model, and when the classification accuracy meets the accuracy condition, the preset network model is determined to be the target network model for completing the training. For example, a preset network model with a classification accuracy of 96% can be determined to meet the accuracy condition.

[0107] In an embodiment of the present invention, a preset network model can be trained based on historical travel data corresponding to historical travel to obtain a target network model, so that travel prediction can be achieved based on the target network model without using GPS positioning, so as to control the energy supply of the target vehicle according to the predicted mileage tag, and there is no need to set a GPS device in the target vehicle, thereby saving the development cost of the vehicle.

[0108] In some optional implementations, the historical trip includes multiple sub-trips, and the above step S1021 includes:

[0109] Step b1, respectively read the vehicle speed parameters corresponding to each sub-trip to obtain a historical vehicle speed sequence.

[0110] Step b2, determining the mileage based on the historical vehicle speed sequence and the driving time corresponding to the historical journey.

[0111] Step b3, generating a historical time feature sequence by reconstructing the features of the timestamp.

[0112] Step b4, concatenate the historical vehicle speed sequence, mileage and historical time feature sequence to obtain historical travel data.

[0113] In the embodiment of the present invention, it can be seen from the above that the historical trip can be divided into N sub-trips, numbered 1-N. Here, based on the read vehicle speed parameter, the average vehicle speed v of each sub-trip can be calculated, and the average vehicle speed can be spliced ​​to obtain the historical vehicle speed sequence [v 1 , v 2 , v 3 , …, v N , ].

[0114] It should be understood that the above historical speed sequence can be preprocessed, for example, the historical speed sequence can be filled with default values. For example, in the historical speed sequence, the speed of the N-1th sub-trip is missing, then the speed of the missing segment can be estimated based on the adjacent speed values ​​of the missing segment, that is, the speed of the N-1th segment can be estimated based on the speeds of the N-2th segment and the Nth segment. The specific estimation method will not be repeated in this invention, and it is subject to what can be implemented.

[0115] Next, the mileage can be calculated based on the historical vehicle speed sequence. Here, the sub-mileage corresponding to each sub-trip can be calculated based on the above driving time. Here, taking sub-trip 1 as an example, the sub-driving time t corresponding to sub-trip 1 can be determined based on the driving time. 1 Therefore, the sub-trip 1 corresponds to the sub-mileage S 1 It can be expressed as v 1 t 1 On this basis, the mileage S corresponding to the historical trip can be expressed as S 1 +S 2 +S 3 +…+S N .

[0116] After determining the mileage of the historical trip, the historical trip data can be obtained by splicing based on the acquired timestamp, mileage and historical speed sequence of the historical trip, wherein, considering that the timestamp can be used to determine whether the historical trip is a working day, the timestamp can be accurate only to the day. For example, if the timestamp corresponding to the historical formation is 2024 / 7 / 24, the mileage is 12, and the historical speed sequence is [31, 37, 40, 42, 36], then the spliced ​​historical trip data can be expressed as [1 / 37 / 40 / 42 / 36, 2024 / 7 / 24, 12]. It should be understood that the historical trip data can be used to determine the above training data, therefore, the content in the timestamp in the historical trip data can be the same as the time feature sequence of the target vehicle in the current trip, or contain less information than the time feature sequence, for example, the timestamp can only contain the year, month and day, but not the hour, minute and second, thereby reducing the dimension of the input feature and reducing the demand for computing resources for the preset network model during the training process.

[0117] It should be understood that after determining the historical travel data, an association relationship between the historical travel data and the preset mileage label can be established, so as to be used to train the preset network model. As can be seen from the above, the mileage label can include: short mileage label (total travel mileage is 0-5km), medium-short mileage (total travel mileage is 5-10km), medium mileage (total travel mileage is 10-15km), medium-long mileage (total travel mileage is 15-20km), etc. For example, if the historical trip is from the company to home, the mileage is 3.6km, then the mileage label associated with the historical trip data can be a short mileage.

[0118] In an embodiment of the present invention, the historical speed sequence, mileage and time feature sequence corresponding to the historical trip can be spliced ​​to obtain historical trip data, and the association relationship between the historical trip data and the mileage label can be established, so as to train a preset network model based on the historical trip data and the mileage label to obtain a target network model, thereby realizing trip prediction based on the target network model without using GPS positioning, and thus there is no need to set up a GPS device in the target vehicle, saving vehicle development costs. In addition, the historical trip data can better analyze the driver's driving habits and travel preferences, provide a basis for personalized services, and help the driver better plan future trips and vehicle maintenance plans.

[0119] In some optional embodiments, such as Figure 4 FIG. 1 is a flow chart of a method for training a target network model corresponding to step S1021. Figure 4 As shown, the process includes the following steps:

[0120] Step S11, obtaining historical travel data corresponding to the historical driving route.

[0121] Step S12, preprocessing the historical travel data to obtain a historical vehicle speed sequence, and generating a timestamp according to the driving period corresponding to the historical travel data, so as to reconstruct the features of the timestamp and generate a historical time feature sequence.

[0122] Step S13, concatenating the preset vehicle speed sequence with the historical time feature sequence to obtain historical travel data.

[0123] Step S14, setting a mileage tag, and establishing an association relationship between the historical travel data and the mileage tag to obtain training data.

[0124] Step S15, training the preset network model using the above training data to obtain a target network model.

[0125] In this embodiment, another vehicle control method is provided, which can be used for a vehicle-mounted terminal. Figure 5 is a flow chart of another vehicle control method according to an embodiment of the present invention. Figure 5 As shown, the process includes the following steps:

[0126] Step S501, obtaining the travel information of the target vehicle, wherein the travel information is used to indicate the speed and driving period of the target vehicle. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0127] Step S502: Input the travel information into the target network model to obtain the target mileage, wherein the target network model is used to predict the mileage corresponding to the driving route of the target vehicle. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.

[0128] Step S503, controlling the energy supply of the target vehicle based on the target mileage.

[0129] Specifically, the above step S503 includes:

[0130] Step S5031, obtaining the driving distance of the target vehicle.

[0131] Step S5032, based on the driving distance and the target mileage, determine the remaining mileage, and control the energy supply to the target vehicle according to the remaining mileage.

[0132] In the embodiment of the present invention, the current mileage indicating the travel distance can be determined based on the current vehicle speed sequence and the travel time corresponding to the current travel of the target vehicle. It should be understood that the current mileage can be obtained at a preset time interval, and the remaining mileage can be determined based on the difference between the target mileage and the travel distance.

[0133] In the case of an existing energy supply strategy, the energy supply strategy can be adjusted based on the remaining mileage. Specifically, the remaining power and remaining fuel of the target vehicle can be detected, and the fuel-electricity mixing ratio in the energy supply strategy can be adjusted according to the remaining mileage.

[0134] For example, if the above energy supply strategy is 25% power supply combined with 75% fuel supply, within the remaining mileage, if it is detected that the remaining power is sufficient to supply the target vehicle to the destination, the energy supply strategy can be switched to power supply only, thereby reducing the fuel consumption of the target vehicle.

[0135] In an embodiment of the present invention, during the driving process of the target vehicle, the energy supply strategy can be adjusted based on the remaining driving range, thereby improving the accuracy of energy supply control and further reducing the energy consumption of the target vehicle.

[0136] In summary, in the embodiment of the present invention, the travel information of the target vehicle can be first obtained, wherein the travel information is used to indicate the speed and driving period of the target vehicle. Then, the travel information can be input into the target network model to obtain the target mileage, wherein the target network model is used to predict the mileage corresponding to the driving route of the target vehicle. Next, the energy supply of the target vehicle can be controlled based on the target mileage, thereby improving the prediction accuracy of the mileage of the target vehicle without GPS positioning, so as to control the energy supply of the target vehicle according to the predicted target mileage and reduce the energy consumption of the target vehicle.

[0137] In this embodiment, a vehicle control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0138] This embodiment provides a vehicle control device, such as Figure 6 As shown, including:

[0139] An acquisition module 601 is used to acquire the travel information of the target vehicle, wherein the travel information is used to indicate the speed and driving period of the target vehicle;

[0140] An input module 602 is used to input the travel information into the target network model to obtain a target mileage, wherein the target network model is used to predict the mileage corresponding to the driving route of the target vehicle;

[0141] The prediction module 603 is used to control the energy supply of the target vehicle based on the target mileage.

[0142] In some optional implementations, the acquisition module 601 includes:

[0143] An extraction unit, used to extract the characteristics of the driving period of the target vehicle in the current trip to obtain a time characteristic sequence;

[0144] A monitoring unit, used to monitor the change of the speed parameter of the target vehicle in the current trip and obtain the current speed sequence;

[0145] The first determining unit is used to determine the travel information according to the time feature sequence and the current vehicle speed sequence.

[0146] In some optional embodiments, the extraction unit comprises:

[0147] A first acquisition subunit is used to acquire the travel date in the travel period;

[0148] A matching subunit, used to match the travel date in the travel period with a preset date to determine the category feature; wherein the preset date is a date of a preset type;

[0149] The determination subunit is used to determine the time feature sequence based on the category feature and the driving period.

[0150] In some optional implementations, the input module 602 includes:

[0151] The second determination unit is used to determine a driving route that matches the current vehicle speed sequence based on the target network model, and determine a target mileage based on the driving route.

[0152] In some optional embodiments, the device further comprises:

[0153] A second acquisition subunit is used to acquire historical travel data corresponding to the historical travel, wherein the historical travel data includes: mileage, historical vehicle speed sequence and timestamp;

[0154] A generation subunit, used to generate training data based on historical travel data and mileage labels;

[0155] The training subunit is used to train the preset network model based on the training data to obtain a target network model that meets the accuracy requirements.

[0156] In some optional implementations, the historical trip includes multiple sub-trips, and the second acquisition subunit is further used for:

[0157] Read the vehicle speed parameters corresponding to each sub-trip respectively to obtain the historical vehicle speed sequence;

[0158] Determine the mileage based on the historical speed sequence and the driving time corresponding to the historical trip;

[0159] Generate a historical time feature sequence by reconstructing the features of timestamps;

[0160] The historical vehicle speed series, mileage and historical time feature series are spliced ​​to obtain historical travel data.

[0161] In some optional implementations, the prediction module 603 includes:

[0162] A second acquisition unit, used to acquire the travel distance of the target vehicle;

[0163] The third determining unit is used to determine the remaining mileage based on the driving distance and the target mileage, and control the energy supply to the target vehicle according to the remaining mileage.

[0164] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0165] The vehicle control device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0166] The embodiment of the present invention also provides an electronic device having the above Figure 6 Vehicle controls shown.

[0167] See also Figure 7 , Figure 7 is a schematic diagram of the structure of an electronic device provided by an optional embodiment of the present invention, such as Figure 7As shown, the electronic device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.

[0168] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0169] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0170] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0171] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0172] The electronic device further comprises a communication interface 30 for the electronic device to communicate with other devices or a communication network.

[0173] An embodiment of the present invention also provides a vehicle, which includes: a vehicle memory and a memory for communicating with a vehicle controller, the memory storing instructions that can be executed by the vehicle controller, the instructions being executed by the vehicle controller so that the vehicle controller executes the implementation method in the embodiment corresponding to the above-mentioned vehicle control method, thereby improving the prediction accuracy of the mileage of the target vehicle without the need for GPS positioning, so as to control the energy supply of the target vehicle according to the predicted target mileage and reduce the energy consumption of the target vehicle.

[0174] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0175] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0176] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A vehicle control method, characterized in that: The method comprises: Acquiring travel information of a target vehicle, wherein the travel information is used to indicate a speed and a driving period of the target vehicle; Inputting the travel information into a target network model to obtain a target mileage, wherein the target network model is used to predict the mileage corresponding to the driving route of the target vehicle; Based on the target mileage, energy supply to the target vehicle is controlled.

2. The method according to claim 1, characterized in that The step of obtaining the travel information of the target vehicle includes: Extracting the characteristics of the driving period of the target vehicle in the current trip to obtain a time characteristic sequence; Monitoring the change of the speed parameter of the target vehicle in the current trip to obtain a current speed sequence; The travel information is determined according to the time feature sequence and the current vehicle speed sequence.

3. The method according to claim 2, characterized in that The step of extracting the characteristics of the travel period of the target vehicle in the current trip to obtain a time characteristic sequence includes: Obtaining the travel date in the travel period; Matching the travel date in the travel period with a preset date to determine the category feature; wherein the preset date is a date of a preset type; The time feature sequence is determined based on the category feature and the driving period.

4. The method according to claim 2, characterized in that The step of inputting the travel information into a target network model to obtain a target mileage includes: Based on the target network model, a driving route matching the current vehicle speed sequence is determined, and the target mileage is determined based on the driving route.

5. The method according to claim 1, characterized in that The method further comprises: Acquire historical travel data corresponding to the historical travel, wherein the historical travel data includes: mileage, historical vehicle speed sequence and timestamp; Based on the driving mileage, generating a mileage label, wherein the mileage label is used to indicate a total mileage range corresponding to the driving mileage; Generate training data based on the historical travel data and the mileage label; A preset network model is trained based on the training data to obtain a target network model that meets the accuracy requirements.

6. The method according to claim 5, characterized in that The historical itinerary includes multiple sub-trips; The obtaining of historical itinerary data corresponding to the historical itinerary includes: Respectively read the vehicle speed parameters corresponding to each sub-trip to obtain the historical vehicle speed sequence; Determining the mileage based on the historical vehicle speed sequence and the driving time corresponding to the historical journey; Generate a historical time feature sequence by reconstructing the features of the timestamp; The historical vehicle speed sequence, the mileage and the historical time feature sequence are concatenated to obtain the historical travel data.

7. The method according to claim 1, characterized in that The controlling the energy supply of the target vehicle based on the target mileage includes: Obtaining the travel distance of the target vehicle; Based on the driving distance and the target mileage, a remaining driving mileage is determined, and energy supply to the target vehicle is controlled according to the remaining driving mileage.

8. A vehicle control device, characterized in that: The device comprises: An acquisition module, used for acquiring the travel information of the target vehicle, wherein the travel information is used for indicating the speed and driving period of the target vehicle; An input module, used to input the travel information into a target network model to obtain a target mileage, wherein the target network model is used to predict the mileage corresponding to the driving route of the target vehicle; A prediction module is used to control the energy supply of the target vehicle based on the target mileage.

9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the vehicle control method according to any one of claims 1 to 7 by executing the computer instructions.

10. A vehicle, characterized in that: include: a vehicle memory and a memory for communicatively coupling with a vehicle controller; The memory stores instructions that can be executed by the vehicle controller, and the instructions are executed by the vehicle controller to cause the vehicle controller to perform the vehicle control method according to any one of claims 1 to 7.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the vehicle control method according to any one of claims 1 to 7.