Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides the following technical solutions:
according to a first aspect of the embodiments of the present disclosure, there is provided an answer processing method, including:
displaying the current title information and starting timing;
if the timing duration is detected to exceed a first preset duration threshold and no answer input operation is detected, displaying answer prompt information corresponding to the current question information;
and acquiring an answer corresponding to the input current question information, and verifying the input answer.
Optionally, the obtaining an answer corresponding to the input current title information and performing verification processing on the input answer include:
and if the timing duration is detected not to exceed a second preset duration threshold and answer input operation is detected, acquiring an answer corresponding to the input current question information, and verifying the input answer, wherein the first preset duration threshold is smaller than the second preset duration threshold.
Optionally, the method further comprises:
and if the timing duration is detected to exceed the second preset duration threshold and no answer input operation is detected, acquiring a correct answer corresponding to the current question information and displaying the correct answer.
Optionally, the verifying the input answer includes:
acquiring a correct answer corresponding to the current question information;
according to the correct answer, determining verification information of the input answer;
and carrying out corresponding prompt based on the verification information.
Optionally, the determining, according to the correct answer, verification information of the input answer includes:
if the input answer is matched with the correct answer, determining that the verification information of the input answer is information for indicating that the input answer is the correct answer;
determining that the verification information of the input answer is information indicating that the input answer is a wrong answer if the input answer and the correct answer do not match.
Optionally, the performing, based on the verification information, a corresponding prompt includes:
and determining target animation data corresponding to the current question information and the input answer verification information according to the preset corresponding relation among the question information, the verification information and the animation data, and playing the target animation data.
Optionally, if the verification information of the input answer is information indicating that the input answer is a correct answer, the target animation data is reward-type animation data; and if the verification information of the input answer is information for indicating that the input answer is a wrong answer, the target animation data is animation data of a wrong type.
According to a second aspect of the embodiments of the present disclosure, there is provided an answer processing device, the device including:
the display module is used for displaying the current title information and starting timing;
the display module is used for displaying answer prompt information corresponding to the current question information when the timing duration is detected to exceed a first preset duration threshold and no answer input operation is detected;
and the verification module is used for acquiring the answer corresponding to the input current question information and verifying the input answer.
Optionally, the verification module is configured to:
and if the timing duration is detected not to exceed a second preset duration threshold and answer input operation is detected, acquiring an answer corresponding to the input current question information, and verifying the input answer, wherein the first preset duration threshold is smaller than the second preset duration threshold.
Optionally, the display module is configured to:
and if the timing duration is detected to exceed the second preset duration threshold and no answer input operation is detected, acquiring a correct answer corresponding to the current question information and displaying the correct answer.
Optionally, the verification module is configured to:
acquiring a correct answer corresponding to the current question information;
according to the correct answer, determining verification information of the input answer;
and carrying out corresponding prompt based on the verification information.
Optionally, the verification module is configured to:
if the input answer is matched with the correct answer, determining that the verification information of the input answer is information for indicating that the input answer is the correct answer;
determining that the verification information of the input answer is information indicating that the input answer is a wrong answer if the input answer and the correct answer do not match.
Optionally, the verification module is configured to:
and determining target animation data corresponding to the current question information and the input answer verification information according to the preset corresponding relation among the question information, the verification information and the animation data, and playing the target animation data.
Optionally, if the verification information of the input answer is information indicating that the input answer is a correct answer, the target animation data is reward-type animation data; and if the verification information of the input answer is information for indicating that the input answer is a wrong answer, the target animation data is animation data of a wrong type.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal comprising a processor, a communication interface, a memory, and a communication bus, wherein:
the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor is used for executing the program stored in the memory so as to realize the answer processing method.
According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the above-mentioned answer processing method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
by the method provided by the embodiment of the disclosure, after the preset duration threshold is detected to be exceeded and the user does not input any answer for the current topic information, it can be judged that the user may forget the knowledge content related to the current topic information, and therefore, the user can be prompted in a manner of displaying answer prompt information. By the method, the correct answer can be prevented from being directly displayed, the knowledge content related to the current question information can be forgotten after the user directly watches the correct answer, and the user can think the answer corresponding to the current question information through a certain thinking after watching the answer prompt information. Through the method provided by the embodiment of the disclosure, the learning efficiency can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
An exemplary embodiment of the present disclosure provides an answer processing method, as shown in fig. 1, a processing flow of the method may include the following steps:
in step S101, the current title information is displayed and the timer is started.
In implementation, the terminal may store a plurality of topic information locally in advance, or may acquire a plurality of topic information from the server, and after the terminal acquires the plurality of topic information, the plurality of topic information may be displayed. The terminal can acquire preset number of topic information from a plurality of topic information for displaying at a time, and can also display only one topic information at a time, which is not limited in the embodiment of the disclosure. The title information may be set as a title of a selection type, a title of a type to be answered by inputting characters by typing, a title of a type to be answered by inputting a voice signal by voice, and the like.
After presenting the current topic information, the user may read the current topic information and think about the answer, which may be answered after thinking about the answer, for example, a target option may be selected among the provided options, text may be input, a voice signal may be input, and the like. After the terminal presents the current title information, timing can be started, and it is detected whether the user inputs any answer.
Step S102, if the timing duration is detected to exceed the first preset duration threshold and the answer input operation is not detected, displaying answer prompt information corresponding to the current question information.
In implementation, after the terminal displays the current topic information, timing may be started, and whether the user inputs any answer is detected, if it is determined that the timing duration has exceeded the first preset duration threshold, but it is not yet detected that the user inputs any answer, the answer prompt information corresponding to the current topic information may be obtained, and the answer prompt information is displayed. In practical applications, the answer prompt information may be displayed below the current title information or at another preset position. When it is detected that the user does not make any reaction with respect to the current topic information after a certain period of time, it can be determined that the user may not think a possible answer, and the knowledge content of the topic is unknown to the user, so that the user can be prompted.
For example, as shown in fig. 2, the current title information is a Chinese paraphrase entered with the word "cat", and after the timing duration is detected to exceed 30 seconds, the user has not entered any answer, and at this time, it can be determined that the user may forget the Chinese paraphrase of the word "cat", and further prompt the user.
Step S103, obtaining an answer corresponding to the input current question information, and verifying the input answer.
In an implementation, after the answer prompt information is displayed, the user may think about the answer based on the answer prompt information, and input the thought answer into the terminal, and the terminal may obtain the answer input by the user and verify the input answer.
Optionally, after the answer prompt message is displayed, the user may be given unlimited time, wait for the user to input the answer, or specify the user answering time, and perform answering within the specified time. If the timing duration is detected not to exceed the second preset duration threshold and the answer input operation is detected, the answer corresponding to the input current question information can be acquired. And the first preset time length threshold value is smaller than the second preset time length threshold value.
In implementation, if the user thinks of the answer and inputs the answer within a time period not exceeding a second preset time threshold after viewing the answer prompt message, the input answer may be verified. Otherwise, if the user cannot think of any answer after checking the answer prompt information and exceeding a second preset time threshold, the dialog box for inputting the answer can be closed, the user cannot input any answer at this time, and the correct answer corresponding to the current question information can be obtained and displayed while the dialog box for inputting the answer is closed.
Optionally, the step of performing verification processing on the input answer may include: obtaining a correct answer corresponding to the current question information; according to the correct answer, determining the verification information of the input answer; and performing corresponding prompt based on the verification information.
In implementation, a corresponding relationship between each item information and a correct answer may be pre-established, a correct answer corresponding to the current item information may be determined based on the corresponding relationship, and the verification information of the answer input by the user may be determined according to the obtained correct answer. The authentication information may include information indicating that the answer input by the user is a correct answer, and information indicating that the answer input by the user is a wrong answer. After the verification information of the answer input by the user is determined, the user can be correspondingly prompted based on the verification information, so that the user can know whether the input answer is correct.
Alternatively, the step of determining the verification information of the input answer may include: if the input answer matches the correct answer, determining that the verification information of the input answer is information for indicating that the input answer is the correct answer; if the input answer and the correct answer do not match, the verification information of the input answer is determined to be information indicating that the input answer is a wrong answer.
In implementation, it may be determined whether the input answer matches a correct answer corresponding to the current question information, and if the input answer matches the correct answer, the verification information of the input answer is determined to be information indicating that the input answer is the correct answer, and if the input answer does not match the correct answer, the verification information of the input answer is determined to be information indicating that the input answer is the wrong answer.
If the current topic information is the topic of the selection type, whether the input options are the same as the correct options or not can be judged, if so, the verification information of the input answer is determined to be the information for indicating that the input answer is the correct answer, and if not, the verification information of the input answer is determined to be the information for indicating that the input answer is the wrong answer.
If the current question information is a question of a type of answering through input characters, whether the input characters are the same as the characters of a correct answer or not can be judged, if so, the verification information of the input answer is determined to be information for indicating that the input answer is the correct answer, and if not, the verification information of the input answer is determined to be information for indicating that the input answer is a wrong answer. Or, if the answer is correct if the characters input by the user and the correct answer characters correspond to the same meaning, the characters input by the user can be subjected to semantic recognition processing, and the result after the semantic recognition is matched with the correct answer characters. Or, if a certain error exists between the characters input by the user and the correct answer characters, extracting keywords in the characters input by the user, comparing the keywords with keywords in the correct answer characters, and if the keywords in the characters input by the user include keywords in all the correct answer characters, determining that the verification information of the input answer is information for indicating that the input answer is a correct answer, otherwise, determining that the verification information of the input answer is information for indicating that the input answer is a wrong answer.
If the current topic information is the topic of the type of answering through the input voice signal, the voice signal input by the user can be collected, and the voice signal is analyzed and processed. The analysis process may include audio-to-word processing, recognizing a pitch value of a speech signal, and the like. After the voice signal is analyzed, a corresponding analysis result may be obtained, and the verification information may be determined based on the analysis result. For example, after audio-to-word processing is performed on a voice signal input by a user, text information corresponding to the voice signal is obtained, the text information is compared with a correct answer of the current topic information, if the text information is the same as the correct answer of the current topic information, the verification information of the input answer can be determined to be information for indicating that the input answer is the correct answer, otherwise, the verification information of the input answer can be determined to be information for indicating that the input answer is the wrong answer.
Optionally, based on the verification information, the step of performing corresponding prompting may include: and determining target animation data corresponding to the current question information and the input answer verification information according to the preset corresponding relation among the question information, the verification information and the animation data, and playing the target animation data.
In implementation, a corresponding relationship between the title information, the verification information, and the animation data may be established, or a corresponding relationship between the verification information and the animation data may be established. When the user makes a correct or wrong answer for the current topic information, the verification information corresponding to the answer input by the user can be determined, the verification information can indicate that the input answer is correct or wrong, then the corresponding target animation data can be determined according to the current topic information and whether the answer input by the user is correct, different topic information can correspond to different animation data, and meanwhile for the same topic information, when the answer input by the user is correct or wrong, different types of animation data can be output. After the target animation data are determined, the target animation data can be played, the interest of learning is increased, a user is guided to spend more time on learning, and then the learning efficiency can be improved.
Alternatively, if the verification information of the input answer is information indicating that the input answer is a correct answer, the target animation data is bonus-type animation data; the target animation data is animation data of an error type if the verification information of the input answer is information indicating that the input answer is a wrong answer.
In an implementation, the verification information may include two types of information, i.e., information for indicating that the input answer is a correct answer and information for indicating that the input answer is a wrong answer, and when the types of the verification information are different, the kinds of the output animation data may also be different. In practical applications, when the answer input by the user is correct, animation data of a bonus type, for example, animation data about a candy, a ribbon, a safflower, etc. that can represent a bonus, may be played. When the answer input by the user is wrong, animation data of a wrong type may be played, for example, animation data that a kitten cries or the like can indicate that the answer input at present is wrong may be played.
By the method provided by the embodiment of the disclosure, after the preset duration threshold is detected to be exceeded and the user does not input any answer for the current topic information, it can be judged that the user may forget the knowledge content related to the current topic information, and therefore, the user can be prompted in a manner of displaying answer prompt information. By the method, the correct answer can be prevented from being directly displayed, the knowledge content related to the current question information can be forgotten after the user directly watches the correct answer, and the user can think the answer corresponding to the current question information through a certain thinking after watching the answer prompt information. Through the method provided by the embodiment of the disclosure, the learning efficiency can be improved.
Yet another exemplary embodiment of the present disclosure provides an answer processing device, as shown in fig. 3, the device including:
the display module 301 is configured to display current title information and start timing;
the display module 301 is configured to display answer prompt information corresponding to the current question information when it is detected that the timing duration exceeds a first preset duration threshold and no answer input operation is detected;
the verification module 302 is configured to obtain an answer corresponding to the input current question information, and perform verification processing on the input answer.
Optionally, the verification module 302 is configured to:
and if the timing duration is detected not to exceed a second preset duration threshold and answer input operation is detected, acquiring an answer corresponding to the input current question information, and verifying the input answer, wherein the first preset duration threshold is smaller than the second preset duration threshold.
Optionally, the display module 301 is configured to:
and if the timing duration is detected to exceed the second preset duration threshold and no answer input operation is detected, acquiring a correct answer corresponding to the current question information and displaying the correct answer.
Optionally, the verification module 302 is configured to:
acquiring a correct answer corresponding to the current question information;
according to the correct answer, determining verification information of the input answer;
and carrying out corresponding prompt based on the verification information.
Optionally, the verification module 302 is configured to:
if the input answer is matched with the correct answer, determining that the verification information of the input answer is information for indicating that the input answer is the correct answer;
determining that the verification information of the input answer is information indicating that the input answer is a wrong answer if the input answer and the correct answer do not match.
Optionally, the verification module 302 is configured to:
and determining target animation data corresponding to the current question information and the input answer verification information according to the preset corresponding relation among the question information, the verification information and the animation data, and playing the target animation data.
Optionally, if the verification information of the input answer is information indicating that the input answer is a correct answer, the target animation data is reward-type animation data; and if the verification information of the input answer is information for indicating that the input answer is a wrong answer, the target animation data is animation data of a wrong type.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
By the device provided by the embodiment of the disclosure, after the fact that the preset time threshold is exceeded is detected, and after the user does not input any answer for the current topic information, it can be judged that the user may forget the knowledge content related to the current topic information, so that the user can be prompted in a way of displaying answer prompting information. Through the device, the situation that the correct answer is directly displayed can be avoided, the knowledge content related to the current question information can be forgotten even if the user directly watches the correct answer, and the user can think the answer corresponding to the current question information through a certain thinking after watching the answer prompt information. Through the device that this disclosed embodiment provided, can improve learning efficiency.
It should be noted that: in the answer processing device provided in the above embodiment, when performing answer processing, only the division of the functional modules is exemplified, and in practical applications, the functions may be distributed by different functional modules as needed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the answer processing device and the answer processing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 4 shows a schematic structural diagram of a server 1900 provided in an exemplary embodiment of the present disclosure. The server 1900 may have a large difference due to different configurations or performances, and may include one or more processors (CPUs) 1910 and one or more memories 1920. The memory 1920 stores at least one instruction, which is loaded and executed by the processor 1910 to implement the answer processing method according to the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.