A kind of monitoring method of equipment, apparatus and systemTechnical field
The invention belongs to field of communication technology more particularly to a kind of monitoring methods of equipment, apparatus and system.
Background technique
With the fast development of Internet technology, to the equipment of the various services of offer, such as improving communication qualityThe equipment such as the trunkings such as repeater, industrial automation equipment, smart home device or other types are proposed higher wantIt asks.
Since the working performance of above equipment, stability are most important for the reliability of service provided, once equipmentIt breaks down or parameter adjustment is improper, it will seriously affect the reliability of equipment work, however do not have at present to such equipmentHave effective monitoring, can not in time processing equipment occur failure.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of monitoring method of equipment, apparatus and system, can be communicated to improvingThe equipment of quality carries out effective monitoring.
The first aspect of the embodiment of the present invention provides a kind of monitoring method of equipment, comprising:
When mobile terminal and the equipment, which are established, to be communicated to connect, the identification information of the equipment is obtained;Wherein, described to setStandby includes Internet of Things monitoring module;
The identification information and registration information are sent to server to register;
When receive successfully login information from the server registration when, the information of logining is sent to described setIt is standby so that the equipment receive it is described login information when, establish the communication connection between the equipment and the server;
The running state information of the equipment is obtained from the equipment, is lost if obtaining running state information from the equipmentIt loses, then obtains the running state information of the equipment from the server;
After getting the running state information, if receive the control instruction to the equipment, by the controlInstruction is sent to the equipment, to control the equipment.
In one embodiment, the running state information of the equipment is being obtained from the equipment, if obtaining from the equipmentRunning state information is taken to fail, then after the running state information that the server obtains the equipment, further includes:
According to the permission mode logined information and determine corresponding account, according to the operation state information show with it is describedThe corresponding display information of permission mode;Wherein, the permission mode include normal user permission mode, engineer's permission mode andOne or more modes in administrator right mode.
In one embodiment, the running state information of the equipment is being obtained from the equipment, if obtaining from the equipmentRunning state information is taken to fail, then after the running state information that the server obtains the equipment, further includes:
Whether the running state information for detecting the equipment is in preset abnormal operating condition;
If the running state information is in the abnormal operating condition, preset abnormity prompt event is executed.
In one embodiment, if when the control instruction received to the equipment, the control instruction is sentTo the equipment, include: to carry out control to the equipment
Receive the mode selection command of user;
According to the mode selection command, corresponding control interface is shown;
The control parameter information inputted in the control interface according to user is received sends the control parameter informationTo the equipment, to control the equipment.
In one embodiment, described when mobile terminal and equipment foundation communication connection, obtain the equipmentFacility information, comprising:
When mobile terminal and the equipment are established by bluetooth to be communicated to connect, the identification information of the equipment is obtained;
Or,
When mobile terminal and the equipment are established by wifi to be communicated to connect, the identification information of the equipment is obtained.
The second aspect of the embodiment of the present invention provides a kind of monitoring device of equipment, comprising:
First obtains module, for obtaining the mark of the equipment when mobile terminal and equipment foundation communication connectionKnow information;Wherein, the equipment includes Internet of Things monitoring module;
First sending module is registered for the identification information and registration information to be sent to server;
Second sending module, for when receive after server registration success when logining information, will be describedLogin information and be sent to the equipment so that the equipment receive it is described login information when, establish the equipment with it is describedCommunication connection between server;
Second obtains module, for obtaining the running state information of the equipment from the equipment, if obtaining from the equipmentIt takes running state information to fail, then obtains the running state information of the equipment from the server;
Control module, for after getting the running state information, if receiving the control instruction to the equipmentWhen, the control instruction is sent to the equipment, to control the equipment.
In one embodiment, the monitoring device further include:
Display module determines the permission mode of corresponding account for logining information according to, according to the operation stateInformation shows display information corresponding with the permission mode;Wherein, the permission mode includes normal user permission mode, workOne or more modes in Cheng Shi permission mode and administrator right mode.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, including memory, processor and is stored in instituteThe computer program that can be run in memory and on the processor is stated, the processor executes real when the computer programThe step of existing above method.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, computer readable storage mediumThe step of being stored with computer program, the above method realized when above-mentioned computer program is executed by processor.
5th aspect of the embodiment of the present invention provides a kind of monitoring system of equipment, comprising: mobile terminal, equipment kimonosBusiness device;The mobile terminal is for executing such as the step of above-mentioned monitoring method;
The equipment, for when being communicatively coupled with the mobile terminal, by the running state information of the equipmentIt is sent to the mobile terminal;If receive that the mobile terminal sends is described when logining information, the equipment and institute are establishedState the communication connection between server;When being communicatively coupled with the server, the running state information of the equipment is sent outIt send to the server;When receiving when the control instruction of mobile terminal or the server, execute and the control instructionCorresponding operation;Wherein, the equipment includes Internet of Things monitoring module;
The server, for receiving the identification information of mobile terminal transmission and when registration information, to describedIdentification information and the registration information are verified, and after being verified, by succeed in registration login information be back to it is describedMobile terminal;When being communicatively coupled with the equipment, the running state information that the equipment is sent is received.
In embodiments of the present invention, it can be set by when mobile terminal and the equipment are established and communicated to connect from describedThe standby running state information for obtaining the equipment, if running state information failure is obtained from the equipment, from the serverObtain the running state information of the equipment;After getting the running state information, if receiving the control to the equipmentWhen system instruction, the control instruction is sent to the equipment, to control the equipment.Allow user according to equipmentRunning state information judge whether equipment is in normal working condition, submit the control instruction controlled equipment, fromAnd control equipment and carry out the operation such as debugging, effective monitoring can be carried out to the equipment for improving communication quality.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior artNeeded in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the applicationEmbodiment for those of ordinary skill in the art without any creative labor, can also be according to theseAttached drawing obtains other attached drawings.
Fig. 1 is the flow diagram of the monitoring method for the equipment that the embodiment of the present application one provides;
Fig. 2 is the flow diagram of the monitoring method for the equipment that the embodiment of the present application two provides;
Fig. 3 is the structural schematic diagram of the monitoring device for the equipment that the embodiment of the present application three provides;
Fig. 4 is the structural schematic diagram of the monitoring system for the equipment that the embodiment of the present application four provides;
Fig. 5 is the structural schematic diagram for the mobile terminal that the embodiment of the present application six provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposedBody details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specificThe application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricityThe detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in following methods embodiment, respectivelyThe execution sequence of process should be determined by its function and internal logic, and the implementation process without coping with each embodiment constitutes any limitIt is fixed.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
The embodiment of the present invention provides the monitoring method of equipment, and the monitoring method in the present embodiment can be applied to mobile terminal etc.Terminal device is simultaneously executed by the terminal device, can specifically be realized by the operation application software (such as APP) in mobile terminal.QuiltThe equipment of monitoring can be for expanding signal cover, improves the relaying signal such as repeater equipment of communication signal quality and putsBig equipment, industrial automation equipment, smart home device or other kinds of equipment.As shown in Figure 1, above-mentioned monitoring method packetIt includes:
Step S101 obtains the identification information of the equipment when mobile terminal and equipment foundation communication connection;ItsIn, the equipment includes Internet of Things monitoring module;
In embodiments of the present invention, the identification information of above-mentioned acquisition equipment may is that when mobile terminal and the equipment are builtWhen vertical communication connection, the identification information of equipment is actively sent to mobile terminal by equipment, thus the mark of acquisition for mobile terminal equipmentKnow information, or be also possible to the identification information that mobile terminal actively obtains equipment, such as mobile scanning terminal or capture apparatusIdentification information, to obtain the identification information of equipment.Above-mentioned Internet of Things monitoring module can be integrated in by built-in modeIt states in equipment, can such as be embedded in inside equipment and be integrated;Or it is also possible to be set to by way of external above-mentionedAbove-mentioned Internet of Things monitoring module such as can be made into independent EM equipment module by equipment, it can support that external power supply can also be realExisting internal battery powers, cooperate so as to independence and equipment.Specific set-up mode can be configured according to practical application, rightThis is with no restrictions.
In one embodiment, described when mobile terminal and equipment foundation communication connection, obtain the equipmentFacility information, comprising: when mobile terminal and the equipment are established by bluetooth to be communicated to connect, obtain the mark letter of the equipmentBreath;Or, obtaining the identification information of the equipment when mobile terminal and the equipment are established by wifi and communicated to connect.It is above-mentionedMobile terminal is established to communicate to connect can be with above equipment and be communicated by bluetooth or wifi, and it is blue such as to pass through scanningTooth equipment: searching for neighbouring bluetooth equipment, and display meets the equipment of feature rule name in list, shows separate unit in listsThe information of equipment includes (device name/equipment Serial Number/bluetooth signal intensity), or scanning wifi hotspot/same wifi networkEquipment in network.
The identification information and registration information are sent to server and registered by step S102;
In embodiments of the present invention, the identification information of equipment and registration information can be sent to server to register, madeAn account information can be associated with according to the identification information of equipment after succeeding in registration by obtaining.Can also by the identification information of equipment and in advanceExisting account is associated.
Step S103, when receive from the server registration successfully login information when, by it is described login information hairSend to the equipment so that the equipment receive it is described login information when, establish between the equipment and the serverCommunication connection;
In embodiments of the present invention, it after server is proved to be successful above-mentioned identification information and registration information, can will infuseVolume successfully logins information and is sent to mobile terminal, mobile terminal receive succeed in registration login information after, can will login letterBreath be sent to above equipment, above equipment receives login successful information after with server establish communicate to connect, make above equipmentThe operating status of equipment is sent to server in real time.When equipment, which does not receive, logins information, indicate that equipment is in un-activationThe running state information of equipment will not be sent to above-mentioned mobile terminal or above-mentioned server by state.It can certainly takeIdentification information is directly inputted in business device and registration information is registered.
Step S104 obtains the running state information of the equipment from the equipment, if obtaining operation shape from the equipmentThe failure of state information, then obtain the running state information of the equipment from the server;
In embodiments of the present invention, mobile terminal can obtain the running state information of the equipment from the equipment, if fromThe equipment obtains running state information failure, as being connect with the equipment room by bluetooth or wifi when the mobile terminalWhen communication disconnects, the equipment can be made to obtain running state information failure, the mobile terminal can be obtained by server at this timeTake the running state information of the equipment.
In one embodiment, the running state information of the equipment is being obtained from the equipment, if obtaining from the equipmentRunning state information is taken to fail, then after the running state information that the server obtains the equipment, further includes: according to instituteIt states and logins the permission mode that information determines corresponding account, information shows corresponding with the permission mode according to the operation stateShow information;Wherein, the permission mode includes normal user permission mode, engineer's permission mode and administrator right modeIn one or more modes.
In one embodiment, the running state information of the equipment is being obtained from the equipment, if obtaining from the equipmentRunning state information is taken to fail, then after the running state information that the server obtains the equipment, further includes: detection instituteWhether the running state information for stating equipment is in preset abnormal operating condition;If the running state information is in the exceptionOperating status then executes preset abnormity prompt event.
If step S105, will receive the control instruction to the equipment after getting the running state informationThe control instruction is sent to the equipment, to control the equipment.
In embodiments of the present invention, after the running state information for getting the equipment, mobile terminal can show describedRunning state information information can judge whether the operation of the equipment is abnormal according to the operation state.
It can be seen that in embodiments of the present invention, can by when mobile terminal and the equipment are established and are communicated to connect,The running state information of the equipment is obtained from the equipment, if running state information failure is obtained from the equipment, from instituteState the running state information that server obtains the equipment;After getting the running state information, if receiving to describedWhen the control instruction of equipment, the control instruction is sent to the equipment, to control the equipment.Allow userJudge whether equipment is in normal working condition according to the running state information of equipment, submits the control controlled equipmentInstruction, carries out the operation such as debugging to control equipment, can carry out effective monitoring to the equipment for improving communication quality.
Embodiment two
The present embodiment is the further explanation to embodiment one, and the present embodiment is the same as example 1 or similar place toolBody can be found in the associated description of embodiment one, not repeat herein, as shown in Fig. 2, above-mentioned steps S105 is specifically included:
Step S201 receives the mode selection command of user;
In embodiments of the present invention, relevant mode can be selected according to the mode selection command of user, such as preset generalLogical user mode, the corresponding control interface of ordinary user, which is only shown, can check and control section basic parameter, engineer or moreAll parameters can be checked and be controlled to the corresponding control interface of rank.And the control interface of the ordinary user can be it is presetBootmode, guidance user do relevant operation.The professional parameter interface of the corresponding interface display of the engineer, can manual settingRelevant parameter.
Step S202 shows corresponding control interface according to the mode selection command;
In embodiments of the present invention, according to the selection of the mode selection command of user and the associated control of above-mentioned mode selection commandInterface processed allows user to check or input corresponding control parameter information.
Step S203 joins the control according to the control parameter information that reception user inputs in the control interfaceNumber information is sent to the equipment, to control the equipment.
It in embodiments of the present invention, can be according to defeated when receiving user in the control parameter information that control interface inputsThe control parameter information is sent to the equipment, to control the equipment by the control parameter information entered.
It can be seen that in embodiments of the present invention, can by when mobile terminal and the equipment are established and are communicated to connect,The running state information of the equipment is obtained from the equipment, if running state information failure is obtained from the equipment, from instituteState the running state information that server obtains the equipment;After getting the running state information, if receiving to describedWhen the control instruction of equipment, the control instruction is sent to the equipment, to control the equipment.Allow userJudge whether equipment is in normal working condition according to the running state information of equipment, submits the control controlled equipmentInstruction, carries out the operation such as debugging to control equipment, can carry out effective monitoring to the equipment for improving communication quality.
Embodiment three
The embodiment of the present invention provides a kind of monitoring device of equipment, and the monitoring device can be applied to mobile terminal, describedMonitoring device is used to execute the method and step in embodiment one or embodiment two.As shown in figure 3, the monitoring device 300 includes:
First obtains module 301, for obtaining the equipment when mobile terminal and equipment foundation communication connectionIdentification information;Wherein, the equipment includes Internet of Things monitoring module;
In one embodiment, the first acquisition module is specifically used for building with the equipment by bluetooth when mobile terminalWhen vertical communication connection, the identification information of the equipment is obtained;Or, when mobile terminal and the equipment establish communication link by wifiWhen connecing, the identification information of the equipment is obtained.
First sending module 302, is registered for the identification information and registration information to be sent to server;
Second sending module 303, for when receive from the server registration success after when logining information, by instituteState and login information and be sent to the equipment so that the equipment receive it is described login information when, establish the equipment and instituteState the communication connection between server;
Second obtains module 304, for obtaining the running state information of the equipment from the equipment, if from the equipmentRunning state information failure is obtained, then obtains the running state information of the equipment from the server;
Control module 305, for referring to if receiving to the control of the equipment after getting the running state informationWhen enabling, the control instruction is sent to the equipment, to control the equipment.
In one embodiment, control module 305 includes:
Receiving unit, for receiving the mode selection command of user;
Display unit, for showing corresponding control interface according to the mode selection command;
Transmission unit, the control parameter information for being inputted in the control interface according to user is received, by the controlParameter information processed is sent to the equipment, to control the equipment.
In one embodiment, the monitoring device further include:
Display module determines the permission mode of corresponding account for logining information according to, according to the operation stateInformation shows display information corresponding with the permission mode;Wherein, the permission mode includes normal user permission mode, workOne or more modes in Cheng Shi permission mode and administrator right mode.
In one embodiment, the monitoring device further include:
Whether detection module, the running state information for detecting the equipment are in preset abnormal operating condition;
Reminding module executes preset exception if being in the abnormal operating condition for the running state informationReminder events.
It can be seen that in embodiments of the present invention, can by when mobile terminal and the equipment are established and are communicated to connect,The running state information of the equipment is obtained from the equipment, if running state information failure is obtained from the equipment, from instituteState the running state information that server obtains the equipment;After getting the running state information, if receiving to describedWhen the control instruction of equipment, the control instruction is sent to the equipment, to control the equipment.Allow userJudge whether equipment is in normal working condition according to the running state information of equipment, submits the control controlled equipmentInstruction, carries out the operation such as debugging to control equipment, can carry out effective monitoring to the equipment for improving communication quality.
Example IV
The embodiment of the present invention provides a kind of monitoring system of equipment, as shown in figure 4, shown monitoring system 400 includes: movementTerminal 401, equipment 402 and server 403;The mobile terminal 401 can be used for executing the side in embodiment one or embodiment twoMethod step;
The equipment 402, for when being communicatively coupled with the mobile terminal, the operating status of the equipment to be believedBreath is sent to the mobile terminal;If receive that the mobile terminal sends is described when logining information, establish the equipment withCommunication connection between the server;When being communicatively coupled with the server, by the running state information of the equipmentIt is sent to the server;When receiving when the control instruction of mobile terminal or the server, executes and refer to the controlEnable corresponding operation;Wherein, the equipment includes Internet of Things monitoring module;
The server 403, for receiving the identification information of mobile terminal transmission and when registration information, to instituteIt states identification information and the registration information is verified, and after being verified, the information of logining to succeed in registration is back to instituteState mobile terminal;When being communicatively coupled with the equipment, the running state information that the equipment is sent is received.
It can be seen that in embodiments of the present invention, can by when mobile terminal and the equipment are established and are communicated to connect,The running state information of the equipment is obtained from the equipment, if running state information failure is obtained from the equipment, from instituteState the running state information that server obtains the equipment;After getting the running state information, if receiving to describedWhen the control instruction of equipment, the control instruction is sent to the equipment, to control the equipment.Allow userJudge whether equipment is in normal working condition according to the running state information of equipment, submits the control controlled equipmentInstruction, carries out the operation such as debugging to control equipment, can carry out effective monitoring to the equipment for improving communication quality.
Embodiment five
The embodiment of the present invention provides a kind of monitoring system of equipment, and the present embodiment is the further explanation to example IV,For details, reference can be made to the associated descriptions of example IV for the present embodiment and the same or similar place of example IV, are not repeating herein,As shown in figure 4, shown monitoring system 400 includes: mobile terminal 401, equipment 402 and server 403;
In one embodiment, mobile terminal 401 can by the operation application software (such as APP) in mobile terminal realize withThe step of lower monitoring method:
1, equipment is installed
Can first scanning device, specifically can search for the Bluetooth signal of equipment, when searching the equipment for being satisfied with preset rules, andShow that facility information, the facility information include but is not limited to device name, equipment Serial Number, one in bluetooth signal intensityOr multinomial information.
(2) equipment is registered by the application software in the mobile terminal, the mark that specific receivable equipment is sentInformation, or the identification information of equipment can also be obtained by the marker in the application software scanning device in mobile terminal, such asCan be with the two dimensional code of scanning device, and the identification information of equipment is sent to server, by the account of the facility registration to userIn.
(3) equipment is activated, equipment can be specifically obtained from server logins information and authentication information, the mirrorPower information includes but is not limited to Bluetooth communication authentication information, MQTT authentication information, server address and port numbers etc., will be describedIt is described to login information and the authentication information is sent to the equipment, the wifi or mobile data network of equipment are configured, is then touchedHair equipment and server establish connection.
(4) equipment is debugged, the account information that can be logined according to user shows corresponding preset mode, and such as profession is usedThe professional mode at family or the bootmode of ordinary user;Professional mode can show the parameter interface of profession, and user manually adjustsRelevant parameter is set;Certainly different device type, the parameter of display and interface can difference.It can be carried out according to practical applicationSetting.Bootmode can guide user configuration relevant parameter, certainly different device types, guidance by the default script writeThe step of can difference, can be write according to actual needs.
2, equipment management
Can by preset instrument board show equipment relevant information (such as operating status or other information) can according toThe instrument board that the classification at family presets different interfaces is shown, can such as preset ordinary user, professional user (such as expert engineer) respectively,The instrument board display interface of the type of user such as administrator.The equipment state that instrument board is shown can be to be obtained from server.WhenWhen mobile terminal is in off-line state, the device status information of nearest moment caching can be shown, and provide the prompt of off-line stateInformation.
(2) multiple equipment can be managed, multiple equipment would subscribe in the account of the same user, and can be by settingStandby region and/or device type carry out Classification Management, can carry out customized grouping management to equipment by user certainly.
(3) equipment is remotely managed, after user selects equipment, can check the running state information of the equipment, and change this and setStandby parameter information, different device types, the parameter interface that user sees have difference, can be known according to the beacon information of equipmentThe type of other equipment, according to the type display parameters interface of equipment.
3, event is shown
(1) show device events, can show the device events list information from server push, as equipment alarm event,Unit exception action event (key parameter modification), equipment state change events (such as facility registration success, device activation success andEquipment off-line notice etc.).It may also include that time, device type, device name, location of the machine to be installed and equipment that event generatesState change;Several nearest events of default display.User also can search for and screen the device events of display, the mode packet of screeningInclude device type, the time that event generates, the state of equipment;User can not delete and edit event.
(2) show customer incident, can display server be pushed to the list of thing about user of App, comprising: Yong HumiCode modification, user password input error, user is logged in using other equipment, user is in events such as other places logins.User canTo search for and screen the customer incident of display, the mode of screening includes event type, the time etc. that event generates;User can not deleteRemove and edit event.
(3) show application software event in mobile terminal, can display server be pushed to the event about App of App, packetInclude: Operating Guideline, version updating, regional administrator broadcast the information pushed, the response of field feedback.User may search forWith the customer incident of screening display, the mode of screening includes event type, the time etc. that event generates;User can not delete and compileThe event of collecting.
4, it explores
(1) the installation site for selecting equipment or receiving antenna, can be measured and recorded by the application software of mobile terminal and be worked asThe signal strength (RSRP) of preceding position, after measuring several points, application software selects suitable place to push away in measurement recordRecommend the position that user selects receiving antenna or equipment installation.
(2) signal quality measured, the specified mobile network that current sim card is supported can measure by the application software of mobile terminalThe signal strength (RSRP) of network, signal-to-noise ratio (SINR), base station information.
(3) product type selection is recommended, and can read the product of user location from server by the application software of mobile terminalList information;The screening installations such as operator, frequency range, price, the area coverage that user can support according to equipment;If user needsIt buys, needs to jump to the purchase of location official website.
5, user management
(1) user can register new user account by the application software of mobile terminal, modify oneself login password,Email address;Can user can check the virtual account remaining sum of oneself, (support VISA/ to account charging by PaypalMASTER credit card is supplemented with money);Regional administrator, client and engineer can increase, freeze and delete subordinate subscriber, can modifyUser group belonging to subordinate subscriber;After freezing subordinate subscriber, which will be unable to log in application software;User can create, repairChange and delete user group, the Permission Levels (engineer) of user group, user bound group and equipment group are set;When deleting user group,Need to confirm the user group for sky.
(2) user can be set whether message informing pops up, and different type of messages is independently arranged, and mention to carry out messageIt wakes up and is arranged.
(3) user can submit about equipment, the opinion of App, suggestion and BUG to server;User is submitting feedback informationWhen, need the type of specified feedback information.
(4), when reading newest App version number from server, if newer than current version number, the prompt of more new version is popped upWhen, user confirms more new version number, jumps to whether the shop GooglePlay (considers if mobile terminal is Android versionDirectly downloaded from server, need opening of device debugging mode in this way), mobile terminal is that ios release jumps to app store.
(5) the version information and copyright of application software can be shown according to the instruction for checking application software of mobile terminal of userInformation.User can choose the language (Chinese/English, extend the interface of other language reserved future) of application software.
In one embodiment, equipment 402 can realize following functions:
1, equipment management
(1) device status monitoring, monitoring device running state parameter, and running state information is converted into uniform unitsRunning state information.
(2) equipment reports management, and detection device abnormality simultaneously does alarming processing, can by the running state information of equipment andThe information such as abnormality are sent to mobile terminal and/or server
(3) device log, can be to equipment operating data statistical information.
(4) firmware upgrade, can firmware upgrade by portion's interface (such as wifi interface) of equipment to equipment.
2, MQTT is serviced
Server can be connected devices to by MQTT agreement, and the authentication is passed, be stably connected with server foundation.When evenAfter the state of connecing changes, changed state is uploaded onto the server by MQTT agreement;Server-side devices parameter becomesAfter change, running parameter is synchronized to by equipment by MQTT agreement.By equipment working state log statistic and determined by MQTT agreementWhen upload onto the server;It can be with remote updating equipment firmware by MQTT protocol server end;Equipment and server establish connectionShi Bixu bi-directional authentification, the data packet of transmission have to pass through encryption (using TLS).
3, equipment can also be communicated by bluetooth with other equipment;Equipment should carry out the connection of access to remove connection passwordOuter secondary authentication, after bluetooth connection, equipment must authenticate again, if failed authentication, equipment will actively disconnect bluetooth connection;It is communicated when communication using binary data.Equipment can also be connect by wifi with mobile terminal or device process, the initial work of equipmentMake to may be coupled to other wifi hotspots with postponing in Station mode.Equipment can detect and safeguard wifi state, keep withThe connection of server.Mobile data network communication also can be used in certain equipment, and equipment should access network by dial mode.
In one embodiment, server 403 can realize following functions:
1, user interface (as included WEB interface and WEB api interface)
(1) user management, user can register, log in, nullifying, Modify password;Ordinary user is infused when registering using mailboxVolume sends the mailbox that verifying mail is specified to user by server, just succeeds in registration after being proved to be successful.Expert engineer can increaseAdd, freeze, deleting child user, modifying user group belonging to child user.User, client and engineer user can check oneselfVirtual account remaining sum, by Paypal to account charging (VISA/MASTER credit card can be supported to supplement with money).
(2) user group management, user can increase newly, modify, delete user group;Setting for user group management can be set in userStandby group.
(3) equipment management, user can be used with that under bound device to account, can also share the equipment to other users;WithAfter a certain equipment of remote equipment group selection, user can check the state of the equipment, and can change the parameter of equipment at family;Different device types, the parameter interface that user sees have difference.Ordinary user can only check with control section basic parameter,All parameters can be checked and be controlled to engineer and the above rank.Client, engineer and regional administrator can be set alarm and push awaySend and automatically process strategy;Alarm pushing strategy includes setting alarm item, correlation reception personnel;Automatically processing strategy includes settingAlarm item, the parameter for needing to be arranged and value etc..Client, engineer and regional administrator can be with remote reboot designated equipments;UpgradingEquipment firmware can also upgrade specified single device with batch upgrade same type equipment.Equipment position can be shown on mapIt sets.
(4) device group management, user can create, modify and delete self-defining device group;User can be with editing equipment groupList of devices;User can modify the access and control authority of equipment group;
(5) user can submit about equipment, the opinion of App, suggestion, BUG etc.;User needs when submitting feedback informationThe type of specified feedback information.
(6) store, server can show the product list information of user location;What user can support according to equipmentThe screening installations such as operator, frequency range, price, area coverage;User then needs to jump to location official website if necessary to buyPurchase.
(7) log information, user can check, search for and screen the equipment reported event of display, and the mode of screening includes settingStandby type, the time that event generates, equipment state;The event that equipment reports includes equipment alarm event, unit exception operationEvent (key parameter modification), equipment state change events (facility registration success, device activation success and equipment off-line noticeDeng);The content of event includes: time, device type, device name, location of the machine to be installed and the equipment state change that event generatesChange;
2, pass through management interface (WEB interface): regional administrator can check the various information of user feedback, and can be rightSpecify information makes reply;Design and production html pushed information are published to server, and specified different user groups receive pushInformation;Official website address, information scratching period can be set in regional administrator, can also be with the product of manual synchronization server and official websiteInformation;Set the charge mode of designated user's group, charge mode include monthly, per year, number of devices and discount etc..
3, pass through equipment interface (MQTT agreement) interface: when equipment establishes connection with server for the first time, by facility informationIt is registered to server;After equipment state changes, automatically by the information update of variation to server;What is saved on server setsAfter standby parameter changes, the parameter of variation is pushed to equipment end automatically by server;Server can be with the firmware of pushing equipmentWrap equipment end;After the completion of firmware push, equipment end is automatically performed upgrading;Server can be with the firmware packet of pushing equipment to equipmentEnd;After the completion of firmware push, equipment end is automatically performed upgrading.
4, pass through O&M interface (WEB interface): can monitor the status information of each server, including presence, CPU,Memory and hard disk utilization rate etc.;Monitor the state of each service, CPU and memory usage etc.;The fortune of each service can be setRow parameter;Server with apply abnormal state detection;The outlier threshold of various status informations can be set;Third party can be usedThe interface that service (such as friendly alliance) provides, summarizes display for associated statistical information;The state of all devices can be checked and be controlled, is accusedAlert information, running log information;Safeguard the parameter information and interface configurations of distinct device classification;Upload consolidating for different type equipmentPart uploads the App of new version to server to server;Server and application operation irregularity when, server-side send short message andEmail is to designated user.
It can be seen that in the present invention being communicated to connect by being established in mobile terminal and the equipment in embodimentWhen, the running state information of the equipment is obtained from the equipment, if obtaining running state information failure from the equipment, fromThe server obtains the running state information of the equipment;After getting the running state information, if receiving to instituteWhen stating the control instruction of equipment, the control instruction is sent to the equipment, to control the equipment.Make user canJudge whether equipment is in normal working condition with the running state information according to equipment, submits the control controlled equipmentSystem instruction, carries out the operation such as debugging to control equipment, can carry out effective monitoring to the equipment for improving communication quality.
Embodiment six
As shown in figure 5, being the structural schematic diagram of mobile terminal provided by the embodiments of the present application.The mobile terminal 500 wrapsIt includes: processor 501, memory 502 and being stored in the meter that can be run in above-mentioned memory 502 and on above-mentioned processor 501Calculation machine program 503.Above-mentioned processor 501 realizes the monitoring method embodiment of above equipment when executing above-mentioned computer program 503In step, such as step S101 to S105 shown in FIG. 1, step 201 shown in Fig. 2 to 203.
Illustratively, above-mentioned computer program 503 can be divided into one or more units/modules, said one orThe multiple units/modules of person are stored in above-mentioned memory 502, and are executed by above-mentioned processor 501, to complete the application.OnStating one or more units/modules can be the series of computation machine program instruction section that can complete specific function, the instruction segmentFor describing implementation procedure of the above-mentioned computer program 503 in above-mentioned mobile terminal 500.For example, above-mentioned computer program 503The first acquisition module can be divided into, the first sending module, the second sending module, second obtains module, control module, each mouldBlock concrete function has been described in above-described embodiment three, is not repeating herein.
Above-mentioned mobile terminal 500 can be the mobile devices such as mobile phone, notebook and palm PC.Above-mentioned mobile terminal 500It may include, but be not limited only to, processor 501, memory 502.It will be understood by those skilled in the art that Fig. 5 is only mobile wholeThe example at end 500, does not constitute the restriction to mobile terminal 500, may include than illustrating more or fewer components or groupCertain components or different components are closed, such as above-mentioned mobile terminal 500 can also include input-output equipment, network insertionEquipment, bus etc..
Alleged processor 501 can be central processing unit (Central Processing Unit, CPU), can also beOther general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processorDeng.
Above-mentioned memory 502 can be the internal storage unit of mobile terminal 500, for example, mobile terminal 500 hard disk orMemory.Above-mentioned memory 502 is also possible to the External memory equipment of above-mentioned mobile terminal 500, such as on above-mentioned mobile terminal 500The plug-in type hard disk of outfit, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD)Card, flash card (Flash Card) etc..Further, above-mentioned memory 502 can also be both interior including above-mentioned mobile terminal 500Portion's storage unit also includes External memory equipment.Above-mentioned memory 502 is for storing above-mentioned computer program and above-mentioned movementOther programs and data needed for terminal 500.Above-mentioned memory 502, which can be also used for temporarily storing, have been exported or willThe data of output.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each functionCan unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by differentFunctional unit, module are completed, i.e., the internal structure of above-mentioned apparatus is divided into different functional unit or module, more than completingThe all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can alsoTo be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integratedUnit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function listMember, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above-mentioned intelligenceThe specific work process of unit in terminal, module, can refer to corresponding processes in the foregoing method embodiment, no longer superfluous hereinIt states.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodimentThe part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosureMember and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actuallyIt is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technicianEach specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceedScope of the present application.
In embodiment provided herein, it should be understood that disclosed device and method can pass through othersMode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of above-mentioned module or unit,Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be withIn conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussedMutual coupling or direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit orCommunication connection can be electrical property, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unitThe component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multipleIn network unit.Some or all of unit therein can be selected to realize the embodiment of the present application scheme according to the actual needsPurpose.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unitIt is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated listMember both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent productWhen, it can store in a computer readable storage medium.Based on this understanding, the application realizes above-described embodiment sideAll or part of the process in method can also instruct relevant hardware to complete, above-mentioned computer by computer programProgram can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned eachThe step of a embodiment of the method.Wherein, above-mentioned computer program includes computer program code, and above-mentioned computer program code canThink source code form, object identification code form, executable file or certain intermediate forms etc..Above-mentioned computer-readable medium can be withIt include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, light that can carry above-mentioned computer program codeDisk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that above-mentioned computerThe content that readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such asIn certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and telecommunications letterNumber.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned realityExample is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned eachTechnical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modifiedOr replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should allComprising within the scope of protection of this application.