CN101825875A - Method and device for updating software - Google Patents
Method and device for updating software Download PDFInfo
- Publication number
- CN101825875A CN101825875A CN 201010186543 CN201010186543A CN101825875A CN 101825875 A CN101825875 A CN 101825875A CN 201010186543 CN201010186543 CN 201010186543 CN 201010186543 A CN201010186543 A CN 201010186543A CN 101825875 A CN101825875 A CN 101825875A
- Authority
- CN
- China
- Prior art keywords
- authority
- controller type
- refreshed
- type correspondence
- controller
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000015572 biosynthetic process Effects 0.000 claims description 5
- 238000013475 authorization Methods 0.000 abstract 5
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000012797 qualification Methods 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000011010 flushing procedure Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a method and a device for updating software, which belong to the automobile field. The method comprises the following steps: acquiring an effective authorization file; determining a corresponding controller type according to the effective authorization file; and determining the controller type to be updated and checking whether the authorization file corresponding to the controller type to be updated is available or not, and if yes, updating the software corresponding to the controller type to be updated. The device comprises an acquisition module, a first determination module, a second determination module, a checking module and an update module. By acquiring the effective authorization file and updating the software corresponding to the controller type to be updated after checking whether the authorization file corresponding to the controller type to be updated is available or not, timely update of the software in the controller can be realized, thus improving the performance of the controller.
Description
Technical field
The present invention relates to automotive field, particularly a kind of method of updating software and device.
Background technology
Growing along with the automobile production technology, automobile function is more and more perfect, and the experience that brings the user is also more and more abundanter.For example, have the automobile of automatic gear-box, can be according to the pavement behavior automatic speed-changing and torque-converting, driver god entirely watches road traffic attentively with passing through and can not done in a rushly by gear shift.And automatic gear-box on stream, according to the demarcation situation to wheel box, needs often the software in its controller to be refreshed.
For existing automatic gear-box, when the software version in its controller need be upgraded, need update controller simultaneously.
In realizing process of the present invention, the inventor finds that there is following shortcoming at least in prior art:
The present not related tool that the software in the controller of existing automatic gear-box is refreshed, thereby the software in the refresh controller in time.
Summary of the invention
For the software in the controller of automatic gear-box is refreshed in time, and then promote the performance of controller, the embodiment of the invention provides a kind of method and device of updating software.Described technical scheme is as follows:
On the one hand, provide a kind of method of updating software, described method comprises:
Obtain effective authority;
Determine corresponding controller type according to described effective authority;
Determine controller type to be refreshed, and verify whether the authority of controller type correspondence described to be refreshed is available, if then refresh the software of controller type correspondence described to be refreshed.
On the other hand, provide a kind of device of updating software, described device comprises:
Acquisition module is used to obtain effective authority;
First determination module, the effective authority that is used for getting access to according to described acquisition module is determined corresponding controller type;
Second determination module is used for determining controller type to be refreshed at the controller type that first determination module is determined;
Authentication module is used to verify whether the authority of the controller type correspondence to be refreshed that described second determination module is determined is available;
Refresh module is used for refreshing the software of controller type correspondence described to be refreshed after the authority of described authentication module checking controller type correspondence described to be refreshed can be used.
The beneficial effect of the technical scheme that the embodiment of the invention provides is:
By obtaining effective authority, and after the authority of checking controller type correspondence to be refreshed can be used, refresh the software of controller type correspondence to be refreshed, thereby realize the software in the controller is refreshed in time, and then promote the performance of controller.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of the updating software that provides of the embodiment of the invention one;
Fig. 2 is the method flow diagram of the updating software that provides of the embodiment of the invention two;
Fig. 3 is the apparatus structure synoptic diagram of the updating software that provides of the embodiment of the invention three;
Fig. 4 be the embodiment of the invention three provide set up the modular structure synoptic diagram;
Fig. 5 is the apparatus structure synoptic diagram of the another kind of updating software that provides of the embodiment of the invention three;
Fig. 6 is the apparatus structure synoptic diagram of another updating software of providing of the embodiment of the invention three.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment one
Referring to Fig. 1, present embodiment provides a kind of method of updating software, and this method flow is specific as follows:
101: obtain effective authority;
102: determine corresponding controller type according to effective authority;
103: determine controller type to be refreshed, and verify whether the authority of controller type correspondence to be refreshed is available that if then execution in step 104, otherwise flow process finishes;
104: refresh the software of controller type correspondence to be refreshed, flow process finishes.
The method that present embodiment provides, by obtaining effective authority, and after the authority of checking controller type correspondence to be refreshed can be used, refresh the software of controller type correspondence to be refreshed, thereby realize the software in the controller is refreshed in time, and then promote the performance of controller.
Embodiment two
Need carry out the situation of software refreshing according to the demarcation situation of wheel box often at the controller of automatic gearbox of vehicles, present embodiment provides a kind of method of updating software, and referring to Fig. 2, method flow is specific as follows:
201: obtain effective authority;
Particularly, present embodiment does not limit the mode of obtaining effective authority, and this step is taked following mode:
The fetch equipment sequence number, and search assigned catalogue whether available authority is arranged;
If, then read and the decrypt authorized file, the grant number of authorized file, relatively whether the grant number of authority is consistent with the sequence number that reads, if consistent, judges that then authority is effective, and effective authority is stored in the mandate formation.
Wherein, available authority is the required authority of checking updating software authority in the assigned catalogue, and these authorities can generate after software upgrading and be stored in the assigned catalogue, and present embodiment is not done concrete qualification to this.In order to guarantee under the situation of granted permission, software to be refreshed, thereby the method for the updating software that provides of present embodiment, need obtain effective authority earlier, thereby carry out the checking of software refreshing authority by subsequent step.
In addition, the pairing equipment of Equipment Serial Number herein is and the pairing hardware support kit equipment of the device of updating software, compare by grant number this Equipment Serial Number and authority, when the grant number that draws authority is consistent with Equipment Serial Number, it is effective to judge authority, means that promptly the pairing hardware device of device of this updating software can be verified whether having the authority of carrying out software refreshing by this authority.Thereby the effective authority that needs to get access to is put into and authorizes in the formation, and in the practical application, the form that can tabulate is stored effective authority, thereby forms the authority tabulation.
202: determine corresponding controller type according to effective authority;
At this step, existing controller has polytype, when the software in every type the controller refreshes, all need corresponding authority, be awarded the authority of updating software with proof, and above-mentioned steps 201 is after obtaining effective authority, if obtain a plurality of effective authorities, and corresponding the controller type of each authority then can be determined according to the authority that gets access to the controller type of a plurality of correspondences just to mean that also the software that has in polytype controller can refresh, yet, specifically refresh the software in the controller of which kind of type, can select decision, see subsequent step for details by the user.
203: determine controller type to be refreshed, and verify whether the authority of controller type correspondence to be refreshed is available, if, execution in step 204, otherwise, execution in step 205;
Wherein, present embodiment is not to determining that controller type to be refreshed limits, because the controller type that different software is corresponding different, if obtain a plurality of effective authorities, then the controller type of determining according to authority can have multiplely, therefore, specifically the software in the controller of which kind of type is refreshed, need further to determine that present embodiment is not to determining that mode specifically limits.In the practical operation, the user wishes the software in the controller of which kind of type is refreshed, can with this controller be connected to the pairing support equipment of the device of updating software on, and after successful connection, in fixed controller type, select, with the controller type selected as controller type to be refreshed.Concrete connected mode also can be selected decision by the user, for example, the user can select (the Universal Serial BUS with USB, USB (universal serial bus)) mode of interface with controller be connected to the pairing support equipment of the device of updating software on, or select other connected mode, present embodiment is not done concrete qualification to this.
Whether available about authority how to verify controller type correspondence to be refreshed, present embodiment is not done concrete qualification equally, for reasonable use authority file, authority is except the grant number that comprises authority, can also comprise the remaining access times of authority, by the access times of restriction authority, reach the purpose of reasonable use authority file.For the access times of authority, can set according to actual conditions, present embodiment is not done qualification to this.But whether the authority of verifying controller type correspondence to be refreshed the time spent, can realize in the following way:
Whether the authority of judging the controller type correspondence has remaining access times, if then the authority of the controller type correspondence that checking is to be refreshed can be used, otherwise, verify that the authority of controller type correspondence to be refreshed is unavailable.
204: refresh the software of controller type correspondence to be refreshed, flow process finishes;
At this step, can refresh the software in the controller by existing techniques in realizing, present embodiment does not limit specifically refreshing mode.
Alternatively, verify that the authority of controller type correspondence to be refreshed is whether available after, authority information that can also display controller type correspondence, about the particular content of display mode and authority information, present embodiment is not done concrete qualification.For example, can in window, show information such as the remaining access times of authority.
205: the prompting error message, flow process finishes.
This step is an optional step, after the authority of checking controller type correspondence to be refreshed is unavailable, makes the user can know definite Flushing status in the process of updating software by the prompting error message.About the content of error message, can point out according to different situations, present embodiment is not done concrete qualification to this.For example, when the remaining access times of current authority are zero, can point out the user not have the authority of using this authority, so that the user takes other modes to carry out software refreshing.
The method that present embodiment provides, by obtaining effective authority, and after the authority of checking controller type correspondence to be refreshed can be used, refresh the software of controller type correspondence to be refreshed, thereby realize the software in the controller is refreshed in time, and then promote the performance of controller; In addition, limit, can guarantee that authority is rationally used by access times to authority.
Embodiment three
Referring to Fig. 3, present embodiment provides a kind of device of updating software, and this device comprises:
Wherein, referring to Fig. 4, acquisition module 301 specifically comprises:
The first reading unit 301a is used for the fetch equipment sequence number;
Whether search unit 301b, being used to search assigned catalogue has available authority;
The second reading unit 301c is used for reading and the decrypt authorized file grant number of authorized file searching after unit 301b finds available authority;
Acquiring unit 301d, whether the grant number that is used for the authority that the comparison second reading unit 301c reads is consistent with the sequence number that the first reading unit 301a reads, if consistent, judges that then authority is effective, and authority is stored in authorizes in the formation.
Particularly, authentication module 304, whether the authority that specifically is used to judge the controller type correspondence to be refreshed that second determination module 303 is determined has remaining access times, if, then the authority of the controller type correspondence that checking is to be refreshed can be used, otherwise, verify that the authority of controller type correspondence to be refreshed is unavailable.
Alternatively, referring to Fig. 5, this device also comprises:
Reminding module 306 is used for after the authority of authentication module 304 checkings controller type correspondence to be refreshed is unavailable the prompting error message.
Referring to Fig. 6, this device also comprises:
In sum, the device that present embodiment provides, by obtaining effective authority, and after the authority of checking controller type correspondence to be refreshed can be used, refresh the software of controller type correspondence to be refreshed, thereby realize the software in the controller is refreshed in time, and then promote the performance of controller; In addition, limit, can guarantee that authority is rationally used by access times to authority.
Need to prove: the device of the updating software that the foregoing description provides is when updating software, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the inner structure that is about to device is divided into different functional modules, to finish all or part of function described above.In addition, the device of the updating software that the foregoing description provides and the method embodiment of updating software belong to same design, and its specific implementation process sees method embodiment for details, repeats no more here.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
All or part of step in the embodiment of the invention can utilize software to realize that corresponding software programs can be stored in the storage medium that can read, as CD or hard disk etc.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the method for a updating software is characterized in that, described method comprises:
Obtain effective authority;
Determine corresponding controller type according to described effective authority;
Determine controller type to be refreshed, and verify whether the authority of controller type correspondence described to be refreshed is available, if then refresh the software of controller type correspondence described to be refreshed.
2. method according to claim 1 is characterized in that, describedly obtains effective authority, specifically comprises:
The fetch equipment sequence number, and search assigned catalogue whether available authority is arranged;
If, then read and decipher described authority, obtain the grant number of described authority, whether the grant number of more described authority is consistent with the described sequence number that reads, if it is consistent, judge that then described authority is effective, and described effective authority is stored in the mandate formation.
3. method according to claim 1 is characterized in that, described authority comprises at least: the grant number of described authority and remaining access times;
Correspondingly, whether the authority of the controller type correspondence that described checking is described to be refreshed is available, specifically comprises:
Whether the authority of judging controller type correspondence described to be refreshed has remaining access times, if, verify that then the authority of controller type correspondence described to be refreshed can use, otherwise, verify that the authority of controller type correspondence described to be refreshed is unavailable.
4. according to the described method of the arbitrary claim of claim 1 to 3, it is characterized in that, after whether the authority of the controller type correspondence that described checking is described to be refreshed is available, also comprise:
After the authority of checking controller type correspondence described to be refreshed is unavailable, the prompting error message.
5. according to the described method of the arbitrary claim of claim 1 to 3, it is characterized in that, after whether the authority of the controller type correspondence that described checking is described to be refreshed is available, also comprise:
The authority information that shows described controller type correspondence.
6. the device of a updating software is characterized in that, described device comprises:
Acquisition module is used to obtain effective authority;
First determination module, the effective authority that is used for getting access to according to described acquisition module is determined corresponding controller type;
Second determination module is used for determining controller type to be refreshed at the controller type that described first determination module is determined;
Authentication module is used to verify whether the authority of the controller type correspondence to be refreshed that described second determination module is determined is available;
Refresh module is used for refreshing the software of controller type correspondence described to be refreshed after the authority of described authentication module checking controller type correspondence described to be refreshed can be used.
7. device according to claim 6 is characterized in that, described acquisition module specifically comprises:
First reading unit is used for the fetch equipment sequence number;
Whether search the unit, being used to search assigned catalogue has available authority;
Second reading unit is used for searching after the unit finds available authority described, reads and decipher described authority, obtains the grant number of described authority;
Acquiring unit, whether the grant number that is used for the authority that more described second reading unit reads is consistent with the described sequence number that described first reading unit reads, if consistent, judge that then described authority is effective, and described authority is stored in the mandate formation.
8. device according to claim 6, it is characterized in that, described authentication module, whether the authority that specifically is used to judge the controller type correspondence to be refreshed that described second determination module is determined has remaining access times, if, verify that then the authority of controller type correspondence described to be refreshed can use, otherwise, verify that the authority of controller type correspondence described to be refreshed is unavailable.
9. according to the described device of the arbitrary claim of claim 6 to 8, it is characterized in that described device also comprises:
Reminding module is used for after the authority of described authentication module checking controller type correspondence described to be refreshed is unavailable the prompting error message.
10. according to the described device of the arbitrary claim of claim 6 to 8, it is characterized in that described device also comprises:
Display module is used to show the authority information of described controller type correspondence.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 201010186543 CN101825875A (en) | 2010-05-25 | 2010-05-25 | Method and device for updating software |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 201010186543 CN101825875A (en) | 2010-05-25 | 2010-05-25 | Method and device for updating software |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN101825875A true CN101825875A (en) | 2010-09-08 |
Family
ID=42689830
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 201010186543 Pending CN101825875A (en) | 2010-05-25 | 2010-05-25 | Method and device for updating software |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101825875A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103201138A (en) * | 2010-10-29 | 2013-07-10 | 本田技研工业株式会社 | Program rewriting system for vehicles |
| CN103713527A (en) * | 2012-09-29 | 2014-04-09 | 博世汽车部件(苏州)有限公司 | Refreshing method, writing apparatus and writing system for automobile electronic controller |
| CN104155882A (en) * | 2014-06-06 | 2014-11-19 | 奇瑞汽车股份有限公司 | Method and system for refreshing automatic transmission control unit |
| CN105511923A (en) * | 2015-12-11 | 2016-04-20 | 浪潮电子信息产业股份有限公司 | A tool for refreshing FRU under MS-DOS based on IPMICFG |
| CN105549997A (en) * | 2015-12-11 | 2016-05-04 | 浪潮电子信息产业股份有限公司 | FRU refreshing tool under Linux system based on fru-change |
| CN106033220A (en) * | 2015-03-17 | 2016-10-19 | 广州汽车集团股份有限公司 | A method and system for detecting the erasing state of ECU Flash |
| CN115914199A (en) * | 2021-09-29 | 2023-04-04 | 比亚迪股份有限公司 | Upgrade method, system and medium of controller in energy storage container, industrial computer |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1696900A (en) * | 2004-05-13 | 2005-11-16 | 通用汽车公司 | Method and system for remote refreshing |
| CN101266492A (en) * | 2008-04-29 | 2008-09-17 | 上海汽车集团股份有限公司 | Calibration software configuration management system and method for vehicle diagnostic instrument |
| CN101286066A (en) * | 2007-12-28 | 2008-10-15 | 奇瑞汽车股份有限公司 | Automobile controller software refreshing method |
| US20090119657A1 (en) * | 2007-10-24 | 2009-05-07 | Link Ii Charles M | Methods and systems for software upgrades |
-
2010
- 2010-05-25 CN CN 201010186543 patent/CN101825875A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1696900A (en) * | 2004-05-13 | 2005-11-16 | 通用汽车公司 | Method and system for remote refreshing |
| US20090119657A1 (en) * | 2007-10-24 | 2009-05-07 | Link Ii Charles M | Methods and systems for software upgrades |
| CN101286066A (en) * | 2007-12-28 | 2008-10-15 | 奇瑞汽车股份有限公司 | Automobile controller software refreshing method |
| CN101266492A (en) * | 2008-04-29 | 2008-09-17 | 上海汽车集团股份有限公司 | Calibration software configuration management system and method for vehicle diagnostic instrument |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103201138A (en) * | 2010-10-29 | 2013-07-10 | 本田技研工业株式会社 | Program rewriting system for vehicles |
| CN103713527A (en) * | 2012-09-29 | 2014-04-09 | 博世汽车部件(苏州)有限公司 | Refreshing method, writing apparatus and writing system for automobile electronic controller |
| CN103713527B (en) * | 2012-09-29 | 2017-03-22 | 博世汽车部件(苏州)有限公司 | Refreshing method, writing apparatus and writing system for automobile electronic controller |
| CN104155882A (en) * | 2014-06-06 | 2014-11-19 | 奇瑞汽车股份有限公司 | Method and system for refreshing automatic transmission control unit |
| CN104155882B (en) * | 2014-06-06 | 2017-03-15 | 奇瑞控股有限公司 | A kind of automatic gear-box control unit method for refreshing and system |
| CN106033220A (en) * | 2015-03-17 | 2016-10-19 | 广州汽车集团股份有限公司 | A method and system for detecting the erasing state of ECU Flash |
| CN105511923A (en) * | 2015-12-11 | 2016-04-20 | 浪潮电子信息产业股份有限公司 | A tool for refreshing FRU under MS-DOS based on IPMICFG |
| CN105549997A (en) * | 2015-12-11 | 2016-05-04 | 浪潮电子信息产业股份有限公司 | FRU refreshing tool under Linux system based on fru-change |
| CN115914199A (en) * | 2021-09-29 | 2023-04-04 | 比亚迪股份有限公司 | Upgrade method, system and medium of controller in energy storage container, industrial computer |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101825875A (en) | Method and device for updating software | |
| CN108288211B (en) | Maintenance management for vehicle sharing system | |
| CN105490803B (en) | The method for controlling the access to electronic control unit | |
| Kumar et al. | Community sensor network for monitoring road roughness using smartphones | |
| EP4207110B1 (en) | DEVICE AND METHOD FOR COLLECTING USER-BASED INSURANCE DATA IN VEHICLES | |
| US9014910B2 (en) | Method and system for providing vehicle data to third party authorized recipients | |
| US8653953B2 (en) | Odometer verification and reporting using a telematics-equipped vehicle | |
| US20170339095A1 (en) | Virtual dns record updating method for dynamic ip address change of vehicle hosted server | |
| US9667766B2 (en) | Bluetooth control system and method therefor | |
| CN102880777A (en) | Battery replacement data interaction method, device and system for electric vehicle | |
| US20090323967A1 (en) | Production of cryptographic keys for an embedded processing device | |
| WO2013074981A1 (en) | Vehicle middleware | |
| US20200118201A1 (en) | Rental management apparatus, method of managing rental, and computer readable recording medium | |
| CN103139699A (en) | Vehicle information inquiry method and communication terminal | |
| CN112540736A (en) | Screen projection method and device | |
| Bortles et al. | An introduction to the forensic acquisition of passenger vehicle infotainment and telematics systems data | |
| Veitas et al. | In-vehicle data recording, storage and access management in autonomous vehicles | |
| JP2007528067A (en) | Updating and / or extending the functionality of the process control means of at least one control device | |
| McCarthy et al. | Access to in-vehicle data and resources | |
| CN111148068A (en) | Bluetooth key configuration method and system for configuring Bluetooth key | |
| JP6867098B2 (en) | Information system | |
| CN112819181B (en) | Method, apparatus, computer-readable storage medium for managing vehicles | |
| Kim et al. | Compare of vehicle management over the air and on-board diagnostics | |
| Huq et al. | Identifying cybersecurity focus areas in connected cars based on wp. 29 un-r155 attack vectors and beyond | |
| CN105653916A (en) | Mobile terminal and screen unlocking method therefore based on position information |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100908 |