CN102043612A - Version number maintenance system and maintenance method thereof - Google Patents
Version number maintenance system and maintenance method thereof Download PDFInfo
- Publication number
- CN102043612A CN102043612A CN2009101799415A CN200910179941A CN102043612A CN 102043612 A CN102043612 A CN 102043612A CN 2009101799415 A CN2009101799415 A CN 2009101799415A CN 200910179941 A CN200910179941 A CN 200910179941A CN 102043612 A CN102043612 A CN 102043612A
- Authority
- CN
- China
- Prior art keywords
- numbering
- start context
- maintenance
- upgrade
- initially
- 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
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a version number maintenance system and a maintenance method thereof. The maintenance method comprises the following steps: loading initial numbers by receiving maintenance instructions; generating updated numbers according to the initial numbers and a number generating rule; after generating the updated numbers, updating the updated numbers according to the maintenance instructions to the version numbers; and covering the initial numbers with the updated numbers. The invention achieves the technical efficiency of improving the convenience of the version numbers of application programs in maintenance.
Description
Technical field
The present invention is relevant for a kind of maintenance system and maintaining method thereof, is meant especially a kind ofly to produce maintenance system and the maintaining method thereof of start context with the start context safeguarded according to maintenance instruction.
Background technology
In recent years, flourish along with computing machine, the various computer application programs that are executed in just produce like the mushrooms after rain, usually application program can have different start contexts to discern along with newly-increased with the wrong correction of function, therefore, the start context that how to maintain easily application program has become the problem that each tame manufacturer desires most ardently solution.
Generally speaking, the programmer can be to the corresponding start context of application setting of more correcting one's mistakes at every turn, yet, present application program is unlike only relied on single programmer to develop in the past, therefore when the single application program of the common exploitation of multidigit programmer, the start context that suffers from application program is safeguarded the problem that is difficult for.
In view of this, just there is manufacturer to propose the automatic mode that produces start context and comes the maintenance release numbering, for instance, suppose that the pairing start context of application program is numerical value " 1 ", then after the programmer changes this application program, its corresponding start context will carry out incremental calculation and become numerical value " 2 ".But, this mode can't provide the programmer to define the form of required start context voluntarily, for example: record date in start context, and only can judge the renewal degree of application program with simple numerical value difference, safeguard the problem that is difficult for so still can't effectively solve the start context of application program.
In sum, prior art has existed the start context that can't effectively solve application program to safeguard the problem that is difficult for always since the midium or long term as can be known, therefore is necessary to propose improved technological means in fact, solves this problem.
Summary of the invention
Because the problem that prior art exists, the present invention provides a kind of maintenance system and maintaining method thereof of start context then.
The maintenance system of start context provided by the present invention is applied to have the application program of start context, comprises: storage module, receiver module, generation module and maintenance module.Wherein, storage module is used to store initial numbering; Receiver module is used to receive maintenance instruction; Generation module is used for loading initial numbering according to maintenance instruction, and will initially number according to the generation of numbering create-rule and upgrade numbering; Maintenance module will upgrade numbering according to maintenance instruction and be updated to start context after being used for generation renewal numbering, and will upgrade initially numbering of numbering covering.
As for the maintaining method of start context of the present invention, be applied to have the application program of start context, its step comprises: initial numbering is provided; Receive maintenance instruction; Load initial numbering according to maintenance instruction, and will initially number according to the generation of numbering create-rule and upgrade numbering; After numbering is upgraded in generation, will upgrade numbering according to maintenance instruction and be updated to start context, and will upgrade the initial numbering of numbering covering.
System and method for provided by the present invention as above, and the difference between the prior art is that the present invention is by receiving maintenance instruction to load initial numbering, and according to initial numbering and numbering create-rule generation renewal numbering, and after upgrading the numbering generation, to upgrade numbering according to maintenance instruction and be updated to start context, and will upgrade the initial numbering of numbering covering.
By above-mentioned technological means, the present invention can reach the technology effect of safeguarding convenience of the start context that improves application program.
Description of drawings
Fig. 1 is the system block diagrams of the maintenance system of start context of the present invention.
Fig. 2 is the method flow diagram of the maintaining method of start context of the present invention.
Fig. 3 is first synoptic diagram of the start context of application maintenance applications of the present invention.
Fig. 4 is second synoptic diagram of the start context of application maintenance applications of the present invention.
Fig. 5 is the synoptic diagram of the start context of application viewer applications of the present invention.
[main element symbol description]
101 storage modules
102 receiver modules
103 generation modules
104 maintenance modules
105 detecting modules
300,400 maintenance windows
301 cursors
310 start contexts are set block
320 initial numberings are set block
330 safeguard element
410 detecing elements
411 application setting blocks
412 identifying codes show block
500 browse window
510 application programs show block
520 start contexts show block
Embodiment
Below describe conjunction with figs. and embodiment in detail embodiments of the present invention, whereby to the present invention how the application technology means implementation procedure that solves technical matters and reach the technology effect can fully understand and implement according to this.
Before the maintenance system and maintaining method thereof of explanation start context provided by the present invention, earlier the noun that the present invention institute is defined voluntarily explains, the mentioned initial numbering of the present invention is meant number pre-defined and that be provided with, for example: " 1.00.20090210.0 ", wherein, " 20090210 " represent the date; Its remainder values is then represented sequence number.And the numbering create-rule is meant the generating mode of start context, on reality is implemented, the numbering create-rule needs consistent with the formal definition of initial numbering, for example: initial numbering separates with three radix point, then number create-rule and also must separate with three radix point equally, its numbering create-rule can be “ $1$0.$2$1.$D20090210.$1$1 ", " be example with “ $1$0 wherein, " represent the character string width is numerical value " 1 " to its “ $1, and each incremental value " 0 "; In like manner, " then represent the character string width is numerical value " 2 " and each incremental value " 1 " to “ $2$1 wherein; “ $D20090210 wherein " then with “ $D " is marked as the date, its representative " on 02 10th, 2009 ".
From the above, suppose that primary number is " on 02 10th, 2009 " for " 1.00.20090210.0 ", numbering create-rule be “ $1$0.$2$1.$D20090210.$1$1 " and date, then the time by the newly-generated start context of this numbering create-rule (below be referred to as to upgrade numbering), because “ $2$1 " and “ $1$1 " all can increase progressively the part numerical value in the initial numbering, therefore upgrade numbering and will be " 1.01.20090425.1 ".Though be noted that the present invention especially with above-mentioned initial numbering and the numbering create-rule of illustrating, so it is not in order to limit the present invention.
Following conjunction with figs. is described further the maintenance system and the maintaining method thereof of start context of the present invention, at first, maintenance system at start context of the present invention explains earlier, see also Fig. 1, Fig. 1 comprises: storage module 101, receiver module 102, generation module 103 and maintenance module 104 for the system block diagrams of the maintenance system of start context of the present invention.Wherein, storage module 101 is in order to storing initial numbering, because initial numbering explains in the noun of aforementioned definition voluntarily, do not give unnecessary details so do not remake at this.On reality was implemented, this initial numbering can be recorded in relevant database or the files, and is stored in Storage Media, as: hard disk, tape ... or the like.
The maintenance instruction of generation module 103 in order to be received according to receiver module 102 loads initial numbering from storage module 101, and loaded initial numbering is upgraded numbering according to the generation of numbering create-rule.For instance, that supposes to be loaded initially is numbered " 1.00.20090210.0 ", numbering create-rule be “ $1$0.$2$1.$D20090210.$1$1 ", and the date is " on 02 10th, 2009 ", then generation module 103 will produce to upgrade and be numbered " 1.01.20090210.1 ", because the producing method of numbering create-rule and renewal numbering explains in the noun of aforementioned definition voluntarily all, so this no longer giving unnecessary details more.
In addition, native system more can comprise detecting module 105 to be continued to calculate an identifying code in order to the execute file according to application program, and produces maintenance instruction when identifying code changes.The producing method of described identifying code can be passed through hash algorithm, as: message digest algorithm (Message-Digest Algorithm 5, MD5), whether this message digest algorithm is often used in verifying application programs and is changed, for example: when two identical application programs as calculated after, when producing different identifying codes respectively, promptly represent one of them application program to be changed.Therefore, detecting module 105 sustainable calculating and than the identifying code of application programs, and when identifying code changes, be judged as this application program and changed, receive for receiver module 102 so produce maintenance instruction.
As shown in Figure 2, Fig. 2 is the method flow diagram of the maintaining method of start context of the present invention, and its step comprises: initial numbering (step 210) is provided; Receive maintenance instruction (step 220); Load initial numbering according to maintenance instruction, and will initially number according to the generation of numbering create-rule and upgrade numbering (step 230); After numbering is upgraded in generation, will upgrade numbering according to maintenance instruction and be updated to start context, and will upgrade the numbering initial numbering of covering (step 240).Pass through above steps, can be by receiving maintenance instruction in order to loading initial numbering, and produce according to initial numbering and numbering create-rule and to upgrade numbering, and after upgrading numbering and producing, to upgrade numbering according to maintenance instruction and be updated to start context, and will upgrade the initial numbering of numbering covering.
In addition, in step 220, the producing method of its maintenance instruction can continue to calculate identifying code according to the execute file of application program, and when this identifying code changes, produce this maintenance instruction (step 221) on concrete enforcement.For instance, suppose that the identifying code that calculates application program when initial is " 28E25B ", then, the identifying code of learning this application program after continuing to calculate is during no longer for " 28E25B ", promptly represent this application program to be changed, so produce maintenance instruction with the step after the execution in step 220.
Below cooperate Fig. 3 to Fig. 5 to carry out following explanation in the mode of embodiment, please consult Fig. 3 earlier, Fig. 3 is first synoptic diagram of the start context of application maintenance applications of the present invention, comprises: maintenance window 300, cursor 301, start context are set block 310, initial numbering is set block 320 and safeguarded element 330.Be noted that especially the present invention does not limit number of elements and the type that maintenance window 300 is comprised with this.
After user's application programs is revised, desire is safeguarded the start context of this application program, this moment, the user can open maintenance window 300, and set block 310 and initial numbering is set block 320 in start context, set respectively initial numbering file path (for example: C: a.txt) and the file path that stores start context (for example: C: ver.txt).Then, by cursor 301 click safeguard element 330 after, receiver module 102 receives above-mentioned two file paths importing with as maintenance instruction, and generation module 103 loads initial numbering according to the file path of the initial numbering in this maintenance instruction from storage module 101, and loaded initial numbering produce upgraded numbering according to the numbering create-rule, for instance, that supposes that generation module 103 loaded initially is numbered " 1.00.20090210.0 ", the numbering create-rule is “ $1$0.$2$1.$D20090210.$1$1 ", and the date is " on 02 10th, 2009 ", and then generation module 103 will produce to upgrade and be numbered " 1.01.20090210.1 ".
Next, after numbering was upgraded in generation module 103 generations, then maintenance module 104 was updated to start context according to the storage path of the start context in the maintenance instruction in order to the renewal numbering that will be produced, and will upgrade the initial numbering of numbering covering.Above example, suppose initially to be numbered " 1.00.20090210.0 ", and the renewal that is produced is numbered " 1.01.20090210.1 ", so, maintenance module 104 will upgrade the numbering be updated to start context after, new start context is " 1.01.20090210.1 ", and new initial numbering then is similarly " 1.01.20090210.1 " so that when safeguarding next time, produces again according to the numbering create-rule and upgrades numbering.Be noted that especially, maintenance module 104 will upgrade numbers when being updated to start context, its update mode can with new start context " 1.01.20090210.1 " and write to the end of original start context " 1.00.20090210.0 ", and with space character (for example: "; ") is separated by, and at this moment, start context promptly is recorded as " 1.00.20090210.0; 1.01.20090210.1 ".Can write down all passing start contexts so that provide inquiry and maintenance by this mode.
As schematically shown in Figure 4, Fig. 4 is second synoptic diagram of the start context of application maintenance applications of the present invention.The front is mentioned, and the present invention more can comprise detecting module 105 and continue to calculate its identifying code in order to the execute file according to application program, and produces maintenance instruction when this identifying code changes.On reality is implemented, the user can by the application setting block in the maintenance window 400 411 specify the application program that desires safeguard the storage path (for example: " and C: a.exe "), and respectively start context set block 310 and initial numbering set specify start context in the block 320 file path (for example: " the file path (for example: " C: a.txt ") of C: ver.txt ") and initial numbering.Then, after the user clicks detecing element 410 by cursor 301, detecting module 105 be sustainable computing application program implementation file (for example: the identifying code of " a.exe ") (for example: " A023DC0...... "), and the identifying code that is calculated is shown in identifying code shows block 412.
From the above, (for example: original identifying code that calculates is " A023DC0...... " when the identifying code that continues to calculate changes, and the identifying code that is calculated afterwards is not " A023DC0...... "), (for example: " C: ver.txt ") reaches file path (for example: " C: a.txt ") the generation maintenance instruction of initially numbering and receives for receiver module 102 to reach the file path of initially numbering start context specified in the setting block 320 according to start context setting block 310.And after receiver module 102 receives the maintenance instruction that detecting modules 105 are produced, among the performed mode of generation module 103 and maintenance module 104 and Fig. 3 for example identical, so give unnecessary details no longer at this more.
Next, see also Fig. 5, Fig. 5 is the synoptic diagram of the start context of application viewer applications of the present invention.When will upgrading numbering, maintenance module 104 is updated to start context, and after will upgrading the initial numbering of numbering covering, can show that storage path that block 510 comes the display application program (for example: " C: a.exe "), and show that in start context block 520 shows corresponding start context by the application program in the browse window 500.Because will upgrading, generation module 103 numbers the end that the mode that is updated to start context can write to original start context, therefore, the display mode of its start context can show that block 520 collocation forms and literal show maintenance history by start context as schematically shown in Figure 5, and its displaying contents comprises date and sequence number.For instance, suppose that start context records four data, for example: " 1.00.20090420.0 ", " 1.01.20090425.1 ", " 1.02.20090427.2 " reach " 1.03.20090428.3 ", then start context show block 520 can be when showing according to each data in date " 20090420 " of representative sort and show.
In sum, difference between the present invention and the prior art is by receiving maintenance instruction to load initial numbering as can be known, and according to initial numbering and numbering create-rule generation renewal numbering, and after upgrading the numbering generation, to upgrade numbering according to maintenance instruction and be updated to start context, and will upgrade the initial numbering of numbering covering, can solve the existing in prior technology problem by this technological means, and then reach the technology effect of safeguarding convenience of the start context that improves application program.
Though the present invention with aforesaid embodiment openly as above; right its is not in order to limit the present invention; any those skilled in the art; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, therefore scope of patent protection of the present invention must be looked the appended claim person of defining of this instructions and is as the criterion.
Claims (10)
1. the maintenance system of a start context is applied to have an application program of a start context, and this system comprises:
One storage module is used to store one and initially numbers;
One receiver module is used to receive the order of one dimension finger shield;
One generates module, is used for should initially numbering according to this maintenance instruction loading, and should initially numbers according to a numbering create-rule generation one and upgrade numbering; And
One safeguards module, is used for after producing this renewal numbering, should upgrade to number being updated to this start context according to this maintenance instruction, and should upgrade the numbering covering and should initially number.
2. the maintenance system of start context as claimed in claim 1, wherein this system more comprises a detecting module, is used for continuing to calculate an identifying code according to the execute file of this application program, and produces this maintenance instruction when this identifying code changes.
3. the maintenance system of start context as claimed in claim 1, wherein this maintenance instruction comprises the file path of this initial numbering at least, and the file path that stores this start context.
4. the maintenance system of start context as claimed in claim 1, wherein this numbering create-rule comprises the form and the generating mode of date and sequence number.
5. the maintenance system of start context as claimed in claim 1, wherein this start context and this renewal numbering comprises date and sequence number at least.
6. the maintaining method of a start context is applied to have an application program of a start context, and the step of this display packing comprises:
Provide one initially to number;
Receive the order of one dimension finger shield;
Should initially number according to this maintenance instruction loading, and should initially number according to a numbering create-rule generation one and upgrade numbering; And
After this upgrades and numbers in generation, should upgrade numbering according to this maintenance instruction and be updated to this start context, and should upgrade initially numbering of numbering covering.
7. the maintaining method of start context 1 as claimed in claim 6, wherein this method more comprises according to the lasting identifying code that calculates of this application program, and produces the step of this maintenance instruction when this identifying code changes.
8. the maintaining method of start context as claimed in claim 6, wherein this maintenance instruction comprises the file path of a release format at least, and the file path that stores this start context.
9. the maintaining method of start context as claimed in claim 6, wherein this numbering create-rule comprises the form and the generating mode of date and sequence number.
10. the maintaining method of start context as claimed in claim 6, wherein this start context and this renewal numbering comprises date and sequence number at least.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101799415A CN102043612A (en) | 2009-10-10 | 2009-10-10 | Version number maintenance system and maintenance method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101799415A CN102043612A (en) | 2009-10-10 | 2009-10-10 | Version number maintenance system and maintenance method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102043612A true CN102043612A (en) | 2011-05-04 |
Family
ID=43909772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101799415A Pending CN102043612A (en) | 2009-10-10 | 2009-10-10 | Version number maintenance system and maintenance method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102043612A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102646072A (en) * | 2012-02-28 | 2012-08-22 | 信雅达系统工程股份有限公司 | Data management method |
CN103123583A (en) * | 2012-12-19 | 2013-05-29 | 深圳市共进电子股份有限公司 | Realizing method for automatically recording software version number |
CN109359093A (en) * | 2018-12-19 | 2019-02-19 | 杭州安恒信息技术股份有限公司 | A kind of rule file update method and system |
CN112256320A (en) * | 2020-11-04 | 2021-01-22 | 广州繁星互娱信息科技有限公司 | Version number generation method, device, terminal and storage medium |
-
2009
- 2009-10-10 CN CN2009101799415A patent/CN102043612A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102646072A (en) * | 2012-02-28 | 2012-08-22 | 信雅达系统工程股份有限公司 | Data management method |
CN102646072B (en) * | 2012-02-28 | 2014-10-29 | 信雅达系统工程股份有限公司 | Data management method |
CN103123583A (en) * | 2012-12-19 | 2013-05-29 | 深圳市共进电子股份有限公司 | Realizing method for automatically recording software version number |
CN109359093A (en) * | 2018-12-19 | 2019-02-19 | 杭州安恒信息技术股份有限公司 | A kind of rule file update method and system |
CN112256320A (en) * | 2020-11-04 | 2021-01-22 | 广州繁星互娱信息科技有限公司 | Version number generation method, device, terminal and storage medium |
CN112256320B (en) * | 2020-11-04 | 2024-05-14 | 广州繁星互娱信息科技有限公司 | Version number generation method, device, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103955363B (en) | A kind of manufacture method of program upgrade installation package | |
US9483284B2 (en) | Version compatibility determination | |
CN107239392B (en) | Test method, test device, test terminal and storage medium | |
JP5644777B2 (en) | File group consistency verification system, file group consistency verification method, and file group consistency verification program | |
US20120151316A1 (en) | System and Method for the Comparison of Content Within Tables Separate from Form and Structure | |
WO2015020722A1 (en) | Automatic algorithm discovery using reverse dataflow analysis | |
US8214393B2 (en) | Integrating database deployment with code deployment | |
CN102737205B (en) | Protection comprises can the file of editing meta-data | |
US20100049961A1 (en) | Update method for basic input/output system and update system thereof | |
CN102043612A (en) | Version number maintenance system and maintenance method thereof | |
US20140115720A1 (en) | License verification method and apparatus | |
US20140173552A1 (en) | Syntax language generator for compiler validation | |
US20120072820A1 (en) | Systems and Computer Program Products for Conducting Multi-Window Multi-Aspect Processing and Calculations | |
CN112732300A (en) | Data packet updating method and device, electronic equipment and readable storage medium | |
CN102331920B (en) | Data processing method and device | |
CN115688675A (en) | Method for flexibly checking and correcting circuit schematic diagram parameters on line | |
US10067674B2 (en) | Consistent, disk-backed arrays | |
US9170827B2 (en) | Configuration file compatibility | |
US10394551B2 (en) | Managing kernel application binary interface/application programming interface-based discrepancies relating to kernel packages | |
CN103019785A (en) | Method and device for processing program upgrading | |
CN110489401B (en) | Method and device for deploying database objects | |
US10489137B1 (en) | Software verification system and methods | |
KR20180023575A (en) | Firmware auto updating method and computer readable recording medium writing firmware auto updating method | |
US9069643B1 (en) | Creating a prerequisite checklist corresponding to a software application | |
JP6468098B2 (en) | Information processing program, apparatus, and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110504 |