CN105450654B - Smart home development platform and its business development method based on middleware Technology - Google Patents

Smart home development platform and its business development method based on middleware Technology Download PDF

Info

Publication number
CN105450654B
CN105450654B CN201510897367.2A CN201510897367A CN105450654B CN 105450654 B CN105450654 B CN 105450654B CN 201510897367 A CN201510897367 A CN 201510897367A CN 105450654 B CN105450654 B CN 105450654B
Authority
CN
China
Prior art keywords
service
smart home
control unit
unit
intelligent domestic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510897367.2A
Other languages
Chinese (zh)
Other versions
CN105450654A (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.)
Shenzhen Xunfang Technology Co Ltd
Original Assignee
Shenzhen Xunfang Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xunfang Technology Co Ltd filed Critical Shenzhen Xunfang Technology Co Ltd
Priority to CN201510897367.2A priority Critical patent/CN105450654B/en
Publication of CN105450654A publication Critical patent/CN105450654A/en
Application granted granted Critical
Publication of CN105450654B publication Critical patent/CN105450654B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a kind of smart home development platform and its business development method based on middleware Technology, wherein smart home development platform includes: Service Management Unit, simultaneously provides interactive interface with analysis foundation data, generation report chart for configuring;Service Control Unit provides Application development environ-ment, reception is transmitted an order and operating database for the processing of system core task;Integrated access unit carries out information exchange for being communicated with intelligent domestic gateway and bottom equipment, and with the Service Control Unit.The present invention shields the complexity of bottom hardware and network by establishing sophisticated service administrative unit, Service Control Unit and integrated access unit, the application programming interface and communication protocol that pass downwardly through standard;Simple and integrated Application development environ-ment is provided upwardly through unified Software Development Kit;So as to run on multiple hardwares and operating system platform, a kind of smart home integrated development method efficiently easily extended is formed, so as to quick developing intellectual resource household business and effectively improves smart home business development efficiency, reduces system O&M cost.

Description

Smart home development platform and its business development method based on middleware Technology
Technical field
The invention belongs to Smart Home technical fields, and in particular to a kind of smart home exploitation based on middleware Technology is flat Platform, system business development approach and service control method.
Background technique
Smart home becomes the bursting point of New Generation of Intelligent science and technology, faces under the China's economic for being close to internet development The tempting market prospects of smart home, in recent years, many households and IT enterprises set up the big flag of smart home, but existing intelligence one after another There is the problems such as whole industrial chain is too long, consensus standard is excessive and disunity in energy house system, cause smart home respectively at oneself System, research and development, production, service lack whole uniformity, it is therefore desirable to and it takes a substantial amount of time with energy and constructs and safeguard, Lack it is a kind of can quick developing intellectual resource household business method.
Summary of the invention
The present invention provides a kind of smart home development platform and its business development method based on middleware Technology, can be quickly Developing intellectual resource household business, and smart home business development efficiency is effectively improved, reduce system O&M cost.
The smart home development platform based on middleware Technology that the present invention provides a kind of, comprising: Service Management Unit, industry Control unit of being engaged in and integrated access unit;
Service Management Unit simultaneously provides interactive interface with analysis foundation data, generation report chart for configuring;
Service Control Unit, for providing simple and integrated application and development ring by unified Software Development Kit Border receives the command request that Service Management Unit issues, handles and send integrated access unit to;Integrated access unit is received to return Message or request are returned, handle and sends processing result to Service Management Unit;And management internal timing task, operation data Library;
Integrated access unit passes through unified application program for being communicated with intelligent domestic gateway and bottom equipment Programming interface shields the complexity of bottom hardware, carries out information exchange with Service Control Unit.
Optionally, Service Management Unit includes the different business module of multiple division of labor;
The Service Management Unit is specifically used for:
Basic data configuration is carried out to the control of system administration, permission, account management, equipment management;And to the basis It is counted and is analyzed, generate business statistics report and analysis chart in real time;Service management is carried out by different business modules With control, intuitive Dynamic Display service application process provides friendly interactive interface for user, provide web access and Android/IOS terminal is shown.
Optionally, Service Control Unit include first message delivery and reception module, second message delivery and reception module, Type of service analysis module, message logic processing module and data task processing module;The first message sends and receives mould Block is connect with Service Management Unit and type of service analysis module respectively, and type of service analysis module is handled with message logic respectively Module and the data task processing module electrical connection, the second message delivery and reception module respectively with the message logic Processing module is connected with the integrated access unit.
Optionally, integrated access unit include third message delivery and reception module, the 4th message delivery and reception module, Protocol conversion module, the protocol conversion module respectively with the third message delivery and reception module and the 4th message Delivery and reception module connection, the third message delivery and reception module is electrically connected with the Service Control Unit, and described the Four message delivery and reception modules are connect with the intelligent domestic gateway and the bottom equipment.
Optionally, the integrated access unit, is specifically used for:
Active timing acquiring information node, bottom equipment data;Passively receive the information node uploaded in real time, bottom equipment Data;As the access layer between intelligent domestic gateway and bottom equipment, Treated Base equipment uploads to intelligent domestic gateway Business datum;Processing intelligent domestic gateway is issued to the service request of bottom equipment;Receive the request of Service Control Unit transmission Instruction, and information node data is transmitted to Service Control Unit.
The embodiment of the present invention also provides a kind of smart home business development method based on middleware Technology, including following step It is rapid:
Service Management Unit configuration and analysis foundation data generate report chart and provide interactive interface;
Service Control Unit provides simple and integrated Application development environ-ment by unified Software Development Kit, receives The command request that Service Management Unit issues handles and sends integrated access unit to;It receives integrated access unit and returns to message Or request, it handles and sends processing result to Service Management Unit;And management internal timing task, operating database;
Integrated access unit is communicated with intelligent domestic gateway and bottom equipment, is connect by unified application programming The complexity of mouth shielding bottom hardware, carries out information exchange with Service Control Unit.
Optionally, the Service Management Unit configuration and analysis foundation data, generate report chart and provide interactive interface, It specifically includes:
Basic data configuration is carried out to the control of system administration, permission, account management, equipment management;And to the basis It is counted and is analyzed, generate business statistics report and analysis chart in real time;Service management is carried out by different business modules With control, intuitive Dynamic Display service application process provides friendly interactive interface for user, provide web access and Android/IOS terminal is shown.
Optionally, the integrated access unit is communicated with intelligent domestic gateway and bottom equipment, and with the business Control unit carries out information exchange, specifically includes:
Active timing acquiring information node, bottom equipment data;Passively receive the information node uploaded in real time, bottom equipment Data;As the access layer between intelligent domestic gateway and bottom equipment, Treated Base equipment uploads to intelligent domestic gateway Business datum;Processing intelligent domestic gateway is issued to the service request of bottom equipment;Receive the request of Service Control Unit transmission Instruction, and information node data is transmitted to Service Control Unit.
The present invention provides a kind of smart home development platform, system and its business development side based on middleware Technology Method, by establishing sophisticated service administrative unit (SMP), Service Control Unit (SCP) and integrated access unit (IPC), downwards By the application programming interface (API) of standard and communication protocol management data resource and network communication, to shield The complexity of bottom hardware and network;Simple and integrated application is provided upwardly through unified Software Development Tools (SDK) packet Develop environment;So as to run on multiple hardwares and operating system (OS) platform, make developer by development effort collection In in business innovation, it is not necessary to the transplanting for being again program in different hardware or software and repeated work, formed it is a kind of efficiently easily The integrating and developing platform of extension is solved because smart home industrial chain is too long, consensus standard is excessive and disunity etc. leads to not The problem of quick developing intellectual resource household new business, effectively improves smart home business development efficiency, reduces system O&M cost, this Key facilitation will be played to smart home industry future development, system integrator and application developers can be based on this Method rapid build smart home new business.
Detailed description of the invention
Fig. 1 is smart home development platform block schematic illustration of the embodiment of the present invention;
Fig. 2 is the network architecture diagram of smart home development system of the embodiment of the present invention;
Fig. 3 is smart home business development method flow schematic diagram of the embodiment of the present invention;
Fig. 4 is Service Control Unit operation flow schematic diagram of the embodiment of the present invention;
Fig. 5 is integrated access unit business flow diagram of the embodiment of the present invention;
Fig. 6 is smart home service control method flow diagram of the embodiment of the present invention;
Fig. 7 is that the embodiment of the present invention is the method flow diagram that node distributes fixing address;
Fig. 8-Fig. 9 is receiving node of embodiment of the present invention sensor information and node state flow diagram;
Figure 10 is that the embodiment of the present invention issues sensor alarm threshold value flow diagram;
Figure 11 is that the embodiment of the present invention receives warning message flow diagram;
Figure 12 is recording device infrared control order flow diagram of the embodiment of the present invention;
Figure 13 is that the embodiment of the present invention issues equipment operation order flow diagram;
Figure 14 is that the embodiment of the present invention issues contextual model rule flow diagram.
Specific embodiment
The following further describes the present invention in detail with reference to the accompanying drawings and specific embodiments, convenient for this hair is well understood It is bright, but they limiting the invention.
It is intelligent development platform block schematic illustration of the embodiment of the present invention as shown in Figure 1, during one kind of the embodiment of the present invention is based on Between part technology smart home development platform, comprising:,
Service Management Unit simultaneously provides interactive interface with analysis foundation data, generation report chart for configuring;
Service Control Unit provides Application development environ-ment for the processing of system core task, and reception is transmitted an order and grasped Make database;
Integrated access unit, for being communicated with intelligent domestic gateway and bottom equipment, while with the Service control Unit carries out information exchange
Wherein,
Service Management Unit includes different business module A, B, the C of multiple division of labor;
Service Control Unit includes first message delivery and reception module, second message delivery and reception module, service class Type analysis module, message logic processing module and data task processing module;First message delivery and reception module respectively with industry Administrative unit of being engaged in and the electrical connection of type of service analysis module, for receiving the request from different business module and returning processing knot Fruit, and request content is judged by type of service analysis module;Type of service analysis module respectively with message logic processing module Connected with data task processing module, message logic processing module receive from second message delivery and reception module respectively with disappear Breath logic processing module is connected with integrated access unit;
Service Management Unit carries out basic data configuration, including system administration, the control of permission, account management, equipment pipe Reason;Above-mentioned basis is counted and analyzed, generates business statistics report and analysis chart in real time;Pass through different business modules Service management and control are carried out, intuitive Dynamic Display service application process provides friendly interactive interface for user, provides Web Access and Android/IOS terminal are shown.
Integrated access unit includes third message delivery and reception module, the 4th message delivery and reception module, agreement turn Change the mold block, protocol conversion module respectively with third message delivery and reception module and the 4th message delivery and reception module Connection, third message delivery and reception module are electrically connected with Service Control Unit, the 4th message delivery and reception module and intelligence Home gateway is connected with bottom equipment.
The Service Management Unit of the smart home development platform based on middleware Technology uses SMP module, business Control unit uses SCP module, and industry integrated access unit uses IPC module.
A kind of smart home development platform based on middleware Technology provided in an embodiment of the present invention is perfect by establishing Service Management Unit, Service Control Unit and integrated access unit pass downwardly through api interface and the communication protocol management of standard Data resource and network communication, to shield the complexity of bottom hardware and network;Letter is provided upwardly through unified SDK packet Single and integrated Application development environ-ment;So as to run on multiple hardwares and OS platform, a kind of efficiently easily extension is formed Smart home integrating and developing platform.
It is the network architecture diagram of smart home development system of the embodiment of the present invention, intelligence of the embodiment of the present invention as shown in Figure 2 Household development platform can be applied in smart home system.Smart home system refers to by laying temperature sensing in house The environmental informations such as device, humidity sensor, photosensitive sensor, combustible gas sensor, smoke sensor device, pyroelectric sensor are adopted Collect equipment, acquire the environmental parameters such as home temperature, humidity, illumination, imflammable gas and smog in real time, and by information collected Overlayer monitors platform is uploaded to by communication network, by analysis, after processing, is monitored in real time using mobile intelligent terminal or PC Domestic environment situation, and the executable equipment such as television set, air-conditioning, electrically driven curtain, electric light, gate inhibition, cloud camera can be carried out remote Journey manipulation may also set up a key mode and realize Intellectualized monitoring.The smart home system includes:
(1) smart home development platform, specific embodiment is identical as aforementioned intelligent household development platform, no longer superfluous herein It states.
As the support platform of smart home system, smart home development platform is integrated deployment, test, an exploitation Environment has sophisticated service access system, transaction processing system, data base management system and efficient Operation Support System, Basic data configuration, information node communication and equipment control interface are provided, realize with information node information exchange, it is intelligent with The functions such as track, monitoring and management, and public development kit and distributed environment abundant are provided, have powerful smart home and answers With ability of second development, smart home application that can be new with rapid build.User can pass through the intelligent family on computer, mobile terminal It occupies development platform and realizes the functions such as the real time monitoring, intelligent control and long-range control of smart home.
(2) intelligent domestic gateway: for receiving the data of information node upload, and intelligent family is forwarded to by communication network Development platform is occupied, the control instruction of smart home development platform is received and is handed down to control node, realizes the control to controlled plant System.
As the gateway between communication network and node, on the one hand intelligent domestic gateway is responsible for the data that receiving node uploads, And upper layer smart home application development platform is forwarded to by communication network, if the data that node uploads have been more than the threshold of setting Value, intelligent domestic gateway can be sent the SMS to by onboard SIM card and trigger alarm on user mobile phone;On the other hand intelligence is received The control instruction of household development platform is simultaneously handed down to node device, realizes the control to equipment such as node, household electrical appliances, door and windows.
Wherein, information node includes: cloud camera, sensor, and/or RFID reader, for acquiring image information, passing Sensor information, and/or RFID information, and it is uploaded to the intelligent domestic gateway;
Wherein,
Cloud camera: cloud camera is taken the photograph based on the high definition wireless network on cloud computing, cloud monitoring, cloud storage platform base As head, without connect computer can independent work, can anywhere pass through computer, mobile terminal via Web vector graphic browser Or client software monitors household situation in real time.
Sensor: as the core equipment of information node, on the one hand sensor can flexibly be embedded in a variety of different sensors The information of physical world is acquired, and intelligent domestic gateway is uploaded to by onboard ZigBee module and analyzed, handle;It is another Aspect is received from intelligent domestic gateway to the control command of sensor.
Wherein, control node includes: cloud camera, sensor, and/or RFID reader, for acquiring image information, passing Sensor information, and/or RFID information, and it is uploaded to the intelligent domestic gateway;
Wherein,
Full view IR remote controller: as the controller of the household electrical appliances such as TV, air-conditioning, full view IR remote controller is integrated with The modules such as ZigBee, infrared have infrared ability of self-teaching, by receiving the control command of intelligent domestic gateway, are converted to Corresponding infrared code is, it can be achieved that be uniformly controlled household appliance.
Home controller: home controller is integrated with the modules such as ZigBee, relay, by receiving intelligent domestic gateway Control command realizes the control to equipment such as curtain, gate inhibitions.
In embodiments of the present invention, smart home system is by platform and operation layer, communication network layer, terminal and sensing stratum reticulare These three levels are constituted.
(1) platform and operation layer: being run using smart home development platform as smart home system and the platform of management, is System mainly includes the functions such as real time monitoring, long-range control, intelligent control, node administration, alarming and managing, information management.
(2) communication network layer: system can be by communication networks such as LTE, WiFi and Ethernets, will be in terminal and sensing stratum reticulare The data of node device acquisition upload to platform and operation layer, while the control instruction of platform is handed down to terminal and Sensor Network The equipment such as sensing net node, home controller in layer.
(3) terminal and sensing stratum reticulare: include mainly information collecting device and controllable device, pass through sensing net node, RFID The information collecting devices such as reader acquire information, and are uploaded to platform by communication network layer;Pass through home controller, full view The equipment such as IR remote controller receive the control command that issues of upper layer, it can be achieved that control to equipment such as household electrical appliances, door and windows.
It is smart home business development method flow schematic diagram of the embodiment of the present invention, the embodiment of the present invention one as shown in Figure 3 Smart home business development method of the kind based on middleware Technology, comprising the following steps:
Step S301, Service Management Unit configuration and analysis foundation data, generate report chart and provide interactive interface.
In embodiments of the present invention, Service Management Unit configuration and analysis foundation data generate report chart and provide friendship Mutual interface, specifically includes:
Basic data configuration is carried out to the control of system administration, permission, account management, equipment management;And to the basis It is counted and is analyzed, generate business statistics report and analysis chart in real time;Service management is carried out by different business modules With control, intuitive Dynamic Display service application process provides friendly interactive interface for user, provide web access and Android/IOS terminal is shown.
Step S303, Service Control Unit processing system core missions provide Application development environ-ment, and reception is transmitted an order simultaneously Operating database.
In embodiments of the present invention, Service Control Unit processing system core missions provide Application development environ-ment, receive and pass Up to order and operating database, specifically includes: simple and integrated application and development is provided by unified Software Development Kit Environment receives the command request that Service Management Unit issues, handles and send integrated access unit to;Receive integrated access unit Message or request are returned, handle and sends processing result to Service Management Unit;And management internal timing task, operand It is Service Control Unit operation flow schematic diagram of the embodiment of the present invention as shown in Figure 4 according to library,
Step S305, integrated access unit are communicated with intelligent domestic gateway and bottom equipment, and with the business control Unit processed carries out information exchange.
In embodiments of the present invention, integrated access unit is communicated with intelligent domestic gateway and bottom equipment, and with institute It states Service Control Unit and carries out information exchange, specifically include:
The complexity that bottom hardware is shielded by unified application programming interface carries out information with Service Control Unit Interaction;Active timing acquiring information node, bottom equipment data;Passively receive the information node uploaded in real time, bottom equipment number According to;As the access layer between intelligent domestic gateway and bottom equipment, Treated Base equipment uploads to the industry of intelligent domestic gateway Business data;Processing intelligent domestic gateway is issued to the service request of bottom equipment;The request for receiving Service Control Unit transmission refers to It enables, and information node data is transmitted to Service Control Unit.Integrated access unit business stream of the embodiment of the present invention as shown in Figure 5 Journey schematic diagram.
In the embodiment of the present invention, communication is realized using ICP/IP protocol between each unit, each unit is divided into according to its function Server-side and client, both sides can use long connection communication or short connection communication two ways.
Long connection communication mode: actively must establish SOCKET with server-side by client and connect, and communication party can start, visitor According to interface protocol format to server-side transmission packet, server-side response message packet ties processing after carrying out business processing at family end Fruit returns to client, as long as client does not turn off connection, can constantly carry out the transmission of message package.
Long connection communication mode is divided into same step-length connection and asynchronous long connection again.
Refer to one long connection of holding between smart home development platform and internet of things intelligent household gateway with step-length connection, Data can be sent using the connection immediately whenever necessary, but block follow-up data before the confirmation message for receiving other side Transmission, only after receiving acknowledgment just carry out follow-up data transmission.Which is also easier to realize, to system resource Consumption it is minimum, but do not support service concurrence, can not also improve handling capacity.
Asynchronous long connection refers to one long connection of holding between both sides, can be sent immediately using the connection whenever necessary Data, while both sides will carry out state recording to the data transmitted every time, to realize continuously transmitting for data.Which efficiency Highest can achieve maximum handling capacity, but realization is more complex, larger to the consumption of system resource.
Short connection communication process of exchange: Service Management Unit is actively established with server-side Service Control Unit as client Processing result is returned to Service Management Unit after carrying out business processing by SOCKET connection, Service Control Unit response message packet, Service Management Unit actively disconnects;When Service Control Unit actively sends out message to integrated access unit, Service Control Unit As client, when receiving the message of integrated access unit, Service Control Unit is as server-side.
A kind of smart home business development method based on middleware Technology provided in an embodiment of the present invention, by having established Kind Service Management Unit, Service Control Unit and integrated access unit passes downwardly through the api interface and communication protocol pipe of standard Data resource and network communication are managed, to shield the complexity of bottom hardware and network;It is mentioned upwardly through unified SDK packet For simple and integrated Application development environ-ment;So as to run on multiple hardwares and OS platform, formed a kind of efficiently easy The smart home integrating and developing platform of extension.
The embodiment of the invention also provides a kind of intelligent home furnishing control methods based on middleware Technology, are as shown in Figure 6 Smart home service control method flow diagram of the embodiment of the present invention, method includes the following steps:
S601, Service Management Unit configures basic data, and address distribution is fixed for node;
In embodiments of the present invention, node one powers on, and request distribution fixing address will be sent to smart home development platform Order, smart home development platform receive request distribution fixing address order after for node distribute fixing address, wherein Service Management Unit configures basic data, and address distribution is fixed for node;
S603, integrated access unit receive information node and control node information, and are uploaded to Service Control Unit processing;
In embodiments of the present invention, after node obtains fixing address, it will report and hang information node and control section under node Information is put to smart home development platform, wherein integrated access unit receives information node and control node information, and is uploaded to Service Control Unit processing.
The threshold value of S605, Service Management Unit configuration information node are handled as alert if, and through Service Control Unit It is issued afterwards by integrated access unit;
In embodiments of the present invention, smart home development platform issues the threshold value of specify information node as alert if, And it is saved in intelligent domestic gateway, wherein the threshold value of Service Management Unit configuration information node is as alert if, and through business Intelligent domestic gateway is issued to by integrated access unit after control unit processing.
S607, integrated access unit receive the warning message for meeting the alert if, and the warning message is through business control It is prompted after cell processing processed by Service Management Unit.
Intelligent domestic gateway matches alert if, if meeting alert if according to the information node information received Warning message is sent to smart home development platform, wherein integrated access unit receives the alarm signal for meeting the alert if Breath, the warning message are prompted after Service Control Unit is handled by Service Management Unit.
Optionally, in embodiments of the present invention, intelligent home furnishing control method further include:
S609, Service Management Unit receive the equipment control command of typing by interactive interface;
It in embodiments of the present invention, can the life of recording device control in advance in order to realize the control to smart home device It enables, for example, Service Management Unit is infrared to smart home device progress by the equipment control command that interactive interface receives typing Remote control.
Optionally, in embodiments of the present invention, intelligent home furnishing control method further include:
S6111 issues equipment operation order to bottom equipment;
In embodiments of the present invention, it in order to realize the operation to smart home device, can be developed by smart home flat Platform issues controllable device operational order to intelligent domestic gateway, and sends operation to control node by intelligent domestic gateway and refer to It enables, realizes the operation to equipment under control node.
Optionally, in embodiments of the present invention, intelligent home furnishing control method further include:
S6113, Service Management Unit adds or deletes rule, and the rule is re-issued;
In embodiments of the present invention, after smart home development platform adds or deletes rule for some contextual model, Corresponding contextual model rule can be re-issued to intelligent domestic gateway, intelligent domestic gateway can cover original rule.
The specific steps in the above method are illustrated respectively below:
It is the method flow diagram that the embodiment of the present invention is node distribution fixing address as shown in Figure 7, is fixed for node distribution The method of address, specifically includes: intelligent domestic gateway is first to integrated access unit uploading nodes temporary address, integrated access list Above-mentioned node temporary address is transferred to Service Control Unit by member, and temporary address is inserted into the interim table of node by Service Control Unit (bus_nodetempaddr);User's operation Service Management Unit, input node fixing address;Service Management Unit saves input Fixing address is simultaneously issued to Service Control Unit by value;Fixing address is issued to integrated access unit by Service Control Unit;Collection Fixing address is issued to intelligent domestic gateway at access unit.
Fig. 8-Fig. 9 is that the embodiment of the present invention receives information node and control node information flow schematic diagram, is worked as shown in Figure 8 After new node obtains fixing address, reports hang information node and control node information under node immediately;Intelligent domestic gateway receives Node data and uploading nodes information are to integrated access unit;It is integrated collect above-mentioned nodal information is uploaded to Service control into unit Unit;Service Control Unit handles nodal information and is inserted into informational table of nodes (bus_nodeinfo) in new node, while will be new Information node information afferent message informational table of nodes (bus_sensorinfo), for example, new sensor information is passed to sensor Information table, and change transient node table and issue state;Service Management Unit inquires corresponding node, while modifying node location letter Breath.
As shown in figure 9, for example, sensing data amount is excessive, only saving of that month number if information node information content is excessive According to record, it is divided into the first half of a month iot_datacollect_YY01, iot_datacollect_YY16 of lower two weeks;Intelligence at this time Home gateway receives information node information, for example, sensing data, and it is uploaded to integrated access unit;Integrated access unit will The sensor data, are transferred to Service Control Unit;The sensor data are inserted storage table (iot_ by Service Control Unit datacollect_YYMM)。
It is that the embodiment of the present invention issues information node alarm threshold value flow diagram as shown in Figure 10, operator passes through intelligence Energy household development platform issues the alarm threshold value of specify information node, for example, sensor alarm threshold value, is protected to intelligent domestic gateway When depositing, user selects sensor by Service Management Unit first, and selects threshold value;Service Management Unit issues sensor threshold Value, until Service Control Unit;Service Control Unit issues sensor threshold value, until integrated access unit;Integrated access unit issues Sensor threshold value, until intelligent domestic gateway, intelligent domestic gateway keeps records of threshold condition, and by integrated access unit, business Control unit, Service Management Unit are sequentially transmitted return pass signal;Service Management Unit is protected after receiving return pass signal It deposits corresponding library table (bus-sensorinfo) and is updated.
It is that the embodiment of the present invention receives warning message flow diagram as shown in figure 11;Intelligent domestic gateway is according to receiving Information node alarm threshold value match alert if, the Xiang Zhineng if meeting alert if for example, sensor alarm threshold value Household development platform sends warning message.The data that intelligent domestic gateway analyte sensors upload, if being unsatisfactory for peak value condition It generates warning message and uploads alert data to integrated access unit;Above-mentioned alert data is uploaded to industry by integrated access unit Business control unit;Service Control Unit record warning message simultaneously saves library table (bus_alarminfo);Service Management Unit timing Library table is inquired, if there is untreated alarm in 20 minutes at that time, warning light flashing.
It is recording device infrared control order flow diagram of the embodiment of the present invention as shown in figure 12;Smart home exploitation is flat After platform receives the infrared control order of user's recording device, infrared coding value is inputted by Service Management Unit first and is clicked Addition;Service Management Unit inserts storage table (bus_devicecommand) and issues addition controllable device operational order to business Control unit;Service Control Unit issues controllable device operation coding to integrated access unit;Integrated access unit issues operation To intelligent domestic gateway, intelligent domestic gateway is sent to specified node to be encoded and receives return information coding;Intelligent domestic gateway Successful node address will be returned and encoded radio is transferred to integrated access unit;Integrated access unit will be with will returning to successful node Location and encoded radio are transferred to Service Control Unit;Service Control Unit modifies typing state according to corresponding node address;For root The typing successful information shown according to Service Management Unit is directed at infrared node operation by hand-held controllable device remote controler.
It is that the embodiment of the present invention issues equipment operation order flow diagram as shown in figure 13;Smart home platform, which issues, to be set Standby operational order, is issued to control equipment for controllable device operational order by intelligent domestic gateway;It is returned after control equipment operation Successful information is returned to intelligent domestic gateway.
It is that the embodiment of the present invention issues contextual model rule flow diagram as shown in figure 14;Smart home development platform connects It receives and is added or deleted after rule is order for some contextual model, need to re-issue existing to intelligent domestic gateway covering Rule;Setting contextual model rule is updated by Service Management Unit first and saves library table (bus_scenerule);Business pipe Reason unit issues above-mentioned contextual model rule to Service Control Unit;Service Control Unit issues contextual model rule and connects to integrated Enter unit;Integrated access unit issues contextual model rule to intelligent domestic gateway;Intelligent domestic gateway saves above-mentioned scene mould Formula rule simultaneously covers original pattern rules.
The present invention provides a kind of smart home service control method based on middleware Technology, by establishing sophisticated service Administrative unit, Service Control Unit and integrated access unit, pass downwardly through api interface and the communication protocol management of standard data Resource and network communication, to shield the complexity of bottom hardware and network;Upwardly through unified SDK packet provide it is simple and Integrated Application development environ-ment;So as to run on multiple hardwares and OS platform, a kind of intelligence efficiently easily extended is formed It can household integrated development method.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (8)

1. a kind of smart home development platform based on middleware Technology characterized by comprising Service Management Unit, business Control unit and integrated access unit;
The Service Management Unit simultaneously provides interactive interface, is also used to for configuring with analysis foundation data, generation report chart Rule is added or deleted, and the rule is re-issued,
Wherein, after smart home development platform adds or deletes rule for contextual model, corresponding scene mould is re-issued Formula rule to intelligent domestic gateway, intelligent domestic gateway covers original rule;
The Service Control Unit, for providing simple and integrated application and development ring by unified Software Development Kit Border receives the command request that Service Management Unit issues, handles and send integrated access unit to;Integrated access unit is received to return Message or request are returned, handle and sends processing result to Service Management Unit;And management internal timing task, operation data Library;
The integrated access unit for being communicated with intelligent domestic gateway and bottom equipment, while passing through unified application Program Interfaces shield the complexity of bottom hardware, carry out information exchange with Service Control Unit.
2. smart home development platform according to claim 1, which is characterized in that the Service Management Unit includes multiple Divide the work different business modules;
The Service Management Unit is specifically used for:
Basic data configuration is carried out to the control of system administration, permission, account management, equipment management;And to the basic data It is counted and is analyzed, generate business statistics report and analysis chart in real time;Service management is carried out by different business modules With control, intuitive Dynamic Display service application process provides friendly interactive interface for user, provide web access and Android/IOS terminal is shown.
3. smart home development platform according to claim 1, which is characterized in that the Service Control Unit includes first Message delivery and reception module, second message delivery and reception module, type of service analysis module, message logic processing module and Data task processing module;The first message delivery and reception module analyzes mould with Service Management Unit and type of service respectively Block connection, type of service analysis module is connect with message logic processing module and the data task processing module respectively, described Second message delivery and reception module is connect with the message logic processing module and the integrated access unit respectively.
4. smart home development platform according to claim 1, which is characterized in that the integrated access unit includes third Message delivery and reception module, the 4th message delivery and reception module, protocol conversion module, the protocol conversion module respectively with The third message delivery and reception module and the 4th message delivery and reception module connection, the third message are sent It is connect with receiving module with the Service Control Unit, the 4th message delivery and reception module and the intelligent domestic gateway It is connected with the bottom equipment.
5. smart home development platform according to claim 4, which is characterized in that the integrated access unit, it is specific to use In:
Active timing acquiring information node, bottom equipment data;Passively receive the information node uploaded in real time, bottom equipment number According to;As the access layer between intelligent domestic gateway and bottom equipment, Treated Base equipment uploads to the industry of intelligent domestic gateway Business data;Processing intelligent domestic gateway is issued to the service request of bottom equipment;The request for receiving Service Control Unit transmission refers to It enables, and information node data is transmitted to Service Control Unit.
6. a kind of smart home business development method based on middleware Technology, which comprises the following steps:
Service Management Unit configuration and analysis foundation data generate report chart and provide interactive interface, add or delete rule, And re-issue the rule,
Wherein, after smart home development platform adds or deletes rule for contextual model, corresponding scene mould is re-issued Formula rule to intelligent domestic gateway, intelligent domestic gateway covers original rule;
Service Control Unit provides simple and integrated Application development environ-ment by unified Software Development Kit, receives business The command request that administrative unit issues handles and sends integrated access unit to;Integrated access unit is received to return to message or ask It asks, handle and sends processing result to Service Management Unit;And management internal timing task, operating database;
Integrated access unit is communicated with intelligent domestic gateway and bottom equipment, passes through unified application programming interface screen The complexity for covering bottom hardware carries out information exchange with Service Control Unit.
7. according to the method described in claim 6, it is characterized in that, the Service Management Unit configuration and analysis foundation data, It generates report chart and interactive interface is provided, specifically include:
Basic data configuration is carried out to the control of system administration, permission, account management, equipment management;And to the basic data It is counted and is analyzed, generate business statistics report and analysis chart in real time;Service management is carried out by different business modules With control, intuitive Dynamic Display service application process provides friendly interactive interface for user, provide web access and Android/IOS terminal is shown.
8. according to the method described in claim 6, it is characterized in that, the integrated access unit and intelligent domestic gateway and bottom Equipment is communicated, and carries out information exchange with the Service Control Unit, is specifically included:
Active timing acquiring information node, bottom equipment data;Passively receive the information node uploaded in real time, bottom equipment number According to;As the access layer between intelligent domestic gateway and bottom equipment, Treated Base equipment uploads to the industry of intelligent domestic gateway Business data;Processing intelligent domestic gateway is issued to the service request of bottom equipment;The request for receiving Service Control Unit transmission refers to It enables, and information node data is transmitted to Service Control Unit.
CN201510897367.2A 2015-12-08 2015-12-08 Smart home development platform and its business development method based on middleware Technology Active CN105450654B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510897367.2A CN105450654B (en) 2015-12-08 2015-12-08 Smart home development platform and its business development method based on middleware Technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510897367.2A CN105450654B (en) 2015-12-08 2015-12-08 Smart home development platform and its business development method based on middleware Technology

Publications (2)

Publication Number Publication Date
CN105450654A CN105450654A (en) 2016-03-30
CN105450654B true CN105450654B (en) 2019-09-27

Family

ID=55560431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510897367.2A Active CN105450654B (en) 2015-12-08 2015-12-08 Smart home development platform and its business development method based on middleware Technology

Country Status (1)

Country Link
CN (1) CN105450654B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404169B (en) * 2015-12-29 2018-07-13 上海大学 Smart home central control system and its control method
CN105898367A (en) * 2016-04-08 2016-08-24 微鲸科技有限公司 Intelligent television information interaction method and information interaction system
CN113238489B (en) * 2016-11-23 2024-06-11 阿里巴巴集团控股有限公司 Intelligent building control method, device and system
CN106708976A (en) * 2016-12-07 2017-05-24 安徽尚果信息科技有限公司 Method for managing businesses via standard data interface
CN108111334B (en) * 2017-12-04 2021-11-12 叶轻舟 Integration system and method of network application node
CN108052316A (en) * 2017-12-26 2018-05-18 北京车联天下信息技术有限公司 A kind of development system of vehicle device client
CN109104461A (en) * 2018-07-06 2018-12-28 安徽电科恒钛智能科技有限公司 A kind of data processing system and its method based on Internet of things middleware
CN111435338A (en) * 2019-01-14 2020-07-21 中国移动通信集团终端有限公司 Multi-intelligent hardware unified management and control method, platform, system, equipment and storage medium
CN110336718A (en) * 2019-05-24 2019-10-15 苏州见微智能科技有限公司 A kind of method of internet of things equipment safely and fast access-in management platform
CN111541606B (en) * 2020-04-17 2022-09-30 广东智源机器人科技有限公司 Gateway processing method, gateway device and gateway system
CN113377021A (en) * 2021-06-02 2021-09-10 合肥品冠科技有限公司 Intelligent household scheme design system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540829A (en) * 2009-04-23 2009-09-23 中山大学 Intelligent home control system based on SDF digital home middleware
US7702729B2 (en) * 2003-04-08 2010-04-20 Johanson Bradley E Event heap: a coordination infrastructure for dynamic heterogeneous application interactions in ubiquitous computing environments
CN102904967A (en) * 2012-11-06 2013-01-30 包茂林 Intelligent Internet of things data exchange platform scheme based on hardware electromechanical field
CN102932484A (en) * 2012-11-20 2013-02-13 广西金中软件有限公司 IOT (Internet of Things) operation billing middleware system aiming at accounting system of telecom operator
CN103051525A (en) * 2011-10-14 2013-04-17 海尔集团公司 Gateway service middleware system and method as well as device and system comprising gateway service middleware system
CN103616866A (en) * 2013-11-27 2014-03-05 中山大学深圳研究院 Integration control method of digital household equipment on basis of embedded middleware
CN103763141A (en) * 2014-01-22 2014-04-30 广西金中软件有限公司 Middleware system for detector operation management and service management in operation of internet of things
CN104410568A (en) * 2014-11-06 2015-03-11 四川大学 Design method of smart home semantic gateway
CN104426724A (en) * 2013-09-08 2015-03-18 郑州朗鑫智能电子科技有限公司 Intelligent home constructing system and intelligent home realizing method
CN204832807U (en) * 2015-08-17 2015-12-02 深圳市讯方技术股份有限公司 Intelligent home furnishing system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035115B (en) * 2006-03-09 2011-05-04 深圳Tcl工业研究院有限公司 Digital home integration development system and platform
CN102769635B (en) * 2011-05-04 2014-10-29 活点信息技术有限公司 Internet of things system and implementation method of internet of things system
CN102902536B (en) * 2012-09-14 2016-04-13 胡清河 A kind of Internet of Things computer system
WO2014193166A1 (en) * 2013-05-28 2014-12-04 엘지전자 주식회사 Gateway and control method therefor

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7702729B2 (en) * 2003-04-08 2010-04-20 Johanson Bradley E Event heap: a coordination infrastructure for dynamic heterogeneous application interactions in ubiquitous computing environments
CN101540829A (en) * 2009-04-23 2009-09-23 中山大学 Intelligent home control system based on SDF digital home middleware
CN103051525A (en) * 2011-10-14 2013-04-17 海尔集团公司 Gateway service middleware system and method as well as device and system comprising gateway service middleware system
CN102904967A (en) * 2012-11-06 2013-01-30 包茂林 Intelligent Internet of things data exchange platform scheme based on hardware electromechanical field
CN102932484A (en) * 2012-11-20 2013-02-13 广西金中软件有限公司 IOT (Internet of Things) operation billing middleware system aiming at accounting system of telecom operator
CN104426724A (en) * 2013-09-08 2015-03-18 郑州朗鑫智能电子科技有限公司 Intelligent home constructing system and intelligent home realizing method
CN103616866A (en) * 2013-11-27 2014-03-05 中山大学深圳研究院 Integration control method of digital household equipment on basis of embedded middleware
CN103763141A (en) * 2014-01-22 2014-04-30 广西金中软件有限公司 Middleware system for detector operation management and service management in operation of internet of things
CN104410568A (en) * 2014-11-06 2015-03-11 四川大学 Design method of smart home semantic gateway
CN204832807U (en) * 2015-08-17 2015-12-02 深圳市讯方技术股份有限公司 Intelligent home furnishing system

Also Published As

Publication number Publication date
CN105450654A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN105450654B (en) Smart home development platform and its business development method based on middleware Technology
Mandula et al. Mobile based home automation using Internet of Things (IoT)
Zhou et al. Cloudthings: A common architecture for integrating the internet of things with cloud computing
CN106707777A (en) Intelligent home remote control system based on cloud system
CN106130849A (en) A kind of intelligent switch control system
CN110994798A (en) Substation equipment monitoring system
CN110377278A (en) A kind of visual programming tools system based on artificial intelligence and Internet of Things
CN105093945A (en) System and method for safely controlling smart household apparatuses based on smart cloud
CN106647304A (en) Household electrical appliance linkage control method, household electrical appliance, server, and system
CN108401013A (en) A kind of smart home Internet of Things communication device
CN109189698A (en) Apparatus control method, device and Internet of things system
CN110095992A (en) Smart home system based on wechat small routine
Malik et al. Literature review on home automation system
CN105425607B (en) A kind of smart home central control system and its control method based on multi-Agent
CN104865834A (en) Intelligent household Internet of things control system and method
CN105516338B (en) A kind of Intelligent hardware networking method, gateway and system for wearing
CN107463195B (en) Farm environment remote monitoring system based on custom web page
CN105791343A (en) Intelligent home information interaction system, intelligent home information interaction method and related equipment
CN104090538A (en) Wifi-based intelligent disability-assisting wheelchair control system and control method
CN109788057B (en) Dynamic virtual configuration method and system for Internet of things equipment
CN107995293A (en) Big data all-in-one machine and application system based on Internet of Things information
CN108833268A (en) A kind of control system and operation method of family wireless Sensor Network variable description equipment
CN106506573A (en) Intelligent home furnishing control method and system
CN107229236A (en) Greenhouse environment remote mobile monitoring system based on Android platform
Vermesan et al. New waves of IoT technologies research–transcending intelligence and senses at the edge to create multi experience environments

Legal Events

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