Positioning method, device and system of shared vehicle, electronic equipment and shared vehicle
By using the location information of nearby vehicles on the server side to determine the location of shared vehicles, the problem of finding vehicles caused by abnormal positioning chips is solved, and the accuracy of positioning and the efficiency of finding vehicles are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING DIDI INFINITY TECH & DEV CO LTD
- Filing Date
- 2024-11-21
- Publication Date
- 2026-05-29
Smart Images

Figure CN122120701A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of shared vehicle technology, specifically to a method, device, system, electronic device, and shared vehicle for locating shared vehicles. Background Technology
[0002] Shared vehicles (including bicycles or electric bicycles) are becoming increasingly popular as a new mode of transportation, greatly solving the problem of green and healthy travel for users.
[0003] Currently, when maintenance personnel are searching for shared vehicles, they can go to the location based on the location information reported by the positioning chip in the shared vehicle. However, if the positioning chip malfunctions, such as failing to start properly or encountering a location with poor positioning, the positioning chip may not be able to accurately report the location information of the shared vehicle, which will increase the difficulty of finding the vehicle and the manpower required. Summary of the Invention
[0004] In view of this, the present disclosure provides a method, device, system, electronic device and shared vehicle for locating shared vehicles. The main purpose is to improve the technical problem that if the positioning chip malfunctions, it will be unable to accurately report the location information of the shared vehicle, which will increase the difficulty of finding the vehicle and the manpower required.
[0005] Firstly, this disclosure provides a method for locating shared vehicles, which can be applied to server-side execution, the method comprising:
[0006] Send a search command to the shared vehicle, the search command being used to instruct the shared vehicle to search for nearby vehicles via short-range wireless communication;
[0007] Receive the identification information of nearby vehicles sent by the shared vehicle;
[0008] Based on the identification information, query whether the nearby vehicles have reported location information within a preset time period;
[0009] If the nearby vehicles have reported location information within the preset time period, the current location information of the shared vehicle is determined based on the location information reported by the nearby vehicles.
[0010] Secondly, this disclosure provides a method for locating shared vehicles, which can be applied to the shared vehicle side for execution. The method includes:
[0011] Receive search commands sent by the server;
[0012] According to the search instructions, nearby vehicles of the shared vehicle are searched via near-field wireless communication;
[0013] The server sends the identification information of nearby vehicles found in the search. The identification information is used by the server to query whether the nearby vehicles have reported location information within a preset time period, so as to determine the current location information of the shared vehicle based on the location information reported by the nearby vehicles within the preset time period.
[0014] Thirdly, this disclosure provides a positioning device for shared vehicles, which can be applied to a server. The device includes:
[0015] The sending module is configured to send a search command to the shared vehicle, the search command being used to instruct the shared vehicle to search for nearby vehicles via short-range wireless communication;
[0016] The receiving module is configured to receive the identification information of nearby vehicles sent by the shared vehicle;
[0017] The query module is configured to query whether the nearby vehicles have reported location information within a preset time period based on the identification information;
[0018] The determination module is configured to determine the current location information of the shared vehicle based on the location information reported by the nearby vehicles if the nearby vehicles have reported location information within the preset time period.
[0019] Fourthly, this disclosure provides a positioning device for shared vehicles, applicable to shared vehicles, the device comprising:
[0020] The receiving module is configured to receive search commands sent by the server;
[0021] The search module is configured to search for nearby vehicles of the shared vehicle via near-field wireless communication according to the search instructions;
[0022] The sending module is configured to send the identification information of nearby vehicles found in the search to the server. The identification information is used by the server to query whether the nearby vehicles have reported location information within a preset time period, so as to determine the current location information of the shared vehicle based on the location information reported by the nearby vehicles within the preset time period.
[0023] In a sixth aspect, this disclosure provides a positioning system for shared vehicles, comprising: a server and shared vehicles, wherein the server is configured to implement the method described in the first aspect, and the shared vehicles are configured to implement the method described in the second aspect.
[0024] In a seventh aspect, this disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for locating shared vehicles as described in the first or second aspect.
[0025] Eighthly, this disclosure provides an electronic device including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor executes the computer program to implement the method for locating shared vehicles as described in the first or second aspect.
[0026] Ninthly, this disclosure provides a computer program product, including a computer program that, when executed by a processor, implements the method for locating shared vehicles as described in the first or second aspect.
[0027] In a tenth aspect, this disclosure provides a shared vehicle, including the apparatus described in the fourth aspect, or a computer-readable storage medium, or an electronic device, or a computer program product that implements the method of the second aspect.
[0028] By employing the above technical solution, this disclosure provides a method, device, system, electronic device, and shared vehicle for locating shared vehicles. Compared with existing related technologies, this disclosure can determine the current location information of a shared vehicle by utilizing valid location information reported by nearby vehicles. Specifically, firstly, the server can send a search command to the shared vehicle, instructing it to search for nearby vehicles via short-range wireless communication. Then, it can receive the identification information of nearby vehicles sent by the shared vehicle. Next, based on the identification information of nearby vehicles, it queries whether these vehicles have reported location information within a preset time period. If they have, the current location information of the shared vehicle is determined based on this reported information. By applying this technical solution, even if the positioning chip in the shared vehicle malfunctions, such as failing to start or encountering a poor positioning environment, the current location information of the shared vehicle can still be determined through valid location information reported by nearby vehicles. This improves the accuracy of obtaining shared vehicle location information, reduces difficulties in finding vehicles, and saves manpower in vehicle locating.
[0029] The above description is merely an overview of the technical solution disclosed herein. In order to better understand the technical means of this disclosure and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this disclosure more apparent and understandable, specific embodiments of this disclosure are described below. Attached Figure Description
[0030] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0031] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0032] Figure 1 A schematic diagram of the structure of a positioning system for shared vehicles provided in an embodiment of this disclosure is shown;
[0033] Figure 2 A flowchart illustrating a method for locating a shared vehicle according to an embodiment of this disclosure is shown.
[0034] Figure 3 A flowchart illustrating a method for locating a shared vehicle according to an embodiment of this disclosure is shown.
[0035] Figure 4 A flowchart illustrating a method for locating a shared vehicle according to an embodiment of this disclosure is shown.
[0036] Figure 5 A schematic diagram of the structure of a positioning device for a shared vehicle provided in an embodiment of this disclosure is shown;
[0037] Figure 6 A schematic diagram of the structure of a positioning device for a shared vehicle provided in an embodiment of this disclosure is shown. Detailed Implementation
[0038] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0039] To address the technical problem that a malfunctioning positioning chip can prevent the accurate reporting of shared vehicle location information, thus increasing the difficulty of finding vehicles and requiring more manpower, this disclosure provides a positioning system for shared vehicles. Figure 1 As shown, the system includes a server 11 and shared vehicles 12.
[0040] Server 11 can be the backend platform responsible for managing and coordinating the entire shared vehicle system. In some examples, server 11 can adopt cloud computing technology, utilizing distributed systems and microservice architecture to ensure high availability and scalability. This can better handle large-scale user access and high-concurrency scenarios, ensuring the stable operation of the system.
[0041] Shared vehicles 12 may include shared bicycles (or shared electric bicycles), shared electric bicycles (or shared electric vehicles), shared electric scooters, shared cars, shared motorcycles, shared trucks, shared vans, shared golf carts, etc.
[0042] The server 11 needs to determine the location information (such as latitude and longitude) of each shared vehicle 12 to ensure that these shared vehicles 12 are distributed in suitable locations. For example, it can dynamically adjust the location of vehicles based on user demand and vehicle distribution to ensure that there are enough available vehicles in popular areas. It can also provide navigation routes from the user's current location to the shared vehicle, calculate the user's usage time and mileage, locate stolen, lost, or out-of-operation vehicles, and so on.
[0043] In order for the server 11 to determine the location information of the shared vehicle 12, in some embodiments, the server 11 may send a search command to the shared vehicle 12. The search command is used to instruct the shared vehicle 12 to search for nearby vehicles through short-range wireless communication, and then receive the identification information of the nearby vehicles sent by the shared vehicle 12; then, based on the identification information of the nearby vehicles, query whether the nearby vehicles have reported location information within a preset time period, such as location information reported in the recent period; if the nearby vehicles have reported location information within the preset time period, then the current location information of the shared vehicle 12 is determined based on the location information reported by the nearby vehicles.
[0044] By applying the technical solution of this disclosure embodiment, even if the positioning chip in the shared vehicle 12 malfunctions, such as the positioning chip being unable to start normally or encountering a location with poor positioning environment, the current positioning information of the shared vehicle 12 can still be determined through the valid positioning information reported by nearby vehicles. This can improve the accuracy of obtaining the positioning information of the shared vehicle, reduce the occurrence of difficulties in finding the vehicle, and save manpower investment in finding the vehicle.
[0045] Furthermore, to illustrate the specific execution process of the aforementioned shared vehicle positioning system, Figure 2 A schematic diagram of a method for locating a shared vehicle according to an embodiment of the present disclosure is shown. This method is applied to the aforementioned positioning system, such as... Figure 2 As shown, the following steps may be included:
[0046] Step 201: The server sends a search command to the shared vehicle.
[0047] Search commands can be used to instruct shared vehicles to search for nearby vehicles via near-field communication (NFC). NFC can include Bluetooth, WiFi, Near Field Communication (NFC), infrared communication, Zigbee, and other wireless communication methods.
[0048] In some embodiments, the search command sent by the server to the shared vehicle may be a Bluetooth search command, that is, the server sends a Bluetooth search command to the shared vehicle, which can be used to instruct the shared vehicle to search for nearby vehicles via Bluetooth. Nearby vehicles may be other shared vehicles located near the shared vehicle, or other vehicles (such as public vehicles or user vehicles) located near the shared vehicle whose location information can be obtained by the server.
[0049] In some embodiments, the server sends a search command to the shared vehicle, which may specifically include: sending a search command to the shared vehicle when the location information reported by the shared vehicle is abnormal and the shared vehicle has no status change within a preset time period.
[0050] When a shared vehicle receives no order requests for several consecutive days, meaning it has been unused for an extended period and no maintenance personnel have intervened or performed any maintenance, its reported location information (usually the vehicle's current latitude and longitude coordinates) may become abnormal. For example, the reported location information may be empty or zero. Empty location information means the positioning system did not return any valid location information, possibly because the system is not working or is working but failed to acquire location data. A location information of 0 indicates that the location information has been incorrectly set to a default value, which may be due to a software or hardware malfunction in the positioning system, preventing it from correctly acquiring or transmitting location data.
[0051] In this embodiment, the preset duration can be a specific period of time prior to the current time, such as one or two weeks prior to the current time (i.e., the most recent week or two weeks). Shared vehicles can periodically report their own status information, which can be determined based on sensor information within the shared vehicle. This status information can be used to determine whether the shared vehicle is moving, vibrating, or shifting. The movement of the shared vehicle refers to the real-time change of its location on the map. Besides movement caused by user-initiated actions (such as riding), shared vehicles may also move without user intervention, such as when maintenance personnel move vehicles from surplus stations to shortage stations to maintain a balance between supply and demand. Vibration of shared vehicles can be caused by various factors, such as uneven road surfaces during riding, or vibrations during loading, unloading, and transportation when maintenance personnel move shared vehicles between different locations using trucks. If the status information periodically reported by the shared vehicle indicates no status change within the preset duration, it suggests a possible malfunction in the vehicle's positioning chip, such as the chip failing to activate or encountering a poor positioning environment.
[0052] For example, if the location information reported by the shared vehicle is abnormal, such as the reported location information being empty or 0, and the shared vehicle has not changed its status in the past week, the positioning chip in the shared vehicle may be malfunctioning. In this case, in order to obtain the location information of the shared vehicle, the process shown in steps 201 to 205 can be executed.
[0053] Step 202: The shared vehicle receives the search command sent by the server and searches for nearby vehicles through short-range wireless communication according to the search command.
[0054] In some embodiments, taking a Bluetooth search command as an example, the shared vehicle searches for nearby vehicles via Bluetooth according to the Bluetooth search command. For example, both the shared vehicle and the nearby vehicles have Bluetooth communication capabilities and have them enabled. The shared vehicle scans for nearby vehicles via Bluetooth according to the received Bluetooth search command and records the identification information of the scanned nearby vehicles. This identification information can be used to uniquely identify the nearby vehicles.
[0055] Step 203: The shared vehicle sends the identification information of the nearby vehicles found to the server.
[0056] In some embodiments, the nearby vehicles found by the shared vehicle search may be one or more, and the corresponding identification information sent may be one or more.
[0057] Step 204: The server receives the identification information of nearby vehicles sent by the shared vehicle, and queries whether the nearby vehicles have reported location information within a preset time period based on the identification information.
[0058] In some examples, nearby vehicles may report their location information (such as latitude and longitude) periodically or irregularly, or report their location information according to issued instructions. The closer the time when a nearby vehicle reports its location information is to the current time, the closer the reported location information is to the current actual location. In this embodiment, a preset time period can be used to determine whether the time when a nearby vehicle reports its location information is the most recent time. For example, if the current time is 14:00, the preset time period could be the period from 13:55 to 14:00.
[0059] When different vehicles report their location information, they can attach corresponding identification information. In this embodiment, the identification information of nearby vehicles can be used to query whether the nearby vehicles have reported location information within a preset time period. If the query finds that such vehicles have reported location information, it can be further determined whether the location information is abnormal, such as whether the location information is empty or 0. If the location information is not abnormal, the process shown in step 205 can be continued.
[0060] In some examples, if the shared vehicle sends identification information for multiple nearby vehicles, it can query whether these vehicles have reported location information within a preset time period. If so, it can further determine whether the reported location information is abnormal. Then, based on the location information that has been reported within the preset time period and is not abnormal, the process shown in step 205 can be continued. If there are multiple non-abnormal location information reports within the preset time period, it can be determined whether the deviation between these location information is greater than a certain threshold. If the deviation is greater than or equal to a certain threshold, the majority of the same or similar location information can be selected from these location information according to the majority principle to execute the process shown in step 205; if the deviation is less than the threshold, it means that these location information are the same or similar location information, and the location information can be randomly selected to execute the process shown in step 205.
[0061] For example, given five non-abnormal location data points reported within a preset time period, namely A1, A2, A3, A4, and A5, if the deviations between A1, A2, A3, and A4 are small, but the deviations between them and A5 are large, then a location data point can be randomly selected from A1, A2, A3, and A4 to execute the process shown in step 205. Conversely, if the deviations between A1, A2, A3, A4, and A5 are all small, then a location data point can be randomly selected from A1, A2, A3, A4, and A5 to execute the process shown in step 205.
[0062] Step 205: The server determines the current location information of the shared vehicle based on the location information reported by nearby vehicles within a preset time period.
[0063] In this embodiment, the location information of a shared vehicle can be determined by querying nearby vehicles that have reported their location information within a preset time period. Even if the positioning chip in the shared vehicle malfunctions, such as the positioning chip failing to start normally or encountering a location with poor positioning environment, the current location information of the shared vehicle can still be determined by the valid location information reported by nearby vehicles. This can improve the accuracy of obtaining the location information of shared vehicles, reduce the occurrence of difficulties in finding the vehicle, and save manpower investment in finding the vehicle.
[0064] In some embodiments, the server determines the current location information of a shared vehicle based on the location information reported by nearby vehicles within a preset time period. Specifically, this may include: the server first obtaining the last reported location information of the shared vehicle, which is considered non-abnormal; then comparing the last reported location information with the location information reported by nearby vehicles within the preset time period; if the deviation between the last reported location information and the location information reported by nearby vehicles within the preset time period is greater than or equal to a preset deviation threshold, then the location information reported by nearby vehicles within the preset time period is determined as the current location information of the shared vehicle. If the deviation between the last reported location information and the location information reported by nearby vehicles within the preset time period is less than a preset deviation threshold, then the last reported non-abnormal location information of the shared vehicle is determined as the current location information of the shared vehicle.
[0065] The preset deviation threshold can be pre-set according to actual needs and can be used to determine whether the deviation is large. For example, if the location information reported by the shared vehicle is abnormal, such as the reported location information being empty or 0, and the shared vehicle has not changed its status in a recent period, the positioning chip in the shared vehicle may be malfunctioning. Therefore, the last normal location information reported by the shared vehicle can be obtained, and a comprehensive analysis can be performed based on this normal location information and the location information reported by nearby vehicles within a preset time period to determine the current location information of the shared vehicle. For example, if the last location information reported by the shared vehicle is compared with the location information reported by nearby vehicles within a preset time period, and the two are significantly different, the location information reported by nearby vehicles within the preset time period can be determined as the current location information of the shared vehicle; if the two are less different, the last normal location information reported by the shared vehicle can still be used to determine the current location information of the shared vehicle. This method can improve the accuracy of obtaining the location information of shared vehicles, reduce the occurrence of difficulties in finding vehicles, and save manpower investment in vehicle search.
[0066] In some embodiments, after determining the current location information of the shared vehicle, the server can generate an operation and maintenance intervention work order based on the current location information of the shared vehicle. This work order is used to instruct the operation and maintenance module to intervene in the shared vehicle. Through this automated work order generation mechanism, vehicles requiring attention can be quickly identified, the speed of problem handling can be accelerated, and inconvenience caused by equipment failure or abnormal conditions can be reduced.
[0067] By applying the technical solution of this disclosure embodiment, even if the positioning chip in the shared vehicle malfunctions, such as the positioning chip being unable to start normally or encountering a location with poor positioning environment, the current positioning information of the shared vehicle can still be determined through the valid positioning information reported by nearby vehicles. This can improve the accuracy of obtaining the positioning information of the shared vehicle, reduce the occurrence of difficulties in finding the vehicle, and save manpower investment in finding the vehicle.
[0068] Furthermore, to illustrate the specific execution process on the server side, Figure 3 A flowchart illustrating a method for locating a shared vehicle according to an embodiment of this disclosure is shown. When executed on the server side, it may include the following steps.
[0069] Step 301: The server sends a search command to the shared vehicle.
[0070] The search command is used to instruct the shared vehicle to search for nearby vehicles via short-range wireless communication. In some examples, the search command may be a Bluetooth search command, which can be used to instruct the shared vehicle to search for nearby vehicles via Bluetooth.
[0071] In some embodiments, step 301 may specifically include: when the location information reported by the shared vehicle is abnormal and the shared vehicle has no status change within a preset time period, sending a search command to the shared vehicle.
[0072] For example, the server can detect if a shared vehicle has had no user rides for several consecutive days. When a shared vehicle has had no user rides for several consecutive days, the server checks whether the latitude and longitude information reported by the shared vehicle daily exists, and whether it is consistent with the latitude and longitude information reported at the end of the last ride. For example, the server will check whether the shared vehicle reports its location information (latitude and longitude coordinates) every day. This is to ensure that the vehicle positioning system is working properly and can continuously provide location data. If the vehicle has reported location information, the server will also compare this information with the latitude and longitude information reported at the end of the last ride. This is to confirm whether the vehicle is still at the location at the end of the last ride, or whether it has been moved to another location. If, after these checks, the shared vehicle has had no user use or maintenance personnel intervention for several consecutive days, and the reported location information is empty or 0, the server can further determine whether the shared vehicle has moved, vibrated, or shifted by checking the daily status information reports. If the server determines that the shared vehicle has no status change, it can send a Bluetooth search command to the shared vehicle, allowing the currently unlocated vehicle to search for information on other vehicles nearby. Once the unlocated shared vehicle finds the identifiers of other vehicles in the vicinity, it reports this to the server.
[0073] Step 302: The server receives the identification information of nearby vehicles sent by the shared vehicle.
[0074] Step 303: The server queries whether nearby vehicles have reported location information within a preset time period based on the identification information.
[0075] For example, when a shared vehicle without a location finds other vehicle identifiers in the vicinity, it reports this to the server. The server then queries the backend database to see if the searched vehicle has reported location information (latitude and longitude information) recently, and whether the location information report is normal.
[0076] The preset time period can be set according to actual needs. In some examples, taking nearby vehicles as also shared vehicles as an example, the preset time period can be determined based on the status of the nearby vehicles found in the search. For example, if the found vehicle is not being used or under maintenance intervention, and is parked in a place in a ready-to-use state, the preset time period can be the time period of the most recent few hours, the purpose of which is to obtain the normal location information recently reported by the found vehicle after it has been parked. On the other hand, if the found vehicle is being used or under maintenance intervention, it means that the vehicle appeared near the shared vehicle when searching for shared vehicles without location information and was found. The vehicle is likely to move to another place. In this case, the preset time period can be the time period of the most recent few seconds, the purpose of which is to obtain the normal location information reported by the found vehicle when it was near the shared vehicle without location information.
[0077] Step 304: If nearby vehicles have reported location information within a preset time period, the server determines the current location information of the shared vehicle based on the location information reported by nearby vehicles.
[0078] In some embodiments, determining the current location information of a shared vehicle based on location information reported by nearby vehicles includes: first, obtaining the location information last reported by the shared vehicle, which is considered non-abnormal; then, comparing the location information last reported by the shared vehicle with the location information reported by nearby vehicles within a preset time period; if the deviation between the location information last reported by the shared vehicle and the location information reported by nearby vehicles within the preset time period is greater than or equal to a preset deviation threshold, then the location information reported by nearby vehicles within the preset time period is determined as the current location information of the shared vehicle. If the deviation between the location information last reported by the shared vehicle and the location information reported by nearby vehicles within the preset time period is less than a preset deviation threshold, then the location information last reported by the shared vehicle is determined as the current location information of the shared vehicle.
[0079] For example, the normal latitude and longitude information of the vehicle to be determined last time is compared with the location latitude and longitude information reported by the searched vehicle within a preset time period to check for any discrepancies. If they match (i.e., the discrepancy is less than a certain threshold), the normal latitude and longitude information of the vehicle to be determined last time is used to update and fill in the location information (latitude and longitude) of the vehicle. If the discrepancy is large, the latitude and longitude information reported by the searched vehicle within the preset time period is used to fill in the location information (latitude and longitude) of the vehicle to be determined.
[0080] This method can improve the accuracy of obtaining the location information of shared vehicles, reduce the occurrence of difficulties in finding vehicles, and save manpower investment in vehicle search.
[0081] In some embodiments, after determining the current location information of the shared vehicle, an operation and maintenance intervention work order is generated based on the current location information of the shared vehicle. The operation and maintenance intervention work order is used to instruct the operation and maintenance module to intervene in the shared vehicle.
[0082] For example, after the latitude and longitude information of the vehicle to be identified is filled in, the server generates a temporary maintenance intervention work order, informing the maintenance module to intervene in the vehicle (retrieve it or relocate it to a hotspot area). The maintenance module then queries the current vehicle information based on the work order issued by the server and searches for the corresponding vehicle according to the updated location information. This significantly increases the probability of finding the vehicle.
[0083] By applying the technical solutions of the embodiments of this disclosure, the accuracy of obtaining the location information of shared vehicles can be improved, the occurrence of difficulties in finding vehicles can be reduced, and the manpower investment in finding vehicles can be saved.
[0084] In some embodiments, to further improve the accuracy of obtaining shared vehicle location information, the technical solution of this disclosure may further include: the server determining a target time period between the end time of the last ride order of the shared vehicle and the current time; when the duration of the target time period is greater than a predetermined duration threshold, and the shared vehicle has no state change within the target time period, the server sending a first instruction to the shared vehicle. This first instruction can be used to instruct the shared vehicle to increase the frequency of reporting location information.
[0085] For example, the current time can be determined by checking the last order information of a vehicle: The server records the time when each vehicle completed its last order (let's say A). The difference between the current time (the time the server queries) and the last order time A is added to a preset time period N (N can be any length of time, such as hours, days, etc.). The result B represents the vehicle's idle time since the last order. As the idle time (BA=N) of a vehicle increases, the server starts to monitor the vehicle's status. By checking the status information reported by the vehicle, it can detect whether the vehicle is moving, vibrating, or showing signs of movement. If a vehicle remains in the same location for a long time (more than 3 days) without any orders, the server will consider the vehicle to be in an abnormal state or difficult to locate. The server can send instructions to the shared vehicles to increase the frequency of location information reporting. Therefore, the reporting frequency of the vehicle's smart lock hardware will increase, for example, from the original reporting intervals of 4 / 8 / 12 hours per day to more frequent reporting intervals of 3 / 6 / 9 / 12 hours or shorter intervals. The purpose of this is to increase the probability of successfully locating the vehicle and to increase the frequency of reporting latitude and longitude coordinates, so as to track the vehicle's location more accurately.
[0086] Furthermore, the server monitors whether shared vehicles have added new ride orders or maintenance records. If new ride orders or maintenance records are detected, the server sends a second instruction to the shared vehicle. This second instruction instructs the shared vehicle to resume reporting location information at a higher frequency.
[0087] For example, reverting to normal reporting frequency when vehicle status changes: If, during the process of increasing the reporting frequency, the vehicle is found by maintenance personnel through a vehicle search order or ridden by a user via QR code scanning, then the vehicle will no longer be in an order-free state. At this time, the server can issue a command to restore the reporting frequency of location information, instructing the vehicle to exit the high-frequency reporting mode and return to the previously set reporting interval to reduce power consumption.
[0088] This disclosure provides a solution to optimize the accuracy of shared bicycle location tracking and improve the efficiency and accuracy of bike locating during maintenance. By increasing the daily location reporting frequency in scenarios with long periods of no user use, and by integrating server-side strategy optimizations, the system determines whether the bicycle has moved based on its hardware-reported motion status. If no movement is detected, the backend uses the latitude and longitude of the last reported location, combined with the most recently reported normal location information from nearby bicycles, to supplement the current bicycle's latitude and longitude information for display on the maintenance terminal. Through both vehicle hardware and cloud-based strategies, the accuracy of bicycle location tracking is improved bidirectionally, thereby enhancing the efficiency and accuracy of bike locating during maintenance.
[0089] It should be noted that, in addition to the above-mentioned method of server-side control of the frequency of location information reporting, the vehicle smart lock hardware can also automatically determine and adjust the frequency accordingly, as detailed in the subsequent implementation descriptions.
[0090] Figure 4 A flowchart illustrating a method for locating a shared vehicle according to an embodiment of this disclosure is shown. Figure 4 As shown, this method is applied to the shared vehicle side and may include the following steps.
[0091] Step 401: The shared vehicle receives the search command sent by the server.
[0092] Step 402: The shared vehicle searches for nearby vehicles via near-field wireless communication according to the search instructions.
[0093] In some embodiments, the search command may be a Bluetooth search command; correspondingly, step 402 may specifically include: the shared vehicle searching for nearby vehicles via Bluetooth according to the Bluetooth search command.
[0094] Step 403: The shared vehicle sends the identification information of the nearby vehicles found to the server.
[0095] For example, if a shared vehicle finds the identification information of nearby vehicles via Bluetooth, it can send the identification information of the nearby vehicles to the server.
[0096] In some embodiments, the identification information can be used by the server to query whether nearby vehicles have reported location information within a preset time period, so as to determine the current location information of the shared vehicle based on the location information reported by the nearby vehicles within the preset time period.
[0097] In some embodiments, in order to further improve the accuracy of obtaining the location information of shared vehicles, the technical solution of this disclosure may further include: when it is determined from sensor information that the shared vehicle has no state change within a target time period and the duration of the target time period is greater than a predetermined duration threshold, the frequency of reporting the location information is increased, where the target time period is the time period between the end time of the last ride order of the shared vehicle and the current time.
[0098] For example, the vehicle smart lock hardware records the time when the vehicle completed its last order (let's say A). The difference between the current time (i.e., the time the system queries) and the last order time A is added to a preset time period N (N can be any length of time, such as hours, days, etc.), and the result B represents the vehicle's idle time since the last order. As the vehicle's idle time (BA=N) increases, the vehicle smart lock hardware begins to monitor the vehicle's status. Using information from sensors such as the vehicle's gravity sensor, the vehicle smart lock hardware can detect whether the vehicle is moving, vibrating, or showing signs of movement. If the vehicle remains in the same location for an extended period (more than 3 days) without any orders, the vehicle smart lock hardware considers the vehicle to be in an abnormal state or difficult to locate. Therefore, the reporting frequency of the vehicle smart lock hardware increases, for example, from the original daily reporting intervals of 4 / 8 / 12 hours to more frequent reporting intervals of 3 / 6 / 9 / 12 hours or shorter intervals. The purpose of this is to increase the probability of the vehicle being successfully located and to increase the reporting frequency of latitude and longitude coordinates for more accurate vehicle location tracking.
[0099] In some embodiments, the technical solution of this disclosure may further include: when a shared vehicle receives a first instruction sent by a server, the shared vehicle increases the frequency of reporting location information according to the first instruction. For details, please refer to the description of the foregoing embodiments, which will not be repeated here.
[0100] Furthermore, after increasing the frequency of location information reporting, the reporting frequency will be restored when a shared vehicle is scanned and ridden by a user or processed by maintenance personnel. For example, if a vehicle is found by maintenance personnel through a vehicle search order or ridden by a user after the reporting frequency is increased, the vehicle will no longer be in a state without orders. At this time, the smart lock hardware will determine whether the A+N condition (i.e., whether it is still in a state without orders or maintenance processing for an extended period) is still met based on the latest order data from the server. If the condition is not met, the vehicle will exit the high-frequency reporting mode and revert to the previously set reporting interval to reduce power consumption.
[0101] In addition, after increasing the frequency of reporting location information, when the shared vehicle receives a second instruction from the server, the shared vehicle resumes reporting location information at the same frequency according to the second instruction. For details, please refer to the description in the foregoing embodiments, which will not be repeated here.
[0102] This disclosure provides a solution to optimize the accuracy of shared bicycle location tracking and improve the efficiency and accuracy of bike locating during maintenance. By increasing the daily location reporting frequency in scenarios with long periods of no user use, and by integrating server-side strategy optimizations, the system determines whether the bicycle has moved based on its hardware-reported motion status. If no movement is detected, the backend uses the latitude and longitude of the last reported location, combined with the most recently reported normal location information from nearby bicycles, to supplement the current bicycle's latitude and longitude information for display on the maintenance terminal. Through both vehicle hardware and cloud-based strategies, the accuracy of bicycle location tracking is improved bidirectionally, thereby enhancing the efficiency and accuracy of bike locating during maintenance.
[0103] Furthermore, as a specific implementation of a server-side example, this disclosure provides a positioning device for shared vehicles, which can be applied to the server side, such as... Figure 5 As shown, the device includes: a sending module 51, a receiving module 52, a query module 53, and a determining module 54.
[0104] The sending module 51 is configured to send a search command to the shared vehicle, the search command being used to instruct the shared vehicle to search for nearby vehicles via short-range wireless communication;
[0105] The receiving module 52 is configured to receive the identification information of the nearby vehicles sent by the shared vehicle;
[0106] The query module 53 is configured to query whether the nearby vehicles have reported location information within a preset time period based on the identification information.
[0107] The determination module 54 is configured to determine the current location information of the shared vehicle based on the location information reported by the nearby vehicles if the nearby vehicles have reported location information within the preset time period.
[0108] In some embodiments, the determining module 54 is specifically configured to: obtain the location information last reported by the shared vehicle, wherein the location information last reported by the shared vehicle is non-abnormal location information; compare the location information last reported by the shared vehicle with the location information reported by nearby vehicles within the preset time period; if the deviation between the location information last reported by the shared vehicle and the location information reported by nearby vehicles within the preset time period is greater than or equal to a preset deviation threshold, then determine the location information reported by nearby vehicles within the preset time period as the current location information of the shared vehicle.
[0109] In some embodiments, the determining module 54 is further configured to determine the location information last reported by the shared vehicle as the current location information of the shared vehicle if the deviation between the location information last reported by the shared vehicle and the location information reported by the nearby vehicles within the preset time period is less than a preset deviation threshold.
[0110] In some embodiments, the sending module 51 is specifically configured to send a search command to the shared vehicle when the location information reported by the shared vehicle is abnormal and the shared vehicle has no status change within a preset time period.
[0111] In some embodiments, the determining module 54 is further configured to determine a target time period between the end time of the last ride order of the shared vehicle and the current time; the sending module 51 is further configured to send a first instruction to the shared vehicle when the duration of the target time period is greater than a predetermined duration threshold and the shared vehicle has no state change within the target time period, the first instruction being used to instruct the shared vehicle to increase the frequency of reporting location information.
[0112] In some embodiments, the sending module 51 is further configured to monitor whether the shared vehicle adds new riding orders or maintenance records; if the shared vehicle adds new riding orders or maintenance records, a second instruction is sent to the shared vehicle, the second instruction being used to instruct the shared vehicle to resume reporting location information at a certain frequency.
[0113] In some embodiments, the sending module 51 is further configured to generate an operation and maintenance intervention work order based on the current location information of the shared vehicle. The operation and maintenance intervention work order is used to instruct the operation and maintenance module to intervene in the shared vehicle.
[0114] In some embodiments, the search instruction is a Bluetooth search instruction, which instructs the shared vehicle to search for nearby vehicles via Bluetooth.
[0115] It should be noted that other corresponding descriptions of the functional units involved in the positioning device for shared vehicles provided in this embodiment can be found in the following references. Figures 1 to 4 The corresponding descriptions in [the document] will not be repeated here.
[0116] Furthermore, as a specific implementation of an example of shared vehicles, this disclosure provides a positioning device for shared vehicles, which can be applied to shared vehicles, such as... Figure 6 As shown, the device includes: a receiving module 61, a searching module 62, and a sending module 63.
[0117] The receiving module 61 is configured to receive search instructions sent by the server;
[0118] Search module 62 is configured to search for nearby vehicles of the shared vehicle via near-field wireless communication according to the search instructions;
[0119] The sending module 63 is configured to send the identification information of nearby vehicles found in the search to the server. The identification information is used by the server to query whether the nearby vehicles have reported location information within a preset time period, so as to determine the current location information of the shared vehicle based on the location information reported by the nearby vehicles within the preset time period.
[0120] In some embodiments, the sending module 63 is further configured to increase the frequency of reporting location information when it is determined from sensor information that the shared vehicle has no state change within a target time period and the duration of the target time period is greater than a predetermined duration threshold, wherein the target time period is the time period between the end time of the last ride order of the shared vehicle and the current time; or, when a first instruction is received from the server, the frequency of reporting location information is increased according to the first instruction.
[0121] In some embodiments, the sending module 63 is further configured to restore the frequency of reporting location information when the shared vehicle is scanned and ridden by a user or is handled by maintenance personnel; or, when a second instruction is received from the server, to restore the frequency of reporting location information according to the second instruction.
[0122] In some embodiments, the search instruction is a Bluetooth search instruction; the search module 62 is specifically configured to search for nearby vehicles via Bluetooth according to the Bluetooth search instruction.
[0123] It should be noted that other corresponding descriptions of the functional units involved in the positioning device for shared vehicles provided in this embodiment can be found in the following references. Figures 1 to 4 The corresponding descriptions in [the document] will not be repeated here.
[0124] Based on the above, Figures 1 to 4 As illustrated in the example, correspondingly, embodiments of this disclosure also provide a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the above-described... Figures 1 to 4 The example method shown.
[0125] Based on the above, Figures 1 to 4 As illustrated, correspondingly, this disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described... Figures 1 to 4 The example method shown.
[0126] Based on this understanding, the technical solutions of the embodiments of this disclosure can be embodied in the form of a software product. The 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 of various implementation scenarios of this disclosure.
[0127] Based on the above, Figures 1 to 4 The method shown, and Figure 5 or Figure 6 To achieve the above objectives, this disclosure also provides an electronic device, comprising a storage medium and a processor; the storage medium for storing a computer program; and the processor for executing the computer program to implement the above-described virtual device embodiments. Figures 1 to 4 The method shown.
[0128] Optionally, the aforementioned electronic device may also include a user interface, a network interface, a camera, radio frequency (RF) circuitry, sensors, audio circuitry, a Wi-Fi module, etc. The user interface may include a display screen, an input unit, etc.
[0129] Furthermore, this disclosure also provides a shared vehicle, such as a shared bicycle (or shared electric bicycle), a shared electric bicycle (or shared electric vehicle), a shared electric scooter, a shared car, a shared motorcycle, a shared truck, a shared van, a shared golf cart, etc. The shared vehicle may include, for example... Figure 5 The apparatus shown may include a computer-readable storage medium, an electronic device, or a computer program product that implements the shared vehicle side method.
[0130] Those skilled in the art will understand that the physical device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or combine certain components, or have different component arrangements.
[0131] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the aforementioned physical device, supporting the operation of information processing programs and other software and / or programs. The network communication module is used to enable communication between the various components within the storage medium, as well as communication with other hardware and software in the information processing physical device.
[0132] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented using software plus necessary general-purpose hardware platforms, or it can be implemented through hardware. This disclosure provides a solution to optimize the positioning accuracy of shared bicycles and improve the efficiency and accuracy of bike-finding during maintenance. By increasing the daily location reporting frequency in scenarios with no users for extended periods, and by integrating server-side strategy optimization, the system determines whether there is movement by reporting the vehicle's movement status through vehicle hardware. If there is no movement, the backend uses the latitude and longitude of the last reported location, combined with the most recently reported normal location information from nearby vehicles, to supplement the current vehicle's latitude and longitude information for display on the maintenance terminal. Through vehicle hardware and cloud strategies, the accuracy of vehicle positioning is improved bidirectionally, thereby enhancing the efficiency and accuracy of bike-finding during maintenance.
[0133] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the term "comprising" or any other variations thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0134] The above are merely specific embodiments of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to these embodiments, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for locating shared vehicles, characterized in that, include: Send a search command to the shared vehicle, the search command being used to instruct the shared vehicle to search for nearby vehicles via short-range wireless communication; Receive the identification information of nearby vehicles sent by the shared vehicle; Based on the identification information, query whether the nearby vehicles have reported location information within a preset time period; If the nearby vehicles have reported location information within the preset time period, the current location information of the shared vehicle is determined based on the location information reported by the nearby vehicles.
2. The method according to claim 1, characterized in that, Based on the location information reported by nearby vehicles, the current location information of the shared vehicle is determined, including: Obtain the location information last reported by the shared vehicle, which is a non-abnormal location information; The location information last reported by the shared vehicle is compared with the location information reported by the nearby vehicles within the preset time period. If the deviation between the location information last reported by the shared vehicle and the location information reported by the nearby vehicle within the preset time period is greater than or equal to a preset deviation threshold, then the location information reported by the nearby vehicle within the preset time period is determined as the current location information of the shared vehicle.
3. The method according to claim 2, characterized in that, After comparing the location information last reported by the shared vehicle with the location information reported by nearby vehicles within the preset time period, the method further includes: If the deviation between the location information last reported by the shared vehicle and the location information reported by the nearby vehicles within the preset time period is less than a preset deviation threshold, then the location information last reported by the shared vehicle will be determined as the current location information of the shared vehicle.
4. The method according to claim 1, characterized in that, Sending search instructions to shared vehicles includes: When the location information reported by the shared vehicle is abnormal, and the shared vehicle does not change its status within a preset time period, a search command is sent to the shared vehicle.
5. The method according to claim 1, characterized in that, The method further includes: Determine the target time period between the end time of the last ride order for the shared vehicle and the current time; When the duration of the target time period exceeds a predetermined time threshold and the shared vehicle does not change its status within the target time period, a first instruction is sent to the shared vehicle. The first instruction is used to instruct the shared vehicle to increase the frequency of reporting location information.
6. The method according to claim 5, characterized in that, After sending the first instruction to the shared vehicle, the method further includes: Monitor whether the shared vehicles have new ride orders or maintenance records; If a new ride order or maintenance record is detected for the shared vehicle, a second instruction is sent to the shared vehicle, which instructs the shared vehicle to resume reporting location information at a higher frequency.
7. The method according to claim 1, characterized in that, After determining the current location information of the shared vehicle based on the location information reported by the nearby vehicles, the method further includes: Based on the current location information of the shared vehicle, an operation and maintenance intervention work order is generated. The operation and maintenance intervention work order is used to instruct the operation and maintenance module to intervene in the shared vehicle.
8. The method according to any one of claims 1 to 7, characterized in that, The search command is a Bluetooth search command, which instructs the shared vehicle to search for nearby vehicles via Bluetooth.
9. A method for locating shared vehicles, characterized in that, include: Receive search commands sent by the server; According to the search instructions, nearby vehicles of the shared vehicle are searched via near-field wireless communication; The server sends the identification information of nearby vehicles found in the search. The identification information is used by the server to query whether the nearby vehicles have reported location information within a preset time period, so as to determine the current location information of the shared vehicle based on the location information reported by the nearby vehicles within the preset time period.
10. The method according to claim 9, characterized in that, The method further includes: When sensor information determines that the shared vehicle has no status change within a target time period, and the duration of the target time period is greater than a predetermined duration threshold, the frequency of reporting location information is increased. The target time period is the time between the end time of the last ride order of the shared vehicle and the current time; or, When the first instruction sent by the server is received, the frequency of reporting location information is increased according to the first instruction.
11. The method according to claim 10, characterized in that, After increasing the frequency of reporting location information, the method further includes: When the shared vehicle is ridden by a user via QR code or handled by maintenance personnel, the frequency of reporting location information is restored; or... When the second instruction sent by the server is received, the frequency of reporting location information is restored according to the second instruction.
12. The method according to any one of claims 9 to 11, characterized in that, The search command is a Bluetooth search command; The step of searching for nearby vehicles via short-range wireless communication according to the search command includes: According to the Bluetooth search command, search for nearby vehicles via Bluetooth.
13. A positioning device for shared vehicles, characterized in that, include: The sending module is configured to send a search command to the shared vehicle, the search command being used to instruct the shared vehicle to search for nearby vehicles via short-range wireless communication; The receiving module is configured to receive the identification information of nearby vehicles sent by the shared vehicle; The query module is configured to query whether the nearby vehicles have reported location information within a preset time period based on the identification information; The determination module is configured to determine the current location information of the shared vehicle based on the location information reported by the nearby vehicles if the nearby vehicles have reported location information within the preset time period.
14. A positioning device for shared vehicles, characterized in that, include: The receiving module is configured to receive search commands sent by the server; The search module is configured to search for nearby vehicles of the shared vehicle via near-field wireless communication according to the search instructions; The sending module is configured to send the identification information of nearby vehicles found in the search to the server. The identification information is used by the server to query whether the nearby vehicles have reported location information within a preset time period, so as to determine the current location information of the shared vehicle based on the location information reported by the nearby vehicles within the preset time period.
15. A positioning system for shared vehicles, characterized in that, include: A server and shared vehicles, wherein the server is configured to implement the method of any one of claims 1 to 8, and the shared vehicles are configured to implement the method of any one of claims 9 to 12.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 12.
17. An electronic device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 12.
18. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 12.
19. A shared vehicle, characterized in that, include: The apparatus of claim 14, or a computer-readable storage medium implementing the method of any one of claims 9 to 12, or an electronic device implementing the method of any one of claims 9 to 12, or a computer program product implementing the method of any one of claims 9 to 12.