Summary of the invention
In view of this, the present invention provides a kind of off line access control system and off line access control management method, to realize off line
In the case of identification and management to access card.
In a first aspect, the embodiment of the invention provides a kind of off line access control systems, comprising: card-reading apparatus and gate inhibition's control
Control equipment;
The card-reading apparatus and the access control equipment communicate to connect;
The card-reading apparatus is carried out for reading encryption information from the access card detected, and to the encryption information
Decryption, obtains the corresponding card check information of the access card, and the card check information is sent to the access control equipment,
Wherein, the card check information includes the card number and the first check code of the access card;
The access control equipment, the card check information sent for receiving the card-reading apparatus, and according to the card school
Test the card number in information, detect the first check code in the card check information whether with the second check code phase for being locally stored
Match;When second check code is matched with first check code, access control is opened, and updates second check code, with
And the corresponding information of check code of updated second check code is generated, the information of check code is sent to the card-reading apparatus,
Wherein, second check code is to be stored in check code corresponding with the card number in the access control equipment;
The card-reading apparatus is also used to receive the information of check code, and updates the door according to the information of check code
Prohibit the first check code of card.
Optionally, the access control equipment is also used to detect locally whether be stored with the card number received;If detecting
It is locally not stored to have the card number received, then the card number is stored in local, and generate corresponding door according to the card number
Prohibit check information, gate inhibition's check information is sent to the card-reading apparatus, and to the check code in gate inhibition's check information
It is stored, using as the second check code being locally stored;
The card-reading apparatus, is also used to receive gate inhibition's check information, and by the verification in gate inhibition's check information
Code is written in the corresponding access card of the card number, using the first check code as the access card.
Optionally, the access control equipment is also used to by the verification in the card number and gate inhibition's check information
After code is stored in local, the step of access control is opened is executed.
Optionally, the card check information carries blacklist recovering mark information;
Whether the access control equipment is also used to detect the card number in the card check information in pre-set black name
Dan Zhong;When the card number is in the blacklist, if the blacklist recovering mark information that the card check information carries is first
Flag information then controls the gate inhibition and closes;If the blacklist recovering mark information that the card check information carries is the second mark
Will information then executes the step of access control is opened.
Optionally, when the blacklist recovering mark information that card check information carries is the second flag information, removal is described black
Card number information described in name, and new flag information is generated according to the card number, the card flag information is sent to the reading
Card apparatus;
The card-reading apparatus, is also used to receive card flag information, and by the first flag information in the card flag information
It is written in the corresponding access card of the card number.
Optionally, off line access control system further include: management end and card-issuing equipment;
Card-issuing equipment is sent to the management end for reading card number from the access card detected, and by the card number;
The management end, for being directed to the corresponding user information of card number typing received, and according to the card number and institute
It states user information and generates access card configuration information, generate encryption information according to the access card configuration information, and described will add
Confidential information returns to the card-issuing equipment, the encryption information to be written in the access card by the card-issuing equipment.
Optionally, the management end is also used to receive access card permission recovery request, restores according to the access card permission
Request generates access permission and restores information, and access permission recovery information is sent to the card-issuing equipment;
The card-issuing equipment is also used to receive the access permission and restores information, and reads the access permission and restore letter
Card number and the second flag information in breath, and second flag information is written in the corresponding access card of the card number.
Optionally, off line access control system, further includes: mobile terminal;
The management end is also used to the access card configuration information being sent to the mobile terminal, wherein the gate inhibition
Card configuration information includes: black list information, white list information and age information, and the black list information includes at least one gate inhibition
The invalid card number of card, the white list information includes effective mark of at least one access card;
The mobile terminal is transmitted to for receiving the access card configuration information, and by the access card configuration information
The access control equipment is updated with triggering the access control equipment according to the access card configuration information.
Optionally, the access control equipment is also used to receive the access card configuration information that the mobile terminal is sent, and
The gate inhibition's card information being locally stored according to the access card configuration information update.
Optionally, the card check information further includes age information, and the age information includes at least one of the following: effectively
Number and effective time;
The access control equipment is also used to according to age information detection first verification in the card check information
Whether code is effective;When first check code is effective, execute the in the second check code of storage and the card check information
The step of one check code is matched, alternatively, executing the step of access control is opened.
Second aspect, the embodiment of the invention also provides a kind of off line access control management methods, are applied to off line entrance guard management
The access control equipment of system, which comprises
Receive the card check information that card-reading apparatus is sent, wherein the card-reading apparatus is used for from the access card detected
Encryption information is read, the card check information card-reading apparatus is decrypted to obtain to the encryption information;
According to the card number in the card check information, detect the first check code in the card check information whether with local
Second check code of storage matches, wherein second check code is to be stored in the access control equipment and the card
Number corresponding check code;
When second check code is matched with first check code, access control is opened, and updates second verification
Code;
Generate the corresponding information of check code of updated second check code;
The information of check code is sent to the card-reading apparatus, is believed with triggering the card-reading apparatus according to the check code
Breath updates the first check code of the access card.
Optionally, after the card check information for receiving card-reading apparatus transmission, further includes:
Whether detection is local is stored with the card number received;
If detecting that local is not stored has the card number received, the card number is stored in local, and according to described
Card number generates corresponding gate inhibition's check information;
Gate inhibition's check information is sent to the card-reading apparatus, and the check code in gate inhibition's check information is deposited
Storage, using as the second check code being locally stored.
Optionally, it is described the card number is stored in local after, further includes:
Access control is opened.
Optionally, the card check information carries blacklist recovering mark information, described to receive what card-reading apparatus was sent
After card check information, further includes:
The card number in the card check information is detected whether in pre-set blacklist;
When the card number is in the blacklist, if the blacklist flag information that the card check information carries is the first mark
Will information then controls the gate inhibition and closes;
If the blacklist flag information that the card check information carries is the second flag information, the access control is executed
The step of opening;
Optionally, when the blacklist recovering mark information that card check information carries is the second flag information, removal is described black
Card number information described in name, and new flag information is generated according to the card number;
The card flag information is sent to the card-reading apparatus, to trigger the card-reading apparatus for the card flag information
In the first flag information be written in the corresponding access card of the card number.
Optionally, the access card configuration information that mobile terminal is sent is received, wherein the access card configuration information includes:
Black list information, white list information and age information, the black list information include the invalid card number of at least one access card, institute
State effective mark that white list information includes at least one access card;
The gate inhibition's card information being locally stored according to the access card configuration information update.
Optionally, further includes: detect whether first check code has according to the age information in the card check information
Effect, wherein the age information includes at least one of the following: effective degree and effective time;
When first check code is effective, execute the first school in the second check code of storage and the card check information
The step of code is matched is tested, alternatively, executing the step of access control is opened.
The third aspect, the embodiment of the invention also provides a kind of off line access control management methods, are applied to off line entrance guard management
The card-reading apparatus of system, which comprises
Encryption information is read from the access card detected;
The encryption information is decrypted, the corresponding card check information of the access card is obtained, wherein the card verification
Information includes the card number and the first check code of the access card;
The card check information is sent to access control equipment, to trigger the access control equipment according to the card school
Test information access control opening;
The information of check code that access control equipment returns is received, and updates the access card according to the information of check code
The first check code, wherein the information of check code be the access control equipment generated according to updated second check code
's.
Optionally, further includes:
Gate inhibition's check information that access control equipment returns is received, gate inhibition's check information is the access control equipment
It is generated according to the card number;
Check code in gate inhibition's check information is written in the corresponding access card of the card number, using as institute
State the first check code of access card.
The off line access control system that the present invention is formed by using card-reading apparatus and access control equipment, by judging door
The first check code for prohibiting card judges whether access card is legal with whether the second check code in access control equipment matches, and
The update to the whether legal judgement of access card and to the first check code and the second check code locally can be completed, solve existing
There is the problem of access control system can not carry out the identification and management of access card under offline condition in technology, administrative staff can be reduced
To in-situ processing number, management cost is saved, it is applied widely.
Embodiment
With reference to Fig. 1, Fig. 1 is a kind of structural schematic diagram of off line access control system provided in an embodiment of the present invention, including,
Card-reading apparatus 101 and access control equipment 102;
Card-reading apparatus 101 and access control equipment 102 communicate to connect;
Card-reading apparatus 101 is decrypted for reading encryption information from the access card detected, and to encryption information,
The corresponding card check information of access card is obtained, and card check information is sent to access control equipment 102, wherein card verification letter
Breath includes the card number and the first check code of access card;
Access control equipment 102, for receiving the card check information of the transmission of card-reading apparatus 101, and according to card check information
In card number, detect card check information in the first check code whether match with the second check code being locally stored;When second
Check code is matched with the first check code, and access control is opened, and updates the second check code, and generates updated second verification
The corresponding information of check code of code, is sent to card-reading apparatus 101 for information of check code, wherein the second check code is to be stored in gate inhibition
Control check code corresponding with card number in equipment 102;
Card-reading apparatus 101 is also used to receive information of check code, and the first verification of access card is updated according to information of check code
Code.
Specifically, the card check information comprising encryption in access card, card check information includes card number and the first check code, is read
Card apparatus 101 reads the encryption information of access card, and encryption information is decrypted, and obtains the card check information of access card, and
Card check information is sent to access control equipment 102, the card number of access card and the first check code have one-to-one relationship,
I.e. different access cards have respective card number and the first check code corresponding with card number.
After access control equipment 102 receives card check information, by the first check code of the access card and it is stored in gate inhibition
Control equipment 102 in corresponding second check code of the card number compare, with determine the first check code whether with the second check code phase
Match.If the second check code is matched with the first check code, it can determine that access card is legal card.Wherein, the second check code and
The matching of one check code can be the second check code and the first check code is completely the same, is also possible to the second check code and the first verification
Code has the corresponding relationship of certain logic, and the present embodiment is not specifically limited in this embodiment.Determining the second check code and the first verification
After code matching, 102 access control of access control equipment is opened, and the user for allowing to hold the access card enters.Meanwhile access control is set
Standby 102 pair of second check code is updated, and can generate a new sequence at random, is also possible to generate one based on special algorithm
A new sequence, access control equipment 102 are stored in the sequence as the second new check code in access control equipment 102,
It is understood that card number corresponding check code of updated second check code for the access card, while access control equipment
Updated second check code is generated corresponding card check information by 102, and the card check information is sent to card-reading apparatus
101, it should be noted that access control equipment 102 can locally complete above-mentioned movement, not need to network.And if the second school
Test code and the first check code be inconsistent, then 102 access control of access control equipment is closed, refusal hold the user of the access card into
Enter.
After card-reading apparatus 101 receives card check information, it will be written in access card after card check information encryption, the gate inhibition
The first check code in card can be updated to the first new check code with the write-in of check information, and school is carried out when swiping the card for next time
It tests.
The technical solution of the present embodiment, the off line entrance guard management system formed by using card-reading apparatus and access control equipment
System judges that access card is by judging whether the first check code of access card and the second check code in access control equipment match
It is no legal, and locally can be completed to the whether legal judgement of access card and to the first check code and the second check code
It updates, solves the problems, such as access control system can not judge whether access card is legal under offline condition in the prior art, Ye Jiwu
Method judges the problem of whether access card is replicated, that is, door can not be carried out under offline condition by solving access control system in the prior art
The problem of prohibiting the identification and management of card can reduce administrative staff to in-situ processing number, save management cost, the scope of application
Extensively.
It continues to refer to figure 1, access control equipment 102 is also used to detect whether to be stored with the card number received;If detecting
It is locally not stored to have the card number received, then card number is stored in local, and generate corresponding gate inhibition according to card number and verify letter
Breath, is sent to card-reading apparatus for gate inhibition's check information, and store to the check code in gate inhibition's check information, as originally
Second check code of ground storage;
Card-reading apparatus is also used to receive gate inhibition's check information, and the check code in gate inhibition's check information is written to card number
In the corresponding access card, using the first check code as access card.
Specifically, the corresponding card number of access card can not be stored under 102 original state of access control equipment.Work as card-reading apparatus
The card number of 101 access cards detected is when being not stored in access control equipment 102, by the first verification for reading access card
Code information is verified, it is to be understood that when the first check code is based on special algorithm generation, access control equipment can be to first
Check code is verified, to reaffirm whether the access card is legal neocaine.After verification passes through, access control equipment 102
It can determine that the access card is neocaine, then the card number of the neocaine is stored in local, and generate gate inhibition's check information.It should
It include check code in gate inhibition's check information, the create-rule of check code is consistent with the create-rule of above-mentioned second check code
It is random to generate, it may be based on special algorithm generation, the embodiment of the present invention is not specifically limited this.Then, access control equipment
102 are stored in the check code as corresponding second check code of the access card in access control equipment 102, and by the gate inhibition school
It tests information and is sent to card-reading apparatus 101.It is understood that not all new access card all can be by card-reading apparatus 101
Identification, only meeting the new access card of certain logic rule by reader identification and can just be decrypted.
Card-reading apparatus 101 receives gate inhibition's check information, and is written to this after gate inhibition's check information is encrypted
In access card, which is neocaine, if including the first check code in neocaine, which is updated to new first
Check code.
The technical solution of the present embodiment is avoided by using the off line access control system with neocaine identification function
When needing to issue user's neocaine, administrative staff also need at access control equipment the case where being configured, and are further simplified
The management process of access card, reduces management cost.
Access control equipment 102, after being also used to for the check code in card number and gate inhibition's check information being stored in local,
Execute the step of access control is opened.
Card number and check information are stored in local by access control equipment 102, illustrate that the new access card is legal card,
Can access control open, do not need live two sub-authorizations of administrative staff, further simplify the pipe of off line access control system
Manage program.
Optionally, card check information carries blacklist recovering mark information;
Access control equipment 102 is also used to detect the card number in card check information whether in pre-set blacklist;
When card number is in blacklist, if the blacklist flag information that card check information carries is the first flag information, access control is closed
It closes;If the blacklist flag information that card check information carries is the second flag information, the step of access control is opened is executed.
The encryption information for the access card that card-reading apparatus 101 is read, and in the card check information after encryption information is decrypted also
There is blacklist recovering mark information, and the card check information including blacklist recovering mark information is sent to access control equipment
102, pre-set blacklist is stored in access control equipment 102, the access card both reported the loss comprising user in blacklist
Card number may also comprise the card number that access control equipment is judged as illegal;If the card number of the discovery of access control equipment 102 access card
It is stored in the blacklist of access control equipment 102, then illustrates to be reported the loss or be replicated before the access card;It is understood that
It is, if the card number for the access card only reported the loss comprising user in blacklist, to illustrate to be reported the loss before the access card, and if in blacklist
The card number and access control equipment for the access card reported the loss comprising user are judged as illegal card number, then illustrate to be hung before access card
It loses or is replicated;If the blacklist recovering mark information of the access card is the first flag information, illustrate that the access card is illegal
Copy card, 102 access control of access control equipment close, forbid the user to hold enter;If blacklist recovering mark information
For the second flag information, illustrate that the access card is the legal card for restoring permission after making up or be replicated after user reporting the loss, then door
Prohibit control 102 access control of equipment to open, the user for allowing to hold legal card enters.It is understood that the first flag information can
It is 0, correspondingly, the second flag information can be 1, as long as the first flag information and the second flag information can complete corresponding identification
Function, the present embodiment are not specifically limited in this embodiment.
The technical solution of the present embodiment, by using the off line entrance guard management system judged comprising blacklist recovering mark information
System after legal card is replicated or is reported the loss rear access control equipment and only needs to judge whether blacklist recovering mark information is the
Two flag informations can determine whether the access card is legal card, avoid administrative staff to situ configuration access control equipment
Trouble solves the problems, such as at high cost caused by the configuration of access control device context, reduction deployment cost.
Optionally, access control equipment 102, the blacklist recovering mark information for being also used to carry when card check information are the
Two flag informations remove card number information described in black name, and generate new flag information according to card number, and card flag information is transmitted
To card-reading apparatus 101;
Card-reading apparatus 101 is also used to receive card flag information, and the first flag information in card flag information is written to
In the corresponding access card of card number.
Blacklist recovering mark information in card check information is the second flag information, illustrates that the access card is the conjunction made up
Method card after access control equipment removes the card number of the access card in blacklist, generates new card flag information, i.e., the first mark
Information, and send it to card-reading apparatus 101.
When access control equipment 102 detects that the second check code and the first check code mismatch and card number has been registered,
Illustrate that the access card has been copied, the card number of the access card is added in blacklist access control equipment 102, the access card quilt
Temporarily suspect to be copy card, 102 access control of access control equipment is closed.
User, which can hold the access card to administrative office, the second flag information to be written in the access card, to prove that the access card is
Legal card.
The off line gate inhibition of card flag information function will be written by using having in the technical solution of the present embodiment in access card
Management system, not needing networking can determine whether to restore power after whether the access card is the access card reissued after reporting the loss or is replicated
The access card of limit, application range are wider.
It optionally, is that the structure of another off line access control system provided in an embodiment of the present invention is shown with reference to Fig. 2, Fig. 2
It is intended to;
Further include: management end 201 and card-issuing equipment 202;
Card-issuing equipment 202 is sent to management end 202 for reading card number from the access card detected, and by card number;
Management end 201, for being directed to the corresponding user information of card number typing received, and according to card number and user information
Access card configuration information is generated, generates encryption information according to access card configuration information, and encryption information is returned into hair fastener and is set
Standby 202, encryption information to be written in access card by card-issuing equipment 202.
After management end 202 receives the card number, according to the corresponding user information of corresponding card number typing, and according to card number
Access card configuration information required for gate inhibition's card initialization is generated with user information, foundation after which generates
Preset algorithm is encrypted, and encrypted access card configuration information is written in access card by card-issuing equipment 201, the gate inhibition
Card can open corresponding gate inhibition according to the access card configuration information.
The technical solution of the present embodiment, by using the off line access control system including management end and card-issuing equipment, i.e.,
Gate inhibition can be blocked under offline condition and carry out priority assignation.
Optionally, management end 201 are also used to receive access card permission recovery request, according to access card permission recovery request
It generates access permission and restores information, and access permission recovery information is sent to card-issuing equipment 202;
Card-issuing equipment 202 is also used to receive access permission and restores information, and reads the card number in access permission recovery information
It, and will be in the corresponding access card of the second flag information write-in card number with the second flag information.
When needing to make up new legal card after the legal card of user is replicated or reports the loss, due to the card number of the legal card
In the blacklist of access control equipment 102, need to be written the second flag information in the legal card to restore the legal card
Access right.
The technical solution of the present embodiment, by using the de- of the management end composition comprising generating blacklist recovering mark information
Machine access control system, user can restore legal card by the second flag information will be written in legal access card in management end
Normal use, while the use illegally blocked is also prohibited, it is easy to operate, convenient for management.
It optionally, is that the structure of another off line access control system provided in an embodiment of the present invention is shown with reference to Fig. 3, Fig. 3
It is intended to, further includes mobile terminal 301.
Management end 201 is also used to access card configuration information being sent to mobile terminal 301, wherein access card configuration information
It include: black list information, white list information and age information, black list information includes the invalid card number of at least one access card,
White list information includes effective mark of at least one access card;
Mobile terminal 301 is transmitted to access control equipment for receiving gate inhibition's configuration information, and by access card configuration information
102, it is updated with triggering access control equipment according to access card configuration information.
Mobile terminal 301 can be communicated to connect with management end 201, and management end 201 sends the access card configuration information of generation
It to mobile terminal 301, can be sent by network, USB (Universal Serial Bus, universal serial bus) etc. can also be passed through
Mode is sent, and the black list information of access card configuration information is the card number information for the access card reported the loss, white list information
For the card number of legal access card.Management end 201 can send the access card configuration information that access card is written by card-issuing equipment 202
To mobile terminal 301, the access card configuration information stored in mobile terminal 301 at this time is configured in access control equipment 102, should
Access card can pass through the verifying of access control equipment 102;Management end 201 can also be believed the card number of legal card as white list
Breath, the card number illegally blocked import movement as black list information and the corresponding check code of legal card card number and age information batch
In terminal 301, administrative staff access the setting page of access control equipment 102 by mobile terminal 301, can be to access control
Equipment 102 is configured, so that access control equipment 102 identifies specific gate inhibition card and makes the user for holding legal access card
Into.It is worth noting that, mobile terminal 301 accesses the setting page of access control equipment 102 by specific address, it is mobile
Terminal 301 can be connected with access control equipment 102 by WiFi (WIreless-Fidelity, Wireless Fidelity), and indigo plant can also be passed through
Tooth connection.Mobile terminal 301 can also the gate inhibition ID (Identity, identification number) to access control equipment 102 be configured.
The technical solution of the present embodiment, by using the off line access control system including mobile terminal, it is only necessary to mobile
The configuration of blacklist and white list in gate inhibition ID and access control equipment to access control equipment can be completed in terminal, keeps away
Exempt from the various permission cards of setting to trouble caused by management work.
Optionally, access control equipment 102, be also used to receive mobile terminal 301 transmission access card configuration information, and according to
The gate inhibition's card information being locally stored according to access card configuration information update, wherein access card information includes following at least two: card
Number, blacklist and the second check code.
Card number in gate inhibition's card information is the white list information in access card configuration information, card number and the second check code tool
There is one-to-one relationship, so that off line access control system completes the identification to access card and prevents illegal access card from entering
Function.
Optionally, card check information further includes age information, and age information includes at least one of the following: effective degree and has
Imitate the time;
Access control equipment 102 is also used to detect whether the first check code has according to the age information in card check information
Effect;When the first check code is effective, execution matches the second check code of storage with the first check code in card check information
The step of, alternatively, executing the step of access control is opened.
Specifically, access card has Use Limitation, within effective time, and effective degree is not yet finished and just can be used, when
Access control equipment 102 detects that the access card was in effective time, and when effective degree is not yet finished, then by the second school
It tests code to be compared with the first check code, to execute corresponding function, or since the card number of the access card is not stored in door
Prohibit in control equipment 102, access control equipment 102 then directly controls gate inhibition's opening.It is understood that effective time of access card
Number can be changed by access control equipment 102 by card-reading apparatus 101.
The technical solution of the present embodiment, by using comprising the off line access control system including age information, making this be
The safety of system is higher.
With reference to Fig. 4, Fig. 4 is a kind of flow chart of off line access control management method provided in an embodiment of the present invention, and this method can
Access control equipment applied to off line access control system, comprising:
Step 401, the card check information that card-reading apparatus is sent is received;
Specifically, card-reading apparatus from the access card detected for reading encryption information, card check information sets for card reading
For what encryption information was decrypted;
Step 402, according to the card number in card check information, detect the first check code in card check information whether with local
Second check code of storage matches;
Specifically, the second check code is to be stored in check code corresponding with card number in access control equipment;
Step 403, when the second check code is matched with the first check code, access control is opened, and updates the second check code;
Step 404, the corresponding information of check code of updated second check code is generated;
Step 405, information of check code is sent to card-reading apparatus, updates door to trigger card-reading apparatus according to information of check code
Prohibit the first check code of card;
The technical solution of the present embodiment, the first check code by judging access card and the second verification in access control equipment
Whether code matches to judge whether access card is legal, and locally can be completed to the whether legal judgement of access card and right
The update of first check code and the second check code, gate inhibition can not be judged under offline condition by solving access control system in the prior art
Card whether legal problem, that is, solve access control system in the prior art can not be carried out under offline condition the identification of access card with
The problem of management, can reduce administrative staff to in-situ processing number, save management cost, applied widely.
Optionally, after the card check information for receiving card-reading apparatus transmission, further includes:
Whether detection is local is stored with the card number received;
If detecting that local is not stored has the card number received, card number is stored in local, and is generated according to card number
Corresponding gate inhibition's check information;
Gate inhibition's check information is sent to card-reading apparatus, and the check code in gate inhibition's check information is stored, to make
For the second check code being locally stored.
Optionally, after card number being stored in local, further includes:
Access control is opened.
Optionally, card check information carries blacklist recovering mark information, receives the card that card-reading apparatus is sent and verifies letter
After breath, further includes:
The card number in card check information is detected whether in pre-set blacklist;
When card number is in blacklist, if the blacklist flag information that card check information carries is the first flag information, control
Gate inhibition processed closes;
If the blacklist flag information that card check information carries is the second flag information, the step of access control opening is executed
Suddenly.
Optionally, further includes: when the blacklist recovering mark information that card check information carries is the second flag information, removal
Card number information described in the black name, and new flag information is generated according to the card number;
Card flag information is sent to card-reading apparatus, to trigger card-reading apparatus for the first flag information in card flag information
It is written in the corresponding access card of card number.
Optionally, further includes: receive the access card configuration information that mobile terminal is sent, wherein access card configuration information packet
Include: black list information, white list information and age information, black list information includes the invalid card number of at least one access card, white
List information includes effective mark of at least one access card;
The gate inhibition's card information being locally stored according to access card configuration information update.
Optionally, further includes: whether effective detect the first check code according to the age information in card check information, wherein
Age information includes at least one of the following: effective degree and effective time;
When the first check code is effective, execution carries out the first check code in the second check code of storage and card check information
The step of matching, alternatively, executing the step of access control is opened.
With reference to Fig. 5, Fig. 5 is a kind of flow chart of off line access control management method provided in an embodiment of the present invention, is applied to de-
The card-reading apparatus of machine access control system, comprising:
Step 501, encryption information is read from the access card detected;
Step 502, encryption information is decrypted, obtains the corresponding card check information of access card;
Specifically, card check information includes the card number and the first check code of the access card;
Step 503, card check information is sent to access control equipment, to trigger access control equipment according to card verification letter
Access control is ceased to open;
Step 504, the information of check code that access control equipment returns is received, and updates access card according to information of check code
The first check code;
Specifically, information of check code is what the access control equipment was generated according to updated second check code.
Optionally, further includes:
Gate inhibition's check information that access control equipment returns is received, gate inhibition's check information is access control equipment according to card number
It generates;
Check code in gate inhibition's check information is written in the corresponding access card of card number, using the first school as access card
Test code.
It should be noted that for embodiment of the method, since it is substantially similar to system embodiment, so description
Fairly simple, related place illustrates referring to the part of system embodiment.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.