Generation method and device of target mode scheme and electronic equipment

By generating and displaying the mode scheme of electric vehicles and its mileage, combining user operations to calculate average energy consumption, the problem of inaccurate battery life and energy consumption of electric vehicles is solved, and the user's driving experience and energy use planning are improved.

CN119124195APending Publication Date: 2024-12-13SAIC GM WULING AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411223314.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Electric vehicles cannot provide accurate battery life and electrical energy consumption, making it difficult for users to determine a reasonable driving mode solution, reducing the driving experience.

Method used

By generating and presenting multiple mode schemes and their corresponding mileage ranges, receiving user operations, calculating average energy consumption and determining target mode schemes, providing accurate mode selection to improve user experience.

Benefits of technology

It realizes that users can accurately choose the model plan for electric vehicles, improving the accuracy of driving experience and energy use planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119124195A_ABST
    Figure CN119124195A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a target mode scheme generation method and device and electronic equipment. The method comprises the following steps: generating a first travelable mileage corresponding to each first mode scheme according to a plurality of set first mode schemes and acquired original data; displaying the plurality of first mode schemes and the plurality of first travelable mileages; receiving a first user operation input by a user; and determining a target mode scheme according to the first user operation. In the embodiment of the invention, the first traveled mileage corresponding to each first mode scheme is calculated through the set first mode scheme, the first mode scheme and the first traveled mileage corresponding to the first mode scheme are displayed to the user, and the target mode scheme is determined according to the first user operation input by the user; a user can determine an accurate mode scheme, so that the driving experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of automobile technology, and in particular to a method, device and electronic device for generating a target mode solution. Background Art

[0002] As electric vehicles become increasingly popular, the energy consumption and driving range of electric vehicles have always been the focus of users. Since most users have range anxiety when driving electric vehicles, they are prone to question the battery life and energy consumption of electric appliances. Users need to determine the operation mode of electric vehicles based on battery life and energy consumption of electric appliances, that is, energy planning. Since electric vehicles cannot provide accurate battery life and energy consumption of electric appliances, users cannot determine the accurate mode plan, resulting in a poor driving experience. Summary of the invention

[0003] In view of this, an embodiment of the present invention provides a method, device and electronic device for generating a target mode solution, which are used to determine an accurate target mode solution, thereby improving the user's driving experience.

[0004] A first aspect provides a method for generating a target mode solution, the method comprising:

[0005] Generating a first drivable mileage corresponding to each of the first mode schemes according to the set multiple first mode schemes and the acquired raw data;

[0006] displaying the plurality of first mode solutions and the plurality of first drivable ranges;

[0007] Receiving a first user operation input by a user;

[0008] A target mode scheme is determined according to the first user operation.

[0009] In a possible implementation method, if the first user operation includes a first selection operation;

[0010] Determining a target mode scheme according to the user operation includes:

[0011] In response to the first selection operation, the target mode scheme is selected from a plurality of the first mode schemes.

[0012] In one possible implementation method, if the first user operation includes a first input operation;

[0013] The determining a target mode scheme according to the first user operation includes:

[0014] In response to the first input operation, obtaining a second mode scheme input by the user;

[0015] generating a second drivable mileage corresponding to the second mode scheme according to the second mode scheme and the original data;

[0016] displaying the second mode scheme, the second drivable range, a plurality of the first mode schemes, and a plurality of the first drivable ranges;

[0017] Receiving a second selection operation input by the user;

[0018] In response to the second selection operation, the target mode scheme is selected from the second mode schemes and a plurality of the first mode schemes.

[0019] In a possible implementation method, generating a second drivable mileage corresponding to the second mode scheme according to the second mode scheme and the original data includes:

[0020] Calculating at least one second average energy consumption according to the second mode scheme and a plurality of target energy flow data acquired in advance;

[0021] The second drivable mileage is calculated based on the at least one second average energy consumption and the raw data.

[0022] In one possible implementation method, the target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances, and the second mode scheme includes working states of the multiple electrical appliances;

[0023] The calculating at least one second average energy consumption according to the second mode scheme and the plurality of target energy flow data acquired in advance comprises:

[0024] Acquire the electrical energy consumption of at least one of the electrical appliances whose working state is turned on in the second mode scheme from each target energy flow data;

[0025] Divide the electrical energy consumption of each electrical appliance in each target energy flow data by the energy consumption duration in the target energy flow data, and calculate a plurality of the second unit energy consumptions corresponding to each electrical appliance;

[0026] The second average energy consumption corresponding to each electrical appliance is calculated according to the multiple second unit energy consumptions corresponding to each electrical appliance.

[0027] In a possible implementation method, the raw data includes vehicle speed and battery charge;

[0028] The calculating a second drivable mileage according to the plurality of second average energy consumptions and the original data comprises:

[0029] generating a second comprehensive energy consumption according to the at least one second average energy consumption;

[0030] Dividing the battery power by the second comprehensive energy consumption to calculate the second driving time;

[0031] The second drivable mileage is calculated by multiplying the second driving time by the vehicle speed.

[0032] In a possible implementation method, generating a plurality of first drivable mileages according to the set plurality of first mode schemes and the acquired raw data includes:

[0033] Calculate at least one first average energy consumption corresponding to each first mode scheme according to the multiple first mode schemes and the multiple target energy flow data acquired in advance;

[0034] A first drivable mileage corresponding to each first mode scheme is calculated based on the original data and at least one first average energy consumption corresponding to each first mode scheme.

[0035] In one possible implementation method, the target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances, and the first mode scheme includes working states of the multiple electrical appliances;

[0036] The step of calculating at least one first average energy consumption corresponding to each first mode scheme according to the plurality of first mode schemes and the plurality of target energy flow data acquired in advance includes:

[0037] Acquire the electrical energy consumption of at least one of the electrical appliances whose working state is turned on in the first mode scheme from each target energy flow data;

[0038] Divide the electrical energy consumption of each electrical appliance in each target energy flow data by the energy consumption duration in the target energy flow data to calculate a plurality of first unit energy consumptions corresponding to each electrical appliance;

[0039] The first average energy consumption corresponding to each electrical appliance under the first mode scheme is calculated according to the multiple first unit energy consumptions corresponding to each electrical appliance.

[0040] In a possible implementation method, the raw data includes vehicle speed and battery charge;

[0041] The calculating, according to at least one first average energy consumption corresponding to each first mode scheme and the original data, a first drivable mileage corresponding to each first mode scheme comprises:

[0042] generating a first comprehensive energy consumption corresponding to the first mode scheme according to at least one first average energy consumption corresponding to the first mode scheme;

[0043] Dividing the battery power by the first comprehensive energy consumption corresponding to the first mode scheme to calculate a first driving time corresponding to the first mode scheme;

[0044] The first driving time is multiplied by the vehicle speed to calculate a first drivable mileage corresponding to the first mode solution.

[0045] In a possible implementation method, before generating a plurality of first drivable mileages according to the set plurality of first mode schemes and the acquired raw data, the method further includes:

[0046] Detect the current working status of multiple electrical appliances to obtain the current mode solution;

[0047] Calculating at least one third average energy consumption according to the current mode scheme and a plurality of target energy flow data acquired in advance;

[0048] calculating a third drivable mileage according to the at least one third average energy consumption and the raw data;

[0049] The current mode solution and the third drivable range are displayed.

[0050] In a possible implementation method, the target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances, and the current mode scheme includes working states of multiple electrical appliances;

[0051] The calculating at least one third average energy consumption according to the current mode scheme and the plurality of target energy flow data acquired in advance comprises:

[0052] Acquire the electrical energy consumption of at least one of the electrical appliances whose working state is turned on in the current mode scheme from each target energy flow data;

[0053] Divide the electrical energy consumption of each electrical appliance in each target energy flow data by the energy consumption duration in the target energy flow data, and calculate a plurality of third unit energy consumptions corresponding to each electrical appliance;

[0054] The third average energy consumption corresponding to each electrical appliance is calculated according to the multiple third unit energy consumptions corresponding to each electrical appliance.

[0055] In a possible implementation method, the raw data includes vehicle speed and battery charge;

[0056] The calculating a third drivable mileage according to the at least one third average energy consumption and the original data comprises:

[0057] generating a third comprehensive energy consumption according to the at least one third average energy consumption;

[0058] Dividing the battery power by the third comprehensive energy consumption to calculate a third driving time;

[0059] The third drivable mileage is calculated by multiplying the third driving time by the vehicle speed.

[0060] In a possible implementation method, before detecting the current working states of the plurality of electrical appliances to obtain the current mode scheme, the method further includes:

[0061] Determine whether the acquired battery power is greater than a set power threshold and whether a detection operation input by the user is received;

[0062] If it is determined that the battery power is less than or equal to the set power threshold, and / or it is determined that a detection operation input by the user is received, then continue to perform the step of detecting the current working states of multiple electrical appliances to obtain the current mode scheme;

[0063] If it is determined that the battery power is greater than the set power threshold and it is determined that no detection operation input by the user is received, continue to execute the steps of determining whether the acquired battery power is greater than the set power threshold and determining whether the detection operation input by the user is received.

[0064] In one possible implementation method, the method further includes:

[0065] Acquire a first query operation input by a user, wherein the first query operation includes a start time, an end time, and an identifier of at least one target electrical appliance;

[0066] Acquire power data of each target electrical appliance within a query time period, where the query time period is a time period between an end time and a start time;

[0067] Integrate the power data of each target electrical appliance within the query time period to generate the electrical energy consumption of each target electrical appliance;

[0068] Generate first energy flow data according to the energy consumption duration and the electrical energy consumption of each target electrical appliance, wherein the energy consumption duration includes the duration between the end time and the start time;

[0069] The first energy flow data is displayed.

[0070] In one possible implementation method, the method further includes:

[0071] Acquire a start operation input by a user, wherein the start operation includes a start time and an identifier of at least one target electrical appliance;

[0072] In response to a start operation input by a user, continuously acquiring current power data of at least one target electrical appliance at a first set time interval from a start time;

[0073] Continuously integrating the current power data of at least one target electrical appliance to obtain the electrical energy consumption of each of the target electrical appliances, generating and displaying current energy flow data, the current energy flow data including the energy consumption duration and the current energy consumption corresponding to each of the target electrical appliances, wherein the energy consumption duration includes the duration between the current time and the start time;

[0074] In response to a stop operation input by the user, the acquisition of the current power data is stopped.

[0075] In one possible implementation method, the method further includes:

[0076] Filtering out multiple historical operating conditions that match the acquired current operating conditions from the stored historical data set;

[0077] querying historical energy flow data corresponding to the plurality of historical operating conditions from the historical data set;

[0078] The plurality of historical energy flow data are used as the plurality of target energy flow data.

[0079] A second aspect provides a device for generating a target mode solution, comprising:

[0080] A first generating unit, configured to generate a first drivable mileage corresponding to each of the first mode schemes according to the set multiple first mode schemes and the acquired original data;

[0081] A display unit, configured to display the plurality of first mode schemes and the plurality of first drivable mileages;

[0082] An acquisition unit, configured to receive a first user operation input by a user;

[0083] The first determining unit is used to determine a target mode scheme according to the first user operation.

[0084] A third aspect provides a car, comprising a device for generating a target mode solution according to the second aspect.

[0085] The fourth aspect provides an electronic device, comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the electronic device, enable the device to execute the method for generating a target mode scheme in the above-mentioned first aspect or any possible implementation of the first aspect.

[0086] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the electronic device where the computer-readable storage medium is located is controlled to execute the method for generating a target mode scheme in the above-mentioned first aspect or any possible implementation of the first aspect.

[0087] In the technical solution of the embodiment of the present invention, the first drivable mileage corresponding to each first mode scheme is generated according to the set multiple first mode schemes and the acquired raw data; the multiple first mode schemes and the multiple first drivable mileages are displayed; the first user operation input by the user is received; and the target mode scheme is determined according to the first user operation. In the embodiment of the present invention, the first drivable mileage corresponding to each first mode scheme is calculated by the set first mode scheme, the first mode scheme and the first drivable mileage corresponding to the first mode scheme are displayed to the user, and the target mode scheme is determined according to the first user operation input by the user, so that the user can determine the accurate mode scheme, thereby improving the user's driving experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0088] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0089] Figure 1 A flowchart of a method for generating a target mode solution provided by an embodiment of the present invention;

[0090] Figure 2 A flowchart of another method for generating a target mode solution provided by an embodiment of the present invention;

[0091] Figure 3 A flow chart of a method for generating a second drivable mileage provided by an embodiment of the present invention;

[0092] Figure 4 A flowchart of a method for generating a second average energy consumption provided by an embodiment of the present invention;

[0093] Figure 5 A flowchart of another method for generating a second drivable mileage provided by an embodiment of the present invention;

[0094] Figure 6 A flowchart of a method for generating a first drivable mileage provided by an embodiment of the present invention;

[0095] Figure 7A flowchart of a method for generating a first average energy consumption provided by an embodiment of the present invention;

[0096] Figure 8 A flowchart of another method for generating a first drivable mileage provided by an embodiment of the present invention;

[0097] Fig. 9 A flowchart of a method for generating a third drivable mileage provided by an embodiment of the present invention;

[0098] Fig.10 A flowchart of a method for generating a third average energy consumption provided by an embodiment of the present invention;

[0099] Fig.11 A flowchart of another method for generating a third drivable mileage provided by an embodiment of the present invention;

[0100] Fig.12 A flow chart of a method for generating current energy flow data provided by an embodiment of the present invention;

[0101] Fig.13 A flowchart of another method for generating current energy flow data provided by an embodiment of the present invention;

[0102] Fig.14 A flow chart of a method for generating target energy flow data provided by an embodiment of the present invention;

[0103] Fig.15 A schematic diagram of the structure of a device for generating a target mode solution provided by an embodiment of the present invention;

[0104] Fig.16 A schematic diagram of the structure of a first determination unit provided in an embodiment of the present invention;

[0105] Fig.17 A schematic diagram of the structure of a first generating subunit provided in an embodiment of the present invention;

[0106] Fig.18 A schematic diagram of the structure of a first computing module provided by an embodiment of the present invention;

[0107] Fig.19 A schematic diagram of the structure of a second computing module provided by an embodiment of the present invention;

[0108] Fig. 20 A schematic diagram of the structure of a first generation unit provided in an embodiment of the present invention;

[0109] Fig.21 A schematic diagram of the structure of a first computing subunit provided in an embodiment of the present invention;

[0110] Fig. 22A schematic diagram of the structure of a second computing subunit provided by an embodiment of the present invention;

[0111] Fig.23 A schematic diagram of the structure of a first computing unit provided by an embodiment of the present invention;

[0112] Fig.24 A schematic diagram of the structure of a second computing unit provided by an embodiment of the present invention;

[0113] Fig.25 A schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0114] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0115] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0116] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0117] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0118] Figure 1 A flow chart of a method for generating a target mode solution provided by an embodiment of the present invention, such as Figure 1 As shown, the method includes:

[0119] Step 102: The electronic device generates a first drivable mileage corresponding to each first mode scheme according to the set multiple first mode schemes and the acquired original data.

[0120] In the embodiment of the present invention, the electronic device may be a vehicle-mounted terminal.

[0121] In an embodiment of the present invention, the first mode scheme includes the working states of multiple electrical appliances, wherein the electrical appliances may include an electric drive system, a charging and distribution system, an air compressor, a positive temperature coefficient (PTC) device, a lamp, a water pump or an active emergency braking system (AEBS), then the multiple electrical appliances may include at least two of the electric drive system, the charging and distribution system, an air compressor, a PTC device, a lamp, a water pump and an AEBS or any combination thereof. Among them, the charging and distribution system may include a high-voltage distribution box, an on-board charger and a DC-DC Converter (DCDC). In actual applications, the electrical appliances may also include other parts, which are not limited in the embodiment of the present invention.

[0122] In an embodiment of the present invention, the working state may include an on state or an off state. The on state may be that the electrical appliance is turned on or the working gear of the electrical appliance. The working gear of the electrical appliance may include first gear, second gear or third gear, etc. The embodiment of the present invention does not limit the working gear of the electrical appliance.

[0123] In the embodiment of the present invention, the original data includes the battery power and the vehicle speed, and the battery power is the power of the power battery.

[0124] Step 104 : The electronic device displays a plurality of first mode solutions and a plurality of first drivable mileages.

[0125] In the embodiment of the present invention, each first mode scheme corresponds to a first drivable mileage. The electronic device displays each first mode scheme and the first drivable mileage corresponding to the first mode scheme, so that the user can determine the target mode scheme according to each first mode scheme and the first drivable mileage corresponding to the first mode scheme.

[0126] Step 106: The electronic device receives a first user operation input by a user.

[0127] In an embodiment of the present invention, a user may input a first user operation to the electronic device based on a plurality of first mode solutions and a plurality of first drivable mileages displayed. For example, the first user operation may include a first selection operation or a first input operation. Based on each first mode solution displayed by the electronic device and the first drivable mileage corresponding to the first mode solution, the user determines whether there is a satisfactory first mode solution and a first drivable mileage corresponding to the first mode solution. If it is determined that there is a satisfactory first mode solution and a first drivable mileage corresponding to the first mode solution, the user selects the satisfactory first mode solution to input the first selection operation to the electronic device; if there is no satisfactory first mode solution and the first drivable mileage corresponding to the first mode solution, the user inputs a second mode solution on the electronic device to input the first input operation to the electronic device.

[0128] Step 108: The electronic device determines a target mode solution according to the first user operation.

[0129] As an optional solution, if the first user operation input by the user is a first selection operation, the electronic device selects a target mode solution from multiple first mode solutions in response to the first selection operation. Specifically, the electronic device selects the first mode solution selected by the user from multiple first mode solutions as the target mode solution in response to the first selection operation. For example, the first selection operation can be the first mode solution selected by the user by clicking. Then the electronic device can switch the current mode solution to the target mode solution.

[0130] In the embodiment of the present invention, Figure 2 A flowchart of another method for generating a target mode solution provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, if the first user operation includes a first input operation, step 108 may specifically include:

[0131] Step 11: The electronic device obtains a second mode scheme input by the user in response to the first input operation.

[0132] In the embodiment of the present invention, the second mode solution includes the working states of multiple electrical appliances, wherein the description of the electrical appliances and the working states can refer to the description in step 102, which will not be repeated here.

[0133] Specifically, the first input operation may be that the user inputs the second mode scheme to the electronic device, and the electronic device acquires the second mode scheme according to the first input operation.

[0134] Step 13: The electronic device generates a second drivable mileage corresponding to the second mode scheme according to the second mode scheme and the original data.

[0135] In the embodiment of the present invention, the second drivable mileage may include a drivable mileage of the electric vehicle in the second mode.

[0136] Step 15: The electronic device displays the second mode scheme, the second drivable mileage, multiple first mode schemes, and multiple first drivable mileages.

[0137] In the embodiment of the present invention, each first mode scheme corresponds to a first drivable mileage, and the second mode scheme corresponds to a second drivable mileage. The electronic device displays each first mode scheme and the first drivable mileage corresponding to the first mode scheme, and the second mode scheme and the second drivable mileage corresponding to the second mode scheme, so that the user can determine the target mode scheme according to each first mode scheme and the first drivable mileage corresponding to the first mode scheme, and the second mode scheme and the second drivable mileage corresponding to the second mode scheme.

[0138] Step 17: The electronic device receives a second selection operation input by the user.

[0139] Based on each first mode scheme and the first drivable mileage corresponding to the first mode scheme and the second mode scheme and the second drivable mileage corresponding to the second mode scheme, the user selects a satisfactory first mode scheme or a second mode scheme to input a second selection operation to the electronic device, and the second selection operation is the user selecting the first mode scheme or the user selecting the second mode scheme. For example, the second selection operation may be the user clicking on the selected first mode scheme on the electronic device or the user clicking on the second mode scheme on the electronic device.

[0140] Step 19: In response to the second selection operation, the electronic device selects a target mode scheme from the second mode scheme and the plurality of first mode schemes.

[0141] Specifically, if the second selection operation includes the user selecting a first mode scheme, the electronic device, in response to the second selection operation, uses the first mode scheme selected from the plurality of first mode schemes as the target mode scheme. If the second selection operation includes the user selecting a second mode scheme, the electronic device uses the second mode scheme as the target mode scheme.

[0142] In the embodiment of the present invention, Figure 3 A flow chart of a method for generating a second drivable mileage provided by an embodiment of the present invention, such as Figure 3 As shown, step 13 may specifically include:

[0143] Step 21: The electronic device calculates at least one second average energy consumption according to the second mode scheme and a plurality of pre-acquired target energy flow data.

[0144] In an embodiment of the present invention, the target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances. Optionally, the target energy flow data may also include sensor data and power data of each electrical appliance at each data collection time point, wherein the power data may be calculated based on the sensor data, for example, the sensor data may include voltage data and current data, or the sensor data may include speed data and torque data.

[0145] The at least one second average energy consumption includes the second average energy consumption corresponding to each electrical appliance.

[0146] Step 23: The electronic device calculates a second drivable mileage based on at least one second average energy consumption and the original data.

[0147] In the embodiment of the present invention, Figure 4 A flow chart of a method for generating a second average energy consumption provided by an embodiment of the present invention, such as Figure 4 As shown, the target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances, and the second mode solution includes the working status of multiple electrical appliances. Step 21 may specifically include:

[0148] Step 211: The electronic device obtains the electrical energy consumption of at least one electrical appliance whose working state is turned on in the second mode scheme from each target energy flow data.

[0149] For example, the multiple target energy flow data include three target energy flow data, and the three target energy flow data include first target energy flow data, second target energy flow data, and third target energy flow data; at least one electrical appliance includes AEBS, air compressor, and headlights, then in the second mode scheme, the working state of AEBS is on, the working state of the air compressor is off, and the working state of the headlights is on, wherein AEBS should always be in working state because it can ensure the driving safety of users. The electronic device obtains the electrical energy consumption of AEBS and the electrical energy consumption of the headlights from the first target energy flow data; the electronic device obtains the electrical energy consumption of AEBS and the electrical energy consumption of the headlights from the second target energy flow data; and the electronic device obtains the electrical energy consumption of AEBS and the electrical energy consumption of the headlights from the third target energy flow data.

[0150] Step 213: The electronic device divides the electrical energy consumption of each electrical appliance in each target energy flow data by the energy consumption duration in the target energy flow data, and calculates a plurality of second unit energy consumptions corresponding to each electrical appliance.

[0151] Each target energy data flow has an energy consumption duration. For example, the energy consumption duration included in the first target energy flow data is the first energy consumption duration, the energy consumption duration included in the second target energy flow data is the second energy consumption duration, and the energy consumption duration included in the third target energy flow data is the third energy consumption duration.

[0152] The electronic device divides the electrical energy consumption of the AEBS obtained from the first target energy flow data by the first energy consumption duration to calculate the second unit energy consumption corresponding to the AEBS; divides the electrical energy consumption of the headlights obtained from the first target energy flow data by the first energy consumption duration to calculate the second unit energy consumption corresponding to the headlights. The electronic device divides the electrical energy consumption of the AEBS obtained from the second target energy flow data by the second energy consumption duration to calculate the second unit energy consumption corresponding to the AEBS; divides the electrical energy consumption of the headlights obtained from the second target energy flow data by the second energy consumption duration to calculate the second unit energy consumption corresponding to the headlights. The electronic device divides the electrical energy consumption of the AEBS obtained from the third target energy flow data by the third energy consumption duration to calculate the second unit energy consumption corresponding to the AEBS; divides the electrical energy consumption of the headlights obtained from the third target energy flow data by the third energy consumption duration to calculate the second unit energy consumption corresponding to the headlights. It can be seen that the electronic device calculates the three second unit energy consumptions corresponding to the AEBS and the three second unit energy consumptions corresponding to the headlights.

[0153] Step 215: The electronic device calculates the second average energy consumption corresponding to each electrical appliance according to the multiple second unit energy consumptions corresponding to each electrical appliance.

[0154] Specifically, the electronic device averages the multiple second unit energy consumptions corresponding to each electrical appliance to obtain the second average energy consumption corresponding to each electrical appliance. For example, the electronic device averages the three second unit energy consumptions corresponding to the AEBS to obtain the second average energy consumption corresponding to the AEBS; the electronic device averages the three second unit energy consumptions corresponding to the headlights to obtain the second average energy consumption corresponding to the headlights.

[0155] In the embodiment of the present invention, Figure 5 A flowchart of another method for generating a second drivable mileage provided by an embodiment of the present invention, such as Figure 5 As shown, the original data includes vehicle speed and battery power, and step 23 may specifically include:

[0156] Step 231: The electronic device generates a second comprehensive energy consumption according to at least one second average energy consumption.

[0157] In the embodiment of the present invention, the second comprehensive energy consumption may include the total energy consumption of all electrical appliances in working state in unit time, wherein the unit time may include 1 hour. If the number of the second average energy consumption is one, the electronic device uses the second average energy consumption as the second comprehensive energy consumption; if the number of the second average energy consumption is multiple, the electronic device sums the second average energy consumption corresponding to each electrical appliance to generate the second comprehensive energy consumption.

[0158] Step 233: The electronic device divides the battery power by the second comprehensive energy consumption to calculate the second driving time.

[0159] Step 235: The electronic device multiplies the second driving time by the vehicle speed to calculate a second drivable mileage.

[0160] In the embodiment of the present invention, Figure 6 A flowchart of a method for generating a first drivable mileage provided by an embodiment of the present invention is shown in FIG. Figure 6 As shown, step 104 may specifically include:

[0161] Step 31: The electronic device calculates at least one first average energy consumption corresponding to each first mode scheme according to the multiple first mode schemes and the multiple target energy flow data acquired in advance.

[0162] In the embodiment of the present invention, the target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances. The multiple first average energy consumptions include the first average energy consumption corresponding to each electrical appliance.

[0163] Step 33: The electronic device calculates a first drivable mileage according to the plurality of first average energy consumptions and the original data.

[0164] In the embodiment of the present invention, the first drivable mileage may include the number of kilometers that the electric vehicle can travel when in the first mode.

[0165] In the embodiment of the present invention, Figure 7 A flow chart of a method for generating a first average energy consumption provided by an embodiment of the present invention, such as Figure 7 As shown, the target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances, and the first mode solution includes the working status of multiple electrical appliances. Step 31 may specifically include:

[0166] Step 311: The electronic device obtains the electrical energy consumption of at least one electrical appliance whose working state is turned on in the first mode scheme from each target energy flow data.

[0167] For example, the multiple target energy flow data include 3 target energy flow data, and the 3 target energy flow data include first target energy flow data, second target energy flow data, and third target energy flow data. The multiple first mode schemes include 2 first mode schemes, and at least one electrical appliance includes AEBS, an air compressor, and a headlight. In the first first mode scheme, the working state of AEBS is on, the working state of the air compressor is off, and the working state of the headlight is on; in the second first mode scheme, the working state of AEBS is on, the working state of the air compressor is on, and the working state of the headlight is off. Among them, since AEBS can ensure the driving safety of users, it should always be in a working state.

[0168] For the case where the first mode scheme is the first first mode scheme, the electronic device obtains the energy consumption of electrical appliances of the AEBS and the energy consumption of electrical appliances of the headlights from the first target energy flow data; the electronic device obtains the energy consumption of electrical appliances of the AEBS and the energy consumption of electrical appliances of the headlights from the second target energy flow data; and the electronic device obtains the energy consumption of electrical appliances of the AEBS and the energy consumption of electrical appliances of the headlights from the third target energy flow data.

[0169] For the case where the first mode scheme is the second first mode scheme, the electronic device obtains the electrical energy consumption of the AEBS and the electrical energy consumption of the air-conditioning compressor from the first target energy flow data; the electronic device obtains the electrical energy consumption of the AEBS and the electrical energy consumption of the air-conditioning compressor from the second target energy flow data; and the electronic device obtains the electrical energy consumption of the AEBS and the electrical energy consumption of the air-conditioning compressor from the third target energy flow data.

[0170] Step 313: The electronic device divides the energy consumption of each electrical appliance in each target energy flow data by the energy consumption duration in the target energy flow data, and calculates a plurality of first unit energy consumptions corresponding to each electrical appliance.

[0171] Each target energy data flow has an energy consumption duration. For example, the energy consumption duration included in the first target energy flow data is the first energy consumption duration, the energy consumption duration included in the second target energy flow data is the second energy consumption duration, and the energy consumption duration included in the third target energy flow data is the third energy consumption duration.

[0172] In the case where the first mode scheme is the first first mode scheme, the electronic device will divide the electrical energy consumption of the AEBS obtained from the first target energy flow data by the first energy consumption duration to calculate the first unit energy consumption corresponding to the AEBS; divide the electrical energy consumption of the headlights obtained from the first target energy flow data by the first energy consumption duration to calculate the first unit energy consumption corresponding to the headlights. The electronic device will divide the electrical energy consumption of the AEBS obtained from the second target energy flow data by the second energy consumption duration to calculate the first unit energy consumption corresponding to the AEBS; divide the electrical energy consumption of the headlights obtained from the second target energy flow data by the second energy consumption duration to calculate the first unit energy consumption corresponding to the headlights. The electronic device will divide the electrical energy consumption of the AEBS obtained from the third target energy flow data by the third energy consumption duration to calculate the first unit energy consumption corresponding to the AEBS; divide the electrical energy consumption of the headlights obtained from the third target energy flow data by the third energy consumption duration to calculate the first unit energy consumption corresponding to the headlights. It can be seen that the electronic device calculates the three first unit energy consumptions corresponding to the AEBS and the three first unit energy consumptions corresponding to the headlights.

