[go: up one dir, main page]

CN111951142A - Device return method, device, device and storage medium - Google Patents

Device return method, device, device and storage medium Download PDF

Info

Publication number
CN111951142A
CN111951142A CN202010756788.4A CN202010756788A CN111951142A CN 111951142 A CN111951142 A CN 111951142A CN 202010756788 A CN202010756788 A CN 202010756788A CN 111951142 A CN111951142 A CN 111951142A
Authority
CN
China
Prior art keywords
target
return
parking point
distance
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010756788.4A
Other languages
Chinese (zh)
Inventor
陈东棋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qisheng Technology Co Ltd
Original Assignee
Beijing Qisheng Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qisheng Technology Co Ltd filed Critical Beijing Qisheng Technology Co Ltd
Priority to CN202010756788.4A priority Critical patent/CN111951142A/en
Publication of CN111951142A publication Critical patent/CN111951142A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/005Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 with correlation of navigation data from several sources, e.g. map or contour matching

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Tourism & Hospitality (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Human Resources & Organizations (AREA)
  • General Health & Medical Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Automation & Control Theory (AREA)
  • Traffic Control Systems (AREA)
  • Navigation (AREA)

Abstract

本公开实施例涉及一种设备归还方法、装置、设备和存储介质。所述方法包括:获取基于提醒信息触发的操作指令;其中,操作指令中包括目的地址;提醒信息为共享设备在行驶过程中检测到自身电量小于预设的第一阈值时输出的信息;向服务器发送包括目的地址和共享设备当前位置的归还请求;归还请求用于指示归还共享设备;接收服务器根据归还请求返回的归还信息;归还信息中包括目标停放点的位置。采用本方法能够提高归还共享设备的效率。

Figure 202010756788

Embodiments of the present disclosure relate to a device returning method, apparatus, device, and storage medium. The method includes: acquiring an operation instruction triggered based on reminder information; wherein, the operation instruction includes a destination address; the reminder information is information output when the shared device detects that its own power is less than a preset first threshold during driving; Send a return request including the destination address and the current location of the shared device; the return request is used to instruct the return of the shared device; the return information returned by the server according to the return request is received; the return information includes the location of the target parking point. Using the method can improve the efficiency of returning the shared equipment.

Figure 202010756788

Description

设备归还方法、装置、设备和存储介质Device return method, device, device and storage medium

技术领域technical field

本公开实施例涉及共享设备技术领域,特别是涉及一种设备归还方法、装置、设备和存储介质。The embodiments of the present disclosure relate to the technical field of shared devices, and in particular, to a device return method, apparatus, device, and storage medium.

背景技术Background technique

随着共享经济的发展,共享电单车作为一种新型的共享交通工具,为人们的生活提供了极大的便利,也在一定程度上缓解了城市公共交通的压力。而共享电单车依靠电池供电来为骑行续航,用户在骑行过程中会出现电量不足,无法支持用户骑行到预定目的地的情况,这就需要用户寻找合适的还车点进行还车,并选择其他方式继续出行。With the development of the sharing economy, shared motorcycles, as a new type of shared transportation, have provided great convenience for people's lives and relieved the pressure of urban public transportation to a certain extent. However, shared motorcycles rely on battery power to provide battery life. During the ride, users may experience insufficient power and cannot support the user to ride to the predetermined destination. This requires the user to find a suitable return point to return the bike. and choose another way to continue traveling.

传统技术中,当共享电单车的电池电量低于设定阈值时,共享电单车会发出低电告警,提醒用户共享电单车电量不足,用户需要寻找还车点进行还车。In the traditional technology, when the battery power of the shared motorcycle is lower than the set threshold, the shared motorcycle will issue a low-power alarm to remind the user that the shared motorcycle has insufficient power, and the user needs to find a return point to return the bike.

然而,传统的共享电单车的还车方法,存在无法及时还车的问题。However, the traditional method of returning shared motorcycles has the problem that it cannot be returned in time.

发明内容SUMMARY OF THE INVENTION

本公开实施例提供一种设备归还方法、装置、设备和存储介质,可以用于改善共享电单车的归还效率。Embodiments of the present disclosure provide a device return method, device, device, and storage medium, which can be used to improve the return efficiency of shared motorcycles.

第一方面,本公开实施例提供一种设备归还方法,所述方法包括:In a first aspect, an embodiment of the present disclosure provides a method for returning equipment, the method comprising:

获取基于提醒信息触发的操作指令;其中,所述操作指令中包括目的地址;所述提醒信息为共享设备在行驶过程中检测到自身电量小于预设的第一阈值时输出的信息;Obtaining an operation instruction triggered based on the reminder information; wherein, the operation instruction includes a destination address; the reminder information is information output by the sharing device when it detects that its own power is less than a preset first threshold during driving;

向服务器发送包括所述目的地址和所述共享设备当前位置的归还请求;所述归还请求用于指示归还所述共享设备;sending a return request including the destination address and the current location of the shared device to the server; the return request is used to instruct the return of the shared device;

接收所述服务器根据所述归还请求返回的归还信息;所述归还信息中包括目标停放点的位置。Receive return information returned by the server according to the return request; the return information includes the location of the target parking point.

第二方面,本公开实施例提供一种设备归还方法,所述方法包括:In a second aspect, an embodiment of the present disclosure provides a method for returning equipment, the method comprising:

接收用户端发送的归还请求;所述归还请求为基于提醒信息触发的,且包括共享设备的目的地址和所述共享设备当前位置;所述提醒信息为共享设备在行驶过程中检测到自身电量小于预设的第一阈值时输出的信息;Receive a return request sent by the client; the return request is triggered based on the reminder information, and includes the destination address of the shared device and the current location of the shared device; the reminder information is that the shared device detects that its own power is less than The information output at the preset first threshold;

根据所述目的地址和所述共享设备当前位置,确定所述共享设备的归还信息;所述归还信息中包括目标停放点的位置;According to the destination address and the current location of the shared device, determine the return information of the shared device; the return information includes the location of the target parking point;

向所述用户端发送所述归还信息。Send the return information to the client.

第三方面,本公开实施例提供一种设备归还装置,所述装置包括:In a third aspect, an embodiment of the present disclosure provides an apparatus for returning equipment, the apparatus comprising:

第一获取模块,用于获取基于提醒信息触发的操作指令;其中,所述操作指令中包括目的地址;所述提醒信息为共享设备在行驶过程中检测到自身电量小于预设的第一阈值时输出的信息;The first obtaining module is used to obtain an operation instruction triggered based on the reminder information; wherein, the operation instruction includes a destination address; the reminder information is when the shared device detects that its own power is less than a preset first threshold during the driving process output information;

发送模块,用于向服务器发送包括所述目的地址和所述共享设备当前位置的归还请求;所述归还请求用于指示归还所述共享设备;a sending module, configured to send a return request including the destination address and the current location of the shared device to the server; the return request is used to instruct the return of the shared device;

接收模块,用于接收所述服务器根据所述归还请求返回的归还信息;所述归还信息中包括目标停放点的位置。The receiving module is configured to receive return information returned by the server according to the return request; the return information includes the location of the target parking point.

第四方面,本公开实施例提供一种设备归还装置,所述装置包括:In a fourth aspect, an embodiment of the present disclosure provides an apparatus for returning equipment, the apparatus comprising:

接收模块,用于接收用户端发送的归还请求;所述归还请求为基于提醒信息触发的,且包括共享设备的目的地址和所述共享设备当前位置;所述提醒信息为共享设备在行驶过程中检测到自身电量小于预设的第一阈值时输出的信息;a receiving module, configured to receive a return request sent by the client; the return request is triggered based on reminder information, and includes the destination address of the shared device and the current location of the shared device; the reminder information is that the shared device is in the process of driving Information output when it is detected that its own power is less than the preset first threshold;

第一确定模块,用于根据所述目的地址和所述共享设备当前位置,确定所述共享设备的归还信息;所述归还信息中包括目标停放点的位置;a first determining module, configured to determine return information of the shared device according to the destination address and the current location of the shared device; the return information includes the location of the target parking point;

发送模块,用于向所述用户端发送所述归还信息。A sending module, configured to send the return information to the client.

第五方面,本公开实施例提供一种终端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述第一方面所述的方法。In a fifth aspect, an embodiment of the present disclosure provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the above when executing the computer program The method described in the first aspect.

第六方面,本公开实施例提供一种服务器,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述第二方面所述的方法。In a sixth aspect, an embodiment of the present disclosure provides a server, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the above when executing the computer program The method described in the second aspect.

第七方面,本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面和第二方面所述的方法。In a seventh aspect, an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the methods described in the first aspect and the second aspect.

本公开实施例提供的设备归还方法、装置、设备和存储介质,共享设备在行驶过程中检测到自身电量小于预设的第一阈值时将输出提醒信息,用户端能够获取基于该提醒信息触发的包括共享设备的目的地址的操作指令,这样用户端可以向服务器发送包括共享设备的目的地址和共享设备当前位置的归还请求,指示服务器根据该归还请求确定的共享设备的归还信息,进而可以使用户端能够根据该归还信息中包括的目标停放点的位置及时地归还共享设备,从而提高了归还共享设备的效率。In the device return method, device, device, and storage medium provided by the embodiments of the present disclosure, when the shared device detects that its battery power is less than a preset first threshold value during driving, it will output reminder information, and the user terminal can obtain the trigger based on the reminder information. An operation instruction including the destination address of the shared device, so that the client can send a return request including the destination address of the shared device and the current location of the shared device to the server, instructing the server to determine the return information of the shared device according to the return request, so that the user can The terminal can timely return the shared device according to the location of the target parking point included in the return information, thereby improving the efficiency of returning the shared device.

附图说明Description of drawings

图1为一个实施例中设备归还方法的应用环境图;Fig. 1 is the application environment diagram of the device returning method in one embodiment;

图2为一个实施例中设备归还方法的流程示意图;2 is a schematic flowchart of a method for returning equipment in one embodiment;

图3为另一个实施例中设备归还方法的流程示意图;3 is a schematic flowchart of a method for returning equipment in another embodiment;

图4为一个实施例中设备归还方法的流程示意图;4 is a schematic flowchart of a method for returning equipment in one embodiment;

图5为另一个实施例中设备归还方法的流程示意图;5 is a schematic flowchart of a method for returning equipment in another embodiment;

图6为一个实施例中设备归还方法的流程示意图;6 is a schematic flowchart of a method for returning equipment in one embodiment;

图7为一个实施例中设备归还装置的结构框图;7 is a structural block diagram of an apparatus for returning equipment in an embodiment;

图8为另一个实施例中设备归还装置的结构框图;8 is a structural block diagram of an apparatus for returning equipment in another embodiment;

图9为一个实施例中设备归还装置的结构框图;9 is a structural block diagram of an apparatus for returning equipment in one embodiment;

图10为另一个实施例中设备归还装置的结构框图;10 is a structural block diagram of an apparatus for returning equipment in another embodiment;

图11为一个实施例中电子设备的内部结构图;11 is an internal structure diagram of an electronic device in one embodiment;

图12为一个实施例中服务器的内部结构图。FIG. 12 is an internal structure diagram of a server in one embodiment.

具体实施方式Detailed ways

为了使本公开实施例的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本公开实施例进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本公开实施例,并不用于限定本公开实施例。In order to make the objectives, technical solutions and advantages of the embodiments of the present disclosure more clear, the embodiments of the present disclosure will be described in further detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present disclosure, and are not used to limit the embodiments of the present disclosure.

首先,在具体介绍本公开实施例的技术方案之前,先对本公开实施例基于的技术背景或者技术演进脉络进行介绍。通常情况下,在共享设备领域,当前的技术背景是:当用户在使用共享电单车骑行的过程中,若共享电单车的电池电量低于设定阈值时,共享电单车发出低点告警,提醒用户共享电单车的电量不足,用户需要寻找还车点归还该共享电单车,但是此时会存在用户无法及时地寻找到换车点,进而导致用户无法及时还车,造成共享电单车乱停乱放的问题。基于该背景,申请人通过长期的实验数据的搜集、演示和验证,发现若用户无法及时地归还共享电单车,就出现了无法将共享电单车在剩余电量内及时地归还到还车点停放的问题。如何在对共享设备使用率要求较高的这个需求下提高共享设备的归还效率,成为目前亟待解决的难题。另外,需要说明的是,从确定共享设备的归还效率较低的问题以及下述实施例介绍的技术方案,申请人均付出了大量的创造性劳动。First, before introducing the technical solutions of the embodiments of the present disclosure in detail, the technical background or technical evolution context on which the embodiments of the present disclosure are based is introduced. Usually, in the field of shared equipment, the current technical background is: when a user is riding a shared motorcycle, if the battery power of the shared motorcycle is lower than a set threshold, the shared motorcycle will issue a low point alarm, Remind the user that the power of the shared motorcycle is insufficient, and the user needs to find a return point to return the shared motorcycle, but at this time, the user may not be able to find the replacement point in time, which will lead to the user unable to return the bike in time, causing the shared motorcycle to stop randomly The messy problem. Based on this background, the applicant, through the collection, demonstration and verification of long-term experimental data, found that if the user cannot return the shared motorcycle in time, there is a problem that the shared motorcycle cannot be returned to the parking point in time within the remaining power. question. How to improve the return efficiency of shared equipment under the requirement of high utilization rate of shared equipment has become an urgent problem to be solved at present. In addition, it should be noted that the applicant has made a lot of creative work from the problem of determining the low return efficiency of the shared equipment and the technical solutions introduced in the following embodiments.

下面结合本公开实施例所应用的场景,对本公开实施例涉及的技术方案进行介绍。The following describes the technical solutions involved in the embodiments of the present disclosure in combination with the scenarios to which the embodiments of the present disclosure are applied.

本公开实施例提供的设备归还方法,可以应用于如图1所示的系统架构中。该系统架构包括共享设备101、用户终端102以及服务器103。其中,共享设备101可以为脚踏自行车、电动自行车、滑板车、摩托车等非机动或者汽车等机动车辆;用户终端102可以为手机、平板电脑、IPAD等电子设备;服务器103可以为独立的服务器或者是多个服务器组成的服务器集群。其中,共享设备101设置有通信组件,其可以通过无线的方式与用户终端102或者服务器103进行通信,例如,服务器103可以根据用户的解锁操作向共享设备发送解锁指令等。另外,用户终端102和服务器103之间可以采用无线或者有线的方式进行通信。本公开实施例对共享设备101、用户终端102以及服务器103之间的通信方式并不做限定。The device returning method provided by the embodiment of the present disclosure can be applied to the system architecture shown in FIG. 1 . The system architecture includes a shared device 101 , a user terminal 102 and a server 103 . Among them, the shared device 101 can be a non-motorized vehicle such as a pedal bicycle, an electric bicycle, a scooter, a motorcycle, or a motor vehicle such as a car; the user terminal 102 can be an electronic device such as a mobile phone, a tablet computer, and an IPAD; the server 103 can be an independent server Or a server cluster composed of multiple servers. The sharing device 101 is provided with a communication component, which can communicate with the user terminal 102 or the server 103 wirelessly. For example, the server 103 can send an unlocking instruction to the sharing device according to the user's unlocking operation. In addition, the communication between the user terminal 102 and the server 103 may be performed in a wireless or wired manner. The embodiment of the present disclosure does not limit the communication manner among the sharing device 101 , the user terminal 102 , and the server 103 .

在一个实施例中,如图2所示,提供了一种设备归还方法,以该方法应用于图1中的共享设备或用户终端(以下将共享设备或用户终端统称为用户端)为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2 , a method for returning a device is provided, and the method is applied to the shared device or user terminal in FIG. 1 (hereinafter, the shared device or user terminal is collectively referred to as the user terminal) as an example. Instructions, including the following steps:

S201,获取基于提醒信息触发的操作指令;其中,操作指令中包括目的地址;提醒信息为共享设备在行驶过程中检测到自身电量小于预设的第一阈值时输出的信息。S201: Acquire an operation instruction triggered based on reminder information; wherein, the operation instruction includes a destination address; and the reminder information is information output by the sharing device when it detects that its own power is less than a preset first threshold during driving.

具体地,用户端获取用户基于共享设备在行驶过程中输出的提醒信息触发的操作指令;其中,该提醒信息为共享设备在行驶过程中检测到自身电量小于预设的第一阈值时输出的提醒信息;上述所触发的操作指令中包括用户所要到达的目的地址。可选的,共享设备可以为共享单车、共享汽车、共享无人机、共享轮船、共享滑翔机中的任一种。可选的,共享设备在行驶过程中输出的提醒信息可以是以广播的形式输出,也可以是以屏幕显示的形式输出。可选的,该提醒信息用于指示用户该共享设备当前的自身剩余电量小于预设的第一阈值,该共享设备将处于低电模式。可选的,用户基于该提醒信息触发的操作指令可以为继续使用该共享设备,也可以为归还该共享设备。可选的,用户触发的操作指令可以是用户通过安装在用户端上的机械按钮、用户端的显示屏上的虚拟控件、用户端上的语音装置或用户端上的手势传感装置中的任意一种方式所触发的。Specifically, the user terminal obtains an operation instruction triggered by the user based on the reminder information output by the sharing device during driving; wherein, the reminder information is a reminder output by the sharing device when it detects that its own power is less than a preset first threshold during the driving process information; the above-mentioned triggered operation instruction includes the destination address to be reached by the user. Optionally, the shared device can be any one of shared bicycles, shared cars, shared drones, shared ships, and shared gliders. Optionally, the reminder information output by the sharing device during driving may be output in the form of broadcast, or may be output in the form of screen display. Optionally, the reminder information is used to indicate to the user that the current remaining power of the shared device is less than a preset first threshold, and the shared device will be in a low power mode. Optionally, the operation instruction triggered by the user based on the reminder information may be to continue to use the shared device, or may be to return the shared device. Optionally, the operation instruction triggered by the user may be any one of a mechanical button installed on the user end, a virtual control on the display screen of the user end, a voice device on the user end, or a gesture sensing device on the user end. triggered in a way.

S202,向服务器发送包括目的地址和共享设备当前位置的归还请求;归还请求用于指示归还共享设备。S202: Send a return request including the destination address and the current location of the shared device to the server; the return request is used to instruct the return of the shared device.

具体地,用户端向服务器发送包括共享设备行驶的目的地址和共享设备当前位置的归还请求,该归还请求用于指示服务器用户需要归还该共享设备。可以理解的是,共享设备行驶的目的地址可以时用户已预先输入到共享设备或用户终端的。可以理解的是,用户端是通过与服务器间的网络连接,向服务器发送的归还请求。Specifically, the client sends a return request including the destination address of the shared device and the current location of the shared device to the server, where the return request is used to indicate that the server user needs to return the shared device. It can be understood that, the destination address of the shared device may have been input to the shared device or the user terminal in advance by the user. It can be understood that the client sends a return request to the server through a network connection with the server.

S203,接收服务器根据归还请求返回的归还信息;归还信息中包括目标停放点的位置。S203: Receive return information returned by the server according to the return request; the return information includes the location of the target parking point.

具体地,用户端接收服务器根据上述归还请求返回的归还信息,其中,归还信息中包括目标停放点的位置。可选的,服务器可以采用广播的形式向用户端下发归还信息,也可以通过与用户端的网络连接向用户端下发归还信息,本公开实施例中不加以限制。可选的,服务器可以根据用户端发送的共享设备行驶的目的地址和共享设备当前位置确定共享设备的目标停放点,进而根据该目标停放点下发包括共享设备的目标停放点的位置的归还信息。可选的,服务器也可以将共享设备周围的停放点的位置作为归还信息返回给用户端,由用户端从这些停放点的位置中确定目标停放点的位置。Specifically, the client receives the return information returned by the server according to the return request, wherein the return information includes the location of the target parking point. Optionally, the server may deliver the return information to the client in the form of broadcasting, or may deliver the return information to the client through a network connection with the client, which is not limited in the embodiments of the present disclosure. Optionally, the server may determine the target parking point of the shared device according to the destination address of the shared device and the current position of the shared device sent by the user terminal, and then issue return information including the location of the target parking point of the shared device according to the target parking point. . Optionally, the server may also return the positions of the parking points around the shared device to the user terminal as return information, and the user terminal determines the position of the target parking point from the positions of these parking points.

上述设备归还方法中,共享设备在行驶过程中检测到自身电量小于预设的第一阈值时将输出提醒信息,用户端能够获取基于该提醒信息触发的包括共享设备的目的地址的操作指令,这样用户端可以向服务器发送包括共享设备的目的地址和共享设备当前位置的归还请求,指示服务器根据该归还请求确定的共享设备的归还信息,进而可以使用户端能够根据该归还信息中包括的目标停放点的位置及时地归还共享设备,从而提高了归还共享设备的效率。In the above device returning method, the shared device will output reminder information when it detects that its own power is less than a preset first threshold value during driving, and the user terminal can obtain an operation instruction triggered based on the reminder information including the destination address of the shared device, so that The client can send a return request including the destination address of the shared device and the current location of the shared device to the server, instructing the server to determine the return information of the shared device according to the return request, so that the client can park according to the target included in the return information. The shared equipment is returned in time at the location of the point, thereby improving the efficiency of returning the shared equipment.

在上述用户端接收服务器下发的包括目标停放点的位置的归还信息的场景中,在一个实施例中,上述目标停放点的第一距离和第二距离之和最小;第一距离为目标停放点的位置与共享设备当前位置之间的距离,第二距离为目标停放点的位置与目的地址之间的距离。In the scenario where the above-mentioned client receives the return information including the position of the target parking point sent by the server, in one embodiment, the sum of the first distance and the second distance of the above-mentioned target parking point is the smallest; the first distance is the target parking point The distance between the location of the point and the current location of the shared device, and the second distance is the distance between the location of the target parking point and the destination address.

具体地,上述用户端接收到服务器下发的归还信息中的目标停放点的第一距离和第二距离之和最小,其中,第一距离为目标停放点的位置与共享设备当前位置之间的距离,第二距离为目标停放点的位置与目的地址之间的距离。也就是,目标停放点为共享设备当前位置与共享设备的行驶目的地之间的停放点,且该停放点的位置与共享设备当前位置之间的距离以及该停放点的位置与共享设备的目的地址之间的距离之和最小。Specifically, the sum of the first distance and the second distance of the target parking point in the return information that the above-mentioned client receives from the server is the smallest, where the first distance is the distance between the position of the target parking point and the current position of the sharing device distance, the second distance is the distance between the position of the target parking point and the destination address. That is, the target parking point is the parking point between the current location of the shared device and the driving destination of the shared device, and the distance between the location of the parking point and the current location of the shared device, and the location of the parking point and the purpose of the shared device. The sum of the distances between addresses is the smallest.

本实施例中,用户端接收到的服务器返回的归还信息中包括的目标停放点的位置与共享设备当前位置之间的距离和目标停放点的位置与目的地址之间的距离之和最小,这样用户端能够根据接收到的归还信息及时地指导用户将共享设备停放至该目标停放点;另外,由于确定的目标停放点的位置与共享设备当前位置之间的距离和目标停放点的位置与目的地址之间的距离之和最小,这样用户端在指导用户在目标停放点停放该共享设备后,还能够指导用户从该目标停放点及时地到达用户所要到达的目的地址。In this embodiment, the sum of the distance between the location of the target parking point included in the return information returned by the server and the current location of the sharing device and the distance between the location of the target parking point and the destination address is the smallest, so that The user terminal can timely guide the user to park the shared device to the target parking point according to the received return information; The sum of the distances between the addresses is the smallest, so that after instructing the user to park the shared device at the target parking point, the user terminal can also instruct the user to reach the destination address the user wants to reach from the target parking point in time.

在上述用户端接收到服务器根据归还请求返回的包括目标停放点的位置的归还信息的场景中,用户端将根据共享设备的当前位置和目标停放点的位置,规划共享设备的目标行驶路径。在一个实施例中,上述方法还包括:根据共享设备的当前位置和目标停放点的位置,规划共享设备的目标行驶路径,并根据目标行驶路径输出导航信息。In the above scenario where the client terminal receives the return information including the location of the target parking spot returned by the server according to the return request, the client terminal will plan the target driving path of the shared device according to the current location of the shared device and the location of the target parking spot. In one embodiment, the above method further includes: planning a target travel path of the shared device according to the current position of the shared device and the position of the target parking point, and outputting navigation information according to the target travel path.

具体地,用户端根据共享设备的当前位置和接收到的目标停放点的位置,规划该共享设备的目标行驶路径,并根据规划的行驶路径输出导航信息。可选的,用户端可以根据地图数据获取共享设备的当前位置和目标停放点的位置之间的多条候选行驶路径,将这多条候选行驶路径中行驶距离最小的候选行驶路径确定为共享设备的目标行驶路径。可选的,用户端可以通过语音播报的方式输出导航信息,也可以通过屏幕显示的方式输出导航信息等等。Specifically, the user terminal plans a target travel path of the shared device according to the current position of the shared device and the received position of the target parking point, and outputs navigation information according to the planned travel path. Optionally, the user terminal may obtain a plurality of candidate driving paths between the current position of the shared device and the position of the target parking point according to the map data, and determine the candidate driving path with the smallest driving distance among the plurality of candidate driving paths as the shared device. target driving path. Optionally, the user terminal may output the navigation information by way of voice broadcast, or output the navigation information by way of screen display, and so on.

本实施例中,用户端根据服务器返回的归还信息中的目标停放点的位置和共享设备的当前位置,能够准确地规划出共享设备的目标行驶路径,进而用户端可以根据规划的目标行驶路径准确地输出导航信息,指导用户根据该导航信息进行准确地行驶,及时地到达目标停放点,提高了共享设备的归还效率。In this embodiment, the client can accurately plan the target driving path of the shared device according to the position of the target parking point in the return information returned by the server and the current position of the shared device, and the user terminal can accurately plan the target driving path according to the planned target driving path. The navigation information is outputted in a timely manner, and the user is guided to drive accurately according to the navigation information and arrive at the target parking point in time, thereby improving the return efficiency of the shared equipment.

在上述用户端向服务器发送归还请求指示服务器归还共享设备的场景中,归还请求还用于指示服务器确定对该共享设备进行替换的目标替换设备。在一个实施例中,上述归还请求还用于指示服务器确定目标替换设备;归还信息中还包括目标替换设备的标识;其中,目标替换设备为目标停放点停放的共享设备,且目标替换设备的剩余电量大于预设的第二阈值。In the above scenario where the client sends a return request to the server to instruct the server to return the shared device, the return request is also used to instruct the server to determine a target replacement device to replace the shared device. In one embodiment, the above-mentioned return request is further used to instruct the server to determine the target replacement device; the return information also includes an identifier of the target replacement device; wherein, the target replacement device is a shared device parked at the target parking point, and the remaining target replacement devices are The power level is greater than the preset second threshold.

具体地,用户端向服务器发送的归还请求还用于指示服务器确定该共享设备的目标替换设备;相应地,用户端接收到的服务器返回的归还信息中还包括目标替换设备的标识,其中,目标替换设备为上述确定的目标停放点停放的共享设备,且目标替换设备的剩余电量大于预设的第二阈值。这里需要说明的是,本实施例中的第二阈值大于上述实施例中的第一阈值,即上述第一阈值为低电阈值,本实施例中的第二阈值为共享设备的剩余电量能够满足行驶要求的值。Specifically, the return request sent by the client to the server is also used to instruct the server to determine the target replacement device for the shared device; correspondingly, the return information returned by the server received by the client also includes the identifier of the target replacement device, where the target The replacement device is a shared device parked at the target parking point determined above, and the remaining power of the target replacement device is greater than a preset second threshold. It should be noted here that the second threshold in this embodiment is greater than the first threshold in the above-mentioned embodiment, that is, the above-mentioned first threshold is the low-power threshold, and the second threshold in this embodiment is that the remaining power of the shared device can satisfy The value of the travel request.

本实施例中,用户端向服务器发送的归还请求还能够用于指示服务器确定目标替换设备,服务器向用户端发送的归还信息中还包括该目标替换设备的标识,这样用户端在目标停放点停放共享设备后就可以根据接收到的归还信息中的目标替换设备的标识,快速地找到目标替换设备进行使用,并且目标替换设备的剩余电量大于预设的第二阈值表示该目标替换设备的剩余电量比较充足,能够保证用户使用该目标替换设备及时地到达目的地址。In this embodiment, the return request sent by the client to the server can also be used to instruct the server to determine the target replacement device, and the return information sent by the server to the client also includes the identifier of the target replacement device, so that the client parks at the target parking spot After the device is shared, the target replacement device can be quickly found and used according to the identification of the target replacement device in the received return information, and the remaining power of the target replacement device is greater than the preset second threshold, indicating the remaining power of the target replacement device. It is relatively sufficient and can ensure that the user uses the target replacement device to reach the destination address in time.

在上述共享设备行驶的场景中,用户端还可以按照预设周期输出共享设备的当前可行驶距离的提醒信息。在一个实施例中,上述方法还包括:在共享设备行驶过程中,按照预设周期输出提醒信息;提醒信息中包括共享设备的当前可行驶距离。In the above scenario of the shared device driving, the user terminal may also output reminder information of the current drivable distance of the shared device according to a preset period. In one embodiment, the above method further includes: outputting reminder information according to a preset period during the running of the shared device; the reminder information includes the current drivable distance of the shared device.

具体地,在共享设备行驶过程中,用户端将按照预设周期输出上述提醒信息;其中,该提醒信息中包括共享设备的当前可行驶距离。可选的,预设周期可以为一分钟,也可以为两分钟等等,本公开实施例中不加以限制。Specifically, during the running process of the shared device, the user terminal will output the above-mentioned reminder information according to a preset period; wherein, the reminder information includes the current drivable distance of the shared device. Optionally, the preset period may be one minute or two minutes, etc., which is not limited in this embodiment of the present disclosure.

可选的,用户端可以根据以下步骤获取到共享设备的当前可行驶距离:Optionally, the user terminal can obtain the current drivable distance to the shared device according to the following steps:

S1,获取共享设备的当前剩余电量。S1, obtain the current remaining power of the shared device.

具体地,用户端获取共享设备的当前剩余电量。可选的,可以是共享设备将其当前剩余电量实时上报给用户端,也可以是用户端向共享设备发送获取指令,获取共享设备的当前剩余电量。Specifically, the user terminal obtains the current remaining power of the shared device. Optionally, the shared device may report its current remaining power to the client in real time, or the client may send an acquisition instruction to the shared device to obtain the current remaining power of the shared device.

S2,根据共享设备的当前剩余电量和单位距离耗电量,计算得到共享设备的当前可行驶距离。S2: Calculate the current drivable distance of the shared device according to the current remaining power and the power consumption per unit distance of the shared device.

具体地,用户端根据上述获取到的共享设备的当前剩余电量和单位距离耗电量,计算得到共享设备的当前可行驶距离。示例性地,共享设备的当前剩余电量为60度,单位距离耗电量为10度/米,则计算得到共享设备的当前可行驶距离为6米。Specifically, the user terminal calculates the current drivable distance of the shared device according to the obtained current remaining power and power consumption per unit distance of the shared device. Exemplarily, if the current remaining power of the shared device is 60 degrees, and the power consumption per unit distance is 10 degrees/meter, the current drivable distance of the shared device is calculated to be 6 meters.

本实施例中,在共享设备行驶过程中,用户端按照预设周期输出包括共享设备的当前可行驶距离的提醒信息,能够使用户及时准确地了解共享设备的当前可行驶距离,进而可以根据共享设备的当前可行驶距离及时地采取操作,以便能够将共享设备及时地停放至共享设备的停放点。In this embodiment, during the running process of the shared device, the user terminal outputs reminder information including the current drivable distance of the shared device according to a preset period, which enables the user to know the current drivable distance of the shared device in a timely and accurate manner, and can further understand the current drivable distance of the shared device according to the shared device. The current drivable distance of the device takes action in time so that the shared device can be parked to the parking spot of the shared device in time.

在一个实施例中,如图3所示,提供了一种设备归还方法,以该方法应用于图1中的服务器为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 3 , a device returning method is provided, and the method is applied to the server in FIG. 1 as an example for description, including the following steps:

S301,接收用户端发送的归还请求;归还请求为基于提醒信息触发的,且包括共享设备的目的地址和共享设备当前位置;提醒信息为共享设备在行驶过程中检测到自身电量小于预设的第一阈值时输出的信息。S301: Receive a return request sent by a user terminal; the return request is triggered based on reminder information, and includes the destination address of the shared device and the current location of the shared device; the reminder information is that the shared device detects that its own power is less than a preset number of times during driving Information output at a threshold.

具体地,服务器接收用户端发送的归还请求。其中,归还请求为用户基于共享设备在行驶过程中检测到自身电量小于预设的第一阈值时输出的提醒信息所触发的,且归还请求中包括共享设备的目的地址和共享设备当前位置。可选的,服务器可以通过与用户端之间的网络连接,接收用户端发送的归还请求。Specifically, the server receives the return request sent by the client. Wherein, the return request is triggered by the user based on the reminder information output by the shared device when it detects that its own power is less than the preset first threshold during driving, and the return request includes the destination address of the shared device and the current location of the shared device. Optionally, the server may receive a return request sent by the client through a network connection with the client.

S302,根据目的地址和共享设备当前位置,确定共享设备的归还信息;归还信息中包括目标停放点的位置。S302: Determine return information of the shared device according to the destination address and the current location of the shared device; the return information includes the location of the target parking point.

具体地,服务器根据接收到的归还请求中包括的共享设备的目的地址和共享设备当前位置,确定共享设备的归还信息。其中,确定的共享设备的归还信息中包括目标停放点的位置。可选的,服务器可以从共享设备当前位置与目的地址之间的停放点中确定目标停放点,示例性地,共享设备当前位置与目的地址之间有三个停放点,则服务器可以从这三个停放点中确定出目标停放点。Specifically, the server determines the return information of the shared device according to the destination address of the shared device and the current location of the shared device included in the received return request. The determined return information of the shared device includes the location of the target parking point. Optionally, the server may determine the target parking point from the parking points between the current location of the shared device and the destination address. Exemplarily, if there are three parking points between the current location of the shared device and the destination address, the server may determine the target parking point from the three parking points. The target parking point is determined in the parking point.

S303,向用户端发送归还信息。S303, sending return information to the client.

具体地,在服务器确定了共享设备的归还信息后,服务器向用户端发送确定的包括目标停放点的位置的归还信息。可选的,服务器可以通过与用户端之间的网络连接,向用户端发送确定的归还信息。Specifically, after the server determines the return information of the shared device, the server sends the determined return information including the location of the target parking point to the client. Optionally, the server may send the determined return information to the client through a network connection with the client.

本实施例中,共享设备在行驶过程中检测到自身电量小于预设的第一阈值时输出提醒信息,服务器接收用户端发送的基于该提醒信息触发的归还请求,由于该归还请求中包括共享设备的目的地址和共享设备当前位置,进而服务器可以根据共享设备的目的地址和共享设备当前位置,准确地确定出包括目标停放点的位置的共享设备的归还信息,并向用户端发送该归还信息,以使用户端能够根据该归还信息及时地归还共享设备。In this embodiment, the shared device outputs reminder information when it detects that its battery power is less than the preset first threshold during driving, and the server receives a return request sent by the client based on the reminder information, because the return request includes the shared device The destination address of the shared device and the current location of the shared device, and then the server can accurately determine the return information of the shared device including the location of the target parking point according to the destination address of the shared device and the current location of the shared device, and send the return information to the client. So that the client can return the shared device in time according to the return information.

在上述服务器根据共享设备的目的地址和共享设备当前位置,确定共享设备的归还信息的场景中,服务器可以先确定共享设备的停放点集合,从共享设备的停放点集合中确定出目标停放点,并将目标停放点的位置作为归还信息。在一个实施例中,如图4所示,上述S302,包括:In the above scenario where the server determines the return information of the shared device according to the destination address of the shared device and the current location of the shared device, the server may first determine the set of parking points of the shared device, and then determine the target parking point from the set of parking points of the shared device, And take the location of the target parking point as return information. In one embodiment, as shown in FIG. 4 , the above S302 includes:

S401,获取在共享设备的当前位置的预设范围内的停放点集合;停放点集合中至少包括一个共享设备的停放点。S401: Acquire a set of parking points within a preset range of the current position of the shared device; the set of parking points includes at least one parking point of the shared device.

具体地,服务器获取在共享设备的当前位置的预设范围内的停放点集合;其中,该停放点集合中至少包括一个共享设备的停放点。可选的,预设范围可以为10m,也可以为5m等等。可选的,服务器可以根据地图数据确定共享设备的当前位置的预设范围内的停放点,得到共享设备的当前位置的预设范围内的停放点集合。示例性地,共享设备的当前位置5m内有三个共享设备的停放点,则服务器将这三个共享设备的停放点确定为共享设备的当前位置的预设范围内的停放点集合。Specifically, the server acquires a set of parking points within a preset range of the current position of the shared device; wherein, the set of parking points includes at least one parking point of the shared device. Optionally, the preset range may be 10m, 5m, or the like. Optionally, the server may determine parking points within a preset range of the current position of the sharing device according to the map data, and obtain a set of parking points within the preset range of the current position of the sharing device. Exemplarily, if there are three parking points of the shared device within 5m of the current position of the shared device, the server determines the three parking points of the shared device as a set of parking points within a preset range of the current position of the shared device.

S402,根据当前位置与各停放点、以及目的地址之间的距离,确定目标停放点,并获取目标停放点的位置作为归还信息。S402: Determine the target parking point according to the distance between the current position and each parking point and the destination address, and obtain the position of the target parking point as return information.

具体地,服务器根据共享设备的当前位置与上述停放点集合中的各停放点之间的距离、以及各停放点与目的地址之间的距离,确定共享设备的目标停放点,并获取目标停放点的位置作为共享设备的归还信息。可选的,服务器可以将共享设备的当前位置与停放点集合中的各停放点之间的距离和各停放点与目的地址之间的距离之和最短的停放点,确定为共享设备的目标停放点,也可以将共享设备的当前位置与停放点集合中的各停放点之间的距离最短的停放点或者各停放点与目的地址之间的距离最短的停放点,确定为共享设备的目标停放点。Specifically, the server determines the target parking point of the shared device according to the distance between the current position of the shared device and each parking point in the above-mentioned parking point set, and the distance between each parking point and the destination address, and obtains the target parking point The location of the shared device is used as return information. Optionally, the server may determine the parking point with the shortest sum of the distance between the current position of the shared device and each parking point in the parking point set and the distance between each parking point and the destination address as the target parking of the shared device. It is also possible to determine the parking point with the shortest distance between the current position of the shared device and each parking point in the parking point set or the parking point with the shortest distance between each parking point and the destination address as the target parking of the shared device point.

本实施例中,服务器首先获取在共享设备的当前位置的预设范围内的停放点集合,然后根据共享设备的当前位置与确定的停放点集合中各停放点之间的距离以及共享设备的当前位置与共享设备的目的地址之间的距离,能够准确地确定出共享设备的目标停放点,提高了确定的共享设备的目标停放点的准确度,进而可以将目标停放点的位置作为共享设备的归还信息,由于目标停放点的准确度得到了提高,从而共享设备的归还信息的准确度也得到了提高。In this embodiment, the server first obtains a set of parking points within a preset range of the current position of the shared device, and then according to the distance between the current position of the shared device and each parking point in the determined set of parking points and the current position of the shared device The distance between the location and the destination address of the shared device can accurately determine the target parking point of the shared device, improve the accuracy of the determined target parking point of the shared device, and then the location of the target parking point can be used as the shared device. Return information, since the accuracy of the target parking point is improved, the accuracy of the return information of the shared device is also improved.

在上述服务器根据共享设备当前位置与各停放点、以及目的地址之间的距离,确定目标停放点的场景中。在一个实施例中,如图5所示,上述S402中的根据当前位置与各停放点、以及目的地址之间的距离,确定目标停放点,包括:In the above scenario, the server determines the target parking point according to the distance between the current position of the shared device and each parking point and the destination address. In one embodiment, as shown in FIG. 5 , determining the target parking point according to the distance between the current position and each parking point and the destination address in the above S402 includes:

S501,计算共享设备的当前位置与各停放点的位置之间的第一距离。S501: Calculate a first distance between the current location of the shared device and the location of each parking point.

具体地,服务器计算共享设备的当前位置与上述停放点集合中各停放点的位置之间的第一距离。示例性地,若停放点集合中包括三个停放点,则服务器将分别计算共享设备的当前位置与这三个停放点的位置之间的第一距离,也就是将得到三个第一距离。Specifically, the server calculates the first distance between the current position of the shared device and the position of each parking point in the above-mentioned parking point set. Exemplarily, if the set of parking points includes three parking points, the server will calculate the first distances between the current position of the shared device and the positions of the three parking points respectively, that is, three first distances will be obtained.

S502,计算目的地址与各停放点的位置之间的第二距离。S502: Calculate the second distance between the destination address and the position of each parking point.

具体地,服务器计算共享设备的目的地址与上述停放点集合中各停放点的位置之间的第二距离。继续以上述停放点集合中包括三个停放点为例,服务器将分别计算共享设备的目的地址与这三个停放点的位置之间的第二距离,即服务器将得到三个第二距离。Specifically, the server calculates the second distance between the destination address of the shared device and the position of each parking point in the above-mentioned parking point set. Continuing to take the above-mentioned parking point set including three parking points as an example, the server will calculate the second distances between the destination address of the shared device and the positions of the three parking points respectively, that is, the server will obtain three second distances.

S503,将第一距离与第二距离之和最小的停放点,确定为目标停放点。S503: Determine the parking point with the smallest sum of the first distance and the second distance as the target parking point.

具体地,服务器将上述第一距离与第二距离之和最小的停放点,确定为共享设备的目标停放点。继续以上述停放点集合中包括三个停放点为例,假设这三个停放点分别为A,B,C,服务器确定出共享设备的当前位置与停放点B的位置之间的第一距离,以及共享设备的目的地址与停放点B的位置之间的第二距离之和最小,则服务器将停放点B确定为共享设备的目标停放点。Specifically, the server determines the parking point with the smallest sum of the first distance and the second distance as the target parking point of the shared device. Continue to take the above-mentioned parking point set including three parking points as an example, assuming that the three parking points are A, B, and C respectively, the server determines the first distance between the current position of the shared device and the position of the parking point B, and the sum of the second distances between the destination address of the shared device and the location of the parking point B is the smallest, then the server determines the parking point B as the target parking point of the shared device.

本实施例中,服务器根据共享设备的当前位置、停放点集合中各停放点的位置以及共享设备的目的地址,能够准确地计算出共享设备的当前位置与各停放点的位置之间的第一距离、共享设备的目的地址与各停放点的位置之间的第二距离,而目标停放点是第一距离与第二距离之和最小的停放点,这样可以根据第一距离与第二距离之和准确地确定出目标停放点,从而提高了确定的目标停放点的准确度。In this embodiment, the server can accurately calculate the first distance between the current position of the shared device and the position of each parking point according to the current position of the shared device, the position of each parking point in the parking point set, and the destination address of the shared device. The distance, the second distance between the destination address of the shared device and the position of each parking point, and the target parking point is the parking point with the smallest sum of the first distance and the second distance, so that it can be calculated according to the difference between the first distance and the second distance. and accurately determine the target parking point, thereby improving the accuracy of the determined target parking point.

在上述服务器向用户端发送归还信息的场景中,该归还信息中包括目标替换设备的标识。在一个实施例中,上述方法还包括:根据归还请求,在目标停放点停放的共享设备中确定目标替换设备;目标替换设备的电量大于预设的第二阈值。In the above scenario where the server sends return information to the client, the return information includes the identifier of the target replacement device. In one embodiment, the above method further includes: according to the return request, determining a target replacement device among the shared devices parked at the target parking point; and the power of the target replacement device is greater than a preset second threshold.

具体地,服务器根据用户端发送的包括共享设备的目的地址和共享设备当前位置的归还请求,在上述目标停放点停放的共享设备中确定目标替换设备。其中,目标替换设备的电量大于预设的第二阈值。这里需要说明的是,本实施例中的第二阈值大于上述实施例中的第一阈值,即上述第一阈值为低电阈值,本实施例中的第二阈值为共享设备的剩余电量能够满足行驶要求的值。可选的,在服务器确定了目标替换设备后,服务器将在预设时间内对确定的目标替换设备进行标记,锁定该目标替换设备的使用权,可以理解,在该预设时间内目标替换设备被锁定当其他用户在这期间使用该设备时将无法使用,可选的,目标替换设备可以发出提醒信息提醒用户该设备无法使用。可选的,在服务器接收到上述用户端发送的上锁指令的情况下,服务器将向上述目标替换设备下发解锁指令,对锁定的目标替换设备进行解锁。Specifically, the server determines the target replacement device among the shared devices parked at the target parking point according to the return request sent by the client including the destination address of the shared device and the current location of the shared device. Wherein, the power of the target replacement device is greater than the preset second threshold. It should be noted here that the second threshold in this embodiment is greater than the first threshold in the above-mentioned embodiment, that is, the above-mentioned first threshold is the low-power threshold, and the second threshold in this embodiment is that the remaining power of the shared device can satisfy The value of the travel request. Optionally, after the server determines the target replacement device, the server will mark the determined target replacement device within a preset time, and lock the use right of the target replacement device. It can be understood that the target replacement device is within the preset time. Locked When other users use the device during this period, the device will be unavailable. Optionally, the target replacement device can send a reminder message to remind the user that the device is unavailable. Optionally, when the server receives the locking instruction sent by the client, the server will issue an unlocking instruction to the target replacement device to unlock the locked target replacement device.

本实施例中,服务器还可以根据用户端发送的归还请求,在上述确定的目标停放点停放的共享设备中快速地根据停放的共享设备的电量大于预设的第二阈值的共享设备,将该共享设备确定为目标替换设备,从而提高了服务器确定目标替换设备的效率。In this embodiment, the server may also, according to the return request sent by the user terminal, among the shared devices parked at the target parking point determined above, quickly according to the shared devices whose power level is greater than the preset second threshold, the The shared device is determined as the target replacement device, thereby improving the efficiency of the server in determining the target replacement device.

为了便于本领域技术人员的理解,以下对本公开提供的设备归还方法进行详细介绍,如图6所示,该方法可以包括:In order to facilitate the understanding of those skilled in the art, the following describes the device returning method provided by the present disclosure in detail. As shown in FIG. 6 , the method may include:

S601,用户端在共享设备行驶过程中,获取共享设备的当前剩余电量,根据共享设备的当前剩余电量和单位距离耗电量,计算得到共享设备的当前可行驶距离。S601 , the user terminal obtains the current remaining power of the shared device during the driving process of the shared device, and calculates the current drivable distance of the shared device according to the current remaining power of the shared device and the power consumption per unit distance.

S602,用户端按照预设周期输出提醒信息;提醒信息中包括共享设备的当前可行驶距离。S602, the user terminal outputs reminder information according to a preset period; the reminder information includes the current drivable distance of the shared device.

S603,用户端获取基于提醒信息触发的操作指令;其中,操作指令中包括目的地址;提醒信息为共享设备在行驶过程中检测到自身电量小于预设的第一阈值时输出的信息。S603, the user terminal obtains an operation instruction triggered based on the reminder information; wherein, the operation instruction includes a destination address; and the reminder information is information output by the sharing device when it detects that its own power is less than a preset first threshold during driving.

S604,用户端向服务器发送包括目的地址和共享设备当前位置的归还请求;归还请求用于指示归还共享设备。S604, the client sends a return request including the destination address and the current location of the shared device to the server; the return request is used to instruct the return of the shared device.

S605,服务器接收用户端发送的归还请求。S605, the server receives the return request sent by the client.

S606,服务器获取在共享设备的当前位置的预设范围内的停放点集合;停放点集合中至少包括一个共享设备的停放点。S606, the server acquires a set of parking points within a preset range of the current position of the shared device; the set of parking points includes at least one parking point of the shared device.

S607,服务器计算共享设备的当前位置与各停放点的位置之间的第一距离;计算目的地址与各停放点的位置之间的第二距离;将第一距离与第二距离之和最小的停放点,确定为目标停放点。S607, the server calculates the first distance between the current position of the shared device and the position of each parking point; calculates the second distance between the destination address and the position of each parking point; calculates the minimum sum of the first distance and the second distance The parking point is determined as the target parking point.

S608,服务器将目标停放点作为归还信息,向用户端发送归还信息。S608, the server uses the target parking point as return information, and sends the return information to the client.

S609,用户端接收包括目标停放点的归还信息。S609, the user terminal receives return information including the target parking point.

S610,用户端根据地图数据获取当前位置和目标停放点的位置之间的多条候选行驶路径,将行驶距离最小的候选行驶路径确定为目标行驶路径,并根据目标行驶路径输出导航信息。S610, the user terminal obtains multiple candidate driving paths between the current position and the target parking point according to the map data, determines the candidate driving path with the smallest driving distance as the target driving path, and outputs navigation information according to the target driving path.

S611,服务器根据归还请求,在目标停放点停放的共享设备中确定目标替换设备,并将目标替换设备的标识确定为归还信息,向用户端发送归还信息;目标替换设备的电量大于预设的第二阈值。S611, according to the return request, the server determines the target replacement device among the shared devices parked at the target parking point, determines the identifier of the target replacement device as the return information, and sends the return information to the user; Two thresholds.

S612,服务器在预设时间内对目标替换设备进行标记,锁定目标替换设备的使用权。S612, the server marks the target replacement device within a preset time, and locks the use right of the target replacement device.

S613,服务器在接收到用户端发送的上锁指令的情况下,向目标替换设备下发解锁指令。S613, the server sends an unlocking instruction to the target replacement device in the case of receiving the locking instruction sent by the client.

需要说明的是,针对上述S601-S613中的描述可以参见上述实施例中相关的描述,且其效果类似,本实施例在此不再赘述。It should be noted that, for the descriptions in the above S601-S613, reference may be made to the relevant descriptions in the above embodiments, and the effects thereof are similar, and details are not described herein again in this embodiment.

应该理解的是,虽然图2-6的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-6中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 2-6 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 2-6 may include multiple steps or multiple stages. These steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The execution of these steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or phases within the other steps.

在一个实施例中,如图7所示,提供了一种设备归还装置,包括:第一获取模块10、发送模块11和接收模块12,其中:In one embodiment, as shown in FIG. 7 , an apparatus for returning equipment is provided, including: a first obtaining module 10, a sending module 11 and a receiving module 12, wherein:

第一获取模块10,用于获取基于提醒信息触发的操作指令;其中,操作指令中包括目的地址;提醒信息为共享设备在行驶过程中检测到自身电量小于预设的第一阈值时输出的信息;The first obtaining module 10 is used to obtain an operation instruction triggered based on the reminder information; wherein, the operation instruction includes a destination address; the reminder information is the information output by the sharing device when it detects that its own power is less than a preset first threshold during the driving process ;

发送模块11,用于向服务器发送包括目的地址和共享设备当前位置的归还请求;归还请求用于指示归还共享设备;The sending module 11 is used to send a return request including the destination address and the current location of the shared device to the server; the return request is used to indicate the return of the shared device;

接收模块12,用于接收服务器根据归还请求返回的归还信息;归还信息中包括目标停放点的位置。The receiving module 12 is configured to receive return information returned by the server according to the return request; the return information includes the location of the target parking point.

可选的,目标停放点的第一距离和第二距离之和最小;第一距离为目标停放点的位置与共享设备当前位置之间的距离,第二距离为目标停放点的位置与目的地址之间的距离。Optionally, the sum of the first distance and the second distance of the target parking point is the smallest; the first distance is the distance between the position of the target parking point and the current position of the shared device, and the second distance is the position of the target parking point and the destination address. the distance between.

可选的,归还请求还用于指示服务器确定目标替换设备;归还信息中还包括目标替换设备的标识;其中,目标替换设备为目标停放点停放的共享设备,且目标替换设备的剩余电量大于预设的第二阈值。Optionally, the return request is also used to instruct the server to determine the target replacement device; the return information also includes the identifier of the target replacement device; wherein, the target replacement device is a shared device parked at the target parking point, and the remaining power of the target replacement device is greater than the predetermined value. set second threshold.

本实施例提供的设备归还装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device returning device provided in this embodiment can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.

在上述图7所示的实施例的基础上,如图8所示,可选的,上述装置还包括:规划模块13,其中:On the basis of the above embodiment shown in FIG. 7 , as shown in FIG. 8 , optionally, the above apparatus further includes: a planning module 13 , wherein:

规划模块13,用于根据共享设备当前位置和目标停放点的位置,规划共享设备的目标行驶路径,并根据目标行驶路径输出导航信息。The planning module 13 is configured to plan the target travel path of the shared equipment according to the current position of the shared equipment and the position of the target parking point, and output navigation information according to the target travel path.

本实施例提供的设备归还装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device returning device provided in this embodiment can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.

在上述图8所示的实施例的基础上,请继续参见图8,可选的,规划模块13包括:获取单元131和确定单元132,其中:On the basis of the above embodiment shown in FIG. 8 , please continue to refer to FIG. 8 , optionally, the planning module 13 includes: an acquiring unit 131 and a determining unit 132 , wherein:

获取单元131,用于根据地图数据获取当前位置和目标停放点的位置之间的多条候选行驶路径;an obtaining unit 131, configured to obtain a plurality of candidate driving paths between the current position and the position of the target parking point according to the map data;

确定单元132,用于将行驶距离最小的候选行驶路径确定为目标行驶路径。The determining unit 132 is configured to determine the candidate travel route with the smallest travel distance as the target travel route.

本实施例提供的设备归还装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device returning device provided in this embodiment can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.

在上述图8所示的实施例的基础上,请继续参见图8,可选的,上述装置还包括:输出模块14,其中:On the basis of the above embodiment shown in FIG. 8 , please continue to refer to FIG. 8 , optionally, the above device further includes: an output module 14 , wherein:

输出模块14,用于在共享设备行驶过程中,按照预设周期输出提醒信息;提醒信息中包括共享设备的当前可行驶距离。The output module 14 is configured to output reminder information according to a preset period during the running process of the shared device; the reminder information includes the current drivable distance of the shared device.

本实施例提供的设备归还装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device returning device provided in this embodiment can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.

在上述图8所示的实施例的基础上,请继续参见图8,可选的,上述装置还包括:第二获取模块15和计算模块16,其中:On the basis of the above embodiment shown in FIG. 8 , please continue to refer to FIG. 8 , optionally, the above apparatus further includes: a second acquisition module 15 and a calculation module 16 , wherein:

第二获取模块15,用于获取共享设备的当前剩余电量;The second obtaining module 15 is used to obtain the current remaining power of the shared device;

计算模块16,用于根据共享设备的当前剩余电量和单位距离耗电量,计算得到共享设备的当前可行驶距离。The calculation module 16 is configured to calculate the current drivable distance of the shared device according to the current remaining power and the power consumption per unit distance of the shared device.

本实施例提供的设备归还装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device returning device provided in this embodiment can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.

关于设备归还装置的具体限定可以参见上文中对于设备归还方法的限定,在此不再赘述。上述设备归还装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以以硬件形式内嵌于或独立于用户端中的处理器中,也可以以软件形式存储于用户端中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the device returning device, reference may be made to the above limitation on the device returning method, which will not be repeated here. Each module in the above apparatus for returning equipment may be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the user terminal in the form of hardware, and can also be stored in the memory in the user terminal in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

在一个实施例中,如图9所示,提供了一种设备归还装置,包括:接收模块20、第一确定模块21和发送模块22,其中:In one embodiment, as shown in FIG. 9, an apparatus for returning equipment is provided, including: a receiving module 20, a first determining module 21 and a sending module 22, wherein:

接收模块20,用于接收用户端发送的归还请求;归还请求为基于提醒信息触发的,且包括共享设备的目的地址和共享设备当前位置;提醒信息为共享设备在行驶过程中检测到自身电量小于预设的第一阈值时输出的信息;The receiving module 20 is used for receiving a return request sent by the user terminal; the return request is triggered based on the reminder information, and includes the destination address of the shared device and the current location of the shared device; the reminder information is that the shared device detects that its own power is less than The information output at the preset first threshold;

第一确定模块21,用于根据目的地址和共享设备当前位置,确定共享设备的归还信息;归还信息中包括目标停放点的位置;The first determination module 21 is used to determine the return information of the shared device according to the destination address and the current position of the shared device; the return information includes the location of the target parking point;

发送模块22,用于向用户端发送归还信息。The sending module 22 is used for sending return information to the client.

本实施例提供的设备归还装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device returning device provided in this embodiment can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.

在上述图9所示的实施例的基础上,如图10所示,可选的,上述第一确定模块21包括:获取单元211和确定单元212,其中:On the basis of the embodiment shown in the foregoing FIG. 9 , as shown in FIG. 10 , optionally, the foregoing first determining module 21 includes: an acquiring unit 211 and a determining unit 212 , wherein:

获取单元211,用于获取在共享设备的当前位置的预设范围内的停放点集合;停放点集合中至少包括一个共享设备的停放点;an acquiring unit 211, configured to acquire a set of parking points within a preset range of the current position of the shared device; the set of parking points includes at least one parking point of the shared device;

确定单元212,用于根据当前位置与各停放点、以及目的地址之间的距离,确定目标停放点,并获取目标停放点的位置作为归还信息。The determining unit 212 is configured to determine the target parking point according to the distance between the current position and each parking point and the destination address, and obtain the position of the target parking point as return information.

本实施例提供的设备归还装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device returning device provided in this embodiment can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.

在上述图10所示的实施例的基础上,可选的,确定单元212,用于计算共享设备的当前位置与各停放点的位置之间的第一距离;计算目的地址与各停放点的位置之间的第二距离;将第一距离与第二距离之和最小的停放点,确定为目标停放点。On the basis of the embodiment shown in FIG. 10 above, optionally, the determining unit 212 is configured to calculate the first distance between the current position of the shared device and the position of each parking point; calculate the difference between the destination address and each parking point The second distance between the positions; the parking point with the smallest sum of the first distance and the second distance is determined as the target parking point.

本实施例提供的设备归还装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device returning device provided in this embodiment can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.

在上述图10所示的实施例的基础上,归还信息中包括目标替换设备的标识,请继续参见图10,可选的,上述装置还包括:第二确定模块23,其中:On the basis of the embodiment shown in the above-mentioned FIG. 10 , the return information includes the identifier of the target replacement device. Please continue to refer to FIG. 10 . Optionally, the above-mentioned apparatus further includes: a second determination module 23, wherein:

第二确定模块23,用于根据归还请求,在目标停放点停放的共享设备中确定目标替换设备;目标替换设备的电量大于预设的第二阈值。The second determination module 23 is configured to determine, according to the return request, a target replacement device among the shared devices parked at the target parking point; the power of the target replacement device is greater than a preset second threshold.

本实施例提供的设备归还装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device returning device provided in this embodiment can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.

在上述图10所示的实施例的基础上,请继续参见图10,可选的,上述装置还包括:锁定模块24,其中:On the basis of the embodiment shown in the foregoing FIG. 10, please continue to refer to FIG. 10, optionally, the foregoing apparatus further includes: a locking module 24, wherein:

锁定模块24,用于在预设时间内对目标替换设备进行标记,锁定目标替换设备的使用权。The locking module 24 is configured to mark the target replacement device within a preset time, and lock the use right of the target replacement device.

本实施例提供的设备归还装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device returning device provided in this embodiment can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.

在上述图10所示的实施例的基础上,请继续参见图10,可选的,上述装置还包括:下发模块25,其中:On the basis of the embodiment shown in the foregoing FIG. 10 , please continue to refer to FIG. 10 , optionally, the foregoing apparatus further includes: a delivery module 25 , wherein:

下发模块25,用于在接收到用户端发送的上锁指令的情况下,向目标替换设备下发解锁指令。The issuing module 25 is configured to issue an unlocking instruction to the target replacement device in the case of receiving the locking instruction sent by the user terminal.

本实施例提供的设备归还装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device returning device provided in this embodiment can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.

关于设备归还装置的具体限定可以参见上文中对于设备归还方法的限定,在此不再赘述。上述设备归还装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以以硬件形式内嵌于或独立于服务器中的处理器中,也可以以软件形式存储于服务器中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the device returning device, reference may be made to the above limitation on the device returning method, which will not be repeated here. Each module in the above apparatus for returning equipment may be implemented in whole or in part by software, hardware and combinations thereof. The above modules may be embedded in or independent of the processor in the server in the form of hardware, or may be stored in the memory in the server in the form of software, so that the processor can call and execute operations corresponding to the above modules.

图11是根据一示例性实施例示出的一种电子设备1300的框图。例如,电子设备1300可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 11 is a block diagram of an electronic device 1300 according to an exemplary embodiment. For example, electronic device 1300 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.

参照图11,电子设备1300可以包括以下一个或多个组件:处理组件1302,存储器1304,电源组件1306,多媒体组件1308,音频组件1310,输入/输出(I/O)的接口1312,传感器组件1314,以及通信组件1316。其中,存储器上存储有在处理器上运行的计算机程序或者指令。11, an electronic device 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power supply component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314 , and the communication component 1316. The memory stores computer programs or instructions running on the processor.

处理组件1302通常控制电子设备1300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1302可以包括一个或多个处理器1320来执行指令,以完成上述方法的全部或部分步骤。此外,处理组件1302可以包括一个或多个模块,便于处理组件1302和其他组件之间的交互。例如,处理组件1302可以包括多媒体模块,以方便多媒体组件1308和处理组件1302之间的交互。The processing component 1302 generally controls the overall operation of the electronic device 1300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1302 can include one or more processors 1320 to execute instructions to perform all or some of the steps of the above-described methods. Additionally, processing component 1302 may include one or more modules that facilitate interaction between processing component 1302 and other components. For example, processing component 1302 may include a multimedia module to facilitate interaction between multimedia component 1308 and processing component 1302.

存储器1304被配置为存储各种类型的数据以支持在电子设备1300的操作。这些数据的示例包括用于在电子设备1300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1304 is configured to store various types of data to support operation at the electronic device 1300 . Examples of such data include instructions for any application or method operating on electronic device 1300, contact data, phonebook data, messages, pictures, videos, and the like. Memory 1304 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件1306为电子设备1300的各种组件提供电力。电源组件1306可以包括电源管理系统,一个或多个电源,及其他与为电子设备1300生成、管理和分配电力相关联的组件。Power supply assembly 1306 provides power to various components of electronic device 1300 . Power supply components 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1300 .

多媒体组件1308包括在所述电子设备1300和用户之间的提供一个输出接口的触控显示屏。在一些实施例中,触控显示屏可以包括液晶显示器(LCD)和触摸面板(TP)。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1308包括一个前置摄像头和/或后置摄像头。当电子设备1300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1308 includes a touch screen display that provides an output interface between the electronic device 1300 and the user. In some embodiments, the touch display may include a liquid crystal display (LCD) and a touch panel (TP). The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 1308 includes a front-facing camera and/or a rear-facing camera. When the electronic device 1300 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件1310被配置为输出和/或输入音频信号。例如,音频组件1310包括一个麦克风(MIC),当电子设备1300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1304或经由通信组件1316发送。在一些实施例中,音频组件1310还包括一个扬声器,用于输出音频信号。Audio component 1310 is configured to output and/or input audio signals. For example, audio component 1310 includes a microphone (MIC) that is configured to receive external audio signals when electronic device 1300 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 1304 or transmitted via communication component 1316 . In some embodiments, audio component 1310 also includes a speaker for outputting audio signals.

I/O接口1312为处理组件1302和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1312 provides an interface between the processing component 1302 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.

传感器组件1314包括一个或多个传感器,用于为电子设备1300提供各个方面的状态评估。例如,传感器组件1314可以检测到电子设备1300的打开/关闭状态,组件的相对定位,例如所述组件为电子设备1300的显示器和小键盘,传感器组件1314还可以检测电子设备1300或电子设备1300一个组件的位置改变,用户与电子设备1300接触的存在或不存在,电子设备1300方位或加速/减速和电子设备1300的温度变化。传感器组件1314可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1314还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1314 includes one or more sensors for providing status assessment of various aspects of electronic device 1300 . For example, the sensor component 1314 can detect the open/closed state of the electronic device 1300, the relative positioning of components, such as the display and the keypad of the electronic device 1300, the sensor component 1314 can also detect the electronic device 1300 or one of the electronic device 1300 Changes in the position of components, presence or absence of user contact with the electronic device 1300 , orientation or acceleration/deceleration of the electronic device 1300 and changes in the temperature of the electronic device 1300 . Sensor assembly 1314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件1316被配置为便于电子设备1300和其他设备之间有线或无线方式的通信。电子设备1300可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1316经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1316还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 1316 is configured to facilitate wired or wireless communication between electronic device 1300 and other devices. The electronic device 1300 may access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,电子设备1300可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述设备归还方法。In an exemplary embodiment, electronic device 1300 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmed gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the above-described device return method.

图12是根据一示例性实施例示出的一种服务器1400的框图。参照图12,服务器1400包括处理组件1420,其进一步包括一个或多个处理器,以及由存储器1422所代表的存储器资源,用于存储可由处理组件1420执行的指令或者计算机程序,例如应用程序。存储器1422中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1420被配置为执行指令,以执行上述设备归还的方法。FIG. 12 is a block diagram of a server 1400 according to an exemplary embodiment. 12, server 1400 includes processing component 1420, which further includes one or more processors, and memory resources represented by memory 1422 for storing instructions or computer programs, such as application programs, executable by processing component 1420. An application program stored in memory 1422 may include one or more modules, each corresponding to a set of instructions. Additionally, the processing component 1420 is configured to execute instructions to perform the above-described method of device return.

服务器1400还可以包括一个电源组件1424被配置为执行设备1400的电源管理,一个有线或无线网络接口1426被配置为将设备1400连接到网络,和一个输入输出(I/O)接口1428。服务器1400可以操作基于存储在存储器1422的操作系统,例如Window14 14erverTM,Mac O14XTM,UnixTM,LinuxTM,FreeB14DTM或类似。The server 1400 may also include a power component 1424 configured to perform power management of the device 1400, a wired or wireless network interface 1426 configured to connect the device 1400 to a network, and an input output (I/O) interface 1428. Server 1400 may operate based on an operating system stored in memory 1422, such as Window14 14erverTM, Mac O14XTM, UnixTM, LinuxTM, FreeB14DTM or the like.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1304,上述指令可由电子设备1300的处理器1320执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as memory 1304 including instructions, executable by the processor 1320 of the electronic device 1300 to accomplish the above method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

在示例性实施例中,还提供了一种包括指令的存储介质,例如包括指令的存储器1422,上述指令可由服务器1400的处理器执行以完成上述方法。存储介质可以是非临时性计算机可读存储介质,例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a storage medium including instructions, such as a memory 1422 including instructions, is also provided, and the instructions are executable by the processor of the server 1400 to accomplish the above method. The storage medium may be a non-transitory computer-readable storage medium such as ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本公开实施例所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database, or other media used in the various embodiments provided by the embodiments of the present disclosure may include at least one of non-volatile and volatile memory. The non-volatile memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, and the like. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, the RAM may be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM).

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, all It is considered to be the range described in this specification.

以上所述实施例仅表达了本公开实施例的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本公开实施例构思的前提下,还可以做出若干变形和改进,这些都属于本公开实施例的保护范围。因此,本公开实施例专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several implementations of the embodiments of the present disclosure, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be noted that for those skilled in the art, without departing from the concept of the embodiments of the present disclosure, several modifications and improvements can be made, which all belong to the protection scope of the embodiments of the present disclosure. Therefore, the protection scope of the patent of the embodiments of the present disclosure should be subject to the appended claims.

Claims (29)

1. A method for device return, the method comprising:
acquiring an operation instruction triggered based on the reminding information; wherein, the operation instruction comprises a destination address; the reminding information is output when the sharing equipment detects that the electric quantity of the sharing equipment is smaller than a preset first threshold value in the driving process;
sending a return request comprising the destination address and the current position of the sharing equipment to a server; the return request is used for indicating to return the shared device;
receiving return information returned by the server according to the return request; the return information includes the position of the target parking point.
2. The method of claim 1, wherein the sum of the first distance and the second distance of the target parking point is minimal; the first distance is the distance between the position of a target parking point and the current position of the sharing equipment, and the second distance is the distance between the position of the target parking point and the destination address.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and planning a target driving path of the sharing equipment according to the current position of the sharing equipment and the position of the target parking point, and outputting navigation information according to the target driving path.
4. The method of claim 3, wherein the planning the driving path of the sharing device according to the current position of the sharing device and the position of the target parking point comprises:
obtaining a plurality of candidate driving paths between the current position and the position of the target parking point according to map data;
and determining the candidate running path with the minimum running distance as the target running path.
5. The method of claim 1, wherein the return request is further configured to instruct the server to determine a target alternate device; the return information also comprises an identifier of the target replacing device; the target replacement equipment is shared equipment parked at the target parking point, and the residual electric quantity of the target replacement equipment is larger than a preset second threshold value.
6. The method of claim 1, further comprising:
outputting the reminding information according to a preset period in the running process of the sharing equipment; the reminding information comprises the current driving distance of the sharing equipment.
7. The method of claim 6, further comprising:
acquiring the current residual capacity of the sharing equipment;
and calculating the current driving distance of the sharing equipment according to the current residual electric quantity and the unit distance electric consumption of the sharing equipment.
8. A method for device return, the method comprising:
receiving a return request sent by a user side; the return request is triggered based on the reminding information and comprises a destination address of the sharing equipment and the current position of the sharing equipment; the reminding information is output when the sharing equipment detects that the electric quantity of the sharing equipment is smaller than a preset first threshold value in the driving process;
determining return information of the sharing equipment according to the destination address and the current position of the sharing equipment; the return information comprises the position of a target parking point;
and sending the return information to the user side.
9. The method of claim 8, wherein determining the return information of the sharing device according to the destination address and the current location of the sharing device comprises:
acquiring a parking point set within a preset range of the current position of the sharing equipment; the parking point set comprises at least one parking point of the sharing equipment;
and determining the target parking points according to the distances between the current position and each parking point as well as the destination address, and acquiring the positions of the target parking points as the return information.
10. The method of claim 9, wherein determining the target parking point based on the distances between the current location and each of the parking points and the destination address comprises:
calculating a first distance between a current position of the sharing device and a position of each of the parking points;
calculating a second distance between the destination address and the position of each parking point;
and determining the parking point with the smallest sum of the first distance and the second distance as the target parking point.
11. The method of claim 8, wherein the return information includes an identification of a target replacement device, the method further comprising:
according to the return request, determining target replacement equipment in the shared equipment parked at the target parking point; the electric quantity of the target replacement equipment is larger than a preset second threshold value.
12. The method of claim 11, further comprising:
and marking the target replacing device within a preset time, and locking the use right of the target replacing device.
13. The method of claim 12, further comprising:
and under the condition of receiving the locking instruction sent by the user side, issuing an unlocking instruction to the target replacement equipment.
14. An apparatus for returning a device, the apparatus comprising:
the first acquisition module is used for acquiring an operation instruction triggered based on the reminding information; wherein, the operation instruction comprises a destination address; the reminding information is output when the sharing equipment detects that the electric quantity of the sharing equipment is smaller than a preset first threshold value in the driving process;
a sending module, configured to send a return request including the destination address and the current location of the sharing device to a server; the return request is used for indicating to return the shared device;
the receiving module is used for receiving the return information returned by the server according to the return request; the return information includes the position of the target parking point.
15. The device return apparatus according to claim 14, wherein a sum of the first distance and the second distance of the target parking point is minimum; the first distance is the distance between the position of a target parking point and the current position of the sharing equipment, and the second distance is the distance between the position of the target parking point and the destination address.
16. The device return apparatus according to claim 14 or 15, wherein the apparatus further comprises:
and the planning module is used for planning a target driving path of the sharing equipment according to the current position of the sharing equipment and the position of the target parking point and outputting navigation information according to the target driving path.
17. The device return apparatus of claim 16, wherein the planning module comprises:
the acquisition unit is used for acquiring a plurality of candidate driving paths between the current position and the position of the target parking point according to map data;
a determination unit configured to determine a candidate travel path having a minimum travel distance as the target travel path.
18. The device return apparatus according to claim 14, wherein the return request is further for instructing the server to determine a target replacement device; the return information also comprises an identifier of the target replacing device; the target replacement equipment is shared equipment parked at the target parking point, and the residual electric quantity of the target replacement equipment is larger than a preset second threshold value.
19. The device return apparatus according to claim 14, wherein the apparatus further comprises:
the output module is used for outputting the reminding information according to a preset period in the running process of the sharing equipment; the reminding information comprises the current driving distance of the sharing equipment.
20. The device return apparatus according to claim 19, wherein said apparatus further comprises:
the second acquisition module is used for acquiring the current residual electric quantity of the sharing equipment;
and the calculating module is used for calculating the current driving distance of the sharing equipment according to the current residual electric quantity and the unit distance electric consumption of the sharing equipment.
21. An apparatus for returning a device, the apparatus comprising:
the receiving module is used for receiving a returning request sent by a user side; the return request is triggered based on the reminding information and comprises a destination address of the sharing equipment and the current position of the sharing equipment; the reminding information is output when the sharing equipment detects that the electric quantity of the sharing equipment is smaller than a preset first threshold value in the driving process;
the first determining module is used for determining return information of the sharing equipment according to the destination address and the current position of the sharing equipment; the return information comprises the position of a target parking point;
and the sending module is used for sending the return information to the user side.
22. The device return apparatus of claim 21, wherein the first determining module comprises:
the acquisition unit is used for acquiring a parking point set within a preset range of the current position of the sharing equipment; the parking point set comprises at least one parking point of the sharing equipment;
and the determining unit is used for determining the target parking points according to the distances between the current position and each parking point as well as the destination address, and acquiring the positions of the target parking points as the return information.
23. The device return apparatus according to claim 22, wherein the determining unit is configured to calculate a first distance between a current position of the shared device and a position of each of the parking points; calculating a second distance between the destination address and the position of each parking point; and determining the parking point with the smallest sum of the first distance and the second distance as the target parking point.
24. The device return apparatus according to claim 21, wherein the return information includes an identifier of a target replacement device, the apparatus further comprising:
a second determining module, configured to determine, according to the return request, a target replacement device among the shared devices parked at the target parking spot; the electric quantity of the target replacement equipment is larger than a preset second threshold value.
25. The device return apparatus according to claim 24, wherein said apparatus further comprises:
and the locking module is used for marking the target replacing equipment within preset time and locking the use right of the target replacing equipment.
26. The device return apparatus according to claim 25, wherein said apparatus further comprises:
and the issuing module is used for issuing an unlocking instruction to the target replacement equipment under the condition of receiving the locking instruction sent by the user side.
27. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when executing the computer program.
28. A server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 8 to 13 are implemented by the processor when executing the computer program.
29. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, realizing the steps of the method of any one of claims 1 to 13.
CN202010756788.4A 2020-07-31 2020-07-31 Device return method, device, device and storage medium Pending CN111951142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010756788.4A CN111951142A (en) 2020-07-31 2020-07-31 Device return method, device, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010756788.4A CN111951142A (en) 2020-07-31 2020-07-31 Device return method, device, device and storage medium

Publications (1)

Publication Number Publication Date
CN111951142A true CN111951142A (en) 2020-11-17

Family

ID=73338923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010756788.4A Pending CN111951142A (en) 2020-07-31 2020-07-31 Device return method, device, device and storage medium

Country Status (1)

Country Link
CN (1) CN111951142A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114973524A (en) * 2022-06-16 2022-08-30 北京阿帕科蓝科技有限公司 Method, device, and computer equipment for returning shared equipment

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015191425A (en) * 2014-03-28 2015-11-02 日産自動車株式会社 Shared vehicle management apparatus and shared vehicle management method
JP2016177411A (en) * 2015-03-19 2016-10-06 日産自動車株式会社 Shared vehicle management device and shared vehicle management method
CN107369124A (en) * 2017-07-05 2017-11-21 深圳市迪比科电子科技有限公司 Vehicle management method, server, vehicle and system
CN107393168A (en) * 2017-05-23 2017-11-24 上海与德科技有限公司 Portable power source rent method and server
CN108460921A (en) * 2018-03-02 2018-08-28 北京摩拜科技有限公司 Vehicle returning method, apparatus and system, server
CN109102098A (en) * 2018-08-24 2018-12-28 北京轻享科技有限公司 Control method, device and equipment for shared vehicle
CN109214888A (en) * 2018-08-22 2019-01-15 浦庆洋 A kind of Sharing Management method and system of article
CN109489677A (en) * 2018-10-17 2019-03-19 深圳壹账通智能科技有限公司 Electric bicycle route planning method, device, computer equipment and storage medium
KR101962470B1 (en) * 2017-11-24 2019-03-26 삼천리자전거 주식회사 System and method returning sharing bicycle
CN109920155A (en) * 2019-01-29 2019-06-21 深圳市赛亿科技开发有限公司 The rent method and device, electronic equipment, storage medium of shared charger baby
CN110154997A (en) * 2019-04-15 2019-08-23 深圳市高斯拓普科技有限公司 A kind of battery change method, system and the server of shared electric vehicle
CN110246256A (en) * 2019-06-20 2019-09-17 上海钧正网络科技有限公司 A kind of shared pleasure-boat control method, antenna box, client, server and system
CN110428555A (en) * 2019-07-01 2019-11-08 阿里巴巴集团控股有限公司 Shared charging equipment gives back method and device
CN110545518A (en) * 2019-08-12 2019-12-06 上海移为通信技术股份有限公司 Shared charge pal return reminding system and method
CN111091658A (en) * 2019-12-16 2020-05-01 深圳市元征科技股份有限公司 Vehicle recommendation method, device, equipment and readable storage medium
CN111091659A (en) * 2019-12-16 2020-05-01 深圳街电科技有限公司 Return reminding method of mobile power supply, server and mobile power supply

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015191425A (en) * 2014-03-28 2015-11-02 日産自動車株式会社 Shared vehicle management apparatus and shared vehicle management method
JP2016177411A (en) * 2015-03-19 2016-10-06 日産自動車株式会社 Shared vehicle management device and shared vehicle management method
CN107393168A (en) * 2017-05-23 2017-11-24 上海与德科技有限公司 Portable power source rent method and server
CN107369124A (en) * 2017-07-05 2017-11-21 深圳市迪比科电子科技有限公司 Vehicle management method, server, vehicle and system
KR101962470B1 (en) * 2017-11-24 2019-03-26 삼천리자전거 주식회사 System and method returning sharing bicycle
CN108460921A (en) * 2018-03-02 2018-08-28 北京摩拜科技有限公司 Vehicle returning method, apparatus and system, server
CN109214888A (en) * 2018-08-22 2019-01-15 浦庆洋 A kind of Sharing Management method and system of article
CN109102098A (en) * 2018-08-24 2018-12-28 北京轻享科技有限公司 Control method, device and equipment for shared vehicle
CN109489677A (en) * 2018-10-17 2019-03-19 深圳壹账通智能科技有限公司 Electric bicycle route planning method, device, computer equipment and storage medium
CN109920155A (en) * 2019-01-29 2019-06-21 深圳市赛亿科技开发有限公司 The rent method and device, electronic equipment, storage medium of shared charger baby
CN110154997A (en) * 2019-04-15 2019-08-23 深圳市高斯拓普科技有限公司 A kind of battery change method, system and the server of shared electric vehicle
CN110246256A (en) * 2019-06-20 2019-09-17 上海钧正网络科技有限公司 A kind of shared pleasure-boat control method, antenna box, client, server and system
CN110428555A (en) * 2019-07-01 2019-11-08 阿里巴巴集团控股有限公司 Shared charging equipment gives back method and device
CN110545518A (en) * 2019-08-12 2019-12-06 上海移为通信技术股份有限公司 Shared charge pal return reminding system and method
CN111091658A (en) * 2019-12-16 2020-05-01 深圳市元征科技股份有限公司 Vehicle recommendation method, device, equipment and readable storage medium
CN111091659A (en) * 2019-12-16 2020-05-01 深圳街电科技有限公司 Return reminding method of mobile power supply, server and mobile power supply

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宫健等: "天天练奥赛 小学四年级 数学", 30 April 2003, 长沙:湖南大学出版社, pages: 19 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114973524A (en) * 2022-06-16 2022-08-30 北京阿帕科蓝科技有限公司 Method, device, and computer equipment for returning shared equipment

Similar Documents

Publication Publication Date Title
CN109830118B (en) Public transport-based travel strategy display method and device and storage medium
WO2016155229A1 (en) Navigation method and apparatus
CN104918325B (en) Positioning guide and parking guide method and device
TW201742028A (en) Road condition warning method, apparatus, server, control apparatus, and operating system
US20160088436A1 (en) Navigation system with location detection mechanism and method of operation thereof
WO2019000376A1 (en) METHOD AND DEVICE FOR REALIZING NETWORK EDGE CALCULATION
CN104318803A (en) Parking information prediction method and apparatus
CN105387868A (en) Method and device for making prompt for road information
US20180058876A1 (en) Information interaction method and device
CN105388503A (en) Navigation method and device
CN108630007A (en) Parking manages system and parking management method
CN111882907A (en) Navigation early warning method, device, equipment and storage medium for vehicle
CN107367742A (en) A kind of electricity saving method based on navigation, device and electronic equipment
CN111951142A (en) Device return method, device, device and storage medium
JP6250362B2 (en) Mobile terminal, location registration method and program
CN107403232B (en) Navigation control method and device and electronic equipment
CN111942210B (en) Battery compartment unlocking method, system, device, equipment and storage medium
CN111726747A (en) Prompting method and device for vehicle state, electronic equipment and storage medium
CN111629045A (en) Device wake-up method, system, apparatus, device and storage medium
CN111824307B (en) Vehicle control method, device, equipment, vehicle and medium
CN114724285A (en) Vehicle unlocking method, device, equipment, server, medium and product
CN115734161A (en) Method and device for detecting parking state, spike device and storage medium
CN111724537B (en) Vehicle control method, device, electronic device and storage medium
CN107103705A (en) A kind of shared vehicle travels monitoring method and mobile terminal
TWI666424B (en) Method, device, storage medium and terminal device for navigation and positioning based on tunnel map

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201117

RJ01 Rejection of invention patent application after publication