Office system security control method, device and system

Through the short-range wireless communication between the password keyboard and the smart card and the verification factor rolling mechanism, the problem that existing technology cannot monitor the user status in real time is solved, timely security control is achieved when the user leaves, and the security of the office system is enhanced.

CN112149082BActive Publication Date: 2024-10-11TENDYRON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910560493.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-26
Publication Date
2024-10-11
Estimated Expiration
2039-06-26

AI Technical Summary

Technical Problem

Existing office system security control methods cannot monitor the user's usage status in real time. As a result, the system does not perform security control after the user leaves, which may lead to information leakage or illegal attacks.

Method used

Establish a short-range wireless communication connection with the smart card through the password keyboard, perform counting synchronization and verification factor rolling, monitor and scan the verification factors sent by the smart card, and perform security control operations if there is no response after a timeout to ensure that security measures are implemented immediately when the user leaves. .

Benefits of technology

It realizes real-time monitoring of whether the user leaves after logging in, implements security control in a timely manner, avoids illegal use, and enhances the security of the office system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112149082B_ABST
    Figure CN112149082B_ABST
Patent Text Reader

Abstract

The present invention provides an office system security control method, device and system, wherein the method comprises: step 1, establishing a communication connection; step 2, counter synchronization; step 3, obtaining the current first counting check factor; step 4, monitoring the check factor rolling cycle and the authentication scanning cycle; step 5, when the rolling cycle is reached, the count value is increased by 1 to obtain the current first counting check factor; step 6, when the scanning cycle is reached, the second counting check factor is scanned; step 7, if scanned, it is determined whether the second counting check factor is consistent with the first counting check factor, if it is step 4, otherwise it is step 10; step 8, if not scanned, it is determined whether the time interval from the last scanning of the second counting check factor exceeds the first predetermined time, if it is step 10, otherwise it is step 9; step 9, waiting for the second predetermined time, scanning the second counting check factor, if step 7 is scanned, if not scanned, step 8; step 10, executing the security control operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic technology, and in particular to an office system security control method, device and system. Background Art

[0002] At present, in order to ensure the security of the office system, the traditional solution is that when the user logs into the office system for the first time, the user enters the user name and password or password, and the system authenticates the user name and password or password entered by the user. After the authentication is passed, the user can use the office system until the user manually logs out or manually locks the screen. Re-authentication is required when using it again.

[0003] By adopting the above-mentioned security control measures, after the user authentication is passed, the user's usage status cannot be monitored in real time. If the user does not manually log out of the login state or manually lock the screen, security control will not be executed regardless of whether the user is on site or not. However, in actual use, after the authentication is passed and before manually logging out of the login state or manually locking the screen, the user is likely to temporarily leave the office. During this period, the office system does not perform security control, and other users may illegally use the office system, resulting in information leakage or illegal attacks on the office system. Summary of the invention

[0004] The present invention aims to solve the above technical problems.

[0005] The main purpose of the present invention is to provide an office system security control method.

[0006] Another object of the present invention is to provide an office system security control device.

[0007] Another object of the present invention is to provide an office system security control system.

[0008] To achieve the above object, the technical solution of the present invention is specifically implemented as follows:

[0009] On one hand, the present invention provides an office system security control method, comprising: step 1, a password keyboard establishes a short-range wireless communication connection with a smart card; step 2, the password keyboard clears a local counter and sends a count synchronization request to the smart card through the short-range wireless communication connection; step 3, the password keyboard receives a count synchronization response returned by the smart card, adds 1 to the local counter to obtain the current count value of the local counter, and uses a preset algorithm to calculate the current count value of the local counter to obtain an initial count check factor, and uses the initial count check factor as the current first count check factor; step 4, the password keyboard monitors whether a predetermined check factor rolling cycle and authentication scanning cycle have been reached, and executes step 5 when the check factor rolling cycle has been reached, and executes step 6 when the authentication scanning cycle has been reached; step 5, the password keyboard adds 1 to the current count value of the local counter to obtain a new count value, uses the new count value as the current count value of the local counter, uses the preset algorithm to calculate the current count value of the local counter to obtain a new first count check factor, uses the new first count check factor as the current first count check factor, and returns to step 4; step 6, the password keyboard sends a scan instruction to the smart card, scans the second counting check factor sent by the smart card, and executes step 7 if the second counting check factor sent by the smart card is scanned, and executes step 8 if the second counting check factor sent by the smart card is not scanned; step 7, the password keyboard determines whether the scanned second counting check factor is consistent with the current first counting check factor of the password keyboard, and returns to step 4 if they are consistent, otherwise, executes step 10; step 8, the password keyboard determines whether the time interval from the current time to the last time the second counting check factor sent by the smart card is scanned exceeds the first predetermined time, if yes, executes step 10, otherwise, executes step 9; step 9, after waiting for the second predetermined time, the password keyboard sends a scan instruction to the smart card, scans the second counting check factor sent by the smart card, and executes step 7 if the second counting check factor sent by the smart card is scanned, and executes step 8 if the second counting check factor sent by the smart card is not scanned, wherein the second predetermined time is less than the first predetermined time; step 10, the password keyboard executes the corresponding first security control operation according to the predetermined security policy.

[0010] Optionally, step 4 also includes: the password keyboard monitors whether a predetermined key event occurs, and executes step 11 when a key event is detected; in step 11, the password keyboard starts the camera device to collect the user's facial data, and determines whether the collected facial data matches the authentication facial data stored in the password keyboard, if so, returns to step 4, otherwise, executes step 10.

[0011] Optionally, the predetermined key event includes at least one of the following: the PIN keyboard acquires the initial counting verification factor, the PIN keyboard receives an encryption input instruction, and the PIN keyboard receives a password input instruction.

[0012] Optionally, after the password keyboard performs a corresponding first security control operation according to a predetermined security policy, the method further includes: the password keyboard deletes all first counting verification factors stored locally.

[0013] Optionally, after the PIN pad receives the count synchronization response returned by the smart card, the method further includes: the smart card enters a sleep state, wakes up once every predetermined wake-up period, and during the wake-up period, broadcasts the current second count verification factor of the smart card.

[0014] Optionally, after the password keyboard receives the counting synchronization response returned by the smart card, the method also includes: - the smart card determines whether it has received the scanning authentication instruction sent by the password keyboard within the first predetermined time, if so, the smart card sends the current second counting verification factor of the smart card, otherwise, the smart card deletes all second counting verification factors stored locally.

[0015] Optionally, in step 6, when the second counting verification factor sent by the smart card is not scanned, before executing step 8, the method also includes: the password keyboard determines whether the time interval from the current time to the last time the second counting verification factor sent by the smart card is scanned exceeds a predetermined threshold; if not, returns to step 4; if yes, performs a corresponding second security control operation according to a predetermined security policy, and then executes step 8.

[0016] Another aspect of the present invention provides an office system security control device, which is located in a password keyboard and includes: a communication module, which is used to establish a short-range wireless communication connection with a smart card, trigger a local counter to be cleared, send a count synchronization request to the smart card through the short-range wireless communication connection, and trigger a check factor rolling module after receiving a count synchronization response returned by the smart card; a check factor rolling module, which is used to trigger the local counter to add 1 to obtain a current count value of the local counter after the communication module receives the count synchronization response returned by the smart card, and use a preset algorithm to calculate the current count value of the local counter to obtain an initial count check factor, and use the initial count check factor as the current first The counting check factor triggers the monitoring module to work; the periodic monitoring module is used to monitor whether a predetermined check factor rolling period or authentication scanning period has been reached, and trigger the check factor rolling module when the check factor rolling period has been reached, and trigger the heartbeat detection module when the authentication scanning period has been reached; the check factor rolling module is also used to trigger the local counter to add 1 to the current count value of the local counter to obtain a new count value when the periodic monitoring module monitors that the rolling period has been reached, and use the new count value as the current count value of the local counter, and use the preset algorithm to calculate the current count value of the local counter to obtain a new first counting check factor, and use the first new counting check factor. The factor is used as the current first counting check factor to trigger the periodic monitoring module; the heartbeat detection module is used to send a scanning authentication instruction to the smart card, scan the second counting check factor sent by the smart card, and trigger the check factor verification module when the second counting check factor sent by the smart card is scanned, and trigger the back-connection verification module when the second counting check factor sent by the smart card is not scanned; the check factor verification module is used to determine whether the scanned second counting check factor is consistent with the current first counting check factor of the password keyboard, and if they are consistent, trigger the periodic monitoring module, otherwise, trigger the security control module; the back-connection verification module is used to determine whether the current distance is consistent with the current distance. Whether the time interval of scanning the verification key broadcast by the smart card once exceeds the first predetermined time, if so, the security control module is triggered, otherwise the back-connection data monitoring module is triggered; the back-connection data monitoring module is used to send a scanning instruction to the smart card after waiting for a second predetermined time, scan the second counting verification factor sent by the smart card, and trigger the counting verification factor verification module when the second counting verification factor sent by the smart card is scanned, and trigger the back-connection verification module when the second counting verification factor sent by the smart card is not scanned, wherein the second predetermined time is less than the first predetermined time; the security control module is used to execute the corresponding first security control operation according to a predetermined security policy.

[0017] Optionally, it also includes: a face verification module; the periodic monitoring module is also used to determine whether a predetermined key event occurs, and when a key event is detected, the face verification module is triggered; the face verification module is used to start the camera device to collect the user's face data, and determine whether the collected face data matches the authentication face data stored in the password keyboard. If so, the periodic monitoring module is triggered, otherwise, the security control module is triggered.

[0018] Optionally, it also includes: a key clearing module, used to delete all first counting verification factors saved by the password keyboard after the security control module executes the first security control operation.

[0019] Optionally, it also includes: a threshold detection module, which is used to determine whether the time interval between the current and the last scan of the second counting verification factor sent by the smart card exceeds a predetermined threshold before triggering the back-connection verification module when the heartbeat detection module fails to scan the second counting verification factor sent by the smart card. If not, the periodic monitoring module is triggered; otherwise, the corresponding second security control operation is performed according to the predetermined security policy, and then the back-connection verification module is triggered.

[0020] According to another aspect of the present invention, there is provided an office system security control system, comprising a password keyboard and a smart card, wherein the password keyboard comprises the above-mentioned office system security control device; the smart card is used to: establish a short-range wireless communication connection with the password keyboard; after receiving a count synchronization request sent by the password keyboard through the short-range wireless communication connection, clear a local counter, return a count synchronization response to the password keyboard, add 1 to the local counter to obtain a current count value of the local counter, and use a preset algorithm to calculate the current count value of the local counter to obtain a current second count check factor of the smart card; receive a scan authentication instruction sent by the password keyboard, and send the current second count check factor of the smart card; and when monitoring the arrival of a check factor rolling cycle, add 1 to the current count value of the local counter to obtain a new count value, use the new count value as the current count value of the local counter, use the preset algorithm to calculate the current count value of the local counter to obtain a new second count check factor, and use the new second count check factor as the current second count check factor of the smart card.

[0021] Optionally, the smart card is further configured to delete all second counting verification factors stored locally if no scanning authentication instruction sent by the PIN pad is received within a predetermined time period.

[0022] Optionally, the smart card is further configured to enter a dormant state after returning a count synchronization response to the PIN pad, wake up once every predetermined wake-up period, and broadcast the current second count verification factor of the smart card during the wake-up period.

[0023] It can be seen from the technical solution provided by the present invention that the present invention provides a security control solution for an office system. In the technical solution provided by the present invention, the password keyboard establishes a short-range wireless communication connection with the smart card, performs counting synchronization to determine an initial first counting check factor, updates the first counting check factor according to a predetermined check factor rolling period, scans the second counting check factor sent by the smart card according to a predetermined authentication scanning period, and executes a first security control operation if the second counting check factor sent by the smart card is not scanned within a predetermined time interval. This allows real-time monitoring of whether the user leaves the password keyboard after the user logs in, and execution of a security control operation if the user leaves the password keyboard for more than a predetermined time, thereby avoiding problems such as other users illegally using the office system during the user's absence, resulting in information leakage or illegal attacks on the office system. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0025] Figure 1 A schematic diagram of the architecture of an office system security control system provided in Example 1 of the present invention;

[0026] Figure 2 A flowchart of an office system security control method provided in Example 2 of the present invention;

[0027] Figure 3 This is a schematic diagram of the structure of an office system security control device provided in Example 3 of the present invention. DETAILED DESCRIPTION

[0028] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the present invention.

[0029] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance, quantity or position.

[0030] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0031] The embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.

[0032] Example 1

[0033] This embodiment provides an office system security control system.

[0034] Figure 1 A schematic diagram of the architecture of an office system security control system provided in this embodiment, such as Figure 1 As shown, the office system security control system mainly includes: a password keyboard 10 and a smart card 20. In this embodiment, the smart card 20 can store a unique user identification, such as a user ID, and the identity of the user can be determined through the smart card 20.

[0035] In this embodiment, the PIN keyboard 10 establishes a short-range wireless communication connection with the smart card 20. In a specific application, the PIN keyboard 10 and the smart card 20 can establish wireless communication via Bluetooth, WIFI, etc., which is not limited in this embodiment.

[0036] In a specific application, before establishing a wireless communication connection between the PIN pad 10 and the smart card 20, identity authentication can be performed with the smart card 20 by swiping the card, scanning a code, etc. For example, a card reader module is provided on the PIN pad 10. When a user needs to log in to the office system, the smart card 20 is placed at the card reader module of the PIN pad 10 and swiped. The PIN pad 10 reads the identity authentication information stored in the smart card 20. The identity authentication information may be a user name and password, etc. Then the PIN pad 10 performs identity authentication on the read identity authentication information. After the identity authentication is passed, the secure login is completed.

[0037] When a wireless communication connection is established between the PIN keyboard 10 and the smart card 20, the PIN keyboard 10 and the smart card 20 can exchange device information of both parties and establish a wireless communication connection through the exchanged device information. For example, if a Bluetooth connection is established between the PIN keyboard 10 and the smart card 20, the PIN keyboard 10 and the smart card 20 can exchange Bluetooth connection information and perform Bluetooth pairing to complete the Bluetooth connection.

[0038] After establishing a short-range wireless communication connection, the PIN keyboard 10 and the smart card 20 can synchronize the counters. After the counters are synchronized, the PIN keyboard 10 and the smart card 20 obtain the current count values ​​of their respective local counters, and use a preset algorithm to calculate the initial count check factor. The PIN keyboard 10 and the smart card 20 use the initial count check factor as the current first count check factor of the PIN keyboard 10 and the current second count check factor of the smart card 20, respectively. In a specific application, after the PIN keyboard 10 passes the identity authentication of the smart card 20, the PIN keyboard 10 and the smart card 20 synchronize the counters. Among them, the preset algorithm can be a hash algorithm or an encryption algorithm, etc., which is not limited in this embodiment.

[0039] In this embodiment, when the PIN keyboard 10 and the smart card 20 perform counter synchronization, the PIN keyboard 10 first clears the local counter, and the PIN keyboard 10 can send a count synchronization request to the smart card 20, and the count synchronization request can indicate the smart card to clear. After receiving the count synchronization request sent by the PIN keyboard 10, the smart card 20 clears the local counter of the smart card 20, thereby achieving counter synchronization with the PIN keyboard 10.

[0040] As an optional implementation in this embodiment, the preset algorithm adopted by the password keyboard 10 and the smart card 20 to calculate the current count value of the local counter to obtain the current count verification factor includes one of the following: using the current count value of the local counter as the count verification factor, or using a hash algorithm or an encryption algorithm to calculate the current count value of the local counter to obtain the count verification factor.

[0041] In the embodiment of the present invention, after the PIN pad 10 is synchronized with the counter of the smart card 20 and obtains the initial counting check factor, the PIN pad 10 monitors whether the predetermined check factor rolling cycle and authentication scanning cycle are reached:

[0042] (1) When monitoring the arrival of the check factor rolling cycle, obtain the current count value of the local counter, and use a preset algorithm to calculate the current count value of the local counter to obtain a new first count check factor, use the new first count check factor as the current first count check factor, and then continue to monitor whether the predetermined check factor rolling cycle and authentication scanning cycle have been reached.

[0043] Based on the check factor rolling cycle, as time goes by, every time the monitoring reaches the check factor rolling cycle, the current count value of the local counter will change, so the first count check factor obtained each time is also different. While keeping the check factor rolling synchronization, the count check factors obtained by the PIN pad and the smart card should be consistent.

[0044] (2) When monitoring that the authentication scanning cycle has been reached, the PIN keyboard 10 sends a scanning instruction to the smart card 20, scans the second counting check factor sent by the smart card 20, and when the second counting check factor sent by the smart card 20 is scanned, determines whether the scanned second counting check factor is consistent with the current first counting check factor of the PIN keyboard 10. When they are consistent, it continues to monitor whether the predetermined check factor rolling cycle and authentication scanning cycle have been reached. When they are inconsistent, the PIN keyboard 10 performs the corresponding first security control operation according to the predetermined security policy; when the second counting check factor sent by the smart card 20 is not scanned, the PIN keyboard 10 determines whether the time interval from the current time to the last time the second counting check factor sent by the smart card 20 is scanned exceeds the first predetermined time. If so, the PIN keyboard 10 performs the corresponding first security control operation according to the predetermined security policy. A security control operation, otherwise, after the PIN keyboard 10 waits for a second predetermined time, it sends a scanning instruction to the smart card 20, scans the second counting verification factor sent by the smart card 20, and when the second counting verification factor sent by the smart card 20 is scanned, it determines whether the scanned second counting verification factor is consistent with the current first counting verification factor of the PIN keyboard 10, and when they are consistent, it continues to monitor whether the predetermined verification factor rolling cycle and authentication scanning cycle are reached, and when they are inconsistent, the PIN keyboard 10 performs the corresponding first security control operation according to the predetermined security policy, and when the second counting verification factor sent by the smart card 20 is not scanned, the PIN keyboard 10 returns to perform the operation of determining whether the time interval from the current time to the last time the second counting verification factor sent by the smart card 20 is scanned exceeds the first predetermined time, wherein the second predetermined time is less than the first predetermined time.

[0045] In an embodiment of the present invention, the duration of the second predetermined time may be shorter than the duration of the authentication scanning cycle, that is, in an embodiment of the present invention, when a certain authentication scanning cycle is reached, if the password keyboard 10 does not scan the second counting verification factor sent by the smart card 20, the password keyboard 10 may shorten the scanning cycle, scan the second counting verification factor sent by the smart card 20, and authenticate the second counting verification factor of the smart card 20 in a timely manner.

[0046] Through the above-mentioned office system security control system provided by the embodiment of the present invention, the password keyboard 10 establishes a short-range wireless communication connection with the smart card 20, synchronizes the counter, determines the initial counting check factor, updates the first counting check factor according to a predetermined check factor rolling period, scans the second counting check factor sent by the smart card according to a predetermined authentication scanning period, and executes the first security control operation when the second counting check factor sent by the smart card is not scanned within a predetermined time interval. Therefore, after the user logs in, it is possible to monitor in real time whether the user leaves the password keyboard, and execute the security control operation when the user leaves the password keyboard for more than a predetermined time, thereby avoiding other users illegally using the office system during the user's absence, resulting in information leakage or illegal attacks on the office system.

[0047] In an optional implementation of the embodiment of the present invention, when the PIN keyboard 10 does not scan the second counting check factor sent by the smart card 20, before determining whether the time interval from the current time to the last time the second counting check factor sent by the smart card 20 is scanned exceeds the first preset time, it can first determine whether the time interval from the current time to the last time the second counting check factor sent by the smart card 20 is scanned exceeds the predetermined threshold. If so, first perform the corresponding second security control operation according to the predetermined security policy, and then determine whether the time interval from the current time to the last time the second counting check factor sent by the smart card 20 is scanned exceeds the first preset time. The time value indicated by the predetermined threshold is less than the time value indicated by the first preset time.

[0048] In the above optional implementation, the first security control operation and the second security control operation are different security operations. In a specific application, the first security control operation may be a more stringent security control operation than the second security control operation. For example, the first security control operation may include: sending a system logout instruction to the main processor of the password keyboard 10 and / or sending a shutdown instruction to the main processor of the password keyboard 10. The second security control operation may include: sending a screen lock instruction to the main processor of the password keyboard 10 and / or sending an alarm instruction to the alarm of the password keyboard 10. Through this optional implementation, a hierarchical security control strategy can be implemented. For example, in a specific application, the predetermined threshold can be set to 5 minutes, and the first preset time can be set to 10 minutes. If the password keyboard 10 does not scan the second counting verification factor sent by the smart card 20 within 5 minutes, the second security control operation is executed, and a screen lock instruction is sent to the main processor of the password keyboard 10 and / or an alarm instruction is sent to the alarm of the password keyboard 10. The host locks the screen and / or the alarm sounds an alarm, but the password keyboard 10 maintains the rolling of the counting verification factor. If the second counting verification factor sent by the smart card 20 is received between 5 and 10 minutes, The received second counting verification factor is then authenticated. After the authentication is passed, the counting verification factor continues to be rolled over, and the second counting verification factor sent by the smart card 20 is scanned periodically. If the second counting verification factor sent by the smart card 20 is not received within 10 minutes, the first security control operation is executed, and a system logout instruction is sent to the main processor of the password keyboard 10 and / or a shutdown instruction is sent to the main processor of the password keyboard 10. After receiving the instruction, the main processor of the password keyboard 10 executes the corresponding operation, and the password keyboard 10 exits the current process and no longer executes the counting verification factor rolling and the periodic scanning of the counting verification factor.

[0049] In an optional implementation of the embodiment of the present invention, in order to ensure the security of certain key operations, the password keyboard 10 synchronizes the counter with the smart card 20, determines the initial count check factor, and monitors whether a predetermined key event occurs. When a key event is detected, the password keyboard 10 starts the camera device to collect the user's face data, and determines whether the collected face data matches the authentication face data stored in the password keyboard 10. If so, continue monitoring, otherwise, perform the first security control operation. In this optional implementation, the authentication face data stored in the password keyboard 10 can be input by the user when registering, or can be input at other times, for example, before the user needs to activate certain specific functions, which is not limited in this embodiment. Through this optional implementation, the password keyboard 10 can verify the face of the current operator before performing certain key operations, further ensure the identity of the current user, and prevent the user's account from being stolen.

[0050] In the above optional implementation manner, the predetermined key event includes but is not limited to at least one of the following:

[0051] (1) The PIN pad 10 and the smart card 20 obtain the initial count check factor; that is, after the PIN pad 10 and the smart card 20 obtain the initial count check factor, the user's face information is collected and the collected face information is authenticated. Through this optional implementation, the PIN pad 10 can start the count check factor rolling and authentication scanning after ensuring the user's identity, which can save processes.

[0052] (2) The password keyboard 10 receives an encrypted input instruction; in this optional implementation, the office system is provided with an encrypted input function, that is, the information input by the user through the keyboard is encrypted information. When the user inputs an encrypted input instruction, the function is activated. When the user activates the function, the password keyboard 10 collects the user's facial information and authenticates the collected facial information. Through this optional implementation, the password keyboard 10 can activate the encrypted input function while ensuring the identity of the user.

[0053] (3) The password keyboard 10 receives a password input instruction. That is, in this optional implementation, when the password keyboard 10 needs to input a password (e.g., a PIN code, etc.) into the office system, it first collects the user's facial information and authenticates the collected facial information. Through this optional implementation, the password keyboard 10 can ensure the user's identity before asking the user to enter the password, thereby ensuring the security of the password.

[0054] In the embodiment of the present invention, if the password keyboard 10 does not scan the second counting verification factor sent by the smart card 20 within the first predetermined time, it means that the time when the smart card 20 is away from the password keyboard 10 has exceeded the first predetermined time. Since the smart card 20 is carried by the user, it can be determined that the user is away from the password keyboard 10. Therefore, in the embodiment of the present invention, the password keyboard 10 performs the corresponding first security control operation according to the predetermined security policy, so as to ensure that the first security policy is executed after the user is away from the password keyboard 10 for more than a certain period of time, thereby avoiding the problem of illegal use of the office system by others. In an optional implementation of the embodiment of the present invention, in order to facilitate the user's next use, after the password keyboard 10 performs the corresponding first security control operation according to the predetermined security policy, the password keyboard 10 can delete all the first counting verification factors stored locally, so as to facilitate the subsequent use of the password keyboard 10.

[0055] In an embodiment of the present invention, the smart card 20 can broadcast the current second count check factor of the smart card 20 when receiving a scan instruction sent by the PIN keyboard 10. Alternatively, in an optional implementation of the embodiment of the present invention, in order to save the power of the smart card 20, the smart card 20 can enter a dormant state after synchronizing the counter with the PIN keyboard 10 to obtain the initial count check factor, and then wake up once every predetermined wake-up period. During the wake-up period, the current second count check factor of the smart card 20 is broadcast. In this optional implementation, the wake-up period is less than the authentication scan period of the PIN keyboard 10. An authentication scan period can include multiple wake-up periods, and the specific setting can be set according to actual use. Through this optional implementation, the power of the smart card 20 can be saved and the battery life of the smart card 20 can be increased.

[0056] In an optional implementation of the embodiment of the present invention, the smart card 20 can also determine whether the user is away from the PIN pad 10. In this optional implementation, after the PIN pad 10 and the smart card 20 synchronize the counters to obtain the initial count check factor, the smart card 20 can determine whether the scan authentication instruction sent by the PIN pad 10 is received within the predetermined time period. If yes, the smart card 20 sends the current second count check factor of the smart card 20. Otherwise, the smart card 20 deletes all the second count check factors stored locally. In this optional implementation, the duration of the predetermined time period can be the same as the duration of the first preset time determined by the PIN pad 10. In this way, the smart card 20 side can be consistent with the PIN pad 10 side. Of course, the duration of the predetermined time period does not necessarily have to be consistent with the duration of the first preset time, as long as the difference between the two is not large.

[0057] In actual applications, a user may temporarily leave the office system while using it, and the duration of the absence may be less than the first predetermined time. In order to ensure the security of the office system during this period, a predetermined threshold may be set, and the duration of the predetermined threshold is less than the duration of the first predetermined time. For example, the first predetermined time is 5 minutes, and the duration of the predetermined threshold is 1 minute. When the user leaves for more than the predetermined threshold, in order to ensure the security of the office system, the smart card 10 may perform a second security control operation, such as locking the screen. Therefore, in an optional implementation of the embodiment of the present invention, when the PIN pad 10 does not scan the second counting check factor sent by the smart card 20, before judging whether the time interval from the last time the second counting check factor sent by the smart card 20 is scanned exceeds the first predetermined time, the PIN pad 10 first judges whether the time interval from the current time to the last time the second counting check factor sent by the smart card 20 is scanned exceeds the predetermined threshold. If not, it continues to monitor whether the next authentication scanning cycle has arrived. Otherwise, it performs the corresponding second security control operation according to the predetermined security policy, and then judges whether the time interval from the last time the second counting check factor sent by the smart card 20 is scanned exceeds the first predetermined time, and performs the corresponding operation according to the judgment result. In this embodiment, the second security control operation is different from the first security control operation. Therefore, different security control policies can be set according to the time when the user leaves, and multi-level security control can be performed to provide convenience for the user while ensuring security.

[0058] Example 2

[0059] The embodiment of the present invention provides an office system security control method, which can be implemented by the office system security control system of embodiment 1.

[0060] Figure 2 is a flow chart of an office system security control method provided by an embodiment of the present invention, such as Figure 2 As shown, the method mainly includes the following steps:

[0061] Step 201: The password keyboard establishes a short-range wireless communication connection with the smart card.

[0062] In a specific application, wireless communication can be established between the password keyboard and the smart card via Bluetooth, WIFI, etc., which is not limited in this embodiment.

[0063] In specific applications, before establishing a wireless communication connection between the password keyboard and the smart card, the smart cards can be authenticated by swiping the card, scanning the code, etc. For example, a card reader module is set on the password keyboard. When the user needs to log in to the office system, the smart card is placed on the card reader module of the password keyboard and swiped. The password keyboard reads the identity authentication information stored in the smart card. The identity authentication information can be a user name and password, etc. Then the password keyboard authenticates the read identity authentication information. After the identity authentication is passed, the secure login is completed.

[0064] When a wireless communication connection is established between the PIN keyboard and the smart card, the PIN keyboard and the smart card can exchange device information of both parties and establish a wireless communication connection through the exchanged device information. For example, if a Bluetooth connection is established between the PIN keyboard and the smart card, the PIN keyboard and the smart card can exchange Bluetooth connection information and perform Bluetooth pairing to complete the Bluetooth connection. The device information of the smart card can be stored in the smart card, and the PIN keyboard reads it from the smart card through its card reading module to establish a wireless communication connection with the smart card. Alternatively, the user can also turn on the wireless communication functions of both the smart card and the PIN keyboard, and the smart card broadcasts its device information. After the PIN keyboard scans the device information, it establishes a wireless connection with the smart card. The specific method is not limited in this embodiment.

[0065] Step 202, the PIN keyboard clears the local counter and sends a count synchronization request to the smart card via a near-field wireless communication connection;

[0066] Among them, the count synchronization request sent by the password keyboard instructs the password keyboard to clear the local counter. After receiving the count synchronization request sent by the password keyboard, the smart card clears the local counter of the smart card, thereby achieving counter synchronization with the password keyboard. After the counter is synchronized, the count synchronization response is returned to the password keyboard through a short-range wireless communication connection, triggering the password keyboard to add 1 to its local counter and obtain the current count check factor. At the same time, the local counter of the smart card is added by 1 to obtain the current count value of the local counter, and the current count value of the smart card is calculated using the same preset algorithm as the password keyboard to obtain the initial count check factor, and the initial count check factor is used as the second count check factor of the smart card to ensure the synchronous rolling of the count check factor based on the same count check factor as the password keyboard.

[0067] Step 203: the PIN pad receives the count synchronization response returned by the smart card, adds 1 to the local counter to obtain the current count value of the local counter, and uses a preset algorithm to calculate the current count value of the local counter to obtain an initial count check factor, and uses the initial count check factor as the current first count check factor;

[0068] In a specific application, after the password keyboard and the smart card perform counting synchronization, an initial counting check factor is obtained, and the password keyboard and the smart card respectively use the initial counting check factor as the current first counting check factor of the password keyboard and the current second counting check factor of the smart card. In a specific application, after the password keyboard passes the identity authentication of the smart card, the password keyboard and the smart card perform counting synchronization and determine the initial counting check factor. Among them, the preset algorithm can be a hash algorithm or an encryption algorithm, etc., which is not limited in this embodiment. As an optional implementation in this embodiment, the preset algorithm used by the password keyboard and the smart card to calculate the current count value of the local counter to obtain the current counting check factor includes one of the following: using the current count value of the local counter as the counting check factor, or using a hash algorithm or an encryption algorithm to calculate the current count value of the local counter to obtain the counting check factor.

[0069] Step 204, the PIN pad monitors whether the predetermined verification factor rolling cycle and authentication scanning cycle have been reached. If the verification factor rolling cycle has been reached, step 205 is executed. If the authentication scanning cycle has been reached, step 206 is executed.

[0070] In a specific application, the PIN keyboard and the smart card can pre-agree on a verification factor rolling cycle and monitor whether the verification factor rolling cycle and the authentication scanning cycle have been reached. For the PIN keyboard, when the verification factor rolling cycle is detected, step 205 is executed; when the authentication scanning cycle is detected, step 206 is executed.

[0071] Among them, the check factor rolling cycle is the preset time interval from the current count check factor to the next count check factor. Whenever the monitoring reaches the preset time, the current time of each local clock is obtained, the current count check factor of each is obtained, and the timing is restarted, and the monitoring continues to be whether the preset time of the rolling cycle is reached, and periodic monitoring is performed to achieve periodic rolling generation of the count check factor. The rolling cycle of the password keyboard is set the same as the rolling cycle of the smart card to ensure that the password keyboard and the smart card roll to the next count check factor at the same interval, that is, to ensure that both parties synchronously generate their own count check factors. In actual application, the password keyboard and the smart card can be set with a reset timer for monitoring the rolling cycle, and the timing cycle is the preset time of the rolling cycle. After the timing is up, reset and restart the timing, and perform periodic timing. Of course, counters, clock chips, etc. can also be used. In this embodiment, the reset timer is only used as a way to achieve the rolling cycle, and the present invention does not limit it.

[0072] The authentication scanning cycle is the preset duration between two scans. Whenever the preset duration is detected, the second counting check factor broadcast by the smart card is triggered, and the timing is restarted to continue monitoring whether the preset duration of the authentication scanning cycle is reached. Periodic monitoring is performed to achieve periodic scanning of the counting check factor broadcast by the smart card. In actual application, the password keyboard can be set with a reset timer for monitoring the scanning cycle. The timing period is the preset duration of the authentication scanning cycle. After the timing is up, the timer is reset and restarted for periodic timing.

[0073] In an optional implementation of the embodiment of the present invention, in order to ensure the security of certain key operations, after the password keyboard counts synchronously with the smart card to obtain the initial counting verification factor, it simultaneously monitors whether a predetermined key event occurs in step 204. When a key event is detected, step 211 is executed: the password keyboard starts the camera device to collect the user's face data, and determines whether the collected face data matches the authentication face data stored in the password keyboard. If so, continue to monitor and return to step 204, otherwise, execute the first security control operation. In this optional implementation, the authentication face data stored in the password keyboard can be input by the user when registering, or it can be input at other times, for example, before the user needs to activate certain specific functions, which is not limited in this embodiment. Through this optional implementation, the password keyboard can verify the face of the current operator before executing certain key operations, further ensuring the identity of the current user and preventing the user's account from being stolen.

[0074] In the above optional implementation manner, the predetermined key event includes but is not limited to at least one of the following:

[0075] (1) The PIN keyboard and the smart card perform counting synchronization to determine the initial counting check factor; that is, after the PIN keyboard and the smart card perform counting synchronization to determine the initial counting check factor, the user's facial information is collected and the collected facial information is authenticated. Through this optional implementation, the PIN keyboard can start the counting check factor rolling and authentication scanning after ensuring the user's identity, which can save processes.

[0076] (2) The password keyboard receives an encrypted input instruction; in this optional implementation, the office system is provided with an encrypted input function, that is, the information input by the user through the keyboard is encrypted information. When the user inputs an encrypted input instruction, the function is activated. When the user activates the function, the password keyboard collects the user's facial information and authenticates the collected facial information. Through this optional implementation, the password keyboard can activate the encrypted input function while ensuring the identity of the user.

[0077] (3) The password keyboard receives a password input instruction. That is, in this optional implementation, when the password keyboard needs to input a password (e.g., a PIN code, etc.) into the office system, it first collects the user's facial information and authenticates the collected facial information. Through this optional implementation, the password keyboard can ensure the user's identity before asking the user to enter the password, thereby ensuring the security of the password.

[0078] In step 205, the password keyboard adds 1 to the current count value of the local counter to obtain a new count value, uses the new count value as the current count value of the local counter, uses a preset algorithm to calculate the current count value of the local counter to obtain a new first count verification factor, uses the new first count verification factor as the current first count verification factor, and returns to step 204.