[0173] In the case where the first mode scheme is the second first mode scheme, the electronic device will divide the electrical energy consumption of the AEBS obtained from the first target energy flow data by the first energy consumption duration to calculate the first unit energy consumption corresponding to the AEBS; divide the electrical energy consumption of the air-conditioning compressor obtained from the first target energy flow data by the first energy consumption duration to calculate the first unit energy consumption corresponding to the air-conditioning compressor. The electronic device will divide the electrical energy consumption of the AEBS obtained from the second target energy flow data by the second energy consumption duration to calculate the first unit energy consumption corresponding to the AEBS; divide the electrical energy consumption of the air-conditioning compressor obtained from the second target energy flow data by the second energy consumption duration to calculate the first unit energy consumption corresponding to the air-conditioning compressor. The electronic device will divide the electrical energy consumption of the AEBS obtained from the third target energy flow data by the third energy consumption duration to calculate the first unit energy consumption corresponding to the AEBS; divide the electrical energy consumption of the air-conditioning compressor obtained from the third target energy flow data by the third energy consumption duration to calculate the first unit energy consumption corresponding to the air-conditioning compressor. It can be seen that the electronic device calculates the three first unit energy consumptions corresponding to the AEBS and the three first unit energy consumptions corresponding to the air-conditioning compressor.

[0174] Step 315: The electronic device generates a first average energy consumption corresponding to each electrical appliance in each first mode scheme according to the multiple first unit energy consumptions corresponding to each electrical appliance.

[0175] Specifically, the electronic device calculates the average value of multiple first unit energy consumptions corresponding to each electrical appliance to obtain the first average energy consumption corresponding to each electrical appliance.

[0176] In the case where the first mode scheme is the first first mode scheme, the electronic device averages the three first unit energy consumptions corresponding to the AEBS to obtain the first average energy consumption corresponding to the AEBS; the electronic device averages the three first unit energy consumptions corresponding to the headlights to obtain the first average energy consumption corresponding to the headlights. Thus, the first average energy consumption corresponding to the AEBS and the first average energy consumption corresponding to the headlights under the first first mode scheme are obtained.

[0177] In the case where the first mode scheme is the second first mode scheme, the electronic device averages the three first unit energy consumptions corresponding to the AEBS to obtain the first average energy consumption corresponding to the AEBS; the electronic device averages the three first unit energy consumptions corresponding to the air-conditioning compressor to obtain the first average energy consumption corresponding to the air-conditioning compressor. Thus, the first average energy consumption corresponding to the AEBS and the first average energy consumption corresponding to the air-conditioning compressor under the second first mode scheme are obtained.

[0178] In the embodiment of the present invention, for a plurality of different first mode solutions, steps 311 to 315 may be repeatedly executed to calculate at least one first average energy consumption corresponding to different first mode solutions.

[0179] In the embodiment of the present invention, Figure 8 A flowchart of another method for generating a first drivable mileage provided by an embodiment of the present invention is shown in FIG. Figure 8 As shown, the raw data includes vehicle speed and battery power, and step 33 may specifically include:

[0180] Step 331: The electronic device generates a first comprehensive energy consumption corresponding to the first mode scheme according to at least one first average energy consumption corresponding to the first mode scheme.

[0181] In an embodiment of the present invention, the first comprehensive energy consumption may include the total energy consumption of all electrical appliances in working state in unit time, wherein the unit time may include 1 hour. If the number of first average energy consumptions corresponding to the first mode scheme is one, the electronic device uses the first average energy consumption corresponding to the first mode scheme as the first comprehensive energy consumption corresponding to the first mode scheme; if the number of first average energy consumptions corresponding to the first mode scheme is multiple, the electronic device sums the multiple first average energy consumptions corresponding to the first mode scheme to generate the first comprehensive energy consumption corresponding to the first mode scheme.

[0182] For example, the first mode scheme may be a first first mode scheme or a second first mode scheme.

[0183] Step 333: The electronic device divides the battery power by the first comprehensive energy consumption corresponding to the first mode scheme to calculate the first driving time corresponding to the first mode scheme.

[0184] Step 335: The electronic device multiplies the first driving time corresponding to the first mode scheme by the vehicle speed to calculate a first drivable mileage corresponding to the first mode scheme.

[0185] In the embodiment of the present invention, steps 331 to 335 may be repeatedly executed to calculate the first drivable mileages corresponding to different first mode schemes, for example, the first drivable mileage corresponding to the first first mode scheme and the first drivable mileage corresponding to the second first mode scheme.

[0186] In the embodiment of the present invention, Fig. 9 A flowchart of a method for generating a third drivable mileage provided by an embodiment of the present invention is shown in FIG. Fig. 9 As shown, before step 104, the following steps are also included:

[0187] Step 202: The electronic device detects the current working status of multiple electrical appliances to obtain a current mode solution.

[0188] Specifically, the electronic device detects the current working state of each electrical appliance, and generates a current mode scheme according to the current working state of each electrical appliance, wherein the current mode scheme may include the working states of multiple electrical appliances.

[0189] In the embodiment of the present invention, before step 202, the method further includes:

[0190] Step 200, the electronic device determines whether the acquired battery power is greater than the set power threshold and determines whether a detection operation input by the user is received; if it is determined that the battery power is less than or equal to the set power threshold, and / or it is determined that a detection operation input by the user is received, continue to execute step 202; if it is determined that the battery power is greater than the set power threshold and it is determined that no detection operation input by the user is received, continue to execute step 200.

[0191] Specifically, if the electronic device determines that the battery power is less than or equal to the set power threshold, and / or determines that a detection operation input by the user is received, indicating that the battery power is too low and the user needs to pay attention to the mileage of the electric vehicle, or the user wants to know the mileage of the electric vehicle under the current power usage, then continue to execute step 202; if the electronic device determines that the battery power is greater than the set power threshold and determines that no detection operation input by the user is received, indicating that the battery power is high and the user does not need to pay attention to the mileage of the electric vehicle, and the user does not want to know the mileage of the electric vehicle under the current power usage, then continue to execute step 200.

[0192] Step 204: The electronic device calculates at least one third average energy consumption according to the current mode scheme and a plurality of pre-acquired target energy flow data.

[0193] In the embodiment of the present invention, the target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances. The at least one third average energy consumption includes the third average energy consumption corresponding to each electrical appliance.

[0194] Step 206: The electronic device calculates a third drivable mileage according to at least one third average energy consumption and the original data.

[0195] In the embodiment of the present invention, the third drivable mileage may include a drivable mileage of the electric vehicle in the third mode.

[0196] Step 208: The electronic device displays the current mode solution and the third drivable range.

[0197] In the embodiment of the present invention, Fig.10 A flowchart of a method for generating a third average energy consumption provided by an embodiment of the present invention, such as Fig.10 As shown, the target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances, and the current mode solution includes the working status of multiple electrical appliances. Step 204 may specifically include:

[0198] Step 41: The electronic device obtains the electrical energy consumption of at least one electrical appliance whose working state is turned on in the current mode scheme from each target energy flow data.

[0199] For example, the multiple target energy flow data include three target energy flow data, and the three target energy flow data include first target energy flow data, second target energy flow data, and third target energy flow data; at least one electrical appliance includes AEBS, air compressor, and headlights, then in the current mode scheme, the working state of AEBS is on, the working state of the air compressor is off, and the working state of the headlights is on, wherein AEBS should always be in working state because it can ensure the driving safety of users. The electronic device obtains the electrical energy consumption of AEBS and the electrical energy consumption of the headlights from the first target energy flow data; the electronic device obtains the electrical energy consumption of AEBS and the electrical energy consumption of the headlights from the second target energy flow data; and the electronic device obtains the electrical energy consumption of AEBS and the electrical energy consumption of the headlights from the third target energy flow data.

[0200] Step 43: The electronic device divides the electrical energy consumption of each electrical appliance in each target energy flow data by the energy consumption duration in the target energy flow data, and calculates a plurality of third unit energy consumptions corresponding to each electrical appliance.

[0201] Each target energy data flow has an energy consumption duration. For example, the energy consumption duration included in the first target energy flow data is the first energy consumption duration, the energy consumption duration included in the second target energy flow data is the second energy consumption duration, and the energy consumption duration included in the third target energy flow data is the third energy consumption duration.

[0202] The electronic device divides the electrical energy consumption of the AEBS obtained from the first target energy flow data by the first energy consumption duration to calculate the third unit energy consumption corresponding to the AEBS; divides the electrical energy consumption of the headlights obtained from the first target energy flow data by the first energy consumption duration to calculate the third unit energy consumption corresponding to the headlights. The electronic device divides the electrical energy consumption of the AEBS obtained from the second target energy flow data by the second energy consumption duration to calculate the third unit energy consumption corresponding to the AEBS; divides the electrical energy consumption of the headlights obtained from the second target energy flow data by the second energy consumption duration to calculate the third unit energy consumption corresponding to the headlights. The electronic device divides the electrical energy consumption of the AEBS obtained from the third target energy flow data by the third energy consumption duration to calculate the third unit energy consumption corresponding to the AEBS; divides the electrical energy consumption of the headlights obtained from the third target energy flow data by the third energy consumption duration to calculate the third unit energy consumption corresponding to the headlights. It can be seen that the electronic device calculates the three third unit energy consumptions corresponding to the AEBS and the three third unit energy consumptions corresponding to the headlights.

[0203] Step 45: The electronic device calculates the third average energy consumption corresponding to each electrical appliance according to the multiple third unit energy consumptions corresponding to each electrical appliance.

