CN110334002A - A kind of design methods and relevant device - Google Patents
A kind of design methods and relevant device Download PDFInfo
- Publication number
- CN110334002A CN110334002A CN201910427753.3A CN201910427753A CN110334002A CN 110334002 A CN110334002 A CN 110334002A CN 201910427753 A CN201910427753 A CN 201910427753A CN 110334002 A CN110334002 A CN 110334002A
- Authority
- CN
- China
- Prior art keywords
- ontology
- attribute
- object module
- user
- rule
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention provides a kind of design methods and relevant devices, for being designed to the corresponding model of ontology in platform.This method comprises: obtaining at least one ontology, at least one described ontology is the ontology of attribute to be modified;Receive the operational order of user;The corresponding operation rule of attribute of at least one ontology is determined according to the operational order of the user;Object module is determined based on the corresponding operation rule of attribute of at least one ontology.
Description
Technical field
The present invention relates to testing field more particularly to a kind of design methods and relevant device.
Background technique
While economic development, every rapid technological improvement, computer technology is widely used and develops.Soft
While part is continually developed, the problem of following various aspects, is also gradually highlighted.Seriously affect the use and exploitation of software.
By the research to software, developer compares the function and encoded test for paying attention to software in the exploitation of software
Research.But but ignoring the key element of software --- the quality of the performance of software, software performance decides the use of software
Service life and economic benefit, therefore, it is necessary to strictly pay attention to the exploitation of software performance.Data library test is the base to software performance detection
The performance of plinth, its performance quality and software is closely related.So to the test of database be also particularly important with caution.And
And manual test is just not easily achieved in the test of performance, it is desirable that the software test of automation.Such as simulation hundreds of thousands
Or million user data access, manual test is obviously unworkable, needs by automatic test.
In data library test, test object and test result are abstracted as ontology, the data paid close attention to due to different users
Library or performance indicator are often different, it is therefore desirable to redefine to the attribute of ontology, and redefine to the attribute of ontology
It then needs to use modelling.
Summary of the invention
The embodiment of the invention provides a kind of design methods and relevant devices, for corresponding to the ontology in platform
Model is designed.
The first aspect of the embodiment of the present invention provides a kind of design methods, comprising:
At least one ontology is obtained, at least one described ontology is the ontology of attribute to be modified;
Receive the operational order of user;
The corresponding operation rule of attribute of at least one ontology is determined according to the operational order of the user;
Object module is determined based on the corresponding operation rule of attribute of at least one ontology.
Optionally, the corresponding operation rule of the attribute of at least one ontology includes at least one in following operation rule
It is a:
Arithmetic operator, set operation, functional operation, relational calculus and database table operation.
Optionally, the arithmetic operator includes at least in add operation, subtraction, multiplying and division arithmetic
It is a kind of;
The set operation includes at least one of intersection, union, supplementary set and difference set;
The functional operation includes at least maximum value calculation, minimum value calculates, in mean value calculation and read group total
It is a kind of;
The relational calculus is included at least greater than operation, less-than operation and not equal to one of operation;
The database table operation includes at least one of selection, projection and connection.
Optionally, the corresponding operation rule of the attribute based at least one ontology determines object module.Later,
The method also includes:
It is redefined according to attribute of the object module at least one ontology.
Optionally, the attribute of at least one ontology includes static attribute and dynamic attribute, described according to the mesh
Mark model redefine to the attribute of at least one ontology
When only including an ontology at least one described ontology, according to the object module at least one described sheet
The static attribute of body is operated, and is redefined with the dynamic attribute at least one ontology;
When at least one described ontology including two or more ontologies, according to the object module to described
The static attribute and dynamic attribute of at least one ontology carry out operation, after obtaining redefining static attribute and dynamic attribute
At least one described ontology.
Second aspect of the embodiment of the present invention provides a kind of modelling device, comprising:
Acquiring unit, for obtaining at least one ontology, at least one described ontology is the ontology of attribute to be modified;
Receiving unit, for receiving the operational order of user;
Determination unit, for determining the corresponding fortune of attribute of at least one ontology according to the operational order of the user
Calculate rule;
The determination unit determines target mould for the corresponding operation rule of attribute based at least one ontology
Type.
Optionally, the corresponding operation rule of the attribute of at least one ontology includes at least one in following operation rule
It is a:
Arithmetic operator, set operation, functional operation, relational calculus and database table operation.
Optionally, the arithmetic operator includes at least in add operation, subtraction, multiplying and division arithmetic
It is a kind of;
The set operation includes at least one of intersection, union, supplementary set and difference set;
The functional operation includes at least maximum value calculation, minimum value calculates, in mean value calculation and read group total
It is a kind of;
The relational calculus is included at least greater than operation, less-than operation and not equal to one of operation;
The database table operation includes at least one of selection, projection and connection.
Optionally, described device further include:
Processing unit, for being redefined according to attribute of the object module at least one ontology.
Optionally, the attribute of at least one ontology includes static attribute and dynamic attribute, the processing unit root
Redefine according to attribute of the object module at least one ontology include:
When only including an ontology at least one described ontology, according to the object module at least one described sheet
The static attribute of body is operated, and is redefined with the dynamic attribute at least one ontology;
When at least one described ontology including two or more ontologies, according to the object module to described
The static attribute and dynamic attribute of at least one ontology carry out operation, after obtaining redefining static attribute and dynamic attribute
At least one described ontology.
Third aspect present invention provides a kind of electronic equipment, including memory, processor, which is characterized in that the place
Reason device realizes the modelling as described in above-mentioned any one when being used to execute the computer management class method stored in memory
The step of method.
Fourth aspect present invention provides a kind of computer readable storage medium, is stored thereon with computer management class
Sequence, it is characterised in that: the model as described in above-mentioned any one is realized when the computer management class method is executed by processor
The step of design method.
In conclusion at least one ontology can be obtained according to the demand of user in advance in embodiment provided by the invention
The corresponding operation rule of attribute, and object module is determined according to the operation rule, can be at least one according to object module
Ontology is redefined, and directly can obtain redefining the attribute of ontology in program application by the attribute value of at least one ontology
Value, improves ontology reusability and adaptivity, has ensured the scalability of platform.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of design methods provided in an embodiment of the present invention;
Fig. 2 is a kind of embodiment schematic diagram of modelling device provided in an embodiment of the present invention;
Fig. 3 is a kind of hardware structural diagram of modelling device provided in an embodiment of the present invention;
Fig. 4 is the embodiment schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 5 is a kind of embodiment schematic diagram of computer readable storage medium provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of design methods and relevant devices, for the corresponding mould of ontology in platform
Type is designed.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that
Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit
In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce
The other step or units of product or equipment inherently.Following will be combined with the drawings in the embodiments of the present invention, in the embodiment of the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are only a part of the embodiments of the present invention, and
The embodiment being not all of.
Design methods are illustrated from the angle of modelling device below, which can be clothes
Business device, or the service unit in server, specifically without limitation.
Modelling device in the present invention is applied to data base management system automatic test platform (Database
Automation Testing Platform, DBTP), DBTP platform integrated application data test and monitoring resource function help
User controls data resource, the quality of data, data safety comprehensively, and the database product for needing to provide before construction for user selects
Data in type, construction administer the full construction life cycle service of the system optimization upgrading after supervision, construction.The DBTP platform packet
Include following design constraint:
It 1, should be according to TPC series of reference and database design specification, from database practical application scene angle, design
With the automated test frame of exploitation database;
2, should be using practical business scene as starting point, specialty characteristics, working method, the Business Stream of combined data library test
Journey carries out systemic software development using general technology and product as far as possible;
3, the software and model of system development should make every effort to the high start and advance of technique direction under the premise of practical,
And the development trend of adaptive technique, to guarantee that system has open, expandability and longer life cycle;
4, the design and exploitation of system are carried out using open structure;Under the hardware environment with expandability,
System can constantly add new service module function in the process of running.
The logical architecture of DBTP platform is illustrated below, the logical architecture of the DBTP platform includes ontology definition clothes
Business, modelling service, service construction service, process design service, application execution service and system administration services, wherein
The DBTP platform can integrate multiple testing tools, such as TPC-E tool (for the test benchmark of online transaction performance), TPC-
DS tool (for the test benchmark of on-line analysis performance), ACID tool (four fundamentals that db transaction correctly executes
Abbreviation, include: atomicity (Atomicity), consistency (Consistency), isolation (Isolation), persistence
(Durability)) it and the tools such as field testing tool, can also also be added according to the demand of user certainly, specifically not
It limits.In addition, the DBTP platform includes multiple platform databases, such as ontology library, model library, service library, process library etc..
Each service in DBTP platform is illustrated below:
1, ontology definition service:
Form a set of body design data structure, the i.e. definition procedure of class, including attribute definition, action definition and reality
Existing, ontology is the basic data refined according to platform feature, and it includes a variety of attributes: characteristic attribute, functional attributes, wherein feature
Attribute is its essential attribute (namely static attribute), and user can directly define, and attribute value passes through service assignment;And function category
Property, it is the derivative of characteristic attribute, need to be got according to characteristic attribute progress operation (i.e. dynamic attribute, according to the demand of user not
Define together different), it can be defined by model, service assignment.Ontology movement definition include movement coding, denomination of dive,
Act the definition of API (Application Programming Interface, application programming interface) etc..
2, modelling service:
Modelling is the static attribute or dynamic attribute for single ontology or multiple ontologies, carries out series of computation
(arithmetic operator, set operation, functional operation, relational calculus, database table operation), redefines the process of ontology.It is designed
Model can provide computing capability and combine different ontologies to construct new ontology.
(1) computing capability is provided:
A series of operations are carried out to one or more Noumenon properties (such as dynamic attribute), as arithmetic operator (add, subtract, multiply,
Except), set operation (intersecting and merging, benefit, difference), functional operation (maximum, minimum, average, summation etc.), relational calculus (be greater than, be less than,
Not equal to etc.) and the calculating of database table operation (selection, projection, connection) support.
(2) combined body constructs new ontology:
Ontology can be redefined by modelling.The advantage of doing so is that only being needed when the requirement of user changes
Ontology is redefined, the attribute value of the ontology can be calculated by original Noumenon property value to be directly obtained, former without changing
Some ontology definitions or programmed logic substantially increase the scalability of platform.
3, service construction service:
To the process of instances of ontology object value.Service may include: (TPC-E test, TPC-DS are surveyed for testing service
Examination, ACID test, field test etc.), configuration service, monitoring service, statistical fractals, Visualization Service, log services, report take
Business, rule service, verification service and other services etc., specifically without limitation.
4, process design service:
The components such as metaflow, relation line and logic judgment are provided, when process design select first metaflow configuration ontology or
Then multiple configured metaflows are formed an executable stream using relation line and logic judgment combination layout by service
Journey.The design of DBTP supporting node, verification, debugging function, the process after debugging successfully can save as flow template, comprising:
TPC-E testing process simulated templates, TPC-DS testing process template, ACID testing process template, cluster testing process template, number
According to standardized test flow template, monitoring class testing flow template, can also also be designed according to the demand of user certainly.
5, application execution service:
Process is combined actual test environment and test/business datum by DBTP platform, is counted in the actual environment
According to the process that verifying and operation execute, output form can be shown by DBTP platform as a result, or being taken by DBTP platform
Business interface output.
6, system administration services:
For being managed to system user, role and permission.
Design methods provided in an embodiment of the present invention are described in detail below with reference to Fig. 1, the modelling side
Method includes:
101, at least one ontology is obtained.
In the present embodiment, at least one available ontology of modelling device, at least one ontology is category to be modified
The ontology of property.Specifically do not limit how to obtain at least one ontology herein.At least one ontology includes but is not limited to
Database table ontology, monitoring ontology and test bodies.
102, the operational order of user is received.
In the present embodiment, modelling device can receive the operational order of user, that is to say, that modelling can obtain
Know that the demand of user, such as user want the ID card No. for finding out the student of some course score qualification in list of results, learns
Raw personal information is in a table, and course achievement information is in another table.
103, the corresponding operation rule of attribute for determining at least one ontology is instructed depending on the user's operation.
In the present embodiment, modelling device can instruct the attribute pair for determining at least one ontology depending on the user's operation
The operation rule answered.For example the corresponding demand of operational order of user is to the attribute x and attribute y progress x* in an ontology
Y operation selects multiplicand x attribute, and " * " in Selecting operation rule, reselection multiplier y, this creates the terminal the dynamic of x*y
State attribute.
It should be noted that the corresponding operation rule of at least one ontology includes at least one in following operation rule
It is a: arithmetic operator, set operation, functional operation, relational calculus and database table operation;The arithmetic operator includes at least addition
One of operation, subtraction, multiplying and division arithmetic;The set operation include at least intersection, union, supplementary set with
And one of difference set;The functional operation includes at least maximum value calculation, minimum value calculating, mean value calculation and read group total
One of;The relational calculus is included at least greater than operation, less-than operation and not equal to one of operation;The database table
Operation includes at least one of selection, projection and connection.
104, object module is determined based on the corresponding operation rule of the attribute of at least one ontology.
In the present embodiment, after the corresponding operation rule of attribute for obtaining at least one ontology, at least one can be based on
The corresponding operation rule of the attribute of a ontology determines object module.Such as user wants to find out some course score in list of results
The ID card No. of qualified student, and the personal information of student is in a table (student's table), course achievement information is another
It opens in table (list of results), just needs to carry out conjunctive query to the two tables at this time.Two tables not in the same ontology (namely
Say that a table is a table ontology), here it is the attributes to multiple ontologies to operate.Select the two tables, to it is therein at
Achievement table carries out (achievement >=60) screening and obtains the ID of qualifying student, is then attached two tables according to ID attribute, in student
Inquiry meets the identification card number of condition of contact in table, and the screening, connection and inquiry obtain object module.
It should be noted that can be carried out according to attribute of the object module at least one ontology after object module
Modification.The attribute of at least one ontology includes static attribute and dynamic attribute, specific:
When only including an ontology at least one ontology, carried out according to attribute of the object module at least one ontology
Operation;Such as the operational order of user correspond to demand be in an ontology attribute x and attribute y carry out x*y operation, selection
Multiplicand x attribute, Selecting operation rule in " * ", reselection multiplier y attribute, this creates the terminal the dynamic categories of an x*y
Property, i.e., the attribute of at least one ontology is redefined.
When at least one ontology including two or more ontologies, according to object module at least one ontology
Static attribute and dynamic attribute carry out operation, with obtain redefining after static attribute and dynamic attribute at least one this
Body.Such as user wants the ID card No. that the student of some course score qualification is found out in list of results, and the individual of student
In a table (student's table), course achievement information just needs at this time in another table (list of results) to the two tables information
Carry out conjunctive query.Two tables (that is a table is a table ontology) not in the same ontology, here it is to multiple
The attribute of ontology is operated.The two tables are selected, (achievement >=60) screening is carried out to list of results therein and obtains qualifying student
ID, then two tables are attached according to ID attribute, inquiry meets the identification card number of condition of contact, the sieve in student's table
Choosing, connection and inquiry obtain object module, that is, generate the new definition of an ontology.
In conclusion at least one ontology can be obtained according to the demand of user in advance in embodiment provided by the invention
The corresponding operation rule of attribute, and object module is determined according to the operation rule, can directly pass through at least one in
The attribute value of ontology obtains the attribute value of object module, improves ontology reusability and adaptivity, and ensured platform can
Scalability.
Design methods in the embodiment of the present invention are described above, below to the model in the embodiment of the present invention
Design device is described.
Referring to Fig. 2, in the embodiment of the present invention modelling device one embodiment, which includes:
Acquiring unit 201, for obtaining at least one ontology, at least one described ontology is the ontology of attribute to be modified;
Receiving unit 202, for receiving the operational order of user;
Determination unit 203, for determining that the attribute of at least one ontology is corresponding according to the operational order of the user
Operation rule;
The determination unit 203 is also used to determine mesh based on the corresponding operation rule of attribute of at least one ontology
Mark model.
Optionally, the corresponding operation rule of the attribute of at least one ontology includes at least one in following operation rule
It is a:
Arithmetic operator, set operation, functional operation, relational calculus and database table operation.
Optionally, the arithmetic operator includes at least in add operation, subtraction, multiplying and division arithmetic
It is a kind of;
The set operation includes at least one of intersection, union, supplementary set and difference set;
The functional operation includes at least maximum value calculation, minimum value calculates, in mean value calculation and read group total
It is a kind of;
The relational calculus is included at least greater than operation, less-than operation and not equal to one of operation;
The database table operation includes at least one of selection, projection and connection.
Optionally, described device further include:
Processing unit 204, for being redefined according to attribute of the object module at least one ontology.
Optionally, the attribute of at least one ontology includes static attribute and dynamic attribute, the processing unit 204
Redefine according to attribute of the object module at least one ontology include:
When only including an ontology at least one described ontology, according to the object module at least one described sheet
The static attribute of body is operated, and is redefined with the dynamic attribute at least one ontology;
When at least one described ontology including two or more ontologies, according to the object module to described
The static attribute and dynamic attribute of at least one ontology carry out operation, after obtaining redefining static attribute and dynamic attribute
At least one described ontology.
Above figure 2 retouches the modelling device in the embodiment of the present invention from the angle of modular functionality entity
It states, the modelling device in the embodiment of the present invention is described in detail from the angle of hardware handles below, referring to Fig. 3,
300 one embodiment of modelling device in the embodiment of the present invention, comprising:
(wherein the quantity of processor 303 can be with for input unit 301, output device 302, processor 303 and memory 304
One or more, in Fig. 3 by taking a processor 303 as an example).In some embodiments of the invention, input unit 301, output
Device 302, processor 303 and memory 304 can be connected by bus or other means, wherein to be connected by bus in Fig. 3
For.
Wherein, the operational order stored by calling memory 304, processor 303, for executing following steps:
At least one ontology is obtained, at least one described ontology is the ontology of attribute to be modified;
Receive the operational order of user;
The corresponding operation rule of attribute of at least one ontology is determined according to the operational order of the user;
Object module is determined based on the corresponding operation rule of attribute of at least one ontology.
In the specific implementation process, when processor 320 executes computer program 311, the corresponding embodiment of Fig. 1 may be implemented
Middle any embodiment.
As shown in figure 4, the embodiment of the invention provides a kind of electronic equipment, including memory 410, processor 420 and deposit
The computer program 411 that can be run on memory 420 and on processor 420 is stored up, processor 420 executes computer program
It is performed the steps of when 411
At least one ontology is obtained, at least one described ontology is the ontology of attribute to be modified;
Receive the operational order of user;
The corresponding operation rule of attribute of at least one ontology is determined according to the operational order of the user;
Object module is determined based on the corresponding operation rule of attribute of at least one ontology.
In the specific implementation process, when processor 420 executes computer program 411, the corresponding embodiment of Fig. 1 may be implemented
Middle any embodiment.
Since the electronic equipment that the present embodiment is introduced is adopted by modelling device a kind of in the implementation embodiment of the present invention
Equipment, so based on method described in the embodiment of the present invention, those skilled in the art can understand this implementation
The specific embodiment and its various change form of the electronic equipment of example, so how to realize this for the electronic equipment herein
Method in inventive embodiments is no longer discussed in detail, as long as those skilled in the art implement the method in the embodiment of the present invention
Used equipment belongs to the range of the invention to be protected.
Referring to Fig. 5, Fig. 5 is a kind of embodiment signal of computer readable storage medium provided in an embodiment of the present invention
Figure.
As shown in figure 5, present embodiments providing a kind of computer readable storage medium 500, it is stored thereon with computer journey
Sequence 511, the computer program 511 realize following steps when being executed by processor:
At least one ontology is obtained, at least one described ontology is the ontology of attribute to be modified;
Receive the operational order of user;
The corresponding operation rule of attribute of at least one ontology is determined according to the operational order of the user;
Object module is determined based on the corresponding operation rule of attribute of at least one ontology.
In the specific implementation process, Fig. 1 corresponding embodiment may be implemented when which is executed by processor
Middle any embodiment.
It should be noted that in the above-described embodiments, all emphasizing particularly on different fields to the description of each embodiment, in some embodiment
The part being not described in may refer to the associated description of other embodiments.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions
And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to
Enable the processor of general purpose computer, special purpose computer, embedded computer or other programmable models design equipment to produce
A raw machine, so that being generated by the instruction that the processor that computer or other programmable models design equipment executes for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable models design equipment with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions can also be loaded into computer or other programmable models design equipment, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The embodiment of the invention also provides a kind of computer program product, which includes computer software
Instruction, when computer software instructions are run on a processing device, so that processing equipment is executed such as the mould in Fig. 1 corresponding embodiment
Process in the design method of type.
The computer program product includes one or more computer instructions.Load and execute on computers the meter
When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer can
To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited
Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium
Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center
Such as coaxial cable, optical fiber, Digital Subscriber Line (digital subscriber line, DSL)) or wireless (such as infrared, wireless,
Microwave etc.) mode transmitted to another web-site, computer, server or data center.It is described computer-readable to deposit
Storage media can be any usable medium that computer can store or include the integrated clothes of one or more usable mediums
The data storage devices such as business device, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape),
Optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk (solid state disk, SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory,
ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. are various can store program
The medium of code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to carry out repairing this or equivalent replacement of some of the technical features;And these
Repair this or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of design methods characterized by comprising
At least one ontology is obtained, at least one described ontology is the ontology of attribute to be modified;
Receive the operational order of user;
The corresponding operation rule of attribute of at least one ontology is determined according to the operational order of the user;
Object module is determined based on the corresponding operation rule of attribute of at least one ontology.
2. the method according to claim 1, wherein the corresponding operation rule of the attribute of at least one ontology
Including at least one in following operation rule:
Arithmetic operator, set operation, functional operation, relational calculus and database table operation.
3. according to the method described in claim 2, it is characterized in that,
The arithmetic operator includes at least one of add operation, subtraction, multiplying and division arithmetic;
The set operation includes at least one of intersection, union, supplementary set and difference set;
The functional operation includes at least one of maximum value calculation, minimum value calculating, mean value calculation and read group total;
The relational calculus is included at least greater than operation, less-than operation and not equal to one of operation;
The database table operation includes at least one of selection, projection and connection.
4. method according to any one of claims 1 to 3, which is characterized in that described based at least one described sheet
The corresponding operation rule of the attribute of body determines object module.Later, the method also includes:
It is redefined according to attribute of the object module at least one ontology.
5. according to the method described in claim 4, it is characterized in that, the attribute of at least one ontology include static attribute with
And dynamic attribute, it is described redefine according to attribute of the object module at least one ontology include:
When only including an ontology at least one described ontology, according to the object module at least one ontology
Static attribute carries out operation, is redefined with the dynamic attribute at least one ontology;
When at least one described ontology include two or more ontologies when, according to the object module to it is described at least
The static attribute and dynamic attribute of one ontology carry out operation, to obtain redefining the institute after static attribute and dynamic attribute
State at least one ontology.
6. a kind of modelling device characterized by comprising
Acquiring unit, for obtaining at least one ontology, at least one described ontology is the ontology of attribute to be modified;
Receiving unit, for receiving the operational order of user;
Determination unit, for determining that the corresponding operation of attribute of at least one ontology is advised according to the operational order of the user
Then;
The determination unit determines object module for the corresponding operation rule of attribute based at least one ontology.
7. device according to claim 6, which is characterized in that the corresponding operation rule of the attribute of at least one ontology
Including at least one in following operation rule:
Arithmetic operator, set operation, functional operation, relational calculus and database table operation.
8. device according to claim 7, which is characterized in that
The arithmetic operator includes at least one of add operation, subtraction, multiplying and division arithmetic;
The set operation includes at least one of intersection, union, supplementary set and difference set;
The functional operation includes at least one of maximum value calculation, minimum value calculating, mean value calculation and read group total;
The relational calculus is included at least greater than operation, less-than operation and not equal to one of operation;
The database table operation includes at least one of selection, projection and connection.
9. a kind of electronic equipment, including memory, processor, which is characterized in that the processor is deposited for executing in memory
The step of design methods as described in any one of claim 1 to 5 are realized when the computer management class method of storage.
10. a kind of computer readable storage medium is stored thereon with computer management class method, it is characterised in that: the calculating
Machine management class method realizes the step of the design methods as described in any one of claim 1 to 5 when being executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910427753.3A CN110334002A (en) | 2019-05-22 | 2019-05-22 | A kind of design methods and relevant device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910427753.3A CN110334002A (en) | 2019-05-22 | 2019-05-22 | A kind of design methods and relevant device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110334002A true CN110334002A (en) | 2019-10-15 |
Family
ID=68139656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910427753.3A Pending CN110334002A (en) | 2019-05-22 | 2019-05-22 | A kind of design methods and relevant device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110334002A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6658407B1 (en) * | 2000-06-29 | 2003-12-02 | Microsoft Corporation | Clause-based relational queries |
CN101576921A (en) * | 2009-06-15 | 2009-11-11 | 用友软件股份有限公司 | Data query system and data query engine device |
US20160154838A1 (en) * | 2014-12-01 | 2016-06-02 | International Business Machines Corporation | Avoid double counting of mapped database data |
CN105739956A (en) * | 2014-12-09 | 2016-07-06 | 阿里巴巴集团控股有限公司 | Method and system for constructing intelligent rule model of computer system |
-
2019
- 2019-05-22 CN CN201910427753.3A patent/CN110334002A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6658407B1 (en) * | 2000-06-29 | 2003-12-02 | Microsoft Corporation | Clause-based relational queries |
CN101576921A (en) * | 2009-06-15 | 2009-11-11 | 用友软件股份有限公司 | Data query system and data query engine device |
US20160154838A1 (en) * | 2014-12-01 | 2016-06-02 | International Business Machines Corporation | Avoid double counting of mapped database data |
CN105739956A (en) * | 2014-12-09 | 2016-07-06 | 阿里巴巴集团控股有限公司 | Method and system for constructing intelligent rule model of computer system |
Non-Patent Citations (1)
Title |
---|
搬砖的老王: "SQL查询学习", 《博客园》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110309052A (en) | A kind of data verification method and relevant device | |
CN106294120B (en) | Method, apparatus and computer program product for testing code | |
CN110009171B (en) | User behavior simulation method, device, equipment and computer readable storage medium | |
CN111722839B (en) | Code generation method and device, electronic equipment and storage medium | |
CN111552509B (en) | Method and device for determining dependency relationship between interfaces | |
CN106803799B (en) | Performance test method and device | |
CN111651357A (en) | Software automation testing method based on cloud computing | |
CN107729915A (en) | For the method and system for the key character for determining machine learning sample | |
CN111369081A (en) | Flow configuration method and device, electronic equipment and storage medium | |
CN105868956A (en) | Data processing method and device | |
CN115392592B (en) | Storage product parameter configuration recommendation method, device, equipment and medium | |
CN109460661A (en) | A kind of logical security leak detection method, device and terminal device | |
CN104022899A (en) | Three-dimensional assessment method for network management system and system | |
US20050278301A1 (en) | System and method for determining an optimized process configuration | |
CN112600936B (en) | Quantification and evaluation method for cloud computing system service | |
CN111581869B (en) | Method, device and storage medium for establishing bolt connection | |
CN112860672A (en) | Method and device for determining label weight | |
US11227288B1 (en) | Systems and methods for integration of disparate data feeds for unified data monitoring | |
Zeiträg et al. | Automatically evolving preference-based dispatching rules for multi-objective job shop scheduling | |
CN110334002A (en) | A kind of design methods and relevant device | |
JP2012014308A (en) | Method and device for predicting influence of change | |
CN115587688A (en) | Scheduling method and system of assembly type building components based on BIM | |
CN114610615A (en) | Project test processing method, device, equipment and storage medium | |
CN111967774B (en) | Software quality risk prediction method and device | |
US20080195453A1 (en) | Organisational Representational System |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |