CN103870939B - A kind of object oriented generation method and system - Google Patents
A kind of object oriented generation method and system Download PDFInfo
- Publication number
- CN103870939B CN103870939B CN201410128491.8A CN201410128491A CN103870939B CN 103870939 B CN103870939 B CN 103870939B CN 201410128491 A CN201410128491 A CN 201410128491A CN 103870939 B CN103870939 B CN 103870939B
- Authority
- CN
- China
- Prior art keywords
- title
- naming
- element group
- personnel
- object oriented
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000010276 construction Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000011161 development Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002708 enhancing effect Effects 0.000 description 2
- 229920003224 poly(trimethylene oxide) Polymers 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 241000406668 Loxodonta cyclotis Species 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This application discloses a kind of object oriented generation method, including:The corresponding Naming conventions version number of the corresponding project label of title and current date for inquiring about reference information to determine current login personnel;Inquire about preset reference information, selection and the project label and the NameSpace of the Naming conventions version numbers match, NameSpace includes multiple naming rules respectively with various types of match objects, and each naming rule includes element group and the combination to each element;The selected element group of the login personnel is determined, each element in the element group is combined according to the element group corresponding combination, to generate object oriented.In whole object oriented generating process, the name without manually carrying out title to object one by one, accuracy rate is higher during the method generation object oriented that the application is provided, and operating efficiency is also faster.
Description
Technical field
The application is related to technical field of data processing, more specifically to a kind of object oriented generation method and system.
Background technology
In large enterprise's management software SAP implementation projects, by the way that ABAP language can be used to study secondary development.Portion big absolutely
Sub-item can all provide ABAP development specifications, and including Naming conventions, the naming rule to object enters row constraint.But,
ABAP developer is needed in actual development, according to Naming conventions hand filling object oriented and creates object.
But the method for this generation object oriented has two, the error rate of the first object oriented name is high, nothing
Method ensures the accuracy rate of the title of the object of generation;Second, for a tissue(Enterprise)Internal a large amount of objects are carried out by hand
Gradually fill in, will undoubtedly expend the longer working time, the inefficiency for causing object naming to work.
The content of the invention
In view of this, this application provides a kind of object oriented generation method and system, pass through for solving existing scheme
Fill in the process of object oriented one by one by hand, not only accuracy rate is not high and the problem of low efficiency.
To achieve these goals, it is proposed that scheme it is as follows:
A kind of object oriented generation method, including:
The corresponding relation of preset term mark and personnel's title is inquired about, it is determined that the corresponding item of the title of current login personnel
Target is known;
The default Naming conventions version number of the inquiry corresponding relation interval with the effective date, determines the corresponding name of current date
Specification version number;
Preset reference information is inquired about, selection and the name of the project label and the Naming conventions version numbers match are empty
Between, the NameSpace includes multiple naming rules respectively with various types of match objects, each naming rule
Including element group and the combination to each element, the element group at least includes the input information of login personnel, and prefix, group
Knit, it is any one or more in module, object type and intermediate character string, the reference information indicate the project label and
The Naming conventions version number and the corresponding relation of NameSpace;
The selected element group of the login personnel is determined, according to the corresponding combination of element group in the element group
Each element is combined, with the title for the object for generating the selected object type of the login personnel.
Preferably, the input information of the user is the sequence number automatically generated.
Preferably, the naming rule includes naming rule mask, and the naming rule mask denoted object title is wrapped
The element group and the combination of each element contained.
Preferably, it is described to determine the selected element group of login personnel, according to the corresponding combination of element group
Each element in the element group is combined, with the title for the object for generating the selected object type of the login personnel, tool
Body is:
According to the type of the selected object of the login personnel, the matching naming rule is determined;
Pair naming rule mask that is included of the naming rule determined is parsed, the acquisition element group and each member
The combination of element;
Each element to acquisition carries out fills, generates the name of the object of the selected object type of login personnel
Claim.
Preferably, in addition to:
Object oriented is received:According to the type of object to be created, in the name of the object of the type generated
Optional one in title, the title of the object to be created is used as.
Preferably, in addition to:The title of the object generated is classified, is divided into the object name for having generated but not received
The object oriented for claiming and having received.
A kind of object oriented generates system, including:
Project label determining unit, the corresponding relation for inquiring about preset term mark and personnel's title, it is determined that current
The corresponding project label of title of login personnel;
Version number's determining unit, the corresponding relation interval with the effective date for inquiring about default Naming conventions version number, really
Determine the corresponding Naming conventions version number of current date;
NameSpace determining unit, for inquiring about preset reference information, selection is advised with the project label and the name
The NameSpace of model version numbers match, multiple names that the NameSpace includes respectively with various types of match objects are advised
Then, each naming rule includes element group and the combination to each element, and the element group at least includes login personnel
Input information, it is and any one or more in prefix, tissue, module, object type and intermediate character string, it is described with reference to letter
Breath indicates the corresponding relation of the project label and the Naming conventions version number and NameSpace;
Object oriented generation unit, for determining the selected element group of the login personnel, according to element group correspondence
Combination each element in the element group is combined, to generate the object of the selected object type of the login personnel
Title.
Preferably, the object oriented generation unit includes:
Naming rule determining unit, for the type according to the selected object of the login personnel, is determined matching
The naming rule;
Resolution unit, the naming rule mask included for pair naming rule determined is parsed, and obtains institute
State the combination of element group and each element, element group and each element that the naming rule mask denoted object title is included
Combination;
Fills unit, carries out fills for each element to acquisition, generates the login personnel selected
The title of the object of object type.
Preferably, in addition to:
Object oriented receives unit, for the type of the object to be created according to, in the type generated
Optional one in the title of object, the title of the object to be created is used as.
Preferably, in addition to:
Object oriented taxon, for the title of the object generated to be classified, is divided into and has generated but do not received
Object and the object oriented received.
It can be seen from above-mentioned technical scheme that, object oriented generation method disclosed in the present application passes through the default letter of inquiry
Breath, it is determined that the corresponding project label of title and the corresponding Naming conventions version number of current date of current login personnel, then
Determine the relation of a NameSpace jointly according to a default project label and a Naming conventions version number, selection is with working as
The NameSpace of preceding project label and current Naming conventions version numbers match, because the title of same target in different projects is
Differ, and in same project title of the title in different Naming conventions versions of same target be also it is different, because
This needs exist for first determining a big NameSpace, in a NameSpace, the naming rule of different types of object
It is different, each naming rule includes the combination of element group and each element, the element group at least includes logging in personnel
Input information, it is and any one or more in prefix, tissue, module, object type and intermediate character string, finally determine to step on
The selected element group of Lu personnel, according to the corresponding combination of element group, is combined to each element in the element group, with
Generation logs in the title of the object of the selected object type of personnel.In whole object oriented generating process, without artificial hand
The dynamic name for carrying out title to object one by one, accuracy rate is higher during the method generation object oriented that the application is provided, operating efficiency
Also faster.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of application, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
A kind of object oriented generation method flow chart that Fig. 1 provides for the embodiment of the present application;
Fig. 2 is a kind of object oriented generation method partial process view disclosed in the embodiment of the present application;
Fig. 3 is another object oriented generation method flow chart disclosed in the embodiment of the present application;
Fig. 4 is a kind of object oriented generation system construction drawing disclosed in the embodiment of the present application;
Fig. 5 is object oriented generation unit structure chart disclosed in the embodiment of the present application;
Fig. 6 is another object oriented generation system construction drawing disclosed in the embodiment of the present application;
Fig. 7 is another object oriented generation system construction drawing disclosed in the embodiment of the present application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on
Embodiment in the application, it is all other that those of ordinary skill in the art are obtained under the premise of creative work is not paid
Embodiment, belongs to the scope of the application protection.
Embodiment one
Referring to Fig. 1, a kind of object oriented generation method flow chart that Fig. 1 provides for the embodiment of the present application.Wherein, the side
Method can apply in large enterprise's management software SAP ERP implementation projects, be generally required in these projects to high-volume object
It is named.In the embodiment of the present application, methods described may comprise steps of:
Step 101:The corresponding relation of preset term mark and personnel's title is inquired about, it is determined that the title pair of current login personnel
The project label answered;
Wherein, large enterprise's management software implementation project potentially includes multiple tissues(Unit), it is each to organize also
So that including multiple projects, we have pre-defined the personnel that each purpose mark and each project are included, have established item
Target knows the corresponding relation with personnel's title.Therefore, after the title of login personnel is determined, above-mentioned correspondence can be inquired about and closed
System, finds the corresponding project label of the personnel.
Step 102:The default Naming conventions version number of the inquiry corresponding relation interval with the effective date, determines current date pair
The Naming conventions version number answered;
Wherein, in whole implementation project, it should follow a unified regulatory documents, and different times, name rule
Model version is different, namely the Naming conventions of a version are only applicable to the regular hour, it would be desirable to pre-establish Naming conventions
Version number's corresponding relation interval with the effective date, for example:Naming conventions version 1.0 is in December 1 day to 2013 January in 2013
In sections during this on the 31st effectively, Naming conventions version 1.1 is in section during this on December 31,1 day to 2014 January in 2014
It is interior effective.We can find the Naming conventions version number come into force in current date according to current date, and then can find
The Naming conventions file of the version.
Step 103:Inquire about preset reference information, selection and the project label and the Naming conventions version numbers match
NameSpace, the NameSpace includes multiple naming rules respectively with various types of match objects, each life
Name rule includes element group and the combination to each element, and the element group at least includes the input information of login personnel, and
Any one or more in prefix, tissue, module, object type and intermediate character string, the reference information indicates the item
Target knowledge and the corresponding relation of the Naming conventions version number and NameSpace;
It is to be understood that a project label and a Naming conventions version number determine a NameSpace jointly.By
The title of same target is differed in different projects, and in same project same target title in different names
Title in specification version is also different, therefore needs exist for first determining a big NameSpace.In a NameSpace
Interior, the naming rule of different types of object is also different, and each naming rule includes the combination of element group and each element
Mode, the element group at least includes the input information for logging in personnel, and prefix, tissue, module, object type and intermediate character string
In it is any one or more.Here, the input for logging in personnel must be included for different types of object, in its naming rule
Information.Object type has many kinds, and citing is such as:Program, group of functions, function, class ... and prefix is a word set in advance
Symbol string, tissue in one tissue of administrative unit or enterprises and institutions it is also understood that for that can have many subordinate's tissues(Subgroup
Knit), but for ease of management, can typically formulate a set of unified coding is used to recognize interior tissue.Module is generally used for distinguishing not
With business scope, can remember such as financial cost, handling of goods and materials, equipment control, project management.Intermediate character string is then one section
Character string, can be pre-defined.
Step 104:The selected element group of the login personnel is determined, according to the corresponding combination of element group to this
Each element is combined in element group, with the title for the object for generating the selected object type of the login personnel.
Object oriented generation method disclosed in the embodiment of the present application, by inquiring about presupposed information, it is determined that current login personnel
The corresponding project label of title and the corresponding Naming conventions version number of current date, then according to a default item target
Know and the common relation for determining a NameSpace of a Naming conventions version number, selection and current project mark and currently name
The NameSpace of specification version number matching, because the title of same target in different projects is differed, and same project
Title of the title of middle same target in different Naming conventions versions is also different, therefore needs exist for first determining one
Big NameSpace, in a NameSpace, the naming rule of different types of object is also different, each naming rule
Combination including element group and each element, the element group at least includes the input information for logging in personnel, and prefix, group
Knit, it is any one or more in module, object type and intermediate character string, finally determine to log in the selected element of personnel
Group, according to the corresponding combination of element group, is combined to each element in the element group, is logged in generating selected by personnel
Object type object title.In whole object oriented generating process, without manually carrying out name to object one by one
The name of title, accuracy rate is higher during the method generation object oriented that the application is provided, and operating efficiency is also faster.
It should be noted that sequence number that the input information industry of user, which can be system, to be automatically generated is replaced.
Embodiment two
Step 104 in a upper embodiment will be explained in detail for the present embodiment.
It is to be understood that naming rule its can include naming rule mask, the naming rule mask be used to refer to show
Element group that object oriented is included and the combination of each element.
Referring to Fig. 2, Fig. 2 is the implementation process figure of step 104 in a upper embodiment disclosed in the embodiment of the present application.Wherein,
The step 104 may comprise steps of realization:
Step 201:The type of object according to selected by the login personnel, determines the matching naming rule;
Specifically, login personnel selects to be named which type of object first, and includes in NameSpace
Naming rule corresponding with multiple object types.
Step 202:Pair naming rule mask that is included of the naming rule determined is parsed, the acquisition element
The combination of group and each element;
Specifically, illustrate:One type is the object of " class ", in A projects, defined in Naming conventions version 1.0
The mask of naming rule is PTMO, and P represents prefix, and T represents object type, and M represents module, and O represents tissue.Can be with after then parsing
Learning the naming rule of the object is:Prefix+object type+module+tissue.
Step 203:Each element to acquisition carries out fills, generates the selected object type of login personnel
The title of object.
Specifically, still using the example of step 202, it is determined that after naming rule, each element parsed is entered
Row fills:Prefix P is configured to " Z ", and object type T is configured to " C ", and module M is configured to " FI ", and tissue O is configured to " 18 "
Along with the input information " abc " of user, the object oriented finally provided is " ZCFI18abc ".
Embodiment three
Referring to Fig. 3, Fig. 3 is another object oriented generation method flow chart disclosed in the embodiment of the present application.
On the basis of above-described embodiment one, the present embodiment further increases step 105:Object oriented is received:Root
According to the type of object to be created, optional one in the title of the object of the type generated, wanted as described
The title of the object of establishment.
Specifically, by step 101-104, the generating process of object oriented is completed.In the design phase, it is necessary to receive
Object oriented through generation, therefore according to the type of object to be created, in the title of the object of the type generated
In arbitrarily select one, be used as the title of the object to be created.
It should be noted that we further can also be classified the object oriented generated, be divided into generated but
The object oriented do not received and the object oriented received.So, more facilitate when subsequently being inquired about.
It should be noted that we can forbid logging in the object oriented of librarian use its its own input to create pair
As only allowing it to use the object oriented generated through above-mentioned steps 101-104.So, the name format of the object of establishment is unified,
And be not in obscure.
It is of course also possible to allow to log in the object oriented of librarian use its its own input to create object, at this moment due to
Object oriented has two kinds of sources, therefore the title also disunity of the object created, and we are sometimes for the name for judging some object
Whether title accords with and Naming conventions.
As such, it is desirable to by the object of establishment be divided into using the step 101-104 object orienteds generated and login personnel from
The major class of object oriented two of oneself input.
The object of title is inputted for login personnel oneself, we obtain Naming conventions version number according to day is created, according to
Login personnel obtains its affiliated item purpose mark, and NameSpace, Jin Er are determined according to Naming conventions version number and project label
The naming rule matched with the object type is inquired about in the NameSpace, judges whether the currently practical title of the object meets life
The requirement of name rule, and two classes are divided into according to judged result, a class is to meet naming rule, and another kind of is not meet title rule
Then.
Example IV
Referring to Fig. 4, Fig. 4 is a kind of object oriented generation system construction drawing disclosed in the embodiment of the present application.Wherein, the system
System can apply in large enterprise's management software SAP ERP implementation projects, be generally required in these projects to high-volume object
It is named.In the embodiment of the present application, the system can include with lower unit:
Project label determining unit 41, the corresponding relation for inquiring about preset term mark and personnel's title, it is determined that currently
Login personnel the corresponding project label of title;
Wherein, large enterprise's management software implementation project potentially includes multiple tissues(Unit), it is each to organize also
So that including multiple projects, we have pre-defined the personnel that each purpose mark and each project are included, have established item
Target knows the corresponding relation with personnel's title.Therefore, after the title of login personnel is determined, above-mentioned correspondence can be inquired about and closed
System, finds the corresponding project label of the personnel.
Version number's determining unit 42, the corresponding relation interval with the effective date for inquiring about default Naming conventions version number,
Determine the corresponding Naming conventions version number of current date;
Wherein, in whole implementation project, it should follow a unified regulatory documents, and different times, name rule
Model version is different, namely the Naming conventions of a version are only applicable to the regular hour, it would be desirable to pre-establish Naming conventions
Version number's corresponding relation interval with the effective date, for example:Naming conventions version 1.0 is in December 1 day to 2013 January in 2013
In sections during this on the 31st effectively, Naming conventions version 1.1 is in section during this on December 31,1 day to 2014 January in 2014
It is interior effective.We can find the Naming conventions version number come into force in current date according to current date, and then can find
The Naming conventions file of the version.
NameSpace determining unit 43, for inquiring about preset reference information, selection and the project label and the name
The NameSpace of specification version number matching, the NameSpace includes multiple names respectively with various types of match objects
Rule, each naming rule includes element group and the combination to each element, and the element group at least includes logging in people
The input information of member, and any one or more in prefix, tissue, module, object type and intermediate character string, the reference
Information indicates the corresponding relation of the project label and the Naming conventions version number and NameSpace;
According to elaboration above, a project label and a Naming conventions version number determine a NameSpace jointly.
Because the title of same target in different projects is differed, and in same project same target title in different lives
Title in name specification version is also different, therefore needs exist for first determining a big NameSpace.It is empty in a name
In, the naming rule of different types of object is also different, and each naming rule includes the group of element group and each element
Conjunction mode, the element group at least includes the input information for logging in personnel, and prefix, tissue, module, object type and intermediate character
It is any one or more in string.Here, it must include logging in the defeated of personnel for different types of object, in its naming rule
Enter the type of information and the object.Object type has many kinds, and citing is such as:Program, group of functions, function, class ... and prefix is
A character string set in advance, tissue are it is also understood that many for that can exist in one tissue of administrative unit or enterprises and institutions
Subordinate organizes(Subgroup is knitted), but for ease of management, can typically formulate a set of unified coding is used to recognize interior tissue.Module one
As be used to distinguish different business scopes, can remember such as financial cost, handling of goods and materials, equipment control, project management.Middle word
Symbol string is then one section of character string, can be pre-defined.
Object oriented generation unit 44, for determining the selected element group of the login personnel, according to the element group pair
The combination answered is combined to each element in the element group, to generate pair of the selected object type of the login personnel
The title of elephant.
Object oriented disclosed in the embodiment of the present application generates system, by inquiring about presupposed information, it is determined that current login personnel
The corresponding project label of title and the corresponding Naming conventions version number of current date, then according to a default item target
Know and the common relation for determining a NameSpace of a Naming conventions version number, selection and current project mark and currently name
The NameSpace of specification version number matching, because the title of same target in different projects is differed, and same project
Title of the title of middle same target in different Naming conventions versions is also different, therefore needs exist for first determining one
Big NameSpace, in a NameSpace, the naming rule of different types of object is also different, each naming rule
Combination including element group and each element, the element group at least includes the input information for logging in personnel, and prefix, group
Knit, it is any one or more in module, object type and intermediate character string, finally determine to log in the selected element of personnel
Group, according to the corresponding combination of element group, is combined to each element in the element group, is logged in generating selected by personnel
Object type object title.In whole object oriented generating process, without manually carrying out name to object one by one
The name of title, accuracy rate is higher during the method generation object oriented that the application is provided, and operating efficiency is also faster.
Embodiment five
Referring to Fig. 5, Fig. 5 is object oriented generation unit structure chart disclosed in the embodiment of the present application.
As shown in figure 5, the object oriented generation unit 44 includes:
Naming rule determining unit 441, for the type according to the selected object of the login personnel, it is determined that therewith
The naming rule matched somebody with somebody;
Specifically, login personnel will be named firstly the need of selection to which type of object, and in NameSpace
Including naming rule corresponding with multiple object types.
Resolution unit 442, the naming rule mask included for pair naming rule determined is parsed, and is obtained
The combination of the element group and each element, element group and each member that the naming rule mask denoted object title is included
The combination of element;
Specifically, illustrate:One type is the object of " class ", in A projects, defined in Naming conventions version 1.0
The mask of naming rule is PTMO, and P represents prefix, and T represents object type, and M represents module, and O represents tissue.Can be with after then parsing
Learning the naming rule of the object is:Prefix+object type+module+tissue.
Fills unit 443, carries out fills for each element to acquisition, generates selected by the login personnel
Object type object title.
Specifically, still using above-mentioned example, it is determined that after naming rule, content is carried out to each element parsed
Filling:Prefix P is configured to " Z ", and object type T is configured to " C ", and module M is configured to " FI ", and tissue O is configured to " 18 ", adds
The input information " abc " of user, the object oriented finally provided is " ZCFI18abc ".
Embodiment six
Referring to Fig. 6, Fig. 6 is another object oriented generation system construction drawing disclosed in the embodiment of the present application.
In the present embodiment on the basis of above-described embodiment four, it further with the addition of object oriented and receive unit 45, be used for
According to the type of the object to be created, optional one in the title of the object of the type generated, as described
The title of object to be created.
Specifically, by the system of example IV, the generating process of object oriented is completed.In the design phase, it is necessary to lead
With the object oriented generated, therefore according to the type of object to be created, in the object of the type generated
One arbitrarily is selected in title, the title of the object to be created is used as.
It should be noted that we can also further increase object oriented taxon, by the object oriented generated
Classified, be divided into the object oriented for having generated but not received and the object oriented received.So, when subsequently being inquired about more
Plus conveniently.Referring specifically to Fig. 7, Fig. 7 is another object oriented generation system construction drawing disclosed in the embodiment of the present application.
In the figure 7, compared to Fig. 6, we with the addition of object oriented taxon 46, for by the name of the object generated
Title is classified, and is divided into the object for having generated but not received and the object oriented received.
Further, we can also set up enhancing function for the system of the application, and the enhancing function can specify that wound
Hand filling is disabled when building object, it is necessary to the title generated using system, or the name for allowing user to be generated simultaneously using system
Claim the title with hand filling.
For the title of user's hand filling, rule verification can also be carried out, Naming conventions version is obtained according to day is created
Number, its affiliated item purpose mark is obtained according to login personnel, NameSpace is determined according to Naming conventions version number and project label,
And then the naming rule matched with the object type is inquired about in the NameSpace, whether judge the currently practical title of the object
Meet the requirement of naming rule, and two classes are divided into according to judged result, a class is to meet naming rule, and another kind of is not meet name
Claim rule.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that
A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged
Except also there is other identical element in the process including the key element, method, article or equipment.
The embodiment of each in this specification is described by the way of progressive, and what each embodiment was stressed is and other
Between the difference of embodiment, each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use the application.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can in other embodiments be realized in the case where not departing from spirit herein or scope.Therefore, the application
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The most wide scope caused.
Claims (10)
1. a kind of object oriented generation method, it is characterised in that including:
The corresponding relation of preset term mark and personnel's title is inquired about, it is determined that the corresponding item target of the title of current login personnel
Know;
The default Naming conventions version number of the inquiry corresponding relation interval with the effective date, determines the corresponding Naming conventions of current date
Version number;
Inquire about preset reference information, selection and the project label and the NameSpace of the Naming conventions version numbers match, institute
Stating NameSpace includes multiple naming rules respectively with various types of match objects, and each naming rule includes member
Plain group and the combination to each element, the element group at least include the input information of login personnel, and prefix, tissue, mould
Any one or more in block, object type and intermediate character string, the reference information indicates the project label and described
Naming conventions version number and the corresponding relation of NameSpace;
The selected element group of the login personnel is determined, according to the corresponding combination of element group to each member in the element group
Element is combined, with the title for the object for generating the selected object type of the login personnel.
2. according to the method described in claim 1, it is characterised in that the input information of the login personnel is the sequence automatically generated
Row number.
3. according to the method described in claim 1, it is characterised in that the naming rule includes naming rule mask, the life
Element group and the combination of each element that the regular mask denoted object title of name is included.
4. method according to claim 3, it is characterised in that the selected element group of the determination login personnel,
Each element in the element group is combined according to the element group corresponding combination, to generate selected by the login personnel
Object type object title, be specially:
According to the type of the selected object of the login personnel, the matching naming rule is determined;
Pair naming rule mask that is included of the naming rule determined is parsed, the acquisition element group and each element
Combination;
Each element to acquisition carries out fills, generates the title of the object of the selected object type of login personnel.
5. method according to claim 4, it is characterised in that also include:
Object oriented is received:According to the type of object to be created, in the title of the object of the type generated
Optional one, it is used as the title of the object to be created.
6. method according to claim 5, it is characterised in that also include:The title of the object generated is classified,
It is divided into the object oriented for having generated but not received and the object oriented received.
7. a kind of object oriented generates system, it is characterised in that including:
Project label determining unit, the corresponding relation for inquiring about preset term mark and personnel's title, it is determined that current login
The corresponding project label of title of personnel;
Version number's determining unit, the corresponding relation interval with the effective date for inquiring about default Naming conventions version number, it is determined that working as
Preceding date corresponding Naming conventions version number;
NameSpace determining unit, for inquiring about preset reference information, selection and the project label and Naming conventions version
The NameSpace of version number matches, the NameSpace includes multiple naming rules respectively with various types of match objects,
Each naming rule includes element group and the combination to each element, and the element group is at least defeated including login personnel
Enter any one or more in information, and prefix, tissue, module, object type and intermediate character string, the reference information refers to
Show the corresponding relation of the project label and the Naming conventions version number and NameSpace;
Object oriented generation unit, for determining the selected element group of the login personnel, according to corresponding group of the element group
Conjunction mode is combined to each element in the element group, with the name for the object for generating the selected object type of the login personnel
Claim.
8. system according to claim 7, it is characterised in that the object oriented generation unit includes:
Naming rule determining unit, for the type according to the selected object of the login personnel, determines matching institute
State naming rule;
Resolution unit, the naming rule mask included for pair naming rule determined is parsed, and obtains the member
Plain group and the combination of each element, element group and the group of each element that the naming rule mask denoted object title is included
Conjunction mode;
Fills unit, carries out fills for each element to acquisition, generates the selected object of login personnel
The title of the object of type.
9. system according to claim 8, it is characterised in that also include:
Object oriented receives unit, for the type according to object to be created, in the object of the type generated
Optional one in title, the title of the object to be created is used as.
10. system according to claim 9, it is characterised in that also include:
Object oriented taxon, for the title of the object generated to be classified, is divided into pair for having generated but not received
As with the object oriented received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410128491.8A CN103870939B (en) | 2014-04-01 | 2014-04-01 | A kind of object oriented generation method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410128491.8A CN103870939B (en) | 2014-04-01 | 2014-04-01 | A kind of object oriented generation method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103870939A CN103870939A (en) | 2014-06-18 |
CN103870939B true CN103870939B (en) | 2017-08-29 |
Family
ID=50909451
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410128491.8A Active CN103870939B (en) | 2014-04-01 | 2014-04-01 | A kind of object oriented generation method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103870939B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105912707B (en) * | 2016-04-27 | 2019-06-14 | 天脉聚源(北京)传媒科技有限公司 | A kind of method and device of specification video resource mark |
CN109783493A (en) * | 2018-12-29 | 2019-05-21 | 福建华闽通达信息技术有限公司 | A kind of engineering toponym quoting method divided based on WBS |
CN111046020B (en) * | 2019-11-28 | 2023-09-12 | 泰康保险集团股份有限公司 | Information processing method and device, storage medium and electronic equipment |
CN113641656A (en) * | 2021-08-19 | 2021-11-12 | 平安普惠企业管理有限公司 | Questionnaire answer management method, device, computer equipment and storage medium |
CN114004559A (en) * | 2021-09-23 | 2022-02-01 | 中交信通网络科技有限公司 | Goods tracking method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051320A (en) * | 2007-05-11 | 2007-10-10 | 北京中星微电子有限公司 | File name generating method and device in file distribution system |
CN101741621A (en) * | 2009-12-21 | 2010-06-16 | 中兴通讯股份有限公司 | Method, system and device for generating resource name |
EP2682881A2 (en) * | 2012-07-05 | 2014-01-08 | Ricoh Company, Ltd. | Document Processing Apparatus, Image Processing Apparatus, Document Processing Method, and Medium |
-
2014
- 2014-04-01 CN CN201410128491.8A patent/CN103870939B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051320A (en) * | 2007-05-11 | 2007-10-10 | 北京中星微电子有限公司 | File name generating method and device in file distribution system |
CN101741621A (en) * | 2009-12-21 | 2010-06-16 | 中兴通讯股份有限公司 | Method, system and device for generating resource name |
EP2682881A2 (en) * | 2012-07-05 | 2014-01-08 | Ricoh Company, Ltd. | Document Processing Apparatus, Image Processing Apparatus, Document Processing Method, and Medium |
Also Published As
Publication number | Publication date |
---|---|
CN103870939A (en) | 2014-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103870939B (en) | A kind of object oriented generation method and system | |
CN108280365B (en) | Data access authority management method, device, terminal device and storage medium | |
US20060173908A1 (en) | System and method for automated customization of a workflow management system | |
US20110320432A1 (en) | Managing Parameters in Filter Expressions | |
CN106845849A (en) | A kind of BPM method and system | |
EP1649392A2 (en) | Apparatuses and methods for dynamic creation of phase gantt charts | |
WO2003027796A3 (en) | System and method for energy and green-house gas inventory | |
CN102819609B (en) | A kind of perdurable data model modelling approach | |
CN104461531B (en) | A kind of implementation method of reporting system SQL | |
CN105808701B (en) | Realize the method and system communicated between list automatic Verification and multisystem | |
CN103886085B (en) | Universal method for transforming cross report form through columns | |
US20060101353A1 (en) | Multi-pane navigation model for graphical user interfaces | |
CN102222278A (en) | Operation process customizing method and device | |
CN107783780A (en) | A kind of Code Review method and system | |
US8086646B2 (en) | Scheme-based identifier | |
US9058606B1 (en) | Computer implemented method for forming an accelerated compliance plan with a graphic visualization | |
CN108572945A (en) | Create method, system, storage medium and the electronic equipment of report | |
CN104731911A (en) | Dynamic mapping and converting method for data table and entity class | |
CN109101410A (en) | A kind of risk driven test method and device and computer readable storage medium | |
CN107704585A (en) | One kind inquiry HDFS data methods and system | |
CN104156435A (en) | Method for rapidly finding HSE laws and regulations from database | |
CN107464096A (en) | A kind of systems, devices and methods of project management | |
JPH11514475A (en) | Database management system and data transmission method | |
US20070276637A1 (en) | Visual optimization programming | |
CN105302728B (en) | The method of testing and device of SAP interfaces |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |