CN105025048A - Smart lock access control method and system - Google Patents
Smart lock access control method and system Download PDFInfo
- Publication number
- CN105025048A CN105025048A CN201410164044.8A CN201410164044A CN105025048A CN 105025048 A CN105025048 A CN 105025048A CN 201410164044 A CN201410164044 A CN 201410164044A CN 105025048 A CN105025048 A CN 105025048A
- Authority
- CN
- China
- Prior art keywords
- smart lock
- virtual value
- network virtual
- webserver
- user
- 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.)
- Granted
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a smart lock access control method and system. The method comprises the following steps of controlling a client by means of a smart lock to acquire a network virtual value pushed by a network server according to a smart lock user ID, wherein, the network virtual value is formed by behavior data stored by the smart lock user in the network server; generating the smart lock access information according to the network virtual value; and controlling the smart lock access according to the generated access information. The system comprises a network virtual value acquiring module used for acquiring the network virtual value pushed by the network server according to the smart lock user ID, wherein, the network virtual value is formed by behavior data stored by the smart lock user in the network server; an access generating module used for generating the smart lock access information according to the network virtual value; and a control module used for controlling the smart lock access according to the generated access information. By means of the method and system provided in the invention, the smart lock use can be precisely tracked. Smart lock access control can be further achieved.
Description
Technical field
The present invention relates to Computer Applied Technology, particularly relate to a kind of method and system realizing smart lock control of authority.
Background technology
Along with appearance and the use of this class door lock of smart lock, smart lock is installed on door by increasing user, and is manipulated smart lock by the application of installing in various terminal equipment.
But in the use procedure of smart lock, what only also exist between smart lock and the application running on terminal equipment is mutual, and for the smart lock in enormous quantities dispatched from the factory, precisely cannot follow the tracks of its use, and then controls the rights of using of smart lock.
Summary of the invention
Based on this, be necessary for precisely following the tracks of the use of smart lock, to control the technical problem of the rights of using of smart lock, provide a kind of method realizing smart lock control of authority carrying out precisely tracking to the use of smart lock.
In addition, there is a need to provide a kind of system realizing smart lock control of authority carrying out precisely tracking to the use of smart lock.
Realize a method for smart lock control of authority, it is characterized in that, described method comprises the steps:
By the network virtual value that the smart lock control client acquisition webserver pushes according to smart lock user ID, described network virtual value is the behavioral data that smart lock user is stored in the webserver;
The authority information of place smart lock is generated according to described network virtual value;
According to the authority information of described generation, described smart lock is carried out to the control of rights of using.
Wherein in an embodiment, before the step of the network virtual value that the described acquisition webserver pushes according to smart lock user ID, described method also comprises:
By the described webserver, the network virtual value of renewal corresponding for described smart lock user ID is pushed to described smart lock to control in client.
Wherein in an embodiment, described by the described webserver, by the network virtual value of renewal corresponding for described smart lock user ID, the step pushed in described smart lock control client comprises:
Intercept the network virtual value triggered in the described webserver to upgrade;
Judge whether the network virtual value stored in the webserver exists renewal, if yes, then
Extract the network virtual value upgraded, and obtain corresponding smart lock user ID according to the network virtual value of described renewal;
The network virtual value of described renewal is pushed according to described smart lock user ID.
Wherein in an embodiment, the described step generating the authority information of place smart lock according to described network virtual value comprises:
Current corresponding smart lock useful life is obtained according to described network virtual value;
Obtain the current useful life of described smart lock;
Judge whether the use of place smart lock expires according to described smart lock useful life and current useful life, if yes, then
Generate the authority information containing smart lock restriction and use instruction and wait to improve network virtual value message.
Wherein in an embodiment, the described authority information according to described generation carries out the control of rights of using step to described smart lock comprises:
Judge whether the operation triggering smart lock restriction use, if yes, then
Judge whether further to receive and the described network virtual value waiting to improve the renewal that network virtual value message conforms to, if NO, then
The operation that described in instruction triggers, smart lock restriction uses is used temporarily to lock place smart lock according to described smart lock restriction.
Realize a system for smart lock control of authority, described system comprises:
Network virtual value acquisition module, for obtaining the network virtual value that the webserver pushes according to smart lock user ID, described network virtual value is the behavioral data that smart lock user is stored in the webserver;
Permission build module, for generating the authority information of place smart lock according to described network virtual value;
Control module, for carrying out the control of rights of using to described smart lock according to the authority information of described generation.
Wherein in an embodiment, described system also comprises:
The webserver, controls in client for the network virtual value of renewal corresponding for described smart lock user ID being pushed to described smart lock.
Wherein in an embodiment, the described webserver comprises:
Intercepting unit, upgrading for intercepting the network virtual value triggered in the described webserver;
Judging unit, for judging whether the network virtual value stored in the webserver exists renewal, if yes, then notifies extraction unit;
Described extraction unit for extracting the network virtual value of renewal, and obtains corresponding smart lock user ID according to the network virtual value of described renewal;
Push unit, for pushing the network virtual value of described renewal according to described smart lock user ID.
Wherein in an embodiment, described permission build module comprises:
Useful life acquiring unit, for obtaining current corresponding smart lock useful life according to described network virtual value;
Use acquiring unit, for obtaining the current useful life of described smart lock;
Expire judging unit, for judging whether the use of place smart lock expires according to described smart lock useful life and current useful life, if yes, then notifies authority information generation unit;
Described authority information generation unit is for generating the authority information containing smart lock restriction and use instruction and wait to improve network virtual value message.
Wherein in an embodiment, described control module comprises:
Operation triggers judging unit, and for judging whether the operation triggering smart lock restriction use, if yes, then notice upgrades judging unit;
Described renewal judging unit is used for judging whether to receive and the described network virtual value waiting to improve the renewal that network virtual value message conforms to further, if NO, then and notify lock trigger element;
Described locking trigger element is used for using the operation that described in instruction triggers, smart lock restriction uses temporarily to lock place smart lock according to described smart lock restriction.
Above-mentionedly realize in the method and system of smart lock control of authority, its network virtual value pushed according to smart lock user ID is acquired by the webserver, the authority information of place smart lock is generated according to network virtual value, according to the authority information generated, smart lock is carried out to the control of operating right, for each smart lock user, the network virtual value corresponding to it is all there is in the webserver, the i.e. behavioral data of smart lock user in the webserver, therefore the use will the webserver being made to be able to precisely follow the tracks of smart lock under the effect of the smart lock user ID of network virtual value and correspondence, and then the control of authority of smart lock is realized by network virtual value.
Accompanying drawing explanation
Fig. 1 is the method flow diagram realizing smart lock control of authority in an embodiment;
The network virtual value of renewal corresponding for smart lock user ID to be pushed to by the webserver method flow diagram that smart lock controls in client in an embodiment by Fig. 2;
Fig. 3 is the method flow diagram of the authority information generating place smart lock in an embodiment according to network virtual value;
Fig. 4 is the method flow diagram of the control according to the authority information generated, smart lock being carried out to rights of using in an embodiment;
Fig. 5 is the system configuration schematic diagram realizing smart lock control of authority in an embodiment;
Fig. 6 is the structural representation of the webserver in an embodiment;
Fig. 7 is the structural representation of permission build module in an embodiment;
Fig. 8 is the structural representation of control module in an embodiment.
Embodiment
As shown in Figure 1, in one embodiment, a kind of method realizing smart lock control of authority, is applied to smart lock and controls client, comprise the steps:
Step 110, the network virtual value pushed according to smart lock user ID by the smart lock control client acquisition webserver, this network virtual value is the behavioral data that smart lock user is stored in the webserver.
In the present embodiment, smart lock is installed on door, wireless network will be passed through, such as, the mode of WIFI (WirelessFidelity, Wireless Fidelity), bluetooth, NFC (Near Field Communication, near-field communication) or Virtual network operator Operation Network controls client with the smart lock running on terminal equipment and carries out data interaction, to control client by smart lock, smart lock is manipulated, and then realize the operations such as the unlatching of smart lock and locking.
Smart lock controls in client, uniquely tagged user identity will be carried out by smart lock user ID, such as, this smart lock user ID can be control client to carry out unique identification corresponding to mutual smart lock with smart lock, wherein, a unique mark being it and distributing that each smart lock is all corresponding.
Control client with smart lock to carry out the mutual webserver and store the behavioral data corresponding to smart lock user ID and this smart lock user ID by being used for.Concrete, the webserver will to the smart lock user publishing web page page, and then the behavioral data triggering generation by smart lock user in this Webpage obtains corresponding network virtual value, smart lock controls client and will be acquired network virtual value corresponding to smart lock user ID by the webserver.
Step 130, generates the authority information of place smart lock according to network virtual value.
In the present embodiment, whether the use being used for controlling smart lock is had authority by the authority information of smart lock, if current smart lock is without rights of using, then locks this smart lock, and then smart lock cannot be used.The authority information of smart lock is by corresponding for the network virtual value of the smart lock user being and acquire, that is, the rights of using whether having a smart lock will be that the behavior that triggers in the Webpage issued at the webserver by smart lock user is relevant.
Concrete, such as, controlling client with smart lock, to carry out Webpage that the mutual webserver issues can be Webpage corresponding to virtual network social network sites, and also can be the Webpage corresponding to various forum, can also be the Webpage corresponding to various network shopping mall; The network virtual value that smart lock user produces in Webpage quantizes the behavior of smart lock user in Webpage, the behavioral data produced by smart lock user obtains, such as, it can be the form of liveness in virtual network social network sites, forum or integration, also can be the numerical value corresponding to consumption value, total mark of consumption or virtual coin in network shopping mall website, do not enumerate one by one at this, set according to the needs of actual operation flexibly.
Further, smart lock control client by with the webserver dock the network virtual value acquired corresponding to smart lock user ID, now, network virtual value and the parameter value preset are compared, judge that whether this network virtual value is beyond the parameter value preset, if yes, then generate the authority information that smart lock can continue to use, if NO, then the authority information containing smart lock restriction and use instruction and wait to improve network virtual value message is generated.
In addition, also corresponding smart lock useful life can be obtained according to the network virtual value acquired, and then by the life of smart lock useful life at corresponding authority information.
Step 150, carries out the control of rights of using to smart lock according to the authority information generated.
In the present embodiment, can know whether smart lock can have rights of using by the authority information generated, to realize the control of smart lock rights of using.
By process as above, will use the use of smart lock obtains unified control, and then make smart lock more orderly under the dual command of smart lock user and the webserver, ensure that the validity and reliability of the control of smart lock.
In addition, for not yet widely used smart lock, also by smart lock being controlled the docking of client and the webserver, the website known by user making smart lock be able to be issued by the webserver is promoted.
In other words, along with the increasingly extensive use of smart lock, also by smart lock control client and the webserver to fetching the popularization realizing rapidly the website that the webserver is issued.
In one embodiment, before above-mentioned steps 110, method as above also comprises:
By the webserver, the network virtual value of renewal corresponding for smart lock user ID is pushed to smart lock to control in client.
In the present embodiment, the network virtual value of renewal is pushed to corresponding smart lock and controls in client by the webserver in real time, to ensure that smart lock controls the real-time adjustment of smart lock useful life in client.
It is as shown in Figure 2, in one embodiment, above-mentioned that by the webserver, according to the propelling movement time limit of presetting, by network virtual value corresponding for smart lock user ID, the step pushed in smart lock control client comprises:
Step 201, intercepts the network virtual value triggered in the webserver and upgrades.
In the present embodiment, store smart lock user ID and the network virtual value corresponding with it in the webserver, wherein, the numerical value of network virtual value is behavioral data according to user and occurrence dynamics change, therefore, intercept to the network virtual value triggered in the webserver.
Step 203, judges whether the network virtual value stored in the webserver exists renewal, if yes, then enters step 205, if NO, then returns step 201.
In the present embodiment, there is renewal in the network virtual value stored in the webserver if determine, then the network virtual value of extracting directly renewal, and obtain the smart lock user ID corresponding with the network virtual value of this renewal.
Step 205, extracts the network virtual value upgraded, and obtains corresponding smart lock user ID according to the network virtual value upgraded.
Step 207, pushes the network virtual value upgraded according to smart lock user ID.
In the present embodiment, according to smart lock user ID, the network virtual value of renewal is pushed to smart lock and controls client, be able to precisely control smart lock useful life according to the network virtual value of renewal so that smart lock controls client.
It should be noted that, when smart lock use for the first time be activated time, by activationary time point corresponding for record, and correspondingly obtain certain smart lock useful life initial value.
Along with network virtual value renewal and push to smart lock control client, smart lock control client also by with activationary time point and corresponding smart lock useful life initial value for benchmark, that carries out current smart lock useful life according to the network virtual value upgraded increases progressively adjustment, realizes dynamic conditioning to make smart lock useful life along with the renewal of network virtual value.
In another embodiment, the activationary time point that smart lock is corresponding and smart lock useful life initial value also will be stored in the webserver on backstage, that is, in the webserver on backstage, the activationary time point that smart lock is corresponding and smart lock useful life initial value and smart lock user ID carry out corresponding stored.
After the network virtual value acquiring renewal, smart lock user ID corresponding to the network virtual value upgraded is extracted corresponding activationary time point and smart lock useful life initial value, and then the network virtual value that upgrades is carried out according to smart lock user ID, the propelling movement of activationary time point and smart lock useful life initial value, shortage of data is caused to avoid because smart lock controls the irregular operation of client, in other words, the storage all carrying out activationary time point and smart lock useful life initial value in client and the webserver will be controlled at smart lock, and then ensure that the safety and stability of smart lock control of authority.
As shown in Figure 3, in one embodiment, above-mentioned steps 130 comprises:
Step 131, obtains current corresponding smart lock useful life according to network virtual value.
In the present embodiment, determine smart lock useful life by according to the numerical values recited of network virtual value.
Step 133, obtains the current useful life of smart lock.
According to smart lock useful life and current useful life, step 135, judges whether the use of place smart lock expires, and if yes, then enters step 137, if NO, then returns step 133.
In the present embodiment, if determine current useful life reached smart lock useful life, then limit the use of smart lock, if determine current useful life do not reach smart lock useful life, then smart lock normally uses.
Step 137, generates the authority information containing smart lock restriction and use instruction and wait to improve network virtual value message.
In the present embodiment, smart lock restriction uses instruction to be used for limiting the authority of smart lock use, after if determine, the current useful life of smart lock reached the smart lock useful life corresponding with network virtual value, then illustrate that this smart lock cannot continue freely to be used, now, control by smart lock restriction instruction is able to extension Preset Time by making the normal use of smart lock, such as, delay one week, can normally be used upgrade the network virtual value in the webserver with smart lock user after, wherein, wait that improving network virtual value message will be used to indicate the network virtual value numerical value upgraded required for smart lock user.
As shown in Figure 4, in one embodiment, above-mentioned steps 150 comprises:
Step 151, judges whether the operation triggering smart lock restriction use, if yes, then enters step 155, if NO, then terminate.
In the present embodiment, will judge that whether there is smart lock restriction in the authority information generated uses instruction, if yes, then triggers the operation that smart lock restriction uses, smart lock useful life is extended to Preset Time, and enters step 153 and further judge.
Step 153, judges whether further to receive and the network virtual value waiting to improve the renewal that network virtual value message conforms to, if NO, then enters step 155, if yes, is terminate.
In the present embodiment, smart lock user is after having checked that being shown in treating in smart lock control client improves network virtual value message, the renewal carrying out network virtual value in the Webpage that the webserver issues will be carried out, such as, improve integration or consumption value in wherein Webpage, the object reaching and improve network virtual value of carrying out paying the fees etc., to exchange longer smart lock useful life for by raising network virtual value.
Step 155, temporarily locks place smart lock according to the operation that smart lock restriction uses the restriction of instruction triggers smart lock to use.
In the present embodiment, the network virtual value again acquired by the webserver with wait that improving network virtual value message does not conform to, then use instruction temporarily to lock smart lock when current useful life reaches the extended period of smart lock useful life according to smart lock restriction, normally cannot use smart lock to make smart lock user.
As shown in Figure 5, in one embodiment, a kind of system realizing smart lock control of authority, is applied to smart lock and controls client, comprise network virtual value acquisition module 510, permission build module 530 and control module 550.
Network virtual value acquisition module 510, for obtaining the network virtual value that the webserver pushes according to smart lock user ID, network virtual value is the behavioral data that smart lock user is stored in the webserver.
In the present embodiment, smart lock is installed on door, wireless network will be passed through, such as, the mode of WIFI (WirelessFidelity, Wireless Fidelity), bluetooth, NFC (Near Field Communication, near-field communication) or Virtual network operator Operation Network controls client with the smart lock running on terminal equipment and carries out data interaction, to control client by smart lock, smart lock is manipulated, and then realize the operations such as the unlatching of smart lock and locking.
Smart lock controls in client, uniquely tagged user identity will be carried out by smart lock user ID, such as, this smart lock user ID can be control client to carry out unique identification corresponding to mutual smart lock with smart lock, wherein, a unique mark being it and distributing that each smart lock is all corresponding.
Control client with smart lock to carry out the mutual webserver and store the behavioral data corresponding to smart lock user ID and this smart lock user ID by being used for.Concrete, the webserver will to the smart lock user publishing web page page, and then the behavioral data triggering generation by smart lock user in this Webpage obtains corresponding network virtual value, the network virtual value acquisition module 510 that smart lock controls in client will be acquired network virtual value corresponding to smart lock user ID by the webserver.
Permission build module 530, for generating the authority information of place smart lock according to network virtual value.
In the present embodiment, whether the use being used for controlling smart lock is had authority by the authority information of smart lock, if current smart lock is without rights of using, then will lock this smart lock, and then smart lock cannot be used.The authority information of smart lock is by corresponding for the network virtual value of the smart lock user being and acquire, that is, the rights of using whether having a smart lock will be that the behavior that triggers in the Webpage issued at the webserver by smart lock user is relevant.
Concrete, such as, controlling client with smart lock, to carry out Webpage that the mutual webserver issues can be Webpage corresponding to virtual network social network sites, and also can be the Webpage corresponding to various forum, can also be the Webpage corresponding to various network shopping mall; The network virtual value that smart lock user produces in Webpage quantizes the behavior of smart lock user in Webpage, the behavioral data produced by smart lock user obtains, such as, it can be the form of liveness in virtual network social network sites, forum or integration, also can be the numerical value corresponding to consumption value, total mark of consumption or virtual coin in network shopping mall website, do not enumerate one by one at this, set according to the needs of actual operation flexibly.
Further, smart lock control permission build module 530 in client by with the webserver dock the network virtual value acquired corresponding to smart lock user ID, now, network virtual value and the parameter value preset are compared, judge that whether this network virtual value is beyond the parameter value preset, if yes, then generate the authority information that smart lock can continue to use, if NO, then the authority information containing smart lock restriction and use instruction and wait to improve network virtual value message is generated.
In addition, permission build module 530 also can obtain corresponding smart lock useful life according to the network virtual value acquired, and then by the life of smart lock useful life at corresponding authority information.
Control module 550, for carrying out the control of rights of using to smart lock according to the authority information generated.
In the present embodiment, by the authority information generated, control module 550 can know whether smart lock can have rights of using, to realize the control of smart lock rights of using.
By process as above, will use the use of smart lock obtains unified control, and then make smart lock more orderly under the dual command of smart lock user and the webserver, ensure that the validity and reliability of the control of smart lock.
In addition, for not yet widely used smart lock, also by smart lock being controlled the docking of client and the webserver, the website known by user making smart lock be able to be issued by the webserver is promoted.
In other words, along with the increasingly extensive use of smart lock, also by smart lock control client and the webserver to fetching the popularization realizing rapidly the website that the webserver is issued.
In one embodiment, system as above further comprises the webserver.
The webserver, controls in client for the network virtual value of renewal corresponding for smart lock user ID being pushed to smart lock.
In the present embodiment, the network virtual value of renewal is pushed to corresponding smart lock and controls in client by the webserver in real time, to ensure that smart lock controls the real-time adjustment of smart lock useful life in client.
As shown in Figure 6, in one embodiment, the above-mentioned webserver 600 includes and intercepts unit 601, judging unit 603, extraction unit 605 and push unit 607.
Intercepting unit 601, upgrading for intercepting the network virtual value triggered in the webserver.
In the present embodiment, smart lock user ID and the network virtual value corresponding with it is stored in the webserver 600, wherein, the numerical value of network virtual value is behavioral data according to user and occurrence dynamics change, therefore, intercept unit 601 to intercept to the network virtual value triggered in the webserver 600.
Judging unit 603, for judging whether the network virtual value stored in the webserver 600 exists renewal, if yes, then notify extraction unit 605, if NO, then notice intercepts unit 601.
In the present embodiment, if judging unit 603 determines the network virtual value stored in the webserver 600 there is renewal, then notify the network virtual value that extraction unit 605 extracting directly upgrades, and obtain the smart lock user ID corresponding with the network virtual value of this renewal.
Extraction unit 605, for extracting the network virtual value of renewal, and obtains corresponding smart lock user ID according to the network virtual value upgraded.
Push unit 607, for pushing the network virtual value upgraded according to smart lock user ID.
In the present embodiment, the network virtual value of renewal is pushed to smart lock according to smart lock user ID and controls client by push unit 607, is able to precisely control smart lock useful life according to the network virtual value of renewal so that smart lock controls client.
It should be noted that, when smart lock use for the first time be activated time, by activationary time point corresponding for record, and correspondingly obtain certain smart lock useful life initial value.
Along with network virtual value renewal and push to smart lock control client, smart lock control client also by with activationary time point and corresponding smart lock useful life initial value for benchmark, that carries out current smart lock useful life according to the network virtual value upgraded increases progressively adjustment, realizes dynamic conditioning to make smart lock useful life along with the renewal of network virtual value.
In another embodiment, the activationary time point that smart lock is corresponding and smart lock useful life initial value also will be stored in the webserver 600 on backstage, that is, in the webserver 600 on backstage, the activationary time point that smart lock is corresponding and smart lock useful life initial value and smart lock user ID carry out corresponding stored.
After the network virtual value acquiring renewal, smart lock user ID corresponding to the network virtual value upgraded is extracted corresponding activationary time point and smart lock useful life initial value, and then the network virtual value that upgrades is carried out according to smart lock user ID, the propelling movement of activationary time point and smart lock useful life initial value, shortage of data is caused to avoid because smart lock controls the irregular operation of client, in other words, the storage all carrying out activationary time point and smart lock useful life initial value in client and the webserver 600 will be controlled at smart lock, and then ensure that the safety and stability of smart lock control of authority.
Push time limit acquiring unit 601, for obtaining the corresponding propelling movement time limit according to the smart lock user ID stored.
In the present embodiment, the propelling movement time limit can be undertaken unifying to arrange by the webserver, also can carry out personal settings by the webserver for each smart lock user, the propelling movement time limit acquiring unit 601 in the webserver will obtain the corresponding propelling movement time limit according to smart lock user ID.
Interval stats unit 603, for adding up propelling movement interval corresponding to smart lock user ID.
In the present embodiment, after the propelling movement of primary network virtual value is completed to the smart lock control client at smart lock user ID place, triggering statistics is pushed interval, until stop the statistics at current carried out propelling movement interval when carrying out the propelling movement of network virtual value next time by interval stats unit 603 accordingly.
Push judging unit 605, for judging that whether push interval reaches the propelling movement time limit, if yes, then notifies push unit 607, if NO, then reporting interval statistic unit 603.
In the present embodiment, if propelling movement judging unit 605 determines propelling movement interval and reaches the propelling movement time limit pre-set, then notify that push unit 607 carries out the propelling movement of network virtual value, push interval if determine and do not reach the propelling movement time limit pre-set, then need reporting interval statistic unit 603 to proceed to push the statistics at interval.
Push unit 607, for extracting network virtual value according to smart lock user ID, and pushes the network virtual value extracted according to smart lock user ID.
In the present embodiment, when the propelling movement interval of statistics reaches and pushes the time limit, push unit 607 will extract network virtual value corresponding to smart lock user ID, controls in client the network virtual value of extraction is pushed to smart lock according to smart lock user ID.
As shown in Figure 7, in one embodiment, above-mentioned permission build module 530 comprises useful life acquiring unit 531, uses acquiring unit 533, expire judging unit 535 and authority information generation unit 537.
Useful life acquiring unit 531, for obtaining current corresponding smart lock useful life according to network virtual value.
In the present embodiment, the number according to network virtual value is determined smart lock useful life by useful life acquiring unit 531.
Use acquiring unit 533, for obtaining the current useful life of smart lock.
Expire judging unit 535, for judging whether the use of place smart lock expires according to smart lock useful life and current useful life, if yes, then notifies authority information generation unit 537, if NO, then stops performing.
In the present embodiment, if the judging unit 535 that expires determines current useful life reached smart lock useful life, then limit the use of smart lock, if determine current useful life do not reach smart lock useful life, then smart lock normally uses.
Authority information generation unit 537, for generating the authority information containing smart lock restriction and use instruction and wait to improve network virtual value message.
In the present embodiment, smart lock restriction uses instruction to be used for limiting the authority of smart lock use, after if determine, the current useful life of smart lock reached the smart lock useful life corresponding with network virtual value, then illustrate that this smart lock cannot continue freely to be used, now, control by smart lock restriction instruction is able to extension Preset Time by making the normal use of smart lock, such as, delay one week, can normally be used upgrade the network virtual value in the webserver with smart lock user after, wherein, wait that improving network virtual value message will be used to indicate the network virtual value numerical value upgraded required for smart lock user.
As shown in Figure 8, in one embodiment, above-mentioned control module 550 comprises operation triggering judging unit 551, upgrades judging unit 553 and locking triggering 555.
Operation triggers judging unit 551, and for judging whether the operation triggering smart lock restriction use, if yes, then notice upgrades judging unit 553, if NO, then stops performing.
In the present embodiment, operation triggers judging unit 551 and uses instruction by whether there is smart lock restriction in the authority information judging to generate, if yes, then trigger the operation that smart lock restriction uses, smart lock useful life is extended to Preset Time, and notice renewal judging unit 553 further judges.
Upgrading judging unit 553, receiving and the network virtual value waiting to improve the renewal that network virtual value message conforms to for judging whether further, if NO, then notify lock trigger element 555, if yes, then stops performing.
In the present embodiment, smart lock user is after having checked that being shown in treating in smart lock control client improves network virtual value message, the renewal carrying out network virtual value in the Webpage that the webserver issues will be carried out, such as, improve integration or consumption value in wherein Webpage, the object reaching and improve network virtual value of carrying out paying the fees etc., to exchange longer smart lock useful life for by raising network virtual value.
Locking trigger element 555, temporarily locks place smart lock for the operation using the restriction of instruction triggers smart lock to use according to smart lock restriction.
In the present embodiment, the network virtual value again acquired by the webserver with wait that improving network virtual value message does not conform to, then locking trigger element 555 uses instruction temporarily to lock smart lock when current useful life reaches the extended period of smart lock useful life according to smart lock restriction, normally cannot use smart lock to make smart lock user.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.
Claims (10)
1. realize a method for smart lock control of authority, it is characterized in that, described method comprises the steps:
By the network virtual value that the smart lock control client acquisition webserver pushes according to smart lock user ID, described network virtual value is the behavioral data that smart lock user is stored in the webserver;
The authority information of place smart lock is generated according to described network virtual value;
According to the authority information of described generation, described smart lock is carried out to the control of rights of using.
2. method according to claim 1, is characterized in that, before the step of the network virtual value that the described acquisition webserver pushes according to smart lock user ID, described method also comprises:
By the described webserver, the network virtual value of renewal corresponding for described smart lock user ID is pushed to described smart lock to control in client.
3. method according to claim 2, is characterized in that, described by the described webserver, by the network virtual value of renewal corresponding for described smart lock user ID, the step pushed in described smart lock control client comprises:
Intercept the network virtual value triggered in the described webserver to upgrade;
Judge whether the network virtual value stored in the webserver exists renewal, if yes, then
Extract the network virtual value upgraded, and obtain corresponding smart lock user ID according to the network virtual value of described renewal;
The network virtual value of described renewal is pushed according to described smart lock user ID.
4. method according to claim 1, is characterized in that, the described step generating the authority information of place smart lock according to described network virtual value comprises:
Current corresponding smart lock useful life is obtained according to described network virtual value;
Obtain the current useful life of described smart lock;
Judge whether the use of place smart lock expires according to described smart lock useful life and current useful life, if yes, then
Generate the authority information containing smart lock restriction and use instruction and wait to improve network virtual value message.
5. method according to claim 4, is characterized in that, the described authority information according to described generation carries out the control of rights of using step to described smart lock comprises:
Judge whether the operation triggering smart lock restriction use, if yes, then
Judge whether further to receive and the described network virtual value waiting to improve the renewal that network virtual value message conforms to, if NO, then
The operation that described in instruction triggers, smart lock restriction uses is used temporarily to lock place smart lock according to described smart lock restriction.
6. realize a system for smart lock control of authority, it is characterized in that, described system comprises:
Network virtual value acquisition module, for obtaining the network virtual value that the webserver pushes according to smart lock user ID, described network virtual value is the behavioral data that smart lock user is stored in the webserver;
Permission build module, for generating the authority information of place smart lock according to described network virtual value;
Control module, for carrying out the control of rights of using to described smart lock according to the authority information of described generation.
7. system according to claim 6, is characterized in that, described system also comprises:
The webserver, controls in client for the network virtual value of renewal corresponding for described smart lock user ID being pushed to described smart lock.
8. system according to claim 7, is characterized in that, the described webserver comprises:
Intercepting unit, upgrading for intercepting the network virtual value triggered in the described webserver;
Judging unit, for judging whether the network virtual value stored in the webserver exists renewal, if yes, then notifies extraction unit;
Described extraction unit for extracting the network virtual value of renewal, and obtains corresponding smart lock user ID according to the network virtual value of described renewal;
Push unit, for pushing the network virtual value of described renewal according to described smart lock user ID.
9. system according to claim 6, is characterized in that, described permission build module comprises:
Useful life acquiring unit, for obtaining current corresponding smart lock useful life according to described network virtual value;
Use acquiring unit, for obtaining the current useful life of described smart lock;
Expire judging unit, for judging whether the use of place smart lock expires according to described smart lock useful life and current useful life, if yes, then notifies authority information generation unit;
Described authority information generation unit is for generating the authority information containing smart lock restriction and use instruction and wait to improve network virtual value message.
10. system according to claim 9, is characterized in that, described control module comprises:
Operation triggers judging unit, and for judging whether the operation triggering smart lock restriction use, if yes, then notice upgrades judging unit;
Described renewal judging unit is used for judging whether to receive and the described network virtual value waiting to improve the renewal that network virtual value message conforms to further, if NO, then and notify lock trigger element;
Described locking trigger element is used for using the operation that described in instruction triggers, smart lock restriction uses temporarily to lock place smart lock according to described smart lock restriction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410164044.8A CN105025048B (en) | 2014-04-22 | 2014-04-22 | Realize the method and system of smart lock permission control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410164044.8A CN105025048B (en) | 2014-04-22 | 2014-04-22 | Realize the method and system of smart lock permission control |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105025048A true CN105025048A (en) | 2015-11-04 |
CN105025048B CN105025048B (en) | 2018-12-18 |
Family
ID=54414750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410164044.8A Expired - Fee Related CN105025048B (en) | 2014-04-22 | 2014-04-22 | Realize the method and system of smart lock permission control |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105025048B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111243138A (en) * | 2020-01-13 | 2020-06-05 | 上海威派格智慧水务股份有限公司 | Real-time access control authentication method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012151290A1 (en) * | 2011-05-02 | 2012-11-08 | Apigy Inc. | Systems and methods for controlling a locking mechanism using a portable electronic device |
CN103188230A (en) * | 2011-12-29 | 2013-07-03 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and data protection method thereof |
CN103617661A (en) * | 2013-11-18 | 2014-03-05 | 南京物联传感技术有限公司 | Wireless unlocking system and unlocking method thereof |
CN103617450A (en) * | 2013-11-22 | 2014-03-05 | 杭州车厘子智能科技有限公司 | Car sharing method and system |
-
2014
- 2014-04-22 CN CN201410164044.8A patent/CN105025048B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012151290A1 (en) * | 2011-05-02 | 2012-11-08 | Apigy Inc. | Systems and methods for controlling a locking mechanism using a portable electronic device |
CN103188230A (en) * | 2011-12-29 | 2013-07-03 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and data protection method thereof |
CN103617661A (en) * | 2013-11-18 | 2014-03-05 | 南京物联传感技术有限公司 | Wireless unlocking system and unlocking method thereof |
CN103617450A (en) * | 2013-11-22 | 2014-03-05 | 杭州车厘子智能科技有限公司 | Car sharing method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111243138A (en) * | 2020-01-13 | 2020-06-05 | 上海威派格智慧水务股份有限公司 | Real-time access control authentication method |
Also Published As
Publication number | Publication date |
---|---|
CN105025048B (en) | 2018-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105118127A (en) | Visiting system and control method thereof | |
CN111971943B (en) | Trusted platform module based prepaid access token for commercial IoT online services | |
CN201878190U (en) | Account filling-out-based single point login platform | |
CN103327119B (en) | Remote control method, device and system | |
CN101764819A (en) | methods and systems for detecting man-in-the-browser attacks | |
AU2014316817B2 (en) | Secured mobile communications device | |
CN104199654A (en) | Open platform calling method and device | |
CN104881667A (en) | Characteristic information extraction method and apparatus | |
CN104281520A (en) | Tracking and debugging method, device and system | |
CN103402195A (en) | Application processing method of enterprise-level mobile terminal and enterprise-level mobile application platform | |
CN104270467A (en) | Virtual machine managing and controlling method for mixed cloud | |
CN105471815A (en) | Internet-of-things data security method and Internet-of-things data security device based on security authentication | |
CN103778395A (en) | Application installation method for near field communication (NFC) terminal and near field communication (NFC) terminal | |
CN102801711A (en) | Autonomous controllable website safety defensive system based on hardware processing board | |
US10037248B2 (en) | Method and system for managing secure element | |
CN103092645A (en) | Geographic spatial information application system and implement method thereof based on microkernel technology | |
CN103491086A (en) | Safety payment method and device for mobile terminal | |
CN104866772A (en) | Computer access control method and system based on physical environment perception | |
CN103442012A (en) | Method and device for realizing subscription information transfer between devices of Internet of things | |
CN104125223A (en) | Security defending system for private data of mobile device | |
CN102968588B (en) | Intelligent terminal system | |
CN103246846A (en) | Method and device for detecting safety of customized ROM (read only memory) | |
CN105025048A (en) | Smart lock access control method and system | |
CN105188059A (en) | Authentication method based on Portal server abnormity, and wireless access point | |
CN101175315A (en) | Method and system for updating control mobile station |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20181218 Termination date: 20200422 |
|
CF01 | Termination of patent right due to non-payment of annual fee |