[0204] Specifically, the electronic device averages multiple third unit energy consumptions corresponding to each electrical appliance to obtain the third average energy consumption corresponding to each electrical appliance. For example, the electronic device averages three third unit energy consumptions corresponding to AEBS to obtain the third average energy consumption corresponding to AEBS; the electronic device averages three third unit energy consumptions corresponding to the headlights to obtain the third average energy consumption corresponding to the headlights.

[0205] In the embodiment of the present invention, Fig.11 A flowchart of another method for generating a third drivable mileage provided by an embodiment of the present invention, such as Fig.11 As shown, the raw data includes vehicle speed and battery power. Step 206 may specifically include:

[0206] Step 51: The electronic device generates a third comprehensive energy consumption according to at least one third average energy consumption.

[0207] In the embodiment of the present invention, the third comprehensive energy consumption may include the total energy consumption of all electrical appliances in working state in unit time, wherein the unit time may include 1 hour. If the number of the third average energy consumption is one, the electronic device uses the third average energy consumption as the third comprehensive energy consumption; if the number of the third average energy consumption is multiple, the electronic device sums the third average energy consumption corresponding to each electrical appliance to generate the third comprehensive energy consumption.

[0208] Step 53: The electronic device divides the battery power by the third comprehensive energy consumption to calculate the third driving time.

[0209] Step 55: The electronic device multiplies the third driving time by the vehicle speed to calculate a third drivable mileage.

[0210] As an alternative, Fig.12 A flow chart of a method for generating current energy flow data provided by an embodiment of the present invention, such as Fig.12 As shown, the method also includes:

[0211] Step 402: The electronic device obtains a first query operation input by a user, wherein the first query operation includes a start time, an end time, and an identifier of at least one target electrical appliance.

[0212] If the user wants to query the energy flow data, the user can input the query start time, end time and the identification of at least one selected target electrical appliance into the electronic device. For example, the identification of the target electrical appliance can be the name of the target electrical appliance.

[0213] Step 404: The electronic device obtains power data of each target electrical appliance within a query time period, where the query time period is a time period between an end time and a start time.

[0214] The start time of the query time period is the start time, and the end time of the query time period is the end time. If the electronic device stores power data of multiple electrical appliances at different times, then in this step, the electronic device can query the power data of each target electrical appliance in the query time period from the stored power data.

[0215] Step 406: The electronic device integrates the power data of each target electrical appliance during the query time period to generate the electrical energy consumption of each target electrical appliance.

[0216] Specifically, the electronic device integrates the power data of each target electrical appliance in the query time period, and generates the electrical appliance energy consumption of each target electrical appliance.

[0217] Step 408: The electronic device generates first energy flow data according to the energy consumption duration and the electrical energy consumption of each target electrical appliance, wherein the energy consumption duration includes the duration between the end time and the start time.

[0218] The electronic device can calculate the duration according to the end time and the start time, and use the calculated duration as the energy consumption duration. The first energy flow data includes the energy consumption duration and the electrical energy consumption of at least one target electrical appliance.

[0219] Optionally, the first energy flow data may also include sensor data and power data of each target electrical appliance at each data collection time point, wherein the power data may be calculated based on the sensor data. For example, the sensor data may include voltage data and current data, or the sensor data may include speed data and torque data.

[0220] The end time may be a data collection time point at which data collection ends, and the start time may be a data collection time point at which data collection starts.

[0221] Step 410: The electronic device displays first energy flow data.

[0222] The electronic device displays the first energy flow data, and the user can learn the electrical energy consumption of the target electrical appliance through the displayed first energy flow data.

[0223] Optionally, the displayed first energy flow data also includes power data. In other words, the electronic device can also display power data so that the user can learn about the power data.

[0224] As an optional solution, the electronic device can also display the energy flow direction according to the first energy flow data. For example, if the first energy flow data is a negative value, it means that the energy flow flows into the target electrical appliance, and at this time, the energy flow direction can be indicated as inflow by pointing an arrow to the target electrical appliance; or, if the first energy flow data is a positive value, it means that the energy flow flows out of the target electrical appliance, and at this time, the energy flow direction can be indicated as outflow by pointing an arrow from the target electrical appliance to the outside.

[0225] As an optional solution, before step 402, the following steps may also be included:

[0226] Step S10: The electronic device obtains a plurality of sensor data.

[0227] The sensor data may include voltage data and current data corresponding to the voltage data, or speed data and torque data corresponding to the speed data. The sensor data may be collected by a sensor, and a corresponding sensor may be provided inside the electrical appliance or outside the electrical appliance. If the sensor is provided inside the corresponding electrical appliance, the sensor may send the collected sensor data to the electronic device through the bus; if the sensor is provided outside the corresponding electrical appliance, the sensor may send the adopted sensor data to the electronic device.

[0228] Step S12: The electronic device calculates a plurality of power data according to the plurality of sensor data.

[0229] As an optional solution, if the sensor data includes voltage data and current data, the electronic device multiplies the voltage data by the current data to calculate the power data. Specifically, the electronic device calculates the voltage data and the current data according to the formula: P=U×I to generate the power data, where the power data is P, the voltage data is U, and the current data is I.

[0230] As another optional solution, if the sensor data includes speed data and torque data, the electronic device multiplies the speed data by the torque data and then divides it by the first setting coefficient to calculate the power data. Specifically, the electronic device calculates the speed data, the torque data and the first setting coefficient according to the formula: P = N × T ÷ A to generate the power data, where the power data is P, the speed data is N, the torque data is T, and A is the first setting coefficient. For example, the first setting coefficient A is 9550.

[0231] Step S14: The electronic device stores a plurality of power data and the acquisition time corresponding to each power data.

[0232] For example, the acquisition time may be a data collection time point of the sensor data.

[0233] As another option, Fig.13 A flowchart of another method for generating current energy flow data provided by an embodiment of the present invention, such as Fig.13 As shown, the method also includes:

[0234] Step 502: The electronic device obtains a start operation input by the user, where the start operation includes a start time and an identifier of at least one target electrical appliance.

[0235] Step 504: In response to a start operation input by the user, the electronic device continuously obtains current power data of at least one target electrical appliance at a first set time interval from the start time.

[0236] If the user wants to query the energy flow data, the user can input the query start time and the identification of at least one selected target electrical appliance into the electronic device. For example, the identification of the target electrical appliance can be the name of the target electrical appliance; and the first set time interval can be 0.1s.

[0237] Optionally, the electronic device may acquire sensor data at a first set time interval from the start time, and calculate power data based on the acquired sensor data. The calculation scheme of the sensor data and power data can refer to the above steps S10 to S12, which will not be repeated here.

[0238] Step 506: The electronic device continuously integrates the current power data of at least one target electrical appliance to obtain the electrical energy consumption of each target electrical appliance, generates and displays current energy flow data, and the current energy flow data includes the energy consumption duration and the electrical energy consumption of each target electrical appliance, wherein the energy consumption duration includes the duration between the current moment and the start moment.

[0239] The electronic device can calculate the duration according to the current time and the start time, and use the calculated duration as the energy consumption duration; generate current energy flow data according to the energy consumption duration and the energy consumption of each target electrical appliance, and display the current energy flow data.

[0240] The electronic device displays the current energy flow data, and the user can obtain the energy consumption of the target electrical appliance in real time through the displayed current energy flow data. Optionally, the displayed current energy flow data also includes power data. In other words, the electronic device can also display the power data so that the user can obtain the power data.

[0241] Step 508: The electronic device stops acquiring current power data in response to a stop operation input by the user.

[0242] When the electronic device receives a stop operation input by the user, it stops acquiring the current power data, thereby achieving the purpose of stopping generating and displaying the current energy flow data.

[0243] In the embodiment of the present invention, Fig.14 A flow chart of a method for generating target energy flow data provided by an embodiment of the present invention, such as Fig.14 As shown, before step 21, step 31 or step 204, the following is further included:

[0244] Step 602: The electronic device selects a plurality of historical operating conditions that match the acquired current operating conditions from the stored historical data set.

[0245] In the embodiment of the present invention, the historical data set includes a plurality of historical operating conditions and historical energy flow data corresponding to each historical operating condition.

[0246] For example, the current operating condition may include a driving road condition and a vehicle speed; for another example, the current operating condition may include a driving road condition and an ambient temperature. The driving road condition may include a highway, a national highway, or an expressway, etc. In practical applications, the current operating condition may also include other types of operating conditions, which are not limited in the embodiments of the present invention.

[0247] In the embodiment of the present invention, the current operating condition and the historical operating condition are set correspondingly. For example, if the historical operating condition includes the driving road condition and the vehicle speed, the current operating condition also includes the driving road condition and the vehicle speed; for another example, if the historical operating condition includes the driving road condition and the ambient temperature, the current operating condition also includes the driving road condition and the ambient temperature. In other words, the electronic device can obtain the corresponding current operating condition according to the specific content included in the historical operating condition.

[0248] For example, the current operating conditions match the historical operating conditions and may specifically include: the driving road conditions of the current operating conditions are the same as the driving road conditions of the historical operating conditions, and the absolute value of the difference between the vehicle speed of the current operating conditions and the vehicle speed of the historical operating conditions is less than the set speed threshold. Take a historical operating condition including vehicle speed and driving road condition as an example. In the historical operating condition, the driving road condition is a highway and the vehicle speed is 100 kilometers per hour; in the current operating condition acquired by the electronic device, the driving road condition is a highway, the vehicle speed is 95 kilometers per hour, and the set speed threshold is 10 kilometers per hour; since the driving road condition in the current operating condition is a highway and the driving road condition in the historical operating condition is a highway, the driving road condition of the current operating condition is the same as the driving road condition of the historical operating condition; since the absolute value of the difference between the vehicle speed of 95 kilometers per hour in the current operating condition and the vehicle speed of 100 kilometers per hour in the historical operating condition is 5 kilometers per hour, the absolute value of the difference of 5 kilometers per hour is less than the set speed threshold of 10 kilometers per hour, so the absolute value of the difference between the vehicle speed of the current operating condition and the vehicle speed of the historical operating condition is less than the set speed threshold.

[0249] For another example, the current operating condition matches the historical operating condition, and specifically includes: the driving condition of the current operating condition is the same as the driving condition of the historical operating condition, and the absolute value of the difference between the ambient temperature of the current operating condition and the ambient temperature of the historical operating condition is less than the set temperature threshold. Take a historical operating condition including ambient temperature and driving condition as an example. In the historical operating condition, the driving condition is a highway, and the ambient temperature is 28°C; in the current operating condition acquired by the electronic device, the driving condition is a highway, the ambient temperature is 30°C, and the set temperature threshold is 5°C; since the driving condition in the current operating condition is a highway and the driving condition in the historical operating condition is a highway, the driving condition in the current operating condition is the same as the driving condition in the historical operating condition; since the absolute value of the difference between the ambient temperature of 30°C in the current operating condition and the ambient temperature of 28°C in the historical operating condition is 2°C, and the absolute value of the difference of 2°C is less than the set speed threshold of 5°C, the absolute value of the difference between the ambient temperature of the current operating condition and the ambient temperature of the historical operating condition is less than the set temperature threshold.

[0250] In summary, the electronic device can filter out multiple historical operating conditions that match the acquired current operating conditions from the stored historical data set in the above matching manner.

[0251] Step 604: The electronic device queries the historical energy flow data corresponding to the plurality of historical operating conditions from the historical data set.

[0252] In the historical data set, the historical operating conditions and the historical energy flow data have a corresponding relationship, that is, each historical operating condition can correspond to the historical energy flow data. In the step, the electronic device can query the historical energy flow data corresponding to each historical operating condition from the historical data set through the corresponding relationship between the historical operating conditions and the historical energy flow data, so as to query multiple historical energy flow data.

[0253] Step 606: The electronic device uses the multiple historical energy flow data as multiple target energy flow data.

[0254] The electronic device uses each historical energy flow data as a target energy flow quantity to obtain multiple target energy flow data.

[0255] As an optional solution, the method further includes:

[0256] Step S1: A mobile terminal receives a second query operation input by a user, where the second query operation includes a start time, an end time, and an identifier of at least one target electrical appliance.

[0257] When a user logs in to a mobile terminal and wants to query energy flow data, he or she may input the query start time, end time, and the identifier of at least one selected target electrical appliance into the electronic device. For example, the identifier of the target electrical appliance may be the name of the target electrical appliance. For example, the mobile terminal may include a mobile phone, a tablet computer, or a laptop computer.

[0258] Step S2: The mobile terminal sends a query request to the cloud database, where the query request includes a start time, an end time, and an identifier of at least one target electrical appliance.

[0259] Step S3: The cloud database obtains the power data of each target electrical appliance within a query time period, where the query time period is a time period between an end time and a start time.

[0260] The start time of the query time period is the start time, and the end time of the query time period is the end time. The cloud database stores power data of multiple electrical appliances at different times. In this step, the cloud database can query the power data of each target electrical appliance in the query time period from the stored power data.

[0261] Step S4: The cloud database sends the power data of each target electrical appliance within the query time period to the mobile terminal.

[0262] Step S5: The mobile terminal integrates the power data of each target electrical appliance within the query time period to generate the electrical appliance energy consumption of each target electrical appliance.

[0263] Specifically, the mobile terminal integrates the power data of each target electrical appliance in the query time period, and generates the electrical appliance energy consumption of each target electrical appliance.

[0264] Step S6: The mobile terminal generates second energy flow data according to the energy consumption duration and the electrical energy consumption of each target electrical appliance, wherein the energy consumption duration includes the duration between the end time and the start time.

[0265] The mobile terminal can calculate the duration according to the end time and the start time, and use the calculated duration as the energy consumption duration. The second energy flow data includes the energy consumption duration and the electrical energy consumption of at least one target electrical appliance.

[0266] Optionally, the second energy flow data may also include sensor data and power data of each target electrical appliance at each data collection time point, wherein the power data may be calculated based on the sensor data. For example, the sensor data may include voltage data and current data, or the sensor data may include speed data and torque data.

[0267] Step S7: The mobile terminal displays the second energy flow data.

[0268] The mobile terminal displays the second energy flow data, and the user can learn the electrical energy consumption of the target electrical appliance through the displayed second energy flow data.

[0269] Optionally, the displayed second energy flow data also includes power data. In other words, the electronic device can also display power data so that the user can learn about the power data.

[0270] As an optional solution, before step S1, the method further includes:

[0271] The electronic device uploads the acquired power data and the corresponding acquisition time to the cloud database according to the second set time interval; the cloud database stores multiple power data and the acquisition time corresponding to each power data.

[0272] The method for acquiring power data may refer to the above-mentioned steps S10 to S12, which will not be described in detail here. The acquisition time may be the data collection time point of the sensor data.

[0273] For example, the second set time interval may be 0.1 s.

[0274] In the technical solution of the embodiment of the present invention, the first drivable mileage corresponding to each first mode scheme is generated according to the set multiple first mode schemes and the acquired raw data; the multiple first mode schemes and the multiple first drivable mileages are displayed; the first user operation input by the user is received; and the target mode scheme is determined according to the first user operation. In the embodiment of the present invention, the first drivable mileage corresponding to each first mode scheme is calculated by the set first mode scheme, the first mode scheme and the first drivable mileage corresponding to the first mode scheme are displayed to the user, and the target mode scheme is determined according to the first user operation input by the user, so that the user can determine the accurate mode scheme, thereby improving the user's driving experience.

[0275] In the technical solution of the embodiment of the present invention, the electronic device calculates the average energy consumption based on the mode scheme and previous target energy flow data, and then calculates the drivable mileage based on the average energy consumption and the original data, thereby accurately determining the drivable mileage of the electric vehicle and improving the accuracy of the drivable mileage, thereby improving the accuracy of the determined target mode scheme, realizing the endurance and energy analysis functions, so as to remind users to make good energy usage plans, thereby improving the user's driving experience.

[0276] In the embodiment of the present invention, the electronic device may provide a plurality of first mode schemes and a customized second mode scheme for selection by the user to implement one-key application, thereby facilitating the use of the user.

[0277] In an embodiment of the present invention, the electronic device can display the first energy flow data corresponding to each target electrical appliance within the query time period input by the user, thereby facilitating the user to view the energy flow data within the query time period; the electronic device can respond to the start operation and stop operation input by the user to display the current energy flow data in real time, thereby facilitating the user to view the energy flow data in real time.

[0278] In an embodiment of the present invention, the electronic device can upload the acquired power data to a cloud database, and the mobile terminal can obtain the power data of each target electrical appliance within the query time period from the cloud database, and generate second energy flow data based on the power data, so that the user can view the energy flow data through the cloud database, thereby facilitating the user to view the energy flow data within the query time period.

[0279] The technical solution of the embodiment of the present invention can help users understand the energy flow data of the car, the energy consumption of electrical appliances and the target mode plan, thereby avoiding the user's mileage anxiety.

[0280] Fig.15 A schematic diagram of a target mode scheme generation device provided by an embodiment of the present invention is shown in FIG. Fig.15As shown, the device includes: a first generating unit 11, a display unit 12, a receiving unit 13 and a first determining unit 14.

[0281] The first generating unit 11 is used to generate a first drivable mileage corresponding to each first mode scheme according to the set multiple first mode schemes and the acquired original data; the display unit 12 is used to display the multiple first mode schemes and the multiple first drivable mileages; the receiving unit 13 is used to receive a first user operation input by a user; and the first determining unit 14 is used to determine a target mode scheme according to the first user operation.

[0282] Furthermore, the device further comprises a switching unit 10. The switching unit 10 is used to switch the current mode scheme to a target mode scheme.

[0283] As an optional solution, if the first user operation includes a first selection operation, the first determination unit 14 is specifically configured to select the target mode solution from a plurality of the first mode solutions in response to the first selection operation.

[0284] As another option, Fig.16 A schematic diagram of the structure of a first determining unit provided in an embodiment of the present invention is shown in FIG. Fig.16 As shown, if the first user operation includes a first input operation, the first determining unit 14 includes: a first acquiring subunit 141 , a first generating subunit 142 , a displaying subunit 143 , a second acquiring subunit 144 and a selecting subunit 145 .

[0285] The first acquisition subunit 141 is used to obtain the second mode scheme input by the user in response to the first input operation; the first generation subunit 142 is used to generate the second drivable mileage corresponding to the second mode scheme according to the second mode scheme and the original data; the display subunit 143 is used to display the second mode scheme, the second drivable mileage, multiple first mode schemes and multiple first drivable mileages; the second acquisition subunit 144 is used to receive a second user selection operation input by the user; the selection subunit 145 is used to select the target mode scheme from the second mode scheme and multiple first mode schemes in response to the second selection operation.

[0286] In the embodiment of the present invention, Fig.17 A schematic diagram of the structure of a first generating subunit provided in an embodiment of the present invention is shown in FIG. Fig.17 As shown, the first generating subunit 142 includes: a first calculating module 101 and a second calculating module 102 .

[0287] The first calculation module 101 is used to calculate at least one second average energy consumption according to the second mode scheme and multiple target energy flow data acquired in advance; the second calculation module 102 is used to calculate the second drivable mileage according to the at least one second average energy consumption and the original data.

[0288] In the embodiment of the present invention, Fig.18 A schematic diagram of the structure of a first computing module provided in an embodiment of the present invention is shown in FIG. Fig.18 As shown, the target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances, and the second mode scheme includes the working status of multiple electrical appliances; the first calculation module 101 includes: a first acquisition submodule 1011, a first calculation submodule 1012 and a second calculation submodule 1013.

[0289] The first acquisition submodule 1011 is used to obtain the electrical energy consumption of at least one electrical appliance in the second mode scheme whose working state is on from each target energy flow data; the first calculation submodule 1012 is used to divide the electrical energy consumption of each electrical appliance in each target energy flow data by the energy consumption duration in the target energy flow data, and calculate multiple second unit energy consumptions corresponding to each electrical appliance; the second calculation submodule 1013 is used to calculate the second average energy consumption corresponding to each electrical appliance based on the multiple second unit energy consumptions corresponding to each electrical appliance.

[0290] In the embodiment of the present invention, Fig.19 A schematic diagram of the structure of a second computing module provided by an embodiment of the present invention is shown in FIG. Fig.19 As shown, the original data includes vehicle speed and battery power; the second calculation module 102 includes: a first generation submodule 1021, a third calculation submodule 1022 and a fourth calculation submodule 1023.

[0291] The first generation submodule 1021 is used to generate a second comprehensive energy consumption based on the at least one second average energy consumption; the third calculation submodule 1022 is used to divide the battery power by the second comprehensive energy consumption to calculate the second driving time; the fourth calculation submodule 1023 is used to multiply the second driving time by the vehicle speed to calculate the second drivable mileage.

[0292] In the embodiment of the present invention, Fig. 20 A schematic diagram of the structure of a first generation unit provided in an embodiment of the present invention is shown in FIG. Fig. 20 As shown, the first generating unit 11 includes: a first calculating subunit 111 and a second calculating subunit 112 .

[0293] The first calculation subunit 111 is used to calculate at least one first average energy consumption corresponding to each first mode scheme based on the multiple first mode schemes and the multiple target energy flow data acquired in advance; the second calculation subunit 112 is used to calculate the first drivable mileage corresponding to each first mode scheme based on the original data and the at least one first average energy consumption corresponding to each first mode scheme.

[0294] In the embodiment of the present invention, Fig.21 A schematic diagram of the structure of a first computing subunit provided in an embodiment of the present invention is shown in FIG. Fig.21 As shown, the target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances, and the first mode scheme includes the working status of multiple electrical appliances; the first calculation subunit 111 includes: a first acquisition module 201, a third calculation module 202 and a fourth calculation module 203.

[0295] The first acquisition module 201 is used to obtain the electrical energy consumption of at least one electrical appliance in the first mode scheme that is in the on state from each target energy flow data; the third calculation module 202 is used to divide the electrical energy consumption of each electrical appliance in each target energy flow data by the energy consumption duration in the target energy flow data, and calculate multiple first unit energy consumptions corresponding to each electrical appliance; the fourth calculation module 203 is used to calculate the first average energy consumption corresponding to each electrical appliance under the first mode scheme based on the multiple first unit energy consumptions corresponding to each electrical appliance.

[0296] In the embodiment of the present invention, Fig. 22 A schematic diagram of the structure of a second computing subunit provided in an embodiment of the present invention is shown in FIG. Fig. 22 As shown, the original data includes vehicle speed and battery power; the second calculation subunit 112 includes: a first generation module 301 , a fifth calculation module 302 and a sixth calculation module 303 .

[0297] The first generation module 301 is used to generate a first comprehensive energy consumption corresponding to the first mode scheme based on at least one first average energy consumption corresponding to the first mode scheme; the fifth calculation module 302 is used to divide the battery power by the first comprehensive energy consumption corresponding to the first mode scheme to calculate the first driving time corresponding to the first mode scheme; the sixth calculation module 303 is used to multiply the first driving time by the vehicle speed to calculate the first drivable mileage corresponding to the first mode scheme.

[0298] like Fig.15 As shown, the device further includes: a detection unit 21, a first calculation unit 22 and a second calculation unit 23.

[0299] The detection unit 21 is used to detect the current working status of multiple electrical appliances to obtain a current mode scheme; the first calculation unit 22 is used to calculate at least one third average energy consumption based on the current mode scheme and multiple target energy flow data obtained in advance; the second calculation unit 23 is used to calculate a third drivable mileage based on the at least one third average energy consumption and the original data; the display unit 12 is also used to display the current mode scheme and the third drivable mileage.

[0300] In the embodiment of the present invention, Fig.23 A schematic diagram of the structure of a first computing unit provided in an embodiment of the present invention is shown in FIG. Fig.23 As shown, the target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances, and the current mode scheme includes working status of multiple electrical appliances; the first calculation unit 22 includes: a third acquisition subunit 221, a third calculation subunit 222 and a fourth calculation subunit 223.

[0301] The third acquisition subunit 221 is used to obtain the electrical energy consumption of at least one electrical appliance whose working state is on in the current mode scheme from each target energy flow data; the third calculation subunit 222 is used to divide the electrical energy consumption of each electrical appliance in each target energy flow data by the energy consumption duration in the target energy flow data, and calculate multiple third unit energy consumptions corresponding to each electrical appliance; the fourth calculation subunit 223 is used to calculate the third average energy consumption corresponding to each electrical appliance based on the multiple third unit energy consumptions corresponding to each electrical appliance.

[0302] In the embodiment of the present invention, Fig.24 A schematic diagram of the structure of a second computing unit provided by an embodiment of the present invention is shown in FIG. Fig.24 As shown, the original data includes vehicle speed and battery power; the second calculation unit 23 includes: a second generation subunit 231, a fifth calculation subunit 232 and a sixth calculation subunit 233.

[0303] The second generating subunit 231 is used to generate a third comprehensive energy consumption according to the at least one third average energy consumption; the fifth calculating submodule 232 is used to divide the battery power by the third comprehensive energy consumption to calculate the third driving time; the sixth calculating subunit 233 is used to multiply the third driving time by the vehicle speed to calculate the third drivable mileage.

[0304] like Fig.15As shown, the device further includes: a judgment unit 31. The judgment unit 31 is used to judge whether the obtained battery power is greater than the set power threshold and whether the detection operation input by the user is received; if it is judged that the battery power is less than or equal to the set power threshold, and / or it is judged that the detection operation input by the user is received, the detection unit 21 is triggered to continue to perform the step of detecting the current working states of multiple electrical appliances to obtain the current mode scheme; if it is judged that the battery power is greater than the set power threshold and it is judged that the detection operation input by the user is not received, the step of judging whether the obtained battery power is greater than the set power threshold and judging whether the detection operation input by the user is received is continued.

[0305] As an alternative, Fig.15 As shown, the device further includes: a first acquiring unit 41, a second acquiring unit 42, a second generating unit 43 and a third generating unit 44.

[0306] The first acquisition unit 41 is used to acquire a first query operation input by a user, wherein the first query operation includes a start time, an end time and an identifier of at least one target electrical appliance; the second acquisition unit 42 is used to acquire power data of each of the target electrical appliances within a query time period, wherein the query time period is a time period between an end time and a start time; the second generation unit 43 is used to integrate the power data of each of the target electrical appliances within the query time period to generate the electrical energy consumption of each of the target electrical appliances; the third generation unit 44 is used to generate first energy flow data based on the energy consumption duration and the electrical energy consumption of each of the target electrical appliances, wherein the energy consumption duration includes the duration between an end time and a start time; the display unit 12 is also used to display the first energy flow data.

[0307] As another alternative, Fig.15 As shown, the device further includes: a third acquisition unit 45, a fourth acquisition unit 46 and a fourth generation unit 47. The third acquisition unit 45 is used to acquire a start operation input by a user, wherein the start operation includes a start time and an identifier of at least one target electrical appliance; the fourth acquisition unit 46 is used to continuously acquire the current power data of at least one target electrical appliance at a first set time interval from the start time in response to the start operation input by the user; the fourth generation unit 47 is used to continuously integrate the current power data of at least one target electrical appliance to obtain the electrical energy consumption of each target electrical appliance, and generate current energy flow data, wherein the current energy flow data includes the energy consumption duration and the current energy consumption corresponding to each target electrical appliance, wherein the energy consumption duration includes the duration between the current time and the start time; the display unit 12 is also used to display the current energy flow data; the fourth acquisition unit 46 is also used to stop acquiring the current power data in response to a stop operation input by the user.

[0308] like Fig.15 As shown, the device further includes: a screening unit 51, a query unit 52 and a second determination unit 53.

[0309] The screening unit 51 is used to screen out multiple historical operating conditions that match the acquired current operating conditions from the stored historical data set; the query unit 52 is used to query the historical energy flow data corresponding to the multiple historical operating conditions from the historical data set; the second determination unit 53 is used to use the multiple historical energy flow data as the multiple target energy flow data.

[0310] The embodiment of the present invention provides a car, which may include a target mode scheme generating device. The target mode scheme generating device is described in the above Figures 15 to 24 The description of the embodiment shown is not repeated here. In the embodiment of the present invention, the car can be an electric car.

[0311] In the technical solution of the embodiment of the present invention, the first drivable mileage corresponding to each first mode scheme is generated according to the set multiple first mode schemes and the acquired raw data; the multiple first mode schemes and the multiple first drivable mileages are displayed; the first user operation input by the user is received; and the target mode scheme is determined according to the first user operation. In the embodiment of the present invention, the first drivable mileage corresponding to each first mode scheme is calculated by the set first mode scheme, the first mode scheme and the first drivable mileage corresponding to the first mode scheme are displayed to the user, and the target mode scheme is determined according to the first user operation input by the user, so that the user can determine the accurate mode scheme, thereby improving the user's driving experience.

[0312] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is executed, the electronic device where the computer-readable storage medium is located is controlled to execute the method for generating the target mode solution.

[0313] An embodiment of the present invention provides an electronic device, comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the electronic device, enable the electronic device to execute the above-mentioned method for generating a target mode scheme.

[0314] Fig.25 Schematic diagram of an electronic device provided by an embodiment of the present invention. Fig.25As shown, the electronic device 60 of this embodiment includes: a processor 60, a memory 62, and a computer program 63 stored in the memory 61 and executable on the processor 61. When the computer program 63 is executed by the processor 61, the method for generating the target mode scheme in the embodiment is implemented. To avoid repetition, they are not described one by one here.

