Method for obtaining queuing vehicle information, terminal device and readable storage medium

CN119815286BActive Publication Date: 2026-09-08ZHEJIANG GEELY HLDG GRP CO LTD +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411802903.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2026-09-08
Estimated Expiration
2044-12-09

AI Technical Summary

Technical Problem

[0003]一个换电站中可以有多个换电子站,现有多站场景下不同的实际排队场景多变,例如:多站中所有子站使用同一个排队队伍,多站中所有子站使用不同的排队队伍以及多站中子站排队队伍有部分重合,导致换电站中各个子站的排队车辆信息不准确,增加了排队时间

Benefits of technology

[0016]The technical effect achieved by the present invention using the above technical solution is as follows: the second geographical location range of the vehicle is matched with the first geographical location range of the battery swapping station to confirm whether the vehicle is a queuing vehicle and the substation to which the queuing vehicle is queuing, so as to obtain the queuing vehicle information of each substation; when the vehicle has multiple matching substations, the target substation of the vehicle is determined according to the substation location and/or queuing vehicle information of the multiple matching substations; then the queuing vehicle information is updated according to the target substation; this can avoid duplicate vehicles in the queuing queues of multiple substations and put the vehicle into the queuing queue of the substation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119815286B_ABST
    Figure CN119815286B_ABST
Patent Text Reader

Abstract

The application provides a queuing vehicle information acquisition method, a terminal device and a readable storage medium. The method comprises the following steps: acquiring a plurality of first geographical position ranges and second geographical position ranges of all vehicles in a preset range of a battery swap station, wherein each first geographical position range corresponds to at least one substation in the battery swap station; matching the second geographical position range with the plurality of first geographical position ranges corresponding to each substation to acquire queuing vehicle information of each substation; when it is determined according to the queuing vehicle information that a target vehicle in all vehicles has a plurality of matched substations, determining a target substation uniquely matched with the target vehicle according to a substation position of each substation in the battery swap station and / or the queuing vehicle information; and updating the queuing vehicle information corresponding to each substation in the battery swap station according to the target substation. The application can accurately identify the queuing vehicle information of each substation in the battery swap station, and avoid repeated vehicles in the queuing lines of each substation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle battery swapping technology, and in particular to a method for obtaining queuing vehicle information, a terminal device, and a readable storage medium. Background Technology

[0002] Battery swapping stations are facilities that provide battery replacement services for new energy electric vehicles. The advantages of battery swapping stations include high efficiency and convenience, centralized management, and extended battery life. The time required to swap batteries for a new energy vehicle at a swapping station is generally less than 2 minutes. For new energy vehicle owners, the main time spent at a swapping station is the waiting time.

[0003] A battery swapping station can have multiple battery swapping stations. In the current multi-station scenario, the actual queuing scenarios are varied. For example, all sub-stations in a multi-station may use the same queuing line, all sub-stations in a multi-station may use different queuing lines, and there may be some overlap in the queuing lines of sub-stations in a multi-station. This leads to inaccurate queuing vehicle information at each sub-station in the battery swapping station and increases queuing time.

[0004] Therefore, there is an urgent need for a method for obtaining queuing vehicle information, a terminal device, and a readable storage medium to solve the above problems. Summary of the Invention

[0005] The technical problem solved by this invention is to provide a method, terminal device and readable storage medium for obtaining queuing vehicle information, which can accurately identify queuing vehicle information of each substation in a battery swapping station and reduce queuing time.

[0006] The technical problem solved by this invention is achieved by the following technical solution: A method for obtaining queuing vehicle information includes: obtaining multiple first geographical location ranges and second geographical location ranges of all vehicles within a preset range of a battery swapping station, wherein each first geographical location range corresponds to at least one substation in the battery swapping station; matching the second geographical location ranges with the multiple first geographical location ranges corresponding to each substation to obtain queuing vehicle information for each substation; when it is determined from the queuing vehicle information that a target vehicle among all vehicles has multiple matching substations, determining a unique target substation for the target vehicle based on the substation location of each substation in the battery swapping station and / or the queuing vehicle information; and updating the queuing vehicle information corresponding to each substation in the battery swapping station based on the target substation.

[0007] In a preferred embodiment of the present invention, the step of obtaining a plurality of first geographical location ranges includes: obtaining the queuing electronic fence corresponding to each substation in the battery swapping station; obtaining a plurality of first geographical location ranges in the queuing electronic fence; and confirming the substation corresponding to each first geographical location range based on the queuing electronic fence corresponding to each substation and the plurality of first geographical location ranges.

[0008] In a preferred embodiment of the present invention, the step of matching the second geographical location range with a plurality of first geographical location ranges corresponding to each substation to obtain the queuing vehicle information of each substation includes: sequentially matching the second geographical location range with the first geographical location range; when the second geographical location range matches the first geographical location range, adding the vehicle corresponding to the second geographical location range to the queue of the substation corresponding to the first geographical location range to obtain the queuing vehicle information of each substation.

[0009] In a preferred embodiment of the present invention, the step of matching the second geographical location range with the plurality of first geographical location ranges corresponding to each substation to obtain the queuing vehicle information of each substation further includes: when the second geographical location range does not match the plurality of first geographical location ranges, obtaining the first vehicle corresponding to the second geographical location range; determining whether there is a first substation in the battery swapping station without a queuing electronic fence based on the queuing electronic fence of each substation in the battery swapping station; if there is, adding the first vehicle to the queue of the first substation to obtain the queuing vehicle information of each substation; if there is no such substation, deleting the first vehicle.

[0010] In a preferred embodiment of the present invention, before the step of determining the target substation uniquely matched by the target vehicle based on the substation location of each substation in the battery swapping station and / or the queued vehicle information when the target vehicle among all vehicles has multiple matching substations based on the queued vehicle information, the method further includes: determining the target vehicle currently being traversed among all vehicles; determining the queued number of the target vehicle based on the queued vehicle information of each substation; and confirming that the target vehicle has multiple matching substations when the queued number of the target vehicle is greater than or equal to 2.

[0011] In a preferred embodiment of the present invention, the step of determining a unique target substation for a target vehicle based on the substation location of each substation in the battery swapping station and / or the queued vehicle information when it is determined that the target vehicle among all vehicles has multiple matching substations based on the queued vehicle information includes: when it is determined that the target vehicle among all vehicles has multiple matching substations based on the queued vehicle information, obtaining the first queued vehicle number of the multiple matching substations based on the queued vehicle information; obtaining the second substation with the fewest first queued vehicles among the multiple matching substations, and confirming whether the number of the second substation is unique; when the number of the second substation is unique, placing the target vehicle into the queued vehicle information of the second substation.

[0012] In a preferred embodiment of the present invention, the step of determining a unique target substation for the target vehicle based on the substation location of each substation in the battery swapping station and / or the queued vehicle information when the target vehicle among all vehicles has multiple matching substations based on the queued vehicle information further includes: when the number of second substations is not unique, obtaining the substation locations of multiple second substations; obtaining the battery swapping distance between the target vehicle and the multiple second substations based on the substation locations and the second geographical location range corresponding to the target vehicle; and setting the second substation with the closest battery swapping distance as the target substation for the target vehicle.

[0013] In a preferred embodiment of the present invention, the step of determining the target substation that uniquely matches the target vehicle based on the substation location of each substation in the battery swapping station and / or the queued vehicle information when the target vehicle among all vehicles has multiple matching substations based on the queued vehicle information includes: when the target vehicle among all vehicles has multiple matching substations, sequentially obtaining the queued vehicle number of each of the multiple substations according to the arrangement order of each substation in the battery swapping station and the queued vehicle information; when the queued vehicle number of the first-ranked substation among the multiple substations exceeds a threshold, the next substation is selected as the target substation of the target vehicle according to the arrangement order.

[0014] A terminal device includes a memory and a processor, wherein the memory stores a queuing vehicle calculation program for a battery swapping station, and when the processor executes the queuing vehicle calculation program, it implements the steps of the method for obtaining queuing vehicle information as described above.

[0015] A readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the method for obtaining queued vehicle information as described in any one of the preceding descriptions.

[0016] The technical effect achieved by the present invention using the above technical solution is as follows: the second geographical location range of the vehicle is matched with the first geographical location range of the battery swapping station to confirm whether the vehicle is a queuing vehicle and the substation to which the queuing vehicle is queuing, so as to obtain the queuing vehicle information of each substation; when the vehicle has multiple matching substations, the target substation of the vehicle is determined according to the substation location and / or queuing vehicle information of the multiple matching substations; then the queuing vehicle information is updated according to the target substation; this can avoid duplicate vehicles in the queuing queues of multiple substations and put the vehicle into the queuing queue of the substation.

[0017] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0018] Figure 1 This is a flowchart illustrating a method for obtaining queued vehicle information according to the present invention.

[0019] Figure 2 This is an overall flowchart illustrating a method for obtaining queuing vehicle information according to the present invention.

[0020] Figure 3 This is a structural block diagram of a terminal device according to the present invention.

[0021] Explanation of reference numerals in the attached figures: 210 - processor, 211 - memory. Detailed Implementation

[0022] To further illustrate the technical means and effects adopted by the present invention to achieve its intended purpose, embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below are merely some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the embodiments of the present invention. Through the description of the specific embodiments, a more in-depth and specific understanding of the technical means and effects adopted by the present invention to achieve its intended purpose can be obtained. Moreover, the accompanying drawings are only provided for reference and illustration and are not intended to limit the present invention.

[0023] Please see Figure 1 , Figure 1 This is a flowchart illustrating a method for obtaining queued vehicle information according to the present invention.

[0024] like Figure 1 As shown, a method for obtaining queued vehicle information according to an embodiment of the present invention includes the following steps: S11: Obtain multiple first geographical location ranges and second geographical location ranges of all vehicles within the preset range of the battery swapping station, wherein each first geographical location range corresponds to at least one substation in the battery swapping station.

[0025] Multiple sub-stations within a battery swapping station can refer to multiple swapping stations in the same location, or multiple sub-stations (or swapping areas) within a single swapping station. Multiple swapping stations in the same location (i.e., multiple swapping stations, each actual swapping station being a sub-station) meet the battery swapping needs of both commercial and private vehicles in urban hotspots (e.g., highway service areas, train stations, airports, key commercial districts). A standardized swapping station has a limited maximum battery capacity and cannot handle traffic exceeding its maximum swapping frequency. Therefore, multiple swapping stations are continuously built in the same location (e.g., the same parking lot) to provide services for new energy vehicles, avoiding long-term operation of swapping stations below maximum load.

[0026] The first geographical location range can be any of the GeoHash values ​​within a pre-defined area belonging to each substation. Each substation's area contains multiple GeoHash values. For example, a 10-meter radius area for substation A is designated as its parking area, and a 10-meter radius area for substation B is designated as its parking area. Then, the GeoHash values ​​within these parking areas are obtained, associated with and bound to the corresponding substations A and B, and saved.

[0027] The first geographical location can also be the GeoHash value within the electronic fence area set in the camera device corresponding to the sub-station. For example, operators maintain the queuing electronic fence of each sub-station of the battery swapping station in the battery swapping station information. They calculate all the GeoHash values ​​within the electronic fence corresponding to each sub-station. If the battery swapping station is a multi-station station, then all the GeoHash values ​​of its sub-stations are traversed on a multi-station basis, and the sub-station corresponding to each GeoHash is calculated. Then, the sub-stations and their corresponding GeoHashes are saved. Because the electronic fence of the battery swapping station changes very infrequently, after saving, subsequent steps for calculating the number of queuing vehicles at each sub-station can directly call this information, thus quickly confirming the list of sub-stations corresponding to the vehicles. The sub-station list can contain only one sub-station or multiple sub-stations.

[0028] It should be noted that each sub-site corresponds to multiple primary geographic location ranges, and a primary geographic location range can also correspond to multiple sub-sites.

[0029] Specifically, GeoHash is an algorithm that converts two-dimensional latitude and longitude information into a string of characters. Using GeoHash as a unified unit for latitude and longitude comparison, a GeoHash of different lengths / precisions represents a rectangle of different ranges. This implementation uses a GeoHash with a precision of 9, which is approximately a rectangle with sides of 2 meters. Its precision can be adjusted according to specific scenario requirements. When matching with a vehicle's GeoHash, a match is confirmed if the overlap exceeds a threshold (e.g., 50%). It is understood that the geographical location range is not limited to GeoHash representation; GPS positioning and regional location marking can also be used.

[0030] The preset range of the battery swapping station (its shape is not limited) can be pre-defined by the user or automatically set by the system. For example, it can obtain the second geographical location range (e.g., GeoHash) of all vehicles within a 250-meter radius of the battery swapping station (which can be centered on a central point, or on each sub-station). In other embodiments, the user can pre-define an area and then obtain the second geographical location range of all vehicles within that area (e.g., a 100-meter long and wide area in front of the battery swapping station, a triangular area, or an irregular area, etc.). In this embodiment, the second geographical location range of the vehicles also uses the GeoHash value, i.e., the area where the vehicle is located.

[0031] It should be noted that the first and second geographic location ranges need to be obtained periodically to adjust the queuing vehicle information of each substation in real time according to changes in vehicle location. For example, every 10 seconds, 30 seconds, or 1 minute.

[0032] Optionally, the step of obtaining multiple first geographical location ranges includes: obtaining the queuing electronic fence corresponding to each substation in the battery swapping station; obtaining multiple first geographical location ranges in the queuing electronic fence; and confirming the substation corresponding to each first geographical location range based on the queuing electronic fence corresponding to each substation and the multiple first geographical location ranges.

[0033] The queuing electronic fence is the fence enclosed area for battery swapping selected by the substation. It should be noted that the substation may not need to set up a queuing electronic fence.

[0034] For example, the queuing geofences set at each sub-station in the battery swapping station are obtained in advance, and then the first geographical location range within each queuing geofence is obtained. For instance, first, multiple GeoHash values ​​from the queuing geofence of sub-station a are obtained, then multiple GeoHash values ​​from the queuing geofence of sub-station b are obtained, and so on, until the GeoHash values ​​from the queuing geofences of all sub-stations are obtained. If a sub-station does not have a queuing geofence set up, it cannot be obtained. After obtaining the GeoHash values, each GeoHash value is associated with a sub-station based on the queuing geofence.

[0035] It should be noted that the areas selected by the queuing geofences of different sub-stations may overlap. Based on the queuing geofences corresponding to each sub-station and the GeoHash values ​​corresponding to each queuing geofence, one or more sub-stations corresponding to each GeoHash value can be identified, thereby associating the GeoHash values ​​with the sub-stations.

[0036] S12: Match the second geographic location range with the multiple first geographic location ranges corresponding to each substation to obtain the queuing vehicle information of each substation.

[0037] By matching the second geographical location range with the first geographical location range, all vehicles within the preset range of the battery swapping station can be identified to distinguish between queued vehicles and non-queued vehicles (vehicles that need battery swapping and vehicles that do not need battery swapping), and then the queued vehicles matched to each substation can be further confirmed.

[0038] After confirming that a vehicle belongs to the queue, the vehicle can be placed into the queue of the corresponding substation in the battery swapping station based on its first matching geographical location range, and then the queue information of each substation can be obtained.

[0039] In another implementation, before placing a vehicle into the queue of the corresponding substation, the queue information of each substation can be obtained first, and then the decision on which substation's queue to place the vehicle into can be made based on the queue information. In this case, if a vehicle corresponds to multiple substations, it is not necessary to remove the vehicle from the queues of other substations besides the target substation when updating the queue information later.

