Movatterモバイル変換


[0]ホーム

URL:


CN110062335B - Position tracking method, device and equipment of shared vehicle - Google Patents

Position tracking method, device and equipment of shared vehicle
Download PDF

Info

Publication number
CN110062335B
CN110062335BCN201910513475.3ACN201910513475ACN110062335BCN 110062335 BCN110062335 BCN 110062335BCN 201910513475 ACN201910513475 ACN 201910513475ACN 110062335 BCN110062335 BCN 110062335B
Authority
CN
China
Prior art keywords
vehicle
server
renting
shared vehicle
communication channel
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
Application number
CN201910513475.3A
Other languages
Chinese (zh)
Other versions
CN110062335A (en
Inventor
朱波
顾蒙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Xiaoliu Information Technology Co.,Ltd.
Original Assignee
Ningbo Xiaoliu Sharing Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo Xiaoliu Sharing Information Technology Co LtdfiledCriticalNingbo Xiaoliu Sharing Information Technology Co Ltd
Priority to CN201910513475.3ApriorityCriticalpatent/CN110062335B/en
Publication of CN110062335ApublicationCriticalpatent/CN110062335A/en
Application grantedgrantedCritical
Publication of CN110062335BpublicationCriticalpatent/CN110062335B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The application provides a position tracking method, a position tracking device and position tracking equipment of a shared vehicle. The position tracking method of the shared vehicle comprises the following steps: acquiring a dynamic identification of the shared vehicle; establishing a first communication channel with a communication server based on the dynamic identification; and receiving the real-time position of the shared vehicle forwarded by the communication server based on the dynamic identification through the first communication channel, wherein the real-time position of the shared vehicle is obtained by the communication server through a second communication channel in real time, and the second communication channel is a channel between the shared vehicle and the communication server, which is established based on the dynamic identification. According to the method and the device, the two-way intercommunication communication channel can be established between the shared vehicle and the vehicle renting terminal, and the real-time position of the shared vehicle can be sent to the vehicle renting terminal through the first communication channel in real time, so that the real-time position of the shared vehicle can be accurately tracked.

Description

Position tracking method, device and equipment of shared vehicle
Technical Field
The application relates to the technical field of position tracking of shared vehicles, in particular to a position tracking method, device and equipment of a shared vehicle.
Background
When a user uses a shared vehicle, in order to realize real-time position tracking of the vehicle, currently, after the user rents the vehicle by scanning a code with an APP (Application program), APP software directly obtains GPS (Global Positioning System) Positioning of a mobile phone of the user, and real-time position tracking is realized on a map by using a real-time GPS position of the mobile phone; or after the user rents the car by scanning the code with the APP and enters the driving state, the APP software polls and acquires the GPS position of the car through a server provided by a supplier of the shared car at regular time, and the GPS position of the car is used for realizing position tracking on a map.
However, when the user a helps the user B rent a car, the vehicle cannot be tracked by using the real-time GPS position of the mobile phone, and if the GPS position of the vehicle is obtained from the server provided by the provider in a polling manner, a great stress is applied to the server.
Disclosure of Invention
In view of this, the method, the device and the equipment for tracking the position of the shared vehicle provided by the embodiments of the present application can accurately track the real-time position of the shared vehicle on the premise of reducing the processing pressure of the server.
In a first aspect, a location tracking method for a shared vehicle is provided in an embodiment of the present application, and the method is applied to a vehicle renting terminal, and includes: acquiring a dynamic identification of the shared vehicle; establishing a first communication channel with a communication server based on the dynamic identification; and receiving the real-time position of the shared vehicle forwarded by the communication server based on the dynamic identification through the first communication channel, wherein the real-time position of the shared vehicle is obtained by the communication server through a second communication channel in real time, and the second communication channel is a channel between the shared vehicle and the communication server, which is established based on the dynamic identification.
In the implementation process, the bidirectional intercommunication communication channel can be established between the shared vehicle and the vehicle renting terminal, and the real-time position of the shared vehicle can be sent to the vehicle renting terminal through the first communication channel in real time, so that the real-time position of the shared vehicle can be accurately tracked.
With reference to the first aspect, an embodiment of the present application provides a first possible implementation manner of the first aspect, where the obtaining a dynamic identifier of the shared vehicle includes: sending a rental instruction for renting the shared vehicle to a rental vehicle server, wherein the rental vehicle server is used for acquiring the dynamic identifier dynamically allocated to the shared vehicle by the vehicle server after verifying that the rental vehicle terminal is legal according to the rental instruction; and receiving the dynamic identification returned by the car rental server.
In the implementation process, a renting instruction for renting the shared vehicle is sent to a vehicle renting server, and the vehicle renting server is used for acquiring the dynamic identification dynamically allocated to the shared vehicle by the vehicle server after verifying that the vehicle renting terminal is legal according to the renting instruction; and receiving the dynamic identification returned by the car renting server, thereby accurately acquiring the dynamic identification of the shared vehicle.
With reference to any one of the possible implementation manners of the first aspect, an embodiment of the present application provides a second possible implementation manner of the first aspect, where the first communication channel and/or the second communication channel are established by using a transmission control protocol TCP.
In a second aspect, a position tracking method for a shared vehicle provided by an embodiment of the present application is applied to a communication server, and the method includes: receiving a real-time position uploaded by the shared vehicle in real time through a second communication channel; and forwarding the real-time position to a car renting terminal renting the shared vehicle through a first communication channel.
In the implementation process, the bidirectional intercommunication communication channel can be established between the shared vehicle and the vehicle renting terminal, and the real-time position of the shared vehicle can be sent to the vehicle renting terminal through the first communication channel in real time, so that the real-time position of the shared vehicle can be accurately tracked.
With reference to the second aspect, the present application provides a first possible implementation manner of the second aspect, and before receiving the real-time location uploaded by the shared vehicle in real time through the second communication channel, the method further includes: establishing a first communication channel with the car rental terminal based on the dynamic identification of the shared vehicle; establishing a second communication channel with the shared vehicle based on the dynamic identification.
With reference to any one of the possible real-time transmissions of the second aspect, an embodiment of the present application provides a second possible implementation manner of the second aspect, and the method further includes: receiving an interrupt instruction sent by a vehicle server; and interrupting a second communication channel between the shared vehicle according to the interruption instruction.
In a third aspect, an embodiment of the present application provides a location tracking apparatus for sharing a vehicle, where the apparatus is applied to a vehicle renting terminal, and the apparatus includes: the acquisition module is used for acquiring the dynamic identification of the shared vehicle; the establishing module is used for establishing a first communication channel between the establishing module and a communication server based on the dynamic identification; and the communication module is used for receiving the real-time position of the shared vehicle forwarded by the communication server based on the dynamic identification through the first communication channel, wherein the real-time position of the shared vehicle is obtained by the communication server through a second communication channel in real time, and the second communication channel is a channel between the shared vehicle and the communication server, which is established based on the dynamic identification.
In combination with the third aspect, an embodiment of the present application provides a first possible implementation manner of the third aspect, where the obtaining module is further configured to send a rental instruction for renting the shared vehicle to a rental car server, and the rental car server is configured to obtain the dynamic identifier dynamically allocated to the shared vehicle by the vehicle server after verifying that the rental car terminal is legal according to the rental instruction; and receiving the dynamic identification returned by the car rental server.
In a fourth aspect, an embodiment of the present application provides a position tracking apparatus for sharing a vehicle, which is applied to a communication server, and the apparatus includes: the receiving module is used for receiving the real-time position uploaded by the shared vehicle in real time through a second communication channel; and the forwarding module is used for forwarding the real-time position to a vehicle renting terminal renting the shared vehicle through a first communication channel.
With reference to the fourth aspect, an embodiment of the present application provides a first possible implementation manner of the fourth aspect, and the apparatus further includes an establishing module, configured to establish a first communication channel with the vehicle renting terminal based on a dynamic identifier of the shared vehicle before receiving a real-time location uploaded by the shared vehicle in real time through a second communication channel; establishing a second communication channel with the shared vehicle based on the dynamic identification.
In a fifth aspect, an embodiment of the present application provides a position tracking system for a shared vehicle, including: the system comprises a car renting terminal, a communication server, a car renting server and a vehicle server, wherein the car renting terminal is used for sending a renting instruction of renting the shared vehicle to the car renting server; the vehicle renting server is used for acquiring the dynamic identification dynamically allocated to the shared vehicle by the vehicle server after the vehicle renting terminal is verified to be legal according to the renting instruction; the car renting terminal is also used for receiving the dynamic identification returned by the car renting server; the car renting terminal is further used for establishing a first communication channel between the car renting terminal and the communication server based on the dynamic identification; and the car renting terminal is further used for receiving the real-time position of the shared vehicle forwarded by the communication server based on the dynamic identification through the first communication channel, wherein the real-time position of the shared vehicle is obtained by the communication server through a second communication channel in real time, and the second communication channel is a channel between the shared vehicle and the communication server, which is established based on the dynamic identification.
In a sixth aspect, a terminal device provided in an embodiment of the present application includes: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method of position tracking of a shared vehicle according to any of the first aspect when executing the computer program; alternatively, the processor, when executing the computer program, implements the steps of the method for tracking a position of a shared vehicle according to any of the second aspects.
In a seventh aspect, a storage medium is provided in an embodiment of the present application, where the storage medium has instructions stored thereon, and when the instructions are executed on a computer, the instructions cause the computer to execute the position tracking method for a shared vehicle according to any one of the first aspect; alternatively, the instructions, when executed on a computer, cause the computer to perform a method of sharing location tracking of a vehicle as claimed in any of the second aspects.
In an eighth aspect, an embodiment of the present application provides a computer program product, which when run on a computer, causes the computer to execute the position tracking method for a shared vehicle according to any one of the first aspect; alternatively, the computer program product, when run on a computer, causes the computer to perform the method of sharing location tracking of a vehicle according to any of the second aspect.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part may be learned by the practice of the above-described techniques of the disclosure, or may be learned by practice of the disclosure.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a flowchart of a method for tracking a location of a shared vehicle according to an embodiment of the present disclosure;
FIG. 2 is another flow chart of a method of sharing location tracking of vehicles shown in FIG. 1;
FIG. 3 is another flow chart of a method of sharing location tracking of vehicles shown in FIG. 1;
FIG. 4 is a flowchart of a method for tracking a location of a shared vehicle according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of a position tracking device of a shared vehicle according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of a position tracking device of a shared vehicle according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a position tracking system of a shared vehicle according to an embodiment of the present application.
Detailed Description
The above-mentioned drawbacks of the prior art are considered by the applicant to be the result of practical and careful study, and therefore, the discovery process of the above-mentioned problems and the solutions proposed by the embodiments of the present application in the following description should be the contribution of the applicant to the present application in the course of the present application.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, a flowchart of a method for tracking a location of a shared vehicle according to an embodiment of the present application is shown, where the method is applied to a car rental terminal. It should be understood that the method shown in fig. 1 may be performed by a location tracking device of a shared vehicle, which may correspond to a terminal device shown in fig. 8 below, where the terminal device may be various devices capable of performing the method, such as a smartphone, a tablet computer, and the like, for example, but the embodiment of the present application is not limited thereto, and specifically includes the following steps:
and step S101, acquiring the dynamic identification of the shared vehicle.
Alternatively, the shared vehicle may be a bicycle, such as a bicycle; it may also be an automobile, such as an electric automobile.
Optionally, the dynamic identifier of the shared vehicle is an identifier dynamically allocated to the shared vehicle by the vehicle server after verifying that the shared vehicle is legal.
For example, suppose user A rents the shared vehicle for the first time, his dynamic identification might be xxx 1; when user a is used again, its dynamic identification may be xxxx. I.e. the dynamic identification is invalidated each time the user runs out of vehicles (i.e. returns to a vehicle).
Optionally, the dynamic identifier of the shared vehicle is a new identifier generated by the vehicle server based on the unique identifier of the shared vehicle after verifying that the shared vehicle is legal.
For example, assuming that the unique identifier of the shared vehicle is a1, the dynamic identifier of the shared vehicle may be a new identifier generated based on a1, such as a 2. For example, a1 is processed based on MD5 (Message Digest Algorithm 5, the fifth edition of chinese name Message Digest Algorithm) to obtain a 2. Or randomly adding one or more characters to a1 to generate a 2.
It should be understood that the unique identifier of the shared vehicle is used for uniquely identifying the shared vehicle, and the unique identifier is not invalidated when the user returns the shared vehicle, and the unique identifier is invalidated only when the device for storing the unique identifier in the shared vehicle is out of order or power is cut off, and after the unique identifier is invalidated, the shared vehicle applies for a new unique identifier from the vehicle server again.
In the implementation manner, the dynamic identification is dynamically allocated to the shared vehicle, so that the identifications of the same shared vehicle in each use are different, the position data of the shared vehicle can be prevented from being forwarded to other vehicle renting terminals, the safety of the position data of the shared vehicle is improved, and the safety of users using the shared vehicle is further improved.
As an embodiment, step S101 includes: sending a rental instruction for renting the shared vehicle to a rental vehicle server, wherein the rental vehicle server is used for acquiring the dynamic identifier dynamically allocated to the shared vehicle by the vehicle server after verifying that the rental vehicle terminal is legal according to the rental instruction; and receiving the dynamic identification returned by the car rental server.
Alternatively, the rental instruction may be generated by the user scanning the two-dimensional code on the vehicle through a rental car APP installed in the rental car terminal. The rental car APP provides software for special rental cars provided by the shared vehicle supplier.
Optionally, the rental instruction carries identity information of the vehicle to be rented and an identification of the rental car APP.
Optionally, the car rental server verifies whether the car rental terminal is legal or not according to the identifier of the car rental APP, for example, when the car rental APP is an APP provided by the provider of the shared vehicle, it is determined that the car rental APP is legal, that is, the car rental terminal is legal, otherwise, if the user uses APPs of other shared vehicles, it is determined that the car rental APP is illegal, that is, the car rental terminal is illegal.
For example, assuming that the user rents shared vehicle B using APP of shared vehicle a, shared vehicle B may indicate an illegal state when receiving a rental instruction.
Optionally, the obtaining the dynamic identifier dynamically allocated by the vehicle server for the shared vehicle includes: and acquiring the dynamic identification dynamically allocated to the shared vehicle by the vehicle server after the vehicle server verifies that the shared vehicle is legal.
To describe step S101 in more detail, step S101 in the embodiment of the present application is described in detail below, by way of example and not limitation, with reference to fig. 2. The method shown in fig. 2 comprises:
step S2001, a lease instruction is transmitted.
Optionally, the user sends a rental instruction for renting the shared vehicle to the vehicle renting server through the vehicle renting terminal.
And step S2002, verifying whether the car renting client is legal or not according to the renting instruction.
Step S2003, after being legal, sends an open command.
Optionally, after receiving the renting instruction, the renting server verifies whether the renting client is legal according to the renting instruction, and after verifying that the renting client is legal, sends an opening instruction for opening the shared bicycle matched with the renting instruction to the vehicle server.
And step S2004, verifying whether the shared bicycle is legal or not according to the opening instruction.
Step S2005, after being legal, dynamically allocates a dynamic identifier to the shared vehicle.
Step S2006, the dynamic identifier is returned.
Optionally, the vehicle server verifies whether the shared bicycle is legal after receiving the start instruction, and after the shared bicycle is verified to be legal, allocates a dynamic identifier for representing the dynamic state of the shared vehicle to the vehicle renting server, so that the vehicle renting server returns the dynamic identifier to the vehicle renting terminal, that is, the dynamic identifier is used for the vehicle renting terminal to identify the shared vehicle.
Step S2007, receiving the dynamic identifier.
Optionally, the car rental terminal receives the dynamic identifier returned by the car rental server. Namely, after receiving the dynamic identifier returned by the vehicle server, the vehicle renting server returns the dynamic identifier to the vehicle renting terminal.
In the implementation process, a renting instruction for renting the shared vehicle is sent to a vehicle renting server, and the vehicle renting server is used for acquiring the dynamic identification dynamically allocated to the shared vehicle by the vehicle server after verifying that the vehicle renting terminal is legal according to the renting instruction; and receiving the dynamic identification returned by the car renting server, thereby accurately acquiring the dynamic identification of the shared vehicle.
Step S102, a first communication channel between the communication server and the communication server is established based on the dynamic identification.
Optionally, the first communication channel is a direct connection channel between the car rental terminal and the communication server, that is, the communication between the car rental terminal and the communication server is not forwarded through other devices. For example, a direct channel is not formed between the car rental terminal and the vehicle server, because a car rental server or a communication server is also arranged between the car rental terminal and the vehicle server.
Optionally, the first communication channel is a long connection channel established by using a TCP protocol.
In the implementation process, the direct connection channel between the car renting terminal and the communication server is established by adopting a TCP protocol, and the dynamic identification is used as the identification of data interaction between the car renting terminal and the communication server, so that the communication server can only forward the real-time position of the shared vehicle corresponding to the dynamic identification to the car renting terminal, and cannot transmit the real-time positions of other shared vehicles to the car renting terminal, the safety of the positions of the shared vehicles is further ensured, the positions of the vehicles do not need to be polled from the vehicle server, the processing pressure of the vehicle server is reduced, and the data forwarding speed can be increased.
Step S103, receiving the real-time position of the shared vehicle forwarded by the communication server based on the dynamic identification through the first communication channel.
Wherein the real-time location of the shared vehicle is obtained by the communication server in real-time through a second communication channel, which is a channel between the shared vehicle and the communication server established based on the dynamic identification.
Optionally, the second communication channel is a channel between the shared vehicle and the communication server established based on a unique identifier corresponding to the dynamic identifier.
That is, the second communication channel is established after the first time, and the connection between the communication server and the shared vehicle is established through the second communication channel as long as the unique identifier of the shared vehicle is not invalidated.
Optionally, the second communication channel is a direct channel between the shared vehicle and the communication server.
Optionally, the second communication channel is a long connection channel established by using a TCP protocol.
As an application scenario, after the first communication channel is established, the communication server may forward the real-time location of the shared vehicle to the vehicle renting terminal in real time.
As another application scenario, after the first communication channel is established, the car renting terminal sends a subscription instruction to the communication server, and after receiving the subscription instruction, the communication server forwards the real-time position of the shared vehicle to the car renting terminal in real time.
Optionally, the subscription instruction includes information for obtaining a real-time location of the shared vehicle corresponding to the dynamic identification from the communication server.
Alternatively, the subscription instruction may be automatically triggered, such as when the shared vehicle is started, the car rental terminal automatically sends the subscription instruction.
Of course, in actual use, the subscription instruction may also be triggered by the user, and is not limited in particular here.
As an application scenario, it is assumed that the user a helps the user B rent a car, and at this time, when the user a needs to know the real-time position of the shared vehicle driven/ridden by the user B, the real-time position of the shared vehicle forwarded by the communication server received by the car renting terminal can be directly used to accurately track the shared vehicle.
In a possible embodiment, the method further comprises: receiving an interrupt instruction sent by a vehicle server; and interrupting a second communication channel between the shared vehicle according to the interruption instruction.
As an implementation scenario, when monitoring intrusion information, the vehicle server sends an interrupt instruction to the communication server, and the communication server interrupts a second communication channel between the vehicle and the shared vehicle according to the interrupt instruction.
Alternatively, the intrusion information may be modification information transmitted by the illegal user for modifying the unique identification of the shared vehicle.
In the implementation process, after the vehicle server monitors the intrusion information, the vehicle server sends an interruption instruction to the communication server, and the communication server interrupts a second communication channel between the vehicle server and the shared vehicle according to the interruption instruction, so that the safety of the shared vehicle can be improved, and the vehicle can be prevented from being maliciously damaged or illegally used by illegal users.
The position tracking method of the shared vehicle in the embodiment of the present application is described above with reference to fig. 1, and the position tracking method of the shared vehicle in the embodiment of the present application is described in detail below, by way of example and without limitation, with reference to fig. 3. The method shown in fig. 3 comprises:
step S3001, obtain dynamic identifier.
Optionally, the shared vehicle may send a request instruction to the vehicle server when registering or initializing (or leaving factory) to obtain the dynamic identifier sent by the vehicle server.
Of course, in actual use, the dynamic identifier obtained by the shared vehicle and the dynamic identifier obtained by the car rental terminal may be different, but there is a corresponding relationship. For example, the dynamic identifier acquired by the shared vehicle may be a unique identifier randomly generated based on the dynamic identifier acquired by the vehicle renting terminal.
And step S3002, establishing a second communication channel with the communication server according to the dynamic identification.
Optionally, the shared vehicle establishes a second communication channel with the communication server through the dynamic identifier.
Optionally, a unique identifier is generated according to the dynamic identifier, and the shared vehicle establishes a second communication channel with the communication server through the unique identifier.
It should be noted that, after the second communication channel is established for the first time, as long as the unique identifier of the shared vehicle is not invalidated, the communication server and the shared vehicle are always connected through the second communication channel.
Step S3003, a lease instruction is sent.
Optionally, the rental car terminal sends a rental instruction for renting the shared vehicle to the rental car server.
And step S3004, verifying whether the taxi renting client is legal or not according to the renting instruction.
Step S3005, after being legal, sends an open instruction.
Optionally, after receiving the renting instruction, the renting server verifies whether the renting terminal is legal according to the renting instruction, verifies whether the renting client is legal according to the renting instruction, and sends an opening instruction for opening the shared bicycle matched with the renting instruction to the vehicle server after verifying that the renting client is legal.
And step S3006, verifying whether the shared bicycle is legal or not according to the opening instruction.
And step S3007, after the vehicle is legal, sending a starting instruction to the communication server, and returning the dynamic identifier to the vehicle renting server.
Optionally, the vehicle server verifies whether the shared bicycle is legal according to the opening instruction after receiving the opening instruction, and after verifying that the shared bicycle is legal, allocates a dynamic identifier for representing the dynamic state of the shared vehicle to the vehicle renting server to return to the vehicle renting terminal through the vehicle renting server, and sends the opening instruction to the communication server to open the shared vehicle through the communication server.
Optionally, the dynamic identification is used to uniquely characterize the shared vehicle at the rental car terminal.
And step S3008, controlling the shared vehicle to unlock according to the unlocking command.
And the communication server controls the unlocking of the shared vehicle based on the opening instruction so that the user can use the shared vehicle.
Furthermore, the communication server is used for controlling the opening of the shared vehicle, so that the resource overhead of the vehicle server can be reduced.
Step S3009, returns the dynamic identifier.
And the car renting server receives the dynamic identification sent by the car server.
Step S3010, returns the dynamic identifier.
Optionally, the car rental server returns the dynamic identification to the car rental terminal.
Step S3011, a first communication channel with the communication server is established.
Optionally, the car rental terminal establishes a first communication channel with the communication server through the dynamic identifier.
Step S3012, the real-time location sent by the shared vehicle through the second communication channel is received.
Optionally, the communication server receives the real-time location transmitted by the shared vehicle over the second communication channel.
Step S3013, the real-time location is forwarded through the first communication channel.
Optionally, the communication server forwards the real-time location of the shared vehicle to the rental car terminal through the first communication channel based on the dynamic identification.
The position tracking method for the shared vehicle provided by the embodiment of the application, by acquiring the dynamic identifier of the shared vehicle, establishing a first communication channel with a communication server based on the dynamic identifier, and receiving the real-time position of the shared vehicle forwarded by the communication server based on the dynamic identifier through the first communication channel, wherein the real-time position of the shared vehicle is acquired by the communication server through a second communication channel in real time, and the second communication channel is a channel between the shared vehicle and the communication server established based on the dynamic identifier, so that a channel for double-break communication can be established between a car renting terminal and the shared vehicle through the communication server, and the real-time position can be forwarded to the car renting terminal through the first communication channel directly after the real-time position of the shared vehicle is received by the communication server, therefore, the position of the vehicle does not need to be polled from the vehicle server, the processing pressure of the vehicle server can be reduced, the data forwarding speed can be increased, a large amount of concurrency can be supported with low cost, and the safety of data sharing of the vehicle is improved.
Please refer to fig. 4, which is a flowchart illustrating a method for tracking a location of a shared vehicle according to an embodiment of the present application, wherein the method is applied to a communication server. It should be understood that the method shown in fig. 4 may be performed by a position tracking device of a shared vehicle, which may correspond to a terminal device shown in fig. 8 below, which may be various servers capable of performing the method, and specifically includes the following steps:
step S201, receiving a real-time location uploaded by the shared vehicle in real time through a second communication channel.
Optionally, the second communication channel is a direct connection channel between the communication server and the car rental terminal.
In a possible embodiment, before step S201, the method further includes: establishing a first communication channel with the car rental terminal based on the dynamic identification of the shared vehicle; establishing a second communication channel with the shared vehicle based on the dynamic identification.
Alternatively, the first communication channel may be established first, and then the second communication channel may be established. The first communication channel and the second communication channel may be established simultaneously.
Of course, in practical use, the second communication channel may be established first, and then the first communication channel may be established. Here, the number of the carbon atoms is not particularly limited.
Optionally, the first communication channel and/or the second communication channel are established using a transmission control protocol TCP.
Step S202, the real-time position is forwarded to a vehicle renting terminal renting the shared vehicle through a first communication channel.
According to the position tracking method of the shared vehicle, the real-time position uploaded by the shared vehicle in real time is received through the second communication channel; and forwarding the real-time position to a car renting terminal renting the shared vehicle through a first communication channel. Therefore, a bidirectional intercommunication communication channel is established between the shared vehicle and the vehicle renting terminal, the real-time position of the shared vehicle can be sent to the vehicle renting terminal through the first communication channel in real time, the tracking of the real-time position of the shared vehicle is achieved, furthermore, the position of the vehicle does not need to be polled from the vehicle server, the processing pressure of the vehicle server can be reduced, the data forwarding speed can be increased, a large amount of concurrency can be supported with low cost, and the data safety of the shared vehicle is improved.
Referring to fig. 5, fig. 5 shows a position tracking apparatus of a shared vehicle, which is one-to-one corresponding to the position tracking method of the shared vehicle shown in fig. 1, it should be understood that theapparatus 300 corresponds to the method embodiments of fig. 1 to 3, and can perform the steps related to the method embodiments, and the specific functions of theapparatus 300 can be referred to the description above, and the detailed description is omitted here as appropriate to avoid repetition. Thedevice 300 includes at least one software functional module that can be stored in a memory in the form of software or firmware (firmware) or solidified in an Operating System (OS) of thedevice 300. Optionally, theapparatus 300 comprises:
an obtainingmodule 310, configured to obtain a dynamic identifier of the shared vehicle;
an establishingmodule 320, configured to establish a first communication channel with a communication server based on the dynamic identifier;
acommunication module 330, configured to receive, through the first communication channel, a real-time location of the shared vehicle forwarded by the communication server based on the dynamic identifier, where the real-time location of the shared vehicle is obtained by the communication server in real time through a second communication channel, and the second communication channel is a channel between the shared vehicle and the communication server that is established based on the dynamic identifier.
Optionally, the obtainingmodule 310 is further configured to send a rental instruction for renting the shared vehicle to a vehicle renting server, where the vehicle renting server is configured to obtain the dynamic identifier dynamically allocated by the vehicle server to the shared vehicle after verifying that the vehicle renting terminal is legal according to the rental instruction; and receiving the dynamic identification returned by the car rental server.
Optionally, the first communication channel and/or the second communication channel are established using a transmission control protocol TCP.
Referring to fig. 6, fig. 6 shows a position tracking apparatus of a shared vehicle, which is one-to-one corresponding to the position tracking method of the shared vehicle shown in fig. 4, and it should be understood that theapparatus 400 corresponds to the embodiment of the method shown in fig. 4, and can perform the steps related to the embodiment of the method, and the specific functions of theapparatus 400 can be referred to the description above, and the detailed description is omitted here to avoid repetition. Thedevice 400 includes at least one software functional module that can be stored in a memory in the form of software or firmware (firmware) or solidified in an Operating System (OS) of thedevice 400. Optionally, theapparatus 400 comprises:
areceiving module 410, configured to receive a real-time location uploaded by the shared vehicle in real time through a second communication channel;
aforwarding module 420, configured to forward the real-time location to a vehicle renting terminal renting the shared vehicle through a first communication channel.
In a possible embodiment, theapparatus 400 further includes an establishing module, configured to establish a first communication channel with the rental car terminal based on the dynamic identification of the shared vehicle before receiving the real-time location uploaded by the shared vehicle in real time through a second communication channel; establishing a second communication channel with the shared vehicle based on the dynamic identification.
Optionally, the first communication channel and/or the second communication channel are established using a transmission control protocol TCP.
Fig. 7 is a block diagram of alocation tracking system 500 of a shared vehicle in an embodiment of the present application, as shown in fig. 7. A shared vehicleposition tracking system 500, comprising: arental car terminal 510, acommunication server 520, arental car server 530, and avehicle server 540.
Therental car terminal 510, configured to send a rental instruction for renting the shared vehicle to therental car server 530;
therental car server 530 is configured to obtain the dynamic identifier dynamically allocated by thevehicle server 540 to the shared vehicle after verifying that therental car terminal 510 is legal according to the rental instruction;
thecar rental terminal 510 is further configured to receive the dynamic identifier returned by thecar rental server 530;
thecar renting terminal 510 is further configured to establish a first communication channel with thecommunication server 520 based on the dynamic identifier; and the rentingterminal 510 is further configured to receive, through the first communication channel, the real-time location of the shared vehicle forwarded by thecommunication server 520 based on the dynamic identifier, where the real-time location of the shared vehicle is obtained by thecommunication server 520 in real time through a second communication channel, and the second communication channel is a channel between the shared vehicle and thecommunication server 520 and is established based on the dynamic identifier.
Fig. 8 is a block diagram of a structure of aterminal device 600 in an embodiment of the present application, as shown in fig. 8. Theterminal device 600 may include aprocessor 610, acommunication interface 620, amemory 630, and at least onecommunication bus 640. Whereincommunication bus 640 is used to enable direct, coupled communication of these components. Thecommunication interface 620 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. Theprocessor 610 may be an integrated circuit chip having signal processing capabilities.
TheProcessor 610 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or theprocessor 610 may be any conventional processor or the like.
TheMemory 630 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. Thememory 630 stores computer readable instructions, and when the computer readable instructions are executed by theprocessor 610, theterminal device 600 may perform the steps related to the embodiments of the methods in fig. 1 to 3. Alternatively, when the computer readable instructions are executed by theprocessor 610, theterminal device 600 may perform the steps involved in the method embodiment of fig. 4.
Theterminal device 600 may also include a memory controller.
Thememory 630, the memory controller, and theprocessor 610 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, these components may be electrically coupled to each other via one ormore communication buses 640. Theprocessor 610 is configured to execute executable modules stored in thememory 630, such as software functional modules or computer programs included in theapparatus 300. Also, theapparatus 300 is configured to perform the following method: acquiring a dynamic identification of the shared vehicle; establishing a first communication channel with a communication server based on the dynamic identification; and receiving the real-time position of the shared vehicle forwarded by the communication server based on the dynamic identification through the first communication channel, wherein the real-time position of the shared vehicle is obtained by the communication server through a second communication channel in real time, and the second communication channel is a channel between the shared vehicle and the communication server, which is established based on the dynamic identification. Also for example a software functional module or a computer program comprised by theapparatus 400. Also, theapparatus 400 is configured to perform the following method: receiving a real-time position uploaded by the shared vehicle in real time through a second communication channel; and forwarding the real-time position to a car renting terminal renting the shared vehicle through a first communication channel.
It is to be understood that the structure shown in fig. 8 is merely illustrative, and theterminal device 600 may include more or fewer components than shown in fig. 8, or have a different configuration than shown in fig. 8. The components shown in fig. 8 may be implemented in hardware, software, or a combination thereof.
The embodiment of the present application further provides a storage medium, where the storage medium stores instructions, and when the instructions are run on a computer, when the computer program is executed by a processor, the method in the method embodiment is implemented, and in order to avoid repetition, details are not repeated here.
The present application also provides a computer program product which, when run on a computer, causes the computer to perform the method of the method embodiments.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by hardware, or by software plus a necessary general hardware platform, and based on such understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the method of the various implementation scenarios of the present application.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.

Claims (7)

CN201910513475.3A2019-06-132019-06-13Position tracking method, device and equipment of shared vehicleActiveCN110062335B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910513475.3ACN110062335B (en)2019-06-132019-06-13Position tracking method, device and equipment of shared vehicle

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910513475.3ACN110062335B (en)2019-06-132019-06-13Position tracking method, device and equipment of shared vehicle

Publications (2)

Publication NumberPublication Date
CN110062335A CN110062335A (en)2019-07-26
CN110062335Btrue CN110062335B (en)2021-11-12

Family

ID=67325803

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910513475.3AActiveCN110062335B (en)2019-06-132019-06-13Position tracking method, device and equipment of shared vehicle

Country Status (1)

CountryLink
CN (1)CN110062335B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112562125B (en)*2020-11-182022-03-22深圳易马达科技有限公司Wireless unlocking lease system
CN112732661B (en)*2021-04-022021-08-17智道网联科技(北京)有限公司Positioning information sharing method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105389568A (en)*2015-11-172016-03-09宗科惠Method, device and system for acquiring location of vehicle
CN107909175A (en)*2017-12-112018-04-13北京骑骑智享科技发展有限公司A kind of vehicle reservation method and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20130060721A1 (en)*2011-09-022013-03-07Frias Transportation Infrastructure, LlcSystems and methods for pairing of for-hire vehicle meters and medallions
CN102868970A (en)*2012-09-212013-01-09上海永畅信息科技有限公司System and method for actively identifying and communicating with vehicles
CN103914991A (en)*2014-04-102014-07-09南京物联传感技术有限公司Vehicle position sharing method
CN104703137B (en)*2015-03-132021-11-12苏州海博智能系统有限公司Positioning method, central server and intelligent mobile terminal
CN105046830B (en)*2015-07-292018-02-16奇瑞汽车股份有限公司A kind of method and apparatus for controlling vehicle
CN108038555A (en)*2017-12-272018-05-15爱驰汽车有限公司Vehicle maintenance system, method, server, equipment and storage medium
CN108961740A (en)*2018-07-272018-12-07吴忠隐Novel shared parking space intelligent localization method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105389568A (en)*2015-11-172016-03-09宗科惠Method, device and system for acquiring location of vehicle
CN107909175A (en)*2017-12-112018-04-13北京骑骑智享科技发展有限公司A kind of vehicle reservation method and system

Also Published As

Publication numberPublication date
CN110062335A (en)2019-07-26

Similar Documents

PublicationPublication DateTitle
US11722321B2 (en)Method and system for reduced V2X receiver processing load using certificates
CN105792201B (en) Method and system for issuing a CSR certificate for vehicle-to-external communication
CN111385267B (en)Application authorization control method and device and electronic equipment
CN109410634B (en)Vehicle management method, system and storage medium
CN105307169B (en)The cut-in method of guest network, device and system
US10542433B2 (en)Connection establishment method, device, and system
CN107484155B (en)Network access method, electronic equipment and mobile terminal
US20130339512A1 (en)System, Servers, Methods and Computer Programs for Machine-to-Machine Equipment Management
CN110062335B (en)Position tracking method, device and equipment of shared vehicle
CN110572623B (en)Vehicle-mounted video monitoring method and device and vehicle-mounted video cloud service system
CN104901933A (en)Traffic permit allocation method and device, user equipment, application server and system
CN114553933A (en)Control authority taking over method, device and system for unmanned vehicle
CN108122339B (en)Battery replacement management method, device, storage medium, server and system
CN113259910B (en)Activation method and device for vehicle-mounted networking equipment
JP2016170556A (en)Information processing device, authentication device, server device, information processing method, authentication method and program
EP2849470B1 (en)Function sharing in wireless access hotspot device
KR101518853B1 (en)Apparatus and method for controlling vehicles based Machine-to-Machine
CN111597545B (en)Authorization management method and device
US9723436B2 (en)Mobile device location
CN108965273B (en)Method in Internet of vehicles and communication system for Internet of vehicles
CN113168441B (en)Authentication of a user of a software application
CN117896104A (en)Cross-network vehicle-mounted equipment control method, device, system, equipment and storage medium
CN120583425A (en)Equipment pairing method and electronic equipment
CN111798689A (en)Parking indication method and device, electronic equipment and storage medium
HK40017617A (en)Method and system for reduced v2x receiver processing load using certificates

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CP03Change of name, title or address

Address after:Room 101 (201) -6, Building 5, Building 6 and 7, Kexin Building, Shounan Street, Yinzhou District, Ningbo City, Zhejiang Province, 315100

Patentee after:Zhejiang Xiaoliu Information Technology Co.,Ltd.

Address before:Room 1401-1, No.6 and No.7, building 5, Kexin building, Shounan street, Yinzhou District, Ningbo City, Zhejiang Province, 315000

Patentee before:NINGBO LIUBIKE INFORMATION TECHNOLOGY Co.,Ltd.

CP03Change of name, title or address

[8]ページ先頭

©2009-2025 Movatter.jp