CN107404430B - Using method, device and system of shared vehicle - Google Patents
Using method, device and system of shared vehicle Download PDFInfo
- Publication number
- CN107404430B CN107404430B CN201710622157.1A CN201710622157A CN107404430B CN 107404430 B CN107404430 B CN 107404430B CN 201710622157 A CN201710622157 A CN 201710622157A CN 107404430 B CN107404430 B CN 107404430B
- Authority
- CN
- China
- Prior art keywords
- user
- shared vehicle
- route
- client
- travel
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F17/00—Coin-freed apparatus for hiring articles; Coin-freed facilities or services
- G07F17/0042—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
- G07F17/0057—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects for the hiring or rent of vehicles, e.g. cars, bicycles or wheelchairs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/18—Commands or executable codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/222—Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/102—Entity profiles
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Physics & Mathematics (AREA)
- Traffic Control Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Navigation (AREA)
Abstract
The disclosure relates to a using method, a device and a system of a shared vehicle, and belongs to the field of electronic technology application. The method comprises the following steps: receiving a recommendation authorization instruction sent by a first client of a first user using a shared vehicle, wherein the recommendation authorization instruction is generated by the first client when the first user allows friend recommendation to others; according to the recommendation authorization instruction, acquiring a first route of the first user for traveling by using a shared vehicle; determining, based on the first route, a second user associated with the first route using a second route of travel of the shared vehicle; and sending a friend recommendation request of the first user to a second client of the second user. The method solves the problems that the shared vehicle is single in use method and lack of flexibility. The present disclosure is for use of a shared vehicle.
Description
Technical Field
The present disclosure relates to the field of electronic technology application, and in particular, to a method, an apparatus, and a system for using a shared vehicle.
Background
With the development of technology, the number of people using shared vehicles, such as shared bicycles or shared cars, is increasing.
In the prior art, a user can input a license plate number through a client installed on a terminal or obtain an unlocking code for unlocking a vehicle through a mode that a camera of the terminal scans a two-dimensional code, and after the user obtains the unlocking code, the vehicle can be unlocked by using the unlocking code so as to use the vehicle for traveling. After the user uses the vehicle, the user can trigger the car-turning-over button on the client side, and the vehicle is locked.
In the prior art, the shared vehicle is single in use method and lacks flexibility.
Disclosure of Invention
In order to solve the problems in the prior art, the embodiments of the present disclosure provide a method, an apparatus, and a system for using a shared vehicle. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a method for using a shared vehicle, including:
receiving a recommendation authorization instruction sent by a first client of a first user using a shared vehicle, wherein the recommendation authorization instruction is generated by the first client when the first user allows friend recommendation to others;
according to the recommendation authorization instruction, acquiring a first route of the first user for traveling by using a shared vehicle;
determining, based on the first route, a second user associated with the first route using a second route of travel of the shared vehicle;
and sending a friend recommendation request of the first user to a second client of the second user.
Optionally, the obtaining a first route of the first user traveling by using a shared vehicle includes:
acquiring n routes of the first user for traveling by using a shared vehicle, wherein the n routes are the nearest n routes to the current time, or the n routes are the n routes in a preset time period before the current time, and n is an integer greater than 1;
screening the first route from the n routes.
Optionally, the screening the first route from the n routes includes:
screening routes with the time length of travel time interval overlapping being larger than a first preset time length from the n routes as the first routes;
or screening routes with the overlapping distance of the travel routes being greater than a first preset distance from the n routes as the first routes;
or screening the routes with the overlapped travel routes having the distance larger than a second preset distance and the overlapped travel time period longer than a second preset time period from the n routes as the first routes.
Optionally, the second user overlaps the first route by a distance greater than a third preset distance with respect to a second route for traveling by using the shared vehicle;
or the overlapping duration of the travel time period of the second route of the second user using the shared vehicle and the travel time period of the first route is longer than a third preset duration;
or the overlapping time length of a second route of the second user using the shared vehicle to travel with the travel time period of the first route is longer than a fourth preset time length, and the overlapping distance of the second route and the first route is longer than a fourth preset distance.
Optionally, the first client and the second client are both shared vehicle clients;
or, the first client and the second client are both instant messaging clients.
Optionally, the method further includes:
receiving a friend adding response sent by the second client;
and establishing and recording the friend relationship between the first user and the second user according to the friend adding response.
Optionally, the method further includes:
obtaining a distance between the second user and the first user when the second user and the first user use the shared vehicle at the same time;
when the distance between the second user and the first user is smaller than a fifth preset distance, generating travel prompt information;
and sending travel prompt information to the first client and the second client.
Optionally, the authorization recommendation instruction includes the identity data of the first user;
the friend recommendation request comprises the identity data of the first user.
According to a second aspect of embodiments of the present disclosure, there is provided a method of using a shared vehicle, comprising:
displaying a recommendation authorization option for prompting a first user using the shared vehicle whether to allow friend recommendations for others;
after receiving a recommendation permission instruction triggered by a user through the recommendation authorization option, sending a recommendation authorization instruction to a shared vehicle server;
the recommendation authorization instruction is used for instructing the shared vehicle server to send a friend recommendation request of a first user to a second client of a second user, a second route for the second user to travel by using the shared vehicle is associated with a first route, and the first route is a route for the first user to travel by using the shared vehicle.
Optionally, the method further includes:
receiving travel prompt information sent by the shared vehicle server, wherein the travel prompt information is generated when the shared vehicle server is used by the second user and the first user simultaneously, and the distance between the second user and the first user is less than a preset distance;
and presenting the travel prompt information to the user.
According to a third aspect of the embodiments of the present disclosure, there is provided a shared vehicle using apparatus, including:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a recommendation authorization instruction sent by a first client of a first user using a shared vehicle, and the recommendation authorization instruction is generated by the first client when the first user allows friend recommendation to others;
the first obtaining module is used for obtaining a first route of the first user for going out by using a shared vehicle according to the recommendation authorization instruction;
a determining module for determining, based on the first route, a second user associated with the first route using a second route of travel of the shared vehicle;
and the first sending module is used for sending the friend recommendation request of the first user to a second client of the second user.
Optionally, the first obtaining module includes:
the obtaining sub-module is used for obtaining n routes of the first user for traveling by using a shared vehicle, wherein the n routes are the nearest n routes from the current time, or the n routes are the n routes in a preset time period before the current time, and n is an integer larger than 1;
a screening submodule for screening the first route from the n routes.
Optionally, the screening submodule is configured to:
screening routes with the time length of travel time interval overlapping being larger than a first preset time length from the n routes as the first routes;
or screening routes with the overlapping distance of the travel routes being greater than a first preset distance from the n routes as the first routes;
or screening the routes with the overlapped travel routes having the distance larger than a second preset distance and the overlapped travel time period longer than a second preset time period from the n routes as the first routes.
Optionally, the second user overlaps the first route by a distance greater than a third preset distance with respect to a second route for traveling by using the shared vehicle;
or the overlapping duration of the travel time period of the second route of the second user using the shared vehicle and the travel time period of the first route is longer than a third preset duration;
or the overlapping time length of a second route of the second user using the shared vehicle to travel with the travel time period of the first route is longer than a fourth preset time length, and the overlapping distance of the second route and the first route is longer than a fourth preset distance.
Optionally, the first client and the second client are both shared vehicle clients;
or, the first client and the second client are both instant messaging clients.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving a friend adding response sent by the second client;
and the processing module is used for establishing and recording the friend relationship between the first user and the second user according to the friend adding response.
Optionally, the apparatus further comprises:
a second obtaining module, configured to obtain a distance between the second user and the first user when the second user and the first user use the shared vehicle at the same time;
the generating module is used for generating travel prompt information when the distance between the second user and the first user is smaller than a preset distance;
and the second sending module is used for sending the travel prompt information to the first client and the second client.
Optionally, the authorization recommendation instruction includes the identity data of the first user;
the friend recommendation request comprises the identity data of the first user.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a shared vehicle using apparatus, including:
the display module is used for displaying a recommendation authorization option which is used for prompting whether a first user using the shared vehicle allows friend recommendation to others or not;
the sending module is used for sending a recommendation authorization instruction to the shared vehicle server after receiving a recommendation permission instruction triggered by a user through the recommendation authorization option;
the recommendation authorization instruction is used for instructing the shared vehicle server to send a friend recommendation request of a first user to a second client of a second user, a second route for the second user to travel by using the shared vehicle is associated with a first route, and the first route is a route for the first user to travel by using the shared vehicle.
Optionally, the apparatus further comprises:
a receiving module, configured to receive travel prompt information sent by the shared vehicle server, where the travel prompt information is generated when the shared vehicle server is used by the second user and the first user simultaneously, and a distance between the second user and the first user is smaller than a preset distance;
and the presentation module is used for presenting the travel prompt information to a user.
According to a fifth aspect of embodiments of the present disclosure, there is provided a server including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
receiving a recommendation authorization instruction sent by a first client of a first user using a shared vehicle, wherein the recommendation authorization instruction is generated by the first client when the first user allows friend recommendation to others;
according to the recommendation authorization instruction, acquiring a first route of the first user for traveling by using a shared vehicle;
determining, based on the first route, a second user associated with the first route using a second route of travel of the shared vehicle;
and sending a friend recommendation request of the first user to a second client of the second user.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
displaying a recommendation authorization option for prompting a first user using the shared vehicle whether to allow friend recommendations for others;
after receiving a recommendation permission instruction triggered by a user through the recommendation authorization option, sending a recommendation authorization instruction to a shared vehicle server;
the recommendation authorization instruction is used for instructing the shared vehicle server to send a friend recommendation request of a first user to a second client of a second user, a second route for the second user to travel by using the shared vehicle is associated with a first route, and the first route is a route for the first user to travel by using the shared vehicle.
According to a seventh aspect of embodiments of the present disclosure, there is provided a storage medium having stored therein instructions that, when run on a processing component, cause the processing component to perform the method according to any one of the first aspects;
alternatively, the instructions in the storage medium, when executed on the processing component, cause the processing component to perform the method of any of the second aspects.
According to an eighth aspect of embodiments of the present disclosure, there is provided a shared vehicle usage system, including: sharing a vehicle server and at least two terminals, each of said terminals having a client installed thereon,
the shared vehicle server comprises the shared vehicle using device of any one of the third aspects, and the terminal comprises the shared vehicle using device of any one of the fourth aspects;
alternatively, the shared vehicle server includes the shared vehicle using device of the fifth aspect, and the terminal includes the shared vehicle using device of the sixth aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: … … are provided.
According to the method, the device and the system for using the shared vehicle, after the recommendation authorization instruction sent by the first client of the first user using the shared vehicle is received, the second user can be determined according to the first route of the first user using the shared vehicle for going out, and the friend recommendation request of the first user is sent to the second client of the second user, so that the friend recommendation function based on the route of the shared vehicle is realized, the using method of the shared vehicle is enriched, and the using flexibility is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure, the drawings that are needed to be used in the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present disclosure, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a schematic diagram of an implementation environment related to an information recommendation method provided in some embodiments of the present invention.
FIG. 2 is a flow chart illustrating a method of using shared vehicles in accordance with an exemplary embodiment.
FIG. 3 is a flow chart illustrating another method of shared vehicle use according to an exemplary embodiment.
FIG. 4-1 is a flow chart illustrating yet another method of shared vehicle use according to an exemplary embodiment.
Fig. 4-2A is an interface schematic diagram of a terminal shown in accordance with an exemplary embodiment.
Fig. 4-2B is an interface diagram of another terminal shown in accordance with an example embodiment.
Fig. 4-2C are interface diagrams illustrating yet another terminal according to an example embodiment.
Fig. 4-3 are flow diagrams illustrating a method of obtaining a first route according to an exemplary embodiment.
Fig. 4-4 are schematic diagrams of a driving route according to an exemplary embodiment.
Fig. 5-1 is a block diagram illustrating a shared vehicle use device 500 according to an exemplary embodiment.
Fig. 5-2 is a block diagram illustrating a first acquisition module in accordance with an example embodiment.
Fig. 5-3 are block diagrams illustrating another shared vehicle use device 500 according to an exemplary embodiment.
Fig. 5-4 are block diagrams illustrating yet another shared vehicle use device 500 according to an exemplary embodiment.
Fig. 6-1 is a block diagram illustrating a shared vehicle use arrangement 600 according to another exemplary embodiment.
Fig. 6-2 is a block diagram illustrating another shared vehicle use arrangement 600 according to another exemplary embodiment.
Fig. 7 is a block diagram illustrating a user device 700 for sharing vehicles according to an exemplary embodiment.
FIG. 8 is a block diagram illustrating a shared vehicle use device 800 according to an exemplary embodiment.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more clear, the present disclosure will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort, shall fall within the scope of protection of the present disclosure.
Referring to fig. 1, a schematic diagram of an implementation environment related to an information recommendation method provided in some embodiments of the present invention is shown. The implementation environment may include: the vehicle server 110 and at least two terminals 120 are shared.
The shared vehicle server 110 may be a server, a server cluster consisting of several servers, or a cloud computing service center. The terminal 120 may be a smartphone or a computer. The shared vehicle may be a shared bicycle, a shared electric vehicle, or a shared automobile, among others. The connection between the shared vehicle server 110 and the terminal 120 may be established through a wired network or a wireless network.
In one implementation, each terminal 120 installs a shared vehicle client. The shared vehicle client and the shared vehicle server may provide services to the user while the user is using the shared vehicle. The shared vehicle server 110 and the shared vehicle client installed on the terminal 120 may communicate.
In another implementation, each terminal 120 is installed with an instant messaging client, and the instant messaging client may be integrated with part or all of the functions of the shared vehicle client, for example, the shared vehicle can be unlocked and the route of the user using the shared vehicle can be recorded. The shared vehicle server and the instant messaging client can provide services to the user when the user uses the shared vehicle. In one aspect, the instant messaging clients installed on the shared vehicle server 110 and the terminal 120 may communicate directly. On the other hand, the instant messaging clients installed on the shared vehicle server 110 and the terminal 120 may indirectly communicate through the instant messaging server corresponding to the instant messaging client (the communication process is a background communication process, and information transmitted between the instant messaging clients installed on the shared vehicle server 110 and the terminal 120 is relayed by the instant messaging server).
Fig. 2 is a flow chart illustrating a method of using a shared vehicle according to an exemplary embodiment, applied to a shared vehicle server, which may be the shared vehicle server 110 shown in fig. 1, as shown in fig. 2, including:
In summary, according to the usage method of the shared vehicle provided by the embodiment of the present disclosure, after receiving the recommendation authorization instruction sent by the first client of the first user using the shared vehicle, the second user may be determined according to the first route of the first user using the shared vehicle for traveling, and the friend recommendation request of the first user is sent to the second client of the second user, so as to implement the friend recommendation function based on the route of the shared vehicle, thereby enriching the usage method of the shared vehicle and improving the usage flexibility.
Fig. 3 is a flowchart illustrating another method for using a shared vehicle according to an exemplary embodiment, where the method is applied to a first client installed on a terminal, where the terminal may be the terminal 120 shown in fig. 1, and the first client may be a shared vehicle client or an instant messaging client, and as shown in fig. 3, the method includes:
the recommendation authorization instruction is used for instructing the shared vehicle server to send a friend recommendation request of the first user to a second client of a second user, a second route for the second user to travel by using the shared vehicle is associated with the first route, and the first route is a route for the first user to travel by using the shared vehicle.
To sum up, according to the method for using a shared vehicle provided by the embodiment of the present disclosure, since the first client of the first user may display the recommendation authorization option, and after receiving the recommendation permission instruction triggered by the user, send the recommendation authorization instruction to the shared vehicle server, so that the shared vehicle server determines the second user according to the first route of the first user going out using the shared vehicle, and sends the friend recommendation request of the first user to the second client of the second user, so as to implement the friend recommendation function based on the route of the shared vehicle, the method for using the shared vehicle is enriched, and the flexibility in use is improved.
The embodiment of the present disclosure assumes that a first user using a shared vehicle wants to add a second user also using the shared vehicle, the second user associates a second route for traveling using the shared vehicle with the first route, a client installed on a terminal used by the first user is a first client, a client installed on a terminal used by the second user is a second client, and both the first client and the second client are shared vehicle clients; or both the first client and the second client are instant messaging clients. Correspondingly, a method for using the shared vehicle is provided, as shown in fig. 4-1, the method comprises the following steps:
step 401, the first client displays a recommendation authorization option.
When the first client runs in the foreground of the terminal, for example, the first user starts the first client or switches the first client from the background to the foreground, the first client displays a recommendation authorization option on a designated interface of the client, where the recommendation authorization option is used to prompt whether the first user allows friend recommendation to others, that is, whether the first user allows information of the first user to be sent to others and recommends the first user as a friend of others. The recommended authorization option may be displayed in an icon form or a floating frame form, the designated interface may be a home page of the client, as shown in fig. 4-2A, after the first user successfully logs in the client of the XX shared vehicle, the home page of the client is displayed first, and fig. 4-2A assumes that the recommended authorization option 00 is displayed in the home page in the form of a floating frame; the designated interface may also be a certain detail page of the client, and the display of the certain detail page may be triggered in a certain triggering manner in the home page of the client (for example, by clicking an indication icon indicating the detail page), as shown in fig. 4-2B, fig. 4-2B assumes that the recommendation authorization option 00 in the certain detail page is displayed in the form of a floating frame, and a triggering option 01 for returning to the home page is also displayed in the certain detail page, and when the first user triggers the option, the user interface may return to the display of the home page; the designated interface may also be a login page of the client as in fig. 4-2C, and fig. 4-2C assumes that the recommended authorization option 00 in the login page is displayed in the form of a floating box. In fig. 4-2A to 4-2C, the recommended authorization option 00 may be located in the center of the interface, or above or below the interface, which is not limited in the embodiment of the disclosure.
Step 402, after receiving a recommendation permission instruction triggered by a user through a recommendation authorization option, a first client sends a recommendation authorization instruction to a shared vehicle server.
The recommendation authorization instruction is used for instructing the shared vehicle server to send a friend recommendation request of the first user to a second client of a second user, wherein a second route for the second user to travel by using the shared vehicle is associated with a first route, and the first route is a route for the first user to travel by using the shared vehicle.
When a first user wishes to establish a friend relationship with other users, the recommendation authorization option can be triggered by clicking operation (for example, clicking an icon corresponding to the recommendation authorization option or an agreement button in a floating box) or voice triggering (for example, long-pressing a designated icon or a floating box to trigger a corresponding voice function, and then the first user speaks a designated voice, such as "agree" or "agree to recommend"), and the like.
Optionally, the recommendation authorization instruction includes information of the first user, and the information of the first user may be identity information of the first user. The identity data may be at least one of a user name, a user account, and a user information introduction used by the first user to log in to the first client. For example, the user profile of the first user is: the user name is named as Xiaoming, the user account number is 123 × 456, and the user information introduction comprises: anser township region, west ann city, women.
Step 403, the shared vehicle server obtains a first route of the first user for traveling by using the shared vehicle according to the recommendation authorization instruction.
Since the shared vehicle server may store route information of each user or obtain route information of each user stored by the client from a corresponding client (such as a shared vehicle client or an instant messaging client), after receiving a recommendation authorization instruction sent by the first client, the shared vehicle server may obtain a first route of a first user for traveling using the shared vehicle according to the recommendation authorization instruction. For example, as shown in fig. 4-3, the step of obtaining the first route may include:
It should be noted that the acquired route n times is a historical route of the first user (i.e., a route before the current time), and optionally, the route n times may have multiple acquisition manners, and the following two acquisition manners are exemplified in the present disclosure.
In a first acquisition mode, if the n-time route is the n-time route closest to the current time, the shared vehicle server screens the n-time route closest to the current time from the pre-stored historical routes of the first user as the n-time route.
For example, assuming that n is 3, the current time is 5/23/9: 00 in 2017, and the first user uses the shared vehicle 20 times at the current time after registering in 2016 on the shared vehicle server, the n-time route is the closest 3-time route from the current time.
In a second obtaining manner, the n-time route is a route n times within a preset time period before the current time, the preset time period before the current time is a time period adjacent to and before the current time, and the preset time period is a time period preset by an operator or a user, and then the shared vehicle server screens the route n times within the preset time period from the pre-stored historical routes of the first user as the route n times.
For example, the current time is 5 months, 23 days, 9:00 in 2017, and the preset time period is 1 week, and assuming that the first user uses shared transportation 5 times in total from 5 months, 16 days, 9:00 in 2017 to 5 months, 23 days, 9:00 in 2017, the route n times is a route 5 times corresponding to the shared transportation 5 times in use.
In practical applications, there are various screening manners for screening the first route from the n routes, and the embodiments of the present disclosure are described by way of example in the following manners:
in the first screening mode, routes with the overlapped travel time period longer than a first preset time period are screened from the routes for n times to serve as first routes.
The first preset time period may be a time period preset by an operator or a user according to a preset condition, for example, the first preset time period is 30 minutes.
For example, suppose that the n-time route is 3 routes, respectively routes 1 to 3, where the travel time of route 1 is 9:00-10: 00; the travel time of the route 2 is 9:05-10:00, and the travel time of the route 3 is 12:00-13: 00. And in the 3 travel routes, the travel time periods of the first travel route and the second travel route are overlapped, and the overlapping time period is 55 minutes, wherein the 55 minutes is more than 30 minutes, and the first route comprises the route 1 and the route 2.
In the second screening mode, routes with the overlapped distance of the travel routes being larger than the first preset distance are screened from the routes for n times to serve as the first routes.
The first preset distance may be a distance preset by an operator or a user according to a preset situation, for example, the first preset distance is 500 meters.
For example, as shown in fig. 4-4, assuming that the n-time route is 3 routes, which are routes 1 to 3, respectively, where route 1 is from point a to point B to point D, route 2 is from point a to point B to point C, route 3 is from point a to point F to point E, the overlapped route of route 1 and route 2 is from point a to point B, the overlapped route of route 1 and route 3 is from point a to point E, and the overlapped route of route 2 and route 3 is from point a to point F, assuming that the distance from point a to point B in fig. 4-1 is 600 meters, and the distance from point a to point F is 300 meters, the first route includes route 1 and route 2 as 600 meters is greater than 500 meters.
In practical applications, the route is represented in various manners, and besides the representation manners shown in fig. 4-4, the route can also be identified by using a marker (such as a hospital, a restaurant, etc.), for example, assuming that the route n is 3 routes, which are respectively routes 1 to 3, wherein the travel route of the route 1 is from the hospital a to the bank B and then to the hot pot restaurant C. The travel route of the route 2 is from the gymnasium D to the bank B and then to the hot pot restaurant C. The travel route of the route 3 is from the gymnasium D to the mall M to the school H. The distance from the bank B to the hot pot restaurant C is 600 meters. And in the 3 travel routes, the first travel route and the second travel route are overlapped, the overlapping distance is 600 meters, and the 600 meters is greater than 500 meters, and the first route comprises the route 1 and the route 2.
And in the third screening mode, the route with the overlapped distance of the travel routes being greater than the second preset distance and the overlapped time length of the travel time interval being greater than the second preset time length is screened out from the route for n times to serve as the first route.
The second preset distance may be a distance previously set by an operator or a user according to a preset condition, for example, the second preset distance is 400 meters; the second preset time period may also be a time period preset by an operator or a user according to a preset condition, for example, the second preset time period is 40 minutes.
For example, as shown in fig. 4-4, assuming that the n-time route is 3 routes, namely, routes 1 to 3, route 1 is from point a to point B to point D, route 2 is from point a to point B to point C, and route 3 is from point a to point F to point E, the overlapped route of route 1 and route 2 is from point a to point B, the overlapped route of route 1 and route 3 is from point a to point F, and the overlapped route of route 2 and route 3 is from point a to point F, assuming that the distance from point a to point B in fig. 4-4 is 600 meters, the distance from point a to point F is 300 meters, the travel time of route 1 is 9:00-10:00, the travel time of route 2 is 9:05-10:00, and the travel time of route 3 is 12:00-13:00, the overlapped route of route 1 and route 2 is 600 meters, 600 meters is greater than 400 meters, overlap time 55 minutes, 55 minutes is greater than 40 minutes, and thus the first route includes route 1 and route 2 described above.
In practical application, the route can be represented in various ways, and besides the representation ways shown in fig. 4-4, the route can also be identified by using a marker (such as a hospital, a restaurant, etc.), for example, assuming that the route n is the route 3 times, wherein the travel route of the route 1 is from the hospital a to the bank B to the hot pot restaurant C, and the travel time is 9:00-10: 00; the travel route of the route 2 is from the gymnasium D to the bank B and then to the hot pot restaurant C, and the travel time is 9:05-10: 00; the travel route of the route 3 is from the gymnasium D to the mall M to the school H, and the travel time is 12:00-13: 00. The distance from the bank B to the hot pot restaurant C is 600 meters. In the 3 travel routes, the travel routes of the first travel route and the second travel route are overlapped, the overlapping distance is 600 meters, and the 600 meters are more than 400 meters; meanwhile, the travel time intervals of the first travel route and the second travel route are overlapped, the overlapping time is 55 minutes, and the 55 minutes is more than 40 minutes, so that the first route comprises the route 1 and the route 2.
Step 404, the shared vehicle server determines a second user based on the first route.
The second route for the second user to travel using the shared vehicle is associated with the first route in various ways, and the following are taken as examples in the embodiment of the disclosure:
the first association mode is as follows: the second route of the second user traveling using the shared vehicle overlaps the first route by a distance greater than a third preset distance.
The third preset distance may be a distance preset by an operator or a user according to a preset situation, for example, the third preset distance is 300 meters.
For example, suppose user N has a travel route from hospital a to bank B to hot pot restaurant C. The travel route of the first user is from the gymnasium D to the bank B and then to the hot pot restaurant C. The distance from the bank B to the hot pot restaurant C is 600 meters. In the travel routes of the user N and the first user, the travel route of the user N overlaps with the travel route of the first user, the overlapping distance is 600 meters, and the 600 meters are greater than 300 meters, so that the user N is the second user.
In a second example, a time length during which a travel time period of a second route for a second user to travel using the shared vehicle overlaps with a travel time period of the first route is longer than a third preset time length;
the third preset time period may be a time period preset by an operator or a user according to a preset condition, for example, the third preset time period is 50 minutes.
For example, suppose user N has travel times of 9:00-10: 00; the first user's travel time is 9:05-10: 00. In the travel routes of the user N and the first user, the travel time interval between the travel route of the user N and the travel route of the first user is overlapped, the overlapping time interval is 55 minutes, and the 55 minutes is greater than 50 minutes, so that the user N is the second user.
In a third example, a second route traveled by the second user using the shared vehicle overlaps the travel period of the first route for a time period greater than a fourth preset time period, and the second route overlaps the first route for a distance greater than a fourth preset distance.
The fourth preset distance may be a distance preset by an operator or a user according to a preset condition, for example, the fourth preset distance is 400 meters; the fourth preset time period may also be a time period preset by an operator or a user according to a preset condition, for example, the second preset time period is 45 minutes.
For example, suppose that the travel route of the user N is from the hospital A to the bank B and then to the hot pot restaurant C, and the travel time is 9:00-10: 00; the first user has a travel route from the gymnasium D to the bank B and then to the hot pot restaurant C, and the travel time is 9:05-10: 00. The distance from the bank B to the hot pot restaurant C is 600 meters. In the travel routes of the user N and the first user, the travel route of the user N is overlapped with the travel route of the first user, and the overlapping distance is 600 meters, where the 600 meters are greater than 400 meters; meanwhile, the travel time interval of the travel route of the user N is overlapped with the travel time interval of the travel route of the first user, the overlapping time is 55 minutes, the 55 minutes is more than 45 minutes, and the user N is the second user.
Step 405, the shared vehicle server sends a friend recommendation request of the first user to a second client of a second user.
And step 406, the second client displays the friend recommendation request.
When the second client runs in the foreground of the terminal, for example, the second user starts the second client or switches the second client from the background to the foreground (when the second client runs in the background, the prompt information of receiving the friend recommendation request may be displayed in the prompt box above or below the terminal, and the second client switches from the background to the foreground after the user performs corresponding operation on the prompt information, such as clicking operation), the second client displays the friend recommendation request on the designated interface of the client, where the friend recommendation request is used to prompt whether the second user agrees to add another person (i.e., the first user) as a friend. The specified interface can be a home page of the client and also can be a certain detail page of the client, the friend recommendation request can be displayed in an icon form or a floating frame form, after the second user agrees with the friend recommendation request, the second client can display the information of the first user on the current page, and the information of the first user can be the identity information of the first user. The identity data may be at least one of a user name, a user account, and a user information introduction used by the first user to log in the first client, for example, the user data of the first user is: the user name is named as Xiaoming, the user account number is 123 × 456, and the user information introduction comprises: anser township region, west ann city, women.
And step 407, after receiving the adding permission instruction triggered by the second user, the second client sends a friend adding response to the shared vehicle server.
When the second user agrees to establish a friend relationship with other users, the terminal agrees to establish the friend relationship with other users through single-click operation (for example, single-click of an icon corresponding to the friend recommendation request or an agreement button in a suspension box) or voice trigger (for example, long-click of the icon corresponding to the friend recommendation request or the suspension box to trigger a corresponding voice function, and then the second user speaks specified voice, such as 'agreement' or 'agreement to add friends'), and accordingly, the second client can receive an addition permission instruction and then send a friend addition response to the shared vehicle server.
Optionally, the friend adding response includes information of the second user, and the information of the second user may be identity information of the second user. The identity data may be at least one of a user name, a user account, and a user information introduction used by the second user to log in to the second client. For example, the user profile of the second user is: the user name is called as xiaomei, the user account is 654 x 321, and the user information includes: anser township region, west ann city, women.
And step 408, the shared vehicle server establishes and records the friend relationship between the first user and the second user according to the friend adding response.
After receiving the friend adding response sent by the second client, the shared vehicle server can establish and record the friend relationship between the first user and the second user according to the friend adding response. The first user and the second user having a friend relationship can enjoy friend rights, such as performing instant messaging, inquiring a friend circle of the other party, and the like.
For example, the recommendation authorization instruction carries a user identifier of a first user, the add friend response carries a user identifier of a second user, and a friend relationship between the first user and the second user can be established by associating the user identifier of the first user with the user identifier of the second user, where the user identifiers may be user accounts or user names, and by establishing the friend relationship between the first user and the second user, communication between the first user and the second user is more convenient, and user experience is improved.
Step 409, the shared vehicle server sends a message of successfully adding friends to the first client and the second client at the same time.
After the shared vehicle server establishes and records the friend relationship between the first user and the second user, a message of successfully adding friends can be respectively sent to the first client and the second client. The successful friend adding message indicates that the first user and the second user become friends.
And step 410, the first client and the second client display the message of successfully adding the friend.
The first client and the second client may display the successful friend adding message on a designated page of the clients, where the designated interface may be a home page of the clients or a specific detail page of the clients, and the successful friend adding message may be displayed in an icon form or a floating frame form, which is not limited in the embodiment of the present disclosure.
And 411, when the first user and the second user meet preset travel conditions, the shared vehicle server sends travel prompt information to the first client and the second client.
In practical application, when the trips of the first user and the second user satisfy the preset trip condition, the shared vehicle server sends trip prompt information to the first client and the second client, for example, the preset trip condition may be: and when the second user and the first user use the shared transportation means at the same time, the distance between the second user and the first user is smaller than a fifth preset distance, when the second user and the first user use the shared transportation means at the same time, the distance between the second user and the first user is acquired, and when the distance between the second user and the first user is smaller than the fifth preset distance, the shared transportation means server generates travel prompt information. The fifth preset distance may be a distance preset by an operator or a user according to a preset situation, for example, the fifth preset distance is 100 meters.
In step 412, the first client and the second client respectively present travel prompt information.
The first client and the second client may present the travel prompt information in a variety of ways, for example, present the prompt information in a text display or voice prompt manner. The embodiments of the present disclosure do not limit this.
For example, assuming that a friend relationship is already established between a first user and a second user, the first user and the second user use a shared vehicle at the same time, and a distance between the first user and the second user is within 100 meters, at this time, the shared vehicle server sends travel prompt information to clients on terminals used by the first user and the second user, and the first user and the second user can know that the opposite party is not far away from themselves through the travel prompt information and then accompany a trip. The mode is convenient for the communication between the two, and the user experience is improved. Moreover, if the prompt information is presented in a voice prompt mode, the user does not need to operate the terminal, the probability of traffic accidents when the user goes out by using the shared transportation tool can be reduced, and the safety of the user going out is improved.
To sum up, in the method for using a shared vehicle provided in the embodiment of the present disclosure, after receiving a recommendation authorization instruction sent by a first client of a first user using the shared vehicle, a server of the shared vehicle may determine a second user according to a first route of the first user using the shared vehicle for traveling, and send a friend recommendation request of the first user to a second client of the second user, so as to implement a friend recommendation function based on a route of the shared vehicle, thereby enriching a method for using the shared vehicle and improving flexibility of use; and when the first user and the second user meet the preset travel conditions, the shared vehicle server sends travel prompt information to the first client and the second client, so that friends can conveniently accompany for travel, and the user experience is improved.
For example, assuming that the shared vehicle is a shared bicycle and xiaoming is a user using the shared bicycle, after the shared vehicle allows friend recommendation to other people, the server of the shared bicycle determines a second route associated with the first route according to a first route of travel of the shared bicycle used by the xiaoming, determines the user xiaoming based on the second route, sends a friend recommendation request of the xiaoming to a client (a shared vehicle client or an instant messaging client) used by the xiaoming, and after the xiaoming agrees to establish a friend relationship with the xiaoming, the two can have friend rights, such as performing instant messaging and inquiring a friend circle of the other party. When the two travel at the same time and the distance is smaller than the preset distance, the client on the small and beautiful terminal can also present travel prompt information to remind the two to accompany the travel. Therefore, the using functions of the shared bicycle are enriched, and the user experience is improved.
Fig. 5-1 is a block diagram illustrating an apparatus 500 for sharing a vehicle according to an exemplary embodiment, the apparatus comprising, as shown in fig. 5-1: a first receiving module 501, a first obtaining module 502, a determining module 503 and a first sending module 504.
A first receiving module 501, configured to receive a recommendation authorization instruction sent by a first client of a first user using a shared vehicle, where the recommendation authorization instruction is generated by the first client when the first user allows friend recommendation to others;
a first obtaining module 502, configured to obtain, according to the recommendation authorization instruction, a first route of the first user for traveling by using a shared vehicle;
a determining module 503, configured to determine, based on the first route, a second user, the second user associating a second route of the shared vehicle with the first route;
a first sending module 504, configured to send a friend recommendation request of the first user to a second client of the second user.
To sum up, according to the device for using a shared vehicle provided in the embodiment of the present disclosure, after the first receiving module receives the recommendation authorization instruction sent by the first client of the first user using the shared vehicle, the determining module may determine the second user according to the first route, obtained by the first obtaining module, of the first user going out using the shared vehicle, and the first sending module sends the friend recommendation request of the first user to the second client of the second user, so that a friend recommendation function based on the route of the shared vehicle can be implemented, thereby enriching the use method of the shared vehicle and improving the use flexibility.
Optionally, fig. 5-2 is a block diagram illustrating a first obtaining module according to an exemplary embodiment, and as shown in fig. 5-2, the first obtaining module 502 includes: an acquisition submodule 5021 and a screening submodule 5022,
an obtaining sub-module 5021, configured to obtain n routes of the first user traveling using a shared vehicle, where the n routes are the nearest n routes from a current time, or the n routes are n routes within a preset time period before the current time, and n is an integer greater than 1;
a screening submodule 5022 for screening the first route from the n routes.
Optionally, the screening submodule 5022 is configured to:
screening routes with the time length of travel time interval overlapping being larger than a first preset time length from the n routes as the first routes;
or screening routes with the overlapping distance of the travel routes being greater than a first preset distance from the n routes as the first routes;
or screening the routes with the overlapped travel routes having the distance larger than a second preset distance and the overlapped travel time period longer than a second preset time period from the n routes as the first routes.
Optionally, the second user overlaps the first route by a distance greater than a third preset distance with respect to a second route for traveling by using the shared vehicle;
or the overlapping duration of the travel time period of the second route of the second user using the shared vehicle and the travel time period of the first route is longer than a third preset duration;
or the overlapping time length of a second route of the second user using the shared vehicle to travel with the travel time period of the first route is longer than a fourth preset time length, and the overlapping distance of the second route and the first route is longer than a fourth preset distance.
Optionally, the first client and the second client are both shared vehicle clients;
or, the first client and the second client are both instant messaging clients.
Fig. 5-3 is a block diagram illustrating another shared vehicle use arrangement 500 according to an exemplary embodiment, which, as shown in fig. 5-3, includes: the system comprises a first receiving module 501, a first obtaining module 502, a determining module 503, a first sending module 504, a second receiving module 505 and a processing module 506.
A first receiving module 501, configured to receive a recommendation authorization instruction sent by a first client of a first user using a shared vehicle, where the recommendation authorization instruction is generated by the first client when the first user allows friend recommendation to others;
a first obtaining module 502, configured to obtain, according to the recommendation authorization instruction, a first route of the first user for traveling by using a shared vehicle;
a determining module 503, configured to determine, based on the first route, a second user, the second user associating a second route of the shared vehicle with the first route;
a first sending module 504, configured to send a friend recommendation request of the first user to a second client of the second user.
A second receiving module 505, configured to receive a friend adding response sent by the second client;
and the processing module 506 is configured to establish and record a friend relationship between the first user and the second user according to the friend adding response.
Fig. 5-4 are block diagrams illustrating yet another shared vehicle use arrangement 500 according to an exemplary embodiment, as shown in fig. 5-3, comprising: a first receiving module 501, a first obtaining module 502, a determining module 503, a first sending module 504, a second obtaining module 507 and a generating module 508.
A first receiving module 501, configured to receive a recommendation authorization instruction sent by a first client of a first user using a shared vehicle, where the recommendation authorization instruction is generated by the first client when the first user allows friend recommendation to others;
a first obtaining module 502, configured to obtain, according to the recommendation authorization instruction, a first route of the first user for traveling by using a shared vehicle;
a determining module 503, configured to determine, based on the first route, a second user, the second user associating a second route of the shared vehicle with the first route;
a first sending module 504, configured to send a friend recommendation request of the first user to a second client of the second user.
A second obtaining module 507, configured to obtain a distance between the second user and the first user when the second user and the first user use the shared vehicle at the same time;
a generating module 508, configured to generate a travel prompt message when a distance between the second user and the first user is less than a preset distance;
a second sending module 509, configured to send the travel prompting information to the first client and the second client.
Optionally, the authorization recommendation instruction includes the identity data of the first user;
the friend recommendation request comprises the identity data of the first user.
To sum up, according to the device for using a shared vehicle provided in the embodiment of the present disclosure, after the first receiving module receives the recommendation authorization instruction sent by the first client of the first user using the shared vehicle, the determining module may determine the second user according to the first route, obtained by the first obtaining module, of the first user going out using the shared vehicle, and the first sending module sends the friend recommendation request of the first user to the second client of the second user, so that a friend recommendation function based on the route of the shared vehicle can be implemented, thereby enriching the use method of the shared vehicle and improving the use flexibility.
Fig. 6-1 is a block diagram illustrating a shared vehicle use arrangement 600 according to another exemplary embodiment, including: a display module 601 and a sending module 602.
The display module 601 is configured to display a recommendation authorization option, where the recommendation authorization option is used to prompt a first user using a shared vehicle whether to allow friend recommendation to others;
a sending module 602, configured to send a recommendation authorization instruction to the shared vehicle server after receiving a recommendation permission instruction triggered by the user through the recommendation authorization option;
the recommendation authorization instruction is used for instructing the shared vehicle server to send a friend recommendation request of a first user to a second client of a second user, a second route for the second user to travel by using the shared vehicle is associated with a first route, and the first route is a route for the first user to travel by using the shared vehicle.
In summary, in the method for using a shared vehicle provided in the embodiment of the present disclosure, the display module may display the recommendation authorization option, and the sending module sends the recommendation authorization instruction to the shared vehicle server after receiving the recommendation permission instruction triggered by the user, so that the shared vehicle server determines the second user according to the first route of the first user going out using the shared vehicle, and sends the friend recommendation request of the first user to the second client of the second user, so as to implement a friend recommendation function based on the route of the shared vehicle, thereby enriching the use method of the shared vehicle and improving the use flexibility.
Fig. 6-2 is a block diagram illustrating another shared vehicle use arrangement 500 according to another exemplary embodiment, including: a display module 601, a sending module 602, a receiving module 603 and a presenting module 604.
The display module 601 is configured to display a recommendation authorization option, where the recommendation authorization option is used to prompt a first user using a shared vehicle whether to allow friend recommendation to others;
a sending module 602, configured to send a recommendation authorization instruction to the shared vehicle server after receiving a recommendation permission instruction triggered by the user through the recommendation authorization option;
a receiving module 603, configured to receive travel prompt information sent by the shared vehicle server, where the travel prompt information is generated when the shared vehicle server is used by the second user and the first user simultaneously, and a distance between the second user and the first user is smaller than a preset distance;
a presenting module 604, configured to present the travel prompting information to the user.
In summary, in the method for using a shared vehicle provided in the embodiment of the present disclosure, the display module may display the recommendation authorization option, and the sending module sends the recommendation authorization instruction to the shared vehicle server after receiving the recommendation permission instruction triggered by the user, so that the shared vehicle server determines the second user according to the first route of the first user going out using the shared vehicle, and sends the friend recommendation request of the first user to the second client of the second user, so as to implement a friend recommendation function based on the route of the shared vehicle, thereby enriching the use method of the shared vehicle and improving the use flexibility.
An embodiment of the present disclosure provides a server, including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
receiving a recommendation authorization instruction sent by a first client of a first user using a shared vehicle, wherein the recommendation authorization instruction is generated by the first client when the first user allows friend recommendation to others;
according to the recommendation authorization instruction, acquiring a first route of the first user for traveling by using a shared vehicle;
determining, based on the first route, a second user associated with the first route using a second route of travel of the shared vehicle;
and sending a friend recommendation request of the first user to a second client of the second user.
An embodiment of the present disclosure provides a terminal, including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
displaying a recommendation authorization option for prompting a first user using the shared vehicle whether to allow friend recommendations for others;
after receiving a recommendation permission instruction triggered by a user through the recommendation authorization option, sending a recommendation authorization instruction to a shared vehicle server;
the recommendation authorization instruction is used for instructing the shared vehicle server to send a friend recommendation request of a first user to a second client of a second user, a second route for the second user to travel by using the shared vehicle is associated with a first route, and the first route is a route for the first user to travel by using the shared vehicle.
Fig. 7 is a block diagram illustrating a user device 700 for sharing vehicles according to an exemplary embodiment. For example, the device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices 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 disks.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 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 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other apparatuses. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. 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.
In an exemplary embodiment, the apparatus 700 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 Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A storage medium, which is a non-transitory computer-readable storage medium, and when instructions in the storage medium are executed on a processing component, the processing component is caused to execute a method for using a shared vehicle provided by an embodiment of the present disclosure, where the method is executed by the first client.
The storage medium may be the storage medium in the apparatus 700.
FIG. 8 is a block diagram illustrating a shared vehicle use device 800 according to an exemplary embodiment. For example, the apparatus 800 may be provided as a server, such as the shared traffic server shown in fig. 1. Referring to FIG. 8, the apparatus 800 includes a processing component 822, which further includes one or more processors and memory resources, represented by memory 832, for storing instructions, such as application programs, that are executable by the processing component 822. The application programs stored in memory 832 may include one or more modules that each correspond to a set of instructions. Further, the processing component 822 is configured to execute instructions to perform the shared vehicle usage methods described above.
The device 800 may also include a power component 826 configured to perform power management of the device 800, a wired or wireless network interface 850 configured to connect the device 800 to a network, and an input/output (I/O) interface 858. The device 800 may operate based on an operating system stored in the memory 832, such as Windows Server, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
The present disclosure provides a storage medium, in which instructions are stored, and when the instructions in the storage medium are executed on a processing component, the processing component executes the method for using the shared vehicle provided by the embodiment of the present disclosure, where the method is executed by the shared vehicle server. . The storage medium may be the storage medium in the apparatus 800.
The disclosed embodiment provides a shared vehicle using system, which can refer to the system shown in fig. 1. The system comprises: sharing a vehicle server and at least two terminals, each of said terminals having a client installed thereon,
the shared vehicle server includes the shared vehicle using device shown in fig. 5-1, 5-3 or 5-4, and the terminal includes the shared vehicle using device described in fig. 6-1 or 6-2. Alternatively, the shared vehicle server includes the shared vehicle using device shown in fig. 8, and the terminal includes the shared vehicle using device shown in fig. 7.
To sum up, in the method for using a shared vehicle provided in the embodiment of the present disclosure, after receiving a recommendation authorization instruction sent by a first client of a first user using the shared vehicle, a server of the shared vehicle may determine a second user according to a first route of the first user using the shared vehicle for traveling, and send a friend recommendation request of the first user to a second client of the second user, so as to implement a friend recommendation function based on a route of the shared vehicle, thereby enriching a method for using the shared vehicle and improving flexibility of use; and when the first user and the second user meet the preset travel conditions, the shared vehicle server sends travel prompt information to the first client and the second client, so that friends can conveniently accompany for travel, and the user experience is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (18)
1. A method of using a shared vehicle, comprising:
receiving a recommendation authorization instruction sent by a first client of a first user using a shared vehicle, wherein the recommendation authorization instruction is generated by the first client when the first user allows friend recommendation to others;
according to the recommendation authorization instruction, acquiring a first route of the first user for traveling by using a shared vehicle;
determining, based on the first route, a second user associated with the first route using a second route of travel of the shared vehicle;
sending a friend recommendation request of the first user to a second client of the second user, wherein the first client and the second client are both instant messaging clients, and the instant messaging clients are integrated with part or all functions of a shared vehicle client; when the second user and the first user use the shared vehicle at the same time, acquiring the distance between the second user and the first user, wherein the first user and the second user have established a friend relationship;
when the distance between the second user and the first user is smaller than a fifth preset distance, generating travel prompt information;
and sending the travel prompt information to the first client and the second client, so that the first client and the second client receive the travel prompt information sent by a shared vehicle server and remind the first user and the second user to accompany travel in a voice prompt mode.
2. The method of claim 1,
the obtaining a first route of the first user traveling using a shared vehicle includes:
acquiring n routes of the first user for traveling by using a shared vehicle, wherein the n routes are the nearest n routes to the current time, or the n routes are the n routes in a preset time period before the current time, and n is an integer greater than 1;
screening the first route from the n routes.
3. The method of claim 2,
said screening said first route out of said n routes, comprising:
screening routes with the time length of travel time interval overlapping being larger than a first preset time length from the n routes as the first routes;
or screening routes with the overlapping distance of the travel routes being greater than a first preset distance from the n routes as the first routes;
or screening the routes with the overlapped travel routes having the distance larger than a second preset distance and the overlapped travel time period longer than a second preset time period from the n routes as the first routes.
4. The method of claim 1,
the second user overlaps the first route by a distance greater than a third preset distance using a second route for travel by a shared vehicle;
or the overlapping duration of the travel time period of the second route of the second user using the shared vehicle and the travel time period of the first route is longer than a third preset duration;
or the overlapping time length of a second route of the second user using the shared vehicle to travel with the travel time period of the first route is longer than a fourth preset time length, and the overlapping distance of the second route and the first route is longer than a fourth preset distance.
5. The method of claim 1, further comprising:
receiving a friend adding response sent by the second client;
and establishing and recording the friend relationship between the first user and the second user according to the friend adding response.
6. The method of claim 1, wherein the recommendation authorization instruction includes an identity profile of the first user;
the friend recommendation request comprises the identity data of the first user.
7. A method for using a shared vehicle, wherein the method is applied to a first client and comprises the following steps:
displaying a recommendation authorization option for prompting a first user using the shared vehicle whether to allow friend recommendations for others;
after receiving a recommendation permission instruction triggered by a user through the recommendation authorization option, sending a recommendation authorization instruction to a shared vehicle server;
the recommendation authorization instruction is used for instructing the shared vehicle server to send a friend recommendation request of a first user to a second client of a second user, a second route for the second user to travel by using the shared vehicle is associated with a first route, the first route is a route for the first user to travel by using the shared vehicle, the first client and the second client are both instant messaging clients, and the instant messaging clients integrate part or all functions of the shared vehicle clients;
receiving travel prompt information sent by the shared vehicle server, and reminding the first user and the second user to accompany travel in a voice prompt mode, wherein the travel prompt information is that when the second user and the first user use the shared vehicle at the same time, the shared vehicle server acquires the distance between the second user and the first user, generates travel prompt information when the distance between the second user and the first user is less than a fifth preset distance, and sends the travel prompt information to the first client; wherein the first user and the second user have established a friend relationship.
8. A shared vehicle use apparatus, comprising:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a recommendation authorization instruction sent by a first client of a first user using a shared vehicle, and the recommendation authorization instruction is generated by the first client when the first user allows friend recommendation to others;
the first obtaining module is used for obtaining a first route of the first user for going out by using a shared vehicle according to the recommendation authorization instruction;
a determining module for determining, based on the first route, a second user associated with the first route using a second route of travel of the shared vehicle;
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending a friend recommendation request of a first user to a second client of a second user, the first client and the second client are both instant messaging clients, and the instant messaging clients are integrated with part or all functions of a shared vehicle client; when the second user and the first user use the shared vehicle at the same time, acquiring the distance between the second user and the first user, wherein the first user and the second user have established a friend relationship; when the distance between the second user and the first user is smaller than a fifth preset distance, generating travel prompt information; and sending the travel prompt information to the first client and the second client, so that the first client and the second client receive the travel prompt information sent by a shared vehicle server and remind the first user and the second user to accompany travel in a voice prompt mode.
9. The apparatus of claim 8,
the first obtaining module includes:
the obtaining sub-module is used for obtaining n routes of the first user for traveling by using a shared vehicle, wherein the n routes are the nearest n routes from the current time, or the n routes are the n routes in a preset time period before the current time, and n is an integer larger than 1;
a screening submodule for screening the first route from the n routes.
10. The apparatus of claim 9,
the screening submodule is used for:
screening routes with the time length of travel time interval overlapping being larger than a first preset time length from the n routes as the first routes;
or screening routes with the overlapping distance of the travel routes being greater than a first preset distance from the n routes as the first routes;
or screening the routes with the overlapped travel routes having the distance larger than a second preset distance and the overlapped travel time period longer than a second preset time period from the n routes as the first routes.
11. The apparatus of claim 8,
the second user overlaps the first route by a distance greater than a third preset distance using a second route for travel by a shared vehicle;
or the overlapping duration of the travel time period of the second route of the second user using the shared vehicle and the travel time period of the first route is longer than a third preset duration;
or the overlapping time length of a second route of the second user using the shared vehicle to travel with the travel time period of the first route is longer than a fourth preset time length, and the overlapping distance of the second route and the first route is longer than a fourth preset distance.
12. The apparatus of claim 8, further comprising:
the second receiving module is used for receiving a friend adding response sent by the second client;
and the processing module is used for establishing and recording the friend relationship between the first user and the second user according to the friend adding response.
13. The apparatus of claim 8, wherein the recommendation authorization instruction comprises an identity of the first user;
the friend recommendation request comprises the identity data of the first user.
14. An apparatus for sharing a vehicle, the apparatus being applied to a first client, comprising:
the display module is used for displaying a recommendation authorization option which is used for prompting whether a first user using the shared vehicle allows friend recommendation to others or not;
the sending module is used for sending a recommendation authorization instruction to the shared vehicle server after receiving a recommendation permission instruction triggered by a user through the recommendation authorization option;
the recommendation authorization instruction is used for instructing the shared vehicle server to send a friend recommendation request of a first user to a second client of a second user, a second route for the second user to travel by using the shared vehicle is associated with a first route, the first route is a route for the first user to travel by using the shared vehicle, the first client and the second client are both instant messaging clients, and the instant messaging clients integrate part or all functions of the shared vehicle clients;
a receiving module, configured to receive travel prompt information sent by the shared vehicle server, and remind the first user and the second user to accompany a travel in a voice prompt manner, where the travel prompt information is obtained by the shared vehicle server when the second user and the first user use the shared vehicle at the same time, and when the distance between the second user and the first user is less than a fifth preset distance, the travel prompt information is generated and sent to the first client; wherein the first user and the second user have established a friend relationship.
15. A server, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
receiving a recommendation authorization instruction sent by a first client of a first user using a shared vehicle, wherein the recommendation authorization instruction is generated by the first client when the first user allows friend recommendation to others;
according to the recommendation authorization instruction, acquiring a first route of the first user for traveling by using a shared vehicle;
determining, based on the first route, a second user associated with the first route using a second route of travel of the shared vehicle;
sending a friend recommendation request of the first user to a second client of the second user, wherein the first client and the second client are both instant messaging clients, and the instant messaging clients are integrated with part or all functions of a shared vehicle client; when the second user and the first user use the shared vehicle at the same time, acquiring the distance between the second user and the first user, wherein the first user and the second user have established a friend relationship;
when the distance between the second user and the first user is smaller than a fifth preset distance, generating travel prompt information;
and sending the travel prompt information to the first client and the second client, so that the first client and the second client receive the travel prompt information sent by a shared vehicle server and remind the first user and the second user to accompany travel in a voice prompt mode.
16. A terminal, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is applied to a first client, which is installed on the terminal and configured to:
displaying a recommendation authorization option for prompting a first user using the shared vehicle whether to allow friend recommendations for others;
after receiving a recommendation permission instruction triggered by a user through the recommendation authorization option, sending a recommendation authorization instruction to a shared vehicle server;
the recommendation authorization instruction is used for instructing the shared vehicle server to send a friend recommendation request of a first user to a second client of a second user, a second route for the second user to travel by using the shared vehicle is associated with a first route, the first route is a route for the first user to travel by using the shared vehicle, the first client and the second client are both instant messaging clients, and the instant messaging clients integrate part or all functions of the shared vehicle clients;
receiving travel prompt information sent by the shared vehicle server, and reminding the first user and the second user to accompany travel in a voice prompt mode, wherein the travel prompt information is that when the second user and the first user use the shared vehicle at the same time, the shared vehicle server acquires the distance between the second user and the first user, generates travel prompt information when the distance between the second user and the first user is less than a fifth preset distance, and sends the travel prompt information to the first client; wherein the first user and the second user have established a friend relationship.
17. A storage medium having stored therein instructions which, when run on a processing component, cause the processing component to perform the method of any one of claims 1 to 6;
alternatively, the instructions in the storage medium, when executed on a processing component, cause the processing component to perform the method of claim 7.
18. A shared vehicle use system, comprising: sharing a vehicle server and at least two terminals, each of said terminals having a client installed thereon,
the shared vehicle server comprises the shared vehicle using device of any one of claims 8 to 13, and the terminal comprises the shared vehicle using device of claim 14;
alternatively, the shared vehicle server is the server of claim 15 and the terminal is the terminal of claim 16.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710622157.1A CN107404430B (en) | 2017-07-27 | 2017-07-27 | Using method, device and system of shared vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710622157.1A CN107404430B (en) | 2017-07-27 | 2017-07-27 | Using method, device and system of shared vehicle |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107404430A CN107404430A (en) | 2017-11-28 |
CN107404430B true CN107404430B (en) | 2020-09-01 |
Family
ID=60400874
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710622157.1A Active CN107404430B (en) | 2017-07-27 | 2017-07-27 | Using method, device and system of shared vehicle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107404430B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108198022A (en) * | 2017-12-28 | 2018-06-22 | 贵州财富之舟科技有限公司 | Interactive approach and device based on shared bicycle of riding |
CN110473054A (en) * | 2019-07-18 | 2019-11-19 | 深圳市元征科技股份有限公司 | Social control method and device based on shared vehicle |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954984A (en) * | 2015-05-20 | 2015-09-30 | 蔡宏铭 | Method and system for realizing instant messaging among persons travelling together |
CN105635314A (en) * | 2016-01-27 | 2016-06-01 | 深圳市凯立德科技股份有限公司 | Method, device and system for realizing friends making during driving |
CN106790684A (en) * | 2017-02-13 | 2017-05-31 | 北京奇虎科技有限公司 | Information-pushing method, device and corresponding server |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170155614A1 (en) * | 2015-12-01 | 2017-06-01 | International Business Machines Corporation | Opportunistic computation of running paths to encourage friend encounters |
-
2017
- 2017-07-27 CN CN201710622157.1A patent/CN107404430B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954984A (en) * | 2015-05-20 | 2015-09-30 | 蔡宏铭 | Method and system for realizing instant messaging among persons travelling together |
CN105635314A (en) * | 2016-01-27 | 2016-06-01 | 深圳市凯立德科技股份有限公司 | Method, device and system for realizing friends making during driving |
CN106790684A (en) * | 2017-02-13 | 2017-05-31 | 北京奇虎科技有限公司 | Information-pushing method, device and corresponding server |
Also Published As
Publication number | Publication date |
---|---|
CN107404430A (en) | 2017-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110460578B (en) | Method and device for establishing association relationship and computer readable storage medium | |
EP3001115A2 (en) | Method and device for controlling apparatus | |
US20170091714A1 (en) | Methods, devices and systems for managing calendar data | |
EP3407279A1 (en) | Method, apparatus and terminal device for invoking a virtual public transport card | |
CN104966411A (en) | Method, apparatus and system for determining idle parking stalls | |
US20170085697A1 (en) | Method and device for extending call function | |
EP3026876B1 (en) | Method for acquiring recommending information, terminal and server | |
EP2988205A1 (en) | Method and device for transmitting image | |
CN104717622A (en) | Information forwarding method and device, terminal and server | |
CN107147815B (en) | Call processing method and device based on taxi taking | |
CN105049219B (en) | Flow booking method and system, mobile terminal and server | |
CN111857620A (en) | Method and device for displaying application information, mobile terminal and storage medium | |
CN105744470B (en) | Positioning information transmission method, apparatus and system | |
CN114009003A (en) | Image acquisition method, device, equipment and storage medium | |
CN105511739A (en) | Message prompting method and device | |
CN105101078B (en) | Information prompting method, terminal and server | |
CN107404430B (en) | Using method, device and system of shared vehicle | |
CN106202193A (en) | The method of road image acquisition of information, Apparatus and system | |
CN110715672B (en) | Navigation path planning method and device | |
CN107479838B (en) | Information output processing method of terminal and terminal | |
CN106506808B (en) | Method and device for prompting communication message | |
CN110121148B (en) | Interphone team method and device | |
CN106681600A (en) | Information display method and device | |
CN109040321A (en) | Method of determining position information and device | |
CN106028277A (en) | Reminding message processing method and apparatus |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |