CN106843984A - The update method and device of application database - Google Patents

The update method and device of application database Download PDF

Info

Publication number
CN106843984A
CN106843984A CN201710076836.3A CN201710076836A CN106843984A CN 106843984 A CN106843984 A CN 106843984A CN 201710076836 A CN201710076836 A CN 201710076836A CN 106843984 A CN106843984 A CN 106843984A
Authority
CN
China
Prior art keywords
application database
version
version information
updated
new stage
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
Application number
CN201710076836.3A
Other languages
Chinese (zh)
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.)
Neusoft Corp
Original Assignee
Neusoft 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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201710076836.3A priority Critical patent/CN106843984A/en
Publication of CN106843984A publication Critical patent/CN106843984A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses the update method and device of a kind of application database, it is related to terminal applies technical field, exploitation and test job amount can be reduced, methods described includes:When the instruction that application data storehouse is updated is received, the current version information of the application database is obtained, and need the target version information for updating the application database;Obtain each version information existed between the current version information and the target version information;According to described each version information, determining that the application database is updated to target version from current version needs each more new stage of experience;According to described each more new stage, the application database is updated, until the application database is updated to target version.Renewal of the present invention suitable for application database.

Description

The update method and device of application database
Technical field
The present invention relates to a kind of terminal applies technical field, the update method and dress of more particularly to a kind of application database Put.
Background technology
With the rise of the intelligent terminals such as in the market panel computer, smart mobile phone, intelligent terminal has become people's life In an indispensable part, people can carry out online chatting, network and swim by the client application installed on intelligent terminal Play, shopping online etc. are operated.The demand changeable in order to meet user, using needing constantly to be updated, in the mistake that application updates , it is necessary to application data storehouse is updated in journey, for example, application data storehouse increases some specific fields or changes some numbers According to etc..
, it is necessary to consider the upgrading stream of application database old version during application data storehouse is updated upgrading Journey, is updated upgrading on the basis of old version.At present, when the version of application database is more, it is necessary to consider difference Old version is upgraded to the upgrading flow of latest edition, develops larger with test job amount, and then development cost can be caused higher. For example, there are 3 versions, respectively 1.0 versions, 2.0 versions, 3.0 versions, for 1.0 versions, early stage needs in application database Consider the upgrading flow of 1.0 versions to 2.0 versions, the upgrading flow of 1.0 versions to 3.0 versions, and with application database The version quantity in later stage increases, and can also need to consider 1.0 edition upgradings to 4.0 versions, the upgrading flow of 5.0 versions, early stage Development amount can be increasing, and development cost can more and more higher.
The content of the invention
In view of this, the invention provides the update method and device of a kind of application database, main purpose is can be with Exploitation and test job amount are reduced, development cost can be saved.
According to one aspect of the invention, there is provided a kind of update method of application database, the method includes:
When the instruction that application data storehouse is updated is received, the current version letter of the application database is obtained Breath, and need the target version information for updating the application database;
Obtain each version information existed between the current version information and the target version information;
According to described each version information, determine the application database from current version update to target version need through Each the more new stage gone through;
According to described each more new stage, the application database is updated, until the application database updates To target version.
According to another aspect of the invention, there is provided a kind of updating device of application database, the device includes:
Acquiring unit, for when the instruction that application data storehouse is updated is received, obtaining the application database Current version information, and need the target version information that updates the application database;
The acquiring unit, is additionally operable to obtain exist between the current version information and the target version information each Individual version information;
Determining unit, for according to described each version information, determine the application database from current version update to Target version needs each more new stage of experience;
Updating block, for according to described each more new stage, being updated to the application database, until described should With database update to target version.
The update method and device of a kind of application database provided by above-mentioned technical proposal, the present invention, need with current Consider that the upgrading flow that different old versions renewals are upgraded to latest edition is compared, the present invention is according to the current of application database Each version information existed between the target version information that version information and needs update, application data storehouse carries out sublevel Duan Gengxin, need to only consider that each stage updates upgrading flow, so that it may which be upgraded to for the application database of different old versions by realization The application database of latest edition, such as only need to consider the edition upgrading of application database 1.0 to 2.0 versions and 2.0 edition upgradings To the flow of 3.0 versions, you can realize that the application database of 1.0 versions is upgraded to the application database of 3.0 versions, without considering The edition upgrading of application database 1.0 reduces exploitation and test job amount to the flow of 3.0 versions, can save development cost.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows a kind of update method schematic flow sheet of application database provided in an embodiment of the present invention;
Fig. 2 shows the update method schematic flow sheet of another application database provided in an embodiment of the present invention;
Fig. 3 shows a kind of updating device structural representation of application database provided in an embodiment of the present invention;
Fig. 4 shows the updating device structural representation of another application database provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.Conversely, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
A kind of update method of application database is the embodiment of the invention provides, exploitation and test job amount can be reduced, As shown in figure 1, the method includes:
101st, when the instruction that application data storehouse is updated is received, the current version letter of application database is obtained Breath, and need the target version information for updating application database.
Wherein, application database can be that a reality can be run and for storage, maintenance and application system provide data Software systems, be storage medium, process object and management system aggregate, generally by software, database and data management Member's composition, its software mainly includes operating system, various host languages, utility program and data base management system.Current version In this information and target version information can including application database version number, version name etc. information.
Can be to update the dress that upgrading is managed for application data storehouse for the executive agent of the embodiment of the present invention Put, for example, when the device receives the instruction that application data storehouse is updated, the application database can be obtained current Version information, and need the target version information for updating the application database.
102nd, each version information existed between current version information and target version information is obtained.
For example, the current version of application database is 1.0 versions, it is 5.0 versions this time to need the target version for updating, The version existed between 1.0 versions and 5.0 versions has 2.0 versions, 3.0 versions, 4.0 versions.
103rd, according to each version information for existing, determine that application database is updated to target version needs from current version Each more new stage of experience.
For example, in order to simplify the exploitation test process that application data storehouse updates upgrading, can only consider adjacent version Upgrading flow is updated, for the application database that current version is 1.0 versions, when the target version for needing to update is 4.0 editions This, and between exist 2.0 versions, 3.0 version when, 1.0 version application databases can be upgraded to 2.0 version application databases Renewal escalation process be defined as a more new stage, 2.0 version application databases be upgraded to 3.0 version application databases Escalation process is updated to be defined as a more new stage, 3.0 version application databases are upgraded into 4.0 version application databases more New escalation process is defined as a more new stage.
104th, each the more new stage experienced as needed, application data storehouse is updated, until application database is more Newly to target version.
For example, the determination result according to the more new stage, determining that application database is updated to target version from current version needs Experience 1.0 edition upgradings to 2.0 versions, 2.0 edition upgradings to 3.0 versions, 3.0 edition upgradings to 4.0 versions these three more New stage, according to these three more new stages, 1.0 version application databases are updated first be upgraded to 2.0 version application databases, Then 2.0 version application databases are updated and is upgraded to 3.0 version application databases, application databases by 3.0 version more finally 4.0 version application databases newly are upgraded to, and then complete the application database and be upgraded to target 4.0 from current 1.0 version updating The process of version.
A kind of update method of application database provided in an embodiment of the present invention, and needs to consider different old versions at present The upgrading flow that renewal is upgraded to latest edition is compared, current version information and need of the embodiment of the present invention according to application database Each version information existed between the target version information for updating, application data storehouse is updated stage by stage, is only needed Consider that each stage updates upgrading flow, so that it may realize for the application database of different old versions being upgraded to answering for latest edition With database, exploitation and test job amount are reduced, development cost can be saved.
In order to preferably understand the method shown in above-mentioned Fig. 1, as refinement and extension to above-mentioned implementation method, The update method of another application database is the embodiment of the invention provides, as shown in Fig. 2 the method includes:
201st, configuration application database distinguishes corresponding configuration file in the different update stage.
Wherein, the renewal rule comprising application database in configuration file, for example, it can be application data to update rule Storehouse increases some specific fields or changes the rules such as some data.
For the embodiment of the present invention, application database can be pre-configured with the corresponding configuration text of different update stage difference Part, renewal escalation process of the application database in the different update stage is realized by configuration file, and uses manual compiling at present The mode that is updated of SQL (Structured Query Language) sentence application data storehouse compare, only need to be in configuration File addition updates rule and carries out corresponding parsing execution accordingly, you can realize that application data storehouse is updated, without The complicated SQL statement of manual compiling, and then the renewal efficiency of application database can be improved.
202nd, when the instruction that application data storehouse is updated is received, the current version letter of application database is obtained Breath, and need the target version information for updating application database.
For example, the current version number of application database can be obtained for v2.1, and need to update the application database The target version number for arriving is v3.1.
203rd, each version information existed between current version information and target version information is obtained.
For example, the current version number of application database is v2.1, it is v3.1 this time to need the target version number for updating, There are this four version numbers of v2.3, v2.5, v2.7, v2.9 in the version number existed before v2.1 and v3.1.
204th, according to each version information for existing, determine that application database is updated to target version needs from current version Each more new stage of experience.
Step 204 can specifically include:According to current version information, target version information, and between exist each Version information, a more new stage is identified as by the renewal process per two neighboring version information, and be applied database Being updated to target version from current version needs each more new stage of experience, and then can only consider the more new liter of adjacent version Level flow, when the latest edition in application data storehouse develops test, need to only develop test and be upgraded to most from last revision Redaction, reduces exploitation test job amount, has saved development cost.
For example, in order to simplify the exploitation test process that application data storehouse updates upgrading, can only consider adjacent version Upgrading flow is updated, for the application database that current version number is v2.1, when the target version number for needing to update is v3.1, And between when there is tetra- version numbers of v2.3, v2.5, v2.7, v2.9, can be by version number for the application database of v2.1 is upgraded To version number for the renewal escalation process of the application database of v2.3 is defined as a more new stage, the answering for v2.3 by version number Be defined as a more new stage with the renewal escalation process of the application database that database upgrade to version number is v2.5, by version Number for v2.5 application database be upgraded to version number be v2.7 application databases renewal escalation process be defined as one renewal Stage, by version number for v2.7 application database be upgraded to version number be v2.9 application databases renewal escalation process determine The more new liter that version number is v3.1 application databases is upgraded to for a more new stage, by the application database that version number is v2.9 Level process is defined as a more new stage.
In order to take into account the liter stage efficiency of application database, the application database of some particular versions can be directed to, set in advance Surely renewal rule is redirected, the renewal so as to improve application database rises stage efficiency, and now step 204 can also specifically be wrapped Include:Detect in each version information with the presence or absence of having the predetermined version information for redirecting and updating rule;If in the presence of according to predetermined Renewal rule is redirected, corresponding jump target version information is obtained;To be there is predetermined redirecting to update the version information of rule and jump Turn the renewal process between target version information and be defined as a more new stage.
For example, be 10.0 versions for the latest edition of application database, due to there may be from 1.0 version application datas Storehouse starts the user of upgrading, if now the user carries out the escalation process of adjacent version and can expend more in the manner described above Between, therefore the more stable version of user can be preselected as jump target version, 5.0 versions can be such as selected as jump Turn target version, and user for 1.0 versions, 2.0 version application databases presets and redirects renewal rule so that it is right The renewal escalation process of 1.0 versions, the application database of 2.0 versions, can redirect renewal rule and directly be upgraded to 5.0 according to this Version, is then further continued for carrying out the upgrading of adjacent version, until the application database of 10.0 versions is upgraded to, and then can be in drop Under conditions of low exploitation test job amount, moreover it is possible to take into account the liter stage efficiency of application database.
205th, application database is obtained in each more new stage corresponding configuration file.
For example, the determination result according to the more new stage, determining that application database is updated to target version from current version needs 1.0 edition upgradings to 2.0 versions, the two more new stages of 2.0 edition upgradings to 3.0 versions are experienced, the application is obtained respectively Database is in the two more new stage corresponding configuration files.
206th, each more new stage corresponding configuration file is parsed respectively, the database that is applied updates at each Stage corresponding renewal rule.
In embodiments of the present invention, in order to realize being carried out using configuration file the renewal process of application database, can be pre- Analytics engine is first write, configuration file is parsed by the analytics engine then, the database that is applied specifically updates Rule.
207th, according to each more new stage corresponding renewal rule, application data storehouse is updated, until application data Storehouse is updated to target version.
If in the way of the renewal process of two neighboring version information is defined as a more new stage, step 207 is specific Can include:Application data storehouse carries out the renewal of adjacent version successively, until application database is updated to target version.Example Such as, the determination result according to the more new stage, determining that application database is updated to target version from current version needs experience 1.0 editions Originally 2.0 versions, the two more new stages of 2.0 edition upgradings to 3.0 versions are upgraded to, according to the two more new stages, first will 1.0 version application databases update to be upgraded to 2.0 version application databases and then update 2.0 version application databases upgrades To 3.0 version application databases, and then complete the application database and be upgraded to the version of target 3.0 from current 1.0 version updating Process.
The update method of another application database provided in an embodiment of the present invention, needs to consider different history versions from current The upgrading flow that this renewal is upgraded to latest edition is compared, and the embodiment of the present invention can be by the renewal per two neighboring version information Process is identified as a more new stage, and then can only consider the renewal upgrading flow of adjacent version, in application data When the latest edition in storehouse develops test, need to only develop test and be upgraded to latest edition from last revision, reduce out Hair test job amount, has saved development cost;And by configuration file application database can be realized in the different update stage Renewal escalation process, without the SQL statement that manual compiling is complicated, the renewal efficiency of application database can be improved.
Further, implementing as Fig. 1 methods describeds, the embodiment of the invention provides a kind of application database Updating device, as shown in figure 3, described device includes:Acquiring unit 31, determining unit 32, updating block 33.
Acquiring unit 31, can be used for, when the instruction that application data storehouse is updated is received, obtaining the application The current version information of database, and need the target version information for updating the application database.Wherein, current version In this information and target version information can including application database version number, version name etc. information, acquiring unit 31 can be with To obtain the main functional modules of application database version information in the present apparatus.
The acquiring unit 31, can be also used for obtaining and is deposited between the current version information and the target version information Each version information.For example, the current version of application database is 1.0 versions, the target version for updating this time is needed It is 4.0 versions, the version existed between 1.0 versions and 4.0 versions has 2.0 versions, 3.0 versions.
Determining unit 32, can be used for, according to described each version information, determining the application database from current version Updating target version needs each more new stage of experience.Determining unit 32 can for determine in the present apparatus application database from Current version updates to target version the main functional modules of each the more new stage for needing experience.
Updating block 33, can be used for, according to described each more new stage, being updated the application database, until The application database is updated to target version.The main work(that updating block 33 is updated for application data storehouse in the present apparatus Can module.
It should be noted that each function list involved by a kind of updating device of application database provided in an embodiment of the present invention Other corresponding descriptions of unit, may be referred to the correspondence description in Fig. 1, will not be repeated here.
A kind of updating device of application database provided in an embodiment of the present invention, including:Acquiring unit, determining unit, more New unit etc., compared with needing to consider that different old versions update the upgrading flow for being upgraded to latest edition at present, the present invention is real Example is applied according to the current version information of application database and each version existed between the target version information for updating is needed Information, application data storehouse is updated stage by stage, need to only consider that each stage updates upgrading flow, so that it may which difference is gone through in realization The application database of history version is upgraded to the application database of latest edition, reduces exploitation and test job amount, can save Development cost.
Further, implementing as Fig. 2 methods describeds, the embodiment of the invention provides a kind of application database Updating device, as shown in figure 4, described device includes:Acquiring unit 41, determining unit 42, updating block 43.
Acquiring unit 41, can be used for, when the instruction that application data storehouse is updated is received, obtaining the application The current version information of database, and need the target version information for updating the application database.
The acquiring unit 41, can be also used for obtaining and is deposited between the current version information and the target version information Each version information.
Determining unit 42, can be used for, according to described each version information, determining the application database from current version Updating target version needs each more new stage of experience.
Updating block 43, can be used for, according to described each more new stage, being updated the application database, until The application database is updated to target version.
The determining unit 42, specifically can be used for according to the current version information, described each version information and institute Target version information is stated, the renewal process per two neighboring version information is identified as a more new stage, obtain described Application database is updated to target version from current version needs each more new stage of experience, and then can only consider adjacent version This renewal upgrading flow, when the latest edition in application data storehouse develops test, need to only develop test from upper one edition Originally latest edition is upgraded to, exploitation test job amount is reduced, development cost has been saved.
The updating block 43, specifically can be used for carrying out the application database successively the renewal of adjacent version, directly Updated to target version to the application database.
In order to take into account the liter stage efficiency of application database, the application database of some particular versions can be directed to, set in advance Surely renewal rule is redirected, the renewal so as to improve application database rises stage efficiency, and now the determining unit 42 includes:Inspection Survey module 421, acquisition module 422, determining module 423.
Detection module 421, can be used in described each version information of detection redirecting renewal rule with the presence or absence of with predetermined Version information then.
Acquisition module 422, if can be used for the detection module 421 detecting in described each version information to exist have It is predetermined to redirect the version information for updating rule, then rule is updated according to predetermined the redirecting, obtain corresponding jump target version Information.
Determining module 423, can be used for redirecting mesh with described with the predetermined version information for redirecting renewal rule by described Renewal process between mark version information is defined as a more new stage.
Further, in order to improve the renewal efficiency of application database, described device also includes:Dispensing unit 44.
The dispensing unit 44, can be used for configuring the application database in the corresponding configuration of different update stage difference File, the renewal rule comprising the application database in the configuration file.
The updating block 43, specifically can be used for obtaining the application database corresponding in described each more new stage Configuration file;Described each more new stage corresponding configuration file is parsed respectively, the application database is obtained in institute State each more new stage corresponding renewal rule;According to corresponding renewal rule of described each more new stage, to the application number It is updated according to storehouse, compared with the mode that is updated of SQL statement application data storehouse of manual compiling is used at present, need to be Configuration file addition updates rule and carries out corresponding parsing execution accordingly, you can realize that application data storehouse is updated, Without the SQL statement that manual compiling is complicated, and then the renewal efficiency of application database can be improved.
It should be noted that each function involved by the updating device of another application database provided in an embodiment of the present invention Other corresponding descriptions of unit, may be referred to the correspondence description in Fig. 2, will not be repeated here.
The updating device of another application database provided in an embodiment of the present invention, including:Acquiring unit, determining unit, Updating block, dispensing unit etc., the upgrading flow phase for being upgraded to latest edition is updated from needing to consider different old versions at present Than, the renewal process per two neighboring version information can be identified as a more new stage by the embodiment of the present invention, and then The renewal upgrading flow of adjacent version can only be considered, when the latest edition in application data storehouse develops test, only needed Exploitation test is upgraded to latest edition from last revision, reduces exploitation test job amount, has saved development cost;And Renewal escalation process of the application database in the different update stage can be realized by configuration file, complicated without manual compiling SQL statement, can improve the renewal efficiency of application database.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.
It is understood that the correlated characteristic in the above method and device can be referred to mutually.In addition, in above-described embodiment " first ", " second " etc. be, for distinguishing each embodiment, and not represent the quality of each embodiment.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system Structure be obvious.Additionally, the present invention is not also directed to any certain programmed language.It is understood that, it is possible to use it is various Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this hair Bright preferred forms.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify one or more that the disclosure and helping understands in each inventive aspect, exist Above to the description of exemplary embodiment of the invention in, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, and wherein each claim is in itself All as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Unit or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, can use any Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can the alternative features of or similar purpose identical, equivalent by offer carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection is appointed One of meaning mode can be used in any combination.
All parts embodiment of the invention can be realized with hardware, or be run with one or more processor Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) realize a kind of renewal side of application database according to embodiments of the present invention The some or all functions of some or all parts in method and device.The present invention is also implemented as performing here Some or all equipment or program of device of described method are (for example, computer program and computer program are produced Product).It is such to realize that program of the invention be stored on a computer-readable medium, or can have one or more The form of signal.Such signal can be downloaded from internet website and obtained, or be provided on carrier signal, or to appoint What other forms is provided.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol being located between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element is not excluded the presence of as multiple Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.

Claims (10)

1. a kind of update method of application database, it is characterised in that including:
When the instruction that application data storehouse is updated is received, the current version information of the application database is obtained, with And need the target version information for updating the application database;
Obtain each version information existed between the current version information and the target version information;
According to described each version information, determining that the application database is updated to target version from current version needs experience Each more new stage;
According to described each more new stage, the application database is updated, until the application database is updated to mesh Mark version.
2. the update method of application database according to claim 1, it is characterised in that each version described in the basis Information, determining that the application database is updated to target version from current version needs each more new stage of experience, specific bag Include:
According to the current version information, described each version information and the target version information, will be per two neighboring version The renewal process of information is identified as a more new stage, obtains the application database and is updated to target version from current version Each more new stage of this needs experience.
3. the update method of application database according to claim 2, it is characterised in that each renewal described in the basis In the stage, the application database is updated, until the application database is updated to target version, specifically included:
The renewal of adjacent version is carried out successively to the application database, until the application database is updated to target version.
4. the update method of application database according to claim 1, it is characterised in that each version described in the basis Information, determining that the application database is updated to target version from current version needs each more new stage of experience, specific bag Include:
With the presence or absence of with the predetermined version information for redirecting and updating rule in described each version information of detection;
If in the presence of, rule is updated according to predetermined the redirecting, obtain corresponding jump target version information;
By described with the predetermined renewal process redirected between the version information and the jump target version information that update rule It is defined as a more new stage.
5. the update method of application database according to claim 1, it is characterised in that each renewal described in the basis In the stage, before being updated to the application database, methods described includes:
Configure the application database and distinguish corresponding configuration file in the different update stage, comprising described in the configuration file The renewal rule of application database;
Each more new stage, is updated to the application database described in the basis, specifically includes:
The application database is obtained in described each more new stage corresponding configuration file;
Described each more new stage corresponding configuration file is parsed respectively, obtain the application database it is described each More new stage corresponding renewal rule;
According to corresponding renewal rule of described each more new stage, the application database is updated.
6. a kind of updating device of application database, it is characterised in that including:
Acquiring unit, for when the instruction that application data storehouse is updated is received, obtaining working as the application database Preceding version information, and need the target version information for updating the application database;
The acquiring unit, is additionally operable to obtain each version existed between the current version information and the target version information This information;
Determining unit, for according to described each version information, determining that the application database is updated to target from current version Version needs each more new stage of experience;
Updating block, for according to described each more new stage, being updated to the application database, until the application number Updated to target version according to storehouse.
7. the updating device of application database according to claim 6, it is characterised in that
The determining unit, specifically for according to the current version information, described each version information and the target version Information, a more new stage is identified as by the renewal process per two neighboring version information, obtains the application database Being updated to target version from current version needs each more new stage of experience.
8. the updating device of application database according to claim 7, it is characterised in that
The updating block, the renewal specifically for carrying out adjacent version successively to the application database, until the application Database update is to target version.
9. the updating device of application database according to claim 6, it is characterised in that the determining unit includes:
Detection module, predetermined the version letter for updating rule is redirected with the presence or absence of having for detecting in described each version information Breath;
Acquisition module, if redirecting renewal rule in the presence of with predetermined in detecting described each version information for the detection module Version information then, then update rule according to predetermined the redirecting, and obtains corresponding jump target version information;
Determining module, for by it is described with it is predetermined redirect update rule version information and the jump target version information it Between renewal process be defined as a more new stage.
10. the updating device of application database according to claim 6, it is characterised in that described device also includes:Configuration Unit;
The dispensing unit, corresponding configuration file is distinguished for configuring the application database in the different update stage, described Renewal rule comprising the application database in configuration file;
The updating block, specifically for obtaining the application database in described each more new stage corresponding configuration file;
Described each more new stage corresponding configuration file is parsed respectively, obtain the application database it is described each More new stage corresponding renewal rule;
According to corresponding renewal rule of described each more new stage, the application database is updated.
CN201710076836.3A 2017-02-13 2017-02-13 The update method and device of application database Pending CN106843984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710076836.3A CN106843984A (en) 2017-02-13 2017-02-13 The update method and device of application database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710076836.3A CN106843984A (en) 2017-02-13 2017-02-13 The update method and device of application database

Publications (1)

Publication Number Publication Date
CN106843984A true CN106843984A (en) 2017-06-13

Family

ID=59128892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710076836.3A Pending CN106843984A (en) 2017-02-13 2017-02-13 The update method and device of application database

Country Status (1)

Country Link
CN (1) CN106843984A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109788027A (en) * 2018-12-13 2019-05-21 平安科技(深圳)有限公司 Method of data synchronization, device, server and computer storage medium
CN110059096A (en) * 2019-03-16 2019-07-26 平安城市建设科技(深圳)有限公司 Data version management method, apparatus, equipment and storage medium
CN110633218A (en) * 2019-09-24 2019-12-31 北京首汽智行科技有限公司 APP upgrading test method
CN110865828A (en) * 2018-08-28 2020-03-06 成都鼎桥通信技术有限公司 Data upgrading method, device, equipment and computer readable storage medium
CN112653937A (en) * 2019-10-10 2021-04-13 中盈优创资讯科技有限公司 Optical network access equipment management method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713154A (en) * 2004-06-22 2005-12-28 中兴通讯股份有限公司 Method for upgrading network management system in mobile communication
CN101169719A (en) * 2007-11-30 2008-04-30 华为技术有限公司 Method and system for implementing data upgrading and upgraded client terminal
CN101685460A (en) * 2008-09-23 2010-03-31 华为技术有限公司 Database device, method and system for processing shared data
CN101753340A (en) * 2008-12-22 2010-06-23 华为技术有限公司 Method, device and system for notifying data modification
CN101799891A (en) * 2009-12-17 2010-08-11 中国电力科学研究院 Business data storage method and device
CN102110110A (en) * 2009-12-28 2011-06-29 中国移动通信集团公司 Method and device for data access based on SOA (Service-Oriented Architecture)
CN103309694A (en) * 2012-03-14 2013-09-18 腾讯科技(深圳)有限公司 Application program updating method and device
US20140173588A1 (en) * 2012-12-14 2014-06-19 Samsung Electronics Co., Ltd. Software update service method and apparatus for mobile terminal
CN104066077A (en) * 2014-06-24 2014-09-24 青岛海信移动通信技术股份有限公司 OTA downloading and upgrading method and device thereof
CN105159724A (en) * 2015-09-15 2015-12-16 青岛海信移动通信技术股份有限公司 Cross-version upgrade method for software, client and server
CN106201588A (en) * 2016-06-28 2016-12-07 青岛海信移动通信技术股份有限公司 The method for upgrading software of terminal and terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713154A (en) * 2004-06-22 2005-12-28 中兴通讯股份有限公司 Method for upgrading network management system in mobile communication
CN101169719A (en) * 2007-11-30 2008-04-30 华为技术有限公司 Method and system for implementing data upgrading and upgraded client terminal
CN101685460A (en) * 2008-09-23 2010-03-31 华为技术有限公司 Database device, method and system for processing shared data
CN101753340A (en) * 2008-12-22 2010-06-23 华为技术有限公司 Method, device and system for notifying data modification
CN101799891A (en) * 2009-12-17 2010-08-11 中国电力科学研究院 Business data storage method and device
CN102110110A (en) * 2009-12-28 2011-06-29 中国移动通信集团公司 Method and device for data access based on SOA (Service-Oriented Architecture)
CN103309694A (en) * 2012-03-14 2013-09-18 腾讯科技(深圳)有限公司 Application program updating method and device
US20140173588A1 (en) * 2012-12-14 2014-06-19 Samsung Electronics Co., Ltd. Software update service method and apparatus for mobile terminal
CN104066077A (en) * 2014-06-24 2014-09-24 青岛海信移动通信技术股份有限公司 OTA downloading and upgrading method and device thereof
CN105159724A (en) * 2015-09-15 2015-12-16 青岛海信移动通信技术股份有限公司 Cross-version upgrade method for software, client and server
CN106201588A (en) * 2016-06-28 2016-12-07 青岛海信移动通信技术股份有限公司 The method for upgrading software of terminal and terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865828A (en) * 2018-08-28 2020-03-06 成都鼎桥通信技术有限公司 Data upgrading method, device, equipment and computer readable storage medium
CN109788027A (en) * 2018-12-13 2019-05-21 平安科技(深圳)有限公司 Method of data synchronization, device, server and computer storage medium
CN110059096A (en) * 2019-03-16 2019-07-26 平安城市建设科技(深圳)有限公司 Data version management method, apparatus, equipment and storage medium
CN110633218A (en) * 2019-09-24 2019-12-31 北京首汽智行科技有限公司 APP upgrading test method
CN110633218B (en) * 2019-09-24 2023-04-11 北京首汽智行科技有限公司 APP upgrading test method
CN112653937A (en) * 2019-10-10 2021-04-13 中盈优创资讯科技有限公司 Optical network access equipment management method and device

Similar Documents

Publication Publication Date Title
CN106843984A (en) The update method and device of application database
CN111177231B (en) Report generation method and report generation device
CN104991790B (en) The upgrading dissemination method and device of a kind of file
CN103942065B (en) For updating the method and system of firmware compatibility data
CN106844772A (en) The update method and device of application database
CN105138629A (en) application program searching method and device
CN108108493B (en) Algorithm processing method based on MIT benefit demonstration, server and storage medium
CN107704396A (en) The method of testing and device of application program
CN105049514B (en) A kind of document down loading method and device
CN104461625A (en) Hot patch realization method and system
CN106648664A (en) Self-service terminal business process updating method and apparatus
US20160098256A1 (en) Visual tool and architecting logical layers of software components
CN107193607A (en) Method and apparatus, storage medium, processor and terminal for updating code file
CN106933591A (en) The method and device that code merges
CN109117172A (en) A kind of method and device of the terminal versions number identification of target terminal
CN106843842A (en) The update method and device of a kind of application profiles
CN107741904A (en) Test machine method of automatic configuration, device, equipment and storage medium
CN106681746A (en) Mobile application program pop-up window display method, mobile terminal and system
CN107797820A (en) Method and apparatus for generating patch
CN110399208A (en) Methods of exhibiting, device and the equipment of distributed task dispatching topological diagram
CN104679900A (en) Application program searching method and device
CN103645923A (en) Insert installation method and system
CN104793844A (en) Plug-in management method and device based on mobile terminal
CN103500109A (en) Method and device for achieving file collection and software package automatic installation
CN105786888A (en) Method and system for generating shortcut option as well as electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170613

RJ01 Rejection of invention patent application after publication