CN104618357B - A kind of intelligent household management system based on improved KNX/EIB protocol stacks - Google Patents

A kind of intelligent household management system based on improved KNX/EIB protocol stacks Download PDF

Info

Publication number
CN104618357B
CN104618357B CN201510028625.3A CN201510028625A CN104618357B CN 104618357 B CN104618357 B CN 104618357B CN 201510028625 A CN201510028625 A CN 201510028625A CN 104618357 B CN104618357 B CN 104618357B
Authority
CN
China
Prior art keywords
knx
equipment
eib
smart machine
improved
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.)
Expired - Fee Related
Application number
CN201510028625.3A
Other languages
Chinese (zh)
Other versions
CN104618357A (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.)
Shanghai Zhendan Vocational College Co ltd
Original Assignee
AURORA-COLLEGE
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 AURORA-COLLEGE filed Critical AURORA-COLLEGE
Priority to CN201510028625.3A priority Critical patent/CN104618357B/en
Publication of CN104618357A publication Critical patent/CN104618357A/en
Application granted granted Critical
Publication of CN104618357B publication Critical patent/CN104618357B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

A kind of intelligent household management system based on improved KNX/EIB protocol stacks, including:Standard device, smart machine, KNX routers, central module CU, mobile intelligent terminal;Standard device is connected by KNX buses with KNX routers;KNX routers interconnect with CU;CU and smart machine access backbone network, CU simultaneously with intelligent terminal wireless connection;Standard device meets the standards of ISO/IEC 14,543 3;Smart machine includes additional hardware interface, for outwards broadcasting the summary comment state and function of the equipment, is sent to CU based on the request of summary to be serviced;KNX routers are used to send the mutual conversion of KNX/EIB frames and IP frames, for caching message;The service/resource of configuration, monitoring and standard device and smart machine that CU is used for network is excavated and the task of remote control, and operational capability is provided for standard device and smart machine;By including micro- summary layer based on improved KNX/EIB protocol communications, agreement between standard device, smart machine, KNX routers, CU and intelligent terminal.

Description

A kind of intelligent household management system based on improved KNX/EIB protocol stacks
Technical field
It is more particularly to a kind of to be based on improved KNX/ the present invention relates to technology of Internet of things and Computer Applied Technology field The intelligent household management system of EIB protocol stacks.
Background technology
In terms of Internet of Things network bus, European KNX standards are the standards that a Ge Bei worlds are adopted extensively, and KNX is widely used In intelligent domestic system, KNX/EIB agreements are assisted by europe installation bus (EIB), European home system (EHS) and BatiBus Obtained from discussing these three existing protocol synthesises optimizations.The agreement obtains after carrying out back compatible improvement to EIB agreements, Therefore named KNX/EIB.Smart home is the subset of intelligent environment, and it is each in environment that intelligent environment (AmI) refers to that people are deployed in The intelligentized micro chip of formula surrounds, and these small chips are quick on the draw, and can identify user profile file, and can be according to identification Content and the ambient parameter that perceives carry out it is adaptive.Without the direct interference of user, between equipment can according to it is various because Element (such as whether user on the scene and the hobby of user etc.) carries out autonomous interaction, wherein there is a single intelligence system to be responsible for Coordinate these equipment.Current HBA schemes are far away from this target, are far from reaching above-mentioned flexibility and Automated water It is flat.
Existing smart home management method need to be carried out with user it is cumbersome interact, and be preset in plan implementation mostly The static scheme of sequence of operations, flexibility and automaticity be not high.
The content of the invention
For HBA systems modernize in fact, intelligent, enable to be needed from the various equipment of main regulation according to ambient parameter Consider the technologies such as general fit calculation, mobile computing, artificial intelligence theory and the Software for Design based on agency, overcome existing intelligence Household management method need to be carried out with user it is cumbersome interact, and be the static state side of the preset sequence of operations in plan implementation mostly The defects of case, flexibility and not high automaticity, based on a kind of most popular HBA standards-KNX/EIB agreements, carry For a kind of intelligent household management system based on improved KNX/EIB agreements.
A kind of intelligent household management system based on improved KNX/EIB protocol stacks, it includes:
Standard device, smart machine, KNX routers, central module CU, mobile intelligent terminal;Standard device is total by KNX Line is connected with KNX routers;KNX routers pass through LAN Monitoring System with CU;CU and smart machine access backbone network, CU simultaneously with Intelligent terminal wireless connection;
Standard device meets ISO/IEC 14543-3 standards;Smart machine includes can be with the volume of IP network direct communication Outer hardware interface, smart machine is used for the summary comment state and function for outwards broadcasting the equipment, and is based on for being sent to CU The request of summary is to be serviced;KNX routers are used for the mutual conversion of KNX/EIB frames and IP frames and sent, and are used for simultaneously Cache message;The service/resource of configuration, monitoring and standard device and smart machine that CU is used for network is excavated and long-range control The task of system, and for providing operational capability for standard device and smart machine;
By being assisted based on improved KNX/EIB between standard device, smart machine, KNX routers, CU and intelligent terminal View communication, improved KNX/EIB agreements include micro- summary layer.
Of the present invention based in the intelligent household management system of improved KNX/EIB protocol stacks, the CU includes Graphical user interface module, client manager, database manager, automated reasoning module, KNX managers, proxy for equipment mould Block;
Graphical user interface module is used for the interactive interface for providing user and system, and for showing with summary comment form Basic household parameter, equipment state and the request received and the response for request of tissue;
Client manager is used to mobile intelligent terminal being connected to CU, and domestic environment is checked by mobile intelligent terminal State, and for submitting the summary file of mobile intelligent terminal;
Database manager is used to parse the XML document that is generated by software engineering tool ETS3 in CU startup stages to detect The configuration of household and network topology;
Automated reasoning module is used for by the embedded purpose adaptation progress automated reasoning in CU, in ALN description logics The matching process of summary request and service/resource is realized using standard and off-gauge inference procedure;
KNX managers include the interface being connected with physical network, for controlling standard to set using Calimero NG storehouses Standby, smart machine, control include the service of activation/the disable standard device, smart machine;
Proxy for equipment module, calculation function is provided for storing standard device summary comment, and for standard device.
Of the present invention based in the intelligent household management system of improved KNX/EIB protocol stacks, improved KNX/ EIB agreements are to add a micro- summary layer in the top layers of the KNX/EIB protocol stacks of standard;Micro- summary layer with the addition of two it is new Interface object is used for the configuration file and functions of the equipments summary configuration file for preserving user profile;
New interface object form includes:The object type field of 16, for description standard equipment or smart machine General summary GPD and special summary SPD;General summary GPD is used for the generic features for describing equipment, each standard equipment or intelligence Can one unique GPD of equipment association;Special summary SPD is used for description standard equipment or the peculiar function of smart machine and operation Pattern, a standard equipment or smart machine possess one or more SPD, each SPD to should one of equipment open Put services/functionalities;
16 body universal unique identifier OUUID, relied on reference body is explained for identifying equipment summary;Every In secondary matching process, universal unique identifier OUUID can tentatively be chosen from the knowledge domain of system operation;
The attribute-bit code PID_OUUIDs of OUUID groups, the field only refer to GPD, and the row of the OUUID comprising equipment SPD Table;
Equipment explains coding head PID_SEMANTIC_HEADER, and it is stored in the form of varying string;
Equipment explains encoded body PID_SEMANTIC_BODY, is stored with character string forms.
Of the present invention based in the intelligent household management system of improved KNX/EIB protocol stacks, improved In KNX/EIB agreements, it includes two service primitives, and one of them is detected for sending proxy for equipment module according in environment Event and the summary description that generates;Another service primitive is used for the response to the request of above-mentioned summary.
Of the present invention based in the intelligent household management system of improved KNX/EIB protocol stacks, above-mentioned two is former The type of language is included in application layer protocol data cell APCI in an encoded form, and the value of coding is assisted from improved KNX/EIB Chosen in the APCI reserved words of view.
The present invention incorporates micro- summary layer in KNX agreements, HBA is had Resource exploitation and decision support function, so as to Make system that there is higher independence and flexibility, while keep complete back compatible.Using transparent to user and driven by equipment Dynamic interaction, rather than currently conventional static configuration method.Because KNX supports the IP communications based on KNXnet/IP agreements, this Method in this, as backbone network communications protocol can expand many local bus without control and management function, with user's It is used interchangeably the home control network communication protocols such as IEEE802.11 and bluetooth.Need to be with present invention, avoiding existing smart home management method User carries out cumbersome interaction, and flexibility and automaticity are high.
Brief description of the drawings
Fig. 1 is the intelligent household management system structured flowchart based on improved KNX/EIB protocol stacks that the present invention is implemented;
Fig. 2 is the structured flowchart of central module in Fig. 1;
Fig. 3 is that proxy for equipment module summary strengthens communication scheme.
Embodiment
In order to improve feasibility and make full use of the support of industry, the present invention based on a kind of most popular HBA standards- KNX/EIB agreements, summary enhancing is carried out to user management and device attribute/service management, utilizes KR technologies and inference technology system An adaptive framework is determined.KNX/EIB agreements be by europe installation bus (EIB), European home system (EHS) and Obtained from these three the existing protocol synthesis optimizations of BatiBus agreements.The agreement is to carry out back compatible improvement to EIB agreements Obtain afterwards, therefore named KNX/EIB, support following several physical mediums:Twisted-pair feeder (TP), power line (PL), radio (RF) and Ethernet, in accordance with KNXnet/IP agreements.KNX Web vector graphics layering topological structure and addressing structure come identify access equipment or Whole domain.In the deployment scheme of suggestion, all collaborative share identical domain addresses, because they belong to same group of deployment. KNX also supports the multiple address space needed for multicast.Multiple set is described using unified main.middle.little packet formats Standby or distinct device multiple functions.
In order to improve feasibility and make full use of the support of industry, the present invention is based on a kind of most popular HBA marks Quasi- KNX/EIB agreements, summary enhancing is carried out to user management and device attribute/service management, utilizes KR technologies and inference technology An adaptive framework is formulated.The present invention adds a micro- summary layer in the top layer of protocol stack, with the addition of two and new connects Mouthful object is to preserve the summary comment of equipment and function (the DIG fragments of i.e. given body).In order to follow standard, what is newly added connects Mouth object is completely depending on the requirement of standard agreement.Interface object is to include the data structure of equipment feature, by device attribute Composition, each attribute description include:(1) attribute-bit code (PID);(2) attribute data type (PDT);(3) can in property value Maximum quantity (max_no_of_elem) comprising element;(4) attribute access rights field.Property value is by max_no_of_elem + 1 element composition:Element 0 represents the number of effective element.It is all compulsory to total interface object to have an attribute:One The exclusive identification code of 16.KNX agreements are that this identification code defines different value scopes according to the purpose of object.In order to reduce The note length of functions of the equipments summary and user profile, the present invention have used the compression algorithm based on XML Ontology Languages, are each Individual encoded document structure tree document head and document body, the generic features of equipment, example are described using Device-General summary (GPD) Such as:Device type, manufacturer or model etc..Each equipment associates a unique GPD.Use device-specific summary (SPD) the peculiar function and operator scheme of equipment described.One equipment can possess multiple SPD, and each SPD is to should equipment An open service/function.The interface object form newly added is as follows:(1)PID_OBJ_TYPE:The object class type-word of 16 Section, GPD and SPD at most have 1200 and 1205 characters respectively, these values all KNX/EIB agreements interface object value scope it It is interior.(2)PID_OUUID:16 body universal unique identifiers (OUUID), relied on ginseng is explained for identifying equipment summary Examine body;In each matching process, the parameter can tentatively be chosen from the knowledge domain of system operation.Carry out any Before excavation, user agent and household agency just must reach an agreement with reference to body, because the body provides specific knowledge domain Generic concept.(3)PID_OUUIDs:OUUID groups.The field only refers to GPD, and the OUUID lists comprising equipment SPD.(4) PID_SEMANTIC_HEADER:Equipment explains coding head.Stored in the form of varying string.(5)PID_SEMANTIC_ BODY:Equipment explains encoded body.Equally it is the attribute of character string type.
As shown in figure 1, a kind of intelligent household management system based on improved KNX/EIB protocol stacks, it includes:
Standard device, smart machine 2, KNX routers 3, central module CU4, mobile intelligent terminal;Standard device passes through KNX buses are connected with KNX routers 3;KNX routers 3 and CU4 passes through LAN Monitoring System;CU4 and smart machine 2 access backbone Net, CU4 simultaneously with intelligent terminal wireless connection.Mobile intelligent terminal can be tablet personal computer 51 and/or smart mobile phone 52.Standard Equipment can be fan 11, sound equipment 12, electric light 13.
Standard device meets ISO/IEC 14543-3 standards;Smart machine 2 includes can be with the volume of IP network direct communication Outer hardware interface, smart machine 2 are used for the summary comment state and function for outwards broadcasting the equipment, and for sending base to CU4 In the request of summary to be serviced;KNX routers 3 are used for the mutual conversion of KNX/EIB frames and IP frames and sent, and use simultaneously In caching message;CU4 is component software-central location of a lightweight, and configuration, monitoring and standard for network are set The standby and service/resource of smart machine 2 is excavated and the task of remote control, and for being provided for standard device and smart machine 2 Operational capability.
By based on improved KNX/ between standard device, smart machine 2, KNX routers 3, CU4 and intelligent terminal EIB protocol communications, improved KNX/EIB agreements include micro- summary layer.
IP network is as high-speed backbone.In household configuration file, KNX equipment (standard device, smart machine 2) passes through KNX buses are connected on one or more KNX/IP routers, and each router is connected to backbone network, multiple so as to be formed Sub-network.Standard device and smart machine 2 are included in system, the former meets ISO/IEC 14543-3 standards, the latter then with virtually KNX/EIB device properties are identical, have been assigned extra hardware interface so as to IP network direct communication.This kind equipment accords with Closing the summary described above to standard agreement strengthens.
As shown in Fig. 2 of the present invention based in the intelligent household management system of improved KNX/EIB protocol stacks, The CU4 include graphical user interface module 41, client manager 46, database manager 42, automated reasoning module 43, KNX managers 44, proxy for equipment module 45.
Graphical user interface module 41 is used for the interactive interface for providing user and system, and for showing with summary comment lattice Basic household parameter, equipment state and the request received of formula tissue and the response for request.
Client manager 46 is used to mobile intelligent terminal being connected to CU4, and household is checked by mobile intelligent terminal The state of environment, and for submitting the summary file of mobile intelligent terminal.Mobile intelligent terminal is wireless by IEEE802.11 Agreement or Bluetooth protocol communicate with CU4.The present invention can use based on the smart mobile phone of android system as client come Test corresponding module.
Database manager 42 be used to parsing in CU4 startup stages the XML document that is generated by software engineering tool ETS3 with Detect configuration and the network topology of household.
Increase because ETS3 (Engineering Tool Software) itself is not responsible for summary of the present invention Strong part, it is therefore desirable to be extended to the basic configuration file of ETS3 generations, so can just be introduced into data base administration Device 42.Realized herein by a line is added in each device service:<Func type=" A | S | I " value=" VAL " Desc=" NAME ">.Wherein, A in type attribute option represents actuator, and " S " represents sensor, " I " (i.e. " Intelligent ") represent smart machine 2." desc " is a label with reference to SPD interface objects, and the interface object includes The summary comment of service, the service can be thus accessed by equipment.Each service passes through a variable and standard KNX data types associate, and when service starts constantly, the variable is sent to equipment where it.The description above allows to use face Service/resource is described to the high-level notation of user, and is held by rudimentary device oriented service/resource execution unit triggering OK.Network topology data (including group address, data type and the available function/service of each equipment etc.) after parsing are saved into Database caches as equipment.SQLite is used in this program as database manager 42, SQLite is a lightweight SQL database engine.In program startup stage, from the summary of each available service/resource of the corresponding interface acquisition of each equipment Description, then deposits into database, is delayed so as to reduce network congestion and response.It should be noted that no matter use configuration file Or database be provided to improve equipment performance, into network add equipment or therefrom removing device/service all pass through KNX/EIB standard agreements primitive is realized, then updates corresponding cache information.
Automated reasoning module 43 is used for by the embedded purpose adaptation progress automated reasoning in CU4, in ALN description logics The middle matching process that summary request and service/resource are realized using standard and off-gauge inference procedure.
The present invention is in combination with the available service in environment, using a kind of algorithm covered based on concept come as much as possible Feature described in covering request.Interaction sequences are started by user or equipment, it is as follows to perform step:(a) database is inquired about, is obtained The available service of all devices (standard device/intelligence is set) and the address with them (filling is cached to reduce delay during start) Association.(b) state of each equipment is read by a specific process in KNX managers 44, according to status data type, is made Represented with character string, numerical value or Boolean type.(c) use<address,staus>Key-value pair extracts as Key from database Summary comment, service is then divided into available set and unavailable group.(d) the concept contraction algorithm passed through, find out with request not Compatible service, is then disabled.(e) concept abduction algorithm is used, checks whether request has been covered completely by available service Lid.If (f) request is not completely covered, activates one or more services using CCoP method choices and (perform once basic Check to skip currently available service), cover unsatisfied feature in request using its (or combinations thereof).Calculate The return value of method is available and disabled two groups of services, while also has part (if present) uncovered in request.
KNX managers 44 include the interface being connected with physical network, for controlling standard to set using Calimero NG storehouses Standby, smart machine 2, control include the service of activation/the disable standard device, smart machine 2.
Calimero NG (being based on Java language) storehouse also includes several tool and methods to simplify network management.The present invention By being extended to it come the standard attribute and summary attribute in access equipment.KNX managers 44 can also include message manager (Message Manager, MM), it is responsible for performing following basic task:(a) analyze and extract the word in KNXnet/IP frames Section is so as to controlling the communication between CU4 and equipment;(b) identify summary framework and manage its content.It is significant to note that CU4 uses unified mode administrative standard KNX data and summary comment, so must comply with protocol specification.
Proxy for equipment module 45, calculation function is provided for storing standard device summary comment, and for standard device.Such as figure Shown in 3, proxy for equipment module 45 can also support summary to improve, while can simplify module in this method.So, if CU4 needs standard device attribute, and corresponding request will be sent to the equipment specified by router by network., whereas if please Asking needs summary comment, and agency then responds.
Of the present invention based in the intelligent household management system of improved KNX/EIB protocol stacks, improved KNX/ EIB agreements are to add a micro- summary layer in the top layers of the KNX/EIB protocol stacks of standard;Micro- summary layer with the addition of two it is new Interface object is used for the configuration file and functions of the equipments summary configuration file for preserving user profile.
New interface object form includes:The object type field of 16, for description standard equipment or smart machine 2 General summary GPD and special summary SPD;General summary GPD is used for the generic features for describing equipment, each standard equipment or intelligence Can one unique GPD of the association of equipment 2;Special summary SPD is used for description standard equipment or the peculiar function of smart machine 2 and behaviour Operation mode, a standard equipment or smart machine 2 possess one or more SPD, and each SPD is to should be one of equipment Open service/function.
16 body universal unique identifier OUUID, relied on reference body is explained for identifying equipment summary;Every In secondary matching process, universal unique identifier OUUID can tentatively be chosen from the knowledge domain of system operation.
The attribute-bit code PID_OUUIDs of OUUID groups, the field only refer to GPD, and the row of the OUUID comprising equipment SPD Table.
Equipment explains coding head PID_SEMANTIC_HEADER, and it is stored in the form of varying string.
Equipment explains encoded body PID_SEMANTIC_BODY, is stored with character string forms.
The present invention adds a micro- summary layer in the top layer of protocol stack, with the addition of two new interface objects to preserve equipment With the summary comment of function (the DIG fragments of i.e. given body).In order to follow standard, the interface object newly added is completely according to mark Depending on the requirement of quasi- agreement.Interface object is to include the data structure of equipment feature, is made up of device attribute, and each attribute is retouched State including:(1) attribute-bit code (PID);(2) attribute data type (PDT);(3) maximum number of element can be included in property value Measure (max_no_of_elem);(4) attribute access rights field.Property value is made up of max_no_of_elem+1 element:Member Element 0 represents the number of effective element.It is all compulsory to total interface object to have an attribute:The unique mark of one 16 Code.KNX agreements are that this identification code defines different value scopes according to the purpose of object.In order to reduce functions of the equipments summary and The note length of user profile, the present invention have used the compression algorithm based on XML Ontology Languages, are each encoded document Document head and document body are generated, the generic features of equipment are described using Device-General summary (GPD), such as:Device type, system Make business or model etc..Each equipment associates a unique GPD.Equipment is described using device-specific summary (SPD) Peculiar function and operator scheme.One equipment can possess multiple SPD, each SPD to should equipment an open service/work( Energy.The interface object form newly added is as follows:(1)PID_OBJ_TYPE:The object type field of 16, GPD and SPD at most divide There are not 1200 and 1205 characters, these values are all within the scope of the interface object value of KNX/EIB agreements.(2)PID_OUUID: 16 body universal unique identifiers (OUUID), relied on reference body is explained for identifying equipment summary;In each During matching somebody with somebody, the parameter can tentatively be chosen from the knowledge domain of system operation.Before carrying out any excavation, user agent Agency just must reach an agreement with reference to body with household, because the body provides the generic concept in specific knowledge domain.(3)PID_ OUUIDs:OUUID groups.The field only refers to GPD, and the OUUID lists comprising equipment SPD.(4)PID_SEMANTIC_ HEADER:Equipment explains coding head.Stored in the form of varying string.
Of the present invention based in the intelligent household management system of improved KNX/EIB protocol stacks, improved In KNX/EIB agreements, it includes two service primitives, and one of them is detected for sending proxy for equipment module 45 according in environment To event and the summary description that generates;Another service primitive is used for the response to the request of above-mentioned summary.
It is independent with user in order to reach equipment interaction, there are two specific application layer services primitive extremely important:(1)A_ SEMANTIC_SUBMISSION.req, the summary generated for sending proxy for equipment according to the event detected in environment are retouched State.(2) A_SEMANTIC_SUBMISSION.res, the response asked above-mentioned summary is included.Shape of the type of primitive to encode Formula is included in application layer protocol data cell (APCI), and the value of coding is chosen from the APCI reserved words of KNX/EIB agreements.Should Service allows equipment to exchange summary metadata automatically using the protocol Data Unit (APDU) of general KNX frames.Although summary comment Description is compressed, and length can still can exceed that 14 bytes, therefore present invention uses the extension frame that KNX standards are supported, length Up to 255 bytes, wherein 249 bytes are used for data storage.In addition, invention defines a new PDT, entitled PDT_ GENERIC_EXT, it is used to specify the maximum length of varying string.If by the length of compressed summary comment more than KNX Extend the maximum length of frame, be then divided into multiple different frames, so, frame number after segmentation using as " number_of_elements " field is stored in the interface object of correlation.Receiving terminal passes through in sequential access property value array Element be combined into whole frame.
Of the present invention based in the intelligent household management system of improved KNX/EIB protocol stacks, above-mentioned two is former The type of language is included in application layer protocol data cell APCI in an encoded form, and the value of coding is assisted from improved KNX/EIB Chosen in the APCI reserved words of view.
The present invention incorporates micro- summary layer in KNX agreements, HBA is had Resource exploitation and decision support function, so as to Make system that there is higher independence and flexibility, while keep complete back compatible.Using transparent to user and driven by equipment Dynamic interaction, rather than currently conventional static configuration method.Because KNX supports the IP communications based on KNXnet/IP agreements, this Method in this, as backbone network communications protocol can expand many local bus without control and management function, with user's It is used interchangeably the home control network communication protocols such as IEEE802.11 and bluetooth.Need to be with present invention, avoiding existing smart home management method User carries out cumbersome interaction, and flexibility and automaticity are high.
Based on above-mentioned theory framework, test platform is established for the feasibility of validation framework and assesses its ability, platform One piece of house area is simulated, i.e.,:The door in hall, bedroom, kitchen, a fritter exterior space.The platform intergration 13 at present Equipment/electrical equipment, including traditional electrical equipment and the equipment for meeting KNX standards, as shown in table 1.
The list of devices of table 1
Equipment is used as bus by twisted-pair feeder and uses the structure of layering to be connected.These equipment open altogether 42 kinds of different clothes Business/function, each services/functionalities bind a group address.Because KNX standards do not have compulsory address distribution provisions, this is flat Platform uses following rule:Main groups represent region;Middle groups represent service type, and " 0 " only represents input, and " 1 " only represents I/O Service;Service/resource of the little groups for identifying given area.Various equipment, including KNX routers are included in main panel, According to KNXnet/IP standards, router is responsible for standard K NX/EIB frames being converted to IP frames, and vice versa.In addition, it can also delay Stored messages are to keep bus low-load.Panel includes 4 overload protection breakers, also common numeral (on/off) and simulation Switch etc..Particularly panel simulates bedroom and kitchen, includes conventional lights and desk lamp with dimmer switch.In addition, there is a simulation on panel Driver is used for simulating electrically driven curtain.Finally, there is a warning system on test platform, by external alarm and internal alarm Composition, external alarm are realized by the sensor being deployed in around household.CU is responsible for alarm.Internal alarm is by one Individual camera and infrared sensor are realized.In order to simulate outdoor area, a meteorological station arrangement is added in platform.For measuring Wind speed, brightness, weather and temperature etc..It is the test process and result carried out on above-mentioned test platform below.
The case study of the present invention includes several different schemes, can be farthest using good caused by this framework Place.Assuming that there is an intelligent weather station that can be interacted with home equipment, there are two different users in family, test platform is one Global function KNX is installed.There are them the programmable stable storage (it is, EEPROM or solid state hard disc) of smart machine is inner Service describing summary comment.From the perspective of technical products, Services Brief is predetermined when dispatching from the factory, then, intelligence Equipment with master network in itself if be connected, it is easy to modifies, and summary request then produces in data collection phase, summary Analysis and the insertion of note algorithm are in a device.On the other hand, the acquiescence summary comment of legacy equipment should be from ETS databases Extraction, is then changed;In system during normal operation, related proxy for equipment is responsible for them.Used in test platform One ageng is to realize the intellectuality of weather station.Based on the data obtained from weather station, the change of environment can be detected, Then the request for adapting to environmental change is sent to decision device, and the equipment is according to request, with reference to user profile to household System and equipment make corresponding adjustment.It is a simply example below:
One morning sunny, weather is gentle, used in domestic environment it is a kind of it is typical set, air-conditioning is opened, All curtain are opened.To noon, weather starts cloudy, it appears that looks like rainy.Now, intelligent weather station perceives temperature Decline with brightness, and wind speed and humidity rise.By this data-gathering process, weather station processing information, learn that weather will become It is bad, so as to produce the event description of a summary comment.
The test case of table 2 compares
It is related to the classification of several automation bodies in the case, body is substantially divided into following groups by the first fraction: Equipment, service, User Status and weather conditions, Part II mainly represent in HBA application programs modeling and general needed for reasoning Read;The equipment that attribute is then used for the concept request similar with having of association user summary mostly.According to AmI examples, it is not necessary to Yong Hugan Pre- some service for being obtained with system;Such as when weather station detects Changes in weather, triggering agency makes it make accordingly It is adapted to change, period CU serves as telegon and the analyzer based on summary.
In the first test, due to Changes in weather, system closes air-conditioning and puts down curtain.Additionally due to brightness step-down, System opens the lamp in room, but learns that user feels headache from user profile, and system then closes music player, and selects to make With soft light to adapt to user's request.Curtain is equally laid down in second test.The mutation of temperature feels user To cold, so as to which system starts air-conditioning heating function rather than simply closes air conditioner refrigerating.Further, since outdoor dark, Light needs to be arranged to the rank relatively to become clear, it is contemplated that does not have to find the configuration to conflict with this setting in user profile, therefore This setting comes into force.Cause handicapped finally, due to which user is sick, external alarm is activated;And music player does not have Any operation is performed, because user does not configure to it.
With reference to disclosed in this invention the method that describes of embodiment or can directly use hardware, processor the step of algorithm The software module of execution, or the two combination are implemented.Software module can be placed in random access memory, internal memory, read-only storage Device, electrically programmable ROM, electricity can sassafras except institute in programming ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In the storage medium of known any other forms.
It is understood that for the person of ordinary skill of the art, it can be conceived with the technique according to the invention and done Go out other various corresponding changes and deformation, and all these changes and deformation should all belong to the protection model of the claims in the present invention Enclose.

Claims (5)

1. a kind of intelligent household management system based on improved KNX/EIB protocol stacks, it is characterised in that it includes:
Standard device, smart machine, KNX routers, central module CU, mobile intelligent terminal;Standard device by KNX buses with KNX routers connect;KNX routers pass through LAN Monitoring System with CU;CU and smart machine access backbone network, CU simultaneously with intelligence Terminal wireless connects;
Standard device meets ISO/IEC 14543-3 standards;Smart machine includes can be extra hard with IP network direct communication Part interface, smart machine is used for the summary comment state and function for outwards broadcasting the equipment, and is based on summary for being sent to CU Request to be serviced;KNX routers are used for the mutual conversion of KNX/EIB frames and IP frames and sent, while for caching Message;The service/resource of configuration, monitoring and standard device and smart machine that CU is used for network is excavated and remote control Task, and for providing operational capability for standard device and smart machine;
By being led to based on improved KNX/EIB agreements between standard device, smart machine, KNX routers, CU and intelligent terminal Letter, improved KNX/EIB agreements include micro- summary layer;Micro- summary layer with the addition of two new interface objects be used for preserve use The configuration file and functions of the equipments summary configuration file of family summary.
2. the intelligent household management system as claimed in claim 1 based on improved KNX/EIB protocol stacks, it is characterised in that The CU include graphical user interface module, client manager, database manager, automated reasoning module, KNX managers, Proxy for equipment module;
Graphical user interface module is used for the interactive interface for providing user and system, and for showing with summary comment format organization Basic household parameter, equipment state and the request received and the response for request;
Client manager is used to mobile intelligent terminal being connected to CU, and the shape of domestic environment is checked by mobile intelligent terminal State, and for submitting the summary file of mobile intelligent terminal;
Database manager is used to parse the XML document that is generated by software engineering tool ETS3 in CU startup stages to detect household Configuration and network topology;
Automated reasoning module is used to, by the embedded purpose adaptation progress automated reasoning in CU, use in ALN description logics Standard and off-gauge inference procedure realize the matching process of summary request and service/resource;
KNX managers include the interface being connected with physical network, for controlling standard device, intelligence using Calimero NG storehouses Can equipment, control includes the service of activation/the disable standard device, smart machine;
Proxy for equipment module, calculation function is provided for storing standard device summary comment, and for standard device.
3. the intelligent household management system as claimed in claim 2 based on improved KNX/EIB protocol stacks, it is characterised in that Improved KNX/EIB agreements are to add a micro- summary layer in the top layers of the KNX/EIB protocol stacks of standard;Micro- summary layer addition Two new interface objects are used for the configuration files and functions of the equipments summary configuration file for preserving user profile;
New interface object form includes:The object type field of 16, for the general of description standard equipment or smart machine Summary GPD and special summary SPD;General summary GPD is used for the generic features for describing equipment, and each standard equipment or intelligence are set One unique GPD of standby association;Special summary SPD is used for the peculiar function and operation mould of description standard equipment or smart machine Formula, a standard equipment or smart machine possess one or more SPD, each SPD to should equipment an opening Services/functionalities;
16 body universal unique identifier OUUID, relied on reference body is explained for identifying equipment summary;Each In matching process, universal unique identifier OUUID can tentatively be chosen from the knowledge domain of system operation;
The attribute-bit code PID_OUUIDs of OUUID groups, the field only refer to GPD, and the OUUID lists comprising equipment SPD;
Equipment explains coding head PID_SEMANTIC_HEADER, and it is stored in the form of varying string;
Equipment explains encoded body PID_SEMANTIC_BODY, is stored with character string forms.
4. the intelligent household management system as claimed in claim 3 based on improved KNX/EIB protocol stacks, it is characterised in that In improved KNX/EIB agreements, it includes two service primitives, and one of them is used to send proxy for equipment module according to environment In the event detected and the summary description generated;Another service primitive is used for the response to the request of above-mentioned summary.
5. the intelligent household management system as claimed in claim 4 based on improved KNX/EIB protocol stacks, it is characterised in that The type of above-mentioned two primitive is included in application layer protocol data cell APCI in an encoded form, and the value of coding is from improved Chosen in the APCI reserved words of KNX/EIB agreements.
CN201510028625.3A 2015-01-20 2015-01-20 A kind of intelligent household management system based on improved KNX/EIB protocol stacks Expired - Fee Related CN104618357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510028625.3A CN104618357B (en) 2015-01-20 2015-01-20 A kind of intelligent household management system based on improved KNX/EIB protocol stacks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510028625.3A CN104618357B (en) 2015-01-20 2015-01-20 A kind of intelligent household management system based on improved KNX/EIB protocol stacks

Publications (2)

Publication Number Publication Date
CN104618357A CN104618357A (en) 2015-05-13
CN104618357B true CN104618357B (en) 2018-01-02

Family

ID=53152632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510028625.3A Expired - Fee Related CN104618357B (en) 2015-01-20 2015-01-20 A kind of intelligent household management system based on improved KNX/EIB protocol stacks

Country Status (1)

Country Link
CN (1) CN104618357B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162253A (en) * 2015-09-02 2015-12-16 许继集团有限公司 Wireless communication system for intellectualization of primary equipment
CN106330638A (en) * 2016-09-26 2017-01-11 华东师范大学 Home control bus and Bluetooth radio-based home electric appliance control method
CN109406653B (en) * 2018-11-06 2024-05-17 广东诚爱检测技术有限公司 Chromatograph with automatic sample adding function
CN110794826B (en) * 2019-09-24 2023-10-20 北京旷视机器人技术有限公司 Hybrid navigation method and device, communication method and device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203117755U (en) * 2013-02-27 2013-08-07 江苏物合智联科技有限公司 Intelligent household management system based on Internet of Things
US8533144B1 (en) * 2012-11-12 2013-09-10 State Farm Mutual Automobile Insurance Company Automation and security application store suggestions based on usage data
CN203492039U (en) * 2013-09-25 2014-03-19 无锡商业职业技术学院 Wifi-controlled intelligent home system
CN103970097A (en) * 2014-04-25 2014-08-06 上海雅蓝信息科技有限公司 Smart home internet-of-things system based on EIB/KNX bus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8533144B1 (en) * 2012-11-12 2013-09-10 State Farm Mutual Automobile Insurance Company Automation and security application store suggestions based on usage data
CN203117755U (en) * 2013-02-27 2013-08-07 江苏物合智联科技有限公司 Intelligent household management system based on Internet of Things
CN203492039U (en) * 2013-09-25 2014-03-19 无锡商业职业技术学院 Wifi-controlled intelligent home system
CN103970097A (en) * 2014-04-25 2014-08-06 上海雅蓝信息科技有限公司 Smart home internet-of-things system based on EIB/KNX bus

Also Published As

Publication number Publication date
CN104618357A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN103713612B (en) Intelligent home system solution facilitating personalized customization and expansion
CN104618357B (en) A kind of intelligent household management system based on improved KNX/EIB protocol stacks
CN108833237A (en) Intelligent domestic gateway and its management-control method
CN104808499B (en) A kind of method and control device based on linkage rule control smart home device
CN105704234B (en) The control method and device of smart machine
CN109257259A (en) Scene inter-linked controlling method, device and household appliance
CN108234408A (en) A kind of things-internet gateway inter-linked controlling method and things-internet gateway
CN109212983A (en) Intelligent home furnishing control method, gateway and intelligent home control system
CN107783509A (en) A kind of intelligent home furnishing control method, device and system
CN106647311B (en) Intelligent central control system, equipment, server and intelligent equipment control method
CN104796444A (en) Digital household scene control management system and method
CN104714504A (en) Control method and control system on smart home and remote server
CN106452987B (en) A kind of sound control method and device, equipment
CN104820364A (en) Intelligent home integrated management system and method thereof
CN107104863A (en) The control method of intelligent home device
CN102571795B (en) Based on the automatic building control system of BACnet and EIB agreement
WO2011006364A1 (en) System and method for remote cooperation
CN111142456A (en) Internet of things automation smart home linkage method and system
CN107689903A (en) Intelligent home equipment control method, system, storage medium and computer equipment
CN104714530A (en) Internet-of-things device control system and method based on environment automatic control curtain
CN115208757B (en) Smart home configuration method and device, computer equipment and readable storage medium
Kerang et al. Task management system according to changes in the situation based on IoT
CN115793481A (en) Device control method, device, electronic device and storage medium
CN107893601A (en) A kind of Intelligent window control device
CN110830342A (en) Intelligent household equipment communication method and system

Legal Events

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

Effective date of registration: 20210514

Address after: No.88, Shiyi Road, Baoshan District, Shanghai, 201908

Patentee after: Shanghai Zhendan Vocational College Co.,Ltd.

Address before: No. 88, Shiyi Road, Luodian Town, Baoshan District, Shanghai 201202

Patentee before: AURORA College

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180102

Termination date: 20220120