Method, TSP background systems and the car-mounted terminal of remote control vehicle
Technical field
The present invention relates to technical field of automotive electronics, method, TSP background systems more particularly to remote control vehicle with
And car-mounted terminal.
Background technology
At present, with the development of automobile industry, have more and more vehicles and provide information for vehicle using car-mounted terminal
Service.When providing information service for vehicle using car-mounted terminal, need car-mounted terminal to be installed on vehicle first, and pass through vehicle
It is established between mounted terminal and TSP (Telematics Service Provider, telematics service provider) background system logical
Believe and provide information service for vehicle.TSP background systems can provide powerful service to the user, for example, navigation, amusement, information,
Security protection etc..
However, the function of car-mounted terminal is limited only to provide information service for vehicle.The control of vehicle is not set foot in.
Directly vehicle is manipulated manually mostly using traditional control mode when controlling vehicle at present, such as:
The traffic route of vehicle is controlled by steering wheel, manual switch car door, manually boots vehicle etc..Most flexible control mode
Car key is only through vehicle to be controlled to perform the operations such as close door, vehicle window, boot.The side of vehicle is controlled by car key
Though the more traditional manual control mode of formula is convenient flexibly, one side when car key controls vehicle supports that operation item is non-
On the other hand often limitation, is needed in away from vehicle certain distance just effective, is limited by distance.Also, when the car key of car owner
During loss, anyone can control vehicle by car key, and safety coefficient is low.
As it can be seen that on the one hand existing can not flexibly effectively control vehicle vehicle control mode, on the other hand
Safety coefficient is low.
Invention content
Method, TSP background systems and car-mounted terminal the present invention provides remote control vehicle, to solve existing vehicle
The problem of control mode can not flexibly effectively control vehicle and safety coefficient is low.
One side according to the present invention, the present invention provides a kind of method of remote control vehicle, including:It receives and moves
The remote control notification that dynamic terminal is sent;Wherein, the remote control notification includes:Short message verification code, identity code and
Control instruction;Legitimate verification is carried out to the mobile terminal according to the short message verification code and the identity code;When sentencing
When the fixed mobile terminal is validated user, the authentication of car-mounted terminal corresponding with the identity code received is searched
Code;After the corresponding car-mounted terminal of the authentication code for determining to find is in running order, the control that will receive
The car-mounted terminal is sent to after system instruction encryption, so that the car-mounted terminal is judging that the control instruction is safety command
Afterwards, the operation indicated by the control instruction is performed.
Preferably, described in the corresponding in running order step of car-mounted terminal of the authentication code for determining to find
Before rapid, further include:Judge the corresponding car-mounted terminal of the authentication code whether in sleep state;If so, to described
Car-mounted terminal sends encrypted wake up and instructs, and the car-mounted terminal is transferred to working condition from sleep state;If not, it is determined that
The car-mounted terminal is in running order.
Preferably, the remote control notification further includes:Timestamp, after the encryption by the control instruction received
The car-mounted terminal is sent to, so that the car-mounted terminal is after judging the control instruction for safety command, the execution control
The indicated operating procedure of system instruction includes:By setting agreement after the control instruction and timestamp that receive are encrypted
Be sent to the car-mounted terminal so that the car-mounted terminal judge the control instruction for effectively and after the instruction of safety, hold
Operation indicated by the row control instruction;Wherein, the car-mounted terminal is judging that the control instruction is effective and safety
After instruction, when performing the operation indicated by the control instruction:Judge whether the control instruction exceeds according to the timestamp
Setting time interval;If so, refusal performs the operation indicated by the control instruction;If it is not, then according to current vehicle shape
State information judges whether the control instruction is safety command;If judging the control instruction for safety command, described in execution
Operation indicated by control instruction;If judging the control instruction for non-secure instruction, refuse to perform the control instruction institute
The operation of instruction.
Another aspect according to the present invention, the present invention also provides a kind of method of remote control vehicle, including:Receive vapour
The encrypted control instruction that vehicle remote service provider TSP background systems are sent;Wherein, mobile terminal to the TSP backstage
System sends remote control notification to control car-mounted terminal, and the remote control notification includes the encrypted control and refers to
It enables;The status information of current vehicle is obtained, the control instruction received according to the judgement of the current state information of acquisition
Whether it is safety command;Operation after judging the control instruction for safety command, indicated by the execution control instruction.
Preferably, it is further included in the remote control notification:Timestamp;The encryption for receiving TSP background systems and sending
Control instruction step afterwards includes:Receive the TSP background systems by set agreement send encrypted control instruction with
And timestamp;Before the state information Step for obtaining current vehicle, further include:The control is judged according to the timestamp
Whether system instruction has exceeded setting time interval;If so, refusal performs the operation indicated by the control instruction;If it is not, then
The status information for obtaining current vehicle is performed, the control instruction received according to the judgement of the current state information of acquisition
Whether be safety command operation.
According to the present invention in another aspect, invention further provides a kind of TSP background systems, including:Receiving module is used for
Receive the remote control notification that mobile terminal is sent;Wherein, the remote control notification includes:Short message verification code, identification
Code and control instruction;Authentication module, for according to the short message verification code and the identity code to the mobile terminal
Carry out legitimate verification;Searching module, for when judging the mobile terminal for validated user, searching the body with receiving
The authentication code of the corresponding car-mounted terminal of part identification code;Sending module, in the authentication code for determining to find
After corresponding car-mounted terminal is in running order, the car-mounted terminal is sent to after the control instruction received is encrypted,
So that the car-mounted terminal is after judging the control instruction for safety command, the operation indicated by the execution control instruction.
Preferably, the background system further includes:Judgment module, described in determining to find in the sending module
Before the corresponding car-mounted terminal of authentication code is in running order, whether the corresponding car-mounted terminal of the authentication code is judged
In sleep state;First execution module, for when the judging result of the judgment module is to be, being sent out to the car-mounted terminal
Encrypted wake up is sent to instruct, the car-mounted terminal is transferred to working condition from sleep state;Second execution module, in institute
When the judging result for stating judgment module is no, determine that the car-mounted terminal is in running order.
Preferably, the remote control notification further includes:Timestamp;The sending module refers to the control received
Be sent to the car-mounted terminal after enabling encryption so that the car-mounted terminal after judging the control instruction for safety command, hold
During operation indicated by the row control instruction, it will pass through after the encryption of the control instruction and timestamp that receive and set association
View is sent to the car-mounted terminal so that the car-mounted terminal judge the control instruction for effectively and after the instruction of safety,
Perform the operation indicated by the control instruction;Wherein, the car-mounted terminal is judging that the control instruction is effectively and safe
Instruction after, when performing the operation indicated by the control instruction:Judge whether the control instruction surpasses according to the timestamp
Setting time interval is gone out;If so, refusal performs the operation indicated by the control instruction;If it is not, then according to current vehicle
Status information judges whether the control instruction is safety command;If judging, the control instruction for safety command, performs institute
State the operation indicated by control instruction;If judging the control instruction for non-secure instruction, refuse to perform the control instruction
Indicated operation.
Another aspect according to the present invention, invention further provides a kind of car-mounted terminal, including:Receiving module, for connecing
Receive the encrypted control instruction that TSP background systems are sent;Wherein, mobile terminal sends long-range control to the TSP background systems
To control car-mounted terminal, the remote control notification includes the encrypted control instruction for system request;Acquisition module is used for
Obtain the status information of current vehicle;Judgment module, for the institute received according to the judgement of the current state information of acquisition
State whether control instruction is safety command;Operation executing module, for judging the control instruction for peace in the judgment module
All referring to the operation after order, indicated by the execution control instruction.
Preferably, it is further included in the remote control notification:Timestamp;The receiving module receives TSP background systems hair
During the encrypted control instruction sent, the encrypted control instruction that the TSP background systems are sent by setting agreement is received
And timestamp;The car-mounted terminal further includes:Time judgment module, for obtaining the shape of current vehicle in the acquisition module
Before state information, judge whether the control instruction has exceeded setting time interval according to the timestamp;Refuse module, be used for
In the judging result of the time judgment module operation indicated by the control instruction is performed when being, to refuse;Calling module,
For when the judging result of the time judgment module is to be, calling the acquisition module.Compared with prior art, it is of the invention
It has the following advantages:
The scheme of remote control vehicle provided by the invention, by establishing mobile terminal, TSP background systems and vehicle-mounted end
Network communication between end, mobile terminal sends control instruction by TSP background systems to car-mounted terminal, by car-mounted terminal foundation
Control instruction performs corresponding operation.Due to being communicated by network in the program, not influenced by distance, thus, it is possible to
Realization solves the problems, such as the remote control of vehicle to be limited by distance in existing vehicle control scheme.It is provided by the invention long-range
The scheme of vehicle is controlled, when mobile terminal is to TSP background systems transmission control data, short-message verification is carried in control data
The information such as code and identity code, verify the legitimacy of mobile terminal by these information, only work as mobile terminal
During for validated user, TSP background systems can send control instruction to corresponding car-mounted terminal, and the control sent refers to
Enable is also to be sent to car-mounted terminal after being encrypted.Therefore, met far by the scheme of remote control vehicle provided by the invention
While the demand of process control vehicle, additionally it is possible to vehicle be avoided illegally to be controlled, and then ensure that the safety of remote control.This
Outside, the scheme of remote control vehicle provided by the invention, after car-mounted terminal receives control instruction, can also to control instruction whether
Judged for safety command, only when control instruction is safety command, car-mounted terminal can be just performed indicated by control instruction
Operation, can ensure the safety of vehicle itself.
Description of the drawings
Fig. 1 is a kind of step flow chart of the method for according to embodiments of the present invention one remote control vehicle;
Fig. 2 is a kind of step flow chart of the method for according to embodiments of the present invention two remote control vehicle;
Fig. 3 is a kind of step flow chart of the method for according to embodiments of the present invention three remote control vehicle;
Fig. 4 is a kind of step flow chart of the method for according to embodiments of the present invention four remote control vehicle;
Fig. 5 is a kind of structure diagram of according to embodiments of the present invention five TSP background systems;
Fig. 6 is a kind of structure diagram of according to embodiments of the present invention six car-mounted terminal.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, it is below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is described in further detail.
Embodiment one
With reference to Fig. 1, a kind of step flow chart of the method for according to embodiments of the present invention one remote control vehicle is shown.
The method of the remote control vehicle of the present invention is illustrated from TSP background systems side in the present embodiment, this implementation
The method of remote control vehicle in example includes the following steps:
Step S102:TSP background systems receive the remote control notification that mobile terminal is sent.
Wherein, remote control notification includes:Short message verification code, identity code and control instruction.
In the present embodiment, for car-mounted terminal by communicating between network and TSP background systems, mobile terminal is similarly logical
It crosses between network and TSP background systems and communicates.Mobile terminal uploads control instruction by the APP installed on mobile terminals
To TSP background systems, the control instruction that mobile terminal uploads is issued to corresponding car-mounted terminal to realize pair by TSP background systems
The remote control of vehicle realizes the integrated technique of mobile terminal, car-mounted terminal and TSP background system remote control vehicles
Scheme.
Wherein, car-mounted terminal installation be provided with corresponding program in the car, in car-mounted terminal can be to each of vehicle
Part is controlled.Each car-mounted terminal is corresponding with Identity Code, such as:IMSI user identification codes, user are activating the vehicle
During mounted terminal, access token is generated for the car-mounted terminal in TSP background systems, which passes through corresponding Encryption Algorithm pair
Generation is encrypted in Identity Code.Meanwhile user needs setting safety when buying the car-mounted terminal and registering remote service
Mobile phone.Safe mobile phone, for the phone number that user fills in, which needs to receive car owner when sending remote control
The short message verification code wanted.Meanwhile an identity code also is set for the user, vehicle-mounted end is stored in TSP background systems
The correspondence of the Identity Code at end, the identity code of user and phone number.
When user need by mobile terminal remote control vehicle when, log in mobile terminal APP, TSP background system to
After mobile terminal corresponding safe mobile phone number in family is verified, short message verification code is sent on the safe mobile phone number.Wherein,
Safe mobile phone number is mobile terminal when registration activates remote control vehicle server, is arranged in TSP background systems.This
Sample is arranged on when the registration is activated in TSP background systems, and safe mobile phone number, Neng Gougeng are sent again without mobile terminal APP
It effectively prevent APP caused by during decompiling the problem of user information loss.
When mobile terminal APP operators send remote control notification by APP, to select to control option, input accordingly
Short message verification code and pre-assigned identity code.Each control option corresponds to a control instruction.Mobile terminal receives
After the short message verification code, identity code and the control instruction that are inputted to operator, these information are carried please in remote control
TSP background systems are sent in asking.
Step S104:TSP background systems carry out legitimacy to mobile terminal according to short message verification code and identity code and test
Card.
Multiple identity codes for being already allocated to different user are stored in TSP background systems.When TSP background systems
After the identity code that the user for sending request is got from remote control notification, the identity with pre-stored multiple users
Identification code is matched, can be preliminary if the identity code of the matched user of identity code in the presence of the user with acquisition
The mobile terminal for judging to send request is validated user.
But only legitimate verification is carried out also there are security risk by the identity code of user, if the body of user
Part identification code is stolen, then steal-number person can control vehicle by the user identity identification code.Therefore, in order to more
Add insurance, then the verification to short message verification code is also set up while the identity code to user is verified.On the one hand, it is short
Letter identifying code is that the randomness sent at random is strong, and on the other hand, short message verification code is only capable of being obtained by safe mobile phone number,
The identity code of the even user steal-number person that is stolen can not also obtain short message verification code, and still vehicle can not be controlled
System.It therefore, can be effectively by the dual matching verification mode safety coefficient higher of short message verification code and identity code
Ensure the safety of remote control.
Step S106:TSP background systems search the identity code with receiving when judging mobile terminal for validated user
The authentication code of corresponding car-mounted terminal.
The identity code pass corresponding with the authentication code of car-mounted terminal of user is stored in TSP background systems
System can determine that the remote control notification that mobile terminal is this time sent asks the car-mounted terminal controlled by the correspondence.
Step S108:TSP background systems are in the corresponding car-mounted terminal of authentication code for the car-mounted terminal for determining to find
After in running order, car-mounted terminal is sent to after the control instruction received is encrypted, so that car-mounted terminal is controlled in judgement
It instructs as the operation after safety command, indicated by execution control instruction.
TSP background systems to car-mounted terminal before control instruction is sent it needs to be determined that car-mounted terminal is in running order.Cause
If being in sleep state for car-mounted terminal, TSP background systems ifs, needs to wake up car-mounted terminal, such as:By to vehicle-mounted system
System sends short message to complete the wake-up of car-mounted terminal.It, can be with it is of course also possible to be configured according to actual demand to car-mounted terminal
Even if car-mounted terminal is arranged to, in sleep state, can still to receive and identify control of the TSP background systems by short message sending
System instruction.The present embodiment is only to be waken up and then handle control instruction for being in dormant onboard system needs to be
The explanation that example carries out.For in running order car-mounted terminal after the control instruction for receiving the transmission of TSP background systems, and
Will not the execution of the blindness control instruction, but the safety of control instruction is judged.Only judge in car-mounted terminal
The control instruction is after safety command, can just perform the operation indicated by the control instruction.Such as:Vehicle where car-mounted terminal
Current state for transport condition, the control instruction received by car-mounted terminal is door opening instruction, then, the control instruction is then
Can non-secure instruction be determined as by car-mounted terminal.
The method of remote control vehicle provided through this embodiment, by establish mobile terminal, TSP background systems with
And the network communication between car-mounted terminal, mobile terminal sends control instruction by TSP background systems to car-mounted terminal, by vehicle-mounted
Terminal performs corresponding operation according to control instruction.Due to being communicated by network in this method, not influenced by distance, because
And it can realize and the remote control of vehicle is solved the problems, such as to be limited by distance in existing vehicle control scheme.The present embodiment
The method of the remote control vehicle of offer when mobile terminal is to TSP background systems transmission control data, carries in control data
There are the information such as short message verification code and identity code, the legitimacy of mobile terminal is verified by these information, only
When mobile terminal is validated user, TSP background systems can send control instruction, and send to corresponding car-mounted terminal
Control instruction be also be encrypted after be sent to car-mounted terminal.Therefore, the side of remote control vehicle provided through this embodiment
Method is while meeting the needs of remote control vehicle, additionally it is possible to vehicle be avoided illegally to be controlled, and then ensure that remote control
Safety.In addition, the method for remote control vehicle provided in this embodiment, after car-mounted terminal receives control instruction, can also
Whether it is that safety command judges to control instruction, only when control instruction is safety command, car-mounted terminal can just perform
Operation indicated by control instruction can ensure the safety of vehicle itself.
Embodiment two
With reference to Fig. 2, a kind of step flow chart of the method for according to embodiments of the present invention two remote control vehicle is shown.
In the present embodiment, still the method for the remote control vehicle of the present invention is illustrated from TSP background systems side.This
Mobile phone is selected in embodiment as mobile terminal, and on mobile phone in advance under be loaded with corresponding APP.Pass through mobile phone in the present embodiment
System that APP, TSP plateform system and car-mounted terminal three parts constitute jointly realizes the method for remote control vehicle.At this
In method, TSP plateform systems are responsible for establishing the data communication between cell phone application and car-mounted terminal.Long-range control in the present embodiment
The method of vehicle processed specifically includes following steps:
Step S202:TSP background systems receive the remote control notification that mobile terminal is sent.
Wherein, remote control notification includes:Short message verification code, identity code, control instruction and timestamp, it is long-range to control
What the timestamp in system request was used to indicate control instruction sends out the time.
User is when TSP background systems open the service of remote control vehicle, it is necessary to set the phone number of binding.When with
Family by cell phone application to TSP background systems initiate the request of remote control vehicle when, hand that TSP background systems are bound from trend
Machine number sends short message verification code.And user passes through cell phone application in the control instruction that control vehicle is sent by cell phone application
Short message verification code, user identity identification code, control instruction and the timestamp transmitted and received to TSP background systems.
Between cell phone application and TSP background systems using Https agreements carry out control instruction data (such as:Remote control please
Ask) transmission, to ensure data safety.
S204:TSP background systems carry out legitimate verification according to short message verification code and identity code to mobile terminal.
Due to realizing the technology of information transmission based on internet, there are many security risks, such as bogus attack to distort information,
Or data theft privacy of user is stolen, particularly in the business for being related to user's property safety in safety measure the defects of is
It is very fatal.Therefore, in the present embodiment, using the identity code of safe mobile phone number and user has been entered as safety key,
Counterfeiter must obtain short message verification code and know that the identity code of user could be by authentication, this means that
Counterfeiter must also break through the Communications service of operator when breaking through data channel.It is difficult technically to increase attack to counterfeiter
Degree, so as to effectively avoid safety hazard.
Specifically, TSP background systems extract short message verification code and identity code from the remote control notification received,
Short message verification code and identity code according to extraction carry out legitimate verification to mobile terminal.It is stored in TSP background systems
There is the correspondence of the identity code of user's identity code and car-mounted terminal, legitimate verification is being carried out to mobile terminal
When, judge whether the identity code of the user is stored in TSP background systems, if in the presence of being capable of the preliminary judgement movement
Terminal is legal.Meanwhile on this basis, also to judge whether the short message verification code in remote control notification is TSP background systems
The short message verification code of the corresponding phone number of the mobile terminal is sent to, if also meeting the condition, can finally determine movement
Terminal is legal.
Step S206:TSP background systems search the identity code with receiving when judging mobile terminal for validated user
The authentication code of corresponding car-mounted terminal.
The correspondence of the identity code of user identity identification code and car-mounted terminal is stored in TSP background systems,
Vehicle corresponding with user identity identification code can be found by the correspondence and the identity code of the user received
The authentication code of mounted terminal, the identity code for being further advanced by car-mounted terminal can determine the vehicle of control.
Step S208:Whether TSP background systems judge the corresponding car-mounted terminal of authentication code in sleep state;If
It is then to perform step S210;If it is not, then perform step S212.
The transmission of data is carried out between TSP background systems and car-mounted terminal by Socket transport protocols, car-mounted terminal is fixed
When to TSP systems send heartbeat packet the long of Socket agreements to be maintained to connect.If car-mounted terminal is not for a long time to TSP backstages
System sends the heartbeat packet for maintaining long connection, then, TSP background systems then judge that the car-mounted terminal is in sleep state.
Step S210:When judging that car-mounted terminal is in sleep state, TSP background systems send encrypted to car-mounted terminal
Instruction is waken up, car-mounted terminal is transferred to working condition from sleep state;Then, step S214 is performed.
TSP background systems wake up car-mounted terminal using binary message, and terminal logs in TSP background systems after being waken up, then
Car-mounted terminal is transferred to working condition from sleep state.TSP background systems carry out instruction using corresponding encryption algorithm key
Target car-mounted terminal is sent to by Socket agreements after encryption.
It should be noted that TSP background systems are only taken into the binary message that car-mounted terminal is sent in the present embodiment
It instructs to wake up car-mounted terminal with waking up.But in actual setting, those skilled in the art can also be according to practical need
It asks to carry in the binary message sent to car-mounted terminal in TSP background systems and wakes up instruction and control instruction, calling out in this way
While awake onboard system, you can send control instruction to onboard system, can effectively shorten the response time of control instruction.
Step S212:When judging that car-mounted terminal is not in sleep state, TSP background systems determine that car-mounted terminal is in running order;
Then, step S214 is performed.
Step S214:TSP background systems are in work shape in the corresponding car-mounted terminal of authentication code for determining to find
After state, car-mounted terminal will be sent to by setting agreement after the control instruction received and timestamp encryption, so that vehicle-mounted end
End is the operation effectively and after the instruction of safety, indicated by execution control instruction in judgement control instruction.
TSP background systems are controlled after determining that car-mounted terminal is in running order using the Encryption Algorithm of setting, key pair
It instructs and car-mounted terminal is sent to by Socket agreements after being encrypted.
Wherein, the Encryption Algorithm of setting can be configured by those skilled in the art according to actual demand, such as:Setting
Into AES-128 symmetric encipherment algorithms are used, which uses shared in encryption or decryption process
Single key;Again for example:Control instruction is encrypted using md5 encryption algorithm.In encryption, used key can
To be configured or generated according to actual demand by those skilled in the art.It is a kind of it is preferred generation key mode be:It is vehicle-mounted
Terminal when logging in TSP background systems for the first time, in TSP background systems can to car-mounted terminal carry out authentication, when certification into
Unique key is generated for the car-mounted terminal and be issued to car-mounted terminal after work(by TSP background systems, meanwhile, it is on TSP backstages
Also the corresponding key of the car-mounted terminal is stored in system.
Car-mounted terminal receive TSP background systems transmission remote control commands after, first using data key into
Row decryption, after the completion of decryption, then perform judgement control instruction for effectively and after the instruction of safety, to perform control instruction signified
The operation shown.
Car-mounted terminal is the operation effectively and after the instruction of safety, indicated by execution control instruction in judgement control instruction
Shi Zhihang is specifically operated as follows:
First, judge whether control instruction has exceeded setting time interval according to timestamp;If so, refusal performs control
The indicated operation of instruction;If it is not, then judge whether control instruction is safety command according to current vehicle condition information.
Secondly, then when whether according to current vehicle condition information, to judge control instruction be safety command, refer to if judging to control
It enables as safety command, then performs the operation indicated by control instruction;If judging, control instruction for non-secure instruction, is refused to perform
Operation indicated by control instruction.
It should be noted that in the present embodiment for the setting at setting time interval can by those skilled in the art according to
Actual demand is configured, such as:It is arranged to 30 seconds, that is to say, that carry out the timestamp in control data and current time
Compare, if the time difference in 30 seconds, judges control instruction in the control data for effective instruction.It can certainly be arranged to
40 seconds, 50 seconds or longer time.The application is not specifically limited this.
For after having judged instruction for effective instruction, in order to provide the user with safe driving experience, the present invention is referring to
The judgement that vehicle body environment is increased in processing links is enabled, that is, judges whether effective control instruction is security control instruction.For
Efficiently control instruction whether be security control instruction judgement, whether can be performed by the current condition adjudgement vehicle of vehicle
It is corresponding operation be used as whether be security control instruction basis for estimation.Such as opening car door is received when the vehicle is running
Control instruction if performing the control instruction of door opening, may cause passenger to fall down vehicle, and then can determine that this for this situation
Control instruction is unsafe control instruction.Judge whether control instruction is safe by increasing on car-mounted terminal in this implementation
Processing logic, come eliminate danger drive.
After car-mounted terminal has performed the control instruction of effective and safe, result is fed back into TSP background systems, TSP backstages are
System again by the agreement of setting for example:Socket agreements, Https agreements, send the result to cell phone application and show user.
In the present embodiment, using cell phone application, TSP background systems and car-mounted terminal establish in a complete system,
Vehicle body network with internet is docked, is built into car networking.Client of the cell phone application as system, provides user's operation
Interface;Maincenter of the TSP background systems as whole system is responsible for building cell phone application to the transmission channel of car-mounted terminal, Yi Jisuo
There are the transmission, processing, security problems of data;Car-mounted terminal is then the interface for accessing vehicle network, while by vehicle network number
According to the unicom for being transferred to TSP background systems realization vehicle body network and internet.Pass through the system of above-mentioned remote control vehicle, user
Can remote control be carried out to vehicle by the APP installed on mobile phone, specifically included:Unlock or locking door open air-conditioning, are long-range
It seeks vehicle (double to dodge whistle), No starting engine, check the operations such as vehicle location.
It should be noted that call center's voice technology, i.e. background service of attending a banquet are added in the service of TSP background systems
Personnel can remotely provide user all services, including operations such as abnormal conditions processing, the changes of phone number.
The method of remote control vehicle provided through this embodiment, mobile terminal sends control to TSP background systems please
When asking, the information such as short message verification code and identity code and timestamp are carried in control data, pass through these information
The legitimacy of mobile terminal is verified, only when mobile terminal is validated user, TSP background systems can be to correspondence
Car-mounted terminal send control instruction, and send control instruction be also be encrypted after be sent to car-mounted terminal.Therefore, pass through
The method of remote control vehicle provided in this embodiment is while meeting the needs of remote control vehicle, additionally it is possible to avoid vehicle
It is illegally controlled, and then ensure that the safety of remote control.In addition, the method for remote control vehicle provided in this embodiment,
After car-mounted terminal receives control instruction, also first the validity of control instruction can be judged, only judging control instruction
Just can whether be further that safety command judges to control instruction after effective instruction, only when control instruction is safety
During instruction, car-mounted terminal can just perform the operation indicated by effective and safe control instruction, can ensure control instruction when
The safety of effect property and vehicle itself.In addition, in the present embodiment using Remote Wake Up with execution control instruction merge, using two into
Short message mode processed carrys out Remote Wake Up terminal, in addition lights a fire to start vehicle without user, makes entire control flow easier.
Embodiment three
With reference to Fig. 3, a kind of step flow chart of the method for according to embodiments of the present invention three remote control vehicle is shown.
The method of the remote control vehicle of the present invention is illustrated from car-mounted terminal side in the present embodiment, in the present embodiment
The method of remote control vehicle include the following steps:
Step S302:Car-mounted terminal receives the encrypted control instruction that TSP background systems are sent.
Wherein, mobile terminal sends remote control notification to control car-mounted terminal, remote control notification to TSP background systems
Include encrypted control instruction.
Wherein, encrypted algorithm can be selected by those skilled in the art according to actual demand, and when encryption is used
Key can also be configured by those skilled in the art according to actual demand, the present embodiment is not specifically limited this.
Step S304:Car-mounted terminal obtains the status information of current vehicle, is connect according to the judgement of the current state information of acquisition
Whether the control instruction received is safety command;After judgement control instruction is safety command, perform indicated by control instruction
Operation.
Car-mounted terminal is when whether the control instruction for judging to receive is safety command, by the state for obtaining current vehicle
Information judges the current state of vehicle, then judges that the operation that vehicle is performed in the state of current indicated by control instruction is
It is no that there is risk.Such as:The control instruction of opening car door is received when the vehicle is running, if the control for performing door opening refers to
It enables, passenger may be caused to fall down vehicle, then the control instruction of the opening car door is then judged as with risk, as dangerous
Control instruction.
The method of remote control vehicle provided through this embodiment, by establish mobile terminal, TSP background systems and
Network communication between car-mounted terminal, mobile terminal sends control instruction by TSP background systems to car-mounted terminal, by vehicle-mounted end
End performs corresponding operation according to control instruction.Due to being communicated by network in this method, not influenced by distance, thus
It can realize and the remote control of vehicle is solved the problems, such as to be limited by distance in existing vehicle control scheme.The present embodiment provides
Remote control vehicle method, after car-mounted terminal receives control instruction, whether can be also safety command to control instruction into
Row judges that only when control instruction is safety command, car-mounted terminal can just perform the operation indicated by control instruction, can
Ensure the safety of vehicle itself.Meanwhile the method for remote control vehicle provided in this embodiment, TSP background systems are to vehicle-mounted end
When end sends control instruction, sent after control instruction is encrypted according to set algorithm, vehicle can be avoided illegally to be controlled, so as to
It ensure that the safety of remote control.
Example IV
With reference to Fig. 4, a kind of step flow chart of the method for according to embodiments of the present invention four remote control vehicle is shown.
Still the method for the remote control vehicle of the present invention is illustrated from car-mounted terminal side in the present embodiment, this implementation
The method of remote control vehicle in example specifically includes following steps:
Step S402:Car-mounted terminal receive TSP background systems by set agreement send encrypted control instruction with
And timestamp.
Wherein, mobile terminal sends remote control notification to control car-mounted terminal, remote control notification to TSP background systems
Include encrypted control instruction and timestamp.What timestamp was used to indicate control instruction sends out the time.
Mobile terminal can be the terminals such as mobile phone, computer.And correspondingly APP is installed on mobile terminal.Such as:It is mobile
Terminal is mobile phone, then user can download cell phone application in android/ apples using shop, and TSP platforms are responsible for unicom cell phone application
All data communications are carried out with car-mounted terminal.
In the present embodiment, for car-mounted terminal by communicating between network and TSP background systems, mobile terminal is similarly logical
It crosses between network and TSP background systems and communicates.Mobile terminal uploads control instruction by the APP installed on mobile terminals
To TSP background systems, the control instruction that mobile terminal uploads is issued to corresponding car-mounted terminal to realize pair by TSP background systems
The remote control of vehicle.
Each car-mounted terminal is corresponding with Identity Code, such as:IMSI user identification codes, user are activating the car-mounted terminal
When, access token is generated for the car-mounted terminal in TSP background systems, the access token is by corresponding Encryption Algorithm to identity
Generation is encrypted in identification code, and access token is refreshable.At the same time, can also be car-mounted terminal in TSP background systems
Generate unique key, the key as TSP background systems in car-mounted terminal into during row data communication for encrypting or decrypt
Key.
When car-mounted terminal is non-to be logged in for the first time, mobile terminal sends the information that logs in of request to TSP background systems, after TSP
Platform system sends verification short message to car-mounted terminal, and the verification short message and access token that receive are sent to TSP by car-mounted terminal
Background system, the short message that mobile terminal is sent is verified TSP background systems and access token verifies, and realizes to car-mounted terminal
Identity multiple authentication, ensure the safety of car-mounted terminal.
Above-mentioned car-mounted terminal receives TSP background systems by setting the encrypted control instruction of agreement transmission with timely
Between stamp be to receive information when car-mounted terminal is in running order.Car-mounted terminal is also possible in sleep state, car-mounted terminal
Heartbeat packet is sent to maintain between car-mounted terminal and TSP background systems to TSP background systems according to setting time interval
The long connection of socket agreements.When TSP background systems do not receive the heartbeat packet of car-mounted terminal transmission in setting time interval
When, then illustrate that the long connection of Socket agreements is already off, car-mounted terminal is in a dormant state at this time.So TSP background systems
Then the control instruction that mobile terminal is sent could be sent to car-mounted terminal by needing first to wake up car-mounted terminal.TSP background systems exist
When waking up car-mounted terminal, achieve the purpose that wake up car-mounted terminal by sending wake-up short message to car-mounted terminal.
Step S404:Whether car-mounted terminal is had exceeded according to the control instruction that timestamp judgement receives between setting time
Every;If so, perform step S406;If it is not, then perform step S408.
Car-mounted terminal carries out overtime judgement to the control instruction received first after remote control commands are received.Example
Such as:The time interval set, if it is before 30 seconds that the time is initiated in instruction, illustrated that the control instruction had timed, out mistake as 30 seconds
The operation indicated by the operational order is not carried out in effect, car-mounted terminal.
It should be noted that above-mentioned is only the explanation carried out for 30 seconds to judging the whether overtime failure of control instruction,
During actually realizing, the setting for setting time interval, those skilled in the art can be set according to actual demand
It is fixed, it is not limited to which that is enumerated in the present embodiment is set to time interval 30 seconds.
Step S406:When the control instruction that car-mounted terminal is judged to receive has exceeded setting time interval, then refuse
Perform the operation indicated by control instruction.
Control instruction is judged beyond setting time interval in car-mounted terminal, and refusal performs the operation indicated by control instruction
When, the information that can also will refuse operation is sent to TSP background systems by Socket agreements, and TSP background systems are by the information
Mobile terminal APP is sent to after encryption and is prompted to user.
Step S408:When car-mounted terminal judges the control instruction received without departing from setting time interval, then obtain
Whether the status information of current vehicle is safety command according to the control instruction that the judgement of the current state information of acquisition receives
Operation;Operation after judgement control instruction is safety command, indicated by execution control instruction.
It can be according to vehicle's current condition before the remote control commands that the mobile terminal that car-mounted terminal is received in processing is sent
The operational order is judged, the control instruction that such as receives, which violates safe driving car-mounted terminal and will abandon performing the control, to be referred to
Enable performed operation.And if the control instruction received is safety command, perform the operation indicated by control instruction.
The method of remote control vehicle provided in the present embodiment connects mobile terminal, TSP background systems, car-mounted terminal
It is connected together, there are binding relationships with car-mounted terminal for mobile terminal, operate binding in mobile terminal by user, mobile terminal passes through
The APP of installation sends out remote control vehicle data information to TSP background systems, while the car-mounted terminal of specified execute instruction, TSP
Background system is responsible for control instruction being transferred to target car-mounted terminal, and target car-mounted terminal can will perform after receiving control instruction
As a result former road is fed back on mobile terminal, so as to form the operation flow of the remote control vehicle of a closed loop.
Using the method for remote control vehicle provided in the present embodiment, when user is not near vehicle, mobile terminal
The APP of upper installation can be communicated instead of car key with the car-mounted terminal installed on vehicle, by car-mounted terminal control vehicle with
Realize the remote control to vehicle.Such as:It, can be by mobile whole when user looks for the vehicle less than oneself in of such a size parking lot
The APP installed on end initiates remotely to seek vehicle instruction, and the car-mounted terminal installed on vehicle can be controlled automatically after receiving the control instruction
Vehicle processed is double to dodge whistle.
The method of remote control vehicle provided in this embodiment will carry out multiple authentication to the identity of car-mounted terminal, and
Using the cipher key distribution mechanisms and Encryption Algorithm of setting, biography is all encrypted into the communication between TSP background systems and car-mounted terminal
It is defeated, ensure the safety of whole system.In addition, on the one hand, the method for remote control vehicle provided in this embodiment, vehicle-mounted end
End also is made whether to surpass when receiving the control instruction that mobile terminal is sent by TSP background systems to control operational order
When logic judgment, only when control instruction is in effective period of time, that is, control instruction it is effective when, just can further perform and hold
Row it is subsequent whether be safety command judgement, can ensure the timeliness of performed control instruction.On the other hand, this implementation
The method for the remote control vehicle that example provides is additionally provided with safety decision logic in car-mounted terminal, for the current shape of vehicle
State judges the safety of control instruction, only performs safe control instruction, can ensure the safety of vehicle itself.
Embodiment five
With reference to Fig. 5, a kind of structure diagram of according to embodiments of the present invention five TSP background systems is shown.
TSP background systems in the present embodiment include:Receiving module 502, for receiving the long-range control of mobile terminal transmission
System request;Wherein, remote control notification includes:Short message verification code, identity code and control instruction;Authentication module 504 is used
Legitimate verification is carried out to mobile terminal in foundation short message verification code and identity code;Searching module 506, for being moved when judgement
When dynamic terminal is validated user, the authentication code of car-mounted terminal corresponding with the identity code received is searched;Sending module
508, for after the corresponding car-mounted terminal of authentication code for determining to find is in running order, the control received to be referred to
Car-mounted terminal is sent to after enabling encryption, so that car-mounted terminal is after judgement control instruction is safety command, execution control instruction institute
The operation of instruction.
Preferably, the TSP background systems in the present embodiment further include:Judgment module 510, for true in sending module 508
Surely before the corresponding car-mounted terminal of authentication code that finds is in running order, judge authentication code corresponding vehicle-mounted end
Whether end is in sleep state;First execution module 512, for the judging result of judgment module for be when, to car-mounted terminal
It sends encrypted wake up to instruct, car-mounted terminal is transferred to working condition from sleep state;Second execution module 514, for
When the judging result of judgment module is no, determine that car-mounted terminal is in running order.
Preferably, remote control notification further includes:Timestamp;After sending module 508 encrypts the control instruction received
Car-mounted terminal is sent to, so that car-mounted terminal is after judgement control instruction is safety command, the behaviour indicated by execution control instruction
When making, car-mounted terminal will be sent to by setting agreement after the control instruction received and timestamp encryption, so that vehicle-mounted end
End is the operation effectively and after the instruction of safety, indicated by execution control instruction in judgement control instruction;Wherein, car-mounted terminal
In the operation after judging control instruction for effective and safety instruction, indicated by execution control instruction:Judged according to timestamp
Whether the control instruction has exceeded setting time interval;If so, refusal performs the operation indicated by control instruction;If it is not,
Then judge whether control instruction is safety command according to current vehicle condition information;If judging control instruction for safety command,
Perform the operation indicated by control instruction;If judging control instruction for non-secure instruction, refuse to perform indicated by control instruction
Operation.
The TSP background systems of the present embodiment are used to implement in preceding method embodiment one, embodiment two corresponding long-range control
The method of vehicle processed, and the advantageous effect implemented with corresponding method, details are not described herein.
Embodiment six
With reference to Fig. 6, a kind of structure diagram of according to embodiments of the present invention six car-mounted terminal is shown.
Car-mounted terminal in the present embodiment includes:Receiving module 602, after receiving the encryption of TSP background systems transmission
Control instruction;Wherein, mobile terminal sends remote control notification to control car-mounted terminal, remote control to TSP background systems
Request includes encrypted control instruction;Acquisition module 604, for obtaining the status information of current vehicle;Judgment module
606, whether the control instruction for being received according to the judgement of the current state information of acquisition is safety command;Operation executing module
608, for the operation after judgment module 606 judges control instruction for safety command, indicated by execution control instruction.
Preferably, it is further included in remote control notification:Timestamp;Receiving module 602 receives adding for TSP background systems transmission
During control instruction after close, TSP background systems are received by setting the encrypted control instruction and timestamp that agreement is sent;
Car-mounted terminal in the present embodiment further includes:Time judgment module 610, for obtaining the shape of current vehicle in acquisition module 604
Before state information, judge whether control instruction has exceeded setting time interval according to timestamp;Refuse module 612, for when
Between judgment module 610 judging result for be when, refusal perform control instruction indicated by operation;Calling module 614, for
The judging result of time judgment module is when being, calls acquisition module 604.
The car-mounted terminal of the present embodiment is used to implement in preceding method embodiment three, example IV corresponding remote control vehicle
Method, and with corresponding method implement advantageous effect, details are not described herein.
Each embodiment in this specification is described by the way of progressive, the highlights of each of the examples are with
The difference of other embodiment, just to refer each other for identical similar part between each embodiment.For system embodiment
For, since it is basicly similar to embodiment of the method, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation
It defends oneself bright.
Above to the method for remote control vehicle provided by the present invention, TSP background systems and car-mounted terminal, carry out
It is discussed in detail, specific case used herein is expounded the principle of the present invention and embodiment, above example
Illustrate to be merely used to help understand method and its core concept of the invention;Meanwhile for those of ordinary skill in the art, according to
According to the thought of the present invention, there will be changes in specific embodiments and applications, in conclusion the content of the present specification
It should not be construed as limiting the invention.