CN103985030A - Method for implementing multilevel dictionary technique capable of defining data levels and lengths at will - Google Patents

Method for implementing multilevel dictionary technique capable of defining data levels and lengths at will Download PDF

Info

Publication number
CN103985030A
CN103985030A CN201410159821.XA CN201410159821A CN103985030A CN 103985030 A CN103985030 A CN 103985030A CN 201410159821 A CN201410159821 A CN 201410159821A CN 103985030 A CN103985030 A CN 103985030A
Authority
CN
China
Prior art keywords
dictionary
classification
method
length
field
Prior art date
Application number
CN201410159821.XA
Other languages
Chinese (zh)
Inventor
郑玉梅
赵旭东
任艳青
Original Assignee
浪潮通用软件有限公司
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 浪潮通用软件有限公司 filed Critical 浪潮通用软件有限公司
Priority to CN201410159821.XA priority Critical patent/CN103985030A/en
Publication of CN103985030A publication Critical patent/CN103985030A/en

Links

Abstract

The invention relates to a method for implementing the multilevel dictionary technique, in particular to method for implementing the multilevel dictionary technique capable of defining data levels and lengths at will. The method particularly includes the step that data levels and lengths of the dictionary of service according to different service needs of customers can be customized by taking interface definition of users as reference. Compared with the prior art, each level and the length of each level of the dictionary is recorded by a field, the method is not limited by the structure and levels of the system dictionary, has the advantages of being flexible, simple and universal, can be widely applied to definition and implementation of the data dictionary of an enterprise information system, and has good popularization and application value.

Description

A kind of multistage dictionary technique implementation method that freely defines data level time and length

Technical field

The present invention relates to a kind of multistage dictionary technique implementation method, particularly a kind of multistage dictionary technique implementation method that freely defines data level time and length.

Background technology

Inferior and the structure according to the level of the business demand definition classification dictionary of oneself and classification dictionary, it is one of the most basic application that will face of business management software user, for most classification dictionaries, grade inferior and structure of dictionary, when applying at the beginning, system just as a kind of standard, has been customized, once in follow-up application process, find that design leak or different design share family actual conditions, this standard is when modifying, from basic data to business paper, all need very significantly change and revise, as a rule, this modification or even infeasible.This just needs a kind of implementation that can define flexibly classification and the concrete length of each classification, defines classification dictionary, evades the change of late time data structure and enforcement risk and the application risk brought.

Summary of the invention

In order to solve the problem of prior art, the invention provides a kind of multistage dictionary technique implementation method that freely defines data level time and length, utilize the method to be free to, not to be subject to the definition basis dictionary of time and project cycle restriction, can be according to the real needs of user's current time, length and structure variable, that define freely the every one-level of classification dictionary at any time, after the project of efficiently solving completes initially, the problem that the change of data dictionary classification or level time change cannot be carried out.

The technical solution adopted in the present invention is as follows:

A multistage dictionary technique implementation method that freely defines data level time and length, its method is implemented as follows:

A field of A, data dictionary, the classification and each level length of recording dictionary;

The length of B, field represent dictionary one total what, each value of field, represents the figure place of this grade of dictionary;

C, according to the dictionary hierarchy of field record, form dictionary or dictionary classification, and when dictionary is preserved, the legitimacy of verification numbering, according to classification code determine current defined be detailed dictionary or dictionary classification, final classification and the classification dictionary that forms the dictionary freely defining.

Such as a first order classification of definition is 2, second level classification is 4, and the third level is the dictionary numbering that detailed dictionary length is 2, is achieved as follows:

A, utilize a fixing field, record dictionary sum of series structure, according to example above, be worth for 2-4-2;

B, according to above-mentioned field value, judge that current rank is that classification or dictionary are detailed, and each function menu limited, dictionary is detailed if, does not allow to increase subordinate's classification again:

1, fixed field: be used for recording dictionary one what has, every one-level is comprised of several bit lengths.As above example: record be 2-4-2, field length is 3, illustrates that one has three grades of classifications, the third level is detailed dictionary.The first bit value is 2, illustrates that first order dictionary classification length is 2; Second numerical value is 4, illustrates that second level dictionary classification length is 4; The 3rd is last position, illustrates and only has three grades, and afterbody is concrete detailed dictionary, is numbered 2;

2, according to the value of fixed field, resolve, first take out the length of the section of altering, judge what dictionary one has, and the field value of upper example is 242, and length is 3, illustrate that dictionary one has three grades, the first order and the second level are dictionary classification, and the third level is detailed dictionary.When dictionary is preserved, according to this principle, relevant function menu is controlled, detailed dictionary does not allow to increase subordinate's dictionary again, and dictionary guarantor cun is, provides sign, and identifying current numbering is dictionary classification or detailed dictionary.

3, in short, this method is utilized a field record structure, realizes dynamic dictionary classification and dynamic dictionary.

The beneficial effect that technical scheme provided by the invention is brought is:

By the method, be free to, be not subject to the definition basis dictionary of time and project cycle restriction, can be according to the real needs of user's current time, length and structure variable, that define freely the every one-level of classification dictionary at any time, after the project of efficiently solving completes initially, the problem that the change of data dictionary classification or level time change cannot be carried out.

Accompanying drawing explanation

Fig. 1 is a kind of concrete application structure figure of multistage dictionary technique implementation method that freely defines data level time and length of the present invention.

Embodiment

For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.

Embodiment mono-

Below in conjunction with accompanying drawing, take the specific implementation of unit project dictionary is example, to technical scheme of the present invention detailed description in addition.

Unit project dictionary is the basic dictionary in project management, and project management module is launched around unit project, carries out the planning management of material, resource; Project is sent work, the project acceptance inspection etc.; Also be widely used in the unit project management of the modules such as buying, stock simultaneously.For example build Yi Dong building, ground, pipeline laying, main body are built and can be managed as a concrete unit project.

Multistage unit project dictionary numbering of definition, is achieved as follows:

1, utilize LSWBS_JG field, be used for recording dictionary sum of series structure, according to example above, be worth for 2-4-2;

According to LSWBS_JG field value, judge that current rank is that unit project dictionary classification or unit project dictionary are detailed, and each function menu is limited, unit project dictionary is detailed if, does not allow to increase subordinate's classification again, when numbering is preserved, in database, setting unit engineering dictionary is numbered detail, be indicated as concrete unit project dictionary, but not unit project dictionary classification, specifically as shown in Figure 1;

2, LSWBS_JS is used for recording current dictionary in that one-level, and the structure of above figure is example: if certain unit project be numbered 01, so, illustrate in the first order, be unit project classification dictionary.If certain unit project be numbered 02000101, illustrate in the third level;

3, whether be detailed dictionary to LSWBS_MX if being used for recording current dictionary, if this value is 1, is indicated as detailed dictionary, if 0, be indicated as dictionary classification.Concrete business paper, when application, is all for concrete detailed dictionary, and non-detailed exists as a kind of dictionary classification.

The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (1)

1. a multistage dictionary technique implementation method that freely defines data level time and length, its method is implemented as follows:
A field of A, data dictionary, the classification and each level length of recording dictionary;
The length of B, field represent dictionary one total what, each value of field, represents the figure place of this grade of dictionary;
C, according to the dictionary hierarchy of field record, form dictionary or dictionary classification, and when dictionary is preserved, the legitimacy of verification numbering, according to classification code determine current defined be detailed dictionary or dictionary classification, final classification and the classification dictionary that forms the dictionary freely defining.
CN201410159821.XA 2014-04-21 2014-04-21 Method for implementing multilevel dictionary technique capable of defining data levels and lengths at will CN103985030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410159821.XA CN103985030A (en) 2014-04-21 2014-04-21 Method for implementing multilevel dictionary technique capable of defining data levels and lengths at will

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410159821.XA CN103985030A (en) 2014-04-21 2014-04-21 Method for implementing multilevel dictionary technique capable of defining data levels and lengths at will

Publications (1)

Publication Number Publication Date
CN103985030A true CN103985030A (en) 2014-08-13

Family

ID=51276990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410159821.XA CN103985030A (en) 2014-04-21 2014-04-21 Method for implementing multilevel dictionary technique capable of defining data levels and lengths at will

Country Status (1)

Country Link
CN (1) CN103985030A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815346A (en) * 2017-01-18 2017-06-09 济南浪潮高新科技投资发展有限公司 A kind of synchronous migration method for being classified code multi-stage data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030233249A1 (en) * 2002-03-25 2003-12-18 Walsh John G. Method and system for enterprise business process management
CN102622438A (en) * 2012-03-02 2012-08-01 浪潮集团山东通用软件有限公司 Data structure capable of freely designing dictionary grade and length and achieving method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030233249A1 (en) * 2002-03-25 2003-12-18 Walsh John G. Method and system for enterprise business process management
CN101110021A (en) * 2002-03-25 2008-01-23 数据质量解决公司 Method for visually programming instruction set for process
CN102622438A (en) * 2012-03-02 2012-08-01 浪潮集团山东通用软件有限公司 Data structure capable of freely designing dictionary grade and length and achieving method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815346A (en) * 2017-01-18 2017-06-09 济南浪潮高新科技投资发展有限公司 A kind of synchronous migration method for being classified code multi-stage data

Similar Documents

Publication Publication Date Title
US20120122476A1 (en) Method and system for providing spatial-based context-aware service
CN103649941A (en) Application resource manager over a cloud
Perler Repräsentation bei Descartes
BR112012033016A2 (en) computer storage method, system and medium including coded instructions used in part to provide online services
CN105339924A (en) Efficient data compression and analysis as a service
GB201113886D0 (en) Network capacity management system and method
Pereira et al. Urban centrality: a simple index
CN103810275A (en) Method and device for data interaction between non-relation type database and relation type database
US20070162976A1 (en) Method of managing and mitigating security risks through planning
US9544726B2 (en) Adding location names using private frequent location data
Singh et al. Cloud based development issues: a methodical analysis
CN105528384A (en) An information push method and device
CN104391749A (en) Resource allocation method and device
CN103810212A (en) Automated database index creation method and system
Liu et al. Finding multiple optimal solutions to optimal load distribution problem in hydropower plant
CN103677998A (en) Method and system for resource allocation in a virtualized computing environment
CN102129425B (en) The access method of big object set table and device in data warehouse
US20140025373A1 (en) Fixing Broken Tagged Words
CN103425572B (en) Code analysis methods and code analysis system
Hoque et al. Adoption of information and communication technology for development: A case study of small and medium enterprises in Bangladesh
CN102567825B (en) A kind of method and apparatus of work process flow configuration
US10032124B1 (en) Hierarchical permissions model for case management
US20130046866A1 (en) Meter access management system
WO2015116998A3 (en) Electronic transfer and obligation enforcement system
Hasic et al. Towards Assessing the Theoretical Complexity of the Decision Model and Notation (DMN).

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140813