CN103107919B - A kind of Internet resources modeling method and system - Google Patents

A kind of Internet resources modeling method and system Download PDF

Info

Publication number
CN103107919B
CN103107919B CN201310008131.XA CN201310008131A CN103107919B CN 103107919 B CN103107919 B CN 103107919B CN 201310008131 A CN201310008131 A CN 201310008131A CN 103107919 B CN103107919 B CN 103107919B
Authority
CN
China
Prior art keywords
model
internet resources
target network
network resource
meta
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
Application number
CN201310008131.XA
Other languages
Chinese (zh)
Other versions
CN103107919A (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.)
Datang Software Technologies Co Ltd
Original Assignee
Datang Software Technologies 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 Datang Software Technologies Co Ltd filed Critical Datang Software Technologies Co Ltd
Priority to CN201310008131.XA priority Critical patent/CN103107919B/en
Publication of CN103107919A publication Critical patent/CN103107919A/en
Application granted granted Critical
Publication of CN103107919B publication Critical patent/CN103107919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of Internet resources modeling method and system, described method includes: arrange Internet resources meta-model;Internet resources model, and the modeling of described Internet resources includes: target network resource model adds, and specifically includes: obtain target network resource object information;Obtain target network resource object properties information;Described target network resource object information is added in the target network resource model that extremely described Internet resources meta-model is corresponding with target network resource object properties information.So, the network resources model set up by inventive network Resource Modeling Method is made to have unified data standard, meet unified check logic and business processing logic, therefore, even if constantly adding new network resources model, without increasing entity list, greatly reduce the modeling cost of network resources model.

Description

A kind of Internet resources modeling method and system
Technical field
The present invention relates to field of computer technology, be specifically related to a kind of Internet resources modeling method and system.
Background technology
Internet resources refer to provide the set of the network element of communication or information service.Internet resources would generally be divided For polytype, such as:
Space resources: mainly include administrative division (province and district city, district), management region, normal address, website, machine room Deng;
Network physical resource: mainly include the physical resources that various hardware device or facility are constituted, be communication resource row Function, the material base of offer communication/Information Service Ability, such as, all kinds of physical resources (network equipment, connection equipment, nothing are provided Line equipment);
Cellular logic resource: mainly include that in addition to physical resource, the invisible communication resource and information service resource are (interior Hold and application), such as, network topology resource and network service resource;
Service resources: mainly include being supplied to the service that client uses, such as, catalogue, operation list etc..
As a example by telecom operators, along with the needs of business development, its Internet resources can constantly be increased or exit, in order to It is easy to Internet resources are managed, it is proposed that network resources model.So-called network resources model is to reality Internet resources Abstract, including Internet resources class, resources-type attribute and the incidence relation etc. of resources-type, and in a uniform manner network is provided Source is described abstractly, its objective is to provide to communication network complete, describe accurately, support Internet resources is fast Fast-growing becomes and extension, it is achieved the Dynamic Maintenance management of Internet resources, resource object are expanded, resource associations and network, business and The association of client, and provide support for upper layer application such as the network planning, service fulfillment and Service assurance.
At present, Internet resources modeling uses next generation network OSS (New Generation Operations Systems andSoftware, NGOSS) shared information and data model (Shared Information Data Model, SID), and use UML (Unified Modeling Language, UML) and XML model fixed Model is described by justice (XML SchemaDefinition, XSD).Internet resources model initially with Target-oriented thought Uml class figure and sequence chart provide SID model system view, entity is retouched by the class in uml diagram, attribute and generic operation State.
As it is shown in figure 1, be prior art data model schematic diagram that Internet resources are modeled.Prior art is to various types of During the modeling of type Internet resources, mode that is exhaustive and that sort out is used to define each resource.Owing to the development of telecommunication service can be constantly Increasing new network resource type, therefore, the network resources model of its correspondence also constantly to carry out adaptations.Such as, often Increase a kind of equipment and be required for setting up a kind equipment entity list, and corresponding system and the interactive interface of user, check logic, Processing logic etc., later maintenance workload is the biggest.
In a word, the technical problem that those skilled in the art solve is needed exactly: how to reduce the modeling of Internet resources And maintenance cost.
Summary of the invention
In view of the above problems, it is proposed that the present invention in case provide one overcome the problems referred to above or at least in part solve on State a kind of Internet resources modeling method of problem and corresponding system.
According to one aspect of the present invention, it is provided that a kind of Internet resources modeling method, including:
Internet resources meta-model is set;
Internet resources model, including:
Target network resource model adds, and specifically includes:
Obtain target network resource object information;
Obtain target network resource object properties information;
Described target network resource object information and target network resource object properties information are added to described network money In the target network resource model that source meta-model is corresponding.
Alternatively, described Internet resources meta-model includes:
Internet resources class meta-model and/or
Internet resources generic attribute meta-model and/or
Internet resources category difference meta-model;
Described target network resource model includes:
Target network resource class model and/or
Target network resource generic attribute model and/or
Target network resource category difference model;
The interpolation of described target network resource model also includes:
The mapping relations of target network resource class and physical table are set;
The mapping relations of target network resource generic attribute and physical table field are set;
Arranging target network resource category difference, described target network resource category difference includes: comprises and/or inherits And/or association.
Alternatively, the modeling of described Internet resources also includes:
Target network resource model modification, specifically includes:
Obtain the model modification data of target network resource model;
Described model modification data are updated in the physical table that described target network resource model is corresponding.
Alternatively, the modeling of described Internet resources also includes:
Target network resource model is deleted, and specifically includes:
Model data deletes unit, deletes mould according to the target network resource model identification specified from corresponding physical table Type data.
Alternatively, described Internet resources meta-model also includes:
Internet resources class catalogue meta-model and/or
Internet resources class entity meta-model and/or
Internet resources attribute meta-model and/or
Internet resources property value meta-model and/or
Internet resources generic attribute codomain meta-model and/or
Internet resources generic attribute dependence meta-model and/or
Internet resources role meta-model and/or
Internet resources class role meta-model and/or
Internet resources class pattern meta-model.
According to another aspect of the present invention, the invention also discloses a kind of Internet resources modeling, including:
Internet resources meta-model arranges module, is used for arranging Internet resources meta-model;
Internet resources MBM, models for Internet resources,
Described Internet resources MBM includes:
Target network resource model adding device, specifically includes:
Resource object acquisition of information subelement, is used for obtaining target network resource object information;
Resource object attribute information obtains subelement, is used for obtaining target network resource object properties information;
Objective network model storing sub-units, for by described target network resource object information and target network resource pair As attribute information adds in the target network resource model that extremely described Internet resources meta-model is corresponding.
Alternatively, described Internet resources meta-model arrange module be additionally operable to arrange:
Internet resources class meta-model and/or
Internet resources generic attribute meta-model and/or
Internet resources category difference meta-model;
Described target network resource model includes:
Target network resource class model and/or
Target network resource generic attribute model and/or
Target network resource category difference model;
Described target network resource model adding device also includes:
First maps subelement, for arranging the mapping relations of target network resource class and physical table;
Second maps subelement, for arranging the mapping relations of target network resource generic attribute and physical table field;
Resource category difference arranges subelement, is used for arranging target network resource category difference, described target network resource Category difference includes: comprises and/or inherits and/or associate.
Alternatively, described Internet resources MBM also includes:
Target network resource model modification unit, specifically includes:
Model modification data acquisition subelement, for obtaining the model modification data of target network resource model;
Model data updates subelement, corresponding for model modification data update described target network resource model In physical table.
Alternatively, described Internet resources MBM also includes:
Subelement deleted by target network resource model, specifically includes:
According to the target network resource model identification specified case-deleted models data from corresponding physical table.
Alternatively, described Internet resources meta-model arrange module be additionally operable to arrange:
Internet resources class catalogue meta-model and/or
Internet resources class entity meta-model and/or
Internet resources attribute meta-model and/or
Internet resources property value meta-model and/or
Internet resources generic attribute codomain meta-model and/or
Internet resources generic attribute dependence meta-model and/or
Internet resources role meta-model and/or
Internet resources class role meta-model and/or
Internet resources class pattern meta-model.
The modeling of existing Internet resources is main uses mode that is exhaustive and that sort out to define each resource, often increases by a class money Source will increase corresponding entity list, the most also to revise corresponding check logic, business processing logic etc., cause Internet resources The modeling cost of model is the highest.The present invention by definition Internet resources meta-model, and by target network resource object information and Object properties information is stored in the target network resource model that Internet resources meta-model is corresponding so that provided by inventive network The network resources model that source modeling method is set up has unified data standard, meets unified check logic and Business Processing Logic, therefore, even if constantly adding new network resources model, without increasing entity list, greatly reduces network resources model Modeling cost.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of description, and in order to allow above and other objects of the present invention, the feature and advantage can Become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 shows the data model schematic diagram that network resources model is modeled by prior art;
Fig. 2 shows the schematic flow sheet of a kind of Internet resources modeling method;
Fig. 3 shows that in a kind of according to an embodiment of the invention Internet resources modeling method, network resources model adds Schematic flow sheet;
Fig. 4 shows increases Internet resources class in a kind of Internet resources modeling method Schematic flow sheet;
Fig. 5 shows and updates Internet resources class in a kind of Internet resources modeling method Schematic flow sheet;
Fig. 6 shows and deletes Internet resources class in a kind of Internet resources modeling method Schematic flow sheet;
Fig. 7 shows a kind of according to an embodiment of the invention Internet resources modeling structural representation.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows the disclosure Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should be by embodiments set forth here Limited.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
See the schematic flow sheet that Fig. 2, Fig. 2 show a kind of Internet resources modeling method of the embodiment of the present invention, including:
Step 201, arranges Internet resources meta-model.
For the embodiment of the present invention, described Internet resources meta-model is the mould for describing and define network resources model Type, described Internet resources meta-model had both comprised the description to Internet resources object itself, had also comprised Internet resources object properties Description.In the specific implementation, the description of described Internet resources object and Internet resources object properties may be included in same entity In model, it is possible to be described, such as with different physical models respectively: Internet resources class meta-model, Internet resources generic attribute Meta-model etc..
Network resources model data are stored in the data file that described Internet resources meta-model is corresponding, and this data file can To be predefined XML file, it is also possible to be text or database table etc..Below as a example by database table, provide net The structure definition example of network resource element model:
It will be appreciated by those skilled in the art that when implementing the present invention, can describe according to reality and need to define in meta-model Field, the invention is not limited in this regard.
Step 202, Internet resources model.
The modeling of described Internet resources includes: target network resource model adds, and specifically includes:
S2021, obtains target network resource object information.
S2022, obtains target network resource object properties information.
S2023, adds described target network resource object information and target network resource object properties information to described In the target network resource model that target network resource meta-model is corresponding.
Specifically, it is simply that in the tables of data that target network resource model is corresponding, add one comprise target network resource Object information and the record of target network resource object properties information, the data form of this record meets described Internet resources unit mould About data standard defined in Internet resources class, Internet resources generic attribute in type.
In another preferred embodiment of the present invention, the Internet resources meta-model of described setting is different physical model, bag Include: Internet resources meta-model and/or Internet resources attribute meta-model and/or Internet resources category difference meta-model;With above-mentioned net The target network resource model that network resource element model is corresponding includes: target network resource class model and/or target network resource class Attribute model and/or target network resource category difference model;The interpolation of described target network resource model also includes:
S2024, arranges the mapping relations of target network resource class and physical table.
The physical entity table that target network resource class should store when instantiation is set.Due to different resources-type attributes Gap is relatively big, and considers for factors such as performances, and for the storage of resource instances data, and the resources-type example of not all is one Individual physical entity table stores, but considers, carried out suitable cutting, as equipment be connected, just respectively define not Same storage entity.
S2025, arranges the mapping relations of target network resource generic attribute and physical table field.
S2026, arranges target network resource category difference, and described target network resource category difference includes: comprise and/or Inherit and/or association.
In another preferred embodiment of the present invention, the modeling of described step 202 Internet resources also includes:
Target network resource model modification, specifically includes:
Obtain the model modification data of target network resource model;
Described model modification data are updated in the physical table that described target network resource model is corresponding.
In another preferred embodiment of the present invention, the modeling of described step 202 Internet resources also includes:
Target network resource model is deleted, and specifically includes: according to the target network resource model identification specified from correspondence Case-deleted models data in physical table.
For the data relationship of more perfect storage network resources model data, described Internet resources meta-model also includes:
Internet resources class catalogue meta-model and/or
Internet resources class entity meta-model and/or
Internet resources attribute meta-model and/or
Internet resources property value meta-model and/or
Internet resources generic attribute codomain meta-model and/or
Internet resources generic attribute dependence meta-model and/or
Internet resources role meta-model and/or
Internet resources class role meta-model and/or
Internet resources class pattern meta-model.
Below by a specific example, Internet resources modeling method disclosed in this invention is described:
First, definition Internet resources meta-model.Concrete data model is described as follows:
1) resources-type catalogue meta-model
It is managed resources-type by the way of directory tree, it is simple to classification and classification.
Detailed description sees table 1:
Table 1: resources-type catalogue
2) resources-type meta-model
Use OO thought, by the way of specification, define various resource object, such as fiber area resource ONU Deng a some resource, and the line resource such as optical cable, cable, in order to resources-type can carry out resource pair based on defined when reality is applied The instantiation of elephant.Understanding aspect, " mould " can be equal to by resources-type.
Detailed description sees table 2:
Table 2: resources-type
3) resources-type Relation Element model
In record resource classes relation, in order to can filter when choosing the correlated resources of every kind of resource.
Detailed description sees table 3:
Table 3: resources-type relation
4) resources-type entity meta-model
Define every kind of resources-type physical entity table that should store when instantiation.Due to different resources-type attribute difference away from Relatively big, and consider for factors such as performances, for the storage of resource instances data, and the resources-type example of not all is at a thing Reason entity list stores, but considers, carried out suitable cutting, as equipment be connected, just respectively define different Storage entity.
Detailed description sees table 4:
Table 4: resources-type entity
5) resources-type attribute meta-model
Use Target-oriented thought, define resources-type attribute, be used for describing in detail resources-type.Detailed description sees table 5:
Table 5: resources-type attribute
6) Resource Properties meta-model
Definition is for describing resources-type attribute complete or collected works, it is simple to same attribute is available for different resources-type quote.
Detailed description sees table 6:
Table 6: Resource Properties
7) source attribute values meta-model
Definition span is the enumerated value of the Resource Properties of enumerated value.Multiple attributes that one Resource Properties is existed Value, if the different resources-type attribute-value ranges quoted is different, such as speed, then 8) every defined in resources-type attribute codomain table Plant the specific object value quoted needed for resource specification.
Detailed description sees table 7:
Logical field name Explanation
Source attribute values identifies
Resource Properties identifies
Title
Coding
Source attribute values
Sorting position
Table 7: source attribute values
8) resources-type attribute codomain meta-model
For resources-type attribute, the specific object value quoted needed for definition every kind is resources-type further, and each attribute Structure generating mode, as front-end interface be use combobox or pop-up window to select, the source etc. of data.
Detailed description sees table 8:
Table 8: resources-type attribute codomain
9) resources-type Feature Dependence Relation Element model
Defining the dependence between the Resource Properties under same resource specification, such as port type depends on port and uses On the way, service area depends on LAN.One Resource Properties may rely on other multiple Resource Properties, the Resource Properties being relied on Other Resource Properties can also be relied on again.
Table 9: resources-type Feature Dependence relation
10) Resource Role meta-model
Definition resource object performance under certain special scenes (such as networking model), it is simple to support same resources-type can be Occur with different role under different scenes.
Detailed description sees table 10:
Table 10: Resource Role
11) resources-type role meta-model
Definition Resource Role and resources-type relation.The resources-type meeting of same requires because of networking, management and is allocated difference Role.
Detailed description sees table 11:
Table 11: resources-type role
12) resources-type role attribute meta-model
Define every kind of resources-type Resource Properties under different resource role.Defined in the resources-type attribute of table 5 be with One resources-type Resource Properties union under different resource role.
Detailed description sees table 12:
Logical field name Explanation
Resources-type role belongs to
Property mark
Resources-type mark
Resource Role identifies
Resource Properties identifies
Table 12: resources-type role attribute
13) resources-type pattern meta-model
Define resources-type Show Styles in terms of topological diagram, panel figure etc. relate to figure displaying.Can customize resources-type, The impact on display properties (highly, width, icon, color etc.) of Resource Role, Resource Properties and property value.
Detailed description sees table 13:
Logical field name Explanation
Topology style identifications
Resources-type mark
Resource Role identifies
Resource Properties identifies
Source attribute values identifies
Icon
Highly Unit is pixel
Width Unit is pixel
Color RGB
Table 13: resources-type pattern
So far, Internet resources meta-model has defined.It will be appreciated by those skilled in the art that above Internet resources meta-model Definition be only the preferred embodiment of the present invention, implement the present invention time, technical staff can select according to actual needs need Field defined in Internet resources meta-model to be defined and this meta-model, the invention is not limited in this regard.
Then, see Fig. 3, as a example by newly added equipment class, the objective network in inventive network Resource Modeling Method is provided Source model adding procedure is described further:
Step 301, arranges target network resource class.
First, obtain target network resource category information, the information such as including the type of equipment class, title, coding, quote resource Resources-type catalogue mark in class catalogue listing (table 1), is stored in resources-type table (table 2) by the information of this part definition equipment class In.
Step 302, arranges target network resource generic attribute.
Resources-type attribute is the subset of Resource Properties, and the process defining resources-type attribute is i.e. from Resource Properties table (table 6) This part attribute is also bound by middle selection part attribute with resources-type, simultaneously to the codomain of resources-type attribute, resources-type The process that dependence between attribute and attribute is defined.
After equipment class has defined, from Resource Properties table (table 6), select device name, machine room title, equipment manufacturer, equipment Type, equipment purposes, repair and maintenance producer, safeguard the fields such as the director attribute as equipment class.
After selection, for data type for enumerating the dictionary such as field such as equipment manufacturer, device type, need from resource Query facility producer, the enumerated value scope of device type in attribute value table (table 7), according to the practical situation of equipment class to enumerated value Select, and the enumerated value mark of selection is charged in resources-type attribute codomain table (table 8).
If there is dependence, as device name depends on machine room title, then in resources-type attribute and other resources-type attributes Using equipment class mark, device name attribute-bit, machine room class mark, machine room name attribute mark as resources-type mark, Resources-type attribute-bit, rely on resources-type mark, rely on resources-type attribute-bit and charge to resources-type Feature Dependence relation table (table 9) In.
Step 303, arranges target network resource class and physical table mapping relations.
After target network resource class has defined, if instantiation, then can be by resources-type and physical table mapping definition resource The application entity of class association, i.e. selects which physical table is resources-type information should be stored in existing already present physical table.For The consideration of performance, the instance data of Internet resources class is likely stored in different physical table, and i.e. one resources-type example correspondence is many Individual physical storage table.
For equipment class, can be by device name, the information such as machine room title, equipment manufacturer is stored in equipment master meter, by repair and maintenance factory Family, safeguard that the confidence such as director are stored in equipment from table.Equipment master meter and equipment are attached by equipment class mark between table.
The table that this process relates to includes resources-type table (table 2), resources-type entity list (table 4).
Step 304, arranges target network resource generic attribute and physical table fields mapping relations.
After specifying the resources-type relation with physical table, need to further specify that resources-type attribute and physical field in physical table Corresponding relation, the most each attribute should store which field of physical table.
For equipment class, can be by device name, the information such as machine room title, equipment manufacturer is stored in the equip_ of equipment master meter The fields such as name, room_name, equip_vendor, by repair and maintenance producer, safeguard that the confidence such as director are stored in equipment from table The fields such as matain_vendor, mataincer.
The table that this process relates to includes resources-type (table 2), resources-type attribute list (table 5), resources-type entity (table 4).
Step 305, arranges target network resource category difference.
Resources-type relation includes comprising, inherits, association etc..For equipment class, equipment class and machine room class, equipment class with All there is relation with being connected between class etc. in port class, equipment class, this part relations can be by resources-type contextual definition and safeguard.
If the relation between equipment class and port class is inclusion relation, an equipment comprises multiple port, can be by equipment class Mark, port class mark, respectively as resources-type mark, correlated resources class mark, comprises as relationship type, charges to resources-type In relation table (table 3), complete the definition of equipment class and port class relation.
The table that this process relates to includes resources-type table (table 2), resources-type relation table (table 3).
In the following embodiments, we realized in Internet resources modeling process resources-type by definition class and method and The increasing newly of resources-type attribute information, revise, delete, inquire about.
The class of described definition includes: Interface Control class Action, Business Processing class DOM, database manipulation class DAO, resource Info class VO, the method that the most each apoplexy due to endogenous wind comprises is described as follows:
Below, see Fig. 4, Fig. 4 and show that network resources model increases the schematic flow sheet of an embodiment newly, specifically include:
Step 401, user submits the newly-increased request of network resources model to by system interface UI.
Step 402, carries out validity check to the information of user's input.
Step 403, calls action.add () method.
Step 404, calls vo.set () and carries out data assembly.
Increase the network resources model that user submits to newly data and be assembled into vo object.
Step 405, calls dom.add () method.
Step 406, newly-increased data validity checking.
Validity checking completes following logical process:
1) the most related resources-type application entity belonging to resources-type attribute need to be verified, if nothing, the most do not allow to add money Source generic attribute;
2) if " the most effective " of Resource Properties is no, the most resources-type attribute quotes this Resource Properties failure;
3) if whether " the inputting " of Resource Properties is no, and " enumeration type mark " has value, " enumerating of the most resources-type attribute Type identification " must there is value, and " value mode " is necessary for " from enumerating ", " enumerated value mark " must have value, and enumerates Value must exist in dictionary;
If whether " the inputting " of Resource Properties is no, and " enumeration type mark " without value, the most resources-type attribute " enumerate class Type identifies " must nothing be worth, and " value mode " is only in " from JAVA class ", " from entity list ", " from resources-type " A kind of.If value mode is " from JAVA class ", then JAVA class name, method name have to fill out;If value mode is " from entity Table ", then entity table name, the entities field value row of dependence, the entities field display row relied on, value expression formula must have value;If Value mode is " from resources-type ", then correlated resources class, relating attribute, display properties must have value;
If whether " the inputting " of Resource Properties is yes, " the enumeration type mark " of the most resources-type attribute without value, and " must take Value mode " can not there is value.
4) need to judge same resources-type under resources-type Property Name whether repeat;
5) if the initial value of resources-type attribute, stop value, default value are not filled in, then with initial value, the termination of Resource Properties Value, default value are as the value of resources-type attribute;If filling in, then with the initial value of resource generic attribute, stop value, the taking of default value Value is as the criterion.
Step 407, calls dao.add () method.
Step 408, resolves vo object, assembled SQL statement.
Step 409, performs SQL.
Step 410, returns newly-increased major key mark.
Including newly-increased resources-type mark or newly-increased resources-type attribute-bit.
Step 411, calls dao.findByID () method.
Press major key mark inquiry data.
Step 412, is assembled into vo object by Query Result.
Step 413, returns Query Result vo.
Step 414, returns newly-increased result vo.
Step 415, is JASON object by vo object encapsulation.
Step 416, returns newly-increased result JASON object.
See the schematic flow sheet that Fig. 5, Fig. 5 show the network resources model amendment of the embodiment of the present invention, including:
Step 501, user submits to network resources model more newly requested by system interface UI.
Step 502, checks page data legitimacy.
Step 503, calls action.update () method.
Step 504, calls vo.set () method, carries out data assembled.
The network resources model more new data that user submits to is packaged into vo object.
Step 505, calls dom.update () method.
Step 506, data update validity checking.
Step 507, calls dao.update () method.
Step 508, resolves vo object, assembled update statement.
Step 509, performs SQL.
Step 510, completes data and updates.
Step 511, completes data and updates.
Step 512, is updated successfully prompting.
See the schematic flow sheet that Fig. 6, Fig. 6 show that the network resources model of the embodiment of the present invention is deleted, including:
Step 601, user submits network resources model removal request to by system interface UI.
Step 602, calls action.delete () method.
Step 603, calls dom.delete () method.
Step 604, data deletion validity checking.
If resources-type attribute to be deleted has the instance data of correspondence, do not allow to be deleted;
If resources-type attribute to be deleted is by other Feature Dependences, do not allow to be deleted
Step 605, calls dao.delete () method.
Step 606, generates delete statement.
Step 607, performs SQL.
Step 608, completes to delete.
Step 609, completes to delete.
Step 610, completes to delete.
Step 611, prompting is deleted successfully.
Above a kind of network resources model modeling method provided by the present invention is described, referring to said method The content of embodiment, is described a kind of network resources model modeling of the present invention:
See Fig. 7, Fig. 7 and show the structural representation of a kind of Internet resources modeling of the present invention, described system Include:
Internet resources meta-model arranges module 710, is used for arranging Internet resources meta-model;
Internet resources MBM 720, models for Internet resources,
Described Internet resources MBM 720 includes:
Target network resource model adding device 721, specifically includes:
Resource object acquisition of information subelement 7210, is used for obtaining target network resource object information;
Resource object attribute information obtains subelement 7211, is used for obtaining target network resource object properties information;
Objective network model storing sub-units 7212, for providing described target network resource object information and objective network Source object attribute information adds in the target network resource model that extremely described Internet resources meta-model is corresponding.
Wherein, described Internet resources meta-model arrange module 710 be additionally operable to arrange:
Internet resources class meta-model and/or
Internet resources generic attribute meta-model and/or
Internet resources category difference meta-model;
Described target network resource model includes:
Target network resource class model and/or
Target network resource generic attribute model and/or
Target network resource category difference model;
Described target network resource model adding device 721 also includes:
First maps subelement 7213, for arranging the mapping relations of target network resource class and physical table;
Second maps subelement 7214, for arranging the mapping relations of target network resource generic attribute and physical table field;
Resource category difference arranges subelement 7215, is used for arranging target network resource category difference, described objective network Resource category difference includes: comprises and/or inherits and/or associate.
Wherein, described Internet resources MBM 720 also includes:
Target network resource model modification unit 722, specifically includes:
Model modification data acquisition subelement 7221, for obtaining the model modification data of target network resource model;
Model data updates subelement 7222, for model modification data update described target network resource model pair In the physical table answered.
Wherein, described Internet resources MBM 720 also includes:
Subelement 723 deleted by target network resource model, specifically includes:
Model data deletes unit 7231, deletes from corresponding physical table according to the target network resource model identification specified Except model data.
Wherein, described Internet resources meta-model arrange module 710 be additionally operable to arrange:
Internet resources class catalogue meta-model and/or
Internet resources class entity meta-model and/or
Internet resources attribute meta-model and/or
Internet resources property value meta-model and/or
Internet resources generic attribute codomain meta-model and/or
Internet resources generic attribute dependence meta-model and/or
Internet resources role meta-model and/or
Internet resources class role meta-model and/or
Internet resources class pattern meta-model.
Algorithm and display are not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant provided herein. Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system Structure be apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use various Programming language realizes the content of invention described herein, and the description done language-specific above is to disclose this Bright preferred forms.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case of not having these details.In some instances, it is not shown specifically known method, structure And technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that one or more in order to simplify that the disclosure helping understands in each inventive aspect, exist Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.But, the method for the disclosure should not be construed to reflect an intention that i.e. required guarantor The application claims feature more more than the feature being expressly recited in each claim protected.More precisely, as following Claims reflected as, inventive aspect is all features less than single embodiment disclosed above.Therefore, The claims following detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each claim itself All as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment adaptively Change and they are arranged in one or more equipment different from this embodiment.Can be the module in embodiment or list Unit or assembly are combined into a module or unit or assembly, and can put them in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit excludes each other, can use any Combine all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint Where method or all processes of equipment or unit are combined.Unless expressly stated otherwise, this specification (includes adjoint power Profit requires, summary and accompanying drawing) disclosed in each feature can be carried out generation by providing identical, equivalent or the alternative features of similar purpose Replace.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include other embodiments Some feature included by rather than further feature, but the combination of the feature of different embodiment means to be in the present invention's Within the scope of and form different embodiments.Such as, in the following claims, embodiment required for protection appoint One of meaning can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or to run on one or more processor Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that and can use in practice Microprocessor or digital signal processor (DSP) realize in a kind of Internet resources modeling according to embodiments of the present invention The some or all functions of some or all parts.The present invention is also implemented as performing side as described herein Part or all equipment of method or device program (such as, computer program and computer program).Such The program realizing the present invention can store on a computer-readable medium, or can have the shape of one or more signal Formula.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or with any other shape Formula provides.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of not Arrange element in the claims or step.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such Element.The present invention and can come real by means of including the hardware of some different elements by means of properly programmed computer Existing.If in the unit claim listing equipment for drying, several in these devices can be by same hardware branch Specifically embody.Word first, second and third use do not indicate that any order.These word explanations can be run after fame Claim.