[0079] Similarly, after the smart card synchronizes counting with the password keyboard to determine the initial counting check factor, the initial counting check factor is used as the current second counting check factor of the smart card, and monitors whether the predetermined check factor rolling cycle is reached. When monitoring that the check factor rolling cycle has been reached, the current count value of the local counter is increased by 1 to obtain a new count value, the new count value is used as the current count value of the local counter, and a preset algorithm is used to calculate the current count value of the local counter of the smart card to obtain a new second counting check factor, and the new second counting check factor is used as the current second counting check factor to ensure that the second counting check factor on the smart card side is synchronized with the first counting check factor on the password keyboard side.

[0080] Step 206, the password keyboard sends a scanning instruction to the smart card, scans the second counting verification factor sent by the smart card, and executes step 207 when the second counting verification factor sent by the smart card is scanned; if the second counting verification factor sent by the smart card is not scanned, execute step 208.

[0081] In an embodiment of the present invention, the smart card can send the current second count check factor of the smart card when receiving the scan authentication instruction sent by the password keyboard. Or, in an optional implementation of the embodiment of the present invention, in order to save the power of the smart card, the smart card can synchronize the counter with the password keyboard and determine the initial count check factor, then enter a dormant state, and then wake up once every predetermined wake-up period. During the wake-up period, the current second count check factor of the smart card is broadcast. In this optional implementation, the wake-up period is less than the authentication scan period of the password keyboard, and an authentication scan period can include multiple wake-up periods. The specific setting can be set according to actual use. Through this optional implementation, the power of the smart card can be saved and the battery life of the smart card can be increased.

[0082] Step 207 , the password keyboard determines whether the scanned second counting verification factor is consistent with the current first counting verification factor of the password keyboard. If they are consistent, it returns to step 204 , otherwise, it executes step 210 .

[0083] When the password keyboard determines that the scanned second counting verification factor is consistent with the current first counting verification factor of the password keyboard, it means that the user of the password keyboard currently in use is consistent with the current binding of the password keyboard, and the user has not left the password keyboard. Therefore, the password keyboard returns to step 204 and continues to monitor whether the verification factor rolling cycle and the authentication scanning cycle are arrived. If they are inconsistent, it means that the user of the password keyboard currently in use is inconsistent with the current binding of the password keyboard. Therefore, the password keyboard executes step 210 to perform the first security control operation.

[0084] Step 208 , the password keyboard determines whether the time interval from the current time to the last time the second counting verification factor sent by the smart card is scanned exceeds the first predetermined time, if yes, execute step 210 , otherwise, execute step 209 .

[0085] Step 209: After the password keyboard waits for the second predetermined time, it sends a scanning instruction to the smart card to scan the second counting verification factor sent by the smart card. If the second counting verification factor sent by the smart card is scanned, step 207 is executed; if the second counting verification factor sent by the smart card is not scanned, step 208 is executed, wherein the second predetermined time is less than the first predetermined time.

[0086] That is, in an embodiment of the present invention, when a certain authentication scanning cycle is reached, if the cipher keyboard does not scan the second counting verification factor sent by the smart card, the cipher keyboard can shorten the scanning cycle, scan the second counting verification factor sent by the smart card, and authenticate the second counting verification factor of the smart card in time.

[0087] Step 210: The password keyboard performs a corresponding first security control operation according to a predetermined security policy.

[0088] In an optional implementation of the embodiment of the present invention, when the password keyboard does not scan the second counting check factor sent by the smart card, before determining whether the time interval from the current time to the last time the second counting check factor sent by the smart card is scanned exceeds the first preset time, it can first determine whether the time interval from the current time to the last time the second counting check factor sent by the smart card is scanned exceeds the predetermined threshold. If so, first perform the corresponding second security control operation according to the predetermined security policy, and then perform step S208 to determine whether the time interval from the current time to the last time the second counting check factor sent by the smart card is scanned exceeds the first preset time. The time value indicated by the predetermined threshold is less than the time value indicated by the first preset time.

[0089] In the above optional implementation, the first security control operation and the second security control operation are different security operations. In a specific application, the first security control operation may be a more stringent security control operation than the second security control operation. For example, the first security control operation may include: sending a system logout instruction to the main processor of the password keyboard and / or sending a shutdown instruction to the main processor of the password keyboard. The second security control operation may include: sending a screen lock instruction to the main processor of the password keyboard and / or sending an alarm instruction to the alarm of the password keyboard. Through this optional implementation, a hierarchical security control strategy can be executed to provide convenience for users while ensuring security. For example, in a specific application, the predetermined threshold can be set to 5 minutes, and the first preset time can be set to minutes. If the password keyboard does not scan the second counting check factor sent by the smart card within 5 minutes, the second security control operation is executed, and a lock screen instruction is sent to the main processor of the password keyboard and / or an alarm instruction is sent to the alarm of the password keyboard. The host locks the screen and / or the alarm sounds an alarm, but the password keyboard maintains the rolling of the counting check factor. If the second counting check factor sent by the smart card is received within 5 minutes, the received second counting check factor is authenticated. After the authentication is passed, the counting check factor rolling continues to be maintained, and the second counting check factor sent by the smart card is scanned periodically. If the second counting check factor sent by the smart card is not received within 5 minutes, the first security control operation is executed, and a system logout instruction is sent to the main processor of the password keyboard and / or a shutdown instruction is sent to the main processor of the password keyboard. After receiving the instruction, the main processor of the password keyboard executes the corresponding operation, and the password keyboard exits the current process and no longer executes the counting check factor rolling and the counting check factor periodic scanning.

[0090] In an embodiment of the present invention, if the password keyboard does not scan the second counting verification factor sent by the smart card within the first predetermined time, it means that the time when the smart card is away from the password keyboard has exceeded the first predetermined time. Since the smart card is carried by the user, it can be determined that the user is away from the password keyboard. Therefore, in an embodiment of the present invention, the password keyboard performs the corresponding first security control operation according to the predetermined security policy, so as to ensure that the first security policy is executed after the user is away from the password keyboard for more than a certain period of time, thereby avoiding the problem of illegal use of the office system by others. In an optional implementation of the embodiment of the present invention, in order to facilitate the user's next use, after the password keyboard performs the corresponding first security control operation according to the predetermined security policy, the password keyboard can delete all the first counting verification factors stored locally, so as to facilitate the subsequent use of the password keyboard.

[0091] In an optional implementation of the embodiment of the present invention, the smart card can also determine whether the user is away from the password keyboard. In this optional implementation, after the password keyboard and the smart card negotiate the counting check factor, the method can also include: the smart card determines whether it receives the scanning authentication instruction sent by the password keyboard within the first predetermined time. If so, the smart card sends the current second counting check factor of the smart card, otherwise, the smart card deletes all the second counting check factors stored locally. In this optional implementation, the duration of the predetermined time period can be the same as the duration of the first preset time determined by the password keyboard, so that the smart card side can be consistent with the password keyboard side. Of course, the duration of the predetermined time period does not necessarily have to be consistent with the duration of the first preset time, as long as the difference between the two is not large.

[0092] Through the office system security control method provided by the embodiment of the present invention, the password keyboard establishes a short-range wireless communication connection with the smart card, determines the initial counting check factor after counter synchronization, updates the first counting check factor according to a predetermined check factor rolling period, scans the second counting check factor sent by the smart card according to a predetermined authentication scanning period, and executes the first security control operation when the second counting check factor sent by the smart card is not scanned within a predetermined time interval. Therefore, after the user logs in, it is possible to monitor in real time whether the user leaves the password keyboard, and execute the security control operation when the user leaves the password keyboard for more than a predetermined time, thereby avoiding other users illegally using the office system during the user's absence, resulting in information leakage or illegal attacks on the office system.

[0093] Example 3

[0094] This embodiment provides an office system security control device, which can be set in the password keyboard of embodiment 1 and used to execute the office system security control method of embodiment 2.

[0095] Figure 3 A schematic diagram of the structure of an office system security control device provided in this embodiment is shown in FIG. Figure 3 As shown, the office system security control device mainly includes: a communication module 301, a check factor rolling module 302, a period monitoring module 303, a heartbeat detection module 304, a check factor verification module 305, a back-connection verification module 306, a back-connection data monitoring module 307 and a security control module 308. The functions of each module of the office system security control device are mainly described below, and other related matters can refer to the description of Example 1 and Example 2.

[0096] In the embodiment of the present invention, the communication module 301 is used to establish a short-range wireless communication connection with the smart card, clear the local counter, and send a count synchronization request to the smart card 20 through the short-range wireless communication connection, and trigger the check factor rolling module 302 after receiving the count synchronization response returned by the smart card 20; the check factor rolling module 302 is used to add 1 to the local counter to obtain the current count value of the local counter after the communication module 301 receives the count synchronization response returned by the smart card 20, and use a preset algorithm to calculate the current count value of the local counter to obtain an initial count check factor, and use the initial count check factor as the current first count check factor; the periodic monitoring module 301 03, used to monitor whether the predetermined check factor rolling cycle or authentication scanning cycle has been reached, and in the case of monitoring the check factor rolling cycle being reached, trigger the check factor rolling module 302, and in the case of monitoring the authentication scanning cycle being reached, trigger the heartbeat detection module 304; the check factor rolling module 302 is also used to add 1 to the current count value of the local counter to obtain a new count value of the local counter when the period monitoring module monitors the check factor rolling cycle being reached, use the new count value as the current count value of the local counter, and use a preset algorithm to calculate the current count value of the local counter to obtain a new first count check factor, use the new first count check factor as the current first count check factor, and trigger the period Monitoring module 303; heartbeat detection module 304, used to send a scan authentication instruction to the smart card 20, scan the second counting check factor sent by the smart card 20, and trigger the check factor verification module 305 when the second counting check factor sent by the smart card 20 is scanned, and trigger the back connection verification module 306 when the second counting check factor sent by the smart card is not scanned; the check factor verification module 305 is used to determine whether the scanned second counting check factor is consistent with the current first counting check factor of the password keyboard, and if they are consistent, trigger the periodic monitoring module 303, otherwise, trigger the security control module 308; the back connection verification module 306 is used to determine whether the current distance from the last time the smart card was scanned is consistent with the first counting check factor of the password keyboard. Whether the time interval of the second counting verification factor broadcast by the card exceeds the first predetermined time, if so, the security control module 308 is triggered, otherwise the back-connection data monitoring module 307 is triggered; the back-connection data monitoring module 307 is used to send a scanning instruction to the smart card after waiting for the second predetermined time, scan the second counting verification factor sent by the smart card, and trigger the verification factor verification module 305 when the second counting verification factor sent by the smart card is scanned, and trigger the back-connection verification module 306 when the second counting verification factor sent by the smart card is not scanned, wherein the second predetermined time is less than the first predetermined time; the security control module 308 is used to perform the corresponding first security control operation according to the predetermined security policy.

[0097] Through the office system security control device provided by the embodiment of the present invention, a short-range wireless communication connection is established with the smart card, an initial count check factor is determined after counter synchronization, the first count check factor is updated according to a predetermined check factor rolling period, the second count check factor sent by the smart card is scanned according to a predetermined authentication scanning period, and a security control operation is performed when the second count check factor sent by the smart card is not scanned within a predetermined time interval. Therefore, after the user logs in, it is possible to monitor in real time whether the user leaves the password keyboard, and perform a security control operation when the user leaves the password keyboard for more than a predetermined time, thereby avoiding other users illegally using the office system during the user's absence, resulting in information leakage or illegal attacks on the office system.

[0098] In an optional implementation of an embodiment of the present invention, the device may also include: a face verification module; a periodic monitoring module 303 is also used to determine whether a predetermined key event occurs, and when a key event is detected, the face verification module is triggered; the face verification module is used to start the camera device to collect the user's face data, and determine whether the collected face data matches the authentication face data stored in the password keyboard. If so, the periodic monitoring module 303 is triggered, otherwise, the security control module 308 is triggered.

[0099] In an optional implementation of the embodiment of the present invention, the device may further include: a key clearing module, configured to delete all first counting verification factors stored in the password keyboard after the security control module 308 executes the first security control operation.

[0100] In an optional implementation of an embodiment of the present invention, the device may also include: a threshold detection module, which is used to determine whether the time interval from the current time to the last time the second counting verification factor sent by the smart card is scanned exceeds a predetermined threshold before triggering the reconnection verification module 306 when the heartbeat detection module 304 does not scan the second counting verification factor sent by the smart card. If not, trigger the period detection module 303; otherwise, perform the corresponding second security control operation according to the predetermined security policy, and then trigger the reconnection verification module 306.

[0101] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0102] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0103] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0104] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0105] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0106] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0107] Although the embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. Those skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention without departing from the principles and purpose of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for controlling office system security, characterized in that: include: Step 1, the password keyboard establishes a short-range wireless communication connection with the smart card; Step 2: the password keyboard clears the local counter and sends a count synchronization request to the smart card via the short-range wireless communication connection; Step 3, the PIN keyboard receives the count synchronization response returned by the smart card, adds 1 to the local counter to obtain the current count value of the local counter, and uses a preset algorithm to calculate the current count value of the local counter to obtain an initial count check factor, and uses the initial count check factor as the current first count check factor; Step 4, the password keyboard monitors whether a predetermined check factor rolling cycle and authentication scanning cycle have been reached, and in the case of monitoring that the check factor rolling cycle has been reached, step 5 is executed, and in the case of monitoring that the authentication scanning cycle has been reached, step 6 is executed; Step 5, the password keyboard adds 1 to the current count value of the local counter to obtain a new count value, uses the new count value as the current count value of the local counter, uses the preset algorithm to calculate the current count value of the local counter to obtain a new first count check factor, uses the new first count check factor as the current first count check factor, and returns to step 4; Step 6, the PIN keyboard sends a scanning instruction to the smart card, scans the second counting check factor sent by the smart card, and executes step 7 if the second counting check factor sent by the smart card is scanned, and executes step 8 if the second counting check factor sent by the smart card is not scanned; Step 7, the password keyboard determines whether the scanned second counting check factor is consistent with the current first counting check factor of the password keyboard. If they are consistent, return to step 4, otherwise, execute step 10; Step 8, the password keyboard determines whether the time interval from the current time to the last time the second counting check factor sent by the smart card is scanned exceeds the first predetermined time, if yes, execute step 10, otherwise, execute step 9; Step 9, after the PIN keyboard waits for a second predetermined time, it sends a scanning instruction to the smart card to scan the second counting check factor sent by the smart card, and in the case where the second counting check factor sent by the smart card is scanned, step 7 is executed, and in the case where the second counting check factor sent by the smart card is not scanned, step 8 is executed, wherein the second predetermined time is less than the first predetermined time; Step 10: the password keyboard performs a corresponding first security control operation according to a predetermined security policy.

2. The method according to claim 1, characterized in that The step 4 further includes: the password keyboard monitors whether a predetermined key event occurs, and if a key event occurs, executes step 11; Step 11, the password keyboard starts the camera device to collect the user's facial data, and determines whether the collected facial data matches the authentication facial data stored in the password keyboard. If so, return to step 4, otherwise, execute step 10.

3. The method according to claim 2, characterized in that The predetermined key event includes at least one of the following: the PIN keyboard acquires the initial counting verification factor, the PIN keyboard receives an encryption input instruction, and the PIN keyboard receives a password input instruction.

4. The method according to any one of claims 1 to 3, characterized in that: After the password keyboard performs the corresponding first security control operation according to the predetermined security policy, the method further includes: the password keyboard deletes all first counting verification factors stored locally.

5. The method according to any one of claims 1 to 3, characterized in that: After the PIN keyboard receives the count synchronization response returned by the smart card, the method further includes: The smart card enters a dormant state and wakes up once every predetermined wake-up period. During the wake-up period, the current second counting verification factor of the smart card is broadcasted.

6. The method according to any one of claims 1 to 3, characterized in that: After the PIN keyboard receives the count synchronization response returned by the smart card, the method further includes: The smart card determines whether a scanning authentication instruction sent by the password keyboard is received within the first predetermined time. If yes, the smart card sends the current second counting verification factor of the smart card. Otherwise, the smart card deletes all second counting verification factors stored locally.

7. The method according to any one of claims 1 to 3, characterized in that: In step 6, when the second counting check factor sent by the smart card is not scanned, before executing step 8, the method further includes: The password keyboard determines whether the time interval from the current time to the last time the second counting verification factor sent by the smart card is scanned exceeds a predetermined threshold. If not, it returns to step 4. If yes, it performs the corresponding second security control operation according to the predetermined security policy, and then executes step 8.

8. An office system security control device, located in a password keyboard, characterized in that: include: A communication module, used to establish a short-range wireless communication connection with a smart card, trigger a local counter to be cleared, send a count synchronization request to the smart card through the short-range wireless communication connection, and trigger a check factor rolling module after receiving a count synchronization response returned by the smart card; A check factor rolling module is used to trigger the local counter to add 1 to obtain the current count value of the local counter after the communication module receives the count synchronization response returned by the smart card, and use a preset algorithm to calculate the current count value of the local counter to obtain an initial count check factor, use the initial count check factor as the current first count check factor, and trigger the monitoring module to work; A periodic monitoring module is used to monitor whether a predetermined check factor rolling period or authentication scanning period has been reached, and trigger the check factor rolling module when the check factor rolling period has been reached, and trigger the heartbeat detection module when the authentication scanning period has been reached; The check factor rolling module is further used to trigger the local counter to add 1 to the current count value of the local counter to obtain a new count value when the period monitoring module monitors that the rolling period has arrived, use the new count value as the current count value of the local counter, use the preset algorithm to calculate the current count value of the local counter to obtain a new first count check factor, use the new first count check factor as the current first count check factor, and trigger the period monitoring module; The heartbeat detection module is used to send a scanning authentication instruction to the smart card, scan the second counting check factor sent by the smart card, trigger the check factor verification module when the second counting check factor sent by the smart card is scanned, and trigger the back connection verification module when the second counting check factor sent by the smart card is not scanned; The check factor verification module is used to determine whether the scanned second counting check factor is consistent with the current first counting check factor of the password keyboard, and trigger the periodic monitoring module if they are consistent, otherwise, trigger the security control module; The back-connection verification module is used to determine whether the time interval from the last time the verification key broadcast by the smart card was scanned exceeds a first predetermined time, and if so, trigger the security control module, otherwise, trigger the back-connection data monitoring module; The back-connection data monitoring module is configured to send a scanning instruction to the smart card after waiting for a second predetermined time, scan a second counting check factor sent by the smart card, trigger the counting check factor verification module when the second counting check factor sent by the smart card is scanned, and trigger the back-connection verification module when the second counting check factor sent by the smart card is not scanned, wherein the second predetermined time is less than the first predetermined time; The security control module is used to execute a corresponding first security control operation according to a predetermined security policy.

9. The device according to claim 8, characterized in that Also includes: Face verification module; The periodic monitoring module is also used to determine whether a predetermined key event occurs, and trigger the face verification module when a key event is detected; The face verification module is used to start the camera device to collect the user's face data, and determine whether the collected face data matches the authentication face data stored in the password keyboard. If so, the periodic monitoring module is triggered, otherwise, the security control module is triggered.

10. The device according to claim 8 or 9, characterized in that Also includes: The key clearing module is used to delete all first counting verification factors stored in the password keyboard after the security control module executes the first security control operation.

11. The device according to claim 8 or 9, characterized in that Also includes: The threshold detection module is used to determine whether the time interval between the current and the last scan of the second counting verification factor sent by the smart card exceeds a predetermined threshold before triggering the back-connection verification module when the heartbeat detection module fails to scan the second counting verification factor sent by the smart card. If not, the periodic monitoring module is triggered; otherwise, the corresponding second security control operation is performed according to a predetermined security policy, and then the back-connection verification module is triggered.

12. An office system security control system, characterized in that: It includes a password keyboard and a smart card, among which, The password keyboard comprises a device as claimed in any one of claims 8 to 11; The smart card is used to: establish a short-range wireless communication connection with the password keyboard; after receiving a count synchronization request sent by the password keyboard through the short-range wireless communication connection, clear the local counter, return a count synchronization response to the password keyboard, add 1 to the local counter to obtain the current count value of the local counter, and use a preset algorithm to calculate the current count value of the local counter to obtain the current second count verification factor of the smart card; receive a scan authentication instruction sent by the password keyboard, and send the current second count verification factor of the smart card; and when monitoring the arrival of the verification factor rolling cycle, add 1 to the current count value of the local counter to obtain a new count value, use the new count value as the current count value of the local counter, use the preset algorithm to calculate the current count value of the local counter to obtain a new second count verification factor, and use the new second count verification factor as the current second count verification factor of the smart card.

13. The system according to claim 12, characterized in that The smart card is also used to delete all second counting verification factors stored locally when no scanning authentication instruction sent by the password keyboard is received within a predetermined time period.

14. The system according to claim 13, characterized in that The smart card is also used to enter a dormant state after returning a count synchronization response to the password keyboard, wake up once every predetermined wake-up period, and broadcast the current second count verification factor of the smart card during the wake-up period.