[0315] The electronic device 60 includes, but is not limited to, a processor 61 and a memory 62. Those skilled in the art will appreciate that Fig.25 It is only an example of the electronic device 60 and does not constitute a limitation of the electronic device 60. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 60 may also include input and output devices, network access devices, buses, etc.

[0316] The processor 61 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0317] The memory 62 may be an internal storage unit of the electronic device 60, such as a hard disk or memory of the electronic device 60. The memory 12 may also be an external storage device of the electronic device 60, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 60. Further, the memory 62 may also include both an internal storage unit of the electronic device 60 and an external storage device. The memory 62 is used to store computer programs and other programs and data required by network devices. The memory 62 may also be used to temporarily store data that has been output or is to be output. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided by the present invention, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interface, indirect coupling or communication connection of the device or unit, which may be electrical, mechanical or other forms.

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

[0319] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0320] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a computer-readable storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (Processor) to perform some steps of the method described in each embodiment of the present invention. The aforementioned computer-readable storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0321] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for generating a target pattern scheme, characterized in that: The method comprises: Generating a first drivable mileage corresponding to each of the first mode schemes according to the set multiple first mode schemes and the acquired raw data; displaying the plurality of first mode solutions and the plurality of first drivable ranges; Receiving a first user operation input by a user; A target mode scheme is determined according to the first user operation.

2. The method according to claim 1, characterized in that If the first user operation includes a first selection operation; Determining a target mode scheme according to the user operation includes: In response to the first selection operation, the target mode scheme is selected from a plurality of the first mode schemes.

3. The method according to claim 1, characterized in that If the first user operation includes a first input operation; The determining a target mode scheme according to the first user operation includes: In response to the first input operation, obtaining a second mode scheme input by the user; generating a second drivable mileage corresponding to the second mode scheme according to the second mode scheme and the original data; displaying the second mode scheme, the second drivable range, a plurality of the first mode schemes, and a plurality of the first drivable ranges; Receiving a second selection operation input by the user; In response to the second selection operation, the target mode scheme is selected from the second mode schemes and a plurality of the first mode schemes.

4. The method according to claim 3, characterized in that The step of generating a second drivable mileage corresponding to the second mode scheme according to the second mode scheme and the original data includes: Calculating at least one second average energy consumption according to the second mode scheme and a plurality of target energy flow data acquired in advance; The second drivable mileage is calculated according to the at least one second average energy consumption and the raw data.

5. The method according to claim 4, characterized in that The target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances, and the second mode scheme includes working states of multiple electrical appliances; The calculating at least one second average energy consumption according to the second mode scheme and the plurality of target energy flow data acquired in advance comprises: Acquire the electrical energy consumption of at least one of the electrical appliances whose working state is turned on in the second mode scheme from each target energy flow data; Divide the electrical energy consumption of each electrical appliance in each target energy flow data by the energy consumption duration in the target energy flow data, and calculate a plurality of the second unit energy consumptions corresponding to each electrical appliance; The second average energy consumption corresponding to each electrical appliance is calculated according to the multiple second unit energy consumptions corresponding to each electrical appliance.

6. The method according to claim 4, characterized in that The raw data includes vehicle speed and battery charge; The calculating a second drivable mileage according to the plurality of second average energy consumptions and the original data comprises: generating a second comprehensive energy consumption according to the at least one second average energy consumption; Dividing the battery power by the second comprehensive energy consumption to calculate the second driving time; The second drivable mileage is calculated by multiplying the second driving time by the vehicle speed.

7. The method according to claim 1, characterized in that The step of generating a plurality of first drivable mileages according to the set plurality of first mode schemes and the acquired raw data includes: Calculate at least one first average energy consumption corresponding to each first mode scheme according to the multiple first mode schemes and the multiple target energy flow data acquired in advance; A first drivable mileage corresponding to each first mode scheme is calculated based on the original data and at least one first average energy consumption corresponding to each first mode scheme.

8. The method according to claim 7, characterized in that The target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances, and the first mode scheme includes working states of multiple electrical appliances; The step of calculating at least one first average energy consumption corresponding to each first mode scheme according to the plurality of first mode schemes and the plurality of target energy flow data acquired in advance includes: Acquire the electrical energy consumption of at least one of the electrical appliances whose working state is turned on in the first mode scheme from each target energy flow data; Divide the electrical energy consumption of each electrical appliance in each target energy flow data by the energy consumption duration in the target energy flow data to calculate a plurality of first unit energy consumptions corresponding to each electrical appliance; The first average energy consumption corresponding to each electrical appliance under the first mode scheme is calculated according to the multiple first unit energy consumptions corresponding to each electrical appliance.

9. The method according to claim 7, characterized in that: The raw data includes vehicle speed and battery charge; The calculating, according to at least one first average energy consumption corresponding to each first mode scheme and the original data, a first drivable mileage corresponding to each first mode scheme comprises: generating a first comprehensive energy consumption corresponding to the first mode scheme according to at least one first average energy consumption corresponding to the first mode scheme; Dividing the battery power by the first comprehensive energy consumption corresponding to the first mode scheme to calculate a first driving time corresponding to the first mode scheme; The first driving time is multiplied by the vehicle speed to calculate a first drivable mileage corresponding to the first mode solution.

10. The method according to claim 1, characterized in that Before generating a plurality of first drivable mileages according to the set plurality of first mode schemes and the acquired raw data, the method further includes: Detect the current working status of multiple electrical appliances to obtain the current mode solution; Calculating at least one third average energy consumption according to the current mode scheme and a plurality of target energy flow data acquired in advance; calculating a third drivable mileage according to the at least one third average energy consumption and the raw data; The current mode solution and the third drivable range are displayed.

11. The method according to claim 10, characterized in that The target energy flow data includes energy consumption duration and electrical energy consumption of multiple electrical appliances, and the current mode scheme includes working states of multiple electrical appliances; The calculating at least one third average energy consumption according to the current mode scheme and the plurality of target energy flow data acquired in advance comprises: Acquire the electrical appliance energy consumption of at least one of the electrical appliances whose working state is turned on in the current mode scheme from each target energy flow data; Divide the electrical energy consumption of each electrical appliance in each target energy flow data by the energy consumption duration in the target energy flow data, and calculate a plurality of third unit energy consumptions corresponding to each electrical appliance; The third average energy consumption corresponding to each electrical appliance is calculated according to the multiple third unit energy consumptions corresponding to each electrical appliance.

12. The method according to claim 10, characterized in that The raw data includes vehicle speed and battery charge; The calculating a third drivable mileage according to the at least one third average energy consumption and the original data comprises: generating a third comprehensive energy consumption according to the at least one third average energy consumption; Dividing the battery power by the third comprehensive energy consumption to calculate a third driving time; The third drivable mileage is calculated by multiplying the third driving time by the vehicle speed.

13. The method according to claim 10, characterized in that Before detecting the current working states of the plurality of electrical appliances to obtain the current mode scheme, the method further includes: Determine whether the acquired battery power is greater than a set power threshold and whether a detection operation input by the user is received; If it is determined that the battery power is less than or equal to the set power threshold, and / or it is determined that a detection operation input by the user is received, then continue to perform the step of detecting the current working states of multiple electrical appliances to obtain the current mode scheme; If it is determined that the battery power is greater than the set power threshold and it is determined that no detection operation input by the user is received, continue to execute the steps of determining whether the acquired battery power is greater than the set power threshold and determining whether the detection operation input by the user is received.

14. The method according to claim 1, characterized in that The method further comprises: Acquire a first query operation input by a user, wherein the first query operation includes a start time, an end time, and an identifier of at least one target electrical appliance; Acquire power data of each target electrical appliance within a query time period, where the query time period is a time period between an end time and a start time; Integrate the power data of each target electrical appliance within the query time period to generate the electrical energy consumption of each target electrical appliance; Generate first energy flow data according to the energy consumption duration and the electrical energy consumption of each target electrical appliance, wherein the energy consumption duration includes the duration between the end time and the start time; The first energy flow data is displayed.

15. The method according to claim 1, characterized in that The method further comprises: Acquire a start operation input by a user, wherein the start operation includes a start time and an identifier of at least one target electrical appliance; In response to a start operation input by a user, continuously acquiring current power data of at least one target electrical appliance at a first set time interval from a start time; Continuously integrating the current power data of at least one target electrical appliance to obtain the electrical energy consumption of each of the target electrical appliances, generating and displaying current energy flow data, the current energy flow data including the energy consumption duration and the current energy consumption corresponding to each of the target electrical appliances, wherein the energy consumption duration includes the duration between the current time and the start time; In response to a stop operation input by the user, the acquisition of the current power data is stopped.

16. The method according to claim 4, 7 or 10, characterized in that The method further comprises: Filtering out multiple historical operating conditions that match the acquired current operating conditions from the stored historical data set; querying historical energy flow data corresponding to the plurality of historical operating conditions from the historical data set; The plurality of historical energy flow data are used as the plurality of target energy flow data.

17. A device for generating a target pattern scheme, characterized in that: The device comprises: A first generating unit, configured to generate a first drivable mileage corresponding to each of the first mode schemes according to the set multiple first mode schemes and the acquired original data; A display unit, configured to display the plurality of first mode schemes and the plurality of first drivable mileages; An acquisition unit, configured to receive a first user operation input by a user; The first determining unit is used to determine a target mode scheme according to the first user operation.

18. A car, comprising: The target pattern scheme generating device of claim 17.

19. An electronic device, characterized in that: include: one or more processors; Memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the electronic device, enable the electronic device to execute the method for generating a target pattern scheme as described in any one of claims 1 to 16.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the electronic device where the computer-readable storage medium is located is controlled to execute the method for generating a target mode solution according to any one of claims 1 to 16.