CN107885781A - A kind of method for edition management and system - Google Patents
A kind of method for edition management and system Download PDFInfo
- Publication number
- CN107885781A CN107885781A CN201710957392.4A CN201710957392A CN107885781A CN 107885781 A CN107885781 A CN 107885781A CN 201710957392 A CN201710957392 A CN 201710957392A CN 107885781 A CN107885781 A CN 107885781A
- Authority
- CN
- China
- Prior art keywords
- model
- meta
- history
- current
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2474—Sequence data queries, e.g. querying versioned data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Probability & Statistics with Applications (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention, which provides a kind of method for edition management and system, this method, to be included:The current meta-model of object to be managed is obtained, object to be managed is included in current meta-model in the hierarchy information of current time each component, component dependencies and unavailable component information;The corresponding history meta-model of the current meta-model of object to be managed is compared, differentiation data of the current meta-model relative to history meta-model is obtained, object to be managed is included in history meta-model in the hierarchy information of historical juncture each component, component dependencies and unavailable component information;Difference grade carries out version mark to the model version sequence of history meta-model according to corresponding to differentiation data, generates the model version sequence of current meta-model.The present invention is compared to obtain differentiation data by meta-model, and version mark is carried out according to the difference size of differentiation data, is realized and is carried out hierarchy management to data according to the hierarchical structure of equipment, effective management to machine data has been better achieved.
Description
Technical field
The present invention relates to technical field of data administration, more particularly to a kind of method for edition management and system.
Background technology
With the extensive use of Internet technology, in scientific and technological industry, and the combination of traditional industries and internet industry
Under overall background, exponentially, these data contain the value of preciousness for the growth of the machine data of enterprise.But due to machine
The scale of construction of data is excessively huge, continues the machine data of high-throughput for 7*24 hours, wants to effectively realize industry is set
The management of standby thousands of machine data, it is desirable to be able to the current system architecture of clear and definite industrial equipment and industrial equipment renewal
System architecture is there occurs those more new changes afterwards, preferably to be realized according to the current system architecture of industrial equipment to number of machines
According to effective management.
Therefore, how to realize that the version management to industrial equipment systems structure is significant.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State the method for edition management and system of problem.
One aspect of the present invention, there is provided a kind of method for edition management, including:
Obtain the current meta-model of object to be managed, the current meta-model include described in have object to be managed current
Hierarchy information, component dependencies and the unavailable component information of moment each component;
The corresponding history meta-model of the current meta-model of object to be managed is compared, obtains the current member
For model relative to the differentiation data of the history meta-model, the history meta-model includes described having object to be managed going through
Hierarchy information, component dependencies and the unavailable component information of history moment each component;
Version is carried out to the model version sequence of the history meta-model according to difference grade corresponding to the differentiation data
This mark, generate the model version sequence of the current meta-model.
Wherein, after the corresponding history meta-model of the current meta-model of object to be managed is compared, institute
Stating method also includes:
The differentiation data is visualized.
Wherein, the history meta-model that the current meta-model of object to be managed is corresponding is compared, including:
The configuration parameter of the current meta-model and history meta-model is obtained respectively, and the configuration parameter is in meta-model
Component dependencies and unavailable component information description information;
Believed according to the structure of the configuration parameter contrast current meta-model and all components that come into force in history meta-model
Breath;
When the current meta-model is identical with the structure of all components that come into force in history meta-model, according to the configuration ginseng
The content information of the number contrast current meta-model and all components that come into force in history meta-model;
If the current meta-model is identical with the content of all components that come into force in history meta-model, the current member is judged
Model is identical with history meta-model, otherwise, it is determined that the current meta-model is different from history meta-model;
When the current meta-model is with history meta-model difference, the current meta-model is obtained relative to history member
The differentiation data of model.
Wherein, the model version sequence includes following subsequence:Major release, minor release/point release, numbering and markup letter
Breath;
The difference grade includes with the major release, minor release/point release, numbering and corresponding four of markup information etc.
Level;
The difference grade according to corresponding to the differentiation data is entered to the model version sequence of the history meta-model
Row version marks, including:
According to difference grade corresponding to the differentiation data to corresponding in the model version sequence of the history meta-model
Subsequence be labeled.
Another aspect of the present invention, there is provided a kind of edition management system, including:
Meta-model acquisition module, for obtaining the current meta-model of object to be managed, the current meta-model includes institute
Object to be managed is stated in the hierarchy information of current time each component, component dependencies and unavailable component information;
Meta-model comparing module, for the corresponding history meta-model of the current meta-model of object to be managed to be carried out
Compare, obtain differentiation data of the current meta-model relative to the history meta-model, the history meta-model includes
It is described to have object to be managed in the hierarchy information of historical juncture each component, component dependencies and unavailable component information;
Version labeling module, for according to corresponding to the differentiation data difference grade to the mould of the history meta-model
Type version sequence carries out version mark, generates the model version sequence of the current meta-model.
Wherein, the system also includes:
Display module, in the meta-model comparing module by the corresponding history of the current meta-model of object to be managed
After meta-model is compared, the differentiation data is visualized.
Wherein, the meta-model comparing module, including:
First acquisition submodule, it is described for obtaining the configuration parameter of the current meta-model and history meta-model respectively
Configuration parameter is the description information to the component dependencies in meta-model and unavailable component information;
First contrast submodule, for according to the configuration parameter contrast current meta-model and institute in history meta-model
There is the structural information for the component that comes into force;
First contrast submodule, for when the structure phase of the current meta-model and all components that come into force in history meta-model
Meanwhile according to the content information of the configuration parameter contrast current meta-model and all components that come into force in history meta-model;
Judging submodule, for when the current meta-model it is identical with the content of all components that come into force in history meta-model
When, judge that the current meta-model is identical with history meta-model, otherwise, it is determined that the current meta-model and history meta-model are not
Together;
Second acquisition submodule, for when the current meta-model is with history meta-model difference, obtaining the current member
Model relative to the history meta-model differentiation data.
Wherein, the model version sequence includes following subsequence:Major release, minor release/point release, numbering and markup letter
Breath;
The difference grade includes with the major release, minor release/point release, numbering and corresponding four of markup information etc.
Level;
The version labeling module, it is first to the history specifically for the difference grade according to corresponding to the differentiation data
Corresponding subsequence is labeled in the model version sequence of model.
In addition, present invention also offers a kind of computer-readable recording medium, computer program is stored thereon with, the program
The step of method as described above is realized when being executed by processor.
In addition, present invention also offers a kind of computer equipment, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, the step of realizing method as described above during the computing device described program.
Method for edition management provided in an embodiment of the present invention and system, by by the current meta-model of object to be managed with going through
History meta-model is compared, and obtains differentiation data, then carries out version mark according to the difference size of differentiation data, and then
Realize and hierarchy management is carried out to data according to the hierarchical structure of equipment, effective management to machine data is better achieved.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it 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 is a kind of flow chart of method for edition management of the embodiment of the present invention;
Fig. 2 is the structural representation of the meta-model of the middle proposition of the embodiment of the present invention;
Fig. 3 is a kind of realization principle schematic diagram of method for edition management of the embodiment of the present invention;
Fig. 4 is the step S12 of method for edition management provided in an embodiment of the present invention implementation process figure;
Fig. 5 is the structural representation of another edition management system of the embodiment of the present invention;
Fig. 6 is the schematic diagram of the computer equipment of the embodiment of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown 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.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific terminology), there is the general understanding identical meaning with the those of ordinary skill in art of the present invention.Should also
Understand, those terms defined in such as general dictionary, it should be understood that have with the context of prior art
The consistent meaning of meaning, and unless by specific definitions, otherwise will not be explained with the implication of idealization or overly formal.
Fig. 1 diagrammatically illustrates the flow chart of the method for edition management of one embodiment of the invention.Reference picture 1, the present invention
The method for edition management of embodiment specifically includes following steps:
S11, the current meta-model for obtaining object to be managed, the current meta-model include described in there is object to be managed to exist
Hierarchy information, component dependencies and the unavailable component information of current time each component.
In embodiments of the present invention, the object of version management can be software or data.
The meta-model proposed in the present embodiment, as shown in Fig. 2 include hierarchy information, component dependencies and
Unavailable component information, wherein, hierarchy information can be formulated according to the BOM structures to managing data corresponding device.Component
Dependence, refer to that building component or deletion must be carried out simultaneously, such as the component 1 of deleting parts 2, while can also delete component
2 and component 3.Unavailable component information does not come into force mark, refers to insignificant part or component when model compares.
S12, the corresponding history meta-model of the current meta-model of object to be managed is compared, obtains described work as
For preceding meta-model relative to the differentiation data of the history meta-model, the history meta-model includes described having object to be managed
In the hierarchy information of historical juncture each component, component dependencies and unavailable component information;
S13, difference grade is entered to the model version sequence of the history meta-model according to corresponding to the differentiation data
Row version marks, and generates the model version sequence of the current meta-model.
Method for edition management provided in an embodiment of the present invention, by by the current meta-model of object to be managed and history member mould
Type is compared, and obtains differentiation data, then carries out version mark according to the difference size of differentiation data, and then realize and press
Hierarchy management is carried out to data according to the hierarchical structure of equipment, effective management to machine data is better achieved.
In an alternate embodiment of the present invention where, it is in S12 that the current meta-model of object to be managed is right with it
After the history meta-model answered is compared, methods described is further comprising the steps of:
The differentiation data is visualized.
In order to preferably facilitate user to carry out the management of data, the present invention obtains different editions data in comparison meta-model
After differentiation data, by carrying out visual presentation to the differentiation data user can be made quickly and accurately to find
Differentiation data, and then it is managed, data management efficiency is improved, lifts Consumer's Experience.
Fig. 3 is the specific implementation principle schematic of method for edition management provided in an embodiment of the present invention, as shown in figure 3, this
Inventive embodiments by by the structural information of the current meta-model of object to be managed and the component that comes into force of history meta-model, come into force group
The content information of part is compared, and obtains differentiation data, then according to the difference size of differentiation data to history meta-model
Model version sequence carry out version mark, the updated model version sequence of current data version is obtained, it can also enough to member
Differentiation data in model is visualized, and then is realized and carried out level pipe to data according to the hierarchical structure of equipment
Reason, is better achieved effective management to machine data.
It is in step S12 that the current meta-model of object to be managed is corresponding referring to Fig. 4 in the embodiment of the present invention
History meta-model be compared, realized especially by the following manner:
The configuration parameter of the current meta-model and history meta-model is obtained respectively, and the configuration parameter is in meta-model
Component dependencies and unavailable component information description information;According to the configuration parameter contrast current meta-model with going through
The structural information of all components that come into force in history meta-model;When the current meta-model and all components that come into force in history meta-model
When structure is identical, according to the content of the configuration parameter contrast current meta-model and all components that come into force in history meta-model
Information;If the current meta-model is identical with the content of all components that come into force in history meta-model, current first mould is judged
Type is identical with history meta-model, otherwise, it is determined that the current meta-model is different from history meta-model;When the current meta-model with
During history meta-model difference, differentiation data of the current meta-model relative to the history meta-model is obtained.
Wherein, the configuration parameter for obtaining the current meta-model and history meta-model can be by carrying out after artificial outside setting
Parameter imports, and the component that parameter species is included in each meta-model comes into force configuration (i.e. unavailable component information), component dependencies.
In the present embodiment, according to the configuration parameter contrast current meta-model and all groups that come into force in history meta-model
The structural information of part, specifically include the comparison of following information:Whether features/components come into force, and features/components whether there is.According to
The content information of the configuration parameter contrast current meta-model and all components that come into force in history meta-model, specifically include with
The comparison of lower information:Contrast model component content, whether component parameter comes into force and whether component parameter is identical.
Wherein, the model version sequence includes following subsequence:Major release, minor release/point release, numbering and markup letter
Breath.The difference grade includes four grades corresponding with the major release, minor release/point release, numbering and markup information.Its
In, major release:Functional module has large variation, for example model overall architecture changes.Minor release/point release:When function has necessarily
Increase or change, such as add part or component, change dependence etc..Numbering:Do not change model structure, only to component
Parameter or outside arrange parameter are changed.Other information, such as markup information:Date, significant remark information.
Accordingly, model version sequence of the difference grade to the history meta-model according to corresponding to the differentiation data
Version mark is carried out, is more closely included:Mould according to difference grade corresponding to the differentiation data to the history meta-model
Corresponding subsequence is labeled in type version sequence.
Method for edition management provided in an embodiment of the present invention, there is the meta-model of level result according to object to be managed, enter
Row comparison obtains the stratification difference of 2 indicated releases (such as adjacent version), and version mark is carried out according to the difference, and then can be with
Preferably realize the management to machine data.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but this area
Technical staff should know that the embodiment of the present invention is not limited by described sequence of movement, because implementing according to the present invention
Example, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know, specification
Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
Fig. 5 diagrammatically illustrates the structural representation of the edition management system of one embodiment of the invention.Reference picture 5, this
The edition management system of inventive embodiments specifically includes meta-model acquisition module 201, meta-model comparing module 202 and version mark
Injection molding block 203, wherein:Meta-model acquisition module 201, for obtaining the current meta-model of object to be managed, current first mould
Type has object to be managed in the hierarchy information of current time each component, component dependencies and invalid group described in including
Part information;Meta-model comparing module 202, for the corresponding history meta-model of the current meta-model of object to be managed to be entered
Row compares, and obtains differentiation data of the current meta-model relative to the history meta-model, is wrapped in the history meta-model
Include hierarchy information, component dependencies and the unavailable component letter for having object to be managed in historical juncture each component
Breath;Version labeling module 203, for according to corresponding to the differentiation data difference grade to the model of the history meta-model
Version sequence carries out version mark, generates the model version sequence of the current meta-model.
In an alternate embodiment of the present invention where, the system also includes the display module not shown in accompanying drawing, described
Display module, in the meta-model comparing module by the corresponding history meta-model of the current meta-model of object to be managed
After being compared, the differentiation data is visualized.
In the present embodiment, the meta-model comparing module 202, further comprise following submodule, be specially:
First acquisition submodule, it is described for obtaining the configuration parameter of the current meta-model and history meta-model respectively
Configuration parameter is the description information to the component dependencies in meta-model and unavailable component information;
First contrast submodule, for according to the configuration parameter contrast current meta-model and institute in history meta-model
There is the structural information for the component that comes into force;
First contrast submodule, for when the structure phase of the current meta-model and all components that come into force in history meta-model
Meanwhile according to the content information of the configuration parameter contrast current meta-model and all components that come into force in history meta-model;
Judging submodule, for when the current meta-model it is identical with the content of all components that come into force in history meta-model
When, judge that the current meta-model is identical with history meta-model, otherwise, it is determined that the current meta-model and history meta-model are not
Together;
Second acquisition submodule, for when the current meta-model is with history meta-model difference, obtaining the current member
Model relative to the history meta-model differentiation data.
Further, the model version sequence includes following subsequence:Major release, minor release/point release, numbering and mark
Property information.The difference grade includes with the major release, minor release/point release, numbering and corresponding four of markup information etc.
Level.
Accordingly, the version labeling module 203, specifically for the difference grade pair according to corresponding to the differentiation data
Corresponding subsequence is labeled in the model version sequence of the history meta-model.
For system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
Method for edition management provided in an embodiment of the present invention and system, by by the current meta-model of object to be managed with going through
History meta-model is compared, and obtains differentiation data, then carries out version mark according to the difference size of differentiation data, and then
Realize and hierarchy management is carried out to data according to the hierarchical structure of equipment, effective management to machine data is better achieved.
In addition, the embodiment of the present invention additionally provides a kind of computer-readable recording medium, computer program is stored thereon with,
The step of program realizes method as described above when being executed by processor.
In the present embodiment, if module/unit that the edition management system integrates is real in the form of SFU software functional unit
Now and as independent production marketing or in use, it can be stored in a computer read/write memory medium.Based on so
Understanding, the present invention realizes all or part of flow in above-described embodiment method, can also be instructed by computer program
Related hardware is completed, and described computer program can be stored in a computer-readable recording medium, the computer program
When being executed by processor, can be achieved above-mentioned each embodiment of the method the step of.Wherein, the computer program includes computer
Program code, the computer program code can be source code form, object identification code form, executable file or some centres
Form etc..The computer-readable medium can include:Can carry the computer program code any entity or device,
Recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software
Distribution medium etc..It should be noted that the content that includes of the computer-readable medium can be according to making laws in jurisdiction
Appropriate increase and decrease is carried out with the requirement of patent practice, such as in some jurisdictions, according to legislation and patent practice, computer
Computer-readable recording medium does not include electric carrier signal and telecommunication signal.
Fig. 6 is the schematic diagram of computer equipment provided in an embodiment of the present invention.Computer provided in an embodiment of the present invention is set
It is standby, including memory 301, processor 302 and it is stored in the computer journey that can be run on memory 301 and on processor 302
Sequence, the processor 302 realize the step in above-mentioned each method for edition management embodiment, example when performing the computer program
S11 as shown in Figure 1, the current meta-model for obtaining object to be managed, the current meta-model include described in have it is to be managed right
As in the hierarchy information of current time each component, component dependencies and unavailable component information.S12, by described treat pipe
The corresponding history meta-model of the reason current meta-model of object is compared, and obtains the current meta-model relative to the history
The differentiation data of meta-model, the history meta-model include described having level of the object to be managed in historical juncture each component
Structural information, component dependencies and unavailable component information;S13, the difference grade pair according to corresponding to the differentiation data
The model version sequence of the history meta-model carries out version mark, generates the model version sequence of the current meta-model.Or
Person, the processor 302 realize each module/unit in above-mentioned each edition management system embodiment when performing the computer program
Function, such as meta-model acquisition module 201, meta-model comparing module 202 and version labeling module 203 shown in Fig. 5.
Exemplary, the computer program can be divided into one or more module/units, one or more
Individual module/unit is stored in the memory, and by the computing device, to complete the present invention.It is one or more
Individual module/unit can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used to describe institute
State implementation procedure of the computer program in the edition management system.For example, the computer program can be divided into member
Model acquisition module 201, meta-model comparing module 202 and version labeling module 203, each module concrete function are as follows:First mould
Type acquisition module 201, for obtaining the current meta-model of object to be managed, the current meta-model include described in have it is to be managed
Object is in the hierarchy information of current time each component, component dependencies and unavailable component information;Meta-model compares mould
Block 202, for the corresponding history meta-model of the current meta-model of object to be managed to be compared, obtain described current
For meta-model relative to the differentiation data of the history meta-model, the history meta-model includes described having object to be managed to exist
Hierarchy information, component dependencies and the unavailable component information of historical juncture each component;Version labeling module 203, use
Version mark is carried out to the model version sequence of the history meta-model in the difference grade according to corresponding to the differentiation data,
Generate the model version sequence of the current meta-model.
The computer equipment can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set
It is standby.The computer equipment may include, but be not limited only to, processor, memory.It is it will be understood by those skilled in the art that described
Schematic diagram 6 be only computer equipment example, do not form the restriction to computer equipment, can include than illustrate it is more or
Less part, some parts or different parts are either combined, such as the computer equipment can also be defeated including inputting
Go out equipment, network access equipment, bus etc..
The processor can be CPU (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng the processor is the control centre of the computer equipment, utilizes various interfaces and the whole computer equipment of connection
Various pieces.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing
The computer program and/or module being stored in the memory, and the data being stored in memory are called, described in realization
The various functions of computer equipment.The memory can mainly include storing program area and storage data field, wherein, storage program
Area can storage program area, the application program (such as sound-playing function, image player function etc.) needed at least one function
Deng;Storage data field can store uses created data (such as voice data, phone directory etc.) etc. according to mobile phone.In addition,
Memory can include high-speed random access memory, can also include nonvolatile memory, such as hard disk, internal memory, grafting
Formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
It will be appreciated by those of skill in the art that although some embodiments in this are included included by other embodiments
Some features rather than further feature, but the combination of the feature of different embodiments means to be within the scope of the present invention simultaneously
And form different embodiments.For example, in the following claims, the one of any of embodiment claimed all may be used
Used in a manner of in any combination.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (10)
- A kind of 1. method for edition management, it is characterised in that including:Obtain the current meta-model of object to be managed, the current meta-model include described in have object to be managed at current time Hierarchy information, component dependencies and the unavailable component information of each component;The corresponding history meta-model of the current meta-model of object to be managed is compared, obtains the current meta-model Relative to the differentiation data of the history meta-model, the history meta-model includes described having object to be managed in history Carve the hierarchy information, component dependencies and unavailable component information of each component;Version mark is carried out to the model version sequence of the history meta-model according to difference grade corresponding to the differentiation data Note, generate the model version sequence of the current meta-model.
- 2. according to the method for claim 1, it is characterised in that the current meta-model of object to be managed is corresponding History meta-model be compared after, methods described also includes:The differentiation data is visualized.
- 3. method according to claim 1 or 2, it is characterised in that it is described by the current meta-model of object to be managed with Its corresponding history meta-model is compared, including:The configuration parameter of the current meta-model and history meta-model is obtained respectively, and the configuration parameter is to the group in meta-model The description information of part dependence and unavailable component information;According to the structural information of the configuration parameter contrast current meta-model and all components that come into force in history meta-model;When the current meta-model is identical with the structure of all components that come into force in history meta-model, according to the configuration parameter pair Than the content information of the current meta-model and all components that come into force in history meta-model;If the current meta-model is identical with the content of all components that come into force in history meta-model, the current meta-model is judged It is identical with history meta-model, otherwise, it is determined that the current meta-model is different from history meta-model;When the current meta-model is with history meta-model difference, the current meta-model is obtained relative to the history meta-model Differentiation data.
- 4. according to the method for claim 3, it is characterised in that the model version sequence includes following subsequence:Big version This number, minor release/point release, numbering and markup information;The difference grade includes four grades corresponding with the major release, minor release/point release, numbering and markup information;The difference grade according to corresponding to the differentiation data carries out version to the model version sequence of the history meta-model This mark, including:According to difference grade corresponding to the differentiation data to corresponding son in the model version sequence of the history meta-model Sequence is labeled.
- A kind of 5. edition management system, it is characterised in that including:Meta-model acquisition module, for obtaining the current meta-model of object to be managed, the current meta-model include described in have Object to be managed is in the hierarchy information of current time each component, component dependencies and unavailable component information;Meta-model comparing module, for the corresponding history meta-model of the current meta-model of object to be managed to be compared It is right, differentiation data of the current meta-model relative to the history meta-model is obtained, the history meta-model includes institute Object to be managed is stated in the hierarchy information of historical juncture each component, component dependencies and unavailable component information;Version labeling module, for according to corresponding to the differentiation data difference grade to the model version of the history meta-model This sequence carries out version mark, generates the model version sequence of the current meta-model.
- 6. system according to claim 5, it is characterised in that the system also includes:Display module, in the meta-model comparing module by the corresponding history member mould of the current meta-model of object to be managed After type is compared, the differentiation data is visualized.
- 7. the system according to claim 5 or 6, it is characterised in that the meta-model comparing module, including:First acquisition submodule, for obtaining the current meta-model and the configuration parameter of history meta-model, the configuration respectively Parameter is the description information to the component dependencies in meta-model and unavailable component information;First contrast submodule, for according to the configuration parameter contrast current meta-model and all lifes in history meta-model Imitate the structural information of component;First contrast submodule, for when the current meta-model it is identical with the structure of all components that come into force in history meta-model When, according to the content information of the configuration parameter contrast current meta-model and all components that come into force in history meta-model;Judging submodule, for when the current meta-model is identical with the content of all components that come into force in history meta-model, sentencing The fixed current meta-model is identical with history meta-model, otherwise, it is determined that the current meta-model is different from history meta-model;Second acquisition submodule, for when the current meta-model is with history meta-model difference, obtaining the current meta-model Relative to the differentiation data of the history meta-model.
- 8. system according to claim 7, it is characterised in that the model version sequence includes following subsequence:Big version This number, minor release/point release, numbering and markup information;The difference grade includes four grades corresponding with the major release, minor release/point release, numbering and markup information;The version labeling module, specifically for according to corresponding to the differentiation data difference grade to the history meta-model Model version sequence in corresponding subsequence be labeled.
- 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor Realized during row such as the step of any one of claim 1-4 methods described.
- 10. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that realized during the computing device described program such as any one of claim 1-4 methods described Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710957392.4A CN107885781B (en) | 2017-10-16 | 2017-10-16 | Version management method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710957392.4A CN107885781B (en) | 2017-10-16 | 2017-10-16 | Version management method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107885781A true CN107885781A (en) | 2018-04-06 |
CN107885781B CN107885781B (en) | 2020-05-08 |
Family
ID=61781441
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710957392.4A Active CN107885781B (en) | 2017-10-16 | 2017-10-16 | Version management method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107885781B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108875181A (en) * | 2018-06-07 | 2018-11-23 | 南京骐骏软件有限公司 | A kind of three-dimensional labeling revision change method for tracing of threedimensional model |
CN113824797A (en) * | 2021-11-19 | 2021-12-21 | 南京好先生智慧科技有限公司 | Self-adaptive synchronization method and device for teaching resources |
CN114756278A (en) * | 2022-06-15 | 2022-07-15 | 昆仑智汇数据科技(北京)有限公司 | Industrial data model and data version cooperative management method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1364262A (en) * | 1999-05-26 | 2002-08-14 | 富士通株式会社 | Network, element management system |
CN104134109A (en) * | 2014-06-24 | 2014-11-05 | 青岛海信网络科技股份有限公司 | Engineering configuration method and engineering configuration system integrating version management |
CN106021103A (en) * | 2016-05-16 | 2016-10-12 | 南京大学 | Code change-based mobile application test script automatic maintenance method |
CN106095426A (en) * | 2016-06-07 | 2016-11-09 | 中国建设银行股份有限公司 | The system of Mobile solution, method are provided |
-
2017
- 2017-10-16 CN CN201710957392.4A patent/CN107885781B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1364262A (en) * | 1999-05-26 | 2002-08-14 | 富士通株式会社 | Network, element management system |
CN104134109A (en) * | 2014-06-24 | 2014-11-05 | 青岛海信网络科技股份有限公司 | Engineering configuration method and engineering configuration system integrating version management |
CN106021103A (en) * | 2016-05-16 | 2016-10-12 | 南京大学 | Code change-based mobile application test script automatic maintenance method |
CN106095426A (en) * | 2016-06-07 | 2016-11-09 | 中国建设银行股份有限公司 | The system of Mobile solution, method are provided |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108875181A (en) * | 2018-06-07 | 2018-11-23 | 南京骐骏软件有限公司 | A kind of three-dimensional labeling revision change method for tracing of threedimensional model |
CN113824797A (en) * | 2021-11-19 | 2021-12-21 | 南京好先生智慧科技有限公司 | Self-adaptive synchronization method and device for teaching resources |
CN113824797B (en) * | 2021-11-19 | 2022-02-18 | 南京好先生智慧科技有限公司 | Self-adaptive synchronization method and device for teaching resources |
CN114756278A (en) * | 2022-06-15 | 2022-07-15 | 昆仑智汇数据科技(北京)有限公司 | Industrial data model and data version cooperative management method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107885781B (en) | 2020-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Bilal et al. | Guidelines for applied machine learning in construction industry—A case of profit margins estimation | |
CN109191312A (en) | A kind of anti-fraud air control method and device of Claims Resolution | |
US20210049711A1 (en) | Method of automatically transmitting data information and device of automatically transmitting data information | |
CN106919410A (en) | The extended method and device of the layout templates of component | |
CN111324577B (en) | Yml file reading and writing method and device | |
CN107885781A (en) | A kind of method for edition management and system | |
CN115017569A (en) | Two-dimensional and three-dimensional linked bridge parametric modeling and plotting method, device, equipment and medium | |
CN113485988A (en) | Data quality monitoring method and device and computer readable storage medium | |
CN110134646B (en) | Knowledge platform service data storage and integration method and system | |
CN110334327B (en) | Automatic generation method and device of area information and storage device | |
CN110930056A (en) | Thinking-guidance-graph-based task management method, terminal device and storage medium | |
CN115543428A (en) | Simulated data generation method and device based on strategy template | |
CN109446719A (en) | A kind of implementation method of the customized product tree of element type | |
CN109558222A (en) | Batch service process monitoring method, device, computer and readable storage medium storing program for executing | |
CN112084753B (en) | Method and system for assisting in editing document | |
CN114942749A (en) | Development method, device and equipment of approval system and storage medium | |
CN115048462A (en) | Block chain-based digital asset synthesis method and device | |
CN114154048A (en) | Method and device for constructing recommendation model, electronic equipment and storage medium | |
CN108932272A (en) | A kind of promoted account generation method and device | |
CN113378993B (en) | Artificial intelligence based classification method, apparatus, device and storage medium | |
CN115757345B (en) | Smooth migration method and system for mass data | |
Grabowski et al. | Extending formal fuzzy sets with triangular norms and conorms | |
CN116484066B (en) | Multi-class data processing method | |
CN116384939B (en) | Engineering project safety management method, device, equipment and storage medium | |
WO2024007604A1 (en) | Mathematical model solving method and apparatus, and computing device and computing device cluster |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |