CN100342332C - Method of realizing equipment porating final software edition printed information - Google Patents
Method of realizing equipment porating final software edition printed information Download PDFInfo
- Publication number
- CN100342332C CN100342332C CNB2004100780372A CN200410078037A CN100342332C CN 100342332 C CN100342332 C CN 100342332C CN B2004100780372 A CNB2004100780372 A CN B2004100780372A CN 200410078037 A CN200410078037 A CN 200410078037A CN 100342332 C CN100342332 C CN 100342332C
- Authority
- CN
- China
- Prior art keywords
- grade variable
- overall situation
- rank
- printing
- value
- 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.)
- Active
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The present invention provides a method for printing information of the equipment running final software version. The key point lies in that printing information levels, global printing level variables and the current printing level variables are previously set; when the equipment is started, the global printing level variables and the current printing level variables are initialized according to preset initial values; the current printing level variables are judged to match with the printing information levels or not; if yes, the matched printing information is used for printing; otherwise, the printing information is not operated. With the present invention, only the final software version carrying the printing information needs to be released. Control by operating the printing information or not can simultaneously satisfy the joint demand of users and software development testers, and avoid management confusion of different software versions. Meanwhile, the software which can be measured at any time can satisfy requirements for software stability and robustness.
Description
Technical field
The present invention relates to the type information technical field, be meant a kind of method that realizes equipment porating final software edition printed information especially.
Background technology
Type information in the hand held device software, generally be to be used for software development or the tester debugs use, thereby in the final software edition of issue usually, do not have type information, this be because, it is just as seen, invisible during user's normal use handheld device when type information generally links to each other with the backstage of computing machine (PC) end; And too much type information will impact the operational efficiency of software.
But, on the other hand, type information is very important to software development or tester, this be because, software development or tester are by the backstage of PC end, the type information of observation in the software version can be found in the very first time, orientation problem at an easy rate, thereby deals with problems very easily.
Contradiction at above-mentioned existence, general solution is: pass through the defmacro switch during software issue, compile two versions of final software, promptly one is the final version that does not have type information, this version is used for client, another is the final version that has Print All information, and this version uses for software development or tester.
There is obvious defects in above-mentioned solution:
1) each two final versions that all need releasing software are used to give different personnel, easily cause the version management confusion.
2) for a certain handheld device, during orientation problem, must download and install the new final version that has type information again, like this, much need the information of captured in real time, own through not existed in the process of version updating probably.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method that realizes equipment porating final software edition printed information, make final software version only need issue a version and get final product, both can guarantee the application of domestic consumer, can guarantee software development or tester's application again.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of method that realizes equipment porating final software edition printed information, this method may further comprise the steps:
A, the rank that type information is set, the overall situation are printed grade variable and current printing grade variable, the overall situation is set prints the initial value of grade variable and current printing grade variable, so that print the value of grade variable and current printing grade variable during device power-up according to the initial value initialization overall situation that has been provided with; The value that the described overall situation is printed grade variable and current printing grade variable can be revised;
Whether the value that b, the value of printing grade variable and current printing grade variable according to the overall situation are judged current printing grade variable is complementary with the rank of type information, if then call the type information that is complementary with it, and print, otherwise, do not move type information.
Preferably, described step b further comprises before carrying out: judge the current overall situation printing grade variable modification process that whether enters, if, then gather the information of user's input, and according to the overall value of printing grade variable of this information correction that collects, and then execution in step b, otherwise direct execution in step b.
Preferably, the described method that enters overall situation printing grade variable modification process is: enter overall situation printing grade variable modification process by hiding interface.
Preferably, describedly enter the overall situation and print the method for grade variable modification process and be by hiding interface: the user presses in the equipment predefined more than one enter key simultaneously and opens hiding interface, enters the overall situation and prints the grade variable modification process.
Preferably, the initial value of described overall situation printing grade variable and current printing grade variable is kept in the configuration file as configuration information; After this information correction that collects overall situation of described basis is printed the value of grade variable, further comprise: preserve this information that collects and print the configuration information of grade variable value, and then carry out subsequent step to being used for the initialization overall situation.
Preferably, it is one-dimension array that the described overall situation is printed grade variable, and the number of element is identical with other number of type information level in this array, and the rank of the corresponding type information of each element.
Preferably, described step b further comprises before carrying out: judge whether overall situation printing grade variable is effective one-dimension array, if carry out subsequent step again, otherwise directly withdraw from this flow process.
Preferably, it is an interval value that the described overall situation is printed grade variable, and the upper limit of this interval value is smaller or equal to the rank of the maximum printable information that has been provided with, and the lower limit of this interval value is more than or equal to the rank of the minimum type information that has been provided with.
Preferably, described step b further comprises before carrying out: whether the lower limit of judging overall situation printing grade variable interval value is smaller or equal to its higher limit, if carry out subsequent step again, otherwise directly withdraw from this flow process.
Preferably, the described printing rank of step a and the overall situation are printed grade variable, with and initial value be arranged in configuration file.
Preferably, the rank of described type information includes but not limited to not have prompting rank, general prompting rank, intermediate miscue rank from low to high, points out rank and fatal error prompting rank than gross error.
Preferably, described equipment includes but not limited to various handheld devices.
Key of the present invention is to print the value of grade variable and current printing grade variable when device power-up according to the initial value initialization overall situation that has been provided with; Whether the value of judging current printing grade variable is complementary with the rank of type information, if, then call the type information that is complementary with it, and print, otherwise, do not move type information.The user can enter overall situation printing grade variable modification process by hiding interface, revises the value that the overall situation is printed grade variable.Use the present invention, only need final software edition that has type information of issue to get final product, by controlling to whether moving type information, user that can satisfy simultaneously and software development and tester's joint demand are avoided because of issuing the confusion of the different software versions management that a plurality of versions cause.Simultaneously, because this software can be surveyed at any time, satisfy the requirement of software stability and robustness.
Description of drawings
Figure 1 shows that and use schematic flow sheet of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is done detailed description further again.
Figure 1 shows that and use schematic flow sheet of the present invention.
It can be an one-dimension array that the above-mentioned overall situation is printed grade variable, and the number of element is identical with other number of type information level in this array, and the rank of the corresponding type information of each element; Also can be an interval value, the upper limit of this interval value must be smaller or equal to printing other upper limit of level, and the lower limit of this interval value must be more than or equal to printing other lower limit of level, and in a word, the overall situation is printed the concrete form of grade variable and do not limited.Above-mentioned printing rank, the overall situation print grade variable and current printing grade variable is arranged in the configuration file file.
That is to say, the overall situation is printed the grade variable modification process and is arranged on a hiding user interface (UI, User Interface) in the interface, when having only the user to press predefined more than one enter key simultaneously, just can open this hiding interface, print the grade variable modification process thereby enter the overall situation.Usually have only software development or tester just can enter this interface, the overall situation is printed grade variable make amendment,, move which other type information of level to determine whether to move type information.Certainly, after operation finished, software development or tester can also close the type information of having moved.And general user can't enter this modification process.
After revising the value of overall situation printing grade variable in this step, can further include this information that collects of preservation to being used for initialized configuration information, so that during this handheld device opening initialization next time, print value after grade variable is given this change directly for the overall situation.
The value of current printing variable can directly be revised in configuration file, and like this, both the convenient for maintaining personnel had printed it at any time needs other type information of level, has avoided any modification of domestic consumer again.
Whether step 105, the value of judging current printing grade variable are complementary with the rank of type information, if then execution in step 107, otherwise execution in step 108.
If it is an one-dimension array that the overall situation is printed grade variable, further comprise before then carrying out above-mentioned judgement: judge according to other number of level of type information whether overall situation printing grade variable is effective one-dimension array, if it is invalid, then directly withdraw from this flow process, if execution in step 105 again effectively.At this moment, whether the above-mentioned value of judging current printing grade variable is to judge that the printing class information of which element value correspondence in the current one-dimension array needs to print with the process that the rank of type information is complementary.For example, the rank of 5 type informations is arranged, then the overall situation is printed grade variable { 0,0,1,0,1} is effective one-dimension array, and current printing grade variable is { 0,0,1,0,1} is if " 1 " expression is printed in the array, " 0 " expression is not printed, and then prints other type information of intermediate miscue rank and fatal error prompting level.
If it is an interval value that the overall situation is printed grade variable, further comprise before then carrying out above-mentioned judgement: whether judge the overall lower limit of printing the grade variable interval value smaller or equal to its higher limit, if not, then directly withdraw from this flow process, if execution in step 105 again.At this moment, whether the value of judging current printing grade variable with the process that the rank of type information is complementary be, the value of judging current printing grade variable belongs to the overall situation and prints in the grade variable interval value, if then be complementary, otherwise be not complementary.For example, it be [1,4] that the overall situation is printed grade variable, and current printing grade variable be [2,4], then prints general prompting rank, intermediate miscue rank and points out grade other type information than gross error.
If the overall situation is printed the form that grade variable adopts array, then the rank of type information can be a discrete state, and for example, only printing does not have prompting rank, intermediate miscue rank and other type information of fatal error prompting level; If it is an interval value that the overall situation is printed grade variable, then the rank of type information is normally continuous, for example, printing other lower limit of level is to print intermediate miscue rank, printing other upper limit of level is to print fatal error prompting rank, then will comprise intermediate miscue rank in its type information, point out rank and fatal error prompting rank than gross error.These two kinds of forms should use and cut both ways, and can select according to the actual needs.Certainly, the overall situation is printed grade variable can also adopt other mode, as long as use conveniently, does not do qualification at this.
Step 108 is not moved type information, process ends.
So far, realized control, promptly just printed when needed, then hidden type information when not required handheld device final software edition type information, and can enter overall situation printing grade variable modification process by hiding interface, revise the value that the overall situation is printed grade variable.
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 (12)
1, a kind of method that realizes equipment porating final software edition printed information is characterized in that, this method may further comprise the steps:
A, the rank that type information is set, the overall situation are printed grade variable and current printing grade variable, the overall situation is set prints the initial value of grade variable and current printing grade variable, so that print the value of grade variable and current printing grade variable during device power-up according to the initial value initialization overall situation that has been provided with; The value that the described overall situation is printed grade variable and current printing grade variable can be revised;
Whether the value that b, the value of printing grade variable and current printing grade variable according to the overall situation are judged current printing grade variable is complementary with the rank of type information, if then call the type information that is complementary with it, and print, otherwise, do not move type information.
2, method according to claim 1, it is characterized in that, before described step b carries out, further comprise: judge the current overall situation printing grade variable modification process that whether enters, if then gather the information of user's input, and print the value of grade variable according to this information correction that collects overall situation, and then execution in step b, otherwise direct execution in step b.
3, method according to claim 2 is characterized in that, the described method that enters overall situation printing grade variable modification process is: enter overall situation printing grade variable modification process by hiding interface.
4, method according to claim 3, it is characterized in that, describedly enter the overall situation and print the method for grade variable modification process and be by hiding interface: the user presses in the equipment predefined more than one enter key simultaneously and opens hiding interface, enters the overall situation and prints the grade variable modification process.
5, method according to claim 2 is characterized in that,
The initial value that the described overall situation is printed grade variable and current printing grade variable is kept in the configuration file as configuration information;
After this information correction that collects overall situation of described basis is printed the value of grade variable and current printing grade variable, further comprise: preserve this information that collects and print the configuration information of grade variable value, and then carry out subsequent step to being used for the initialization overall situation.
According to claim 1,2 or 5 described methods, it is characterized in that 6, it is one-dimension array that the described overall situation is printed grade variable, the number of element is identical with other number of type information level in this array, and the rank of the corresponding type information of each element.
7, method according to claim 6 is characterized in that, described step b further comprises before carrying out: judge whether overall situation printing grade variable is effective one-dimension array, if carry out subsequent step again, otherwise directly withdraw from this flow process.
8, according to claim 1,2 or 5 described methods, it is characterized in that, it is an interval value that the described overall situation is printed grade variable, and the upper limit of this interval value is smaller or equal to the rank of the maximum printable information that has been provided with, and the lower limit of this interval value is more than or equal to the rank of the minimum type information that has been provided with.
9, method according to claim 8 is characterized in that, before described step b carries out, further comprise: whether the lower limit of judging overall situation printing grade variable interval value is smaller or equal to its higher limit, if carry out subsequent step again, otherwise directly withdraw from this flow process.
10, method according to claim 1 is characterized in that, the rank of the described type information of step a, the overall situation are printed grade variable and current printing variable, with and initial value be arranged in configuration file.
11, method according to claim 1, it is characterized in that the rank of described type information includes but not limited to not have prompting rank, general prompting rank, intermediate miscue rank from low to high, points out rank and fatal error prompting rank than gross error.
12, method according to claim 1 is characterized in that, described equipment includes but not limited to various handheld devices.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100780372A CN100342332C (en) | 2004-09-20 | 2004-09-20 | Method of realizing equipment porating final software edition printed information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100780372A CN100342332C (en) | 2004-09-20 | 2004-09-20 | Method of realizing equipment porating final software edition printed information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1752926A CN1752926A (en) | 2006-03-29 |
CN100342332C true CN100342332C (en) | 2007-10-10 |
Family
ID=36679792
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100780372A Active CN100342332C (en) | 2004-09-20 | 2004-09-20 | Method of realizing equipment porating final software edition printed information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100342332C (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6144886A (en) * | 1997-07-02 | 2000-11-07 | Samsung Electronics Co., Ltd. | Method for detecting leading edge of print medium |
CN1361489A (en) * | 2000-12-28 | 2002-07-31 | 深圳市中兴通讯股份有限公司 | Automatic circular daily record information storing method and system |
CN1369802A (en) * | 2001-02-14 | 2002-09-18 | 英业达股份有限公司 | Method for recording and automatically restoring flow state |
-
2004
- 2004-09-20 CN CNB2004100780372A patent/CN100342332C/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6144886A (en) * | 1997-07-02 | 2000-11-07 | Samsung Electronics Co., Ltd. | Method for detecting leading edge of print medium |
CN1361489A (en) * | 2000-12-28 | 2002-07-31 | 深圳市中兴通讯股份有限公司 | Automatic circular daily record information storing method and system |
CN1369802A (en) * | 2001-02-14 | 2002-09-18 | 英业达股份有限公司 | Method for recording and automatically restoring flow state |
Also Published As
Publication number | Publication date |
---|---|
CN1752926A (en) | 2006-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101110788B (en) | Method and system for updating client software | |
CN100570581C (en) | The method and apparatus of localization of fault | |
DE60317654T2 (en) | METHOD AND DEVICE FOR CHANGING A CORE MODULE TO MAKE IT LOW ON MULTIPLE CORE VERSIONS | |
CN1851666A (en) | Method and system for realizing software automatic test | |
CN101655802B (en) | System and method for downloading files in batches | |
CN101211265A (en) | Terminal embedded type system software update method and apparatus | |
CN1364390A (en) | Method and apparatus for downloading into radio terminal | |
CN101571800A (en) | Method and device for processing activex relation in control interface | |
US20050060697A1 (en) | Method and a device for abstracting instruction sequences with tail merging | |
US20040019878A1 (en) | Software tool to detect and restore damaged or lost software components | |
CN1272708C (en) | Custom method of embedded appliance applied software | |
CN1494019A (en) | Method of realizing formula editing, calculating, managing on PDA | |
CN100342332C (en) | Method of realizing equipment porating final software edition printed information | |
EP1475132A3 (en) | Control of object parameter in computer game | |
CN1612103A (en) | Telecommunications graphical service program | |
Banach et al. | Retrenchment, refinement, and simulation | |
CN101075906A (en) | Method for controlling network telecommunication software function | |
CN1167012C (en) | Test system for information equipment and test method | |
CN101063939A (en) | Embedded devices capable of renovating operating system program and methods therefor | |
EP1583336A3 (en) | Mobile terminal and key operation method capable of restoring operation environment | |
CN100568812C (en) | The Registry Protection method | |
CN1700782A (en) | Method and system for administering configuration information in a private branch exchange switch | |
CN1371053A (en) | Application program downloading method in compilation system platform of electronic communication equipment | |
CN1407451A (en) | Command backtracking method for embedded gateway command line interface | |
CN1612582A (en) | Telecommunications service program |
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 |