[0040] The information on vehicles in the queue includes: the number of vehicles in the queue, their license plates, colors, order, models (battery models), and estimated waiting time. Based on the order, license plates, and colors, the battery swapping sequence for each vehicle can be determined. The number of vehicles in the queue allows for the assignment of vehicles to specific substations and helps determine if a substation has exceeded its capacity (more vehicles than batteries, or exceeding the substation's workload / battery charging speed). The vehicle model determines whether a vehicle can be swapped at a battery swapping station and at which substation. The estimated waiting time also allows for assignment of vehicles to specific substations.

[0041] It should be noted that each time the second geographical location range of a vehicle is obtained, it needs to be compared with the first geographical location range to confirm the sub-station to which the vehicle is matched.

[0042] Please see Figure 2 , Figure 2 This is an overall flowchart illustrating a method for obtaining queuing vehicle information according to the present invention.

[0043] Optionally, the step of matching the second geographical location range with multiple first geographical location ranges corresponding to each substation to obtain the queuing vehicle information of each substation includes: matching the second geographical location range with the first geographical location range; when the second geographical location range matches the first geographical location range, adding the vehicle corresponding to the second geographical location range to the queue of the substation corresponding to the first geographical location range to obtain the queuing vehicle information of each substation.

[0044] Specifically, by matching the second geographic location range with the first geographic location range, vehicles are placed into the queuing queues of each substation, thereby obtaining the queuing vehicle information of each substation.

[0045] Optionally, the step of matching the second geographical location range with multiple first geographical location ranges corresponding to each substation to obtain the queuing vehicle information of each substation further includes: when the second geographical location range does not match the multiple first geographical location ranges, obtaining the first vehicle corresponding to the second geographical location range; determining whether there is a first substation in the battery swapping station without a queuing electronic fence based on the queuing electronic fence of each substation in the battery swapping station; if there is, adding the first vehicle to the queue of the first substation to obtain the queuing vehicle information of each substation; if there is no such substation, deleting the first vehicle.

[0046] By matching the second geographic location range with each of the first geographic location ranges, queuing and non-queuing vehicles within the preset range of the battery swapping station can be quickly identified. This allows for the removal of non-queuing vehicles from the queueing vehicle information when confirming the queueing vehicle information for each substation, preventing them from being included in the queueing vehicle data. Specifically, vehicles corresponding to the second geographic location range that matches the first geographic location range are considered queuing vehicles; in the absence of a queueing electronic fence, vehicles corresponding to the second geographic location range that does not match the first geographic location range are considered non-queuing vehicles.

[0047] If the second geographic location range corresponding to a vehicle does not match the first geographic location range of each substation, it can be further determined whether there are substations in the battery swapping station that do not have electronic queuing fences. If there are substations without electronic fences, the vehicle can still be a queuing vehicle (i.e., the vehicle is not in the queuing area of ​​other substations with electronic fences, but is queuing at a substation without electronic fences), and the vehicle needs to be placed in the queuing queue of the corresponding substation without electronic fences. If there are no substations without electronic fences, the vehicle is not in the queuing area of ​​any substation, and the vehicle is not a queuing vehicle (non-queuing vehicle), and can be directly deleted.

[0048] Optionally, when it is determined from the queued vehicle information that the target vehicle among all vehicles has multiple matching substations, before the step of determining the unique target substation matched by the target vehicle based on the substation location of each substation in the battery swapping station and / or the queued vehicle information, the method further includes: determining the target vehicle currently being traversed; obtaining the number of target vehicles in the queued vehicle information; and confirming that the target vehicle has multiple matching substations when there are multiple target vehicles in the queued vehicle information.

[0049] The first geographic location range can have multiple matching sub-stations. Therefore, when confirming the queuing vehicle information of each sub-station based on the second geographic location range and the first geographic location range, the vehicle can be placed into the queuing queue of multiple sub-stations. To ensure the uniqueness of the vehicles in the queuing vehicle information, it is necessary to determine whether the number of vehicles in the queuing vehicle information is one; if not, it is necessary to obtain multiple sub-stations matching the target vehicle, and then select again from multiple matching sub-stations to complete the confirmation of the queuing queue of the target vehicle.

[0050] The first geographical location range can have multiple matching substations, so there may be duplicate vehicles in the queued vehicle information. In order to confirm the unique substation that matches the vehicle, it is necessary to obtain the duplicate vehicles (target vehicles) and their corresponding substations. After confirming the unique substation that matches the vehicle, the vehicle is removed from other substations, so that there are no duplicate vehicles in the queued vehicle information.

[0051] S13: When it is determined from the queued vehicle information that the target vehicle among all vehicles has multiple matching substations, the target substation that is uniquely matched with the target vehicle is determined based on the substation location of each substation in the battery swapping station and / or the queued vehicle information.

[0052] The target vehicle is a vehicle with multiple matching substations, that is, the first geographical location range corresponding to the second geographical location range of the vehicle has multiple matching substations.

[0053] The target substation is the unique substation to which the target vehicle ultimately belongs among multiple matching substations (i.e., the substation in which the target vehicle ultimately belongs is the target substation). In other implementations, the target substation can also be the unique substation to which the target vehicle ultimately belongs among all substations.

[0054] Based on the locations of each substation and the vehicle's location (i.e., the second geographical range), the battery swapping distance from the vehicle to each substation can be calculated. Therefore, the target substation for the vehicle can be determined based on the battery swapping distance between the target vehicle and its multiple matching substations. For example, if substation a is 20 meters away from the vehicle and substation b is 7 meters away, substation b with the closest battery swapping distance can be selected as the target substation.

[0055] Based on queuing vehicle information (the number of vehicles queuing at each substation and the estimated queuing time, and also information such as vehicle model and brand obtained through cameras), the substation with the fewest queuing vehicles or the shortest estimated queuing time can be identified, and then it can be used as the target substation for the target vehicle. For example, if substation a has 7 vehicles and substation b has 5 vehicles, substation b with fewer queuing vehicles will be used as the target substation; if substation a has an estimated queuing time of 5 minutes and substation b has an estimated queuing time of 4 minutes, substation b with the shorter estimated queuing time will be used as the target substation.

[0056] By identifying the target substation based on its location and queued vehicle information, the target substation for a vehicle can be determined more accurately. For example, when multiple matched substations have the same battery swapping distance from the target vehicle, the target substation can be confirmed based on information such as the number of queued vehicles and the estimated queuing time at the matched substations. Similarly, when multiple matched substations have the same number of queued vehicles and / or estimated queuing time, the target substation can be confirmed based on the battery swapping distance between the vehicle and the substation.

[0057] Optionally, when it is determined from the queued vehicle information that the target vehicle among all vehicles has multiple matching substations, the step of determining the target vehicle's unique matching target substation based on the substation location of each substation in the battery swapping station and / or the queued vehicle information includes: when it is determined from the queued vehicle information that the target vehicle among all vehicles has multiple matching substations, obtaining the first queued vehicle count of the multiple matching substations based on the queued vehicle information; obtaining the second substation with the fewest first queued vehicles among the multiple matching substations, and confirming whether the count of the second substation is unique; when the count of the second substation is unique, placing the target vehicle into the queued vehicle information of the second substation.

[0058] If a vehicle is in a queue (i.e., needs to go to a battery swapping station for battery swapping) (in which case the target vehicle has not yet been placed in any of the substations, i.e., the target vehicle is not in the queue information), obtain the number of vehicles in the first queue corresponding to each substation in the battery swapping station (e.g., substations a, b, c, and d match the target vehicle; substation a has 5 vehicles in queue; substation b has 4 vehicles in queue; substation c has 4 vehicles in queue; substation d has 3 vehicles in queue), and directly place the vehicle into the second substation / substation d with the fewest vehicles in queue.

[0059] Optionally, when it is determined from the queued vehicle information that the target vehicle among all vehicles has multiple matching substations, the step of determining the unique target substation matched by the target vehicle based on the substation location of each substation in the battery swapping station and / or the queued vehicle information further includes: when the number of second substations is not unique, obtaining the substation locations of multiple second substations; obtaining the battery swapping distance between the target vehicle and the multiple second substations based on the substation locations and the second geographical location range corresponding to the target vehicle; and setting the second substation with the closest battery swapping distance as the target substation of the target vehicle.

[0060] If there are multiple second-tier substations with the fewest vehicles in the queue (e.g., substation a has 5 vehicles, substation b has 4 vehicles, substation c has 3 vehicles, and substation d has 3 vehicles), then the locations of these substations (substations c and d) can be obtained. Then, combining the vehicle's second geographical location range with the substation locations of substations c and d, the battery swapping distance between these two substations and the target vehicle can be determined (e.g., substation c is 10 meters away from the vehicle, and substation d is 5 meters away). After confirming the battery swapping distance between the substations and the vehicle, the substation with the closest battery swapping distance (e.g., substation d) is selected, and the target vehicle is added to the queue information of substation d.

[0061] Optionally, when it is determined from the queued vehicle information that the target vehicle among all vehicles has multiple matching substations, the step of determining the unique target substation that the target vehicle matches based on the substation location of each substation in the battery swapping station and / or the queued vehicle information includes: when the target vehicle among all vehicles has multiple matching substations, sequentially obtaining the number of queued vehicles for each of the multiple substations according to the arrangement order of each substation in the battery swapping station and the queued vehicle information; when the number of queued vehicles for the first-ranked substation among the multiple substations exceeds a threshold, the next substation is selected as the target substation for the target vehicle according to the arrangement order.

[0062] After confirming multiple substations that match the target vehicle (e.g., substations b, c, and e), the sorting order of the substations is obtained according to their arrangement. Then, the number of vehicles in the queue at the first-ranked substation (substation b) is obtained. If the number of vehicles in the queue has reached or exceeded the workload limit of substation b (i.e., substation b has 10 batteries available and the number of vehicles in the queue is 10 or more), the target vehicle is placed in the next sorted substation c. If the number of vehicles in the queue at substation c has also reached or exceeded the threshold, the vehicle is placed in substation e.

[0063] In another implementation, if the battery swapping station has only one queue, when obtaining information on vehicles queuing at each substation, the target substation to which each vehicle belongs can be determined directly based on the queuing order of the vehicles and the threshold number of vehicles queuing at each substation. For example, if 35 vehicles are queuing, and the battery swapping station has three substations, a, b, and c, with a threshold of 10 vehicles per substation, then according to the queuing order, vehicles 1-10 are placed in substation a, vehicles 11-20 are placed in substation b, vehicles 21-30 are placed in substation c, and the remaining vehicles are waiting in the queue. In another implementation, vehicles ranked 1 can be placed in substation a, vehicles ranked 2 in substation b, vehicles ranked 3 in substation c, vehicles ranked 4 in substation a, vehicles ranked 5 in substation b, and so on, until substations a, b, and c have reached their thresholds (further detection continues; if a vehicle completes its battery swap and leaves a substation, subsequent vehicles are placed in. For example, if vehicle ranked 2 in substation b completes its battery swap first, vehicle ranked 31 is placed in substation b (or the vehicles can be re-sorted and re-grouped)).

[0064] S14: Update the queued vehicle information corresponding to each substation in the battery swapping station according to the target substation.

[0065] After confirming the target substation to which the target vehicle belongs, the target vehicle can be removed from the queues of other substations outside the target substation, thereby updating the queued vehicle information and finally obtaining the queued vehicle information of each substation without duplicate vehicles.

[0066] Optionally, a third geographical location range belonging to multiple substations within the first geographical location range can also be obtained. The first and second geographical location ranges are matched to confirm the substations corresponding to each vehicle. Then, the second and third geographical location ranges are matched to determine whether a vehicle corresponds to multiple substations. If a vehicle corresponds to multiple substations, the number of vehicles queuing at each of the corresponding substations and / or the substation location (i.e., the battery swapping distance between the vehicle and the substation) are obtained. The vehicle can be directly placed in a substation with a shorter battery swapping distance and then removed from other substations; or the vehicle can be directly placed in a substation with fewer vehicles queuing and then removed from other substations. If the battery swapping distance or the number of vehicles queuing at the corresponding multiple substations is the same, the number of vehicles queuing or the battery swapping distance is calculated again. If they are still the same, the vehicle can be placed in the substation with the higher ranking (e.g., for substations a, b, and c, place the vehicle in substation a; for substations 2, 3, and 4, place the vehicle in substation 2).

[0067] Optionally, the vehicle's queuing substation can also be determined based on the vehicle's model / brand. Different substations have different battery specifications (e.g., substation a is for battery swapping of brand A vehicles, substation b is for battery swapping of brand B and C vehicles; substation a is for battery swapping of model A vehicles, substation b is for battery swapping of model B and C vehicles). The vehicle's battery specification is identified based on the vehicle's model / brand, thereby confirming the substation corresponding to that battery specification, and finally confirming the target substation where the vehicle can be swapped, so that the vehicle is included in the target substation for queuing).

[0068] Optionally, a target substation can be selected for a vehicle based on the estimated battery swapping time / swapping duration of each substation. Different substations have different battery swapping procedures and speeds, resulting in different estimated battery swapping times / swapping durations for each vehicle. For example, if the estimated battery swapping time for vehicles queuing at substation a is 5 minutes, at substation b it is 3 minutes, and at substation c it is 4 minutes, then the vehicle will be placed at substation b (i.e., substation b is the target substation for the vehicle; the number of vehicles queuing at the aforementioned substations can be the same or different).

[0069] The method for obtaining queuing vehicle information provided in this embodiment can identify whether vehicles within a preset range (i.e., vehicles that need to enter the battery swapping station) are queuing vehicles (i.e., vehicles that need to enter the battery swapping station) when there are multiple battery swapping stations (i.e., one battery swapping station has multiple sub-stations) at the same location, based on the range of the electronic fences of the multiple battery swapping stations (i.e., sub-stations). If a vehicle is identified as a queuing vehicle, the method further determines the battery swapping station (i.e., sub-station) where it is currently queuing, or the expected battery swapping station (i.e., sub-station) where it is expected to queue, based on the range of the electronic fence, the number of queuing vehicles at each sub-station, the battery swapping distance between each sub-station, the battery specification, and the expected battery swapping time. This method can avoid the problem of duplicate vehicles in the queues of multiple sub-stations and the problem of vehicles not being able to determine the queueing sub-station.

[0070] Based on the same inventive concept as the foregoing embodiments, this invention provides a terminal device, such as... Figure 3 As shown, the processing device includes: a processor 210 and a memory 211 storing a computer program; wherein, Figure 3 The processor 210 shown in the diagram does not refer to a single processor 210, but rather to its positional relationship relative to other devices. In practical applications, there can be one or more processors 210. Figure 3 The memory 211 shown in the diagram has the same meaning, that is, it is only used to indicate the positional relationship of memory 211 relative to other devices. In practical applications, there can be one or more memories 211. When the processor 210 runs the computer program, it implements the above-described method for obtaining queuing vehicle information.

[0071] The present invention also provides a readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the method for obtaining queued vehicle information as described in any one of the above descriptions.

[0072] It should be understood that although the steps in the flowcharts of the accompanying drawings are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the accompanying drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0073] Through the above description of the embodiments, those skilled in the art can clearly understand that the embodiments of the present invention can be implemented in hardware or by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solutions of the embodiments of the present invention can be embodied in the form of a software product. This software product can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, mobile hard drive, etc.) and includes several instructions to cause a computer device (such as a personal computer, server, or network device, etc.) to execute the methods described in the various implementation scenarios of the embodiments of the present invention.

[0074] The preferred embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the specific details of the above embodiments. The above embodiments and accompanying drawings are exemplary. The modules or processes in the accompanying drawings are not necessarily necessary for implementing the embodiments of the present invention and should not be construed as limiting the present invention. Within the scope of the technical concept of the present invention, various simple modifications and combinations can be made to the technical solutions of the present invention, and these simple modifications and combinations all fall within the protection scope of the present invention.

Claims

1. A method for obtaining queuing vehicle information, characterized in that, include: Multiple first geographical location ranges and second geographical location ranges of all vehicles within a preset range of the battery swapping station are obtained. The battery swapping station is a multi-station battery swapping station, and each first geographical location range is all GeoHash values ​​within the area to which each substation of the battery swapping station belongs, respectively corresponding to at least one substation of the battery swapping station. The second geographic location range is matched with multiple first geographic location ranges corresponding to each sub-station to obtain the queuing vehicle information of each sub-station; When it is confirmed based on the queued vehicle information that the target vehicle among all vehicles has multiple matching substations, the first queued vehicle number of the multiple matching substations is obtained based on the queued vehicle information. Obtain the second substation with the fewest first queued vehicles among the multiple matching substations, and confirm whether the number of the second substation is unique; When the number of second substations is unique, the second substation is set as the target substation of the target vehicle; When the number of second substations is not unique, the substation locations of multiple second substations are obtained. Based on the substation locations and the second geographical location range corresponding to the target vehicle, the battery swapping distance between the target vehicle and the multiple second substations is obtained, and the second substation with the closest battery swapping distance is set as the target substation of the target vehicle. Update the queued vehicle information corresponding to each substation in the battery swapping station according to the target substation.

2. The method for obtaining queued vehicle information as described in claim 1, characterized in that, The step of obtaining multiple first geographic location ranges includes: Obtain the queuing electronic fence corresponding to each substation in the battery swapping station; Obtain multiple first geographical location ranges within the queuing electronic fence; Based on the queuing electronic fence corresponding to each substation and the multiple first geographical location ranges, the substation corresponding to each first geographical location range is identified.

3. The method for obtaining queued vehicle information as described in claim 1, characterized in that, The step of matching the second geographical location range with multiple first geographical location ranges corresponding to each sub-station to obtain queuing vehicle information for each sub-station includes: Match the second geographic location range with the first geographic location range; When the second geographical location range matches the first geographical location range, the vehicles corresponding to the second geographical location range are added to the queue of the substation corresponding to the first geographical location range in order to obtain the queued vehicle information of each substation.

4. The method for obtaining queued vehicle information as described in claim 3, characterized in that, The step of matching the second geographical location range with multiple first geographical location ranges corresponding to each sub-station to obtain queuing vehicle information for each sub-station further includes: When the second geographic location range does not match the plurality of first geographic location ranges, the first vehicle corresponding to the second geographic location range is obtained; Based on the queuing electronic fences of each substation in the battery swapping station, determine whether there is a first substation in the battery swapping station that has not been set up with a queuing electronic fence; If it exists, add the first vehicle to the queue of the first substation to obtain the queued vehicle information of each substation; If it does not exist, then delete the first vehicle.

5. The method for obtaining queued vehicle information as described in claim 1, characterized in that, Before the step of determining the unique target substation matched by the target vehicle based on the substation location of each substation in the battery swapping station and / or the queued vehicle information when it is determined that the target vehicle among all vehicles has multiple matching substations, the method further includes: Determine the target vehicle currently being traversed among all the vehicles; Based on the queued vehicle information at each substation, determine the queue size of the target vehicle; When the number of queues for the target vehicle is greater than or equal to 2, it is confirmed that the target vehicle has multiple matching substations.

6. The method for obtaining queued vehicle information as described in any one of claims 1 to 5, characterized in that, When it is determined from the queued vehicle information that the target vehicle among all vehicles has multiple matching substations, the step of determining the uniquely matched target substation for the target vehicle based on the substation location of each substation in the battery swapping station and / or the queued vehicle information includes: When the target vehicle among all the vehicles has multiple matching substations, the number of vehicles queuing for the corresponding multiple substations is obtained sequentially according to the arrangement order of each substation in the battery swapping station and the queuing vehicle information. When the number of queuing vehicles at the first-ranked substation among multiple substations exceeds a threshold, the next substation is designated as the target substation for the target vehicle according to the ranking order.

7. A terminal device, characterized in that, The terminal device includes a memory and a processor, wherein the memory stores a queuing vehicle calculation program for the battery swapping station, and when the processor executes the queuing vehicle calculation program, it implements the steps of the method for obtaining queuing vehicle information as described in any one of claims 1 to 6.

8. A readable storage medium, characterized in that, The readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method for obtaining queued vehicle information as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • A method for guiding charging of an electric vehicle

    CN108944548A

  • Battery replacement station management method and device, electronic equipment and storage medium

    CN114648420A

  • Queued vehicle identification method, system and device of battery swap station and medium

    CN114694389A

  • Battery replacement station, queuing vehicle identification method and device thereof and computer storage medium

    CN116935663A