CN114945079A - Video recording and invigilating method for online pen test, electronic equipment and storage medium - Google Patents

Video recording and invigilating method for online pen test, electronic equipment and storage medium Download PDF

Info

Publication number
CN114945079A
CN114945079A CN202210474498.XA CN202210474498A CN114945079A CN 114945079 A CN114945079 A CN 114945079A CN 202210474498 A CN202210474498 A CN 202210474498A CN 114945079 A CN114945079 A CN 114945079A
Authority
CN
China
Prior art keywords
recording device
video
server
recording
answer sheet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210474498.XA
Other languages
Chinese (zh)
Inventor
朱龙佰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Instant Construction Technology Co ltd
Original Assignee
Shenzhen Instant Construction Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Instant Construction Technology Co ltd filed Critical Shenzhen Instant Construction Technology Co ltd
Priority to CN202210474498.XA priority Critical patent/CN114945079A/en
Publication of CN114945079A publication Critical patent/CN114945079A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a video recording and invigilating method for an online written test, electronic equipment and a storage medium, wherein the video recording method for the online written test comprises the following steps: the main recording device is associated with at least one auxiliary recording device; the main recording device and at least one auxiliary recording device record examination videos of examinees in real time; encoding the examination video; after the main recording device triggers a recording object conversion instruction, switching a recording object from a test taker to an answer sheet of the test taker, shooting an answer sheet image by the main recording device, recording a stop-motion video, and sending the answer sheet image to a third server; and after the main recording device triggers a recording ending instruction, stopping recording and sending the recording ending instruction to the virtual examination room of the second server, and if at least one auxiliary recording device polls the recording ending instruction of the virtual examination room from the second server, stopping recording by at least one auxiliary recording device. The method and the device can improve the invigilating effect of the online written examination.

Description

