CN107492167A - A kind of method, apparatus and computer-readable recording medium for releasing door-control lock - Google Patents

A kind of method, apparatus and computer-readable recording medium for releasing door-control lock Download PDF

Info

Publication number
CN107492167A
CN107492167A CN201710575983.5A CN201710575983A CN107492167A CN 107492167 A CN107492167 A CN 107492167A CN 201710575983 A CN201710575983 A CN 201710575983A CN 107492167 A CN107492167 A CN 107492167A
Authority
CN
China
Prior art keywords
door
lock
user
mark
control lock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710575983.5A
Other languages
Chinese (zh)
Inventor
廖宇
袁敏
钟咏
孙磊
陈少权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MIGU Music Co Ltd
Original Assignee
MIGU Music Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by MIGU Music Co Ltd filed Critical MIGU Music Co Ltd
Priority to CN201710575983.5A priority Critical patent/CN107492167A/en
Publication of CN107492167A publication Critical patent/CN107492167A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a kind of method for releasing door-control lock, this method includes:Receive unlocking request;The mark of unlocker device is treated in the unlocking request comprising the first user mark and first;Described first treats unlocker device, is provided with door-control lock, and, it is provided with the controller that the door-control lock locking or unblock are controlled according to different instruction;According to first user mark and the first mark for treating unlocker device, judge in the mapping relations that pre-save, if exist the first user mark and first treat unlocker device mark mapping relations;If judged result releases the lock-out state of the door-control lock to exist.The invention also discloses a kind of device and computer-readable recording medium for releasing door-control lock.Using the method, apparatus and computer-readable recording medium of releasing door-control lock provided by the invention, door-control lock can be intelligently released, lifts Consumer's Experience.

Description

A kind of method, apparatus and computer-readable recording medium for releasing door-control lock
Technical field
The present invention relates to intelligent entrance guard technology, more particularly to a kind of method, apparatus for releasing door-control lock and computer-readable Storage medium.
Background technology
At present, mini K songs room is appeared in increasing city.Mini K songs room is to be based on consumer's fragmentation time Demand and it is caused.The door lock in existing mini K songs room needs user manually to operate the mode of door lock, carries out beating for door lock It is fixed to open and lock.So, user is when entering or leaving mini K songs room, it is necessary to carries out switch door lock operation manually, process compares It is cumbersome.
For example, in the case where the user in mini K song room being used in room away from keyboard and being then returned to room, The mode for being required to manually operated door lock carries out switch door lock operation, and Consumer's Experience is poor.
The content of the invention
In order to solve the above technical problems, the embodiment of the present invention provides a kind of method, apparatus and computer for releasing door-control lock Readable storage medium storing program for executing, door-control lock is released with intelligence, lifts Consumer's Experience.
What the technical scheme of the embodiment of the present invention was realized in:
The embodiment of the present invention provides a kind of method for releasing door-control lock, including:Receive unlocking request;In the unlocking request The mark of unlocker device is treated comprising the first user mark and first;Described first treats unlocker device, is provided with door-control lock, and, It is provided with the controller that the door-control lock locking or unblock are controlled according to different instruction;
According to first user mark and the first mark for treating unlocker device, judge in the mapping relations that pre-save, The mapping relations of the mark of unlocker device are treated with the presence or absence of first user mark and first;Wherein, it is described to pre-save Mapping relations, to treat the mark of unlocker device and in predetermined time period possessing to treat the use of the user of unlocker device unblock authority Mapping relations between the mark of family;The predetermined time period includes receiving the time point of the unlocking request;It is described predetermined Period length, treat determining using duration for unlocker device for described according to what user asked;
If judged result releases the lock-out state of the door-control lock to exist.
It is described to treat that unlocker device sings room for mini K in such scheme.
In such scheme, methods described also includes:
If judged result is in the absence of execution maintains the operation of the door-control lock lock-out state.
In such scheme, methods described also includes:
The unlocking request is operated by the first user by terminal APP triggerings two-dimensional code scanning or tab character input operation After send, the Quick Response Code and the tab character include the described first mark for treating unlocker device.
In such scheme, when the first user mark specifically includes the first identifying code that the first user is inputted by APP, Methods described also includes:
Before unlocking request is received, treat that the user of unlocker device unblock authority sends and described the to possessing described first One treats identifying code corresponding to unlocker device.
In such scheme, after the lock-out state for releasing the door-control lock, methods described also includes:
Since the lock-out state for releasing the door-control lock when timing, to obtain the first timing duration;
Monitor the state of the door-control lock;
When the first timing duration is equal to default threshold value, if snoop results be the door-control lock still in unlocked State, then the door-control lock is controlled to enter lock-out state.
In such scheme, methods described also includes:
From when controlling the door-control lock to enter the lock-out state, start timing, to obtain the second timing duration;When described When second timing duration uses duration equal to residue, the lock-out state of the door-control lock is released;
Wherein, the residue uses duration, according to user corresponding to first user mark ask for described the One treats that the duration that uses of unlocker device, and the user are determined using the duration of first unlocker device.
The embodiment of the present invention provides another method for releasing door-control lock, including:
Generate unlocking request;The mark of unlocker device is treated in the unlocking request comprising the first user mark and first;Institute State first and treat unlocker device, be provided with door-control lock, and, it is provided with and the door-control lock locking or unblock is controlled according to different instruction Controller;
Unlocking request is sent to server, waits to solve according to unlocking request unblock described first to trigger the server Lock device.
In such scheme, methods described also includes:
The unlocking request by the first user trigger two-dimensional code scanning operate or tab character input operation after send, it is described Quick Response Code and the tab character include the described first mark for treating unlocker device.
The embodiment of the present invention provides another method for releasing door-control lock, including:
The first control instruction that the reception server is sent;First control instruction, it is that server is judging to pre-save Mapping relations in, the first user mark included in the unlocking request that the server receives be present and first treat that unblock is set Sent after the mapping relations of standby mark;The mapping relations pre-saved, to treat the mark of unlocker device and making a reservation for Possess the mapping relations between the user's mark for the user for treating unlocker device unblock authority in period;The predetermined time period Time point including receiving the unlocking request;The length of the predetermined time period, according to user's request for described Treat being determined using duration for unlocker device;
The lock-out state of the door-control lock is released according to first control instruction.
In such scheme, methods described also includes:After the lock-out state for releasing door-control lock,
The second control instruction that the reception server is sent;Second control instruction is server in the first timing duration During equal to default threshold value, if it is the door-control lock still in unlocked state to monitor the snoop results of the state of the door-control lock When send;During first timing a length of server since the lock-out state for releasing the door-control lock when obtained by timing The timing duration arrived;
The door-control lock is controlled to enter lock-out state according to second control instruction.
In such scheme, methods described also includes:
After the door-control lock enters lock-out state, the 3rd control instruction of the reception server transmission;3rd control refers to Order, it is that server is sent when the second timing duration uses duration equal to residue;A length of service during second timing Timing duration of the device since when controlling the door-control lock to enter the lock-out state obtained by timing;
The lock-out state of the door-control lock is released according to the 3rd control instruction;
Wherein, the residue uses duration, according to user corresponding to first user mark ask for described the One treats that the duration that uses of unlocker device, and the user are determined using the duration of first unlocker device.
The present invention provides a kind of device for releasing door-control lock in implementing, including:
First receiving unit, for receiving unlocking request;Treated in the unlocking request comprising the first user mark and first The mark of unlocker device;Described first treats unlocker device, is provided with door-control lock, and, it is provided with and institute is controlled according to different instruction State the controller of door-control lock locking or unblock;
First judging unit, for treating the mark of unlocker device according to first user mark and first, judge advance In the mapping relations of preservation, if the mapping relations of the first user mark and the first mark for treating unlocker device be present;Its In, the mapping relations pre-saved, to treat the mark of unlocker device and in predetermined time period possessing to treat unlocker device Unlock the mapping relations between user's mark of the user of authority;The predetermined time period includes receiving the unlocking request Time point;The length of the predetermined time period, the true using duration of unlocker device is treated for described according to what user asked It is fixed;
First execution unit, in the presence of being in judged result, then release the lock-out state of the door-control lock.
In such scheme, first execution unit is additionally operable to:
If judged result is in the absence of execution maintains the operation of the door-control lock lock-out state.
In such scheme, when the first user mark specifically includes the first identifying code that the first user is inputted by APP, Described device also includes the first transmitting element, is used for:
Before unlocking request is received, treat that the user of unlocker device unblock authority sends and described the to possessing described first One treats identifying code corresponding to unlocker device.
In such scheme, described device also includes:Timing unit, for being opened during the lock-out state of the releasing door-control lock certainly Beginning timing, to obtain the first timing duration;
Monitoring unit, for monitoring the state of the door-control lock;First execution unit is additionally operable to, when the described first meter When Shi Shichang is equal to default threshold value, if snoop results be the door-control lock still in unlocked state, control the gate inhibition It is locked into lock-out state.
In such scheme, the timing unit is additionally operable to, and from when controlling the door-control lock to enter the lock-out state, is started Timing, to obtain the second timing duration;
First execution unit is additionally operable to, when the second timing duration, which is equal to residue, uses duration, described in releasing The lock-out state of door-control lock;
Wherein, the residue uses duration, according to user corresponding to first user mark ask for described the One treats that the duration that uses of unlocker device, and the user are determined using the duration of first unlocker device.
The embodiment of the present invention provides a kind of computer-readable recording medium, is stored thereon with computer program, the calculating Machine program realizes the step of method corresponding to the device that door-control lock is released in above-mentioned technical proposal when being executed by processor.
The embodiment of the present invention provide it is a kind of release door-control lock device, it is described release door-control lock device include processor and For storing the memory for the computer program that can be run on a processor,
Wherein, when the processor is used to run the computer program, performs in above-mentioned technical proposal and release door-control lock Device corresponding to method the step of.
The embodiment of the present invention provides a kind of device for releasing door-control lock, including:
Generation unit, for generating unlocking request, wait to unlock comprising the first user mark and first in the unlocking request The mark of equipment;Described first treats unlocker device, is provided with door-control lock, and, it is provided with and the door is controlled according to different instruction Prohibit the controller of lock locking or unblock;
Second transmitting element, please according to the unblock to trigger the server for sending unlocking request to server Solve lock described first and treat unlocker device.
The embodiment of the present invention provides a kind of computer-readable recording medium, is stored thereon with computer program, the calculating Machine program realizes the step of method corresponding to the device that door-control lock is released in above-mentioned technical proposal when being executed by processor.
The embodiment of the present invention provides another device for releasing door-control lock, and the device for releasing door-control lock includes processor With for storing the memory of computer program that can be run on a processor,
Wherein, when the processor is used to run the computer program, performs in above-mentioned technical proposal and release door-control lock Device corresponding to method the step of.
The embodiment of the present invention provides the device of another unblock door-control lock, and described device includes:
Second receiving unit, the first control instruction sent for the reception server;First control instruction, it is service The the first user mark included in the unlocking request that the server receives be present in the mapping relations for judging to pre-save in device Know what is sent with first after the mapping relations of the mark of unlocker device;The mapping relations pre-saved, to treat that unblock is set Mapping relations between standby mark and the user's mark for possessing the user for treating unlocker device unblock authority within a predetermined period of time; The predetermined time period includes receiving the time point of the unlocking request;The length of the predetermined time period, according to Family request treats being determined using duration for unlocker device for described;Second execution unit, for being referred to according to the described first control Order releases the lock-out state of the door-control lock.
The embodiment of the present invention provides a kind of computer-readable recording medium, is stored thereon with computer program, the calculating Machine program realizes the step of method corresponding to the device that door-control lock is released in above-mentioned technical proposal when being executed by processor.
The embodiment of the present invention provide it is a kind of release door-control lock device, it is described release door-control lock device include processor and For storing the memory for the computer program that can be run on a processor,
Wherein, when the processor is used to run the computer program, performs in above-mentioned technical proposal and release door-control lock Device corresponding to method the step of.
The method, apparatus of releasing door-control lock and the technical side of computer-readable recording medium that the embodiment of the present invention is provided In case, according to the first user mark and the first mark for treating unlocker device got, judge in the mapping relations that pre-save, The mapping relations of the mark of unlocker device are treated with the presence or absence of first user mark and first, and are solved in the presence of judged result is , can be intelligently compared to manually operated door-control lock more of the prior art except the first lock-out state for treating unlocker device door-control lock Door-control lock is released, lifts Consumer's Experience.
Brief description of the drawings
Fig. 1 is the implementation process figure for the method that the embodiment of the present invention one releases door-control lock;
Fig. 2 is server, client and the interaction schematic diagram for treating unlocker device in the embodiment of the present invention;
Fig. 3 is the implementation process figure for the method that the embodiment of the present invention three releases door-control lock;
Fig. 4 is the composition structural representation for the device that the embodiment of the present invention four releases door-control lock;
Fig. 5 is the composition structural representation for the device that the embodiment of the present invention six releases door-control lock.
Embodiment
In order to more fully hereinafter understand the features of the present invention and technology contents, below in conjunction with the accompanying drawings to the reality of the present invention Now it is described in detail, appended accompanying drawing purposes of discussion only for reference, is not used for limiting the present invention.
Embodiment one
Fig. 1 is the implementation process figure for the method that the embodiment of the present invention releases door-control lock, as shown in figure 1, the embodiment of the present invention The method of the releasing door-control lock of offer, including:
Step 101, unlocking request is received;The mark of unlocker device is treated in unlocking request comprising the first user mark and first Know;First treats unlocker device, is provided with door-control lock, and, it is provided with locking is locked according to different instruction access control or unlocked Controller.
Step 102, the mark of unlocker device is treated according to the first user mark and first, judges the mapping relations pre-saved In, if the mapping relations of the first user mark and the first mark for treating unlocker device be present;Wherein, the mapping pre-saved is closed System, to treat the mark of unlocker device and in predetermined time period possessing to treat user's mark of the user of unlocker device unblock authority Between mapping relations;The predetermined time period includes receiving the time point of unlocking request;The length of predetermined time period, root According to user's request for treating being determined using duration for unlocker device.
Step 103, if judged result releases the lock-out state of door-control lock to exist.
In the method for releasing door-control lock provided in an embodiment of the present invention, the first user mark of the first user is obtained first The mark of unlocker device is treated with first, then is judged in the mapping relations that pre-save, if the first user mark and first be present The mapping relations of the mark of unlocker device are treated, the lock-out state of door-control lock is finally released in the presence of judged result is.
, it is necessary to preserve the mark for treating unlocker device and possess this in predetermined time period during the mapping relations pre-saved Treat the mapping relations of user's mark of the user of unlocker device unblock authority.So, treated if the first user currently possesses first The unblock authority of unlocker device, first user's can treat unlocker device by sending unlocking request unblock first.
Predetermined time period, as user possess the period of the corresponding unblock authority for treating unlocker device, the period According to user's request for treating being determined using duration for unlocker device.Possess and treat that the access right of unlocker device possesses and wait to solve The unblock authority of lock device.
For example, user A requests using first treat unlocker device 1 hour, then, can be according to using the before user A One treats that the service condition of the user of unlocker device determines user A usage time.Treat that unblock is set using first before user A Standby user 10:00 terminates to treat unlocker device using first, then user A usage time is 10:00 to 11:00,10:00 to 11:In 00 period, first treats there is mapping relations between the mark of unlocker device and user A user's mark.Only 10: 00 to 11:In 00 period, user A can treat unlocker device by sending unlocking request unblock first.
Equally, user A can also ask to obtain first right to use for treating unlocker device within the specific period.User A predetermined 14:00 to 15:00 first when the right to use of unlocker device, 14:00 to 15:In 00 period, first waits to unlock There are mapping relations between the mark of equipment and user A user's mark.Only 14:00 to 15:In 00 period, user A Unlocker device can be treated by sending unlocking request unblock first.
Mapping relations include predetermined time period parameter, it can be ensured that the user that unblock first is unlocked equipment currently has Standby first treats the unblock authority of unlocker device, ensures the safe and reliable of the first door-control lock for treating unlocker device.
In embodiments of the present invention, treat that unlocker device sings room for mini K.When user uses mini K song rooms in first time, Send unlocking request and by checking after, the door-control lock in mini K song room without it is manually operated can be according to the shape that unlocks State;Equally, user in use temporarily away from and when the mini K returned after leaving singing room, can also send unblock please Solve the lock-out state except door-control lock.
Do not possess first in the first user and treat that the unlocking right of unlocker device is prescribed a time limit, i.e., in the mapping relations pre-saved, In the absence of the mapping relations of the first user mark and the first mark for treating unlocker device.Now, the mapping for judging to pre-save is closed In system, if the mapping relations of the first user mark and the first mark for treating unlocker device be present, corresponding judged result is not In the presence of.Judged result be in the absence of when, perform maintain door-control lock lock-out state operation.
Unlocking request is sent after triggering two-dimensional code scanning or tab character input operation by terminal APP by the first user. Quick Response Code and tab character include the first mark for treating unlocker device.Specifically, when the APP is music APP, unlocker device is treated Sung for temporally charge or the song charged by song between record in corresponding room.In actual applications, the song can be between singing record Room is sung for karaoke chamber or the mini K being separately provided in public places.
The APP can also be other APP with corresponding management function, and the room that other APP are managed can be other Charge room or region, such as charge lobby etc..
Hereinafter, it is described in detail so that APP is music APP as an example.Wherein, record is sung in the room of music APP management for song Between.
Unlocking request can be arranged at first using music APP client scans by the first user and treat unlocker device door-control lock Neighbouring Quick Response Code is sent, and first treats that i.e. mini K songs the inside and outside of room of unlocker device is provided with the Quick Response Code.The two dimension Code can be shown by display screen, can also be printed Quick Response Code or be printed on the carriers such as paper and be posted near door-control lock, two Dimension code includes the data that mark first treats unlocker device identity information.
In addition, unlocking request can also be arranged at first from the first user to the input of music APP clients treats unlocker device Room gate inhibition in place locks near mark character and sent, and the inside and outside of room is provided with the mark character.The identifier word Symbol is printed or is printed on the carriers such as paper and is posted near door-control lock, and the mark character includes mark first and treats unlocker device body The data of part information.
After user's successful scan Quick Response Code or input mark character, it can be considered as to music APP servers and send unblock Request.Afterwards, in a step 101, music APP servers receive user and identify what character was sent by scanning Quick Response Code or input Unlocking request.
In the application, the unlocking request that user sends sings the mark between record comprising song and sends the first user of request User mark.Wherein, user is identified as the first user when it is determined that being sung using the song between record, music APP record The user name of one user.Or user is identified as user name of first user in music APP.
In step 102, in the mapping relations pre-saved by judgement, if the first user mark and first be present and wait to solve The mapping relations of the mark of lock device, it can be determined that whether the first user currently possesses the first unblock authority for treating unlocker device. Specifically, identified in the mapping relations that music APP is pre-saved by judgement with the presence or absence of the first user and song is sung between recording The mapping relations of mark, determine the first user whether possess the song sing record between unblock authority.
While user buys song and sings the right to use between record, music APP can record user's mark of user, user makes Song sings the mark between record, and the information such as usage time of user, and addition should in the mapping relations pre-saved User sings the mapping relations between recording with the corresponding song.
In step 103, judge in the mapping relations that pre-save, if the first user mark and first be present and wait to unlock During the mapping relations of the mark of equipment, if it is judged that to exist, then the lock-out state of door-control lock is released.
Do not possess first in the first user and treat that the unlocking right of unlocker device is prescribed a time limit, i.e., in the mapping relations pre-saved, In the absence of the mapping relations of the first user mark and the first mark for treating unlocker device.Now, judged result be in the absence of when, then Perform the operation for maintaining door-control lock lock-out state.
After step 103, that is, release door-control lock lock-out state after, from releasing door-control lock lock-out state when count When, to obtain the first timing duration;The state of door-control lock is monitored afterwards;When the first timing duration is equal to default threshold value, if Snoop results be door-control lock still in unlocked state, then access control is locked into lock-out state.
The technical scheme may be such that user ensures that door-control lock is in the lock state after door-control lock certain time length is unlocked.First When timing duration is equal to predetermined threshold value, if door-control lock is not required to be handled, if at door-control lock by user's manual locking In unlocked state, then access control is locked into lock-out state.
First treats that unlocker device is provided with gate inhibition's state sensor of detectable gate inhibition's lock status, monitors the state of door-control lock When, server is connected with gate inhibition's status sensor signal, receives gate inhibition's lock status signal that gate inhibition's state sensor is sent, and root Judge whether door-control lock is in the lock state according to gate inhibition's lock status signal.
For example, threshold value is arranged to 60s, then the state of door-control lock is judged when the first timing duration is equal to 60s, and in gate inhibition When lock is in unlocked state, access control is locked into lock-out state.
Door-control lock enters after lock-out state, it is also necessary to timing when entering lock-out state since control door-control lock, with To the second timing duration;When the second timing duration, which is equal to residue, uses duration, the lock-out state of door-control lock is released.Wherein, remain It is remaining to use duration, according to user's request corresponding to the first user mark for the first duration that uses for treating unlocker device, and The user is determined using the duration of the first unlocker device.Music APP server determines to possess to treat unlocker device in user Unlocking right prescribe a time limit, request that is pre-recorded and storing the user for this treat unlocker device use duration.If the song The charge mode that song sings between record is by duration based accounting, then this can be determined using duration according to charging duration;If the song is sung Charge mode between record is by song charging, and the time that can be sung record according to user's completion song using duration is determined.
For example, set threshold value when being 60s, user B is from 12:00 begins to use first to treat unlocker device, usage time 12: 00 to 13:00.After unlocking door-control lock first, a length of 1 hour when user B residue uses.During the first timing during a length of 60s, use A length of 59 minutes during the remaining use at family, now, the threshold value for being arranged to 60s uses duration 59 minutes less than remaining.Opened from now Second of timing begin to obtain the second timing duration, when the second timing duration is equal to 59 minutes, releases the lock-out state of door-control lock.
Wherein, if to 12:User goes out when 30 minutes, and it is 12 to return to unlock again:40, then, residue uses Duration needs to recalculate, and result of calculation is 30 minutes.
So, during user is sung between record using song, the real-time residue that music APP can monitor user in real time makes With duration, and when it is determined that the residue of user is used up using duration, release song and sing door-control lock between record.The program can be to make The user terminated with the time automatically terminates door-control lock, saves the time of user's barcode scanning or input;Meanwhile the program can play Prompting active user leave song sing record between effect, with active user no longer have song sing record between the right to use when, ensure Song sings the normal use of the next bit user between record.
In this scenario, while door-control lock releases, can be made on music APP using music or text prompt user Used up with the time;It can also indicate that client's usage time has been used up by indicator lamp inside and outside room.
In embodiments of the present invention, the first user mark can also be the first identifying code that the first user is inputted by APP When, during using the technical scheme, before unlocking request is received, it is necessary to possessing the first user for treating unlocker device unblock authority Send and treat the corresponding identifying code of unlocker device with first.
Specifically, when unlocking door-control lock, it is necessary first to when it is determined that user possesses first when the unlocker device right to use to The user sends identifying code, and stores the identifying code, and identifying code user only in predetermined time period gathers around first and waits to unlock It is effective during the equipment right to use, the identifying code and the mapping relations for the mark for treating unlocker device are pre-saved;Afterwards, according to checking The mapping relations of mark of the code with treating unlocker device judge whether to release the lock-out state of door-control lock.
Using the program, compared prior art, and releasing door-control lock can be made more safe and reliable.
The method provided in an embodiment of the present invention for releasing door-control lock, wait to solve according to the first user mark got and first The mark of lock device, judge in the mapping relations that pre-save, if first user mark and first be present and treat unlocker device Mark mapping relations, and the first lock-out state for treating unlocker device door-control lock is released in the presence of judged result is, compared Manually operated door-control lock more of the prior art, door-control lock can be intelligently released, lift Consumer's Experience.
Embodiment two
Embodiment one is the embodiment of the method for the releasing door-control lock of server side, and embodiment two is the releasing door of client-side Prohibit the embodiment of the method for lock.
The method provided in an embodiment of the present invention for releasing door-control lock includes:
Step 201, unlocking request is generated;The mark of unlocker device is treated in unlocking request comprising the first user mark and first Know;First treats unlocker device, is provided with door-control lock, and, it is provided with locking is locked according to different instruction access control or unlocked Controller;
Step 202, unlocking request is sent to server, treats that unblock is set according to unlocking request unblock first to trigger server It is standby.
Wherein, unlocking request by the first user trigger two-dimensional code scanning operate or tab character input operation after send, two Dimension code and tab character include the first mark for treating unlocker device.
Embodiment three
Embodiment three is the embodiment of the method for the releasing door-control lock of client-side.
As shown in Fig. 2 in embodiments of the present invention, client is the APP clients in terminal.
As shown in figure 3, the method provided in an embodiment of the present invention for releasing door-control lock includes:
Step 301, the first control instruction that the reception server is sent;First control instruction, it is that server is judging in advance The the first user mark and first included in the mapping relations of preservation in the unlocking request that presence server receives treats that unblock is set Sent after the mapping relations of standby mark;The mapping relations pre-saved, to treat the mark of unlocker device and in the scheduled time Possess the mapping relations between the user's mark for the user for treating unlocker device unblock authority in section;Predetermined time period includes receiving To the time point of unlocking request;The length of predetermined time period, the use duration for treating unlocker device asked according to user It is determined that.Step 302, the lock-out state of door-control lock is released according to the first control instruction.
The mapping relations pre-saved are to treat the mark of unlocker device and possess this in predetermined time period to treat that unblock is set The mapping relations of user's mark of the user of standby unblock authority.So, if the first user, which currently possesses first, treats unlocker device Unblock authority, first user's can first treats unlocker device by sending unlocking request unblock, and server is according to the unblock Request and above mapping relations send the first control instruction, release the lock-out state of door-control lock.
Predetermined time period is the period for the unblock authority that unlocker device is treated corresponding to user possesses.
Mapping relations include predetermined time period parameter, it can be ensured that the user that unblock first is unlocked equipment currently has Standby first treats the unblock authority of unlocker device, ensures the safe and reliable of the first door-control lock for treating unlocker device.
Do not possess first in the first user and treat that the unlocking right of unlocker device is prescribed a time limit, i.e., in the mapping relations pre-saved, In the absence of the mapping relations of the first user mark and the first mark for treating unlocker device.Now, server does not send the first control Instruction, when client does not receive the first control instruction of server transmission, then perform the operation for maintaining door-control lock lock-out state.
In the method provided in an embodiment of the present invention for releasing door-control lock, after step 302, the locking shape of door-control lock is released After state, the second control instruction of the reception server transmission;Second control instruction is server be equal in the first timing duration it is default Threshold value when, if monitor the snoop results of the state of door-control lock for door-control lock still in unlocked state when send;First meter Constantly a length of server since the lock-out state for releasing door-control lock when timing duration obtained by timing.
After the second control instruction is received, it is locked into according to the second control instruction access control into lock-out state.
The technical scheme may be such that user ensures that door-control lock is in the lock state after certain time length after unlocking door-control lock.The When one timing duration is equal to predetermined threshold value, if door-control lock is not required to be handled, if door-control lock by user's manual locking In unlocked state, then access control is locked into lock-out state.
First treats that unlocker device is provided with gate inhibition's state sensor of detectable gate inhibition's lock status, monitors the state of door-control lock When, server is connected with gate inhibition's status sensor signal, receives gate inhibition's lock status signal that gate inhibition's state sensor is sent, and root Judge whether door-control lock is in the lock state according to the door-control lock status information.
For example, threshold value is arranged to 60s, then the state of door-control lock is judged when the first timing duration is equal to 60s, and in gate inhibition When lock is in unlocked state, server sends the second control instruction, and access control is locked into lock-out state.
When access control is locked into lock-out state, server is also needed to according to the second duration and the remaining relation for using duration Determine whether to send the 3rd control instruction.
Specifically, after door-control lock enters lock-out state, the 3rd control instruction of the reception server transmission;3rd control instruction It is that server is constantly sent in the second timing duration equal to residue using duration;A length of server controls door certainly during the second timing Taboo starts the timing duration obtained by timing when being locked into lock-out state.
Wherein, it is remaining to use duration, treat unlocker device for first according to what user corresponding to the first user mark asked Use duration, and the user using the first unlocker device duration determine.Afterwards, client refers to according to the 3rd control Order releases the lock-out state of door-control lock.
Using the program, compared prior art, and releasing door-control lock can be made more safe and reliable.
Example IV
As shown in figure 4, the device provided in an embodiment of the present invention for releasing door-control lock includes:
First receiving unit 401, for receiving unlocking request;Wait to solve comprising the first user mark and first in unlocking request The mark of lock device;First treats unlocker device, is provided with door-control lock, and, it is provided with and is locked according to different instruction access control Fixed or unblock controller.
First judging unit 402, for treating the mark of unlocker device according to the first user mark and first, judge to protect in advance In the mapping relations deposited, if the mapping relations of the first user mark and the first mark for treating unlocker device be present;Wherein, in advance The mapping relations of preservation, to treat the mark of unlocker device and in predetermined time period possessing to treat the use that unlocker device unlocks authority Mapping relations between user's mark at family;Predetermined time period includes receiving the time point of unlocking request;The predetermined time The length of section, according to user's request for treating being determined using duration for unlocker device.First execution unit 403, for sentencing In the presence of disconnected result is, then the lock-out state of door-control lock is released.
In the device of releasing door-control lock provided in an embodiment of the present invention, first is received by the first receiving unit 401 first User identifies and first treats the mark of unlocker device, in the mapping relations pre-saved by the judgement of the first judging unit 402, if The mapping relations of the mark of unlocker device are treated in the presence of the first user mark and first, and are judging to tie by the first execution unit 403 Fruit releases the lock-out state of door-control lock in the presence of being.
The mapping relations pre-saved are to treat the mark of unlocker device and possess this in predetermined time period to treat that unblock is set The mapping relations of user's mark of the user of standby solution authority.So, if the first user, which is currently owned by first, treats unlocker device Authority is unlocked, the first user can treat unlocker device by sending unlocking request unblock first to the first receiving unit 401.
Predetermined time period, as user possess the period of the corresponding unblock authority for treating unlocker device.
Mapping relations include predetermined time period parameter, it can be ensured that the user that unblock first is unlocked equipment currently has Standby first treats the unblock authority of unlocker device, ensures the safe and reliable of the first door-control lock for treating unlocker device.
Do not possess first in the first user and treat that the unlocking right of unlocker device is prescribed a time limit, i.e., in the mapping relations pre-saved, In the absence of the mapping relations of the first user mark and the first mark for treating unlocker device.Therefore, the mapping for judging to pre-save is closed In system, if the first user mark and first be present when the mapping relations of the mark of unlocker device, the first execution unit is also used In:If judged result is in the absence of execution maintains the operation of door-control lock lock-out state.
The device provided in an embodiment of the present invention for releasing door-control lock also includes timing unit and monitoring unit, is releasing gate inhibition After the lock-out state of lock, timing unit since release door-control lock lock-out state when timing, to obtain the first timing duration;Prison Unit is listened to monitor the state of door-control lock;First execution unit is additionally operable to, and when the first timing duration is equal to default threshold value, is monitored As a result it is door-control lock still in unlocked state, then access control is locked into lock-out state.
The technical scheme may be such that user's access control lock after certain time length after unlocking door-control lock is in the lock state.The When one timing duration is equal to predetermined threshold value, if door-control lock is not required to be handled, if door-control lock by user's manual locking In unlocked state, then access control is locked into lock-out state.
First treats that unlocker device is provided with gate inhibition's state sensor of detectable gate inhibition's lock status, monitors the state of door-control lock When, server is connected with gate inhibition's status sensor signal, receives gate inhibition's lock status signal that gate inhibition's state sensor is sent, and root Judge whether door-control lock is in the lock state according to the door-control lock status information.
Door-control lock enters after lock-out state, and timing unit is additionally operable to, since when controlling door-control lock to enter lock-out state Timing, to obtain the second timing duration;First execution unit is additionally operable to:When the second timing duration, which is equal to residue, uses duration, Release the lock-out state of door-control lock.Wherein, it is remaining use duration, according to user's request corresponding to the first user mark for the One treats that the duration that uses of unlocker device, and the user are determined using the duration of the first unlocker device.
So, during user is sung between record using song, the real-time residue that music APP can monitor user in real time makes With duration, and when it is determined that the residue of user is used up using duration, release song and sing door-control lock between record.The program can be to make The user terminated with the time automatically terminates door-control lock, saves the time of user's barcode scanning or input;Meanwhile the program can play Prompting active user leave song sing record between effect, with active user no longer have song sing record between the right to use when, ensure Song sings the normal use of the next bit user between record.
In embodiments of the present invention, when the first user mark is the first identifying code that the first user is inputted by APP, device Also include the first transmitting element, be used for:Before unlocking request is received, treat that unlocker device unlocks the user of authority to possessing first Send and treat the corresponding identifying code of unlocker device with first.
Now, when unlocking door-control lock, it is necessary first to it is determined that when user possesses first when the unlocker device right to use by One transmitting element sends identifying code to the user, and stores the identifying code, and the identifying code is effective only in predetermined time period, will The identifying code and the mapping relations of the first mark for treating unlocker device pre-save;Afterwards, according to identifying code with treating unlocker device Mark mapping relations judge whether release door-control lock lock-out state.
Using the program, compared prior art, and releasing door-control lock can be made more safe and reliable.
The device provided in an embodiment of the present invention for releasing door-control lock, wait to solve according to the first user mark got and first The mark of lock device, judge in the mapping relations that pre-save, if first user mark and first be present and treat unlocker device Mark mapping relations, and the first lock-out state for treating unlocker device door-control lock is released in the presence of judged result is, compared Manually operated door-control lock more of the prior art, door-control lock can be intelligently released, lift Consumer's Experience.
Embodiment five
Example IV is the device embodiment of the releasing door-control lock of server side, and embodiment five is the releasing door of client-side Prohibit the device embodiment of lock.
The device provided in an embodiment of the present invention for releasing door-control lock includes:
Generation unit, for generating unlocking request, identified in unlocking request comprising the first user and first treats unlocker device Mark;First treats unlocker device, is provided with door-control lock, and, it is provided with and locking or solution is locked according to different instruction access control The controller of lock.
Second transmitting element, for sending unlocking request to server, to trigger server according to unlocking request unblock the One treats unlocker device.
Embodiment six
Embodiment six is the device embodiment of the releasing door-control lock of client-side.As shown in figure 5, the embodiment of the present invention provides The device of releasing door-control lock include:
Second receiving unit 501, the first control instruction sent for the reception server;First control instruction, it is service Device in the mapping relations that pre-save are judged, the first user mark for being included in the unlocking request that presence server receives and First sends after the mapping relations of the mark of unlocker device;The mapping relations pre-saved, to treat the mark of unlocker device Possess the mapping relations between the user's mark for the user for treating unlocker device unblock authority within a predetermined period of time;When predetermined Between section include receiving time point of unlocking request;The length of predetermined time period, according to user's request for treating that unblock is set Standby is determined using duration;Second execution unit 502, for releasing the lock-out state of door-control lock according to the first control instruction.
The mapping relations pre-saved are to treat the mark of unlocker device and possess this in predetermined time period to treat that unblock is set The mapping relations of user's mark of the user of standby solution authority.So, if the first user, which currently possesses first, treats unlocker device Authority is unlocked, first user's can treats unlocker device by sending unlocking request unblock first, and now, server is according to the solution Lock request and above mapping relations send the first control instruction, and the second receiving unit 501 receives the first control instruction, and by second Execution unit 502 releases the lock-out state of door-control lock.
Do not possess first in the first user and treat that the unlocking right of unlocker device is prescribed a time limit, i.e., in the mapping relations pre-saved, In the absence of the mapping relations of the first user mark and the first mark for treating unlocker device.Now, server does not send the first control Instruction, when the second execution unit 502 does not receive the first control instruction of server transmission, then perform and maintain door-control lock locking shape The operation of state.
Using technical scheme provided in an embodiment of the present invention, compared prior art, and releasing door-control lock can be made more to pacify Entirely, reliably.
In practical application, the first receiving unit 401, the first judging unit 402, the first execution unit 403, first send single Member, timing unit, monitoring unit, generation unit, the second transmitting element, the second receiving unit 501 and the second execution unit 502 Can be by the central processing unit (CPU, Central Processing Unit) on the device for releasing door-control lock, microprocessor Device (MPU, Micro Processor Unit), digital signal processor (DSP, Digital Signal Processor) or Field programmable gate array (FPGA, Field Programmable Gate Array) etc. is realized.
In the exemplary embodiment, the embodiment of the present invention additionally provides a kind of computer-readable recording medium, such as including The memory of computer program, above computer program can be foregoing to complete by the computing device of slam winding detection means Step described in method.Computer-readable recording medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash The memories such as Memory, magnetic surface storage, CD or CD-ROM;Can also include one of above-mentioned memory or any group The various equipment closed, such as mobile phone, computer, tablet device, personal digital assistant.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the shape of the embodiment in terms of the present invention can use hardware embodiment, software implementation or combination software and hardware Formula.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more to use storage The form for the computer program product that medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.).
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Based on this, the embodiment of the present invention provides a kind of computer-readable recording medium, is stored thereon with computer program, should When computer program is run by processor, perform:
Receive unlocking request;The mark of unlocker device is treated in the unlocking request comprising the first user mark and first;Institute State first and treat unlocker device, be provided with door-control lock, and, it is provided with and the door-control lock locking or unblock is controlled according to different instruction Controller;
According to first user mark and the first mark for treating unlocker device, judge in the mapping relations that pre-save, The mapping relations of the mark of unlocker device are treated with the presence or absence of first user mark and first;Wherein, it is described to pre-save Mapping relations, to treat the mark of unlocker device and in predetermined time period possessing to treat the use of the user of unlocker device unblock authority Mapping relations between the mark of family;The predetermined time period includes receiving the time point of the unlocking request;It is described predetermined Period length, treat determining using duration for unlocker device for described according to what user asked;
If judged result releases the lock-out state of the door-control lock to exist.
When the computer program is run by processor, also perform:
It is described to treat that unlocker device sings room for mini K.
When the computer program is run by processor, also perform:
If judged result is in the absence of execution maintains the operation of the door-control lock lock-out state.
When the computer program is run by processor, also perform:The unlocking request is touched by the first user by terminal APP Sent after the operation of hair two-dimensional code scanning or tab character input operation, the Quick Response Code and the tab character include described first Treat the mark of unlocker device.
When the computer program is run by processor, also perform:Before unlocking request is received, treated to possessing described first The user of unlocker device unblock authority sends and described first treats the corresponding identifying code of unlocker device.
When the computer program is run by processor, also perform:Since the lock-out state for releasing the door-control lock when count When, to obtain the first timing duration;Monitor the state of the door-control lock;
When the first timing duration is equal to default threshold value, if snoop results be the door-control lock still in unlocked State, then the door-control lock is controlled to enter lock-out state.
When the computer program is run by processor, also perform:When entering the lock-out state from the control door-control lock, Start timing, to obtain the second timing duration;When the second timing duration, which is equal to residue, uses duration, the gate inhibition is released The lock-out state of lock.
The embodiment of the present invention provides a kind of device for releasing door-control lock, and the device of the releasing door-control lock includes:Processor and For storing the memory for the computer program that can be run on a processor,
Wherein, when the processor is used to run the computer program, perform:
Receive unlocking request;The mark of unlocker device is treated in the unlocking request comprising the first user mark and first;Institute State first and treat unlocker device, be provided with door-control lock, and, it is provided with and the door-control lock locking or unblock is controlled according to different instruction Controller;
According to first user mark and the first mark for treating unlocker device, judge in the mapping relations that pre-save, The mapping relations of the mark of unlocker device are treated with the presence or absence of first user mark and first;Wherein, it is described to pre-save Mapping relations, to treat the mark of unlocker device and in predetermined time period possessing to treat the use of the user of unlocker device unblock authority Mapping relations between the mark of family;The predetermined time period includes receiving the time point of the unlocking request;It is described predetermined Period length, treat determining using duration for unlocker device for described according to what user asked;
If judged result releases the lock-out state of the door-control lock to exist.
When the processor is additionally operable to run the computer program, perform:It is described to treat that unlocker device sings room for mini K.
When the processor is additionally operable to run the computer program, perform:If judged result is in the absence of performing dimension Hold the operation of the door-control lock lock-out state.
When the processor is additionally operable to run the computer program, perform:The unlocking request is passed through by the first user Sent after terminal APP triggering two-dimensional code scanning operations or tab character input operation, the Quick Response Code and the tab character bag Containing the described first mark for treating unlocker device.
When the processor is additionally operable to run the computer program, perform:Before unlocking request is received, to possessing State first and treat that the user of unlocker device unblock authority sends and described first treats the corresponding identifying code of unlocker device.
When the processor is additionally operable to run the computer program, perform:From the lock-out state for releasing the door-control lock When start timing, to obtain the first timing duration;Monitor the state of the door-control lock;
When the first timing duration is equal to default threshold value, if snoop results be the door-control lock still in unlocked State, then the door-control lock is controlled to enter lock-out state.
When the processor is additionally operable to run the computer program, perform:Enter the lock from the door-control lock is controlled When determining state, start timing, to obtain the second timing duration;When the second timing duration, which is equal to residue, uses duration, solution Except the lock-out state of the door-control lock.
Based on this, the embodiment of the present invention provides another computer-readable recording medium, is stored thereon with computer program, When the computer program is run by processor, perform:
Generate unlocking request;The mark of unlocker device is treated in the unlocking request comprising the first user mark and first;Institute State first and treat unlocker device, be provided with door-control lock, and, it is provided with and the door-control lock locking or unblock is controlled according to different instruction Controller;
Unlocking request is sent to server, waits to solve according to unlocking request unblock described first to trigger the server Lock device.
The embodiment of the present invention also provides another device for releasing door-control lock, and the device of the releasing door-control lock includes:Processing Device and the memory for storing the computer program that can be run on a processor,
Wherein, when the processor is used to run the computer program, perform:
Generate unlocking request;The mark of unlocker device is treated in the unlocking request comprising the first user mark and first;Institute State first and treat unlocker device, be provided with door-control lock, and, it is provided with and the door-control lock locking or unblock is controlled according to different instruction Controller;
Unlocking request is sent to server, waits to solve according to unlocking request unblock described first to trigger the server Lock device.Based on this, the embodiment of the present invention provides another computer-readable recording medium, is stored thereon with computer program, When the computer program is run by processor, perform:
The first control instruction that the reception server is sent;First control instruction, it is that server is judging to pre-save Mapping relations in, first user mark included in the unlocking request that the server receives be present and first wait to solve Sent after the mapping relations of the mark of lock device;The mapping relations pre-saved, for treat the mark of unlocker device and Possess the mapping relations between the user's mark for the user for treating unlocker device unblock authority in predetermined amount of time;When described predetermined Between section include receiving time point of the unlocking request;The length of the predetermined time period, according to user ask for It is described to treat being determined using duration for unlocker device;The lock-out state of the door-control lock is released according to first control instruction.
When the computer program is run by processor, also perform:After the lock-out state for releasing door-control lock,
The second control instruction that the reception server is sent;Second control instruction is server in the first timing duration During equal to default threshold value, if it is the door-control lock still in unlocked state to monitor the snoop results of the state of the door-control lock When send;During first timing a length of server since the lock-out state for releasing the door-control lock when obtained by timing The timing duration arrived;
The door-control lock is controlled to enter lock-out state according to second control instruction.
When the computer program is run by processor, also perform:After the door-control lock enters lock-out state, the reception server The 3rd control instruction sent;3rd control instruction is server when the second timing duration is equal to residue and uses duration When send;A length of server is counted since when controlling the door-control lock to enter the lock-out state during second timing When resulting timing duration;
The lock-out state of the door-control lock is released according to the 3rd control instruction.
The embodiment of the present invention also provides another device for releasing door-control lock, and the device of the releasing door-control lock includes:Processing Device and the memory for storing the computer program that can be run on a processor,
Wherein, when the processor is used to run the computer program, perform:
The first control instruction that the reception server is sent;First control instruction, it is that server is judging to pre-save Mapping relations in, first user mark included in the unlocking request that the server receives be present and first wait to solve Sent after the mapping relations of the mark of lock device;The mapping relations pre-saved, for treat the mark of unlocker device and Possess the mapping relations between the user's mark for the user for treating unlocker device unblock authority in predetermined amount of time;When described predetermined Between section include receiving time point of the unlocking request;The length of the predetermined time period, according to user ask for It is described to treat being determined using duration for unlocker device;
The lock-out state of the door-control lock is released according to first control instruction.
When the processor is additionally operable to run the computer program, perform:After the lock-out state for releasing door-control lock,
The second control instruction that the reception server is sent;Second control instruction is server in the first timing duration During equal to default threshold value, if it is the door-control lock still in unlocked state to monitor the snoop results of the state of the door-control lock When send;During first timing a length of server since the lock-out state for releasing the door-control lock when obtained by timing The timing duration arrived;
The door-control lock is controlled to enter lock-out state according to second control instruction.
When the processor is additionally operable to run the computer program, perform:After the door-control lock enters lock-out state,
The 3rd control instruction that the reception server is sent;3rd control instruction is server in the second timing duration Use what duration was constantly sent equal to remaining;A length of server enters institute from the control door-control lock during second timing Start the timing duration obtained by timing when stating lock-out state;
The lock-out state of the door-control lock is released according to the 3rd control instruction.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (25)

  1. A kind of 1. method for releasing door-control lock, it is characterised in that methods described includes:
    Receive unlocking request;The mark of unlocker device is treated in the unlocking request comprising the first user mark and first;Described One treats unlocker device, is provided with door-control lock, and, it is provided with the control that the door-control lock locking or unblock are controlled according to different instruction Device processed;
    According to first user mark and the first mark for treating unlocker device, judge in the mapping relations that pre-save, if The mapping relations of the first user mark and the first mark for treating unlocker device be present;Wherein, the mapping pre-saved Relation, to treat the mark of unlocker device and in predetermined time period possessing to treat user's mark of the user of unlocker device unblock authority Mapping relations between knowledge;The predetermined time period includes receiving the time point of the unlocking request;When described predetermined Between section length, treat determining using duration for unlocker device for described according to what user asked;
    If judged result releases the lock-out state of the door-control lock to exist.
  2. 2. the method as described in claim 1, it is characterised in that described to treat that unlocker device sings room for mini K.
  3. 3. the method as described in claim 1, it is characterised in that methods described also includes:
    If judged result is in the absence of execution maintains the operation of the door-control lock lock-out state.
  4. 4. according to the method for claim 1, it is characterised in that methods described also includes:
    The unlocking request by the first user by terminal APP trigger two-dimensional code scanning operate or tab character input operation after send out Send, the Quick Response Code and the tab character include the described first mark for treating unlocker device.
  5. 5. according to the method for claim 1, it is characterised in that the first user mark specifically includes the first user and passed through During the first identifying code of APP inputs, methods described also includes:
    Before unlocking request is received, treat that user's transmission of unlocker device unblock authority is treated with described first to possessing described first Identifying code corresponding to unlocker device.
  6. 6. according to the method described in any one of claim 1 to 5, it is characterised in that the locking shape for releasing the door-control lock After state, methods described also includes:
    Since the lock-out state for releasing the door-control lock when timing, to obtain the first timing duration;
    Monitor the state of the door-control lock;
    When the first timing duration is equal to default threshold value, if snoop results be the door-control lock still in unlocked shape State, then the door-control lock is controlled to enter lock-out state.
  7. 7. according to the method for claim 6, it is characterised in that methods described also includes:
    From when controlling the door-control lock to enter the lock-out state, start timing, to obtain the second timing duration;When described second When timing duration uses duration equal to residue, the lock-out state of the door-control lock is released;
    Wherein, the residue uses duration, is treated according to what user corresponding to first user mark asked for described first Unlocker device uses duration, and the user to be determined using the duration of first unlocker device.
  8. A kind of 8. method for releasing door-control lock, it is characterised in that methods described includes:
    Generate unlocking request;The mark of unlocker device is treated in the unlocking request comprising the first user mark and first;Described One treats unlocker device, is provided with door-control lock, and, it is provided with the control that the door-control lock locking or unblock are controlled according to different instruction Device processed;
    Unlocking request is sent to server, treats that unblock is set according to unlocking request unblock described first to trigger the server It is standby.
  9. 9. according to the method for claim 8, it is characterised in that methods described also includes:
    The unlocking request by the first user trigger two-dimensional code scanning operate or tab character input operation after send, the two dimension Code and the tab character include the described first mark for treating unlocker device.
  10. A kind of 10. method for releasing door-control lock, it is characterised in that methods described includes:
    The first control instruction that the reception server is sent;First control instruction, it is that server reflects what judgement pre-saved Penetrate in relation, the first user mark and first included in the unlocking request that the server receives be present and treat unlocker device Sent after the mapping relations of mark;The mapping relations pre-saved, to treat the mark of unlocker device and in the scheduled time Possess the mapping relations between the user's mark for the user for treating unlocker device unblock authority in section;The predetermined time period includes Receive the time point of the unlocking request;The length of the predetermined time period, wait to solve for described according to what user asked Lock device is determined using duration;
    The lock-out state of the door-control lock is released according to first control instruction.
  11. 11. according to the method for claim 10, it is characterised in that methods described also includes:Release the locking shape of door-control lock After state,
    The second control instruction that the reception server is sent;Second control instruction, it is that server is equal in the first timing duration During default threshold value, if monitor the snoop results of the state of the door-control lock for the door-control lock still in unlocked state when send out Go out;During first timing a length of server since the lock-out state for releasing the door-control lock when obtained by timing Timing duration;
    The door-control lock is controlled to enter lock-out state according to second control instruction.
  12. 12. according to the method for claim 11, it is characterised in that methods described also includes:
    After the door-control lock enters lock-out state, the 3rd control instruction of the reception server transmission;3rd control instruction, it is Server is equal to what is sent when residue uses duration in the second timing duration;A length of server automatic control during second timing Make and start timing duration obtained by timing when the door-control lock enters the lock-out state;
    The lock-out state of the door-control lock is released according to the 3rd control instruction;
    Wherein, the residue uses duration, is treated according to what user corresponding to first user mark asked for described first Unlocker device uses duration, and the user to be determined using the duration of first unlocker device.
  13. 13. a kind of device for releasing door-control lock, it is characterised in that described device includes:
    First receiving unit, for receiving unlocking request;Wait to unlock comprising the first user mark and first in the unlocking request The mark of equipment;Described first treats unlocker device, is provided with door-control lock, and, it is provided with and the door is controlled according to different instruction Prohibit the controller of lock locking or unblock;
    First judging unit, for treating the mark of unlocker device according to first user mark and first, judge to pre-save Mapping relations in, if exist first user mark and first treat unlocker device mark mapping relations;Wherein, institute The mapping relations pre-saved are stated, unlocker device unlocking right is treated to treat the mark of unlocker device and possessing in predetermined time period Mapping relations between user's mark of the user of limit;The predetermined time period includes receiving the time of the unlocking request Point;The length of the predetermined time period, being determined using duration for unlocker device is treated for described according to what user asked;
    First execution unit, in the presence of being in judged result, then release the lock-out state of the door-control lock.
  14. 14. device according to claim 13, it is characterised in that first execution unit is additionally operable to:
    If judged result is in the absence of execution maintains the operation of the door-control lock lock-out state.
  15. 15. device according to claim 13, it is characterised in that the first user mark specifically includes the first user and led to When crossing the first identifying code of APP inputs, described device also includes the first transmitting element, is used for:
    Before unlocking request is received, treat that user's transmission of unlocker device unblock authority is treated with described first to possessing described first Identifying code corresponding to unlocker device.
  16. 16. according to the device described in any one of claim 13 to 15, it is characterised in that described device also includes:Timing unit, For since the lock-out state for releasing the door-control lock when timing, to obtain the first timing duration;
    Monitoring unit, for monitoring the state of the door-control lock;First execution unit is additionally operable to, when first timing It is long when being equal to default threshold value, if snoop results be the door-control lock still in unlocked state, control the gate inhibition to be locked into Enter lock-out state.
  17. 17. device according to claim 16, it is characterised in that the timing unit is additionally operable to, from the control gate inhibition When being locked into the lock-out state, start timing, to obtain the second timing duration;
    First execution unit is additionally operable to, and when the second timing duration, which is equal to residue, uses duration, releases the gate inhibition The lock-out state of lock;
    Wherein, the residue uses duration, is treated according to what user corresponding to first user mark asked for described first Unlocker device uses duration, and the user to be determined using the duration of first unlocker device.
  18. 18. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The step of any one of claim 1 to 7 methods described is realized when being executed by processor.
  19. 19. a kind of device for releasing door-control lock, it is characterised in that the device for releasing door-control lock includes processor and for depositing The memory for the computer program that energy storage is enough run on a processor,
    Wherein, when the processor is used to run the computer program, any one of perform claim requirement 1 to 7 methods described Step.
  20. 20. a kind of device for releasing door-control lock, it is characterised in that described device includes:
    Generation unit, for generating unlocking request, identified in the unlocking request comprising the first user and first treats unlocker device Mark;Described first treats unlocker device, is provided with door-control lock, and, it is provided with and the door-control lock is controlled according to different instruction Locking or the controller of unblock;
    Second transmitting element, for sending unlocking request to server, to trigger the server according to the unlocking request solution Lock described first and treat unlocker device.
  21. 21. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The step of claim 8 or 9 methods described are realized when being executed by processor.
  22. 22. a kind of device for releasing door-control lock, it is characterised in that the device for releasing door-control lock includes processor and for depositing The memory for the computer program that energy storage is enough run on a processor,
    Wherein, the processor is for the step of when running the computer program, perform claim requires 8 or 9 methods described.
  23. 23. a kind of device for unlocking door-control lock, it is characterised in that described device includes:
    Second receiving unit, the first control instruction sent for the reception server;First control instruction, it is that server exists Judge in the mapping relations that pre-save, exist the first user mark for being included in the unlocking request that the server receives and First sends after the mapping relations of the mark of unlocker device;The mapping relations pre-saved, to treat unlocker device Mapping relations between mark and the user's mark for possessing the user for treating unlocker device unblock authority within a predetermined period of time;It is described Predetermined time period includes receiving the time point of the unlocking request;The length of the predetermined time period, please according to user That asks treats being determined using duration for unlocker device for described;
    Second execution unit, for releasing the lock-out state of the door-control lock according to first control instruction.
  24. 24. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The step of any one of claim 10 to 12 methods described is realized when being executed by processor.
  25. 25. a kind of device for releasing door-control lock, it is characterised in that the device for releasing door-control lock includes processor and for depositing The memory for the computer program that energy storage is enough run on a processor,
    Wherein, when the processor is used to run the computer program, any one of perform claim requirement 10 to 12 methods described The step of.
