Disclosure of Invention
In view of the above, the present invention provides an identity recognition method, a storage medium and a system for interactive education, which solve the problem that students in the traditional online education lack supervision and completely depend on their autonomy.
In order to achieve the above object, the technical solution of the present invention for solving the technical problem is to provide an interactive education identity recognition method, which comprises the steps of: creating instant communication between a server and a user side to open a network course; after a student logs in, acquiring a face image of the student, and determining identity information of the corresponding student according to the acquired face image; after the identity information of the student is confirmed, voiceprint information of the student is collected within a preset interval time; and the server counts the recording condition of the student information in the course of the network course, and sends the recording condition to the teacher client after the network course is finished.
Further, the creating instant messaging between the server and the user side to open the network course includes the steps of: building a network environment; and constructing an instant call environment.
Further, after the student logs in, acquiring a face image of the student, and determining identity information of the corresponding student according to the acquired face image comprises the following steps: logging in a student user side by using a user name and a password; acquiring a face image of a student through a camera; and comparing the acquired face image of the student with the face image of the student prestored in the server.
Further, after confirming the identity information of the student, collecting voiceprint information of the student in a preset interval time comprises the following steps: the server randomly generates a voiceprint field; sending the randomly generated voiceprint fields to each student client; the student inputs the voiceprint information according to the randomly generated voiceprint field; and comparing the voiceprint information input by the student with the voiceprint information corresponding to the voiceprint field randomly generated by the server.
Further, the server counts the recording condition of student information in the course of the network course, and sends the recording condition to the teacher client after the network course is finished comprises the following steps: the server counts the comparison result of the voiceprints; and sending the comparison result to the teacher user side.
Further, after the face images of the students are obtained and the identity information of the corresponding students is determined through the obtained face images, the result of the identity information is sent to the teacher user side through the server.
The invention also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform an interactive educational identity recognition method when run.
The invention also provides an interactive education identity recognition system which comprises a processor and a memory, wherein the memory is stored with a computer program, and the computer program is executed by the processor to realize the interactive education identity recognition method.
Compared with the prior art, the interactive education identity recognition method, the storage medium and the system provided by the invention have the following beneficial effects:
the identity information authentication of face recognition is carried out during login, and voiceprint acquisition comparison authentication is carried out at each preset time during the period of network classes, so that the students who are in network classes are ensured to be the students themselves before the user ends of the students, and the students who are in classes during the period of network classes are also ensured to be the students themselves.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention. Any other corresponding changes and modifications made according to the technical idea of the present invention should be included in the protection scope of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, the interactive education identity recognition method provided by the present invention includes the following steps:
s1, creating instant communication between the server and the client to open the network course;
specifically, before a network course is ready to be started, the instant messaging between the server and the user side is established, namely, the network connection between the server and the user side is established by using the wifi, 4G and other communication networks, so that the instant messaging between the server and the user side is realized.
It is understood that the clients include student clients and teacher clients, and the creating of the instant communication between the server and the clients is essentially the establishing of the instant communication between the student clients and the teacher clients through the server.
In this embodiment, the server establishes instant messaging between the teacher user side and the student user sides at the same time, so that a teacher can learn through instant messaging when in class.
S2, acquiring face images of students after the students log in, and determining identity information of the corresponding students according to the acquired face images;
specifically, after the instant messaging is established, the student needs to log in at the student user end so as to start the online class. When a student logs in, the student is confirmed through a user name and a password, and the student is shot through a camera to obtain a face image of the student and recognize the face image, so that identity information of the student is determined.
It can be understood that the face pictures of the students are pre-stored in the server, after the face pictures of the students are obtained through the camera, the obtained face pictures of the students are compared with the face pictures of the students pre-stored in the server, if the comparison result is constant, the student is considered to be logged in, and if the comparison result is inconsistent, the other people replace the logged in operation.
Further, when the comparison result is inconsistent, the result is fed back to the server, and the server sends the result to the teacher client side, so that the teacher client side can record the result conveniently.
S3, after confirming the identity information of the student, collecting voiceprint information of the student within a preset interval time;
specifically, after the identity information of the student is confirmed, namely the student himself is confirmed to log in, voiceprint authentication needs to be performed on the student every other preset time period, namely the student himself is required to input own voice information through the voice collecting device every other time period, so that the student is determined to be in class before the computer.
It will be appreciated that the voice collection means may be a microphone and the preset time may be set autonomously, such as once every ten minutes, twenty minutes or thirty minutes, etc.
It can be understood that the server stores the voiceprint information of the student in advance, and after the voiceprint information of the student is obtained again at preset intervals, the obtained voiceprint information is compared with the voiceprint information prestored in the server to determine whether the voiceprint is in front of the computer and is the student.
It can be understood that obtaining the voiceprint information of the student may be that the student independently and randomly speaks a language at one end, or the server randomly generates a specified language, and the student reads according to the randomly generated language.
It is understood that voiceprint recognition, one of the biometric identification techniques, also known as speaker recognition, is a technique for discriminating the identity of a speaker by voice. Voiceprint recognition techniques fall into two categories, namely speaker recognition and speaker verification. Different tasks and applications may use different voiceprint recognition techniques, such as may be required to narrow criminal investigation. Voiceprint (Voiceprint) is a sound wave spectrum which is displayed by an electro-acoustic instrument and carries speech information, the generation of human language is a complex physiological and physical process between a human body language center and a pronunciation organ, and the size and the shape of the pronunciation organ, namely tongue, tooth, larynx, lung and nasal cavity, used by a person during speaking are greatly different from person to person, so that the Voiceprint spectrums of any two persons are different. The speech acoustic characteristics of each person are both relatively stable and variable, not absolute, but invariant. The variation can come from physiology, pathology, psychology, simulation, camouflage and is also related to environmental interference. However, since the pronunciation organs of each person are different, in general, people can distinguish different sounds or judge whether the sounds are the same. According to different application scenarios, voiceprint recognition can be divided into Speaker Identification (SI) and Speaker Verification (SV). The SI means that a section of speech to be detected exists, the section of speech needs to be compared with a speaker in a set known by people, and the speaker which is most matched is selected, so that the problem of 1-to-many judgment is solved; SV means that we have an unknown segment of speech and then determine whether the segment of speech originates from the target user, which is a 1 to 1 binary classification problem.
S4, the server counts the recording condition of the student information in the course of the network course, and sends the recording condition to the teacher client after the network course is finished;
specifically, because there are a plurality of students who surf the internet, a plurality of students need to input voiceprints during the period of the internet, and compare the voiceprints with the corresponding voiceprints in the server to judge whether the students lack lessons or not. The server counts the voiceprint verification conditions of all students, and the voiceprint verification conditions are uniformly sent to the teacher client after the network class is finished, so that the condition that the teacher enters the network class is recorded conveniently.
Referring to fig. 2, step S1 further includes the sub-steps of:
s11, building a network environment;
specifically, before a network class starts, a connection is formed among the server, the teacher client and the plurality of student clients through the network.
S12, constructing an instant call environment;
specifically, after the network is connected, an instant call between the teacher user side and the student user side is established through auxiliary tools such as a live broadcast platform, a network conference platform, instant interaction software and the like, so that the beginning of a network course is facilitated.
Referring to fig. 3, step S2 further includes the sub-steps of:
s21, logging in the student user end by using the user name and the password;
specifically, after the environment of the instant call is established, each student logs in by using a user name and a password on the corresponding student user terminal so as to enter the environment of the instant call.
S22, acquiring the face image of the student through the camera;
specifically, after the student user side enters an instant call environment, the face of the student is shot by the camera so as to obtain the face image of each student.
S23, comparing the acquired face image of the student with the face image of the student prestored in the server;
specifically, after the face image of each student is acquired, the acquired face images of all students are respectively compared with the face images corresponding to the students and prestored in the server, so that the identity information of the students is verified, that is, whether the students logging in are the same or not is verified.
Referring to fig. 4, step S3 further includes the sub-steps of:
s31, the server randomly generates a voiceprint field;
specifically, after the above steps are smoothly performed, the web class starts to perform, and at intervals, the server randomly generates a section of voiceprint field, that is, a corresponding field after the voiceprint is converted into characters.
S32, sending the randomly generated voiceprint fields to each student client;
specifically, after the server randomly generates the voiceprint field, the voiceprint field is sent to each student client in a picture or character mode, so that students can visually observe the voiceprint field.
S33, the student inputs the voiceprint information according to the randomly generated voiceprint field;
specifically, after the student observes the voiceprint field, the student reads the voiceprint field aloud to form voiceprint information, and the voiceprint is collected through a voice collector such as a microphone and transmitted to the server after being collected.
S34, comparing the voiceprint information input by the student with the voiceprint information corresponding to the voiceprint field randomly generated by the server;
specifically, after the voiceprint information input by the student is transmitted to the server, the voiceprint information input by the student is compared with the voiceprint information prestored in the server, so that whether the input person is the student is judged, and whether the student continues to carry out the online lesson can be judged.
Referring to fig. 5, step S4 further includes the sub-steps of:
s41, the server counts the comparison result of the voiceprint;
specifically, the server records all voiceprint comparison results during the online class, such as whether the user side of the student inputs voiceprints, whether the voiceprint comparison results are consistent, and the like.
S42, sending the comparison result to the teacher user side;
specifically, after the network class is finished, the server sends all comparison results to the user side of the teacher, so that the teacher can record the absence condition of students in the network class process.
The invention also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the above-mentioned method steps when run. The storage medium may include, for example, a floppy disk, an optical disk, a DVD, a hard disk, a flash Memory, a usb-disk, a CF card, an SD card, an MMC card, an SM card, a Memory Stick (Memory Stick), an XD card, etc.
A computer software product is stored on a storage medium and includes instructions for causing one or more computer devices (which may be personal computer devices, servers or other network devices, etc.) to perform all or a portion of the steps of the method of the present invention.
The invention also provides an interactive education identity recognition system which comprises a processor and a memory, wherein the memory is stored with a computer program, and the computer program is executed by the processor to realize the interactive education identity recognition method.
Compared with the prior art, the interactive education identity recognition method, the storage medium and the system provided by the invention have the following beneficial effects:
the identity information authentication of face recognition is carried out during login, and voiceprint acquisition comparison authentication is carried out at each preset time during the period of network classes, so that the students who are in network classes are ensured to be the students themselves before the user ends of the students, and the students who are in classes during the period of network classes are also ensured to be the students themselves.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention. Any other corresponding changes and modifications made according to the technical idea of the present invention should be included in the protection scope of the present invention.