CN110493270A - Internet of things equipment accesses fused controlling method and device thereof - Google Patents

Internet of things equipment accesses fused controlling method and device thereof Download PDF

Info

Publication number
CN110493270A
CN110493270A CN201910908632.0A CN201910908632A CN110493270A CN 110493270 A CN110493270 A CN 110493270A CN 201910908632 A CN201910908632 A CN 201910908632A CN 110493270 A CN110493270 A CN 110493270A
Authority
CN
China
Prior art keywords
entity
internet
equipment
shadow
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910908632.0A
Other languages
Chinese (zh)
Other versions
CN110493270B (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.)
Jinmao Green Building Technology Co Ltd
Original Assignee
Jinmao Green Building Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jinmao Green Building Technology Co Ltd filed Critical Jinmao Green Building Technology Co Ltd
Priority to CN201910908632.0A priority Critical patent/CN110493270B/en
Publication of CN110493270A publication Critical patent/CN110493270A/en
Application granted granted Critical
Publication of CN110493270B publication Critical patent/CN110493270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/12Network-specific arrangements or communication protocols supporting networked applications adapted for proprietary or special purpose networking environments, e.g. medical networks, sensor networks, networks in a car or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Application independent communication protocol aspects or techniques in packet data networks
    • H04L69/08Protocols for interworking or protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Application independent communication protocol aspects or techniques in packet data networks
    • H04L69/18Multi-protocol handler, e.g. single device capable of handling multiple protocols

Abstract

This application provides internet of things equipment to access fused controlling method and device thereof, is applied to Internet of things system, Internet of things system includes intelligent gateway module and Internet of Things cloud platform;Method specifically includes: Internet of Things cloud platform creates scheme shadow;Internet of Things cloud platform binds the corresponding entity device of multiple shadow devices in scheme shadow with corresponding equipment shadow;Intelligent gateway module establishes the equipment shadow of multiple entity devices according to different agreements and corresponding entity device networking;The status signal that intelligent gateway module receiving entity equipment reports, is sent to Internet of Things cloud platform for status signal;The working condition for including in Internet of Things cloud platform analysis state signal, will be in the equipment shadow of working condition deposit Internet of Things cloud platform.The application realizes single control terminal to the fused controlling of plurality of devices, when not having Internet, can also be controlled entity device by intelligent gateway module;Cost needed for reducing equipment, while reducing the degree of difficulty of Internet of Things house system maintenance.

Description

Internet of things equipment accesses fused controlling method and device thereof
Technical field
This application involves internet of things field, access fused controlling method and its dress more particularly to internet of things equipment It sets.
Background technique
The networks such as the Internet of Things, wireless broadband network, internet, telecommunications network of a new generation are combined with each other, along with information technology Highly integrated, the integrated application of information resources, wisdom technology, intelligence s ervice, wisdom management, wisdom life etc. become intelligent family Occupy the core content of technology.The technology is dedicated to key issues of solving urban society's economy, humanity, environment, is future city The new direction of development.With the improvement of people ' s living standards, the development of electronics and informationization technology, smart home are continuous Progressive development.
As the main place of home life, smart home system is it is intended that people's offer is more comfortable, convenient, efficient Domestic environment, smart home technically enter a relatively quick developing stage, and agreement also starts to lead with technical standard Dynamic intercommunication and fusion.
In the prior art, there is also following defects for internet of things equipment control:
1, in the case where needing while using the scene of plurality of devices, the prior art needs various control terminal or control program It is able to achieve the control of plurality of devices under a scene, ease of use is not high, and it is with high costs, it is difficult in maintenance.
2, the communication between devices of different agreement are incompatible, and the mode mutually turned two-by-two between traditional different agreement can not handle 2 Kind or more agreement equipment.
3, the extension using the equipment of different agreement in access type is difficult to realize using non-unified abstract method.
Summary of the invention
The application provides internet of things equipment access fused controlling method, apparatus, terminal and storage medium, to solve above-mentioned skill Art problem.
The application first aspect provides internet of things equipment and accesses fused controlling method, specific as follows:
Internet of things equipment accesses fused controlling method, is applied to Internet of things system, the Internet of things system includes intelligent network Close module and Internet of Things cloud platform;The method specifically includes the following steps:
The intelligent gateway module establishes each entity device according to different agreements and corresponding entity device networking Equipment shadow;
The intelligent gateway module receives the status signal that the entity device reports, and the status signal is sent to institute State Internet of Things cloud platform;
The Internet of Things cloud platform parses the working condition for including in the status signal, will be described in working condition deposit In the equipment shadow of Internet of Things cloud platform;
The Internet of Things cloud platform receives control signal;
The Internet of Things cloud platform parses the expectation state for the target entity equipment for including in the control signal, and will be described Expectation state is updated in the equipment shadow of corresponding entity device;
The intelligent gateway module judge the working condition in the equipment shadow and the expectation state whether phase Together;
When the working condition and the not identical expectation state in the equipment shadow, the intelligent gateway module The control signal is converted into standard data format signal, the intelligent gateway module will be converted to by the control signal Standard data format signal be converted to the protocol signal that corresponding entity device is applicable in, be sent to the target entity and set It is standby.
Further, the method also includes:
The Internet of Things cloud platform receives the linkage control signal that third-party application platform is sent;
The Internet of Things cloud platform parses at least two entities for needing linkage control that the linkage control signal includes and sets Standby linkage expectation state, and the linkage expectation state is updated to the equipment shadow of corresponding at least two entity device In;
The intelligent gateway module judge working condition in the equipment shadow of at least two entity device with it is described Whether the expectation state that links is identical;
When in the equipment shadow of at least two entity device working condition and the linkage expectation state it is not identical When, the linkage control signal is converted to standard data format signal, the intelligent gateway module by the intelligent gateway module The standard data format signal being converted to by the linkage control signal is converted to corresponding at least two entity to set The standby protocol signal being applicable in, is sent at least two entity device, to join at least two entity device Dynamic control.
Further, it is established each in the intelligent gateway module according to different agreements and corresponding entity device networking Before the equipment shadow of a entity device, further includes:
Entity device is abstracted as shadow device by the Internet of Things cloud platform;
The Internet of Things cloud platform creates scheme shadow;The scheme shadow includes multiple shadow devices.
Further, the method also includes:
The Internet of Things cloud platform is by the corresponding entity device of the multiple shadow device in the scheme shadow and accordingly Equipment shadow bound, construct the functional status list of the entity device;
Third-party application obtains the functional status list, generates the control signal according to the functional status list.
Further, the Internet of Things cloud platform receives control signal, specifically includes:
The control signal is from third-party application or derives from the intelligent gateway module;The wherein intelligent gateway The control signal of module derives from the third-party application.
Further, when the working condition and the not identical expectation state in the equipment shadow, the intelligence The control signal is converted to standard data format signal by energy gateway module, and the intelligent gateway module will have the control to believe Number standard data format signal being converted to is converted to the protocol signal that corresponding entity device is applicable in, and is sent to the mesh Entity device is marked, is specifically included:
When the working condition of the target entity equipment and expectation state it is not identical when, the intelligent gateway module judge by Whether comprising executing movement in the standard data format signal that the control signal is converted to;
If comprising executing movement, the normal data lattice that the control signal is converted to by the intelligent gateway module Formula signal is converted to the protocol signal that corresponding entity device is applicable in, and is sent to the target entity equipment.
Further, if comprising executing movement, the intelligent gateway module will control what signal was converted to by described Standard data format signal uploads to the Internet of Things cloud platform as the data of notice format.
Further, if the intelligent gateway module will be converted by the control signal not comprising executing movement Obtained standard data format signal uploads to the Internet of Things cloud platform as the data of message format.
The application second aspect provides internet of things equipment and accesses fused controlling device, specific as follows:
Internet of things equipment accesses fused controlling device, is applied to Internet of things system, the Internet of things system includes intelligent network Close module and Internet of Things cloud platform;Described device is specifically included with lower module:
Networking module is established for the intelligent gateway module according to different agreements and corresponding entity device networking The equipment shadow of each entity device;
Status signal receiving module receives the status signal that the entity device reports for the intelligent gateway module, The status signal is sent to the Internet of Things cloud platform;
Status signal parsing module parses the working condition for including in the status signal for the Internet of Things cloud platform, The working condition is updated in the equipment shadow of corresponding entity device;
Signal receiving module is controlled, receives control signal for the Internet of Things cloud platform;
Signal resolution module is controlled, the target entity for including in the control signal is parsed for the Internet of Things cloud platform and sets Standby expectation state, and the expectation state is updated in the equipment shadow of corresponding entity device;
Judgment module judges the working condition and the phase in the equipment shadow for the intelligent gateway module Whether prestige state is identical;
Sending module, for when in the equipment shadow the working condition and the expectation state it is not identical when, institute It states intelligent gateway module and the control signal is converted into standard data format signal, the intelligent gateway module will be by the control The standard data format signal that signal processed is converted to is converted to the protocol signal that corresponding entity device is applicable in, and is sent to institute State target entity equipment.
Further, described device further include:
Linkage control signal receiving module receives the linkage control that third-party application platform is sent for the Internet of Things cloud platform Signal processed;
Linkage control signal resolution module parses the needs that the linkage control signal includes for the Internet of Things cloud platform The linkage expectation state of at least two entity devices of linkage control, and the linkage expectation state is updated to accordingly at least In the equipment shadow of two entity devices;
Linkage control signal judgment module judges setting at least two entity device for the intelligent gateway module Whether the working condition and the linkage expectation state in standby shadow are identical;
Linkage control signal transmitting module, for when the working condition in the equipment shadow of at least two entity device When not identical as the linkage expectation state, the linkage control signal is converted to normal data lattice by the intelligent gateway module The standard data format signal being converted to by the linkage control signal is converted to phase by formula signal, the intelligent gateway module The protocol signal that at least two entity device answered is applicable in, is sent at least two entity device, to described At least two entity devices carry out linkage control.
Further, the sending module specifically includes:
Execution acts judging submodule, not identical for the working condition and expectation state when the target entity equipment When, whether the intelligent gateway module judges in the standard data format signal being converted to by the control signal comprising executing Movement;
Signal sending submodule is controlled, if for comprising executing movement, the intelligent gateway module is by the control The standard data format signal that signal is converted to is converted to the protocol signal that corresponding entity device is applicable in, and is sent to described Target entity equipment.
Compared with prior art, the application includes following advantages:
The application uses unified abstract method, and the entity device in smart home system is abstracted as a controlling terminal Shadow device in (i.e. Internet of Things cloud platform) can be achieved with the control to all entity devices using this controlling terminal, from And the controlling terminal of all entity devices in smart home system is focused on into the same controlling terminal, so that control be greatly reduced The difficulty and complexity of system realize single control terminal to the fused controlling of plurality of devices;Cost needed for reducing equipment, simultaneously Reduce the degree of difficulty of Internet of Things house system maintenance.
The intelligent gateway device that the application application can convert different agreement, reduces costs, also achieves two Kind or more entity device between be in communication with each other;Internet of Things cloud platform passes through the entity of intelligent gateway device and various different agreements Equipment can realize communication, simplify the structure and communication interaction node of smart home system.
The application can realize the control to entity device by remote controlled manner and local control mode.
Detailed description of the invention
Fig. 1 is the new internet of things equipment control framework that the application proposes;
Fig. 2 is the smart home scenario-frame schematic diagram in the embodiment of the present application;
Fig. 3 is the flow chart of internet of things equipment access fused controlling method provided by the embodiments of the present application;
Fig. 4 is the internet of things equipment access fused controlling apparatus structure schematic diagram of the embodiment of the present application.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real Applying mode, the present application will be further described in detail.
Many entity devices, such as illuminator, curtain, air-conditioning, television set etc. involved in Internet of Things house system are real Body equipment.In the related technology, in the case where needing while using the scene of plurality of devices, and the plurality of devices under Same Scene derives from Different manufacturers then need various control terminal or control program to be controlled.For example, the entity device in parlor needs a control Terminal is controlled, and entity device (such as dish-washing machine, refrigerator etc.) needs other controlling terminal to be controlled in kitchen, crouches Entity device (such as air-conditioning, humidifier, dehumidifier etc.) in room needs controlling terminal still further to be controlled.Therefore, it uses Family convenience when using Internet of Things house system in the related technology is not high;Since the controlling terminal quantity used is more, cause The higher cost of equipment itself, and the control program of each controlling terminal is also complex;It is more just because of controlling terminal quantity, Also improve the degree of difficulty of Internet of Things house system maintenance.
In addition, a variety of entity devices its applicable agreement that Internet of Things house system is related to is varied, in the related technology, It is communicated between the entity device of different agreement between the entity device of incompatible, traditional different agreement by way of mutually turning two-by-two Realize communication, the type and quantity of the protocol conversion device resulted in the need for are more, lead to higher cost;Also, in the related technology It cannot achieve being in communication with each other between two or more entity devices.
The embodiment of the present application to solve the above-mentioned problems, proposes internet of things equipment access fused controlling method, core It is, using unified abstract method, the entity device in smart home system is abstracted as a controlling terminal (i.e. Internet of Things cloud Platform) on shadow device, can be achieved with the control to all entity devices using this controlling terminal, thus by intelligent family The controlling terminal for occupying all entity devices in system focuses on the same controlling terminal, thus needed for reducing equipment at This, while the difficulty of the control program of controlled entity equipment is reduced, also reduce the difficult journey of Internet of Things house system maintenance Degree.Meanwhile using the intelligent gateway device that can be converted different agreement, reduces costs, also achieve two or more Entity device between be in communication with each other;Internet of Things cloud platform by the entity device of intelligent gateway device and various different agreements all It is able to achieve communication, simplifies the structure and communication interaction node of smart home system.
Internet of things equipment accesses fused controlling method, is applied to Internet of things system, as shown in Figure 1, the Internet of things system Including smart machine module, intelligent gateway module, Internet of Things cloud platform and third application platform, (third-party application platform be can be Cell phone application, can also with tablet computer APP or other can produce the controlling terminal of associated control signal), smart machine mould Block and intelligent gateway module communicate to connect, and intelligent gateway module and Internet of Things cloud platform communicate to connect, Internet of Things cloud platform and intelligent network Module is closed to communicate to connect with third application platform respectively.
Intelligent gateway module includes protocol conversion module and equipment shadow module.Internet of Things cloud platform includes scheme shadow management Module, product administration module (SDF module), equipment shadow management module and service interface module.
Smart machine module refers to all smart machines included in smart home system, and the application sets all intelligence It is standby to be divided into three classes, it specifically includes control equipment, execute equipment and entity device, wherein control equipment refers to generation control letter Number equipment, such as KNX switch panel, EnOcean wireless switching etc.;It executes equipment and refers to reception control signal, and then control The equipment that its equipment (i.e. entity device, such as ceiling light, curtain etc.) connected carries out state conversion, such as RS485 actuator, KNX actuator etc..
Wherein, entity device is abstracted as shadow device by the Internet of Things cloud platform.
Intelligent gateway module and smart machine module communicate to connect, and the entity device in smart machine module is by the reality of itself Body facility information reports to intelligent gateway module.It is (such as sleeping that entity device information can specifically include device id, locating space Room, kitchen, parlor, toilet, bathroom etc.), device type, the essential information of the entity devices such as producer.That is intelligent gateway module Entity device in smart home system is counted, is collected, the entity device information that intelligent gateway module will acquire It is uploaded to Internet of Things cloud platform, Internet of Things cloud platform receives multiple entity device information that the intelligent gateway module uploads;After being convenient for It is continuous that entity device in smart home system is better controlled.
Product administration module (SDF module) in Internet of Things cloud platform is according to multiple entity device information, by the multiple reality Body device abstract be multiple shadow devices, specifically by the characteristics of entity device and function modeling be shadow device attribute, Ability and event.
Wherein, shadow device refers to that the set of same type equipment, each shadow device are owned by independent shadow and set Standby ID, the essential information of shadow device are stored in shadow device basic information module, and shadow device essential information is set with entity Standby information corresponds.Attribute is one kind of shadow device function, usually the operating status of entity device, such as Current Temperatures Deng attribute is stored in shadow device attribute module;Ability is one kind of shadow device function, and usually entity device can quilt The method of calling such as supports defined parameters, executes a certain task dispatching, and ability is stored in shadow device ability module;Event It is one kind of shadow device function, the notice that specifically entity device reports alerts if alerted and then needs to be handled in time, thing Part is stored in shadow device event module.
All entity devices are all abstracted as shadow device by product administration module (SDF module), will be in physical space Specific existing entity device is abstracted as a virtual shadow device in product administration module (SDF module), is controlling While shadow device processed, that is, the purpose for controlling corresponding entity device is realized, realizes and realized using a controlling terminal The technical effect that all entity devices are controlled.
The embodiment of the present application uses unified abstract method, and the entity device in smart home system is abstracted as a control Shadow device on terminal (i.e. Internet of Things cloud platform) processed, can be achieved with the control to all entity devices using this controlling terminal System, so that the controlling terminal of all entity devices in smart home system is focused on the same controlling terminal, to reduce Cost needed for equipment, while the difficulty of the control program of controlled entity equipment is reduced, also reduce Internet of Things household system The degree of difficulty of system maintenance.
The Internet of Things cloud platform creates scheme shadow;The scheme shadow includes multiple shadow devices.
Wherein, products scheme refers to the entire intelligent home control system in a room, for example, as shown in Fig. 2, No. 1 building 1 In 101 family of unit, including objective dining room and kitchen two spaces.
Wherein, objective dining room includes four entity devices, is three key switches, parlor ceiling light, atmosphere lamp and dining room lamp respectively. Three key switches can control the switch state of parlor ceiling light, atmosphere lamp and dining room lamp.Kitchen includes two equipment, is kitchen respectively Room lamp and one-key switch.One-key switch is for controlling kitchen lamp.Wherein parlor ceiling light, atmosphere lamp, dining room lamp and kitchen lamp with Lamp dimmer connection, lamp dimmer pass through Modbus and intelligent gateway module wired connection, three key switches and one-key switch It is wirelessly connected by EnOcean and intelligent gateway module.
For example, step 1, intelligent gateway module receives three key switches, parlor ceiling light, atmosphere lamp, dining room lamp, kitchen lamp and list The entity device information that key switch uploads, and forward it to Internet of Things cloud platform;Product administration module (the SDF of Internet of Things cloud platform Module) all entity devices are all abstracted as shadow device.
The characteristics of parlor ceiling light is in the space in objective dining room, and function is to lamp on and off, and parlor ceiling light is abstracted as Shadow device-parlor ceiling light, attribute are switch states.
The characteristics of atmosphere lamp is in the space in objective dining room, and function is to lamp on and off, and atmosphere lamp is abstracted as shadow Equipment-atmosphere lamp, attribute are switch states.
The characteristics of dining room lamp is in the space in objective dining room, and function is to lamp on and off, and dining room lamp is abstracted as shadow Equipment-dining room lamp, attribute are switch states.
The characteristics of three key switches is the space in objective dining room, and function is that execution is turned on light and execution is turned off the light, and three keys are opened Pass is abstracted as-three key switch of shadow device, and attribute is to execute switch motion, ability be switch parlor ceiling light in objective dining room, Atmosphere lamp and dining room lamp.
The characteristics of kitchen lamp is the space in kitchen, and function is to lamp on and off, and kitchen lamp is abstracted as shadow and is set Standby-kitchen lamp, attribute are switch states.
The characteristics of one-key switch is the space in kitchen, and function is that execution is turned on light and execution is turned off the light, by one-key switch It is abstracted as shadow device-one-key switch, attribute is to execute switch motion.
For example, step 2, scheme shadow management module in Internet of Things cloud platform is according to the demand of products scheme, described in extraction Multiple shadow devices corresponding to multiple entity devices needed for products scheme, constructing plan shadow.
I.e. products scheme is corresponding with scheme shadow, and scheme shadow is virtual side present in the controlling terminal of products scheme Case.And shadow device corresponding to entity device needed for then containing the products scheme in scheme shadow, that is, construct scheme Mapping relations between shadow and shadow device.
Corresponding scheme shadow interface can be generated after creating scheme shadow in scheme shadow management module, for Scheme shadow query interface in service interface module calls.When third-party application platform needs to inquire corresponding scheme shadow When, it can be inquired by invocation scheme shadow query interface.
After creating scheme shadow, set for entity device needed for products scheme and the shadow in scheme shadow It is standby, fused controlling method is accessed using internet of things equipment, as shown in figure 3, specifically includes the following steps:
Step S300, the intelligent gateway module are established each according to different agreements and corresponding entity device networking The equipment shadow of entity device.
According to different agreements and corresponding entity device networking, foundation is set equipment shadow module in intelligent gateway module Standby shadow;And equipment shadow is uploaded in the equipment shadow management module of Internet of Things cloud platform.Equipment shadow, entity device, Shadow device corresponds.
Equipment shadow is one for storing the data acquisition system of equipment uploaded state, application program expectation state information.This Apply for that embodiment in order to control entity device, needs first to know the working condition of the entity device itself.When with Know that parlor ceiling light is the basis that control parlor ceiling light is opened just to be had, if user is not aware that parlor when closing in family Ceiling light is on or off that then user is unable to control effective control parlor ceiling light.
For example, intelligent gateway module establishes lamp according to Modbus and lamp dimmer networking in No. 1 101 family of Unit 1, building The equipment shadow of optical controller.Intelligent gateway module distinguishes networking by EnOcean and three key switches and one-key switch, builds respectively The equipment shadow of vertical three key switches and one-key switch, and equipment shadow is uploaded to Internet of Things cloud platform;Parlor ceiling light, atmosphere lamp, Dining room lamp, kitchen lamp establish equipment shadow according to specific agreement and intelligent gateway network module, and equipment shadow are uploaded to Internet of Things cloud platform.
Step S301, the intelligent gateway module receive the status signal that the entity device reports, the state are believed Number it is sent to the Internet of Things cloud platform.
Entity device will include that the status signal of itself working condition reports to intelligent gateway module, then passes through intelligent network Module forwards are closed to Internet of Things cloud platform.Entity device reports the condition of itself working condition to can be timing and reports, and is also possible to It is just reported when the state of itself generates variation.
For example, the state of parlor ceiling light is to close, then the state of itself is reported to intelligence by status signal by parlor ceiling light Gateway module.
Step S302, the Internet of Things cloud platform parse the working condition for including in the status signal, by the work shape State is stored in the equipment shadow of the Internet of Things cloud platform.
The equipment of Internet of Things cloud platform reports information analysis module to parse the working condition for including in the status signal, by institute It states working condition to be stored in the equipment shadow, equipment shadow is stored in equipment shadow management module.
For example, equipment reports the device id for including in information analysis module analysis state signal and working condition, deposited Enter into equipment shadow.
Step S303, the Internet of Things cloud platform receive control signal.
Control signal in the embodiment of the present application can be obtained by two ways:
First way, Internet of Things cloud platform receive the control signal that the intelligent gateway module is sent;The intelligent gateway The control signal of module derives from third-party application platform;
The second way, Internet of Things cloud platform receive the control signal that third-party application is sent.
The difference of both modes is that first way is that third-party application platform will be controlled by intelligent gateway module Signal is sent to Internet of Things cloud platform, belongs to local control mode, i.e., in the case where no internet, third-party application platform is logical It crosses Web socket and sends control signals to intelligent gateway module, intelligent gateway module passes through MQTT again will control signal transmission To Internet of Things cloud platform.The second way is that third-party application platform directly sends control signals to Internet of Things cloud platform, is belonged to remote Process control mode, third-party application platform send control signals to Internet of Things cloud platform by Internet.Specifically, Internet of Things cloud Platform receives control signal by control equipment interface.
Control signal generates as follows:
Step S400, the Internet of Things cloud platform set the corresponding entity of the multiple shadow device in the scheme shadow It is standby to be bound with corresponding equipment shadow, construct the functional status list of the entity device.
Shadow device and equipment shadow correspond, and shadow device is virtually the setting in Internet of Things cloud platform of entity device Standby, equipment shadow then stores the working condition or expectation state of shadow device (entity device in other words).By shadow device with Equipment shadow binding, to establish functional status list.
When third-party application platform needs to check the state of the entity device in the smart home system, by calling object Join the scheme shadow query interface of cloud platform, look facility status list, the work shape of energy quick obtaining current entity equipment State.
Step S401, third-party application platform obtain the functional status list, are generated according to the functional status list The control signal.
After user queried functional status list by third-party application platform, it can be adjusted according to the wish of oneself corresponding Entity device working condition, i.e., user input demand, third-party application platform generates according to demand accordingly controls signal.
It controls signal and Internet of Things cloud platform is entered by the control equipment interface of Internet of Things cloud platform.
For example, user checks that the working condition of parlor ceiling light is to close, want to open parlor ceiling light at this time, then user is triggering After third-party application platform, it is the control letter for opening parlor ceiling light that third-party application platform, which will generate one comprising expectation state, Number.
Step S304, the Internet of Things cloud platform parse the expectation state for the target entity equipment for including in the control signal It is updated in the equipment shadow of corresponding entity device.
Entity device control signal resolution module in Internet of Things cloud platform parses control signal.It is wrapped in control signal The device id and expectation state for having contained the target entity equipment that user needs to control set expectation state deposit according to device id In standby shadow.
For example, entity device control signal resolution module parsing obtains device id and the phase of the parlor ceiling light in control signal Prestige state, it would be desirable to which state is updated in the equipment shadow of corresponding entity device.
Step S305, the intelligent gateway module judge the working condition and the expectation shape in the equipment shadow Whether state is identical.
In the use process of smart home system, perhaps there can be the case where false triggering, for example, a certain entity device State includes A condition, B state and C-state, and current working status is in B state, and user's false triggering, produces a phase Prestige state is the control signal of B state, and after receiving the control signal, which does not have to movement and just met user Requirement, at this time if also by the control signal according to step S106 execute, entity device module, intelligent gateway mould can be made Block and Internet of Things cloud platform make idle work, and therefore, intelligent gateway module judges working condition and expectation state in equipment shadow It is whether identical, idle work can be made to avoid smart home system, improve the speed of control, save device resource.
Step S306, when the working condition and the not identical expectation state in the equipment shadow, the intelligence The control signal is converted to standard data format signal by energy gateway module, and the intelligent gateway module will be believed by the control Number standard data format signal being converted to is converted to the protocol signal that corresponding entity device is applicable in, and is sent to the mesh Mark entity device.
Step S306 is specifically included:
When the working condition of the target entity equipment and expectation state it is not identical when, the intelligent gateway module judge by Whether comprising executing movement in the standard data format signal that the control signal is converted to;
If comprising executing movement, the normal data lattice that the control signal is converted to by the intelligent gateway module Formula signal is converted to the protocol signal that corresponding entity device is applicable in, and is sent to the target entity equipment.Meanwhile the intelligence Energy gateway module uploads to the standard data format signal being converted to by the control signal as the data of notice format The Internet of Things cloud platform.
If not comprising executing movement, the standard that the intelligent gateway module will be converted to by the control signal Data format signal uploads to the Internet of Things cloud platform as the data of message format.
In another embodiment provided by the present application, the mode of a variety of entity device linkage controls is additionally provided, specifically such as Under:
Step S500, the Internet of Things cloud platform receive the linkage control signal that third-party application platform is sent.
During smart home system concrete application, it will usually exist while control two or more entity devices simultaneously Movement, for example, the curtain in a room should will open the illuminator in the room, i.e. closing window while closing Curtain-opening illuminator is a linkage control signal.
Third-party application platform can need the entity device that link according to user is customized, and by corresponding linkage control The trigger packing of signal is placed in third-party application platform, when user needs to control wherein one group of linkage entity device When, then it triggers third-party application platform and generates corresponding linkage control signal, Internet of Things cloud platform receives the linkage control signal.In From the point of view of user side or third-party application platform side, using linkage control signal, it can be convenient user and preferably manipulate entity device, Unnecessary troublesome operation is reduced, the intelligence degree of smart home system is improved.
Step S501, the Internet of Things cloud platform parse need linkage control at least two that the linkage control signal includes The linkage expectation state of a entity device, and the linkage expectation state is updated to setting for corresponding at least two entity device In standby shadow.
Step S502, the Internet of Things cloud platform judge the working condition in the equipment shadow of at least two entity device It is whether identical as the linkage expectation state;
Step S503, when the working condition and linkage expectation shape in the equipment shadow of at least two entity device When state is not identical, the linkage control signal is converted to standard data format signal, the intelligence by the intelligent gateway module The standard data format signal being converted to by the linkage control signal is converted to corresponding described at least two by gateway module The protocol signal that a entity device is applicable in is sent at least two entity device, to set at least two entity It is standby to carry out linkage control.
For the treatment process of linkage control signal in the embodiment of the present application, (common control signal refers to common control signal Control signal in step S303- step S306) treatment process it is similar, for linkage control signal in the embodiment of the present application Treatment process can refer to the explanation of step S303- step S306, and details are not described herein again.
Based on same design, present applicant proposes internet of things equipment to access fused controlling device, specific as follows:
As shown in figure 4, internet of things equipment accesses fused controlling device, it is applied to Internet of things system, the Internet of things system Including intelligent gateway module and Internet of Things cloud platform;Described device is specifically included with lower module:
Networking module 400 is built for the intelligent gateway module according to different agreements and corresponding entity device networking Found the equipment shadow of multiple entity devices;
Status signal receiving module 401 receives the state letter that the entity device reports for the intelligent gateway module Number, the status signal is sent to the Internet of Things cloud platform;
Status signal parsing module 402 parses the work shape for including in the status signal for the Internet of Things cloud platform The working condition is updated in the equipment shadow of corresponding entity device by state;
Signal receiving module 403 is controlled, receives control signal for the Internet of Things cloud platform;
Signal resolution module 404 is controlled, it is real to parse the target for including in the control signal for the Internet of Things cloud platform The expectation state of body equipment, and the expectation state is updated in the equipment shadow of corresponding entity device;
Judgment module 405 judges the working condition and institute in the equipment shadow for the intelligent gateway module Whether identical state expectation state;
Sending module 406, for when in the equipment shadow the working condition and the expectation state it is not identical when, The control signal is converted to standard data format signal by the intelligent gateway module, and the intelligent gateway module will be by described The standard data format signal that control signal is converted to is converted to the protocol signal that corresponding entity device is applicable in, and is sent to The target entity equipment.
The sending module 406 specifically includes:
Execution acts judging submodule, not identical for the working condition and expectation state when the target entity equipment When, whether the intelligent gateway module judges in the standard data format signal being converted to by the control signal comprising executing Movement;
Signal sending submodule is controlled, if for comprising executing movement, the intelligent gateway module is by the control The standard data format signal that signal is converted to is converted to the protocol signal that corresponding entity device is applicable in, and is sent to described Target entity equipment.
Linkage control signal receiving module receives the linkage control that third-party application platform is sent for the Internet of Things cloud platform Signal processed;
Linkage control signal resolution module parses the needs that the linkage control signal includes for the Internet of Things cloud platform The linkage expectation state of at least two entity devices of linkage control, and the linkage expectation state is updated to accordingly at least In the equipment shadow of two entity devices;
Linkage control signal judgment module judges setting at least two entity device for the intelligent gateway module Whether the working condition and the linkage expectation state in standby shadow are identical;
Linkage control signal transmitting module, for when the working condition in the equipment shadow of at least two entity device When not identical as the linkage expectation state, the linkage control signal is converted to normal data lattice by the intelligent gateway module The standard data format signal being converted to by the linkage control signal is converted to phase by formula signal, the intelligent gateway module The protocol signal that at least two entity device answered is applicable in, is sent at least two entity device, to described At least two entity devices carry out linkage control.
For system embodiments, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
Fused controlling method and device thereof are accessed to internet of things equipment provided herein above, have carried out detailed Jie It continues, specific examples are used herein to illustrate the principle and implementation manner of the present application, and the explanation of above embodiments is only It is to be used to help understand the method for this application and its core ideas;At the same time, for those skilled in the art, according to this Shen Thought please, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage Solution is the limitation to the application.

Claims (11)

1. internet of things equipment accesses fused controlling method, which is characterized in that be applied to Internet of things system, the Internet of things system packet Include intelligent gateway module and Internet of Things cloud platform;The method specifically includes the following steps:
The intelligent gateway module is according to different agreements and corresponding entity device networking, the equipment for establishing each entity device Shadow;
The intelligent gateway module receives the status signal that the entity device reports, and the status signal is sent to the object Join cloud platform;
The Internet of Things cloud platform parses the working condition for including in the status signal, and the working condition is stored in the Internet of Things In the equipment shadow of cloud platform;
The Internet of Things cloud platform receives control signal;
The Internet of Things cloud platform parses the expectation state for the target entity equipment for including in the control signal, and by the expectation State is updated in the equipment shadow of corresponding entity device;
The intelligent gateway module judges whether the working condition in the equipment shadow and the expectation state are identical;
When the working condition and the not identical expectation state in the equipment shadow, the intelligent gateway module is by institute It states control signal and is converted to standard data format signal, the mark that the intelligent gateway module will be converted to by the control signal Quasi- data format signal is converted to the protocol signal that corresponding entity device is applicable in, and is sent to the target entity equipment.
2. internet of things equipment according to claim 1 accesses fused controlling method, which is characterized in that the method is also wrapped It includes:
The Internet of Things cloud platform receives the linkage control signal that third-party application platform is sent;
The Internet of Things cloud platform parses at least two entity devices for needing linkage control that the linkage control signal includes Link expectation state, and the linkage expectation state is updated in the equipment shadow of corresponding at least two entity device;
The intelligent gateway module judges working condition and the linkage in the equipment shadow of at least two entity device Whether expectation state is identical;
When the working condition and the not identical linkage expectation state in the equipment shadow of at least two entity device, institute It states intelligent gateway module and the linkage control signal is converted into standard data format signal, the intelligent gateway module will be by institute It states the standard data format signal that linkage control signal is converted to and is converted to corresponding at least two entity device and fit Protocol signal is sent at least two entity device, to carry out linkage control at least two entity device.
3. internet of things equipment according to claim 1 accesses fused controlling method, which is characterized in that in the intelligent gateway Module is established before the equipment shadow of each entity device according to different agreements and corresponding entity device networking, further includes:
Entity device is abstracted as shadow device by the Internet of Things cloud platform;
The Internet of Things cloud platform creates scheme shadow;The scheme shadow includes multiple shadow devices.
4. internet of things equipment according to claim 3 accesses fused controlling method, which is characterized in that the method is also wrapped It includes:
The Internet of Things cloud platform sets the corresponding entity device of the multiple shadow device in the scheme shadow with corresponding Standby shadow is bound, and the functional status list of the entity device is constructed;
Third-party application obtains the functional status list, generates the control signal according to the functional status list.
5. internet of things equipment according to claim 1 accesses fused controlling method, which is characterized in that the Internet of Things cloud platform Control signal is received, is specifically included:
The control signal is from third-party application or derives from the intelligent gateway module;The wherein intelligent gateway module Control signal derive from the third-party application.
6. internet of things equipment according to claim 1 accesses fused controlling method, which is characterized in that when the equipment shadow In the working condition and the expectation state it is not identical when, the control signal is converted to mark by the intelligent gateway module Quasi- data format signal, the intelligent gateway module convert the standard data format signal for having the control signal to be converted to The protocol signal being applicable in by corresponding entity device, is sent to the target entity equipment, specifically includes:
When the working condition of the target entity equipment and expectation state be not identical, the intelligent gateway module judges by described Whether comprising executing movement in the standard data format signal that control signal is converted to;
If comprising executing movement, the intelligent gateway module believes the standard data format that the control signal is converted to Number the protocol signal that corresponding entity device is applicable in is converted to, is sent to the target entity equipment.
7. internet of things equipment according to claim 6 accesses fused controlling method, which is characterized in that if dynamic comprising executing Make, the intelligent gateway module is using the standard data format signal being converted to by the control signal as the number of notice format According to uploading to the Internet of Things cloud platform.
8. internet of things equipment according to claim 6 accesses fused controlling method, which is characterized in that if not comprising holding Action is made, then the intelligent gateway module is using the standard data format signal being converted to by the control signal as message lattice The data of formula upload to the Internet of Things cloud platform.
9. internet of things equipment accesses fused controlling device, which is characterized in that be applied to Internet of things system, the Internet of things system packet Include intelligent gateway module and Internet of Things cloud platform;Described device is specifically included with lower module:
Networking module is established each for the intelligent gateway module according to different agreements and corresponding entity device networking The equipment shadow of entity device;
Status signal receiving module receives the status signal that the entity device reports for the intelligent gateway module, by institute It states status signal and is sent to the Internet of Things cloud platform;
Status signal parsing module parses the working condition for including in the status signal for the Internet of Things cloud platform, by institute Working condition is stated to be updated in the equipment shadow of corresponding entity device;
Signal receiving module is controlled, receives control signal for the Internet of Things cloud platform;
Signal resolution module is controlled, parses the target entity equipment for including in the control signal for the Internet of Things cloud platform Expectation state, and the expectation state is updated in the equipment shadow of corresponding entity device;
Judgment module judges the working condition and the expectation shape in the equipment shadow for the intelligent gateway module Whether state is identical;
Sending module, for when in the equipment shadow the working condition and the expectation state it is not identical when, the intelligence The control signal is converted to standard data format signal by energy gateway module, and the intelligent gateway module will be believed by the control Number standard data format signal being converted to is converted to the protocol signal that corresponding entity device is applicable in, and is sent to the mesh Mark entity device.
10. internet of things equipment according to claim 9 accesses fused controlling device, which is characterized in that described device is also wrapped It includes:
Linkage control signal receiving module receives the linkage control letter that third-party application platform is sent for the Internet of Things cloud platform Number;
Linkage control signal resolution module needs to link for what the Internet of Things cloud platform parsed that the linkage control signal includes The linkage expectation state of at least two entity devices of control, and the linkage expectation state is updated to corresponding at least two In the equipment shadow of entity device;
Linkage control signal judgment module judges the equipment shadow of at least two entity device for the intelligent gateway module Whether the working condition and the linkage expectation state in son are identical;
Linkage control signal transmitting module, for when at least two entity device equipment shadow in working condition and institute State linkage expectation state it is not identical when, the intelligent gateway module by the linkage control signal be converted to standard data format believe Number, the intelligent gateway module is converted to the standard data format signal being converted to by the linkage control signal accordingly The protocol signal that at least two entity device is applicable in is sent at least two entity device, with to it is described at least Two entity devices carry out linkage control.
11. internet of things equipment according to claim 9 accesses fused controlling device, which is characterized in that the sending module It specifically includes:
Execution act judging submodule, for when the working condition of the target entity equipment and expectation state it is not identical when, institute Intelligent gateway module is stated whether to judge in the standard data format signal being converted to by the control signal comprising executing movement;
Signal sending submodule is controlled, if for comprising executing movement, the intelligent gateway module is by the control signal The standard data format signal being converted to is converted to the protocol signal that corresponding entity device is applicable in, and is sent to the target Entity device.
CN201910908632.0A 2019-09-25 2019-09-25 Internet of things equipment access fusion control method and device Active CN110493270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910908632.0A CN110493270B (en) 2019-09-25 2019-09-25 Internet of things equipment access fusion control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910908632.0A CN110493270B (en) 2019-09-25 2019-09-25 Internet of things equipment access fusion control method and device

Publications (2)

Publication Number Publication Date
CN110493270A true CN110493270A (en) 2019-11-22
CN110493270B CN110493270B (en) 2020-10-09

Family

ID=68544267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910908632.0A Active CN110493270B (en) 2019-09-25 2019-09-25 Internet of things equipment access fusion control method and device

Country Status (1)

Country Link
CN (1) CN110493270B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395218A (en) * 2011-10-13 2012-03-28 无锡爱房信科技发展有限公司 Universal wireless sensing network intelligent control system and implementation method thereof
CN102736599A (en) * 2012-06-14 2012-10-17 华北电力大学(保定) Real-time interaction intelligent terminal control system based on internet of things technology
CN105577534A (en) * 2014-10-15 2016-05-11 珠海格力电器股份有限公司 Household intelligence gateway and intelligent household system
CN106412111A (en) * 2016-11-14 2017-02-15 南京物联传感技术有限公司 Cloud-based whole house intelligent system
CN106597868A (en) * 2016-12-30 2017-04-26 中科同德(北京)生态科技有限公司 Intelligent home control system
CN106789483A (en) * 2017-01-23 2017-05-31 微赫智能科技(上海)有限公司 A kind of distributed KNX intelligent domestic systems
CN108377272A (en) * 2018-05-09 2018-08-07 深圳市有方科技股份有限公司 A kind of method and system of management internet-of-things terminal
CN108769165A (en) * 2018-05-17 2018-11-06 深圳市信锐网科技术有限公司 Data processing method, Internet of Things access system in a kind of Internet of Things
CN108983624A (en) * 2018-07-17 2018-12-11 珠海格力电器股份有限公司 A kind of control method and terminal device of smart home device
CN109327551A (en) * 2018-12-04 2019-02-12 浩云科技股份有限公司 By the method and device of internet of things equipment access platform of internet of things, server
US20190068592A1 (en) * 2017-08-23 2019-02-28 Redpine Signals, Inc. Uncloneable Registration of an Internet of Things (IoT) Device in a Network
CN109922150A (en) * 2019-03-07 2019-06-21 深圳市简智联信息科技有限公司 Virtual device information processing method, device, gateway of internet of things and Internet of Things communication system
CN109981668A (en) * 2019-04-02 2019-07-05 四川尊古科技有限公司 Common apparatus Internet of Things communication means based on the extensive agreement of MQTT
US10346614B1 (en) * 2019-03-01 2019-07-09 Hajoon Ko Security system and method for internet of things

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395218A (en) * 2011-10-13 2012-03-28 无锡爱房信科技发展有限公司 Universal wireless sensing network intelligent control system and implementation method thereof
CN102736599A (en) * 2012-06-14 2012-10-17 华北电力大学(保定) Real-time interaction intelligent terminal control system based on internet of things technology
CN105577534A (en) * 2014-10-15 2016-05-11 珠海格力电器股份有限公司 Household intelligence gateway and intelligent household system
CN106412111A (en) * 2016-11-14 2017-02-15 南京物联传感技术有限公司 Cloud-based whole house intelligent system
CN106597868A (en) * 2016-12-30 2017-04-26 中科同德(北京)生态科技有限公司 Intelligent home control system
CN106789483A (en) * 2017-01-23 2017-05-31 微赫智能科技(上海)有限公司 A kind of distributed KNX intelligent domestic systems
US20190068592A1 (en) * 2017-08-23 2019-02-28 Redpine Signals, Inc. Uncloneable Registration of an Internet of Things (IoT) Device in a Network
CN108377272A (en) * 2018-05-09 2018-08-07 深圳市有方科技股份有限公司 A kind of method and system of management internet-of-things terminal
CN108769165A (en) * 2018-05-17 2018-11-06 深圳市信锐网科技术有限公司 Data processing method, Internet of Things access system in a kind of Internet of Things
CN108983624A (en) * 2018-07-17 2018-12-11 珠海格力电器股份有限公司 A kind of control method and terminal device of smart home device
CN109327551A (en) * 2018-12-04 2019-02-12 浩云科技股份有限公司 By the method and device of internet of things equipment access platform of internet of things, server
US10346614B1 (en) * 2019-03-01 2019-07-09 Hajoon Ko Security system and method for internet of things
CN109922150A (en) * 2019-03-07 2019-06-21 深圳市简智联信息科技有限公司 Virtual device information processing method, device, gateway of internet of things and Internet of Things communication system
CN109981668A (en) * 2019-04-02 2019-07-05 四川尊古科技有限公司 Common apparatus Internet of Things communication means based on the extensive agreement of MQTT

Also Published As

Publication number Publication date
CN110493270B (en) 2020-10-09

Similar Documents

Publication Publication Date Title
EP3180902B1 (en) Method and apparatus for automatically generating an events dictionary in an internet of things (iot) network
CN105657073B (en) A kind of smart home system
Sun et al. An intelligent SDN framework for 5G heterogeneous networks
Zhou et al. Cloudthings: A common architecture for integrating the internet of things with cloud computing
Viswanath et al. System design of the internet of things for residential smart grid
CN105022362B (en) A kind of coordinated control system and inter-linked controlling method of smart home device
Han et al. Design and implementation of smart home energy management systems based on zigbee
CN103941651B (en) A kind of intelligent domestic system and control method based on internet
CN202218258U (en) Intelligent home gateway and system thereof
CN102316053B (en) ZIGBEE/IP Gateway
CN105024995B (en) Home intelligent house control system
Zhu et al. Iot gateway: Bridgingwireless sensor networks into internet of things
EP1402102B1 (en) Internet-washer and operating method thereof
CN101808025B (en) Device, system and method for realizing intelligent home application
CN104052759B (en) System for realizing add-and-play technology of internet of things
CN104640237B (en) A kind of Internet of things system
CN1166125C (en) Method for controlling and managing electrical appliances in household network
CN101094243B (en) Multimedia adaptation system and method of adaptating multimedia content for different types of devices base on UPnP
US8060588B2 (en) Home network apparatus and system for cooperative work service and method thereof
CN1181647C (en) Household appliance control system and method
CN104898449A (en) Smart home system and control method thereof
CN107547280B (en) Intelligent building system architecture of thing networking
CN103685733B (en) Remote control method and terminal
CN1592283B (en) Method of control between devices connected to a heterogeneous network and device implementing the method
US20030177271A1 (en) Apparatus for providing device information via network and a method thereof

Legal Events

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