CN101135975A - Method for detecting system utility program matching - Google Patents

Method for detecting system utility program matching Download PDF

Info

Publication number
CN101135975A
CN101135975A CNA200610112074XA CN200610112074A CN101135975A CN 101135975 A CN101135975 A CN 101135975A CN A200610112074X A CNA200610112074X A CN A200610112074XA CN 200610112074 A CN200610112074 A CN 200610112074A CN 101135975 A CN101135975 A CN 101135975A
Authority
CN
China
Prior art keywords
application program
information
match
crc check
identifying information
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
CNA200610112074XA
Other languages
Chinese (zh)
Other versions
CN101135975B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200610112074XA priority Critical patent/CN101135975B/en
Publication of CN101135975A publication Critical patent/CN101135975A/en
Application granted granted Critical
Publication of CN101135975B publication Critical patent/CN101135975B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The method comprises: the boot program makes the adaption for the identification information in the application program; according to the adaption result, executing the single board application program or saving the information of adaption failure; when adaption is successful, executing the single board application program , and saving the adaption result into the memory; when the adaption fails, saving the information of adaption failure, and the information of adaption failure is used for positioning. Said identification information comprises: version number, CPU type, CRC verification, type of daughter board and type of single board.

Description

The method of system application matching detection
Technical field
The present invention relates to a kind of in real time embedded system the method for system application matching detection, specifically, relate to a kind of being applied in the field of mobile communication, veneer is to the method for the system application matching detection under the situation that multiple application program should be arranged.
Background technology
Because the telecommunications industry technology innovation is frequent and the market demand constantly increases, the application program number of times of changing veneer is very frequent.In present system, exist a kind of veneer to the situation of a plurality of application programs should be arranged, when upgrading veneer application program, often take place not cause upgrading to get nowhere in response to matching with program and veneer, and the situation of a series of faults.The maintainer must arrive on-the-spot could orientation problem by serially printing information, this is for unattended duty, widely distributed mobile communication base station system, to expend great amount of manpower undoubtedly, material resources have increased maintenance cost, have strengthened the work of maintenance personnel amount.
Summary of the invention
Technical matters solved by the invention provides a kind of method of system application matching detection, in order to quick fault location, and the normal startup of protection system.
Technical scheme of the present invention is as follows:
The method of system application matching detection comprises the steps:
(1) boot is mated the identifying information that is written in the application program;
(2) matching result is reported to the background net management system, simultaneously matching result is kept at the specified memory zone.
Further, identifying information writes in the application program generative process described in the step (1), and described identifying information comprises version number, cpu type, CRC check, subcard type or board type.
Further, in the step (1), in system starting process, boot is mated the identifying information that is written in the application program.
Further, step (2) is specially:
When the match is successful, carry out veneer application program, matching result is kept in the storer, so that inquiry; When it fails to match, the information of preserving that it fails to match, should it fails to match information is used for the location.
Further, step (1) is specially:
(11) judge whether if do not embed, to carry out veneer application program according to eigenwert for having embedded the application program of identifying information; If embed execution in step (12);
(12) carry out CRC check, and judge the CRC check value, if CRC check value mistake then send or preserve the CRC check failure information; If correct, execution in step (13);
(13) judge cpu type, if cpu type mistake then send or preserve cpu type it fails to match information; If correct, execution in step (2).
Adopt the method for the invention,,, can locate immediately, reduce unnecessary workload in case find the situation of the system start-up failure that causes because application program does not match for the use of system application provides good protection.
Description of drawings
Fig. 1 is the process flow diagram of the coupling application program of the specific embodiment of the invention.
Embodiment
For a kind of effective matching inspection method is provided, in boot guiding application program process, application programs is carried out matching detection, when it fails to match, returns the information that it fails to match immediately to the backstage or preserve, and helps the quick location of problem.
For application program, how could be identified it be applicable to the sort of veneer? best bet is that itself comprises identifying information.For software, any code of finishing writing must experience compilation process before effectively utilizing, and utilized these characteristics of software just, and we were written to the information of application program suitable environment in the application program in the compilation phase.
In the mobile communication base station, same class veneer is considered for modularization, can use multiple CPU, has produced multiple application program, therefore in system starting process veneer and its application program is mated the very necessity that seems.
After software version compiles end normally, utilize Software tool that the identifying information of application program is written in the application program, this identifying information comprises: version number, cpu type, CRC check, version file length, subcard type, board type etc.
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are done detailed explanation.
As shown in Figure 1, the method for system application matching detection comprises the steps:
In the system starting process, boot is mated the identifying information that is written in the application program, according to matching result or carry out veneer application program or preserve that it fails to match information.
Concrete steps are as follows:
Step S101: obtain veneer application program.
Step S102: whether according to eigenwert is that specific character (BTS VER) judges whether application program has embedded identifying information, if do not embed, execution in step S103 carries out veneer application program; If embed execution in step S104.
Step S103: carry out veneer application program.
Step S104: carry out CRC check, and judge the CRC check value, if CRC check value mistake then, then execution in step S105 sends or preserves the CRC check failure information; If correct, execution in step S106.
Step S105: if CRC check value mistake then, then withdraw from veneer application program, perhaps print, send the CRC check error message, perhaps preserve the CRC check error message in storer.
Step S106: judge cpu type, differentiate whether the application program cpu type is complementary with hardware.
Step S107: if cpu type and hardware do not match, then withdraw from veneer application program, perhaps print, send the cpu type error message that do not match, perhaps preserve cpu type and do not match error message to storer.
Step S108: when the match is successful, matching result is turned back to the background net management system, carry out veneer application program, simultaneously, the information that sends that the match is successful or be kept in the storer is so that inquiry.

Claims (5)

1. the method for a system application matching detection comprises the steps:
(1) boot is mated the identifying information that is written in the application program;
(2) matching result is reported to the background net management system, simultaneously matching result is kept at the specified memory zone.
2. the method for system application matching detection according to claim 1, it is characterized in that, identifying information writes in the application program generative process described in the step (1), and described identifying information comprises version number, cpu type, CRC check, subcard type or board type.
3. the method for system application matching detection according to claim 2 is characterized in that, in the step (1), in system starting process, boot is mated the identifying information that is written in the application program.
4. the method for system application matching detection according to claim 1 is characterized in that, step (2) is specially:
When the match is successful, carry out veneer application program, matching result is kept in the storer, so that inquiry; When it fails to match, the information of preserving that it fails to match, should it fails to match information is used for the location.
5. the method for system application matching detection according to claim 4 is characterized in that, step (1) is specially:
(11) judge whether if do not embed, to carry out veneer application program according to eigenwert for having embedded the application program of identifying information; If embed execution in step (12);
(12) carry out CRC check, and judge the CRC check value, if CRC check value mistake then send or preserve the CRC check failure information; If correct, execution in step (13);
(13) judge cpu type, if cpu type mistake then send or preserve cpu type it fails to match information; If correct, execution in step (2).
CN200610112074XA 2006-08-29 2006-08-29 Method for detecting system utility program matching Expired - Fee Related CN101135975B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610112074XA CN101135975B (en) 2006-08-29 2006-08-29 Method for detecting system utility program matching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610112074XA CN101135975B (en) 2006-08-29 2006-08-29 Method for detecting system utility program matching

Publications (2)

Publication Number Publication Date
CN101135975A true CN101135975A (en) 2008-03-05
CN101135975B CN101135975B (en) 2011-02-23

Family

ID=39160084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610112074XA Expired - Fee Related CN101135975B (en) 2006-08-29 2006-08-29 Method for detecting system utility program matching

Country Status (1)

Country Link
CN (1) CN101135975B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681910A (en) * 2011-03-08 2012-09-19 联想(北京)有限公司 Recognition method, computer and recognition system
CN103617095A (en) * 2013-11-15 2014-03-05 中国航空无线电电子研究所 VxWorks mapping file accuracy checking method
CN110400422A (en) * 2019-06-26 2019-11-01 青岛乾程科技股份有限公司 A kind of electric energy meter charging method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7243347B2 (en) * 2002-06-21 2007-07-10 International Business Machines Corporation Method and system for maintaining firmware versions in a data processing system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681910A (en) * 2011-03-08 2012-09-19 联想(北京)有限公司 Recognition method, computer and recognition system
CN102681910B (en) * 2011-03-08 2015-01-28 联想(北京)有限公司 Recognition method, computer and recognition system
CN103617095A (en) * 2013-11-15 2014-03-05 中国航空无线电电子研究所 VxWorks mapping file accuracy checking method
CN110400422A (en) * 2019-06-26 2019-11-01 青岛乾程科技股份有限公司 A kind of electric energy meter charging method

Also Published As

Publication number Publication date
CN101135975B (en) 2011-02-23

Similar Documents

Publication Publication Date Title
CN104007996B (en) The authentic firmware upgrading of a kind of dcs realizes method
CN100456246C (en) Method and device for updating firmware program
CN102736978B (en) A kind of method and device detecting the installment state of application program
JP6291248B2 (en) Firmware upgrade error detection and automatic rollback
CN103458086B (en) A kind of smart mobile phone and fault detection method thereof
CN102760090B (en) Debugging method and computer system
CN103077111B (en) A kind of localization method of continuous integrating failure use-case and system
CN104899065A (en) Method and system for batch online recovery and software online upgrading
CN101364193A (en) BIOS automatic recovery method and computer and system using the method
CN102063344A (en) Method and system for system fault information dump
CN103034564B (en) Data disaster tolerance drilling method, data disaster tolerance practice device and system
CN106776320A (en) Android intelligent terminal automatization test system and method
CN103530150A (en) Remote updating method for Linux operating system
CN103019722B (en) A kind of method and device extracting Java network application AKU
CN101135975B (en) Method for detecting system utility program matching
CN101145983B (en) A self-diagnosis and self-discovery subsystem and method of network management system
CN104615471A (en) System upgrading method and device for terminal
CN101763294A (en) Method for looking up and backing up system operation log according to time slots
CN101216792A (en) Real-time operating system tasks management process, device and real-time operating system
CN104516796A (en) Command set based network element backup and recovery method and device
CN100549971C (en) A kind of method and device that reads the CPU code
CN102629212A (en) Method for indirectly programming to NANDFLASH based on J-LINK
CN102521132A (en) Automated testing method and automated testing system for real-time output logs
CN104991832A (en) Method for processing shutdown of embedded processor
CN104298773A (en) Automatic base switching system and method for ETL operations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110223

Termination date: 20170829

CF01 Termination of patent right due to non-payment of annual fee