Shared bicycle return reminder method, device, computer equipment and medium
By broadcasting network requests to obtain nearby vehicle location information during the shared bicycle return process, selecting the nearest return station and correcting the vehicle position, the problem of inaccurate return reminders caused by positioning drift is solved, and accurate return reminders and improved user experience are achieved.
Patent Information
- Application Number
- CN202310241821.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2043-03-10
AI Technical Summary
During the process of returning a shared bicycle, the return prompts are inaccurate due to the drift of the vehicle's positioning, making it difficult for users to accurately find the return station, affecting the success rate of returning the bicycle.
The vehicle location information of nearby return stations is obtained through broadcast networking requests, the distance is calculated and the nearest return station is selected as the target. The return reminder device corrects the vehicle position and uploads it to the backend server to provide accurate return reminders.
When the vehicle return fails, the system obtains the location information of nearby vehicles through network requests, filters out the nearest return station and corrects the vehicle location, ensuring the accuracy of the return reminder and user experience.
Smart Images

Figure CN116386307B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of shared bicycles, and in particular to a shared bicycle return reminder method, device, computer equipment, storage medium, and computer program product. Background Art
[0002] With the development of Internet technology, shared bicycles have been integrated into people's lives. People can use shared bicycles conveniently, enjoy the fun of riding, and take low-carbon and environmentally friendly travel methods to reach their destinations. It can be seen that the emergence of shared bicycles has brought great convenience to people's lives.
[0003] When using a shared bicycle, the user usually scans the code to pick up the bicycle. When the user thinks he has arrived at the return station, he clicks the return button. The background determines whether the bicycle used by the user has arrived at the return station. If it has, the return is considered successful. If it is determined that the user's vehicle has not arrived at the return station, the user will be prompted that the vehicle has not been placed in the designated return area and the return has not been successful.
[0004] In actual applications, when users need to return a vehicle, they are usually in a hurry or are not clear about the specific location of the return station. They may start clicking the return button when they are still near the return station. At this time, the background server will display the vehicle location and provide a return reminder based on the vehicle's current location. However, the return reminder may be inaccurate due to the drift of the vehicle's own positioning. Summary of the Invention
[0005] Based on this, it is necessary to provide an accurate shared bicycle return reminder method, device, computer equipment, storage medium and computer program product to address the above technical problems.
[0006] In a first aspect, the present application provides a method for prompting a shared bicycle to be returned. The method comprises:
[0007] Upload a vehicle return determination request to the backend server, the vehicle return determination request carrying the vehicle location;
[0008] When a return failure message is received, a network request is broadcasted. The return failure message is generated when the backend server determines that the vehicle is not in the return station based on the vehicle's location.
[0009] When receiving position information fed back by vehicles at different return stations in response to the broadcast networking request, obtaining distances to vehicles at different return stations;
[0010] Based on the distance to the vehicles at different return stations, the nearest return station is selected as the target return station;
[0011] According to the position of the vehicle in the target vehicle return station, the position of the vehicle itself is corrected and uploaded to the backend server, and the backend server sends a vehicle return prompt message to the user terminal.
[0012] In one embodiment, the above-mentioned shared bicycle return reminder method further includes:
[0013] When the distances to vehicles at different return stations are all greater than a preset distance upper limit, a movement prompt message is pushed to the user terminal, where the movement prompt message is used to prompt the user to move the vehicle by a preset distance;
[0014] When the distances to vehicles at different return stations are not greater than a preset upper limit, the process proceeds to the step of selecting the nearest return station as the target return station based on the distances to vehicles at different return stations.
[0015] In one embodiment, selecting the nearest return station as the target return station based on the distances to vehicles at different return stations includes:
[0016] Summarize the distances between the vehicles at each return station and the current vehicle to obtain a set of distances from multiple return stations.
[0017] For the distance set of each of the return stations, a weighted average value based on the time of operation is adopted to obtain the average distance value corresponding to each return station;
[0018] Based on the average distance, the nearest return station is selected as the target return station.
[0019] In one embodiment, the above-mentioned shared bicycle return reminder method further includes:
[0020] When receiving a failed return message, push a Bluetooth stud positioning request;
[0021] When receiving Bluetooth road stud positioning data, correct the vehicle's position according to the Bluetooth road stud positioning data;
[0022] When no Bluetooth road stud positioning data is received, a network request is broadcast.
[0023] In one embodiment, when receiving a vehicle return failure message, broadcasting a networking request includes:
[0024] When receiving a vehicle return failure message, synchronously obtaining the network broadcast request power data issued by the background server;
[0025] Broadcast a networking request according to the networking broadcast request power data.
[0026] In one embodiment, the correcting the vehicle's position based on the vehicle's position at the target vehicle return station includes:
[0027] Acquire sensor data from the vehicle acceleration sensor;
[0028] Determining the relative position relationship with the vehicle at the target vehicle return station using the sensor data;
[0029] The vehicle positioning position is corrected based on the relative position relationship and the position of the vehicle at the target vehicle return site.
[0030] In a second aspect, a shared bicycle return reminder device is provided, the device comprising:
[0031] A request uploading module is used to upload a vehicle return determination request to a backend server, wherein the vehicle return determination request carries the vehicle location;
[0032] a broadcast networking module, configured to broadcast a networking request upon receiving a vehicle return failure message, wherein the vehicle return failure message is generated when the backend server determines that the vehicle is not within the vehicle return station based on the vehicle positioning position;
[0033] a distance acquisition module, configured to acquire the distance to the vehicles at different return stations upon receiving the position information fed back by the vehicles at different return stations in response to the broadcast networking request;
[0034] The vehicle return station selection module is used to select the nearest vehicle return station as the target vehicle return station based on the distance to the vehicles at different vehicle return stations;
[0035] The prompt module is used to correct the position of the vehicle according to the position of the vehicle in the target return station and upload it to the backend server, and the backend server sends a return reminder message to the user terminal.
[0036] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0037] Upload a vehicle return determination request to the backend server, the vehicle return determination request carrying the vehicle location;
[0038] When a return failure message is received, a network request is broadcasted. The return failure message is generated when the backend server determines that the vehicle is not in the return station based on the vehicle's location.
[0039] When receiving position information fed back by vehicles at different return stations in response to the broadcast networking request, obtaining distances to vehicles at different return stations;
[0040] Based on the distance to the vehicles at different return stations, the nearest return station is selected as the target return station;
[0041] According to the position of the vehicle in the target vehicle return station, the position of the vehicle itself is corrected and uploaded to the backend server, and the backend server sends a vehicle return prompt message to the user terminal.
[0042] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:
[0043] Upload a vehicle return determination request to the backend server, the vehicle return determination request carrying the vehicle location;
[0044] When a return failure message is received, a network request is broadcasted. The return failure message is generated when the backend server determines that the vehicle is not in the return station based on the vehicle's location.
[0045] When receiving position information fed back by vehicles at different return stations in response to the broadcast networking request, obtaining distances to vehicles at different return stations;
[0046] Based on the distance to the vehicles at different return stations, the nearest return station is selected as the target return station;
[0047] According to the position of the vehicle in the target vehicle return station, the position of the vehicle itself is corrected and uploaded to the backend server, and the backend server sends a vehicle return prompt message to the user terminal.
[0048] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the following steps:
[0049] Upload a vehicle return determination request to the backend server, the vehicle return determination request carrying the vehicle location;
[0050] When a return failure message is received, a network request is broadcasted. The return failure message is generated when the backend server determines that the vehicle is not in the return station based on the vehicle's location.
[0051] When receiving position information fed back by vehicles at different return stations in response to the broadcast networking request, obtaining distances to vehicles at different return stations;
[0052] Based on the distance to the vehicles at different return stations, the nearest return station is selected as the target return station;
[0053] According to the position of the vehicle in the target vehicle return station, the position of the vehicle itself is corrected and uploaded to the backend server, and the backend server sends a vehicle return prompt message to the user terminal.
[0054] The above-mentioned shared bicycle return reminder method, device, computer equipment, storage medium and storage medium upload a return determination request to the backend server; when a return failure message is received, a network request is broadcast; when the position information of vehicles at different return stations in response to the broadcast network request is received, the distance to the vehicles at different return stations is obtained; based on the distance to the vehicles at different return stations, the nearest return station is selected as the target return station; based on the position of the vehicle at the target return station, the position of the own vehicle is corrected and uploaded to the backend server, and the backend server sends a return reminder message to the user terminal. Throughout the entire process, when the return fails, the distance to the vehicle at the nearby return station is obtained through a broadcast network request, and the nearest target return station is selected. The position of the own vehicle is corrected based on the position of the vehicle at the target return station, so that the self-position can be accurately corrected. Under the premise of accurate position positioning, accurate shared bicycle return reminders can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 A schematic diagram of an application scenario of a shared bicycle return reminder method in a specific application example;
[0056] Figure 2 1. A flowchart of a shared bicycle return reminder method according to an embodiment;
[0057] Figure 3 A flowchart of a shared bicycle return reminder method according to another embodiment;
[0058] Figure 4 1. A flowchart of a shared bicycle return reminder method in another embodiment;
[0059] Figure 5 This is a structural block diagram of a shared bicycle return reminder device in one embodiment;
[0060] Figure 6 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0062] The shared bicycle return reminder method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the shared bicycle 102 communicates with the background server 104 through the network. The data storage system can store the data that the background server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The user operates on the shared bicycle 102 side. When the user needs to return the bicycle, he clicks the return button (the button can be a button on the shared bicycle, or a virtual button on the user terminal wirelessly connected to the shared bicycle). At this time, the shared bicycle 102 uploads the return judgment request to the background server 104. When a return failure message is received, a network request is broadcast to the shared bicycles at different return stations in the surrounding area, and the location information of the vehicles at different return stations in response to the broadcast network request is received. The distance to the vehicles at different return stations is obtained; based on the distance to the vehicles at different return stations, the nearest return station is selected as the target return station; based on the position of the vehicle at the target return station, the position of the vehicle itself is corrected and uploaded to the background server, and the background server sends a return reminder message to the user terminal. The background server 104 can be implemented as an independent server or a server cluster consisting of multiple servers.
[0063] like Figure 2 As shown, this application provides a shared bicycle return reminder method. The method includes:
[0064] S100: Upload a vehicle return determination request to a backend server, where the vehicle return determination request carries the vehicle location.
[0065] When a user needs to return a bike, they can do so from the bike itself or on their terminal by clicking the "Return" button. This initiates short-range communication between the user terminal and the shared bike, which then sends a return request to the backend server, requesting it to determine whether the bike can be returned normally, specifically whether the user has parked the bike at the return station (or area). This return request includes the bike's location, as determined by the bike's own positioning capabilities / tools.
[0066] S200: When a vehicle return failure message is received, a network request is broadcast. The vehicle return failure message is generated when the backend server determines that the vehicle is not in the vehicle return station based on the vehicle positioning position.
[0067] After receiving the return determination request, the backend server extracts the shared bicycle's positioning position from the return determination request, and determines whether the shared bicycle has been parked in the preset return area (return station) based on the positioning position. If so, a return success message will be sent; if not, a return failure message will be sent. In actual applications, the user may be in a hurry to return the bicycle and click the return button before arriving at the return station; or the return station is not clearly marked and the location of the return station cannot be determined; or the vehicle's own positioning function is abnormal, resulting in inaccurate positioning, and the address uploaded to the backend server is inaccurate, resulting in a return failure. On the shared bicycle side, when a return failure message is received, the shared bicycle will broadcast a networking request to request to form a network with other vehicles parked nearby (other shared bicycles). These other vehicles can specifically be vehicles at multiple different return stations. The network request is used to request to form a local area network with other vehicles parked nearby. The network request can be a network request for various types of short-range communications, such as Bluetooth network request, radio frequency network request, near-field communication network request, etc. The specific network request communication method can be selected based on the actual application situation (mainly considering the distance factor).
[0068] S300: When receiving position information fed back by vehicles at different vehicle return sites in response to a broadcast networking request, obtaining distances to vehicles at different vehicle return sites.
[0069] There may be multiple different return stations around the current vehicle, and multiple shared bicycles are parked in these different return stations. These shared bicycles are collectively referred to as adjacent vehicles. After receiving the networking request, these adjacent vehicles establish a communication network with the current vehicle, that is, these adjacent vehicles can transmit data with the current vehicle. At this time, these adjacent vehicles will feed back their own positioning positions to the current vehicle. Since these adjacent vehicles are generally vehicles that have been successfully returned normally, their positioning functions are generally normal. Therefore, it is possible to consider using the positions of these adjacent vehicles to correct the positioning position of the current vehicle. Specifically, the distance to the vehicles in different return stations is first obtained here. This distance detection can be obtained based on Bluetooth networking ranging. Furthermore, the distances of vehicles in the same return station can be aggregated for subsequent further data processing.
[0070] S400: Selecting the nearest return station as the target return station based on the distances to the vehicles at different return stations.
[0071] Based on the distance to the vehicles at different return stations, the distance between the current vehicle and each return station is further determined, and the return station with the closest distance is selected as the target return station. Furthermore, for the same return station, the distance to the return station can be determined by taking the average value. Taking return station A as an example, assuming that its parked vehicles include shared bicycle A1, shared bicycle A2, shared bicycle A3 and shared bicycle A4, and their distances from the current vehicle are d1, d2, d3 and d4 respectively, the average value of the distances d1, d2, d3 and d4 can be calculated to get the distance to return station A; based on the same method, the distances to return station B, exchange station C, etc. are calculated, and the nearest return station is selected as the target return station. In actual application, taking a shared bicycle as an example, based on the distance between the current vehicle and the vehicles at return station A, the distance between the current vehicle and return station A is determined to be 2 meters; based on the distance between the current vehicle and the vehicles at return station B, the distance between the current vehicle and return station B is determined to be 18 meters, then return station A is selected as the target return station.
[0072] S500: According to the position of the vehicle at the target return station, the vehicle position is corrected and uploaded to the backend server, which then sends a return reminder message to the user terminal.
[0073] As mentioned above, the vehicles at the exchange station are generally shared bicycles that have been successfully returned and have a high probability of normal positioning functions. Therefore, the current vehicle's own vehicle position can be corrected based on these shared bicycles. Specifically, a single vehicle can be arbitrarily selected from the target return station as the target vehicle. Based on the relative position relationship between the current vehicle and the target vehicle and the previously acquired distance parameters from the target vehicle, the current vehicle position is corrected based on the target vehicle position to obtain the corrected current vehicle position. The current vehicle then uploads the corrected current vehicle position to the backend server. At this point, the backend server has obtained the accurate current vehicle position. The backend server can then send a return reminder message to the user terminal. This reminder message can carry the corrected current vehicle position and navigation information to the target return point generated based on the current vehicle position, such as 3 meters to go, 15 degrees to the upper left corner, and 5 meters to go, etc., to accurately prompt the user to return the vehicle to the return station, providing a good user experience.
[0074] The above-mentioned shared bicycle return reminder method uploads a return determination request to the backend server; when a return failure message is received, a network request is broadcast; when the location information of vehicles at different return stations in response to the broadcast network request is received, the distance to the vehicles at different return stations is obtained; based on the distance to the vehicles at different return stations, the nearest return station is selected as the target return station; based on the position of the vehicle at the target return station, the vehicle's own position is corrected and uploaded to the backend server, which then sends a return reminder message to the user terminal. Throughout the entire process, when a return fails, the distance to the vehicle at the nearby return station is obtained through a broadcast network request, and the nearest target return station is selected. The vehicle's own position is corrected based on the position of the vehicle at the target return station, which enables accurate self-position correction and accurate shared bicycle return reminders under the premise of accurate positioning.
[0075] In one embodiment, the above-mentioned shared bicycle return reminder method further includes:
[0076] When the distances to vehicles at different return stations are all greater than a preset distance upper limit, a movement prompt message is pushed to the user terminal, and the movement prompt message is used to prompt that the vehicle needs to be moved a preset distance; when the distances to vehicles at different return stations are not greater than the preset distance upper limit, the step of selecting the nearest return station as the target return station based on the distances to vehicles at different return stations is entered.
[0077] The preset distance upper limit is a pre-set distance threshold, which is used to characterize the maximum distance value allowed for deviation. If this distance is exceeded, no accurate vehicle return reminder service will be provided. Therefore, the user needs to be prompted to move the vehicle a certain distance to get closer to any vehicle return station. Specifically, the preset distance upper limit can be 20 meters. In actual application, when the distance between the current vehicle and vehicles in different vehicle exchange stations is greater than 20 meters, the current vehicle pushes a movement reminder message to the user terminal to prompt the user to move the vehicle a certain distance and try again, for example, move 20 meters and try again; when the distance to vehicles in different vehicle return stations is not greater than 20 meters, the next step is to select the nearest vehicle return station as the target vehicle return station based on the distance to vehicles in different vehicle return stations.
[0078] like Figure 3 As shown, in one embodiment, S400 includes:
[0079] S420: Summarize the distances between the vehicles at each return station and the current vehicle to obtain a set of distances from multiple different return stations;
[0080] S440: For each set of distances to the return station, a weighted average value based on the time of operation is taken to obtain an average distance value corresponding to each return station;
[0081] S460: Based on the average distance, select the nearest return station as the target return station.
[0082] The distances between the current vehicle and the vehicle's return station are aggregated based on the vehicle's assigned return station, resulting in multiple distance sets for different return stations. For each distance set, a confidence-based weighted average is used to calculate the average distance between the current vehicle and each return station. This weighting is based on the vehicle's operational age, which is inversely correlated with the vehicle's operational age. The longer the operational age, the smaller the weight; the shorter the operational age, the larger the weight. The operational age can be calculated in months or years. The vehicle's operational age can be fed back to the current vehicle when it reports its location information, for example, reporting that the vehicle has been in operation for 3 months, 6 months, or 9 months. The current vehicle is assigned a weight coefficient based on the operational age reported by vehicles at different return stations, and then a weighted average is used to calculate the average distance for each return station. In this embodiment, a weighted average method based on the time of operation is adopted to calculate the average distance corresponding to each transfer station, fully considering the impact of different time of operation on the vehicle distance positioning accuracy, so as to obtain a more accurate average distance corresponding to each transfer station.
[0083] In one embodiment, the above-mentioned shared bicycle return reminder method further includes:
[0084] When a return failure message is received, a Bluetooth road stud positioning request is pushed; when Bluetooth road stud positioning data is received, the vehicle's own position is corrected based on the Bluetooth road stud positioning data; when no Bluetooth road stud positioning data is received, a networking request is broadcast.
[0085] When the current vehicle receives a return failure message, since the current vehicle is already near the return station, there may be Bluetooth road studs nearby for assisting precise positioning. At this time, the current vehicle can attempt to push a Bluetooth road stud positioning request. If there are Bluetooth road studs nearby, the Bluetooth road studs can be used for auxiliary precise positioning. At this time, the Bluetooth road stud positioning data is received and the vehicle's own position is corrected based on the Bluetooth road stud positioning data. If no Bluetooth road stud positioning data is received, it indicates that there are no Bluetooth road studs nearby and the current vehicle cannot achieve auxiliary precise positioning based on Bluetooth road studs. At this time, a networking request is broadcast, and the vehicle's own positioning is achieved by choosing to use the networking and auxiliary positioning method of adjacent vehicles to achieve auxiliary positioning.
[0086] like Figure 4 As shown, in one embodiment, S200 includes:
[0087] S220: When receiving a vehicle return failure message, synchronously obtain the network broadcast request power data sent by the background server;
[0088] S240: Broadcast the networking request according to the network broadcast request power data.
[0089] In this embodiment, when the current vehicle receives a return failure message, it also synchronously receives the network broadcast request power data sent by the backend server. The network broadcast request power data directly affects (controls) the radius of the current vehicle's broadcast network request. When the network broadcast request power data indicates a higher power, the coverage of the network request will be larger. At this time, the current vehicle can receive more location information fed back by adjacent vehicles and make more diverse choices. When the network broadcast request power data indicates a lower power, the coverage of the network request will be smaller. The specific network broadcast request power data can be determined based on the maximum distance between adjacent return stations in the shared bicycle operation network. The maximum distance between adjacent return stations is determined based on the actual operation plan, for example, it can be 20 meters, 50 meters, etc.
[0090] In one embodiment, correcting the vehicle's position based on the vehicle's position at the target vehicle return station includes:
[0091] Acquire sensor data from the vehicle's acceleration sensor; determine the relative position relationship with the vehicle at the target return station through the sensor data; and correct the vehicle's positioning position based on the relative position relationship and the position of the vehicle at the target return station.
[0092] The sensing data of the vehicle acceleration sensor refers to the sensor of the acceleration sensor carried by the shared bicycle itself. Based on these sensing data, the current motion state of the shared bicycle can be sensed, including the motion direction, motion speed, etc. On the basis of sensing the current motion state of the shared bicycle, the relative motion state of the shared bicycle relative to the vehicle in the target return station can be detected, and then the relative position relationship between the current vehicle and the vehicle in the target return station can be determined. Since the vehicle in the target return station is a normal return vehicle, its positioning function is generally normal. Therefore, it is possible to consider correcting the positioning position of the current vehicle based on the positioning position of the vehicle in the target return station. The specific correction is based on the obtained relative position relationship and the position of the vehicle in the target return station, so that the accurate positioning position of the current vehicle can be obtained.
[0093] Specifically, acquiring sensor data from the vehicle's acceleration sensor includes acquiring sensor data from the vehicle's six-axis acceleration sensor. In this embodiment, acquiring sensor data from the vehicle's six-axis acceleration sensor to sense the shared bicycle's motion state can more accurately detect and sense the shared bicycle's motion state, supporting subsequent more accurate vehicle positioning correction.
[0094] It should be understood that, although the steps in the above-mentioned flowcharts are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the above-mentioned flowcharts may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily to be performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0095] like Figure 5 As shown, the present application also provides a shared bicycle return reminder device, which includes:
[0096] The request uploading module 100 is used to upload the vehicle return determination request to the backend server, and the vehicle return determination request carries the vehicle location;
[0097] The broadcast networking module 200 is used to broadcast a networking request when a return failure message is received. The return failure message is generated by the backend server when the backend server determines that the vehicle is not in the return station based on the vehicle positioning position;
[0098] The distance acquisition module 300 is used to obtain the distance to the vehicles at different return stations when receiving the position information fed back by the vehicles at different return stations in response to the broadcast networking request;
[0099] The vehicle return station selection module 400 is used to select the nearest vehicle return station as the target vehicle return station based on the distance to the vehicles at different vehicle return stations;
[0100] The prompt module 500 is used to correct the position of the vehicle according to the position of the vehicle in the target return station and upload it to the backend server, which then sends a return reminder message to the user terminal.
[0101] The above-mentioned shared bicycle return reminder device uploads a return determination request to the backend server; when a return failure message is received, a networking request is broadcast; when the location information of vehicles at different return stations in response to the broadcast networking request is received, the distance to the vehicles at different return stations is obtained; based on the distance to the vehicles at different return stations, the nearest return station is selected as the target return station; based on the position of the vehicle at the target return station, the position of the own vehicle is corrected and uploaded to the backend server, which then sends a return reminder message to the user terminal. During the entire process, when a return fails, the distance to the vehicle at the nearby return station is obtained through a broadcast networking request, and the nearest target return station is selected. The position of the own vehicle is corrected based on the position of the vehicle at the target return station, which can achieve accurate self-position correction and provide accurate shared bicycle return reminders under the premise of accurate positioning.
[0102] In one embodiment, the return station selection module 400 is further configured to push a movement prompt message to the user terminal when the distances to vehicles at different return stations are all greater than a preset distance upper limit. The movement prompt message is configured to prompt the user terminal to move the vehicle by a preset distance. When the distances to vehicles at different return stations are not greater than the preset distance upper limit, the nearest return station is selected as the target return station based on the distances to vehicles at different return stations.
[0103] In one embodiment, the return station selection module 400 is further configured to aggregate the distances between the current vehicle and the vehicles at each return station to obtain a set of distances from multiple different return stations; a weighted average value based on the operating time is taken for the distance set of each return station to obtain an average distance value corresponding to each return station; and based on the average distance value, the nearest return station is selected as the target return station.
[0104] In one embodiment, the broadcast networking module 200 is further configured to push a Bluetooth road stud positioning request when a vehicle return failure message is received; correct the vehicle's own position based on the Bluetooth road stud positioning data when Bluetooth road stud positioning data is received; and broadcast a networking request when no Bluetooth road stud positioning data is received.
[0105] In one embodiment, the broadcast networking module 200 is further configured to synchronously obtain the networking broadcast request power data sent by the background server when receiving a vehicle return failure message; and broadcast the networking request according to the networking broadcast request power data.
[0106] In one embodiment, the prompt module 500 is further configured to obtain sensor data from a vehicle acceleration sensor; determine a relative position relationship with a vehicle at a target vehicle return station through the sensor data; and correct the vehicle positioning position based on the relative position relationship and the position of the vehicle at the target vehicle return station.
[0107] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, memory, communication interface, display screen and input device connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, it implements a shared bicycle return reminder method.
[0108] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0109] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0110] Upload the vehicle return determination request to the backend server, and the vehicle return determination request carries the vehicle location;
[0111] When a return failure message is received, a network request is broadcast. The return failure message is generated by the backend server when it determines that the vehicle is not in the return station based on the vehicle's location;
[0112] When receiving the position information fed back by vehicles at different return stations in response to the broadcast networking request, the distance to the vehicles at different return stations is obtained;
[0113] Based on the distance to the vehicles at different return stations, the nearest return station is selected as the target return station;
[0114] According to the position of the vehicle at the target return station, the vehicle's own position is corrected and uploaded to the backend server, which then sends a return reminder message to the user terminal.
[0115] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0116] When the distances to vehicles at different return stations are all greater than a preset distance upper limit, a movement prompt message is pushed to the user terminal, and the movement prompt message is used to prompt that the vehicle needs to be moved a preset distance; when the distances to vehicles at different return stations are not greater than the preset distance upper limit, the step of selecting the nearest return station as the target return station based on the distances to vehicles at different return stations is entered.
[0117] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0118] The distances between the vehicles at each return station and the current vehicle are aggregated to obtain a set of distances from multiple return stations. For the distance set of a single return station, a weighted average based on the operating time is taken to obtain the average distance corresponding to each return station. Based on the average distance, the nearest return station is selected as the target return station.
[0119] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0120] When a return failure message is received, a Bluetooth road stud positioning request is pushed; when Bluetooth road stud positioning data is received, the vehicle's own position is corrected based on the Bluetooth road stud positioning data; when no Bluetooth road stud positioning data is received, a networking request is broadcast.
[0121] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0122] When a vehicle return failure message is received, the network broadcast request power data sent by the background server is synchronously obtained; and the network request is broadcast according to the network broadcast request power data.
[0123] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0124] Acquire sensor data from the vehicle's acceleration sensor; determine the relative position relationship with the vehicle at the target return station through the sensor data; and correct the vehicle's positioning position based on the relative position relationship and the position of the vehicle at the target return station.
[0125] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0126] Upload the vehicle return determination request to the backend server, and the vehicle return determination request carries the vehicle location;
[0127] When a return failure message is received, a network request is broadcast. The return failure message is generated by the backend server when it determines that the vehicle is not in the return station based on the vehicle's location;
[0128] When receiving the position information fed back by vehicles at different return stations in response to the broadcast networking request, the distance to the vehicles at different return stations is obtained;
[0129] Based on the distance to the vehicles at different return stations, the nearest return station is selected as the target return station;
[0130] According to the position of the vehicle at the target return station, the vehicle's own position is corrected and uploaded to the backend server, which then sends a return reminder message to the user terminal.
[0131] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0132] When the distances to vehicles at different return stations are all greater than a preset distance upper limit, a movement prompt message is pushed to the user terminal, and the movement prompt message is used to prompt that the vehicle needs to be moved a preset distance; when the distances to vehicles at different return stations are not greater than the preset distance upper limit, the step of selecting the nearest return station as the target return station based on the distances to vehicles at different return stations is entered.
[0133] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0134] The distances between the vehicles at each return station and the current vehicle are aggregated to obtain a set of distances from multiple return stations. For the distance set of a single return station, a weighted average based on the operating time is taken to obtain the average distance corresponding to each return station. Based on the average distance, the nearest return station is selected as the target return station.
[0135] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0136] When a return failure message is received, a Bluetooth road stud positioning request is pushed; when Bluetooth road stud positioning data is received, the vehicle's own position is corrected based on the Bluetooth road stud positioning data; when no Bluetooth road stud positioning data is received, a networking request is broadcast.
[0137] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0138] When a vehicle return failure message is received, the network broadcast request power data sent by the background server is synchronously obtained; and the network request is broadcast according to the network broadcast request power data.
[0139] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0140] Acquire sensor data from the vehicle's acceleration sensor; determine the relative position relationship with the vehicle at the target return station through the sensor data; and correct the vehicle's positioning position based on the relative position relationship and the position of the vehicle at the target return station.
[0141] In one embodiment, a computer program product is provided. The computer program product includes a computer program that, when executed by a processor, implements the following steps:
[0142] Upload the vehicle return determination request to the backend server, and the vehicle return determination request carries the vehicle location;
[0143] When a return failure message is received, a network request is broadcast. The return failure message is generated by the backend server when it determines that the vehicle is not in the return station based on the vehicle's location;
[0144] When receiving the position information fed back by vehicles at different return stations in response to the broadcast networking request, the distance to the vehicles at different return stations is obtained;
[0145] Based on the distance to the vehicles at different return stations, the nearest return station is selected as the target return station;
[0146] According to the position of the vehicle at the target return station, the vehicle's own position is corrected and uploaded to the backend server, which then sends a return reminder message to the user terminal.
[0147] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0148] When the distances to vehicles at different return stations are all greater than a preset distance upper limit, a movement prompt message is pushed to the user terminal, and the movement prompt message is used to prompt that the vehicle needs to be moved a preset distance; when the distances to vehicles at different return stations are not greater than the preset distance upper limit, the step of selecting the nearest return station as the target return station based on the distances to vehicles at different return stations is entered.
[0149] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0150] The distances between the vehicles at each return station and the current vehicle are aggregated to obtain a set of distances from multiple return stations. For the distance set of a single return station, a weighted average based on the operating time is taken to obtain the average distance corresponding to each return station. Based on the average distance, the nearest return station is selected as the target return station.
[0151] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0152] When a return failure message is received, a Bluetooth road stud positioning request is pushed; when Bluetooth road stud positioning data is received, the vehicle's own position is corrected based on the Bluetooth road stud positioning data; when no Bluetooth road stud positioning data is received, a networking request is broadcast.
[0153] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0154] When a vehicle return failure message is received, the network broadcast request power data sent by the background server is synchronously obtained; and the network request is broadcast according to the network broadcast request power data.
[0155] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0156] Acquire sensor data from the vehicle's acceleration sensor; determine the relative position relationship with the vehicle at the target return station through the sensor data; and correct the vehicle's positioning position based on the relative position relationship and the position of the vehicle at the target return station.
[0157] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the above-mentioned computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0158] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0159] The above embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A shared bicycle return reminder method, characterized in that: The method comprises: Upload a vehicle return determination request to the backend server, the vehicle return determination request carrying the vehicle location; When a vehicle return failure message is received, a network formation request is broadcasted. The network formation request is used to request the formation of a local area network with vehicles parked at multiple different vehicle return locations. When receiving position information fed back by vehicles at different return stations in response to the broadcast networking request, obtaining distances to vehicles at different return stations; Based on the distance to the vehicles at different return stations, the nearest return station is selected as the target return station; According to the position of the vehicle at the target return station, the position of the vehicle itself is corrected and uploaded to the backend server, and the backend server sends a return reminder message to the user terminal; The selecting the nearest return station as the target return station based on the distances to vehicles at different return stations includes: aggregating the distances between vehicles at each return station and the current vehicle to obtain a set of distances from multiple return stations; taking a weighted average of the distances from each return station based on the operating time to obtain an average distance value corresponding to each return station; and selecting the nearest return station as the target return station based on the average distance value.
2. The method according to claim 1, characterized in that Also includes: When the distances to vehicles at different return stations are all greater than a preset distance upper limit, a movement prompt message is pushed to the user terminal, where the movement prompt message is used to prompt the user to move the vehicle by a preset distance; When the distances to vehicles at different return stations are not greater than a preset upper limit, the process proceeds to the step of selecting the nearest return station as the target return station based on the distances to vehicles at different return stations.
3. The method according to claim 1, characterized in that Also includes: When receiving a failed return message, push a Bluetooth stud positioning request; When receiving Bluetooth road stud positioning data, correct the vehicle's position according to the Bluetooth road stud positioning data; When no Bluetooth road stud positioning data is received, a network request is broadcast.
4. The method according to claim 1, wherein When receiving a vehicle return failure message, the broadcast networking request includes: When receiving a vehicle return failure message, synchronously obtaining the network broadcast request power data issued by the background server; Broadcast a networking request according to the networking broadcast request power data.
5. The method according to claim 1, wherein The correcting the position of the own vehicle according to the position of the vehicle at the target vehicle return station includes: Acquire sensor data from the vehicle acceleration sensor; Determining the relative position relationship with the vehicle at the target vehicle return station using the sensor data; The vehicle positioning position is corrected based on the relative position relationship and the position of the vehicle at the target vehicle return site.
6. A shared bicycle return reminder device, characterized in that: The device comprises: A vehicle return determination request uploading module is used to upload a vehicle return determination request to a backend server, wherein the vehicle return determination request carries the vehicle location; a broadcast networking module, configured to broadcast a networking request upon receiving a vehicle return failure message, wherein the vehicle return failure message is generated by the backend server when the backend server determines based on the vehicle's location that the vehicle is not within the vehicle return station; the networking request is configured to request the establishment of a local area network with vehicles parked at multiple different vehicle return stations; a distance acquisition module, configured to acquire the distance to the vehicles at different return stations upon receiving the position information fed back by the vehicles at different return stations in response to the broadcast networking request; The vehicle return station selection module is used to select the nearest vehicle return station as the target vehicle return station based on the distance to the vehicles at different vehicle return stations; a prompt module, configured to correct the position of the vehicle according to the position of the vehicle at the target return station, and upload the correct position to the backend server, which then sends a return reminder message to the user terminal; The return station selection module is further configured to aggregate the distances between the current vehicle and the vehicles at each return station to obtain a set of distances from multiple different return stations; for each of the return station distance sets, a weighted average value based on the operating time is taken to obtain an average distance value corresponding to each of the return stations; and based on the average distance value, the nearest return station is selected as the target return station.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
9. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.