CN201710575983.5A 2017-07-14 2017-07-14 A kind of method, apparatus and computer-readable recording medium for releasing door-control lock Pending CN107492167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710575983.5A CN107492167A (en) 2017-07-14 2017-07-14 A kind of method, apparatus and computer-readable recording medium for releasing door-control lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710575983.5A CN107492167A (en) 2017-07-14 2017-07-14 A kind of method, apparatus and computer-readable recording medium for releasing door-control lock

Publications (1)

Publication Number Publication Date
CN107492167A true CN107492167A (en) 2017-12-19

Family

ID=60643440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710575983.5A Pending CN107492167A (en) 2017-07-14 2017-07-14 A kind of method, apparatus and computer-readable recording medium for releasing door-control lock

Country Status (1)

Country Link
CN (1) CN107492167A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109410386A (en) * 2018-09-30 2019-03-01 珠海格力电器股份有限公司 Unlocking processing method and processing device, storage medium, processor
CN109963274A (en) * 2017-12-26 2019-07-02 上海商米科技有限公司 Method, equipment and the computer storage medium of wireless unlock electronic equipment
CN110213482A (en) * 2019-05-27 2019-09-06 深圳六滴科技有限公司 A kind of self-service panoramic picture image pickup method and relevant device
CN110503750A (en) * 2018-05-18 2019-11-26 杭州海康威视数字技术股份有限公司 Access control method, apparatus and system
CN111721987A (en) * 2020-06-01 2020-09-29 王沛 Electric power thing networking batch meter equipment based on thing allies oneself with perception technique
CN113487767A (en) * 2021-06-17 2021-10-08 杭州壹悟科技有限公司 Safety protection system and method based on private lock

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914894A (en) * 2013-01-03 2014-07-09 珠海天威技术开发有限公司 Door lock management system and management method thereof
CN103971435A (en) * 2014-05-22 2014-08-06 广东欧珀移动通信有限公司 Unlocking method, server, mobile terminal, electronic lock and unlocking system
CN105303670A (en) * 2015-12-04 2016-02-03 马孝康 Access control management method, device and system
JP2016045554A (en) * 2014-08-20 2016-04-04 株式会社 日立産業制御ソリューションズ Entering/leaving management system and entering/leaving management server
CN205248653U (en) * 2015-12-29 2016-05-18 胡建平 Novel intelligent power distribution box
CN106437343A (en) * 2016-08-31 2017-02-22 深圳市鹰联科技有限公司 Intelligent burglarproof electronic padlock and on-off state collecting and control system and method thereof
CN106907028A (en) * 2017-03-28 2017-06-30 商正(福建)展示用品有限公司 Dressing cubicle with windmill mechanism

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914894A (en) * 2013-01-03 2014-07-09 珠海天威技术开发有限公司 Door lock management system and management method thereof
CN103971435A (en) * 2014-05-22 2014-08-06 广东欧珀移动通信有限公司 Unlocking method, server, mobile terminal, electronic lock and unlocking system
JP2016045554A (en) * 2014-08-20 2016-04-04 株式会社 日立産業制御ソリューションズ Entering/leaving management system and entering/leaving management server
CN105303670A (en) * 2015-12-04 2016-02-03 马孝康 Access control management method, device and system
CN205248653U (en) * 2015-12-29 2016-05-18 胡建平 Novel intelligent power distribution box
CN106437343A (en) * 2016-08-31 2017-02-22 深圳市鹰联科技有限公司 Intelligent burglarproof electronic padlock and on-off state collecting and control system and method thereof
CN106907028A (en) * 2017-03-28 2017-06-30 商正(福建)展示用品有限公司 Dressing cubicle with windmill mechanism

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109963274A (en) * 2017-12-26 2019-07-02 上海商米科技有限公司 Method, equipment and the computer storage medium of wireless unlock electronic equipment
CN109963274B (en) * 2017-12-26 2022-04-12 上海商米科技集团股份有限公司 Method, device and computer storage medium for wirelessly unlocking electronic device
CN110503750A (en) * 2018-05-18 2019-11-26 杭州海康威视数字技术股份有限公司 Access control method, apparatus and system
CN109410386A (en) * 2018-09-30 2019-03-01 珠海格力电器股份有限公司 Unlocking processing method and processing device, storage medium, processor
CN110213482A (en) * 2019-05-27 2019-09-06 深圳六滴科技有限公司 A kind of self-service panoramic picture image pickup method and relevant device
CN111721987A (en) * 2020-06-01 2020-09-29 王沛 Electric power thing networking batch meter equipment based on thing allies oneself with perception technique
CN113487767A (en) * 2021-06-17 2021-10-08 杭州壹悟科技有限公司 Safety protection system and method based on private lock

Similar Documents

Publication Publication Date Title
CN107492167A (en) A kind of method, apparatus and computer-readable recording medium for releasing door-control lock
US20200051356A1 (en) Information processing apparatus, information processing method, and program
US20200228648A1 (en) Method and apparatus for detecting abnormality of caller
US10347059B2 (en) Information processing apparatus, information processing method, program, and information processing system
CN102624677B (en) Method and server for monitoring network user behavior
CN109243026A (en) A kind of caller management method and system
CN109753269B (en) Random number generation method, device, equipment and storage medium for block chain
JP5695791B1 (en) Gate control method, authentication apparatus, and gate control system
US20100154043A1 (en) User Impersonation and Authentication
CN110415396A (en) Access control method, system, equipment and storage medium based on artificial intelligence
CN108090331A (en) A kind of unlocking method and equipment
CN104346550B (en) A kind of information processing method and a kind of electronic equipment
CN110491008A (en) A kind of community-based managing caller side and system, storage medium
CN110414246A (en) Shared file method for managing security, device, terminal and storage medium
CN109410386A (en) Unlocking processing method and processing device, storage medium, processor
CN108734838A (en) It is a kind of that there is the smart lock based on video raw body signature verification device
CN108764061A (en) A kind of user authen method and device with monitoring and safety warning function
CN108229157A (en) Server attack early warning method and apparatus
CN106604206A (en) Bluetooth lock state monitoring method and device for electronic device, and electronic device
CN107172053A (en) The method of controlling security and safety control of computer
CN112950834A (en) Multi-mode-based electric door control method and safety door control system
CN107483392A (en) The production authorization system and method for information safety devices
CN114674066A (en) Operation verification method and device, air conditioner and storage medium
CN109255867A (en) Community's access control management method, device and computer storage medium
CN105701399B (en) A kind of safety detection method and device of application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171219