Video recording and invigilating method for online pen test, electronic equipment and storage medium
Technical Field
The present application relates to the field of monitoring technologies, and in particular, to a method for recording and supervising video of an online pen test, an electronic device, and a storage medium.
Background
The remote online examination mainly comprises an online interview and an online written examination. The current online written examination can be objective questions, character questions and simple drawing questions answered on a computer, and invigilates through an examination computer equipped with a camera and a microphone, however, the examination of art can only be written and drawn through a paper edition, and then the picture of the paper edition uploaded by an examinee is scored, but this kind of method lacks the monitoring of the answer sheet of the examinee, and the examinee is easy to continue answering in the time other than answering.
Disclosure of Invention
In view of the above, it is desirable to provide an examination monitoring method, an electronic device and a storage medium for online written examination, which can improve the validity of the examination result by monitoring the abnormal behavior of the examinee.
The first aspect of the present application discloses an online written examination monitoring method, which is applied to a plurality of recording devices, wherein the plurality of recording devices include a main recording device and at least one auxiliary recording device, and the recording method includes:
the main recording device and the at least one auxiliary recording device establish association through a virtual examination room established in a second server;
the main recording device and the at least one auxiliary recording device record examination videos of examinees in real time;
encoding the examination video, comprising:
the main recording device encodes the recorded examination video to generate a first invigilation video, and the first invigilation video is pushed to a first server; the at least one auxiliary recording device encodes the recorded examination video to generate a second invigilation video, and the second invigilation video is pushed to the first server;
after the main recording device triggers a recording object conversion instruction, switching a recording object from the examinee to the answer sheet of the examinee, shooting an answer sheet image by the main recording device, recording a stop-motion video, and sending the answer sheet image to a third server;
and after the main recording device triggers a recording ending instruction, stopping recording and sending the recording ending instruction to the virtual examination room of the second server, wherein if the at least one auxiliary recording device polls the recording ending instruction of the virtual examination room from the second server, the at least one auxiliary recording device stops recording.
In some optional embodiments, the recording of the stop-motion video after the answer sheet image is captured by the main recording device includes:
acquiring a stop motion screenshot of the stop motion video;
comparing the answer sheet image with the stop-motion screenshot, and judging whether the examinee has abnormal behaviors;
if the answer sheet image is not matched with the stop-motion screenshot, judging that the examinee has abnormal behaviors;
and if the answer sheet image is matched with the stop-motion screenshot, judging that the examinee does not have abnormal behaviors.
In some optional embodiments, the associating the primary recording device with the at least one secondary recording device comprises:
based on the first identification code of the main recording device, the main recording device generates a two-dimensional code;
after scanning the two-dimensional code, the at least one auxiliary recording device acquires the first identification code and stores the first identification code as a second identification code, starts recording and polls the second server with the second identification code;
the main recording device carries out identity authentication on the examinee, and after the authentication is passed and the main recording device triggers a recording start instruction, the main recording device sends the first identification code to the second server;
and after the at least one auxiliary recording device polls the first identification code matched with the second identification code from the second server, establishing the association between the at least one auxiliary recording device and the main recording device.
In some optional embodiments, the recording of the examination video of the examinee by the main recording device and the at least one auxiliary recording device in real time comprises:
the at least one auxiliary recording device sends a creating instruction of a virtual examination room to the second server, and the second server establishes the virtual examination room associated with the at least one auxiliary recording device after receiving the creating instruction of the virtual examination room;
the at least one auxiliary recording device sends a virtual room creating instruction to the first server, and after the first server receives the virtual room creating instruction, the virtual room associated with the at least one auxiliary recording device is established;
after the association between the at least one auxiliary recording device and the main recording device is established, the main recording device establishes association between the virtual room associated with the at least one auxiliary recording device and the virtual examination room, the main recording device triggers a recording starting instruction, a first invigilation video is sent to the virtual room of the first server, and the first server responds to the recording starting instruction and then executes cloud storage to store the first invigilation video in the virtual room.
The third aspect of the present application discloses an invigilation method based on invigilation videos obtained by a video recording method using an online pen test, which is applied to an invigilation device, wherein the invigilation device is in communication connection with a first server, a second server and a third server, and the method comprises the following steps:
receiving a proctor video transmitted from the first server;
acquiring a video frame from the invigilation video as a reference image;
dividing the reference image into blocks, and determining an area which is not shielded by the examinee as a first stable block;
acquiring video screenshots from the invigilation video every preset time period;
carrying out block division on the video screenshot, and selecting the video screenshot block with the same position as the first stable block as a second stable block;
calculating a characteristic difference value of a first characteristic value of the first stable block and a second characteristic value of the second stable block, and judging whether the examinee has abnormal behaviors or not according to the characteristic difference value;
if invigilate the device follow the second server polling is to shooting the end instruction, follow acquire in the third server the examinee's answer sheet image, it is sending to shoot the end instruction by the main recording device of examination room after the answer sheet image, and the basis is right the audit of answer sheet image determines whether the answer sheet image is qualified.
In some optional embodiments, the determining whether the answer sheet image is qualified from the review of the answer sheet image comprises:
comparing the answer sheet image with a standard answer sheet image, and judging whether the answer sheet image is qualified or not;
if the answer sheet image is judged to be unqualified, sending an unqualified instruction to the second server, and controlling the main recording device to shoot the answer sheet image again in a preset time period by the second server, so as to obtain the re-shot answer sheet image and send the re-shot answer sheet image to the invigilation device; or
And if the answer sheet image is judged to be qualified, sending a qualified instruction to the second server, and controlling the main recording device and the at least one auxiliary recording device to stop recording the video of the examinee by the second server.
In some optional embodiments, the calculating a first eigenvalue of the first stable block and a second eigenvalue of the second stable block comprises:
respectively reducing the picture sizes of the first stable block and the second stable block according to the same proportion to obtain a proportion picture;
calculating the gray value of each pixel in the proportional picture and the average gray value of the total pixels in the proportional picture;
comparing the gray value of each pixel with the gray average value to obtain a binary quantization value of each pixel;
combining the binary quantization values according to a preset sequence to generate an image fingerprint;
and taking the image fingerprint of the first stable block as the first characteristic value, and taking the image fingerprint of the second stable block as the second characteristic value.
In some optional embodiments, the determining whether the examinee has an abnormal behavior according to the feature difference value includes:
if the characteristic difference value is larger than a preset threshold value, outputting warning information and marking abnormal behaviors of the examinee;
and if the characteristic difference value is smaller than or equal to a preset threshold value, updating the reference image of the invigilation video, and taking the video screenshot as the updated reference image.
A third aspect of the present application discloses an electronic device, comprising: a processor; and the memory is stored with a plurality of program modules, and the program modules are loaded by the processor and execute the video recording method or the invigilating method of the online pen test.
A fourth aspect of the present application discloses a computer-readable storage medium, on which program instructions are stored, the instructions being loaded by a processor and executing the video recording method or invigilation method of the online written test.
It should be understood that the electronic device of the third aspect and the computer-readable storage medium of the fourth aspect are provided to correspond to the method of the first aspect and the method of the second aspect, and therefore, the beneficial effects achieved by the electronic device of the third aspect and the computer-readable storage medium of the fourth aspect may refer to the beneficial effects in the corresponding methods provided above, and are not described herein again.
Compared with the prior art, the video recording and invigilating method, the electronic equipment and the storage medium for the online written examination can monitor the examination process of the examinee by associating the main recording device with the at least one auxiliary recording device. In the examination process, the examinee is subjected to video recording through the main recording device and the at least one auxiliary recording device, and the invigilating efficiency is improved by combining the invigilating device to monitor the abnormal behaviors of the examinee. When the examination is just finished, the main recording device monitors the answer sheet of the examinee in a stop-motion video mode, the validity of the examination result is improved, and the examination of the answer sheet is carried out by combining the invigilating device, so that the quality control of the answer sheet is further enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is an architecture diagram of an application environment of the online pen test invigilation method according to the preferred embodiment of the present application.
Fig. 2 is a flowchart of a video recording method for online written test provided in the present application.
Fig. 3 is a flow chart of the association of a primary recording device with at least one secondary recording device.
Fig. 4 is a flow chart for judging whether the examinee has abnormal behavior according to the answer sheet image.
Fig. 5 is a flowchart of an invigilation method performed based on invigilation videos obtained by a video recording method using an online written test provided in the present application.
Fig. 6 is a flowchart for determining whether there is an abnormality in the behavior of the test taker.
Fig. 7 is a schematic structural diagram of an electronic device according to a preferred embodiment of the present application.
Detailed Description
In order that the above objects, features and advantages of the present application can be more clearly understood, a detailed description of the present application will be given below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth to provide a thorough understanding of the present application, and the described embodiments are merely a subset of the embodiments of the present application and are not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
Referring to fig. 1, fig. 1 is a diagram illustrating an architecture of an application environment of an online written examination monitoring method according to a preferred embodiment of the present application.
In the present embodiment, the video recording and auditing method of online written test is applied to a plurality of electronic devices, for example, the main recording device 2, one or more auxiliary recording devices 3, and the auditing device 4. The primary recording device 2 and the secondary recording device 3 may be operable WINDOWS TM /LINUX TM /ANDROID TM And computers, tablet computers, mobile phones, cameras and other electronic equipment with desktop operating systems. The main recording device 2 is used for recording the video of the examinee in the examination process. The auxiliary recording device 3 is used for recording the video of the examinee in the examination process. The invigilating device 4 may be a computer capable of running a desktop operating system, and the computer is provided with a monitoring video recording program and an invigilating program and is connected with a camera and a loudspeaker. The invigilating device 4 is used for monitoring whether abnormal behaviors exist in the examination process of the examinee.
In this embodiment, the main recording apparatus 2, the auxiliary recording apparatus 3, and the invigilating apparatus 4 establish network connections with a first server 5, a second server 6, and a third server 7, respectively. The network may be a wired network or a Wireless network, such as radio, Wireless Fidelity (Wi-Fi), cellular, satellite, broadcast, etc. The cellular network may be a 4G network or a 5G network.
The first server 5, which may also be called a streaming media service center, may be a single server, a cloud server, or a cluster server, and is configured to store, forward, and encode the received audio and video.
The second server 6, which may also be referred to as a service control center, may be a single server, a cloud server, or a cluster server, and is configured to receive polling and respond, and push information related to the polling.
The third server 7, which may also be referred to as a storage center, may be a single server, a cloud server, or a cluster server, and is configured to implement storage of data.
Referring to fig. 2, a flowchart of a video recording method for online written test provided by the present application is applied to a plurality of recording devices, where the plurality of recording devices include a main recording device and at least one auxiliary recording device. The order of the steps in the flow chart may be changed and some steps may be omitted according to different requirements.
And 21, establishing association between the main recording device and the at least one auxiliary recording device through a virtual examination room created in a second server.
In one embodiment, the master recording device is used for identity verification, question making, answer sheet shooting and control of the examination process, and shooting a first invigilation video in a close scene near the examinee. The main recording device can be an electronic device with a photographing function, controls the examination process as a main device of information interaction, and comprises a function of receiving an examinee abnormity prompting instruction, sending a recording starting instruction, a recording ending instruction and the like.
In the examination process, besides a main recording device is installed in the examination room as a recording host, at least one auxiliary recording device is also installed in the examination room as an auxiliary device to further assist in monitoring the examination room, and the auxiliary recording devices can realize omnibearing shooting from different angles.
To illustrate the association process in detail, referring to fig. 3, a flow chart for establishing an association between a primary recording device and at least one secondary recording device is shown.
Based on the first identification code of the main recording device, the main recording device generates a two-dimensional code 31.
The first identification code may be a device ID of the main recording apparatus, and the first identification code may be used to identify a device identity.
And providing a login interface in the main recording device, and displaying the two-dimensional code on the login interface of the main recording device when the examinee logs in the login interface.
And 32, after scanning the two-dimensional code, the at least one auxiliary recording device acquires the first identification code and stores the first identification code as a second identification code, and starts recording and polls the second server with the second identification code.
When the examinee logs in at least one auxiliary recording device, the first identification code of the main recording device is acquired after the two-dimensional code is scanned by at least one auxiliary recording device. The auxiliary recording device stores the first identification code of the main recording device to the local end of the auxiliary recording device, and for the convenience of distinguishing, the first identification code stored at the local end of the auxiliary recording device is called as a second identification code for subsequent matching and association with the main recording device.
And 33, the main recording device performs identity authentication on the examinee, and after the authentication is passed and the main recording device triggers a recording start instruction, the main recording device sends the first identification code to the second server.
The examinee logs in the main recording device, the identity authentication mode is not limited to face recognition, and after the authentication is passed and a recording starting instruction is triggered, the first identification code is sent to the second server.
And 34, establishing the association between the at least one secondary recording device and the main recording device after the at least one secondary recording device polls the first identification code matched with the second identification code from the second server.
In an embodiment, after the at least one auxiliary recording device acquires the second identification code, the at least one auxiliary recording device carries the second identification code to poll the second server at preset intervals, and it can be understood that, in order to improve the efficiency of polling to acquire the related information, the auxiliary recording device carries the second identification code in the polling process.
And establishing the association between the at least one auxiliary recording device and the main recording device after the at least one auxiliary recording device polls the first identification code matched with the second identification code from the second server.
In an embodiment, when the at least one auxiliary recording device carries the second identification code to poll the second server, the at least one auxiliary recording device sends a creating instruction of the virtual examination room to the second server, and the second server creates the virtual examination room associated with the at least one auxiliary recording device after receiving the creating instruction of the virtual examination room.
And simultaneously, the at least one auxiliary recording device sends a virtual room creating instruction to the first server, and the first server establishes the virtual room associated with the at least one auxiliary recording device after receiving the virtual room creating instruction.
And establishing the association between the at least one auxiliary recording device and the main recording device after the at least one auxiliary recording device polls the first identification code matched with the second identification code from the second server.
After the association between the at least one auxiliary recording device and the main recording device is established, the association between the main recording device and a virtual room associated with the at least one auxiliary recording device and the virtual examination room is established, the main recording device triggers a recording starting instruction, a first invigilation video is sent to the virtual room of the first server, and the first server responds to the recording starting instruction and then executes cloud storage to store the virtual room.
In the above embodiment, the association between the main recording device and the at least one auxiliary recording device is established, on one hand, after the first identification code and the second identification code are successfully compared, the same virtual room and virtual examination room are associated by creating a virtual room and a virtual examination room after the auxiliary recording device starts recording, and at this time, the auxiliary recording device also polls the second server with the second identification code while requesting to create the virtual room and the virtual examination room. On the other hand, the virtual room and the virtual examination room may not be created, and the first identification code and the second identification code may be directly associated in the second server by comparing.
In this embodiment, after the association between the main recording apparatus and the at least one auxiliary recording apparatus is established, the main recording apparatus and the at least one auxiliary recording apparatus are perceived by a heartbeat mechanism. The heartbeat mechanism means that a sender sends a message with a fixed format to a receiver according to a certain rule, the receiver replies the message with the fixed format after receiving the message, and if the receiver does not receive the replied message for a long time, the current connection is considered to be failed. When the auxiliary recording device is disconnected, the main recording device can send out voice warning or text reminding so that the examinee can scan the two-dimensional code displayed by the main recording device again and reestablish connection.
And 22, recording the examination video of the examinee in real time by the main recording device and the at least one auxiliary recording device.
The examination video comprises a first invigilation video generated by the main recording device through coding the examination video and a second invigilation video generated by at least one auxiliary recording device through coding.
In one embodiment, after the main recording device is associated with at least one auxiliary recording device, the main recording device triggers a recording start instruction to send a first invigilation video to a virtual room of a first server, and the first server executes cloud storage after responding to the recording start instruction and stores any received invigilation video to a corresponding virtual room.
Specifically, the at least one secondary recording device starts streaming the second invigilation video to the virtual room upon requesting the first server to create the virtual room. And after the main recording device is associated with at least one auxiliary recording device, the main recording device pushes the first invigilation video to a virtual room when triggering a recording start instruction. It will be appreciated that, according to the above-described established association relationship, the virtual room streamed by the primary recording device is the same as the virtual room streamed by the at least one secondary recording device.
And 23, the main recording device encodes the recorded examination video to generate a first invigilation video, and the first invigilation video is pushed to a first server.
The main recording device encodes the recorded examination video to generate a first invigilation video and a first recorded video, wherein the resolution of the first invigilation video is smaller than that of the first recorded video, and the code rate of the first invigilation video is smaller than that of the first recorded video.
The first invigilated video is used for being pushed to the first server, and the first recorded video is used for being stored in the main recording device. It can be understood that the resolution and the bitrate of the first invigilation video and the first recording video may be the same or different, and are not limited in practical application. For example, the first invigilated video for a push stream is more demanding on the network. The video coding adopts H.264 or H.265 coding according to the model, the code rate is controlled within the range of 200kbps to 1000kbps, the resolution is controlled within the range of 180P to 1080P, and the frame rate is controlled within the range of 5fps to 30 fps.
And 24, the at least one auxiliary recording device encodes the recorded examination video to generate a second invigilation video, and the second invigilation video is pushed to the first server. It should be noted that 23 and 24 are codes respectively performed by the main recording device and at least one auxiliary recording device synchronously without time sequence limitation.
And the auxiliary recording device encodes the recorded examination video to generate a second invigilation video and a second recorded video, wherein the resolution of the second invigilation video is smaller than that of the second recorded video, and the code rate of the second invigilation video is smaller than that of the second recorded video.
The second invigilated video is used for pushing streaming to the first server, and the second recorded video is used for storing in the auxiliary recording device. It can be understood that the resolution and bitrate of the second invigilated video and the second recorded video can be the same, and in this case, the network requirement for the second invigilated video of the plug flow is higher. The video coding adopts H.264 or H.265 coding according to the model, the code rate is controlled within the range of 200kbps to 1000kbps, the resolution is controlled within the range of 180P to 1080P, and the frame rate is controlled within the range of 5fps to 30 fps.
And 25, after the main recording device triggers a recording object conversion instruction, switching the recording object from the examinee to the answer sheet of the examinee, shooting the answer sheet image by the main recording device, recording the stop-motion video, and sending the answer sheet image to a third server.
And after triggering a recorded object conversion instruction, the main recording device stops recording the first invigilated video and switches the recorded object from the examinee to the answer sheet of the examinee. In practical applications, a small interval of time, which may be 30 seconds, may be allowed during this transition recording.
And the main recording device sends a shooting ending instruction to the second server after shooting the answer sheet image, and enters a stage of recording the stop-motion video. After the main recording device enters the stop-motion video recording, the main recording device performs stop-motion screenshot on the stop-motion video at intervals of a period of time, for example, 5 seconds, so that the stop-motion screenshot of the whole answer area in the examination answer sheet is obtained, wherein the definition of the stop-motion screenshot is smaller than that of the answer sheet image. It will be appreciated that the first invigilation video and the stop motion video are recorded separately, each as a separate video.
The resolution of the first proctor video and the second proctor video may be the same, different from the resolution of the stop motion video, and the resolution of the first proctor video and the second proctor video is smaller than the resolution of the stop motion video. It is understood that the first invigilation video and the second invigilation video are videos recorded by two recording devices respectively, and the resolutions of the first invigilation video and the second invigilation video can be different. The resolution of the stop motion video is higher than 1280 × 720 resolution, and the stop motion video can be high-definition video or super-definition video.
And the main recording device analyzes the stop-motion screenshot and the answer sheet image after acquiring the stop-motion screenshot and the answer sheet image.
Specifically, the main recording device compares the answer sheet image of the examinee with the stop-motion screenshot to determine whether a blocking area appears in the stop-motion screenshot, for example, the blocking area may be a black area caused by the examinee's hand that is still photographed when the examination is finished, or an answer trace that does not appear in the answer sheet image appears during the matching process of the answer sheet image.
And comparing the answer sheet image of the examinee with the stop-motion screenshot to obtain a judgment result, wherein the judgment result is that abnormal behaviors exist or abnormal behaviors do not exist.
When the matching rate is greater than or equal to 90%, the answer volume image is considered to be matched with the stop-motion screenshot, and it can be understood that certain errors are allowed to exist in the matching process, and the examinee does not have abnormal behaviors.
When the matching rate is less than 90%, the answer sheet image is considered to be not matched with the stop-motion screenshot, the condition that the examination paper is shielded may occur, and the answer sheet screenshot has a shadow, it can be understood that if the examination paper is shielded, the answer sheet image is greatly different from the stop-motion screenshot, the examinee may have abnormal behavior, the main recording device sends a prompt instruction to remind the examinee of processing a shielded area, and if the matching rate is less than 90% in the preset prompt times, the examinee is judged to have abnormal behavior, and the abnormal behavior can be an answer trace which is not found in the answer sheet screenshot.
When the examinee is judged to have no abnormal behavior, the first invigilation video, the answer sheet image and the stop-motion screenshot are stored in the third server, after the examination recording is finished, the auxiliary recording device also stores the second invigilation video in the third server for backup, and three copies can be simultaneously backed up.
When the main recording device receives the recording object conversion instruction, the answer sheet image of the examinee is obtained, the answer time is ended, but the auxiliary recording device continues to record the second invigilation video of the examinee, and if the examinee continues to answer, the answer is considered to be abnormal. Therefore, when the main recording device receives a recording object conversion instruction, the recording of the examination is converted into the recording of the answer sheet, before the stop-motion recording is started, the answer sheet of the examinee is photographed, the answer sheet image at the moment is used as the answer sheet style submitted by the examinee at last, meanwhile, in order to track whether the examinee continues answering in real time, the main recording device stops recording the first invigilation video, starts recording the stop-motion video of the answer sheet, and correspondingly obtains the stop-motion screenshot of the answer sheet of the examinee.
In the real-time mode, the behavior of the examinee is monitored in real time in a short time after the examination is finished, the answer sheet is analyzed, the abnormal behavior is further controlled, and the effectiveness of the score is improved.
Fig. 4 is a flowchart for determining whether the examinee has abnormal behavior according to the answer sheet image.
And 41, acquiring a stop motion screenshot of the stop motion video.
After the main recording device enters into the stop-motion video recording, the main recording device performs stop-motion screenshot on the stop-motion video at intervals of time, for example, 5 seconds, so that the stop-motion screenshot of the whole answer area in the examination answer sheet is obtained.
And 42, comparing the answer sheet image with the stop-motion screenshot, and judging whether the examinee has abnormal behaviors.
And 43, if the answer sheet image is not matched with the stop-motion screenshot, judging that the examinee has abnormal behaviors.
Comparing the answer sheet image of the examinee with the stop-motion screenshot, and when the matching rate is less than 90%, determining that the answer sheet image of the examinee is not matched with the stop-motion screenshot, for example, in the process of comparing the stop-motion screenshot with the answer sheet photo, different answers or the situation that the word number is not matched occur to the same examination question, determining that the examinee continues to answer after the examination is finished, and determining that the behavior of the examinee is abnormal.
Illustratively, when the matching rate is less than 90%, the answer sheet image is considered to be not matched with the stop-motion screenshot, and the answer sheet screenshot may have a shadow due to the fact that the answer sheet is shielded, it can be understood that if the answer sheet is shielded, the answer sheet image has a larger difference with the stop-motion screenshot, the examinee may have an abnormal behavior, the master recording device sends a prompt instruction to remind the examinee to process the shielded area, and if the matching rate is less than 90% within the preset prompt times, the examinee is judged to have the abnormal behavior, and the abnormal behavior may be that an answer trace which is not found in the answer sheet screenshot appears.
And 44, if the answer sheet image is matched with the stop-motion screenshot, judging that the examinee does not have abnormal behaviors.
When the matching rate is greater than or equal to 90%, the stop-motion screenshots corresponding to the answer sheet images of the examinee are matched, and the examinee is considered not to continue answering on the answer sheet after the examination is finished, so that it can be understood that certain errors are allowed to exist in the matching process, and abnormal behaviors do not exist.
In the embodiment, since it is determined that the examinee cannot continue to answer at the end of the examination, many examinees continue to answer beyond the examination time, but the prior art lacks control over the time period, so that the examinee continues to answer or modify the answer sheet after the examination is ended. Therefore, the examination paper is monitored after the examination is finished to strengthen the control of abnormal behaviors of examinees after the examination is finished, the effectiveness of the examination can be improved, and the fairness of the examination is realized.
26, after the main recording device triggers a recording ending instruction, sending the recording ending instruction to the virtual examination room of the second server, and if the at least one auxiliary recording device polls the recording ending instruction of the virtual examination room from the second server, stopping recording by the at least one auxiliary recording device.
Polling refers to a way for a CPU to decide how to provide peripheral services, also known as Programmed input/output (Programmed I/O). The concept of the polling method is: the CPU sends out inquiry at regular time, each peripheral equipment is inquired in sequence whether it needs its service, if it needs it, it gives service, after the service is finished, it asks next peripheral equipment, and polling is carried out once at intervals.
And stopping the recording of the video when the at least one auxiliary recording device polls a recording end instruction after the association between the main recording device and the at least one auxiliary recording device is established.
Fig. 5 and 5 show a proctoring method based on proctoring video obtained by a video recording method using an online test, which is applied to a proctoring device, wherein the proctoring device is in communication connection with a first server, a second server and a third server.
And 51, receiving the invigilation video sent by the first server.
The invigilating video comprises a first invigilating video of the main recording device and a second invigilating video of the auxiliary recording device.
The invigilating device establishes communication connection with the main recording device and the auxiliary recording device through the first server, the second server and the third server, wherein the invigilating device comprises an invigilating module and an auditing module.
The invigilation module is mainly used for acquiring a first invigilation video and a second invigilation video in the first server and monitoring abnormal behaviors of the examinee on the first invigilation video and the second invigilation video. The invigilating module and the auditing module can respectively communicate with the second server for instant messages, and the invigilating module and the auditing module can also exchange messages in a mode of regularly polling the second server.
The invigilating module acquires a virtual examination room through polling the second server and monitors the virtual examination room in real time, the virtual examination room is a virtual examination room with a main recording device and an auxiliary recording device simultaneously associated, and through the virtual examination room, an invigilator can perform message interaction with an examinee in real time.
And 52, acquiring a video frame from the invigilator video as a reference image.
For example, when the invigilating device receives the invigilating video, the original video frame of the invigilating video is captured, and the original video frame is used as a reference image. In practical application, other video frames can be selected as reference images according to requirements.
And 53, carrying out block division on the reference image, and determining an area which is not blocked by the examinee as a first stable block.
After setting reference images of the first invigilation video and the second invigilation video, dividing the reference images into rectangular blocks with the same size of 16 or 32 equal parts, and selecting peripheral blocks which are not blocked by the examinee in the reference images of the first invigilation video and the second invigilation video as first stable blocks.
And 54, acquiring video screenshots from the invigilation video at intervals of a preset time period.
In the process of monitoring the examinee in real time by the invigilating module, a first invigilating video and a second invigilating video are obtained in real time, and video frames of the first invigilating video and the second invigilating video are captured every N (1-60) seconds in the invigilating module to serve as video screenshots.
And 55, carrying out block division on the video screenshot, and selecting the video screenshot block with the same position as the first stable block as a second stable block.
Similarly, in the same way as the reference image is divided into blocks, the obtained video screenshot is divided into rectangular blocks of 16 or 32 equal parts and the same size, and a block at the same position as the first stable block is selected as a second stable block.
And 56, calculating a characteristic difference value of a first characteristic value of the first stable block and a second characteristic value of the second stable block, and judging whether the test taker has abnormal behaviors according to the characteristic difference value.
After the first stable block and the second stable block are obtained, a first characteristic value of the first stable block and a second characteristic value of the second stable block are respectively calculated, and whether abnormal behaviors exist is determined according to comparison between a characteristic difference value of the first characteristic value and the second characteristic value and a preset threshold value.
In this embodiment, a Perceptual Hash Algorithm (PHA) is used to calculate a feature difference between the first feature value and the second feature value, and the specific calculation process is as follows:
1) and respectively reducing the picture sizes of the first stable block and the second stable block according to the same proportion to obtain a proportion picture.
Specifically, the pictures of the first stable block and the second stable block are reduced to N × N, which may be 8 as a scaled picture, for a total of 64 pixels. The effect of the pre-processing for reducing the picture is to remove the details of the picture, only retain the basic picture information of structure, brightness and the like, and reduce the calculation error of the picture.
2) And calculating the gray value of each pixel in the proportional picture and the average gray value of the total pixels.
Respectively acquiring 64 pixels in the proportional pictures of the first stable block and the second stable block, and generating a gray value of each pixel;
and calculating the gray level average value of 64 pixels in the first regional scale picture.
And calculating the gray level average value of 64 pixels in the second area ratio picture.
3) And comparing the gray value of each pixel with the gray average value to obtain a binary quantization value of each pixel.
Since there is one gray value per pixel, the gray value of each pixel is compared with the average of the gray values of all pixels, which refer to 64 pixels in the scaled picture of the first stable tile or 64 pixels in the scaled picture of the second stable tile, as will be understood.
And comparing the gray value of each pixel with the average gray value to obtain a binary quantization value of each pixel, specifically, if the gray value is greater than or equal to the average gray value, the corresponding pixel is marked as 1, otherwise, the corresponding pixel is marked as 0.
4) And combining the binary quantization values according to a preset sequence to generate the image fingerprint.
The binary quantization values obtained according to the above 3) are combined together in order as a fingerprint of this picture. The combination sequence of the binary quantization values is not specifically set, and only the ordering of the binary quantization values of the combined pixels in the first stable block and the second stable block needs to be ensured to be consistent.
5) And taking the fingerprint of the first stable block as the first characteristic value, and taking the image fingerprint of the second stable block as the second characteristic value.
And taking the image fingerprints corresponding to the first stable block and the second stable block as corresponding characteristic values so as to calculate a characteristic difference value subsequently and compare the image fingerprints corresponding to the first stable block and the second stable block.
Please refer to fig. 6, which is a flowchart illustrating a method for determining whether a test taker behavior is abnormal.
And 61, calculating a characteristic difference value of the first characteristic and the second characteristic, and judging whether the characteristic difference value is larger than a preset threshold value.
And calculating the image fingerprints of the first stable block and the second stable block, comparing the image fingerprints of different stable blocks, and taking the difference of the image fingerprints of different stable blocks as a characteristic difference value.
And 62, if the characteristic difference value is larger than a preset threshold value, outputting warning information and marking abnormal behaviors of the examinee.
In the process of examination, if the action amplitude of an examinee is too large in the answering process, the difference between a preset reference image and a real-time video screenshot is large, namely, the characteristic difference value is larger than a preset threshold value, the examinee is judged to be suspicious, when the suspicious behavior is judged to exist, warning information is sent out in an invigilator module to remind the invigilator to check, and if the abnormality is not found, the reference image is reset so that misjudgment can occur again. If the invigilator judges that the abnormality exists after checking, the invigilator sends an examination stopping instruction to the second server through the invigilator module and marks the abnormal behavior of the examinee, and the second server sends the examination stopping instruction to the main recording device so as to inform the examinee of stopping answering. The abnormal behavior marking of the examinee can be recording the seat number of the examinee.
And 63, if the characteristic difference value is smaller than or equal to a preset threshold value, updating the reference images of the first invigilation video and the second invigilation video, and taking the video screenshot as the updated reference image.
When the characteristic difference value is smaller than or equal to the preset threshold value, the test taker is indicated to have no abnormal behavior, the absence of the abnormal behavior only indicates that the action amplitude of the test taker in the process of the test taker is relatively small, but small limb actions may exist, and therefore the reference image is reset when the abnormal behavior of the test taker is not found.
Based on the updated reference image, a feature difference between the updated reference image and the live video screenshot is calculated, again compared to a preset threshold.
In order to prevent misjudgment, the invigilating module takes the acquired video screenshot as an updated reference image as a judgment basis for abnormal behaviors of the examinee, and performs comparison and analysis again by adopting the calculation mode so as to realize real-time monitoring on the behaviors of the examinee.
The method and the device for calculating the characteristic value of the stable block are not limited to the perceptual hash algorithm, and a Hamming distance algorithm, a histogram comparison algorithm and the like can be adopted.
And calculating the similarity of the first stable block and the second stable block by adopting the Hamming distance, wherein the calculation comprises the following steps: the number of different characters at corresponding positions in the equal-length character strings in the first stable block and the second stable block is respectively calculated, for example, the character string of the first stable block is "1011101", the character string of the second stable block is "1001001", and then the hamming distance between the character string of the first stable block and the character string of the second stable block is 2. If the predetermined threshold is 1, the first stable block and the second stable block do not match. At this point, the invigilation module will issue a warning and mark the test taker as having abnormal behavior.
Performing similarity calculation on the first stable block and the second stable block by adopting a histogram comparison algorithm, wherein the similarity calculation comprises the following steps: acquiring image pixels corresponding to the first stable block and the second stable block, generating respective histogram data according to the image pixels, and calculating the similarity of the first stable block and the second stable block by respectively calculating the histogram data by using a Bhattacharyya coefficient (Bhattacharyya coefficient) algorithm.
During the examination, the examination taker analyzes abnormal behaviors of the examinee through the examination invigilating module, if the abnormal behaviors do not exist in the examinee before the examination is finished, after the examination is finished, the main recording device starts to shoot the answer sheet of the examinee and further monitors whether the abnormal behaviors exist, and if the answer of the examinee stops within the specified time, the examinee is judged to have no abnormal behaviors. And after judging that the examinee does not have abnormal behaviors, storing the first invigilation video, the second invigilation video, the stop motion screenshot and the answer sheet image in a third server so as to score the examinee subsequently.
57, if invigilate the device follow the second server polling is to shooting the end instruction, follow acquire in the third server the examinee's answer sheet image, it is being taken by the main recording device of examination room to shoot the end instruction send to behind the answer sheet image the second server, the basis is right the examination and verification of answer sheet image confirms whether the answer sheet image is qualified.
In one embodiment, the answer sheet image is compared with a standard answer sheet image to judge whether the answer sheet image is qualified or not; if the answer sheet image is judged to be unqualified, sending an unqualified instruction to a second server, and controlling the main recording device to shoot the answer sheet image again in a preset time period by the second server, acquiring the re-shot answer sheet image and sending the re-shot answer sheet image to the invigilation device; or if the answer sheet image is judged to be qualified, sending a qualified instruction to the second server, and controlling the main recording device and the at least one auxiliary recording device to stop recording the video of the examinee by the second server.
Specifically, after the invigilation device receives the shooting end instruction, whether the answer sheet image meets the shooting requirement is judged according to the examination and verification of the answer sheet image, wherein the examination and verification content can be that whether the answer sheet has a black block caused by a shielding area, the shielding area can also be a shooting shadow caused by placing an answering tool on the answer sheet, and the answering tool is not limited to a pen, an eraser and the like. It can be understood that, in the process of examination and verification according to the answer sheet images, if the answer sheet areas which do not meet the requirements exist, the prompt is sent in a voice or marking mode, so that the invigilator can check and judge in time, the judgment result is input in the invigilator, and the blocks which do not meet the requirements are marked, so that the efficiency of examination and verification is accelerated, and the validity of examination and verification is ensured. In addition, in the process of checking the answer sheet image, the first invigilation video or the second invigilation video of the auxiliary recording device of the examinee is displayed in real time, so that the invigilator and the examinee can conveniently perform timely message interaction, the checking efficiency is improved, and for example, the examinee can be directly told that the answer sheet image has places which do not meet the requirements, how to take pictures again on the answer sheet image and the like. The efficiency of examinees obtaining examination and verification results of the answer sheets is improved, and the time for shooting again is saved.
Before the examination begins, a standard answer image is preset in the examination module as a reference, and is compared with the answer image to see whether the answer area is blocked or not.
And if the answer sheet image is judged to be unqualified, sending an unqualified instruction to a second server, controlling the main recording device to shoot the answer sheet image again in a preset time period by the second server, acquiring the re-shot answer sheet image, sending the re-shot answer sheet image to the invigilation device, and performing examination again.
Whether this application adopts the stop-motion video to go to judge whether to have unusual action after the examination, has guaranteed the validity of answer sheet image, has avoided taking the answer sheet image for the first time and has examined the period with examining, has examinee's unusual action, examinee's unusual action includes still continuing the answer or modifying existing answer after the examination is ended.
And if the answer sheet image is judged to be qualified, sending a qualified instruction to a second server, and controlling the main recording device and at least one auxiliary recording device to stop recording the video of the examinee by the second server.
And if the answer sheet image is judged to be qualified in the auditing process, for example, the answer sheet image does not have the condition that the answering area is blocked and the like, directly storing the answer sheet image into a third server as the basis for later grading.
In the embodiment, the quality of the obtained answer sheet image is improved by auditing the answer sheet image, and the answer sheet image is conveniently and effectively scored.
According to the method and the device, the abnormal behaviors of the examinee in the examination process are monitored in real time through the main recording device and the auxiliary recording device, and the examinee is monitored in real time in the examination process. And further, by comparing the acquired answer sheet image with the shot stop-motion video, whether the examinee answers within the specified time is monitored, the examinee answering beyond the specified time is marked as having abnormal behaviors, and the fairness and justness of the examination are ensured. Compared with the prior art, in the aspects of examination safety and abnormity prevention, abnormity warning is timely sent out in a mode that a plurality of recording devices identify abnormal behaviors and the like, the control on the abnormal behaviors of the examinee is enhanced in a mode that answer sheets are recorded in a stop-motion mode, manual examination is carried out on the answer sheet images in combination, the quality of the answer sheet images is further guaranteed, and the effectiveness of examination scores is improved.
In the above embodiments, the method for recording and invigilating a surveillance video is implemented by the cooperative operation of the main recording device, the auxiliary recording device, the first server, the second server, the third server and the invigilating device, and it should be noted that in other embodiments, the first server, the second server, the third server and the invigilating device may also be integrated in the same device or two devices, and the practical application is not limited thereto. For example, the first server, the second server and the third server may be integrated into a single server to perform the functions of the two servers, or, for example, the first server, the second server and the third server and the invigilation device may be integrated into a single device to perform the corresponding functions.
Fig. 7 is a schematic structural diagram of various electronic devices according to the preferred embodiment of the present application.
In the embodiment of the present application, the electronic devices may be the main recording device 2, the invigilating device 4 and the auxiliary recording device 3, and the main recording device 2, the invigilating device 4 and the auxiliary recording device 3 include, but are not limited to, a processor 10, a memory 20 and a computer program 30 stored in the memory 20 and operable on the processor 10, such as an invigilating program of an online pen test. The processor 10 executes the computer program 30 to implement the steps in the invigilation method of the linesman test.
It will be appreciated by a person skilled in the art that the schematic diagrams are merely examples of the main recording apparatus 2, the examination apparatus 4 and the auxiliary recording apparatus 3 and do not constitute a limitation of the main recording apparatus 2, the examination apparatus 4 and the auxiliary recording apparatus 3, and may comprise more or less components than those shown, or combine some components, or different components, for example, the main recording apparatus 2, the examination apparatus 4 and the auxiliary recording apparatus 3 may further comprise an input-output device, a network access device, a bus, etc.
The Processor 10 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor 10 may be any conventional processor or the like, the processor 10 being the control center for the main recording means 2, the invigilation means 4 and the auxiliary recording means 3, the various parts of the whole main recording means 2, the whole invigilation means 4 and the whole auxiliary recording means 3 being connected by various interfaces and lines.
The memory 20 may be used to store the computer program 30 and/or modules/units, and the processor 10 implements the various functions of the main recording device 2, the invigilating device 4 and the auxiliary recording device 3 by running or executing the computer program and/or modules/units stored in the memory 20 and calling up the data stored in the memory 20. The memory 20 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the stored data area may store data (such as audio data, a phonebook, etc.) created in accordance with the use of the main recording apparatus 2, the invigilating apparatus 4, and the auxiliary recording apparatus 3, and the like. In addition, the memory 20 may include volatile and non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other storage device. The Display screen 40 is a Liquid Crystal Display (LCD) or an Organic Light-Emitting semiconductor (OLED) Display screen.
The modules/units integrated by the main recording means 2, the invigilating means 4 and the auxiliary recording means 3 may be stored in a computer readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the embodiments of the methods described above can be realized. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM).
The video recording and invigilating method, the electronic equipment and the storage medium for the online pen test can shoot and upload videos at different angles through a plurality of commonly used electronic equipment, and perform contrast analysis on the videos to realize real-time monitoring of the online test, so that the validity of the result of the online test is effectively ensured.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Several units or means recited in the apparatus claims may also be embodied by one and the same item or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Although the present application has been described in detail with reference to preferred embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the spirit and scope of the present application.

Claims (10)

1. A video recording method of online written test is applied to a plurality of recording devices, and is characterized in that the plurality of recording devices comprise a main recording device and at least one auxiliary recording device, and the recording method comprises the following steps:
the main recording device and the at least one auxiliary recording device establish association through a virtual examination room established in a second server;
the main recording device and the at least one auxiliary recording device record examination videos of examinees in real time;
encoding the examination video, comprising:
the main recording device encodes the recorded examination video to generate a first invigilation video, and the first invigilation video is pushed to a first server; the at least one auxiliary recording device encodes the recorded examination video to generate a second invigilation video, and the second invigilation video is pushed to the first server;
after the main recording device triggers a recording object conversion instruction, switching a recording object from the examinee to the answer sheet of the examinee, shooting an answer sheet image by the main recording device, recording a stop-motion video, and sending the answer sheet image to a third server;
and after the main recording device triggers a recording ending instruction, stopping recording and sending the recording ending instruction to the virtual examination room of the second server, and if the at least one auxiliary recording device polls the recording ending instruction of the virtual examination room from the second server, stopping recording by the at least one auxiliary recording device.
2. The method for recording video of online written test as claimed in claim 1, wherein the recording of the stop-motion video after the main recording device takes the image of the answer sheet comprises:
acquiring a stop motion screenshot of the stop motion video;
comparing the answer sheet image with the stop-motion screenshot, and judging whether the examinee has abnormal behaviors;
if the answer sheet image is not matched with the stop motion screenshot, judging that the examinee has abnormal behaviors;
and if the answer sheet image is matched with the stop-motion screenshot, judging that the examinee does not have abnormal behaviors.
3. The method for video recording of an online written test as recited in claim 1, wherein the associating the primary recording device with the at least one secondary recording device comprises:
based on the first identification code of the main recording device, the main recording device generates a two-dimensional code;
after scanning the two-dimensional code, the at least one auxiliary recording device acquires the first identification code and stores the first identification code as a second identification code, starts recording and polls the second server with the second identification code;
the main recording device carries out identity authentication on the examinee, and after the authentication is passed and the main recording device triggers a recording start instruction, the main recording device sends the first identification code to the second server;
and after the at least one auxiliary recording device polls the first identification code matched with the second identification code from the second server, establishing the association between the at least one auxiliary recording device and the main recording device.
4. The method for recording the video of the online written examination, according to claim 3, wherein the recording of the examination video of the examinee in real time by the main recording device and the at least one auxiliary recording device comprises:
the at least one auxiliary recording device sends a creating instruction of a virtual examination room to the second server, and the second server establishes the virtual examination room associated with the at least one auxiliary recording device after receiving the creating instruction of the virtual examination room;
the at least one auxiliary recording device sends a virtual room creating instruction to the first server, and after receiving the virtual room creating instruction, the first server creates a virtual room associated with the at least one auxiliary recording device;
after the association between the at least one auxiliary recording device and the main recording device is established, the main recording device establishes association between the virtual room associated with the at least one auxiliary recording device and the virtual examination room, the main recording device triggers a recording starting instruction, a first invigilation video is sent to the virtual room of the first server, and the first server responds to the recording starting instruction and then executes cloud storage to store the first invigilation video in the virtual room.
5. An invigilation method based on invigilation videos obtained by the video recording method of the online written test according to any one of claims 1 to 4, which is applied to an invigilation device, wherein the invigilation device is in communication connection with a first server, a second server and a third server, and the method comprises the following steps:
receiving the invigilation video sent by the first server;
acquiring a video frame from the invigilation video as a reference image;
dividing the reference image into blocks, and determining an area which is not shielded by the examinee as a first stable block;
acquiring video screenshots from the invigilation video every preset time period;
carrying out block division on the video screenshot, and selecting the video screenshot block with the same position as the first stable block as a second stable block;
calculating a characteristic difference value of a first characteristic value of the first stable block and a second characteristic value of the second stable block, and judging whether the examinee has abnormal behaviors according to the characteristic difference value;
if invigilate the device follow the second server polling is to shooting the end instruction, follow acquire in the third server the examinee's answer sheet image, it is sending to shoot the end instruction by the main recording device of examination room after the answer sheet image, and the basis is right the audit of answer sheet image determines whether the answer sheet image is qualified.
6. The invigilation method of claim 5, wherein said determining whether said answer sheet image is acceptable upon review of said answer sheet image comprises:
comparing the answer sheet image with a standard answer sheet image, and judging whether the answer sheet image is qualified or not;
if the answer sheet image is judged to be unqualified, sending an unqualified instruction to the second server, and controlling the main recording device to shoot the answer sheet image again in a preset time period by the second server, so as to obtain the re-shot answer sheet image and send the re-shot answer sheet image to the invigilation device; or
And if the answer sheet image is judged to be qualified, sending a qualified instruction to the second server, and controlling the main recording device and the at least one auxiliary recording device to stop recording the video of the examinee by the second server.
7. The invigilation method of claim 5, wherein said calculating a first eigenvalue of said first stable block and a second eigenvalue of said second stable block comprises:
respectively reducing the picture sizes of the first stable block and the second stable block according to the same proportion to obtain a proportion picture;
calculating the gray value of each pixel in the proportional picture and the average gray value of the total pixels in the proportional picture;
comparing the gray value of each pixel with the gray average value to obtain a binary quantization value of each pixel;
combining the binary quantization values according to a preset sequence to generate an image fingerprint;
and taking the image fingerprint of the first stable block as the first characteristic value, and taking the image fingerprint of the second stable block as the second characteristic value.
8. The invigilation method of claim 5, wherein said determining whether said test taker has abnormal behavior based on said feature difference comprises:
if the characteristic difference value is larger than a preset threshold value, outputting warning information and marking abnormal behaviors of the examinee;
and if the characteristic difference value is smaller than or equal to a preset threshold value, updating the reference image of the invigilation video, and taking the video screenshot as the updated reference image.
9. An electronic device, comprising a processor and a memory:
a processor for storing program instructions;
a memory for reading the program instructions to implement the video recording method of the online written test as claimed in any one of claims 1 to 4 or the invigilation method as claimed in any one of claims 5 to 8.
10. A computer readable storage medium having stored thereon program instructions, wherein the program instructions are loaded by a processor and execute the video recording method of an online written trial as claimed in any one of claims 1 to 4 or the invigilation method as claimed in any one of claims 5 to 8.
CN202210474498.XA 2022-04-29 2022-04-29 Video recording and invigilating method for online pen test, electronic equipment and storage medium Pending CN114945079A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210474498.XA CN114945079A (en) 2022-04-29 2022-04-29 Video recording and invigilating method for online pen test, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210474498.XA CN114945079A (en) 2022-04-29 2022-04-29 Video recording and invigilating method for online pen test, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114945079A true CN114945079A (en) 2022-08-26

