Summary of the invention
The present invention provides a kind of vehicle remote method for refreshing and devices, carry out remotely to solve vehicle in the prior artWhen refreshing, it is easy that vehicle periphery personnel is made to lead to the problem of fear.
In order to solve the above-mentioned technical problem, the present invention adopts the following technical scheme:
According to one aspect of the present invention, a kind of vehicle remote method for refreshing is provided, comprising:
Receive the remote reflash request that remote platform is sent;
It is requested according to the remote reflash, obtains the working condition of vehicle;
When the stationary vehicle described in the working status indication of the vehicle, control vehicle opens prohibiting function;
It is requested according to the remote reflash, obtains and refresh object;
According to controller type belonging to the refreshing object, the refreshing object is refreshed.
Further, when the stationary vehicle described in the working status indication of the vehicle, control vehicle unlatching is forbiddenThe step of function includes:
When the working condition of the vehicle is sleep state, the vehicle is waken up;
When the vehicle is waken up successfully, the gateway for controlling the vehicle forbids local refreshing, controls the vehicleEntire car controller forbids opening the normal electric controller closing normal function of drive mode, the control vehicle, wherein described normalFunction is the function under normal mode.
Further, when the stationary vehicle described in the working status indication of the vehicle, control vehicle unlatching is forbiddenThe step of function includes:
The vehicle working condition be non-sleep state, and the speed of the vehicle be less than speed threshold value when, controlThe gateway for making the vehicle forbids local refresh requests, the entire car controller of the control vehicle is forbidden opening drive mode, controlThe normal electric controller for making the vehicle closes normal function, wherein the normal function is the function under normal mode.
Further, the controller type according to belonging to the refreshing object, refreshes the refreshing objectThe step of include:
Obtain controller type belonging to the refreshing object;
If the controller type is normal electric controller, the refreshing object is refreshed.
Further, after described the step of refreshing to the refreshing object, further includes:
Obtain the refreshing progress that the refreshing object is refreshed;
When the refreshing tempo instructions are completed to refresh, the controller in non-sleep state of the vehicle is answeredPosition, and when the vehicle enters sleep state, control vehicle closes prohibiting function.
Further, after the controller type belonging to the acquisition refreshing object, further includes:
If the controller type is ignition switch electric controller, ON is set by the ignition switch gear of the vehicleShelves;
The ignition switch electric controller for controlling the vehicle closes normal function, and refreshes to the refreshing object.
Further, normal function is closed in the ignition switch electric controller of the control vehicle, and to the brushAfter the step of new object is refreshed, further includes:
Obtain the refreshing progress that the refreshing object is refreshed;
When the refreshing tempo instructions are completed to refresh, the controller in non-sleep state of the vehicle is answeredPosition;
OFF grades are set by the ignition switch gear of the vehicle, opens the normal of the ignition switch electric controller, andWhen the vehicle enters sleep state, control vehicle closes prohibiting function.
Another aspect according to the present invention provides a kind of vehicle remote refreshing apparatus, comprising:
Receiving module, for receiving the remote reflash request of remote platform transmission;
First obtains module, for requesting according to the remote reflash, obtains the working condition of vehicle;
Control module, when for stationary vehicle described in the working status indication in the vehicle, control vehicle unlatching is forbiddenFunction;
Second obtains module, for being requested according to the remote reflash, obtains and refreshes object;
Refresh module refreshes the refreshing object for the controller type according to belonging to the refreshing object.
Further, the control module includes:
Wakeup unit, for the working condition in the vehicle be sleep state when, the vehicle is waken up;
First control unit, for when the vehicle is waken up successfully, the gateway for controlling the vehicle to forbid this scrubbing brushNewly, the entire car controller for controlling the vehicle is forbidden opening drive mode, controls the normal electric controller closing of the vehicle normallyFunction, wherein the normal function is the function under normal mode.
Further, the control module includes:
Second control unit is non-sleep state, and the speed of the vehicle for the working condition in the vehicleWhen less than speed threshold value, the gateway for controlling the vehicle forbids the entire car controller of local refresh requests, the control vehicle to prohibitDrive mode is only opened, the normal electric controller for controlling the vehicle closes normal function, wherein the normal function is normal modeFunction under formula.
Further, the refresh module includes:
First acquisition unit, for obtaining controller type belonging to the refreshing object;
First refresh unit refreshes the refreshing object if being normal electric controller for the controller type.
Further, the refresh module further include:
Second acquisition unit, the refreshing progress refreshed for obtaining the refreshing object;
First reset unit is used for when the refreshing tempo instructions are completed to refresh, to the vehicle in non-sleepThe controller of state is resetted, and when the vehicle enters sleep state, and control vehicle closes prohibiting function.
Further, the refresh module further include:
Switch unit, if being ignition switch electric controller for the controller type, by the ignition switch of the vehicleGear is set as ON grades;
Second refresh unit, the ignition switch electric controller for controlling the vehicle close normal function, and to describedRefresh object to be refreshed.
Further, the refresh module further include:
Third acquiring unit, the refreshing progress refreshed for obtaining the refreshing object;
Second reset unit is used for when the refreshing tempo instructions are completed to refresh, to the vehicle in non-sleepThe controller of state is resetted;
Third reset unit opens the ignition switch for setting OFF grades for the ignition switch gear of the vehicleThe normal function of electric controller, and when the vehicle enters sleep state, control vehicle closes prohibiting function.
The beneficial effects of the present invention are:
Above-mentioned technical proposal opens vehicle when needing to carry out remote reflash to vehicle receiving remote reflash requestProhibiting function, so as to avoid during refreshing to vehicle, windscreen wiper, air-conditioning, light of vehicle etc. are automatically turned on,When solving vehicle progress remote reflash in the prior art, it is easy that vehicle periphery personnel is made to lead to the problem of fear.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawingExemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth hereIt is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present inventionIt is fully disclosed to those skilled in the art.
As shown in Figure 1, the embodiment of the invention provides a kind of vehicle remote method for refreshing, the vehicle remote method for refreshing packetIt includes:
S11: the remote reflash request that remote platform is sent is received;
It should be noted that remote platform is used for the remote reflash of vehicle;Vehicle receives remote platform by local terminalThe request refreshed for vehicle remote sent, as remote reflash is requested;Local terminal is that may be coupled to long-range put down on vehicleThe electronic equipment of platform and vehicle network.
S12: requesting according to remote reflash, obtains the working condition of vehicle;
It should be noted that the working condition of vehicle includes sleep state and non-sleep state;Wherein under sleep state, vehicleIn static, each controller is in sleep state in vehicle, maintains lower power consumption.Whether vehicle is located under non-sleep stateIt can be determined in conjunction with speed in stationary state.
S13: in the working status indication stationary vehicle of vehicle, control vehicle opens prohibiting function;
It should be noted that carrying out remote reflash will not influence the traffic safety of vehicle when stationary vehicle.Vehicle drivingIn the process, if carrying out remote reflash will seriously affect the traffic safety of vehicle.After vehicle opens prohibiting function, it will forbid on vehicleThe function of controller in the normal mode, so that vehicle only has the function of under refresh mode;Such as vehicle opens prohibiting functionAfterwards, only retain communication function and refresh function, that is, after vehicle opens prohibiting function, have no effect on the refreshing of vehicle, butWindscreen wiper, air-conditioning, light etc. can be caused to automatically turn on to avoid the automatic opening of controller normal function on vehicle.
S14: requesting according to remote reflash, obtains and refreshes object;
It should be noted that carrying the information for refreshing object, the wherein information of the refreshing object in remote reflash requestController type belonging to identity and refreshing object including refreshing object etc., refreshes what object namely needed to refreshController.
S15: according to controller type belonging to object is refreshed, refresh to object is refreshed.
It should be noted that refresh object be controller, belonging to controller type can for normal electric controller can alsoThink ignition switch controller;Wherein ignition switch controller is also referred to as using the controller of KL15 electricity, i.e. vehicle passes through a littleAfter fiery signal enabling, vehicle is in the controller that can just use under driving mode.
In the embodiment of the present invention, vehicle is opened when needing to carry out remote reflash to vehicle receiving remote reflash requestProhibiting function, so as to avoid during refreshing to vehicle, windscreen wiper, air-conditioning, light of vehicle etc. are opened automaticallyIt opens, when solving vehicle progress remote reflash in the prior art, is easy that vehicle periphery personnel is made to lead to the problem of fear.
As shown in Fig. 2, implementing in order to avoid the automatic starting of some functions in vehicle remote refresh process in foregoing inventionIt on the basis of example, in the embodiment of the present invention, is requested according to remote reflash, controlling the step of vehicle opens prohibiting function includes:
S21: when the working condition of vehicle is sleep state, vehicle is waken up;
It should be noted that waken up to vehicle, typically refer to wake up the normal electric controller of vehicle, entire car controller andGateway;By normal electric controller, entire car controller and gateway from sleep pattern, it is converted into non-sleep mode.It here can will be remoteJourney refresh requests are used as to vehicle wake request.Such as it is asked by the remote reflash that local terminal continuously transmitted for the first predetermined timeIt asks, after normal electric controller, entire car controller and the gateway of vehicle receive remote reflash request, starts to wake up.
S22: when vehicle is waken up successfully, the gateway for controlling vehicle forbids the local full-vehicle control for refreshing, controlling vehicleDevice forbids the normal electric controller closing normal function opened drive mode, control vehicle, and wherein normal function is under normal modeFunction.
It should be noted that normal electric controller, gateway and entire car controller are in the second pre- timing if vehicle is waken up successThe interior remote reflash that receives requests then to need to forbid respective normal function, if not receiving again within second scheduled time long-rangeRefresh requests, illustrate and non-required remote reflash, can open respective normal function at this time.After forbidding normal function, oftenElectric controller only retains communication function and refresh function, and gateway forbids local refreshing, and entire car controller is forbidden opening driving mouldFormula.Here can by local terminal within 2 second time the period send remote reflash request, can both guarantee refresh it is smooth intoRow, while not will increase load when refreshing.
The operating mode of normal electric controller is generally divided into normal mode and refresh mode, wherein has the control under normal modeThe normal function of device processed, such as the controller for controlling windscreen wiper is in the normal mode, has the function of that controlling windscreen wiper swings back and forth;AndUnder refresh mode, does not then have the function that control windscreen wiper swings back and forth, only there is communication function and refresh function.
Certain vehicle carries out being likely to be at non-sleep state when remote reflash, is non-sleep in the working condition of vehicleState, and the speed of vehicle be less than speed threshold value when, control gateway forbid local refresh requests, control entire car controller forbidDrive mode is opened, the normal electric controller for controlling vehicle closes normal function, and wherein normal function is the function under normal mode.
In order to promote serious forgiveness, which can be 3 kilometer per hours, but not limited to this.
As shown in figure 3, on the basis of above-mentioned each inventive embodiments, in the embodiment of the present invention, according to belonging to refreshing objectController type, to refresh object refresh the step of include:
S31: it obtains and refreshes controller type belonging to object;
Refresh controller type belonging to object it should be noted that determining according to vehicle to the classification of each controller.
S32: if controller type is normal electric controller, refresh to object is refreshed.
It should be noted that for guarantee this refresh reliability, need after refreshing to the controller of vehicle intoRow resets operation, refreshes the refreshing progress that object is refreshed specifically, obtaining;
When refreshing tempo instructions completion refreshing, the controller in non-sleep state of vehicle is resetted, andWhen vehicle enters sleep state, control vehicle closes prohibiting function.When vehicle is waken up from sleep state, unlocking vehicle is forbiddenFunction closes the prohibiting function of vehicle when vehicle reenters sleep state.Guarantee that vehicle is remotely brushed after being waken upIn new process, windscreen wiper, air-conditioning, light of vehicle etc. is avoided to automatically turn on, and not influenced after vehicle is waken up next timeNormal operating.By during the adjacent sleep state twice of vehicle, as a process cycle.
As shown in figure 4, in the embodiment of the present invention, refreshing object institute obtaining on the basis of above-mentioned each inventive embodimentsAfter the controller type of category, further includes:
S41: if controller type is ignition switch electric controller, ON grades are set by the ignition switch gear of vehicle;
It should be noted that ignition switch controller is also referred to as using the controller of KL15 electricity, i.e. vehicle passes through ignitingAfter signal enabling, vehicle is in the controller that can just use under drive mode.Ignition signal can be specifically sent, and is receivedIt lights a fire successful feedback signal.When ignition switch is ON grades, to open gear, ignition switch is in ON grades, and vehicle will be in rowVehicle mode.
S42: the ignition switch electric controller for controlling vehicle closes normal function, and refreshes to object is refreshed.
It should be noted that only retaining the communication function and refresh function of ignition switch controller.Preferably, in control vehicleIgnition switch electric controller close normal function, and to refresh object refresh the step of after, obtain refresh objectThe refreshing progress refreshed;
When refreshing tempo instructions completion refreshing, the controller in non-sleep state of vehicle is resetted;
Set OFF grades for the ignition switch gear of vehicle, open the normal of ignition switch electric controller, and vehicle intoWhen entering sleep state, control vehicle closes prohibiting function.
As shown in figure 5, being a kind of application schematic diagram of vehicle remote method for refreshing provided in an embodiment of the present invention, comprising:
S501: local terminal receives remote reflash request;
S502: judging whether vehicle is in sleep state, S507 is executed if in sleep state, if being not at sleep shapeState then executes S503;
S503: remote reflash request is sent to entire car controller;
S504: judge whether to meet flush condition;S506 is executed if meeting flush condition, if not meeting flush conditionExecute S505;
S505: transmission forbids remotely operating information to remote platform;
S506: Xiang Gechang electric controller, gateway and entire car controller send remote reflash request;It can continuously transmit 2 secondsClock;
S507: when judging that vehicle is in sleep state, Xiang Gechang electric controller, gateway and entire car controller send long-range brushNew request;It can continuously transmit 2 seconds;
S508: gateway, each normal electric controller and entire car controller are waken up;
S509: gateway, each normal electric controller and entire car controller judge whether to receive remote reflash in the given timeRequest, the predetermined time can be 500 milliseconds;If so then execute S511, S512 and S513;If otherwise executing S510;
S510: vehicle is in normal wakeup, normally-open function;
S511: gateway forbids local refresh operation to request;
S512: often each controller of electricity closes normal execution function;
S513: entire car controller forbids drive mode to start;
S514: judging whether to need to open ignition switch, if so then execute S515, if otherwise executing S527;
S515: it sends ignition switch and opens request;
S516: it receives ignition switch and starts successful feedback information;
S517: remote reflash request is sent to ignition switch controller;
S518: judging whether ignition switch controller receives remote reflash request in the given time, if so then executeS519;If the otherwise normally-open function of control point fire switch controller;
S519: ignition switch controller closes normal execution function;
S520: start remote reflash process;
S521: judging whether this refreshing is completed, if so then execute S522 and S523, if otherwise executing S520;
S522: remote terminal, which is sent, closes remote reflash request;
S523: all controllers are controlled and execute the service of reset;
S524: ignition switch turn-off request is sent;
S525: it receives ignition switch and closes successfully feedback;
S526: all controllers remain turned-off the normal function that executes until vehicle enters sleep state;
S527: start remote reflash process;
S528: judging whether this refreshing is completed, if so then execute S529, if otherwise executing S527;
S529: all controllers are controlled and execute the service of reset;
S530: remote terminal, which is sent, closes remote reflash request;S529 and S530 can be carried out simultaneously;
S531: all controllers remain turned-off the normal function that executes until vehicle enters sleep state.
As shown in fig. 6, another aspect according to the present invention, provides a kind of vehicle remote refreshing apparatus, the vehicle is remoteJourney refreshing apparatus includes:
Receiving module 61, for receiving the remote reflash request of remote platform transmission;
First acquisition module 62 obtains the working condition of vehicle for requesting according to remote reflash;
Control module 63, when for stationary vehicle described in the working status indication in the vehicle, control vehicle, which is opened, to be prohibitedOnly function;
Second obtains module 64, for being requested according to remote reflash, obtains and refreshes object;
Refresh module 65, for refreshing to object is refreshed according to controller type belonging to object is refreshed.
Wherein control module 63 includes:
Wakeup unit 631, for the working condition in vehicle be sleep state when, vehicle is waken up;
First control unit 632, the gateway for when vehicle is waken up successfully, controlling vehicle forbid local refreshing, controlThe entire car controller of vehicle processed forbids the normal electric controller closing normal function opened drive mode, control vehicle, wherein normallyFunction is the function under normal mode.
Second control unit 633 is non-sleep state for the working condition in vehicle, and the speed of vehicle is less than vehicleWhen fast threshold value, control gateway forbids local refresh requests, control entire car controller to forbid opening drive mode, controls the normal of vehicleElectric controller closes normal function, and wherein normal function is the function under normal mode.
Preferably, refresh module 65 includes:
First acquisition unit 651 refreshes controller type belonging to object for obtaining;
First refresh unit 652 refreshes if being normal electric controller for controller type to object is refreshed.
Second acquisition unit 653, for obtaining the refreshing progress for refreshing object and being refreshed;
First reset unit 654, for when refreshing tempo instructions and completing to refresh, to vehicle in non-sleep stateController is resetted, and when vehicle enters sleep state, and control vehicle closes prohibiting function.
Switch unit 655 sets the ignition switch gear of vehicle if being ignition switch electric controller for controller typeIt is set to ON grades;
Second refresh unit 656, the ignition switch electric controller for controlling vehicle close normal function, and to refreshing pairAs being refreshed.
Third acquiring unit 657, for obtaining the refreshing progress for refreshing object and being refreshed;
Second reset unit 658, for when refreshing tempo instructions and completing to refresh, to vehicle in non-sleep stateController is resetted;
It is automatically controlled to open ignition switch for setting OFF grades for the ignition switch gear of vehicle for third reset unit 659The normal function of device processed, and when vehicle enters sleep state, control vehicle closes prohibiting function.
In the embodiment of the present invention, vehicle is opened when needing to carry out remote reflash to vehicle receiving remote reflash requestProhibiting function, so as to avoid during refreshing to vehicle, windscreen wiper, air-conditioning, light of vehicle etc. are opened automaticallyIt opens, when solving vehicle progress remote reflash in the prior art, is easy that vehicle periphery personnel is made to lead to the problem of fear.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows basesThis creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted asIncluding preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to byOne entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operationBetween there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaningCovering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrapThose elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, articleOr the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limitedElement, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.