CN101135975B - Method for detecting system utility program matching - Google Patents
Method for detecting system utility program matching Download PDFInfo
- Publication number
- CN101135975B CN101135975B CN200610112074XA CN200610112074A CN101135975B CN 101135975 B CN101135975 B CN 101135975B CN 200610112074X A CN200610112074X A CN 200610112074XA CN 200610112074 A CN200610112074 A CN 200610112074A CN 101135975 B CN101135975 B CN 101135975B
- Authority
- CN
- China
- Prior art keywords
- application program
- information
- match
- identifying information
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
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
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) in the compilation phase information of application program suitable environment is written to application program, after compiling finishes, utilize Software tool that the identifying information of application program is written to application program, in boot guiding application program process, 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, the boot guiding application program mates 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) in the compilation phase information of application program suitable environment is written to application program, after compiling finishes, utilize Software tool that the identifying information of application program is written to application program, in boot guiding application program process, whether boot is mated the identifying information that is written in the application program, mate with veneer with recognition application;
(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, the boot guiding application program mates 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).
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 CN101135975A (en) | 2008-03-05 |
CN101135975B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1469252A (en) * | 2002-06-21 | 2004-01-21 | �Ҵ���˾ | Method and system for keeping firmware edition in data processing system |
-
2006
- 2006-08-29 CN CN200610112074XA patent/CN101135975B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1469252A (en) * | 2002-06-21 | 2004-01-21 | �Ҵ���˾ | Method and system for keeping firmware edition in data processing system |
Also Published As
Publication number | Publication date |
---|---|
CN101135975A (en) | 2008-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102736978B (en) | A kind of method and device detecting the installment state of application program | |
CN100456246C (en) | Method and device for updating firmware program | |
CN102760090B (en) | Debugging method and computer system | |
CN100595778C (en) | Method and apparatus for identifying virus document | |
CN103077111B (en) | A kind of localization method of continuous integrating failure use-case and system | |
CN107465572A (en) | Intelligent terminal method of testing, apparatus and system | |
CN1993679B (en) | Method, operating system, and computing device for processing a computer program | |
CN103473067A (en) | Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method | |
CN103019722B (en) | A kind of method and device extracting Java network application AKU | |
CN103530150A (en) | Remote updating method for Linux operating system | |
CN103458086A (en) | Smart phone and fault detection method thereof | |
CN107171825A (en) | A kind of repetition daily record filter method of terminal | |
WO2015117434A1 (en) | Method and device for manufacturing patch, and method and device for activating patch | |
CN101135975B (en) | Method for detecting system utility program matching | |
CN101634960A (en) | Method for revising BIOS parameter and regenerating checksum | |
CN105740139B (en) | A kind of debugging embedded software method based on virtual environment | |
CN101853200A (en) | High-efficiency dynamic software vulnerability exploiting method | |
CN101145983B (en) | A self-diagnosis and self-discovery subsystem and method of network management system | |
CN101251799B (en) | Apparatus and method for implementing management | |
CN101673230A (en) | Method for automatically backing up and recovering configuration data of embedded system by using a U-disk | |
CN101763294A (en) | Method for looking up and backing up system operation log according to time slots | |
CN111857694A (en) | Code editing method and device based on cloud native program development and deployment | |
EP3514680B1 (en) | Identification of changes in functional behavior and runtime behavior of a system during maintenance cycles | |
CN101086715A (en) | Method and device for reading CPU code | |
CN101706752B (en) | Method and device for in-situ software error positioning |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110223 Termination date: 20170829 |