Family

ID=82906742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210474498.XA Pending CN114945079A (en) 2022-04-29 2022-04-29 Video recording and invigilating method for online pen test, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114945079A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117237869A (en) * 2023-09-15 2023-12-15 杭州亦闲信息科技有限公司 Monitoring system and method for online examination

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117237869A (en) * 2023-09-15 2023-12-15 杭州亦闲信息科技有限公司 Monitoring system and method for online examination

Similar Documents

Publication Publication Date Title
CN109325933B (en) Method and device for recognizing copied image
US10796685B2 (en) Method and device for image recognition
WO2019104930A1 (en) Identity authentication method, electronic device and computer-readable storage medium
US9305331B2 (en) Image processor and image combination method thereof
CN109299326B (en) Video recommendation method, device and system, electronic equipment and storage medium
CN111985281B (en) Image generation model generation method and device and image generation method and device
SG174141A1 (en) Method and apparatus for video authentication of user
JP2005117163A5 (en)
CN112004046A (en) Image processing method and device based on video conference
CN114945079A (en) Video recording and invigilating method for online pen test, electronic equipment and storage medium
CN111031359B (en) Video playing method and device, electronic equipment and computer readable storage medium
EP4322515A1 (en) Auxiliary image capture methods and apparatuses for pets
CN114531564A (en) Processing method and electronic equipment
WO2019127892A1 (en) Method for remotely photographing picture, electronic device and computer readable storage medium
CN114095722A (en) Definition determining method, device and equipment
CN110415318B (en) Image processing method and device
US20190370553A1 (en) Filtering of false positives using an object size model
CN112507798B (en) Living body detection method, electronic device and storage medium
CN115862172A (en) Attendance system with expression discernment
WO2021125268A1 (en) Control device, control method, and program
CN111093088B (en) Data processing method and device
CN112601048A (en) Online examination monitoring method, electronic device and storage medium
JP6148785B1 (en) Information processing system, information processing apparatus, and program
CN113191210A (en) Image processing method, device and equipment
WO2023053186A1 (en) Network management device, network management method, and video distribution system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination