A kind of invigilation management system and method based on information security
By setting up the face verification control and stuck recognition model on the online exam user terminal, combined with mouse coordinate points and keyboard events, the problem of being unable to effectively identify user identities and detect cheating in the existing technology is solved, and the security and safety of exam information are improved. Accuracy of cheat detection.
Patent Information
- Application Number
- CN202410684114.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-30
AI Technical Summary
The existing online exam proctoring system cannot effectively identify the user's identity, and cannot accurately detect the behavior of others helping users cheat by remotely controlling the computer, resulting in the failure to guarantee the security of exam information.
Set up a face verification control on the online exam client, fuse the face image feature sequence and the verification code to generate a digital verification sequence, detect the mouse coordinate points and keyboard events, and use the pre-built stuck recognition model to determine whether there is cheating Behavior.
Through further processing of image data, the shortcomings of single image recognition can be avoided, and the behavior of others using remote control computers to cheat can be effectively identified, which improves the security of examination information and the accuracy of cheating detection.
Smart Images

Figure CN118277983B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of invigilation management, and more specifically, to an invigilation management system and method based on information security. Background Art
[0002] With the development of information technology, more and more exams have been transferred from the traditional offline mode to the online mode. Various "computer-based exams" have emerged one after another, including LAN exams that gather personnel in the computer room, spontaneous exams during online classes, knowledge contest exams of special categories, and pass-through exams for industry qualification certification, etc. Online exam anti-cheating technology has also shifted from the initial non-intelligent methods such as manual monitoring and video monitoring to intelligent online exam monitoring forms such as face recognition. In the existing technology, it is usually to call the camera to obtain the user's real-time image information in real time, compare the real-time image information with the standard image uploaded by the user, and perform identity authentication. In the process of the exam, the user's image is obtained in real time to determine whether cheating behavior occurs;
[0003] For example, the patent with publication number CN107730422A provides an online test analysis system based on facial recognition, which extracts the information data and image data of the examinee and sends them to the central processor, compares the information data and image data of the examinee with the database for analysis and processing, and then sends a processing command to the central controller. The patent with publication number CN117634935A provides a remote online test management method, system, device and storage medium. The patent places a computer in front of the examinee so that the examinee's head and desktop are within the camera range of the computer, and the invigilator is placed behind the examinee so that the examinee's upper body is within the camera range of the invigilator. Although the above patents all achieve the detection of cheating in the test, there are still certain problems.
[0004] Although the above patent compares and analyzes the collected image data with the database, it does not process the image and only recognizes it through a single image, which cannot effectively identify the user's identity. In addition, although the above patent has been monitored through invigilation equipment, there may be others who use remote control of the computer to help users cheat. This makes it impossible to accurately detect cheating in the exam and cannot ensure the security of the exam information.
[0005] In view of this, the present invention proposes an invigilation management system and method based on information security to solve the above problems. Summary of the invention
[0006] In order to overcome the above-mentioned defects of the prior art, the present invention provides an invigilation management system and method based on information security.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] An invigilation management method based on information security is applied to an online examination user terminal, where a face verification control is provided, including:
[0009] S10: In response to a first trigger operation on the face verification control, a face image set of the current user is obtained; in response to a second trigger operation on inputting a verification code, a verification code input by the current user is obtained;
[0010] S20: generating a facial image feature sequence based on the facial image set, generating a digital verification sequence based on the verification code, fusing the facial image feature sequence and the digital verification sequence to generate a facial verification sequence, identifying the current user based on the facial verification sequence, and generating a verification result, the verification result including a successful recognition and a failed recognition;
[0011] S30: When the verification result is successful recognition, the test interaction interface is displayed, the mouse coordinate point and the keyboard event set are obtained in the test interaction interface, and whether cheating exists is determined based on the mouse coordinate point and the keyboard event set;
[0012] S40: Obtain the interactive interface image of the current user, input the interactive interface image into a pre-built jamming recognition model, obtain the jamming recognition result, continuously obtain the user's inactivity time, and determine whether to perform a forced paper submission operation based on the jamming recognition result and the user's inactivity time.
[0013] Furthermore, the method for obtaining the face image set of the current user includes:
[0014] A user pre-stored image set in a pre-built database is retrieved and used as a face image set. The face image set includes M frames of face images, where M is an integer greater than 1.
[0015] Furthermore, the method for generating a facial image feature sequence based on a facial image set includes:
[0016] The order of M face images in a face image set is randomly disrupted, and features of the face image set are extracted based on the directional gradient histogram algorithm to generate a face image feature sequence.
[0017] Furthermore, the method of fusing the facial image feature sequence and the digital verification sequence to generate the facial verification sequence includes:
[0018] The facial image feature sequence is randomly fused with the digital verification sequence in sequence to generate a face verification sequence.
[0019] Furthermore, the method for determining whether cheating exists based on the mouse coordinate point and keyboard event set includes:
[0020] A first detection result is generated based on the coordinates of the mouse coordinate point, and a second detection result is generated based on the keyboard event set. When any of the first detection result and the second detection result is abnormal, cheating is determined to exist. Both the first detection result and the second detection result include abnormal and non-abnormal results.
[0021] Furthermore, the method for generating the first detection result based on the coordinates of the mouse coordinate point includes:
[0022] The coordinates of the mouse coordinate point are fitted to generate a mouse movement curve, a mouse movement slope set on the mouse movement curve is obtained, and the mouse movement slope set is input into a pre-built slope recognition model to obtain a first detection result.
[0023] Furthermore, the method for constructing the slope identification model includes:
[0024] Obtain i groups of data, where i is a positive integer greater than 1, and the data includes a set of historical mouse movement slopes and a historical first detection result. The set of historical mouse movement slopes and the historical first detection result are used as sample sets, and the sample sets are divided into a training set and a test set. A classifier is constructed, and the set of historical mouse movement slopes in the training set is used as input data, and the historical first detection result in the training set is used as output data. The classifier is trained to obtain an initial classifier, and the initial classifier is tested using the test set, and a classifier that meets a preset accuracy is output as a slope recognition model.
[0025] Furthermore, the method for generating a second detection result based on the keyboard event set includes:
[0026] The number of keyboard clicks within a preset time period is obtained. When the number of keyboard clicks is less than or equal to the preset number threshold, the second detection result is abnormal. When the number of keyboard clicks is greater than the preset number threshold, the second detection result is not abnormal.
[0027] Furthermore, the method for constructing the jamming recognition model includes:
[0028] Obtain h groups of data, where h is a positive integer greater than 1, and the data includes historical interactive interface images and historical jamming recognition results. The historical interactive interface images and historical jamming recognition results are used as sample sets, and the sample sets are divided into training sets and test sets. A classifier is constructed, and the historical interactive interface images in the training set are used as input data, and the historical jamming recognition results in the training set are used as output data. The classifier is trained to obtain an initial classifier, and the initial classifier is tested using the test set, and a classifier that meets the preset accuracy is output as a jamming recognition model.
[0029] Furthermore, the method for determining whether to perform a forced paper submission operation based on the jamming recognition result and the user's inactivity time includes:
[0030] When the jamming recognition result is jamming, no forced paper submission operation is performed. When the jamming recognition result is non-jamming, it is further determined whether the user's inactivity time is greater than the preset time threshold. If so, a forced paper submission operation is performed. If not, no forced paper submission operation is performed.
[0031] An invigilation management system based on information security, which is used to implement the above-mentioned invigilation management method based on information security, comprises:
[0032] Data acquisition module: used for responding to the first trigger operation acting on the face verification control to obtain the face image set of the current user, and responding to the second trigger operation acting on the input verification code to obtain the verification code input by the current user;
[0033] Face recognition module: used to generate a face image feature sequence based on a face image set, generate a digital verification sequence based on a verification code, fuse the face image feature sequence and the digital verification sequence to generate a face verification sequence, identify the current user based on the face verification sequence, and generate a verification result, which includes recognition success and recognition failure;
[0034] Cheating monitoring module: when the verification result is successful recognition, the test interaction interface is displayed, the mouse coordinate points and keyboard event sets are obtained in the test interaction interface, and whether there is cheating based on the mouse coordinate points and keyboard event sets;
[0035] Identification module: used to obtain the interactive interface image of the current user, input the interactive interface image into the pre-built jamming recognition model, obtain the jamming recognition result, continuously obtain the user's inactivity time, and determine whether to perform a forced submission operation based on the jamming recognition result and the user's inactivity time.
[0036] An electronic device includes a power supply, an interface, a keyboard, a memory, a central processing unit, and a computer program stored in the memory and executable on the central processing unit. When the processor executes the computer program, the above-mentioned invigilation management method based on information security is implemented. The interface includes a network interface and a data interface. The network interface includes a wired or wireless interface, and the data interface includes an input or output interface.
[0037] A computer-readable storage medium stores a computer program, and when the computer program is executed, the above-mentioned invigilation management method based on information security is implemented.
[0038] Compared with the prior art, the present invention has the following beneficial effects:
[0039] The present invention first generates a facial image feature sequence based on a facial image set, generates a digital verification sequence based on a verification code, merges the facial image feature sequence and the digital verification sequence to generate a facial verification sequence, identifies the current user based on the facial verification sequence, obtains a mouse coordinate point and a keyboard event set in an examination interactive interface, determines whether cheating exists based on the mouse coordinate point and the keyboard event set, obtains an interactive interface image of the current user, inputs the interactive interface image into a pre-built jam recognition model, obtains a jam recognition result, determines whether to perform a forced paper submission operation based on the jam recognition result and the user's inactivity time, and can avoid the problem of being unable to perform effective recognition through a single image through further processing of the image data, and can effectively identify the behavior of others helping users to cheat by remotely controlling a computer during the monitoring process. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A flowchart of an information security-based invigilation management method in the present invention;
[0041] Figure 2 A schematic diagram of a computer-readable storage medium in the present invention. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 scope of protection of the present invention.
[0043] Example 1
[0044] See also Figure 1 As shown, this embodiment discloses a method for invigilation management based on information security, which is applied to an online examination user terminal, and the online examination user terminal is provided with a face verification control, including:
[0045] S10: In response to a first trigger operation on the face verification control, a face image set of the current user is obtained; in response to a second trigger operation on inputting a verification code, a verification code input by the current user is obtained;
[0046] It should be noted that a control generally refers to an operable element in a user interface, which is used to receive user input or display information. In software development, a control may be a button, a text box, a check box, a drop-down menu, etc. In this embodiment, it is necessary to obtain a user's face image before the user takes the test, so as to facilitate subsequent face recognition;
[0047] Methods for obtaining the current user's face image set include:
[0048] Retrieving a user's pre-stored image set in a pre-built database, and using the user's pre-stored image set as a face image set, wherein the face image set includes M frames of face images, where M is an integer greater than 1;
[0049] It is understandable that the above database may be MySQL, which can store structured data as well as image data. When the work of acquiring the face image set is completed, the system will randomly send a verification code to the current user's device. The current user needs to enter the verification code, and the system will pre-store the verification code after the current user completes entering the verification code.
[0050] S20: generating a facial image feature sequence based on the facial image set, generating a digital verification sequence based on the verification code, fusing the facial image feature sequence and the digital verification sequence to generate a facial verification sequence, identifying the current user based on the facial verification sequence, and generating a verification result, the verification result including a successful recognition and a failed recognition;
[0051] The method for generating a facial image feature sequence based on a facial image set includes:
[0052] The order of M frames of face images in the face image set is randomly disrupted, and features of the face image set are extracted based on the directional gradient histogram algorithm to generate a face image feature sequence;
[0053] Methods for generating a digital verification sequence based on a verification code include:
[0054] Convert the verification code into a digital verification sequence according to the One-Hot encoding algorithm;
[0055] It can be understood that the facial image feature sequence and the digital verification sequence mentioned above are both presented in the form of feature vectors, and the directional gradient histogram algorithm mentioned above is an algorithm for detecting the contour of an object, which is commonly used in pedestrian detection and face detection tasks, and can extract local gradient features in an image, while One-Hot encoding is a method for converting discrete data into vector representation, which is commonly used in machine learning and deep learning tasks. In order to ensure the randomness of face verification in the prior art, the user face verification instructions received by each current user are random, and the system needs to generate a large number of random user face verification instructions in a short period of time, which will undoubtedly increase the amount of calculation of the system and easily cause the system to freeze;
[0056] Exemplarily, the user face verification instruction received by the first user includes nodding, opening the mouth, turning the head left, turning the head right, and blinking, while the user face verification instruction received by the second user includes turning the head left, blinking, nodding, turning the head right, and opening the mouth. This will undoubtedly increase the amount of calculation of the system. Therefore, in this embodiment, the user pre-stored image set uploaded by the current user is directly used as the face image set. In the process of image data processing, the order of the M frames of face images in the face image set is randomly disrupted and combined with the subsequent random verification code, which not only ensures randomness but also avoids the increase of the amount of calculation of the system.
[0057] The method of fusing the facial image feature sequence and the digital verification sequence to generate the facial verification sequence includes:
[0058] The facial image feature sequence is randomly fused with the digital verification sequence in sequence to generate a facial verification sequence;
[0059] It can be understood that the facial image feature sequence is composed of several image feature vectors combined in order, and the digital verification sequence is also composed of several digital feature vectors combined in order. Random fusion usually refers to randomly combining the vectors in them to form a new vector.
[0060] The above contents are explained as follows in combination with specific application scenarios:
[0061] The facial image feature sequence includes left head turning feature, blinking feature, nodding feature, right head turning feature and mouth opening feature. The number verification sequence includes number 3 feature, number 5 feature, number 6 feature, number 8 feature and number 9 feature.
[0062] It can be understood that the left head turning feature mentioned above refers to obtaining the facial contour feature of the current user when the current user performs a left head turning action, and so on, and the number 3 feature is a feature obtained by encoding the number 3 in the verification code, and so on, and the generated face verification sequence refers to the user being required to perform face recognition verification according to the order of the verification code;
[0063] Exemplarily, the random combination of the above-mentioned facial image feature sequence and the digital verification sequence can be that the digital 3 feature is combined with the blinking feature, the digital 5 feature is combined with the right head turning feature, the digital 6 feature is combined with the left head turning feature, the digital 8 feature is combined with the mouth opening feature, and the digital 9 feature is combined with the nodding feature. Therefore, when the verification code sequence received by the current user is 35689, the user needs to perform face recognition according to the face verification sequence, that is, blink, turn right, turn left, open mouth and nod in sequence. In this way, this embodiment can combine digital features with image features, and utilize the randomness of digital features to perform face recognition on the current user, which can greatly reduce the user's cheating during the face recognition process and realize accurate detection of cheating in examinations.
[0064] S30: When the verification result is successful recognition, the test interaction interface is displayed, the mouse coordinate point and the keyboard event set are obtained in the test interaction interface, and whether cheating exists is determined based on the mouse coordinate point and the keyboard event set;
[0065] It is worth noting that when the recognition is successful, the current user's device will display the test interaction interface. In the JavaScript code of the system front end, the coordinates of the mouse coordinate point are recorded at millisecond time intervals, and keyboard events are monitored to record the keyboard click position and click time;
[0066] Methods for determining whether cheating exists based on mouse coordinate points and keyboard event sets include:
[0067] Generate a first detection result based on the coordinates of the mouse coordinate point, and generate a second detection result based on the keyboard event set. When any of the first detection result and the second detection result is abnormal, it is determined that cheating exists. Both the first detection result and the second detection result include abnormal and non-abnormal results.
[0068] The method for generating a first detection result based on the coordinates of the mouse coordinate point includes:
[0069] Fitting the coordinates of the mouse coordinate point to generate a mouse movement curve, obtaining a mouse movement slope set on the mouse movement curve, and inputting the mouse movement slope set into a pre-built slope recognition model to obtain a first detection result;
[0070] The construction method of the slope identification model includes:
[0071] Obtain i groups of data, where i is a positive integer greater than 1, and the data includes a historical mouse movement slope set and a historical first detection result, use the historical mouse movement slope set and the historical first detection result as a sample set, divide the sample set into a training set and a test set, build a classifier, use the historical mouse movement slope set in the training set as input data, use the historical first detection result in the training set as output data, train the classifier to obtain an initial classifier, test the initial classifier using the test set, and output a classifier that meets a preset accuracy as a slope recognition model, wherein the classifier is preferably a naive Bayes model or a support vector machine model;
[0072] It should be noted that in this embodiment, the determination of whether cheating exists through the mouse coordinate points and keyboard event sets is mainly aimed at the phenomenon that during the examination process, there are others who help the current user to answer questions through remote control. During the examination process, long-term monitoring of the user cannot identify the occurrence of such phenomena. If other monitoring software is used for further monitoring, it may lead to information leakage. Therefore, this example determines whether there is remote control through the mouse coordinate points and keyboard event sets, because when a real person operates the mouse, it may be affected by hand tremors or uncertainties, resulting in some fluctuations and twists in the mouse movement trajectory, thereby affecting the slope of the curve. Since the remote-controlled mouse is controlled by a computer program, it is usually more stable, reducing this impact. Therefore, the intensity of monitoring during the examination process can be further strengthened, and information leakage can also be avoided;
[0073] The method for generating a second detection result based on a keyboard event set includes:
[0074] Obtain the number of keyboard clicks within a preset time period. When the number of keyboard clicks is less than or equal to a preset number threshold, the second detection result is abnormal. When the number of keyboard clicks is greater than the preset number threshold, the second detection result is not abnormal.
[0075] It is understandable that if the current user's computer is remotely controlled, the number of keyboard clicks on his current device will be at a low level, so the system can determine it as abnormal;
[0076] S40: Obtain an interactive interface image of the current user, input the interactive interface image into a pre-built jamming recognition model, obtain a jamming recognition result, continuously obtain the user's inactivity time, and determine whether to perform a forced paper submission operation based on the jamming recognition result and the user's inactivity time;
[0077] In this embodiment, the system can call corresponding software to take screenshots by establishing a remote connection with the current user's device, thereby obtaining an interactive interface image;
[0078] The results of stuttering recognition include stuttering and non-stuttering;
[0079] The method for constructing the jam recognition model includes:
[0080] Obtain h groups of data, where h is a positive integer greater than 1, and the data includes historical interactive interface images and historical jamming recognition results. The historical interactive interface images and historical jamming recognition results are used as sample sets, and the sample sets are divided into training sets and test sets. A classifier is constructed, and the historical interactive interface images in the training set are used as input data, and the historical jamming recognition results in the training set are used as output data. The classifier is trained to obtain an initial classifier, and the initial classifier is tested using the test set, and a classifier that meets a preset accuracy is output as a jamming recognition model, and the classifier is preferably a deep neural network model;
[0081] It should be noted that the interactive interface image may include multiple adjacent frames of images. Whether the screen freezes may be determined by obtaining the frame rates of the multiple adjacent frames of images. Screen delay may also be detected. Whether the screen freezes may be determined by the screen delay. Taking the classifier as a deep neural network model as an example, the features of the interactive interface image, that is, the frame rate or delay, etc., are obtained by the deep neural network model, and the interactive interface images are distinguished by the frame rate or delay.
[0082] The method for determining whether to perform a forced paper submission operation based on the jam recognition result and the user's inactivity time includes:
[0083] When the jamming recognition result is jamming, the forced paper submission operation is not performed. When the jamming recognition result is non-jamming, it is further determined whether the user's inactivity time is greater than a preset time threshold. If so, the forced paper submission operation is performed. If not, the forced paper submission operation is not performed.
[0084] It is understandable that during the online examination, candidates may communicate with each other. Therefore, when it is detected that the current user has no operation for a long time, the test paper should be handed in compulsorily. However, the long-term inactivity of the user may be caused by screen freeze. Therefore, it is necessary to consider the screen freeze factor in order to more accurately monitor whether there is communication between candidates.
[0085] In this embodiment, a facial image feature sequence is first generated based on a facial image set, a digital verification sequence is generated based on a verification code, the facial image feature sequence and the digital verification sequence are merged to generate a facial verification sequence, the current user is identified based on the facial verification sequence, and when the verification result is successful recognition, the test interaction interface is displayed, the mouse coordinate point and the keyboard event set are obtained in the test interaction interface, and whether cheating exists is determined based on the mouse coordinate point and the keyboard event set, the interaction interface image of the current user is obtained, the interaction interface image is input into a pre-built jamming recognition model to obtain a jamming recognition result, the user's inactivity time is continuously obtained, and whether a forced paper submission operation is performed is determined based on the jamming recognition result and the user's inactivity time. By further processing the image data, the problem of inability to perform effective recognition through a single image can be avoided, and in the process of monitoring, the behavior of others helping users to cheat by remotely controlling a computer can be effectively identified.
[0086] Example 2
[0087] This embodiment provides an information security-based invigilation management system based on the embodiment 1, including:
[0088] Data acquisition module: used for responding to the first trigger operation acting on the face verification control to obtain the face image set of the current user, and responding to the second trigger operation acting on the input verification code to obtain the verification code input by the current user;
[0089] It should be noted that a control generally refers to an operable element in a user interface, which is used to receive user input or display information. In software development, a control may be a button, a text box, a check box, a drop-down menu, etc. In this embodiment, it is necessary to obtain a user's face image before the user takes the test, so as to facilitate subsequent face recognition;
[0090] Methods for obtaining the current user's face image set include:
[0091] Retrieving a user's pre-stored image set in a pre-built database, and using the user's pre-stored image set as a face image set, wherein the face image set includes M frames of face images, where M is an integer greater than 1;
[0092] It is understandable that the above database may be MySQL, which can store structured data as well as image data. When the work of acquiring the face image set is completed, the system will randomly send a verification code to the current user's device. The current user needs to enter the verification code, and the system will pre-store the verification code after the current user completes entering the verification code.
[0093] Face recognition module: used to generate a face image feature sequence based on a face image set, generate a digital verification sequence based on a verification code, fuse the face image feature sequence and the digital verification sequence to generate a face verification sequence, identify the current user based on the face verification sequence, and generate a verification result, which includes recognition success and recognition failure;
[0094] The method for generating a facial image feature sequence based on a facial image set includes:
[0095] The order of M frames of face images in the face image set is randomly disrupted, and features of the face image set are extracted based on the directional gradient histogram algorithm to generate a face image feature sequence;
[0096] Methods for generating a digital verification sequence based on a verification code include:
[0097] Convert the verification code into a digital verification sequence according to the One-Hot encoding algorithm;
[0098] It can be understood that the facial image feature sequence and the digital verification sequence mentioned above are both presented in the form of feature vectors, and the directional gradient histogram algorithm mentioned above is an algorithm for detecting the contour of an object, which is commonly used in pedestrian detection and face detection tasks, and can extract local gradient features in an image, while One-Hot encoding is a method for converting discrete data into vector representation, which is commonly used in machine learning and deep learning tasks. In order to ensure the randomness of face verification in the prior art, the user face verification instructions received by each current user are random, and the system needs to generate a large number of random user face verification instructions in a short period of time, which will undoubtedly increase the amount of calculation of the system and easily cause the system to freeze;
[0099] Exemplarily, the user face verification instruction received by the first user includes nodding, opening the mouth, turning the head left, turning the head right, and blinking, while the user face verification instruction received by the second user includes turning the head left, blinking, nodding, turning the head right, and opening the mouth. This will undoubtedly increase the amount of calculation of the system. Therefore, in this embodiment, the user pre-stored image set uploaded by the current user is directly used as the face image set. In the process of image data processing, the order of the M frames of face images in the face image set is randomly disrupted and combined with the subsequent random verification code, which not only ensures randomness but also avoids the increase of the amount of calculation of the system.
[0100] The method of fusing the facial image feature sequence and the digital verification sequence to generate the facial verification sequence includes:
[0101] The facial image feature sequence is randomly fused with the digital verification sequence in sequence to generate a facial verification sequence;
[0102] It can be understood that the facial image feature sequence is composed of several image feature vectors combined in order, and the digital verification sequence is also composed of several digital feature vectors combined in order. Random fusion usually refers to randomly combining the vectors in them to form a new vector.
[0103] The above contents are explained as follows in combination with specific application scenarios:
[0104] The facial image feature sequence includes left head turning feature, blinking feature, nodding feature, right head turning feature and mouth opening feature. The number verification sequence includes number 3 feature, number 5 feature, number 6 feature, number 8 feature and number 9 feature.
[0105] It can be understood that the left head turning feature mentioned above refers to obtaining the facial contour feature of the current user when the current user performs a left head turning action, and so on, and the number 3 feature is a feature obtained by encoding the number 3 in the verification code, and so on, and the generated face verification sequence refers to the user being required to perform face recognition verification according to the order of the verification code;
[0106] Exemplarily, the random combination of the above-mentioned facial image feature sequence and the digital verification sequence can be that the digital 3 feature is combined with the blinking feature, the digital 5 feature is combined with the right head turning feature, the digital 6 feature is combined with the left head turning feature, the digital 8 feature is combined with the mouth opening feature, and the digital 9 feature is combined with the nodding feature. Therefore, when the verification code sequence received by the current user is 35689, the user needs to perform face recognition according to the face verification sequence, that is, blink, turn right, turn left, open mouth and nod in sequence. In this way, this embodiment can combine digital features with image features, and utilize the randomness of digital features to perform face recognition on the current user, which can greatly reduce the user's cheating during the face recognition process and realize accurate detection of cheating in examinations.
[0107] Cheating monitoring module: when the verification result is successful recognition, the test interaction interface is displayed, the mouse coordinate points and keyboard event sets are obtained in the test interaction interface, and whether there is cheating based on the mouse coordinate points and keyboard event sets;
[0108] It is worth noting that when the recognition is successful, the current user's device will display the test interaction interface. In the JavaScript code of the system front end, the coordinates of the mouse coordinate point are recorded at millisecond time intervals, and keyboard events are monitored to record the keyboard click position and click time;
[0109] Methods for determining whether cheating exists based on mouse coordinate points and keyboard event sets include:
[0110] Generate a first detection result based on the coordinates of the mouse coordinate point, and generate a second detection result based on the keyboard event set. When any of the first detection result and the second detection result is abnormal, it is determined that cheating exists. Both the first detection result and the second detection result include abnormal and non-abnormal results.
[0111] The method for generating a first detection result based on the coordinates of the mouse coordinate point includes:
[0112] Fitting the coordinates of the mouse coordinate point to generate a mouse movement curve, obtaining a mouse movement slope set on the mouse movement curve, and inputting the mouse movement slope set into a pre-built slope recognition model to obtain a first detection result;
[0113] It should be noted that in this embodiment, the determination of whether cheating exists through the mouse coordinate points and keyboard event sets is mainly aimed at the phenomenon that during the examination process, there are others who help the current user to answer questions through remote control. During the examination process, long-term monitoring of the user cannot identify the occurrence of such phenomena. If other monitoring software is used for further monitoring, it may lead to information leakage. Therefore, this example determines whether there is remote control through the mouse coordinate points and keyboard event sets, because when a real person operates the mouse, it may be affected by hand tremors or uncertainties, resulting in some fluctuations and twists in the mouse movement trajectory, thereby affecting the slope of the curve. Since the remote-controlled mouse is controlled by a computer program, it is usually more stable, reducing this impact. Therefore, the intensity of monitoring during the examination process can be further strengthened, and information leakage can also be avoided;
[0114] The method for generating a second detection result based on a keyboard event set includes:
[0115] Obtain the number of keyboard clicks within a preset time period. When the number of keyboard clicks is less than or equal to a preset number threshold, the second detection result is abnormal. When the number of keyboard clicks is greater than the preset number threshold, the second detection result is not abnormal.
[0116] It is understandable that if the current user's computer is remotely controlled, the number of keyboard clicks on his current device will be at a low level, so the system can determine it as abnormal;
[0117] Identification module: used to obtain the interactive interface image of the current user, input the interactive interface image into the pre-built jamming recognition model, obtain the jamming recognition result, continuously obtain the user's inactivity time, and determine whether to perform a forced paper submission operation based on the jamming recognition result and the user's inactivity time;
[0118] In this embodiment, the system can call corresponding software to take screenshots by establishing a remote connection with the current user's device, thereby obtaining an interactive interface image;
[0119] It should be noted that the interactive interface image may include multiple adjacent frames of images. Whether the screen freezes may be determined by obtaining the frame rates of the multiple adjacent frames of images. Screen delay may also be detected. Whether the screen freezes may be determined by the screen delay. Taking the classifier as a deep neural network model as an example, the features of the interactive interface image, that is, the frame rate or delay, etc., are obtained by the deep neural network model, and the interactive interface images are distinguished by the frame rate or delay.
[0120] The method for determining whether to perform a forced paper submission operation based on the jam recognition result and the user's inactivity time includes:
[0121] When the jamming recognition result is jamming, the forced paper submission operation is not performed. When the jamming recognition result is non-jamming, it is further determined whether the user's inactivity time is greater than a preset time threshold. If so, the forced paper submission operation is performed. If not, the forced paper submission operation is not performed.
[0122] It is understandable that during the online examination, there may be situations where candidates communicate with each other. Therefore, when it is detected that the current user has not operated for a long time, the paper should be handed in compulsorily. However, the user's long period of inactivity may be caused by screen freezes. Therefore, the factor of screen freezes needs to be considered in order to more accurately monitor whether there is communication between candidates.
[0123] Example 3
[0124] This embodiment discloses an electronic device, including a power supply, an interface, a keyboard, a memory, a central processing unit, and a computer program stored in the memory and executable on the central processing unit. When the central processing unit executes the computer program, an invigilation management method based on information security provided by the above methods is implemented. The interface includes a network interface and a data interface. The network interface includes a wired or wireless interface, and the data interface includes an input or output interface.
[0125] Since the electronic device introduced in this embodiment is an electronic device used to implement a proctoring management method based on information security in the embodiment of the present application, based on the proctoring management method based on information security introduced in the embodiment of the present application, a person skilled in the art can understand the specific implementation of the electronic device of the present embodiment and its various variations, so how the electronic device implements the method in the embodiment of the present application is not described in detail here. As long as a person skilled in the art implements an electronic device used in a proctoring management method based on information security in the embodiment of the present application, it belongs to the scope of protection of the present application.
[0126] Example 4
[0127] like Figure 2 As shown, this embodiment discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed, the above-mentioned invigilation management method based on information security is implemented.
[0128] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters, weights and thresholds in the formula are set by technicians in this field according to actual conditions.
[0129] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired network or a wireless network. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media sets. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD) or a semiconductor medium. The semiconductor medium may be a solid-state hard disk.
[0130] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0131] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0132] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only one, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0133] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0134] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0135] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
[0136] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An invigilation management method based on information security, applied to an online examination user terminal, wherein the online examination user terminal is provided with a face verification control, characterized in that: include: S10: In response to a first trigger operation on the face verification control, a face image set of the current user is obtained; in response to a second trigger operation on inputting a verification code, a verification code input by the current user is obtained; S20: Generate a facial image feature sequence based on the facial image set, generate a digital verification sequence based on the verification code, fuse the facial image feature sequence and the digital verification sequence to generate a facial verification sequence, identify the current user based on the facial verification sequence, and generate a verification result, the verification result includes a successful recognition and a failed recognition, and the generated facial verification sequence means that the user needs to perform facial recognition verification according to the order of the verification code; S30: When the verification result is successful recognition, the test interaction interface is displayed, the mouse coordinate point and the keyboard event set are obtained in the test interaction interface, and whether cheating exists is determined based on the mouse coordinate point and the keyboard event set; S40: Obtain an interactive interface image of the current user, input the interactive interface image into a pre-built jamming recognition model, obtain a jamming recognition result, continuously obtain the user's inactivity time, and determine whether to perform a forced paper submission operation based on the jamming recognition result and the user's inactivity time; The method for obtaining the face image set of the current user comprises: Retrieving a user's pre-stored image set in a pre-built database, and using the user's pre-stored image set as a face image set, wherein the face image set includes M frames of face images, where M is an integer greater than 1; The method for generating a facial image feature sequence based on a facial image set comprises: The order of M frames of face images in the face image set is randomly disrupted, and features of the face image set are extracted based on the directional gradient histogram algorithm to generate a face image feature sequence; The method of fusing the facial image feature sequence and the digital verification sequence to generate a facial verification sequence comprises: The facial image feature sequence is randomly fused with the digital verification sequence in sequence to generate a facial verification sequence; The method for constructing the jam recognition model includes: Obtain h groups of data, where h is a positive integer greater than 1, and the data includes historical interactive interface images and historical jamming recognition results. The historical interactive interface images and historical jamming recognition results are used as sample sets, and the sample sets are divided into training sets and test sets. A classifier is constructed, and the historical interactive interface images in the training set are used as input data, and the historical jamming recognition results in the training set are used as output data. The classifier is trained to obtain an initial classifier, and the initial classifier is tested using the test set, and a classifier that meets the preset accuracy is output as a jamming recognition model.
2. According to the information security-based invigilation management method of claim 1, it is characterized in that: The method for judging whether cheating exists based on the mouse coordinate point and keyboard event set includes: A first detection result is generated based on the coordinates of the mouse coordinate point, and a second detection result is generated based on the keyboard event set. When any of the first detection result and the second detection result is abnormal, cheating is determined to exist. Both the first detection result and the second detection result include abnormal and non-abnormal results.
3. The invigilation management method based on information security according to claim 2 is characterized in that: The method for generating a first detection result based on the coordinates of the mouse coordinate point includes: Fitting the coordinates of the mouse coordinate point to generate a mouse movement curve, obtaining a mouse movement slope set on the mouse movement curve, and inputting the mouse movement slope set into a pre-built slope recognition model to obtain a first detection result; The method for constructing the slope identification model includes: Obtain i groups of data, where i is a positive integer greater than 1, and the data includes a set of historical mouse movement slopes and a historical first detection result. The set of historical mouse movement slopes and the historical first detection result are used as sample sets, and the sample sets are divided into a training set and a test set. A classifier is constructed, and the set of historical mouse movement slopes in the training set is used as input data, and the historical first detection result in the training set is used as output data. The classifier is trained to obtain an initial classifier, and the initial classifier is tested using the test set, and a classifier that meets a preset accuracy is output as a slope recognition model.
4. The invigilation management method based on information security according to claim 2 is characterized in that: The method for generating a second detection result based on a keyboard event set includes: The number of keyboard clicks within a preset time period is obtained. When the number of keyboard clicks is less than or equal to the preset number threshold, the second detection result is abnormal. When the number of keyboard clicks is greater than the preset number threshold, the second detection result is not abnormal.
5. The invigilation management method based on information security according to claim 1 is characterized in that: The method for determining whether to perform a forced paper submission operation based on the jam recognition result and the user's inactivity time includes: When the jamming recognition result is jamming, no forced paper submission operation is performed. When the jamming recognition result is non-jamming, it is further determined whether the user's inactivity time is greater than the preset time threshold. If so, a forced paper submission operation is performed. If not, no forced paper submission operation is performed.
6. An invigilation management system based on information security, which is used to implement an invigilation management method based on information security as claimed in any one of claims 1 to 5, characterized in that: include: Data acquisition module: used for responding to the first trigger operation acting on the face verification control to obtain the face image set of the current user, and responding to the second trigger operation acting on the input verification code to obtain the verification code input by the current user; Face recognition module: used to generate a face image feature sequence based on a face image set, generate a digital verification sequence based on a verification code, fuse the face image feature sequence and the digital verification sequence to generate a face verification sequence, identify the current user based on the face verification sequence, and generate a verification result, which includes recognition success and recognition failure; Cheating monitoring module: when the verification result is successful recognition, the test interaction interface is displayed, the mouse coordinate points and keyboard event sets are obtained in the test interaction interface, and whether there is cheating based on the mouse coordinate points and keyboard event sets; Identification module: used to obtain the interactive interface image of the current user, input the interactive interface image into the pre-built jamming recognition model, obtain the jamming recognition result, continuously obtain the user's inactivity time, and determine whether to perform a forced submission operation based on the jamming recognition result and the user's inactivity time.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the invigilation management method based on information security described in any one of claims 1 to 5 is implemented.