Claims (8)

1. an Internet resources modeling method, it is characterised in that including:
Internet resources meta-model is set;Described Internet resources meta-model includes: Internet resources class meta-model and/or Internet resources class Attribute meta-model and/or Internet resources category difference meta-model;
Internet resources model, including:
Target network resource model adds, and specifically includes:
Obtain target network resource object information;
Obtain target network resource object properties information;
Described target network resource object information and target network resource object properties information are added to described Internet resources unit In the target network resource model that model is corresponding;
The mapping relations of target network resource class and physical table are set;
The mapping relations of target network resource generic attribute and physical table field are set;
Arranging target network resource category difference, described target network resource category difference includes: comprise and/or inherit and/or Association;
Wherein, described target network resource model includes: target network resource class model and/or target network resource generic attribute mould Type and/or target network resource category difference model.
2. the method for claim 1, it is characterised in that the modeling of described Internet resources also includes:
Target network resource model modification, specifically includes:
Obtain the model modification data of target network resource model;
Described model modification data are updated in the physical table that described target network resource model is corresponding.
3. method as claimed in claim 2, it is characterised in that the modeling of described Internet resources also includes:
Target network resource model is deleted, and specifically includes:
According to the target network resource model identification specified case-deleted models data from corresponding physical table.
4. method as claimed in claim 3, it is characterised in that described Internet resources meta-model also includes:
Internet resources class catalogue meta-model and/or
Internet resources class entity meta-model and/or
Internet resources attribute meta-model and/or
Internet resources property value meta-model and/or
Internet resources generic attribute codomain meta-model and/or
Internet resources generic attribute dependence meta-model and/or
Internet resources role meta-model and/or
Internet resources class role meta-model and/or
Internet resources class pattern meta-model.
5. an Internet resources modeling, it is characterised in that including:
Internet resources meta-model arranges module, is used for arranging Internet resources meta-model;Described Internet resources meta-model includes: network Resources-type meta-model and/or Internet resources generic attribute meta-model and/or Internet resources category difference meta-model;
Internet resources MBM, models for Internet resources,
Described Internet resources MBM includes:
Target network resource model adding device, specifically includes:
Resource object acquisition of information subelement, is used for obtaining target network resource object information;
Resource object attribute information obtains subelement, is used for obtaining target network resource object properties information;
Objective network model storing sub-units, for belonging to described target network resource object information and target network resource object Property information add to target network resource model corresponding to described Internet resources meta-model;
First maps subelement, for arranging the mapping relations of target network resource class and physical table;
Second maps subelement, for arranging the mapping relations of target network resource generic attribute and physical table field;
Resource category difference arranges subelement, is used for arranging target network resource category difference, between described target network resource class Relation includes: comprises and/or inherits and/or associate;
Wherein, described target network resource model includes: target network resource class model and/or target network resource generic attribute mould Type and/or target network resource category difference model.
6. system as claimed in claim 5, it is characterised in that described Internet resources MBM also includes:
Target network resource model modification unit, specifically includes:
Model modification data acquisition subelement, for obtaining the model modification data of target network resource model;
Model data updates subelement, for model modification data update the physics that described target network resource model is corresponding In table.
7. system as claimed in claim 6, it is characterised in that described Internet resources MBM also includes:
Subelement deleted by target network resource model, specifically includes:
Model data deletes unit, for deleting mould from corresponding physical table according to the target network resource model identification specified Type data.
8. system as claimed in claim 5, it is characterised in that described Internet resources meta-model arranges module and is additionally operable to arrange:
Internet resources class catalogue meta-model and/or
Internet resources class entity meta-model and/or
Internet resources attribute meta-model and/or
Internet resources property value meta-model and/or
Internet resources generic attribute codomain meta-model and/or
Internet resources generic attribute dependence meta-model and/or
Internet resources role meta-model and/or
Internet resources class role meta-model and/or
Internet resources class pattern meta-model.
CN201310008131.XA 2013-01-09 2013-01-09 A kind of Internet resources modeling method and system Active CN103107919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310008131.XA CN103107919B (en) 2013-01-09 2013-01-09 A kind of Internet resources modeling method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310008131.XA CN103107919B (en) 2013-01-09 2013-01-09 A kind of Internet resources modeling method and system

Publications (2)

Publication Number Publication Date
CN103107919A CN103107919A (en) 2013-05-15
CN103107919B true CN103107919B (en) 2016-12-28

Family

ID=48315499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310008131.XA Active CN103107919B (en) 2013-01-09 2013-01-09 A kind of Internet resources modeling method and system

Country Status (1)

Country Link
CN (1) CN103107919B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105988786A (en) * 2015-02-06 2016-10-05 北京仿真中心 Method for establishing data flow integration model by using UML and XML mapping
CN109446385B (en) * 2018-11-14 2022-06-14 中国科学院计算技术研究所 Method for establishing network resource equipment map and using method of equipment map
CN110245128B (en) * 2019-06-18 2022-07-19 北京明略软件系统有限公司 Meta-model establishing method and device, storage medium and electronic device
CN112925635A (en) * 2019-12-06 2021-06-08 中盈优创资讯科技有限公司 Logic resource processing method and device
CN111061817B (en) * 2019-12-16 2023-05-09 华云数据有限公司 Adaptive business construction system, method and computer readable medium
CN111240739B (en) * 2020-01-21 2022-04-15 烽火通信科技股份有限公司 Dynamic concurrent distribution method and system for associated attributes of objects

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453379A (en) * 2009-01-06 2009-06-10 中国人民解放军信息工程大学 Resource management method and system
CN101815003A (en) * 2010-02-23 2010-08-25 浪潮通信信息系统有限公司 Uniform resource model of full service converged network
CN102520622A (en) * 2011-12-20 2012-06-27 西华大学 Vehicle embedded real-time control system performance modeling language
CN102571400A (en) * 2010-12-29 2012-07-11 中国移动通信集团设计院有限公司 Method, system and device for updating communication network resource model
CN102567932A (en) * 2010-12-30 2012-07-11 北京亿阳信通软件研究院有限公司 Method, device and system for managing comprehensive resources

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453379A (en) * 2009-01-06 2009-06-10 中国人民解放军信息工程大学 Resource management method and system
CN101815003A (en) * 2010-02-23 2010-08-25 浪潮通信信息系统有限公司 Uniform resource model of full service converged network
CN102571400A (en) * 2010-12-29 2012-07-11 中国移动通信集团设计院有限公司 Method, system and device for updating communication network resource model
CN102567932A (en) * 2010-12-30 2012-07-11 北京亿阳信通软件研究院有限公司 Method, device and system for managing comprehensive resources
CN102520622A (en) * 2011-12-20 2012-06-27 西华大学 Vehicle embedded real-time control system performance modeling language

