CN108111617A - The implementation method and device of rule control in platform of internet of things - Google Patents
The implementation method and device of rule control in platform of internet of things Download PDFInfo
- Publication number
- CN108111617A CN108111617A CN201711454837.3A CN201711454837A CN108111617A CN 108111617 A CN108111617 A CN 108111617A CN 201711454837 A CN201711454837 A CN 201711454837A CN 108111617 A CN108111617 A CN 108111617A
- Authority
- CN
- China
- Prior art keywords
- target device
- rule
- equipment
- shadow
- connection relation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides the implementation method and device of rule control in a kind of platform of internet of things, this method includes:Establish the connection relation with target device;It is target device set device shadow based on connection relation;It is set objectives rule according to the target device that is arranged to of user;The detection data of target device transmission are received based on connection relation;Detection data and goal rule are analyzed, obtain analysis result, corresponding action is performed with control device shadow, achievees the purpose that control target device.In the method for the present invention, it being capable of data that efficiently the various equipment of real-time collecting and sensor upload, target device is controlled by goal rule, it is enable to respond quickly various information request, the equipment that effectively can clearly manage thousands of all kinds of tourist attractions by way of equipment shadow, intelligence degree is high, and thousands of equipment can not be managed in existing tourist industry and the technical issues of to data processing by alleviating.
Description
Technical field
The present invention relates to the technical field of Internet of Things, more particularly, to a kind of realization side of rule control in platform of internet of things
Method and device.
Background technology
With the increasingly raising of living standards of the people, the phenomenon that out on tours is spent a holiday, is more and more common.It is past in tourist attraction
Toward that can be provided with various equipment, for example, monitoring device, broadcasting equipment, gate equipment, night watching equipment, stop field device etc., these
Equipment can gather the data of magnanimity in real time, how the data of these magnanimity are managed and how to thousands of
It is the problem that current tourist attraction is faced that equipment, which carries out control,.
Important component of the Internet of Things as generation information technology is the important development stage in " informationization " epoch.
Internet of Things is widely used in the fusion of network by the cognition technology that communicates such as Intellisense, identification technology and general fit calculation,
Therefore it is referred to as the third wave that world information industry develops after computer, internet.Internet of Things is answering for internet
With expansion, rather than Internet of Things is network, Internet of Things is business and application.Therefore, application innovation is Internet of Things development
Core.Generally, Internet of Things be exactly using the communication technologys such as localized network or internet sensor, controller, machine,
Personnel and object etc. are linked togather by new mode, are formed people and are connected with object, object and object, realize information-based, remote management and control
With intelligentized network.So platform of internet of things is managed and right applied to the equipment up to ten thousand in tourism industry thousand
The data of magnanimity are handled, and have been inevitable.
In existing tourism industry, it can not also realize and thousands of equipment is managed by platform of internet of things and right
The function of data processing, existing tourism industry intelligence degree are low.
The content of the invention
In view of this, it is an object of the invention to provide the implementation methods and dress of rule control in a kind of platform of internet of things
It puts, thousands of equipment can not be managed by platform of internet of things and to data processing with alleviating in existing tourist industry
Function, the technical issues of existing tourism industry intelligence degree is low.
In a first aspect, an embodiment of the present invention provides a kind of implementation methods of rule control in platform of internet of things, it is applied to
Platform of internet of things, the described method includes:
The connection relation with target device is established, wherein, the quantity of the target device is multiple, and the target device is
The equipment of tourist attraction;
It is the target device set device shadow based on the connection relation, wherein, the equipment shadow can be synchronous
The operating status of the target device;
It is set objectives rule according to the target device that is arranged to of user, wherein, the goal rule can trigger institute
State the interlocking action of target device;
The detection data of the target device transmission are received based on the connection relation;
The detection data and the goal rule are analyzed, analysis result are obtained, to control the equipment shadow
Corresponding action is performed, achievees the purpose that control the target device.
With reference to first aspect, an embodiment of the present invention provides the first possible embodiment of first aspect, wherein, it builds
The vertical connection relation with target device includes:
Receive the certificate of authority that the target device is sent;
Connection relation with the target device is established based on the certificate of authority.
With reference to first aspect, an embodiment of the present invention provides second of possible embodiment of first aspect, wherein, base
Include in the connection relation for the target device set device shadow:
The log-on message that the target device is sent is received, wherein, the log-on message includes at least:IP address, equipment
Model, device location;
Device registry is updated based on the log-on message, wherein, the device registry includes multiple log-on messages;
It is the target device set device shadow according to the device registry.
With reference to first aspect, an embodiment of the present invention provides the third possible embodiment of first aspect, wherein, institute
The method of stating further includes:
Receive the service request that the user is sent by terminal device;
Corresponding data is extracted according to the service request;
Aggregation process is carried out to the corresponding data, obtains summarized results, and summarized results described in real-time storage.
With reference to first aspect, an embodiment of the present invention provides the 4th kind of possible embodiment of first aspect, wherein, root
Include according to the target device rule that sets objectives that is arranged to of user:
It is set objectives rule according to each target device that is arranged to of the user;
It is set objectives rule according to the one group of target device that is arranged to of the user, wherein, one group of target device is
Relevant equipment;
According to the setting of the user target device is made to inherit existing goal rule.
Second aspect, the embodiment of the present invention additionally provide a kind of realization device of rule control in platform of internet of things, application
In platform of internet of things, described device includes:
Establish module, for establish with the connection relation of target device, wherein, the quantity of the target device be it is multiple,
The target device is the equipment of tourist attraction;
Setting module, for being based on the connection relation as the target device set device shadow, wherein, the equipment
Shadow is capable of the operating status of the synchronous target device;
Module is formulated, is set objectives rule for the target device that is arranged to according to user, wherein, the target rule
The interlocking action of the target device can then be triggered;
First receiving module, for receiving the detection data of the target device transmission based on the connection relation;
Analysis module for analyzing the detection data and the goal rule, obtains analysis result, with control
The equipment shadow performs corresponding action, achievees the purpose that control the target device.
With reference to second aspect, an embodiment of the present invention provides the first possible embodiment of second aspect, wherein, institute
It states and establishes module and include:
First receiving unit, for receiving the certificate of authority that the target device is sent;
Unit is established, for establishing the connection relation with the target device based on the certificate of authority.
With reference to second aspect, an embodiment of the present invention provides second of possible embodiment of second aspect, wherein, institute
Stating setting module includes:
Second receiving unit, for receiving the log-on message that the target device is sent, wherein, the log-on message is at least
Including:IP address, unit type, device location;
Updating block, for being based on the log-on message update device registry, wherein, the device registry includes
Multiple log-on messages;
Setup unit, for being the target device set device shadow according to the device registry.
With reference to second aspect, an embodiment of the present invention provides the third possible embodiment of second aspect, wherein, institute
Device is stated to further include:
Second receiving module, for receiving the service request that the user is sent by terminal device;
Extraction module, for extracting corresponding data according to the service request;
Summarizing module for carrying out aggregation process to the corresponding data, obtains summarized results, and remittance described in real-time storage
Overall result.
With reference to second aspect, an embodiment of the present invention provides the 4th kind of possible embodiment of second aspect, wherein, institute
Stating formulation module includes:
First formulates unit, sets objectives rule for each target device that is arranged to according to the user;
Second formulates unit, sets objectives rule for the one group of target device that is arranged to according to the user, wherein, institute
One group of target device is stated as relevant equipment;
After bearing unit, for according to the setting of the user target device being made to inherit existing goal rule.
The embodiment of the present invention brings following advantageous effect:An embodiment of the present invention provides regular in a kind of platform of internet of things
The implementation method and device of control, this method are applied to platform of internet of things, including:The connection relation with target device is established,
In, the quantity of target device is multiple, and target device is the equipment of tourist attraction;It is set based on connection relation for target device
Standby shadow, wherein, equipment shadow is capable of the operating status of synchronous target device;Mesh is formulated according to the target device that is arranged to of user
Mark rule, wherein, goal rule can trigger the interlocking action of target device;Receive what target device was sent based on connection relation
Detect data;Detection data and goal rule are analyzed, obtain analysis result, are performed with control device shadow corresponding dynamic
Make, achieve the purpose that control target device.
In existing tourism industry, it can not realize and thousands of equipment is managed by platform of internet of things and logarithm
According to the ability of processing, existing tourism industry intelligence degree is low.Compared with the control process of tourist attraction equipment, the present invention is real
It applies in the platform of internet of things of example offer in the implementation method of rule control, first establishes the connection relation with target device, Ran Houji
It is target device set device shadow in connection relation, and sets objectives rule for target device, and then receives target device hair
The detection data sent, such platform of internet of things analyze detection data and goal rule, obtain analysis result, are set with control
Standby shadow performs corresponding action, is finally reached the purpose controlled target device.The Internet of Things of the embodiment of the present invention is put down
In platform in the implementation method of rule control, can data that efficiently the various equipment of real-time collecting and sensor upload, pass through target
Rule controls target device, is enable to respond quickly various information request, can be effectively clear by way of equipment shadow
The equipment of the clear thousands of all kinds of tourist attractions of management, intelligence degree is high, and alleviating in existing tourist industry can not lead to
It crosses platform of internet of things to be managed thousands of equipment and the function to data processing, existing tourism industry intelligence journey
Spend the technical issues of low.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
It obtains it is clear that being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims
And specifically noted structure is realized and obtained in attached drawing.
For the above objects, features and advantages of the present invention is enable to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate
Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution of the prior art
Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in describing below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is the flow chart of the implementation method of rule control in a kind of platform of internet of things provided in an embodiment of the present invention;
Fig. 2 is provided in an embodiment of the present invention based on the method flow that connection relation is target device set device shadow
Figure;
Fig. 3 is the method flow diagram that the service request provided in an embodiment of the present invention according to user is handled;
Fig. 4 be it is provided in an embodiment of the present invention according to user be arranged to target device set objectives rule flow chart;
Fig. 5 is the system structure diagram provided in an embodiment of the present invention including platform of internet of things;
Fig. 6 is the schematic diagram of the realization device of rule control in platform of internet of things provided in an embodiment of the present invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiment be part of the embodiment of the present invention rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Lower all other embodiments obtained, belong to the scope of protection of the invention.
For ease of understanding the present embodiment, first to being advised in a kind of platform of internet of things disclosed in the embodiment of the present invention
The implementation method then controlled describes in detail.
Embodiment one:
The implementation method of rule control in a kind of platform of internet of things, applied to platform of internet of things, with reference to figure 1, this method bag
It includes:
The connection relation of S102, foundation and target device, wherein, the quantity of target device is that multiple target devices are tourism
The equipment at scenic spot;
In tourist attraction, often there are thousands of equipment, control is managed to thousands of equipment
It first has to establish the connection relation with target device.Generally, goal equipment includes:Monitoring device, broadcasting equipment, lock
Machine equipment, night watching equipment, enviromental monitoring equipment, stop field device, WIFI equipment, LED light equipment etc., the embodiment of the present invention pair
It is not particularly limited.
S104, based on connection relation it is target device set device shadow, wherein, equipment shadow being capable of synchronous target device
Operating status;
It is target device set device shadow after the connection relation with target device is established.Specifically, it is each mesh
Marking device set device shadow, the equipment shadow are capable of the operating status of synchronous target device.
The effect of equipment shadow is illustrated below:If it to operate real target in platform of internet of things to set
It is standby, it is to be realized by certain medium certainly, for example the medium is a screen, equipment shadow is virtual, in game
Similar, the virtual operation equipment shadow of personage, the corresponding mesh that can be realized as carrying out respective objects equipment practical operation
's.For example target device is fan, rotating speed is one grade, and current operating status can be synchronized to equipment shadow, currently correspond to wind
The equipment shadow of fan is open, and rotating speed is one grade.
At this time if it to be allowed to become two grades, it can send and instruct to equipment shadow, it is first determined current operation shape
What (for example current wind speed is one grade) is state be, will send the instruction for increasing by one grade to equipment shadow, corresponding real mesh
The wind speed of marking device (i.e. electric fan) also can automatically be adjusted to two grades of wind speed.
S106, set objectives rule according to the target device that is arranged to of user, wherein, goal rule can trigger target and set
Standby interlocking action;
After the equipment shadow of target device is obtained, it can be set objectives rule according to the target device that is arranged to of user
Then.
It is illustrated again below:For example the goal rule of user setting is to be triggered accordingly after capacity of tourists reaches 7900
Countermeasure.Capacity of tourists such as park is up to 8000 people, when target device (such as monitoring device or infrared equipment) detects
After the capacity of tourists current to park reaches 7900 people, prompt message will be sent to Security Personnel, Security Personnel is prompted to carry out
Work is evacuated, simultaneously, moreover it is possible to trigger broadcasting equipment and be broadcasted, tourist is reminded to be gone sight-seeing towards the few place of flow of the people.This
It is exactly the interlocking action for the target device that goal rule is triggered.
S108, the detection data that target device is sent are received based on connection relation;
Specifically, factually border is Internet of Things data to testing number, it is collected by the various equipment of various kinds of sensors,
Its data-intensive degree is very big, and data volume is also very big.
S110, detection data and goal rule are analyzed, obtains analysis result, performed with control device shadow corresponding
Action, achieve the purpose that control target device.
For example institute's illustrated example in step S106, detection data are 7900 people, goal rule is after capacity of tourists reaches 7900
Corresponding countermeasure is triggered, the two is analyzed, detection data meet the requirement of goal rule, then will be to equipment
Shadow (can be specifically the equipment shadow of broadcasting equipment) sends control instruction, and so real broadcasting equipment will play correlation
Data.
In existing tourism industry, it can not realize and thousands of equipment is managed by platform of internet of things and logarithm
According to the ability of processing, existing tourism industry intelligence degree is low.Compared with the control process of tourist attraction equipment, the present invention is real
It applies in the platform of internet of things of example offer in the implementation method of rule control, first establishes the connection relation with target device, Ran Houji
It is target device set device shadow in connection relation, and sets objectives rule for target device, and then receives target device hair
The detection data sent, such platform of internet of things analyze detection data and goal rule, obtain analysis result, are set with control
Standby shadow performs corresponding action, is finally reached the purpose controlled target device.The Internet of Things of the embodiment of the present invention is put down
In platform in the implementation method of rule control, can data that efficiently the various equipment of real-time collecting and sensor upload, pass through target
Rule controls target device, is enable to respond quickly various information request, can be effectively clear by way of equipment shadow
The equipment of the clear thousands of all kinds of tourist attractions of management, intelligence degree is high, and alleviating in existing tourist industry can not lead to
It crosses platform of internet of things to be managed thousands of equipment and the function to data processing, existing tourism industry intelligence journey
Spend the technical issues of low.
The above has carried out whole description to the implementation method of rule control in platform of internet of things, below to being directed to
To particular content be described in detail.
Optionally, establishing includes with the connection relation of target device:
Receive the certificate of authority that target device is sent;
Connection relation with target device is established based on the certificate of authority.
It is not that careless target device can be into specifically, when target device will be attached with platform of internet of things
Row connection, it is necessary to which, by authorizing, after only authorizing, authorized certificate could establish the connection relation with internet of things equipment.
During connection, the present invention establishes all hardware devices one unified, standard catalogue and pattern (Schema),
Strive promoting in the whole industry and general.
Pattern:That is Schema refers to the parametric form of a kind of specific equipment, is illustrated with monitoring device, general mould
Formula has old owner, manufacturer, equipment, IP, longitude and latitude, user name, password, code stream form etc..Equipment under same directory has
Many identical parametric forms, as manufacturer is different with model and has each different parametric forms.In our data
In standard, pattern plays the role of following:
Basic schema is sorted out:By class to equipment provide and comb parameter mode, no matter accomplishing different vendor, have it is a set of by
The underlying parameter pattern that device type provides;
Peculiar pattern combs:After having basic schema classification, we can be by the equipment of peculiar manufacturer and model
Special parameter combs out.Such as in this catalogue of video monitoring in the following, Haikang, big China and space are depending on having IP, user name, password
Basic schemas are waited, also have each different attributes, these attributes are essentially all to be bound with manufacturer or model;
Common-mode is formulated:After having basic schema and a peculiar pattern, it is possible to the pattern of equipment be done one by catalogue
A common-mode standard, there is basic schema, in addition the peculiar pattern of each manufacturer (simultaneously non-fully enumerate, can be according to each by peculiar pattern
Pattern, which is carried out, from function corresponds to specified common-mode.
In addition, it is necessary to explanation, if after a target device had carried out once docking, is subsequently no longer needed for
Complicated docking operation.For example, 8700 equipment of Haikang has been carried out once docking with platform of internet of things in A parks
Process, then, when, also there are one during the equipment of Haikang 8700, there is no need to carry out docking again in B parks.
Optionally, with reference to figure 2, included based on connection relation for target device set device shadow:
S201, the log-on message that target device is sent is received, wherein, log-on message includes at least:IP address, equipment type
Number, device location;
S202, device registry is updated based on log-on message, wherein, device registry includes multiple log-on messages;
After target device completes registration, platform of internet of things can be based on log-on message and update device registry.
S203, according to device registry be target device set device shadow.
Device registry can prohibit some target devices fall, prohibit to fall in advance there are one equipment access management function
Its corresponding equipment shadow also exists afterwards, but it is in frozen state.It can not realize intelligent control, data can not be transmitted.
Optionally, with reference to figure 3, this method further includes:
S301, the service request that user is sent by terminal device is received;
When manager has sent a service request for checking tourist flow by the mobile phone of oneself.
S302, corresponding data is extracted according to service request;
For example target device is WIFI, inside scenic spot or inside industry park, is dispersed with multiple AP, the hand of timely user
Without the connection of WIFI, AP still can get the MAC Address of tourist, only turn off WIFI, can acquire machine
When the MAC Address of mobile phone is being detected in which AP device number.
Such as scenic spot Hangzhou zoo, tourist has and scatters after visit entrance enters, the management in Hangzhou zoo
Person wants to calculate one hour of front, comes in have 10,000 people from doorway, percent how much to the left side, and percent how much to the right, whole
During a flow diagram.
The WIFI connections of one hour of acquisition are needed, are multiple AP equipment first, each AP equipment is per minute can
It submits by the detecting data of oneself, these data all can be there are inside memory bank, and memory bank can carry out real according to algorithm model
When computing superposition, go update result of calculation, finally, obtain the flow diagram of tourist, and be sent to the manager in zoo.
S303, aggregation process is carried out to corresponding data, obtains summarized results, and real-time storage summarized results.
Optionally, with reference to figure 4, included according to the target device rule that sets objectives that is arranged to of user:
S401, set objectives rule according to each target device that is arranged to of user;
Specifically, goal rule is set in regulation engine, with reference to figure 5.Fig. 5 is to include platform of internet of things (i.e.
LSIoT platforms) system structure diagram.
When carrying out the setting of goal rule, can set objectives rule for each target device.
S402, set objectives rule according to the one group of target device that is arranged to of user, wherein, one group of target device is correlation
Equipment;
Alternatively, it is also possible to set objectives rule for one group of target device.For example, when capacity of tourists reaches 7900 people, a side
Face is to remind Security Personnel;On the other hand it is to be broadcasted broadcasting equipment.
S403, target device is made to inherit existing goal rule according to the setting of user.
In addition, if there is a set of target device in A parks, also there is a set of same target device in B parks, and
The adjustment rule of the operating status of target device is also identical, then, directly the goal rule in A parks can be inherited public in B
It is used in garden, without being configured again.
Platform of internet of things in the embodiment of the present invention has the following advantages:
Management scale is big:Using equipment shadow and access-in management, thousands of various kinds of equipment is effectively clearly managed;
Real-time performance is good:The data that the efficient various equipment of real-time collecting and sensor upload, utilize regulation engine and message
Gateway quick response various information is asked;
Data value is high:Every point per second all dug and mutually tied according to analytical technology platform in mass data and the big data of generation
It closes, reaches data value maximization;
Security performance is high:Equipment access is credible, data transmission security all devices access terminal equipment by certificate granting,
The equipment for ensuring access is credible, while passes through the cryptographic protocol of enhancing on transmission link, it is ensured that safety in data transmission procedure
Controllably;
Stability is good:Stablize and support magnanimity service, there is automatic fault tolerant ability, million grades of equipment whole world low delays is supported to connect
Enter.
Embodiment two:
The realization device of rule control in a kind of platform of internet of things, applied to platform of internet of things, with reference to figure 6, the device bag
It includes:
Module 11 is established, for establishing the connection relation with target device, wherein, the quantity of target device is multiple, mesh
Marking device is the equipment of tourist attraction;
Setting module 12, for being based on connection relation as target device set device shadow, wherein, equipment shadow can be same
Walk the operating status of target device;
Module 13 is formulated, is set objectives rule for the target device that is arranged to according to user, wherein, goal rule can
Trigger the interlocking action of target device;
First receiving module 14, for receiving the detection data of target device transmission based on connection relation;
Analysis module 15 for analyzing detection data and goal rule, obtains analysis result, with control device shadow
Son performs corresponding action, achievees the purpose that control target device.
In platform of internet of things provided in an embodiment of the present invention in the device of rule control, the connection with target device is first established
Relation is then based on connection relation as target device set device shadow, and sets objectives rule for target device, and then receives
The detection data that target device is sent, such platform of internet of things analyze detection data and goal rule, obtain analysis knot
Fruit performs corresponding action with control device shadow, is finally reached the purpose controlled target device.The embodiment of the present invention
Platform of internet of things in rule control device in, can data that efficiently the various equipment of real-time collecting and sensor upload, lead to
It crosses goal rule to control target device, is enable to respond quickly various information request, it can by way of equipment shadow
The equipment for effectively clearly managing thousands of all kinds of tourist attractions, intelligence degree is high, alleviates in existing tourist industry
Thousands of equipment can not be managed by platform of internet of things and the function to data processing, existing tourism industry intelligence
The technical issues of degree is low can be changed.
Optionally, establishing module includes:
First receiving unit, for receiving the certificate of authority of target device transmission;
Unit is established, for establishing the connection relation with target device based on the certificate of authority.
Optionally, setting module includes:
Second receiving unit, for receiving the log-on message of target device transmission, wherein, log-on message includes at least:IP
Address, unit type, device location;
Updating block, for being based on log-on message update device registry, wherein, device registry includes multiple registrations
Information;
Setup unit, for being target device set device shadow according to device registry.
Optionally, device further includes:
Second receiving module, for receiving the service request that user is sent by terminal device;
Extraction module, for extracting corresponding data according to service request;
Summarizing module for carrying out aggregation process to corresponding data, obtains summarized results, and real-time storage summarized results.
Optionally, formulating module includes:
First formulates unit, sets objectives rule for each target device that is arranged to according to user;
Second formulates unit, sets objectives rule for the one group of target device that is arranged to according to user, wherein, one group of mesh
Marking device is relevant equipment;
3rd formulates unit, for according to the setting of user target device being made to inherit existing goal rule.
The computer program of the implementation method of rule control and device in the platform of internet of things that the embodiment of the present invention is provided
Product, the computer readable storage medium including storing program code, the instruction that said program code includes can be used for performing
Method described in previous methods embodiment, specific implementation can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description
With the specific work process of device, the corresponding process in preceding method embodiment is may be referred to, details are not described herein.
In addition, in the description of the embodiment of the present invention, unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected or be integrally connected;It can
To be mechanical connection or be electrically connected;It can be directly connected, can also be indirectly connected by intermediary, Ke Yishi
Connection inside two elements.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood at this
Concrete meaning in invention.
If the function is realized in the form of SFU software functional unit and is independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be
People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
In the description of the present invention, it is necessary to explanation, term " " center ", " on ", " under ", "left", "right", " vertical ",
The orientation or position relationship of the instructions such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to
Convenient for the description present invention and simplify description rather than instruction or imply signified device or element must have specific orientation,
With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ",
" the 3rd " is only used for description purpose, and it is not intended that instruction or hint relative importance.
Finally it should be noted that:Embodiment described above is only the specific embodiment of the present invention, to illustrate the present invention
Technical solution, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, it will be understood by those of ordinary skill in the art that:Any one skilled in the art
In the technical scope disclosed by the present invention, can still modify to the technical solution recorded in previous embodiment or can be light
It is readily conceivable that variation or equivalent substitution is carried out to which part technical characteristic;And these modifications, variation or replacement, do not make
The essence of appropriate technical solution departs from the spirit and scope of technical solution of the embodiment of the present invention, should all cover the protection in the present invention
Within the scope of.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.
Claims (10)
1. the implementation method of rule control in a kind of platform of internet of things, which is characterized in that applied to platform of internet of things, the method
Including:
The connection relation with target device is established, wherein, the quantity of the target device is multiple, and the target device is tourism
The equipment at scenic spot;
It is the target device set device shadow based on the connection relation, wherein, the equipment shadow can be synchronously described
The operating status of target device;
It is set objectives rule according to the target device that is arranged to of user, wherein, the goal rule can trigger the mesh
The interlocking action of marking device;
The detection data of the target device transmission are received based on the connection relation;
The detection data and the goal rule are analyzed, obtain analysis result, the equipment shadow to be controlled to perform
Corresponding action, achievees the purpose that control the target device.
2. according to the method described in claim 1, it is characterized in that, establishing includes with the connection relation of target device:
Receive the certificate of authority that the target device is sent;
Connection relation with the target device is established based on the certificate of authority.
3. it according to the method described in claim 1, it is characterized in that, is set based on the connection relation for the target device
Standby shadow includes:
The log-on message that the target device is sent is received, wherein, the log-on message includes at least:IP address, unit type,
Device location;
Device registry is updated based on the log-on message, wherein, the device registry includes multiple log-on messages;
It is the target device set device shadow according to the device registry.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
Receive the service request that the user is sent by terminal device;
Corresponding data is extracted according to the service request;
Aggregation process is carried out to the corresponding data, obtains summarized results, and summarized results described in real-time storage.
5. it according to the method described in claim 1, it is characterized in that, is set objectives according to the target device that is arranged to of user
Rule includes:
It is set objectives rule according to each target device that is arranged to of the user;
It is set objectives rule according to the one group of target device that is arranged to of the user, wherein, one group of target device is correlation
Equipment;
According to the setting of the user target device is made to inherit existing goal rule.
6. the realization device of rule control in a kind of platform of internet of things, which is characterized in that applied to platform of internet of things, described device
Including:
Establish module, for establish with the connection relation of target device, wherein, the quantity of the target device be it is multiple, it is described
Target device is the equipment of tourist attraction;
Setting module, for being based on the connection relation as the target device set device shadow, wherein, the equipment shadow
It is capable of the operating status of the synchronous target device;
Module is formulated, is set objectives rule for the target device that is arranged to according to user, wherein, the goal rule energy
Enough trigger the interlocking action of the target device;
First receiving module, for receiving the detection data of the target device transmission based on the connection relation;
Analysis module for analyzing the detection data and the goal rule, obtains analysis result, with described in control
Equipment shadow performs corresponding action, achievees the purpose that control the target device.
7. device according to claim 6, which is characterized in that the module of establishing includes:
First receiving unit, for receiving the certificate of authority that the target device is sent;
Unit is established, for establishing the connection relation with the target device based on the certificate of authority.
8. device according to claim 6, which is characterized in that the setting module includes:
Second receiving unit, for receiving the log-on message that the target device is sent, wherein, the log-on message at least wraps
It includes:IP address, unit type, device location;
Updating block, for being based on the log-on message update device registry, wherein, the device registry includes multiple
Log-on message;
Setup unit, for being the target device set device shadow according to the device registry.
9. device according to claim 6, which is characterized in that described device further includes:
Second receiving module, for receiving the service request that the user is sent by terminal device;
Extraction module, for extracting corresponding data according to the service request;
Summarizing module for carrying out aggregation process to the corresponding data, obtains summarized results, and summarizes knot described in real-time storage
Fruit.
10. device according to claim 6, which is characterized in that the formulation module includes:
First formulates unit, sets objectives rule for each target device that is arranged to according to the user;
Second formulates unit, sets objectives rule for the one group of target device that is arranged to according to the user, wherein, described one
Group target device is relevant equipment;
After bearing unit, for according to the setting of the user target device being made to inherit existing goal rule.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711454837.3A CN108111617A (en) | 2017-12-27 | 2017-12-27 | The implementation method and device of rule control in platform of internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711454837.3A CN108111617A (en) | 2017-12-27 | 2017-12-27 | The implementation method and device of rule control in platform of internet of things |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108111617A true CN108111617A (en) | 2018-06-01 |
Family
ID=62213857
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711454837.3A Pending CN108111617A (en) | 2017-12-27 | 2017-12-27 | The implementation method and device of rule control in platform of internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108111617A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110501988A (en) * | 2019-09-25 | 2019-11-26 | 北京金茂绿建科技有限公司 | A kind of realization internet of things equipment fused controlling method and device thereof |
WO2020133741A1 (en) * | 2018-12-24 | 2020-07-02 | 深圳创维-Rgb电子有限公司 | Peripheral control method, television, and readable storage medium |
CN111478965A (en) * | 2020-04-07 | 2020-07-31 | 四川虹美智能科技有限公司 | Method, device and system for processing device shadow |
CN111629018A (en) * | 2019-02-28 | 2020-09-04 | Oppo广东移动通信有限公司 | Resource synchronization method, device, equipment and storage medium |
CN112130458A (en) * | 2020-09-14 | 2020-12-25 | 青岛海尔科技有限公司 | Target device control method and device, storage medium and electronic device |
CN113574482A (en) * | 2019-08-30 | 2021-10-29 | Oppo广东移动通信有限公司 | Rule checking method and device and computer equipment |
CN114244860A (en) * | 2020-09-07 | 2022-03-25 | 北京金山云网络技术有限公司 | Internet of things equipment management method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104062962A (en) * | 2014-07-01 | 2014-09-24 | 宁波市北仑海伯精密机械制造有限公司 | Internet of things equipment automatic control system and control method thereof |
CN104570832A (en) * | 2014-11-25 | 2015-04-29 | 中山大学花都产业科技研究院 | Network control method of audio equipment |
US20150304848A1 (en) * | 2014-04-22 | 2015-10-22 | Samsung Electronics Co., Ltd | Method and apparatus for controlling access to location information about user equipment executing application |
CN105141667A (en) * | 2015-07-30 | 2015-12-09 | 青岛海尔科技有限公司 | Equipment control method and device |
WO2017042702A1 (en) * | 2015-09-07 | 2017-03-16 | Karamba Security | Context-based secure controller operation and malware prevention |
CN106997179A (en) * | 2016-01-26 | 2017-08-01 | 深圳市领耀东方科技股份有限公司 | The method and intelligence control system of intelligent control platform management equipment |
-
2017
- 2017-12-27 CN CN201711454837.3A patent/CN108111617A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150304848A1 (en) * | 2014-04-22 | 2015-10-22 | Samsung Electronics Co., Ltd | Method and apparatus for controlling access to location information about user equipment executing application |
CN104062962A (en) * | 2014-07-01 | 2014-09-24 | 宁波市北仑海伯精密机械制造有限公司 | Internet of things equipment automatic control system and control method thereof |
CN104570832A (en) * | 2014-11-25 | 2015-04-29 | 中山大学花都产业科技研究院 | Network control method of audio equipment |
CN105141667A (en) * | 2015-07-30 | 2015-12-09 | 青岛海尔科技有限公司 | Equipment control method and device |
WO2017042702A1 (en) * | 2015-09-07 | 2017-03-16 | Karamba Security | Context-based secure controller operation and malware prevention |
CN106997179A (en) * | 2016-01-26 | 2017-08-01 | 深圳市领耀东方科技股份有限公司 | The method and intelligence control system of intelligent control platform management equipment |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020133741A1 (en) * | 2018-12-24 | 2020-07-02 | 深圳创维-Rgb电子有限公司 | Peripheral control method, television, and readable storage medium |
CN111629018A (en) * | 2019-02-28 | 2020-09-04 | Oppo广东移动通信有限公司 | Resource synchronization method, device, equipment and storage medium |
CN111629018B (en) * | 2019-02-28 | 2022-07-08 | Oppo广东移动通信有限公司 | Resource synchronization method, device, equipment and storage medium |
CN113574482A (en) * | 2019-08-30 | 2021-10-29 | Oppo广东移动通信有限公司 | Rule checking method and device and computer equipment |
CN113574482B (en) * | 2019-08-30 | 2023-12-08 | Oppo广东移动通信有限公司 | Rule checking method and device and computer equipment |
CN110501988A (en) * | 2019-09-25 | 2019-11-26 | 北京金茂绿建科技有限公司 | A kind of realization internet of things equipment fused controlling method and device thereof |
CN110501988B (en) * | 2019-09-25 | 2020-06-09 | 北京金茂绿建科技有限公司 | Method and device for realizing integration control of Internet of things equipment |
CN111478965A (en) * | 2020-04-07 | 2020-07-31 | 四川虹美智能科技有限公司 | Method, device and system for processing device shadow |
CN114244860A (en) * | 2020-09-07 | 2022-03-25 | 北京金山云网络技术有限公司 | Internet of things equipment management method and device, electronic equipment and storage medium |
CN112130458A (en) * | 2020-09-14 | 2020-12-25 | 青岛海尔科技有限公司 | Target device control method and device, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108111617A (en) | The implementation method and device of rule control in platform of internet of things | |
CN107730669B (en) | Access control method, system and computer readable storage medium | |
CN104394044B (en) | The method and apparatus of self-defined smart machine scene mode | |
CN104486835B (en) | A kind of positioner based on WAP and video monitoring | |
CN104243490B (en) | Method and device for identifying pseudo wireless network access point and mobile terminal | |
CN104811433B (en) | The distributed Internet of things system and implementation method of a kind of C/S frameworks | |
CN108111614A (en) | Agriculture and forestry pest and disease monitoring manages system | |
CN103313429B (en) | A kind of processing method identifying forgery WIFI hot spot | |
CN104898591A (en) | Intelligent household appliance cooperation control method | |
CN104007714B (en) | The online centralized monitoring system in Distributed power room | |
CN105975964B (en) | A kind of intelligent comprehensive application platform based on perceptual channel | |
CN102710770A (en) | Identification method for network access equipment and implementation system for identification method | |
CN104009890A (en) | Test system and method for network quality in Internet | |
CN206179048U (en) | Personal identification device | |
CN106452955B (en) | A kind of detection method and system of abnormal network connection | |
CN104507103A (en) | Method for checking state of equipment connected below router | |
CN108199869A (en) | For the wireless MAN and its safety management system of education sector | |
CN103957580A (en) | Rapid WIFI networking matching method and module for smart hardware | |
CN109831783A (en) | Open the method and system of micro-base station | |
CN110267207B (en) | Intelligent position monitoring method and device and electronic equipment | |
CN106648516A (en) | Picture display control method and system based on digital art landscape device | |
CN104363263B (en) | Internet of Things general-purpose platform based on cloud service | |
CN104660725B (en) | According to detection mobile phone address, automatic cloth is withdrawn a garrison the method for monitoring | |
CN108667844A (en) | The data safety that WIFI hot spot is combined with local cache uploads device and method | |
CN104992273A (en) | Automatic assessment method and system for service post |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180601 |