CN106998360A - Device management method and system based on mobile terminal APP - Google Patents
Device management method and system based on mobile terminal APP Download PDFInfo
- Publication number
- CN106998360A CN106998360A CN201710206505.7A CN201710206505A CN106998360A CN 106998360 A CN106998360 A CN 106998360A CN 201710206505 A CN201710206505 A CN 201710206505A CN 106998360 A CN106998360 A CN 106998360A
- Authority
- CN
- China
- Prior art keywords
- interface
- configuration
- control system
- central control
- controlled plant
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72406—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Human Computer Interaction (AREA)
- Telephonic Communication Services (AREA)
- Testing And Monitoring For Control Systems (AREA)
- Selective Calling Equipment (AREA)
Abstract
The present invention provides a kind of device management method based on mobile terminal APP, and methods described includes:Step 1, the configuration interface for obtaining from the central control system each equipment, and the configuration parameter of configuration interface is set, and the configuration parameter of setting is written in the database of central control system;Step 2, step 2, using the mobile terminal APP obtain controlled plant status information, and control instruction is sent to central control system according to the status information of controlled plant, by central control system according to control instruction operating database and controlled plant or gateway device.The invention has the advantages that:Without being programmed by professional and later maintenance, practical operation difficulty, and reduction development and maintenance cost can be reduced;It can really realize and unified management and control is carried out to the various controllable devices in the places such as house, meeting, to meet pursuit of the people to life styles such as superior, personalized, intelligent, digitlization, fast paces.
Description
Technical field
The present invention relates to electric equipment management domain, more particularly to a kind of device management method based on mobile terminal APP
And system.
Background technology
With continuing to develop for society, information interchange and communication also become more and more frequently, more and more important, therefore, occupy
Family, meeting etc. are also no longer to use single electric equipment, such as:Plurality of devices power supply is opened, light is closed, cut again and again
Various audio-video signals are changed, constantly to switch projected picture etc..In this case, it is a kind of to manage these equipment concentratedly
Platform is just arisen at the historic moment, and home and overseas product is can be largely classified into the market, wherein, the system operatio platform of external product
Compare specialized, and all set using non-patterned interface, logicality is too strong, it is necessary to which professional is programmed the dimension with the later stage
Shield, it is impossible to be generalizable;More system of home products is based on the control of single product, can not increasingly to have met and start
Pursue the life style of live superior, personalized, intelligent, digitlization, fast pace etc..
The content of the invention
One of the technical problem to be solved in the present invention, is to provide a kind of device management method based on mobile terminal APP,
Pass through this method to realize that the various controllable devices to places such as house, meetings carry out unified management and control, to meet people to top grade
The pursuit of the life styles such as change, personalization, intellectuality, digitlization, fast pace.
The present invention is realized in one of technical problem:Based on mobile terminal APP device management method, methods described
Central control system, mobile terminal, gateway device and controlled plant need to be provided, the mobile terminal is with the center control
System connection, the controlled plant is connected by the gateway device with the central control system;Methods described includes:
Step 1, the configuration interface for obtaining from the central control system each equipment, and set the configuration of configuration interface to join
Number, and the configuration parameter of setting is written in the database of central control system;
Step 2, the status information for obtaining using the APP of the mobile terminal controlled plant, and according to the shape of controlled plant
State information sends control instruction to central control system, by central control system according to control instruction operating database and controlled
Equipment or gateway device.
Further, methods described also needs to provide the PC ends being connected with the central control system;The center control
A web server, an application server and a finger daemon, the web server and application service are provided with system processed
Device is started and tracked by the finger daemon, and the application server is interacted with the database;
The step 1 is specially:
Matching somebody with somebody for the configuration interface that obtains each equipment is sent to the web server of the central control system by the PC ends
Request is put, web server first obtains the static data of configuration interface after configuring request is received from web server;Then
Cgi script is called, the dynamic data of configuration interface is obtained from database by application server;Afterwards by the static data of acquisition
Complete configuration interface is combined into dynamic data, and configuration interface is returned into PC ends;
The configuration parameter of the configuration interface of each equipment is set by PC ends, and the configuration parameter set is sent to web
Server, web server calls cgi script after configuration parameter is received, by application server by the configuration parameter of setting
It is written in database, and implementing result is returned into PC ends;Operation Log is generated by application server simultaneously, and day will be operated
Will recorded in database.
Further, the configuration interface includes System configurations interface, region configuration interface, scene configuration interface and set
Standby panel configuration interface;
" configuration parameter that the configuration interface of each equipment is set by PC ends " is specially:
The configuration parameter of the System configurations interface of central control system is set by PC ends, and the System configurations interface includes
System information interface, system time interface, system journal interface, network settings interface, hardware management interface and system update
With backup interface;The region belonging to the gateway device or controlled plant is set to join in the region configuration interface by PC ends
Number;The scenario parameters and rule of any scene are set by PC ends in the scene configuration interface;Set by PC ends described
The device parameter and rule of gateway device or controlled plant are set in standby panel configuration interface.
Further, methods described also need provide Cloud Server, the mobile terminal by the Cloud Server with it is described
Central control system is connected;And the central control system is on startup, the application server of central control system will be actively
It is registered in Cloud Server;
The step 2 is specially:
APP is installed on mobile terminals, and logs in APP interfaces, and equipment state acquisition request is sent by APP and is taken to cloud
Business device, the application server that request is transmitted to central control system is obtained by Cloud Server by equipment state;Application server exists
Receive equipment state to obtain after request, read the real time status information of gateway device or controlled plant, and real-time status is believed
Breath returns to mobile terminal;
The real time status information of the gateway device of return or controlled plant is shown on APP interfaces by mobile terminal, user
According to the gateway device of display or the real time status information of controlled plant, issued by APP to gateway device or controlled plant
Control command is transmitted to the application server of central control system by control command to Cloud Server, Cloud Server;Application service
Device is received after control command, configuration parameter is read from database according to control command, and parse configuration parameter generation correspondence
Equipment control code, equipment control code is sent to gateway device or controlled plant afterwards;Gateway device or controlled plant according to
Equipment control code performs corresponding control operation, and control result is shown on APP interfaces;Generated simultaneously by application server
Daily record is controlled, and log recording will be controlled into database.
The second technical problem to be solved by the present invention, is to provide a kind of equipment management system based on mobile terminal APP,
Pass through the system to realize that the various controllable devices to places such as house, meetings carry out unified management and control, to meet people to top grade
The pursuit of the life styles such as change, personalization, intellectuality, digitlization, fast pace.
The present invention is realized in the twos' of technical problem:Based on mobile terminal APP equipment management system, the system
Central control system, mobile terminal, gateway device and controlled plant need to be provided, the mobile terminal is with the center control
System connection, the controlled plant is connected by the gateway device with the central control system;The system includes configuration mould
Block and control module;
The configuration module, for obtaining the configuration interface of each equipment from the central control system, and sets configuration
The configuration parameter at interface, and the configuration parameter of setting is written in the database of central control system;
The control module, for using the mobile terminal APP obtain controlled plant status information, and according to by
The status information for controlling equipment sends control instruction to central control system, by central control system according to control instruction peration data
Storehouse and controlled plant or gateway device.
Further, the system also needs to provide the PC ends being connected with the central control system;The center control
A web server, an application server and a finger daemon, the web server and application service are provided with system processed
Device is started and tracked by the finger daemon, and the application server is interacted with the database;
The configuration module is specially:
Matching somebody with somebody for the configuration interface that obtains each equipment is sent to the web server of the central control system by the PC ends
Request is put, web server first obtains the static data of configuration interface after configuring request is received from web server;Then
Cgi script is called, the dynamic data of configuration interface is obtained from database by application server;Afterwards by the static data of acquisition
Complete configuration interface is combined into dynamic data, and configuration interface is returned into PC ends;
The configuration parameter of the configuration interface of each equipment is set by PC ends, and the configuration parameter set is sent to web
Server, web server calls cgi script after configuration parameter is received, by application server by the configuration parameter of setting
It is written in database, and implementing result is returned into PC ends;Operation Log is generated by application server simultaneously, and day will be operated
Will recorded in database.
Further, the configuration interface includes System configurations interface, region configuration interface, scene configuration interface and set
Standby panel configuration interface;
" configuration parameter that the configuration interface of each equipment is set by PC ends " is specially:
The configuration parameter of the System configurations interface of central control system is set by PC ends, and the System configurations interface includes
System information interface, system time interface, system journal interface, network settings interface, hardware management interface and system update
With backup interface;The region belonging to the gateway device or controlled plant is set to join in the region configuration interface by PC ends
Number;The scenario parameters and rule of any scene are set by PC ends in the scene configuration interface;Set by PC ends described
The device parameter and rule of gateway device or controlled plant are set in standby panel configuration interface.
Further, the system also need provide Cloud Server, the mobile terminal by the Cloud Server with it is described
Central control system is connected;And the central control system is on startup, the application server of central control system will be actively
It is registered in Cloud Server;
The control module is specially:
APP is installed on mobile terminals, and logs in APP interfaces, and equipment state acquisition request is sent by APP and is taken to cloud
Business device, the application server that request is transmitted to central control system is obtained by Cloud Server by equipment state;Application server exists
Receive equipment state to obtain after request, read the real time status information of gateway device or controlled plant, and real-time status is believed
Breath returns to mobile terminal;
The real time status information of the gateway device of return or controlled plant is shown on APP interfaces by mobile terminal, user
According to the gateway device of display or the real time status information of controlled plant, issued by APP to gateway device or controlled plant
Control command is transmitted to the application server of central control system by control command to Cloud Server, Cloud Server;Application service
Device is received after control command, configuration parameter is read from database according to control command, and parse configuration parameter generation correspondence
Equipment control code, equipment control code is sent to gateway device or controlled plant afterwards;Gateway device or controlled plant according to
Equipment control code performs corresponding control operation, and control result is shown on APP interfaces;Generated simultaneously by application server
Daily record is controlled, and log recording will be controlled into database.
The invention has the advantages that:1st, scene or function that user can be as needed etc. carries out self-defined to each equipment
Configuration, without being programmed by professional and later maintenance, this contributes to the logical operation for simplifying operating desk, and reduction is actual
Operation difficulty, is conducive to popularizing, and can reduce exploitation and the cost safeguarded;2nd, when needing manipulation controlled plant,
User is only needed to issue control instruction to controlled plant or gateway device by the APP of mobile terminal, you can realization is set to controlled
The control of standby or gateway device, can really realize and carry out unified management and control to the various controllable devices in the places such as house, meeting, with
Meet pursuit of the people to life styles such as superior, personalized, intelligent, digitlization, fast paces.
Brief description of the drawings
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the hardware elementary diagram of the device management method of the invention based on mobile terminal APP.
Fig. 2 is the modularization design figure of the device management method of the invention based on mobile terminal APP.
Fig. 3 is the control sequential figure of the device management method of the invention based on mobile terminal APP.
Embodiment
It refer to shown in Fig. 1 to Fig. 3, the preferred embodiment of the device management method of the invention based on mobile terminal APP, institute
The method of stating need to provide central control system, mobile terminal (such as Android phone, iPhone, iPad terminals), gateway device
And controlled plant (such as light switch, TV switch, air-conditioning switch, Curtain switch, projection switch equipment), in specific implementation
When, above central control system, mobile terminal, gateway device or controlled plant can have multiple, the mobile terminal with
The central control system connection;The controlled plant is connected by the gateway device with the central control system;
Methods described includes:
Step 1, the configuration interface for obtaining from the central control system each equipment, and set the configuration of configuration interface to join
Number, and the configuration parameter of setting is written in the database of central control system;
Step 2, the status information for obtaining using the APP of the mobile terminal controlled plant, and according to the shape of controlled plant
State information sends control instruction to central control system, by central control system according to control instruction operating database and controlled
Equipment or gateway device.
From the foregoing, after using the inventive method, user can be obtained respectively by browser interface from central control system
The configuration interface of equipment, and scene as needed or function etc. custom-configure to each equipment, and configuration information is write
Enter into the database of central control system, without being programmed by professional and later maintenance, this helps to simplify behaviour
Make the logical operation of platform, operation difficulty can be reduced, reduce development and maintenance cost.When needing manipulation controlled plant, user
Only need to issue control instruction to controlled plant or gateway device by the APP of mobile terminal, you can realize to controlled plant or
The control of gateway device, can really realize and carry out unified management and control to the various controllable devices in the places such as house, meeting, to meet
Pursuit of the people to life styles such as superior, personalized, intelligent, digitlization, fast paces.For example, by above method application
Into house, by all uniformly transferring to controllable device all in house central control system to carry out management and control, so, in basis
Using after the configuration interface for needing to configure each good controllable device, user just can be real by the online medium such as mobile phone A PP, iPad
Now light, air-conditioning, water heater, home theater, family gate inhibition whenever and wherever possible, indiscriminately ad. as one wishes in active control house etc. is various
Controllable device.
Methods described also needs to provide the PC ends being connected with the central control system;Set in the central control system
A web server, an application server and a finger daemon are equipped with, the web server is kept with application server by described
Process initiation and tracking are protected, the application server is interacted with the database;
The step 1 is specially:
Matching somebody with somebody for the configuration interface that obtains each equipment is sent to the web server of the central control system by the PC ends
Request is put, in the specific implementation, user only needs to input network address login system webpage on the browser at PC ends, and in system network
The equipment to be configured is clicked on page, PC ends will send the configuring request for obtaining configuration interface, web server to web server
After configuring request is received, the static data of configuration interface is first obtained from web server (cannot be selected and be matched somebody with somebody
The data put);Then cgi script is called, the dynamic data for obtaining configuration interface from database by application server (i.e. can be with
The data for being selected and being configured for user);The static data and dynamic data of acquisition are combined into complete configuration circle afterwards
Face, and configuration interface is returned into PC ends;
The configuration parameter of the configuration interface of each equipment is set by PC ends, and the configuration parameter set is sent to web
Server, web server calls cgi script after configuration parameter is received, by application server by the configuration parameter of setting
It is written in database, can reads and use during for subsequent control, and implementing result is returned into PC ends, informs that user grasps
The result of work;Operation Log is generated by application server simultaneously, and by operation log recording into database, remembered in Operation Log
The information such as operator, operating time, the operation performed are loaded with, user can check Operation Log by login system at any time.
The configuration interface is matched somebody with somebody including System configurations interface, region configuration interface, scene configuration interface and device panel
Put interface;
" configuration parameter that the configuration interface of each equipment is set by PC ends " is specially:
The configuration parameter of the System configurations interface of central control system is set by PC ends, and the System configurations interface includes
System information interface (including the information such as Hostname, physical memory, system model, kernel version), system time interface (are included
Year, month, day, hour, min, second 6 parameter configurations), system journal interface (comprising sequence number, Log Names, daily record rank, whether
The parameter configuration such as start), network settings interface is (comprising the ginseng such as Hostname, IP address, Mac addresses, default gateway, pattern
Number configuration items), the hardware management interface (parameter configuration such as sequence number, port name, type, parameter, port numbers comprising hardware module
) and system update and backup interface (including the parameter configurations such as file option, Path Options);For example, the system set
Information interface is following (wherein, left-half is static data, and right half part is dynamic data):
Hostname:Wisdom hotel
System time:Wed Mar 8 09:14:30 2017
Kernel version:Linux 2.6.35.3-571-gcca29a0
Processor information:ARM926ej-s
System operation time:16 hours 1 day 31 points 23 seconds
Operating process:46
Cpu load:2.00 (1 minute) 2.00 (5 minutes) 2.00 (15 minutes)
Physical memory:Amount to 121.77MB/ remaining spaces 89.45MB
Local disk space:Amount to 0.08GB/0.05GB idle
System version:V1.9.0_Alpha[20170306152241]
System model:GFK-ES-60.
And for example, the system journal interface of setting is as follows:
Sequence number:1
Log Names:System monitoring daily record
Daily record rank:Alert message
Start:√
Size (KB):200
Cover up rule:Event (removing daily record manually) is not covered.
Region parameter belonging to the gateway device or controlled plant is set in the region configuration interface by PC ends,
For example, the region parameter set is as follows:
Floor:4 building, teaching building
Region:Conference hall;
So, when setting the configuration parameter of gateway device or controlled plant, it is possible to 4 buildings conference halls of teaching building will be located at
In all gateway devices or controlled plant be all included into the region.
The scenario parameters and rule that any scene is set in the scene configuration interface by PC ends (comprising title, are retouched
State, floor, region, the parameter configuration such as control device of addition), for example, the scenario parameters and rule that set are as follows:
Title:Conference scenario
Rule description:Open curtain, projecting apparatus, illuminating lamp
Floor:4 building, teaching building
Region:Conference hall
According to rule description, the conference scenario needs the control device added to have Curtain switch, projecting apparatus switch and illuminate
Lamp switch.Meanwhile, in each control device of addition, include the sequence number of the equipment, region, type, ID, title, by
The parameter items such as key, start time, action and operation, below exemplified by adding a Curtain switch:
Sequence number:2
Region:4 buildings conference halls of teaching building
Type:Curtain
ID:50200001
Title:Curtain panel
Button:Open
Actuation time:3s
Action:Opening
Operation:Delete
After the conference scenario of the above has been configured, when user sends the opening conference scenario on the APP of mobile terminal,
Curtain, projecting apparatus and illuminating lamp in conference hall will be opened.
Device parameter and the rule of gateway device or controlled plant are set by PC ends in the device panel configuration interface
Then (include the ginsengs such as device name, floor, region, protocol type, COM1, unit type, scene number, load number, general supply
Number configuration item).For example, the device parameter and rule of the gateway device set are as follows:
Device name:Entry panel
Floor:4 building, teaching building
Region:Conference hall
Protocol type:485
PORT COM:RS485_00_02
Unit type:GW-K-WG-W1
General supply:0
Load number:1
Scene number:0
After above device parameter and rule is set, just occur that one is used to control respective load on entry panel
The button of (such as entry Down lamp), when in use, user only need to operate the button of entry panel on the APP of mobile terminal, just
The control to load can be realized.
And for example, the device parameter and rule of the doorbell switch of setting are as follows:
Title:Doorbell panel
Floor:7 building, residential building
Region:A areas
Protocol type:485
PORT COM:RS485_00_01
Unit type:GHK-RM-MK
Scene number:3
Address:0300001
After above device parameter and rule is set, just occur 3 scene buttons (such as in doorbell on doorbell panel
" just a moment,please ", " Do not disturb ", " please enter " three scene buttons are provided with panel), when in use, user only needs to moving
The button of doorbell panel is operated on the APP of dynamic terminal, it is possible to realize corresponding scene prompting.
Methods described also needs to provide Cloud Server, and the mobile terminal is with the center control by the Cloud Server
System is connected;And the central control system is on startup, the application server of central control system takes Active Registration to cloud
It is engaged in device, due to when it is implemented, general all with multiple central control systems, therefore after registration, Cloud Server can be generated
Registry is controlled in one, so when sending request or control instruction, Cloud Server can just control registration letter in
Table search is ceased to corresponding central control system;
The step 2 is specially:
APP is installed on mobile terminals, and logs in APP interfaces, and equipment state acquisition request is sent by APP and is taken to cloud
Business device, the application server that request is transmitted to central control system is obtained by Cloud Server by equipment state;Application server exists
Receive equipment state to obtain after request, read the real time status information of gateway device or controlled plant, and real-time status is believed
Breath returns to mobile terminal;
The real time status information of the gateway device of return or controlled plant is shown on APP interfaces by mobile terminal, user
According to the gateway device of display or the real time status information of controlled plant, issued by APP to gateway device or controlled plant
Control command is to Cloud Server, for example, the scenario A on the entry panel shown on APP interfaces is closed, if now
User will open scenario A, it is possible to issue the control command for opening scenario A to entry panel by APP, and Cloud Server will be controlled
Order is transmitted to the application server of central control system;Application server is received after control command, according to control command from
Configuration parameter is read in database, and parses configuration parameter and generates corresponding equipment control code, afterwards equipment control code is sent
To gateway device or controlled plant, for example, the configuration parameter that scenario A is set is:Load 1, load 3 and load 5 are opened, now
Correspondence load 1, load 3 and the equipment control code for loading 5 are generated respectively, and equipment control code is sent to corresponding gateway sets
Standby or controlled plant;Gateway device or controlled plant perform corresponding control operation according to equipment control code, and by control result
It is shown on APP interfaces;Simultaneously by application server generation control daily record, and log recording will be controlled into database, control
The information such as operator, operating time, the equipment of control are recorded in daily record, user can check control day by login system at any time
Will.
It refer to shown in Fig. 1 to Fig. 3, the preferred embodiment of the equipment management system of the invention based on mobile terminal APP, institute
The system of stating need to provide central control system, mobile terminal (such as Android phone, iPhone, iPad terminals), gateway device
And controlled plant (such as light switch, TV switch, air-conditioning switch, Curtain switch, projection switch equipment), in specific implementation
When, above central control system, mobile terminal, gateway device or controlled plant can have multiple, the mobile terminal with
The central control system connection, the controlled plant is connected by the gateway device with the central control system;It is described
System includes configuration module and control module;
The configuration module, for obtaining the configuration interface of each equipment from the central control system, and sets configuration
The configuration parameter at interface, and the configuration parameter of setting is written in the database of central control system;
The control module, for using the mobile terminal APP obtain controlled plant status information, and according to by
The status information for controlling equipment sends control instruction to central control system, by central control system according to control instruction peration data
Storehouse and controlled plant or gateway device.
From the foregoing, after using the inventive method, user can be obtained respectively by browser interface from central control system
The configuration interface of equipment, and scene as needed or function etc. custom-configure to each equipment, and configuration information is write
Enter into the database of central control system, without being programmed by professional and later maintenance, this helps to simplify behaviour
Make the logical operation of platform, operation difficulty can be reduced, reduce development and maintenance cost.When needing manipulation controlled plant, user
Only need to issue control instruction to controlled plant or gateway device by the APP of mobile terminal, you can realize to controlled plant or
The control of gateway device, can really realize and carry out unified management and control to the various controllable devices in the places such as house, meeting, to meet
Pursuit of the people to life styles such as superior, personalized, intelligent, digitlization, fast paces.
The system also needs to provide the PC ends being connected with the central control system;Set in the central control system
A web server, an application server and a finger daemon are equipped with, the web server is kept with application server by described
Process initiation and tracking are protected, the application server is interacted with the database;
The configuration module is specially:
Matching somebody with somebody for the configuration interface that obtains each equipment is sent to the web server of the central control system by the PC ends
Request is put, in the specific implementation, user only needs to input network address login system webpage on the browser at PC ends, and in system network
The equipment to be configured is clicked on page, PC ends will send the configuring request for obtaining configuration interface, web server to web server
After configuring request is received, the static data of configuration interface is first obtained from web server (cannot be selected and be matched somebody with somebody
The data put);Then cgi script is called, the dynamic data for obtaining configuration interface from database by application server (i.e. can be with
The data for being selected and being configured for user);The static data and dynamic data of acquisition are combined into complete configuration circle afterwards
Face, and configuration interface is returned into PC ends;
The configuration parameter of the configuration interface of each equipment is set by PC ends, and the configuration parameter set is sent to web
Server, web server calls cgi script after configuration parameter is received, by application server by the configuration parameter of setting
It is written in database, can reads and use during for subsequent control, and implementing result is returned into PC ends, informs that user grasps
The result of work;Operation Log is generated by application server simultaneously, and by operation log recording into database, remembered in Operation Log
The information such as operator, operating time, the operation performed are loaded with, user can check Operation Log by login system at any time.
The configuration interface is matched somebody with somebody including System configurations interface, region configuration interface, scene configuration interface and device panel
Put interface;
" configuration parameter that the configuration interface of each equipment is set by PC ends " is specially:
The configuration parameter of the System configurations interface of central control system is set by PC ends, and the System configurations interface includes
System information interface (including the information such as Hostname, physical memory, system model, kernel version), system time interface (are included
Year, month, day, hour, min, second 6 parameter configurations), system journal interface (comprising sequence number, Log Names, daily record rank, whether
The parameter configuration such as start), network settings interface is (comprising the ginseng such as Hostname, IP address, Mac addresses, default gateway, pattern
Number configuration items), the hardware management interface (parameter configuration such as sequence number, port name, type, parameter, port numbers comprising hardware module
) and system update and backup interface (including the parameter configurations such as file option, Path Options);For example, the network set
Set interface as follows:
Network:Wired network adapter
Hostname:GSD
Mac addresses:00:04:46:c3:26:74
IPv4
Pattern:Static IP
IP address:192.168.50.223
Subnet mask:255.255.255.0
Default gateway:192.168.50.1
Preferred dns server:114.114.122.123
Alternative DNS server:8.8.8.8.
Region parameter belonging to the gateway device or controlled plant is set in the region configuration interface by PC ends,
For example, the region parameter set is as follows:
Floor:3 building, dormitory building
Region:D areas;
So, when setting the configuration parameter of gateway device or controlled plant, it is possible to will be located in 3 buildings D areas of dormitory building
All gateway devices or controlled plant be all included into the region.
The scenario parameters and rule that any scene is set in the scene configuration interface by PC ends (comprising title, are retouched
State, floor, region, the parameter configuration such as control device of addition), for example, the scenario parameters and rule that set are as follows:
Title:Take a shower scene
Rule description:Open bathroom Down lamp, water heater, smoking apparatus
Floor:3 building, hotel
Region:D areas
According to rule description, the shower scene needs the control device added to have Down lamp switch, heater switch and smoking
Device is switched.Meanwhile, in each control device of addition, include the sequence number of the equipment, region, type, ID, title, by
The parameter items such as key, start time, action and operation, below exemplified by adding a bathroom Down lamp:
Sequence number:1
Region:D areas of 3 building, hotel
Type:Down lamp
ID:50300012
Title:Bathroom Down lamp panel
Button:Open
Actuation time:2s
Action:Opening
Operation:Delete
After the shower scene of the above has been configured, the shower scene is opened when user sends on the APP of mobile terminal
During control command, bathroom Down lamp, water heater and smoking apparatus in bathroom will be opened.
Device parameter and the rule of gateway device or controlled plant are set by PC ends in the device panel configuration interface
Then (include the ginsengs such as device name, floor, region, protocol type, COM1, unit type, scene number, load number, general supply
Number configuration item).For example, the device parameter and rule of the gateway device set are as follows:
Device name:Illuminating lamp panel
Floor:3 building, hotel
Region:Conference hall
Protocol type:485
PORT COM:RS485_00_02
Unit type:GW-K-WG-W1
General supply:1
Load number:1
Scene number:1
After above device parameter and rule is set, just occur that one is used to control respective load on illuminating lamp panel
The button of (being such as set to conference hall's headlight), one be used for control general supply button and one be used for control a certain scene
The button of (such as scene Q, and opening after scene Q, three load openings can be controlled simultaneously, and two loads are closed), makes
Used time, user only needs to operate the button of entry panel on the APP of mobile terminal, it is possible to realize the control to load.
And for example, the device parameter and rule of the doorbell switch of setting are as follows:
Title:Doorbell panel
Floor:7 building, residential building
Region:A areas
Protocol type:485
PORT COM:RS485_00_01
Unit type:GHK-RM-MK
Scene number:3
Address:0300001
After above device parameter and rule is set, just occur 3 scene buttons (such as in doorbell on doorbell panel
" just a moment,please ", " Do not disturb ", " please enter " three scene buttons are set on panel), when in use, user is only needed in movement
The button of doorbell panel is operated on the APP of terminal, it is possible to realize corresponding scene prompting.
The system also needs to provide Cloud Server, and the mobile terminal is with the center control by the Cloud Server
System is connected;And the central control system is on startup, the application server of central control system takes Active Registration to cloud
It is engaged in device, due to when it is implemented, general all with multiple central control systems, therefore after registration, Cloud Server can be generated
Registry is controlled in one, so when sending request or control instruction, Cloud Server can just control registration letter in
Table search is ceased to corresponding central control system;
The illuminating lamp panel is specially:
APP is installed on mobile terminals, and logs in APP interfaces, and equipment state acquisition request is sent by APP and is taken to cloud
Business device, the application server that request is transmitted to central control system is obtained by Cloud Server by equipment state;Application server exists
Receive equipment state to obtain after request, read the real time status information of gateway device or controlled plant, and real-time status is believed
Breath returns to mobile terminal;
The real time status information of the gateway device of return or controlled plant is shown on APP interfaces by mobile terminal, user
According to the gateway device of display or the real time status information of controlled plant, issued by APP to gateway device or controlled plant
Control command is to Cloud Server, for example, the scenario A on the entry panel shown on APP interfaces is closed, if now
User will open scenario A, it is possible to issue the control command for opening scenario A to entry panel by APP, and Cloud Server will be controlled
Order is transmitted to the application server of central control system;Application server is received after control command, according to control command from
Configuration parameter is read in database, and parses configuration parameter and generates corresponding equipment control code, afterwards equipment control code is sent
To gateway device or controlled plant, for example, the configuration parameter that scenario A is set is:Load 1 and load 3 are opened, and closes load 2;
Correspondence load 1, load 2 and the equipment control code for loading 3 are now just generated respectively, and equipment control code are sent to corresponding
Gateway device or controlled plant;Gateway device or controlled plant perform corresponding control operation according to equipment control code, and will control
Result processed is shown on APP interfaces;Simultaneously by application server generation control daily record, and log recording will be controlled to database
In, the information such as operator, operating time, the equipment of control are recorded in control daily record, user can check login system at any time
Control daily record.
In summary, the present invention has the advantages that:1st, scene or function that user can be as needed etc. is to each
Equipment is custom-configured, and without being programmed by professional and later maintenance, this helps to simplify patrolling for operating desk
Operation is collected, practical operation difficulty is reduced, is conducive to popularizing, and exploitation and the cost safeguarded can be reduced;2nd, needing
When manipulating controlled plant, user only needs to issue control instruction to controlled plant or gateway device by the APP of mobile terminal, i.e.,
The control to controlled plant or gateway device can be achieved, the various controllable devices to places such as house, meetings can be really realized
Unified management and control is carried out, to meet pursuit of the people to life styles such as superior, personalized, intelligent, digitlization, fast paces.
Although the foregoing describing the embodiment of the present invention, those familiar with the art should manage
Solution, the specific embodiment described by us is merely exemplary, rather than for the restriction to the scope of the present invention, is familiar with this
The equivalent modification and change that the technical staff in field is made in the spirit according to the present invention, should all cover the present invention's
In scope of the claimed protection.
Claims (8)
1. a kind of device management method based on mobile terminal APP, it is characterised in that:Methods described need to provide center control system
System, mobile terminal, gateway device and controlled plant, the mobile terminal are connected with the central control system, described controlled
Equipment is connected by the gateway device with the central control system;Methods described includes:
Step 1, the configuration interface for obtaining from the central control system each equipment, and the configuration parameter of configuration interface is set,
And the configuration parameter of setting is written in the database of central control system;
Step 2, using the mobile terminal APP obtain controlled plant status information, and according to the state of controlled plant believe
Breath sends control instruction to central control system, by central control system according to control instruction operating database and controlled plant
Or gateway device.
2. the device management method according to claim 1 based on mobile terminal APP, it is characterised in that:Methods described is also
The one PC ends being connected with the central control system need to be provided;A web server, one are provided with the central control system
Application server and a finger daemon, the web server are started and tracked by the finger daemon with application server, institute
Application server is stated to interact with the database;
The step 1 is specially:
The configuration for sending the configuration interface for obtaining each equipment to the web server of the central control system by the PC ends please
Ask, web server first obtains the static data of configuration interface after configuring request is received from web server;Then call
Cgi script, the dynamic data of configuration interface is obtained by application server from database;Afterwards by the static data of acquisition and dynamic
State data are combined into complete configuration interface, and configuration interface is returned into PC ends;
The configuration parameter of the configuration interface of each equipment is set by PC ends, and the configuration parameter set is sent to web services
Device, web server calls cgi script after configuration parameter is received, and is write the configuration parameter of setting by application server
PC ends are returned into database, and by implementing result;Operation Log is generated by application server simultaneously, and Operation Log is remembered
Record in database.
3. the device management method according to claim 2 based on mobile terminal APP, it is characterised in that:Configuration circle
Face includes System configurations interface, region configuration interface, scene configuration interface and device panel configuration interface;
" configuration parameter that the configuration interface of each equipment is set by PC ends " is specially:
The configuration parameter of the System configurations interface of central control system is set by PC ends, and the System configurations interface includes system
Information interface, system time interface, system journal interface, network settings interface, hardware management interface and system update with it is standby
Part interface;Region parameter belonging to the gateway device or controlled plant is set in the region configuration interface by PC ends;
The scenario parameters and rule of any scene are set by PC ends in the scene configuration interface;By PC ends in the device side
The device parameter and rule of gateway device or controlled plant are set in plate configuration interface.
4. the device management method according to claim 2 based on mobile terminal APP, it is characterised in that:Methods described is also
Cloud Server need to be provided, the mobile terminal is connected by the Cloud Server with the central control system;And it is described in
Entreat control system on startup, the application server of central control system is by Active Registration into Cloud Server;
The step 2 is specially:
APP is installed on mobile terminals, and logs in APP interfaces, and equipment state is sent by APP and obtains request to cloud service
Device, the application server that request is transmitted to central control system is obtained by Cloud Server by equipment state;Application server is connecing
Receive equipment state to obtain after request, read the real time status information of gateway device or controlled plant, and by real time status information
Return to mobile terminal;
The real time status information of the gateway device of return or controlled plant is shown on APP interfaces by mobile terminal, user according to
The gateway device of display or the real time status information of controlled plant, the control to gateway device or controlled plant is issued by APP
Order to Cloud Server, control command is transmitted to the application server of central control system by Cloud Server;Application server connects
Receive after control command, configuration parameter is read from database according to control command, and parse that configuration parameter generation is corresponding to be set
Standby control code, is sent to gateway device or controlled plant by equipment control code afterwards;Gateway device or controlled plant are according to equipment
Control code performs corresponding control operation, and control result is shown on APP interfaces;Generated and controlled by application server simultaneously
Daily record, and log recording will be controlled into database.
5. a kind of equipment management system based on mobile terminal APP, it is characterised in that:The system need to provide center control system
System, mobile terminal, gateway device and controlled plant, the mobile terminal are connected with the central control system, described controlled
Equipment is connected by the gateway device with the central control system;The system includes configuration module and control module;
The configuration module, for obtaining the configuration interface of each equipment from the central control system, and sets configuration interface
Configuration parameter, and the configuration parameter of setting is written in the database of central control system;
The control module, for obtaining the status information of controlled plant using the APP of the mobile terminal, and sets according to controlled
Standby status information sends control instruction to central control system, by central control system according to control instruction operating database with
And controlled plant or gateway device.
6. the equipment management system according to claim 5 based on mobile terminal APP, it is characterised in that:The system is also
The one PC ends being connected with the central control system need to be provided;A web server, one are provided with the central control system
Application server and a finger daemon, the web server are started and tracked by the finger daemon with application server, institute
Application server is stated to interact with the database;
The configuration module is specially:
The configuration for sending the configuration interface for obtaining each equipment to the web server of the central control system by the PC ends please
Ask, web server first obtains the static data of configuration interface after configuring request is received from web server;Then call
Cgi script, the dynamic data of configuration interface is obtained by application server from database;Afterwards by the static data of acquisition and dynamic
State data are combined into complete configuration interface, and configuration interface is returned into PC ends;
The configuration parameter of the configuration interface of each equipment is set by PC ends, and the configuration parameter set is sent to web services
Device, web server calls cgi script after configuration parameter is received, and is write the configuration parameter of setting by application server
PC ends are returned into database, and by implementing result;Operation Log is generated by application server simultaneously, and Operation Log is remembered
Record in database.
7. the equipment management system according to claim 6 based on mobile terminal APP, it is characterised in that:Configuration circle
Face includes System configurations interface, region configuration interface, scene configuration interface and device panel configuration interface;
" configuration parameter that the configuration interface of each equipment is set by PC ends " is specially:
The configuration parameter of the System configurations interface of central control system is set by PC ends, and the System configurations interface includes system
Information interface, system time interface, system journal interface, network settings interface, hardware management interface and system update with it is standby
Part interface;Region parameter belonging to the gateway device or controlled plant is set in the region configuration interface by PC ends;
The scenario parameters and rule of any scene are set by PC ends in the scene configuration interface;By PC ends in the device side
The device parameter and rule of gateway device or controlled plant are set in plate configuration interface.
8. the equipment management system according to claim 6 based on mobile terminal APP, it is characterised in that:The system is also
Cloud Server need to be provided, the mobile terminal is connected by the Cloud Server with the central control system;And it is described in
Entreat control system on startup, the application server of central control system is by Active Registration into Cloud Server;
The control module is specially:
APP is installed on mobile terminals, and logs in APP interfaces, and equipment state is sent by APP and obtains request to cloud service
Device, the application server that request is transmitted to central control system is obtained by Cloud Server by equipment state;Application server is connecing
Receive equipment state to obtain after request, read the real time status information of gateway device or controlled plant, and by real time status information
Return to mobile terminal;
The real time status information of the gateway device of return or controlled plant is shown on APP interfaces by mobile terminal, user according to
The gateway device of display or the real time status information of controlled plant, the control to gateway device or controlled plant is issued by APP
Order to Cloud Server, control command is transmitted to the application server of central control system by Cloud Server;Application server connects
Receive after control command, configuration parameter is read from database according to control command, and parse that configuration parameter generation is corresponding to be set
Standby control code, is sent to gateway device or controlled plant by equipment control code afterwards;Gateway device or controlled plant are according to equipment
Control code performs corresponding control operation, and control result is shown on APP interfaces;Generated and controlled by application server simultaneously
Daily record, and log recording will be controlled into database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710206505.7A CN106998360A (en) | 2017-03-31 | 2017-03-31 | Device management method and system based on mobile terminal APP |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710206505.7A CN106998360A (en) | 2017-03-31 | 2017-03-31 | Device management method and system based on mobile terminal APP |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106998360A true CN106998360A (en) | 2017-08-01 |
Family
ID=59433916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710206505.7A Pending CN106998360A (en) | 2017-03-31 | 2017-03-31 | Device management method and system based on mobile terminal APP |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106998360A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108269332A (en) * | 2017-12-13 | 2018-07-10 | 山东省科学院情报研究所 | A kind of intelligent access control system and method based on mobile terminal APP |
CN109145017A (en) * | 2018-02-24 | 2019-01-04 | 上海双微导航技术有限公司 | A method of it is configured using data base administration receiver |
CN109445292A (en) * | 2018-10-22 | 2019-03-08 | 深圳绿米联创科技有限公司 | Automated execution result collection method, device, system and storage medium |
CN110161904A (en) * | 2019-05-05 | 2019-08-23 | 杭州芯源智能系统有限公司 | Intelligent video integrated control method and its system |
CN110794773A (en) * | 2019-09-26 | 2020-02-14 | 青岛海信智慧家居系统股份有限公司 | Click-type scene creating method and device |
US11402812B1 (en) | 2019-03-22 | 2022-08-02 | The Chamberlain Group Llc | Apparatus and method for controlling a device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102355390A (en) * | 2011-08-16 | 2012-02-15 | 中国科学院电工研究所 | Intelligent home system |
CN106094534A (en) * | 2016-05-23 | 2016-11-09 | 深圳市汉科电子股份有限公司 | The intelligent domestic system that a kind of wearable device intelligent watch controls |
-
2017
- 2017-03-31 CN CN201710206505.7A patent/CN106998360A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102355390A (en) * | 2011-08-16 | 2012-02-15 | 中国科学院电工研究所 | Intelligent home system |
CN106094534A (en) * | 2016-05-23 | 2016-11-09 | 深圳市汉科电子股份有限公司 | The intelligent domestic system that a kind of wearable device intelligent watch controls |
Non-Patent Citations (3)
Title |
---|
傅渭军: "智能家居系统设计与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)工程科技II辑》 * |
李欣: "基于云平台的智能家居管理系统设计与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》 * |
韩雪松: "智能家居控制系统的设计与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108269332A (en) * | 2017-12-13 | 2018-07-10 | 山东省科学院情报研究所 | A kind of intelligent access control system and method based on mobile terminal APP |
CN108269332B (en) * | 2017-12-13 | 2020-12-29 | 山东省科学院情报研究所 | Intelligent access control system and method based on mobile terminal APP |
CN109145017A (en) * | 2018-02-24 | 2019-01-04 | 上海双微导航技术有限公司 | A method of it is configured using data base administration receiver |
CN109445292A (en) * | 2018-10-22 | 2019-03-08 | 深圳绿米联创科技有限公司 | Automated execution result collection method, device, system and storage medium |
CN109445292B (en) * | 2018-10-22 | 2023-11-10 | 深圳绿米联创科技有限公司 | Automatic execution result collection method, device, system and storage medium |
US11402812B1 (en) | 2019-03-22 | 2022-08-02 | The Chamberlain Group Llc | Apparatus and method for controlling a device |
US11822302B1 (en) | 2019-03-22 | 2023-11-21 | The Chamberlain Group Llc | Apparatus and method for controlling a device |
CN110161904A (en) * | 2019-05-05 | 2019-08-23 | 杭州芯源智能系统有限公司 | Intelligent video integrated control method and its system |
CN110794773A (en) * | 2019-09-26 | 2020-02-14 | 青岛海信智慧家居系统股份有限公司 | Click-type scene creating method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106998360A (en) | Device management method and system based on mobile terminal APP | |
CN104898591B (en) | A kind of intelligent appliance cooperative control method | |
CN102834818B (en) | There is the integrating security system of parallel processing architecture | |
CN1918868B (en) | Automation of telephone setting in voice packet network | |
CN103632415B (en) | Door control system and control device, doorway machine equipment and communication platform | |
CN1759386B (en) | Method, system, and computer program product for managing controlled residential or non-residential environments | |
CN106713426B (en) | Multi-cell property information management method and system | |
CN107566226A (en) | A kind of methods, devices and systems for controlling smart home | |
CN105024995A (en) | Household smart device control system | |
CN103354552A (en) | Communication system, server and terminal | |
CN103856961A (en) | Communications network, computer architecture, computer-implemented method and computer program product for development and management of femtocell-based applications | |
CN105471686A (en) | Terminal control method, terminal control apparatus and system | |
CN111966779B (en) | Knowledge base management method and system for robot, electronic equipment and storage medium | |
CN108199869A (en) | For the wireless MAN and its safety management system of education sector | |
CN110458994B (en) | Property management self-issuing card system and method | |
CN103858407B (en) | File processing method, device and system | |
CN104754287B (en) | Video monitoring equipment configuration parameter delivery method and system | |
CN113168334A (en) | Data processing method and device, electronic equipment and readable storage medium | |
CN110531634A (en) | A kind of registration-management system, method, apparatus and electronic equipment | |
CN110493629A (en) | Cover pendant display methods, device, electronic equipment and storage medium is broadcast live | |
CN107580011A (en) | A kind of data sharing method and desktop cloud server terminal | |
CN111769967A (en) | Intelligent configuration method and device for intercom equipment, server, terminal equipment and storage medium | |
CN113341754A (en) | Scene configuration method, scene engine, user terminal and intelligent home system | |
CN111083296B (en) | Hotel intelligent housekeeper system based on voice recognition | |
CN107103668A (en) | A kind of gate control system information transferring method, device and server |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170801 |
|
WD01 | Invention patent application deemed withdrawn after publication |