CN109842676A - Aerial download control method, electronic equipment, automobile and readable storage medium storing program for executing - Google Patents

Aerial download control method, electronic equipment, automobile and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109842676A
CN109842676A CN201910052263.XA CN201910052263A CN109842676A CN 109842676 A CN109842676 A CN 109842676A CN 201910052263 A CN201910052263 A CN 201910052263A CN 109842676 A CN109842676 A CN 109842676A
Authority
CN
China
Prior art keywords
vehicle
electronic device
software
preset electronic
program software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910052263.XA
Other languages
Chinese (zh)
Other versions
CN109842676B (en
Inventor
陈利强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Xiaopeng Motors Technology Co Ltd
Original Assignee
Guangzhou Xiaopeng Motors Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Xiaopeng Motors Technology Co Ltd filed Critical Guangzhou Xiaopeng Motors Technology Co Ltd
Priority to CN201910052263.XA priority Critical patent/CN109842676B/en
Publication of CN109842676A publication Critical patent/CN109842676A/en
Application granted granted Critical
Publication of CN109842676B publication Critical patent/CN109842676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The application provides a kind of aerial download control method, electronic equipment, automobile and readable storage medium storing program for executing, is related to the data control technology field based on vehicle.Method includes: to monitor whether vehicle needs through network downloading program software;When determining that vehicle needs to download program software, controls the preset electronic device being arranged on vehicle and be in close state during vehicle downloads installation procedure software.In this programme, when vehicle needs to download program software, it can control the technical issues of electronic device in the open state when non-vehicle powers on is in off state by open state switching, is caused unnecessary power consumption in OTA escalation process so as to improve vehicle.

Description

Aerial download control method, electronic equipment, automobile and readable storage medium storing program for executing
Technical field
The present invention relates to the data control technology fields based on vehicle, in particular to a kind of aerial downloading controlling party Method, electronic equipment, automobile and readable storage medium storing program for executing.
Background technique
As information technology, internet are merged with the continuous of automobile industry, over the air (Over-the-Air Technology, abbreviation OTA) gradually it is applied in automobile, for being updated for vehicle-mounted software program, pacified with support vehicles Entirely.In actual application, OTA escalation process needs vehicle to power on.In the prior art, be easy to cause need not for OTA upgrading The power consumption wanted.
Summary of the invention
The application provides a kind of aerial download control method, electronic equipment, automobile and readable storage medium storing program for executing.
To achieve the goals above, technical solution provided by the embodiment of the present application is as follows:
In a first aspect, the embodiment of the present application provides a kind of aerial download control method, which comprises monitoring vehicle is It is no to need through network downloading program software;When determining that the vehicle needs to download described program software, control is arranged in institute The preset electronic device stated on vehicle is in close state during the vehicle downloads installation described program software.At this In embodiment, when vehicle needs to download program software, electronic device in the open state when non-vehicle powers on can control It is in off state by open state switching, causes the skill of unnecessary power consumption in OTA escalation process so as to improve vehicle Art problem.
With reference to first aspect, in some alternative embodiments, the preset electronic device being arranged on the vehicle is controlled Part is in close state during the vehicle downloads installation described program software, comprising: is downloaded and is installed in the vehicle During described program software, control the closing of corresponding with preset electronic device I/O port so that the I/O port stop to The preset electronic device conveys electric energy.In the present embodiment, preset electronic device is controlled by I/O port to close, help to pass through I/O port determines the identity information of specific preset electronic device, to accurately realize the closing behaviour of specified electronic device Make.
With reference to first aspect, in some alternative embodiments, I/O port corresponding with the preset electronic device is controlled It closes, comprising: the I/O port in the open state controlled in the preset electronic device is closed.In the present embodiment, pass through by I/O port in the open state is closed, and be may not need and is executed shutoff operation to the I/O port of closed state, to help to subtract The I/O port quantity of shutoff operation is executed less.
With reference to first aspect, in some alternative embodiments, the preset electronic being arranged on the vehicle in control Before device is in close state during the vehicle downloads installation described program software, method further include: determine institute It states and user is not present in vehicle, or determine that the current downloading mode of vehicle is the default downloading mode for characterizing no worker monitor.? In the present embodiment, when there is no user or to preset downloading mode, then shutoff operation is executed, helps to promote what vehicle used Safety has user to close preset electronic device suddenly when preset electronic device is used when improving because of OTA upgrading in vehicle The technical issues of.
With reference to first aspect, in some alternative embodiments, determine that there is no users in the vehicle, comprising: logical It crosses the sensory package being arranged on the vehicle and collects data-signal;It is determined in the vehicle not according to the data-signal There are the users.In the present embodiment, the data-signal acquired by sensory package, helps to accurately determine out in vehicle With the presence or absence of user, to realize the judgement that whether there is user in vehicle.
With reference to first aspect, in some alternative embodiments, the preset electronic being arranged on the vehicle in control Before device is in close state during the vehicle downloads installation described program software, the electric source modes of the vehicle For the first mode for characterizing suspend mode, downloads and pacify in the vehicle in the preset electronic device that control is arranged on the vehicle After being in close state during dress described program software, the method also includes: control the electric source modes of the vehicle The second mode of characterization operating mode is switched to by current first mode.In the present embodiment, by completing preset electronic It after the shutoff operation of device, then carries out vehicle and powers on, when so that preset electronic device is without manually doing its unlatching of control, in vehicle It just will not be opened during powering on, to help to reduce the power consumption that vehicle software upgrades.
With reference to first aspect, in some alternative embodiments, the preset electronic being arranged on the vehicle in control After device is in close state during the vehicle downloads installation described program software, the method also includes: from The server connecting with the network device communications obtains and installs described program software.In the present embodiment, it completes to preset After the shutoff operation of electronic device, then the downloading and installation of program software are carried out, it just can be in the premise for reducing vehicle upgrading power consumption The lower installation or update for completing program software.
Second aspect, the embodiment of the present application also provide a kind of electronic equipment, including intercouple memory, processor, Communication module, the memory is interior to store computer program, when the computer program is executed by the processor, so that institute It states electronic equipment and executes above-mentioned method.
The third aspect, the embodiment of the present application also provide a kind of automobile, including automobile body and above-mentioned electronic equipment.
Fourth aspect, the embodiment of the present application also provide a kind of computer readable storage medium, in the readable storage medium storing program for executing It is stored with computer program, when the computer program is run on computers, so that the computer executes above-mentioned side Method.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, the embodiment of the present application is cited below particularly, and match Appended attached drawing is closed, is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described.It should be appreciated that the following drawings illustrates only some embodiments of the application, therefore it is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the communication connection schematic diagram of automobile provided by the embodiments of the present application and server.
Fig. 2 is one of the block diagram of electronic equipment provided by the embodiments of the present application.
Fig. 3 is the flow diagram of aerial download control method provided by the embodiments of the present application.
Fig. 4 is the two of the block diagram of electronic equipment provided by the embodiments of the present application.
Icon: 10- automobile;20- electronic equipment;21- processor;22- communication module;23- memory;24- sensory package; 30- server.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.It is aobvious So, described embodiment is only a part of the embodiment of the application, instead of all the embodiments.Usual attached drawing here Described and illustrated in the component of the embodiment of the present application can arrange and design with a variety of different configurations.
Therefore, the detailed description of the embodiments herein provided in the accompanying drawings is not intended to limit below claimed Scope of the present application, but be merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art Member's every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.In addition, term " the One ", " second " etc. is only used for distinguishing description, is not understood to indicate or imply relative importance.
As information technology, internet are merged with the continuous of automobile industry, over the air (Over-the-Air Technology, abbreviation OTA) it is gradually applied in automobile (such as electric car), for being updated for vehicle-mounted software program, With support vehicles safety.In actual application, OTA escalation process needs vehicle to power on.In the prior art, OTA upgrades It is easy to cause unnecessary power consumption.
For example, it has been found that vehicle nobody when, vehicle automatically carry out OTA upgrading during, if vehicle stops Before, car light, windscreen wiper etc. are in the open state, the total power switch of vehicle are then directly closed, so that vehicle stall stops;Stopping If desired OTA upgrading is carried out during vehicle, then needs vehicle to power on, after vehicle powers on, windscreen wiper before in the open state, Car light would generally continue starting, to cause unnecessary power consumption.
In view of the above problems, the application applicant proposes following embodiment to solve above-mentioned ask by the exploration that studies for a long period of time Topic.With reference to the accompanying drawing, it elaborates to the embodiment of the present application.In the absence of conflict, following embodiment and implementation Feature in example can be combined with each other.
Fig. 1 is please referred to, vehicle provided by the embodiments of the present application can be established by network with server 30 and be communicated to connect, with Carry out data interaction.For example, vehicle can obtain the program software for needing to download or need to update from server 30 by network, The program software includes but is not limited to system program software, application software, can be determined according to the actual situation.Example Such as, program software can be entire onboard system software, or one or more software modules in onboard system software.
In the present embodiment, vehicle can include but is not limited to automobile 10 (such as electric car, oil-electric vehicle Deng), bus etc., the type of vehicle is not especially limited here.
Understandably, if vehicle is automobile 10, then the automobile 10 can establish communication link by network and server 30 It connects, to carry out data interaction.For example, automobile 10 when needing to update system software, can obtain from server 30 and need to update Software program, then complete system software update.
In the present embodiment, server 30 can be but not limited to cluster server, distributed server, Cloud Server Deng being not especially limited here.In addition, the network that vehicle is communicated with server 30 includes wireless network, wireless network include but It is not limited to 2G/3G/4G/5G network.
Referring to figure 2., the embodiment of the present invention also provides a kind of automobile 10, which may include automobile body and setting Electronic equipment 20 (or controlling equipment for vehicle-mounted central) on automobile body.Wherein, electronic equipment 20 can execute following Aerial download control method, the technical issues of causing unnecessary power consumption in OTA escalation process so as to improve vehicle.
In the present embodiment, electronic equipment 20 may include processor 21, communication module 22, memory 23, processor 21, It is directly or indirectly electrically connected between communication module 22, each element of memory 23, to realize the transmission or interaction of data.Example Such as, these elements can be realized by one or more communication bus or signal wire be electrically connected between each other.
Processor 21 can be a kind of IC chip, electronic control unit (Electronic Control Unit, ECU), with the processing capacity of signal.Above-mentioned processor 21 can be general processor.For example, the processor can be center Processor (Central Processing Unit, CPU), graphics processor 21 (Graphics Processing Unit, GPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (DSP), dedicated integrated Circuit (ASIC), field programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present application Figure.
Communication module 22 is used to establish the communication connection between vehicle and server 30 by network, and is received and dispatched by network Data.
Memory 23 may be, but not limited to, random access memory, read-only memory, and programmable read only memory can Erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory etc..In the present embodiment, memory 23 can be used for Store the I/O port information of electronic device.Certainly, memory 23 can be also used for storage program, and processor 21 refers to receiving execution After order, the program is executed.
Wherein, I/O port can be understood as input/output (Input/Output, I/O) corresponding with preset electronic device and connect Mouthful.It for example, I/O port can be the input/output interface being electrically connected with preset electronic device in processor 21, or is default The input/output interface being electrically connected with processor 21 in electronic device.I/O port information may include and preset electronic device pair The interface identifier for the input/output interface answered can be used for carrying out identification to preset electronic device.For example, I/O port information Preset electronic device corresponding with the I/O port is associated in advance, the available I/O port information to each I/O port of processor 21, Then determine that the identity such as title, the type of the corresponding preset electronic device of the I/O port are believed according to I/O port information and incidence relation Breath, in order to be controlled based on the accurate closing of I/O port information realization preset electronic device.
It is understood that structure shown in Fig. 2 is only a kind of structural schematic diagram of electronic equipment 20, electronic equipment 20 is also It may include than more or fewer components shown in Fig. 2.Each component shown in Fig. 2 can use hardware, software, or its combination It realizes.
Referring to figure 3., the embodiment of the present application provides a kind of aerial download control method, and this method can be applied to above-mentioned In vehicle, each step of aerial download control method is executed or realized by the electronic equipment 20 in vehicle.
In the present embodiment, aerial download control method may comprise steps of:
Step S210, monitors whether vehicle needs through network downloading program software;
Step S220 controls the preset electronic device being arranged on vehicle when determining that vehicle needs to download program software It is in close state during vehicle downloads installation procedure software.
Each step of aerial download control method will be described in detail below:
Step S210, monitors whether vehicle needs through network downloading program software.
In the present embodiment, whether vehicle itself can be needed soft by network downloading program by the monitoring of electronic equipment 20 Part.Understandably, when the onboard system software on vehicle be not software module in latest edition or onboard system software not When being latest edition, also mean that vehicle needs to download program software.If onboard system software is latest edition or vehicle-mounted When software module in system software is latest edition, generally mean that vehicle does not need downloading program software.
As an alternative embodiment, vehicle is monitoring the principle for whether needing to download program software from server 30 It can be with are as follows: the onboard system software installed on electronic equipment 20 is provided with first version mark, the vehicle-mounted system that server 30 stores System software is provided with second edition mark, and electronic equipment 20 can obtain on server 30 every preset duration from server 30 The second edition of onboard system software identifies, and is judged with first identifier, if first version mark is identified with the second edition It is identical, then mean that current vehicle downloads onboard system software from server 30 without downloading.If first version mark and the Two version identifiers are not identical, generally mean that the backward vehicle-mounted system on server 30 of the version of the onboard system software on vehicle The version of system software just determines that vehicle is needed from 30 download system program software of server at this time.Wherein, preset duration can root It is configured according to actual conditions and is not especially limited here.
As another optional embodiment, vehicle is monitoring the original for whether needing that program software is downloaded from server 30 Reason can be with are as follows: server 30 can the pre-recorded each electronic equipment 20 communicated with the server 30 identity information (identity It is corresponding that information can be but not limited to the IP address of electronic equipment 20, the license plate number for the vehicle for installing the electronic equipment 20, vehicle Car owner identity card etc.).The identity information can be associated with the IP address of equipment, in order to which server 30 can be according to identity Acquisition of information (can be with the IP of electronic equipment 20 in mailing address table to the mailing address table communicated with each electronic equipment 20 Address).It is updated when the onboard system software in server 30 has (for example, soft by the onboard system for manually uploading latest edition Part, with the onboard system software of version before replacing in server 30) or onboard system software at least one software module It is updated, at this point, server 30, which can be sent by mailing address table to each electronic equipment 20, is used for onboard system software The request message of update.Each electronic equipment 20 can determine that vehicle needs to download program software after receiving the request message. If vehicle is not received by the request message, vehicle can be determined without downloading program software.
It should be noted that it can be whole system program software that vehicle, which needs the program software downloaded, or be At least one software module in system program software.Wherein, the quantity for the software module for needing to download can be according to the actual situation It is determined, is not especially limited here.
Understandably, for a software module, vehicle updates the software module determining the need for downloading It is similar that mode can determine the need for the downloading process of whole system program software with above-mentioned vehicle.
For example, can carry identification information for each software module in onboard system software, which can To include system version mark and module release mark.The same application plate is upgraded, such as onboard system software In navigation software module, firstly, electronic equipment 20 can get the navigation software module on server 30 from server 30 First identifier information, include the first system version mark of the onboard system software on server 30 in first identifier information Know and the first module release of the navigation software module in the onboard system software identifies.In addition, electronic equipment 20 is available The second identifier information of the navigation software module of itself installation includes the vehicle-mounted system on electronic equipment 20 in second identifier information (navigation software module here refers to the vehicle on electronic equipment 20 to the second system version identifier and its navigation software module of system software Navigation software module in loading system software) the second module release mark.Then, electronic equipment 20 may determine that the first system Whether version identifier is identical as second system version identifier.
If the first system version identifier and second system version identifier be not identical, also mean that vehicle is needed from server The 30 entire onboard system softwares of downloading.
If the first system version identifier is identical as second system version identifier, and the first module release mark and the second module Version identifier is not identical, generally means that navigation software module in the version on server 30 and the version on electronic equipment 20 It is not identical, and the navigation software version on server 30 is prior to the navigation software on electronic equipment 20.At this point, vehicle just needs It is whole without being downloaded from server 30 with the navigation software module on more new vehicle from 30 download navigation software module of server A onboard system software.Based on this, downloading flow can be saved, fast implements the update of onboard system software.
If the first system version identifier is identical as second system version identifier, and the first module release mark and the second module Version identifier is also identical, at this point, just determining vehicle without downloading program software.
In the present embodiment, when vehicle is in dead ship condition, the electronic equipment 20 on vehicle is generally in standby mode.This When, some electronic devices on vehicle will continue to run, and some electronic devices can be out of service.The electronic device of operation is usually The backstage device of electronic equipment 20, such as can be processor 21, for example, processor 21 can be supervised when electronic equipment 20 is standby Listen whether vehicle needs to update program software, monitoring system log etc..In the standby state, electronic device out of service can be with Including car light, windscreen wiper, on-board air conditioner, vehicle-mounted sound box etc..
Understandably, in the standby state, the electric source modes of vehicle are the first mode for characterizing suspend mode.Make in vehicle Used time, the electric source modes of vehicle are the second mode for characterizing operating mode.Wherein, first mode and second mode can be according to realities Border situation distinguishes setting, is not especially limited here.
Step S220 controls the preset electronic device being arranged on vehicle when determining that vehicle needs to download program software It is in close state during vehicle downloads installation procedure software.
In the present embodiment, when vehicle is determined to need to download program software by electronic equipment 20, electronic equipment 20 In processor 21 can control preset electronic device vehicle download installation procedure software during be in close state.? It is exactly in OTA escalation process, processor 21 can control preset electronic device and be in close state.
Wherein, preset electronic device can be the electronic device of vehicle nonessential unlatching after vehicle powers on, and can be root It is determined according to actual conditions.For example, vehicle, after vehicle powers on, the electronic devices such as windscreen wiper, car light, on-board air conditioner, vehicle-mounted sound box can Not have to open, the electronic devices such as these windscreen wipers, car light, on-board air conditioner, vehicle-mounted sound box are just the electronic device of nonessential unlatching.
Understandably, because (can be regarded as determining vehicle needs when determining that vehicle needs to download installation procedure When carrying out OTA upgrading), vehicle needs vehicle to power on.In the prior art, if before upgrading, it is (different that vehicle belongs to abnormal misfire Often for the flame-out vehicle that can be regarded as in parking, car light, windscreen wiper etc. are in the open state, and the general supply for then directly closing vehicle is opened Close, so that vehicle stall stops), when vehicle powers on vehicle again (for example when carrying out OTA upgrading, vehicle being needed to power on), Car light, windscreen wiper etc. will continue to work, to cause unnecessary power consumption.In addition, in the prior art, working as vehicle parking Afterwards, car owner is generally also there is no need to use the vehicle, at this point, car owner is typically remote from vehicle, if carrying out OTA upgrading at this time, In the case where above-mentioned, car light, windscreen wiper will be opened, to cause the abnormal work that vehicle is not used by and car light, windscreen wiper are opened Situation.
Based on above-mentioned design, because processor 21 can control preset electronic device and be in closing in OTA escalation process State, so the preset electronic device (such as windscreen wiper, car light, on-board air conditioner, vehicle-mounted sound box etc.) in escalation process, on vehicle It will be in close state.If before upgrading, vehicle is above-mentioned abnormal misfire, corresponding preset electronic device just can be closed Operation asks the technology of power consumption caused by the operation of preset electronic device so as to improve because vehicle is needed to power on for upgrading Topic, solves above-mentioned abnormal working condition.
As an alternative embodiment, step S220 may include: the process in vehicle downloading installation procedure software In, it controls I/O port corresponding with preset electronic device and closes, so that I/O port stops conveying electric energy to preset electronic device.
In the present embodiment, processor 21 can control the on off operating mode for the I/O port connecting with each preset electronic device, On state may include open state and closed state.If I/O port is in the open state, when whole vehicle powers on, by this The electronic device of I/O port connection will start to work.If I/O port is in close state, when whole vehicle powers on, pass through the I/O port The electronic device of connection just will not work.
For example, preset electronic device is windscreen wiper, processor 21 can control the on off operating mode for the I/O port connecting with windscreen wiper.If It controls the I/O port connecting with windscreen wiper to be in close state, then the windscreen wiper just will not work, if the I/O port that control is connect with windscreen wiper In the open state, which will work.
Understandably, different preset electronic devices is corresponding with different I/O port information, and processor 21 can be according to I/O port Information control needs the on off operating mode for the electronic device closed to be in close state, and the closing of processor 21 is avoided to fall necessarily to be in out Open the electronic device (such as communication module 22, naturally it is also possible to be other module devices) of state and to influence electronic equipment 20 normal Operation, to help to realize the closing of accurate control preset electronic device.
As an alternative embodiment, control I/O port corresponding with preset electronic device is closed, it may include: control I/O port in the open state in preset electronic device is closed.
In the present embodiment, the quantity of the preset electronic device on vehicle is at least one.It is more in preset electronic device When a, when determining to need to carry out OTA upgrading, the I/O port that processor 21 can control all preset electronic devices, which is in, to be closed Closed state;Or can be and control I/O port closing in the open state in multiple preset electronic devices, and for closed state I/O port be not necessarily to execute I/O port closing operation.
Wherein, the I/O port that processor 21 can control all preset electronic devices is in close state, it is possible to understand that are as follows: Processor 21 is not necessarily to detect the on off operating mode of the I/O port of each preset electronic device, and processor 21 can be by all preset electronic devices I/O port in the open state and closed state in part executes shutoff operation, so that all preset electronic devices and processor 21 The I/O port of connection is in closed state.Based on this, processor 21 may not need the on off operating mode of detection I/O port, just can be quickly right I/O port executes shutoff operation.
Processor 21 controls I/O port in the open state in multiple preset electronic devices and closes, it is possible to understand that are as follows: processing Device 21 first detects the on off operating mode for the I/O port connecting in all preset electronic devices with processor 21, then by each preset electronic I/O port in the open state in each I/O port that device is connect with processor 21 executes shutoff operation, and for all default The I/O port being in close state in all I/O ports that electronic device is connect with processor 21 is without executing shutoff operation.It is based on This, may not need and repeatedly close to the I/O port being in close state, it is possible to reduce the amount of shutoff operation.
It in the present embodiment, can be by user when preset electronic device does not need to be turned on if there are users in vehicle It is turned off manually, or can realize the shutoff operation of preset electronic device by above-mentioned method.
As an alternative embodiment, method can also be comprised determining that in vehicle and is not present before step S220 User, or determine that the current downloading mode of vehicle is the default downloading mode for characterizing no worker monitor.
In the present embodiment, when determining that vehicle needs to carry out OTA upgrading, whether vehicle may determine that in the vehicle and deposits It can detecte the downloading mode for judging that vehicle is current in user or vehicle, be then based on judging result and determine control strategy.Its In, control strategy can be configured according to the actual situation.For example, if user or table is not present in judging result characterization vehicle The current downloading mode of sign vehicle is the default downloading mode (being properly termed as the first downloading mode) for characterizing no worker monitor, then controls Strategy is just to continue to execute step S220, to complete the shutoff operation to preset electronic device.Based on this, vehicle can be improved and existed The electronic device for needing to run is closed during user's use.
For example, vehicle, during night running and when needing to carry out OTA upgrading, part car light is generally in opening state State (car light that the car light of open state is as shining) will continue to each of current vehicle when carrying out OTA upgrading The working condition of a preset electronic device, the preset electronic device for needing to run also just are not necessarily to be closed, i.e. luminous car light Just without being closed.
If there are second that the current downloading mode of user or vehicle is characterization someone's monitoring in judging result characterization vehicle Downloading mode, then control strategy can be to be decided whether to execute shutoff operation to preset electronic device by user.Such as it can be with It opens or closes preset electronic device manually by user, or characterization is accepted or rejected by user manually and continues to execute step S220 Operation indicating so that electronic equipment 20 continue or terminate execute step S220 operation.
Referring to figure 4., in the present embodiment, it determines in vehicle there is no user, may include: by being arranged on vehicle Sensory package 24 collect data-signal;Determine that there is no users in vehicle according to data-signal.
In the present embodiment, sensory package 24 includes but is not limited to camera, infrared sensor, pressure sensor etc., place Reason device 21 can be judged in vehicle by the data-signal that sensory package 24 acquires with the presence or absence of user.User may include vehicle Car owner, at least one of other passengers on vehicle.
For example, the camera of setting is electrically connected with processor 21, the available image to camera acquisition of processor 21, The image (i.e. data-signal) in vehicle can be acquired by camera, person recognition then is carried out to image, however, it is determined that scheme out There are personnel as in, it is determined that there are users in vehicle.Wherein, the quantity of camera position provided in a vehicle and camera It can be configured according to the actual situation, as long as user can be collected simultaneously as physical presence user in vehicle, and by camera Identify that there are users in image.
In another example can be arranged on each seat of vehicle and processor 21 if sensory package 24 is pressure sensor The pressure sensor of connection.Whether processor 21 can be seated on seat based on the data-signal that pressure sensor acquires to determine Personnel, so that it is determined that whether there is user in vehicle.For example, processor 21 can according to pressure sensor acquire pressure value come Judge whether personnel are seated on seat, when the pressure value acquired there are at least one pressure sensor is greater than or equal to preset threshold When, just determine that there are users in vehicle, wherein preset threshold can be configured according to the actual situation, not limited specifically here It is fixed.
Optionally, if being detected by infrared sensor interior with the presence or absence of user.For example, infrared sensor is and processor The pyroelectric infrared sensor of 21 electrical connections, pyroelectric infrared sensor can be set in vehicle, to acquire each object in vehicle The wavelength of the infrared ray of body.Processor 21 can determine vehicle based on the wavelength of the infrared ray of pyroelectric infrared sensor acquisition It is interior to whether there is user.For example, just determining in vehicle and existing when there are wavelength within the scope of preset wavelength corresponding with human body User.Wherein, preset wavelength range can be configured according to the actual situation, be not especially limited here.
In the present embodiment, if before determining to need to carry out OTA upgrading, the electric source modes of vehicle are characterization suspend mode mould The first mode of formula.Processor 21 can control whole vehicle and power on, also before control preset electronic device is in and closes It is that the electric source modes of control vehicle are switched to the second mode of characterization operating mode by first mode.Alternatively, processor 21 is being controlled Preset electronic device processed is in after closing, and the electric source modes for controlling vehicle are switched to second mode by first mode.
As an alternative embodiment, controlling the electric source modes of vehicle by current first after step S220 Pattern switching is to characterize the second mode of operating mode.
Understandably, the present embodiment is powered on by controlling preset electronic device after closing in progress vehicle, that Preset electronic device just will not be run after vehicle powers on.If before control preset electronic device is in and closes, with regard to carrying out Vehicle powers on, then controls the closing of preset electronic device, at this point, preset electronic device is being closed after first running.
In the present embodiment, method can also include: to obtain and install from the server 30 connecting with network device communications Program software.
Understandably, after executing the step S220, just from the downloading of server 30, simultaneously installation procedure is soft for electronic equipment 20 Part, to complete the update of system program.
The embodiment of the present invention also provides a kind of aerial download control device.The aerial download control device may include at least One can be stored in memory 23 or be solidificated in 20 operating system of electronic equipment in the form of software or firmware (firmware) Software function module in (operating system, OS).Processor 21 be used to execute stored in memory 23 it is executable Module, such as software function module included by aerial download control device and computer program etc..
In the present embodiment, aerial download control device can be applied in above-mentioned vehicle, for executing or realizing The aerial download control method stated can improve unnecessary electric energy caused by vehicle is in OTA escalation process in the prior art The problem of consumption.
In the present embodiment, aerial download control device may include monitoring unit and control closing unit.
Monitoring unit, for monitoring whether vehicle needs through network downloading program software.
Closing unit is controlled, for when determining that vehicle needs to download program software, control to be arranged in default on vehicle Electronic device is in close state during vehicle downloads installation procedure software.
It should be noted that it is apparent to those skilled in the art that, for convenience and simplicity of description, on The specific work process of the aerial download control device of description is stated, each step corresponding process in preceding method can be referred to, This is no longer excessively repeated.
The embodiment of the present application also provides a kind of computer readable storage medium.Computer journey is stored in readable storage medium storing program for executing Sequence, when computer program is run on computers, so that computer is executed such as the aerial downloading controlling party in above-described embodiment Method.
Through the above description of the embodiments, those skilled in the art can be understood that the application can lead to Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software, based on this understanding, this Shen Technical solution please can be embodied in the form of software products, which can store in a non-volatile memories In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are used so that a computer equipment (can be Personal computer, server or network equipment etc.) execute method described in each implement scene of the application.
In conclusion the application provides a kind of aerial download control method, electronic equipment, automobile and readable storage medium storing program for executing. Method includes: to monitor whether vehicle needs through network downloading program software;When determining that vehicle needs to download program software, control It sets up to set and be in close state during vehicle downloads installation procedure software in the preset electronic device on vehicle.In we In case, when vehicle needs to download program software, electronic device in the open state when non-vehicle powers on can control by opening It opens state switching to be in off state, causes the technology of unnecessary power consumption to ask in OTA escalation process so as to improve vehicle Topic.
In embodiment provided herein, it should be understood that disclosed devices, systems, and methods can also lead to Other modes are crossed to realize.Devices, systems, and methods embodiment described above is only schematical, for example, in attached drawing Flow chart and block diagram show that the system of multiple embodiments according to the application, the possibility of method and computer program product are real Existing architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a journey A part of sequence section or code, a part of the module, section or code include one or more for realizing defined The executable instruction of logic function.It should also be noted that in some implementations as replacement, function marked in the box It can also occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be substantially in parallel It executes, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/ Or the combination of each box in flow chart and the box in block diagram and or flow chart, can with execute as defined in function or The dedicated hardware based system of movement is realized, or can be realized using a combination of dedicated hardware and computer instructions. In addition, each functional module in each embodiment of the application can integrate one independent part of formation together, it can also be with It is modules individualism, an independent part can also be integrated to form with two or more modules.
It can replace, can be realized wholly or partly by software, hardware, firmware or any combination thereof.When When using software realization, can entirely or partly it realize in the form of a computer program product.The computer program product Including one or more computer instructions.It is all or part of when loading on computers and executing the computer program instructions Ground is generated according to process or function described in the embodiment of the present application.The computer can be general purpose computer, special purpose computer, Computer network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, or Person is transmitted from a computer readable storage medium to another computer readable storage medium, for example, the computer instruction Wired (such as coaxial cable, optical fiber, digital subscriber can be passed through from a web-site, computer, server or data center Line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or data It is transmitted at center.The computer readable storage medium can be any usable medium that computer can access and either wrap The data storage devices such as server, the data center integrated containing one or more usable mediums.The usable medium can be magnetic Property medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
The foregoing is merely preferred embodiment of the present application, are not intended to limit this application, for the skill of this field For art personnel, various changes and changes are possible in this application.Within the spirit and principles of this application, made any to repair Change, equivalent replacement, improvement etc., should be included within the scope of protection of this application.

Claims (10)

1. a kind of aerial download control method, which is characterized in that the described method includes:
Monitor whether vehicle needs through network downloading program software;
When determining that the vehicle needs to download described program software, controls the preset electronic device being arranged on the vehicle and exist It is in close state during the vehicle downloading installation described program software.
2. the method according to claim 1, wherein the preset electronic device that control is arranged on the vehicle exists It is in close state during the vehicle downloading installation described program software, comprising:
During the vehicle downloads installation described program software, controls I/O port corresponding with the preset electronic device and close It closes, so that the I/O port stops conveying electric energy to the preset electronic device.
3. according to the method described in claim 2, it is characterized in that, control I/O port corresponding with the preset electronic device closes It closes, comprising:
The I/O port in the open state controlled in the preset electronic device is closed.
4. the method according to claim 1, wherein the preset electronic device being arranged on the vehicle in control Before being in close state during the vehicle downloads installation described program software, method further include:
It determines that there is no users in the vehicle, or determines that the current downloading mode of vehicle is that characterization the pre- of no worker monitor is set Load mode.
5. according to the method described in claim 4, user is not present in the vehicle it is characterized in that, determining, comprising:
Data-signal is collected by the sensory package being arranged on the vehicle;
Determine that there is no the users in the vehicle according to the data-signal.
6. the method according to claim 1, wherein the preset electronic device being arranged on the vehicle in control Before being in close state during the vehicle downloads installation described program software, the electric source modes of the vehicle are table The first mode for levying suspend mode downloads installation institute in the vehicle in the preset electronic device that control is arranged on the vehicle After being in close state during stating program software, the method also includes:
The electric source modes for controlling the vehicle are switched to the second mode of characterization operating mode by current first mode.
7. method described in any one of -6 according to claim 1, which is characterized in that be arranged on the vehicle in control After preset electronic device is in close state during the vehicle downloads installation described program software, the method is also Include:
It is obtained from the server being connect with the network device communications and described program software is installed.
8. a kind of electronic equipment, which is characterized in that including the memory, processor, communication module to intercouple, the memory Interior storage computer program, when the computer program is executed by the processor, so that the electronic equipment is executed as weighed Benefit requires method described in any one of 1-7.
9. a kind of automobile, which is characterized in that including automobile body and electronic equipment as claimed in claim 8.
10. a kind of computer readable storage medium, which is characterized in that it is stored with computer program in the readable storage medium storing program for executing, When the computer program is run on computers, so that the computer is executed such as any one of claim 1-7 institute The method stated.
CN201910052263.XA 2019-01-18 2019-01-18 Over-the-air control method, electronic equipment, automobile and readable storage medium Active CN109842676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910052263.XA CN109842676B (en) 2019-01-18 2019-01-18 Over-the-air control method, electronic equipment, automobile and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910052263.XA CN109842676B (en) 2019-01-18 2019-01-18 Over-the-air control method, electronic equipment, automobile and readable storage medium

Publications (2)

Publication Number Publication Date
CN109842676A true CN109842676A (en) 2019-06-04
CN109842676B CN109842676B (en) 2021-10-12

Family

ID=66883978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910052263.XA Active CN109842676B (en) 2019-01-18 2019-01-18 Over-the-air control method, electronic equipment, automobile and readable storage medium

Country Status (1)

Country Link
CN (1) CN109842676B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347412A (en) * 2019-06-27 2019-10-18 中国第一汽车股份有限公司 Electronic control unit firmware upgrade management method, device, equipment and storage medium
CN112104702A (en) * 2020-08-18 2020-12-18 广州汽车集团股份有限公司 Power supply management method for vehicle TBOX, and medium
WO2023134412A1 (en) * 2022-01-12 2023-07-20 中国第一汽车股份有限公司 Vehicle control method and apparatus, software configuration method and apparatus, electronic device, and storage medium
WO2023221131A1 (en) * 2022-05-20 2023-11-23 华为技术有限公司 Vehicle control method and device, and vehicle

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101337524A (en) * 2007-07-06 2009-01-07 英业达股份有限公司 Vehicle light control method and system
CN101594496A (en) * 2009-05-22 2009-12-02 天津三星电子显示器有限公司 A kind of method of system software upgrading in standby of digital television receiver and receiver thereof
CN101661321A (en) * 2008-08-25 2010-03-03 联想(北京)有限公司 Computer and method for controlling operation thereof
CN101704360A (en) * 2008-12-24 2010-05-12 广州中沙桥汽车用品有限公司 Automotive management system and management method thereof
US20130079950A1 (en) * 2011-09-22 2013-03-28 Kia Motors Corporation Vehicle upgrade system and method thereof
CN104572155A (en) * 2013-10-24 2015-04-29 鸿富锦精密工业(武汉)有限公司 Computer upgrading control system and method
CN106406503A (en) * 2016-11-17 2017-02-15 南京熊猫电子股份有限公司 Network remote control start-stop service system for rail transit AFC terminal devices
CN108459863A (en) * 2017-12-29 2018-08-28 特瓦特能源科技有限公司 Electrically-charging equipment method for upgrading software, device, equipment, system and storage medium
CN108564945A (en) * 2018-03-13 2018-09-21 斑马网络技术有限公司 Vehicle-mounted voice control method and device and electronic equipment and storage medium
CN109005206A (en) * 2017-06-06 2018-12-14 通用汽车环球科技运作有限责任公司 Implement system and method for the processor by wirelessly carrying out vehicle replacement

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101337524A (en) * 2007-07-06 2009-01-07 英业达股份有限公司 Vehicle light control method and system
CN101661321A (en) * 2008-08-25 2010-03-03 联想(北京)有限公司 Computer and method for controlling operation thereof
CN101704360A (en) * 2008-12-24 2010-05-12 广州中沙桥汽车用品有限公司 Automotive management system and management method thereof
CN101594496A (en) * 2009-05-22 2009-12-02 天津三星电子显示器有限公司 A kind of method of system software upgrading in standby of digital television receiver and receiver thereof
US20130079950A1 (en) * 2011-09-22 2013-03-28 Kia Motors Corporation Vehicle upgrade system and method thereof
CN104572155A (en) * 2013-10-24 2015-04-29 鸿富锦精密工业(武汉)有限公司 Computer upgrading control system and method
CN106406503A (en) * 2016-11-17 2017-02-15 南京熊猫电子股份有限公司 Network remote control start-stop service system for rail transit AFC terminal devices
CN109005206A (en) * 2017-06-06 2018-12-14 通用汽车环球科技运作有限责任公司 Implement system and method for the processor by wirelessly carrying out vehicle replacement
CN108459863A (en) * 2017-12-29 2018-08-28 特瓦特能源科技有限公司 Electrically-charging equipment method for upgrading software, device, equipment, system and storage medium
CN108564945A (en) * 2018-03-13 2018-09-21 斑马网络技术有限公司 Vehicle-mounted voice control method and device and electronic equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347412A (en) * 2019-06-27 2019-10-18 中国第一汽车股份有限公司 Electronic control unit firmware upgrade management method, device, equipment and storage medium
CN112104702A (en) * 2020-08-18 2020-12-18 广州汽车集团股份有限公司 Power supply management method for vehicle TBOX, and medium
CN112104702B (en) * 2020-08-18 2023-09-12 广州汽车集团股份有限公司 Power management method for vehicle TBOX, vehicle TBOX and medium
WO2023134412A1 (en) * 2022-01-12 2023-07-20 中国第一汽车股份有限公司 Vehicle control method and apparatus, software configuration method and apparatus, electronic device, and storage medium
WO2023221131A1 (en) * 2022-05-20 2023-11-23 华为技术有限公司 Vehicle control method and device, and vehicle

Also Published As

Publication number Publication date
CN109842676B (en) 2021-10-12

Similar Documents

Publication Publication Date Title
CN109842676A (en) Aerial download control method, electronic equipment, automobile and readable storage medium storing program for executing
US10782955B2 (en) Pre-shutdown swap verification
CN113176902B (en) OTA upgrading method of vehicle ECU, electronic equipment, vehicle and readable storage medium
CN111158718A (en) Local communication server, OTA (over the air) upgrading method thereof and cloud server
CN111989658B (en) Vehicle-mounted update device, vehicle-mounted update system, update processing method, and update processing program
CN105793824A (en) Program update system and program update method
KR101913706B1 (en) Lin Network Multi-Channel BootLoader Apparatus And Loading Method Thereof
KR20170026186A (en) Method and subsystem for installing a software update in a vehicle
CN112261130A (en) Vehicle, OTA (over the air) upgrading system and OTA upgrading method for vehicle
CN111026640A (en) Vehicle-mounted equipment testing method and system, mobile terminal and storage medium
US20150277891A1 (en) Electronic controller software coding system and method for vehicle control
CN113010200A (en) Flash method, flash system, flash device and server
GB2588734A (en) Air-conditioning system and program update method of air-conditioning system
CN105138363A (en) Automatic upgrade processing method and device of application programs
CN112015489A (en) Management method, device, storage medium and system for vehicle-mounted software
KR20150064474A (en) Software upgrade method for vehicle controller
CN106406948A (en) Configuration file downloading method and device
CN103395389B (en) A kind of vehicle lamplight control method
CN113625690A (en) Intelligent diagnosis method and system for automobile and mobile terminal
US20070253342A1 (en) System for automatically configuring a communication interface module
US11972249B2 (en) Information processing apparatus, information processing method, and system for updating display monitor software for remotely monitoring an operation of an autonomous vehicle
CN113050960A (en) OTA (over the air) upgrading method and device, vehicle-mounted terminal and storage medium
CN116048587A (en) Remote automatic upgrading method, device, server, equipment and medium for vehicle
KR20170105348A (en) Method and apparatus for controlling body control module of vehicle, and vehicle controll system thereof
EP4375802A1 (en) Over-the-air (ota) upgrade method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant