CN108089450A - Wisdom building control method, apparatus and system - Google Patents

Wisdom building control method, apparatus and system Download PDF

Info

Publication number
CN108089450A
CN108089450A CN201611051522.XA CN201611051522A CN108089450A CN 108089450 A CN108089450 A CN 108089450A CN 201611051522 A CN201611051522 A CN 201611051522A CN 108089450 A CN108089450 A CN 108089450A
Authority
CN
China
Prior art keywords
equipment
request
target
underlying basis
building
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
CN201611051522.XA
Other languages
Chinese (zh)
Other versions
CN108089450B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201611051522.XA priority Critical patent/CN108089450B/en
Priority to CN202110373787.6A priority patent/CN113238489A/en
Publication of CN108089450A publication Critical patent/CN108089450A/en
Application granted granted Critical
Publication of CN108089450B publication Critical patent/CN108089450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The embodiment of the present application discloses wisdom building control method, apparatus and system, wherein, the system comprises:Positioned at least one gateway middleware of interior of building, for controlling the access of the underlying basis equipment of the multiple and different device classes of the interior of building, and unitized processing is carried out to the representation of different underlying basis equipment in same device class;And, control server positioned at high in the clouds for providing application programming interface API, receives call request of the upper level applications to the API, and corresponding underlying basis equipment is issued to by the gateway middleware, to be operated to the underlying basis equipment.By the embodiment of the present application, whole building is enabled to form a life entity organic, constantly evolve, open.

Description

Wisdom building control method, apparatus and system
Technical field
This application involves wisdom building control technical field, more particularly to wisdom building control method, apparatus and system.
Background technology
For realization technology, wisdom building (IB) system is exactly by advanced sensor technology, mechanics of communication, network skill Art, automatic control technology, computer technology and data processing technique etc. organically apply to the operation of building and management process, And in real time, accurately and efficiently Comprehensive Control and management system, target are exactly the efficiency of enhancing building to the one kind established (performance) and improve building output (productivity).
Although current wisdom building management system is by BAS (BAS), fire-fighting system (FAS), security protection system Each subsystems such as system are managed concentratedly, and still, each subsystem is controlled in the vertical field of same device class System essentially adds subsystems equipment master data in the difficulty laterally to interconnect, objectively causes that " information is lonely The phenomenon that island ", it is difficult to realize really intelligence, and later stage system maintenance cost is very high.In addition, system schema do not have can Replicability, it is necessary to customize integrated respectively in each project.
The content of the invention
This application provides wisdom building control method, apparatus and systems, enable to whole building formation one organic , constantly evolve, open life entity.
This application provides following schemes:
A kind of wisdom building control system, including:
Positioned at least one gateway middleware of interior of building, for controlling the multiple and different equipment of the interior of building The access of the underlying basis equipment of classification, and the representation of different underlying basis equipment in same device class is carried out Unitized processing;
Control server positioned at high in the clouds for providing application programming interface API, receives upper level applications to institute The call request of API is stated, and corresponding underlying basis equipment is issued to by the gateway middleware, so as to the bottom base Plinth equipment is operated.
A kind of wisdom building control method, including:
Control server positioned at high in the clouds provides application programming interface API;
When receiving upper level applications to the call request of the API, determine target wisdom building and wherein dispose Intended gateway middleware;
The call request is issued to by corresponding underlying basis equipment by the intended gateway middleware, with to described Underlying basis equipment is operated.
A kind of wisdom building control method, including:
Gateway middleware positioned at interior of building is to different underlying basis equipment in same device class in building Representation carries out unitized processing;
Receive the API Calls request that the control server in high in the clouds is sent;The API Calls request is sent out by upper level applications Go out;
Target formation infrastructure device is determined according to the call request;
The call request is sent to the target formation infrastructure device, to be carried out to the target formation infrastructure device Operation.
A kind of wisdom building control device, applied to the control server positioned at high in the clouds, including:
API provides unit, for providing application programming interface API;
Gateway middleware determination unit during for receiving upper level applications to the call request of the API, determines mesh Mark wisdom building and the intended gateway middleware wherein disposed;
Call request issuance unit, it is corresponding for being issued to the call request by the intended gateway middleware Underlying basis equipment, to be operated to the underlying basis equipment.
A kind of wisdom building control device, applied to the gateway middleware positioned at interior of building, including:
Unit is uniformly processed, for in building in same device class different underlying basis equipment data representation side Formula carries out unitized processing;
Call request receiving unit, the API Calls request that the control server for receiving high in the clouds is sent;The API tune It is sent with request by upper level applications;
Underlying basis equipment determination unit, for determining target formation infrastructure device according to the call request;
Call request transmitting element, for sending the call request to the target formation infrastructure device, so as to institute Target formation infrastructure device is stated to be operated.
According to the specific embodiment that the application provides, this application discloses following technique effects:
By the embodiment of the present application, sense organ of the sensor as building can collect all kinds of basic numbers in building According to (environment, people, facilities and equipment), the gateway device by building reaches the control server in high in the clouds, the control server in high in the clouds All kinds of api interfaces are then opened to, for developer's exploitation using these basic datas, are preferably serviced with providing to the use of building Person and owner.Pass through the open standard of this hardware and software platform so that upper level applications can be integrated using each device class The data that infrastructure device generates can also carry out each device class equipment the control of linkage, it can thus be avoided " letter The formation of breath isolated island ", realizes and perceives user, perceive itself, perceives periphery.Simultaneously by the ecosystem of itself, can attract The third-party institution/individual enters building, provides building, people, equipment service that is innumerable, constantly evolving, so as to Constantly meet the variation of people in building, personalized demand, make whole building formed one it is organically, constantly evolving, open Put life entity.
Certainly, any product for implementing the application does not necessarily require achieving all the advantages described above at the same time.
Description of the drawings
It in order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to institute in embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the application Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is the schematic diagram of system provided by the embodiments of the present application;
Fig. 2 is the flow chart of first method provided by the embodiments of the present application;
Fig. 3 is the flow chart of second method provided by the embodiments of the present application;
Fig. 4 is the flow chart of third method provided by the embodiments of the present application;
Fig. 5 is the schematic diagram of first device provided by the embodiments of the present application;
Fig. 6 is the schematic diagram of second device provided by the embodiments of the present application;
Fig. 7 is the schematic diagram of 3rd device provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those of ordinary skill in the art's all other embodiments obtained belong to the application protection Scope.
Embodiment one
In the embodiment of the present application one, in order to solve problem of detached island of information of the prior art, provide a kind of wisdom and build Control system is built, can carry out data to the underlying basis equipment (including air-conditioning, lamps and lanterns etc.) of building interior in the system adopts Collection sends control instruction, also, API (application programming interface) can also be provided for upper layer application service so that on Layer application service can obtain the data of underlying basis equipment by way of API Calls, alternatively, being sent out to underlying basis equipment Send control instruction.In order to achieve the above object, specifically, referring to Fig. 1, which can include:
Positioned at least one gateway middleware 101 of interior of building, for controlling the interior of building multiple and different The access of the underlying basis equipment of device class, and unification is carried out to the data of different underlying basis equipment in same device class Change is handled;
And
Control server 102 positioned at high in the clouds for providing application programming interface API, receives upper level applications Call request to the API, and corresponding underlying basis equipment is issued to by the gateway middleware, so as to the bottom Layer infrastructure device is operated.
During specific implementation, the underlying basis equipment in building can include two major classes, and one kind is sensor kind equipment, bag Include temperature sensor, humidity sensor, photosensitive sensor, face recognition device, car license recognition equipment, etc.;Another kind of is to hold The equipment of row class, including air-conditioning, lighting apparatus, access control equipment, etc..Wherein, sensor kind equipment is mainly used for acquisition building Environmental data inside object, and high in the clouds control server can be submitted to.It performs kind equipment and is realizing the process of itself function In, can also the data that itself is generated be submitted to high in the clouds control server or controlled beyond the clouds under the control of server, held The specific instruction of row.
In practical applications, in order to by cloud platform underlying device data are carried out with constantly sampling and lasting excellent Change control, reach most effective the purpose of utilizing the energy, reducing operation and maintenance cost, it can also be to the cloth of underlying basis equipment Office etc. carries out specification, that is, can be disposed according to specific codes and standards to the underlying basis equipment in building.Specifically It can include Indoor Lighting Design rule, the selection of electric power metering separate design standard, environment comprehensive sensor data acquisition point Principle and space layout rule, air conditioning system with variable and fan coil+fresh air system Guidance Rule, wireless WIFI designs are led Then, the requirement specification of wisdom building to electromechanical equipment data access, etc..Specific rule or normative content can be according to realities Border is specified, here without being described in detail.
Upper level applications can include the native applications of cloud platform exploitation, furthermore it is also possible to be opened including some third parties The third-party application of originator exploitation, specific upper level applications can specifically automate lamp control, access identification, station timesharing rent It rents, preengage parking stall, etc..
The embodiment of the present application is to be added between underlying basis equipment and upper level applications two layers, wherein one layer is net Layer is closed, another layer is the key-course in high in the clouds.Wherein, on gateway layer, one or more gateways can be affixed one's name in interior of building and set Standby (specific gateway device quantity can be determined according to underlying basis number of devices in building etc.), and in this gateway Preset gateway middleware is installed, the various underlying basis equipment in building can be linked into the gateway, bottom in equipment The data that infrastructure device generates can be uploaded to the control server in high in the clouds, the control that control server generates by gateway middleware System instruction can also be handed down to underlying basis equipment by this gateway middleware.
Specifically, the main function of gateway middleware can (usually be referred to as industry, example to same device class Such as, lighting apparatus classification is also referred to as lighting apparatus industry, and air-conditioning equipment classification is also referred to as fresh air industry, etc.) in different bottoms The data of infrastructure device carry out unitized processing.This is because on all kinds of underlying basis equipment, it can be with slave device classification angle Degree is divided into different device class equipment, the equipment including lighting apparatus classification, the equipment of fresh air device class, etc..And And in same building object, for the equipment of same device class, it is also possible to there are differences such as different vendor, different types, and The different types of equipment of different vendor, even if belonging to same device class, it is also possible to be had differences in data representation etc..Example Such as, equally it is lighting apparatus, different vendor may have different definition to range of luminance values, wherein, vendor A is defined as 0~ 100, manufacturer B is defined as 0~10, etc..It therefore, can be by gateway middleware to same for the ease of carrying out unified control The data of the different types of equipment of different vendor carry out unitized processing in device class so that upper level applications can pass through Unified instruction controls the equipment in same device class.It for example, can be by each lighting apparatus manufacturer to brightness value Scope be collectively expressed as 0~100, also, in a gateway between in part, the data representation of the original definition of different vendor can be preserved Mode when receiving the control instruction that upper level applications issue, can also carry out data conversion, so by gateway middleware first Afterwards, then it is handed down to specific underlying basis equipment.For example, the scope of the brightness value of certain original definition of underlying basis equipment for 0~ 10, in the control instruction received, it by the brightness regulation of the underlying basis equipment is " 80 " to be, then can convert first, When specifically sending regulating command to the underlying basis equipment, the target brightness value of adjusting can be scaled " 8 ", etc..
During specific implementation, numberical range that gateway middleware can also define each manufacturer and numerical value model after reunification Correspondence between enclosing is preserved, to convert during specific inquiry or control.For example, for foregoing The example of lighting apparatus, specifically can be as shown in the following Table 1:
Table 1
In addition to lighting apparatus, the humidity tune of temperature regulating range, moisture control unit on Temperature-controlled appliance The signal strength range, etc. of adjusting range, the network equipment, can in the manner described above, to the difference between different vendor into The unitized processing of row, and preserve corresponding mapping relations.For example, on Temperature-controlled appliance, the mapping relations of preservation can be as Shown in following table 2:
Table 2
On moisture control unit, the mapping relations of preservation can be as shown in the following Table 3:
Table 3
In addition, gateway middleware can also have the function of rights management, data buffer storage, local service data processing etc., example Such as, can be that the data for the underlying basis equipment that will be collected locally are cached in gateway on data buffer storage function, this Sample when upper level applications need to inquire about certain data, directly can provide response, etc. according to the data of caching.Here not An another description.
Server is controlled on high in the clouds, belongs to part most crucial in cloud platform, is properly termed as the " big of entire wisdom building Brain ", also, since control server is located at high in the clouds, accordingly it is also possible to be known as " cloud brain ", being somebody's turn to do " cloud brain " can be to multiple Underlying basis equipment in different wisdom buildings is controlled.Also, in the embodiment of the present application, high in the clouds control server Main function can provide API (application programming interface) for upper level applications, in this way, upper level applications can be with It is built by this API, and then, in application program operational process, it is possible to by way of calling API, to high in the clouds Server is controlled to send corresponding operation requests, in this way, high in the clouds control server can be issued by the gateway middleware To corresponding underlying basis equipment, set with the related data for obtaining corresponding underlying basis equipment or to the corresponding underlying basis It is standby to issue control instruction.
During specific implementation, on the offer of API, in an implementation mode, common API can be to provide, at this point, should With program when calling API, it is possible to specify the title of controlled device, type, etc..But the shortcomings that this mode, is, it should Need that all there is corresponding understanding to the title, type, function point of specific underlying basis equipment with the developer of program, this is just Improve the knowledge threshold to developer.For example, for above-mentioned common API Calls, it usually needs by multiple parameters come Uniquely one specific equipment of positioning, such as (device ID, device type, state/action name), etc..Wherein, Specific device ID, device type, state/action name is required in a program being referred to by developer It is fixed.
In order to reduce the knowledge threshold of developer so as to knowledge such as the titles, type, function point of underlying basis equipment There is no the technical staff of enough understandings, can carry out the development of application program yet, it in the embodiment of the present application, can also be It is correspondingly improved in protocol level, specifically, can provide to generate the underlying basis equipment of each device class Data carry out the metadata of unitized description, wherein, so-called metadata, and be properly termed as broker data, relaying data is The data (data about data) of data are described, in the embodiment of the present application, metadata is exactly for wisdom building system In the data that are described of each item data, for example, some specific underlying basis equipment can correspond to a unique member Data.In this way, by this metadata, upper level applications can adjust the API using the metadata as parameter With without setting multiple parameter values.
It, in the embodiment of the present application, can be in open building letter in order to realize that the mode with metadata carries out Data Identification Breath exchange oBIX specifications under realize Haystack three classes entity, the three classes entity include geographical location entity, equipment entity, Functions of the equipments point position entity.
In order to make it easy to understand, first below to the relevant knowledge of software view that is arrived involved in wisdom building cloud platform and OBIX specifications, Haystack labels are simply introduced.
In order to build complete wisdom building system, BACnet standards are generated in the prior art, thus the automatic control of wisdom building Network is changed from proprietary type to style of opening.On the basis of open standard, the information of various wisdom building subsystems can be shared, because And it can theoretically build completely integrated wisdom building system.But in fact, due to being had differences between various criterion, even if It is generally acknowledged BACnet standards, it is also difficult to realize the Seamless integration- between various criterion.Therefore, integrated if formulation one is public Interface, and all automatic control network standards support this public integrated interface, then can pass through this public integrated interface Efficiently integrated.
With the demand that enterprise's application (such as human resources, customer relationship, financial management etc.) integrates, require more and more Wisdom building system is linked among management information system in enterprise (MIS), so as to analyze comprehensively all operation informations of enterprise and Carry out decision-making.In addition, the fast development with greater amount of " machine-machine (M2M) " communication service, it is also desirable to develop one Plant the system integration technology with " platform is unrelated, and language is unrelated and agreement is unrelated ".In Internet evolutions, XML/Web Services technologies are increasingly becoming the coke of Enterprise information integration by the characteristics of its " platform is unrelated, and language is unrelated and agreement is unrelated " Point.This technology is widely applied with its open, standard and simplicity in IT industry circle, and positive wisdom building automatic control Field and its system integration application high-speed osmotic.Wisdom building robot control system(RCS) is carried out using XML/Web Services technologies to integrate The specific manifestation of exactly this development trend represents the developing direction of wisdom building robot control system(RCS) integrated technology.
The advantages of just because of XML/Web Services technologies, some normal structures and device class association will Some wisdom building automatic control network standards carry out the extension of XML/Web Services technologies or work out new XML/Web Services technology application standards.Wherein, CABA (North American continent building automatic) association is initiated and worked out based on XML/Web Services technologies --- open building information exchange standard oBIX (open Building Information eXchange)。
OBIX standards are exactly multi-crossed disciplines and the wisdom building system integrated technology of fusion, have specific operational management Function and comprehensive feature, effect are the difference for shielding different building automation and control network standards, provide unified and open wisdom Building system integrated technology, its significance lies in that using wisdom building system as a subsystem of Enterprise information integration, seamlessly It is integrated among management information system in enterprise, so that wisdom building system has broader practice.
Can be seen that oBIX standards from the evolution of wisdom building system integrated technology is the intelligence based on Modern IT Technology Intelligent building system integrated technology standard.As other systems integrated technology, oBIX standards utilize XML/Web Services The core contents such as the data representation function of technology and Interoperability Mechanism define the information model of wisdom building system The network transmission of (Information Model), interoperability mode (Interoperation Mode) and interoperability semanteme Contents such as (Network Transport), thus form its primary structure and corresponding substance.In oBIX standards, Information model is the object model based on object (object) and contract (contract), and interoperability mode is built upon pair As REST (the Representation State on model based on Read (reading), Write (writing) and Invoke (calling) Transfer) interoperate mode.
In oBIX standards, object (object) is the low level XML vocabulary or NameSpace with " application field is unrelated ", It is the component item (element) of oBIX XML documents.The object model except be used to describing wisdom building system information with Outside, it can be also used for the information description in other automatic control fields.All oBIX XML documents can be by the object model defined XML vocabulary or NameSpace formed.Further, since oBIX standards are made of oBIX objects, therefore, in order to identify not The oBIX objects of same type, oBIX standards employ URI (Uniform Resource Identifier, uniform resource identifier Symbol) identification means.
Contract (Contract) is the XML document being made of oBIX objects grammer as defined in oBIX standards, is with answering With relevant semantic " object " model.That is, contract is that have the semantic XML document of interoperability with object model description, Or the oBIX objects with certain interoperability semanteme, effect are the elementary cell description standards for making wisdom building system, So that realize or quote contract with being known that the described interoperability of the contract is semantic per family, this just make contract become with Using relevant interoperability semantic entity, i.e. contract is built upon on low level object model, with interoperability semanteme High-level oBIX objects.For example, entitled oBIX:The contract of Alarm is exactly the standard with relevant information of alarming in oBIX standards Unit is described, which describes the information such as alarm source, time of fire alarming, alert receipt person with oBIX object models, make realization and Quote the contract with can be used according to the normal structure and its interoperability semanteme that is contained of the contract per family and understand this Contract, so as to fulfill the integrated and interoperability of system.
From the effect of contract as can be seen that contract is the oBIX description standard units of higher level semanteme.Contract and object Relation between model is just as the basic data type and object type of object-oriented computer programming language (such as C++, Java etc.) Between relation, although the basic data type in programming language is limited and fixed, using basic data type create The object type built not is to be laid down hard and fast rule by programming language, as long as according to the syntax rule of programming language with substantially Data type is created arbitrarily with applying relevant object type, and all object types for meeting programming grammar rule can be with It is identified and is compiled by same compiler (compiler).The object model and contract of oBIX standards also use this thought, It, can be under XML linguistic constraints as defined in oBIX standards although the limited basic object type of oBIX object model definitions With limited basic object type and contract object type construction with applying relevant any type of contract, so that oBIX is marked Standard has powerful extension mechanism on representation function.
Using above-mentioned thought, anyone can construct any type of contract according to application demand.It is common in order to make Contract type standardizes, and oBIX standards are summarized by abstract, and common contract type is defined as " type contract ", example Such as, oBIX:Point,oBIX:Alarm and oBIX:History etc. is form contract object.In oBIX standards, by oBIX The form contract that standard defines can also referred to as " contract ", and oneself be determined by user or building automation equipment manufacturer according to application The contract of justice is commonly referred to as " extension contract ".
In interoperability mode, oBIX standards employ " client/server (C/S) " model, and interoperate all Journey is summarized as Read (reading), Write (writing) and three kinds of operating process of Invoke (calling).Wherein, Read reads clothes for client The oBIX information of business device, Write are used for objective user orientation server and write oBIX information, and Invoke is used for the behaviour of client's invoking server Make process.This interoperability mode is commonly referred to as REST (REpresentational State in Web network environments Transfer) mode.REST modes are the general names of above-mentioned resource access mode, are the design sides that a kind of network-oriented resource accesses Formula, every resource operation for meeting this access mode are properly termed as REST modes.
By described above as it can be seen that oBIX standards of the prior art have the scalability the characteristics of strong, still, the application is sent out A shortcomings that person of good sense has found during the embodiment of the present application is realized, oBIX is:Lack definite business API, to data It inquired about, set when operations, it appears underaction.In other words, oBIX standards are more suitable for the specification in commercial Application, But when wisdom building system directly applies the oBIX standards, then can seem underaction, it is difficult to above be carried in the normative foundation For specific API.
For this purpose, in the embodiment of the present application, can combine oBIX standards autgmentability it is strong the characteristics of, marked in original oBIX It being extended on the basis of standard so that the standard after extension has both the features such as data are succinct, light on the basis of original advantage, And then specific API is easy to implement, provide more convenient condition for the integrated of upper level applications.Specifically, the present application People contemplates HayStack labels, because it is in succinct, light, device class label maturation the advantage of data.Wherein, Business object is abstracted as site (geography/situation of building), equip (equipment entity), point (function point position) three by HayStack Class entity, and allow to establish incidence relation therebetween, data format is succinctly bright and clear.Therefore, in the embodiment of the present application, it is possible to OBIX standards with HayStack labels are combined, the above-mentioned three classes entity structure of Haystack is realized under oBIX specifications, That is using the device class label of HayStack as data of activating business, and specifically implement site/ under oBIX specifications This three layer datas entity of equip/point.
Specifically, each layer data entity can be extended in the following manner respectively:
(1) on the Site labels in HayStack, Location classes can be expanded in oBIX, the oBIX Location can be the top layer parent of all geographical location objects, it then follows the site labels of HayStack, in addition, further including one A sublocation for being directed toward lower floor, the upperLocation on a direction upper strata, one is directed toward on the Location and associates Business Entity entityCollect, etc..That is, by the way that Location classes are instantiated, can be used to indicate that One geographical location object, for example, specific certain mansion, certain floor, some region, etc..
(2) the Equip labels on HayStack, can realize commEntity classes in oBIX, the oBIX CommEntity classes can be the public parent of all devices object.That is, by instantiating such, can be used to indicate that One specific underlying basis equipment, for example, certain air-conditioning, some lighting apparatus, etc..During specific implementation, for CommEntity classes can be directed to different device classes, generate different device class templates, specifically express some bottom During infrastructure device, it can be described by inheriting the template of corresponding device class.
(3) the Point labels on HayStack.CommPoint classes can be expanded in oBIX, such can be pair The top layer of functions of the equipments point position is abstracted, and all Point templates can inherit it, and Point examples then inherit corresponding templates, it Major Members can be a reference for being directed toward its upper layer device, represent any one point position be all subordinated to specific equipment. For example, for " air-conditioning " device class, functions of the equipments point position can have:“power”、“speed”、“highspeed”、 8 function point positions such as " minspeed ", " lowspeed ", " model ", " temp ", " value " can be respectively then each work( Position can be put and set corresponding template.The equipment of distinct device classification has different function point positions, accordingly it is also possible to be respectively each A corresponding each function point position of device class equipment generates corresponding template.During specific implementation, equipment can also be defined Dependence between metadata.For example, certain facility information template is fresh air industry template AirCondition, is field: “h:equip h:Hvac obix/def/contract/commEquip " illustrate the template except inheriting obix's CommEquip templates, and the equip labels of HayStack tag libraries and hvac labels are also followed, it ensure that the equipment is real Example meets the data standard of HayStack.
By the above-mentioned means, the data in system can be indicated with the mode of metadata, also, due to symbol OBIX specifications are closed, therefore, can be identified per one kind data object with the mode of URI.
It, can be with being identified as example, for certain geographical location object " No.1 building second floor west side region ":“href”: “http://beehive/obix/def/contract/location/01/02/W ", at the same time it can also by " is " field come Illustrate the object specification specifically met and the HayStack labels carried.For example, " is ":“h:site obix/def/ Contract/location ", by " is " field, which inherits oBIX location classes, and follows The site labels of HayStack tag libraries.
For another example, the specific underlying basis equipment of " th_001_XYZ " entitled to Mr. Yu, URI marks can be: “http:// ... obix/things/th_001_XYZ ", same way, it is also possible to illustrate that the object specifically meets by " is " field Specification and the HayStack labels that carry.For example, " is ":obix/def/schema/aircondition obix/ def/contract/siteRef h:equip h:Hvac, by " is " field, which inherits oBIX's Aircondition device classes template and siteRef templates, and follow the equip labels of HayStack tag libraries with And hvac labels.In addition, the equipment have 8 function point position objects (Power, Speed, HighSpeed, MinSpeed, LowSpeed、Model、Temp、Value)。
By the above-mentioned means, server is controlled beyond the clouds, it can be to each geographical location pair of specific wisdom building interior As, the function point position in infrastructure device, equipment, instantiated in the manner described above respectively, that is to say, that in wisdom building Each geographical location, each infrastructure device, each specific function point position, can correspond to respective URI.If in this way, Layer application program needs to obtain the data of some specific object or some specific object is controlled, it is possible to right with this The URI of elephant is the relevant API of parameter call.
Specific API can there are many, for example, GET, PUT, POST etc. can be included, and it is possible to control beyond the clouds The inside of each API is realized defined in server, that is, the specific process flow when specific API is called.It is for example, right In air-conditioning equipment th_001_XYZ, if certain upper level applications needs to obtain its temperature data, following sentence can be passed through To realize:
GET http://beehive/obix/things/th_001_XYZ/temp
The control server in high in the clouds can be inquired about according to the URI in request, passed through after the call request is received " is " field of the object, it may be determined that go out the object inherit oBIX aircondition device classes template and SiteRef templates, and the equip labels of HayStack tag libraries and hvac labels are followed, it can thus identify and provide Body is a kind of air-conditioning equipment of fresh air device class, then can be according to the specific process flow defined in API, to the request Handled accordingly, the instruction for obtaining the device temperature data sent to corresponding gateway middleware, in a gateway between on part After passing specific temperature data, then the temperature data is supplied to specific upper level applications.
It for another example, can be with if certain upper level applications needs to set the temperature of air-conditioning equipment th_001_XYZ for 38 degree It is realized by following sentence:
It should be noted that on the data of above-mentioned inquiry equipment function point position or to certain equipment function point The process that the data of position are configured is typically to be carried out in the operational process of upper level applications, that is to say, that should on upper strata With having write specific API Calls sentence in the code of program exactly, and concrete operations object is write exactly in the parameter value of sentence URI。
In addition, the h by adding HayStack:Prefix label so that platform user can not only pass through oBIX Location positions inquire equipment one by one, can also be carried by the way that the tag feature comprehensive inquiry of HayStack is all The equipment of the label, for example, inquiry is located at No.1 building second floor (siteRef:0102) (haystack is marked all Light indicators Sign as lights) equipment:
POST http://beehive/obix/compoundQuery
{“tag”:h:“lights”,siteRef:“0102”}
The control server in high in the clouds after receiving the request, can will be set positioned at all Light indicators of No.1 building second floor Standby list returns:
[{“obix”:“obj”,“name”:" th_001_ABC ", href=" obix/things/th_001_ ABC”...}]
Furthermore the h for passing through HayStack:Prefix label so that platform user can also pass through the label of HayStack All function point positions possessed by characteristic comprehensive inquiry equipment, such as:
GET http://beehive/obix/things/th_001_XYZ/
The control server in high in the clouds after receiving the request, can be by the row of the associated all function point bit identifications of the equipment Table returns:
[http://beehive/obix/things/th_001_XYZ/Power, http://beehive/obix/ Things/th_001_XYZ/Speed, http://beehive/obix/things/th_001_XYZ/HighSpeed, http://beehive/obix/things/th_001_XYZ/MinSpeed, http://beehive/obix/things/th_ 001_XYZ/LowSpeed, http://beehive/obix/things/th_001_XYZ/Model, http://beehive/ Obix/things/th_001_XYZ/Temp, http://beehive/obix/things/th_001_XYZ/Value]
It should be noted that in specific implementation, for the comprehensive inquiry based on tag feature, typically in development and application Involved by having during program, for example, the exploitation side that the embodiment of the present application can be application program provide development platform, pass through This development platform, developer can be by inputting this query statement, to inquire about certain specific device class under some position Equipment which has, alternatively, inquiring about some equipment specifically has which function point position etc., and then further according to query result, write Specific data query or control statement, etc..
By it is described above as it can be seen that by combined in oBIX specifications HayStack tag attributes (Site positions, Equip device types, Point function points position), it can inquire about for greater flexibility and control specific operation object, only by one Operation object URI is as metadata, it is possible to obtain the control of institute's information in need or realization to operation object.As a result, The either primary application program of platform or the application program of third party developer's exploitation, can pass through the side of API Calls Formula realizes specific application program, the information such as device class, type, functional attributes without understanding specific equipment.
In addition, in this way, it can also preferably realize the linkage between the equipment of distinct device classification.Specifically , the operation requests that last time application program is submitted in the process of running can include to multiple underlying basis in distinct device classification The operation requests that equipment is operated, at this point, the control server in high in the clouds can be by the gateway middleware by the operation Request is issued to corresponding each underlying basis equipment, with the related data that obtains each underlying basis equipment or to each bottom Layer infrastructure device issues control instruction respectively.For upper level applications, it can realize respectively and each underlying basis are set The standby sentence operated sets specific linkage rule, for example, the brightness of the lighting apparatus when certain region by this sentence When reaching certain first numerical value, then the temperature of the air-conditioning equipment in the region is adjusted and arrive certain second value, etc..Alternatively, in order into One step simplifies the operation of developer, can also above-mentioned sentence be carried out modularization processing so that developer can pass through choosing The mode of component is selected, to carry out the setting of linkage rule.The control mode of this linkage can realize real intelligence, example Such as, by using management, small post office, WIFI accesses, printer to no card video identification shutdown system, estate management, meeting room The combination control of software and hardwares, the extensive work that user is allow easily to be rapidly completed in building are waited, while property management personnel can Easily building are being carried out with maintenance update very much, operation cost, etc. is saved.
It should be noted that in the embodiment of the present application, the way of realization on specific upper level applications can not It is defined, platform itself or third party developer, the API that can be opened based on platform is programmed, and is built for wisdom In user specific service is provided.For example, platform itself can provide some primary applications or service, wherein can wrap It includes:The data of each equipment of interior of building are gathered by the gateway middleware, and carry out data analysis (including energy consumption point Analysis etc.), specific data results can be supplied to application program to be used or be also provided to the pipe of building Reason personnel, etc..And the application program developed on third party, then it can be more versatile and flexible, for example, automation can be included Lamp control, reservation are made a reservation, recognition of face, station timesharing lease, visitor are self-service, reverse car seeking, reservation parking stall, etc..On application Specific control logic etc., then can voluntarily be set by developer in program, here without limiting.
In short, sensor as building sense organ, can collect building in all kinds of basic datas (environment, people set Arrange standby), gateway device by building reaches the control server in high in the clouds, and the control server in high in the clouds is then opened to all kinds of Api interface for developer's exploitation using these basic datas, is preferably serviced to the user and owner of building with providing.It is logical Cross the open standard of this hardware and software platform so that upper level applications can be integrated to be generated using the infrastructure device of each device class Data, can also to each device class equipment carry out linkage control, it can thus be avoided the shape of " information island " Into, it realizes and perceives user, perceive itself, perception periphery.Simultaneously by the ecosystem of itself, can attract the third-party institution/ Individual enters building, service that is innumerable, constantly evolving is provided building, people, equipment, so as to constantly meet building The variation of middle people, personalized demand make whole building form a life entity organic, constantly evolve, open.
Embodiment two
The embodiment from the angle of high in the clouds control server, provides one kind second is that corresponding with previous embodiment one Wisdom building control method, referring to Fig. 2, this method specifically may comprise steps of:
S201:Control server positioned at high in the clouds provides application programming interface API;
S202:When receiving upper level applications to the call request of the API, target wisdom building and wherein is determined The intended gateway middleware of deployment;
S203:The call request is issued to by corresponding underlying basis equipment by the intended gateway middleware, with The underlying basis equipment is operated.
During specific implementation, in order to more easily realize API Calls, the bottom base to each device class can be provided for The data that plinth equipment generates carry out the metadata of unitized description, so that the upper level applications are using the metadata as parameter The API is called.
Specifically, the three classes entity of Haystack can be realized under open building information exchange oBIX specifications, described three Class data entity includes geographical location entity, equipment entity and functions of the equipments point position entity, then, passes through the three classes data Entity carries out the device-dependent data of the underlying basis unitized description, generates the metadata.
In this case, it is described when receiving upper level applications to the call request of the API, it can also be according to institute State the metadata carried in call request, determine target entity under the oBIX specifications inherited of operation object of request and Then the target entity and the target labels are supplied to described by the target labels under the Haystack specifications followed Intended gateway middleware, so that the intended gateway middleware is according to the target entity and the target labels, by described in Operation requests are issued to corresponding underlying basis equipment.
During specific implementation, the call request includes obtaining target formation infrastructure device objective function point position related data Request, at this point it is possible to which the request of the acquisition related data is issued to corresponding bottom by the intended gateway middleware Infrastructure device, so that the underlying basis equipment returns to the related data of the objective function point position, and by the target network It closes middleware and the related data is returned into the control server;Then, the phase intended gateway middleware returned Data are closed, are supplied to the upper level applications.
Alternatively, the call request includes the request being configured to target formation infrastructure device objective function point position, this When, by described request can be set to be issued to corresponding underlying basis equipment by the intended gateway middleware, so as to described Underlying basis equipment is configured the objective function point position according to the request.
In addition, by the use of Haystack labels, it can also realize and more easily inquire about, specifically, can also receive The request of device object information of the target geographic position with target Haystack labels is inquired about, and is carried described in offer The metadata of each device object of Haystack labels.Alternatively, the inquiry associated function of target device object can also be received The request of point position information provides the metadata of the associated each function point position of the target device object.
Embodiment three
The embodiment three is also corresponding with embodiment one, from the angle of gateway middleware, provides a kind of wisdom and builds Control method is built, specifically, referring to Fig. 3, this method can include:
S301:Gateway middleware positioned at interior of building is to different underlying basis are set in same device class in building Standby representation carries out unitized processing;
S302:Receive the API Calls request that the control server in high in the clouds is sent;The API Calls request is by upper layer application Program is sent;
S303:Target formation infrastructure device is determined according to the call request;
S304:The call request is sent to the target formation infrastructure device, to be set to the target formation basis It is standby to be operated.
Wherein, the call request includes the request for obtaining target formation infrastructure device objective function point position related data, At this point, after the related data that the target formation infrastructure device returns is received, can also be according to the unitized processing after Representation carry out data reduction, the data after conversion then are returned to the high in the clouds controls server, so as to by The high in the clouds control server returns to the upper level applications.
Alternatively, the call request includes the request being configured to target formation infrastructure device objective function point position, this When, it, can also unitized treated according to described before the call request is sent to the target formation infrastructure device Representation and the original representation of target formation infrastructure device, the number that will be carried in the request Value converts, using the numerical value after converting, to send described set to the target formation infrastructure device and ask, by described Target formation infrastructure device sets request to perform setting operation according to described.
On above-described embodiment two and embodiment three, concrete implementation details may refer to Jie in previous embodiment one It continues, which is not described herein again.
Example IV
In foregoing individual embodiments, all it is from based on wisdom building control system, concrete implementation mode is carried out It introduces.And in practical applications, on " metadata " describing mode provided in the embodiment of the present application, can also be in others It is applied in system, for this purpose, the embodiment of the present application additionally provides a kind of data processing method, referring to Fig. 4, this method can include following Step:
S401:The three classes entity of Haystack, the three classes data are realized under open building information exchange oBIX specifications Entity includes geographical location entity, equipment entity and functions of the equipments point position entity;
S402:By the three classes entity the device-dependent data of the underlying basis are carried out with unitized description, generation The metadata;
S403:Application programming interface API is provided, it should to carry out upper strata using the API and the metadata Use program development;
S404:When receiving upper level applications to the call request of the API, according to the first number carried in the request According to determining under the target entity under the oBIX specifications that target operation object is inherited and the Haystack specifications followed Target labels, according to the target entity and the target labels, to be operated to the operation object.
During specific implementation, the geographical location entity includes the top layer parent Location of geographical location object, member It is closed including being directed toward the class sublocation of lower floor, the class upperLocation on direction upper strata and being directed toward geographical location object Join the class entityCollect of device object.
The equipment entity can include being respectively device class template that each device class is established, and member includes pair Function point position possessed by the equipment of device class is answered, will pass through the device class template for inheriting corresponding device class, generation The metadata of device object.
The member of the functions of the equipments point position entity includes being directed toward the reference of its upper layer device.
During specific implementation, the call request includes obtaining target formation infrastructure device objective function point position related data Request,, can basis when being operated to the operation object specifically according to the target entity and the target labels The target entity and the target labels obtain dependency number of the target formation infrastructure device in objective function point position According to, and it is supplied to the upper level applications.
Wherein, the underlying basis equipment includes the underlying basis equipment of target wisdom building interior, wherein, the target Wisdom building interior is also deployed with gateway middleware, by the gateway middleware to different underlying basis in same device class The representation of equipment carries out unitized processing;
At this point, specifically the target formation infrastructure device is obtained according to the target entity and the target labels It, can be first according to the target entity and the target labels, to the net in the related data of objective function point position It closes middleware and sends the request for obtaining the related data, so that the gateway middleware is receiving the target formation basis After equipment is submitted to data, according to it is described it is unitized treated that representation carries out data reduction, and will be after conversion Data return, it is then possible to receive that the gateway middleware provides on the target formation infrastructure device in objective function The related data of point position.
In addition, the call request can also include asking to what target formation infrastructure device objective function point position was configured It asks, it, can be with when being operated to the operation object at this point, specifically according to the target entity and the target labels According to the target entity and the target labels, by described request is set to be issued to the target formation infrastructure device, with Toilet states target formation infrastructure device and the objective function point position is configured according to the request.
Similar, if the underlying basis equipment includes the underlying basis equipment of target wisdom building interior, wherein, institute It states target wisdom building interior and is also deployed with gateway middleware, by the gateway middleware to different bottoms in same device class The representation of layer infrastructure device carries out unitized processing;Then specifically by described request is set to be issued to the mesh described During base number of a tender layer infrastructure device, by described request can be set to be sent to institute according to the target entity and the target labels Gateway middleware is stated, so that the gateway middleware is according to unitized treated representation and the mesh The original representation of base number of a tender layer infrastructure device, the numerical value carried in the request is converted, after conversion Numerical value sends described set to the target formation infrastructure device and asks, set by the target formation infrastructure device according to described It puts request and performs setting operation.
As it can be seen that by under oBIX specifications combine HayStack tag attributes (Site positions, Equip device types, Point function points position), simultaneously control device can be inquired about for greater flexibility, as soon as only by a device object URI, can be obtained required The data wanted carry out control operation to equipment.In addition, the h by increasing HayStack:Prefix label so that platform makes User can not only inquire equipment one by one by OBIX Location positions, can also pass through the label of HayStack All equipment with the label of characteristic comprehensive inquiry.
For example, in the development phase of application program, inquiry target geographic position can be received and marked with target Haystack The request of the device object information of label provides the metadata of each device object with Haystack labels.
Alternatively, the request of the inquiry associated function point position information of target device object can also be received, the target is provided The metadata of the associated each function point position of device object.
, can also be referring to the introduction in previous embodiment one on the specific implementation of the example IV, which is not described herein again.
Corresponding with embodiment two, the embodiment of the present application additionally provides a kind of wisdom building control device, specifically, the dress It puts applied to the control server positioned at high in the clouds, referring to Fig. 5, which can include:
API provides unit 501, for providing application programming interface API;
Gateway middleware determination unit 502, during for receiving upper level applications to the call request of the API, really The intended gateway middleware that the wisdom that sets the goal is built and wherein disposed;
Call request issuance unit 503, for being issued to the call request pair by the intended gateway middleware The underlying basis equipment answered, to be operated to the underlying basis equipment.
During specific implementation, which can also include:
Metadata provides unit, unites for providing for the data generated to the underlying basis equipment of each device class One changes the metadata of description, so that the upper level applications are called the API by parameter of the metadata.
Wherein, in an implementation mode, metadata provides unit and can specifically include:
Entity realizes subelement, for realizing that the three classes of Haystack are real under open building information exchange oBIX specifications Body, the three classes data entity include geographical location entity, equipment entity and functions of the equipments point position entity;
Metadata generates subelement, for being carried out by the three classes entity to the device-dependent data of the underlying basis Unitized description, generates the metadata.
It is described when receiving upper level applications to the call request of the API during specific implementation, it further includes:
Information determination unit, for according to the metadata carried in the call request, determining the operation object institute asked Target entity under the oBIX specifications of succession and the target labels under the Haystack specifications followed;
It is described when the operation requests being issued to corresponding underlying basis equipment by the intended gateway middleware, also Including:
Information provider unit, for the target entity and the target labels to be supplied among the intended gateway So that the intended gateway middleware is according to the target entity and the target labels, the operation requests are issued for part To corresponding underlying basis equipment.
Wherein, the call request includes the request for obtaining target formation infrastructure device objective function point position related data, The call request issuance unit specifically can be used for:
The request of the acquisition related data is issued to corresponding underlying basis by the intended gateway middleware to set It is standby, so that the underlying basis equipment returns to the related data of the objective function point position, and by the intended gateway among The related data is returned to the control server by part;The related data that the intended gateway middleware is returned, provides To the upper level applications.
Alternatively, the call request includes the request being configured to target formation infrastructure device objective function point position, institute Call request issuance unit is stated specifically to can be used for:
By described request is set to be issued to corresponding underlying basis equipment by the intended gateway middleware, so as to described Underlying basis equipment is configured the objective function point position according to the request.
Furthermore it is also possible to realize that batch query operates by Haystack labels, specifically, the device can also include:
First inquiry request receiving unit, for receiving inquiry target geographic position setting with target Haystack labels The request of standby object information;
First query result provides unit, for providing first number of each device object with Haystack labels According to.
Alternatively, the device can also include:
Second inquiry request receiving unit, for receiving asking for the inquiry associated function point position information of target device object It asks;
Second query result provides unit, for providing first number of the associated each function point position of the target device object According to.
Corresponding with embodiment three, the embodiment of the present application additionally provides a kind of wisdom building control device, the device application In the gateway middleware positioned at interior of building, referring to Fig. 6, which can specifically include:
Unit 601 is uniformly processed, for in building in same device class different underlying basis equipment tables of data Unitized processing is carried out up to mode;
Call request receiving unit 602, the API Calls request that the control server for receiving high in the clouds is sent;The API Call request is sent by upper level applications;
Underlying basis equipment determination unit 603, for determining target formation infrastructure device according to the call request;
Call request transmitting element 604, for sending the call request to the target formation infrastructure device, so as to right The target formation infrastructure device is operated.
Wherein, the call request includes the request for obtaining target formation infrastructure device objective function point position related data;
At this point, described device can also include:
First scaling unit, for after the related data that the target formation infrastructure device returns is received, according to institute State that unitized treated that representation carries out data reduction;
Scaling results returning unit controls server, so as to by institute for the data after converting to be returned to the high in the clouds It states high in the clouds control server and returns to the upper level applications.
Alternatively, the call request includes the request being configured to target formation infrastructure device objective function point position;
Described device further includes:
Second scaling unit, for before the call request is sent to the target formation infrastructure device, according to institute Unitized treated representation and the original representation of target formation infrastructure device is stated, by institute It states the numerical value carried in request to convert, so that using the numerical value after converting, institute is sent to the target formation infrastructure device Setting request is stated, sets request execution that operation is set according to described by the target formation infrastructure device.
Corresponding with example IV, the embodiment of the present application additionally provides a kind of data processing equipment, referring to Fig. 7, the device It can include:
Entity realizes unit 701, for realizing that the three classes of Haystack are real under open building information exchange oBIX specifications Body, the three classes data entity include geographical location entity, equipment entity and functions of the equipments point position entity;
Metadata generation unit 702, for by the three classes entity to the device-dependent data of the underlying basis into The unitized description of row, generates the metadata;
API provides unit 703, for providing application programming interface API, to utilize the API and the member Data carry out upper level applications exploitation;
Call request processing unit 704, during for receiving upper level applications to the call request of the API, according to The metadata carried in the request determines the target entity under the oBIX specifications that target operation object is inherited and is abided by Target labels under the Haystack specifications followed, so as to according to the target entity and the target labels, to the operation Object is operated.
Wherein, the geographical location entity includes the top layer parent of geographical location object, and member includes being directed toward lower floor Class, the class for being directed toward upper strata and the class for being directed toward geographical location object associate device object.
The equipment entity includes the device class template that respectively each device class is established, and member includes correspondence and sets Function point position possessed by the equipment of standby classification will pass through the device class template for inheriting corresponding device class, generates equipment The metadata of object.
The member of the functions of the equipments point position entity includes being directed toward the reference of its upper layer device.
During specific implementation, the call request includes obtaining target formation infrastructure device objective function point position related data Request, the call request processing unit specifically can be used for:
According to the target entity and the target labels, the target formation infrastructure device is obtained in objective function point The related data of position, and it is supplied to the upper level applications.
Wherein, the underlying basis equipment includes the underlying basis equipment of target wisdom building interior, wherein, the target Wisdom building interior is also deployed with gateway middleware, by the gateway middleware to different underlying basis in same device class The representation of equipment carries out unitized processing;
The call request processing unit can specifically include:
Transmission sub-unit is asked, for according to the target entity and the target labels, to the gateway middleware The request for obtaining the related data is sent, so that the gateway middleware is receiving the target formation infrastructure device submission To after data, according to it is described it is unitized treated that representation carries out data reduction, and the data after conversion are returned;
Data receiver subelement, for receiving existing on the target formation infrastructure device for the gateway middleware offer The related data of objective function point position.
Alternatively, the call request includes the request being configured to target formation infrastructure device objective function point position, institute Call request processing unit is stated specifically to can be used for
According to the target entity and the target labels, by described request is set to be issued to the target formation basis Equipment, so that the target formation infrastructure device is configured the objective function point position according to the request.
Wherein, the underlying basis equipment includes the underlying basis equipment of target wisdom building interior, wherein, the target Wisdom building interior is also deployed with gateway middleware, by the gateway middleware to different underlying basis in same device class The representation of equipment carries out unitized processing;
The call request processing unit specifically can be used for:
According to the target entity and the target labels, by described request is set to be sent to the gateway middleware, So that the gateway middleware is according to unitized treated representation and the target formation infrastructure device Original representation converts the numerical value carried in the request, using the numerical value after conversion, to the target Underlying basis equipment sends described set and asks, and performs to set according to the setting request by the target formation infrastructure device and grasp Make.
In addition, the device can also include:
First inquiry request receiving unit, for receiving inquiry target geographic position setting with target Haystack labels The request of standby object information;
First query result provides unit, for providing first number of each device object with Haystack labels According to.
Alternatively, the device can also include:
Second inquiry request receiving unit, for receiving asking for the inquiry associated function point position information of target device object It asks;
Second query result provides unit, for providing first number of the associated each function point position of the target device object According to.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can It is realized by the mode of software plus required general hardware platform.Based on such understanding, the technical solution essence of the application On the part that the prior art contributes can be embodied in the form of software product in other words, the computer software product It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, it is used including some instructions so that a computer equipment (can be personal computer, server either network equipment etc.) performs some of each embodiment of the application or embodiment Method described in part.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Point just to refer each other, and the highlights of each of the examples are difference from other examples.Especially for system or For system embodiment, since it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to method The part explanation of embodiment.System and system embodiment described above is only schematical, wherein the conduct The unit that separating component illustrates may or may not be it is physically separate, the component shown as unit can be or Person may not be physical location, you can be located at a place or can also be distributed in multiple network element.It can root Factually border needs to select some or all of module therein realize the purpose of this embodiment scheme.Ordinary skill Personnel are without creative efforts, you can to understand and implement.
Above to wisdom building control method, apparatus provided herein and system, it is described in detail, herein Applying specific case, the principle and implementation of this application are described, and the explanation of above example is only intended to help Understand the present processes and its core concept;Meanwhile for those of ordinary skill in the art, according to the thought of the application, There will be changes in specific embodiments and applications.In conclusion this specification content should not be construed as to this The limitation of application.

Claims (18)

1. a kind of wisdom building control system, which is characterized in that including:
Positioned at least one gateway middleware of interior of building, for controlling the multiple and different device classes of the interior of building Underlying basis equipment access, and unification is carried out to the representation of different underlying basis equipment in same device class Change is handled;
Control server positioned at high in the clouds for providing application programming interface API, receives upper level applications to described The call request of API, and corresponding underlying basis equipment is issued to by the gateway middleware, so as to the underlying basis Equipment is operated.
2. according to the method described in claim 1, it is characterized in that, the operation requests are included to multiple in distinct device classification The operation requests that underlying basis equipment is operated, the control server are used for the operation through the gateway middleware Request is issued to corresponding each underlying basis equipment, with the related data that obtains each underlying basis equipment or to each bottom Layer infrastructure device issues control instruction respectively.
3. according to the method described in claim 1, it is characterized in that, the control server is also provided for for each equipment The device-dependent data of underlying basis of classification carry out the metadata of unitized description, so that the upper level applications are with described Metadata is called the API for parameter.
4. according to the method described in claim 3, it is characterized in that, the control server is additionally operable to hand in open building information Change under oBIX specifications realize Haystack three classes entity, the three classes entity include geographical location entity, equipment entity and Functions of the equipments point position entity carries out unitized retouch will pass through the three classes entity to the device-dependent data of the underlying basis It states, generates the metadata.
5. according to the method described in claim 1, it is characterized in that, the control server is additionally operable to by among the gateway Part gathers the data of each equipment of interior of building, and carries out data analysis, and data results are supplied to the application Program.
A kind of 6. wisdom building control method, which is characterized in that including:
Control server positioned at high in the clouds provides application programming interface API;
When receiving upper level applications to the call request of the API, target wisdom building and the mesh wherein disposed are determined Mark gateway middleware;
The call request is issued to by corresponding underlying basis equipment by the intended gateway middleware, with to the bottom Infrastructure device is operated.
7. according to the method described in claim 6, it is characterized in that, the method further includes:
The data for providing to generate the underlying basis equipment of each device class carry out the metadata of unitized description, with toilet Upper level applications are stated to be called the API using the metadata as parameter.
8. the method according to the description of claim 7 is characterized in that the offer sets for the underlying basis to each device class The standby data generated carry out the metadata of unitized description, including:
The three classes entity of Haystack is realized under open building information exchange oBIX specifications, the three classes data entity includes ground Manage position entities, equipment entity and functions of the equipments point position entity;
By the three classes entity the device-dependent data of the underlying basis are carried out with unitized description, generates first number According to.
9. according to the method described in claim 8, it is characterized in that, described receive tune of the upper level applications to the API During with request, further include:
According to the metadata carried in the call request, the target under the oBIX specifications that the operation object of request is inherited is determined Target labels under entity and the Haystack specifications followed;
It is described when the operation requests being issued to corresponding underlying basis equipment by the intended gateway middleware, also wrap It includes:
The target entity and the target labels are supplied to the intended gateway middleware, so as in the intended gateway Between part according to the target entity and the target labels, the operation requests are issued to corresponding underlying basis equipment.
10. according to the method described in claim 8, it is characterized in that, the call request is set including obtaining target formation basis The request of standby objective function point position related data, it is described to be issued to the call request pair by the intended gateway middleware The underlying basis equipment answered, including:
The request of the acquisition related data is issued to by corresponding underlying basis equipment by the intended gateway middleware, with Toilet states underlying basis equipment and returns to the related data of the objective function point position, and by the intended gateway middleware by institute It states related data and returns to the control server;
The related data that the intended gateway middleware is returned, is supplied to the upper level applications.
11. according to the method described in claim 8, it is characterized in that, the call request is included to target formation infrastructure device The request that objective function point position is configured, it is described that the call request is issued to by correspondence by the intended gateway middleware Underlying basis equipment, including:
By described request is set to be issued to corresponding underlying basis equipment by the intended gateway middleware, so as to the bottom Infrastructure device is configured the objective function point position according to the request.
12. it according to the method described in claim 8, it is characterized in that, further includes:
Receive the request of device object information of the inquiry target geographic position with target Haystack labels;
The metadata of each device object with Haystack labels is provided.
13. it according to the method described in claim 8, it is characterized in that, further includes:
Receive the request of the inquiry associated function point position information of target device object;
The metadata of the associated each function point position of the target device object is provided.
A kind of 14. wisdom building control method, which is characterized in that including:
Positioned at interior of building gateway middleware in building in same device class different underlying basis equipment data Expression way carries out unitized processing;
Receive the API Calls request that the control server in high in the clouds is sent;The API Calls request is sent by upper level applications;
Target formation infrastructure device is determined according to the call request;
The call request is sent to the target formation infrastructure device, to be grasped to the target formation infrastructure device Make.
15. according to the method for claim 14, which is characterized in that the call request includes acquisition target formation basis and sets The request of standby objective function point position related data;
The method further includes:
After the related data that the target formation infrastructure device returns is received, according to unitized treated the tables of data Data reduction is carried out up to mode;
Data after conversion are returned into the high in the clouds control server, it is described to be returned to by high in the clouds control server Upper level applications.
16. according to the method for claim 14, which is characterized in that the call request is included to target formation infrastructure device The request that objective function point position is configured;
The method further includes:
Before the call request is sent to the target formation infrastructure device, according to unitized treated the tables of data Up to mode and the original representation of target formation infrastructure device, the numerical value carried in the request is carried out Conversion, using the numerical value after converting, to send described set to the target formation infrastructure device and ask, by the target bottom Layer infrastructure device sets request to perform setting operation according to described.
17. a kind of wisdom building control device, which is characterized in that applied to the control server positioned at high in the clouds, including:
API provides unit, for providing application programming interface API;
Gateway middleware determination unit during for receiving upper level applications to the call request of the API, determines target intelligence Intelligent building and the intended gateway middleware wherein disposed;
Call request issuance unit, for the call request to be issued to corresponding bottom by the intended gateway middleware Infrastructure device, to be operated to the underlying basis equipment.
18. a kind of wisdom building control device, which is characterized in that applied to the gateway middleware positioned at interior of building, including:
Unit is uniformly processed, for in building in same device class different underlying basis equipment representation into The unitized processing of row;
Call request receiving unit, the API Calls request that the control server for receiving high in the clouds is sent;The API Calls please It asks and is sent by upper level applications;
Underlying basis equipment determination unit, for determining target formation infrastructure device according to the call request;
Call request transmitting element, for sending the call request to the target formation infrastructure device, so as to the mesh Base number of a tender layer infrastructure device is operated.
CN201611051522.XA 2016-11-23 2016-11-23 Intelligent building control method, device and system Active CN108089450B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611051522.XA CN108089450B (en) 2016-11-23 2016-11-23 Intelligent building control method, device and system
CN202110373787.6A CN113238489A (en) 2016-11-23 2016-11-23 Intelligent building control method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611051522.XA CN108089450B (en) 2016-11-23 2016-11-23 Intelligent building control method, device and system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202110373787.6A Division CN113238489A (en) 2016-11-23 2016-11-23 Intelligent building control method, device and system

Publications (2)

Publication Number Publication Date
CN108089450A true CN108089450A (en) 2018-05-29
CN108089450B CN108089450B (en) 2021-04-27

Family

ID=62171733

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201611051522.XA Active CN108089450B (en) 2016-11-23 2016-11-23 Intelligent building control method, device and system
CN202110373787.6A Pending CN113238489A (en) 2016-11-23 2016-11-23 Intelligent building control method, device and system

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202110373787.6A Pending CN113238489A (en) 2016-11-23 2016-11-23 Intelligent building control method, device and system

Country Status (1)

Country Link
CN (2) CN108089450B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111612407A (en) * 2020-03-09 2020-09-01 深大本原智慧科技(深圳)有限公司 Three-dimensional visual comprehensive application platform design method based on cloud platform
CN111885162A (en) * 2020-07-23 2020-11-03 珠海格力电器股份有限公司 Building equipment management system
CN111930496A (en) * 2020-06-18 2020-11-13 珠海格力电器股份有限公司 Integrated control method and device, building control system, storage medium and processor
CN113093602A (en) * 2021-03-31 2021-07-09 湖南建工德顺电子科技有限公司 Operation integrated management system

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067900A (en) * 2007-03-27 2007-11-07 陈伟山 Unified remote controller system and realizing method thereof
CN101833854A (en) * 2010-04-27 2010-09-15 四川长虹电器股份有限公司 Universal remote control with USB interface and remote control code interacting method
CN102611646A (en) * 2012-04-23 2012-07-25 北京工业大学 Data gateway of Internet of things based on ZigBee and XML (extensible markup language)
CN202444504U (en) * 2012-01-20 2012-09-19 因为科技无锡有限公司 Intelligent optimized management system for public resources of residential area
CN102739771A (en) * 2012-04-18 2012-10-17 上海和辰信息技术有限公司 Cloud application integrated management platform and method supporting service fusion
CN202889394U (en) * 2012-08-13 2013-04-17 苏州信亚科技有限公司 Universal intelligent remote control device
CN103345236A (en) * 2013-07-30 2013-10-09 刘品杰 Open-type intelligent household appliance and control method for same
CN103490962A (en) * 2013-09-10 2014-01-01 北京邮电大学 Internet of Things access platform system and Internet of Things access method
CN104283878A (en) * 2014-09-30 2015-01-14 深圳万兴信息科技股份有限公司 Security type mobile terminal based on cloud services and method of security type mobile terminal based on cloud services for having access to cloud server
CN104572042A (en) * 2013-10-15 2015-04-29 航天信息股份有限公司 Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment
CN104636329A (en) * 2013-11-06 2015-05-20 北京航天长峰科技工业集团有限公司 Unified management method for large-scale cross-platform heterogeneous data
CN104793588A (en) * 2015-03-06 2015-07-22 赵功名 Smart home system based on intelligent routing robot
CN104967686A (en) * 2015-06-29 2015-10-07 南京邮电大学 System and design method for constructing plane type 3S intelligent service shop
US20150373149A1 (en) * 2014-06-23 2015-12-24 Google Inc. Methods and apparatus for using smart environment devices via application program interfaces
CN205103962U (en) * 2015-10-26 2016-03-23 山东四为物联技术有限公司 Analytic system in fire alarm information high in clouds
CN105577534A (en) * 2014-10-15 2016-05-11 珠海格力电器股份有限公司 Household intelligence gateway and intelligent household system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101344956A (en) * 2008-08-26 2009-01-14 广东工业大学 Intelligent building distributed heterogeneous system integration method
CH701294A1 (en) * 2009-06-18 2010-12-31 Archimede Solutions Sarl multi-protocol system monitoring and management of heterogeneous smart objects.
CN102136933B (en) * 2010-09-30 2013-08-28 华为技术有限公司 Equipment management method, middleware and machine communication platform, equipment and system
CN203299613U (en) * 2013-05-13 2013-11-20 上海新物科技有限公司 Intelligent building control system
CN103345478A (en) * 2013-06-17 2013-10-09 武汉天罡信息技术有限公司 Universal identification coding system for smart city construction
CN103491182A (en) * 2013-09-29 2014-01-01 成都中科大旗软件有限公司 Educational informationization open ecology platform based on cloud computing
CN104702651A (en) * 2013-12-10 2015-06-10 中国科学院沈阳自动化研究所 Internet of Things architecture model based on semantics
CN105205729B (en) * 2015-09-22 2019-11-12 许继集团有限公司 A kind of electric system efficiency public service cloud platform based on cloud computing
CN105450654B (en) * 2015-12-08 2019-09-27 深圳市讯方技术股份有限公司 Smart home development platform and its business development method based on middleware Technology
KR102063024B1 (en) * 2018-08-30 2020-01-07 한국전력공사 System for integrated process of data for smart city and method thereof

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067900A (en) * 2007-03-27 2007-11-07 陈伟山 Unified remote controller system and realizing method thereof
CN101833854A (en) * 2010-04-27 2010-09-15 四川长虹电器股份有限公司 Universal remote control with USB interface and remote control code interacting method
CN202444504U (en) * 2012-01-20 2012-09-19 因为科技无锡有限公司 Intelligent optimized management system for public resources of residential area
CN102739771A (en) * 2012-04-18 2012-10-17 上海和辰信息技术有限公司 Cloud application integrated management platform and method supporting service fusion
CN102611646A (en) * 2012-04-23 2012-07-25 北京工业大学 Data gateway of Internet of things based on ZigBee and XML (extensible markup language)
CN202889394U (en) * 2012-08-13 2013-04-17 苏州信亚科技有限公司 Universal intelligent remote control device
CN103345236A (en) * 2013-07-30 2013-10-09 刘品杰 Open-type intelligent household appliance and control method for same
CN103490962A (en) * 2013-09-10 2014-01-01 北京邮电大学 Internet of Things access platform system and Internet of Things access method
CN104572042A (en) * 2013-10-15 2015-04-29 航天信息股份有限公司 Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment
CN104636329A (en) * 2013-11-06 2015-05-20 北京航天长峰科技工业集团有限公司 Unified management method for large-scale cross-platform heterogeneous data
US20150373149A1 (en) * 2014-06-23 2015-12-24 Google Inc. Methods and apparatus for using smart environment devices via application program interfaces
CN104283878A (en) * 2014-09-30 2015-01-14 深圳万兴信息科技股份有限公司 Security type mobile terminal based on cloud services and method of security type mobile terminal based on cloud services for having access to cloud server
CN105577534A (en) * 2014-10-15 2016-05-11 珠海格力电器股份有限公司 Household intelligence gateway and intelligent household system
CN104793588A (en) * 2015-03-06 2015-07-22 赵功名 Smart home system based on intelligent routing robot
CN104967686A (en) * 2015-06-29 2015-10-07 南京邮电大学 System and design method for constructing plane type 3S intelligent service shop
CN205103962U (en) * 2015-10-26 2016-03-23 山东四为物联技术有限公司 Analytic system in fire alarm information high in clouds

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111612407A (en) * 2020-03-09 2020-09-01 深大本原智慧科技(深圳)有限公司 Three-dimensional visual comprehensive application platform design method based on cloud platform
CN111930496A (en) * 2020-06-18 2020-11-13 珠海格力电器股份有限公司 Integrated control method and device, building control system, storage medium and processor
CN111885162A (en) * 2020-07-23 2020-11-03 珠海格力电器股份有限公司 Building equipment management system
CN111885162B (en) * 2020-07-23 2021-10-08 珠海格力电器股份有限公司 Building equipment management system
CN113093602A (en) * 2021-03-31 2021-07-09 湖南建工德顺电子科技有限公司 Operation integrated management system

Also Published As

Publication number Publication date
CN113238489A (en) 2021-08-10
CN108089450B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
Marsa-Maestre et al. Mobile Agents for Service Personalization in Smart Environments.
Han et al. Semantic context-aware service composition for building automation system
Moreno et al. User‐centric smart buildings for energy sustainable smart cities
CN108089450A (en) Wisdom building control method, apparatus and system
US20210141351A1 (en) Declarative intentional programming in machine-to-machine systems
CN108696575A (en) The third-party application control of equipment in platform of internet of things
Noura et al. WoTDL: web of things description language for automatic composition
CN111869186A (en) Mechanism for intelligent service layer to request abstract service
Ha et al. Service-oriented integration of networked robots with ubiquitous sensors and devices using the semantic Web services technology
Schachinger et al. Semantics for smart control of building automation
Butzin et al. A model based development approach for building automation systems
Shrestha et al. Standardized framework for integrating domain-specific applications into the IoT
EP3673372A1 (en) Overlay resource trees in a communications network
Egami et al. Ubiquitous cloud: Managing service resources for adaptive ubiquitous computing
CN108093020A (en) Data processing method and device
Di Modica et al. SNPS: an OSGi-based middleware for Wireless Sensor Networks
Van den Bossche et al. Specifying an MQTT tree for a connected smart home
Schachinger et al. Model-driven integration of building automation systems into Web service gateways
Han et al. Context-aware service composition framework in web-enabled building automation system
Koussaifi User-oriented description of emerging services in ambient systems
Popovici et al. An ontology-based dynamic service composition framework for intelligent houses
Främling et al. Smart spaces for ubiquitously smart buildings
JP2022515831A (en) System for providing services
Casado-Mansilla et al. GreenSoul: An IoT platform for empowering users’ energy efficiency in public buildings
Mendes et al. Abstraction of heterogeneous iot devices for management of smart homes

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1256080

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant