Control method for vehicle, device and vehicle
Technical field
The present embodiments relate to car networking technology field, particularly relate to a kind of control method for vehicle,
Device and vehicle.
Background technology
Along with gradually popularizing of vehicle, it is more higher that vehicle is proposed by increasing user
Requirement, it is desirable to be able to intellectuality as far as possible, reduces the manual operation in driving procedure, convenient driving
Member is also further ensured that traffic safety.
During realizing the present invention, inventor finds to exist in prior art following asking
Topic: in the driving process of current vehicle, runs into certain situation when needing to close vehicle window, only
Can be switched or by the way of rocking bar by operation window lifting, and this mode needs vehicle driver
While paying close attention to surface conditions, carrying out corresponding operating, which increasing vehicle driver and operate negative
Load, and also have impact on traffic safety.
Summary of the invention
The purpose that the embodiment of the present invention is possible is: provide a kind of control method for vehicle, device and car
, operate burden alleviating vehicle driver, it is ensured that traffic safety.
First aspect, a possible embodiment of the present invention provides a kind of control method for vehicle,
Including: obtain the current weather information in vehicular seat territory;According to described current weather information,
Judge whether the vehicle window needing to close described vehicle;If desired, then to controlling described window lifting
Electronic control unit send instruction, instruction close described vehicle vehicle window.
Second aspect, a possible embodiment of the present invention provides a kind of controller of vehicle,
Including: acquisition module, for obtaining the current weather information in vehicular seat territory;Judge module,
For according to described current weather information, it may be judged whether need to close the vehicle window of described vehicle;Hold
Row module, if the judged result for described judge module is needs, then to controlling described vehicle window
The electronic control unit of lifting sends instruction, and the vehicle window of described vehicle is closed in instruction.
The third aspect, a possible embodiment of the present invention provides a kind of vehicle, and it includes
Above-mentioned controller of vehicle.
By at least one embodiment of the embodiment of the present invention, the relevant treatment parts of vehicle are such as
First central control system can obtain the current weather information in vehicular seat territory;Current by this
Weather information judges whether the vehicle window needing intelligence to close vehicle, if it is desired, as according to current
Weather information instruction current weather is sleety weather, then need intelligence to close the vehicle window of vehicle;?
In the case of determining that needs intelligence closes vehicle window, send out to the electronic control unit controlling window lifting
Instruction is sent to close vehicle window with instruction.By the embodiment of the embodiment of the present invention, vehicle can root
Vehicle window is closed, it is not necessary to driver's manual operation controls, and has both alleviated vehicle according to weather condition intelligence
The operation burden of driver, improves again traffic safety.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of a kind of control method for vehicle of the embodiment of the present invention one;
Fig. 2 is the flow chart of steps of a kind of control method for vehicle of the embodiment of the present invention two;
Fig. 3 is the structured flowchart of a kind of controller of vehicle of the embodiment of the present invention three;
Fig. 4 is the structured flowchart of a kind of controller of vehicle of the embodiment of the present invention four;
Fig. 5 is the structural representation of a kind of vehicle control apparatus of the embodiment of the present invention five.
Detailed description of the invention
Below in conjunction with the accompanying drawings and embodiment, the detailed description of the invention of the application is made the most in detail
Explanation.Following example are used for illustrating the application, but are not limited to scope of the present application.
Only it will be understood by those skilled in the art that terms such as " first ", " second " in the application
For distinguishing different step, equipment or module etc., neither represent any particular technology implication, also
Do not indicate that the inevitable logical order between them.
Embodiment one
With reference to Fig. 1, it is shown that the step stream of a kind of control method for vehicle of the embodiment of the present invention one
Cheng Tu.
The control method for vehicle of the present embodiment comprises the following steps:
Step S102: obtain the current weather information in vehicular seat territory.
In the embodiment of the present invention, it is automatic that current weather information may be used for deciding whether to trigger vehicle window
Shutdown mechanism.Because each vehicle present position has region, if this vehicle is at Haidian District Beijing,
Or, this vehicle is in certain city etc. of certain province.Therefore, only with the current weather letter obtaining this region
Cease.
Step S104: according to current weather information, it may be judged whether need to close the vehicle window of vehicle.
Time as fine in weather, it is not necessary to close vehicle window;If current weather information is designated as sleet shape
State, or, will sleet state, then can close vehicle window.
Step S106: if judging the vehicle window needing to close vehicle, then to controlling window lifting
Electronic control unit sends instruction, and the vehicle window of vehicle is closed in instruction.
ECU (Electronic Control Unit, electronic control unit), also known as " driving electricity
Brain ", " vehicle-mounted computer " etc., it is believed that be vehicle dedicated microcomputer controller.It can be by micro-
Processor, memorizer, input/output interface, analog-digital converter and shaping, driving etc. are big
Scale integrated circuit forms.In the embodiment of the present invention, can be by middle control (central authorities' control of vehicle
System processed) send instruction to ECU;After receiving this instruction, ECU again to lift truck
The relay that window is relevant sends corresponding instruction;This relay driving electric machine rotates, and is closing
Under the instruction of vehicle window, motor rotation, so that vehicle window rises, closes vehicle window.
By the control method for vehicle of the present embodiment, the relevant treatment parts of vehicle control such as central authorities
First system can obtain the current weather information in vehicular seat territory;By this current weather information
Judge whether the vehicle window needing intelligence to close vehicle, if it is desired, as according to current weather information
Instruction current weather is sleety weather, then need intelligence to close the vehicle window of vehicle;Determining needs
In the case of intelligence closes vehicle window, send instruction to indicate pass to the ECU controlling window lifting
Close vehicle window.By the control method for vehicle of the present embodiment, vehicle can be according to weather condition intelligence
Closing vehicle window, it is not necessary to driver's manual operation controls, the operation both having alleviated vehicle driver is born
Load, improves again traffic safety.
Embodiment two
With reference to Fig. 2, it is shown that the step stream of a kind of control method for vehicle of the embodiment of the present invention two
Cheng Tu.
In the present embodiment, as a example by the middle control (central control system) using vehicle, to this
The control method for vehicle of bright embodiment illustrates.But it should be understood by those skilled in the art that
In actual application, being not limited to the middle control of vehicle, other has disposal ability device or equipment is also same
Sample is suitable for.
The control method for vehicle of the present embodiment comprises the following steps:
Step S202: control the display screen display vehicle window control by being arranged in vehicle in vehicle
The mode option processed.
In a kind of feasible pattern, display screen is touching display screen curtain, and user can directly exist
Carry out input operation on this display screen, select corresponding vehicle window control model option.Wherein,
Vehicle window control model option is used for indicating which kind of Schema control window lifting Current vehicle uses, than
As, pattern or transfer to the automatic control mode that vehicle automatically controls manually.The present invention is real
Execute the window lifting operation that example is paid close attention under automatic control mode, to pattern manually no longer
Repeat.
Vehicle window control model option can realize in any suitable manner, such as button-pressing way, clicks
Mode etc., this is not restricted by the embodiment of the present invention.
Additionally, vehicle window control model can also use alternate manner to arrange, as passed through vehicle remote control
Key, or, by the physical button etc. being arranged on vehicle.
Step S204: in vehicle, control receives user by display screen to vehicle window control model
Arrange.
In the embodiment of the present invention as a example by vehicle window control model is set to automatic control mode.
It should be noted that step S202-S204 is optional step, by step S202-S204
Provide the user more flexible vehicle window control model and selected operation, improve the driving body of user
Test.But in actual applications, it is also possible to omitting above-mentioned steps S202-S204, system default sets
Put and be automatic control mode.
Step S206: in vehicle, control judges that whether the vehicle window control model of vehicle is for automatically controlling
Pattern;If automatic control mode, then perform step S208;If not automatic control mode,
Then terminate this flow process.
Wherein, automatic control mode is for indicating vehicle to automatically control vehicle window according to Weather information
Lifting.Judgement for vehicle window control model can use every one section of setting time interval judgement,
Can also reach the trigger condition of setting, as judged, vehicle just sails new district into from an area row
Judge during territory, it is also possible to using other appropriate ways, this is not restricted by the embodiment of the present invention.
It should be noted that if system default is set to automatic control mode, then this step is permissible
Omit, directly perform step S208 obtains the step of the current weather information in vehicular seat territory
Suddenly.
Step S208: if automatic control mode, then in vehicle, control obtains vehicular seat territory
Current weather information.
In the case of starting automatic control mode, window lifting is independently controlled by vehicle,
Can be by the monitoring of weather condition and judgement be decided whether lifting window.
Wherein, the current weather information obtaining vehicular seat territory includes but not limited to: via carrying
The data access interface provided for the website of Weather information, obtain vehicular seat territory works as the day before yesterday
Gas information;And/or, access the Weather information that car networking background server provides, therefrom obtain
The current weather information in vehicular seat territory;And/or, provide from car networking background server
In weather data source, obtain the current weather information in vehicular seat territory.
By vehicle present position as a example by Haidian District, Beijing City, if vehicle is currently from Chaoyang District row
Sail to Haidian District, and set the automatic control mode of vehicle glazing, current time 10:30AM,
If it is current just in rainfall that the Weather information obtained is Haidian District, can be according to automatically controlling mould by vehicle
Formula performs subsequent operation, is automatically switched off vehicle window, it is not necessary to artificial Attended Operation.
Acquisition to current weather information can obtain in real time, it is also possible at interval of certain period of time
Rear acquisition, it is also possible to reaching the trigger condition of setting, vehicle is just from an area row as judged
Judge when sailing new region into, it is also possible to using other appropriate ways, the embodiment of the present invention is to this not
It is restricted.
Step S210: control in vehicle according to current weather information, it may be judged whether need to close car
Vehicle window;If desired, then step S212 is performed;If need not, then return step S206
Continue executing with.
As described in step S208, with current just in rainfall in the present embodiment, need to close car
As a example by window.
Step S212: if desired close the vehicle window of vehicle, in vehicle, steering controls window lifting
ECU send instruction, instruction close vehicle vehicle window.
In a kind of feasible pattern, vehicle controls the ECU of window lifting by the middle steering of vehicle
After sending instruction, ECU send instruction according to instruction to relay and rotate with driving electric machine,
Vehicle window is closed by the rotation of motor.
In power-operated window system, can include vehicle window, glass regulator, motor,
The device such as relay and ECU.Wherein, vehicle window generally uses bidirectional permanent magnetic or coiling (winding
Tandem) motor, every vehicle window is provided with a motor by its sense of current of on-off control.
Vehicle window, during closing, after ECU receives corresponding instruction, sends to relay
Instruction, relay sends instructions to motor then, and instruction motor rotation is to drive glass for vehicle window
Lifter realizes window lifting.In the present embodiment, mainly realize vehicle window intelligence by rise vehicle window
Close.
By the present embodiment, vehicle can cut out vehicle window according to weather condition intelligence, it is not necessary to drives
Member's manual operation controls, and had both alleviated the operation burden of vehicle driver, and had improve again driving peace
Entirely.Additionally, the present embodiment has also provided the user vehicle window control model set-up mode flexibly,
To improve the driving experience of user.
It will be understood by those skilled in the art that in the said method of the application detailed description of the invention,
The sequence number size of each step is not meant to the priority of execution sequence, and the execution sequence of each step should
Determine with its function and internal logic, and should be to the implementation process of the application detailed description of the invention
Constitute any restriction.
Embodiment three
With reference to Fig. 3, it is shown that the structural frames of a kind of controller of vehicle of the embodiment of the present invention three
Figure.
The controller of vehicle of the present embodiment includes: acquisition module 302, is used for obtaining vehicle institute
Current weather information in region;Judge module 304, for according to current weather information, sentences
Disconnected the need of the vehicle window closing vehicle;Perform module 306, if for judge module 304
Judged result for needing, then sends instruction to the ECU controlling window lifting, and car is closed in instruction
Vehicle window.
The controller of vehicle of the present embodiment could be arranged in the middle control of vehicle, it would however also be possible to employ
Independent chip is arranged, but is not limited to this, and those skilled in the art can also use other any
Appropriate ways.
By the present embodiment, first the relevant treatment parts such as central control system of vehicle can obtain
The current weather information in vehicular seat territory;Judge whether to need intelligence by this current weather information
The vehicle window of vehicle can be closed, if it is desired, as according to current weather information instruction current weather being
Sleety weather, then need intelligence to close the vehicle window of vehicle;Intelligence is needed to close vehicle window determining
In the case of, send instruction to the ECU controlling window lifting and close vehicle window with instruction.By this
Embodiment, vehicle can cut out vehicle window according to weather condition intelligence, it is not necessary to driver's manual operation
Control, both alleviated the operation burden of vehicle driver, and improve again traffic safety.
Embodiment four
With reference to Fig. 4, it is shown that the structural frames of a kind of controller of vehicle of the embodiment of the present invention four
Figure.
The controller of vehicle of the present embodiment includes: acquisition module 402, is used for obtaining vehicle institute
Current weather information in region;Judge module 404, for according to current weather information, sentences
Disconnected the need of the vehicle window closing vehicle;Perform module 406, if for judge module 404
Judged result for needing, then sends instruction to the ECU controlling window lifting, and car is closed in instruction
Vehicle window.
Preferably, the controller of vehicle of the present embodiment also includes: mode decision module 408,
Before obtain the current weather information in vehicular seat territory at acquisition module 402, it is judged that car
Vehicle window control model whether be automatic control mode, wherein, automatic control mode is used for referring to
Show that vehicle automatically controls the lifting of vehicle window according to Weather information;If automatic control mode, then hold
Row acquisition module 402.
Preferably, the controller of vehicle of the present embodiment also includes: pattern arranges module 410,
For judging that in mode decision module 408 whether the vehicle window control model of vehicle is for automatically controlling
Before pattern, by the display screen display vehicle window control model option being arranged in vehicle;Connect
Receive user by the display screen setting to vehicle window control model.
Preferably, perform module 406, if the judged result for judge module 404 is needs,
Then by the central control system of vehicle after the ECU controlling window lifting sends instruction, by
ECU sends instruction according to described instruction to relay and rotates with driving electric machine, by electronic
Vehicle window is closed in the rotation of machine.
Preferably, acquisition module 402 includes: website acquisition module 4022, for via carrying
The data access interface provided for the website of Weather information, obtain vehicular seat territory works as the day before yesterday
Gas information;And/or, server acquisition module 4024, it is used for accessing car networking background server
The Weather information provided, therefrom obtains the current weather information in vehicular seat territory;And/or,
Source data acquisition module 4026, for the weather data source provided from car networking background server
In, obtain the current weather information in vehicular seat territory.
The controller of vehicle of the present embodiment could be arranged in the middle control of vehicle, it would however also be possible to employ
Independent chip is arranged, but is not limited to this, and those skilled in the art can also use other any
Appropriate ways.
The controller of vehicle of the present embodiment is used for realizing in aforesaid plurality of embodiment of the method corresponding
Control method for vehicle, and there is the beneficial effect of corresponding embodiment of the method, the most superfluous at this
State.
Embodiment five
The structural representation of a kind of vehicle control apparatus that Fig. 5 provides for the embodiment of the present invention five,
Vehicle control apparatus is not implemented and limits by the application specific embodiment.Such as Fig. 5 institute
Showing, this vehicle control apparatus may include that
Processor (processor) 502, communication interface (Communications Interface) 504,
Memorizer (memory) 506 and communication bus 508.Wherein:
Processor 502, communication interface 504 and memorizer 506 are by communication bus 508
Complete mutual communication.
Communication interface 504, between each electric component of vehicle, and after vehicle and car are networked
Station server or non-vehicle network server, and with the communication of other car online vehicles.
Processor 502, is used for the program that performs 510, specifically can perform said method embodiment
In correlation step.
Specifically, program 510 can include that program code, described program code include computer
Operational order.
Processor 502 is probably a central processor CPU, or specific integrated circuit
ASIC (Application Specific Integrated Circuit), or be configured to implement
One or more integrated circuits of the embodiment of the present invention.
Memorizer 506, is used for program of depositing 510.Memorizer 506 may comprise high-speed RAM
Memorizer, it is also possible to also include nonvolatile memory (non-volatile memory), such as
At least one disk memory.Program 510 specifically may be used for so that processor 502 perform with
Lower operation: obtain the current weather information in vehicular seat territory;According to current weather information, sentence
Disconnected the need of the vehicle window closing vehicle;If desired, then send out to the ECU controlling window lifting
Instruction, instruction is sent to close the vehicle window of vehicle.
Preferably, program 510 can be also used for so that processor 502 is obtaining vehicular seat
Before the current weather information in territory, it is judged that whether the vehicle window control model of vehicle is for automatically controlling mould
Formula, wherein, automatic control mode is for indicating vehicle to automatically control vehicle window according to Weather information
Lifting;If automatic control mode, then perform to obtain the current weather information in vehicular seat territory
Step.
Preferably, program 510 can be also used for so that processor 502 is judging the vehicle window of vehicle
Before whether control model is automatic control mode, shown by the display screen being arranged in vehicle
Show vehicle window control model option;Receive user by the display screen setting to vehicle window control model.
Preferably, program 510 makes processor 502 send to the ECU controlling window lifting
Instruction, when the vehicle window of vehicle is closed in instruction: by the central control system of vehicle to controlling vehicle window
After the ECU of lifting sends instruction, ECU send instruction to drive according to instruction to relay
Motor rotation, closes vehicle window by the rotation of motor.
Preferably, program 510 is in the current weather making processor 502 obtain vehicular seat territory
During information: via the data access interface providing the website of Weather information to provide, obtain vehicle institute
Current weather information in region;And/or, access the weather that car networking background server provides
Information, therefrom obtains the current weather information in vehicular seat territory;And/or, after car is networked
In the weather data source that station server provides, obtain the current weather information in vehicular seat territory.
In program 510, each step implements the corresponding step that may refer in above-described embodiment
In rapid and unit, the description of correspondence, is not repeated herein.Those skilled in the art can be clear
Ground is recognized, for convenience and simplicity of description, and the equipment of foregoing description and the specific works of module
Process, the corresponding process being referred in preceding method embodiment describes, does not repeats them here.
A kind of vehicle that the embodiment of the present invention six (not shown) provides, described vehicle includes strictly according to the facts
Execute the device described in example three or four.
Those of ordinary skill in the art are it is to be appreciated that combine the embodiments described herein and retouch
The unit of each example stated and method step, it is possible to electronic hardware or computer software and
Being implemented in combination in of electronic hardware.These functions perform with hardware or software mode actually,
Depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can be to often
Individual specifically should being used for uses different methods to realize described function, but this realization is not
It is considered as beyond scope of the present application.
If described function realizes and as independent product pin using the form of SFU software functional unit
When selling or use, can be stored in a computer read/write memory medium.Based on such
Understand, part that prior art is contributed by the technical scheme of the application the most in other words or
The part of this technical scheme of person can embody with the form of software product, this computer software
Product is stored in a storage medium, including some instructions with so that a computer equipment
(can be personal computer, server, or the network equipment etc.) performs the application, and each is real
Execute all or part of step of method described in example.And aforesaid storage medium includes: USB flash disk, shifting
Dynamic hard disk, read only memory (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
Embodiment of above is merely to illustrate the application, and not restriction to the application, relevant
The those of ordinary skill of technical field, in the case of without departing from spirit and scope,
Can also make a variety of changes and modification, the technical scheme of the most all equivalents falls within the application
Category, the scope of patent protection of the application should be defined by the claims.