CN103870939A - Object name generating method and system - Google Patents

Object name generating method and system Download PDF

Info

Publication number
CN103870939A
CN103870939A CN201410128491.8A CN201410128491A CN103870939A CN 103870939 A CN103870939 A CN 103870939A CN 201410128491 A CN201410128491 A CN 201410128491A CN 103870939 A CN103870939 A CN 103870939A
Authority
CN
China
Prior art keywords
title
naming
element set
type
version number
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
CN201410128491.8A
Other languages
Chinese (zh)
Other versions
CN103870939B (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.)
State Grid Corp of China SGCC
Beijing China Power Information Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
Beijing China Power Information Technology 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 State Grid Corp of China SGCC, Beijing China Power Information Technology Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201410128491.8A priority Critical patent/CN103870939B/en
Publication of CN103870939A publication Critical patent/CN103870939A/en
Application granted granted Critical
Publication of CN103870939B publication Critical patent/CN103870939B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an object name generating method and system. The object name generating method comprises the steps that a project identifier corresponding to the name of a current login person and a naming convention version number corresponding to the current date are determined by inquiring reference information; preset reference information is inquired, a naming space matched with the project identifier and the naming convention version number is selected, the naming space comprises a plurality of naming rules matched with objects of various types, and each naming rule comprises an element set and combining methods of elements; the element set selected by the login person is determined, and the elements in the element set are combined according to the combining method corresponding to the element set to generate object names. In the whole object name generating process, objects do not need to be manually named one by one. The object name generating method is higher in accuracy and higher in working efficiency in the object name generating process.

Description

A kind of object oriented generates method and system
Technical field
The application relates to technical field of data processing, more particularly, relates to a kind of object oriented and generates method and system.
Background technology
In the management software SAP of large enterprise enforcement project, use ABAP language education secondary development by meeting.Overwhelming majority project all can stipulate the development specifications of ABAP, comprising Naming conventions, the naming rule of object is retrained.But, need ABAP developer in the time of actual development, according to Naming conventions hand filling object oriented and create object.
But the method for this formation object title exists two problems, the error rate of the first object oriented name is high, cannot guarantee the accuracy rate of the title of the object generating; The second, carry out craft for the inner a large amount of objects of a tissue (enterprise) and successively fill in, will expend undoubtedly the longer working time, cause the inefficiency of object naming work.
Summary of the invention
In view of this, the application provides a kind of object oriented to generate method and system, and for solving existing scheme by manual process of filling in one by one object oriented, not only accuracy rate is not high and inefficient problem.
To achieve these goals, the existing scheme proposing is as follows:
A kind of object oriented generation method, comprising:
The corresponding relation of project label and personnel's title is preset in inquiry, determines the project label corresponding to title of current login personnel;
The corresponding relation in the default Naming conventions version number of inquiry and effective date interval, determines the Naming conventions version number that current date is corresponding;
Inquiry preset reference information, select the NameSpace mating with described project label and described Naming conventions version number, described NameSpace comprises respectively the multiple naming rules that match with various types of objects, each described naming rule comprises element set and the array mode to each element, described element set at least comprises the input message of login personnel, and any one or more in prefix, tissue, module, object type and intermediate character string, described reference information is indicated the corresponding relation of described project label and described Naming conventions version number and NameSpace;
Determine the selected element set of described login personnel, the array mode corresponding according to this element set combines each element in this element set, to generate the title of object of the selected object type of described login personnel.
Preferably, described user's input message is the sequence number automatically generating.
Preferably, described naming rule comprises naming rule mask, the element set that described naming rule mask denoted object title comprises and the array mode of each element.
Preferably, describedly determine the selected element set of described login personnel, the array mode corresponding according to this element set combines each element in this element set, to generate the title of object of the selected object type of described login personnel, is specially:
According to the type of the selected object of described login personnel, determine the described naming rule matching;
The naming rule mask that the described naming rule of determining is comprised is resolved, and obtains the array mode of described element set and each element;
The each element obtaining is carried out to content filling, generate the title of the object of the selected object type of described login personnel.
Preferably, also comprise:
Receiving of object oriented: according to the type of the object that will create, in the title of the object of the type having generated optional one, as the title of the described object that will create.
Preferably, also comprise: the title of the object having generated is classified, be divided into the object oriented generating but do not receive and the object oriented of having received.
A kind of object oriented generation system, comprising:
Project label determining unit, for inquiring about the corresponding relation of default project label and personnel's title, determines the project label corresponding to title of current login personnel;
Version number's determining unit, for inquiring about the corresponding relation in default Naming conventions version number and effective date interval, determines the Naming conventions version number that current date is corresponding;
NameSpace determining unit, be used for inquiring about preset reference information, select the NameSpace mating with described project label and described Naming conventions version number, described NameSpace comprises respectively the multiple naming rules that match with various types of objects, each described naming rule comprises element set and the array mode to each element, described element set at least comprises the input message of login personnel, and prefix, tissue, module, any one or more in object type and intermediate character string, described reference information is indicated the corresponding relation of described project label and described Naming conventions version number and NameSpace,
Object oriented generation unit, for determining the selected element set of described login personnel, the array mode corresponding according to this element set combines each element in this element set, to generate the title of object of the selected object type of described login personnel.
Preferably, described object oriented generation unit comprises:
Naming rule determining unit, for according to the type of the selected object of described login personnel, determines the described naming rule matching;
Resolution unit, resolves for the naming rule mask that the described naming rule of determining is comprised, and obtains the array mode of described element set and each element, the element set that described naming rule mask denoted object title comprises and the array mode of each element;
Content filler cells, for the each element obtaining is carried out to content filling, generates the title of the object of the selected object type of described login personnel.
Preferably, also comprise:
Object oriented is received unit, for according to the type of the described object that will create, and in the title of the object of the type having generated optional one, as the title of the described object that will create.
Preferably, also comprise:
Object oriented taxon, for the title of the object having generated is classified, is divided into the object generating but do not receive and the object oriented of having received.
Can find out from above-mentioned technical scheme, the disclosed object oriented of the application generation method, by inquiry presupposed information, determine corresponding project label and the Naming conventions version number corresponding to current date of title of current login personnel, then according to a default project label and the relation of a jointly definite NameSpace of Naming conventions version number, select the NameSpace mating with current project label and current Naming conventions version number, because the title of same target in different projects is not identical, and in same project, the title of the title of same target in different Naming conventions versions is also different, therefore need first to determine a large NameSpace here, in a NameSpace, the naming rule of dissimilar object is also different, each naming rule comprises the array mode of element set and each element, this element set at least comprises the personnel's of logging in input message, and prefix, tissue, module, any one or more in object type and intermediate character string, finally determine and log in the selected element set of personnel, according to array mode corresponding to this element set, each element in this element set is combined, to generate the title of the object that logs in the selected object type of personnel.In whole object oriented generative process, without the name of one by one object being carried out manually title, when method formation object title that the application provides, accuracy rate is higher, and work efficiency is also faster.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiment of the application, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
A kind of object oriented generation method flow diagram that Fig. 1 provides for the embodiment of the present application;
Fig. 2 is the disclosed a kind of object oriented generation method part process flow diagram of the embodiment of the present application;
Fig. 3 is that the disclosed another kind of object oriented of the embodiment of the present application generates method flow diagram;
Fig. 4 is the disclosed a kind of object oriented generation system structural drawing of the embodiment of the present application;
Fig. 5 is the disclosed object oriented generation unit of the embodiment of the present application structural drawing;
Fig. 6 is the disclosed another kind of object oriented generation system structural drawing of the embodiment of the present application;
Fig. 7 is disclosed another the object oriented generation system structural drawing of 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 clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Based on the embodiment in the application, those of ordinary skills are not paying all other embodiment that obtain under creative work prerequisite, all belong to the scope of the application's protection.
Embodiment mono-
Referring to Fig. 1, a kind of object oriented generation method flow diagram that Fig. 1 provides for the embodiment of the present application.Wherein, described method can be applied in the management software SAP ERP of large enterprise enforcement project, often needs object in enormous quantities to name in these projects.In the embodiment of the present application, described method can comprise the following steps:
Step 101: the corresponding relation of project label and personnel's title is preset in inquiry, determines the project label corresponding to title of current login personnel;
Wherein, large enterprise's management software is implemented project and may be comprised multiple tissues (unit), each organizing also can comprise multiple projects, and we have pre-defined the mark of each project and the personnel that each project comprises, and set up the corresponding relation of project label and personnel's title.Therefore, when having determined after the title of login personnel, can inquire about above-mentioned corresponding relation, find project label corresponding to these personnel.
Step 102: the corresponding relation in the default Naming conventions version number of inquiry and effective date interval, determine the Naming conventions version number that current date is corresponding;
Wherein, in whole enforcement project, should follow unified regulatory documents, and different times, Naming conventions version difference, also the Naming conventions of a version is only applicable to the regular hour, we need to set up the corresponding relation in Naming conventions version number and effective date interval in advance, for example: Naming conventions version 1.0 on Dec 31,1 day to 2013 January in 2013 during this in section effectively, Naming conventions version 1.1 is effective in section during this on Dec 31,1 day to 2014 January in 2014.We can find the Naming conventions version number of coming into force at current date according to current date, and then can find the Naming conventions file of this version.
Step 103: inquiry preset reference information, select the NameSpace mating with described project label and described Naming conventions version number, described NameSpace comprises respectively the multiple naming rules that match with various types of objects, each described naming rule comprises element set and the array mode to each element, described element set at least comprises the input message of login personnel, and prefix, tissue, module, any one or more in object type and intermediate character string, described reference information is indicated the corresponding relation of described project label and described Naming conventions version number and NameSpace,
It should be explained that, a project label and a Naming conventions version number determine a NameSpace jointly.Because the title of same target in different projects is not identical, and in same project, the title of the same target title in different Naming conventions versions is also different, therefore needs first to determine a large NameSpace here.In a NameSpace, the naming rule of dissimilar object is also different, each naming rule comprises the array mode of element set and each element, this element set at least comprises the personnel's of logging in input message, and any one or more in prefix, tissue, module, object type and intermediate character string.Here for dissimilar object, in its naming rule, must comprise the personnel's of logging in input message.Object type has a variety of, for example as: program, group of functions, function, class ... and prefix is a predefined character string, tissue it is also understood that as there are a lot of subordinate's tissues (subgroup is knitted) in tissue of administrative unit or enterprises and institutions, but for ease of management, generally can formulate a set of unified coding for recognizing interior tissue.Module is generally used for distinguishes different business scope, and such as financial cost can note, handling of goods and materials, equipment control, project management etc.Intermediate character string is one section of character string, can pre-define.
Step 104: determine the selected element set of described login personnel, the array mode corresponding according to this element set combines each element in this element set, to generate the title of object of the selected object type of described login personnel.
The disclosed object oriented of the embodiment of the present application generation method, by inquiry presupposed information, determine corresponding project label and the Naming conventions version number corresponding to current date of title of current login personnel, then according to a default project label and the relation of a jointly definite NameSpace of Naming conventions version number, select the NameSpace mating with current project label and current Naming conventions version number, because the title of same target in different projects is not identical, and in same project, the title of the title of same target in different Naming conventions versions is also different, therefore need first to determine a large NameSpace here, in a NameSpace, the naming rule of dissimilar object is also different, each naming rule comprises the array mode of element set and each element, this element set at least comprises the personnel's of logging in input message, and prefix, tissue, module, any one or more in object type and intermediate character string, finally determine and log in the selected element set of personnel, according to array mode corresponding to this element set, each element in this element set is combined, to generate the title of the object that logs in the selected object type of personnel.In whole object oriented generative process, without the name of one by one object being carried out manually title, when method formation object title that the application provides, accuracy rate is higher, and work efficiency is also faster.
It should be noted that, user's input message industry can be that the sequence number that system generates automatically replaces.
Embodiment bis-
The present embodiment will be explained in detail step 104 in a upper embodiment.
It should be explained that, it can comprise naming rule mask naming rule, and this naming rule mask is the array mode that is used to refer to element set that object oriented comprises and each element.
Referring to Fig. 2, Fig. 2 is the realization flow figure of step 104 in the disclosed upper embodiment of the embodiment of the present application.Wherein, described step 104 can comprise the following steps realization:
Step 201: according to the type of the selected object of described login personnel, determine the described naming rule matching;
Particularly, first login personnel is selected to name the object of which kind of type, and comprises the naming rule corresponding with multiple object types at NameSpace.
Step 202: the naming rule mask that the described naming rule of determining is comprised is resolved, and obtains the array mode of described element set and each element;
Particularly, illustrate: an object that type is " class ", in A project, in Naming conventions version 1.0, the mask of the naming rule of definition is PTMO, P represents prefix, T representative object type, M represents module, O represents tissue.After resolving, can learn that the naming rule of this object is: prefix+object type+module+tissue.
Step 203: the each element obtaining is carried out to content filling, generate the title of the object of the selected object type of described login personnel.
Particularly, still use the example of step 202, determine after naming rule, the each element having parsed is carried out to content filling: prefix P and be configured to " Z ", object type T is configured to " C ", module M is configured to " FI ", organizes O to be configured to " 18 " and adds user's input message " abc ", and the object oriented finally providing is " ZCFI18abc ".
Embodiment tri-
Referring to Fig. 3, Fig. 3 is that the disclosed another kind of object oriented of the embodiment of the present application generates method flow diagram.
On the basis of above-described embodiment one, the present embodiment has further increased step 105: the receiving of object oriented: according to the type of the object that will create, in the title of the object of the type having generated optional one, as the title of the described object that will create.
Particularly, through step 101-104, completed the generative process of object oriented.In the design phase, need to receive the object oriented having generated, therefore according to the type of the object that will create, in the title of the object of the type having generated, select arbitrarily one, as the title of this object that will create.
It should be noted that, we can also further classify the object oriented having generated, and are divided into the object oriented generating but do not receive and the object oriented of having received.Like this, convenient when follow-up inquiry.
It should be noted that, we can forbid logging in other object oriented of inputting of librarian use ourselves and create object, only allow it to use the object oriented generating through above-mentioned steps 101-104.Like this, the name format of the object of establishment is unified, and can not exist and obscure.
Certainly, also can allow to log in other object oriented of oneself inputting of librarian use and create object, at this moment because object oriented has two kinds of sources, the also disunity of title of the object therefore creating, whether we need the title that judges certain object to accord with and Naming conventions sometimes.
Like this, the object of establishment need to be divided into and use the object oriented of step 101-104 generation and the large class of object oriented two of login personnel oneself input.
For the object of login personnel oneself input title, we are according to creating a day acquisition Naming conventions version number, obtain the mark of project under it according to login personnel, determine NameSpace according to Naming conventions version number and project label, and then the naming rule that inquiry is mated with this object type in this NameSpace, judge whether the title of the current reality of this object meets the requirement of naming rule, and be divided into two classes according to judged result, one class is to meet naming rule, and another kind of is not meet title rule.
Embodiment tetra-
Referring to Fig. 4, Fig. 4 is the disclosed a kind of object oriented generation system structural drawing of the embodiment of the present application.Wherein, described system can be applied in the management software SAP ERP of large enterprise enforcement project, often needs object in enormous quantities to name in these projects.In the embodiment of the present application, described system can comprise with lower unit:
Project label determining unit 41, for inquiring about the corresponding relation of default project label and personnel's title, determines the project label corresponding to title of current login personnel;
Wherein, large enterprise's management software is implemented project and may be comprised multiple tissues (unit), each organizing also can comprise multiple projects, and we have pre-defined the mark of each project and the personnel that each project comprises, and set up the corresponding relation of project label and personnel's title.Therefore, when having determined after the title of login personnel, can inquire about above-mentioned corresponding relation, find project label corresponding to these personnel.
Version number's determining unit 42, for inquiring about the corresponding relation in default Naming conventions version number and effective date interval, determines the Naming conventions version number that current date is corresponding;
Wherein, in whole enforcement project, should follow unified regulatory documents, and different times, Naming conventions version difference, also the Naming conventions of a version is only applicable to the regular hour, we need to set up the corresponding relation in Naming conventions version number and effective date interval in advance, for example: Naming conventions version 1.0 on Dec 31,1 day to 2013 January in 2013 during this in section effectively, Naming conventions version 1.1 is effective in section during this on Dec 31,1 day to 2014 January in 2014.We can find the Naming conventions version number of coming into force at current date according to current date, and then can find the Naming conventions file of this version.
NameSpace determining unit 43, be used for inquiring about preset reference information, select the NameSpace mating with described project label and described Naming conventions version number, described NameSpace comprises respectively the multiple naming rules that match with various types of objects, each described naming rule comprises element set and the array mode to each element, described element set at least comprises the input message of login personnel, and prefix, tissue, module, any one or more in object type and intermediate character string, described reference information is indicated the corresponding relation of described project label and described 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 not identical, and in same project, the title of the same target title in different Naming conventions versions is also different, therefore needs first to determine a large NameSpace here.In a NameSpace, the naming rule of dissimilar object is also different, each naming rule comprises the array mode of element set and each element, this element set at least comprises the personnel's of logging in input message, and any one or more in prefix, tissue, module, object type and intermediate character string.Here for dissimilar object, in its naming rule, must comprise the personnel's of logging in input message and the type of this object.Object type has a variety of, for example as: program, group of functions, function, class ... and prefix is a predefined character string, tissue it is also understood that as there are a lot of subordinate's tissues (subgroup is knitted) in tissue of administrative unit or enterprises and institutions, but for ease of management, generally can formulate a set of unified coding for recognizing interior tissue.Module is generally used for distinguishes different business scope, and such as financial cost can note, handling of goods and materials, equipment control, project management etc.Intermediate character string is one section of character string, can pre-define.
Object oriented generation unit 44, for determining the selected element set of described login personnel, the array mode corresponding according to this element set combines each element in this element set, to generate the title of object of the selected object type of described login personnel.
The disclosed object oriented generation system of the embodiment of the present application, by inquiry presupposed information, determine corresponding project label and the Naming conventions version number corresponding to current date of title of current login personnel, then according to a default project label and the relation of a jointly definite NameSpace of Naming conventions version number, select the NameSpace mating with current project label and current Naming conventions version number, because the title of same target in different projects is not identical, and in same project, the title of the title of same target in different Naming conventions versions is also different, therefore need first to determine a large NameSpace here, in a NameSpace, the naming rule of dissimilar object is also different, each naming rule comprises the array mode of element set and each element, this element set at least comprises the personnel's of logging in input message, and prefix, tissue, module, any one or more in object type and intermediate character string, finally determine and log in the selected element set of personnel, according to array mode corresponding to this element set, each element in this element set is combined, to generate the title of the object that logs in the selected object type of personnel.In whole object oriented generative process, without the name of one by one object being carried out manually title, when method formation object title that the application provides, accuracy rate is higher, and work efficiency is also faster.
Embodiment five
Referring to Fig. 5, Fig. 5 is the disclosed object oriented generation unit of the embodiment of the present application structural drawing.
As shown in Figure 5, this object oriented generation unit 44 comprises:
Naming rule determining unit 441, for according to the type of the selected object of described login personnel, determines the described naming rule matching;
Particularly, first login personnel needs to select to name the object of which kind of type, and comprises the naming rule corresponding with multiple object types at NameSpace.
Resolution unit 442, resolve for the naming rule mask that the described naming rule of determining is comprised, obtain the array mode of described element set and each element, the element set that described naming rule mask denoted object title comprises and the array mode of each element;
Particularly, illustrate: an object that type is " class ", in A project, in Naming conventions version 1.0, the mask of the naming rule of definition is PTMO, P represents prefix, T representative object type, M represents module, O represents tissue.After resolving, can learn that the naming rule of this object is: prefix+object type+module+tissue.
Content filler cells 443, for the each element obtaining is carried out to content filling, generates the title of the object of the selected object type of described login personnel.
Particularly, still use above-mentioned example, determine after naming rule, the each element having parsed is carried out to content filling: prefix P and be configured to " Z ", object type T is configured to " C ", and module M is configured to " FI ", organizes O to be configured to " 18 ", the input message " abc " of adding user, the object oriented finally providing is " ZCFI18abc ".
Embodiment six
Referring to Fig. 6, Fig. 6 is the disclosed another kind of object oriented generation system structural drawing of the embodiment of the present application.
In the present embodiment on the basis of above-described embodiment four, further add object oriented and received unit 45, for according to the type of the described object that will create, in the title of the object of the type having generated optional one, as the title of the described object that will create.
Particularly, through the system of embodiment tetra-, completed the generative process of object oriented.In the design phase, need to receive the object oriented having generated, therefore according to the type of the object that will create, in the title of the object of the type having generated, select arbitrarily one, as the title of this object that will create.
It should be noted that, we can also further increase object oriented taxon, and the object oriented having generated is classified, and are divided into the object oriented generating but do not receive and the object oriented of having received.Like this, convenient when follow-up inquiry.Specifically, referring to Fig. 7, Fig. 7 is disclosed another the object oriented generation system structural drawing of the embodiment of the present application.
In Fig. 7, than Fig. 6, we have added object oriented taxon 46, for the title of the object having generated is classified, are divided into the object generating but do not receive and the object oriented of having received.
Further, we can also set up enhancing function for the application's system, when can stipulating to create object, this enhancing function forbids hand filling, the title that necessary use system generates, or allow the title of user's use system simultaneously generation and the title of hand filling.
For the title of user's hand filling, can also carry out rule checking, according to creating a day acquisition Naming conventions version number, obtain the mark of project under it according to login personnel, determine NameSpace according to Naming conventions version number and project label, and then the naming rule that inquiry is mated with this object type in this NameSpace, judge whether the title of the current reality of this object meets the requirement of naming rule, and be divided into two classes according to judged result, one class is to meet naming rule, and another kind of is not meet title rule.
Finally, also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, between each embodiment identical similar part mutually referring to.
To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the application.To be apparent for those skilled in the art to the multiple modification of these embodiment, General Principle as defined herein can, in the case of not departing from the application's spirit or scope, realize in other embodiments.Therefore, the application will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. an object oriented generation method, is characterized in that, comprising:
The corresponding relation of project label and personnel's title is preset in inquiry, determines the project label corresponding to title of current login personnel;
The corresponding relation in the default Naming conventions version number of inquiry and effective date interval, determines the Naming conventions version number that current date is corresponding;
Inquiry preset reference information, select the NameSpace mating with described project label and described Naming conventions version number, described NameSpace comprises respectively the multiple naming rules that match with various types of objects, each described naming rule comprises element set and the array mode to each element, described element set at least comprises the input message of login personnel, and any one or more in prefix, tissue, module, object type and intermediate character string, described reference information is indicated the corresponding relation of described project label and described Naming conventions version number and NameSpace;
Determine the selected element set of described login personnel, the array mode corresponding according to this element set combines each element in this element set, to generate the title of object of the selected object type of described login personnel.
2. method according to claim 1, is characterized in that, described user's input message is the sequence number automatically generating.
3. method according to claim 1, is characterized in that, described naming rule comprises naming rule mask, the element set that described naming rule mask denoted object title comprises and the array mode of each element.
4. method according to claim 3, it is characterized in that, described definite selected element set of described login personnel, the array mode corresponding according to this element set combines each element in this element set, to generate the title of object of the selected object type of described login personnel, be specially:
According to the type of the selected object of described login personnel, determine the described naming rule matching;
The naming rule mask that the described naming rule of determining is comprised is resolved, and obtains the array mode of described element set and each element;
The each element obtaining is carried out to content filling, generate the title of the object of the selected object type of described login personnel.
5. method according to claim 4, is characterized in that, also comprises:
Receiving of object oriented: according to the type of the object that will create, in the title of the object of the type having generated optional one, as the title of the described object that will create.
6. method according to claim 5, is characterized in that, also comprises: the title of the object having generated is classified, be divided into the object oriented generating but do not receive and the object oriented of having received.
7. an object oriented generation system, is characterized in that, comprising:
Project label determining unit, for inquiring about the corresponding relation of default project label and personnel's title, determines the project label corresponding to title of current login personnel;
Version number's determining unit, for inquiring about the corresponding relation in default Naming conventions version number and effective date interval, determines the Naming conventions version number that current date is corresponding;
NameSpace determining unit, be used for inquiring about preset reference information, select the NameSpace mating with described project label and described Naming conventions version number, described NameSpace comprises respectively the multiple naming rules that match with various types of objects, each described naming rule comprises element set and the array mode to each element, described element set at least comprises the input message of login personnel, and prefix, tissue, module, any one or more in object type and intermediate character string, described reference information is indicated the corresponding relation of described project label and described Naming conventions version number and NameSpace,
Object oriented generation unit, for determining the selected element set of described login personnel, the array mode corresponding according to this element set combines each element in this element set, to generate the title of object of the selected object type of described login personnel.
8. system according to claim 7, is characterized in that, described object oriented generation unit comprises:
Naming rule determining unit, for according to the type of the selected object of described login personnel, determines the described naming rule matching;
Resolution unit, resolves for the naming rule mask that the described naming rule of determining is comprised, and obtains the array mode of described element set and each element, the element set that described naming rule mask denoted object title comprises and the array mode of each element;
Content filler cells, for the each element obtaining is carried out to content filling, generates the title of the object of the selected object type of described login personnel.
9. system according to claim 8, is characterized in that, also comprises:
Object oriented is received unit, for according to the type of the described object that will create, and in the title of the object of the type having generated optional one, as the title of the described object that will create.
10. system according to claim 9, is characterized in that, also comprises:
Object oriented taxon, for the title of the object having generated is classified, is divided into the object generating but do not receive and the object oriented of having received.
CN201410128491.8A 2014-04-01 2014-04-01 A kind of object oriented generation method and system Active CN103870939B (en)

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 true CN103870939A (en) 2014-06-18
CN103870939B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912707A (en) * 2016-04-27 2016-08-31 天脉聚源(北京)传媒科技有限公司 Method and device for standardizing video resource identifier
CN109783493A (en) * 2018-12-29 2019-05-21 福建华闽通达信息技术有限公司 A kind of engineering toponym quoting method divided based on WBS
CN111046020A (en) * 2019-11-28 2020-04-21 泰康保险集团股份有限公司 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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100492365C (en) * 2007-05-11 2009-05-27 北京中星微电子有限公司 File name generating method and device in file distribution system
CN101741621B (en) * 2009-12-21 2012-05-23 中兴通讯股份有限公司 Method, system and device for generating resource name
JP2014013534A (en) * 2012-07-05 2014-01-23 Ricoh Co Ltd Document processor, image processor, image processing method and document processing program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912707A (en) * 2016-04-27 2016-08-31 天脉聚源(北京)传媒科技有限公司 Method and device for standardizing video resource identifier
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
CN111046020A (en) * 2019-11-28 2020-04-21 泰康保险集团股份有限公司 Information processing method and device, storage medium and electronic equipment
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

Also Published As

Publication number Publication date
CN103870939B (en) 2017-08-29

Similar Documents

Publication Publication Date Title
KR102023215B1 (en) Automatic relationship detection for reporting on spreadsheet data
US9158655B2 (en) Computer development assessment system
CN103870939A (en) Object name generating method and system
US20120066178A1 (en) Systems and methods for construction field management and operations with building information modeling
US8224791B2 (en) Information lifecycle cross-system reconciliation
CN103177329A (en) Rule-based determination and validation in business object processing
CN103778228A (en) Method for realizing directional promotion of resume information by utilizing instant messaging system
CN103984557A (en) Report generation method and device
Gökçe et al. IFC-based product catalog formalization for software interoperability in the construction management domain
CN101226471A (en) Field foundation service platform based on component as well as construction method thereof
CN103577165A (en) Form generation method and form generator
CN105279616A (en) Method and apparatus for graded management
US20220197950A1 (en) Eliminating many-to-many joins between database tables
US20040236618A1 (en) Organisation representation framework and design method
Kleehaus et al. Challenges in documenting microservice-based IT landscape: A survey from an enterprise architecture management perspective
Lai et al. Advanced automation and robotics for high volume labour-intensive manufacturing
Orsi et al. Optimization of green building design processes: Case studies within the European Union
Hu et al. A model driven service engineering approach to system of systems
CN112783475A (en) Embedded software demand analysis method
Nikiforova et al. Integration of MDA framework into the model of traditional software development
Leitner et al. An experimental study on the design and modeling of security concepts in business processes
Hoehne The SoS‐VEE Model: Mastering the Socio‐Technical Aspects and Complexity of Systems of Systems Engineering (SoSE)
O'Shea et al. Fit-for-Purpose Visualisation of Architecture to Support Defence Capability Decision Making.
US20150019498A1 (en) Systems and Methods for Generating a Document with Internally Consistent Data
Jones Achieving software excellence

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