CN109656912A - Data model management-control method, device and server - Google Patents

Data model management-control method, device and server Download PDF

Info

Publication number
CN109656912A
CN109656912A CN201811526209.6A CN201811526209A CN109656912A CN 109656912 A CN109656912 A CN 109656912A CN 201811526209 A CN201811526209 A CN 201811526209A CN 109656912 A CN109656912 A CN 109656912A
Authority
CN
China
Prior art keywords
business
entity
model
built
criteria
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
Application number
CN201811526209.6A
Other languages
Chinese (zh)
Other versions
CN109656912B (en
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.)
Chengdu Sefon Software Co Ltd
Original Assignee
Chengdu Sefon Software Co Ltd
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 Chengdu Sefon Software Co Ltd filed Critical Chengdu Sefon Software Co Ltd
Priority to CN201811526209.6A priority Critical patent/CN109656912B/en
Publication of CN109656912A publication Critical patent/CN109656912A/en
Application granted granted Critical
Publication of CN109656912B publication Critical patent/CN109656912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present application provides a kind of data model management-control method, device and server, by obtaining the entity attribute for the Business Entity for including in the theme business yet to be built, standard setting is carried out according to entity attribute of the preset standard to each Business Entity and obtains criteria field to generate the traffic criteria of theme business yet to be built.The incidence relation between different business entity is established according to traffic criteria, and plans entity table for each Business Entity, the logical model of theme business yet to be built is obtained according to each entity table and the incidence relation.It establishes database table entry corresponding with entity table each in logical model in the database again, is associated database table entry according to incidence relation, to obtain physical model corresponding with theme business yet to be built.Traffic criteria in conjunction with logical model and physical model, is improved the integrality, normalization and accuracy of model by the application, is ensured that the data standard between subsequent each system is consistent, is avoided the problem that different data among systems differences to a certain extent.

Description

Data model management-control method, device and server
Technical field
The present invention relates to applicating developing technology fields, in particular to a kind of data model management-control method, device and clothes Business device.
Background technique
For a long time, the construction of most operation system is built based on certain business demands, is not had The problem of data consistency, repeatability between consideration system and system lacks overall data standard design, directly results in number The statistical data standard of each business department inconsistent problem when according to analysis.Also the enterprises and institutions there are many have appreciated that The importance of data standard, the data standard for meeting oneself business has also been formulated in setting, but is not still managed effectively at present Reason method and system support, lead to not realize that the data model based on data standard is established.
Summary of the invention
In view of this, the purpose of the application is, a kind of data model management-control method, device and server are provided to improve The above problem.
The embodiment of the present application provides a kind of data model management-control method, is applied to server, which comprises
Multiple and different Business Entities in theme business yet to be built are obtained, and obtain the entity attribute of each Business Entity;
Standard setting is carried out according to entity attribute of the preset standard to each Business Entity and obtains criteria field, to generate For the traffic criteria of the theme business yet to be built;
The incidence relation between different business entity is established according to the traffic criteria, and is each Business Entity planning For storing the entity table of the criteria field of each Business Entity;
The logical model of the theme business yet to be built is obtained according to each entity table and the incidence relation;
Establish number corresponding with the entity table each in the logical model in the database according to the logical model According to library list item, corresponding database table entry is associated according to the incidence relation, and in each database table entry Criteria field establishes index entry, to obtain the physical model of the theme business yet to be built.
Optionally, the method also includes:
The establishment process of the logical model and the physical model is monitored, monitoring, establishment process appearance is different Chang Shi generates warning information to prompt developer.
Optionally, the step of establishment process to the logical model and the physical model is monitored, at least Including following one:
Monitor whether the logical model is consistent with the traffic criteria, if not being consistent, it is determined that establishment process occurs different Often;
Monitor whether the physical model is consistent with the traffic criteria, if not being consistent, it is determined that establishment process occurs different Often;
Monitor whether the logical model is consistent with the physical model, if not being consistent, it is determined that establishment process occurs different Often.
Optionally, the server includes multiple databases, the method also includes:
When there is the physical model corresponding to identical theme business yet to be built in different databases, disparate databases are detected In the physical model corresponding to identical theme business yet to be built version information it is whether consistent;
If inconsistent, prompt information is generated to prompt developer.
Optionally, the method also includes:
When the traffic criteria of generation changes, according to the traffic criteria after variation to according to the traffic criteria before variation The logical model and physical model of generation are modified.
Optionally, described to be established in the database according to the logical model and each entity table in the logical model The step of corresponding database table entry, comprising:
Corresponding database table is established according to the criteria field in the entity table each in the logical model and is stored in In database;
It, will if in the database table including specific criteria field for any database table in the database The specific criteria field is added in other database tables in the database, wherein the specific criteria field is pre- The specific criteria field being first configured according to usage amount height.
Optionally, the method also includes:
When the logical model changes, corresponding change item is obtained;
The influence value that the change item generates physical model corresponding with the logical model is assessed, and described in detection Whether influence value is more than preset allowed band;
If being less than the preset allowed band, modified according to the change item to the physical model.
The embodiment of the present application also provides a kind of data model control device, is applied to server, and described device includes:
Module is obtained, for obtaining multiple and different Business Entities in theme business yet to be built, and it is real to obtain each business The entity attribute of body;
Generation module is marked for carrying out standard setting according to entity attribute of the preset standard to each Business Entity Quasi- field, to generate the traffic criteria for being directed to the theme business yet to be built;
Module is established, for establishing the incidence relation between different business entity according to the traffic criteria, and is each institute It states Business Entity and plans entity table for storing the criteria field of each Business Entity;
Logical model obtains module, for obtaining the theme yet to be built according to each entity table and the incidence relation The logical model of business;
Physical model obtain module, for is established in the database according to the logical model with the logical model in respectively Corresponding database table entry, is associated, and be by the corresponding database table entry of the entity table according to the incidence relation Criteria field in each database table entry establishes index entry, to obtain the physical model of the theme business yet to be built.
The embodiment of the present application also provides a kind of server, including memory, processor and is stored on the memory simultaneously The computer program that can be run on the processor, the processor realize above-mentioned method and step when executing described program.
The embodiment of the present application also provides a kind of readable storage medium storing program for executing, is stored with computer program on the readable storage medium storing program for executing, The computer program executes above-mentioned method and step when being run by processor.
Data model management-control method, device and server provided by the embodiments of the present application, when obtaining theme business yet to be built, Obtain the entity attribute for the Business Entity for including in the theme business yet to be built.According to preset standard to the entity category of each Business Entity Property carry out standard setting and obtain criteria field to generate the traffic criteria of theme business yet to be built.It is established according to the traffic criteria Incidence relation between different business entity, and the reality for storing the criteria field of each Business Entity is planned for each Business Entity Body surface.The logical model of theme business yet to be built is obtained according to each entity table and the incidence relation.Further according to logical model in data Database table entry corresponding with entity table each in logical model is established in library, is closed database table entry according to incidence relation Connection, to obtain physical model corresponding with theme business yet to be built.The application is by traffic criteria and logical model and physical model knot It closes, improves the integrality, normalization and accuracy of model, ensure that the data standard between subsequent each system is consistent, certain journey Different data among systems differences are avoided the problem that on degree.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the structural block diagram of server provided by the embodiments of the present application.
Fig. 2 is the flow chart of data model management-control method provided by the embodiments of the present application.
Fig. 3 is the flow chart of the sub-step of step S150 in Fig. 2.
Fig. 4 is the functional block diagram of data model control device provided by the embodiments of the present application.
Icon: 100- server;110- data model control device;111- obtains module;112- generation module;113- is built Formwork erection block;114- logical model obtains module;115- physical model obtains module;120- processor;130- memory.
Specific embodiment
Centered on Business Process Management is a kind of brilliant operation flow by the forming end-to-end of standardization, mentioned with lasting Systematization method for the purpose of high organization business performance.For the exploitation of business model, it is inconsistent there may be standard The problem of and cause different developing departments and then to lead to follow-up system application inconsistent using identifying for identical services item In there are problems that applied defect.For example, for personnel's gender this, if using seek unity of standard and establish uniform data mould Type, then be likely to occur different developing departments need to use personnel's gender this when carrying out business development, benefit in some business Gender female is identified with digital " 1 " mark gender male, with digital " 2 ", and identifies gender male using text " male " in some business, is used Text " female " identifies gender female.Such case cause it is subsequent, not homologous ray docking when, cause docking perplex.
Based on this, in the application, first using formulate unified standard, on the basis of unified standard be arranged logical model and Corresponding physical model, so that the standard between unified not homologous ray, the subsequent consistent model of standard that calls directly are developed Process avoids the problem that different data among systems differences to a certain extent.
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
As shown in Figure 1, the embodiment of the invention provides a kind of server 100, the server 100 include memory 130, Processor 120 and data model pipe control device 110.
It is directly or indirectly electrically connected between the memory 130 and processor 120, to realize the transmission or friendship of data Mutually.It is electrically connected for example, these elements can be realized between each other by one or more communication bus or signal wire.The data Model control device 110 includes that at least one can be stored in the memory 130 in the form of software or firmware (firmware) In software function module.The processor 120 is for executing the executable computer journey stored in the memory 130 Sequence, for example, software function module and computer program etc. included by the data model control device 110, to realize data Model management-control method.
Wherein, the memory 130 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, memory 130 is for storing program, the processor 120 after receiving and executing instruction, Execute described program.
The processor 120 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 120 can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (DSP), specific integrated circuit (ASIC), scene Programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware group Part.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be with It is that microprocessor or the processor 120 are also possible to any conventional processor etc..
It is appreciated that structure shown in FIG. 1 is only to illustrate, the server 100 may also include it is more than shown in Fig. 1 or The less component of person, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can using hardware, software or A combination thereof is realized.
Optionally, the concrete type of the server 100 is unrestricted, for example, it may be, but be not limited to, web (website) Server, data server, individual server either server cluster etc..
In conjunction with Fig. 2, the embodiment of the present invention also provides a kind of data model control side that can be applied to above-mentioned server 100 Method.Wherein, method and step defined in the related process of the method can be realized by the processor 120.It below will be to Fig. 2 Shown in detailed process be described in detail.
Step S110 obtains multiple and different Business Entities in theme business yet to be built, and obtains each Business Entity Entity attribute.
Server 100 can be established when progress business model is established individually for different theme business.Wherein, Theme business can be such as business for the relevant information of student, the business of relevant information for teacher etc..If working as It is preceding there are when multiple theme business yet to be built, developer can be according to the exploitativeness and significance level of each theme business to more A theme business is ranked up, such as is successively sorted by the height of significance level, is ranked up by the height of exploitativeness Deng.In this way, server 100 can successively be handled each theme business by the theme business after sequence.
After obtaining theme business yet to be built, it can get multiple and different Business Entities in theme business yet to be built, wherein if to When to build theme business be business relevant to student, Business Entity includes that student itself relevant information, student attend class classroom letter Breath, student attend class subject information etc..It is that there are associated between Business Entity.
After obtaining each Business Entity, the entity attribute of each Business Entity, such as the related letter of student itself can get In the Business Entity of breath, entity attribute may include student name, Sex, Age etc..It attends class the business of classroom information in student In entity, entity attribute may include classroom type (general classroom or lecture theater), teaching building generic term for a building, e. g. Apartment, store, a movie theater, etc., floor number etc..
Step S120 carries out standard setting according to entity attribute of the preset standard to each Business Entity and obtains standard word Section, to generate the traffic criteria for being directed to the theme business yet to be built.
The present embodiment can carry out standard setting according to entity attribute of the preset standard to each Business Entity to obtain standard word Section, such as in Business Entity relevant for student information, when entity attribute is students' genders, then can set unified standard rule It is qualitative not to be labeled respectively with text " male " and " female ".For another example, in Business Entity relevant for classroom information, entity attribute When for classroom type, unified standard can be set and mark at lecture theater with " level-one classroom ", by classroom with " second level is taught Room " mark.It should be appreciated that above-mentioned specific standards are intended merely to enumerate explanation, can be carried out according to the actual situation when implementing corresponding Setting.
After through the above arrangement, then unified, specification the business mark for the theme business yet to be built can be formed It is quasi-.
Step S130 establishes the incidence relation between different business entity according to the traffic criteria, and is each industry Entity plans the entity table for storing the criteria field of each Business Entity.
Step S140 obtains the logic mould of the theme business yet to be built according to each entity table and the incidence relation Type.
In the present embodiment, the incidence relation between different business entity can be established according to the traffic criteria of above-mentioned foundation, Such as being associated between student information and classroom information, being associated between student information and subject information or classroom information Being associated with etc. between subject information.Also, the criteria field for the planning of each Business Entity for storing each Business Entity Entity table.Wherein, which is not the true list item established, but the relevant table information planned.
Master yet to be built can be obtained according to the incidence relation between the corresponding each entity table of theme business yet to be built and each entity table The logical model of topic business.
By above procedure, is driven with business and carry out logical model foundation, assurance model can covered as much as possible Each node in each key business type and business.Model foundation is carried out based on traffic criteria, is further ensured that model It is normative.
Step S150 is established and the entity table phase each in the logical model in the database according to the logical model Corresponding database table entry is associated by corresponding database table entry according to the incidence relation, and is each database Criteria field in list item establishes index entry, to obtain the physical model of the theme business yet to be built.
On the basis of establishing logical model, true list item can be carried out in the database according to the logical model established It establishes, to store relevant business information.It is subsequent to call directly when needing to use relevant information, specification and convenient.
Optionally, it in the present embodiment, is established in the database and logic mould according to theme business counterlogic model yet to be built The corresponding database table entry of each entity table in type.Also, it can be incited somebody to action according to the incidence relation between entity table each in logical model Corresponding database table entry is associated.
For the convenience inquired and called, index entry can be established for the criteria field in each database table.Pass through Above procedure obtains the physical model of theme business yet to be built.
Referring to Fig. 3, in the present embodiment, the process for establishing database table in the database can be by following steps reality It is existing:
Step S151 establishes corresponding database table according to the criteria field in the entity table each in the logical model And it stores in the database.
Step S152, for any database table in the database, if in the database table including specific criteria The specific criteria field is then added in other database tables in the database, wherein the specific criteria by field Field is the specific criteria field being configured previously according to usage amount height.
In the present embodiment, it is contemplated that some fields often use, these fields and other traffic items it Between the degree of correlation it is higher.For example, storage has student name, gender, age etc. in the database table of storage student's relevant information. Classroom development time, classroom type etc. are stored in the database table of storage classroom relevant information.And store subject correlation letter Storage has the information such as subject type, subject class period in the database table of breath.If desired the relevant information of attending class of student is established Business when, then when calling to classroom relevant information, need to involve record student name, calling subject relevant information When, it is also desirable to involve student name.I.e. this criteria field of student name is required to call in many cases and arrive.Cause This, this can be set as specific criteria field for student name.
If including the specific criteria field in some database table entry, which is added in database Other database table entries in.In this way, do not need then every time in the classroom relevant information for establishing student, require student from Student name item is called in the database table of body relevant information.Reduce the call relation between disparate databases table.
Include relevant monitoring module in server 100 in the present embodiment, can logical model to theme business yet to be built and The establishment process of physical model is monitored, and can generate warning information when monitoring establishment process appearance exception to prompt Developer.
In the present embodiment, the above-mentioned establishment process to logical model and physical model be monitored can include at least with It is one of lower:
Monitor whether the logical model is consistent with the traffic criteria, if not being consistent, it is determined that establishment process occurs different Often.
Monitor whether the physical model is consistent with the traffic criteria, if not being consistent, it is determined that establishment process occurs different Often.
Monitor whether the logical model is consistent with the physical model, if not being consistent, it is determined that establishment process occurs different Often.
By above procedure, when can occur the design for not meeting specification during modelling, early warning letter is quickly generated Breath, ensures the quality of data model.
In the present embodiment, the server 100 can basis for the ease of the calling to data including multiple databases The database table entry of foundation is placed in different database tables by demand.But there may be manual operation under this mode Interference change the version information of some physical model in some database.In order to avoid the physics in disparate databases table The version of model is inconsistent, cause it is subsequent from disparate databases call data when caused by data difference the problem of.Therefore, In the present embodiment, when there is the physical model corresponding to identical theme business yet to be built in different databases, difference can detect Whether the version information of the physical model corresponding to identical theme business yet to be built in database is consistent.
If version information is inconsistent, show to may be that manual operation causes version information to change, produces prompt information To prompt developer.
It in the present embodiment, can also be when the traffic criteria of generation changes, according to the traffic criteria after variation to root The logical model and physical model generated according to the traffic criteria before variation is modified.Ensure logical model and physical model and industry The consistency of business standard.
In addition, in the present embodiment, also corresponding change can be obtained when monitoring that the logical model established changes ?.Change item can be assessed to influence value caused by physical model corresponding with the logical model, wherein the influence value is one Relative scores.For example, can detect the quantity that the change item will cause the data for needing to change therewith in physical model, or inspection The change item is surveyed by processing time for causing physical model to need to change therewith etc..It will need data to be changed and preset maximum Quantitative value is compared to obtain opposite influence value, or the processing time of needs is compared with preset maximum time value Obtain opposite influence value.
And detect whether obtained influence value is more than preset allowed band.If being less than preset allowed band, show It can be modified according to the change item in logical model to corresponding physical model.And if be more than preset allowed band, It needs that developer is submitted to assess, to determine modification.
In addition, in the present embodiment, the processes such as the creation, modification, change of logical model and physical model be required to through Auditing flow is crossed, only auditing the model passed through could be used by follow-up business.
Also, when logical model and physical model carry out edition upgrading change, server 100 can be in its upgrading change Meanwhile original legacy version being retained.If in this way, there is exception in the logical model or physical model of subsequent new version When, it can restore to legacy version to use.Either when needing to refer to legacy version, old version can be quickly traced back to.
Referring to Fig. 4, the embodiment of the present application also provides a kind of data model control device 110 applied to server 100, Described device includes obtaining module 111, generation module 112, establishing module 113, logical model acquisition module 114 and physical model Obtain module 115.
The acquisition module 111 for obtaining multiple and different Business Entities in theme business yet to be built, and obtains each described The entity attribute of Business Entity.It is appreciated that the acquisition module 111 can be used for executing above-mentioned steps S110, about the acquisition The detailed implementation of module 111 is referred to above-mentioned to the related content of step S110.
The generation module 112 is set for carrying out standard according to entity attribute of the preset standard to each Business Entity It sets to obtain criteria field, to generate the traffic criteria for being directed to the theme business yet to be built.It is appreciated that the generation module 112 can With for executing above-mentioned steps S120, the detailed implementation about the generation module 112 is referred to above-mentioned to step S120 Related content.
It is described to establish module 113, for establishing the incidence relation between different business entity according to the traffic criteria, and The entity table for storing the criteria field of each Business Entity is planned for each Business Entity.It is appreciated that the foundation Module 113 can be used for executing above-mentioned steps S130, and it is above-mentioned right to be referred to about the detailed implementation for establishing module 113 The related content of step S130.
The logical model obtains module 114, described for being obtained according to each entity table and the incidence relation The logical model of theme business yet to be built.It can be used for executing above-mentioned steps it is appreciated that the logical model obtains module 114 S140, the detailed implementation about logical model acquisition module 114 are referred to above-mentioned to the related content of step S140.
The physical model obtains module 115, for being established in the database according to the logical model and the logic The corresponding database table entry of each entity table, closes corresponding database table entry according to the incidence relation in model Connection, and index entry is established for the criteria field in each database table entry, to obtain the physics mould of the theme business yet to be built Type.It is appreciated that the physical model, which obtains module 115, can be used for executing above-mentioned steps S150, obtained about the physical model The detailed implementation of module 115 is referred to above-mentioned to the related content of step S150.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description Specific work process, no longer can excessively be repeated herein with reference to the corresponding process in preceding method.
The embodiment of the present application also provides a kind of readable storage medium storing program for executing, the readable storage medium storing program for executing is stored with computer and can hold The data model management-control method in above-mentioned any means embodiment can be performed in row instruction, the computer executable instructions.
In conclusion data model management-control method provided by the embodiments of the present application, device and server 100, obtain to When building theme business, the entity attribute for the Business Entity for including in the theme business yet to be built is obtained.According to preset standard to each industry The entity attribute of entity carries out standard setting and obtains criteria field to generate the traffic criteria of theme business yet to be built.According to institute The incidence relation that traffic criteria is established between different business entity is stated, and is planned for each Business Entity for storing each Business Entity Criteria field entity table.The logical model of theme business yet to be built is obtained according to each entity table and the incidence relation.Further according to Logical model establishes database table entry corresponding with entity table each in logical model in the database, according to incidence relation by data Library list item is associated, to obtain physical model corresponding with theme business yet to be built.The application is by traffic criteria and logical model It is combined with physical model, improves the integrality, normalization and accuracy of model, ensure the data standard between subsequent each system Unanimously, different data among systems differences are avoided the problem that a certain extent.
In embodiment provided herein, it should be understood that disclosed device and method, it can also be by other Mode realize.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are shown Architectural framework in the cards, function and the behaviour of devices in accordance with embodiments of the present invention, method and computer program product Make.In this regard, each box in flowchart or block diagram can represent a part of a module, section or code, institute The a part for stating module, section or code includes one or more executable instructions for implementing the specified logical function. It should also be noted that function marked in the box can also be to be different from attached drawing in some implementations as replacement The sequence marked occurs.For example, two continuous boxes can actually be basically executed in parallel, they sometimes can also be by Opposite sequence executes, and this depends on the function involved.It is also noted that each box in block diagram and or flow chart, And the combination of the box in block diagram and or flow chart, hardware can be based on the defined function of execution or the dedicated of movement System realize, or can realize using a combination of dedicated hardware and computer instructions.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or equipment for including a series of elements not only includes those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including institute State in the process, method, article or equipment of element that there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of data model management-control method, which is characterized in that be applied to server, which comprises
Multiple and different Business Entities in theme business yet to be built are obtained, and obtain the entity attribute of each Business Entity;
Standard setting is carried out according to entity attribute of the preset standard to each Business Entity and obtains criteria field, is directed to generating The traffic criteria of the theme business yet to be built;
The incidence relation between different business entity is established according to the traffic criteria, and is used for for each Business Entity planning Store the entity table of the criteria field of each Business Entity;
The logical model of the theme business yet to be built is obtained according to each entity table and the incidence relation;
Establish database corresponding with the entity table each in the logical model in the database according to the logical model Corresponding database table entry is associated by list item according to the incidence relation, and is the standard in each database table entry Field establishes index entry, to obtain the physical model of the theme business yet to be built.
2. data model management-control method according to claim 1, which is characterized in that the method also includes:
The establishment process of the logical model and the physical model is monitored, exception occurs monitoring establishment process When, warning information is generated to prompt developer.
3. data model management-control method according to claim 2, which is characterized in that described to the logical model and described The step of establishment process of physical model is monitored includes at least following one:
Monitor whether the logical model is consistent with the traffic criteria, if not being consistent, it is determined that establishment process occurs abnormal;
Monitor whether the physical model is consistent with the traffic criteria, if not being consistent, it is determined that establishment process occurs abnormal;
Monitor whether the logical model is consistent with the physical model, if not being consistent, it is determined that establishment process occurs abnormal.
4. data model management-control method according to claim 1, which is characterized in that the server includes multiple data Library, the method also includes:
When there is the physical model corresponding to identical theme business yet to be built in different databases, detect in disparate databases Whether the version information of the physical model corresponding to identical theme business yet to be built is consistent;
If inconsistent, prompt information is generated to prompt developer.
5. data model management-control method according to claim 1, which is characterized in that the method also includes:
When the traffic criteria of generation changes, generated according to the traffic criteria after variation to according to the traffic criteria before variation Logical model and physical model modify.
6. data model management-control method according to claim 1, which is characterized in that it is described according to the logical model in number According to the step of establishing database table entry corresponding with the entity table each in the logical model in library, comprising:
Corresponding database table is established according to the criteria field in the entity table each in the logical model and is stored in data In library;
It, will be described if in the database table including specific criteria field for any database table in the database Specific criteria field is added in other database tables in the database, wherein the specific criteria field is preparatory root The specific criteria field being configured according to usage amount height.
7. data model management-control method according to claim 1, which is characterized in that the method also includes:
When the logical model changes, corresponding change item is obtained;
The influence value that the change item generates physical model corresponding with the logical model is assessed, and detects the influence Whether value is more than preset allowed band;
If being less than the preset allowed band, modified according to the change item to the physical model.
8. a kind of data model control device, which is characterized in that be applied to server, described device includes:
Module is obtained, for obtaining multiple and different Business Entities in theme business yet to be built, and obtains each Business Entity Entity attribute;
Generation module obtains standard word for carrying out standard setting according to entity attribute of the preset standard to each Business Entity Section, to generate the traffic criteria for being directed to the theme business yet to be built;
Module is established, for establishing the incidence relation between different business entity according to the traffic criteria, and is each industry Entity plans the entity table for storing the criteria field of each Business Entity;
Logical model obtains module, for obtaining the theme business yet to be built according to each entity table and the incidence relation Logical model;
Physical model obtain module, for is established in the database according to the logical model with the logical model in it is each described in Corresponding database table entry is associated by the corresponding database table entry of entity table according to the incidence relation, and is each institute The criteria field stated in database table entry establishes index entry, to obtain the physical model of the theme business yet to be built.
9. a kind of server, including memory, processor and it is stored on the memory and can runs on the processor Computer program, which is characterized in that the processor is realized described in claim 1-7 any one when executing described program Method and step.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program on the readable storage medium storing program for executing, the computer The method and step as described in claim 1-7 any one is executed when program is run by processor.
CN201811526209.6A 2018-12-13 2018-12-13 Data model control method and device and server Active CN109656912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811526209.6A CN109656912B (en) 2018-12-13 2018-12-13 Data model control method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811526209.6A CN109656912B (en) 2018-12-13 2018-12-13 Data model control method and device and server

Publications (2)

Publication Number Publication Date
CN109656912A true CN109656912A (en) 2019-04-19
CN109656912B CN109656912B (en) 2020-08-07

Family

ID=66114275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811526209.6A Active CN109656912B (en) 2018-12-13 2018-12-13 Data model control method and device and server

Country Status (1)

Country Link
CN (1) CN109656912B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110490761A (en) * 2019-07-26 2019-11-22 广西电网有限责任公司 A kind of power grid distribution net equipment account data model modelling approach
CN110765101A (en) * 2019-09-09 2020-02-07 湖南天云软件技术有限公司 Label generation method and device, computer readable storage medium and server
CN111080479A (en) * 2019-12-12 2020-04-28 北京中电普华信息技术有限公司 Method and device for establishing unified data model of power grid
CN111145011A (en) * 2019-12-27 2020-05-12 中国银行股份有限公司 Banking business system building method and device
CN111915137A (en) * 2020-07-01 2020-11-10 物耀安全科技(杭州)有限公司 Construction method of manufacturing industry data model
CN112000643A (en) * 2020-08-07 2020-11-27 杭州数梦工场科技有限公司 Method and device for processing data model
CN113393117A (en) * 2021-06-11 2021-09-14 天闻数媒科技(湖南)有限公司 Method, device and equipment for constructing business evaluation model and storage medium
CN114625769A (en) * 2022-05-13 2022-06-14 工保科技(浙江)有限公司 Method, system, device and medium for managing main data in multi-data-source scene
CN114741725A (en) * 2022-04-07 2022-07-12 深圳市玄羽科技有限公司 Industrial Internet data authority management system and method
CN111145011B (en) * 2019-12-27 2024-04-23 中国银行股份有限公司 Banking system building method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080082573A1 (en) * 2002-02-14 2008-04-03 Fish John D Content management framework for use with a system for application development
CN103729460A (en) * 2014-01-10 2014-04-16 中国南方电网有限责任公司 Graphical data model managing method and system based on metadata
CN107506462A (en) * 2017-08-30 2017-12-22 中国建设银行股份有限公司 Data processing method, system, electronic equipment, the storage medium of Enterprise Data
CN108256074A (en) * 2018-01-17 2018-07-06 链家网(北京)科技有限公司 Method, apparatus, electronic equipment and the storage medium of checking treatment
CN108334534A (en) * 2017-10-27 2018-07-27 平安普惠企业管理有限公司 Operation system field configuration method, apparatus, server and readable storage medium storing program for executing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080082573A1 (en) * 2002-02-14 2008-04-03 Fish John D Content management framework for use with a system for application development
CN103729460A (en) * 2014-01-10 2014-04-16 中国南方电网有限责任公司 Graphical data model managing method and system based on metadata
CN107506462A (en) * 2017-08-30 2017-12-22 中国建设银行股份有限公司 Data processing method, system, electronic equipment, the storage medium of Enterprise Data
CN108334534A (en) * 2017-10-27 2018-07-27 平安普惠企业管理有限公司 Operation system field configuration method, apparatus, server and readable storage medium storing program for executing
CN108256074A (en) * 2018-01-17 2018-07-06 链家网(北京)科技有限公司 Method, apparatus, electronic equipment and the storage medium of checking treatment

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110490761A (en) * 2019-07-26 2019-11-22 广西电网有限责任公司 A kind of power grid distribution net equipment account data model modelling approach
CN110490761B (en) * 2019-07-26 2022-06-28 广西电网有限责任公司 Power grid distribution network equipment ledger data model modeling method
CN110765101B (en) * 2019-09-09 2022-08-02 天云软件技术有限公司 Label generation method and device, computer readable storage medium and server
CN110765101A (en) * 2019-09-09 2020-02-07 湖南天云软件技术有限公司 Label generation method and device, computer readable storage medium and server
CN111080479A (en) * 2019-12-12 2020-04-28 北京中电普华信息技术有限公司 Method and device for establishing unified data model of power grid
CN111145011A (en) * 2019-12-27 2020-05-12 中国银行股份有限公司 Banking business system building method and device
CN111145011B (en) * 2019-12-27 2024-04-23 中国银行股份有限公司 Banking system building method and device
CN111915137A (en) * 2020-07-01 2020-11-10 物耀安全科技(杭州)有限公司 Construction method of manufacturing industry data model
CN112000643A (en) * 2020-08-07 2020-11-27 杭州数梦工场科技有限公司 Method and device for processing data model
CN113393117A (en) * 2021-06-11 2021-09-14 天闻数媒科技(湖南)有限公司 Method, device and equipment for constructing business evaluation model and storage medium
CN113393117B (en) * 2021-06-11 2023-04-07 天闻数媒科技(湖南)有限公司 Method, device and equipment for constructing business evaluation model and storage medium
CN114741725A (en) * 2022-04-07 2022-07-12 深圳市玄羽科技有限公司 Industrial Internet data authority management system and method
CN114741725B (en) * 2022-04-07 2022-11-08 深圳市玄羽科技有限公司 Industrial Internet data authority management system and method
CN114625769A (en) * 2022-05-13 2022-06-14 工保科技(浙江)有限公司 Method, system, device and medium for managing main data in multi-data-source scene

Also Published As

Publication number Publication date
CN109656912B (en) 2020-08-07

Similar Documents

Publication Publication Date Title
CN109656912A (en) Data model management-control method, device and server
Valinejadshoubi et al. Integrating BIM into sensor-based facilities management operations
Staron et al. A framework for developing measurement systems and its industrial evaluation
AU2016206215A1 (en) Method and system for intelligent cloud planning and decommissioning
US20190147074A1 (en) Implementing a continuity plan generated using solution data modeling based on predicted future event simulation testing
EP3259679A1 (en) An automatically invoked unified visualization interface
CN113742338A (en) Structured storage system for project acceptance forms
CN111177398A (en) Method and device for updating tissue architecture
US11226598B2 (en) Building system with user presentation composition based on building context
AU2018260885A1 (en) Liquid workforce platform
US20200387802A1 (en) Dynamically adaptable rules and communication system for managing process controls
Conrow Risk management for systems of systems
Ma et al. Agent-based simulation of construction workflows using a relational data model
Nakatani et al. Requirements maturation analysis by accessibility and stability
CN115543428A (en) Simulated data generation method and device based on strategy template
Hankin et al. An ISM analysis of the critical success factors in ERP implementation
CN111884336B (en) Real-time monitoring system based on big data
CN114281586A (en) Fault determination method and device, electronic equipment and computer readable storage medium
KR102217092B1 (en) Method and apparatus for providing quality information of application
EP4052139A1 (en) Building system with user presentation composition based on building context
Ledlow et al. Animated simulation: a valuable decision support tool for practice improvement
US20200134540A1 (en) Organizational Network Analysis System For Mergers, Acquisitions and Reorganizations
Kim et al. Management of software test using case tool
Kukharenko et al. Digitalization of the Company's Business Processes Based on Technological Innovations
US11927924B2 (en) Building system with user presentation composition based on building context

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