Background technology
In order to realize the management to remote equipment (abbreviation equipment), increasing equipment is used the mode of the Wireless Internet access modules (abbreviation on-line module) such as GPRS/3G to be connected with outer net; Along with the development of mobile phone and smart mobile phone, mobile phone is realized has become a kind of the easiest method to the control of equipment simultaneously.
Existing traditional mobile phone is realized the configuration of on-line module and management method is comprised:
1, insert SIM card, the server that GPRS/3G on-line module online logging device business is provided;
2, the WEB server site that user provides by logging device business;
3, each module has a unique ID, and user needs registered user and password, and binds it to the ID of module;
4,, after its APP software of mobile phone open, input the username and password of its registration;
5, mobile phone is logined by username and password, and control appliance.
Adopt traditional configuration and management method, want to realize the control of mobile phone to equipment, user needs extra open any browser, the website that input equipment business provides, registered user name and password, the ID of bound device, then just open the APP software of mobile phone, input username and password, manages.These processes are comparatively loaded down with trivial details, to user, use and bring very large inconvenience.
Summary of the invention
Technical problem to be solved by this invention is to provide the method for a kind of mobile phone to Wireless Internet access module configuration and management, and user is used more for convenience.
The invention provides the method for a kind of mobile phone to Wireless Internet access module configuration and management, comprising:
On-line module enters configuration status;
Described on-line module receives the configuration requirement that mobile phone sends;
Described on-line module sends to Cloud Server by authentication information and the phone number that can obtain described on-line module authentication information, or notice Cloud Server can obtain the phone number of the authentication information of described on-line module;
Receive the confirmation reception authentication information that Cloud Server sends, and exit configuration status.
The present invention also provides the method for a kind of mobile phone to Wireless Internet access module configuration and management, comprising:
Mobile phone obtains the number of the module that will configure of user's input;
Described mobile phone sends configuration requirement to described on-line module;
Described mobile phone is logined Cloud Server and from described Cloud Server, is obtained the authentication information of described on-line module;
Described mobile phone sends and confirms to receive authentication information to described Cloud Server.
The use of inventing by said method, the present invention can have following beneficial effect:
1, convenience
Adopt our inventive method, manual operation allows after on-line module enters configuration status, and user only needs the number of input module, just can automatically find the information of controlled module, and adds management.
The complicated operations such as the method is compared with traditional collocation method, has simplified the extra open any browser of original needs, clicks the webpage of response, registration binding.
2, fail safe
On-line module is only in configuration status, and request command is added in the configuration that could respond mobile phone, after normal operation, can not respond.Enter configuration status simultaneously, manual operation that need to be to hardware, first mobile phone must know the number of on-line module certainly, just can obtain authentication information, larger its fail safe of assurance of interactive performance of this software and hardware.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Please refer to Fig. 1, Fig. 1 is the modular structure schematic diagram of the Internet of things system that provides of one embodiment of the present of invention.System of the present invention comprises Cloud Server platform, at least one on-line module and at least one configurating mobile.Cloud Server platform can be realized by server.Different on-line modules can be arranged in same type or dissimilar equipment, and each on-line module has unique ID, and each on-line module can be connected with this Cloud Server platform by wireless network.Configurating mobile also can be connected with this Cloud Server platform by wireless network.Described wireless network can be the networks such as GPRS, 3G or LTE.
Below each functions of the equipments in this system are introduced.
One, Cloud Server platform
Above Cloud Server, realize 2 large functions: the preservation of the data penetration transmission between mobile phone and on-line module, on-line module authentication information.
1, the data penetration transmission between mobile phone and on-line module:
After on-line module online, the network information of this module can be kept to Cloud Server platform.
Because mobile phone terminal can not directly be taken IP and the port information of on-line module, therefore the control of mobile phone to on-line module, must realize transfer by Cloud Server platform, the id information of the module that Cloud Server is controlled as required, will control data package transfer to different modules.
2, preserve the authentication information of on-line module
The authentication information of equipment, includes the ID of equipment, the access code of equipment, access rights or other authentication informations.
When mobile phone configures, equipment for surfing the net can pass to authentication information Cloud Server platform and preserve, or notice Cloud Server platform can obtain the phone number of authentication information.
Two, on-line module
On-line module can be GPRS on-line module, can be also 3G on-line module, requires this module can receive note, can surf the Net, and carries out data interaction with Cloud Server platform, the Module-embedding formula software of simultaneously embedded our invention.
Each on-line module have one unique No. ID, can preserve authentication information simultaneously.
Our definition module has configuration status and upper net state, by external key or other mode switching states.Only have module to enter configuration status, configuration flow below just can normally be worked.
Three, mobile phone
Requirement to mobile phone: support note to send and function of surfing the Net, support to carry out in the above APP application and development simultaneously.
The method that a kind of mobile phone that lower mask body is introduced the embodiment of the present invention to be provided configures and manages Wireless Internet access module, the method is described in mutual mode, specifically comprises:
1, manual operation allows on-line module enter configuration status, and on-line module waits for that mobile phone obtains the note of authentication information.
2, the configuration interface of the mobile phone A PP of design, user inputs the phone number of the module that will configure on interface.(unique user's input operation.)
3, after click is determined, mobile phone sends the note of configuration automatically to on-line module.
In order to improve fail safe, mobile phone, before sending, can be selected to generate key and the decruption key of encrypting, and encryption key is sent to on-line module simultaneously.
3, on-line module is after the requirement of receiving configuration, the authentication information of equipment (username and password of login) is sent to the Cloud Server configuration of design and the phone number that can obtain authentication information, or notice Cloud Server platform can obtain the phone number of its authentication information
Certainly, in order to guarantee the cryptographic operation of Internet Transmission engineering, authentication information can be used to the encryption keys sending over.
5, mobile phone terminal, by access to netwoks Cloud Server platform, obtains the authentication information of the equipment that oneself can take from Cloud Server platform, then automatically in the list of devices the inside of design, show.After interpolation, by cloud service transfer, send and confirm to receive authentication information, configuration status is exited in on-line module reduction.
The embodiment of the present invention also provides the method for a kind of mobile phone to Wireless Internet access module configuration and management, and the method is corresponding with preceding method, by on-line module, is carried out, and specifically comprises:
1, on-line module enters configuration status;
2, described on-line module receives the configuration requirement that mobile phone sends;
3, described on-line module sends to Cloud Server by authentication information and the phone number that can obtain described on-line module authentication information, or notice Cloud Server can obtain the phone number of the authentication information of described on-line module;
4, receive the confirmation reception authentication information that Cloud Server sends, and exit configuration status.
Optionally, described authentication information comprises the username and password of login.
Optionally, described configuration requirement comprises encryption key, and the described authentication information that described on-line module sends utilizes described encryption keys.
The embodiment of the present invention also provides the method for a kind of mobile phone to Wireless Internet access module configuration and management, and the method is corresponding with preceding method, by mobile phone, is carried out, and specifically comprises:
1, mobile phone obtains the number of the module that will configure of user's input;
2, described mobile phone sends configuration requirement to described on-line module;
3, described mobile phone login Cloud Server obtain the authentication information of described on-line module from described Cloud Server;
4, described mobile phone sends and confirms to receive authentication information to described Cloud Server.
Optionally, described mobile phone obtains after the authentication information of described on-line module, shows the corresponding equipment of described on-line module in the list of devices of mobile phone.
Optionally, described configuration requirement comprises encryption key.
The use of inventing by said method, the present invention can have following beneficial effect:
1, convenience
Adopt our inventive method, manual operation allows after on-line module enters configuration status, and user only needs the number of input module, just can automatically find the information of controlled module, and adds management.
The complicated operations such as the method is compared with traditional collocation method, has simplified the extra open any browser of original needs, clicks the webpage of response, registration binding.
2, fail safe
On-line module is only in configuration status, and request command is added in the configuration that could respond mobile phone, after normal operation, can not respond.Enter configuration status simultaneously, manual operation that need to be to hardware, first mobile phone must know the number of on-line module certainly, just can obtain authentication information, larger its fail safe of assurance of interactive performance of this software and hardware.
Realization in order to demonstrate the invention, has described above-mentioned embodiment.But other variations of the present invention and modification, be apparent for those skilled in the art, any modification/variation within the scope of essence disclosed in this invention and basic principle or imitation conversion all belong to claim protection range of the present invention.