Also Published As

Publication number Publication date
CN103107919A (en) 2013-05-15

Similar Documents

Publication Publication Date Title
CN103107919B (en) A kind of Internet resources modeling method and system
CN104133772B (en) Automatic test data generation method
CN103617037B (en) Development approach and web development system for web development system
US7895566B2 (en) System and method for building a deployable component based application
AU2014216556B2 (en) Building applications for configuring processes
AU2010337218B2 (en) Specifying user interface elements
US10778688B2 (en) Descendent case role alias
US20070106629A1 (en) System and method for accessing data
CN102254029B (en) View-based data access system and method
CN106250158A (en) The layout method of a kind of client end interface, device and mobile device
CN107729031B (en) Code administration method, apparatus, computer equipment and computer readable storage medium
AU2020298056B2 (en) Autolayout of visualizations based on graph data
CN105164660A (en) Cloud based service design inheritance
WO2010118416A2 (en) Software database system and process of building and operating the same
US8140470B2 (en) Unified and extensible implementation of a change state ID for update services based on a hash calculation
US20090049009A1 (en) Method and system for software object profile management
CN104679500B (en) Method and device for realizing automatic generation of entity class
CN102222278A (en) Operation process customizing method and device
CN107291471A (en) A kind of Meta model framework system for supporting customizable data acquisition
CN104850565A (en) Metadata management method based on K-V storage system
CN115993966B (en) Application development system and method
CN115237380A (en) Low-code development system and method based on element codes
CN110825395B (en) Multi-plug-in layered deployment system, device and medium
CN102054041A (en) Method and system for upgrading metadata
US20230099501A1 (en) Masking shard operations in distributed database systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant