Shared device return processing method, device, and computer equipment
By leveraging the user device's higher positioning accuracy and short-range communication status, the method enhances the success rate of returning shared devices to designated areas.
Patent Information
- Application Number
- CN202210681695.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-16
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2042-06-16
AI Technical Summary
The low manufacturing cost of shared devices results in poor positioning accuracy, leading to a low success rate of users returning shared equipment to designated areas.
A method that utilizes the higher positioning accuracy of user devices by obtaining current geographic location information and short-range communication status between the user device and the shared device to determine if the user is within the vicinity of the designated return area.
Improves the success rate of users returning shared devices by accurately determining their location using the user device's higher positioning accuracy and short-range communication status.
Smart Images

Figure CN114973524B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of sharing technology, and in particular to a method, device, and computer equipment for returning a shared device. Background Art
[0002] With the development of the sharing technology field, shared equipment such as shared bicycles, shared electric vehicles, and shared cars have prospered. In order to efficiently manage shared equipment, users need to return shared equipment to a fixed return area.
[0003] In the related art, generally after receiving a return request for a shared device, the server determines whether the shared device is within the return area based on the geographic location information sent by the shared device, and then determines whether the user can successfully return the shared device.
[0004] However, the manufacturing cost of shared devices is low, so the positioning accuracy of the shared device positioning technology is poor, so when the user returns the shared device, the success rate of returning the shared device is low. Summary of the invention
[0005] Based on this, it is necessary to provide a shared device return processing method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve the success rate of users returning shared devices in response to the above technical problems.
[0006] In a first aspect, the present application provides a method for returning a shared device. The method comprises:
[0007] In response to a return request for a target shared device, obtaining current geographic location information of a user device associated with the target shared device, and obtaining a short-range communication state between the target shared device and the user device;
[0008] When the current geographical location information is within the target return area and the short-range communication state meets the preset connection state condition, the target shared device is returned.
[0009] In one embodiment, the acquiring the short-range communication state between the target sharing device and the user device includes:
[0010] receiving a short-range communication status between the target sharing device and the user device sent by the target sharing device;
[0011] and / or
[0012] Receive the short-range communication status between the target sharing device and the user equipment sent by the user equipment.
[0013] In one embodiment, the method further comprises:
[0014] When receiving a rental request from a user device for a shared device, storing a correspondence between the user device and the shared device;
[0015] The step of obtaining, in response to a return request for a target shared device, current geographic location information of a user device associated with the target shared device, and obtaining a short-range communication state between the target shared device and the user device comprises:
[0016] In response to a return request for a target shared device, determining a user device associated with the target shared device from a stored correspondence between user devices and shared devices;
[0017] The current geographical location information of the user equipment associated with the target sharing device and the short-distance communication status between the target sharing device and the associated user equipment are searched in the acquired current geographical location information and the short-distance communication status.
[0018] In one embodiment, the method further comprises:
[0019] According to the center point positions of the preset multiple preset return areas, determine the target center point position with the shortest distance to the position point corresponding to the current geographical location information, and use the preset return area to which the target center point position belongs as the target return area;
[0020] Determine whether the current geographical location information is within the location range corresponding to the target return area;
[0021] If the current geographical location information is within the location range, determining that the current geographical location information is within the target return area;
[0022] If the current geographical location information is not within the location range, it is determined whether the current geographical location information is within a target return area.
[0023] In one embodiment, the short-range communication state between the target sharing device and the user device includes sub-communication states corresponding to a plurality of short-range communication modes, and the method further includes:
[0024] Obtaining a priority corresponding to each short-distance communication mode; the priority is negatively correlated with an effective communication distance of the short-distance communication mode;
[0025] In descending order of priority, determining in sequence whether the sub-communication state corresponding to the short-distance communication mode satisfies the connection condition corresponding to the short-distance communication mode;
[0026] If there is a sub-communication state that satisfies the connection condition corresponding to the short-range communication mode, determining that the short-range communication state meets the preset connection state condition;
[0027] If there is no sub-communication state of the connection condition corresponding to the short-distance communication mode, it is determined that the short-distance communication state does not meet the preset connection state condition.
[0028] In one embodiment, the short-range communication method includes at least one of the following: Bluetooth communication, wireless network communication, and wireless radio frequency signal communication.
[0029] In a second aspect, the present application also provides a method for returning a shared device. The method is applied to a user device, and the method includes:
[0030] When receiving a return instruction for a target shared device, obtaining current geographical location information and obtaining a short-range communication status with the target shared device;
[0031] Based on the current geographic location information and the short-range communication status, a return request is sent to the server, so that the server returns the target shared device when it is determined that the current geographic location information is within the target return area and the short-range communication status meets the preset connection status conditions.
[0032] In one embodiment, the acquiring the short-range communication status with the target shared device includes:
[0033] Monitor several short-range communication signals within a preset range;
[0034] According to the pre-stored shared device identification of the target shared device, screening the short-range communication signal matching the shared device identification;
[0035] According to the short-range communication signal obtained by screening, the short-range communication state between the shared device and the shared device is determined.
[0036] In a third aspect, the present application also provides a method for returning a shared device. The method is applied to a shared device, and the method includes:
[0037] Detecting current motion information and determining whether the motion information satisfies a preset motion stop condition;
[0038] When the motion information satisfies a preset motion stop condition, acquiring a short-range communication state between the shared device and a user device; the user device is a user device associated with the shared device;
[0039] Based on the short-range communication status, a return request is sent to the server, so that the server returns the shared device when it is determined that the current geographic location information of the user device is within the target return area and the short-range communication status meets the preset connection status condition.
[0040] In one embodiment, the acquiring the short-range communication status with the user equipment includes:
[0041] Monitor several short-range communication signals within a preset range;
[0042] According to a pre-stored user equipment identifier of a user equipment, screening a short-range communication signal matching the user equipment identifier;
[0043] According to the short-range communication signal obtained by screening, the short-range communication information between the user equipment and the user equipment is determined.
[0044] In a fourth aspect, the present application further provides a return processing device for a shared device, the device being applied to a server, and the device comprising:
[0045] a response module, configured to, in response to a return request for a target shared device, obtain current geographic location information of a user device associated with the target shared device, and obtain a short-range communication state between the target shared device and the user device;
[0046] The return module is used to return the target shared device when the current geographical location information is within the target return area and the short-range communication state meets the preset connection state condition.
[0047] In a fifth aspect, the present application further provides a return processing device for a shared device, the device being applied to a user device, the device comprising:
[0048] An acquisition module, configured to acquire current geographic location information and a short-range communication status with the target shared device when a return instruction for the target shared device is received;
[0049] The sending module is used to send a return request to the server based on the current geographic location information and the short-range communication status, so that the server returns the target shared device when it is determined that the current geographic location information is within the target return area and the short-range communication status meets the preset connection status conditions.
[0050] In a sixth aspect, the present application further provides a return processing device for a shared device, the device being applied to a shared device, the device comprising:
[0051] A detection module, used to detect current motion information and determine whether the motion information meets a preset motion stop condition;
[0052] an acquisition module, configured to acquire a short-range communication state between the shared device and a user device when the motion information satisfies a preset motion stop condition; the user device is a user device associated with the shared device;
[0053] The sending module is used to send a return request to the server based on the short-range communication status, so that the server returns the shared device when it is determined that the current geographic location information of the user device is within the target return area and the short-range communication status meets the preset connection status conditions.
[0054] In a seventh aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0055] In response to a return request for a target shared device, obtaining current geographic location information of a user device associated with the target shared device, and obtaining a short-range communication state between the target shared device and the user device;
[0056] When the current geographical location information is within the target return area and the short-range communication state meets the preset connection state condition, the target shared device is returned.
[0057] In an eighth aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0058] When receiving a return instruction for a target shared device, obtaining current geographical location information and obtaining a short-range communication status with the target shared device;
[0059] Based on the current geographic location information and the short-range communication status, a return request is sent to the server, so that the server returns the target shared device when it is determined that the current geographic location information is within the target return area and the short-range communication status meets the preset connection status conditions.
[0060] In a ninth aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0061] Detecting current motion information and determining whether the motion information satisfies a preset motion stop condition;
[0062] When the motion information satisfies a preset motion stop condition, acquiring a short-range communication state between the shared device and a user device; the user device is a user device associated with the shared device;
[0063] Based on the short-range communication status, a return request is sent to the server, so that the server returns the shared device when it is determined that the current geographic location information of the user device is within the target return area and the short-range communication status meets the preset connection status condition.
[0064] In a tenth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0065] In response to a return request for a target shared device, obtaining current geographic location information of a user device associated with the target shared device, and obtaining a short-range communication state between the target shared device and the user device;
[0066] When the current geographical location information is within the target return area and the short-range communication state meets the preset connection state condition, the target shared device is returned.
[0067] In an eleventh aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0068] When receiving a return instruction for a target shared device, obtaining current geographical location information and obtaining a short-range communication status with the target shared device;
[0069] Based on the current geographic location information and the short-range communication status, a return request is sent to the server, so that the server returns the target shared device when it is determined that the current geographic location information is within the target return area and the short-range communication status meets the preset connection status conditions.
[0070] In a twelfth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0071] Detecting current motion information and determining whether the motion information satisfies a preset motion stop condition;
[0072] When the motion information satisfies a preset motion stop condition, acquiring a short-range communication state between the shared device and a user device; the user device is a user device associated with the shared device;
[0073] Based on the short-range communication status, a return request is sent to the server, so that the server returns the shared device when it is determined that the current geographic location information of the user device is within the target return area and the short-range communication status meets the preset connection status condition.
[0074] In a thirteenth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0075] In response to a return request for a target shared device, obtaining current geographic location information of a user device associated with the target shared device, and obtaining a short-range communication state between the target shared device and the user device;
[0076] When the current geographical location information is within the target return area and the short-range communication state meets the preset connection state condition, the target shared device is returned.
[0077] In a fourteenth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0078] When receiving a return instruction for a target shared device, obtaining current geographical location information and obtaining a short-range communication status with the target shared device;
[0079] Based on the current geographic location information and the short-range communication status, a return request is sent to the server, so that the server returns the target shared device when it is determined that the current geographic location information is within the target return area and the short-range communication status meets the preset connection status conditions.
[0080] In a fifteenth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0081] Detecting current motion information and determining whether the motion information satisfies a preset motion stop condition;
[0082] When the motion information satisfies a preset motion stop condition, acquiring a short-range communication state between the shared device and a user device; the user device is a user device associated with the shared device;
[0083] Based on the short-range communication status, a return request is sent to the server, so that the server returns the shared device when it is determined that the current geographic location information of the user device is within the target return area and the short-range communication status meets the preset connection status condition.
[0084] The present application proposes a return processing method for a shared device, which is applied to a server. In response to a return request for a target shared device, the current geographic location information of a user device associated with the target shared device is obtained, and the short-range communication status between the target shared device and the user device is obtained. When the current geographic location information is within a target return area and the short-range communication status meets a preset connection status condition, the target shared device is returned.
[0085] The above-mentioned shared device return processing method, device, computer device, storage medium and computer program product determine the geographical location information of the shared device through the geographical location information of the user device and the distance information between the user device and the shared device. Since the positioning accuracy of the user device is higher than that of the shared device, the server can more accurately locate the shared device based on the current geographical location information of the user device and the short-range communication status between the user device and the shared device for return processing, thereby improving the success rate of users returning shared devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0086] Figure 1 A diagram of an application environment of a method for returning a shared device in an embodiment;
[0087] Figure 2 A schematic diagram of a flow chart of a return processing method for a shared device applied to a server in one embodiment;
[0088] Figure 3 It is a flowchart of a method for returning a shared device applied to a user device in one embodiment;
[0089] Figure 4 A schematic diagram of a flow chart of a return processing method for a shared device applied to a shared device in one embodiment;
[0090] Figure 5 A structural block diagram of a return processing device for a shared device applied to a server in one embodiment;
[0091] Figure 6 It is a structural block diagram of a return processing device for a shared device applied to a user device in one embodiment;
[0092] Figure 7 A structural block diagram of a return processing device for a shared device applied to a shared device in one embodiment;
[0093] Figure 8 is an internal structure diagram of a computer device in one embodiment;
[0094] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION
[0095] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0096] In the related art, when a user returns a shared device, the server directly determines whether the shared device can be returned based on the geographic location information of the shared device. However, due to the poor positioning capability of the shared device, the user has returned the shared device to the preset return area, but the server determines that the shared device is not in the preset return area based on the geographic location information sent by the shared device and cannot be returned, resulting in a low success rate for users to return the shared device in the preset return area.
[0097] Based on this, the present application proposes a return processing method for a shared device, which is applied to a server. In response to a return request for a target shared device, the current geographic location information of a user device associated with the target shared device is obtained, and the short-range communication status between the target shared device and the user device is obtained. When the current geographic location information is within the target return area and the short-range communication status meets the preset connection status condition, the target shared device is returned.
[0098] The shared device return processing method of the present application determines the geographical location information of the shared device through the geographical location information of the user device and the distance information between the user device and the shared device. Since the positioning accuracy of the user device is higher than that of the shared device, the server can more accurately locate the shared device based on the current geographical location information of the user device and the short-range communication status between the user device and the shared device for return processing, thereby improving the success rate of users returning shared devices.
[0099] The shared device return processing method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the user device 102 and the shared device 104 communicate with the server 106 through the network. The data storage system can store the data that the server 106 needs to process. The data storage system can be integrated on the server 106, or it can be placed on the cloud or other network servers. Among them, the user device 102 can be but not limited to various smart phones, tablet computers, portable wearable devices, and the portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The shared device 104 can be but not limited to shared bicycles, shared bicycles, shared cars, shared carts, shared notebooks, etc. with integrated computer functions. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0100] In one embodiment, Figure 2 As shown, a method for returning a shared device is provided, which is applied to a server. Figure 1 The server 106 in the example is used as an example to illustrate, and the following steps are included:
[0101] Step 201: In response to a return request for a target shared device, obtain current geographic location information of a user device associated with the target shared device, and obtain a short-range communication state between the target shared device and the user device.
[0102] Among them, the target shared device can be a shared bicycle, shared electric car, shared car, shared wheelchair, etc. The user device associated with the target shared device refers to the user device used by the user when renting the target shared device. The current geographic location information is used to reflect the geographic location information of the current location of the user device, which can be longitude and latitude coordinates, or GPS information based on the Global Positioning System (GPS). The short-range communication status is used to reflect the connection status between the two devices using short-range communication methods, which can include information on whether the connection is connected, and can also include information on the stability of the connection, etc.
[0103] In one embodiment, after the user device receives a return instruction from the user to return the target shared device, it can send a return request for the target shared device to the server, and send the current geographic location information of the device and the short-range communication status between the device and the shared target device to the server. The server determines the geographic location information of the user device associated with the target shared device, and the short-range communication status between the target shared device and the user device based on the geographic location information and short-range communication status sent by the user device.
[0104] Among them, the user device can send a return request, current geographic location information and short-range communication status to the server respectively, or the user device can add the current geographic location information and short-range communication status to the return request and send a return request carrying the current geographic location information and short-range communication status to the server.
[0105] Specifically, the user device may first send a return request for the target shared device to the server, that is, a return request carrying the device identification of the target shared device, and then send the geographic location information of the device and the short-range communication status between the device and the shared target device to the server. The server determines the correspondence between the return request, geographic location information and short-range communication status based on the device identification of the device that sends the return request, geographic location information and short-range communication status, and obtains the current geographic location information of the user device associated with the target shared device and the short-range communication status between the target shared device and the user device.
[0106] Alternatively, after receiving the return instruction from the user to return the target shared device, the user device may collect the current geographic location information of the device and the short-distance communication status between the device and the target shared device, and construct a return request for the target shared device based on the collected current geographic location information, short-distance communication status and the device identification of the associated target shared device and send it to the server. For example, the return request may include a geographic location information field, a communication status field, and a shared device identification field, and the collected current geographic location information, short-distance communication status and the device identification of the associated target shared device are written into the corresponding fields to construct a return request for the target shared device. The server determines the corresponding user device based on the device identification of the device sending the return request, and first determines the target shared device for the return request based on the geographic location information field, communication status field, shared device identification field, etc. in the return request based on the shared device flag field, and then determines the current geographic location information of the user device associated with the target shared device based on the geographic location information field, and determines the short-distance communication status between the target shared device and the user device based on the communication status field.
[0107] In another embodiment, the user device may send a return request and the current geographic location information of the user device, and the target shared device may send the communication status between the user device and the target shared device. The server determines the target shared device targeted by the return request, that is, the corresponding relationship between the shared device and the user device, based on the device identifier of the shared device carried in the return request sent by the user device, and then obtains the geographic location information of the user device associated with the target shared device, as well as the short-range communication status between the target shared device and the user device.
[0108] In another embodiment, the user device may send the current geographic location information of the user device, and the target shared device may send a return request and the communication status between the user device and the target shared device. At this time, after the user uses the user device used to request a rental request for the target shared device to the server, the server needs to store the binding relationship between the user device and the target shared device. The server receives the return request and the short-range communication status sent by the target shared device, and then queries the stored binding relationship between the user device and the target shared device based on the device identifier of the user device that sent the current geographic location information, determines the device identifier of the user device associated with the target shared device, and then obtains the current geographic location information sent by the user device associated with the target shared device.
[0109] Step 203: When the current geographic location information is within the target return area and the short-range communication state meets the preset connection state condition, the target shared device is returned.
[0110] In one embodiment, after the server obtains the current geographic location information of the user device associated with the target shared device and the short-distance communication status between the target shared device and the user device, it determines whether the current geographic location information of the associated user device is within the target return area. If the current geographic location information of the user device is not within the target return area, it means that the user using the user device is not within the target return area, and the target shared device rented by the user will not be within the target shared area. The target shared device cannot be returned, and the return process ends or feedback is given to the user device indicating a return failure. If the server determines that the current geographic location information of the user device is within the target return area, it further determines whether the short-distance communication status between the user device and the target shared device meets the preset connection status conditions. If the server determines that the short-distance communication status between the user device and the target shared device does not meet the preset connection status conditions, it means that the distance between the user device and the target shared device is too far, and the geographic location of the shared device cannot be determined based on the geographic location information of the user device. The return process ends or feedback is given to the user device indicating a return failure. If the server determines that the short-range communication status between the user device and the target shared device meets the preset connection status conditions, it means that the user using the user device is in the target return area, and the distance between the user device and the shared device is within the allowable error range. It can be determined that the shared device is in the target return area and the shared device can be returned.
[0111] In this embodiment, the geographic location information of the shared device is determined through the geographic location information of the user device and the distance information between the user device and the shared device. Since the positioning accuracy of the user device is higher than that of the shared device, the server can more accurately locate the shared device based on the current geographic location information of the user device and the short-range communication status between the user device and the shared device for return processing, thereby improving the success rate of users returning shared devices.
[0112] In one embodiment, the short-distance communication state between the user device and the target sharing device may be sent by the user device or by the target sharing device. Therefore, obtaining the short-distance communication state between the target sharing device and the user device in step 201 may include:
[0113] Receive the short-distance communication status between the target sharing device and the user device sent by the target sharing device. Or, receive the short-distance communication status between the target sharing device and the user device sent by the user device. Or, respectively receive the short-distance communication status between the target sharing device and the user device sent by the target sharing device and the user device.
[0114] In this embodiment, according to actual business needs and actual business execution difficulty, the user device or the target shared device is set to send the short-distance communication status between the user device and the target shared device. In order to ensure that the server receives the short-distance communication status between the user device and the target shared device, the user device and the target shared device may also send the short-distance communication status between the user device and the target shared device to improve the transmission success rate of the short-distance communication status between the user device and the shared device.
[0115] In one embodiment, the above-mentioned shared device return processing method may further include:
[0116] Step 205: When receiving a rental request from a user device for a shared device, store a corresponding relationship between the user device and the shared device.
[0117] In one embodiment, the user can obtain the device identification of the shared device by scanning the identification of the shared device through the user device, or by establishing a Bluetooth connection with the shared device. Then, based on the user device identification of the user device and the shared device identification of the shared device, the user device sends a rental request for the shared device to the server. After receiving the rental request of the user device, the server saves the correspondence between the user device and the shared device to record that the user device has rented the shared device. When the server stores the correspondence between the user device and the shared device, it can store the correspondence between the user device identification of the user device and the shared device identification of the shared device.
[0118] At this time, step 201 includes:
[0119] Step 201A: In response to a return request for a target shared device, determine a user device associated with the target shared device from the stored correspondence between user devices and shared devices.
[0120] In one embodiment, after receiving a return request for a target shared device, the server determines the device identifier corresponding to the target shared device, takes the device identifier corresponding to the target shared device as a match, and searches for the corresponding user device identifier in the correspondence between the device identifier of the user device and the device identifier of the shared device stored on the server. The user device corresponding to the user device identifier is the user device associated with the target shared device.
[0121] Step 201B: Search the current geographical location information of the user device associated with the target sharing device and the short-distance communication status between the target sharing device and the associated user device in the acquired current geographical location information and short-distance communication status.
[0122] In one embodiment, the server receives current geographic location information sent by multiple user devices and short-range communication states between multiple pairs of user devices and shared devices, and searches for current geographic location information sent by user devices associated with the target shared device based on device identifiers of user devices that send each current geographic location information. The server can also search for short-range communication states between the target shared device and the associated user devices sent by the target shared device or the user devices associated with the target shared device based on device identifiers of user devices or shared devices that send each short-range communication state.
[0123] For example, the server receives the current geographic location information A1 sent by user device A1, the current geographic location information A2 sent by user device A2, the current geographic location information A3 sent by user device A3, the short-distance communication status B1 sent by shared device B1, the short-distance communication status B2 sent by shared device B2, and the short-distance communication status B3 sent by shared device B3. The corresponding relationship between user devices and shared devices stored in the server is that user device A1 corresponds to shared device B2, user device A2 corresponds to shared device B3, and user device A3 corresponds to shared device B1. Assuming that the target shared device is shared device B2, according to the stored corresponding relationship between user devices and shared devices, the user device A1 associated with shared device B2 is determined, and according to the device identification of user device A1, the geographic location information sent by user device A1 is found, and according to the device identification of shared device B2, the short-distance communication status sent by shared device B2 is found, that is, the current geographic location information of user device A1 associated with target shared device B2 and the short-distance communication status between target shared device B2 and the associated user device A1 are obtained.
[0124] In one embodiment, the server returns the target shared device when it determines that the current geographic location information of the user device is within the target return area and the short-range communication state between the user device and the target shared device meets the preset connection state condition. After the server returns the target shared device, the corresponding relationship between the target shared device and the associated user device is deleted from the stored corresponding relationship between the user device and the shared device, so that other users can use other user devices to rent the target shared device.
[0125] In this embodiment, when there are multiple user devices and multiple shared devices, the server stores the correspondence between the user devices and the shared devices after receiving the rental request. When a user needs to return the target shared device, the server determines the current geographic location information of the user device associated with the target shared device and the short-range communication status between the target shared device and the associated user device based on the stored correspondence, and then determines whether the target shared device can be returned.
[0126] In one embodiment, the method further includes:
[0127] Step 207: determine the target center point position with the shortest distance to the position point corresponding to the current geographic location information according to the center point positions of the preset multiple preset return areas, and use the preset return area to which the target center point position belongs as the target return area.
[0128] The target return area is the return area closest to the location point corresponding to the current distance position information.
[0129] In one embodiment, when performing standardized return processing, the shared device operator will demarcate several fixed return areas for management purposes, and thus store the demarcated return areas on the server. The geographical location information of the return area is based on the center point position of the return area, which is generally the geometric center of the return area. If the return area is an irregular area, any point in the return area can be used as the middle point position.
[0130] In one embodiment, based on the center point positions of multiple preset return areas, the distances between the position point corresponding to the current geographic location information and the center point positions of each preset return area are calculated respectively, and the center point position with the shortest distance to the position point corresponding to the current geographic location information is determined as the target center point position, and the preset return area to which the target center point position belongs is determined as the target return area.
[0131] Step 209, determine whether the current geographic location information is within the location range corresponding to the target return area: if the current geographic location information is within the location range corresponding to the target return area, determine that the current geographic location information is within the target return area; if the current geographic location information is not within the location range corresponding to the target return area, determine whether the current geographic location information is within the target return area.
[0132] Among them, the position range corresponding to the target return area can be the area range surrounded by each boundary position point of the return area, or the area range occupied by a fixed length and fixed width centered on the midline position point.
[0133] In one embodiment, after the server determines the target return area closest to the location point corresponding to the current distance location information, it determines whether the current geographic location information is within the location range corresponding to the target return area. If the current geographic location information is within the location range corresponding to the target return area, it is determined that the current geographic location information is within the target return area; if the current geographic location information is not within the location range corresponding to the target return area, it is determined whether the current geographic location information is within the target return area.
[0134] In this embodiment, the server first searches for the target return area closest to the location point corresponding to the current geographic location information, and then determines whether the location point corresponding to the current geographic location information is in the target return area, thereby improving the efficiency of determining whether the location point corresponding to the current geographic location information is in the preset return area.
[0135] In one embodiment, the short-distance communication state between the target sharing device and the user device may include sub-communication states corresponding to a plurality of short-distance communication modes, and the above method further includes:
[0136] Step 211: Obtain the priority corresponding to each short-distance communication mode.
[0137] Among them, the priority is negatively correlated with the effective communication distance of the short-distance communication method. Different short-distance communication methods have different corresponding effective communication distances. If the effective communication distance is exceeded, the two parties in short-distance communication will not be able to communicate with each other. The shorter the effective communication distance of the short-distance communication method, the higher the priority corresponding to the short-distance communication method.
[0138] In one embodiment, the priority of each short-distance communication state may be pre-set on the server, and when it is needed, the priority corresponding to each short-distance communication mode may be directly read.
[0139] In one embodiment, the server can also obtain the hardware models of each short-distance communication mode of the user device and the shared device, query the effective communication distance corresponding to the hardware model of each short-distance communication mode according to the hardware model of each short-distance communication mode, and then determine the priority corresponding to each short-distance communication mode.
[0140] Step 213: In descending order of priority, determine in turn whether the sub-communication state corresponding to the short-distance communication mode satisfies the connection condition corresponding to the short-distance communication mode.
[0141] Among them, the connection conditions corresponding to different short-distance communication modes may be different, and the sub-communication state corresponding to the short-distance communication mode may be directly used to determine whether the user device and the shared device are still in a connection state in the short-distance communication mode. The signal strength when the user device and the shared device communicate through the short-distance communication mode may also be directly determined through the sub-communication state corresponding to the short-distance communication mode, thereby determining the distance between the user device and the shared device. The closer the distance between the user device and the shared device, the stronger the signal strength when the user device and the shared device communicate through the short-distance communication mode.
[0142] In one embodiment, the sub-communication state corresponding to the short-distance communication mode is judged in order from high to low priority to see whether it satisfies the connection condition corresponding to the short-distance communication mode. If the server determines that the sub-communication state corresponding to the short-distance communication mode with a high priority meets the connection condition corresponding to the short-distance communication mode, it means that the distance between the user device and the shared device is within the effective communication distance corresponding to the short-distance communication mode. At this time, the distance between the user device and the shared device must be within the effective communication distance corresponding to the short-distance communication mode with a low priority. The server does not need to continue to judge whether the sub-communication state corresponding to the short-distance communication mode with a low priority meets the connection condition corresponding to the short-distance communication mode.
[0143] Step 214: If there is a sub-communication state that satisfies the connection condition corresponding to the short-distance communication mode, it is determined that the short-distance communication state between the user device and the target sharing device meets the preset connection state condition.
[0144] In one embodiment, if the server determines that there is a sub-communication state that meets the connection conditions corresponding to the short-distance communication mode, it determines that the short-distance communication state between the user device and the target shared device meets the preset connection state conditions, that is, it determines that the distance between the user device and the target shared device is within the allowable error range.
[0145] Step 215: If there is no sub-communication state of the connection condition corresponding to the short-distance communication mode, it is determined that the short-distance communication state between the user equipment and the target sharing device does not meet the preset connection state condition.
[0146] In one embodiment, if the server determines that there is no sub-communication state of the connection condition corresponding to the short-range communication mode, it determines that the short-range communication state between the user device and the target shared device does not meet the preset connection state condition, that is, it determines that the distance between the user device and the target shared device is not within the allowable error range.
[0147] In this embodiment, the sub-communication state corresponding to the short-distance communication mode is judged in order from high to low priority whether it satisfies the connection condition corresponding to the short-distance communication mode. If the sub-communication state corresponding to the short-distance communication mode with high priority satisfies the connection condition corresponding to the short-distance communication mode, there is no need to judge whether the sub-communication state corresponding to the short-distance communication mode with low priority satisfies the connection condition corresponding to the short-distance communication mode, thereby reducing the waste of computing resources of the server.
[0148] In one embodiment, the server may also determine that the short-distance communication state between the user device and the target shared device meets the preset connection state condition when it is determined that the sub-communication state of the connection condition corresponding to each short-distance communication mode meets the connection condition corresponding to the short-distance communication mode. When the server determines that the sub-communication state of the connection condition corresponding to any short-distance communication mode does not meet the connection condition corresponding to the short-distance communication mode, it determines that the short-distance communication state between the user device and the target shared device does not meet the preset connection state condition.
[0149] In one embodiment, the short-range communication method includes at least one of the following: Bluetooth communication, wireless network communication, and wireless radio frequency signal communication.
[0150] Among them, Bluetooth is a short-range radio technology with a communication distance generally within 10m. It can exchange wireless information between many devices including mobile phones, PDAs, wireless headphones, laptops, and related peripherals.
[0151] Wireless network communication (WI-FI) converts wired network signals into wireless signals and communicates through wireless signals. The communication distance generally ranges from 10m to 300m. The communication distance will vary depending on the model and structure of the hardware.
[0152] Radio Frequency Identification (RFID) signal is a contactless automatic recognition technology that achieves the purpose of target recognition and data exchange through contactless two-way data transmission between the reader and the radio frequency card. The communication distance is generally within 30m. Depending on the model and structure of the hardware, the communication distance will be slightly different. For example, the communication distance of the closely coupled wireless radio frequency is less than 1 cm, the communication distance of the close coupled wireless radio frequency is less than 15 cm, the communication distance of the sparsely coupled wireless radio frequency is about 1 meter, and the communication distance of the long-range wireless radio frequency ranges from 1 meter to 10 meters, or even farther.
[0153] Among them, in actual applications, the communication distance of wireless radio frequency is the shortest, and the distance between the shared device and the user device needs to be almost close, less than 1 meter or even 0.5 meters, in order to carry out effective short-distance communication. The communication distance of Bluetooth is second, and generally the distance between the shared device and the user device does not exceed 5 meters. Wireless network communication is last, and generally communication can be carried out after the distance between the shared device and the user device exceeds 5 meters. Therefore, among the three communication methods, wireless radio frequency has the highest priority, which is the first priority, Bluetooth has the second priority, and the wireless network has the last priority, which is the third priority.
[0154] The present application also provides a method for returning a shared device, such as Figure 3 As shown, the method is applied to a user device, which may be a portable mobile terminal such as a mobile phone or a tablet. Figure 1 Taking the user equipment 102 in the example as an example, the method includes the following steps:
[0155] Step 301: upon receiving a return instruction for a target shared device, obtain current geographic location information and obtain a short-range communication status with the target shared device.
[0156] Among them, the short-range communication status is used to reflect the connection status between two devices using a short-range communication method, and may include information on whether the connection is established, and may also include information on the stability of the connection, etc.
[0157] In one embodiment, the user inputs a return instruction on the user device, for example, the user inputs the return instruction on the user device by clicking a return button, inputting a preset voice (such as "return"), etc.
[0158] In one embodiment, after receiving a return instruction from the user for a target shared device, the user device can call the geographic location module of the present application to collect the current geographic location information of the device. In addition, it can also call the short-range communication module to collect the short-range communication status between the device and the shared device.
[0159] Step 303: Send a return request to the server based on the current geographic location information and the short-range communication status, so that the server returns the target shared device when it determines that the current geographic location information is within the target return area and the short-range communication status meets the preset connection status conditions.
[0160] In one embodiment, the user equipment may first send a return request to the server, and then send the current geographic location information and the short-range communication status in sequence.
[0161] In another embodiment, the user device can construct a return request for the target shared device based on the current geographic location information and short-range communication status, including a geographic location information field, a communication status field, a shared device identification field, etc., and write the collected current geographic location information, short-range communication status and the device identification of the determined associated target shared device into the corresponding fields, thereby constructing a return request for the target shared device.
[0162] Among them, after the user device sends a return request to the server based on the current geographic location information and short-range communication status, how the server determines whether the target shared device needs to be returned can be referred to the description of the return processing method for the shared device applied to the server above, and will not be described in detail this time.
[0163] In one embodiment, the step 301 of acquiring the short-range communication status with the target sharing device includes:
[0164] Step A1: monitor a number of short-range communication signals within a preset range.
[0165] In one embodiment, there may be many other devices sending short-range communication signals around the user device. After receiving the user's return instruction for the target shared device, the user device starts to monitor several short-range communication signals within a preset range. Among them, the short-range communication signal carries identification information that identifies the sender, such as the sender is a device identification.
[0166] Step A2: According to the pre-stored shared device identification of the target shared device, a short-range communication signal matching the shared device identification is screened.
[0167] In one embodiment, when the user device rents the target shared device, it will establish short-distance communication with the target shared device and store the device identification of the target shared device. After the target shared device establishes a connection with the user device, it continues to send short-distance communication signals to complete the communication. After the user device monitors a number of short-distance communication signals, it filters the short-distance communication signals that match the shared device identification from the stored target shared device among the several short-distance communication signals. Among them, the user device may filter out the short-distance communication signal that matches the shared device identification from the several short-distance communication signals, or it may not filter out the short-distance communication signal that matches the shared device identification, and the filtered short-distance communication signal is empty.
[0168] Step A3: Determine the short-distance communication status with the shared device according to the short-distance communication signal obtained by screening.
[0169] In one embodiment, if the user device selects a short-distance communication signal that matches the shared device identifier among several short-distance communication signals, it is determined that the short-distance communication state between the user device and the shared device is a connected state. If the user device fails to select a short-distance communication signal that matches the shared device identifier among several short-distance communication signals, it is determined that the short-distance communication state between the user device and the shared device is a non-connected state.
[0170] In one embodiment, if the user device filters out a short-range communication signal that matches the shared device identifier from among several short-range communication signals, it can also determine the connection strength with the shared device based on the signal strength of the filtered short-range communication signal, and further determine the distance to the shared device.
[0171] The present application also provides a method for returning a shared device, such as Figure 4 As shown, the method is applied to a shared device, and the method is applied to Figure 1 Taking the shared device 104 in the example as an example, the following steps are included:
[0172] Step 401: Detect current motion information and determine whether the current motion information meets a preset motion stop condition.
[0173] In one embodiment, the shared device may obtain the current motion information of the shared device, including but not limited to the speed and acceleration of the shared device, through an acceleration sensor or the movement trajectory of the shared device over a period of time.
[0174] In one embodiment, the shared device can determine whether the current motion information of the shared device satisfies the conditions such as negative acceleration, gradually slowing speed, or whether the moving trajectory before the current moment is almost unchanged based on the collected current motion information, and then obtain the result of whether the current motion information meets the motion stopping condition.
[0175] Step 403: When the current motion information meets the preset motion stop condition, obtain the short-range communication state between the sharing device and the user device.
[0176] The user equipment is a user equipment associated with the shared device. The short-range communication status is used to reflect the connection status between two devices using the short-range communication method, and may include information on whether the connection is established, and may also include information on the stability of the connection.
[0177] In one embodiment, when the shared device determines that the current motion information meets the preset motion stop condition, it indicates that the user needs to return the shared device, and obtains the short-range communication status between the shared device and the user device.
[0178] In one embodiment, if the shared device determines that the current motion information does not meet the preset motion stop condition, it means that the user has no need or intention to return the shared device, and the current motion information can continue to be detected until the current motion information meets the preset motion stop condition.
[0179] In one embodiment, when a user uses a user device to rent a shared device, the shared device and the user device will be connected for short-distance communication. When the shared device determines that the current motion information meets a preset motion stop condition, the short-distance communication status between the shared device and the user device is obtained based on the short-distance communication connection between the shared device and the user device.
[0180] Step 405: Based on the short-range communication status between the user device and this device, a return request is sent to the server, so that the server returns the shared device when it is determined that the current geographic location information of the user device is within the target return area and the short-range communication status between the user device and this device meets the preset connection status conditions.
[0181] In one embodiment, the shared device first sends a return request to the server, and then sends the short-distance communication status between the user device and the shared device. The shared device can also construct a return request to the server based on the short-distance communication status between the user device and the shared device. For example, a communication status field can be added to the return request, and the short-distance communication status between the user device and the shared device can be written into the field to obtain a return request sent to the server.
[0182] In one embodiment, the shared device can also send its own geographic location information so that the server can directly determine whether it can be returned based on the geographic location information of the shared device. If the server determines that the geographic location information of the shared device is within the target return area, the shared device is directly returned; if the server determines that the geographic location information of the shared device is not within the target return area, it further determines whether the shared device can be returned based on the geographic location information of the user device and the short-range communication status between the user device and the shared device.
[0183] Among them, after the shared device sends a return request to the server based on the short-range communication status, how the server determines whether the target shared device needs to be returned can be referred to the description of the return processing method for the shared device applied to the server above, and will not be described in detail this time.
[0184] In one embodiment, obtaining the short-range communication status with the user equipment in step 403 includes:
[0185] Step B1: monitor a number of short-range communication signals within a preset range.
[0186] In one embodiment, there may be many other devices sending short-range communication signals around the shared device. When the shared device determines that the current motion information meets the preset motion stop condition, it starts to monitor several short-range communication signals within a preset range. The short-range communication signal carries identification information that identifies the sender, such as the sender is a device identification.
[0187] Step B2: According to the pre-stored user equipment identification of the user equipment, a short-range communication signal matching the user equipment identification is screened.
[0188] In one embodiment, when a user device rents a shared device, it establishes short-range communication with the target shared device, and the shared device stores the user device identifier of the user device. After the shared device and the user device establish a connection, they continuously send short-range communication signals to each other to complete the communication. After the shared device monitors a number of short-range communication signals, it filters the short-range communication signal that matches the user device identifier from among the several short-range communication signals based on the stored user device identifier of the user device. Among them, the shared device may filter out the short-range communication signal that matches the user device identifier from among the several short-range communication signals, or it may not filter out the short-range communication signal that matches the user device identifier, and the filtered short-range communication signal is empty.
[0189] Step B3: Determine the short-range communication status with the user equipment according to the short-range communication signal obtained by screening.
[0190] In one embodiment, if the shared device screens out a short-distance communication signal that matches the user device identifier among several short-distance communication signals, it is determined that the short-distance communication state between the shared device and the user device is a connected state. If the shared device fails to screen out a short-distance communication signal that matches the user device identifier among several short-distance communication signals, it is determined that the short-distance communication state between the shared device and the user device is a non-connected state.
[0191] In one embodiment, if the shared device filters out a short-range communication signal that matches the user device identifier from among several short-range communication signals, it can also determine the connection strength between the shared device and the user device based on the signal strength of the filtered short-range communication signal, and further infer the distance between the shared device and the user device.
[0192] The present application also provides a shared device return processing system, which includes a user device, a shared device and a server, wherein:
[0193] The user device is used to obtain the current geographical location information and the short-distance communication status between the user and the target sharing device when receiving the user return instruction, and send a first return request to the server based on the current geographical location information and the short-distance communication status.
[0194] The sharing device is used to detect current motion information and determine whether the current motion information meets a preset motion stop condition. If the current motion information meets the preset motion stop condition, obtain the short-range communication state between the sharing device and the user device. Based on the obtained short-range communication state, send a second return request to the server.
[0195] The server is configured to obtain the current geographic location information of the user device associated with the target shared device and the short-range communication status between the target shared device and the user device in response to the first return request and / or the second return request for the target shared device. If the current geographic location information of the user device is within the target return area and the short-range communication status between the user device and the target shared device meets the preset connection status condition, the target shared device is returned.
[0196] The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above-mentioned methods for returning each shared device. Therefore, the specific limitations in the specific embodiments of the user device, shared device, and server in the system can be found in the above-mentioned limitations on the methods for returning each shared device, and will not be repeated here.
[0197] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0198] Based on the same inventive concept, the embodiments of the present application also provide a return processing device for a shared device corresponding to the return processing method for a shared device applied to a server, a return processing device for a shared device corresponding to the return processing method for a shared device applied to a user device, and a return processing device for a shared device corresponding to the return processing method for a shared device applied to a shared device. The implementation solutions provided by these devices to solve the problems are similar to the implementation solutions recorded in the above methods, so the specific limitations in the embodiments of the return processing device for one or more shared devices provided below can refer to the limitations of the return processing method for shared devices above, and will not be repeated here.
[0199] In one embodiment, Figure 5 As shown, a return processing device 500 for a shared device is provided, the device is applied to a server, and the device comprises: a response module 501 and a return module 503, wherein:
[0200] A response module 501 is used to obtain, in response to a return request for a target shared device, current geographic location information of a user device associated with the target shared device, and to obtain a short-range communication state between the target shared device and the user device;
[0201] The return module 503 is used to return the target shared device if the current geographical location information is within the target return area and the short-range communication state meets the preset connection state condition.
[0202] In one embodiment, the response module 501 is specifically used for:
[0203] In response to a return request for a target shared device, obtaining current geographic location information of a user device associated with the target shared device;
[0204] receiving a short-range communication status between the target sharing device and the user device sent by the target sharing device; and / or
[0205] Receive the short-range communication status between the target sharing device and the user equipment sent by the user equipment.
[0206] In one embodiment, the apparatus further comprises:
[0207] A storage module 505 (not shown in the figure), configured to store the correspondence between the user device and the shared device when receiving a rental request from the user device for the shared device;
[0208] At this time, the above-mentioned response module 501 specifically includes a response subunit 5011 (not shown in the figure) and a search subunit 5013 (not shown in the figure):
[0209] A response subunit 5011 is used to respond to a return request for a target shared device and determine a user device associated with the target shared device from the stored correspondence between user devices and shared devices;
[0210] The searching subunit 5013 is used to search the current geographical location information of the user equipment associated with the target sharing device and the short-distance communication status between the target sharing device and the associated user equipment in the acquired current geographical location information and short-distance communication status.
[0211] In one embodiment, the device further comprises:
[0212] The target area determination module 507 (not shown in the figure) is used to determine the target center point position with the shortest distance to the position point corresponding to the current geographical location information according to the center point positions of the preset multiple preset return areas, and use the preset return area to which the target center point position belongs as the target return area;
[0213] The first judgment module 509 (not shown in the figure) is used to judge whether the current geographical location information is within the location range corresponding to the target return area; if the current geographical location information is within the location range, it is determined that the current geographical location information is within the target return area; if the current geographical location information is not within the location range, it is determined whether the current geographical location information is within the target return area.
[0214] In one embodiment, the short-range communication state between the target sharing device and the user device includes sub-communication states corresponding to a plurality of short-range communication modes, and the apparatus further includes:
[0215] A priority acquisition module 511 (not shown in the figure) is used to acquire the priority corresponding to each short-distance communication mode; the priority is negatively correlated with the effective communication distance of the short-distance communication mode;
[0216] The second judgment module 513 (not shown in the figure) is used to judge whether the sub-communication state corresponding to the short-distance communication mode satisfies the connection condition corresponding to the short-distance communication mode in order of priority from high to low; if there is a sub-communication state that satisfies the connection condition corresponding to the short-distance communication mode, it is determined that the short-distance communication state meets the preset connection state condition; if there is no sub-communication state that meets the connection condition corresponding to the short-distance communication mode, it is determined that the short-distance communication state does not meet the preset connection state condition.
[0217] In one embodiment, the short-range communication method includes at least one of the following: Bluetooth communication, wireless network communication, and wireless radio frequency signal communication.
[0218] In one embodiment, Figure 6 As shown, a shared device return processing device 600 is provided, the device is applied to a user device, and the device includes: an acquisition module 601 and a sending module 603, wherein:
[0219] The acquisition module 601 is used to acquire the current geographical location information and the short-range communication status with the target sharing device when receiving the return instruction for the target sharing device;
[0220] The sending module 603 is used to send a return request to the server based on the current geographic location information and the short-range communication status, so that the server returns the target shared device when it is determined that the current geographic location information is within the target return area and the short-range communication status meets the preset connection status conditions.
[0221] In one embodiment, the acquisition module 601 specifically includes:
[0222] The location information acquisition unit 6011 (not shown in the figure) is used to acquire the current geographical location information when receiving a return instruction for the target shared device.
[0223] The communication status acquisition unit 6013 (not shown in the figure) is used to monitor a number of short-range communication signals within a preset range; based on the shared device identification of the pre-stored target shared device, filter the short-range communication signal that matches the shared device identification; based on the filtered short-range communication signal, determine the short-range communication status between the shared device and the shared device.
[0224] In one embodiment, Figure 7As shown, a return processing device 700 for a shared device is provided, and the device is applied to a shared device. The device includes: a detection module 701, an acquisition module 703, and a sending module 705, wherein:
[0225] The detection module 701 is used to detect the current motion information and determine whether the motion information meets the preset motion stop condition;
[0226] An acquisition module 703 is configured to acquire a short-range communication state between the shared device and a user device when the motion information satisfies a preset motion stop condition; the user device is a user device associated with the shared device;
[0227] The sending module 705 is used to send a return request to the server based on the short-range communication status, so that the server returns the shared device when it determines that the current geographic location information of the user device is within the target return area and the short-range communication status meets the preset connection status conditions.
[0228] In one embodiment, the acquisition module 703 is specifically used for:
[0229] When the motion information meets the preset motion stop condition, monitor several short-distance communication signals within a preset range; based on the user equipment identification of the pre-stored user equipment, filter the short-distance communication signal matching the user equipment identification; and determine the short-distance communication information between the user equipment and the short-distance communication signal obtained by filtering.
[0230] Each module in the return processing device of each shared device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0231] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8As shown. The computer device includes a processor, a memory and a network interface connected through 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, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the current geographic location information data sent by the user device and the communication status data between the user device and the shared device. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements the above-mentioned return processing method for a shared device applied to a server.
[0232] In one embodiment, a computer device is provided. The computer device may be a shared device or a user device. The internal structure diagram thereof may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an 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 the 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 implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, it implements the above-mentioned return processing method for a shared device applied to a shared device or a return processing method for a shared device applied to a user device.
[0233] Those skilled in the art will understand that Figure 8 or Fig. 9 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 those shown in the figure, or combine certain components, or have a different arrangement of components.
[0234] In one embodiment, a computer device is also 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 steps in the above-mentioned embodiments of a method for returning a shared device applied to a server, a method for returning a shared device applied to a user device, and a method for returning a shared device applied to a shared device are implemented.
[0235] 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 steps in the above-mentioned embodiments of a method for returning a shared device applied to a server, a method for returning a shared device applied to a user device, and a method for returning a shared device applied to a shared device are implemented.
[0236] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps in the above-mentioned embodiments of a method for returning a shared device applied to a server, a method for returning a shared device applied to a user device, and a method for returning a shared device applied to a shared device.
[0237] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0238] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the 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 the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. 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). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0239] The technical features of the above embodiments may 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.
[0240] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for returning a shared device, characterized in that: The method is applied to a server, and the method comprises: In response to a return request for a target shared device, current geographic location information of a user device associated with the target shared device is obtained, and a short-range communication status between the target shared device and the user device is obtained; the current geographic location information is used to reflect the geographic location information of the current location of the user device; the short-range communication status between the target shared device and the user device includes sub-communication statuses corresponding to a plurality of short-range communication modes; the current geographic location information of the user device associated with the target shared device is used to accurately locate the target shared device; the target shared device is determined based on a device identifier in the return request, wherein the short-range communication status is established when the user device rents the target shared device, and after the target shared device establishes a short-range communication connection with the user device, it continuously sends a short-range communication signal to complete the communication, and the short-range communication status is used to reflect the connection status between the user device and the target shared device; Obtaining a priority corresponding to each of the short-distance communication modes; the priority is negatively correlated with an effective communication distance of the short-distance communication mode; In descending order of priority, determining in sequence whether the sub-communication state corresponding to the short-distance communication mode satisfies the connection condition corresponding to the short-distance communication mode; If there is a sub-communication state that satisfies the connection condition corresponding to the short-range communication mode, determining that the short-range communication state meets the preset connection state condition; If there is no sub-communication state of the connection condition corresponding to the short-distance communication mode, it is determined that the short-distance communication state does not meet the preset connection state condition, wherein the preset connection state condition is that the distance between the user device and the target shared device is within an allowable error range; When the current geographical location information is within the target return area and the short-range communication state meets the preset connection state condition, the target shared device is returned.
2. The method according to claim 1, characterized in that: The acquiring the short-range communication state between the target sharing device and the user device includes: receiving a short-range communication status between the target sharing device and the user device sent by the target sharing device; and / or Receive the short-range communication status between the target sharing device and the user equipment sent by the user equipment.
3. The method according to claim 1, characterized in that: The method further comprises: When receiving a rental request from a user device for a shared device, storing a correspondence between the user device and the shared device; The step of obtaining, in response to a return request for a target shared device, current geographic location information of a user device associated with the target shared device, and obtaining a short-range communication state between the target shared device and the user device comprises: In response to a return request for a target shared device, determining a user device associated with the target shared device from a stored correspondence between user devices and shared devices; The current geographical location information of the user equipment associated with the target sharing device and the short-distance communication status between the target sharing device and the associated user equipment are searched in the acquired current geographical location information and the short-distance communication status.
4. The method according to claim 1, characterized in that: The method further comprises: According to the center point positions of the preset multiple preset return areas, determine the target center point position with the shortest distance to the position point corresponding to the current geographical location information, and use the preset return area to which the target center point position belongs as the target return area; Determine whether the current geographical location information is within the location range corresponding to the target return area; If the current geographical location information is within the location range, determining that the current geographical location information is within the target return area; If the current geographical location information is not within the location range, it is determined whether the current geographical location information is within a target return area.
5. The method according to claim 1, characterized in that The short-distance communication method includes at least one of the following: Bluetooth communication, wireless network communication, and wireless radio frequency signal communication.
6. A method for returning a shared device, characterized in that: The method is applied to a user equipment, and the method comprises: When a return instruction is received for a target shared device, current geographic location information is obtained, and a short-range communication state with the target shared device is obtained; the current geographic location information is used to reflect the geographic location information of the current location of the user device; the short-range communication state between the target shared device and the user device includes sub-communication states corresponding to a plurality of short-range communication modes; the current geographic location information of the user device associated with the target shared device is used to accurately locate the target shared device; the target shared device is determined based on the device identifier in the return request, wherein the short-range communication state is established when the user device rents the target shared device, and after the target shared device establishes a short-range communication connection with the user device, it continuously sends short-range communication signals to complete the communication, and the short-range communication state Used to reflect the connection status of the user device and the target shared device; obtain the priority corresponding to each of the short-distance communication modes through the target shared device; the priority is negatively correlated with the effective communication distance of the short-distance communication mode; judge in order from high to low priority whether the sub-communication state corresponding to the short-distance communication mode satisfies the connection condition corresponding to the short-distance communication mode; if there is a sub-communication state that satisfies the connection condition corresponding to the short-distance communication mode, determine that the short-distance communication state meets the preset connection state condition; if there is no sub-communication state that meets the connection condition corresponding to the short-distance communication mode, determine that the short-distance communication state does not meet the preset connection state condition, wherein the preset connection state condition is that the distance between the user device and the target shared device is within an allowable error range; Based on the current geographic location information and the short-range communication status, a return request is sent to the server, so that the server returns the target shared device when it is determined that the current geographic location information is within the target return area and the short-range communication status meets the preset connection status conditions.
7. The method according to claim 6, characterized in that The obtaining of the short-range communication status with the target shared device includes: Monitor several short-range communication signals within a preset range; According to the pre-stored shared device identification of the target shared device, screening the short-range communication signal matching the shared device identification; According to the short-range communication signal obtained by screening, the short-range communication state between the shared device and the shared device is determined.
8. A method for returning a shared device, characterized in that: The method is applied to a shared device, and the method comprises: Detecting current motion information and determining whether the motion information satisfies a preset motion stop condition; In the case where the motion information meets a preset motion stop condition, the short-distance communication state between the shared device and the user device is obtained; the user device is a user device associated with the shared device; the short-distance communication state between the target shared device and the user device includes sub-communication states corresponding to multiple short-distance communication modes; the current geographic location information of the user device associated with the target shared device is used to accurately locate the target shared device; the target shared device is determined based on the device identifier in the return request, wherein the short-distance communication state is established when the user device rents the target shared device, and after the target shared device establishes a short-distance communication connection with the user device, it continuously sends short-distance communication signals to complete the communication, and the short-distance communication state is used to reflect the user device and The connection status of the target shared device; obtaining the priority corresponding to each of the short-distance communication modes through the target shared device; the priority is negatively correlated with the effective communication distance of the short-distance communication mode; judging in descending order of priority whether the sub-communication state corresponding to the short-distance communication mode satisfies the connection condition corresponding to the short-distance communication mode; if there is a sub-communication state that satisfies the connection condition corresponding to the short-distance communication mode, determining that the short-distance communication state meets the preset connection state condition; if there is no sub-communication state that meets the connection condition corresponding to the short-distance communication mode, determining that the short-distance communication state does not meet the preset connection state condition, wherein the preset connection state condition is that the distance between the user device and the target shared device is within an allowable error range; Based on the short-range communication status, a return request is sent to the server so that the server returns the shared device when it determines that the current geographic location information of the user device is within the target return area and the short-range communication status meets the preset connection status conditions; the current geographic location information is used to reflect the geographic location information of the current location of the user device.
9. The method according to claim 8, characterized in that The acquiring of the short-range communication status with the user equipment includes: Monitor several short-range communication signals within a preset range; According to a pre-stored user equipment identifier of a user equipment, screening a short-range communication signal matching the user equipment identifier; According to the short-range communication signal obtained by screening, the short-range communication information between the user equipment and the user equipment is determined.
10. A return processing system for a shared device, characterized in that: The system includes a user device, a shared device and a server, wherein: The user device is used to obtain current geographic location information and a short-range communication status with a target shared device when receiving a user return instruction; and send a first return request to the server based on the current geographic location information and the short-range communication status; the current geographic location information is used to reflect the geographic location information of the current location of the user device; The shared device is used to detect current motion information and determine whether the motion information meets a preset motion stop condition; if the motion information meets the preset motion stop condition, obtain a short-range communication state between the shared device and the user device; and send a second return request to the server based on the short-range communication state; The server is used to obtain the current geographic location information of the user device associated with the target shared device and the short-range communication status between the target shared device and the user device in response to the first return request and / or the second return request for the target shared device; the current geographic location information of the user device associated with the target shared device is used to accurately locate the target shared device; the target shared device is determined based on the device identifier in the return request, wherein the short-range communication status is established when the user device rents the target shared device, and after the target shared device establishes a short-range communication connection with the user device, it continuously sends a short-range communication signal to complete the communication, and the short-range communication status is used to reflect the connection status between the user device and the target shared device; obtain the priority corresponding to each of the short-range communication modes ; The priority is negatively correlated with the effective communication distance of the short-distance communication mode; in order of priority from high to low, determine in turn whether the sub-communication state corresponding to the short-distance communication mode satisfies the connection condition corresponding to the short-distance communication mode; if there is a sub-communication state that satisfies the connection condition corresponding to the short-distance communication mode, determine that the short-distance communication state meets the preset connection state condition; if there is no sub-communication state that meets the connection condition corresponding to the short-distance communication mode, determine that the short-distance communication state does not meet the preset connection state condition; when the current geographical location information is within the target return area and the short-distance communication state meets the preset connection state condition, return the target shared device, wherein the preset connection state condition is that the distance between the user device and the target shared device is within an allowable error range.
11. A return processing device for a shared device, characterized in that: The device is applied to a server, and comprises: A response module, for responding to a return request for a target shared device, obtaining current geographic location information of a user device associated with the target shared device, and obtaining a short-range communication status between the target shared device and the user device; the current geographic location information is used to reflect the geographic location information of the current location of the user device; the current geographic location information of the user device associated with the target shared device is used to accurately locate the target shared device; the target shared device is determined based on the device identifier in the return request, wherein the short-range communication status is established when the user device rents the target shared device, and after the target shared device establishes a short-range communication connection with the user device, it continuously sends a short-range communication signal to complete the communication, and the short-range communication status is used to respond The method comprises the steps of: reflecting the connection status of the user device and the target shared device; obtaining the priority corresponding to each of the short-distance communication modes; the priority being negatively correlated with the effective communication distance of the short-distance communication mode; judging in descending order of priority whether the sub-communication state corresponding to the short-distance communication mode satisfies the connection condition corresponding to the short-distance communication mode; if there is a sub-communication state satisfying the connection condition corresponding to the short-distance communication mode, determining that the short-distance communication state satisfies the preset connection state condition; if there is no sub-communication state satisfying the connection condition corresponding to the short-distance communication mode, determining that the short-distance communication state does not meet the preset connection state condition, wherein the preset connection state condition is that the distance between the user device and the target shared device is within an allowable error range; The return module is used to return the target shared device when the current geographical location information is within the target return area and the short-range communication state meets the preset connection state condition.
12. A return processing device for a shared device, characterized in that: The device is applied to user equipment, and the device includes: An acquisition module is used to acquire current geographic location information and a short-range communication status with the target shared device when a return instruction for the target shared device is received; the current geographic location information is used to reflect the geographic location information of the current location of the user device; the short-range communication status between the target shared device and the user device includes sub-communication statuses corresponding to a plurality of short-range communication modes; the current geographic location information of the user device associated with the target shared device is used to accurately locate the target shared device; the target shared device is determined based on the device identifier in the return request, wherein the short-range communication status is established when the user device rents the target shared device, and after the target shared device establishes a short-range communication connection with the user device, it continuously sends a short-range communication signal to complete the communication, and the short-range communication signal is continuously sent to the target shared device to complete the communication. The communication status is used to reflect the connection status of the user device and the target shared device; the priority corresponding to each of the short-distance communication modes is obtained through the target shared device; the priority is negatively correlated with the effective communication distance of the short-distance communication mode; in order from high to low priority, it is judged in turn whether the sub-communication state corresponding to the short-distance communication mode satisfies the connection condition corresponding to the short-distance communication mode; if there is a sub-communication state that satisfies the connection condition corresponding to the short-distance communication mode, it is determined that the short-distance communication state meets the preset connection state condition; if there is no sub-communication state that meets the connection condition corresponding to the short-distance communication mode, it is determined that the short-distance communication state does not meet the preset connection state condition, wherein the preset connection state condition is that the distance between the user device and the target shared device is within an allowable error range; The sending module is used to send a return request to the server based on the current geographic location information and the short-range communication status, so that the server returns the target shared device when it is determined that the current geographic location information is within the target return area and the short-range communication status meets the preset connection status conditions.
13. A return processing device for a shared device, characterized in that: The device is applied to a shared device, and comprises: A detection module, used to detect current motion information and determine whether the motion information meets a preset motion stop condition; An acquisition module is used to acquire the short-distance communication state between the shared device and the user device when the motion information meets a preset motion stop condition; the user device is a user device associated with the shared device; the short-distance communication state between the target shared device and the user device includes sub-communication states corresponding to multiple short-distance communication modes; the current geographic location information of the user device associated with the target shared device is used to accurately locate the target shared device; the target shared device is determined based on the device identification in the return request, wherein the short-distance communication state is established when the user device rents the target shared device, and after the target shared device establishes a short-distance communication connection with the user device, it continuously sends a short-distance communication signal to complete the communication, and the short-distance communication state is used to reflect the user device. The method comprises the following steps: determining a connection state between a user device and the target shared device; obtaining a priority corresponding to each of the short-distance communication modes through the target shared device; the priority is negatively correlated with the effective communication distance of the short-distance communication mode; judging in descending order of priority whether the sub-communication state corresponding to the short-distance communication mode satisfies the connection condition corresponding to the short-distance communication mode; if there is a sub-communication state that satisfies the connection condition corresponding to the short-distance communication mode, determining that the short-distance communication state meets the preset connection state condition; if there is no sub-communication state that meets the connection condition corresponding to the short-distance communication mode, determining that the short-distance communication state does not meet the preset connection state condition, wherein the preset connection state condition is that the distance between the user device and the target shared device is within an allowable error range; A sending module is used to send a return request to the server based on the short-range communication status, so that the server returns the shared device when it is determined that the current geographic location information of the user device is within the target return area and the short-range communication status meets the preset connection status conditions; the current geographic location information is used to reflect the geographic location information of the current location of the user device.
14. 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 or 6 to 7 or 8 to 9 are implemented.
15. 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 of any one of claims 1 to 5 or 6 to 7 or 8 to 9 are implemented.
16. 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 or 6 to 7 or 8 to 9 are implemented.
Citation Information
Patent Citations
Renting method for shared device, shared control device and mobile terminal
CN110189476A
Prompting method and device based on shared equipment, electronic equipment and storage medium
CN111861829A
Equipment returning method and device, equipment and storage medium
CN111951142A
Interaction method, interaction device, storage medium and electronic device
CN112150720A
Shared product borrowing method and device, equipment and storage medium
CN112735041A
