CN110062335A - Location tracking method, device and the equipment of shared vehicle - Google Patents

Location tracking method, device and the equipment of shared vehicle Download PDF

Info

Publication number
CN110062335A
CN110062335A CN201910513475.3A CN201910513475A CN110062335A CN 110062335 A CN110062335 A CN 110062335A CN 201910513475 A CN201910513475 A CN 201910513475A CN 110062335 A CN110062335 A CN 110062335A
Authority
CN
China
Prior art keywords
shared vehicle
communication channel
real time
car
vehicle
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.)
Granted
Application number
CN201910513475.3A
Other languages
Chinese (zh)
Other versions
CN110062335B (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 Small Walk Share Mdt Infotech 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 Small Walk Share Mdt Infotech Ltd filed Critical Ningbo Small Walk Share Mdt Infotech Ltd
Priority to CN201910513475.3A priority Critical patent/CN110062335B/en
Publication of CN110062335A publication Critical patent/CN110062335A/en
Application granted granted Critical
Publication of CN110062335B publication Critical patent/CN110062335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Abstract

Location tracking method, device and the equipment of shared vehicle provided by the present application.The location tracking method of the shared vehicle includes: the dynamic marks for obtaining the shared vehicle;The first communication channel between the communication server is established based on the dynamic marks;The real time position for the shared vehicle that the communication server is forwarded based on the dynamic marks is received by first communication channel, wherein, the real time position of the shared vehicle is that the communication server is obtained in real time by the second communication channel, and second communication channel is the channel between the shared vehicle and the communication server established based on the dynamic marks.The application can make the communication channel that two-way intercommunication is established between shared vehicle and terminal of hiring a car, and the real time position of shared vehicle can be sent to terminal of hiring a car by the first communication channel in real time, accurately to realize the tracking of the real time position to shared vehicle.

Description

Location tracking method, device and the equipment of shared vehicle
Technical field
This application involves the position tracking technology fields of shared vehicle, in particular to the position tracking of shared vehicle Method, device and equipment.
Background technique
When user is using shared vehicle, in order to realize the real time position tracking to vehicle, at present generally by with Family is hired a car with APP (Application, application program) barcode scanning into after driving condition, and APP software directly acquires user mobile phone GPS (Global Positioning System, global positioning system) positioning, with the real time GPS position of mobile phone, in map Upper realization real time position tracking;Either after user is hired a car with APP barcode scanning into driving condition, APP software timing passes through Server poll provided by the supplier of shared vehicle obtains the GPS location of the vehicle, with the GPS location of this vehicle, on ground Position tracking is realized on figure.
However, when occur user A help user B hire a car situation when, at this time again using mobile phone real time GPS position with regard to nothing Method carries out vehicle tracking, if the server provided by the supplier obtains the GPS location of vehicle, meeting by the way of poll Huge pressure is caused to server.
Summary of the invention
In view of this, location tracking method, device and the equipment of shared vehicle provided by the embodiments of the present application, can drop The tracking of the real time position to shared vehicle is accurately realized under the premise of low server process pressure.
In a first aspect, a kind of location tracking method of shared vehicle provided by the embodiments of the present application, the method are applied to It hires a car terminal, which comprises obtain the dynamic marks of the shared vehicle;It is established based on the dynamic marks and communicates clothes The first communication channel between business device;The communication server, which is received, by first communication channel is based on the dynamic marks The real time position of the shared vehicle forwarded, wherein the real time position of the shared vehicle is that the communication server is logical Cross what the second communication channel obtained in real time, second communication channel is the shared vehicle established based on the dynamic marks With the channel between the communication server.
During above-mentioned realization, the application can to establish the logical of two-way intercommunication between shared vehicle and terminal of hiring a car Believe channel, the real time position of shared vehicle can be sent to terminal of hiring a car by the first communication channel in real time, accurately to realize Tracking to the real time position of shared vehicle.
With reference to first aspect, the embodiment of the present application provides the first possible embodiment of first aspect, described to obtain Take the dynamic marks of the shared vehicle, comprising: the rental instruction for renting the shared vehicle is sent to service of cars on hire device, it is described Service of cars on hire device be used for according to it is described rental command verification described in hire a car terminal it is legal after, obtain vehicle server be described The dynamic marks that shared vehicle dynamically distributes;Receive the dynamic marks that the service of cars on hire device is returned.
During above-mentioned realization, the rental instruction of the shared vehicle is rented by sending to service of cars on hire device, it is described Service of cars on hire device be used for according to it is described rental command verification described in hire a car terminal it is legal after, obtain vehicle server be described The dynamic marks that shared vehicle dynamically distributes;The dynamic marks that the service of cars on hire device is returned are received, thus quasi- Really get the dynamic marks of shared vehicle.
The possible embodiment of with reference to first aspect any one, the embodiment of the present application provide the second of first aspect The possible embodiment of kind, first communication channel and/or second communication channel are built using transmission control protocol TCP It is vertical.
Second aspect, a kind of location tracking method of shared vehicle provided by the embodiments of the present application are applied to communication service Device, which comprises the real time position that the shared vehicle uploads in real time is received by the second communication channel;It is logical by first The real time position is forwarded to the terminal of hiring a car for renting the shared vehicle by letter channel.
During above-mentioned realization, the application can to establish the logical of two-way intercommunication between shared vehicle and terminal of hiring a car Believe channel, the real time position of shared vehicle can be sent to terminal of hiring a car by the first communication channel in real time, accurately to realize Tracking to the real time position of shared vehicle.
In conjunction with second aspect, the embodiment of the present application provides the first possible embodiment of second aspect, is passing through Before second communication channel receives the real time position that the shared vehicle uploads in real time, the method also includes: based on described total Enjoy the first communication channel between the dynamic marks foundation of vehicle and the terminal of hiring a car;Based on dynamic marks foundation and institute State the second communication channel between shared vehicle.
In conjunction with any one possible real-time transmission of second aspect, the embodiment of the present application provides the second of second aspect The possible embodiment of kind, the method also includes: receive the interrupt instruction of vehicle server transmission;According to the interrupt instruction Interrupt the second communication channel between the shared vehicle.
The third aspect, a kind of position tracking device of shared vehicle provided by the embodiments of the present application, described device are applied to It hires a car terminal, described device includes: acquisition module, for obtaining the dynamic marks of the shared vehicle;Module is established, base is used for The first communication channel between the communication server is established in the dynamic marks;Communication module, for logical by described first The real time position for the shared vehicle that the communication server described in letter channel reception is forwarded based on the dynamic marks, wherein The real time position of the shared vehicle is that the communication server is obtained in real time by the second communication channel, second communication Channel is the channel between the shared vehicle and the communication server established based on the dynamic marks.
In conjunction with the third aspect, the embodiment of the present application provides the first possible embodiment of the third aspect, obtains mould Block is also used to send the rental instruction for renting the shared vehicle to service of cars on hire device, and the service of cars on hire device is used in basis Terminal of hiring a car described in the rental command verification it is legal after, obtain the institute that vehicle server is the shared vehicle dynamic allocation State dynamic marks;Receive the dynamic marks that the service of cars on hire device is returned.
Fourth aspect, a kind of position tracking device of shared vehicle provided by the embodiments of the present application are applied to communication service Device, described device include: receiving module, for receiving the real-time position that the shared vehicle uploads in real time by the second communication channel It sets;Forwarding module rents hiring a car end for the shared vehicle for being forwarded to the real time position by the first communication channel End.
In conjunction with fourth aspect, the embodiment of the present application provides the first possible embodiment of fourth aspect, the dress Setting further includes establishing module, described to establish module, for uploading in real time by the second communication channel reception shared vehicle Real time position before, the foundation of dynamic marks based on the shared vehicle is communicated with first between the terminal of hiring a car Road;The second communication channel between the shared vehicle is established based on the dynamic marks.
5th aspect, a kind of positioning control system of shared vehicle provided by the embodiments of the present application, comprising: terminal of hiring a car, The communication server, service of cars on hire device and vehicle server, wherein the terminal of hiring a car, for being sent to the service of cars on hire device Rent the rental instruction of the shared vehicle;The service of cars on hire device, for hiring a car according to the rental command verification Terminal it is legal after, obtaining the vehicle server is the dynamic marks that the shared vehicle dynamically distributes;It is described to hire a car Terminal is also used to receive the dynamic marks that the service of cars on hire device is returned;The terminal of hiring a car is also used to based on described Dynamic marks establish the first communication channel between the communication server;And the terminal of hiring a car, it is also used to pass through institute State the real-time position that the first communication channel receives the shared vehicle that the communication server is forwarded based on the dynamic marks It sets, wherein the real time position of the shared vehicle is that the communication server is obtained in real time by the second communication channel, described Second communication channel is the channel between the shared vehicle and the communication server established based on the dynamic marks.
6th aspect, a kind of terminal device provided by the embodiments of the present application, comprising: memory, processor and be stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program The step of realizing the location tracking method that vehicle is shared as described in any one of first aspect;Alternatively, described in the processor execution The step of location tracking method that vehicle is shared as described in any one of second aspect is realized when computer program.
7th aspect, a kind of storage medium provided by the embodiments of the present application are stored with instruction on the storage medium, work as institute Instruction is stated when running on computers, so that the computer executes the position such as the described in any item shared vehicles of first aspect Tracking;Alternatively, when described instruction is run on computers, so that the computer is executed such as any one of second aspect institute The location tracking method for the shared vehicle stated.
Eighth aspect, a kind of computer program product provided by the embodiments of the present application, the computer program product are being counted When being run on calculation machine, so that computer executes the location tracking method such as the described in any item shared vehicles of first aspect;Alternatively, When the computer program product is run on computers, so that computer executes such as the described in any item shared vehicles of second aspect Location tracking method.
Other feature and advantage of the disclosure will illustrate in the following description, alternatively, Partial Feature and advantage can be with Deduce from specification or unambiguously determine, or by implement the disclosure above-mentioned technology it can be learnt that.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of flow chart of the location tracking method of shared vehicle provided by the embodiments of the present application;
Fig. 2 is another flow chart in a kind of location tracking method of shared vehicle shown in FIG. 1;
Fig. 3 is another flow chart in a kind of location tracking method of shared vehicle shown in FIG. 1;
Fig. 4 is a kind of flow chart of the location tracking method of shared vehicle provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of the position tracking device of shared vehicle provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of the position tracking device of shared vehicle provided by the embodiments of the present application;
Fig. 7 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application;
Fig. 8 is a kind of positioning control system structural schematic diagram of shared vehicle provided by the embodiments of the present application.
Specific embodiment
Drawbacks described above existing in the prior art, applicants contemplate that being applicant after practicing and carefully studying It is obtaining as a result, therefore, what the discovery procedure of the above problem and hereinafter the embodiment of the present application were proposed regarding to the issue above Solution all should be the contribution that applicant makes the application during the application.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, technical solutions in the embodiments of the present application is described.
With reference to the accompanying drawing, it elaborates to some embodiments of the application.In the absence of conflict, following Feature in embodiment and embodiment can be combined with each other.
Referring to Fig. 1, being the flow chart of the location tracking method of shared vehicle provided by the embodiments of the present application, this method is answered For terminal of hiring a car.It should be understood that method shown in FIG. 1 can be executed by sharing the position tracking device of vehicle, which can With corresponding with terminal device shown in Fig. 8 hereinafter, which can be the various equipment for being able to carry out this method, example Such as, such as smart phone, tablet computer, the embodiment of the present application are not limited to this, and are specifically comprised the following steps:
Step S101 obtains the dynamic marks of the shared vehicle.
Optionally, shared vehicle can be bicycle, such as bicycle;It is also possible to automobile, such as electric car.
Optionally, it is described total after the verifying shared bicycle is legal that the dynamic marks for sharing vehicle, which are vehicle server, Enjoy the mark of bicycle dynamic allocation.
As an example it is assumed that user A when renting the shared vehicle for the first time, dynamic marks may be xxx1;When with When family A is reused, dynamic marks may be xxxx.I.e. dynamic marks are when user is finished vehicle (returning the car) every time Cancel.
Optionally, the dynamic marks for sharing vehicle are that vehicle server is legal rear based on shared in the verifying shared bicycle The unique identification of vehicle new mark generated.
As an example it is assumed that the unique identification of shared vehicle is a1, then the dynamic marks for sharing vehicle can be based on a1 The new mark of one kind of generation, such as a2.For example, based on MD5 (Message Digest Algorithm 5, the entitled message of Chinese Digest algorithm the 5th edition) a1 is handled to obtain a2.It is at random either the newly-increased one or more characters of a1, generates a2.
It should be understood that the unique identification of shared vehicle is for unique identification, this shares vehicle, and the unique identification is gone back in user It will not cancel when vehicle, only when the equipment in shared vehicle for storing the unique identification breaks down or power-off, this is unique Mark can just be cancelled, and after calcellation, shared vehicle can the unique identification new to vehicle server application again.
In above-mentioned implementation, same shared vehicle can be made by dynamically distributing dynamic marks for the shared bicycle Mark in each use is different from, and is hired a car end so as to avoid the position data by shared vehicle from being transmitted to other End, and then the safety of the position data of shared vehicle is improved, further increase the safety of the user using shared vehicle.
As an implementation, step S101, comprising: the rental for renting the shared vehicle is sent to service of cars on hire device Instruction, the service of cars on hire device be used for according to it is described rental command verification described in hire a car terminal it is legal after, obtain vehicle clothes Business device is the dynamic marks that the shared vehicle dynamically distributes;Receive the dynamic mark that the service of cars on hire device is returned Know.
Optionally, rent instruction can be user by installed in terminal of hiring a car hire a car APP scan vehicle on two dimension Code is generated.The APP that hires a car is provided by the shared vehicle supplier for exclusively carrying out the software hired a car.
Optionally, it rents instruction and carries the identity information of vehicle to be rented and the mark for the APP that hires a car.
Optionally, whether legal service of cars on hire device verifies the terminal of hiring a car according to the mark for the APP that hires a car, such as when this When the APP that hires a car is APP provided by the provider of the shared vehicle, it is determined that the APP that hires a car is legal, that is, terminal of hiring a car is legal, Conversely, as user uses the APP of other shared vehicles, it is determined that the APP that hires a car is illegal, that is, terminal of hiring a car is illegal.
As an example it is assumed that user rents shared vehicle B using the APP of shared vehicle A, then shares vehicle B and receiving When renting instruction, it can prompt illegal.
Optionally, obtaining vehicle server is the dynamic marks that the shared vehicle dynamically distributes, comprising: obtains vehicle Server verify the shared bicycle it is legal after the dynamic marks that are dynamically distributed for the shared vehicle.
For more detailed description step S101, in the following, it is non-limiting as example, the application is implemented in conjunction with Fig. 2 Step S101 in example is described in detail.Method as shown in Figure 2 includes:
Step S2001 sends and rents instruction.
Optionally, user is instructed by hiring a car terminal to the rental that service of cars on hire device sends the rental shared vehicle.
Whether step S2002, client of hiring a car according to the rental command verification are legal.
Step S2003 sends open command after legal.
Optionally, after the service of cars on hire device receives rental instruction, further according to the visitor that hires a car described in the rental command verification Whether family end is legal, after client of hiring a car described in the verifying is legal, sends to vehicle server and refers to for opening with described rent Enable the open command of matched shared bicycle.
Whether legal step S2004 verifies shared bicycle according to open command.
Step S2005 dynamically distributes dynamic marks after legal for shared vehicle.
Step S2006 returns to dynamic marks.
Optionally, for the vehicle server after receiving open command, whether the verifying shared bicycle is legal, is testing Demonstrate,prove the shared bicycle it is legal after, distribution one for characterizing the dynamic dynamic marks of shared vehicle to service of cars on hire device, So that dynamic marks are back to terminal of hiring a car by service of cars on hire device, i.e., the dynamic marks are for hiring a car terminal to identify shared vehicle ?.
Step S2007 receives dynamic marks.
Optionally, terminal of hiring a car receives the dynamic marks that service of cars on hire device returns.I.e. service of cars on hire device is receiving vehicle After the dynamic marks that server returns, which is returned into terminal of hiring a car.
During above-mentioned realization, the rental instruction of the shared vehicle is rented by sending to service of cars on hire device, it is described Service of cars on hire device be used for according to it is described rental command verification described in hire a car terminal it is legal after, obtain vehicle server be described The dynamic marks that shared vehicle dynamically distributes;The dynamic marks that the service of cars on hire device is returned are received, thus quasi- Really get the dynamic marks of shared vehicle.
Step S102 establishes the first communication channel between the communication server based on the dynamic marks.
Optionally, the first communication channel is the direct channel hired a car between terminal and the communication server, that is, terminal of hiring a car with Communication is carried out between the communication server to need not move through other equipment and be forwarded.For example, hiring a car between terminal and vehicle server It is not just direct channel, because hiring a car between terminal and vehicle server, there is also service of cars on hire device or the communication servers.
Optionally, the first communication channel is the long interface channel established using Transmission Control Protocol.
During above-mentioned realization, hire a car by using Transmission Control Protocol foundation direct-connected logical between terminal and the communication server Road, and communication can be made to take as the mark for the interaction data between terminal and the communication server of hiring a car with dynamic marks The real time position of the corresponding shared vehicle of the dynamic marks is only transmitted to terminal of hiring a car by business device, without other are shared vehicle Real time position be sent to the terminal of hiring a car, and then ensure the safety of the position of shared vehicle, and no longer need to take from vehicle The position of poll vehicle, reduces the processing pressure of vehicle server, while data forwarding speed can be improved in business device.
Step S103 is received the communication server by first communication channel and is forwarded based on the dynamic marks The shared vehicle real time position.
Wherein, the real time position of the shared vehicle is that the communication server is obtained in real time by the second communication channel , second communication channel is between the shared vehicle and the communication server established based on the dynamic marks Channel.
Optionally, second communication channel is based on the described total of unique identification corresponding with dynamic marks foundation Enjoy the channel between vehicle and the communication server.
That is, the second communication channel is after first time establishes, as long as the unique identification of shared vehicle is not cancelled, Connection is established all the time by the second communication channel between the communication server and shared vehicle.
Optionally, the second communication channel is the direct channel between shared vehicle and the communication server.
Optionally, the second communication channel is the long interface channel established using Transmission Control Protocol.
As a kind of application scenarios, after the foundation of the first communication channel, the communication server can forward shared vehicle in real time Real time position to terminal of hiring a car.
As another application scenarios, after the foundation of the first communication channel, terminal of hiring a car sends a subscription instruction and extremely communicates Server, the communication server forward the real time position of shared vehicle to terminal of hiring a car in real time after receiving subscription instruction.
Optionally, subscribing to instruction includes the reality for obtaining shared vehicle corresponding with the dynamic marks from the communication server When position information.
Optionally, subscribing to instruction can be automatic trigger, and such as in shared vehicle launch, terminal of hiring a car sends automatically and orders Read instruction.
Certainly, in actual use, subscribe to instruction and be also possible to user's triggering, here, being not especially limited.
As a kind of application scenarios, it is assumed that user A helps user B to be hired a car, at this point, when user A needs to know use When family B drives/ride the real time position of the shared vehicle, can directly it be turned by the communication server that terminal of hiring a car receives The real time position of the shared vehicle of hair, and then the shared vehicle can be accurately tracked.
In a possible embodiment, the method also includes: receive the interrupt instruction of vehicle server transmission;According to institute State the second communication channel between interrupt instruction interruption and the shared vehicle.
As a kind of implement scene, vehicle server sends interrupt instruction to communication service when monitoring invasion information Device, the communication server interrupt the second communication channel between the shared vehicle according to the interrupt instruction.
Optionally, invasion information can be the modification letter of the unique identification for modifying shared vehicle of illegal user's transmission Breath.
During above-mentioned realization, by after monitoring invasion information, sending interrupt instruction in vehicle server to logical Telecommunications services device, the communication server interrupt the second communication channel between the shared vehicle according to the interrupt instruction, thus The safety that shared vehicle can be improved is avoided being destroyed by illegal user from malicious or illegally be used.
Above in association with Fig. 1 describe in the embodiment of the present application share vehicle location tracking method, in the following, as example and It is non-limiting, it is described in detail in conjunction with location tracking method of the Fig. 3 to the shared vehicle in the embodiment of the present application.Such as Fig. 3 institute The method shown includes:
Step S3001 obtains dynamic marks.
Optionally, sharing vehicle can refer to when registering or initializing (or factory) to vehicle server transmission request It enables, to obtain the dynamic marks that vehicle server issues.
Certainly, in actual use, the dynamic marks that the dynamic marks that shared vehicle is got are got with terminal of hiring a car Can be different, but there are corresponding relationships.For example, the dynamic marks that shared vehicle is got can be based on terminal acquisition of hiring a car To the unique identification that generates at random of dynamic marks.
Step S3002 establishes the second communication channel between the communication server according to dynamic marks.
Optionally, vehicle is shared by establishing the second communication channel between dynamic marks and the communication server.
Optionally, unique identification is generated according to dynamic marks, shares vehicle and passes through between unique identification and the communication server Establish the second communication channel.
It should be noted that the second communication channel after first time establishes, does not have as long as sharing the unique identification of vehicle Cancel, establishes connection all the time by the second communication channel between the communication server and shared vehicle.
Step S3003 sends and rents instruction.
Optionally, the terminal of hiring a car sends the rental instruction for renting the shared vehicle to the service of cars on hire device.
Whether step S3004, client of hiring a car according to the rental command verification are legal.
Step S3005 sends open command after legal.
Optionally, the service of cars on hire device is hired a car end according to the rental command verification after receiving rental instruction End it is legal after, verifying described in hire a car client whether legal further according to client of hiring a car described in the rental command verification After legal, send to vehicle server for opening the open command with the shared bicycle for renting instructions match.
Whether legal step S3006 verifies shared bicycle according to open command.
Step S3007, after legal, transmission open command to the communication server, and dynamic marks are returned to service of cars on hire Device.
Optionally, the vehicle server verifies the shared bicycle according to open command after receiving open command Whether legal, after the verifying shared bicycle is legal, distribution one for characterizing the dynamic dynamic marks of shared vehicle To service of cars on hire device, to be back to terminal of hiring a car by service of cars on hire device, and open command is sent to the communication server, to pass through The communication server opens shared vehicle.
Optionally, which is used to uniquely characterize the shared vehicle in terminal hiring a car.
Step S3008 controls shared vehicle according to open command and unlocks.
The communication server is based on open command and controls shared vehicle unlocking, so that the shared vehicle can be used in user.
Further, the unlatching of shared vehicle is controlled by the communication server, can reduce the resource of vehicle server Expense.
Step S3009 returns to dynamic marks.
Service of cars on hire device receives the dynamic marks that vehicle server is sent.
Step S3010 returns to dynamic marks.
Optionally, which is back to terminal of hiring a car by service of cars on hire device.
Step S3011 establishes the first communication channel between the communication server.
Optionally, terminal of hiring a car establishes the first communication channel between the communication server by the dynamic marks.
Step S3012 receives shared vehicle and passes through the real time position that the second communication channel is sent.
Optionally, the communication server receives the real time position that shared vehicle passes through the transmission of the second communication channel.
Step S3013 forwards real time position by the first communication channel.
Optionally, the communication server is forwarded by first communication channel based on the dynamic marks described total The real time position of vehicle is enjoyed to the terminal of hiring a car.
The location tracking method that vehicle is shared provided by the embodiment of the present application, by the dynamic for obtaining the shared vehicle Mark establishes the first communication channel between the communication server based on the dynamic marks, passes through first communication channel Receive the real time position for the shared vehicle that the communication server is forwarded based on the dynamic marks, wherein described total The real time position for enjoying vehicle is that the communication server is obtained in real time by the second communication channel, and second communication channel is The channel between the shared vehicle and the communication server established based on the dynamic marks, so that terminal of hiring a car Double channels not communicated can be established by the communication server between shared vehicle, and then can connect by the communication server After the real time position for receiving shared vehicle, real time position directly can be forwarded to by terminal of hiring a car by the first communication channel, from And may not need the position of the poll vehicle from vehicle server again, the processing pressure of vehicle server can be reduced, while can To improve data forwarding speed, allow to use a large amount of concurrent at original support of very little, while improving shared vehicle The safety of data.
Referring to Fig. 4, being the flow chart of the location tracking method of shared vehicle provided by the embodiments of the present application, this method is answered For the communication server.It should be understood that method shown in Fig. 4 can be executed by sharing the position tracking device of vehicle, the device Can be corresponding with terminal device shown in Fig. 8 hereinafter, which can be the various services for being able to carry out this method Device specifically comprises the following steps:
Step S201 receives the real time position that the shared vehicle uploads in real time by the second communication channel.
Optionally, direct channel of second communication channel between the communication server and terminal of hiring a car.
In a possible embodiment, before step S201, the method also includes: it is dynamic based on the shared vehicle State mark establishes the first communication channel between the terminal of hiring a car;It is established and the shared vehicle based on the dynamic marks Between the second communication channel.
It is alternatively possible to be first to establish the first communication channel, the second communication channel is resettled.It is also possible to establish simultaneously One communication channel and the second communication channel.
Certainly, in actual use, it is also possible to first establish the second communication channel, resettles the first communication channel.Here, It is not especially limited.
Optionally, first communication channel and/or second communication channel are established using transmission control protocol TCP.
The real time position is forwarded to by the first communication channel and rents hiring a car end for the shared vehicle by step S202 End.
The location tracking method that vehicle is shared provided by the embodiment of the present application is received described total by the second communication channel Enjoy the real time position that vehicle uploads in real time;The real time position is forwarded to by the first communication channel and rents the shared vehicle Terminal of hiring a car.So that establishing the communication channel of two-way intercommunication between shared vehicle and terminal of hiring a car, will can be total in real time The real time position for enjoying vehicle is sent to terminal of hiring a car by the first communication channel, with realize to the real time position of shared vehicle with Track further due to no longer needing to the position of the poll vehicle from vehicle server, can reduce the processing pressure of vehicle server Power, while data forwarding speed can be improved, allow to use a large amount of concurrent at original support of very little, while improving altogether Enjoy the safety of the data of vehicle.
It is shared correspondingly referring to Fig. 5, Fig. 5 is shown using the location tracking method of shared vehicle shown in FIG. 1 The position tracking device of vehicle, it should be appreciated that the device 300 is corresponding to Fig. 3 embodiment of the method with above-mentioned Fig. 1, is able to carry out above-mentioned Each step that embodiment of the method is related to, the specific function of device 300 may refer to it is described above, to avoid repeating, It is appropriate herein to omit detailed description.Device 300 includes that at least one can be stored in the form of software or firmware (firmware) In memory or the software function module that is solidificated in the operating system (operating system, OS) of device 300.It is optional Ground, the device 300 include:
Module 310 is obtained, for obtaining the dynamic marks of the shared vehicle;
Module 320 is established, for establishing the first communication channel between the communication server based on the dynamic marks;
Communication module 330 is based on the dynamic mark for receiving the communication server by first communication channel Know the real time position of the shared vehicle forwarded, wherein the real time position of the shared vehicle is the communication server It is obtained in real time by the second communication channel, second communication channel is the shared vehicle established based on the dynamic marks Channel between the communication server.
Optionally, module 310 is obtained, is also used to send the rental instruction for renting the shared vehicle to service of cars on hire device, The service of cars on hire device be used for according to it is described rental command verification described in hire a car terminal it is legal after, obtain vehicle server be The dynamic marks that the shared vehicle dynamically distributes;Receive the dynamic marks that the service of cars on hire device is returned.
Optionally, first communication channel and/or second communication channel are established using transmission control protocol TCP.
It is shared correspondingly referring to Fig. 6, Fig. 6 is shown using the location tracking method of shared vehicle shown in Fig. 4 The position tracking device of vehicle, it should be appreciated that the device 400 is corresponding with above-mentioned Fig. 4 embodiment of the method, is able to carry out above method reality Each step that example is related to is applied, which may refer to described above, to avoid repeating, fit herein It is described in detail when omitting.Device 400 includes that at least one can be stored in memory in the form of software or firmware (firmware) In or the software function module that is solidificated in the operating system (operating system, OS) of device 400.Optionally, the dress Setting 400 includes:
Receiving module 410, for receiving the real time position that the shared vehicle uploads in real time by the second communication channel;
Forwarding module 420 rents the shared vehicle for being forwarded to the real time position by the first communication channel Terminal of hiring a car.
In a possible embodiment, described device 400 further includes establishing module, described to establish module, for passing through Before second communication channel receives the real time position that the shared vehicle uploads in real time, the dynamic marks based on the shared vehicle Establish the first communication channel between the terminal of hiring a car;It is established between the shared vehicle based on the dynamic marks Second communication channel.
Optionally, first communication channel and/or second communication channel are established using transmission control protocol TCP.
The application also provides a kind of positioning control system of shared vehicle, and Fig. 7 is the shared vehicle in the embodiment of the present application Positioning control system 500 structural block diagram, as shown in Figure 7.The positioning control system 500 of shared vehicle, comprising: terminal of hiring a car 510, the communication server 520, service of cars on hire device 530 and vehicle server 540.
The terminal 510 of hiring a car, the rental for sending the rental shared vehicle to the service of cars on hire device 530 refer to It enables;
The service of cars on hire device 530, for according to it is described rental command verification described in hire a car terminal 510 it is legal after, Obtaining the vehicle server 540 is the dynamic marks that the shared vehicle dynamically distributes;
The terminal 510 of hiring a car is also used to receive the dynamic marks that the service of cars on hire device 530 is returned;
The terminal 510 of hiring a car, be also used to establish based on the dynamic marks between the communication server 520 the One communication channel;And the terminal 510 of hiring a car, it is also used to receive the communication server by first communication channel The real time position of the 520 shared vehicles forwarded based on the dynamic marks, wherein the real time position of the shared vehicle The communication server 520 is obtained in real time by the second communication channel, and second communication channel is based on the dynamic Identify the channel between the shared vehicle and the communication server 520 established.
The application also provides a kind of terminal device, and Fig. 8 is the structural block diagram of the terminal device 600 in the embodiment of the present application, As shown in Figure 8.Terminal device 600 may include that processor 610, communication interface 620, memory 630 and at least one communication are total Line 640.Wherein, communication bus 640 is for realizing the direct connection communication of these components.Wherein, equipment in the embodiment of the present application Communication interface 620 be used to carry out the communication of signaling or data with other node devices.Processor 610 can be a kind of integrated electricity Road chip, the processing capacity with signal.
Above-mentioned processor 610 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other programmable logic device, discrete gate Or transistor logic, discrete hardware components.May be implemented or execute disclosed each method in the embodiment of the present application, Step and logic diagram.General processor can be microprocessor or the processor 610 is also possible to any conventional processing Device etc..
Memory 630 may be, but not limited to, random access memory (Random Access Memory, RAM), only It reads memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Computer-readable instruction fetch is stored in memory 630, when the computer-readable instruction fetch is executed by the processor 610 When, terminal device 600 can execute each step that above-mentioned Fig. 1 is related to Fig. 3 embodiment of the method.Alternatively, working as the computer When readable instruction fetch is executed by the processor 610, terminal device 600 can execute above-mentioned Fig. 4 embodiment of the method be related to it is each A step
Terminal device 600 can also include storage control.
The memory 630, storage control, each element of processor 610 are directly or indirectly electrically connected between each other, To realize the transmission or interaction of data.For example, these elements can realize electricity by one or more communication bus 640 between each other Property connection.The processor 610 is for executing the executable module stored in memory 630, such as the software that device 300 includes Functional module or computer program.Also, device 300 is used to execute following methods: obtaining the dynamic marks of the shared vehicle; The first communication channel between the communication server is established based on the dynamic marks;Institute is received by first communication channel State the real time position for the shared vehicle that the communication server is forwarded based on the dynamic marks, wherein the shared vehicle Real time position to be the communication server obtained in real time by the second communication channel, second communication channel is based on institute State the channel between the shared vehicle and the communication server of dynamic marks foundation.In another example device 400 include it is soft Part functional module or computer program.Also, device 400 is for executing following methods: by described in the reception of the second communication channel The real time position that shared vehicle uploads in real time;The real time position is forwarded to by the first communication channel and rents the shared vehicle Terminal of hiring a car.
It is appreciated that structure shown in Fig. 8 is only to illustrate, the terminal device 600 may also include more than shown in Fig. 8 Perhaps less component or with the configuration different from shown in Fig. 8.Each component shown in fig. 8 can use hardware, software Or combinations thereof realize.
The embodiment of the present application also provides a kind of storage medium, and instruction is stored on the storage medium, when described instruction exists When being run on computer, method described in implementation method embodiment when the computer program is executed by processor, to avoid weight Multiple, details are not described herein again.
The application also provides a kind of computer program product to be made when the computer program product is run on computers It obtains computer and executes method described in embodiment of the method.
Through the above description of the embodiments, those skilled in the art can be understood that the application can lead to Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software, based on this understanding, this Shen Technical solution please can be embodied in the form of software products, which can store in a non-volatile memories In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are used so that a computer equipment (can be Personal computer, server or network equipment etc.) execute each implement scene of the application method.
The foregoing is merely preferred embodiment of the present application, are not intended to limit this application, for the skill of this field For art personnel, various changes and changes are possible in this application.Within the spirit and principles of this application, made any to repair Change, equivalent replacement, improvement etc., should be included within the scope of protection of this application.It should also be noted that similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.

Claims (10)

1. a kind of location tracking method of shared vehicle, which is characterized in that the method is applied to terminal of hiring a car, the method packet It includes:
Obtain the dynamic marks of the shared vehicle;
The first communication channel between the communication server is established based on the dynamic marks;
The shared vehicle that the communication server is forwarded based on the dynamic marks is received by first communication channel Real time position, wherein it is real-time by the second communication channel that the real time position of the shared vehicle is the communication server Obtain, second communication channel be based on the dynamic marks establish the shared vehicle and the communication server it Between channel.
2. the method according to claim 1, wherein the dynamic marks for obtaining the shared vehicle, comprising:
The rental instruction for renting the shared vehicle is sent to service of cars on hire device, the service of cars on hire device is used for according to the rent Terminal of hiring a car described in command verification it is legal after, obtaining vehicle server is the dynamic that the shared vehicle dynamically distributes Mark;
Receive the dynamic marks that the service of cars on hire device is returned.
3. method according to claim 1 or 2, which is characterized in that first communication channel and/or second communication Channel is established using transmission control protocol TCP.
4. a kind of location tracking method of shared vehicle, which is characterized in that be applied to the communication server, which comprises
The real time position that the shared vehicle uploads in real time is received by the second communication channel;
The real time position is forwarded to the terminal of hiring a car for renting the shared vehicle by the first communication channel.
5. according to the method described in claim 4, it is characterized in that, real receiving the shared vehicle by the second communication channel Before the real time position of Shi Shangchuan, the method also includes:
Dynamic marks based on the shared vehicle establish the first communication channel between the terminal of hiring a car;
The second communication channel between the shared vehicle is established based on the dynamic marks.
6. method according to claim 4 or 5, which is characterized in that the method also includes:
Receive the interrupt instruction that vehicle server is sent;
The second communication channel between the shared vehicle is interrupted according to the interrupt instruction.
7. a kind of position tracking device of shared vehicle, which is characterized in that described device is applied to terminal of hiring a car, described device packet It includes:
Module is obtained, for obtaining the dynamic marks of the shared vehicle;
Module is established, for establishing the first communication channel between the communication server based on the dynamic marks;
Communication module is forwarded for receiving the communication server by first communication channel based on the dynamic marks The shared vehicle real time position, wherein the real time position of the shared vehicle, which is the communication server, passes through second What communication channel obtained in real time, second communication channel be based on the dynamic marks establish the shared vehicle with it is described Channel between the communication server.
8. a kind of position tracking device of shared vehicle, which is characterized in that be applied to the communication server, described device includes:
Receiving module, for receiving the real time position that the shared vehicle uploads in real time by the second communication channel;
Forwarding module rents hiring a car end for the shared vehicle for being forwarded to the real time position by the first communication channel End.
9. a kind of positioning control system of shared vehicle characterized by comprising terminal of hiring a car, the communication server, service of cars on hire Device and vehicle server, wherein
The terminal of hiring a car, for sending the rental instruction for renting the shared vehicle to the service of cars on hire device;
The service of cars on hire device, for according to it is described rental command verification described in hire a car terminal it is legal after, obtain the vehicle Server is the dynamic marks that the shared vehicle dynamically distributes;
The terminal of hiring a car is also used to receive the dynamic marks that the service of cars on hire device is returned;
The terminal of hiring a car is also used to communicate based on dynamic marks foundation with first between the communication server Road;
And
The terminal of hiring a car is also used to receive the communication server based on the dynamic marks by first communication channel The real time position of the shared vehicle forwarded, wherein the real time position of the shared vehicle is that the communication server is logical Cross what the second communication channel obtained in real time, second communication channel is the shared vehicle established based on the dynamic marks With the channel between the communication server.
10. a kind of terminal device characterized by comprising memory, processor and storage are in the memory and can be The computer program run on the processor, the processor realize such as claims 1 to 3 when executing the computer program The step of location tracking method of described in any item shared vehicles;Or, reality when the processor executes the computer program Now such as the step of the location tracking method of the described in any item shared vehicles of claim 4 to 6.
CN201910513475.3A 2019-06-13 2019-06-13 Position tracking method, device and equipment of shared vehicle Active CN110062335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910513475.3A CN110062335B (en) 2019-06-13 2019-06-13 Position tracking method, device and equipment of shared vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910513475.3A CN110062335B (en) 2019-06-13 2019-06-13 Position tracking method, device and equipment of shared vehicle

Publications (2)

Publication Number Publication Date
CN110062335A true CN110062335A (en) 2019-07-26
CN110062335B CN110062335B (en) 2021-11-12

Family

ID=67325803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910513475.3A Active CN110062335B (en) 2019-06-13 2019-06-13 Position tracking method, device and equipment of shared vehicle

Country Status (1)

Country Link
CN (1) CN110062335B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112562125A (en) * 2020-11-18 2021-03-26 深圳易马达科技有限公司 Wireless unlocking lease system
CN112732661A (en) * 2021-04-02 2021-04-30 智道网联科技(北京)有限公司 Positioning information sharing method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868970A (en) * 2012-09-21 2013-01-09 上海永畅信息科技有限公司 System and method for actively identifying and communicating with vehicles
WO2013033468A2 (en) * 2011-09-02 2013-03-07 Frias Transportation Infrastructure Llc Systems and methods for pairing of for hire vehicle meters and medallions
CN103914991A (en) * 2014-04-10 2014-07-09 南京物联传感技术有限公司 Vehicle position sharing method
CN104703137A (en) * 2015-03-13 2015-06-10 苏州海博智能系统有限公司 Positioning method, central server and intelligent mobile terminal
CN105046830A (en) * 2015-07-29 2015-11-11 奇瑞汽车股份有限公司 Method and device for vehicle control
CN105389568A (en) * 2015-11-17 2016-03-09 宗科惠 Method, device and system for acquiring location of vehicle
CN107909175A (en) * 2017-12-11 2018-04-13 北京骑骑智享科技发展有限公司 A kind of vehicle reservation method and system
CN108038555A (en) * 2017-12-27 2018-05-15 爱驰汽车有限公司 Vehicle maintenance system, method, server, equipment and storage medium
CN108961740A (en) * 2018-07-27 2018-12-07 吴忠隐 Novel shared parking space intelligent localization method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013033468A2 (en) * 2011-09-02 2013-03-07 Frias Transportation Infrastructure Llc Systems and methods for pairing of for hire vehicle meters and medallions
CN102868970A (en) * 2012-09-21 2013-01-09 上海永畅信息科技有限公司 System and method for actively identifying and communicating with vehicles
CN103914991A (en) * 2014-04-10 2014-07-09 南京物联传感技术有限公司 Vehicle position sharing method
CN104703137A (en) * 2015-03-13 2015-06-10 苏州海博智能系统有限公司 Positioning method, central server and intelligent mobile terminal
CN105046830A (en) * 2015-07-29 2015-11-11 奇瑞汽车股份有限公司 Method and device for vehicle control
CN105389568A (en) * 2015-11-17 2016-03-09 宗科惠 Method, device and system for acquiring location of vehicle
CN107909175A (en) * 2017-12-11 2018-04-13 北京骑骑智享科技发展有限公司 A kind of vehicle reservation method and system
CN108038555A (en) * 2017-12-27 2018-05-15 爱驰汽车有限公司 Vehicle maintenance system, method, server, equipment and storage medium
CN108961740A (en) * 2018-07-27 2018-12-07 吴忠隐 Novel shared parking space intelligent localization method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112562125A (en) * 2020-11-18 2021-03-26 深圳易马达科技有限公司 Wireless unlocking lease system
CN112562125B (en) * 2020-11-18 2022-03-22 深圳易马达科技有限公司 Wireless unlocking lease system
CN112732661A (en) * 2021-04-02 2021-04-30 智道网联科技(北京)有限公司 Positioning information sharing method and device, electronic equipment and storage medium
CN112732661B (en) * 2021-04-02 2021-08-17 智道网联科技(北京)有限公司 Positioning information sharing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110062335B (en) 2021-11-12

Similar Documents

Publication Publication Date Title
CN1852094B (en) Method and system for protecting account of network business user
CN107093127A (en) A kind of hire a car method and system of hiring a car, server end locked based on Internet of Things
CN106911714B (en) Mobile application single sign-on method based on interprocess communication for Android device
CN103249045A (en) Identification method, device and system
CN103826155A (en) Multi-screen interaction method, server, terminal and system
CN102487380A (en) Desktop virtual terminal entrusting method and system
CN110336870B (en) Method, device and system for establishing remote office operation and maintenance channel and storage medium
CN106899972B (en) Vehicle registration method, vehicle charging method, device and system
CN109995699B (en) Multimedia equipment management system
CN110062335A (en) Location tracking method, device and the equipment of shared vehicle
CN109005159A (en) The data processing method and certificate server of terminal access system server
CN102821112A (en) Mobile equipment, server and mobile equipment data verification method
CN110535884A (en) Method, apparatus and storage medium across access control between business system
CN105429943A (en) Information processing method and terminal thereof
CN110248356B (en) Information acquisition method and device
CN105979519B (en) The method and device of access network is controlled by charged state
EP3851983B1 (en) Authorization method, auxiliary authorization component, management server and computer readable medium
CN105764054A (en) Method for network detection based on embedded intelligent card and terminal thereof
CN114651424A (en) Access management for publisher nodes with secure access to MAAS networks
CN109063461B (en) Third-party password-free login method and system
CN101500235A (en) Off-line authentication method, off-line authentication system and mobile terminal
US9723436B2 (en) Mobile device location
CN104426846A (en) Service security verifying method and apparatus
CN103581873A (en) Intelligent card and user identification module safe binding method, system and management platform
CN106487776B (en) Method, network entity and system for protecting machine type communication equipment

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
CP03 Change 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.

CP03 Change of name, title or address