CN104217167A - Software version checking method for multi-software system - Google Patents
Software version checking method for multi-software system Download PDFInfo
- Publication number
- CN104217167A CN104217167A CN201410460079.6A CN201410460079A CN104217167A CN 104217167 A CN104217167 A CN 104217167A CN 201410460079 A CN201410460079 A CN 201410460079A CN 104217167 A CN104217167 A CN 104217167A
- Authority
- CN
- China
- Prior art keywords
- software
- version
- tcu
- check code
- crc check
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/57—Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a software version checking method for a multi-software system. A CRC (Cyclic Redundancy Check) checking method is introduced; each subversion software in system management software in a TCU (Terminal Control Unit) is uniformly coded so as to generate actual 16-bit version check codes. Checking personnel can determine whether the software is not updated in place only by comparing the check codes with a reference check code. The software version checking method for the multi-software system solves the problems that site software versions need to be manually checked one by one; working efficiency is low; the operation is troublesome to carry out.
Description
Technical field
The present invention relates to software version checking method, particularly a kind of many software systems software version method of calibration.
Background technology
In practical engineering application, the control function of complex control system is often completed jointly by multiple software.For example, in locomotive driving control system, it is controlled function and is realized by TCU, and the control software of TCU is distributed in multiple processor chips of multiple plug-in units in TCU and same plug-in unit, comprises altogether twenties kinds.
System can normally be worked by re-set target, need to ensure the correctness of inner each software, therefore the check of each software version in TCU is seemed to particularly important.Because the software that scene need be upgraded is more, usually there is the situation that a lot of software upgradings are not in place, cause at the scene considerable influence.If ensure that software upgrading is entirely true, can only lean on attendant to check one by one each version, complex operation workload is large, on-the-spot in busy after sale, usually occurs having upgraded some software version after software and occur the situation of leakage core.
In locomotive transmission system, TCU is responsible for the control of whole kinematic train, nearly more than 20 of the softwares that its inside comprises, and the checking work of each sub-software has generally been checked by the address of variable content of checking respective version number one by one by personnel after sale.
The deficiency that current software version checking method exists has:
(1) software version is checked and need to be carried out one by one, and needs artificial nucleus couple, inefficiency.
Version querying is by checking that relevant variable address contents completes, and troublesome poeration is not directly perceived.
Summary of the invention
Technical matters to be solved by this invention is, for prior art deficiency, a kind of many software systems software version method of calibration is provided, solve that field software version needs manually to check one by one, the problem of inefficiency, troublesome poeration, automatically calculation check code, locates wrong version software automatically.
For solving the problems of the technologies described above, the technical solution adopted in the present invention is: a kind of many software systems software version method of calibration, it is characterized in that, and comprise host computer processing section, TCU processing section and comparative analysis part:
Described host computer processing section comprises the following steps:
1) in host computer, load TCU version information file;
2) all version numbers in TCU version information file are encoded;
3) calculate the CRC check code that all version numbers in TCU version information file encode;
4) generate the version information file with CRC check code;
Described TCU processing section comprises the following steps:
1) in TCU, the system management software, read the version number of each software in TCU;
2) version number of each software in TCU is encoded;
3) the CRC check code of version number's coding of each software in calculating TCU;
4) the CRC check code of version number's coding of each software in TCU being delivered to display terminal shows;
Described comparative analysis part comprises: relatively in the CRC check code of all version numbers coding in TCU version information file and TCU, whether the CRC check code of version number's coding of each software equates, if equate, version updating is correct; Otherwise, location faulty software version (text display by respective version number is other color).
Compared with prior art, the beneficial effect that the present invention has is: the present invention checks CRC check principle for the software version of many edition systems, solved that field software version needs manually to check one by one, the problem of inefficiency, troublesome poeration, on-site service personnel only need check the software version check code on display interfaces, with the reference check code comparison in version information file, only need check a word content can be confirmed whether that all version updating are correct, verification mode is quick, and work efficiency is high; As long as notebook is connected to TCU by network interface, can automatically locate wrong version, easy to operate, use simple.
Brief description of the drawings
Fig. 1 is one embodiment of the invention method flow diagram.
Embodiment
Taking South Africa car TCU bottom software as example, in the car TCU of South Africa, have 19 of bottom software at present, upgrade after software, on-site service personnel need to inquire about the version number of these 19 softwares, to confirm whether each software upgrades correctly.
Whether classic method need be inputted the address of 19 version numbers successively, follows the comparison with reference to version number, see to upgrade and put in place, needs manually check one by one, inefficiency, troublesome poeration.
The method that the present invention proposes: whether only need the check code of relatively display demonstration with consistent with reference to check code, if consistent, explanation is upgraded and put in place; If inconsistent, the software of positioned update mistake, easy to operate, and location is quick.
Embodiment:
Suppose that current TCU 19 reference software versions to be updated are followed successively by: V3.0.0, V3.0.0, V3.0.0, V1.0.3, V3.0.0, V3.0.0, V3.0.0, V1.0.3, V3.0.0, V3.0.0, V3.0.0, V1.0.3, V3.0.0, V3.0.0, V3.0.0, V1.0.3, V1.0.0, V1.0.0, V1.0.1;
The checking procedure of the method that the present invention proposes is as follows:
1) calculate also generating reference check code
19 software version number are encoded into a bit string, coding result is 0x,010,101,000,100,010,303,000,300,030,001,030,300,030,003,000,103,030,003 0003000103030003000300, according to CRC16 verification principle, generating reference check code is 0xFE2F;
2) the automatic calculation check code of the TCU system management software
The TCU system management software calculates CRC check code automatically according to the actual version number of each software in current TCU; If all software upgradings are correct, coding result is also 0x,010,101,000,100,010,303,000,300,030,001,030,300,030,003,000,103,030,003 0003000103030003000300, the check code calculating, by identical the reference check code calculating with host computer, is also 0xFE2F; If there is software upgrading incorrect, for example the 13rd software upgrading error, the actual version upgrading is V2.0.1, coding result becomes 0x,010,101,000,100,010,303,000,300,020,101,030,300,030,003,000,103,030,003 0003000103030003000300, the check code that actual computation goes out becomes 0x985B, with inconsistent with reference to check code 0xFE2F.
3) on-site service personnel checks version check code
Whether on-site service personnel has upgraded after software, relatively consistent with the check code showing on display with reference to check code; If consistent, illustrate that software upgrading is correct, turns 5); If inconsistent, locate wrong version;
4) read the actual version number of each software in TCU, compare successively with reference to version number with each software in version information file, if find, the actual version number of certain software is with inconsistent with reference to version number, by this software mark out, has reached the object of location faulty software.Field software upgrades personnel according to positioning result, again upgrades faulty software, turns 3);
5) task finishes, software upgrading success.
Claims (1)
1. the software version of software systems a more than method of calibration, is characterized in that, comprises host computer processing section, TCU processing section and comparative analysis part:
Described host computer processing section comprises the following steps:
1) in host computer, load TCU version information file;
2) all version numbers in TCU version information file are encoded;
3) calculate the CRC check code that all version numbers in TCU version information file encode;
4) generate the version information file with CRC check code;
Described TCU processing section comprises the following steps:
1) in TCU, the system management software, read the version number of each software in TCU;
2) version number of each software in TCU is encoded;
3) the CRC check code of version number's coding of each software in calculating TCU;
4) the CRC check code of version number's coding of each software in TCU being delivered to display terminal shows;
Described comparative analysis part comprises: relatively in the CRC check code of all version numbers coding in TCU version information file and TCU, whether the CRC check code of version number's coding of each software equates, if equate, version updating is correct; Otherwise, location faulty software version.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410460079.6A CN104217167A (en) | 2014-09-11 | 2014-09-11 | Software version checking method for multi-software system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410460079.6A CN104217167A (en) | 2014-09-11 | 2014-09-11 | Software version checking method for multi-software system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104217167A true CN104217167A (en) | 2014-12-17 |
Family
ID=52098642
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410460079.6A Pending CN104217167A (en) | 2014-09-11 | 2014-09-11 | Software version checking method for multi-software system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104217167A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461765A (en) * | 2014-12-29 | 2015-03-25 | 卡斯柯信号有限公司 | Interlocking system data accuracy detection method based on version verification |
CN106354497A (en) * | 2016-08-25 | 2017-01-25 | 成都索贝数码科技股份有限公司 | Version management method and system based on file signature |
CN107273166A (en) * | 2017-06-21 | 2017-10-20 | 株洲中车时代电气股份有限公司 | A kind of method of train display management software version |
CN110347420A (en) * | 2018-04-08 | 2019-10-18 | 中国电力科学研究院有限公司 | A kind of distribution terminal software version consistency detecting method and system |
CN111090441A (en) * | 2019-11-09 | 2020-05-01 | 国网上海市电力公司 | Management method and system for power secondary equipment software |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030014744A1 (en) * | 2001-03-07 | 2003-01-16 | Stefan Doll | Method of checking at least one software application installed on a data processing sytstem |
US20030126504A1 (en) * | 2001-09-06 | 2003-07-03 | Fintan Ryan | Method for checking a computer system configuration |
CN1945534A (en) * | 2006-11-03 | 2007-04-11 | 北京启明星辰信息技术有限公司 | Software unified upgrading technology method for supporting multiple products |
CN101436138A (en) * | 2007-11-16 | 2009-05-20 | 苏州科达通信技术发展有限公司 | Control device and control method for software upgrade and dynamic rolling back |
CN102999397A (en) * | 2012-12-17 | 2013-03-27 | 四川九洲电器集团有限责任公司 | Embedded software upgrading and checking method |
CN103077345A (en) * | 2012-12-27 | 2013-05-01 | 深信服网络科技(深圳)有限公司 | Software authorization method and system based on virtual machine |
CN103500112A (en) * | 2013-10-11 | 2014-01-08 | 索尔思光电(成都)有限公司 | Software version control method |
-
2014
- 2014-09-11 CN CN201410460079.6A patent/CN104217167A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030014744A1 (en) * | 2001-03-07 | 2003-01-16 | Stefan Doll | Method of checking at least one software application installed on a data processing sytstem |
US20030126504A1 (en) * | 2001-09-06 | 2003-07-03 | Fintan Ryan | Method for checking a computer system configuration |
CN1945534A (en) * | 2006-11-03 | 2007-04-11 | 北京启明星辰信息技术有限公司 | Software unified upgrading technology method for supporting multiple products |
CN101436138A (en) * | 2007-11-16 | 2009-05-20 | 苏州科达通信技术发展有限公司 | Control device and control method for software upgrade and dynamic rolling back |
CN102999397A (en) * | 2012-12-17 | 2013-03-27 | 四川九洲电器集团有限责任公司 | Embedded software upgrading and checking method |
CN103077345A (en) * | 2012-12-27 | 2013-05-01 | 深信服网络科技(深圳)有限公司 | Software authorization method and system based on virtual machine |
CN103500112A (en) * | 2013-10-11 | 2014-01-08 | 索尔思光电(成都)有限公司 | Software version control method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461765A (en) * | 2014-12-29 | 2015-03-25 | 卡斯柯信号有限公司 | Interlocking system data accuracy detection method based on version verification |
CN104461765B (en) * | 2014-12-29 | 2017-10-27 | 卡斯柯信号有限公司 | The interlock system data accuracy detection method verified based on version |
CN106354497A (en) * | 2016-08-25 | 2017-01-25 | 成都索贝数码科技股份有限公司 | Version management method and system based on file signature |
CN107273166A (en) * | 2017-06-21 | 2017-10-20 | 株洲中车时代电气股份有限公司 | A kind of method of train display management software version |
CN110347420A (en) * | 2018-04-08 | 2019-10-18 | 中国电力科学研究院有限公司 | A kind of distribution terminal software version consistency detecting method and system |
CN111090441A (en) * | 2019-11-09 | 2020-05-01 | 国网上海市电力公司 | Management method and system for power secondary equipment software |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104217167A (en) | Software version checking method for multi-software system | |
US9411574B2 (en) | System and method for updating firmware across devices in a process facility | |
US8745281B2 (en) | Automatic foundation fieldbus device commissioning | |
US9829865B2 (en) | Adaptive maintenance support and control of a process control system via device specification and actual condition information | |
EP3105642B1 (en) | Field device commissioning system and field device commissioning method | |
TWI595364B (en) | Automatic image recovery method and server system | |
US9719887B2 (en) | Field device commissioning system and field device commissioning method | |
CN104854558A (en) | Systems, methods, and computer program products for a software build and load process using a compilation and deployment service | |
CN104111885A (en) | Method and device for verifying interface test results | |
US20220198406A1 (en) | Feedback based automated maintenance system | |
US20170235302A1 (en) | Control program maintenance device, control program maintenance method, and program | |
CN106851625A (en) | A kind of blue tooth productses OTA upgrade methods | |
CN105550004A (en) | Multi-system upgrading apparatus and method | |
EP3105643B1 (en) | Field device commissioning system and field device commissioning method | |
CN107145455B (en) | Method for updating SMBIOS static information of whole system | |
JP2019032819A (en) | Dynamic correction for manufacturing plan according to manufacturing deviation | |
CN104461765A (en) | Interlocking system data accuracy detection method based on version verification | |
CN104809019A (en) | Web page code publishing method and system | |
CN105302613A (en) | Method and system for updating EOC software by adopting combined files | |
CN102662700A (en) | Method for releasing and upgrading embedded software edition | |
CN114036248A (en) | High-precision map data processing method and device and electronic equipment | |
CN107562433B (en) | Automatic multiprocessor program updating system and program updating method | |
US8849619B2 (en) | System and method for generating three dimensional functional space reservation systems of a vehicle using delta storage | |
CN104717093A (en) | Management method of an electric installation and management system of one such installation | |
CN109582334A (en) | The upgrade method and device of programmable logic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141217 |
|
RJ01 | Rejection of invention patent application after publication |