A method, device and server for returning a shared vehicle

By selecting target locations with a distance less than or equal to a preset distance during the shared vehicle return process, the problem of insufficient GPS positioning accuracy is solved, resulting in higher return efficiency and success rate.

CN115550847BActive Publication Date: 2025-12-12HANHAI INFORMATION TECH SHANGHAI
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211143924.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-20
Publication Date
2025-12-12
Estimated Expiration
2042-09-20

AI Technical Summary

Technical Problem

Existing shared vehicle return solutions rely on GPS positioning, which leads to reduced positioning accuracy and success rate in complex environments, affecting return efficiency and success rate.

Method used

By detecting shared vehicle return events, the system obtains the initial location and selects target locations with a distance less than or equal to a preset distance from these locations. It then determines whether the vehicle is parked within the designated parking area and controls the vehicle to lock.

Benefits of technology

This improved the accuracy of the detection of shared vehicles parked at designated locations, thus increasing the efficiency and success rate of vehicle returns.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115550847B_ABST
    Figure CN115550847B_ABST
Patent Text Reader

Abstract

The disclosure provides a shared vehicle returning processing method, device and server, and the method comprises the following steps: detecting whether a shared vehicle has a returning event; in the case that it is detected that the shared vehicle has the returning event, acquiring an initial positioning position of the shared vehicle; selecting at least two target positioning positions from the initial positioning position, wherein the distance between any two target positioning positions is less than or equal to a preset distance; detecting whether the shared vehicle is parked in a set parking fence according to the target positioning position; in the case that the shared vehicle is parked in the parking fence, controlling the shared vehicle to lock.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present disclosure relate to the field of vehicle control of shared vehicles, and more particularly, to a shared vehicle returning method, device and server. BACKGROUND

[0002] At present, shared vehicles have become a new way of travel in cities, which can effectively solve the travel needs of urban population. The existing shared vehicles include ordinary bicycles provided by users with riding power, and electric bicycles with power-assisted motors.

[0003] For shared vehicles, fixed-point parking is currently required, that is, the user needs to park the shared vehicle in the set parking fence to complete the returning. In order to realize fixed-point parking, the existing returning processing scheme is that the server requests the shared vehicle to provide its positioning location when receiving the lock request of a shared vehicle, and the server detects whether the shared vehicle is located in the set parking fence according to the positioning location returned by the shared vehicle, thereby realizing fixed-point parking control.

[0004] For the above returning processing scheme, on the one hand, it depends on the positioning result of the GPS positioning device. In a complex environment, the positioning time and accuracy will be reduced, resulting in inaccurate detection result of whether the shared vehicle is parked at the fixed point, which will affect the user's returning time and success rate and affect the user's returning experience. Therefore, in the application of fixed-point parking, it is necessary to provide a returning processing method which is conducive to improving the returning efficiency and success rate. SUMMARY

[0005] An object of the embodiments of the present disclosure is to provide a new returning processing scheme of shared vehicles to improve the returning efficiency and success rate.

[0006] According to a first aspect of the present disclosure, a shared vehicle returning processing method is provided, comprising:

[0007] detecting whether a returning event of the shared vehicle occurs;

[0008] acquiring an initial positioning location of the shared vehicle when it is detected that the returning event of the shared vehicle occurs;

[0009] selecting at least two target positioning locations from the initial positioning location, wherein the distance between any two target positioning locations is less than or equal to a preset distance;

[0010] detecting whether the shared vehicle is parked in a set parking fence according to the target positioning locations;

[0011] In a case that the shared vehicle is parked in the parking fence, the shared vehicle is controlled to be locked.

[0012] Optionally, the selecting the at least two target positioning positions from the initial positioning positions comprises:

[0013] The initial positioning positions are clustered based on the preset distance, to obtain at least one positioning position class, and the positioning position class comprises at least one initial positioning position;

[0014] A target positioning position class is selected from the positioning position classes, and the target positioning position class comprises at least two initial positioning positions.

[0015] The initial positioning positions comprised by the target positioning position class are taken as the target positioning positions.

[0016] Optionally, the number of the positioning position classes comprising at least two initial positioning positions is at least two, and the selecting the target positioning position class from the positioning position classes comprises:

[0017] A positioning position class comprising at least two initial positioning positions is selected as a candidate positioning position class.

[0018] The farthest distance between the initial positioning positions comprised in the candidate positioning position class is determined.

[0019] The candidate positioning position class with a smaller farthest distance is taken as the target positioning position class.

[0020] Optionally, the obtaining the initial positioning position of the shared vehicle comprises:

[0021] A first positioning position collected by the shared vehicle is obtained as the initial positioning position, and the first positioning position is collected by the shared vehicle in a case that the shared vehicle is in a stationary state before the returning event occurs; and / or,

[0022] A second positioning position collected by a user terminal using the shared vehicle is obtained as the initial positioning position, and the second positioning position is collected by the user terminal within a first set time period before the returning event occurs.

[0023] Optionally, the method further comprises:

[0024] The initial positioning positions are filtered to filter repeated initial positioning positions and / or initial positioning positions with a collection time length exceeding a set time length.

[0025] After the filtering of the initial positioning positions, if the number of the initial positioning positions is greater than a first set value, the step of selecting at least two target positioning positions from the initial positioning positions is performed.

[0026] Optionally, the method further comprises:

[0027] If the number of the initial positioning positions is less than or equal to the first set value, it is determined whether the number of times of obtaining the initial positioning positions of the shared vehicle reaches a preset number threshold value;

[0028] If the number of times reaches the number threshold value, it is determined that the shared vehicle is parked in the parking fence;

[0029] If the number of times does not reach the number threshold value, the initial positioning positions of the shared vehicle in a second set time period are re-obtained.

[0030] Optionally, the method further comprises:

[0031] If the target positioning position is not included in the initial positioning positions, it is detected whether the initial positioning positions are located in the effective range of the parking fence; if any of the initial positioning positions is located in the effective range of the parking fence, it is determined that the shared vehicle is parked in the parking fence.

[0032] Alternatively,

[0033] If the target positioning position is not included in the initial positioning positions, the initial positioning positions are sorted according to positioning accuracy, and a sorting value of the initial positioning positions is obtained; and it is detected whether the shared vehicle is parked in the parking fence according to the initial positioning position with the second set sorting value.

[0034] Optionally, the detection of whether the shared vehicle is parked in the set parking fence according to the target positioning position comprises:

[0035] It is detected whether the target positioning position is located in the effective range of the parking fence;

[0036] If any of the target positioning positions is located in the effective range of the parking fence, it is determined that the shared vehicle is parked in the parking fence.

[0037] According to a second aspect of the present disclosure, a shared vehicle returning processing device is provided, comprising:

[0038] An event detection module is configured to detect whether a returning event of the shared vehicle occurs.

[0039] An initial position acquisition module is configured to acquire an initial positioning position of the shared vehicle when it is detected that the shared vehicle has the parking event;

[0040] A target position acquisition module is configured to select at least two target positioning positions from the initial positioning position, wherein the distance between any two target positioning positions is less than or equal to a preset distance;

[0041] A parking detection module is configured to detect whether the shared vehicle is parked within a set parking fence according to the target positioning positions;

[0042] A lock control module is configured to control the shared vehicle to lock when the shared vehicle is parked within the parking fence.

[0043] According to a third aspect of the present disclosure, a server is provided, comprising the parking processing device of the second aspect of the present disclosure; or,

[0044] The server comprises a memory and a processor, the memory is configured to store a computer program, and the processor is configured to control the server to execute the method of the first aspect of the present disclosure when executing the computer program.

[0045] Through the embodiments of the present disclosure, when it is detected that the shared vehicle has the parking event, the initial positioning position of the shared vehicle is acquired, at least two target positioning positions with a distance less than or equal to a preset distance are selected from the initial positioning position, and the shared vehicle is controlled to lock when the shared vehicle is parked within the parking fence according to the target positioning positions, thereby completing the parking. Since the target positioning positions are used to detect whether the shared vehicle is parked within the parking fence, the probability that the target positioning positions are the actual parking positions of the shared vehicle is relatively high, thereby improving the accuracy of the detection result of the fixed-point parking of the shared vehicle, improving the degree of standard parking, and improving the parking efficiency and the parking success rate.

[0046] Other features of the present disclosure and its advantages will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the drawings. BRIEF DESCRIPTION OF DRAWINGS

[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0048] Figure 1 is a schematic structural diagram of a shared vehicle system capable of implementing the parking processing method of the shared vehicle according to the embodiments of the present disclosure;

[0049] Figure 2is a flowchart of a return process method according to an embodiment;

[0050] Figure 3 is a flowchart of an example of a return process method according to an embodiment;

[0051] Figure 4 is a block diagram of a return process device according to an embodiment;

[0052] Figure 5 is a block diagram of a shared vehicle according to an embodiment. DETAILED DESCRIPTION

[0053] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. Note that the relative arrangement, numerical expressions, and numerical values of components and steps set forth in these embodiments are not limiting to the scope of the present application unless otherwise specifically stated.

[0054] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way limiting to the scope of the application and its applications or uses.

[0055] Techniques, methods, and apparatus known to those of ordinary skill in the relevant art can not be discussed in detail herein, but should be considered as part of the specification, where appropriate.

[0056] In all examples shown and discussed herein, any specific values should be interpreted as merely illustrative and not as a limitation. Thus, other examples of the exemplary embodiments can have different values.

[0057] Note that similar reference numerals and letters indicate similar items throughout the drawings, and thus once an item is defined in one drawing, it need not be further discussed in subsequent drawings.

[0058] <Hardware Configuration>

[0059] Figure 1 is a constituent structure diagram of a shared vehicle system 100 that can be used to implement a return process method according to an embodiment of the present disclosure. The shared vehicle system 100 can be applied to a return process scenario of a shared vehicle as a whole.

[0060] As shown in Figure 1 , the shared vehicle system 100 includes a server 1000, a user terminal 2000, and a shared vehicle 3000.

[0061] Server 1000 provides service points for processing, databases, and communication facilities. Server 1000 can be a monolithic server, a distributed server spanning multiple computers, a computer data center, a cloud server, or a server cluster deployed in the cloud. Servers can be of various types, such as, but not limited to, web servers, news servers, mail servers, messaging servers, advertising servers, file servers, application servers, interactive servers, database servers, or proxy servers. In some embodiments, each server may include hardware, software, or embedded logical components or combinations of two or more such components for performing suitable functions supported or implemented by the server. For example, servers may be blade servers, cloud servers, etc., or a server cluster may consist of multiple servers, including one or more of the types of servers described above.

[0062] In one embodiment, server 1000 can be as follows: Figure 1 As shown, it includes a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, and an input device 1600.

[0063] The processor 1100 executes computer programs, which can be written using instruction sets of architectures such as x86, Arm, RISC, MIPS, and SSE. The memory 1200 includes, for example, ROM (Read-Only Memory), RAM (Random Access Memory), and non-volatile memory such as a hard disk. The interface device 1300 includes, for example, various bus interfaces, such as serial bus interfaces (including USB interfaces) and parallel bus interfaces. The communication device 1400 is capable of wired or wireless communication. The display device 1500 is, for example, a liquid crystal display, an LED display, or a touch screen. The input device 1600 may include, for example, a touch screen or a keyboard.

[0064] In this embodiment, the memory 1200 of the server 1000 is used to store a computer program that controls the processor 1100 to perform the vehicle return processing method according to an embodiment of the present invention. Those skilled in the art can design this computer program according to the disclosed scheme of the present invention. How the computer program controls the processor to perform operations is well known in the art and will not be described in detail here.

[0065] Despite Figure 1 The invention illustrates multiple devices of server 1000, but may refer to only some of these devices. For example, server 1000 may refer only to memory 1200, processor 1100, and communication device 1400.

[0066] In this embodiment, the user terminal 2000 is, for example, a mobile phone, a portable computer, a tablet computer, a handheld computer, a wearable device, etc.

[0067] The user terminal 2000 is equipped with a car-sharing application client, which is used to access shared vehicles.

[0068] like Figure 1 As shown, the user terminal 2000 may include a processor 2100, a memory 2200, an interface device 2300, a communication device 2400, a display device 2500, an input device 2600, a speaker 2700, a microphone 2800, etc.

[0069] Processor 2100 executes computer programs, which can be written using instruction sets of architectures such as x86, Arm, RISC, MIPS, and SSE. Memory 2200 includes, for example, ROM (Read-Only Memory), RAM (Random Access Memory), and non-volatile memory such as a hard disk. Interface device 2300 includes, for example, a USB interface and a headphone jack. Communication device 2400 is capable of wired or wireless communication. Communication device 2400 may include at least one short-range communication module, such as any module for short-range wireless communication based on short-range wireless communication protocols such as Hilink, WiFi (IEEE 802.11), Mesh, Bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, and LiFi. Communication device 2400 may also include a long-range communication module, such as any module for WLAN, GPRS, or 2G / 3G / 4G / 5G long-range communication. Display device 2500 is, for example, an LCD screen or a touch screen. Input device 2600 may include, for example, a touch screen or a keyboard. User terminal 2000 can output audio signals through speaker 2700 and acquire audio signals through microphone 2800.

[0070] In this embodiment, the memory 2200 of the user terminal 2000 is used to store a computer program that controls the processor 2100 to perform a method for using a shared vehicle. This includes, for example, obtaining the unique identifier of the shared vehicle 3000, generating an unlocking request for a specific shared vehicle and sending it to the server; and calculating the bill based on a payment settlement notification sent by the server, etc. Those skilled in the art can design the computer program according to the disclosed scheme of this invention. How the computer program controls the processor to perform operations is well known in the art and will not be described in detail here.

[0071] like Figure 1As shown, the shared vehicle 3000 can include a processor 3100, a memory 3200, an interface device 3300, a communication device 3400, an output device 3500, and an input device 3600, etc. The processor 3100 is configured to execute a computer program, which can be written in an instruction set of an architecture such as x86, Arm, RISC, MIPS, SSE, etc. The memory 3200 includes, for example, a ROM (Read-Only Memory), a RAM (Random-Access Memory), a nonvolatile memory such as a hard disk, etc. The interface device 3300 includes, for example, a USB interface, a headphone interface, etc. The communication device 3400 includes at least one communication module, which can be capable of wired or wireless communication, and can be capable of short-range and long-range communication. The output device 3500 can be a device outputting a signal, and can be a display device such as a liquid crystal display, a touch display, etc., or a speaker outputting voice information, etc. The input device 3600 can include, for example, a touch device such as a touch screen, a key, a sound sensing device such as a microphone, a pressure sensing device such as a pressure sensor, etc.

[0072] The shared vehicle 3000 can be any vehicle such as a bicycle, an electric bicycle, an electric motorcycle, a tricycle, a four-wheeled vehicle, etc., and is not limited herein.

[0073] In this embodiment, the shared vehicle 3000 can report its location information to the server 1000.

[0074] In this embodiment, the memory 3200 of the shared vehicle 3000 is configured to store a computer program for controlling the processor 3100 to operate to perform the vehicle returning processing method according to any embodiment of the present application. The computer program can be designed by a skilled person according to the disclosed solution. How the computer program controls the processor to operate is known in the art, and thus will not be described in detail herein.

[0075] The network 4000 can be a wireless communication network or a wired communication network, and can be a local area network or a wide area network. In Figure 1 In the shared vehicle system 100 as shown, the shared vehicle 3000 and the server 1000, and the user terminal 2000 and the server 1000, can communicate through the network 4000. In addition, the network 4000 based on which the shared vehicle 3000 and the server 1000, and the user terminal 2000 and the server 1000 communicate can be the same or different.

[0076] It should be understood that, although Figure 1Only one server 1000, user terminal 2000, shared vehicle 3000 is shown, but it does not mean to limit the number of each, the shared vehicle system 100 can contain multiple servers 1000, multiple user terminals 2000, multiple shared vehicles 3000, etc.

[0077] Figure 1 The shared vehicle system 100 shown is only illustrative and is by no means intended to limit the present application, its application or use.

[0078] <Method Embodiment>

[0079] Figure 2 The flowchart of the shared vehicle returning process method according to an embodiment is shown. The method steps of this embodiment are implemented by the shared vehicle, for example, by the shared vehicle 3000 in Figure 1 .

[0080] As shown in Figure 2 , the shared vehicle returning process method of this embodiment can include the following steps S2100-S2500:

[0081] Step S2100, detecting whether a shared vehicle returning event occurs.

[0082] The shared vehicle in this embodiment can be a shared bicycle or a shared electric bicycle, which is not limited here. In one example, the shared vehicle can be, for example, the shared vehicle 3000 as shown in Figure 1 .

[0083] In this embodiment, the shared vehicle returning event can include at least one of the following:

[0084] Detecting that the touch device provided on the shared vehicle senses a specified touch action;

[0085] Detecting that the sound sensing device provided on the shared vehicle receives a specified voice from the user;

[0086] Detecting that the foot support of the shared vehicle senses a specified returning action;

[0087] Detecting that the near field wireless communication device provided on the shared vehicle can sense the user terminal;

[0088] Detecting that the shared vehicle does not sense the pressure for a continuous time length reaching a first set time length;

[0089] Detecting that the Bluetooth device of the shared vehicle is disconnected from the Bluetooth device of the user terminal;

[0090] Detecting that the signal strength value of the Bluetooth signal of the user terminal received by the Bluetooth device of the shared vehicle is less than a set value;

[0091] detecting that the shared vehicle is in a stationary state for a length of time that reaches a second set length of time;

[0092] receiving a lock instruction sent by the server or the user terminal.

[0093] The above touch device is adapted to sense a specified touch action of the user. The above sound sensing device is adapted to collect a specified voice uttered by the user. The above footrest is adapted to collect a specified return action applied by the user. The near field communication device and the Bluetooth device are adapted to sense the user terminal and the like within a certain range.

[0094] In the embodiment in which the return event includes detecting that the touch device arranged on the shared vehicle senses a specified touch action, the touch device is connected to the processor to send the touch action sensed by the touch device to the processor in the form of an electrical signal or the like, and the processor detects whether the touch action sensed by the touch device is the specified touch action. For example, the virtual button provided as a return button by the touch device can be clicked, and the specified touch action can be the operation of clicking the virtual button. The specified touch action can also be a sliding operation performed by the user on the touch device, and the like, which is not limited herein.

[0095] In the embodiment in which the return event includes detecting that the sound sensing device arranged on the shared vehicle receives a specified voice uttered by the user, the sound sensing device is connected to the processor to send the voice uttered by the user received by the sound sensing device to the processor in the form of an electrical signal or the like, and the processor detects whether the voice uttered by the user received by the sound sensing device is the specified voice. For example, the specified voice can be “return”.

[0096] In the embodiment in which the return event includes detecting that the footrest of the shared vehicle senses a specified return action, the footrest is connected to the processor to send the action sensed by the footrest to the processor in the form of an electrical signal or the like, and the processor detects whether the action sensed by the footrest is the specified return action. For example, the specified return action can be the action of the footrest falling down.

[0097] In the embodiment in which the return event includes detecting that the near field communication device arranged on the shared vehicle cannot sense the user terminal, the near field communication device is connected to the processor, and the near field communication device can send the detected near field communication signal to the processor, and the processor detects whether the near field communication device of the shared vehicle senses the user terminal.

[0098] In the embodiment in which the returning event comprises detecting that the shared vehicle does not sense pressure for a continuous length of time reaching a first set length of time, a pressure sensor can be provided on a seat cushion of the shared vehicle, and the shared vehicle is detected whether it senses pressure through the pressure sensor. Specifically, the pressure sensor can be connected with the processor to send the sensed pressure to the processor in the form of an electrical signal or the like, and the processor detects that the shared vehicle does not sense pressure for a continuous length of time reaching a first set length of time. The first set length of time can be a length of time set in advance according to application scenarios or specific requirements. For example, the first set length of time can be 3 minutes.

[0099] In the embodiment in which the returning event comprises detecting that the shared vehicle does not sense pressure for a continuous length of time reaching a first set length of time, a pressure sensor can be provided on a seat cushion of the shared vehicle, and the shared vehicle is detected whether it senses pressure through the pressure sensor. Specifically, the pressure sensor can be connected with the processor to send the sensed pressure to the processor in the form of an electrical signal or the like, and the processor detects that the shared vehicle does not sense pressure for a continuous length of time reaching a first set length of time. The first set length of time can be a length of time set in advance according to application scenarios or specific requirements. For example, the first set length of time can be 3 minutes.

[0100] In the embodiment in which the returning event comprises detecting that the shared vehicle does not sense pressure for a continuous length of time reaching a first set length of time, a pressure sensor can be provided on a seat cushion of the shared vehicle, and the shared vehicle is detected whether it senses pressure through the pressure sensor. Specifically, the pressure sensor can be connected with the processor to send the sensed pressure to the processor in the form of an electrical signal or the like, and the processor detects that the shared vehicle does not sense pressure for a continuous length of time reaching a first set length of time. The first set length of time can be a length of time set in advance according to application scenarios or specific requirements. For example, the first set length of time can be 3 minutes.

[0101] In the embodiment in which the returning event comprises detecting that the shared vehicle does not sense pressure for a continuous length of time reaching a first set length of time, a pressure sensor can be provided on a seat cushion of the shared vehicle, and the shared vehicle is detected whether it senses pressure through the pressure sensor. Specifically, the pressure sensor can be connected with the processor to send the sensed pressure to the processor in the form of an electrical signal or the like, and the processor detects that the shared vehicle does not sense pressure for a continuous length of time reaching a first set length of time. The first set length of time can be a length of time set in advance according to application scenarios or specific requirements. For example, the first set length of time can be 3 minutes.

[0102] In the embodiment in which the returning event comprises receiving a lock instruction sent by the user terminal, the user terminal can communicate with the shared vehicle through a network, Bluetooth or near field communication. Specifically, a first button for triggering the lock instruction can be provided in the user terminal, and the user terminal can send the lock instruction to the shared vehicle in response to the operation of the user clicking the first button.

[0103] In the embodiment in which the returning event includes receiving the lock instruction sent by the server, the user terminal can be in communication with the server through the network, and the server can be in communication with the shared vehicle through the network. Specifically, a second button for triggering the returning request can be provided in the user terminal, and the user terminal can send the returning request to the server in response to the operation of the user clicking the second button. The server can send the lock instruction to the shared vehicle in response to the returning request.

[0104] In step S2200, the initial positioning position of the shared vehicle is acquired in the case where the returning event of the shared vehicle is detected.

[0105] In the embodiment, the initial positioning position of the shared vehicle can include a first positioning position collected by the shared vehicle and / or a second positioning position collected by the user terminal of the shared vehicle.

[0106] In the embodiment in which the initial positioning position includes the first positioning position, the first positioning position can be collected in the case where the shared vehicle is in the stationary state before the returning event occurs. The first positioning position can be provided by the first positioning device such as the GPS of the shared vehicle.

[0107] In the embodiment, if the user wants to return the shared vehicle in the process of using the shared vehicle, the user generally needs to park the shared vehicle first so that the shared vehicle is in the stationary state, and then trigger the returning event to occur. Therefore, the first positioning position can be the positioning position collected in the process from when the shared vehicle is in the stationary state to when the returning event occurs. In the process from when the shared vehicle is in the stationary state to when the returning event occurs, the shared vehicle is always in the stationary state.

[0108] In one embodiment, the shared vehicle can report its own positioning position at a set first frequency in the process of use. The set first frequency can be set in advance according to the application scenario or specific requirements. For example, the set first frequency can be once per minute.

[0109] In another embodiment, the server can issue a position reporting instruction to the shared vehicle in the case where the returning event of the shared vehicle is detected. The processor of the shared vehicle can read the positioning position collected by the first positioning device in the case where the shared vehicle is in the stationary state before the returning event occurs as the first positioning position, and report the first positioning position to the server for the server to acquire.

[0110] In the embodiment in which the initial positioning position comprises the second positioning position, the second positioning position can be a positioning position of the user terminal collected by the user terminal itself within a first set time period before the occurrence of the drop-off event. In this case, the first set time period is because the user terminal and the shared vehicle are in the same position during the use of the shared vehicle, and thus the positioning position collected by the user terminal can represent the position of the shared vehicle. The second positioning position can be provided by a second positioning device such as a GPS of the user terminal.

[0111] In this embodiment, the length of the first set time period can be set in advance according to application scenarios or specific requirements, for example, the length of the first set time period can be 10 seconds. Then, the second positioning position can be a positioning position of the user terminal collected by the user terminal itself within 10 seconds before the occurrence of the drop-off event.

[0112] In one embodiment, the user terminal can report the positioning position of the user terminal itself at a set second frequency during the use of the shared vehicle. In this case, the set second frequency can be set in advance according to application scenarios or specific requirements. For example, the set second frequency can be once every 0.5 minutes.

[0113] In another embodiment, the server can issue a position reporting instruction to the user terminal in the case where it is detected that the shared vehicle has a drop-off event. The processor of the user terminal reads the positioning position collected by the second positioning device within the first set time period before the occurrence of the drop-off event as the second positioning position according to the position reporting instruction, and reports the second positioning position to the server for acquisition by the server.

[0114] In step S2300, at least two target positioning positions are selected from the initial positioning positions, wherein the distance between any two target positioning positions is less than or equal to a preset distance.

[0115] In this embodiment, the initial positioning positions obtained in step S2200 can be multiple. Due to objective factors such as the positioning device and the positioning environment for collecting the initial positioning positions, the positioning accuracy of the initial positioning positions cannot reach the centimeter level, and there can be drift, resulting in inaccurate determination results of the fixed parking of the shared vehicle.

[0116] In this embodiment, the distance between any two of the at least two target positioning positions is less than or equal to the preset distance, and thus it can be considered that one of the target positioning positions is the same as the actual parking position of the shared vehicle. In this case, the preset distance can be set in advance according to application scenarios or specific requirements, for example, the preset distance can be 5 meters.

[0117] In one embodiment of the present disclosure, selecting the at least two target positioning locations from the initial positioning locations can include the following steps S2310-S2330:

[0118] Step S2310, clustering the initial positioning locations based on a preset distance, to obtain at least one positioning location class.

[0119] In the present embodiment, the distance between any two initial positioning locations belonging to different positioning location classes is greater than the preset distance, and the distance between any two initial positioning locations belonging to the same positioning location class is less than or equal to the preset distance.

[0120] Step S2320, selecting a target positioning location class from the positioning location classes; wherein the target positioning location class contains at least two initial positioning locations.

[0121] In the case where the number of positioning location classes containing at least two initial positioning locations is 1, the positioning location class containing at least two initial positioning locations can be directly selected as the target positioning location class.

[0122] In the case where the number of positioning location classes containing at least two initial positioning locations is greater than 1, i.e., the number of positioning location classes containing at least two initial positioning locations is at least two, selecting a target positioning location class from the positioning location classes can include the following steps S2321-S2323:

[0123] Step S2321, selecting a positioning location class containing at least two initial positioning locations as a candidate positioning location class.

[0124] In the present embodiment, each candidate positioning location class contains at least two initial positioning locations.

[0125] Step S2322, determining the farthest distance between the initial positioning locations contained in the candidate positioning location class.

[0126] In the present embodiment, for each candidate positioning location class, the distance between each two initial positioning locations contained in the candidate positioning location class can be determined, and the maximum distance between the initial positioning locations is taken as the farthest distance between the initial positioning locations contained in the candidate positioning location class.

[0127] Step S2323, selecting the candidate positioning location class with the smaller farthest distance as the target positioning location class.

[0128] For the candidate positioning location class with the smaller farthest distance, the initial positioning locations contained therein are more concentrated, and it can be considered that the probability of containing the initial positioning location identical to the actual parking location of the shared vehicle is greater, and therefore, the candidate positioning location class with the smaller farthest distance can be selected as the target positioning location class.

[0129] Through the embodiment, the candidate positioning position class with the smallest farthest distance between the initial positioning positions contained is selected as the target positioning position class, and then the initial positioning positions contained in the target positioning position class are taken as the target positioning positions, and whether the shared vehicle is parked in the parking fence is detected according to the target positioning positions, so that the detection result is more accurate.

[0130] In step S2330, the initial positioning positions contained in the target positioning position class are taken as the target positioning positions.

[0131] Through the embodiment, the initial positioning positions are clustered, the target positioning position class containing at least two initial positioning positions is selected from the obtained positioning position classes, and then the initial positioning positions contained in the target positioning position class are taken as the target positioning positions, so that the probability that the obtained target positioning positions are the same as the actual parking positions of the shared vehicle is greater, and then whether the shared vehicle is parked in the parking fence is detected according to the target positioning positions, so that the detection result is more accurate.

[0132] In step S2400, whether the shared vehicle is parked in the set parking fence is detected according to the target positioning positions.

[0133] In the embodiment, the server can record the position information of the set parking fence. For example, the position information of the parking fence can include a center positioning position and a radius of the area of the parking fence, that is, the effective range of the parking fence can be defined by the center positioning position and the radius of the area. In this regard, the server can determine whether the shared vehicle is located in the specified parking fence by detecting whether the shared vehicle is located in the effective range according to the target positioning positions.

[0134] For another example, the position information of the parking fence can include the corner positioning positions of the boundary of the parking fence, wherein the corner is a point on the boundary that is not derivable, and the effective range of the parking fence is defined by the corner positioning positions. In this regard, the server can determine whether the shared vehicle is located in the specified parking fence by detecting whether the shared vehicle is located in the effective range according to the target positioning positions.

[0135] In the embodiment, whether the shared vehicle is parked in the parking fence according to the target positioning positions can be whether the target positioning positions are located in the effective range of the parking fence; in the case that any target positioning position is located in the effective range of the parking fence, it can be determined that the shared vehicle is parked in the parking fence; and in the case that all target positioning positions are located outside the effective range of the parking fence, it can be determined that the shared vehicle is not parked in the parking fence.

[0136] Step S2500, in the case that the shared vehicle is parked in the parking fence, the shared vehicle is controlled to lock.

[0137] In this embodiment, the server controls the shared vehicle to lock, and can send a lock instruction to the shared vehicle.

[0138] In the case that the shared vehicle is detected to be parked in the parking fence, the shared vehicle is sent a lock instruction, and the shared vehicle can be controlled to lock.

[0139] In the case that the shared vehicle receives the lock instruction sent by the server, the shared vehicle will be controlled to lock the lock according to the lock instruction, and the vehicle returning operation is completed.

[0140] Through the embodiments of the present disclosure, in the case that the shared vehicle occurs a vehicle returning event, the initial positioning position of the shared vehicle is acquired, at least two target positioning positions with a distance less than or equal to a preset distance from each other are selected from the initial positioning position, in the case that the shared vehicle is detected to be parked in the parking fence according to the target positioning position, the shared vehicle is controlled to lock, and the vehicle returning is completed. Since the shared vehicle is detected to be parked in the parking fence according to the target positioning position with a distance less than or equal to a preset distance from each other, the probability that the target positioning position is the actual parking position of the shared vehicle is relatively large, and thus the accuracy of the detection result of the fixed-point parking of the shared vehicle can be improved, the degree of standard parking can be improved, and the vehicle returning efficiency and the vehicle returning success rate can be improved.

[0141] In one embodiment of the present disclosure, before step S2300 is performed, the method can further include: performing filtering processing on the initial positioning position to filter out repeated initial positioning positions and / or initial positioning positions with a collection time longer than a set time; and in the case that the number of initial positioning positions is greater than a first set value, step S2300 is performed. The first set value can be set in advance according to application scenarios or specific requirements. For example, the first set value can be 0. The set time can be set in advance according to application scenarios or specific requirements. For example, the time threshold can be 10 minutes.

[0142] In one example, if the acquired initial positioning positions include n identical initial positioning positions, the n identical initial positioning positions can be filtered out, that is, the repeated initial positioning positions are filtered out. n is a positive integer.

[0143] In another example, if the acquired initial positioning positions include initial positioning positions with a collection time longer than a set time, the initial positioning positions with a collection time longer than the set time can be filtered out. Specifically, the collection time of the initial positioning position can be the time from the collection time of the initial positioning position to the time when the filtering processing on the initial positioning position is performed.

[0144] After the filtering of the initial positioning positions, if the number of the initial positioning positions is greater than the first set value, step S2300 is performed.

[0145] After the filtering of the initial positioning positions, if the number of the initial positioning positions is less than or equal to the first set value, the method can further include: determining whether the number of times of obtaining the initial positioning positions of the shared vehicle reaches a preset number threshold; in the case that the number of times reaches the number threshold, determining that the shared vehicle is parked in the parking fence; in the case that the number of times does not reach the number threshold, re-obtaining the initial positioning positions of the shared vehicle in a second set time period.

[0146] In the case that the number of times exceeds the number threshold, it can be directly determined that the shared vehicle is parked in the parking fence, so as to avoid the situation that the user cannot return the vehicle, thereby affecting the return experience of the user.

[0147] In this embodiment, the length of the second set time period can be set according to the application scenario or specific requirements in advance, for example, the length of the second set time period can be 5 seconds. Then, in the case that the number of the initial positioning positions is less than or equal to the first set value, the initial positioning positions collected in the 5 seconds of waiting time of the shared vehicle and / or the user terminal can be re-obtained.

[0148] After re-obtaining the initial positioning positions of the shared vehicle in the second set time period, the step of filtering the initial positioning positions can be re-executed.

[0149] The number threshold can be set according to the application scenario or specific requirements in advance. For example, the number threshold can be 3.

[0150] Through this embodiment, a target positioning position with higher credibility indicating the position of the shared vehicle can be obtained, and thus the accuracy of the detection result of whether the shared vehicle is parked in the parking fence can be improved, and the degree of standard parking can be improved.

[0151] In one embodiment of the present disclosure, in the case that the target positioning position is not obtained through step S2300, that is, the target positioning position is not included in the initial positioning positions, the method can further include: detecting whether the shared vehicle is parked in the parking fence according to the initial positioning positions.

[0152] In one embodiment, detecting whether the shared vehicle is parked in the parking fence according to the initial positioning positions can include: sorting the initial positioning positions according to the positioning accuracy, and obtaining the sorting values of the initial positioning positions; and detecting whether the shared vehicle is parked in the parking fence according to the initial positioning positions with the sorting value being the second set value.

[0153] In the embodiment, when the server acquires the initial positioning position, at least one of the acquisition device (which can be a shared vehicle or a user terminal, for example), the positioning accuracy parameter, and the acquisition time of the initial positioning position can also be acquired.

[0154] According to the sorting of the initial positioning positions according to the positioning accuracy, the positioning accuracy of the initial positioning position can be determined based on the acquisition device, the positioning accuracy parameter, and the acquisition time of the initial positioning position, and the initial positioning positions can be sorted according to the positioning accuracy.

[0155] Specifically, the weight of the acquisition device, the positioning accuracy parameter, and the acquisition time can be set in advance, and then a numerical value representing the positioning accuracy of the initial positioning position can be determined according to the weight and the acquisition device, the positioning accuracy parameter, and the acquisition time of the initial positioning position, and the initial positioning positions can be sorted in descending order according to the numerical value from large to small.

[0156] The sorting method in the embodiment can be descending sorting, and the second setting value can be at least one numerical value set in advance according to application scenarios or specific requirements. For example, the second setting value can be 1.

[0157] According to the embodiment, the initial positioning position with the highest positioning accuracy can be selected to detect whether the shared vehicle is parked in the parking fence.

[0158] Specifically, it can be detected whether the initial positioning position with the second setting value is located within the effective range of the parking fence, and in the case where the initial positioning position with the second setting value is located within the effective range of the parking fence, it is determined that the shared vehicle is parked in the parking fence, and in the case where the initial positioning position with the second setting value is not located within the effective range of the parking fence, it is determined that the shared vehicle is not parked in the parking fence.

[0159] In a city where the standard parking requirement is strict, in the case where the initial positioning position does not contain the target positioning position, the method according to the embodiment, that is, selecting the initial positioning position with the highest positioning accuracy, can be used to detect whether the shared vehicle is parked in the parking fence.

[0160] In another embodiment, detecting whether the shared vehicle is parked in the parking fence according to the initial positioning position can include: detecting whether the initial positioning position is located within the effective range of the parking fence; in the case where any initial positioning position is located within the effective range of the parking fence, it is determined that the shared vehicle is parked in the parking fence; and in the case where all initial positioning positions are not located within the effective range of the parking fence, it is determined that the shared vehicle is not parked in the parking fence.

[0161] In the city where the parking requirement is not strict, if the target positioning position is not included in the initial positioning position, the method according to the embodiment can be used to detect whether the shared vehicle is parked in the parking fence according to all the initial positioning positions.

[0162] If it is detected that the shared vehicle is not parked in the parking fence, the server can not control the shared vehicle to lock and send prompt information to the user terminal.

[0163] The prompt information can include prompt information of failed return of the shared vehicle. The prompt information can also include information prompting the user to park the shared vehicle in the parking fence to prompt the user of the reason of the failed return. For example, the prompt information can be information of “please park the vehicle in the parking point”.

[0164] <Example>

[0165] Figure 3 The flowchart of one example of the method for returning the shared vehicle provided by the embodiment of the disclosure is shown in FIG. 3. Figure 3 As shown in FIG. 3, the method can include the following steps S3001-S3014:

[0166] In step S3001, it is detected whether the shared vehicle has a return event. If yes, step S3002 is performed; if no, step S3001 is continued.

[0167] In step S3002, the initial positioning position of the shared vehicle is acquired.

[0168] In step S3003, the initial positioning position is filtered to filter the repeated initial positioning position and / or the initial positioning position with a collection time longer than a set time.

[0169] In step S3004, it is detected whether the number of the initial positioning positions is greater than a first set value. If yes, step S3007 is performed; if no, step S3005 is performed.

[0170] In step S3005, it is determined whether the number of times of acquiring the initial positioning position of the shared vehicle reaches a preset number threshold. If yes, step S3006 is performed; if no, step S3007 is performed.

[0171] In step S3006, it is determined that the shared vehicle is parked in the parking fence.

[0172] In step S3007, the initial positioning position of the shared vehicle in a second set time period is re-acquired.

[0173] In step S3008, it is determined whether at least two target positioning positions are included in the initial positioning position. If yes, step S3009 is performed; if no, step S3010 is performed.

[0174] wherein a distance between any two target positioning positions is less than or equal to a preset distance.

[0175] Step S3009, detecting whether the shared vehicle is parked in the set parking fence according to the target positioning positions.

[0176] Step S3010, detecting whether a standard parking requirement of a city where the shared vehicle is located is strict, and if yes, performing step S3011; and if no, performing step S3013.

[0177] Step S3011, sorting the initial positioning positions according to positioning accuracy, and obtaining a sorting value of the initial positioning positions.

[0178] Step S3012, detecting whether the shared vehicle is parked in the parking fence according to the initial positioning position with the sorting value being a second set value.

[0179] Step S3013, detecting whether the shared vehicle is parked in the parking fence according to all the initial positioning positions.

[0180] In this embodiment, detecting whether the shared vehicle is parked in the parking fence according to all the initial positioning positions can include: detecting whether the initial positioning positions are located in an effective range of the parking fence; in a case where any one of the initial positioning positions is located in the effective range of the parking fence, determining that the shared vehicle is parked in the parking fence; and in a case where all the initial positioning positions are not located in the effective range of the parking fence, determining that the shared vehicle is not parked in the parking fence.

[0181] Step S3014, in a case where the shared vehicle is parked in the parking fence, controlling the shared vehicle to lock.

[0182] <Device Embodiment>

[0183] Corresponding to the above method, the disclosure also provides a shared vehicle returning processing device 400, as shown in Figure 4As shown, the shared vehicle event detection and control method comprises the following steps: detecting whether a shared vehicle has a return event; acquiring an initial positioning position of the shared vehicle if it is detected that the shared vehicle has the return event; selecting at least two target positioning positions from the initial positioning position, wherein the distance between any two target positioning positions is less than or equal to a preset distance; detecting whether the shared vehicle is parked within a set parking fence according to the target positioning positions; and controlling the shared vehicle to lock if the shared vehicle is parked within the parking fence.

[0184] In an embodiment of the present disclosure, the target position acquisition module 430 can also be configured to:

[0185] cluster the initial positioning positions based on the preset distance to obtain at least one positioning position class, wherein the positioning position class comprises at least one initial positioning position;

[0186] select a target positioning position class from the positioning position classes, wherein the target positioning position class comprises at least two initial positioning positions;

[0187] select the initial positioning positions comprised in the target positioning position class as the target positioning positions.

[0188] In an embodiment of the present disclosure, the number of positioning position classes comprising at least two initial positioning positions is at least two, and the selection of the target positioning position class from the positioning position classes comprises:

[0189] select a positioning position class comprising at least two initial positioning positions as a candidate positioning position class;

[0190] determine the farthest distance between the initial positioning positions comprised in the candidate positioning position class;

[0191] select the candidate positioning position class with the smallest farthest distance as the target positioning position class.

[0192] In an embodiment of the present disclosure, the initial position acquisition module 420 can also be configured to:

[0193] acquire a first positioning position collected by the shared vehicle as the initial positioning position, wherein the first positioning position is collected when the shared vehicle is in a stationary state before the return event occurs; and / or,

[0194] obtaining a second positioning position collected by a user terminal using the shared vehicle as the initial positioning position; wherein the second positioning position is collected by the user terminal within a first set time period before the drop-off event occurs.

[0195] In an embodiment of the present disclosure, the drop-off processing apparatus 400 can further comprise:

[0196] a module for filtering the initial positioning positions to filter out repeated initial positioning positions and / or initial positioning positions collected for a time period exceeding a set time period;

[0197] The target position obtaining module 430 is further configured to select at least two target positioning positions from the initial positioning positions if the number of initial positioning positions is greater than a first set value.

[0198] In an embodiment of the present disclosure, the drop-off processing apparatus 400 can further comprise:

[0199] a module for determining whether the number of times of obtaining the initial positioning positions of the shared vehicle reaches a preset number threshold if the number of initial positioning positions is less than or equal to the first set value;

[0200] a module for determining that the shared vehicle is parked within the parking fence if the number of times reaches the number threshold;

[0201] a module for re-obtaining the initial positioning positions of the shared vehicle within a second set time period if the number of times does not reach the number threshold.

[0202] In an embodiment of the present disclosure, the drop-off processing apparatus 400 can further comprise:

[0203] a module for detecting whether the initial positioning positions are located within the effective range of the parking fence if the initial positioning positions do not contain the target positioning positions, and determining that the shared vehicle is parked within the parking fence if any of the initial positioning positions is located within the effective range of the parking fence.

[0204] In an embodiment of the present disclosure, the drop-off processing apparatus 400 can further comprise:

[0205] a module for sorting the initial positioning positions according to positioning accuracy and obtaining a sorting value of the initial positioning positions if the initial positioning positions do not contain the target positioning positions, and detecting whether the shared vehicle is parked within the parking fence according to the initial positioning positions with a sorting value being a second set value.

[0206] In one embodiment of the present disclosure, the parking detection module 440 can also be configured to:

[0207] detect whether the target positioning position is located within the effective range of the parking fence;

[0208] in a case where any of the target positioning positions is located within the effective range of the parking fence, determine that the shared vehicle is parked within the parking fence.

[0209] It should be understood by those skilled in the art that the shared vehicle returning processing apparatus 400 can be implemented in various ways. For example, the shared vehicle returning processing apparatus 400 can be implemented by configuring a processor with instructions. For example, the shared vehicle returning processing apparatus 400 can be implemented by storing instructions in a ROM and reading the instructions from the ROM into a programmable device when the device is started. For example, the shared vehicle returning processing apparatus 400 can be implemented by being fixed into a special device (e.g., an ASIC). The shared vehicle returning processing apparatus 400 can be implemented as independent units or can be combined together. The shared vehicle returning processing apparatus 400 can be implemented by one of the above-mentioned various implementation ways, or can be implemented by a combination of two or more of the above-mentioned various implementation ways.

[0210] In the present embodiment, the shared vehicle returning processing apparatus 400 can have various implementation forms. For example, the shared vehicle returning processing apparatus 400 can be a functional module running in any software product or application program providing shared vehicle returning processing service, or an external device embedded in, a plug-in, a patch, etc. of the software product or application program, or the software product or application program itself.

[0211] <Server Embodiment>

[0212] The present embodiment provides a server 5000. In one example, the server can include the aforementioned shared vehicle returning processing apparatus 400.

[0213] In another example, as shown in Figure 5 the server 5000 can include a memory 5200 for storing program instructions and a processor 5100 for controlling the server 5000 to perform any of the returning processing methods provided in the present embodiment when executing the computer program.

[0214] According to the embodiment of the present disclosure, in the case that the shared vehicle has a return event, the initial positioning position of the shared vehicle is acquired, at least two target positioning positions with a distance less than or equal to a preset distance are selected from the initial positioning position, and in the case that the shared vehicle is parked in the parking fence according to the target positioning position, the shared vehicle is controlled to be locked, and the return is completed. Since the shared vehicle is detected whether it is parked in the parking fence according to the target positioning position with a distance less than or equal to a preset distance, the probability that the target positioning position is the actual parking position of the shared vehicle is relatively high, and thus the accuracy of the detection result of the fixed-point parking of the shared vehicle can be improved, the degree of standard parking can be improved, and the return efficiency and the return success rate can be improved.

[0215] The present application can be a system, a method, and / or a computer program product. The computer program product can include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present application.

[0216] The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium can be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium include the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or punched-tape, a holographic storage medium, or any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.

[0217] Computer readable program instructions described herein can be downloaded to respective computing / processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and / or a wireless network. The network can comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and / or edge servers. A network adapter card or network interface in each computing / processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing / processing device.

[0218] Computer readable program instructions for carrying out operations of the present application can be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate array (FPGA), or programmable logic array (PLA) can execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present application.

[0219] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0220] These computer readable program instructions can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer readable program instructions can also be stored in a computer readable storage medium that can include random access memory (RAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or nonvolatile memory, or a suitable combination of the different types of computer readable storage media. The computer readable program instructions can also be downloaded to a computer, other programmable data processing apparatus, or other device from a computer readable storage medium or to an external computer or external storage device via a data signal that can be transmitted for example via a wired medium or a wireless medium such as the Internet or Wireless Application Protocol (WAP) signaling.

[0221] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0222] The flow diagrams and block diagrams in the drawings are presented to illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flow diagrams and block diagrams can represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical functions ("instructions"). In some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flowchart illustrations, and combinations thereof, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and

[0223] Embodiments of the application have been described above, and the description is intended to be illustrative of the embodiments of the application and not exhaustive. Numerous modifications and adaptations thereof will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The scope of the application is defined by the appended claims.

Claims

1. A method for handling a shared vehicle, comprising: detecting whether a shared vehicle has a returning event; in a case where it is detected that the shared vehicle has the returning event, obtaining an initial positioning position of the shared vehicle; selecting at least two target positioning positions from the initial positioning position, wherein a distance between any two of the target positioning positions is less than or equal to a preset distance; detecting, according to the target positioning positions, whether the shared vehicle is parked within a set parking fence; in a case where the shared vehicle is parked within the parking fence, controlling the shared vehicle to lock; the selecting at least two target positioning positions from the initial positioning position comprises: clustering the initial positioning position based on the preset distance to obtain at least one positioning position class, the positioning position class comprising at least one initial positioning position; selecting a target positioning position class from the positioning position classes, wherein the target positioning position class comprises at least two initial positioning positions; taking the initial positioning positions comprised by the target positioning position class as the target positioning positions; the number of the positioning position classes comprising at least two initial positioning positions is at least two, and the selecting a target positioning position class from the positioning position classes comprises: selecting a positioning position class comprising at least two initial positioning positions as a candidate positioning position class; determining a farthest distance between the initial positioning positions comprised by the candidate positioning position class; taking the candidate positioning position class with a smaller farthest distance as the target positioning position class; the obtaining an initial positioning position of the shared vehicle comprises: obtaining a first positioning position collected by the shared vehicle as the initial positioning position, wherein the first positioning position is collected when the shared vehicle is in a stationary state before the returning event; and / or obtaining a second positioning position collected by a user terminal using the shared vehicle as the initial positioning position; wherein the second positioning position is collected by the user terminal within a first set time period before the returning event. 2.The method of claim 1, further comprising: performing filtering processing on the initial positioning positions to filter out repeated initial positioning positions and / or initial positioning positions with a collection time longer than a set time; after the filtering processing on the initial positioning positions, in a case where the number of initial positioning positions is greater than a first set value, performing the step of selecting at least two target positioning positions from the initial positioning positions. 3.The method of claim 2, further comprising: in a case where the number of initial positioning positions is less than or equal to the first set value, determining whether a number of times of obtaining an initial positioning position of the shared vehicle reaches a preset number threshold; in a case where the number of times reaches the number threshold, determining that the shared vehicle is parked within the parking fence; in a case where the number of times does not reach the number threshold, re-obtaining initial positioning positions of the shared vehicle within a second set time period.

4. The method of claim 2, further comprising: detecting whether the initial positioning position is located within a valid range of the parking fence in a case where the initial positioning position does not contain the target positioning position; determining that the shared vehicle is parked within the parking fence in a case where any of the initial positioning positions is located within the valid range of the parking fence; or sorting the initial positioning positions according to positioning accuracy in a case where the initial positioning position does not contain the target positioning position, and obtaining a sorting value of the initial positioning position; detecting whether the shared vehicle is parked within a parking fence according to an initial positioning position with a second set sorting value.

5. The method of claim 1, wherein the detecting whether the shared vehicle is parked within a set parking fence according to the target positioning position comprises: detecting whether the target positioning position is located within a valid range of the parking fence; determining that the shared vehicle is parked within the parking fence in a case where any of the target positioning positions is located within the valid range of the parking fence.

6. A shared vehicle returning process apparatus, comprising: an event detection module configured to detect whether a returning event of the shared vehicle occurs; an initial position acquisition module configured to acquire an initial positioning position of the shared vehicle in a case where the returning event of the shared vehicle is detected; a target position acquisition module configured to select at least two target positioning positions from the initial positioning position, wherein a distance between any two of the target positioning positions is less than or equal to a preset distance; a parking detection module configured to detect whether the shared vehicle is parked within a set parking fence according to the target positioning position; a lock control module configured to control the shared vehicle to lock in a case where the shared vehicle is parked within the parking fence; the initial position acquisition module further comprises that the selecting at least two target positioning positions from the initial positioning position comprises: clustering the initial positioning positions based on the preset distance to obtain at least one positioning position class, the positioning position class containing at least one initial positioning position; selecting a target positioning position class from the positioning position classes, wherein the target positioning position class contains at least two initial positioning positions; taking the initial positioning positions contained in the target positioning position class as the target positioning positions; the initial position acquisition module further comprises that the number of the positioning position classes containing at least two initial positioning positions is at least two, and the selecting a target positioning position class from the positioning position classes comprises: selecting a positioning position class containing at least two initial positioning positions as a candidate positioning position class; determining a farthest distance between the initial positioning positions contained in the candidate positioning position class; taking the candidate positioning position class with a smaller farthest distance as the target positioning position class; the acquiring the initial positioning position of the shared vehicle comprises: acquire a first positioning position collected by the shared vehicle as the initial positioning position; wherein the first positioning position is collected by the shared vehicle in a case that the shared vehicle is in a stationary state before the drop-off event occurs; and / or, acquire a second positioning position collected by a user terminal using the shared vehicle as the initial positioning position; wherein the second positioning position is collected by the user terminal within a first set time period before the drop-off event occurs. 7.A server comprising the drop-off processing apparatus of claim 6; or, the server comprises a memory and a processor, the memory is configured to store a computer program, and the processor is configured to control the server to execute the method according to any one of claims 1-5 when executing the computer program.

Citation Information

Patent Citations

  • Vehicle parking processing method, server, terminal and machine readable storage medium

    CN108198122A

  • Shared car returning method and system

    CN111932865A

  • Vehicle returning judgment method and device and electronic equipment

    CN112132725A

  • Vehicle positioning method and device, server and readable storage medium

    CN113596708A