Vehicle intelligent dispatching method, terminal device and storage medium
By receiving vehicle charging requests, obtaining monitoring videos, calculating energy consumption and selecting mobile charging cars, the scheduling problem of mobile charging cars when multiple vehicles are requested at the same time is solved, and reasonable charging arrangements and charging efficiency of multiple vehicles are achieved. .
Patent Information
- Application Number
- CN202410990666.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-07-23
AI Technical Summary
Existing mobile charging vehicles are difficult to reasonably dispatch when multiple vehicles issue charging requests at the same time, resulting in the inability to meet the charging needs of multiple vehicles at the same time, and the charging vehicles need to be dispatched separately, which is not economical.
By receiving the vehicle's charging request, obtaining surveillance video to determine the idle parking area, calculating the total energy consumption, selecting the nearest mobile charging car, and determining whether to charge in batches based on the number of parking spaces, the reasonable scheduling and charging arrangement of multiple vehicles can be achieved.
It can handle charging requests for multiple vehicles at the same time, arrange mobile charging cars reasonably, meet the charging needs of multiple vehicles, and improve charging efficiency and economy.
Smart Images

Figure CN118521136B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet of Vehicles, and in particular to a vehicle intelligent dispatching method, terminal equipment and storage medium. Background Art
[0002] A mobile charging vehicle is a device that provides mobile charging services for electric vehicles. It is usually converted from a special vehicle and equipped with a large-capacity battery and charging equipment. This vehicle can be driven to the side of an electric vehicle that needs to be charged to provide power to the electric vehicle. The advantage of a mobile charging vehicle is that it can provide flexible charging services, especially in areas where there are no fixed charging piles or charging piles are insufficient.
[0003] After receiving a charging request from a vehicle, the existing mobile charging vehicle drives to the vehicle to charge it; however, when multiple vehicles send charging requests at the same time, it is difficult to process multiple requests at the same time and to reasonably arrange and dispatch each requesting vehicle. In other words, it is difficult to meet the charging needs of multiple requesting vehicles with one mobile charging vehicle, and a charging vehicle must be dispatched separately for each requesting vehicle, which is not economical. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a vehicle intelligent scheduling method, a terminal device and a storage medium that can solve the above technical problems.
[0005] A first aspect of an embodiment of the present application provides a vehicle intelligent dispatching method, the vehicle intelligent dispatching method comprising:
[0006] S1: receiving charging requests from each vehicle to be charged in a first area, wherein the charging requests include the real-time position and remaining power of the corresponding vehicle to be charged, and the first area includes a plurality of preset parking areas, each of which is equipped with a camera;
[0007] S2: Obtain surveillance videos from cameras in each parking area, and determine all vacant parking areas in the first area based on the surveillance videos;
[0008] S3: determining a first parking area accessible to all vehicles requiring charging from among the free parking areas according to the remaining power of each vehicle requiring charging;
[0009] S4: Calculate the total energy consumption of each vehicle to be charged corresponding to each first parking area, and take the first parking area with the lowest total energy consumption as the target parking area;
[0010] S5: Determine a first mobile charging vehicle according to the location of the target parking area, and mobilize the first mobile charging vehicle to travel to the target parking area, wherein the first mobile charging vehicle is an idle mobile charging vehicle that is closest to the target parking area;
[0011] S6: After the first mobile charging vehicle parks in the target parking area, determine a first number through the monitoring video of the on-board camera of the first mobile charging vehicle, and determine whether the number of vehicles to be charged is greater than the first number, wherein the first number is the number of parking spaces adjacent to the parking space where the first mobile charging vehicle is located;
[0012] S7: If the number of vehicles to be charged is not greater than the first number, notify each vehicle to be charged to drive to the target parking area so that the first mobile charging vehicle can charge each vehicle to be charged;
[0013] S8: If the number of vehicles that need to be charged is greater than the first number, notify each vehicle that needs to be charged to drive to the target parking area in batches, so that the first mobile charging vehicle can charge each vehicle that needs to be charged in batches.
[0014] A second aspect of an embodiment of the present application provides a terminal device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the vehicle intelligent scheduling method.
[0015] A third aspect of an embodiment of the present application provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processor executes the steps of the vehicle intelligent scheduling method.
[0016] Compared with the prior art, the embodiments of the present application have the following beneficial effects: the method provided by the present invention includes receiving charging requests issued by each vehicle to be charged in a first area, wherein the charging request includes the real-time position and remaining power of the corresponding vehicle to be charged, and the first area includes several preset parking areas, each parking area is equipped with a camera; obtaining monitoring videos of the cameras of each parking area, and determining all free parking areas in the first area based on each monitoring video; determining a first parking area that each vehicle to be charged can reach from each free parking area based on the remaining power of each vehicle to be charged; calculating the total energy consumption of each vehicle to be charged corresponding to each first parking area, and taking the first parking area with the lowest corresponding total energy consumption as the target parking area; determining a first mobile charging vehicle based on the position of the target parking area, and mobilizing the first mobile charging vehicle to travel to the target parking area, wherein the first mobile charging vehicle is a distance away from the target parking area. the nearest idle mobile charging vehicle; after the first mobile charging vehicle parks in the target parking area, determine the first number through the monitoring video of the on-board camera of the first mobile charging vehicle, and judge whether the number of vehicles to be charged is greater than the first number, wherein the first number is the number of adjacent parking spaces to the parking space where the first mobile charging vehicle is located; if the number of vehicles to be charged is not greater than the first number, notify each vehicle to be charged to drive to the target parking area so that the first mobile charging vehicle can charge each vehicle to be charged; if the number of vehicles to be charged is greater than the first number, notify each vehicle to be charged to drive to the target parking area in batches so that the first mobile charging vehicle can charge each vehicle to be charged in batches; in the present application, it is possible to process charging requests of multiple vehicles to be charged at the same time, and it is possible to reasonably arrange and deploy each vehicle to be charged and the mobile charging vehicle according to the request information, so that the charging needs of each vehicle to be charged can be met by one mobile charging vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0018] Figure 1 It is a schematic diagram of the implementation process of the vehicle intelligent scheduling method provided in the embodiment of the present application;
[0019] Figure 2 Schematic diagram of the implementation environment of the vehicle intelligent dispatching method provided in the embodiment of the present application;
[0020] Figure 3 It is a schematic diagram of adjacent parking spaces in the vehicle intelligent scheduling method provided in an embodiment of the present application;
[0021] Figure 4 It is a schematic diagram of a first mobile charging vehicle parking in an adjacent parking area in the vehicle intelligent scheduling method provided in an embodiment of the present application;
[0022] Figure 5 It is a schematic diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0024] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.
[0025] Figure 1 A vehicle intelligent dispatching method provided in Embodiment 1 of the present application is shown, and the vehicle intelligent dispatching method includes:
[0026] S1: receiving charging requests from each vehicle to be charged in a first area, wherein the charging requests include the real-time position and remaining power of the corresponding vehicle to be charged, and the first area includes a plurality of preset parking areas, each of which is equipped with a camera;
[0027] S2: Obtain surveillance videos from cameras in each parking area, and determine all vacant parking areas in the first area based on the surveillance videos;
[0028] S3: determining a first parking area accessible to all vehicles requiring charging from among the free parking areas according to the remaining power of each vehicle requiring charging;
[0029] S4: Calculate the total energy consumption of each vehicle to be charged corresponding to each first parking area, and take the first parking area with the lowest total energy consumption as the target parking area;
[0030] S5: Determine a first mobile charging vehicle according to the location of the target parking area, and mobilize the first mobile charging vehicle to travel to the target parking area, wherein the first mobile charging vehicle is an idle mobile charging vehicle that is closest to the target parking area;
[0031] S6: After the first mobile charging vehicle parks in the target parking area, determine a first number through the monitoring video of the on-board camera of the first mobile charging vehicle, and determine whether the number of vehicles to be charged is greater than the first number, wherein the first number is the number of parking spaces adjacent to the parking space where the first mobile charging vehicle is located;
[0032] S7: If the number of vehicles to be charged is not greater than the first number, notify each vehicle to be charged to drive to the target parking area so that the first mobile charging vehicle can charge each vehicle to be charged;
[0033] S8: If the number of vehicles that need to be charged is greater than the first number, notify each vehicle that needs to be charged to drive to the target parking area in batches, so that the first mobile charging vehicle can charge each vehicle that needs to be charged in batches.
[0034] In this embodiment, if Figure 2 As shown, the method is executed in a terminal device, which may be an independent physical server or terminal, or a server cluster composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud servers, cloud databases, cloud storage, and CDN; the camera in each parking area communicates with the terminal device; each vehicle is provided with a vehicle terminal, which may be an on-board processor, an on-board network terminal, etc. When the vehicle is identified as needing to be charged, the vehicle terminal can communicate with the terminal device; a number of mobile charging vehicles are arranged in the first area, and a vehicle terminal and an on-board camera are provided in the mobile charging vehicle, the vehicle terminal is connected to the on-board camera, the vehicle terminal communicates with the terminal device, and the terminal device can obtain the monitoring video of the on-board camera through the vehicle terminal;
[0035] In this embodiment, the first area is a pre-set area range, and the terminal device executes this method for the vehicles that need to be charged in the area. The first area can be divided into multiple areas, and corresponding terminal devices, cameras, and mobile charging vehicles are set for each first area to execute this method; a first area can be a street, a town or an area divided by other means, which is not limited here; there are charging parking lots in the first area, but during peak usage, these parking lots are often full. At this time, when a vehicle needs to be charged, it is necessary to request the terminal device to send a mobile charging vehicle to charge it. In order to allow the mobile charging vehicle and the vehicle to be charged to have a place to stay for charging, the staff can pre-demarcate the parking area in the first area. The parking area can be a parking lot that exists in the first area itself (a parking lot without charging piles) or other types of open space for parking, etc.; a camera is set in the parking area for the terminal device to determine the usage status of each parking area (each parking area can also be used for regular parking of other vehicles).
[0036] In the present application, vehicles in the first area can send a charging request to the terminal device according to the driver's operation or when the vehicle's power level is lower than a preset power level, and then the vehicle becomes a vehicle that needs to be charged; the rechargeable battery carried by each mobile charging vehicle has a limited amount of power to store, so a maximum acceptable request quantity is preset, such as 5, 6 or other quantities; when the number of charging requests reaches the maximum acceptable request quantity, the received request is first assigned to a mobile charging vehicle, and then a new request is accepted to assign the new request to another mobile charging vehicle; after receiving the charging request, the terminal device first determines an idle parking area where parking and charging can be performed, and because the locations and power levels of the vehicles that need to be charged are different, not every idle parking area In order to ensure that all vehicles that need to be charged can reach the target parking area, the terminal device can determine whether to charge all vehicles that need to be charged at the same time or in batches according to the number of vehicles that need to be charged and the specific number of parking spaces, thereby realizing a reasonable arrangement for charging all vehicles that need to be charged. In the present application, it is possible to process charging requests of multiple vehicles that need to be charged at the same time, and to reasonably arrange and deploy each vehicle that needs to be charged and the mobile charging vehicle according to the request information, so as to meet the charging needs of each vehicle that needs to be charged by one mobile charging vehicle.
[0037] As a preferred embodiment, determining all free parking areas in the first area based on each surveillance video includes:
[0038] S21: Retrieving a surveillance video of a parking area, and determining whether there is an adjacent parking space area in the parking area according to the surveillance video, wherein the adjacent parking space area is an entire area connected by at least two parking spaces;
[0039] S22: If the parking area has an adjacent vacant parking space, the parking area is determined as an vacant parking area;
[0040] S23: Repeat steps S21 to S22 until all free parking areas are determined.
[0041] Determining the first parking area that all vehicles that need to be charged can reach from all idle parking areas according to the remaining power of each vehicle that needs to be charged includes:
[0042] S31: select an empty parking area as a parking area to be selected;
[0043] S32: for each vehicle to be charged, determining a first route and a length of the first route for the vehicle to be charged to reach the parking area to be selected, wherein the first route is the shortest route for the vehicle to be charged to reach the parking area to be selected;
[0044] S33: Determine a first remaining cruising range of each vehicle to be charged according to the remaining power of the vehicle to be charged;
[0045] S34: Determine whether the first remaining cruising range of each vehicle to be charged exceeds the corresponding first route length setting value, and if so, use the to-be-selected parking area as the first parking area;
[0046] S35: If the first remaining cruising range of at least one vehicle to be charged does not exceed the corresponding first route length setting value, then exclude the candidate area;
[0047] S36: another free parking area is selected as a parking area to be selected, and steps S32 to S36 are executed until all first parking areas are screened out.
[0048] In this embodiment, if Figure 3 As shown, by determining the adjacent parking areas, that is, determining that the first mobile charging vehicle and the vehicle to be charged can be parked adjacent to each other, so that the first mobile charging vehicle can charge the vehicle to be charged; the set value can be 5km, 6km or other lengths. By setting the set value, it is ensured that the vehicle to be charged has surplus power when it arrives at the target parking area, avoiding the extra energy consumption caused by the need to make driving adjustments on the way, which may cause the vehicle to be unable to reach the target parking area; the first remaining endurance length can be determined by the terminal device obtaining the total endurance, battery information, remaining power and other information of the vehicle to be charged, or it can be directly calculated by the vehicle end of the vehicle to be charged and then sent to the terminal device.
[0049] As a preferred embodiment, calculating the total energy consumption of each vehicle to be charged corresponding to each first parking area includes:
[0050] Obtaining an estimated energy consumption of each vehicle that needs to be charged when it travels to the first parking area;
[0051] The total energy consumption is calculated using the following formula:
[0052]
[0053] in, is the total energy consumption, is the estimated energy consumption of the i-th vehicle that needs to be charged traveling to the first parking area, and m is the number of vehicles that need to be charged.
[0054] In this embodiment, due to the different vehicle models, the vehicle end of each vehicle that needs to be charged can first convert its estimated energy consumption into a unified unit of energy consumption, such as kilowatt-hours, and then accumulate them; by calculating the total energy consumption, it can ensure that the total energy consumption of the determined target parking area is the minimum, thereby minimizing the total amount of charging, thereby saving electricity.
[0055] As a preferred embodiment, between step S5 and step S6, the following steps are further included:
[0056] S51: monitoring in real time whether the adjacent parking spaces in the target parking area are occupied, and if not, causing the first mobile charging vehicle to continue driving toward the target parking area until the first mobile charging vehicle reaches the target parking area;
[0057] S52: If the adjacent parking spaces in the target parking area are occupied, the real-time position and remaining power of each vehicle to be charged are re-acquired, and steps S2 to S4 are executed to redefine the target parking area, and then redefine the first mobile charging vehicle, and mobilize the first mobile charging vehicle to travel to the target parking area, and then execute steps S51 to S52 until the first mobile charging vehicle arrives at the target parking area.
[0058] In this embodiment, before the first mobile charging vehicle arrives at the target parking area, the adjacent parking spaces in the target parking area may be occupied by other vehicles, resulting in the inability to charge the vehicle to be charged. Through this embodiment, a new target parking area and the first mobile charging vehicle can be re-determined in time, that is, the adjacent parking spaces can be occupied as much as possible to meet the charging demand; Figure 4 As shown, when the first mobile charging vehicle parks in an adjacent parking space area, it selects a parking space that is adjacent to the most vacant parking spaces, so that it obtains the most adjacent parking spaces, so as to charge multiple vehicles that need to be charged at the same time.
[0059] As a preferred embodiment, notifying each vehicle to be charged to drive to the target parking area in batches so that the first mobile charging vehicle charges each vehicle to be charged in batches includes:
[0060] S81: Obtaining a first time required for each vehicle to be charged to reach the target parking area, and sorting the vehicles to be charged in order from short to long according to the first time required, to obtain a first sequence;
[0061] S82: taking n vehicles to be charged from the first sequence as the first batch of vehicles, notifying the first batch of vehicles to drive to the target parking area, and notifying the remaining vehicles to stop driving, wherein the value of n is equal to the first number;
[0062] S83: After the first batch of vehicles start charging, monitor whether any vehicle has completed charging;
[0063] S84: When any vehicle completes charging, the vehicle that needs to be charged first among the remaining vehicles is notified to drive to the target parking area to take over the charging of the vehicle that has completed charging. This step is repeated until the last vehicle that needs to be charged in the first sequence starts charging.
[0064] The remaining vehicles will be notified to suspend driving including:
[0065] Get the latest real-time location and the latest remaining power of each remaining vehicle;
[0066] For each remaining vehicle, determining a second remaining cruising range according to the latest remaining power of the remaining vehicle;
[0067] Determine all routes of the remaining vehicles from the corresponding latest real-time position to the target parking area, and filter out routes whose length is shorter than the second remaining cruising range and passes through the parking area from the determined routes to obtain a plurality of second routes;
[0068] For each second route, obtaining a surveillance video of a parking area in the second route to determine whether there is an available parking space in the parking area in the second route;
[0069] The second route with available parking spaces is used as the third route, and the lengths of the third routes are compared;
[0070] The third route with the shortest length is used as the target route, and the target route and the parking area where the vacant parking space corresponding to the target route is located are sent to the remaining vehicles, so that the remaining vehicles go to the vacant parking space to wait.
[0071] After each remaining vehicle is parked in the corresponding parking area, it also includes:
[0072] Determine the remaining route length of each remaining vehicle from the parking area where it is located to the target parking area;
[0073] The remaining vehicles are reordered in order of the remaining route lengths from shortest to longest.
[0074] In this embodiment, the method for determining the second remaining cruising range is the same as the method for determining the first remaining cruising range mentioned above; the remaining route length is the remaining length of the corresponding target route; when there are insufficient adjacent parking spaces, the vehicle that needs to be charged and can reach the target parking area first is charged first, so that other vehicles can park and wait in the parking area on the road without taking a detour to find a temporary parking space, that is, they can wait without wasting much electric energy; after the vehicles in front have finished charging one by one, the waiting vehicles behind are mobilized to charge one by one in order from near to far, which not only ensures that the charging needs of each vehicle can be met, but also ensures the reasonable arrangement of the entire charging process, thereby improving the charging efficiency.
[0075] A terminal device provided in a second embodiment of the present application includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the vehicle intelligent scheduling method, specifically including:
[0076] S1: receiving charging requests from each vehicle to be charged in a first area, wherein the charging requests include the real-time position and remaining power of the corresponding vehicle to be charged, and the first area includes a plurality of preset parking areas, each of which is equipped with a camera;
[0077] S2: Obtain surveillance videos from cameras in each parking area, and determine all vacant parking areas in the first area based on the surveillance videos;
[0078] S3: determining a first parking area accessible to all vehicles requiring charging from among the free parking areas according to the remaining power of each vehicle requiring charging;
[0079] S4: Calculate the total energy consumption of each vehicle to be charged corresponding to each first parking area, and take the first parking area with the lowest total energy consumption as the target parking area;
[0080] S5: Determine a first mobile charging vehicle according to the location of the target parking area, and mobilize the first mobile charging vehicle to travel to the target parking area, wherein the first mobile charging vehicle is an idle mobile charging vehicle that is closest to the target parking area;
[0081] S6: After the first mobile charging vehicle parks in the target parking area, determine a first number through the monitoring video of the on-board camera of the first mobile charging vehicle, and determine whether the number of vehicles to be charged is greater than the first number, wherein the first number is the number of parking spaces adjacent to the parking space where the first mobile charging vehicle is located;
[0082] S7: If the number of vehicles to be charged is not greater than the first number, notify each vehicle to be charged to drive to the target parking area so that the first mobile charging vehicle can charge each vehicle to be charged;
[0083] S8: If the number of vehicles that need to be charged is greater than the first number, notify each vehicle that needs to be charged to drive to the target parking area in batches, so that the first mobile charging vehicle can charge each vehicle that needs to be charged in batches.
[0084] A storage medium is provided in the third embodiment of the present application. A computer program is stored on the storage medium. When the computer program is executed by a processor, the processor executes the steps of the vehicle intelligent scheduling method, specifically including:
[0085] S1: receiving charging requests from each vehicle to be charged in a first area, wherein the charging requests include the real-time position and remaining power of the corresponding vehicle to be charged, and the first area includes a plurality of preset parking areas, each of which is equipped with a camera;
[0086] S2: Obtain surveillance videos from cameras in each parking area, and determine all vacant parking areas in the first area based on the surveillance videos;
[0087] S3: determining a first parking area accessible to all vehicles requiring charging from among the free parking areas according to the remaining power of each vehicle requiring charging;
[0088] S4: Calculate the total energy consumption of each vehicle to be charged corresponding to each first parking area, and take the first parking area with the lowest total energy consumption as the target parking area;
[0089] S5: Determine a first mobile charging vehicle according to the location of the target parking area, and mobilize the first mobile charging vehicle to travel to the target parking area, wherein the first mobile charging vehicle is an idle mobile charging vehicle that is closest to the target parking area;
[0090] S6: After the first mobile charging vehicle parks in the target parking area, determine a first number through the monitoring video of the on-board camera of the first mobile charging vehicle, and determine whether the number of vehicles to be charged is greater than the first number, wherein the first number is the number of parking spaces adjacent to the parking space where the first mobile charging vehicle is located;
[0091] S7: If the number of vehicles to be charged is not greater than the first number, notify each vehicle to be charged to drive to the target parking area so that the first mobile charging vehicle can charge each vehicle to be charged;
[0092] S8: If the number of vehicles that need to be charged is greater than the first number, notify each vehicle that needs to be charged to drive to the target parking area in batches, so that the first mobile charging vehicle can charge each vehicle that needs to be charged in batches.
[0093] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0094] It should be understood that when used in the present application specification, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0095] It should also be understood that the term “and / or” used in the specification of the present application refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0096] As used in the present specification, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting" depending on the context. Similarly, the phrase "if it is determined" or "if [the described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [the described condition or event] is detected" or "in response to detecting [the described condition or event]" depending on the context.
[0097] In addition, in the description of the present specification, the terms "first", "second", "third", etc. are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance. It should also be understood that although the terms "first", "second", etc. are used to describe various elements in some embodiments of the present application in the text, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, the first table can be named as the second table, and similarly, the second table can be named as the first table, without departing from the scope of the various described embodiments. The first table and the second table are both tables, but they are not the same table.
[0098] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0099] Figure 5 Schematic diagram of the structure of a terminal device provided by an embodiment of the present application. Figure 5 As shown, the terminal device of this embodiment includes: at least one processor and a memory, wherein the memory stores a computer program that can be run on the processor. When the processor executes the computer program, the steps in the above-mentioned vehicle intelligent scheduling method embodiments are implemented, such as Figure 1 Steps S1 to S8 are shown.
[0100] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that Figure 5It is only an example of a terminal device and does not constitute a limitation of the terminal device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include an input sending device, a network access device, a bus, etc.
[0101] The processor may be a central processing unit (CPU), 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.
[0102] In some embodiments, the memory may be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. The memory may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device. Furthermore, the memory may include both an internal storage unit and an external storage device of the terminal device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory may also be used to temporarily store data that has been sent or is to be sent.
[0103] In addition, each functional unit in each embodiment of the present application 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 software functional units.
[0104] An embodiment of the present application provides a computer program product. When the computer program product is run on a mobile terminal device, the mobile terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0105] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0106] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0107] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0108] 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.
[0109] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A vehicle intelligent dispatching method, It is characterized in that The vehicle intelligent dispatching method comprises: S1: receiving charging requests from each vehicle to be charged in a first area, wherein the charging requests include the real-time position and remaining power of the corresponding vehicle to be charged, and the first area includes a plurality of preset parking areas, each of which is equipped with a camera; S2: Obtain surveillance videos from cameras in each parking area, and determine all vacant parking areas in the first area based on the surveillance videos; S3: determining a first parking area accessible to all vehicles requiring charging from among the free parking areas according to the remaining power of each vehicle requiring charging; S4: Calculate the total energy consumption of each vehicle to be charged corresponding to each first parking area, and take the first parking area with the lowest total energy consumption as the target parking area; S5: Determine a first mobile charging vehicle according to the location of the target parking area, and mobilize the first mobile charging vehicle to travel to the target parking area, wherein the first mobile charging vehicle is an idle mobile charging vehicle that is closest to the target parking area; S6: After the first mobile charging vehicle parks in the target parking area, determine a first number through the monitoring video of the on-board camera of the first mobile charging vehicle, and determine whether the number of vehicles to be charged is greater than the first number, wherein the first number is the number of parking spaces adjacent to the parking space where the first mobile charging vehicle is located; S7: If the number of vehicles to be charged is not greater than the first number, notify each vehicle to be charged to drive to the target parking area so that the first mobile charging vehicle can charge each vehicle to be charged; S8: If the number of vehicles to be charged is greater than the first number, notify each vehicle to be charged to drive to the target parking area in batches, so that the first mobile charging vehicle can charge each vehicle to be charged in batches; Notifying each vehicle to be charged to drive to the target parking area in batches so that the first mobile charging vehicle charges each vehicle to be charged in batches includes: S81: Obtaining a first time required for each vehicle to be charged to reach the target parking area, and sorting the vehicles to be charged in order from short to long according to the first time required, to obtain a first sequence; S82: taking n vehicles to be charged from the first sequence as the first batch of vehicles, notifying the first batch of vehicles to drive to the target parking area, and notifying the remaining vehicles to stop driving, wherein the value of n is equal to the first number; S83: After the first batch of vehicles start charging, monitor whether any vehicle has completed charging; S84: When any vehicle completes charging, the vehicle that needs to be charged first among the remaining vehicles is notified to drive to the target parking area to take over the charging of the vehicle that has completed charging. This step is repeated until the last vehicle that needs to be charged in the first sequence starts charging. The remaining vehicles will be notified to suspend driving including: Get the latest real-time location and the latest remaining power of each remaining vehicle; For each remaining vehicle, determining a second remaining cruising range according to the latest remaining power of the remaining vehicle; Determine all routes of the remaining vehicles from the corresponding latest real-time position to the target parking area, and filter out routes whose length is shorter than the second remaining cruising range and passes through the parking area from the determined routes to obtain a plurality of second routes; For each second route, obtaining a surveillance video of a parking area in the second route to determine whether there is an available parking space in the parking area in the second route; The second route with available parking spaces is used as the third route, and the lengths of the third routes are compared; The third route with the shortest length is used as the target route, and the target route and the parking area where the vacant parking space corresponding to the target route is located are sent to the remaining vehicles, so that the remaining vehicles go to the vacant parking space to wait; After each remaining vehicle is parked in the corresponding parking area, it also includes: Determine the remaining route length of each remaining vehicle from the parking area where it is located to the target parking area; The remaining vehicles are reordered in order of the remaining route lengths from shortest to longest.
2. The method according to claim 1, It is characterized in that Determine all the free parking areas in the first area based on the surveillance videos, including: S21: Retrieving a surveillance video of a parking area, and determining whether there is an adjacent parking space area in the parking area according to the surveillance video, wherein the adjacent parking space area is an area connected by areas where at least two parking spaces are located; S22: If the parking area has an adjacent vacant parking space, the parking area is determined as an vacant parking area; S23: Repeat steps S21 to S22 until all free parking areas are determined.
3. The method according to claim 2, It is characterized in that Determining the first parking area that all vehicles that need to be charged can reach from all idle parking areas according to the remaining power of each vehicle that needs to be charged includes: S31: select an empty parking area as a parking area to be selected; S32: for each vehicle to be charged, determining a first route and a length of the first route for the vehicle to be charged to reach the parking area to be selected, wherein the first route is the shortest route for the vehicle to be charged to reach the parking area to be selected; S33: Determine a first remaining cruising range of each vehicle to be charged according to the remaining power of the vehicle to be charged; S34: Determine whether the first remaining cruising range of each vehicle to be charged exceeds the corresponding first route length setting value, and if so, use the to-be-selected parking area as the first parking area; S35: If the first remaining cruising range of at least one vehicle to be charged does not exceed the corresponding first route length setting value, then exclude the candidate area; S36: another free parking area is selected as a parking area to be selected, and steps S32 to S36 are executed until all first parking areas are screened out.
4. The method according to claim 1, It is characterized in that Calculating the total energy consumption of each vehicle to be charged corresponding to each first parking area includes: Obtaining an estimated energy consumption of each vehicle that needs to be charged when it travels to the first parking area; The total energy consumption is calculated using the following formula: in, is the total energy consumption, is the estimated energy consumption of the i-th vehicle that needs to be charged traveling to the first parking area, and m is the number of vehicles that need to be charged.
5. The method according to claim 2, It is characterized in that Also included between step S5 and step S6: S51: monitoring in real time whether the adjacent parking spaces in the target parking area are occupied, and if not, causing the first mobile charging vehicle to continue driving toward the target parking area until the first mobile charging vehicle reaches the target parking area; S52: If the adjacent parking spaces in the target parking area are occupied, the real-time position and remaining power of each vehicle to be charged are re-acquired, and steps S2 to S4 are executed to redefine the target parking area, and then redefine the first mobile charging vehicle, and mobilize the first mobile charging vehicle to travel to the target parking area, and then execute steps S51 to S52 until the first mobile charging vehicle arrives at the target parking area.
6. A terminal device, It is characterized in that It comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the vehicle intelligent dispatching method according to any one of claims 1 to 5.
7. A storage medium, It is characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the vehicle intelligent scheduling method described in any one of claims 1 to 5.
