CN106557030A - Method of instructing operation and device based on entity - Google Patents
Method of instructing operation and device based on entity Download PDFInfo
- Publication number
- CN106557030A CN106557030A CN201510618840.9A CN201510618840A CN106557030A CN 106557030 A CN106557030 A CN 106557030A CN 201510618840 A CN201510618840 A CN 201510618840A CN 106557030 A CN106557030 A CN 106557030A
- Authority
- CN
- China
- Prior art keywords
- functive
- model
- entity
- attribute information
- default
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of method of instructing operation and device based on entity, in the method, after physical operation request is received, the functive that entity corresponding with entity identification in physical operation request has incidence relation is searched in default ontology model, the functive includes and the attribute information corresponding attribute information of mark in physical operation request and operation corresponding with operation mark in physical operation request, and then the operational order that systematic function body can be recognized.There is attribute information due to presetting the functive in ontology model, so that relation in default ontology model between entity and functive is clear and is easily achieved, further, in processing entities operation requests, only corresponding functive need to can be found according to entity identification and attribute information mark, it is achieved thereby that the simple clear easily realization of search procedure, can further allow the efficiency of the operational order recognized using default ontology model systematic function body to improve.
Description
Technical field
The present invention relates to computer technology, more particularly to a kind of method of instructing operation and device based on entity.
Background technology
Body is the Formal Specification of a concept, can by concept definition be object, attribute and and its
The relation of his concept.Body can be used to define description section real world (subject area) basic conception
Shared vocabulary, and specify the operation that these concepts and concept include.Therefore, in multiple fields
The things to the field can be used the ontology to and relation is modeled.For example in machine communication
(Machine-to-Machine Communications, abbreviation M2M), i.e., in Internet of Things field, just
Ontology Modeling can be carried out to entity defined in Internet of Things field International Organization for standardization oneM2M, i.e.,
To in oneM2M systems physics, virtual and abstract entity carries out semantic modeling, and forms this
Body Model, so using standard Ontology Modeling language ontology model is converted into machine-readable body
Storehouse, and for completing the various operations of oneM2M systems.
In prior art, when such as various operations of oneM2M systems are completed using ontology library, body
Place using ontology model in contain two kinds of entities of equipment and things, meanwhile, things and things, thing
Set up by correlation model between thing and equipment and contacted.It is when various operations are completed using ontology library, semantic
Engine by analyze each entity in ontology library and its between association, the operation that generation equipment can be recognized refers to
Order, completes corresponding operation for instruction equipment.
But, when generating the operational order that equipment can be recognized using ontology model in prior art, made
With ontology model in be the aspect and equipment included by things operation between set up correlation model come
The relation between things and equipment is represented, when things in system and equipment constantly extend, things and equipment
Between relation can become complicated and unintelligible, cause using ontology model generate operational order efficiency drop
It is low.
The content of the invention
The present invention provides a kind of method of instructing operation and device based on entity, for solving in prior art
The complex structure of ontology model causes the low problem of operational order formation efficiency.
First aspect present invention provides a kind of method of instructing operation based on entity, including:
Receiving entity operation requests, the physical operation request include:Entity identification, attribute information mark
And operation mark;
Asked according to the physical operation, the corresponding model of the first functive is searched in default ontology model,
First functive entity corresponding with the entity identification has incidence relation, and first function
Body is included:The attribute information identifies corresponding attribute information and the corresponding operation of the operation mark;
According to the corresponding model of first functive, physical operation request is converted to into described first
The discernible operational order of functive;
The operational order is sent to into first functive, wherein, the operational order is used to indicate
First functive performs the corresponding operation of the operation mark to the corresponding entity of the entity identification.
With reference in a first aspect, in the first possible embodiment of first aspect, if described default
The corresponding model of first functive is not found in ontology model, then methods described also includes:
Entity corresponding with the entity identification is searched in the default ontology model there is inclusion relation
The corresponding model of at least one fructification, and search in the default ontology model and described at least one
Fructification has the corresponding model of the second functive of incidence relation.
With reference to the first possible embodiment of first aspect or first aspect, the second of first aspect
Plant in possible embodiment, before the receiving entity operation requests, also include:
Set up the default ontology model.
With reference to second possible embodiment of first aspect, in the third possible reality of second aspect
Apply in mode, it is described to set up the default ontology model, including:
Obtain the fructification and the first instance that there is inclusion relation with first instance and there is incidence relation
Entity arranged side by side and there is at least one functive of incidence relation with the first instance;
Set up between the corresponding model of first instance model corresponding with the fructification comprising pass
System, the association set up between the corresponding model of first instance model corresponding with the entity arranged side by side are closed
System, and set up the corresponding model of first instance model corresponding with least one functive it
Between incidence relation;
Add at least one attribute information for the corresponding model of each functive at least one functive
And at least one operation, form the default ontology model.
With reference to the third possible embodiment of first aspect, in the 4th kind of possible reality of first aspect
Apply in mode, the corresponding model of each functive at least one functive adds at least one
After individual attribute information and at least one operation, also include:
For at least one parameter information of each operation addition, ginseng of the parameter information for setting operation
Number.
Second aspect present invention provides a kind of operation instruction device based on entity, including:
Receiver module, for receiving entity operation requests, the physical operation request includes:Entity identification,
Attribute information is identified and operation mark;
Searching modul, for asking according to the physical operation, searches the first work(in default ontology model
Can the corresponding model of body, first functive entity corresponding with the entity identification has incidence relation,
And first functive is included:The attribute information identifies corresponding attribute information and the operation
Identify corresponding operation;
Generation module, for according to the corresponding model of first functive, the physical operation being asked
Be converted to the discernible operational order of first functive;
Sending module, for the operational order is sent to first functive, wherein, the behaviour
Make instruction for indicating that first functive performs the operation mark to the corresponding entity of the entity identification
Know corresponding operation.
With reference to second aspect, in the first possible embodiment of second aspect, described device is also wrapped
Include:
Second searching modul, for not finding institute in the searching modul in the default ontology model
When stating the corresponding model of the first functive, search in the default ontology model and the entity identification pair
The entity answered has the corresponding model of at least one fructification of inclusion relation, and in the default body mould
Model corresponding with the second functive that at least one fructification has incidence relation is searched in type.
With reference to the first possible embodiment of second aspect or second aspect, the second of second aspect
Plant in possible embodiment, described device also includes:
Module is set up, for the default sheet was set up before the receiver module receiving entity operation requests
Body Model.
With reference to second possible embodiment of second aspect, in the third possible reality of second aspect
Apply in mode, the module of setting up includes:
Acquiring unit, for obtaining the fructification and described first that there is inclusion relation with first instance in fact
Body is had the entity arranged side by side of incidence relation and is had at least one of incidence relation with the first instance
Functive;
Unit is set up, for setting up the corresponding model of first instance model corresponding with the fructification
Between inclusion relation, set up the corresponding model of first instance model corresponding with the entity arranged side by side
Between incidence relation and set up the corresponding model of the first instance with least one functive
Incidence relation between corresponding model;
Signal generating unit, for for the corresponding model of each functive at least one functive add to
A few attribute information and at least one operation, form the default ontology model.
With reference to the third possible embodiment of second aspect, in the 4th kind of possible reality of second aspect
Apply in mode, the module of setting up also includes:
Adding device, for each functive pair in being at least one functive in the signal generating unit
After the model answered adds at least one attribute information and at least one operation, it is each operation addition
At least one parameter information, the parameter information are used for the parameter for arranging operation.
Method of instructing operation based on entity provided by the present invention, after physical operation request is received,
Entity corresponding with entity identification in physical operation request is searched in default ontology model there is incidence relation
Functive, the functive include with physical operation ask in the attribute information corresponding attribute information of mark with
And operation corresponding with operation mark in physical operation request, and then the operation that systematic function body can be recognized
Instruction.There is attribute information due to presetting the functive in ontology model so that real in default ontology model
Relation between body and functive is clear and is easily achieved, and then, in processing entities operation requests,
Only corresponding functive need to can be found according to entity identification and attribute information mark, it is achieved thereby that
The simple clear easily realization of search procedure, can further cause using default ontology model systematic function body
The efficiency of the operational order that can be recognized is improved.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Apply accompanying drawing to be used needed for example or description of the prior art to be briefly described, it should be apparent that, under
Accompanying drawing in the description of face is some embodiments of the present invention, for those of ordinary skill in the art,
On the premise of not paying creative labor, can be with according to these other accompanying drawings of accompanying drawings acquisition.
The flow process of the embodiment one of the method for instructing operation based on entity that Fig. 1 is provided for the present invention is illustrated
Figure;
The flow process of the embodiment two of the method for instructing operation based on entity that Fig. 2 is provided for the present invention is illustrated
Figure;
The flow process of the embodiment three of the method for instructing operation based on entity that Fig. 3 is provided for the present invention is illustrated
Figure;
The complete ontology model that Fig. 4 is generated by the method according to Fig. 2 and Fig. 3;
The structural representation of the embodiment one of the operation instruction device based on entity that Fig. 5 is provided for the present invention
Figure;
The structural representation of the embodiment two of the operation instruction device based on entity that Fig. 6 is provided for the present invention
Figure;
The structural representation of the embodiment three of the operation instruction device based on entity that Fig. 7 is provided for the present invention
Figure;
The structural representation of the example IV of the operation instruction device based on entity that Fig. 8 is provided for the present invention
Figure;
The structural representation of the embodiment five of the operation instruction device based on entity that Fig. 9 is provided for the present invention
Figure;
The structural representation of the embodiment six of the operation instruction device based on entity that Figure 10 is provided for the present invention
Figure.
Specific embodiment
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Apply accompanying drawing to be used needed for example or description of the prior art to be briefly described, it should be apparent that, under
Accompanying drawing in the description of face is some embodiments of the present invention, for those of ordinary skill in the art,
On the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
It should be noted that following embodiments of the present invention in this way can be in oneM2M systems
Illustrate as a example by use, but be not limited thereto, it is any applicable that the method can be applied equally to other
Field in.
The flow process of the embodiment one of the method for instructing operation based on entity that Fig. 1 is provided for the present invention is illustrated
Figure, the executive agent of the method can be terminal, for example the equipment such as computer, server, such as Fig. 1 institutes
Show, the method includes:
S101, receiving entity operation requests, the physical operation request include:Entity identification, attribute information
Mark and operation mark.
By taking oneM2M systems as an example, above-mentioned entity refers to that itself does not have measurement or control function, can quilt
The entity that other equipment is measured or controlled, for example, above-mentioned entity can refer to room, bedroom, refrigerator etc..
In the physical operation request for receiving, include entity identification, attribute information mark and operate
Mark, for example, in " temperature in inquiry room " this operation requests, just contains entity identification " room
Between ", attribute information mark " temperature " and operation mark " inquiry ".
S102, asked according to above-mentioned physical operation, the first functive correspondence is searched in default ontology model
Model, first functive entity corresponding with above-mentioned entity identification has an incidence relation, and this first
Functive is included:Above-mentioned attribute information identifies corresponding attribute information and aforesaid operations mark is corresponding
Operation.
By taking oneM2M systems as an example, above-mentioned functions body is referred to measurement or control function, can be completed
Some attributes of above-mentioned entity are measured or control, for example, above-mentioned functions body can refer to temperature sensor, light
According to sensor, humidity sensor, air-conditioning etc..
Above-mentioned first functive to be referred to and ask found functive according to above-mentioned physical operation.
Functive has attribute information, for describing function, feature of the functive etc., correspondingly, work(
The attribute information of energy body can just include functional attributes information, characteristic attribute information etc..For example, temperature is passed
Sensor has " temperature " this functional attributes, then show that temperature sensor is provided with measurement or controls temperature
Function.
In addition, functive can support at least one operation, for example:Measurement humidity, measurement temperature etc..
In default ontology model, defined entity and functive, and defined entity with
Relation between functive.After incidence relation is set up between entity and functive, indicate that entity has
Corresponding with functive attribute information feature.For example, " temperature sensor " with temperature property, when
After " room " this entity sets up incidence relation with " temperature sensor " this functive, " room "
This entity is just provided with " temperature " feature.Further, when physical operation request is received, it is only necessary to
The functive for meeting following condition is found in default ontology model:Entity corresponding with entity identification
With incidence relation;Corresponding attribute information is identified comprising attribute information;Comprising the corresponding behaviour of operation mark
Make.In addition, during entity and functive in extension system is needed, also only need by entity with right
The functive of attribute information is answered to set up incidence relation, above-mentioned incidence relation only leads in specific implementation process
Cross a body statement to be capable of achieving, i.e., the incidence relation between entity and functive is not only simple clear,
And it is easily achieved.
And the equipment in ontology model of the prior art have attribute information, for things each
Feature, i.e. aspect, are required in ontology model the behaviour for this aspect and the equipment relevant with it
Correlation model is set up, as each things is included in terms of at least one, and each equipment is comprising extremely
A few operation, therefore, the relation between the operation of the aspect and equipment of things is the relation of multi-to-multi,
When things and equipment in system constantly extend, the relation meeting between the operation of the aspect and equipment of things
Become intricate all the more, and then cause to recognize using ontology model of the prior art generation equipment
Operational order efficiency reduce.
S103, according to the corresponding model of above-mentioned first functive, the request of above-mentioned physical operation is converted to
State the discernible operational order of the first functive.
S104, by aforesaid operations instruction be sent to above-mentioned first functive, wherein, aforesaid operations instruction use
Aforesaid operations mark is performed to the corresponding entity of above-mentioned entity identification in instruction above-mentioned first functive corresponding
Operation.
Specifically, after the discernible operational order of the first functive is generated, can by with the first function
Operational order is sent to the first functive by the physical unit of body connection, is carried out by the first functive corresponding
Result is simultaneously returned by operation.
In the present embodiment, after physical operation request is received, search and entity in default ontology model
In operation requests, the corresponding entity of entity identification has the functive of incidence relation, and the functive includes and reality
Operation mark during attribute information is identified corresponding attribute information and asked with physical operation in body operation requests
Corresponding operation, and then the operational order that systematic function body can be recognized, due in default ontology model
Functive has attribute information so that the relation in default ontology model between entity and functive is clear simultaneously
And be easily achieved, and then, in processing entities operation requests, only need to be believed according to entity identification and attribute
Breath mark can find corresponding functive, it is achieved thereby that search procedure is simple clearly easily realizing, enter
The efficiency of the operational order recognized using default ontology model systematic function body can be allowd to one step to carry
It is high.
The flow process of the embodiment two of the method for instructing operation based on entity that Fig. 2 is provided for the present invention is illustrated
Figure, as shown in Fig. 2 the method includes:
S201, receiving entity operation requests, the physical operation request include:Entity identification, attribute information
Mark and operation mark.
S202, asked according to above-mentioned physical operation, the first functive correspondence is searched in default ontology model
Model, first functive entity corresponding with above-mentioned entity identification has an incidence relation, and this first
Functive is included:Above-mentioned attribute information identifies corresponding attribute information and aforesaid operations mark is corresponding
Operation, if not finding above-mentioned first functive, performs S203.
If having found the first functive, follow-up processing flow and above-mentioned reality in default ontology model
The follow-up process for applying example one is identical.
S203, entity corresponding with above-mentioned entity identification is searched in above-mentioned default ontology model have and include
The corresponding model of at least one fructification of relation, and search in above-mentioned default ontology model with it is above-mentioned extremely
A few fructification has the corresponding model of the second functive of incidence relation.
In default ontology model, the relation between entity and entity is defined, between entity
Relation can be coordination, or inclusion relation.For example, " room " and bedroom, " room "
All it is inclusion relation between " kitchen ".And be coordination between " bedroom " and " kitchen ".
When satisfactory functive cannot be found according to physical operation request, may proceed to search downwards with
Entity has at least one fructification of inclusion relation, and search in default ontology model with it is above-mentioned at least
One fructification has the corresponding model of the second functive of incidence relation.Wherein, the second functive is referred to
According to meeting that above-mentioned at least one fructification mark, attribute information mark and operation mark are found
The functive of requirement.
It should be noted that in some cases, same physical operation request inquired above-mentioned the
One functive and above-mentioned second functive may be same functive.
For example, physical operation request is " temperature in inquiry room ", according to the request in default body
Search in model and with incidence relation and there is the functive of " temperature " attribute, and " room with " room "
Between " be not a reality physical entity, but the concept of a summary, therefore in default body mould
Functive relevant with " room " and that there is " temperature " attribute cannot be found in type,
In this case, can search and the fructification of " room " with inclusion relation in default ontology model,
Assume in default ontology model and the fructification of " room " with inclusion relation is " bedroom " and " kitchen
Room ", then now can be searched in default ontology model with " bedroom " and " kitchen " respectively with associating
Second functive of system, second functive have " temperature " attribute, and comprising operation mark correspondence
Operation.
S204, according to the corresponding model of above-mentioned second functive, the request of above-mentioned physical operation is converted to
State the discernible operational order of the second functive.
S205, by aforesaid operations instruction be sent to above-mentioned second functive, wherein, aforesaid operations instruction use
Aforesaid operations mark is performed to the corresponding entity of above-mentioned entity identification in instruction above-mentioned second functive corresponding
Operation.
It should be noted that at least one fructification and its corresponding work(are found in above-mentioned steps S203
After energy body and operation, step S204 can be passed through and S205 generate for each fructification at least one respectively
Individual operational order, the operating result for finally returning that are the set of the result that each operational order is returned.
In the present embodiment, if corresponding work(cannot be found according to the entity identification in physical operation request
Energy body, then continuation lookup downwards has the fructification of inclusion relation with which and generation is directed to each fructification
Operational order, i.e., by the inclusion relation of inter-entity in default ontology model, can parse correct life
Make and return correct operating result.
And in prior art, there is no between things and things inclusion relation, and only there is a kind of association
Relation.When operation requests are processed using ontology model of the prior art, if looked in ontology model
During the operation of the equipment that correlation model is established in terms of can not find with things, may proceed to search all and thing
Thing has the things of incidence relation, and redo request to these things, and such way may be led
Cause to return the operating result of mistake.For example, operation requests are " temperature in inquiry room ", according to this
" room " and its aspect " temperature " are searched in request in the ontology model of prior art, and are searched and " temperature
Degree " establishes the operation of the equipment of correlation model in terms of this.As " room " is an abstract things,
Therefore, the operation of corresponding equipment cannot be found in ontology model, in this case, due to existing
Have in technology and only there is between things incidence relation, therefore, can search and " room " in ontology model
Things with incidence relation, it is assumed that in ontology model, there is with room the things of incidence relation to have " sleeping
Room ", " kitchen " and " refrigerator ", then now can be directed in ontology model " bedroom ", " kitchen " with
And " refrigerator " searches the operation of corresponding equipment.In the operating result for finally returning that, also just contain " sleeping
The temperature of room ", " kitchen " and " refrigerator " these three things.But it is clear that " refrigerator " is not
Belong in " room ", therefore, when operational order is processed using the ontology model of prior art, be returned to mistake
Operating result by mistake.
In another embodiment, before above-mentioned receiving entity operation requests, also include:
Set up above-mentioned default ontology model.
The flow process of the embodiment three of the method for instructing operation based on entity that Fig. 3 is provided for the present invention is illustrated
Figure, sets up above-mentioned default ontology model and specifically includes as shown in figure 3, above-mentioned:
S301, obtain there is the fructification of inclusion relation and first instance with associating with first instance
The entity arranged side by side for being and at least one functive with first instance with incidence relation.
By taking oneM2M systems as an example, above-mentioned first instance refers to any entity in oneM2M systems.
S302, the bag set up between the corresponding model of above-mentioned first instance model corresponding with above-mentioned fructification
Containing relation, the pass set up between the corresponding model of above-mentioned first instance model corresponding with above-mentioned entity arranged side by side
Connection relation and set up the corresponding model of above-mentioned first instance mould corresponding with above-mentioned at least one functive
Incidence relation between type.
S303, belong to for the corresponding model addition of each functive in above-mentioned at least one functive at least one
Property information and at least one operation, form above-mentioned default ontology model.
The present embodiment is the process for setting up ontology model, in oneM2M systems, entity and entity, reality
Between body and functive have it is various contact, collection get these entities, functive and
After contact between them, it is possible to use Ontology Modeling language is setting up model, the functive of these entities
Model and the contact between them, also, for each functive corresponding model addition attribute information and
Operation, so as to form complete default ontology model.
Wherein, functive may include multiple attribute informations, when attribute information is added for functive, can
To add multiple attribute informations according to the actual conditions of system.For example, functional attributes " temperature ", feature
Attribute " owner " etc..
Further, in the above-mentioned corresponding model addition of each functive in above-mentioned at least one functive
After at least one attribute information and at least one operation, also include:
For at least one parameter information of each operation addition, parameter of the parameter information for setting operation.
Specifically, can be comprising at least one operation in each functive, for example, temperature sensor can
So that comprising " measurement temperature " this operation, some parameter informations can also be added for these operations, for example,
" temperature " parameter can be included in " measurement temperature " operation.Further, parameter information can also be wrapped
Include the information such as the data type of parameter value, Parameter units, parameter.
The complete ontology model that Fig. 4 is generated by the method according to Fig. 2 and Fig. 3, works as reality
When in the system of border, physical unit and its corresponding relation change, it is only necessary to carry out in the model corresponding
Modification.As shown in figure 4, entity and functive are included in the ontology model, wherein, entity with
Can be coordination, or inclusion relation between entity, when between entity being inclusion relation,
The entity for being included is fructification.There can be incidence relation between entity and functive.For example in figure
In 4, there is the entity of coordination with entity and have the fructification of inclusion relation can with entity
There is between functive incidence relation.Functive has attribute information, such as functional attributes, feature category
Property etc..After entity sets up incidence relation with functive, entity is just provided with the functional attributes pair of functive
The feature answered.Functive, can be comprising at least one ginseng in each operation also with least one operation
Number.
Using above-mentioned ontology model, when an entity is increased, it is only necessary at which and with correspondence attribute
A simple incidence relation is set up between the functive of information, no longer as prior art one by one
To resettle correlation model between the operation of each side with the relevant equipment of this aspect of entity,
So that modeling process becomes simple and is easily achieved, meanwhile, when entity and function in ontology model
Body gradually increases, and when ontology model constantly extends, the relation between entity and functive will not also become not
Clearly.
One of ordinary skill in the art will appreciate that:Realize all or part of step of above-mentioned each method embodiment
Suddenly can be completed by the related hardware of programmed instruction.Aforesaid program can be stored in a computer can
Read in storage medium.The program upon execution, performs the step of including above-mentioned each method embodiment;And
Aforesaid storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The structural representation of the embodiment one of the operation instruction device based on entity that Fig. 5 is provided for the present invention
Figure, as shown in figure 5, the device includes:
Receiver module 501, for receiving entity operation requests, the physical operation request includes:Entity mark
Know, attribute information is identified and operation mark.
Searching modul 502, for asking according to above-mentioned physical operation, searches the in default ontology model
There is association to close for the corresponding model of one functive, first functive entity corresponding with above-mentioned entity identification
It is, and first functive is included:Above-mentioned attribute information identifies corresponding attribute information and above-mentioned behaviour
Make a check mark corresponding operation.
Generation module 503, for according to the corresponding model of above-mentioned first functive, by above-mentioned physical operation
Request is converted to the discernible operational order of above-mentioned first functive.
Sending module 504, for aforesaid operations instruction is sent to above-mentioned first functive, wherein, on
Operational order is stated for indicating that above-mentioned first functive performs above-mentioned behaviour to the corresponding entity of above-mentioned entity identification
Make a check mark corresponding operation.
The device is used to perform aforesaid embodiment of the method, and which realizes that principle is similar with technique effect, herein
Repeat no more.
The structural representation of the embodiment two of the operation instruction device based on entity that Fig. 6 is provided for the present invention
Figure, on the basis of Fig. 5, as shown in fig. 6, the device also includes:
Second searching modul 505, for not searching in above-mentioned default ontology model in searching modul 502
During model corresponding to above-mentioned first functive, search in above-mentioned default ontology model and above-mentioned entity mark
Know the corresponding model of at least one fructification that corresponding entity has inclusion relation, and in above-mentioned default sheet
Mould corresponding with the second functive that above-mentioned at least one fructification has incidence relation is searched in body Model
Type.
The structural representation of the embodiment three of the operation instruction device based on entity that Fig. 7 is provided for the present invention
Figure, on the basis of Fig. 6, as shown in fig. 7, the device also includes:
Module 506 is set up, for setting up above-mentioned pre- before above-mentioned receiver module receiving entity operation requests
If ontology model.
The structural representation of the example IV of the operation instruction device based on entity that Fig. 8 is provided for the present invention
Figure, as shown in figure 8, set up module 506 including:
Acquiring unit 5061, for obtaining the fructification and first that there is inclusion relation with first instance in fact
Body is had the entity arranged side by side of incidence relation and is had at least one function of incidence relation with first instance
Body.
Unit 5062 is set up, it is corresponding with above-mentioned fructification for setting up the corresponding model of above-mentioned first instance
Inclusion relation between model, to set up the corresponding model of above-mentioned first instance corresponding with above-mentioned entity arranged side by side
Incidence relation between model and the corresponding model of above-mentioned first instance is set up with above-mentioned at least one work(
Incidence relation between the corresponding model of energy body.
Signal generating unit 5063, for adding for the corresponding model of each functive in above-mentioned at least one functive
Plus at least one attribute information and at least one operation, form above-mentioned default ontology model.
The structural representation of the embodiment five of the operation instruction device based on entity that Fig. 9 is provided for the present invention
Figure, on the basis of Fig. 8, as shown in figure 9, set up module 506 also including:
Adding device 5064, for each work(in being above-mentioned at least one functive in signal generating unit 5063
After the corresponding model of energy body adds at least one attribute information and at least one operation, it is each above-mentioned behaviour
Make at least one parameter information of addition, above-mentioned parameter information is used for the parameter for arranging operation.
The structural representation of the embodiment six of the operation instruction device based on entity that Figure 10 is provided for the present invention
Figure, as shown in Figure 10, the device includes:Memory 601 and processor 602.
Memory 601 is instructed for storage program, and processor 602 is used to call the journey in memory 601
Sequence is instructed, and performs following methods:
Receiving entity operation requests, the physical operation request include:Entity identification, attribute information mark with
And operation mark.
Asked according to above-mentioned physical operation, the corresponding model of the first functive is searched in default ontology model,
First functive entity corresponding with above-mentioned entity identification has incidence relation, and the first functive bag
Contain:Above-mentioned attribute information identifies corresponding attribute information and aforesaid operations identify corresponding operation.
According to the corresponding model of above-mentioned first functive, the request of above-mentioned physical operation is converted to into above-mentioned first
The discernible operational order of functive.
Aforesaid operations instruction is sent to into above-mentioned first functive, wherein, aforesaid operations are instructed for indicating
Above-mentioned first functive performs aforesaid operations to the corresponding entity of above-mentioned entity identification and identifies corresponding operation.
The device is used to perform preceding method embodiment, and which realizes that principle is similar with technique effect, herein not
Repeat again.
Further, processor 602 for according to above-mentioned physical operation ask, in default ontology model
In when not finding the corresponding model of the first functive, search in above-mentioned default ontology model and above-mentioned reality
Body identifies the corresponding model of at least one fructification that corresponding entity has inclusion relation, and above-mentioned pre-
If searching in ontology model corresponding with the second functive that above-mentioned at least one fructification has incidence relation
Model.
Further, processor 602 is above-mentioned default for setting up before above-mentioned receiving entity operation requests
Ontology model.
Further, processor 602 is above-mentioned default for setting up before above-mentioned receiving entity operation requests
Ontology model, specifically includes:
Obtain the fructification and first instance that there is inclusion relation with first instance and there is incidence relation simultaneously
Row entity and there is with first instance at least one functive of incidence relation.
Set up between the corresponding model of above-mentioned first instance model corresponding with above-mentioned fructification comprising pass
System, the association set up between the corresponding model of above-mentioned first instance model corresponding with above-mentioned entity arranged side by side are closed
System, and set up the corresponding model of above-mentioned first instance model corresponding with above-mentioned at least one functive it
Between incidence relation.
Add at least one attribute information for the corresponding model of each functive in above-mentioned at least one functive
And at least one operation, form above-mentioned default ontology model.
Further, processor 602 is in above-mentioned each functive in above-mentioned at least one functive
After corresponding model adds at least one attribute information and at least one operation, it is that each operation is added extremely
A few parameter information, the parameter information are used for the parameter for arranging operation.
Finally it should be noted that:Various embodiments above is only illustrating technical scheme rather than right
Its restriction;Although being described in detail to the present invention with reference to foregoing embodiments, this area it is common
Technical staff should be understood:Which still can be modified to the technical scheme described in foregoing embodiments,
Or equivalent is carried out to which part or all technical characteristic;And these modifications or replacement, and
The scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution is not made.
Claims (10)
1. a kind of method of instructing operation based on entity, it is characterised in that include:
Receiving entity operation requests, the physical operation request include:Entity identification, attribute information mark
And operation mark;
Asked according to the physical operation, the corresponding model of the first functive is searched in default ontology model,
First functive entity corresponding with the entity identification has incidence relation, and first function
Body is included:The attribute information identifies corresponding attribute information and the corresponding operation of the operation mark;
According to the corresponding model of first functive, physical operation request is converted to into described first
The discernible operational order of functive;
The operational order is sent to into first functive, wherein, the operational order is used to indicate
First functive performs the corresponding operation of the operation mark to the corresponding entity of the entity identification.
2. method according to claim 1, it is characterised in that if in the default ontology model
The corresponding model of first functive is not found, then methods described also includes:
Entity corresponding with the entity identification is searched in the default ontology model there is inclusion relation
The corresponding model of at least one fructification, and search in the default ontology model and described at least one
Fructification has the corresponding model of the second functive of incidence relation.
3. method according to claim 1 and 2, it is characterised in that the receiving entity operation please
Before asking, also include:
Set up the default ontology model.
4. method according to claim 3, it is characterised in that described to set up the default body mould
Type, including:
Obtain the fructification and the first instance that there is inclusion relation with first instance and there is incidence relation
Entity arranged side by side and there is at least one functive of incidence relation with the first instance;
Set up between the corresponding model of first instance model corresponding with the fructification comprising pass
System, the association set up between the corresponding model of first instance model corresponding with the entity arranged side by side are closed
System, and set up the corresponding model of first instance model corresponding with least one functive it
Between incidence relation;
Add at least one attribute information for the corresponding model of each functive at least one functive
And at least one operation, form the default ontology model.
5. method according to claim 4, it is characterised in that described at least one function
After the corresponding model of each functive in body adds at least one attribute information and at least one operation,
Also include:
For at least one parameter information of each operation addition, ginseng of the parameter information for setting operation
Number.
6. a kind of operation instruction device based on entity, it is characterised in that include:
Receiver module, for receiving entity operation requests, the physical operation request includes:Entity identification,
Attribute information is identified and operation mark;
Searching modul, for asking according to the physical operation, searches the first work(in default ontology model
Can the corresponding model of body, first functive entity corresponding with the entity identification has incidence relation,
And first functive is included:The attribute information identifies corresponding attribute information and the operation
Identify corresponding operation;
Generation module, for according to the corresponding model of first functive, the physical operation being asked
Be converted to the discernible operational order of first functive;
Sending module, for the operational order is sent to first functive, wherein, the behaviour
Make instruction for indicating that first functive performs the operation mark to the corresponding entity of the entity identification
Know corresponding operation.
7. device according to claim 6, it is characterised in that also include:
Second searching modul, for not finding institute in the searching modul in the default ontology model
When stating the corresponding model of the first functive, search in the default ontology model and the entity identification pair
The entity answered has the corresponding model of at least one fructification of inclusion relation, and in the default body mould
Model corresponding with the second functive that at least one fructification has incidence relation is searched in type.
8. the device according to claim 6 or 7, it is characterised in that also include:
Module is set up, for the default sheet was set up before the receiver module receiving entity operation requests
Body Model.
9. device according to claim 8, it is characterised in that the module of setting up includes:
Acquiring unit, for obtaining the fructification and described first that there is inclusion relation with first instance in fact
Body is had the entity arranged side by side of incidence relation and is had at least one of incidence relation with the first instance
Functive;
Unit is set up, for setting up the corresponding model of first instance model corresponding with the fructification
Between inclusion relation, set up the corresponding model of first instance model corresponding with the entity arranged side by side
Between incidence relation and set up the corresponding model of the first instance with least one functive
Incidence relation between corresponding model;
Signal generating unit, for for the corresponding model of each functive at least one functive add to
A few attribute information and at least one operation, form the default ontology model.
10. device according to claim 9, it is characterised in that the module of setting up also includes:
Adding device, for each functive pair in being at least one functive in the signal generating unit
After the model answered adds at least one attribute information and at least one operation, it is each operation addition
At least one parameter information, the parameter information are used for the parameter for arranging operation.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510618840.9A CN106557030B (en) | 2015-09-25 | 2015-09-25 | Method of instructing operation and device based on entity |
PCT/CN2016/099971 WO2017050285A1 (en) | 2015-09-25 | 2016-09-23 | Entity-based operation instruction method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510618840.9A CN106557030B (en) | 2015-09-25 | 2015-09-25 | Method of instructing operation and device based on entity |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106557030A true CN106557030A (en) | 2017-04-05 |
CN106557030B CN106557030B (en) | 2019-08-20 |
Family
ID=58385653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510618840.9A Active CN106557030B (en) | 2015-09-25 | 2015-09-25 | Method of instructing operation and device based on entity |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106557030B (en) |
WO (1) | WO2017050285A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112351059A (en) * | 2020-07-30 | 2021-02-09 | 中兴通讯股份有限公司 | Request processing method and device, electronic equipment and computer-readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101419449A (en) * | 2007-10-23 | 2009-04-29 | 北京北方微电子基地设备工艺研究中心有限责任公司 | Method and system for implementing factory automation interface |
CN104081796A (en) * | 2011-12-02 | 2014-10-01 | 高通股份有限公司 | Systems and methods for group based access control of machine to machine devices |
CN104507054A (en) * | 2014-12-29 | 2015-04-08 | 北京海尔广科数字技术有限公司 | Group member information updating method and related devices |
CN104852975A (en) * | 2015-04-29 | 2015-08-19 | 北京海尔广科数字技术有限公司 | Household equipment calling method and household equipment calling device |
CN104866650A (en) * | 2015-04-28 | 2015-08-26 | 北京海尔广科数字技术有限公司 | Abstract equipment creating method and device |
CN104955153A (en) * | 2015-05-29 | 2015-09-30 | 青岛海尔智能家电科技有限公司 | Method, device and appliances for discovering resources |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4901218A (en) * | 1987-08-12 | 1990-02-13 | Renishaw Controls Limited | Communications adaptor for automated factory system |
US7403984B2 (en) * | 2000-02-01 | 2008-07-22 | Asyst Technologies, Inc. | Automated tool management in a multi-protocol environment |
CN103605318B (en) * | 2013-11-14 | 2017-02-15 | 北京铭隆世纪科技有限公司 | Method and apparatus for function customization of CNC controller and CNC controller |
CN103793536B (en) * | 2014-03-03 | 2017-04-26 | 陈念生 | Intelligent platform obtaining method and device |
-
2015
- 2015-09-25 CN CN201510618840.9A patent/CN106557030B/en active Active
-
2016
- 2016-09-23 WO PCT/CN2016/099971 patent/WO2017050285A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101419449A (en) * | 2007-10-23 | 2009-04-29 | 北京北方微电子基地设备工艺研究中心有限责任公司 | Method and system for implementing factory automation interface |
CN104081796A (en) * | 2011-12-02 | 2014-10-01 | 高通股份有限公司 | Systems and methods for group based access control of machine to machine devices |
CN104507054A (en) * | 2014-12-29 | 2015-04-08 | 北京海尔广科数字技术有限公司 | Group member information updating method and related devices |
CN104866650A (en) * | 2015-04-28 | 2015-08-26 | 北京海尔广科数字技术有限公司 | Abstract equipment creating method and device |
CN104852975A (en) * | 2015-04-29 | 2015-08-19 | 北京海尔广科数字技术有限公司 | Household equipment calling method and household equipment calling device |
CN104955153A (en) * | 2015-05-29 | 2015-09-30 | 青岛海尔智能家电科技有限公司 | Method, device and appliances for discovering resources |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112351059A (en) * | 2020-07-30 | 2021-02-09 | 中兴通讯股份有限公司 | Request processing method and device, electronic equipment and computer-readable storage medium |
CN112351059B (en) * | 2020-07-30 | 2021-09-10 | 中兴通讯股份有限公司 | Request processing method and device, electronic equipment and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106557030B (en) | 2019-08-20 |
WO2017050285A1 (en) | 2017-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110147722A (en) | A kind of method for processing video frequency, video process apparatus and terminal device | |
CN103997441B (en) | Data sharing method, device and system and home equipment | |
CN111835582B (en) | Configuration method and device of Internet of things inspection equipment and computer equipment | |
CN105760419A (en) | Method And Systme For Join Processing | |
CN106293891B (en) | Multidimensional investment index monitoring method | |
CN113590776A (en) | Text processing method and device based on knowledge graph, electronic equipment and medium | |
CN107704529A (en) | The recognition methods of information uniqueness, application server, system and storage medium | |
CN104580109A (en) | Method and device for generating click verification code | |
KR102481162B1 (en) | Subscription data push method and device in the Internet of Things, the device and storage medium | |
CN108512822A (en) | A kind of Risk Identification Method and device of data processing event | |
CN102855297B (en) | A kind of method of control data transmission and connector | |
CN113220597A (en) | Test method, test device, electronic apparatus, and storage medium | |
CN108023740B (en) | Risk prompting method and device for abnormal information in monitoring | |
CN106557030A (en) | Method of instructing operation and device based on entity | |
CN110009100A (en) | The calculation method and Related product of customized operator | |
CN105677456A (en) | Process information writing method and user device | |
US20150170095A1 (en) | Physical location tagging via image recognition | |
CN115169578A (en) | AI model production method and system based on meta-space data markers | |
Xia et al. | Hybrid feature adaptive fusion network for multivariate time series classification with application in AUV fault detection | |
CN112800235A (en) | Visual knowledge graph data modeling method and system | |
CN105653386A (en) | Process breakdown processing method and terminal equipment | |
CN111126961A (en) | Complex product full life cycle digital mainline service system | |
CN109754159A (en) | A kind of information extracting method and system of operation of power networks log | |
CN109787819A (en) | A kind of Network status method for visualizing, system, equipment and medium | |
CN111385362B (en) | Signal transmission method and related equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |