CN116772884A - Method, device, equipment and storage medium for planning energy source supplementing path - Google Patents
Method, device, equipment and storage medium for planning energy source supplementing path Download PDFInfo
- Publication number
- CN116772884A CN116772884A CN202310762483.8A CN202310762483A CN116772884A CN 116772884 A CN116772884 A CN 116772884A CN 202310762483 A CN202310762483 A CN 202310762483A CN 116772884 A CN116772884 A CN 116772884A
- Authority
- CN
- China
- Prior art keywords
- path
- target
- target vehicle
- determining
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000001502 supplementing effect Effects 0.000 title abstract description 11
- 238000012163 sequencing technique Methods 0.000 claims description 36
- 230000015654 memory Effects 0.000 claims description 24
- 239000000446 fuel Substances 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 6
- 230000004044 response Effects 0.000 claims description 3
- 239000013589 supplement Substances 0.000 abstract description 5
- 238000012545 processing Methods 0.000 description 18
- 238000004891 communication Methods 0.000 description 11
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 238000005265 energy consumption Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 239000003921 oil Substances 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 239000000295 fuel oil Substances 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000033228 biological regulation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/3407—Route searching; Route guidance specially adapted for specific applications
- G01C21/343—Calculating itineraries, i.e. routes leading from a starting point to a series of categorical destinations using a global route restraint, round trips, touristic trips
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/3453—Special cost functions, i.e. other than distance or default speed limit of road segments
- G01C21/3469—Fuel consumption; Energy use; Emission aspects
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Electric Propulsion And Braking For Vehicles (AREA)
Abstract
The embodiment of the disclosure discloses a method, a device, equipment and a storage medium for planning an energy supplementing path, belonging to the technical field of new energy automobiles. In this scheme, the vehicle-mounted terminal can determine the furthest energy supply station that the target vehicle can reach according to the remaining resource amount of the target vehicle, and then determine the target path according to the furthest energy supply station that the target vehicle can reach and display. Therefore, the user can drive the automobile according to the target path, and supplement energy at the target energy supply station corresponding to the path so as to reach the destination, so that the problem that the automobile cannot run due to energy exhaustion can be avoided, and the automobile is more convenient.
Description
Technical Field
The disclosure relates to the technical field of new energy automobiles, and in particular relates to a method, a device, equipment and a storage medium for planning an energy supplementing path.
Background
With the continuous development of the age, more and more people own automobiles. At present, automobiles are generally divided into two types according to energy sources, namely traditional fuel automobiles and new energy automobiles which are being developed vigorously. Regardless of the type of vehicle, there are a number of problems with energy consumption and replenishment.
In the long distance driving process, if the surplus of energy and the distance to the destination are not timely noticed, the problem that the vehicle cannot drive due to energy exhaustion occurs, and various inconveniences are caused for the vehicle owner.
Disclosure of Invention
The present disclosure provides a method, apparatus, device, and storage medium for planning an energy replenishment path, which can solve the problems of the related art. The technical proposal is as follows:
in a first aspect, there is provided a method of planning an energy replenishment path, the method comprising:
acquiring at least one path between a target vehicle and a destination, and acquiring the path length of each path in the at least one path;
obtaining the residual resource quantity of the target vehicle, wherein when the target vehicle is an electric vehicle, the residual resource quantity is the residual electric quantity, and when the target vehicle is a fuel vehicle, the residual resource quantity is the residual oil quantity;
determining a travelable distance of the target vehicle under the residual resource amount;
determining that the difference value of the travelable distance and the path length of each path is smaller than or equal to a first specified threshold value, wherein the first specified threshold value is a positive value;
Determining the positions of a plurality of energy replenishment stations in each path, the distances from the plurality of energy replenishment stations to the target vehicle and the distances from the plurality of energy replenishment stations to the destination, wherein when the target vehicle is an electric vehicle, the plurality of energy replenishment stations comprise a charging station and a power exchange station, and when the target vehicle is a fuel automobile, the plurality of energy replenishment stations are gas stations;
if the residual resource amount is greater than or equal to a second designated threshold value, determining the furthest energy supply station which can be reached by the target vehicle under the residual resource amount in each path as a target energy supply station corresponding to each path, and determining a target path based on the distance between the target vehicle and the target energy supply station corresponding to each path and the distance between the target energy supply station corresponding to each path and the destination;
if the residual resource amount is smaller than the second designated threshold value, determining a path of the energy supply station closest to the target vehicle as a target path;
and displaying the target path.
In one possible implementation manner, the determining the target path based on the distance from the target vehicle to the target energy supply station corresponding to each path and the distance from the target energy supply station corresponding to each path to the destination includes:
Sequencing the distances from the target vehicle to the target energy supply stations corresponding to each path to obtain a first sequencing value of each path;
sequencing the distances from the target energy supply station corresponding to each path to the destination to obtain a second sequencing value of each path;
determining charging time corresponding to each path based on the charging power of a charging pile of a target energy supply station corresponding to each path and the distance from the target energy supply station corresponding to each path to the destination, and sequencing the charging time corresponding to each path to obtain a third sequencing value of each path;
determining a first weight value of each path based on the first sorting value of each path, determining a second weight value of each path based on the second sorting value of each path, and determining a third weight value of each path based on the third sorting value of each path;
summing the first weight value of each path, the second weight value of each path and the third weight value of each path to obtain a total weight value of each path;
And determining the path with the maximum total weight value as the target path.
In one possible implementation, the method further includes:
and when the residual resource quantity of the target vehicle is detected to be lower than the second designated threshold value, displaying alarm prompt information and carrying out voice prompt.
In one possible implementation manner, the obtaining the remaining resource amount of the target vehicle includes:
and acquiring the residual resource quantity of the target vehicle after the target vehicle runs for a specified distance.
In a second aspect, there is provided an apparatus for planning an energy replenishment path, the apparatus comprising:
an acquisition module for:
acquiring at least one path between a target vehicle and a destination, and acquiring the path length of each path in the at least one path;
obtaining the residual resource quantity of the target vehicle, wherein when the target vehicle is an electric vehicle, the residual resource quantity is the residual electric quantity, and when the target vehicle is a fuel vehicle, the residual resource quantity is the residual oil quantity;
a determining module for:
determining a travelable distance of the target vehicle under the residual resource amount;
determining that the difference value of the travelable distance and the path length of each path is smaller than or equal to a first specified threshold value, wherein the first specified threshold value is a positive value;
Determining the positions of a plurality of energy replenishment stations in each path, the distances from the plurality of energy replenishment stations to the target vehicle and the distances from the plurality of energy replenishment stations to the destination, wherein when the target vehicle is an electric vehicle, the plurality of energy replenishment stations comprise a charging station and a power exchange station, and when the target vehicle is a fuel automobile, the plurality of energy replenishment stations are gas stations;
if the residual resource amount is greater than or equal to a second designated threshold value, determining the furthest energy supply station which can be reached by the target vehicle under the residual resource amount in each path as a target energy supply station corresponding to each path, and determining a target path based on the distance between the target vehicle and the target energy supply station corresponding to each path and the distance between the target energy supply station corresponding to each path and the destination;
if the residual resource amount is smaller than the second designated threshold value, determining a path of the energy supply station closest to the target vehicle as a target path;
and the display module is used for displaying the target path.
In one possible implementation manner, the determining module is configured to:
Sequencing the distances from the target vehicle to the target energy supply stations corresponding to each path to obtain a first sequencing value of each path;
sequencing the distances from the target energy supply station corresponding to each path to the destination to obtain a second sequencing value of each path;
determining charging time corresponding to each path based on the charging power of a charging pile of a target energy supply station corresponding to each path and the distance from the target energy supply station corresponding to each path to the destination, and sequencing the charging time corresponding to each path to obtain a third sequencing value of each path;
determining a first weight value of each path based on the first sorting value of each path, determining a second weight value of each path based on the second sorting value of each path, and determining a third weight value of each path based on the third sorting value of each path;
summing the first weight value of each path, the second weight value of each path and the third weight value of each path to obtain a total weight value of each path;
And determining the path with the maximum total weight value as the target path.
In one possible implementation, the display module is further configured to:
and when the residual resource quantity of the target vehicle is detected to be lower than the second designated threshold value, displaying alarm prompt information and carrying out voice prompt.
In one possible implementation manner, the acquiring module is configured to:
and acquiring the residual resource quantity of the target vehicle after the target vehicle runs for a specified distance.
In a third aspect, a computer device is provided, the computer device comprising a memory for storing computer instructions and a processor; the processor executes the computer instructions stored in the memory to cause the computer device to perform the method of the first aspect and possible implementations thereof.
In a fourth aspect, a computer readable storage medium is provided, the computer readable storage medium storing computer program code that, in response to being executed by a computer device, performs the method of the first aspect and possible implementations thereof.
In a fifth aspect, a computer program product is provided, the computer program product comprising computer program code for, in response to the computer program code being executed by a computer device, performing the method of the first aspect and possible implementations thereof.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
according to the technical scheme provided by the embodiment of the disclosure, the vehicle-mounted terminal can determine the furthest energy supply station which can be reached by the target vehicle according to the residual resource quantity of the target vehicle, and then determine and display the target path according to the furthest energy supply station which can be reached by the target vehicle. Therefore, the user can drive the automobile according to the target path, and supplement energy at the target energy supply station corresponding to the path so as to reach the destination, so that the problem that the automobile cannot run due to energy exhaustion can be avoided, and the automobile is more convenient.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of a method of planning an energy replenishment path provided by an embodiment of the present disclosure;
FIG. 3 is a schematic structural view of an apparatus for planning an energy replenishment path according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
The embodiment of the disclosure provides a method for planning an energy supplementing path, which is used for planning a travel route for a user. The method can be implemented by the vehicle-mounted terminal.
From a hardware composition point of view, the in-vehicle terminal may be structured as shown in fig. 1, including a processor 110, a memory 120, and a display part 130.
The processor 110 may be a CPU (central processing unit ) or SoC (system on chip), etc., and the processor 210 may be configured to execute various instructions, etc., involved in the method.
The memory 120 may include various volatile memories or nonvolatile memories, such as SSD (solid state disk), DRAM (dynamic random access memory ) memory, and the like. The memory 120 may be used to program pre-stored data, intermediate data, and result data during the energy replenishment path.
The display part 130 may be a separate screen, or a screen, a projector, or the like integrated with the terminal body, and the screen may be a touch screen, or may be a non-touch screen, and the display part is used to display a target path, or the like.
In addition to the processor, the memory, the terminal may also include communication means, audio acquisition means, audio output means, etc.
The communication means may be a wired network connector, a WiFi (wireless fidelity ) module, a bluetooth module, a cellular network communication module, etc. The communication means may be used for data transmission with other devices, which may be servers, other terminals, etc.
The audio capturing component may be a microphone for capturing the voice of the user. The audio output component may be a speaker, earphone, etc. for playing audio.
With the improvement of living conditions of people, almost every household now has an automobile. General automobiles are mainly divided into traditional fuel automobiles and new energy automobiles. At the trip, the user can input the name of the destination in the related application program of the in-vehicle terminal. And the vehicle-mounted terminal plans a travel path for the user according to the residual oil quantity or the residual electric quantity of the automobile.
The embodiment of the disclosure provides a method for planning an energy source supplementing path according to the application scenario, and the processing flow of the method may be as shown in fig. 2, including the following processing steps:
at least one path between the target vehicle to the destination and a path length of each of the at least one path are obtained 201.
In an implementation, when the user needs to go out, the name of the destination may be input at the in-vehicle terminal. After detecting the input operation of the user on the name of the destination, the vehicle-mounted terminal sends a path acquisition request to the server. After receiving the path acquisition request, the server determines at least one path between the target vehicle and the destination and the path length of the path, and sends the path length to the vehicle-mounted terminal. The in-vehicle terminal can acquire at least one path between the target vehicle and the destination and a path length of each path of the at least one path.
202, the remaining resource amount of the target vehicle is acquired.
When the target vehicle is an electric vehicle, the residual resource amount is the residual electric quantity, and when the target vehicle is a fuel oil vehicle, the residual resource amount is the residual oil amount.
In practice, the sensor of the target vehicle detects the remaining resource amount of the target vehicle according to a specified period and transmits the detected remaining resource amount to the vehicle-mounted terminal. When the in-vehicle terminal detects an input operation of the name of the destination by the user, the remaining resource amount of the latest record can be acquired.
In addition, when the vehicle-mounted terminal detects that the residual resource amount of the target vehicle is lower than the second designated threshold (for example, the second designated threshold may be 30%), the vehicle-mounted terminal indicates that the resource amount of the target vehicle is too low, and needs to prompt the user in time. At this time, the vehicle-mounted terminal may display the warning prompt information and perform voice prompt. Wherein, the warning prompt information can be that the vehicle resource amount is too low, please supplement-! ".
In order to make the determined target path more accurate, the in-vehicle terminal may acquire the remaining resource amount of the target vehicle every time the target vehicle travels a first specified distance (for example, the first specified distance may be 10 km).
203, determining the travelable distance of the target vehicle under the residual resource amount.
In the implementation, after the vehicle-mounted terminal obtains the residual resource amount of the target vehicle, the vehicle-mounted terminal may first obtain the energy consumption per unit distance of the target vehicle recorded in advance, and further, the ratio of the residual resource amount to the energy consumption per unit distance is used as the drivable distance.
In addition, in order to make the calculation result more accurate, the in-vehicle terminal may calculate the unit distance energy consumption of the target vehicle after the target vehicle travels a second specified distance (for example, the second specified distance may be 1 km). The specific treatment can be as follows: when the vehicle-mounted terminal detects that the speed of the target vehicle is changed from zero to non-zero, the processing running state of the target vehicle is determined, and the running distance of the target vehicle is recorded. When the vehicle-mounted terminal detects that the driving distance of the target vehicle reaches the second specified distance, the unit distance energy consumption of the target vehicle is determined based on the resource amount consumed by the target vehicle in the driving of the second specified distance and the second specified distance. Further, the vehicle-mounted terminal may determine a ratio of the remaining resource amount of the target vehicle after traveling the second specified distance to the energy consumption per unit distance as a travelable distance of the target vehicle under the remaining resource amount after traveling the second specified distance.
204, determining that the difference of the travelable distance minus the path length of each path is less than or equal to the first specified threshold.
Wherein the first specified threshold is a positive value, for example, the first specified threshold may be 10km.
In implementation, for each path, the vehicle-mounted terminal may calculate a difference between the allowable distance and the path length of the path, and determine whether the difference is less than or equal to a first specified threshold, if so, it indicates that the target vehicle cannot reach the destination through the path under the current amount of remaining resources, and if not, it indicates that the target vehicle can reach the destination through the path under the current amount of remaining resources. Therefore, the in-vehicle terminal may perform the processing of step 205 to step 208 when it is determined that the differences corresponding to all paths are less than or equal to the first specified threshold. If the difference value corresponding to the at least one path is larger than a first specified threshold, the vehicle-mounted terminal can determine any path in the at least one path as a target path, so that the target vehicle can reach the destination without energy supplement.
205, determining the locations of the plurality of energy replenishment stations, the distances of the plurality of energy replenishment stations to the target vehicle, and the distances of the plurality of energy replenishment stations to the destination in each path.
When the target vehicle is an electric vehicle, the plurality of energy supply stations comprise a charging station and a power exchange station, and when the target vehicle is a fuel vehicle, the plurality of energy supply stations are gas stations.
In practice, for each path, the vehicle terminal may determine the locations of a plurality of energy replenishment stations in the path and calculate the distance of the target vehicle to each energy replenishment station in the path and the distance of each energy replenishment station to the destination.
206, determining whether the remaining resource amount is greater than or equal to a second specified threshold, if so, performing the processing of step 207, and if not, performing the processing of step 208.
In implementation, the vehicle-mounted terminal can perform corresponding processing according to the specific situation of the residual resource quantity. If the in-vehicle terminal determines that the remaining resource amount is greater than or equal to the second specified threshold, the process of step 207 may be performed. If the vehicle-mounted terminal determines that the amount of the remaining resources is smaller than the second designated threshold, it indicates that the remaining resources of the target vehicle are fewer and in a dangerous state, and the energy needs to be immediately replenished, so that the processing of step 208 can be performed.
207, determining the most distant energy supply station that the target vehicle can reach under the residual resource amount in each path as the target energy supply station corresponding to each path, and determining the target path based on the distance from the target vehicle to the target energy supply station corresponding to each path and the distance from the target energy supply station corresponding to each path to the destination.
In implementation, for each path, the vehicle-mounted terminal may determine, as the target energy replenishment station corresponding to the path, the farthest energy replenishment station that the target vehicle can reach under the energy of the remaining resources in the path. Further, based on the distance from the target vehicle to the target energy replenishment station and the distance from the target energy replenishment station to the destination, a target path is determined, and the specific process may be as follows:
step one, sorting distances from the target vehicle to the target energy supply stations corresponding to each path to obtain a first sorting value of each path.
In implementation, the vehicle-mounted terminal may rank the distances from the target vehicle to the target energy supply stations corresponding to each path from large to small, so as to obtain a first ranking value of each path.
And step two, sequencing the distance from the target energy supply station corresponding to each path to the destination to obtain a second sequencing value of each path.
In implementation, the vehicle-mounted terminal may sort distances from the target energy supply station corresponding to each path to the destination from small to large, so as to obtain a second sorting value of each path.
And thirdly, determining the charging time corresponding to each path based on the charging power of the charging pile of the target energy supply station corresponding to each path and the distance from the target energy supply station corresponding to each path to the destination, and sequencing the charging time corresponding to each path to obtain a third sequencing value of each path.
In implementation, for each path, the vehicle-mounted terminal may first multiply the distance from the target energy supply station corresponding to the path to the destination by the energy consumption per unit distance of the target vehicle, to obtain the charge power required by the target vehicle to reach the destination. Then, the charge amount required by the target vehicle to reach the destination can be divided by the charge power of the charge pile of the target energy supply station corresponding to the path, so as to obtain the corresponding charge time of the path. And finally, sequencing the charging time corresponding to each path according to the small arrival, and obtaining a third sequencing value of each path.
And step four, determining a first weight value of each path based on the first sorting value of each path, determining a second weight value of each path based on the second sorting value of each path, and determining a third weight value of each path based on the third sorting value of each path.
In implementation, the vehicle-mounted terminal may store a correspondence table of ranking values and weight values, for example, table 1, where the ranking values may be inversely proportional to the weight values, i.e., the smaller the ranking values, the larger the weight values, and the smaller the weight values. The corresponding relation table of the sorting value and the weight value specifically may include a corresponding relation table of the first sorting value and the first weight value, a corresponding relation table of the second sorting value and the second weight value, and a corresponding relation table of the third sorting value and the third weight value. Furthermore, the vehicle-mounted terminal may determine the first weight value of each path according to the first sorting value of each path in a corresponding relation table of the first sorting value and the first weight value, determine the second weight value of each path according to the second sorting value of each path in a corresponding relation table of the second sorting value and the second weight value, and determine the third weight value of each path according to the third sorting value of each path in a corresponding relation table of the third sorting value and the third weight value.
TABLE 1
Ranking value | Weight value |
1 | 1 |
2 | 0.9 |
3 | 0.8 |
…… | …… |
And fifthly, summing the first weight value of each path, the second weight value of each path and the third weight value of each path to obtain the total weight value of each path.
And step six, determining the path with the maximum total weight value as a target path.
In other possible implementations, the vehicle-mounted terminal may determine only the first weight value and the second weight value of each path, and then sum the first weight value and the second weight value to obtain the total weight value of each path. Further, the path with the largest total weight value is determined as the target path.
208, determining the path of the energy supply station closest to the target vehicle as the target path.
209, displaying the target path.
In implementation, the vehicle-mounted terminal may display only the determined target path, or may display all the paths that can reach the destination, and may display the target path therein in an emphasized manner. In addition, the vehicle-mounted terminal can enlarge and display the icon of the target energy supply station corresponding to the corresponding path.
According to the method provided by the embodiment of the invention, the vehicle-mounted terminal can determine the furthest energy supply station which can be reached by the target vehicle according to the residual resource quantity of the target vehicle, and then determine and display the target path according to the furthest energy supply station which can be reached by the target vehicle. Therefore, the user can drive the automobile according to the target path, and supplement energy at the target energy supply station corresponding to the path so as to reach the destination, so that the problem that the automobile cannot run due to energy exhaustion can be avoided, and the automobile is more convenient.
Based on the same technical concept, the embodiment of the disclosure further provides an apparatus for planning an energy source supplementing path, as shown in fig. 3, including:
an acquisition module 310, configured to:
acquiring at least one path between a target vehicle and a destination and the path length of each path in the at least one path;
obtaining the residual resource quantity of a target vehicle, wherein when the target vehicle is an electric vehicle, the residual resource quantity is the residual electric quantity, and when the target vehicle is a fuel oil vehicle, the residual resource quantity is the residual oil quantity;
a determining module 320, configured to:
determining the travelable distance of the target vehicle under the residual resource quantity;
determining that the difference of the travelable distance and the path length of each path is smaller than or equal to a first specified threshold value, wherein the first specified threshold value is a positive value;
determining the positions of a plurality of energy supply stations, the distances from the plurality of energy supply stations to a target vehicle and the distances from the plurality of energy supply stations to a destination in each path, wherein when the target vehicle is an electric vehicle, the plurality of energy supply stations comprise a charging station and a power exchange station, and when the target vehicle is a fuel automobile, the plurality of energy supply stations are gas stations;
if the residual resource amount is greater than or equal to the second specified threshold, determining the furthest energy supply station which can be reached by the target vehicle under the residual resource amount in each path as the target energy supply station corresponding to each path, and determining the target path based on the distance from the target vehicle to the target energy supply station corresponding to each path and the distance from the target energy supply station corresponding to each path to the destination;
If the residual resource amount is smaller than the second specified threshold value, determining a path of the energy supply station closest to the target vehicle as a target path;
and a display module 330 for displaying the target path.
In one possible implementation, the determining module 320 is configured to:
sequencing the distances from the target vehicle to the target energy supply stations corresponding to each path to obtain a first sequencing value of each path;
sequencing the distance from the target energy supply station corresponding to each path to the destination to obtain a second sequencing value of each path;
determining the charging time corresponding to each path based on the charging power of the charging pile of the target energy supply station corresponding to each path and the distance from the target energy supply station corresponding to each path to the destination, and sequencing the charging time corresponding to each path to obtain a third sequencing value of each path;
determining a first weight value for each path based on the first ranking value for each path, determining a second weight value for each path based on the second ranking value for each path, and determining a third weight value for each path based on the third ranking value for each path;
summing the first weight value of each path, the second weight value of each path and the third weight value of each path to obtain the total weight value of each path;
And determining the path with the maximum total weight value as a target path.
In one possible implementation, the display module 330 is further configured to:
and when the residual resource quantity of the target vehicle is detected to be lower than the second designated threshold value, displaying alarm prompt information and carrying out voice prompt.
In one possible implementation, the obtaining module 310 is configured to:
the remaining resource amount of the target vehicle is acquired every time the target vehicle travels a specified distance.
Through the device provided by the embodiment of the disclosure, the vehicle-mounted terminal can determine the furthest energy supply station which can be reached by the target vehicle according to the residual resource quantity of the target vehicle, and then determine and display the target path according to the furthest energy supply station which can be reached by the target vehicle. Therefore, the user can drive the automobile according to the target path, and supplement energy at the target energy supply station corresponding to the path so as to reach the destination, so that the problem that the automobile cannot run due to energy exhaustion can be avoided, and the automobile is more convenient.
It should be noted that: the device for planning the energy source supplementing path provided in the above embodiment only uses the division of the above functional modules to illustrate when planning the energy source supplementing path, in practical application, the above functional allocation may be completed by different functional modules according to needs, i.e. the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device for planning the energy source supplementing path and the method embodiment for planning the energy source supplementing path provided in the foregoing embodiments belong to the same concept, and detailed implementation processes of the device are referred to as method embodiments, which are not described herein.
Fig. 4 shows a block diagram of an electronic 400 provided by an embodiment of the present disclosure. The electronic device may be each terminal in the above-described embodiments. The electronic device 400 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (moving picture experts group audio layer III, motion picture expert compression standard audio plane 3), an MP4 (moving picture experts group audio layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. Electronic device 400 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, and the like.
In general, the electronic device 400 includes: a processor 401 and a memory 402.
Processor 401 may include one or more processing cores such as a 4-core processor, an 8-core processor, etc. The processor 401 may be implemented in at least one hardware form of DSP (digital signal processing ), FPGA (field-programmable gate array, field programmable gate array), PLA (programmable logic array ). Processor 401 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU, and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 401 may be integrated with a GPU (graphics processing unit, image processor) for taking care of rendering and drawing of content that the display screen needs to display. In some embodiments, the processor 401 may also include an AI (artificial intelligence ) processor for processing computing operations related to machine learning.
Memory 402 may include one or more computer-readable storage media, which may be non-transitory. Memory 402 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 402 is used to store at least one instruction for execution by processor 401 to implement the methods provided by embodiments of the present disclosure.
In some embodiments, the electronic device 400 may further optionally include: a peripheral interface 403 and at least one peripheral. The processor 401, memory 402, and peripheral interface 403 may be connected by a bus or signal line. The individual peripheral devices may be connected to the peripheral device interface 403 via buses, signal lines or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 404, a display screen 405, a camera assembly 406, an audio circuit 407, a positioning assembly 408, and a power supply 409.
Peripheral interface 403 may be used to connect at least one input/output (I/O) related peripheral to processor 401 and memory 402. In some embodiments, processor 401, memory 402, and peripheral interface 403 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 401, memory 402, and peripheral interface 403 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The radio frequency circuit 404 is used to receive and transmit RF (radio frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 404 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 404 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 404 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (wireless fidelity ) networks. In some embodiments, the radio frequency circuitry 404 may also include NFC (near field communication, short range wireless communication) related circuitry, which is not limited by the present disclosure.
The display screen 405 is used to display a UI (user interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 405 is a touch display screen, the display screen 405 also has the ability to collect touch signals at or above the surface of the display screen 405. The touch signal may be input as a control signal to the processor 401 for processing. At this time, the display screen 405 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 405 may be one and disposed on the front panel of the electronic device 400; in other embodiments, the display screen 405 may be at least two, and disposed on different surfaces of the electronic device 400 or in a folded design; in other embodiments, the display 405 may be a flexible display disposed on a curved surface or a folded surface of the electronic device 400. Even more, the display screen 405 may be arranged in an irregular pattern that is not rectangular, i.e. a shaped screen. The display 405 may be made of LCD (liquid crystal display ), OLED (organic light-emitting diode) or other materials.
The camera assembly 406 is used to capture images or video. Optionally, camera assembly 406 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera, and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and VR (virtual reality) shooting function or other fusion shooting functions. In some embodiments, camera assembly 406 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuit 407 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 401 for processing, or inputting the electric signals to the radio frequency circuit 404 for realizing voice communication. For purposes of stereo acquisition or noise reduction, the microphone may be multiple and separately disposed at different locations of the electronic device 400. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 401 or the radio frequency circuit 404 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, audio circuit 407 may also include a headphone jack.
The location component 408 is used to locate the current geographic location of the electronic device 400 to enable navigation or LBS (location based service, location-based services). The positioning component 408 may be a GPS (global positioning system ), beidou system based positioning component.
The power supply 409 is used to power the various components in the electronic device 400. The power supply 409 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When power supply 409 comprises a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the electronic device 400 further includes one or more sensors 410. The one or more sensors 410 include, but are not limited to: acceleration sensor 411, gyroscope sensor 412, pressure sensor 413, fingerprint sensor 414, optical sensor 415, and proximity sensor 416.
The acceleration sensor 411 may detect the magnitudes of accelerations on three coordinate axes of the coordinate system established with the electronic device 400. For example, the acceleration sensor 411 may be used to detect components of gravitational acceleration on three coordinate axes. The processor 401 may control the display screen 405 to display the user interface in a lateral view or a longitudinal view according to the gravitational acceleration signal acquired by the acceleration sensor 411. The acceleration sensor 411 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 412 may detect a body direction and a rotation angle of the electronic device 400, and the gyro sensor 412 may collect a 3D motion of the user on the electronic device 400 in cooperation with the acceleration sensor 411. The processor 401 may implement the following functions according to the data collected by the gyro sensor 412: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 413 may be disposed at a side frame of the electronic device 400 and/or at an underlying layer of the display screen 405. When the pressure sensor 413 is disposed on a side frame of the electronic device 400, a grip signal of the user on the electronic device 400 may be detected, and the processor 401 performs a left-right hand recognition or a shortcut operation according to the grip signal collected by the pressure sensor 413. When the pressure sensor 413 is disposed at the lower layer of the display screen 405, the processor 401 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 405. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 414 is used to collect a fingerprint of the user, and the processor 401 identifies the identity of the user based on the fingerprint collected by the fingerprint sensor 414, or the fingerprint sensor 414 identifies the identity of the user based on the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 401 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 414 may be disposed on the front, back, or side of the electronic device 400. When a physical key or vendor Logo is provided on the electronic device 400, the fingerprint sensor 414 may be integrated with the physical key or vendor Logo.
The optical sensor 415 is used to collect the ambient light intensity. In one embodiment, processor 401 may control the display brightness of display screen 405 based on the ambient light intensity collected by optical sensor 415. Specifically, when the intensity of the ambient light is high, the display brightness of the display screen 405 is turned up; when the ambient light intensity is low, the display brightness of the display screen 405 is turned down. In another embodiment, the processor 401 may also dynamically adjust the shooting parameters of the camera assembly 406 according to the ambient light intensity collected by the optical sensor 415.
A proximity sensor 416, also referred to as a distance sensor, is typically provided on the front panel of the electronic device 400. The proximity sensor 416 is used to collect distance between the user and the front of the electronic device 400. In one embodiment, when the proximity sensor 416 detects a gradual decrease in the distance between the user and the front of the electronic device 400, the processor 401 controls the display 405 to switch from the bright screen state to the off screen state; when the proximity sensor 416 detects that the distance between the user and the front surface of the electronic device 400 gradually increases, the processor 401 controls the display screen 405 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the structure shown in fig. 4 is not limiting of the electronic device 400 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
In an embodiment of the present disclosure, there is also provided a computer-readable storage medium, such as a memory including instructions executable by a processor in a terminal to perform the method of performing the interactive operation in the above embodiment. The computer readable storage medium may be non-transitory. For example, the computer readable storage medium may be a ROM (read-only memory), a RAM (random access memory ), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It should be noted that, the information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data for analysis, stored data, presented data, etc.), and signals (including but not limited to signals transmitted between a user terminal and other devices, etc.) related to the present disclosure are all authorized by the user or are fully authorized by the parties, and the collection, use, and processing of the related data is required to comply with the relevant laws and regulations and standards of the relevant countries and regions.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the embodiments is provided merely for the purpose of illustrating some of the general principles of the disclosure and is not intended to limit the disclosure to the details of construction and the arrangement of various modifications, equivalents, alternatives, and improvements within the spirit and principles of the disclosure.
Claims (10)
1. A method of planning an energy replenishment path, the method comprising:
acquiring at least one path between a target vehicle and a destination, and acquiring the path length of each path in the at least one path;
obtaining the residual resource quantity of the target vehicle, wherein when the target vehicle is an electric vehicle, the residual resource quantity is the residual electric quantity, and when the target vehicle is a fuel vehicle, the residual resource quantity is the residual oil quantity;
determining a travelable distance of the target vehicle under the residual resource amount;
determining that the difference value of the travelable distance and the path length of each path is smaller than or equal to a first specified threshold value, wherein the first specified threshold value is a positive value;
determining the positions of a plurality of energy replenishment stations in each path, the distances from the plurality of energy replenishment stations to the target vehicle and the distances from the plurality of energy replenishment stations to the destination, wherein when the target vehicle is an electric vehicle, the plurality of energy replenishment stations comprise a charging station and a power exchange station, and when the target vehicle is a fuel automobile, the plurality of energy replenishment stations are gas stations;
If the residual resource amount is greater than or equal to a second designated threshold value, determining the furthest energy supply station which can be reached by the target vehicle under the residual resource amount in each path as a target energy supply station corresponding to each path, and determining a target path based on the distance between the target vehicle and the target energy supply station corresponding to each path and the distance between the target energy supply station corresponding to each path and the destination;
if the residual resource amount is smaller than the second designated threshold value, determining a path of the energy supply station closest to the target vehicle as a target path;
and displaying the target path.
2. The method of claim 1, wherein the determining a target path based on the distance of the target vehicle to the target energy tender station for each path and the distance of the target energy tender station for each path to the destination comprises:
sequencing the distances from the target vehicle to the target energy supply stations corresponding to each path to obtain a first sequencing value of each path;
sequencing the distances from the target energy supply station corresponding to each path to the destination to obtain a second sequencing value of each path;
Determining charging time corresponding to each path based on the charging power of a charging pile of a target energy supply station corresponding to each path and the distance from the target energy supply station corresponding to each path to the destination, and sequencing the charging time corresponding to each path to obtain a third sequencing value of each path;
determining a first weight value of each path based on the first sorting value of each path, determining a second weight value of each path based on the second sorting value of each path, and determining a third weight value of each path based on the third sorting value of each path;
summing the first weight value of each path, the second weight value of each path and the third weight value of each path to obtain a total weight value of each path;
and determining the path with the maximum total weight value as the target path.
3. The method according to claim 1, wherein the method further comprises:
and when the residual resource quantity of the target vehicle is detected to be lower than the second designated threshold value, displaying alarm prompt information and carrying out voice prompt.
4. The method of claim 1, wherein the obtaining the remaining amount of resources of the target vehicle comprises:
and acquiring the residual resource quantity of the target vehicle after the target vehicle runs for a specified distance.
5. An apparatus for planning an energy replenishment path, the apparatus comprising:
an acquisition module for:
acquiring at least one path between a target vehicle and a destination, and acquiring the path length of each path in the at least one path;
obtaining the residual resource quantity of the target vehicle, wherein when the target vehicle is an electric vehicle, the residual resource quantity is the residual electric quantity, and when the target vehicle is a fuel vehicle, the residual resource quantity is the residual oil quantity;
a determining module for:
determining a travelable distance of the target vehicle under the residual resource amount;
determining that the difference value of the travelable distance and the path length of each path is smaller than or equal to a first specified threshold value, wherein the first specified threshold value is a positive value;
determining the positions of a plurality of energy replenishment stations in each path, the distances from the plurality of energy replenishment stations to the target vehicle and the distances from the plurality of energy replenishment stations to the destination, wherein when the target vehicle is an electric vehicle, the plurality of energy replenishment stations comprise a charging station and a power exchange station, and when the target vehicle is a fuel automobile, the plurality of energy replenishment stations are gas stations;
If the residual resource amount is greater than or equal to a second designated threshold value, determining the furthest energy supply station which can be reached by the target vehicle under the residual resource amount in each path as a target energy supply station corresponding to each path, and determining a target path based on the distance between the target vehicle and the target energy supply station corresponding to each path and the distance between the target energy supply station corresponding to each path and the destination;
if the residual resource amount is smaller than the second designated threshold value, determining a path of the energy supply station closest to the target vehicle as a target path;
and the display module is used for displaying the target path.
6. The apparatus of claim 5, wherein the means for determining is configured to:
sequencing the distances from the target vehicle to the target energy supply stations corresponding to each path to obtain a first sequencing value of each path;
sequencing the distances from the target energy supply station corresponding to each path to the destination to obtain a second sequencing value of each path;
determining charging time corresponding to each path based on the charging power of a charging pile of a target energy supply station corresponding to each path and the distance from the target energy supply station corresponding to each path to the destination, and sequencing the charging time corresponding to each path to obtain a third sequencing value of each path;
Determining a first weight value of each path based on the first sorting value of each path, determining a second weight value of each path based on the second sorting value of each path, and determining a third weight value of each path based on the third sorting value of each path;
summing the first weight value of each path, the second weight value of each path and the third weight value of each path to obtain a total weight value of each path;
and determining the path with the maximum total weight value as the target path.
7. The apparatus of claim 5, wherein the display module is further configured to:
and when the residual resource quantity of the target vehicle is detected to be lower than the second designated threshold value, displaying alarm prompt information and carrying out voice prompt.
8. The apparatus of claim 5, wherein the means for obtaining is configured to:
and acquiring the residual resource quantity of the target vehicle after the target vehicle runs for a specified distance.
9. A computer device comprising a memory and a processor, the memory for storing computer instructions;
The processor executes the computer instructions stored in the memory to cause the computer device to perform the method of any one of the preceding claims 1-4.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores computer program code which, in response to being executed by a computer device, performs the method of any of the preceding claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310762483.8A CN116772884A (en) | 2023-06-25 | 2023-06-25 | Method, device, equipment and storage medium for planning energy source supplementing path |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310762483.8A CN116772884A (en) | 2023-06-25 | 2023-06-25 | Method, device, equipment and storage medium for planning energy source supplementing path |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116772884A true CN116772884A (en) | 2023-09-19 |
Family
ID=88011260
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310762483.8A Pending CN116772884A (en) | 2023-06-25 | 2023-06-25 | Method, device, equipment and storage medium for planning energy source supplementing path |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116772884A (en) |
-
2023
- 2023-06-25 CN CN202310762483.8A patent/CN116772884A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110944374B (en) | Communication mode selection method and device, electronic equipment and medium | |
CN108909717B (en) | Method and device for determining lightweight level of electric vehicle, and storage medium | |
CN111862972B (en) | Voice interaction service method, device, equipment and storage medium | |
CN109977570B (en) | Vehicle body noise determination method, device and storage medium | |
CN115357311A (en) | Travel information sharing method and device, computer equipment and storage medium | |
CN113099378B (en) | Positioning method, device, equipment and storage medium | |
CN111984755B (en) | Method and device for determining target parking spot, electronic equipment and storage medium | |
CN117207836A (en) | Method, device, equipment and storage medium for acquiring endurance mileage | |
CN114997728B (en) | Vehicle scheduling method, device, equipment and storage medium | |
CN112365088B (en) | Method, device and equipment for determining travel key points and readable storage medium | |
CN113949678B (en) | Flow control method, flow control device, electronic equipment and computer readable storage medium | |
CN113408809B (en) | Design scheme evaluation method and device for automobile and computer storage medium | |
CN110134393B (en) | Method and device for processing operation signal | |
CN113935678A (en) | Method, device, equipment and storage medium for determining multiple distribution terminals held by distributor | |
CN116772884A (en) | Method, device, equipment and storage medium for planning energy source supplementing path | |
CN111707263A (en) | Path planning method and device, electronic equipment and storage medium | |
CN111445286A (en) | Resource scheduling method and device, electronic equipment and readable storage medium | |
CN114566064B (en) | Method, device, equipment and storage medium for determining position of parking space | |
CN112507051B (en) | Administrative division identification method, apparatus, device and computer readable storage medium | |
CN113590877B (en) | Method and device for acquiring annotation data | |
CN116811589A (en) | Method, apparatus and storage medium for determining energy replenishment manner | |
CN113734199B (en) | Vehicle control method, device, terminal and storage medium | |
CN111836108B (en) | Media resource playing method, device, terminal and storage medium | |
CN110781343B (en) | Method, device, equipment and storage medium for displaying comment information of music | |
CN117575182A (en) | Method, apparatus, device and computer readable storage medium for managing device components |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |