CN107995263A - A kind of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi - Google Patents

A kind of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi Download PDF

Info

Publication number
CN107995263A
CN107995263A CN201711155808.7A CN201711155808A CN107995263A CN 107995263 A CN107995263 A CN 107995263A CN 201711155808 A CN201711155808 A CN 201711155808A CN 107995263 A CN107995263 A CN 107995263A
Authority
CN
China
Prior art keywords
cloud
controller
layer
user
platform
Prior art date
Application number
CN201711155808.7A
Other languages
Chinese (zh)
Inventor
张述
张程剀
陈衍松
周浩
易辰颖
李振
Original Assignee
河海大学
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 河海大学 filed Critical 河海大学
Priority to CN201711155808.7A priority Critical patent/CN107995263A/en
Publication of CN107995263A publication Critical patent/CN107995263A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. local area networks [LAN], wide area networks [WAN]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/02Network-specific arrangements or communication protocols supporting networked applications involving the use of web-based technology, e.g. hyper text transfer protocol [HTTP]
    • H04L67/025Network-specific arrangements or communication protocols supporting networked applications involving the use of web-based technology, e.g. hyper text transfer protocol [HTTP] for remote control or remote monitoring of the application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/12Network-specific arrangements or communication protocols supporting networked applications adapted for proprietary or special purpose networking environments, e.g. medical networks, sensor networks, networks in a car or remote metering networks
    • H04L67/125Network-specific arrangements or communication protocols supporting networked applications adapted for proprietary or special purpose networking environments, e.g. medical networks, sensor networks, networks in a car or remote metering networks involving the control of end-device applications over a network

Abstract

The invention discloses a kind of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi.Due to the popularization of present network, the gradual development of intelligent housing system, intelligent housing system has obtained more and more attention.The present invention is based on cloud computing and Raspberry Pi, develop a set of multiple terminals Intelligent housing platform, this method is mainly set up by the use of Virtual Private Server as the control core of Intelligent housing platform basis, by building virtual platform in Virtual Private Server, related service is configured in virtual platform and provides data service for a whole set of Intelligent housing platform, realize the collection to platform correlation underlying device control parameter, processing, use and manage, and all data flows that platform produces are transmitted in virtual network, in each port data receiving area, encrypting and decrypting agreement is set, the Information Security of safeguards system.

Description

A kind of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi

Technical field

It is this to be based on cloud the present invention relates to a kind of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi Calculate and the multiple terminals Intelligent housing platform of Raspberry Pi is with scalability is strong, safe, control effect is good, user The features such as easy to operate, for realizing that home intelligence provides a usage conveniently, powerful management platform.

Background technology

In order to carry out intelligent management for household electricity equipment, home intelligence control, existing smart home control are realized Platform processed is to control smart home using the Master Control Center processor combination family lan in bottom is built mostly.This intelligence The main problem of energy home control platform is, it is necessary to for building the Master Control Center processing in bottom for newly-increased home equipment Device carries out live adjustment, and which increase the cost of labor upgraded for hardware maintenance, also brings more inconvenience to user.Meanwhile As the smart home in house system is more and more more, also it is cured for the performance requirement built in the Master Control Center processor of bottom Come higher, so that it is big to result in total system investment, take up a large area, efficiency is low.In addition, existing Intelligent housing platform Terminal platform is not completely covered, while lacks the protection of the data flow produced for control platform, this can bring perhaps to user It is more inconvenient.

For this reason, the present invention proposes a kind of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi, including Cloud Server layer, cloud controller layer, underlying services device layer, terminal control unit layer, virtual private secure network (VPN+SSL/ TLS).This method is mainly set up by the use of Virtual Private Server as the control core of Intelligent housing platform basis, is passed through Virtual platform is built in Virtual Private Server, by the Solrcloud+Nutch+Hbase+Hadoop in virtual platform + Zookeeper+Docker provides data service for a whole set of Intelligent housing platform, realizes the collection to all data of platform, Processing, uses and manages.User can be managed control by user's controller layer for the interface equipment of configured installation System, the interface equipment for not configuring installation, user can not configure the interface equipment of installation by the input of user's controller layer Parameter information, and by http protocol, platform cloud controller layer, platform cloud controller layer root are uploaded in Virtual Private Network According to parameter information, key configuration installation is carried out for equipment.The Raspberry Pi of Raspbain systems based on Linux is hard as bottom Part Master Control Center, is communicated using the mode and each interface equipment of wifi, serial ports or bluetooth, main to handle cloud controller layer The control command drawn, and the control command drawn according to cloud controller layer, make the corresponding interface equipment controlled, according to cloud service Control command is held to carry out response control scheduling.Meanwhile the Raspberry Pi of the Raspbain systems based on Linux is by current underlying device Status information, interface message in virtual private secure network, are uploaded to cloud controller (cloud by http protocol Controller) in layer.Meanwhile putting up platform Virtual Private Network so that all data are virtual special all what is set up in platform With being transmitted under network, so as to fulfill the purpose of protection userspersonal information.

The content of the invention

The technical problems to be solved by the invention are that existing Intelligent housing platform is to utilize to build in bottom mostly Master Control Center combination family lan control smart home.For newly-increased home equipment, it is necessary to which scene adjustment hardware is set It is standby, it can not realize the home equipment control system that long-range one button installation increases newly, which increase the Master Control Center maintenance for bottom The cost of labor of upgrading, also brings more inconvenience to user.Meanwhile existing intelligent home control system is often by business Logic is placed on the Master Control Center of bottom, and as the smart home in house system increases, the requirement for hardware device gradually carries Height, client's end pressure is more and more big, which results in total system investment greatly, covers an area of, efficiency is low, and security can not obtain Ensure.In addition, terminal platform is not completely covered in existing Intelligent housing platform, while lacks and produced for control platform Data flow protection, this can bring many inconvenience to user.

In order to solve the above technical problems, the present invention provides a kind of multiple terminals intelligence man based on cloud computing and Raspberry Pi Occupy control platform, including Cloud Server (cloud Server), cloud controller (cloud controller), underlying services device (client server), terminal control unit (client controller), virtual private secure network (VPN+SSL/TLS) (5).Cloud Server (cloud Server) passes through network access mode and cloud based on UDP procotols and SSL security protocols Controller (cloud controller) carries out data interaction, cloud controller (cloud controller) by http protocol, In virtual private secure network (VPN+SSL/TLS), with underlying services device and terminal control unit (client Controller data interaction) is carried out.Wherein Cloud Server (cloud Server) and cloud controller (cloud Controller end, underlying services device (client server) and terminal control unit (client) are set up for cloud Controller) end is set up to be mobile.All data are all in the virtual private secure network (VPN+SSL/TLS) set up in platform Lower transmission, so as to fulfill the purpose of protection userspersonal information.

Cloud Server (cloud Server) layer is the basis erection of Intelligent housing platform, mainly virtual by what is built Change platform composition.Virtual platform mainly includes solrcloud, Nutch, Hbase, hadoop, zookeeper and docker. Solrcloud+Nutch+Hbase+hadoop+zookeeper+docker provides data clothes for a whole set of Intelligent housing platform Business, realizes the collection to all data of platform, handles, uses and manage.

Cloud controller (cloud controller) layer, is the control core of Intelligent housing platform, by J2EE light weights Level frame --- presentation layer, key-course, Business Logic, component layer, Data Persistence Layer are formed.The J2EE lightweight frames are intelligence Energy home control platform provides mobile terminal back office interface, and decoding of raising the price intercepts user's request, and the data of processing user's submission make Meet Business Logic form, service logic service (including preset home equipment control logic, network data pretreatment, User data denoising), related data is interacted with underlying services device (client server) layer, data persistence service.

Terminal control unit (client controller) layer receives user demand, using http protocol, pacifies in virtual private In whole network, user demand is uploaded to cloud controller (cloud controller) layer, cloud controller (cloud Controller) layer carries out data interaction with Cloud Server (cloud Server) layer and handles user demand and draw control life Order, cloud controller (cloud controller) layer utilize http protocol, in virtual private secure network, control command are passed Terminal control unit (client controller) layer is transported to, terminal control unit (client controller) layer is ordered according to control Order, by way of wifi or bluetooth or serial communication, makes related interface devices carry out response control tune according to the control command Degree.Since service logic, database, data processing being installed beyond the clouds so that the newly-increased household of long-range key configuration and installation Apparatus control system is achieved, while realizes system remote management, is greatly reduced the pressure of client, is improved resource Utilization rate, add the scalability and reliability of a whole set of plateform system.

Underlying services device (client server) layer mainly by the Raspbain systems based on Linux Raspberry Pi and its He forms interface equipment.Wherein, the Raspberry Pi of the Raspbain systems based on Linux utilizes the mode of wifi, serial ports or bluetooth Communicated with each interface equipment.Underlying services layer mainly handles cloud controller (cloud controller) layer control life Order, makes related interface devices carry out response control scheduling according to cloud server terminal control command.Meanwhile based on Linux's The Raspberry Pi of Raspbain systems pacifies current underlying device status information, interface message by http protocol in virtual private In whole network, it is uploaded to cloud and sets up end cloud controller (cloud controller) layer.Meanwhile for the end of new addition/renewal Jaws equipment, user are joined port device by the reponse system set in terminal control unit (client controller) layer Number, model, required function are configured in terminal control unit (client controller) layer and are passed through by client terminal application Http protocol is forwarded to cloud server terminal, and cloud server terminal is according to the port device parameter of user setting, and model, required function, is called Relevant configuration file and shell script, there is different library files based on different hardware, builds relevant bottom plug-in environment, New addition/renewal underlying device control parameter, related data are configured in Hbase in Cloud Server (cloud Server) layer Storage service, configures control parameter in the Solrcloud in Cloud Server (cloudServer) layer, related data retrieval, makes The port device adaptation plateform system of new addition/renewal, and relevant preset logic is called (if without phase in Business Logic The preset logic of pass, then by Customer Service Team by managing high in the clouds, according to user demand, carry out long-range increase logic), control The filter that the hardware facility transmission data format newly added according to user is formulated is added in layer, it is defeated to add new interface in presentation layer Output, it is installed/updated to complete equipment.

Terminal control unit (client controller) layer is mainly made of more client terminal applications.Client is to complete Submit user's request, the interaction of system and user, there is provided hommization graphical interfaces, improves user experience.Client terminal application is set There are android versions, iOS versions, Uwp versions, H5 (wechat) version, Web versions, PC ends windows versions, PC ends Linux Version, realizes the existing client model version of all standing.Each version client terminal possesses key configuration new interface functions of the equipments, One-key update interface equipment function, the remote control for interface equipment can be realized for configured interface equipment, realized Smart home.

A kind of workflow of the multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi:

Log in:

Multiple terminals Intelligent housing platform using verification login mode, apply as a whole set of smart home by more client terminals The window of control platform, responsible collection user logs in, log-on message, and client terminal application collects logging in, registering letter for user After breath, it is uploaded to by http protocol in the J2EE lightweight frames of cloud controller (cloud controller) layer, is passed through first After expression layer is forwarded to key-course, user's request is intercepted by key-course filter, analysis user data should correspond to which business is patrolled Volume, and according to analysis result, it is forwarded to Business Logic, and related data in the acquisition physical layer and database by setting up layer Correlation ratio pair is carried out with user data, and calls the control logic on userspersonal information's verification, and handling result is passed through Key-course is forwarded to the corresponding component of presentation layer, prompts the user whether to log in success.

Control household:

Meanwhile after user logs in successfully, user can be according to self-demand, and the pattern that demand is clicked on for smart home is pressed Key.Selected pattern is transmitted to the J2EE lightweight frames of cloud controller (cloud controller) layer by http protocol In, first via Data Persistence Layer collection user's request, by setting up in Cloud Server (cloud Server) layer Solrcloud inquiries Hbase obtains the mode parameter set by user, while according in Cloud Server (cloud Server) layer The solar term on the same day that are obtained from external network of Nutch frames, weather, patrolling in the objective factor fine setting Business Logic such as temperature Collect algorithm.In J2EE lightweight frame layers, user is intercepted by key-course and is asked, while and calls the control of corresponding household to patrol Volume, and in processing user's request, and handling result is forwarded to the corresponding interface output control order of presentation layer.Cloud controller The control command by http protocol, in Virtual Private Network, is transmitted to underlying services by (cloud controller) layer Device (client server) layer, the Raspberry Pi of the Raspbain systems based on Linux, utilizes the mode of wifi, serial ports or bluetooth Communicated with each interface equipment, the control command drawn according to cloud controller layer, make the corresponding interface equipment controlled, according to Cloud server terminal control command carries out response control scheduling.

Existing smart home group increase/updating apparatus:

In addition, when user selects increase/upgrading smart home under existing smart home group scale, user passes through terminal The reponse system set in controller (client controller) layer, by interface equipment parameter, model, required function is at end Side controller (clientcontroller) layer is configured and is applied by client terminal is forwarded to cloud service by http protocol End, cloud server terminal is according to the port device parameter of user setting, and model, required function, calls relevant configuration file and shell Script, there is different library files based on different hardware, relevant bottom plug-in environment is built, in Cloud Server (cloud Server new addition/renewal underlying device control parameter, related data storage service, in cloud service) are configured in the hbase in layer Configure control parameter in solrcloud in device (cloud Server) layer, related data retrieval, makes the end of new addition/renewal Jaws equipment is adapted to plateform system, and relevant preset logic is called in Business Logic, is added in key-course according to user The hardware facility newly added transmits the filter that data format is formulated, and new interface output quantity is added in presentation layer, completes equipment peace Dress/renewal.If be not present in preset configuration file and shell scripts for user's selection increased smart home, Yong Huke By contacting customer service form, after user demand is learned, platform maintenance personnel are by managing cloud server terminal, in cloud controller Corresponding configuration file and shell script is write in (cloud controller) layer, helps user to realize Intelligent housing One key of platform increases the function of new equipment.

Underlying services device (client server) layer mainly by the Raspbain systems based on Linux Raspberry Pi and its He forms interface equipment.Wherein, the Raspberry Pi of the Raspbain systems based on Linux utilizes the mode of wifi, serial ports or bluetooth Communicated with each interface equipment.Underlying services layer mainly handles cloud controller (cloud controller) layer control life Order, makes related interface devices carry out response control scheduling according to cloud server terminal control command.Meanwhile based on Linux's The Raspberry Pi of Raspbain systems pacifies current underlying device status information, interface message by http protocol in virtual private In whole network, it is uploaded to cloud and sets up end cloud controller (cloud controller) layer.

Putting up platform Virtual Private Network so that all data transfers all pass under the Virtual Private Network set up in platform It is defeated, so as to fulfill the purpose of protection userspersonal information.After user logs in our platform account number, it can apply for that associated safety is demonstrate,proved Book, under the guarantee of safety certificate, can transmit data by above-mentioned virtual network.If user is not connected to Virtual Private Network In, then the instruction of user can not meet with a response.

The positive effect of the present invention:

1. service logic is placed on Cloud Server layer by an Intelligent housing platform, the smart home in intelligentized Furniture group When increasing, Cloud Server layer can carry out resilient expansion, will not face existing for existing Intelligent housing platform, when intelligent family The trouble for carrying out HardwareUpgring for Master Control Center controller, developing again is needed when smart home in tool group increases.

2. for newly-increased home equipment, user can submit newly-increased home equipment parameter by mobile terminal terminal app Information, platform receive newly-increased home equipment parameter information accordingly, call relevant configuration file and shell script and pre- Logic is put, initializes and builds relevant bottom plug-in environment, realize one button installation deploying new equipment.This kind of mode causes existing Having increases new smart home device in intelligentized Furniture group is efficiently realized, while easy to user, is decreased corresponding hard Part cost.

3. Cloud Server have it is efficient, inexpensively,, will due to the popularization of present network the features such as load balancing, elastic telescopic Service logic is placed on Cloud Server layer, controls underlying device to be able to facilitate and must realize by way of network.It is at the same time so that overall The expenditure of the equipment of platform is only limitted to purchase Cloud Server and a bottom accepting device center, this mode, is not only saved Holistic cost, also so that long-range is realized in system maintenance, high-speeding, facilitates platform maintenance, reduces manual maintenance cost, firmly Part cost.Client's end pressure is also reduced at the same time, improves user experience.

4. by building virtual network on public network, and cause all data flows of platform generation in virtual network Transmission, sets encrypting and decrypting agreement in each port data receiving area, must improve the Information Security of system significantly.User logs in It after our cloud platform account number, can apply for associated safety certificate, under the guarantee of safety certificate, can be passed by above-mentioned virtual network Transmission of data

Brief description of the drawings

Fig. 1 is that a kind of system structure of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi is illustrated Figure.

Fig. 2 is that a kind of control flow of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi is illustrated Figure.

Fig. 3 is a kind of multiple terminals Intelligent housing platform feature sequence of modules figure based on cloud computing and Raspberry Pi.

Fig. 4 is a kind of multiple terminals Intelligent housing platform safety sequence of modules figure based on cloud computing and Raspberry Pi.

Fig. 5 illustrates for a kind of multiple terminals Intelligent housing virtual network based on cloud computing and Raspberry Pi and encryption Figure.

Embodiment

With reference to appended Fig. 1, Fig. 2, Fig. 3, Fig. 4, Fig. 5, one is made specifically to the embodiment of the present invention It is bright.

A kind of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi as shown in Figure 1 and Figure 2 is System, including Cloud Server (cloud Server) layer, cloud controller (cloud controller) layer, underlying services device (client server) layer, terminal control unit (client controller) layer, virtual private secure network (VPN+SSL/ TLS).Cloud Server (cloud Server) layer by the network access mode based on UDP procotols and SSL security protocols with Cloud controller (cloud controller) layer carries out data interaction, and cloud controller (cloud controller) layer passes through HTTP Agreement, in virtual private secure network (VPN+SSL/TLS), with underlying services device layer and terminal control unit (client Controller) layer carries out data interaction.Wherein Cloud Server (cloud Server) and cloud controller (cloud Controller) layer sets up end, underlying services device (client server) and terminal control unit (client for cloud Controller) end is set up to be mobile.All data are all in the virtual private secure network (VPN+SSL/TLS) set up in platform Lower transmission, so as to fulfill the purpose of protection userspersonal information.

The Cloud Server (cloud Server) and cloud controller (cloud controller) data interaction, work as user During login, cloud controller layer (cloud controller) request Cloud Server (cloud Server) obtains user data, cloud Server (cloud Server) respond request, cloud controller layer (cloud controller) is returned by request data.When with When family is registered, cloud controller layer (cloud controller) request Cloud Server (cloud Server) storage user data, Cloud Server (cloud Server) respond request.When intelligent platform increases home equipment newly, cloud controller layer (cloud Controller) Cloud Server (cloud Server) is asked to obtain related interface devices control parameter data, Cloud Server (cloud Server) respond request, cloud controller layer (cloud controller) is returned by request data.Cloud controller layer (cloud controller) request Cloud Server (cloud Server) storage current system interface equipment parameter information, cloud clothes Business device (cloud Server) respond request.

The cloud controller (cloud controller) and underlying services device data interaction, user are controlled intelligent family When occupying the interface equipment in system, cloud controller (cloud controller) layer is by control command, by http protocol, in void Intend in dedicated network, be transmitted to underlying services device (client server) layer, the raspberry of the Raspbain systems based on Linux Group, is communicated using the mode and each interface equipment of wifi, serial ports or bluetooth, and the control drawn according to cloud controller layer is ordered Order, makes the corresponding interface equipment controlled, and response control scheduling is carried out according to cloud server terminal control command.Meanwhile underlying services device Interface equipment parameter information by http protocol, in Virtual Private Network, is transmitted to cloud control by (client server) layer Device (cloud controller) layer processed.

The cloud controller (cloud controller) is handed over terminal control unit (client controller) data Mutually, when user logs in/registers, terminal control unit (client controller) will collect login, the log-on message of user, Cloud controller (cloud controller) is uploaded to by http protocol.When intelligent platform increases home equipment newly, terminal control The new relevant parameter information for adding equipment that device (client controller) will collect, cloud is uploaded to by http protocol Controller (cloud controller).

Sequence chart as shown in Figure 3, Figure 4 is then demonstrated by a kind of multiple terminals smart home based on cloud computing and Raspberry Pi Control platform function module sequence chart and security module sequence chart

Log in:

Multiple terminals Intelligent housing platform using verification login mode, apply as a whole set of smart home by more client terminals The window of control platform, responsible collection user logs in, log-on message, and client terminal application collects logging in, registering letter for user After breath, it is uploaded to by http protocol in the J2EE lightweight frames of cloud controller (cloud controller) layer, is passed through first After expression layer is forwarded to key-course, user's request is intercepted by key-course filter, analysis user data should correspond to which business is patrolled Volume, and according to analysis result, it is forwarded to Business Logic, and related data in the acquisition physical layer and database by setting up layer Correlation ratio pair is carried out with user data, and calls the control logic on userspersonal information's verification, and handling result is passed through Key-course is forwarded to the corresponding component of presentation layer, prompts the user whether to log in success.

Control household:

Meanwhile after user logs in successfully, user can be according to self-demand, and the pattern that demand is clicked on for smart home is pressed Key.Selected pattern is transmitted to the J2EE lightweight frames of cloud controller (cloud controller) layer by http protocol In, first via Data Persistence Layer collection user's request, by setting up in Cloud Server (cloud Server) layer Solrcloud inquiries Hbase obtains the mode parameter set by user, while according in Cloud Server (cloud Server) layer The solar term on the same day that are obtained from external network of Nutch frames, weather, patrolling in the objective factor fine setting Business Logic such as temperature Collect algorithm.In J2EE lightweight frame layers, user is intercepted by key-course and is asked, while and calls the control of corresponding household to patrol Volume, and in processing user's request, and handling result is forwarded to the corresponding interface output control order of presentation layer.Cloud controller The control command by http protocol, in Virtual Private Network, is transmitted to underlying services by (cloud controller) layer Device (client server) layer, the Raspberry Pi of the Raspbain systems based on Linux, utilizes the mode of wifi, serial ports or bluetooth Communicated with each interface equipment, the control command drawn according to cloud controller layer, make the corresponding interface equipment controlled, according to Cloud server terminal control command carries out response control scheduling.

Existing smart home group increase/updating apparatus:

In addition, when user selects increase/upgrading smart home under existing smart home group scale, user passes through terminal The reponse system set in controller (client controller) layer, by interface equipment parameter, model, required function is at end Side controller (client controller) layer is configured and is applied by client terminal is forwarded to cloud service by http protocol End, cloud server terminal is according to the port device parameter of user setting, and model, required function, calls relevant configuration file and shell Script, there is different library files based on different hardware, relevant bottom plug-in environment is built, in Cloud Server (cloud Server new addition/renewal underlying device control parameter, related data storage service, in cloud service) are configured in the hbase in layer Configure control parameter in solrcloud in device (cloud Server) layer, related data retrieval, makes the end of new addition/renewal Jaws equipment is adapted to plateform system, and relevant preset logic is called in Business Logic, is added in key-course according to user The hardware facility newly added transmits the filter that data format is formulated, and new interface output quantity is added in presentation layer, completes equipment peace Dress/renewal.If be not present in preset configuration file and shell scripts for user's selection increased smart home, Yong Huke By contacting customer service form, after user demand is learned, platform maintenance personnel are by managing cloud server terminal, in cloud controller Corresponding configuration file and shell script is write in (cloud controller) layer, helps user to realize Intelligent housing One key of platform increases the function of new equipment.

Underlying services device (client server) layer mainly by the Raspbain systems based on Linux Raspberry Pi and its He forms interface equipment.Wherein, the Raspberry Pi of the Raspbain systems based on Linux utilizes the mode of wifi, serial ports or bluetooth Communicated with each interface equipment.Underlying services layer mainly handles cloud controller (cloud controller) layer control life Order, makes related interface devices carry out response control scheduling according to cloud server terminal control command.Meanwhile based on Linux's The Raspberry Pi of Raspbain systems pacifies current underlying device status information, interface message by http protocol in virtual private In whole network, it is uploaded to cloud and sets up end cloud controller (cloud controller) layer.

Putting up platform Virtual Private Network so that all data transfers all pass under the Virtual Private Network set up in platform It is defeated, so as to fulfill the purpose of protection userspersonal information.After user logs in our platform account number, it can apply for that associated safety is demonstrate,proved Book, under the guarantee of safety certificate, can transmit data by above-mentioned virtual network.If user is not connected to Virtual Private Network In, then the instruction of user can not meet with a response.

Claims (6)

  1. A kind of 1. multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi, it is characterised in that:It is overall to use cloud The pattern that server layer, cloud controller layer, terminal control unit layer, underlying services device layer combine, possesses all data of platform in void Intend being transmitted in private secure network, user's Login Register function, user's key on Intelligent housing platform increases/deletes Except interface equipment function, the interface equipment function of the configured installation of user's remote control, platform maintenance personnel's remote maintenance functions, More client terminal applications.
  2. 2. the multiple terminals Intelligent housing platform according to claim 1 based on cloud computing and Raspberry Pi, its feature It is:The pattern that the device layer, cloud controller layer, terminal control unit layer, underlying services device layer combine, Cloud Server is by building Virtual platform forms, and provides data service for the whole series Intelligent housing platform, realizes the collection to all data of platform, locate Reason, uses and manages.Cloud controller is made of J2EE lightweight frames, and mobile terminal backstage is provided for Intelligent housing platform Interface, decoding of raising the price intercept user's request, and the data that processing user submits are allowed to meet Business Logic form, service logic Service (including preset home equipment control logic, network data pretreatment, user data denoising), related data takes with bottom Business device (client server) layer interaction, data persistence service.Underlying services device (client server) mainly by based on The Raspberry Pi of the Raspbain systems of Linux and other interface equipments composition.Wherein, Raspbain systems based on Linux Raspberry Pi is communicated using the mode of wifi, serial ports or bluetooth with each interface equipment.Underlying services layer mainly handles cloud control Device (cloud controller) layer control command processed, makes related interface devices carry out response control according to cloud server terminal control command System scheduling.Terminal control unit (client controller) is mainly made of more client terminal applications.Client is to complete to submit User asks, the interaction of system and user, there is provided hommization graphical interfaces, improves user experience.Cloud Server (cloud Server the network access mode based on UDP procotols and SSL security protocols and cloud controller (cloud) are passed through Controller data interaction) is carried out, cloud controller (cloud controller) is by http protocol, in virtual private safety In network (VPN+SSL/TLS), data friendship is carried out with underlying services device and terminal control unit (client controller) Mutually.
  3. 3. the multiple terminals Intelligent housing platform according to claim 2 based on cloud computing and Raspberry Pi, its feature It is:Server (cloud Server) carries out data interaction with cloud controller (cloud controller), when user logs in When, cloud controller layer (cloud controller) request Cloud Server (cloud Server) obtains user data, cloud service Device (cloud Server) respond request, cloud controller layer (cloud controller) is returned by request data.When user notes During volume, cloud controller layer (cloud controller) request Cloud Server (cloud Server) storage user data, cloud clothes Business device (cloud Server) respond request.When intelligent platform increases home equipment newly, cloud controller layer (cloud Controller) Cloud Server (cloud Server) is asked to obtain related interface devices control parameter data, Cloud Server (cloud Server) respond request, cloud controller layer (cloud controller) is returned by request data.Cloud controller layer (cloud controller) request Cloud Server (cloud Server) storage current system interface equipment parameter information, cloud clothes Business device (cloud Server) respond request.
  4. 4. the multiple terminals Intelligent housing platform according to claim 2 based on cloud computing and Raspberry Pi, its feature It is:Controller (cloud controller) and underlying services device data interaction, user are controlled in intelligent domestic system Interface equipment when, cloud controller (cloud controller) layer is by control command, by http protocol, in Virtual Private Network In network, underlying services device (client server) layer is transmitted to, the Raspberry Pi of the Raspbain systems based on Linux, utilizes The mode of wifi, serial ports or bluetooth are communicated with each interface equipment, the control command drawn according to cloud controller layer, are made pair The interface equipment that should be controlled, response control scheduling is carried out according to cloud server terminal control command.Meanwhile underlying services device (client Server) interface equipment parameter information by http protocol, in Virtual Private Network, is transmitted to cloud controller by layer (cloud controller) layer.
  5. 5. the multiple terminals Intelligent housing platform according to claim 2 based on cloud computing and Raspberry Pi, its feature It is:Controller (cloud controller) and terminal control unit (client controller) data interaction, Yong Hudeng During record/registration, terminal control unit (client controller) will collect login, the log-on message of user, be assisted by HTTP View is uploaded to cloud controller (cloud controller).When intelligent platform increases home equipment newly, terminal control unit (client Controller) by the relevant parameter information of the new addition equipment collected, cloud controller is uploaded to by http protocol (cloud controller)。
  6. 6. the multiple terminals Intelligent housing platform according to claim 1 based on cloud computing and Raspberry Pi, its feature It is:User's key on Intelligent housing platform increases/deletes interface equipment function, when user's selection is in existing intelligent family Under population scale during increase/upgrading smart home, user passes through setting in terminal control unit (client controller) layer Reponse system, by interface equipment parameter, model, required function is set in terminal control unit (client controller) layer Put and applied by client terminal and cloud server terminal is forwarded to by http protocol, cloud server terminal is joined according to the port device of user setting Number, model, required function, is called relevant configuration file and shell script, is had different library files based on different hardware, taken Relevant bottom plug-in environment is built, new addition/renewal bottom is configured in the hbase in Cloud Server (cloud Server) layer Equipment control parameter, related data storage service, control is configured in the solrcloud in Cloud Server (cloud Server) layer Parameter processed, related data retrieval, makes the port device of new addition/renewal be adapted to plateform system, and is adjusted in Business Logic The filtering that the hardware facility transmission data format newly added according to user is formulated is added with relevant preset logic, in key-course Device, new interface output quantity is added in presentation layer, and it is installed/updated to complete equipment.If do not deposited in preset configuration file and shell scripts When selecting increased smart home for user, user can be by contacting customer service form, after user demand is learned, platform dimension Shield personnel by managing cloud server terminal, write in cloud controller (cloud controller) layer corresponding configuration file and Shell scripts, help user to realize the function of one key of Intelligent housing platform increase new equipment.
CN201711155808.7A 2017-11-20 2017-11-20 A kind of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi CN107995263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711155808.7A CN107995263A (en) 2017-11-20 2017-11-20 A kind of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711155808.7A CN107995263A (en) 2017-11-20 2017-11-20 A kind of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi

Publications (1)

Publication Number Publication Date
CN107995263A true CN107995263A (en) 2018-05-04

Family

ID=62029912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711155808.7A CN107995263A (en) 2017-11-20 2017-11-20 A kind of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi

Country Status (1)

Country Link
CN (1) CN107995263A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109782706A (en) * 2018-12-18 2019-05-21 清华大学 Exhibition room control system and method, Cloud Server and terminal control equipment
WO2020107444A1 (en) * 2018-11-30 2020-06-04 苏州数言信息技术有限公司 Wireless network system and communication method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536411A (en) * 2014-12-22 2015-04-22 陈振刚 System and method for managing intelligent home through remote access service
CN106789459A (en) * 2016-12-07 2017-05-31 中国人民解放军理工大学 A kind of smart machine control device and control method based on raspberry group

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536411A (en) * 2014-12-22 2015-04-22 陈振刚 System and method for managing intelligent home through remote access service
CN106789459A (en) * 2016-12-07 2017-05-31 中国人民解放军理工大学 A kind of smart machine control device and control method based on raspberry group

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020107444A1 (en) * 2018-11-30 2020-06-04 苏州数言信息技术有限公司 Wireless network system and communication method
CN109782706A (en) * 2018-12-18 2019-05-21 清华大学 Exhibition room control system and method, Cloud Server and terminal control equipment

Similar Documents

Publication Publication Date Title
US9866637B2 (en) Distributed edge processing of internet of things device data in co-location facilities
Mandula et al. Mobile based home automation using Internet of Things (IoT)
US10552189B2 (en) Secure access to a virtual machine
US9913133B2 (en) Multi-device monitoring and control using intelligent device channel sharing
CN105210327B (en) Equipment is provided to service
CN103281306B (en) Cloud data center virtualization base platform
US8880700B2 (en) Delivery of user-controlled resources in cloud environments via a resource specification language wrapper
US20160109864A1 (en) Wireless Building Automation
CN106462467B (en) Integrated API and UI for consuming services over different distributed networks
CN105378659B (en) Client device is set to be able to access that the method and system of remote desktop
US20160164914A1 (en) Methods and apparatus for providing a secure overlay network between clouds
US9202225B2 (en) Aggregate monitoring of utilization data for vendor products in cloud networks
CN202276352U (en) Wisdom household system
TWI633771B (en) Orchestration and management of services to deployed devices
JP6353117B2 (en) Communication processes and systems related to monitoring and controlling resource consumption
CN101821992B (en) Implement the system and method for network device provisioning policy
US20170302534A1 (en) Method and Apparatus for Managing Virtual Networks via Cloud Hosted Application
EP2946540B1 (en) Protocol translation in smart grid communications
CN104850450A (en) Load balancing method and system facing mixed cloud application
CN103543700A (en) Method and device for controlling sensor device
CN103927218B (en) Event distributing method and system
US20140280805A1 (en) Two-Sided Declarative Configuration for Cloud Deployment
CN106533861A (en) Security control system and authentication method of smart home Internet of Things
CN104038414A (en) Multiprotocol intelligent household gateway apparatus and system thereof
CN103631638B (en) For the method and system for the deployment for optimizing virtual machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180504

RJ01 Rejection of invention patent application after publication