The unlocking authority of Long-distance Control handheld device
Technical field
The method and system of the unlocking authority of Long-distance Control handheld device is applied to the field of unblanking by the short-distance wireless communication function of handheld device, especially is applied to the field of unblanking by the handheld device Bluetooth function.
Background technology
The handheld device smart lock that opens the door, it is a kind of new lock that rose in recent years, this kind lock, by the short-range wireless communication module of a cover is installed at the face of locking, be bluetooth generally speaking, by the Bluetooth function that uses handheld device to carry generally, connect with the Bluetooth function of locking face, then carry out both sides' data transfer, both sides' identity is checked, the final realization unblanked after the success.Therefore, unblank by handheld device, itself belong to existing known technology.
After unblanking to realize by handheld device, also need to realize some non-staple functions, as allow handheld device automatically connect with being connected to go, then automatically carry out authentication, last auto-unlocking, for another example, allow handheld device or be locked in when unblanking automatically sound, the user is pointed out etc., also have a kind of most widely used, preserve the record of unblanking at the face of locking exactly, when handheld device be locked into row and be connected, and needs time, allow handheld device automatically read the record of unblanking of the face of locking, thereby for user's safety provides better guarantee, the lock in the good own home of the user management of being used in is arranged more also simultaneously.
But, a function is arranged, although the probability that occurs is very little, but well do not solve.That be exactly handheld device lose or stolen after, how to allow handheld device lose the function of unlocking authority.Certainly, existing technology can address this problem, that is exactly that the user uses other handheld device to come back home, then resetting lock gets final product, but this solution has a prerequisite, be exactly that the user must at first come back home, then carry out the deletion of user right in the lock the inside, lose or stolen in handheld device, and user oneself does not come back home during this period of time, the people who probably finds handheld device has just in time found user's oneself home address in handheld device, then hold handheld device and entered the door of oneself.
Summary of the invention
The method and system of the unlocking authority of Long-distance Control handheld device, be used for to solve when user's handheld device and lose or stolen, and cannot go home again to arrange in the situation of handheld device, to the problem of losing or stolen handheld device unlocking authority freezes. at once
The method of the unlocking authority of Long-distance Control handheld device comprises:
1) when user's handheld device is added unlocking authority, platform account of prompting user registration;
2) platform account and user's authority is bound, and at Platform Server a corresponding function choosing-item is set;
3) user sends corresponding function command in the login of platform input account number cipher to platform;
4) platform sends corresponding function command by server to the handheld device client of appointment;
5) the handheld device client is carried out corresponding function according to the instruction of receiving, and according to the result who carries out, sends the instruction of success or not to server;
6) Platform Server is transmitted to the instruction of success or not the account of login platform again.
The method of the unlocking authority of Long-distance Control handheld device, the flow process of control domestic consumer authority comprises:
1) when user's handheld device is added unlocking authority, platform account of prompting user registration;
2) platform account and user's authority is bound, and at Platform Server a corresponding function choosing-item is set;
3) user sends corresponding function command by the handheld device client to platform;
4) platform sends corresponding function command by server to the handheld device client of appointment;
5) domestic consumer's handheld device client is carried out corresponding function according to the instruction of receiving, and according to the result who carries out, sends the instruction of success or not to server;
6) Platform Server is transmitted to the instruction of success or not administrator's account again.
In step 1, the platform account of user's registration can mandatory requirement user registration just can be added authority, also can add unlocking authority and register later on again and bind.
In step 2, the function choosing-item that function choosing-item can freeze, erase right can oneself be exercised in interior handheld device.
In said method, platform can be the website, also can be mobile client.
In said method, when can also work as user's handheld device and unblank, delete corresponding user at the unlocking authority of lock the inside.
The system of the unlocking authority of Long-distance Control handheld device comprises:
Handheld device, a kind of user carries, and has operating system, can set up applications, and have at least the short-distance wireless communication of comprising functional module.
The handheld device client, a kind of operating system according to handheld device, computer program with different versions, described handheld device has following functions at least: and server communication, with be locked into Serial Communication, to lock sending function instruction, receive the function command from handheld device, to the instruction of server sending function, carry out the function command from server.
Server by the internet access network, is built based on existing hardware environment, and the above's operation has computer program, and described server can be carried out following functions at least: receive the function command from handheld device, to the handheld device sending function instruction of appointment.
Lock body, a kind of have the complicated machinery assemblies such as lock panel, handle, circuit board, electric power system, lock core, key, lock body interior, can carry out short-distance wireless communication with handheld device, carry out the machinery of the function in unblanking to be latched in and the product of electronics combination, comprise at least; Storer; Microprocessor; And one or more modules, described one or more modules are stored in the described storer, and are configured to be carried out by described one or more processors, and described one or more modules comprise for carrying out following instruction: communicate by letter with handheld device; The execution logic flow that locking lock must process of unblanking receives the instruction from handheld device, carries out the instruction from handheld device.
In said system, the handheld device client is divided into two kinds of administrator right and domestic consumer's authorities.Thereby the handheld device client of administrator right can reach by the handheld device client that sends instruction control domestic consumer authority the handheld device of the affiliated client of control.
In said system, lock body does not carry out data communication with between the server.
The application of the invention, can realize following effect at least:
1, lose or stolen when user's handheld device, as long as handheld device can network, and the user can find the place of online, can allow handheld device can't enter the door at once.
2, the account as the user is the account with administrator right, can also be long-range the unlocking authority of deletion domestic consumer.
Description of drawings
Fig. 1 is the process flow diagram that the present invention freezes keeper's handheld device;
Fig. 2 is the process flow diagram that the present invention freezes common handheld device;
Fig. 3 is composition schematic diagram of the present invention.
Embodiment
Fig. 1 is the process flow diagram that the present invention freezes keeper's handheld device.Realization of the present invention need to be passed through following steps:
Step 101: when user's handheld device is added unlocking authority, platform account of prompting user registration.This platform account generally is the account that the producer oneself of lock sets up server, in the part situation, also can allow the user automatically create according to the mode of the account login of other platforms.The platform account of user's registration can mandatory requirement user registration just can be added authority, also can add unlocking authority and register later on again and bind.
Step 102: platform account and user's authority is bound, and at Platform Server a corresponding function choosing-item is set.If the user is at the beginning registration, just can register or login the platform account, then directly this account peace account family is bound, if the user does not register or login platform account, then can be in follow-up step, so allow user and the account bind, after binding success, a function choosing-item is set, after the login of user's usage platform account on platform, can directly see function choosing-item, and select this function choosing-item.
Step 103: the user sends corresponding function command in the login of platform input account number cipher to Platform Server.When user's handheld device is lost or stolen, in the situation that insurance, the user must allow handheld device or the stolen handheld device of losing lose the authority of opening the door, because might include home address on the handheld device, then find handheld device or steal to such an extent that the user of handheld device can enter the door by handheld device.When the user need to allow this handheld device lose authority, only need to login the account of oneself at the website platform of appointment or directly by the client of other handheld device, send corresponding instruction by the function choosing-item inside the account to platform subsequently.
Step 104: platform sends corresponding function command by server to the handheld device client of appointment.Because present intelligent handheld device, generally all can be connected with server connecting, so when server obtains after the instruction of user account, can be directly send corresponding function to user's handheld device client, if user's requirement is the unlocking authority that freezes handheld device, then send the unlocking authority that freezes handheld device, if customer requirements is the unlocking authority of deletion handheld device, then send the instruction of deletion handheld device unlocking authority.
Step 105: the handheld device client is carried out corresponding function according to the instruction of receiving, and according to the result who carries out, sends the instruction of success or not to server.If the handheld device client is received instruction, can carry out corresponding function to handheld device according to the instruction of receiving, according to the result who carries out, then send the instruction of success or not to server.
Step 106: Platform Server is transmitted to the instruction of success or not the account of login platform again.
Fig. 2 is the process flow diagram that the present invention freezes common handheld device.
Step 201: when user's handheld device is added unlocking authority, platform account of prompting user registration.This platform account generally is the account that the producer oneself of lock sets up server, in the part situation, also can allow the user automatically create according to the mode of the account login of other platforms.The platform account of user's registration can mandatory requirement user registration just can be added authority, also can add unlocking authority and register later on again and bind.
Step 202: platform account and user's authority is bound, and at Platform Server a corresponding function choosing-item is set.If the user is at the beginning registration, just can register or login the platform account, then directly this account peace account family is bound, if the user does not register or login platform account, then can be in follow-up step, so allow user and the account bind, after binding success, a function choosing-item is set, after the login of user's usage platform account on platform, can directly see function choosing-item, and select this function choosing-item.
Step 203: the user uses the handheld device client, sends corresponding function command to Platform Server.When the handheld device of the domestic consumer of the lock of user management is lost or stolen, in the situation that insurance, the user must allow handheld device or the stolen handheld device of losing lose the authority of opening the door, because might include home address on the handheld device, then find handheld device or steal to such an extent that the user of handheld device can enter the door by handheld device.When the user need to allow the handheld device of losing lose authority, can connect with lock, the account of then deleting the user gets final product, but this situation, need the user to come back home first, connect with lock, so be not to make things convenient for especially, and user's this process of also not coming back home, probably allowing and find handheld device or steal to such an extent that the people of handheld device enters the room, the user of administrator right freezes to have lost so need to have, the user who does not have administrator right, and the user with administrator right only needs the handheld device client, clicks corresponding option and sends corresponding instruction to server and get final product.
Step 204: platform sends corresponding function command by server to the handheld device client of appointment.Because present intelligent handheld device, generally all can be connected with server connecting, so the keeper can send instruction to server by the handheld device of oneself, and server obtains after keeper's the instruction, can be directly send corresponding function to other users' handheld device client, if user's requirement is the unlocking authority that freezes handheld device, then send the unlocking authority that freezes handheld device, if customer requirements is the unlocking authority of deletion handheld device, then send the instruction of deletion handheld device unlocking authority.
Step 205: the handheld device client is carried out corresponding function according to the instruction of receiving, and according to the result who carries out, sends the instruction of success or not to server.If the handheld device client is received instruction, can carry out corresponding function to handheld device according to the instruction of receiving, according to the result who carries out, then send the instruction of success or not to server.
Step 206: Platform Server is transmitted to the instruction of success or not administrator's account again.This moment, the keeper namely knew, whether domestic consumer freezes successfully.
Fig. 3 is composition schematic diagram of the present invention.In Fig. 3, the 302nd, lock body is installed on the door, according to different doors, has different patterns, and range of application is very wide, can be applied to the fields such as indoor, automobile, security protection.Lock body 302 is a kind ofly to have the complicated machinery assemblies such as lock panel, handle, circuit board, electric power system, lock core, key, lock body interior, can carry out short-distance wireless communication with handheld device, the machinery of the function in execution is unblanked to be latched in and the product of electronics combination comprise at least; Storer; Microprocessor; And one or more modules, described one or more modules are stored in the described storer, and are configured to be carried out by described one or more processors, and described one or more modules comprise for carrying out following instruction: communicate by letter with handheld device; The execution logic flow that locking lock must process of unblanking receives the instruction from handheld device, carries out the instruction from handheld device.303 and 304 is handheld devices, handheld device 303 and 304 is that a kind of user carries, has operating system, can set up applications, and has at least the electronic product that comprises the short-distance wireless communication functional module, by arranging at lock body 302, can allow handheld device 303 become the handheld device with administrator right, why can control lock body 302 because have the handheld device 303 of administrator right, that data by both sides connect to realize, so, the 305th, run on the application program with administrator right on the handheld device 303, i.e. the handheld device client, handheld device client 305 and 303 is a kind of operating system according to handheld device, computer program with different versions, described handheld device has following functions at least: and server communication and is locked into Serial Communication, to the instruction of lock sending function, reception to the instruction of server sending function, is carried out the function command from server from the function command of handheld device.In the part situation, the handheld device 303 with administrator right can according to demand, be specified a plurality of with the application program 305 with administrator right.304 also is handheld device, because lock body 302 is not given its administrator right, so be common handheld device, can exercise the function of common handheld device according to the authority of common handheld device, comprises unblanking etc.The 306th, run on the application program of the common authority on the conventional equipment 304.The application program 306 of common handheld device 304 and common authority can be set a plurality of equally according to demand.Handheld device 303 and the common handheld device 304 of administrator right all must have in-plant radio communication function, and such as bluetooth, the while is necessary accessing Internet again, the mode of concrete accessing Internet, can belong to existing known technology by various ways, repeat no more here.The 301st, server, by the internet access network, to build based on existing hardware environment, the above's operation has computer program, described server can be carried out following functions at least: receive the function command from handheld device, to the handheld device sending function instruction of appointment.Server generally is placed in the special machine room, gets involved the internet by large bandwidth.The handheld device 303 of administrator right and common handheld device 304 can be carried out data communication with server 301 by the internet.