CN106127068B - Internet of Things interaction control method and device based on digraph - Google Patents

Internet of Things interaction control method and device based on digraph Download PDF

Info

Publication number
CN106127068B
CN106127068B CN201610431124.4A CN201610431124A CN106127068B CN 106127068 B CN106127068 B CN 106127068B CN 201610431124 A CN201610431124 A CN 201610431124A CN 106127068 B CN106127068 B CN 106127068B
Authority
CN
China
Prior art keywords
task
operation task
node
digraph
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610431124.4A
Other languages
Chinese (zh)
Other versions
CN106127068A (en
Inventor
朱定局
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
South China Normal University
Original Assignee
South China Normal University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by South China Normal University filed Critical South China Normal University
Priority to CN201610431124.4A priority Critical patent/CN106127068B/en
Publication of CN106127068A publication Critical patent/CN106127068A/en
Application granted granted Critical
Publication of CN106127068B publication Critical patent/CN106127068B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of Internet of Things interaction control method based on digraph, which is characterized in that the described method includes: obtaining the digraph of the operation task for the object in Internet of Things;The digraph is parsed, the multiple operation tasks and the corresponding operation content of each operation task to multiple objects are obtained;The corresponding operating terminal of each operation task is determined according to the operation content;It is successively authorized according to operating terminal of the digraph to each determination, operate authorized operating terminal can to the object.The interactive controlling to the object in Internet of Things can be neatly realized by the above method.In addition, also correspondence provides a kind of Internet of Things interaction control device based on digraph.

Description

Internet of Things interaction control method and device based on digraph
Technical field
The present invention relates to computer Internet of Things applied technical fields, hand over more particularly to a kind of Internet of Things based on digraph Mutually control method and apparatus.
Background technique
Internet of Things interactive controlling refers to that user is interacted by Internet of Things and the object in Internet of Things, to the object in Internet of Things The technology controlled.With the development of technology of Internet of things, need to use Internet of Things interaction control in more and more technical fields Technology processed realizes the control to the object in Internet of Things.The state of the switch in an Internet of Things is controlled for example, realizing.
In the Internet of Things application of traditional technology, each user is only supported independently to interact to the object in Internet of Things Control.Traditional interactive controlling mode can not accomplish that the orderly collaboration between distinct interaction control, flexibility are poor.
Summary of the invention
Based on this, it is necessary to provide a kind of Internet of Things interaction control method and device that flexibility is high.
A kind of Internet of Things interaction control method, which comprises
Obtain the digraph of the operation task for the object in Internet of Things;
The digraph is parsed, the multiple operation tasks and each operation task pair to multiple objects are obtained The operation content answered;
The corresponding operating terminal of each operation task is determined according to the operation content;
It is successively authorized according to operating terminal of the digraph to each determination, makes authorized operating terminal can be to described Object is operated.
It obtains in one of the embodiments, corresponding to multiple operation tasks of multiple objects and each operation task Operation content the step of, comprising:
Obtain the directed arc and node in the digraph;
Obtain the operation task and operation content carried in the directed arc.
The step successively authorized according to operating terminal of the digraph to each determination in one of the embodiments, Suddenly, comprising:
Obtain current operation task;
Obtain the operating terminal of determination corresponding with the current operation task;
The operating terminal of determination corresponding with the current operation task is authorized;
It is taken with the outflow node of directed arc where current operation task to flow out all directed arcs of node when detecting At the end of the operation task of band is performed both by, obtaining with the outflow node of directed arc where current operation task is to flow into having for node To operation task entrained by arc, by the directed arc institute with the outflow node of directed arc where current operation task for inflow node The operation task of carrying repeats above-mentioned steps as new current operation task, until all current operation tasks are It is empty.
The operation content includes the default execution period in one of the embodiments,;The method also includes:
When current time was located in the execution period, then the execution period corresponding operation task is current Operation task.
The operation content includes default execution duration in one of the embodiments,;The method also includes:
When the corresponding duration of current operation task reaches corresponding default execution duration, then terminate the current behaviour Make task;And/or
When receiving the operation ending request of the corresponding operating terminal of current operation task, then terminate the current operation Task.
In one of the embodiments, the method also includes:
User terminal is received to the operation requests of the object;
Detect whether the user terminal has current operation permission, if so,
Detect whether operation content entrained by the operation requests is predetermined registration operation content, if so, according to the behaviour Make request and generate corresponding operational order, corresponding operation is carried out to the object according to the operational order, if not having Current operation permission is not predetermined registration operation content, then does not carry out corresponding operation to the object.
A kind of Internet of Things interaction control device, described device include:
Digraph obtains module, for obtaining the digraph for the object being directed in Internet of Things;
Parsing module, for being parsed to the digraph, obtain to multiple operation tasks of multiple objects and The corresponding operation content of each operation task;
Operating terminal determining module, for determining the corresponding operating terminal of each operation task according to the operation content;
Authorization module makes authorized behaviour for successively authorizing according to operating terminal of the digraph to each determination The object can be operated by making terminal.
The parsing module is also used to obtain directed arc and node in the digraph in one of the embodiments,; Obtain the operation task and operation content carried in the directed arc.
The authorization module is also used to obtain current operation task in one of the embodiments,;It obtains and described current The operating terminal of the corresponding determination of operation task;The operating terminal of determination corresponding with the current operation task is awarded Power;It is to flow out behaviour entrained by all directed arcs of node when detecting with the outflow node of directed arc where current operation task At the end of being performed both by as task, obtain be with the outflow node of directed arc where current operation task inflow node directed arc institute The operation task of carrying will be to flow into entrained by the directed arc of node with the outflow node of directed arc where current operation task Operation task repeats above-mentioned steps as new current operation task, until all current operation tasks are sky.
Described device in one of the embodiments, further include:
First execution module, for receiving user terminal to the operation requests of the object;Detect the user terminal Whether current operation permission is had, if so, detecting whether operation content entrained by the operation requests is in predetermined registration operation Hold, if so, generating corresponding operational order according to the operation requests, the object is carried out according to the operational order Corresponding operation does not carry out the object corresponding if not having current operation permission or not for predetermined registration operation content Operation.
Above-mentioned Internet of Things interaction control method and device, by obtaining the digraph for the object in Internet of Things, root The multiple operation tasks and the corresponding operation content of each operation task to multiple objects are obtained according to the digraph, are determined Relevant operating terminal, and it is authorized, make it that can carry out operation relevant to operation task to the object, thus flexibly Ground realizes the interactive controlling to the object in Internet of Things, so that can orderly cooperate between different interactive controllings.
Detailed description of the invention
Fig. 1 is the applied environment figure of Internet of Things interaction control method in one embodiment;
Fig. 2 is the flow chart of Internet of Things interaction control method in one embodiment;
Fig. 3 is the schematic diagram of digraph in one embodiment;
Fig. 4 is that acquisition is corresponding to multiple operation tasks of multiple objects and each operation task in one embodiment The flow chart of the step of operation content;
Fig. 5 is process the step of successively authorization in one embodiment according to operating terminal of the digraph to each determination Figure;
Fig. 6 is the flow chart of Internet of Things interaction control method in another embodiment;
Fig. 7 is the structural block diagram of Internet of Things interaction control device in one embodiment;
Fig. 8 is the structural block diagram of Internet of Things interaction control device in another embodiment;
Fig. 9 is the structural block diagram of Internet of Things interaction control device in another embodiment;
Figure 10 is the structural block diagram of Internet of Things interaction control device in further embodiment;
Figure 11 is the structural block diagram of Internet of Things interaction control device in a still further embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the present invention, not For limiting the present invention.
Resource sharing method provided by the embodiment of the present invention can be applied in application scenarios as shown in Figure 1.It please refers to Shown in Fig. 1, operating terminal 102 can be interacted by pre-set network and server 104.Wherein, with 104 phase of server The operating terminal 102 of connection may include it is multiple, including but not limited to communication function smart phone, tablet computer, palm The equipment such as computer, smartwatch.Operating terminal 102 can send the operation requests to object to server.Server 104 can lead to The operable object 106 in pre-set network connection Internet of Things is crossed, which can be that can arbitrarily be networked behaviour The article of work, for example be an intelligent switch, or be Medical Devices etc..It pre-sets in server 104 to object 106 digraph includes the inflow node and outflow node of directed arc and directed arc in the digraph.It is carried in the directed arc To the multiple operation tasks and operation content of multiple objects 106, the operation sequencing of each operation task in the digraph It can be determined according to the relationship between the inflow node of each directed arc and outflow node.Server 104 can be according to operation content It determines the corresponding operating terminal 102 of each operation task, and each operating terminal 102 is successively authorized, make authorized operation Terminal 102 can operate object.
In one embodiment, as shown in Fig. 2, providing a kind of Internet of Things interaction control method, this method includes following Step 202~208.
Step 202, the digraph of the operation task for the object in Internet of Things is obtained.
In the present embodiment, object is any article that can be networked operation, such as can be networked the switch of control, or The Medical Devices etc. of control can be networked for one.It is previously provided with the digraph to the operation task of the object, the digraph In include multiple directed arcs and multiple nodes with arrow.Wherein, there are two nodes for each directed arc connection, and each node can It is connected with one or more directed arcs.For directed arc, the node connected is specially to flow out node and flow into tie Point.
As shown in figure 3, for the schematic diagram of the digraph in one embodiment.Wherein, 302A~302I indicates directed arc, 304A~304G indicates node.For example, node 304C connected to it is that it flows into node for for directed arc 302D, Node 304E is that it flows out node.
Operation task is carried in directed arc, when the inflow node of the directed arc is triggered, indicates respective operations task Execution start;When the outflow node of the directed arc is triggered, indicate that the execution of respective operations task terminates.Each operation is appointed Business includes the operation content to corresponding object.The arrow of each directed arc flows to and node reflects respective operations task The order being performed.The operation task of different order can be identical, can also be different.When identical, that is, indicate that the operation task needs Carry out repetitive operation.
Operation content may include mode of operation, operating function, number of operations, operate duration and operating time section etc. wherein It is one or more.
As shown in figure 3, wherein directed arc 302A and directed arc 302B inflow node 304A having the same;Directed arc 302A Outflow node 304B be directed arc 302C inflow node, the execution order of operation task represented by directed arc 302A exists Before.
Further, each operation task distributes a unique task number by being in advance, and by the operation task Operation content and the task number establish corresponding relationship, so that can be found in corresponding operation by the operation task number Hold.In one embodiment, the directed arc in digraph can carry the task number of operation task, so that passing through the task number Get corresponding operation task.Each operation task includes the operation content to corresponding object.The operation of different order Task can be identical, can also be different.When identical, that is, indicate that the operation task need to carry out repetitive operation.The operation content can wrap It is one such or a variety of to include mode of operation, operating function, number of operations, operation duration and operating time section etc..
By one of operation task to be to object be can be networked control switch operate for illustrate, Mode of operation can be to press or press downwards upwards;Operating function can be to turn on light or turn off the light;Number of operations can be 3 times;Operating duration can It is 3 minutes;Operating time Duan Kewei 18:00 to 19:00.
Step 204, digraph is parsed, obtains and multiple operation tasks of multiple objects and each operation is appointed It is engaged in corresponding operation content.
In the present embodiment, it is parsed according to the analysis mode that digraph matches, acquisition wherein records every The operation content of a operation task.Wherein, it in digraph may include to multiple objects multiple operation tasks.
In one embodiment, multiple operation tasks of multiple objects and each operation are appointed as shown in figure 4, obtaining The step of corresponding operation content of being engaged in, comprising:
Step 402, the directed arc and node in the digraph are obtained.
Step 404, the operation task and operation content carried in the directed arc is obtained.
Specifically, the task number of the operation task carried in directed arc is obtained, according to pre-set task number and operation The corresponding relationship of content obtains the operation content of the operation task.
Step 206, the corresponding operating terminal of each operation task is determined according to operation content.
In the present embodiment, the incidence relation between different operation content and different operation terminal is pre-set, and also pre- The quantity of respective operations user needed for being first provided with different operation content.Can according to the incidence relation obtain it is corresponding one or Multiple operating terminals, and determine that the operation of preset quantity corresponding with the operation task is whole in the one or more operating terminal End.
Further, the step of determining the operating terminal of preset quantity, comprising: obtain and the operation task in the digraph The corresponding operation task information to be done of each operating terminal with incidence relation, according to operation task information to be done The idle degrees for determining respective operations terminal, should using the smallest preset quantity operating terminal of corresponding idle degrees as execution The operating terminal of operation task.It wherein, may include the letter such as object to be operated and its operation content in operation task to be done Breath.In general, operation task to be done is more, corresponding idle degrees are smaller.
Step 208, it is successively authorized according to operating terminal of the digraph to each determination, keeps authorized operating terminal right Object is operated.
In the present embodiment, it corresponding to identified operating terminal can operate account and be carried out according to the digraph of operation task It successively authorizes, so that corresponding operating terminal, which has, executes current operation task when needing to be implemented current operation task Permission.Specifically, according to the operation sequencing of each operation task to the parsed acquisition of digraph come to accordingly determining behaviour Make the corresponding operation account of terminal successively to be authorized.
It is oriented according to this by obtaining the digraph of the operation task for the object in Internet of Things in the present embodiment Figure obtains multiple operation tasks and the corresponding operation content of each operation task to multiple objects, determines relevant behaviour Make terminal, and it is authorized, makes it that can carry out operation relevant to operation task to object, to be neatly realized to object The interactive controlling of object in networking, so that can orderly be cooperateed between different interactive controllings.
The embodiment of the present invention may be used in following environment: the such as object is the doctor's interaction needed by different department Control belongs to one or more medical instruments of different department, and at this moment multiple doctors can simultaneously or successively be interacted by Internet of Things Control one or more medical instruments;In another example the object is to need to be belonged to by engineer's interactive controlling of different majors One or more equipment of different majors, at this moment multiple engineers can by Internet of Things simultaneously or successively interactive controlling one or Multiple equipment.
In one embodiment, as shown in figure 5, the step successively authorized according to operating terminal of the digraph to each determination Suddenly, comprising:
Step 502, current operation task is obtained.
Specifically, entrained task number can be obtained in directed arc, according to the task number determine corresponding operation task with Operation content.
Step 504, the operating terminal of determination corresponding with current operation task is obtained.
In the present embodiment, current operation task has one or more, according to the relationship of the operation task in digraph It determines.
Wherein, a certain node is only the inflow node of one or more directed arcs, without the outflow knot for any directed arc When point, operation task entrained by one or more directed arcs of the Node connectedness is initial current operation task.
Similar, when a certain node is only the outflow node of one or more directed arcs, without the stream for any directed arc When entering node, operation task entrained by one or more directed arcs of the Node connectedness is last current operation task.
Step 506, the operating terminal of determination corresponding with current operation task is authorized.
Wherein, the operating terminal of the corresponding determination of current operation task can also have multiple, when with multiple, then simultaneously The operating terminal of multiple determination is authorized, makes each of which can be to the execution current operation task.
Further, if the operating terminal of the corresponding determination of current operation task be sky, i.e., in the absence of, can determine whether to deserve Preceding operation task execution terminates.
In one embodiment, after procedure 506, comprising: the operation to determination corresponding with current operation task is whole End sends authorization message.
Wherein, it may also include the executable operation task of operating terminal in the authorization message, so that the operating terminal is corresponding Operation user would know that the operation task and know that it has operating right.Further, may also include in digraph Other operation tasks and its sequencing information and execution state information, so that the user of the operating terminal would know that in digraph The executive condition of operation task.
It step 508, is that outflow all of node have when detecting with the outflow node of directed arc where current operation task At the end of being performed both by operation task entrained by arc, judgement is when the outflow with directed arc where current operation task got Node is to flow into whether the directed arc of node is empty.If so, new current operation task is sky, otherwise, step 510 is executed.
Specifically, if the node of the outflow node of directed arc is also used as the inflow of other directed arcs where current operation task Node then illustrates that there is also the operation tasks after current operation task.If the stream of directed arc where current operation task The node of node is not as the inflow node of other directed arcs out, then there is no the operations after being located at current operation task for explanation Task, the i.e. current operation task are last operation task, and the operation task after current operation task is sky.
Step 510, it obtains and is taken with the outflow node of directed arc where current operation task to flow into the directed arc of node The operation task of band will be to flow into behaviour entrained by the directed arc of node with the outflow node of directed arc where current operation task Make task as new current operation task.
Above-mentioned steps are repeated, until all current operation tasks are sky.
Wherein, when the directed arc that the outflow node with directed arc where current operation task got is inflow node is It is then to flow into operation task entrained by the directed arc of node to be with the outflow node of directed arc where current operation task when empty Sky, i.e., new current operation task are sky.When current operation task is multiple, then wherein each current operation task is held Row above-mentioned steps 502~510, until all current operation tasks are sky, illustrating that all operation tasks have all executed terminates.
Specifically, when detecting that with the outflow node of directed arc where current operation task be all oriented of outflow node After operation task entrained by arc is performed both by, then the outflow node is triggered, when the outflow node is triggered, due to the stream Node is also used as the inflow node of other directed arcs out, then operation task entrained by corresponding other directed arcs is i.e. by as new Current operation task.
For example, as shown in figure 3, appointing when detecting with operation entrained by 302A of the node 304B with connection relationship After business executes, then it can trigger node 304B, at this point, then working as operation task corresponding to 302C and 302I as new Preceding operation task.For another example, when detect and node 304E have connection relationship directed arc 302I and 302D entrained by behaviour After being performed both by as task, then it can trigger node 304E, at this point, being then new current operation by operation corresponding to 302G Task.
In the present embodiment, is successively authorized, may make in Internet of Things by the operating terminal to each determination Object to be operated obtains Collaborative Control, can further improve the flexibility of the interactive controlling to the object in Internet of Things.
Further, at the time of can record each node and be triggered, it is old that the triggering moment of each node reflects correspondence The execution end time of current operation task and the execution time started of new operation task.By recording each node quilt It, can the initial time that is performed of the concrete operations task in the entire digraph of corresponding record at the time of triggering.
In one embodiment, operation content includes the default execution period;Internet of Things interaction control method further include: when When current time was located in the execution period, then executing period corresponding operation task is current operation task.
In the present embodiment, operation content further includes the corresponding default execution period some or all of in operation task. The default execution period can be any time period, for example be 18:00 to 19:00.By being preset belonging to detection current time The period is executed, using affiliated corresponding operation task of default execution period as current operation task.
In the present embodiment, the period is executed by the way that operation task is arranged, can be further neatly realized in Internet of Things Object interactive controlling.
In one embodiment, operation content includes default execution duration;Internet of Things interaction control method further include:
When the corresponding duration of current operation task reaches corresponding default execution duration, then terminates current operation and appoint Business;And/or
When receiving the operation ending request of the corresponding operating terminal of current operation task, then terminates current operation and appoint Business.
Operation content further includes corresponding default execution duration some or all of in digraph.The default execution duration can It for any duration, for example is 3 minutes.The corresponding duration of current operation task be current operation task executed when It is long, when the duration reaches corresponding default execution duration, then it can automatically generate and the end of the current operation task is referred to It enables, to terminate current operation task.
And/or
When receiving the operation ending request of the corresponding operating terminal of current operation task, generated according to the ending request END instruction to the current operation task, to terminate current operation task.
In the present embodiment, duration is executed by the way that operation task is arranged, can be further neatly realized in Internet of Things The interactive controlling of object.
In one embodiment, as shown in fig. 6, providing another Internet of Things interaction control method, this method includes step Rapid 202~218.
Step 202, the digraph of the operation task for the object in Internet of Things is obtained.
Step 204, digraph is parsed, obtains and multiple operation tasks of multiple objects and each operation is appointed It is engaged in corresponding operation content.
Step 206, the corresponding operating terminal of each operation task is determined according to operation content.
Step 208, it is successively authorized according to operating terminal of the digraph to each determination, keeps authorized operating terminal right Object is operated.
Step 210, user terminal is received to the operation requests of object.
Step 212, whether detection user terminal has current operation permission.If so, thening follow the steps 214, otherwise, execute Step 218.
In the present embodiment, when user terminal is the user terminal of identified executable current operation task, then can be Which imparts execute permission.The operation task corresponding to the user terminal is not that current operation task or user terminal are not deposited In corresponding operation task, then it does not have execution permission.
Step 214, detect whether operation content entrained by operation requests is predetermined registration operation content, if so, executing step Rapid 216, otherwise, execute step 218.
In the present embodiment, operation requests carry operation content, by detecting whether the operation content belongs to current operation Permitted operation content in task, to decide whether to receive the operation requests.
For example, if the operation content in current operation task is split row of putting into upwards by when in the operation requests Entrained operation content is that split row of putting into is downward on time, then it is default for judging operation content entrained by the operation requests not Operation content.
Step 216, corresponding operational order is generated according to operation requests, object is carried out according to operational order corresponding Operation.
Step 218, corresponding operation is not carried out to object.
In the present embodiment, by further judging operation requests transmitted by user terminal, when judging its use Family terminal has operating right, and when the operation requests also belong to predetermined registration operation content, then executes the operation requests.May be used also in this way Improve the normalization to the interactive controlling of the object in Internet of Things.
In one embodiment, Internet of Things interaction control method further include: will be determined by operation task each in digraph Communication relations are established between the corresponding user account of user terminal.
Specifically, one or more communication sets can be established, so that can be with one between the operation user in the communication set It is communicated to one, group chat can also be carried out, to know the specific distribution condition to the operation task in the digraph and execute feelings Condition.
In one embodiment, as shown in fig. 7, providing a kind of Internet of Things interaction control device, which includes:
Digraph obtains module 702, for obtaining the digraph for the object being directed in Internet of Things.
Parsing module 704 is obtained to multiple operation tasks of multiple objects and every for parsing to digraph The corresponding operation content of a operation task.
Operating terminal determining module 706, for determining the corresponding operating terminal of each operation task according to operation content.
Authorization module 708 makes authorized operation for successively authorizing according to operating terminal of the digraph to each determination Terminal can operate object.
In one embodiment, parsing module 704 is also used to obtain directed arc and node in digraph;Obtain directed arc The operation task and operation content of middle carrying.
In one embodiment, authorization module 708 is also used to obtain current operation task;It obtains and current operation task pair The operating terminal for the determination answered;The operating terminal of determination corresponding with current operation task is authorized;When detecting to work as The outflow node of directed arc where preceding operation task is to flow out operation task entrained by all directed arcs of node to be performed both by knot Shu Shi, obtaining with the outflow node of directed arc where current operation task is to flow into operation entrained by the directed arc of node to appoint Business, by using operation task entrained by directed arc that the outflow node of directed arc where current operation task is inflow node as New current operation task, and above-mentioned steps are repeated, until all current operation tasks are sky.
In one embodiment, as shown in figure 8, providing another Internet of Things interaction control device.Wherein, operation content The period is executed including default;The device further include:
First execution module 710, for receiving user terminal to the operation requests of object;Whether detection user terminal has Standby current operation permission, if so, whether operation content entrained by detection operation requests is predetermined registration operation content, if so, Corresponding operational order is generated according to operation requests, corresponding operation is carried out to object according to operational order, is worked as if not having Preceding operating right is not predetermined registration operation content, then does not carry out corresponding operation to object.
In one embodiment, as shown in figure 9, providing another Internet of Things interaction control device.Wherein, operation content The period is executed including default;The device further include:
Second execution module 712, for when current time is located at and executes in the period, then executing period corresponding behaviour Making task is current operation task.
In one embodiment, as shown in Figure 10, another Internet of Things interaction control device is provided.Operation content includes It is default to execute duration;The device further include:
Third execution module 714, for when the corresponding duration of current operation task reaches corresponding default execution When long, then terminate current operation task;And/or
When receiving the operation ending request of the corresponding operating terminal of current operation task, then terminates current operation and appoint Business.
In one embodiment, as shown in figure 11, also a kind of Internet of Things interaction control device is provided, which also wraps It includes:
Communication relations establish module 716, are used for the corresponding use of user terminal determined by operation task each in digraph Communication relations are established between the account of family.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (8)

1. a kind of Internet of Things interaction control method, which is characterized in that the described method includes:
Obtain the digraph of the operation task for the object in Internet of Things;
The digraph is parsed, is obtained corresponding to multiple operation tasks of multiple objects and each operation task Operation content;
The corresponding operating terminal of each operation task is determined according to the operation content;
It is successively authorized according to operating terminal of the digraph to each determination, makes authorized operating terminal can be to the target Object is operated;
Described the step of successively being authorized according to operating terminal of the digraph to each determination, comprising:
Obtain current operation task;
Obtain the operating terminal of determination corresponding with the current operation task;
The operating terminal of determination corresponding with the current operation task is authorized;
It is to flow out entrained by all directed arcs of node when detecting with the outflow node of directed arc where current operation task At the end of operation task is performed both by, obtaining with the outflow node of directed arc where current operation task is the directed arc for flowing into node Entrained operation task will be to flow into entrained by the directed arc of node with the outflow node of directed arc where current operation task Operation task as new current operation task;
Above-mentioned steps are repeated, until all current operation tasks are sky.
2. the method according to claim 1, wherein obtaining to multiple operation tasks of multiple objects and every The step of a operation task corresponding operation content, comprising:
Obtain the directed arc and node in the digraph;
Obtain the operation task and operation content carried in the directed arc.
3. the method according to claim 1, wherein the operation content includes the default execution period;It is described Method further include:
When current time was located in the execution period, then the execution period corresponding operation task is current operation Task.
4. the method according to claim 1, wherein the operation content includes default execution duration;The side Method further include:
When the corresponding duration of current operation task reaches corresponding default execution duration, then terminates the current operation and appoint Business;And/or
When receiving the operation ending request of the corresponding operating terminal of current operation task, then terminates the current operation and appoint Business.
5. the method according to claim 1, wherein the method also includes:
User terminal is received to the operation requests of the object;
Detect whether the user terminal has current operation permission, if so,
Detect whether operation content entrained by the operation requests is predetermined registration operation content, if so, asking according to the operation Corresponding operational order is sought survival into, corresponding operation is carried out to the object according to the operational order, if not having current Operating right is not predetermined registration operation content, then does not carry out corresponding operation to the object.
6. a kind of Internet of Things interaction control device, which is characterized in that described device includes:
Digraph obtains module, for obtaining the digraph for the object being directed in Internet of Things;
Parsing module is obtained to multiple operation tasks of multiple objects and each for parsing to the digraph The corresponding operation content of operation task;
Operating terminal determining module, for determining the corresponding operating terminal of each operation task according to the operation content;
Authorization module keeps authorized operation whole for successively being authorized according to operating terminal of the digraph to each determination End can operate the object;
The authorization module is also used to execute following steps: obtaining current operation task;It obtains and the current operation task pair The operating terminal for the determination answered;The operating terminal of determination corresponding with the current operation task is authorized;When detecting Outflow node with directed arc where current operation task is to flow out operation task entrained by all directed arcs of node to hold At the end of row, obtaining with the outflow node of directed arc where current operation task is to flow into operation entrained by the directed arc of node Task will be to flow into operation task entrained by the directed arc of node to make with the outflow node of directed arc where current operation task For new current operation task;Above-mentioned steps are repeated, until all current operation tasks are sky.
7. device according to claim 6, which is characterized in that the parsing module is also used to obtain in the digraph Directed arc and node;Obtain the operation task and operation content carried in the directed arc.
8. device according to claim 6, which is characterized in that described device further include:
First execution module, for receiving user terminal to the operation requests of the object;Whether detect the user terminal Have current operation permission, if so, detect whether operation content entrained by the operation requests is predetermined registration operation content, if It is then to generate corresponding operational order according to the operation requests, the object is carried out according to the operational order corresponding Operation corresponding operation is not carried out to the object if not having current operation permission or not for predetermined registration operation content.
CN201610431124.4A 2016-06-15 2016-06-15 Internet of Things interaction control method and device based on digraph Active CN106127068B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610431124.4A CN106127068B (en) 2016-06-15 2016-06-15 Internet of Things interaction control method and device based on digraph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610431124.4A CN106127068B (en) 2016-06-15 2016-06-15 Internet of Things interaction control method and device based on digraph

Publications (2)

Publication Number Publication Date
CN106127068A CN106127068A (en) 2016-11-16
CN106127068B true CN106127068B (en) 2018-12-21

Family

ID=57469846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610431124.4A Active CN106127068B (en) 2016-06-15 2016-06-15 Internet of Things interaction control method and device based on digraph

Country Status (1)

Country Link
CN (1) CN106127068B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530457A (en) * 2013-10-10 2014-01-22 南京邮电大学 Modeling and construction method of complex relation chain of internet of things based on multiple tuples
CN103780629A (en) * 2014-02-14 2014-05-07 北京工业大学 Concurrent access request incidence relation-oriented access control harmonizing method and device
CN104202353A (en) * 2014-07-09 2014-12-10 武汉领傲科技有限公司 Cloud event processing method and device for internet of things interconnected cooperative system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530457A (en) * 2013-10-10 2014-01-22 南京邮电大学 Modeling and construction method of complex relation chain of internet of things based on multiple tuples
CN103780629A (en) * 2014-02-14 2014-05-07 北京工业大学 Concurrent access request incidence relation-oriented access control harmonizing method and device
CN104202353A (en) * 2014-07-09 2014-12-10 武汉领傲科技有限公司 Cloud event processing method and device for internet of things interconnected cooperative system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于GPGP机制的物联网任务协调机制;黄磊 等;《四川理工学院学报(自然科学版)》;20120630;第25卷(第3期);正文第33-36页 *

Also Published As

Publication number Publication date
CN106127068A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN105099985B (en) Multiple utility program logs in implementation method and device
CN105391622B (en) Share the method and system of resource in instant messaging or social networking application
CN117492611A (en) File processing method, electronic equipment, system and storage medium
CN107360064A (en) Smart machine sharing method, device and computer-readable recording medium
CN108616360A (en) User identity verification, register method and device
CN105426244B (en) Application process management method and application process managing device
WO2016061968A1 (en) Voice control method and device
CN110032507A (en) Applied program testing method, device, system, electronic equipment and storage medium
CN105094506B (en) Method, intelligent terminal and the operating platform of the solution lock screen of intelligent terminal
US20100131627A1 (en) Method and apparatus for reconfiguring application services in home network environment
CN104298602A (en) Method and device for debugging application program
CN108650667A (en) Terminal scheduling method and apparatus
CN102594912A (en) Data processing method under server architecture, server and server architecture
CN107623731A (en) A kind of method for scheduling task, client, service cluster and system
CN104850491A (en) Software test method, equipment and system
KR101703805B1 (en) Supervision of a communication session comprising several flows over a data network
CN106919489A (en) Monitoring method and device that the application interface of application program is exited extremely
CN106127068B (en) Internet of Things interaction control method and device based on digraph
CN107733743A (en) Realize the method and system that industry ethernet data are tested automatically
CN109547259A (en) Application configuration method, apparatus, storage medium and electronic equipment
CN108885435A (en) A kind of control method, host, slave, mobile terminal and control system
CN108055172A (en) A kind of bidirectional forwarding detection (BFD) method and device
CN107360120B (en) The auditing method and device of virtual network function
CN114861230B (en) Privacy protection method and device in terminal equipment
CN105959398B (en) Internet of Things interaction control method and device towards collaboration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant