WO2020077874A1 - Method and apparatus for processing question-and-answer data, computer device, and storage medium - Google Patents

Method and apparatus for processing question-and-answer data, computer device, and storage medium Download PDF

Info

Publication number
WO2020077874A1
WO2020077874A1 PCT/CN2018/125151 CN2018125151W WO2020077874A1 WO 2020077874 A1 WO2020077874 A1 WO 2020077874A1 CN 2018125151 W CN2018125151 W CN 2018125151W WO 2020077874 A1 WO2020077874 A1 WO 2020077874A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
preset
target
score
data
Prior art date
Application number
PCT/CN2018/125151
Other languages
French (fr)
Chinese (zh)
Inventor
臧磊
傅婧
郭鹏程
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Priority to SG11201913925YA priority Critical patent/SG11201913925YA/en
Publication of WO2020077874A1 publication Critical patent/WO2020077874A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation

Definitions

  • This application relates to a question and answer data processing method, device, computer equipment, and storage medium.
  • the inventor realized that the currently implemented smart question answering method is relatively simple, usually a point-to-point verification method, that is, the server verifies the current smart question answering by determining the correctness of the user's answer data.
  • the accuracy of the verification may be low, thereby reducing the accuracy of intelligent question answering, that is, for the question answering data in the process of intelligent question answering, there is a problem of low accuracy of question and answer data processing.
  • a question and answer data processing method device, computer device, and storage medium are provided.
  • a question and answer data processing method includes:
  • the target expression score corresponding to the user answer image is determined according to a preset expression score determination method
  • a question and answer data processing device includes:
  • the receiving module is used to receive user answer data and user answer images sent by the terminal;
  • the determination module is used to determine whether the user answer data is correct according to a preset determination method
  • a score determination module configured to determine a target expression score corresponding to the user answering image according to a preset expression score determination method when the user answer data is determined to be correct;
  • a question data determination module configured to determine target question data according to a preset question data determination method corresponding to the target expression score
  • the sending module is configured to send the target question data to the terminal for display.
  • a computer device includes a memory and one or more processors.
  • the memory stores computer readable instructions.
  • the computer readable instructions are executed by the one or more processors, the one or more Each processor implements the steps of the question and answer data processing method provided in any embodiment of the present application.
  • One or more non-volatile computer-readable storage media storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to implement any of the present application.
  • FIG. 1 is an application scenario diagram of a question and answer data processing method according to one or more embodiments.
  • FIG. 2 is a schematic flowchart of a question and answer data processing method according to one or more embodiments.
  • FIG. 3 is a schematic flowchart of a method for processing question and answer data in another embodiment.
  • FIG. 4 is a block diagram of a question and answer data processing device according to one or more embodiments.
  • FIG. 5 is a block diagram of a question and answer data processing device in another embodiment.
  • Figure 6 is a block diagram of a computer device in accordance with one or more embodiments.
  • the question and answer data processing method provided by this application can be applied to the application environment shown in FIG. 1.
  • the terminal 102 communicates with the server 104 through the network through the network.
  • the server 104 receives the user answer data and the user answer image sent by the terminal 102, and when the user answer data is determined to be correct according to the preset determination method, determines the target facial expression score corresponding to the user answer image, according to the preset corresponding to the target facial expression score
  • the question data determination method determines the corresponding target question data, and sends the determined target question data to the terminal 102 for display.
  • the terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
  • the server 104 may be implemented by an independent server or a server cluster composed of multiple servers.
  • a method for processing question and answer data is provided. Taking the method applied to the server in FIG. 1 as an example for illustration, it includes the following steps:
  • S202 Receive user answer data and user answer images sent by the terminal.
  • the user answer data is the user's answer data corresponding to the current question data.
  • the user answer data may specifically be text data manually entered by the user on the terminal, or voice information collected by the terminal when the user answers the current question data.
  • the user answering video is the image information correspondingly collected when the user responds to the current question data corresponding to the answer data.
  • the user answer data may specifically be image information collected during the user answering process, for example, image information collected when the user manually inputs text data on the terminal for the current question data, or image information correspondingly collected when the user answers the current question data.
  • the image information may specifically be information in the form of images or videos collected by the image collector.
  • User answering images may include but are not limited to user answering images and user answering videos.
  • the user answering image is, for example, an image corresponding to the user's face image collected when the user answers the question.
  • the user answering video is, for example, the video collected during the user answering process, that is, the video collected during the user answering operation.
  • the image collector may be a camera, and the camera may be a camera configured on the terminal, or may be an independent component connected point-to-point with the terminal.
  • the user answer data corresponds to the user answer image.
  • the current question data is the current question data, that is, the question data corresponding to the current question and answer data processing process.
  • the current question data may specifically refer to the question data that is closest to the current time, that is, the latest question data.
  • Question data refers to the question data when the user asks a question.
  • the question data may specifically be text data displayed through the display screen, or voice information displayed through voice broadcast.
  • the current question data corresponds to the user answer data and the user answer image currently fed back by the terminal.
  • the server receives user answer data and user answer images sent by the terminal through a wireless network or a wired network.
  • the user answer data and the user answer image correspond to the current question data.
  • the terminal receives the current question data sent by the server, it displays the received current question data to the user through voice broadcast or display screen display, and detects in real time that the user responds to the user's answer data corresponding to the current question data.
  • the terminal obtains the user answering image corresponding to the user answering data, and sends the acquired user answering image and the corresponding user answering data to the server.
  • the server receives the question and answer instruction, obtains the corresponding current question data according to the received question and answer instruction, and sends the acquired current question data to the terminal.
  • the server selects the current question data from the pre-stored preset question bank according to the question and answer instruction.
  • the server may also obtain the corresponding question material from the pre-stored question material set according to the question and answer instruction, and generate corresponding current question data according to the acquired question material.
  • the preset question bank is a question data set composed of multiple question data.
  • the question material set is a material collection composed of multiple question materials. Question materials such as ID card number, nationality, current residence, etc.
  • the terminal when the terminal presents the current question data to the user, the user's answer operation on the current question data is detected in real time, and the corresponding user answer data is obtained according to the detected answer operation. Answering operations such as user input operations on the terminal, or voice information generated when the user dictates answering data.
  • the preset determination method is a preset method for determining whether the user answer data is correct.
  • the preset judgment mode is the basis for judging whether the user answer data is correct.
  • the preset determination method may be to compare the received user answer data with the pre-stored preset answers, and determine whether the user answer data is correct according to the comparison result, that is, determine the correctness of the user answer data.
  • the preset answer is the preset correct answer or standard answer.
  • the server queries the pre-stored preset answers corresponding to the current question data corresponding to the user answer data, matches the queried preset answer with the received user answer data, and determines the user answer according to the matching result Is the data correct?
  • the server judges that the user answer data is correct; when the matching fails, it determines that the user answer data is wrong.
  • the server can calculate the matching rate between the preset answer and the corresponding user answer data. When the calculated matching rate reaches the preset matching rate threshold, the server determines that the user answer data matches the corresponding preset answer successfully.
  • the server when the user answer data is text data, the server matches the received text data with the corresponding preset query, and then determines the correctness of the text data. In one embodiment, when the user answers the data voice information, the server performs voice recognition on the voice information to obtain corresponding voice text content, and matches the recognized voice text content with the corresponding preset answer to determine the voice The correctness of the text content, and then determine the correctness of the corresponding voice information.
  • the target expression score corresponding to the user answer image is determined according to the preset expression score determination method.
  • the preset method for determining the facial expression score is a preset method for determining the target facial expression score corresponding to the user answering image.
  • the preset expression determination method may specifically include extracting corresponding user micro-expressions from the user answering images, and determining a target expression score corresponding to the user answering images according to the extracted user micro-expressions by means of micro-expression recognition technology.
  • the target facial expression score is the user facial expression score determined according to the user answer image corresponding to the user answer data.
  • the target expression score may specifically be a user expression score determined according to the user's micro-expression contained in the user answering image.
  • the target facial expression score can be used to characterize the likelihood that the user actually knows the correct answer corresponding to the current question data.
  • the target facial expression score may be determined according to the user's micro-expression, and the user actually knows the likelihood of the correct answer corresponding to the current question data.
  • the target expression score can be used to determine whether the user answered the current question data because he actually knew the correct answer, or because he did not actually know the correct answer by guessing.
  • the target expression score may refer to the score corresponding to the user's micro-expression, such as 80 points.
  • the target expression score may also refer to the percentage corresponding to the user's micro-expression, such as 80%.
  • the target expression score of 80% may refer to the possibility that the user actually knows the correct answer is 80%.
  • the user's micro-expression is a very short facial expression that cannot be controlled autonomously by humans. It is a very fast expression with a duration of only 1/25 second to 1/5 second.
  • the user's micro-expressions cannot be hidden or disguised artificially, and can reflect the facial expressions of people's true emotions. According to the user's micro-expressions, it can be determined whether the user is straightforward or hesitant when answering the question.
  • the server extracts the corresponding user micro-expression from the user answer image corresponding to the user answer data, and uses the micro-expression recognition technology to determine the user's micro-expression according to the extracted user micro-expression The target expression score corresponding to the answer image.
  • the server inputs the user answering image into the trained micro-expression recognition model for prediction, and obtains corresponding user micro-expressions.
  • the server inputs the predicted micro-expression of the user into the trained expression score prediction model for prediction, and obtains the corresponding target expression score, that is, the target expression score corresponding to the user answering image.
  • the server when it is determined that the user answer data is correct, the server inputs the corresponding user answer image into the trained prediction model for prediction, and obtains the corresponding target label score.
  • S208 Determine target question data according to a preset question data determination method corresponding to the target facial expression score.
  • the target question data is the question data the next time a question is initiated to the user.
  • Target question data refers to another question data after the current question data.
  • the target question data may specifically be text data that can be displayed through the display screen, or voice information that can be displayed through voice broadcast.
  • the preset question data determination method is a preset method for determining the corresponding target question data according to the target expression score.
  • the preset question data determination method corresponds to the target expression score.
  • the method for determining the preset question data may specifically be to randomly select target question data from the preset question bank, or determine the corresponding target question data according to the current question data.
  • the server determines the corresponding preset question data determination method according to the determined target expression score, and determines the corresponding target question data according to the determined preset question data determination method.
  • the server pre-stores the correspondence between the target expression score and the preset question data determination method.
  • the server queries the correspondence between the target facial expression score and the corresponding preset question data determination method according to the target facial expression score, and determines the preset question data determination method corresponding to the target facial expression score according to the queried correspondence .
  • the server may select target question data of a preset type from the pre-stored preset question bank according to the way of determining the preset question data.
  • the server may also determine the target question data related to the current question data according to the preset question data determination method, based on the current question data and the constructed knowledge graph.
  • the server pre-stores the correspondence between the preset expression score interval and the preset question data determination method.
  • the server matches the target expression score with the pre-stored preset expression score interval, and determines the preset question data determination method corresponding to the preset expression score interval that matches successfully as the pre-correspondence corresponding to the target expression score Set the question data determination method.
  • the server matches the target expression score with each expression score in the preset expression score interval to determine whether the target expression score falls within the preset expression score interval, thereby determining the target expression score and Set the matching results between expression score intervals.
  • the server may select target question data from a preset question bank.
  • the server may also obtain corresponding question materials from the pre-stored question material sets, and generate corresponding target question data according to the obtained question materials.
  • the target question data may or may not be related to the current question data.
  • the question types corresponding to the target question data and the current question data may be the same or different.
  • the question type corresponding to the target question data can be determined according to the question type corresponding to the current question data, the target expression score, and the corresponding preset question data determination method.
  • S210 Send target question data to the terminal for display.
  • the server After determining the corresponding target question data according to the preset question data determination method corresponding to the target facial expression score, the server sends the determined target question data to the terminal.
  • the terminal displays the received target question data to the corresponding user through display screen display or voice broadcast.
  • the terminal when the terminal presents the received target question data to the user through voice announcement or display screen display, the user is detected in real-time to respond to the target question data corresponding to the user's answer data, and the detected user The answer data is sent to the server, so that the server continues to perform the relevant steps of the above question and answer data processing method according to the received user answer data.
  • the receiving terminal determines the correctness of the user ’s answer data according to the user ’s answer data and the user ’s answer image corresponding to the current question data, and executes the corresponding steps according to the correctness of the user ’s answer data to improve the processing of the Q & A data effectiveness.
  • determine the target facial expression score corresponding to the user's answer image determine the target question data for the next question according to the target facial expression score, and send the determined target question data to the terminal for display, In order to initiate the next question and answer process through the terminal.
  • the target question answering data corresponding to the next question answering process is determined by combining the user answering data and the user answering image correspondence, thereby improving the processing accuracy of the question answering data in the current question answering process.
  • the user answering image includes the user answering image; step S206 includes: when it is determined that the user answering data is correct, correspondingly acquiring the user answering image according to the user answering image; inputting the user answering image into a pre-trained micro-expression recognition model Make predictions to obtain corresponding user micro-expressions; enter user micro-expressions into a pre-trained expression score prediction model for prediction to obtain target expression scores.
  • the user answering image refers to an image including the user's face image correspondingly collected when the user answers the question.
  • the user's face image refers to an image containing the user's face.
  • the user's face image may specifically be the user's avatar photo or the user's headshot collected during the user's answering operation.
  • the micro-expression recognition model is a model obtained by training the model based on the pre-acquired training sample set, and can be used to predict the micro-expression of an unknown user based on a known user answer image.
  • the expression score prediction model is a model obtained by training the model based on the pre-acquired training sample set and can be used to predict unknown target expression scores based on known user micro-expressions.
  • the server acquires the corresponding user answer image from the user answer image corresponding to the user answer data.
  • the server inputs the acquired user answer images as input features into a pre-trained micro expression recognition model, and predicts the input user answer images through the micro expression recognition model to obtain corresponding user micro expressions.
  • the server inputs the user's micro-expressions predicted by the micro-expression recognition model into the pre-trained expression score prediction model, and predicts the user's micro-expressions through the expression score prediction model to obtain the corresponding target expression score.
  • the server obtains a first training sample set, the first training sample set includes a target user answer image and a target user micro-expression corresponding to the target user answer image. There are multiple target user answer images, and each target user answer image corresponds to a corresponding target user micro-expression.
  • the server uses each user answer image in the first training sample set as the input feature, and the corresponding target user's micro expressions as the desired output features, and trains the initial micro expression recognition model to obtain the trained micro expression recognition model.
  • the server can obtain multiple target user answer images, and obtain corresponding target user answer images from each target user answer image.
  • the server obtains a second training sample set, where the second training sample set includes the target user's micro expression and the target expression score corresponding to the target user's micro expression.
  • the second training sample set includes the target user's micro expression and the target expression score corresponding to the target user's micro expression.
  • There are multiple target user micro expressions and each target user micro expression corresponds to a corresponding target expression score.
  • the server takes each target user's micro-expressions in the second training sample set as input features, and the corresponding target expression scores as the desired output features, respectively, and trains the initialized expression score prediction model to obtain the trained expression scores Value prediction model.
  • the server can obtain multiple target user answer images, and extract the corresponding target user micro expressions from each target user answer image through the trained micro expression recognition model.
  • the user answering video includes multiple frames of user answering images.
  • the server obtains corresponding multi-frame user answer images from the user answer images.
  • the server inputs each frame of user answer images to the trained micro-expression recognition model for prediction to obtain corresponding user micro-expressions, and enters the predicted user micro-expressions into the trained expression score prediction model for prediction to obtain corresponding Emoji score.
  • the server correspondingly determines the target expression score corresponding to the corresponding user answer image according to the expression score corresponding to each frame of the user answer image. For example, the server may perform weighted evaluation on the expression score corresponding to each frame of the user answering image to obtain the corresponding target expression score.
  • the corresponding target expression score is obtained according to the user answer image included in the user answer image, which improves the prediction efficiency and accuracy of the target expression score To improve the efficiency and accuracy of question and answer data processing.
  • the user answering image includes the user answering video; step S206 includes: when it is determined that the user answering data is correct, correspondingly obtaining the user answering video according to the user answering image; extracting the preset from the user answering video according to the preset extraction method Number of video frames; separately determine the expression score corresponding to each video frame; according to each expression score, determine the target expression score corresponding to the user answering image.
  • the user answering video refers to the correspondingly collected video during the user's answering process, that is, the video collected during the user's answering operation.
  • Video frames are the basic unit of video for users to answer questions.
  • One video frame corresponds to one static picture in the video, and multiple video frames make up the video.
  • the preset number is a preset value, which can be customized according to the actual situation, such as 3.
  • the preset extraction method is a preset method for extracting a preset number of video frames from the user answer video.
  • the preset extraction method is used to instruct the server how to obtain a preset number of video frames from the user answer video.
  • the preset extraction method may be to obtain a preset number of consecutive video frames from the user answering video, or to obtain a preset number of video frames from the user answering video according to a preset step.
  • the server acquires the corresponding user answer video from the user answer image corresponding to the user answer data.
  • the server extracts a preset number of video frames from the obtained user answer video according to the preset extraction method, and uses the trained micro-expression recognition model and expression score prediction model to perform each video frame separately in the above manner Predict, get the expression score corresponding to each video frame.
  • the server determines the target expression score corresponding to the corresponding user answering image according to the corresponding expression scores of the preset number of video frames.
  • the server may perform weighted evaluation on the expression score corresponding to each video frame to obtain the corresponding target expression score.
  • the server may also use the expression score corresponding to each video frame as an input feature, input a pre-trained score prediction model for prediction, and obtain a corresponding target expression score.
  • the server obtains a preset number of consecutive video frames from the user answer video. In one of the embodiments, the server obtains a preset number of video frames from the user answer video according to a preset step. The interval between any two adjacent video frames in the preset number of acquired video frames is the preset step size.
  • the preset step size refers to the interval between two adjacent video frames.
  • the preset step size may specifically be a specified number of video frames, such as 5 frames.
  • the server acquires a video frame every specified number of video frames in the user answer video, and stops acquiring until a preset number of video frames are acquired.
  • the server extracts a preset number of video frames from the user answering video, and integrates the corresponding expression scores of the preset number of video frames to determine the corresponding target expression score, which improves the accuracy of the target expression score, thereby improving The accuracy of question and answer data processing.
  • step S208 includes: comparing the target expression score with the preset expression score; when the target expression score reaches the preset expression score, selecting the target of the preset topic type from the preset question bank Ask the data.
  • the preset expression score is a preset expression score threshold, such as 86 points, or 86%.
  • the preset expression score is the basis for determining the corresponding preset question data determination method according to the target expression score.
  • the preset question type is a preset question type.
  • the question type refers to the type corresponding to the question data, such as identity type and address type.
  • Identity type question data such as "What is the last six digits of your ID number?"
  • Address type question data such as "What is your current residential address"
  • the server compares the determined target facial expression score with the preset facial expression score.
  • the target expression score reaches the preset expression score, it indicates that the user's expression during the answering process is normal, which means that the user can determine that the user actually knows the correct answer to the current question data according to the user's answer image, which further verifies the corresponding user answer data
  • the server selects the target question data of the preset question type from the pre-stored preset question bank.
  • the server is locally pre-configured with one or more question types corresponding to the question and answer session.
  • the server is locally pre-configured with the question and answer sequence corresponding to the corresponding question and answer process for the multiple question types, such as the address type question data followed by the identity type question data.
  • the server determines that the question type corresponding to the target question data is the identity type according to the pre-configured question and answer sequence .
  • the server filters the question data of the identity type from the preset question bank, and selects the target question data from the filtered question data.
  • the preset question type corresponding to the target question data is different from the question type corresponding to the current question data.
  • the question data of other preset question types is selected to continue to ask the user to reduce the number of question data , So as to reduce the number of question and answer data processing in the entire question and answer process, thereby improving the efficiency of question and answer data processing.
  • step S208 includes: comparing the target expression score with the preset expression score; when the target expression score is lower than the preset expression score At this time, the target question data corresponding to the current question data is selected according to the preset selection method according to the current question data.
  • the preset selection method is a preset method for selecting target question data according to the current question data.
  • the preset selection method may specifically be to select target question data related to the current question data from the preset question bank, or to select corresponding target question data based on the constructed knowledge graph.
  • the question type corresponding to the target question data selected according to the preset selection method may be the same as or different from the question type corresponding to the current question data.
  • the server compares the target facial expression score corresponding to the user answering image with the preset facial expression score.
  • the server selects the target question data related to the current question data according to the current question data corresponding to the user answer data and the user answer image according to the preset selection method.
  • the server may select target question data related to the current question data from the preset question bank according to the current question data.
  • the server may also select relevant target question data from the constructed knowledge graph according to the current question data.
  • the current question data and the correspondingly determined target question data may correspond to the same or corresponding keywords, such as an address that is the same or similar.
  • the server selects target question data related to the user answer data according to the preset selection method according to the user answer data corresponding to the current question data. For example, suppose the current question data is "What is your current residential address", and the corresponding user answer data is "I currently live in No. 28 Keyuan Road, Nanshan District, Shenzhen".
  • the server may select the corresponding target question data according to the address "28 Keyuan Road, Nanshan District, Shenzhen" in the user answer data, for example, “From Shenzhen Nanshan Branch There is a China Merchants Bank within 50 meters of No. 28 Yuan Road, right? "
  • the preset question bank is a question bank pre-configured into the database.
  • the constructed knowledge graph is a graph-based data structure constructed in advance according to the knowledge graph construction method. The construction of the knowledge graph can be realized based on a known way of constructing the knowledge graph, which will not be repeated here.
  • the target question data related to the current question data is selected to further determine the current question based on the target question data The accuracy of the data, thereby verifying the reliability of the identity of the user currently answering the question, and ensuring the correctness of the question and answer data processing.
  • the user answer data and the user answer image correspond to the current question data;
  • the current question data corresponds to a preset comprehensive score;
  • the question and answer data processing method further includes: when the target expression score is lower than the preset expression score When the value is set, the preset comprehensive score is dynamically adjusted according to the preset score adjustment method; according to the preset comprehensive score and the adjusted preset comprehensive score, the comprehensive score corresponding to the target question data is determined.
  • the preset comprehensive score is a preset comprehensive score corresponding to the current question data.
  • the preset comprehensive score includes a preset expression score and a preset answer score.
  • the preset comprehensive score can be understood as the full score corresponding to the current question data.
  • the preset answer score can be understood as the full score corresponding to the user ’s answer data. For example, when the user ’s answer data for the current question data is consistent with the correct answer, the corresponding target answer data will be determined as the full score.
  • the preset answer score is determined as the target answer score.
  • the preset expression score value can be understood as the full score value corresponding to the user answering image.
  • the server dynamically adjusts the preset comprehensive score corresponding to the current question data corresponding to the user answer data and the user answer image according to the preset score adjustment method.
  • the server determines the comprehensive score corresponding to the target question data according to the adjusted preset comprehensive score and the preset comprehensive score corresponding to the current question data.
  • the server dynamically transfers a part of the preset comprehensive score corresponding to the current question data to the target question data.
  • the preset comprehensive score includes a preset expression score and a preset answer score.
  • the server determines the preset expression score corresponding to the current question data as the comprehensive score corresponding to the target question data.
  • the server determines the preset answer score corresponding to the current question data as the adjusted preset comprehensive score.
  • the server may determine, according to the preset comprehensive score corresponding to the current question data, the percentage of the score corresponding to the preset expression score and the preset answer score, and correspondingly determine the expression score in the comprehensive score corresponding to the target question data Value and answer score.
  • the server determines the corresponding target answer score according to the user answer data, and determines the corresponding target synthesis according to the target answer score and the target expression score Score, and then the determined target comprehensive score is determined as the comprehensive score corresponding to the target question data.
  • the server determines the current question data and the target question data according to the preset score ratio and the preset comprehensive score corresponding to the current question data, respectively The corresponding comprehensive score after dynamic adjustment.
  • the preset score ratio is 3: 2
  • the ratio of the comprehensive scores corresponding to the current question data and the target question data is 3: 2.
  • the preset comprehensive score is 50 points
  • the preset adjusted comprehensive score corresponding to the current question data corresponding to the adjusted adjusted score according to the preset score ratio is 30 points
  • the comprehensive score corresponding to the target question data is 20 points.
  • the server is locally pre-configured with the number of question data involved in the question and answer session and the preset comprehensive score corresponding to each question data.
  • the server is locally pre-configured with multiple question types corresponding to the question and answer session, and a preset comprehensive score corresponding to each question type.
  • the preset comprehensive score corresponding to each topic type may be the same or different.
  • a higher preset comprehensive score can be configured, and the types of questions in the compulsory answer category such as the identity category.
  • the server determines the preset comprehensive score corresponding to the question type as the preset comprehensive score corresponding to the question data first selected for the question type.
  • the pre-synthetic score of the current question data is dynamically adjusted, and the comprehensive score corresponding to the target question data is correspondingly determined to facilitate questioning according to the target
  • the target comprehensive score corresponding to each of the data and the current question data determines the final target comprehensive score corresponding to the current question data, improves the accuracy of the target comprehensive score, and thus improves the accuracy of question and answer data processing.
  • the above question and answer data processing method further includes: determining a target answer question score corresponding to the user answer data according to a preset answer question score determination method; according to the target answer question score and the target expression score Determine the corresponding target comprehensive score; update the existing total answer score according to the target comprehensive score; when the updated total answer score meets the preset stop condition, stop the current question and answer process and send the corresponding prompt message to the terminal .
  • the preset answer score determination method is a predetermined method to determine the target answer score according to the user answer data.
  • the method for determining the preset answer score may be to determine the corresponding target answer score according to the matching rate between the user answer data and the corresponding preset answer, and the preset answer score corresponding to the current question data. For example, assuming that the preset comprehensive score is 50 points and the calculated matching rate is 80%, the corresponding target answer score is 40 points.
  • the preset answer score determination method may also be to input user answer data into a pre-trained answer score prediction model for prediction to obtain a corresponding target answer score.
  • the existing total score for answering questions refers to the total score determined according to the target comprehensive score corresponding to one or more question data before the current question data.
  • the target comprehensive score corresponding to the one or more question data and the target comprehensive score corresponding to the current question data correspond to the same user ID.
  • the target comprehensive scores corresponding to the current question data and the one or more question data between the current question data are based on the user answer data and the user answer images corresponding to the corresponding user's corresponding question data.
  • the total answer score may be a total score determined according to the target comprehensive score corresponding to each question data.
  • the total score of the answer can be the direct summation of multiple target comprehensive scores, or the total score obtained by weighted summation.
  • the preset stop condition is a preset basis for determining whether to stop the current question and answer process.
  • the preset stop condition may specifically be that the updated total answer score reaches the preset total score threshold.
  • the server determines the corresponding target answer score according to the user answer data according to the preset answer score determination method, and sums the target answer score and the corresponding target facial expression score to obtain the corresponding target comprehensive score.
  • the server queries the total score of the existing answers according to the user answer data and the user ID corresponding to the user's answer image, and correspondingly updates the query total score according to the target comprehensive score corresponding to the current question data.
  • the server compares the updated total answer score with the preset total score threshold. When the updated total answer score reaches the preset total score threshold, the server stops the current question and answer process and does not continue to perform the relevant steps of determining the target question data according to the preset question data determination method corresponding to the target facial expression score.
  • the server generates corresponding prompt information according to the updated total score of the answer and sends it to the terminal.
  • the target comprehensive score corresponding to the third question data determined in the above manner is 20 points
  • the target comprehensive scores corresponding to the data are 30 points and 20 points respectively
  • the total score of the existing answer questions is 50 points
  • the corresponding total score of the updated answer questions is 70 points.
  • the preset total score threshold is 60 points
  • the updated total answer score is greater than the preset total score threshold and meets the preset stop condition.
  • the server directly sums or weights the target answer score and the target facial expression score to obtain the corresponding target comprehensive score.
  • the weight of the weighted summation can be customized.
  • the server stops the corresponding question and answer process and pushes prompt information indicating that the face-to-face review is passed to the terminal.
  • Interview refers to the verification of the user's identity in the process of lending business.
  • the server counts the total number of question data, and compares the total number of question data with a preset threshold. When the total number of question data counted reaches the preset threshold, the server stops the current question and answer process, and updates the existing total answer score according to the target comprehensive score corresponding to the current question data, and then based on the updated answer question
  • the total score value and the preset total score threshold push corresponding prompt information to the terminal.
  • the server sends a prompt message indicating that the interview is passed to the terminal.
  • the server sends a prompt message to the terminal indicating that the interview has failed.
  • the server when it is determined that the user answer data is correct, the server may determine the corresponding preset answer score as the target comprehensive score. When it is determined that the user answer data is wrong, the server may determine the corresponding target answer score to be zero.
  • the server may stop the current question and answer process and send corresponding prompt information to the terminal.
  • the server may also select target question data of the preset question type from the preset question bank, and continue to execute the current question and answer process according to the selected target question data in the above manner.
  • the server counts the total number of question data corresponding to the wrong answer data of the corresponding user. When the counted total number reaches the preset total number, the server stops the current question and answer process and sends corresponding prompt information to the terminal.
  • the server receives the user answering voice information sent by the terminal, performs voiceprint recognition on the user answering voice information to obtain corresponding voiceprint features, and further verifies the identity of the corresponding user according to the voiceprint features.
  • Voiceprint recognition can be implemented based on various existing voiceprint recognition technologies, and will not be repeated here.
  • the server obtains the corresponding user answer voice information from the terminal.
  • the server obtains the user's tone and intonation from the user's answering voice information, and further verifies the correctness of the user's answer data according to the obtained tone and intonation.
  • a method for processing question and answer data is provided.
  • the method specifically includes the following steps:
  • S302 Receive user answer data and user answer images sent by the terminal.
  • the user answer image is correspondingly obtained according to the user answer image.
  • S308 input the user answering image into a pre-trained micro-expression recognition model for prediction, and obtain corresponding user micro-expressions.
  • the user answer video is correspondingly obtained according to the user answer image.
  • S314 Extract a preset number of video frames from the user answer video according to the preset extraction method.
  • a target expression score corresponding to the user answering image is determined.
  • S320 Determine the target answer score corresponding to the user answer data according to the preset answer score determination method.
  • S322 Determine the corresponding comprehensive target score according to the target answer score and the target facial expression score.
  • S324 Correspondingly update the existing total score of the answer according to the target comprehensive score.
  • the target question data corresponding to the current question data is selected according to the preset selection method according to the current question data; the user answer data and the user answer image correspond to the current question data.
  • S334 Send the target question data to the terminal for display.
  • the correctness of the corresponding user's answer data is assisted by the help of the user's answer image.
  • the corresponding target question data is determined according to the target expression score corresponding to the user's answer image, which improves the question and answer data Processing accuracy. Further, it is determined whether to stop the current question and answer process according to the total score of the questions answered, which improves the efficiency of question and answer data processing.
  • steps in the flowcharts of FIGS. 2-3 are displayed in order according to the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless clearly stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in FIGS. 2-3 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. These sub-steps or stages The execution order of is not necessarily sequential, but may be executed in turn or alternately with at least a part of other steps or sub-steps or stages of other steps.
  • a question and answer data processing apparatus 400 including: a receiving module 402, a determining module 404, a score determining module 406, a question data determining module 408, and a sending module 410, wherein :
  • the receiving module 402 is used to receive user answer data and user answer images sent by the terminal.
  • the determination module 404 is used to determine whether the user answer data is correct according to a preset determination method.
  • the score determination module 406 is used to determine the target facial expression score corresponding to the user's answer image when it is determined that the user's answer data is correct.
  • the question data determination module 408 is configured to determine target question data according to a preset question data determination method corresponding to the target expression score.
  • the sending module 410 is used for sending target question data to the terminal for display.
  • the user answer image includes the user answer image; the score determination module 406 is also used to obtain the user answer image corresponding to the user answer image when it is determined that the user answer data is correct; input the user answer image into the pre-training
  • the prediction model of the micro-expression recognition model is used to obtain the corresponding micro-expression of the user; the micro-expression of the user is input into the pre-trained expression score prediction model for prediction to obtain the target expression score.
  • the user answer video includes the user answer video; the score determination module 406 is also used to obtain the user answer video according to the user answer image when the user answer data is determined to be correct; Extract a preset number of video frames from the video; determine the expression score corresponding to each video frame; and determine the target expression score corresponding to the user's answer image according to each expression score.
  • the question data determination module 408 is also used to compare the target expression score with the preset expression score; when the target expression score reaches the preset expression score, the pre-selected from the preset question bank Set the target question data for the question type.
  • the user answer data and the user answer image correspond to the current question data; the question data determination module 408 is also used to compare the target expression score with the preset expression score; when the target expression score is lower than When the expression score is preset, the target question data corresponding to the current question data is selected according to the preset selection method according to the current question data.
  • the user answer data and the user answer image correspond to the current question data;
  • the current question data corresponds to a preset comprehensive score;
  • the question and answer data processing device 400 further includes: score adjustment Module 412;
  • the score adjustment module 412 is used to dynamically adjust the preset comprehensive score according to the preset score adjustment method when the target expression score is lower than the preset expression score; according to the preset comprehensive score and the adjusted preset synthesis Score, determine the comprehensive score corresponding to the target question data.
  • the question and answer data processing device 400 further includes: a total score update module 414;
  • the total score update module 414 is used to determine the target answer score corresponding to the user answer data according to the preset answer score determination method; determine the corresponding target comprehensive score according to the target answer score and the target facial expression score; according to the target The integrated score corresponds to the update of the existing total score of answering questions; when the updated total score of answering questions meets the preset stop condition, the current question and answer process is stopped and corresponding prompt information is sent to the terminal.
  • Each module in the above question and answer data processing device may be implemented in whole or in part by software, hardware, or a combination thereof.
  • the above modules may be embedded in the hardware or independent of the processor in the computer device, or may be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device in one of the embodiments, the computer device may be a server, and the internal structure diagram thereof may be as shown in FIG. 6.
  • the computer device includes a processor, memory, network interface, and database connected by a system bus.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system, computer-readable instructions, and a database.
  • the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium.
  • the database of the computer device is used to store preset answers corresponding to current question data corresponding to user answer data and user answer images.
  • the network interface of the computer device is used to communicate with external terminals through a network connection.
  • the computer readable instructions are executed by the processor to implement a question and answer data processing method.
  • FIG. 6 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Include more or less components than shown in the figure, or combine certain components, or have a different arrangement of components.
  • a computer device includes a memory and one or more processors.
  • the memory stores computer-readable instructions.
  • the one or more processors implement any one of the applications The steps of the question and answer data processing method provided in the embodiments.
  • One or more non-volatile computer-readable storage media storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to implement any one of the embodiments of the present application The steps of the question and answer data processing method provided.
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM random access memory
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain (Synchlink) DRAM
  • RDRAM direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Abstract

A method for processing question-and-answer data, comprising: receiving user answer data and a user answer image sent by a terminal; determining, according to a preset determination method, whether the user answer data is correct; upon determining that the user answer data is correct, determining, according to a preset expression score determination method, a target expression score corresponding to the user answer image; determining target question data according to a preset question data determination method corresponding to the target expression score; and sending the target question data to the terminal for display.

Description

问答数据处理方法、装置、计算机设备和存储介质Question and answer data processing method, device, computer equipment and storage medium
本申请要求于2018年10月16日提交中国专利局,申请号为2018112354664,申请名称为“问答数据处理方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires priority to be submitted to the China Patent Office on October 16, 2018, with the application number 2018112354664, and the priority of the Chinese patent application titled "Question and Answer Data Processing Methods, Devices, Computer Equipment, and Storage Media." Incorporated in this application.
技术领域Technical field
本申请涉及一种问答数据处理方法、装置、计算机设备和存储介质。This application relates to a question and answer data processing method, device, computer equipment, and storage medium.
背景技术Background technique
传统信贷场景下的问答大多依赖于人工实现,随着人工智能技术的不断发展,逐渐出现了基于系统性人机交互的智能问答,由终端代替业务员向用户提问,降低了针对业务员的行业培训成本。Questions and answers in traditional credit scenarios mostly rely on manual implementation. With the continuous development of artificial intelligence technology, intelligent question and answer based on systematic human-computer interaction gradually emerges. Terminals instead of salespersons ask users questions, reducing the industry for salespersons. Training costs.
然而,发明人意识到,目前实现的智能问答的校验方式比较单一,通常是点对点的校验方式,即服务器通过判定用户答题数据的正确性对当前的智能问答进行校验。这样,可能导致校验的准确性低,从而降低智能问答的精准度,即针对智能问答过程中的问答数据,存在问答数据处理准确性低的问题。However, the inventor realized that the currently implemented smart question answering method is relatively simple, usually a point-to-point verification method, that is, the server verifies the current smart question answering by determining the correctness of the user's answer data. In this way, the accuracy of the verification may be low, thereby reducing the accuracy of intelligent question answering, that is, for the question answering data in the process of intelligent question answering, there is a problem of low accuracy of question and answer data processing.
发明内容Summary of the invention
根据本申请公开的各种实施例,提供一种问答数据处理方法、装置、计算机设备和存储介质。According to various embodiments disclosed in the present application, a question and answer data processing method, device, computer device, and storage medium are provided.
一种问答数据处理方法包括:A question and answer data processing method includes:
接收终端发送的用户答题数据和用户答题影像;Receive user answer data and user answer images sent by the terminal;
按照预设判定方式判定所述用户答题数据是否正确;Determine whether the user's answer data is correct according to a preset determination method;
当判定所述用户答题数据正确时,按照预设表情分值确定方式确定与所述用户答题影像对应的目标表情分值;When it is determined that the user answer data is correct, the target expression score corresponding to the user answer image is determined according to a preset expression score determination method;
根据所述目标表情分值对应的预设提问数据确定方式确定目标提问数据;及Determine the target question data according to the preset question data determination method corresponding to the target facial expression score; and
将所述目标提问数据发送至所述终端进行展示。Send the target question data to the terminal for display.
一种问答数据处理装置包括:A question and answer data processing device includes:
接收模块,用于接收终端发送的用户答题数据和用户答题影像;The receiving module is used to receive user answer data and user answer images sent by the terminal;
判定模块,用于按照预设判定方式判定所述用户答题数据是否正确;The determination module is used to determine whether the user answer data is correct according to a preset determination method;
分值确定模块,用于当判定所述用户答题数据正确时,按照预设表情分值确定方式确定与所述用户答题影像对应的目标表情分值;A score determination module, configured to determine a target expression score corresponding to the user answering image according to a preset expression score determination method when the user answer data is determined to be correct;
提问数据确定模块,用于根据所述目标表情分值对应的预设提问数据确定方式确定目 标提问数据;及A question data determination module, configured to determine target question data according to a preset question data determination method corresponding to the target expression score; and
发送模块,用于将所述目标提问数据发送至所述终端进行展示。The sending module is configured to send the target question data to the terminal for display.
一种计算机设备,包括存储器和一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器实现本申请任意一个实施例中提供的问答数据处理装置方法的步骤。A computer device includes a memory and one or more processors. The memory stores computer readable instructions. When the computer readable instructions are executed by the one or more processors, the one or more Each processor implements the steps of the question and answer data processing method provided in any embodiment of the present application.
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器实现本申请任意一个实施例中提供的问答数据处理装置方法的步骤。One or more non-volatile computer-readable storage media storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to implement any of the present application The steps of the question and answer data processing device method provided in an embodiment.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the drawings and description below. Other features and advantages of this application will become apparent from the description, drawings, and claims.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly explain the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. Those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.
图1为根据一个或多个实施例中问答数据处理方法的应用场景图。FIG. 1 is an application scenario diagram of a question and answer data processing method according to one or more embodiments.
图2为根据一个或多个实施例中问答数据处理方法的流程示意图。FIG. 2 is a schematic flowchart of a question and answer data processing method according to one or more embodiments.
图3为另一个实施例中问答数据处理方法的流程示意图。FIG. 3 is a schematic flowchart of a method for processing question and answer data in another embodiment.
图4为根据一个或多个实施例中问答数据处理装置的框图。4 is a block diagram of a question and answer data processing device according to one or more embodiments.
图5为另一个实施例中问答数据处理装置的框图。5 is a block diagram of a question and answer data processing device in another embodiment.
图6为根据一个或多个实施例中计算机设备的框图。Figure 6 is a block diagram of a computer device in accordance with one or more embodiments.
具体实施方式detailed description
为了使本申请的技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the technical solutions and advantages of the present application more clear, the following describes the present application in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
本申请提供的问答数据处理方法,可以应用于如图1所示的应用环境中。终端102通过网络与服务器104通过网络进行通信。服务器104接收终端102发送的用户答题数据和用户答题影像,当按照预设判定方式判定用户答题数据正确时,确定用户答题影像所对应的目标表情分值,根据目标表情分值所对应的预设提问数据确定方式确定相应的目标提问数据,并将所确定的目标提问数据发送至终端102进行展示。终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The question and answer data processing method provided by this application can be applied to the application environment shown in FIG. 1. The terminal 102 communicates with the server 104 through the network through the network. The server 104 receives the user answer data and the user answer image sent by the terminal 102, and when the user answer data is determined to be correct according to the preset determination method, determines the target facial expression score corresponding to the user answer image, according to the preset corresponding to the target facial expression score The question data determination method determines the corresponding target question data, and sends the determined target question data to the terminal 102 for display. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server 104 may be implemented by an independent server or a server cluster composed of multiple servers.
在其中一个实施例中,如图2所示,提供了一种问答数据处理方法,以该方法应用于 图1中的服务器为例进行说明,包括以下步骤:In one of the embodiments, as shown in FIG. 2, a method for processing question and answer data is provided. Taking the method applied to the server in FIG. 1 as an example for illustration, it includes the following steps:
S202,接收终端发送的用户答题数据和用户答题影像。S202: Receive user answer data and user answer images sent by the terminal.
用户答题数据是用户针对当前提问数据对应反馈的答题数据。用户答题数据具体可以是用户在终端手动录入的文本数据,也可以是用户回答当前提问数据时终端对应采集到的语音信息。用户答题影像是在用户针对当前提问数据对应反馈答题数据时对应采集到的影像信息。用户答题数据具体可以是用户答题过程中对应采集到的影像信息,比如用户针对当前提问数据在终端手动录入文本数据时采集到的影像信息,或者用户回答当前提问数据时对应采集到的影像信息。影像信息具体可以是由影像采集器采集到的以图像或视频等形式存在的信息。用户答题影像可包括但不限于是用户答题图像和用户答题视频。用户答题图像比如用户答题时对应采集到的包括用户人脸图像的图像。用户答题视频比如用户答题过程中对应采集到的视频,即用户进行答题操作过程中采集到的视频。影像采集器可以是摄像头,摄像头可以是配置于终端的摄像头,也可以是与终端点对点连接的独立部件。用户答题数据与用户答题影像对应。The user answer data is the user's answer data corresponding to the current question data. The user answer data may specifically be text data manually entered by the user on the terminal, or voice information collected by the terminal when the user answers the current question data. The user answering video is the image information correspondingly collected when the user responds to the current question data corresponding to the answer data. The user answer data may specifically be image information collected during the user answering process, for example, image information collected when the user manually inputs text data on the terminal for the current question data, or image information correspondingly collected when the user answers the current question data. The image information may specifically be information in the form of images or videos collected by the image collector. User answering images may include but are not limited to user answering images and user answering videos. The user answering image is, for example, an image corresponding to the user's face image collected when the user answers the question. The user answering video is, for example, the video collected during the user answering process, that is, the video collected during the user answering operation. The image collector may be a camera, and the camera may be a camera configured on the terminal, or may be an independent component connected point-to-point with the terminal. The user answer data corresponds to the user answer image.
当前提问数据是当前的提问数据,即当前问答数据处理过程所对应的提问数据。当前提问数据具体可以是指离当前时间最近的提问数据,也即最新的提问数据。提问数据是指向用户提问时的题目数据。提问数据具体可以是通过显示屏进行展示的文本数据,也可以是通过语音播报的方式展示的语音信息。当前提问数据与终端当前反馈的用户答题数据和用户答题影像想对应。The current question data is the current question data, that is, the question data corresponding to the current question and answer data processing process. The current question data may specifically refer to the question data that is closest to the current time, that is, the latest question data. Question data refers to the question data when the user asks a question. The question data may specifically be text data displayed through the display screen, or voice information displayed through voice broadcast. The current question data corresponds to the user answer data and the user answer image currently fed back by the terminal.
具体地,服务器接收终端通过无线网络或有线网络发送的用户答题数据和用户答题影像。该用户答题数据和用户答题影像与当前提问数据对应。终端接收到服务器发送的当前提问数据时,通过语音播报或显示屏显示的方式向用户展示所接收到的当前提问数据,并实时检测用户针对该当前提问数据对应反馈用户答题数据。终端获取与该用户答题数据对应的用户答题影像,并将所获取到的用户答题影像和相应的用户答题数据发送至服务器。Specifically, the server receives user answer data and user answer images sent by the terminal through a wireless network or a wired network. The user answer data and the user answer image correspond to the current question data. When the terminal receives the current question data sent by the server, it displays the received current question data to the user through voice broadcast or display screen display, and detects in real time that the user responds to the user's answer data corresponding to the current question data. The terminal obtains the user answering image corresponding to the user answering data, and sends the acquired user answering image and the corresponding user answering data to the server.
在其中一个实施例中,服务器接收问答指令,根据所接收到的问答指令获取相应的当前提问数据,将所获取到的当前提问数据发送至终端。服务器根据问答指令从预存储的预设题库中选择当前提问数据。服务器也可根据问答指令从预存储的提问素材集中获取相应的提问素材,根据所获取到的提问素材生成相应的当前提问数据。预设题库是由多个提问数据组成的提问数据集。提问素材集是由多个提问素材组成的素材集合。提问素材比如身份证号、籍贯、现居地等。In one of the embodiments, the server receives the question and answer instruction, obtains the corresponding current question data according to the received question and answer instruction, and sends the acquired current question data to the terminal. The server selects the current question data from the pre-stored preset question bank according to the question and answer instruction. The server may also obtain the corresponding question material from the pre-stored question material set according to the question and answer instruction, and generate corresponding current question data according to the acquired question material. The preset question bank is a question data set composed of multiple question data. The question material set is a material collection composed of multiple question materials. Question materials such as ID card number, nationality, current residence, etc.
在其中一个实施例中,终端向用户展示当前提问数据时,实时检测用户针对当前提问数据的答题操作,根据所检测到的答题操作获取相应的用户答题数据。答题操作比如用户在终端的录入操作,或用户口述答题数据时产生的语音信息。In one of the embodiments, when the terminal presents the current question data to the user, the user's answer operation on the current question data is detected in real time, and the corresponding user answer data is obtained according to the detected answer operation. Answering operations such as user input operations on the terminal, or voice information generated when the user dictates answering data.
S204,按照预设判定方式判定用户答题数据是否正确。S204: Determine whether the user answer data is correct according to a preset judgment method.
预设判定方式是预先设定的判定用户答题数据是否正确的方式。预设判定方式是用于判定用户答题数据是否正确的依据。预设判定方式可以是将所接收到的用户答题数据与预 存储的预设答案进行比较,根据比较结果对应判定用户答题数据是否正确,即对应判定用户答题数据的正确性。预设答案是预设设定的正确答案或标准答案。The preset determination method is a preset method for determining whether the user answer data is correct. The preset judgment mode is the basis for judging whether the user answer data is correct. The preset determination method may be to compare the received user answer data with the pre-stored preset answers, and determine whether the user answer data is correct according to the comparison result, that is, determine the correctness of the user answer data. The preset answer is the preset correct answer or standard answer.
具体地,服务器根据与用户答题数据对应的当前提问数据对应查询预存储的预设答案,将所查询到的预设答案与所接收到的用户答题数据进行匹配,并根据匹配结果对应判定用户答题数据是否正确。当匹配成功时,服务器则判定用户答题数据正确;当匹配失败时,则判定用户答题数据错误。服务器可计算预设答案与相应用户答题数据之间的匹配率。当计算的匹配率达到预设匹配率阈值时,服务器则判定该用户答题数据与相应预设答案匹配成功。Specifically, the server queries the pre-stored preset answers corresponding to the current question data corresponding to the user answer data, matches the queried preset answer with the received user answer data, and determines the user answer according to the matching result Is the data correct? When the matching is successful, the server judges that the user answer data is correct; when the matching fails, it determines that the user answer data is wrong. The server can calculate the matching rate between the preset answer and the corresponding user answer data. When the calculated matching rate reaches the preset matching rate threshold, the server determines that the user answer data matches the corresponding preset answer successfully.
在其中一个实施例中,当用户答题数据为文本数据时,服务器将所接收的文本数据与对应查询到的预设答案进行匹配,进而确定该文本数据的正确性。在其中一个实施例中,当用户答题数据语音信息时,服务器对该语音信息进行语音识别获得相应的语音文本内容,将识别出的语音文本内容与相应的预设答案进行匹配,以确定该语音文本内容的正确性,进而确定相应语音信息的正确性。In one of the embodiments, when the user answer data is text data, the server matches the received text data with the corresponding preset query, and then determines the correctness of the text data. In one embodiment, when the user answers the data voice information, the server performs voice recognition on the voice information to obtain corresponding voice text content, and matches the recognized voice text content with the corresponding preset answer to determine the voice The correctness of the text content, and then determine the correctness of the corresponding voice information.
S206,当判定用户答题数据正确时,按照预设表情分值确定方式确定与用户答题影像对应的目标表情分值。S206, when it is determined that the user answer data is correct, the target expression score corresponding to the user answer image is determined according to the preset expression score determination method.
预设表情分值确定方式是预先设定的用于根据用户答题影像对应确定目标表情分值的方式。预设表情确定方式具体可以是从用户答题影像中提取相应的用户微表情,借助于微表情识别技术根据提取到的用户微表情确定与用户答题影像对应的目标表情分值。目标表情分值是根据与用户答题数据对应的用户答题影像对应确定的用户表情分值。目标表情分值具体可以是根据用户答题影像所包含的用户微表情对应确定的用户表情分值。目标表情分值可用于表征用户实际知晓当前提问数据所对应的正确答案的可能性大小。目标表情分值越高表明用户实际知晓正确答案的可能性越大。换而言之,目标表情分值可以是根据用户微表情确定的、用户实际知晓当前提问数据所对应的正确答案的可能性大小。目标表情分值可用于判定用户在回答当前提问数据时,是因为实际知晓正确答案而做出的回答,还是因为实际不知晓正确答案凭借猜测而做出的回答。目标表情分值可以是指用户微表情所对应的分数,比如80分。目标表情分值也可以是指用户微表情所对应的百分数,比如80%。目标表情分值为80%可以是指用户实际知晓正确答案的可能性为80%。The preset method for determining the facial expression score is a preset method for determining the target facial expression score corresponding to the user answering image. The preset expression determination method may specifically include extracting corresponding user micro-expressions from the user answering images, and determining a target expression score corresponding to the user answering images according to the extracted user micro-expressions by means of micro-expression recognition technology. The target facial expression score is the user facial expression score determined according to the user answer image corresponding to the user answer data. The target expression score may specifically be a user expression score determined according to the user's micro-expression contained in the user answering image. The target facial expression score can be used to characterize the likelihood that the user actually knows the correct answer corresponding to the current question data. The higher the target expression score, the greater the possibility that the user actually knows the correct answer. In other words, the target facial expression score may be determined according to the user's micro-expression, and the user actually knows the likelihood of the correct answer corresponding to the current question data. The target expression score can be used to determine whether the user answered the current question data because he actually knew the correct answer, or because he did not actually know the correct answer by guessing. The target expression score may refer to the score corresponding to the user's micro-expression, such as 80 points. The target expression score may also refer to the percentage corresponding to the user's micro-expression, such as 80%. The target expression score of 80% may refer to the possibility that the user actually knows the correct answer is 80%.
用户微表情(micro-expression)是人类的非常短暂的不能自主控制的面部表情,是一种持续时间仅为1/25秒至1/5秒的非常快速的表情。用户微表情是不能人为隐藏或者伪装的,能够反映出人的真实情感的面部表情。根据用户微表情可对应确定用户在回答问题时是直截了当,还是存在迟疑等。The user's micro-expression is a very short facial expression that cannot be controlled autonomously by humans. It is a very fast expression with a duration of only 1/25 second to 1/5 second. The user's micro-expressions cannot be hidden or disguised artificially, and can reflect the facial expressions of people's true emotions. According to the user's micro-expressions, it can be determined whether the user is straightforward or hesitant when answering the question.
具体地,当判定用户答题数据正确时,服务器从与该用户答题数据对应的用户答题影像中提取相应的用户微表情,并借助于微表情识别技术,根据所提取到的用户微表情确定与用户答题影像对应的目标表情分值。服务器将用户答题影像输入已训练好的微表情识别模型进行预测,获得相应的用户微表情。服务器将预测获得的用户微表情输入已训练的表 情分值预测模型进行预测,获得相应的目标表情分值,也即获得与用户答题影像对应的目标表情分值。Specifically, when it is determined that the user answer data is correct, the server extracts the corresponding user micro-expression from the user answer image corresponding to the user answer data, and uses the micro-expression recognition technology to determine the user's micro-expression according to the extracted user micro-expression The target expression score corresponding to the answer image. The server inputs the user answering image into the trained micro-expression recognition model for prediction, and obtains corresponding user micro-expressions. The server inputs the predicted micro-expression of the user into the trained expression score prediction model for prediction, and obtains the corresponding target expression score, that is, the target expression score corresponding to the user answering image.
在其中一个实施例中,当判定用户答题数据正确时,服务器将相应的用户答题影像输入已训练的预测模型进行预测,获得相应的目标标签分值。In one of the embodiments, when it is determined that the user answer data is correct, the server inputs the corresponding user answer image into the trained prediction model for prediction, and obtains the corresponding target label score.
S208,根据目标表情分值对应的预设提问数据确定方式确定目标提问数据。S208: Determine target question data according to a preset question data determination method corresponding to the target facial expression score.
目标提问数据是下一次向用户发起提问时的提问数据。目标提问数据是指继当前提问数据之后的又一题目数据。目标提问数据具体可以是可通过显示屏进行展示的文本数据,也可以是可通过语音播报的方式展示的语音信息。预设提问数据确定方式是预先设定的用于根据目标表情分值确定相应目标提问数据的方式。预设提问数据确定方式与目标表情分值相对应。预设提问数据确定方式具体可以是从预设题库中随机选择目标提问数据,也可以是根据当前提问数据确定相应的目标提问数据。The target question data is the question data the next time a question is initiated to the user. Target question data refers to another question data after the current question data. The target question data may specifically be text data that can be displayed through the display screen, or voice information that can be displayed through voice broadcast. The preset question data determination method is a preset method for determining the corresponding target question data according to the target expression score. The preset question data determination method corresponds to the target expression score. The method for determining the preset question data may specifically be to randomly select target question data from the preset question bank, or determine the corresponding target question data according to the current question data.
具体地,服务器根据所确定的目标表情分值确定相应的预设提问数据确定方式,并根据所确定的预设提问数据确定方式确定相应的目标提问数据。服务器中预存储有目标表情分值与预设提问数据确定方式之间的对应关系。服务器根据目标表情分值对应查询该目标表情分值与相应预设提问数据确定方式之间的对应关系,并根据所查询到的对应关系确定与该目标表情分值对应的预设提问数据确定方式。服务器可按照预设提问数据确定方式从预存储的预设题库中选择预设类型的目标提问数据。服务器也可按照预设提问数据确定方式,根据当前提问数据和已构建的知识图谱确定与当前提问数据相关的目标提问数据。Specifically, the server determines the corresponding preset question data determination method according to the determined target expression score, and determines the corresponding target question data according to the determined preset question data determination method. The server pre-stores the correspondence between the target expression score and the preset question data determination method. The server queries the correspondence between the target facial expression score and the corresponding preset question data determination method according to the target facial expression score, and determines the preset question data determination method corresponding to the target facial expression score according to the queried correspondence . The server may select target question data of a preset type from the pre-stored preset question bank according to the way of determining the preset question data. The server may also determine the target question data related to the current question data according to the preset question data determination method, based on the current question data and the constructed knowledge graph.
在其中一个实施例中,服务器中预存储有预设表情分值区间与预设提问数据确定方式之间的对应关系。服务器将目标表情分值与预存储的预设表情分值区间进行匹配,将匹配成功的预设表情分值区间所对应的预设提问数据确定方式,确定为与该目标表情分值对应的预设提问数据确定方式。服务器将目标表情分值分别与预设表情分值区间中的各个表情分值进行匹配,以确定该目标表情分值是否落入该预设表情分值区间内,从而确定目标表情分值与预设表情分值区间之间的匹配结果。In one embodiment, the server pre-stores the correspondence between the preset expression score interval and the preset question data determination method. The server matches the target expression score with the pre-stored preset expression score interval, and determines the preset question data determination method corresponding to the preset expression score interval that matches successfully as the pre-correspondence corresponding to the target expression score Set the question data determination method. The server matches the target expression score with each expression score in the preset expression score interval to determine whether the target expression score falls within the preset expression score interval, thereby determining the target expression score and Set the matching results between expression score intervals.
在其中一个实施例中,服务器可从预设题库中选择目标提问数据。服务器也可从预存储的提问素材集中获取相应的提问素材,并根据所获取到的提问素材生成相应的目标提问数据。目标提问数据与当前提问数据可以相关也可以不相关。目标提问数据与当前提问数据各自对应的题目类型可以相同也可以不同。目标提问数据所对应的题目类型具体可根据当前提问数据所对应的题目类型、目标表情分值和相应的预设提问数据确定方式对应确定。In one embodiment, the server may select target question data from a preset question bank. The server may also obtain corresponding question materials from the pre-stored question material sets, and generate corresponding target question data according to the obtained question materials. The target question data may or may not be related to the current question data. The question types corresponding to the target question data and the current question data may be the same or different. The question type corresponding to the target question data can be determined according to the question type corresponding to the current question data, the target expression score, and the corresponding preset question data determination method.
S210,将目标提问数据发送至终端进行展示。S210: Send target question data to the terminal for display.
具体地,服务器按照目标表情分值所对应的预设提问数据确定方式确定相应的目标提问数据后,将所确定的目标提问数据发送至终端。终端将所接收到的目标提问数据通过显示屏显示或语音播报的方式展示给相应用户。Specifically, after determining the corresponding target question data according to the preset question data determination method corresponding to the target facial expression score, the server sends the determined target question data to the terminal. The terminal displays the received target question data to the corresponding user through display screen display or voice broadcast.
在其中一个实施例中,终端通过语音播报或显示屏显示的方式向用户展示所接收到 的目标提问数据时,实时检测用户针对该目标提问数据对应反馈用户答题数据,并将所检测到的用户答题数据发送至服务器,以使得服务器根据所接收到的用户答题数据继续执行上述问答数据处理方法的相关步骤。In one of the embodiments, when the terminal presents the received target question data to the user through voice announcement or display screen display, the user is detected in real-time to respond to the target question data corresponding to the user's answer data, and the detected user The answer data is sent to the server, so that the server continues to perform the relevant steps of the above question and answer data processing method according to the received user answer data.
上述问答数据处理方法,接收终端针对当前提问数据对应反馈的用户答题数据和用户答题影像,判定用户答题数据的正确性,并根据用户答题数据的正确性执行相应的步骤,提高了问答数据的处理效率。当判定用户答题数据正确时,确定用户答题影像所对应的目标表情分值,根据目标表情分值对应确定下一次提问时的目标提问数据,并将所确定的目标提问数据发送至终端进行展示,以通过终端发起下一次问答流程。这样,结合用户答题数据和用户答题影像对应确定下一次问答流程所对应的目标问答数据,提高了针对当前问答流程中的问答数据的处理准确性。In the above Q & A data processing method, the receiving terminal determines the correctness of the user ’s answer data according to the user ’s answer data and the user ’s answer image corresponding to the current question data, and executes the corresponding steps according to the correctness of the user ’s answer data to improve the processing of the Q & A data effectiveness. When it is determined that the user's answer data is correct, determine the target facial expression score corresponding to the user's answer image, determine the target question data for the next question according to the target facial expression score, and send the determined target question data to the terminal for display, In order to initiate the next question and answer process through the terminal. In this way, the target question answering data corresponding to the next question answering process is determined by combining the user answering data and the user answering image correspondence, thereby improving the processing accuracy of the question answering data in the current question answering process.
在其中一个实施例中,用户答题影像包括用户答题图像;步骤S206包括:当判定用户答题数据正确时,根据用户答题影像对应获取用户答题图像;将用户答题图像输入预先训练好的微表情识别模型进行预测,获得相应的用户微表情;将用户微表情输入预先训练好的表情分值预测模型进行预测,获得目标表情分值。In one of the embodiments, the user answering image includes the user answering image; step S206 includes: when it is determined that the user answering data is correct, correspondingly acquiring the user answering image according to the user answering image; inputting the user answering image into a pre-trained micro-expression recognition model Make predictions to obtain corresponding user micro-expressions; enter user micro-expressions into a pre-trained expression score prediction model for prediction to obtain target expression scores.
用户答题图像是指在用户答题时对应采集到的包括用户人脸图像的图像。用户人脸图像是指包含有用户人脸的图像。用户人脸图像具体可以是在用户进行答题操作时所采集到的用户头像照片或用户大头照。微表情识别模型是根据预先获取的训练样本集进行模型训练获得的、能够用于根据已知的用户答题图像预测未知的用户微表情的模型。表情分值预测模型是根据预先获取的训练样本集进行模型训练获得的、能够用于根据已知的用户微表情预测未知的目标表情分值的模型。The user answering image refers to an image including the user's face image correspondingly collected when the user answers the question. The user's face image refers to an image containing the user's face. The user's face image may specifically be the user's avatar photo or the user's headshot collected during the user's answering operation. The micro-expression recognition model is a model obtained by training the model based on the pre-acquired training sample set, and can be used to predict the micro-expression of an unknown user based on a known user answer image. The expression score prediction model is a model obtained by training the model based on the pre-acquired training sample set and can be used to predict unknown target expression scores based on known user micro-expressions.
具体地,当判定用户答题数据正确时,服务器从与该用户答题数据对应的用户答题影像中获取相应的用户答题图像。服务器将所获取到的用户答题图像作为输入特征输入预先训练好的微表情识别模型中,通过该微表情识别模型对所输入的用户答题图像进行预测,获得相应的用户微表情。服务器将微表情识别模型预测获得的用户微表情输入预先训练好的表情分值预测模型,通过该表情分值预测模型对该用户微表情进行预测,获得相应的目标表情分值。Specifically, when it is determined that the user answer data is correct, the server acquires the corresponding user answer image from the user answer image corresponding to the user answer data. The server inputs the acquired user answer images as input features into a pre-trained micro expression recognition model, and predicts the input user answer images through the micro expression recognition model to obtain corresponding user micro expressions. The server inputs the user's micro-expressions predicted by the micro-expression recognition model into the pre-trained expression score prediction model, and predicts the user's micro-expressions through the expression score prediction model to obtain the corresponding target expression score.
在其中一个实施例中,服务器获取第一训练样本集,该第一训练样本集包括目标用户答题图像和该目标用户答题图像所对应的目标用户微表情。目标用户答题图像有多个,每个目标用户答题图像对应有相应的目标用户微表情。服务器将该第一训练样本集中的每个用户答题图像分别作为输入特征,将相应的目标用户微表情分别作为期望的输出特征,对初始化的微表情识别模型进行训练,获得已训练的微表情识别模型。服务器可获取多个目标用户答题影像,并分别从每个目标用户答题影像中获取相应的目标用户答题图像。In one of the embodiments, the server obtains a first training sample set, the first training sample set includes a target user answer image and a target user micro-expression corresponding to the target user answer image. There are multiple target user answer images, and each target user answer image corresponds to a corresponding target user micro-expression. The server uses each user answer image in the first training sample set as the input feature, and the corresponding target user's micro expressions as the desired output features, and trains the initial micro expression recognition model to obtain the trained micro expression recognition model. The server can obtain multiple target user answer images, and obtain corresponding target user answer images from each target user answer image.
在其中一个实施例中,服务器获取第二训练样本集,第二训练样本集包括目标用户微表情和该目标用户微表情所对应的目标表情分值。目标用户微表情有多个,每个目标用户微表情对应有相应的目标表情分值。服务器将第二训练样本集中的每个目标用户微表情分 别作为输入特征,将相应的目标表情分值分别作为期望的输出特征,对初始化的表情分值预测模型进行训练,获得已训练的表情分值预测模型。服务器可获取多个目标用户答题图像,通过已训练的微表情识别模型分别从每个目标用户答题图像中提取相应的目标用户微表情。In one of the embodiments, the server obtains a second training sample set, where the second training sample set includes the target user's micro expression and the target expression score corresponding to the target user's micro expression. There are multiple target user micro expressions, and each target user micro expression corresponds to a corresponding target expression score. The server takes each target user's micro-expressions in the second training sample set as input features, and the corresponding target expression scores as the desired output features, respectively, and trains the initialized expression score prediction model to obtain the trained expression scores Value prediction model. The server can obtain multiple target user answer images, and extract the corresponding target user micro expressions from each target user answer image through the trained micro expression recognition model.
在其中一个实施例中,用户答题影像包括多帧用户答题图像。当判定用户答题数据正确时,服务器从用户答题影像中获取相应的多帧用户答题图像。服务器将每帧用户答题图像分别输入已训练的微表情识别模型进行预测,获得相应的用户微表情,并将预测获得的各用户微表情分别输入已训练的表情分值预测模型进行预测,获得相应的表情分值。服务器根据每帧用户答题图像所对应的表情分值,对应确定相应用户答题影像所对应的目标表情分值。比如,服务器可对每帧用户答题图像对应的表情分值进行加权求值,获得相应的目标表情分值。In one of the embodiments, the user answering video includes multiple frames of user answering images. When it is determined that the user answer data is correct, the server obtains corresponding multi-frame user answer images from the user answer images. The server inputs each frame of user answer images to the trained micro-expression recognition model for prediction to obtain corresponding user micro-expressions, and enters the predicted user micro-expressions into the trained expression score prediction model for prediction to obtain corresponding Emoji score. The server correspondingly determines the target expression score corresponding to the corresponding user answer image according to the expression score corresponding to each frame of the user answer image. For example, the server may perform weighted evaluation on the expression score corresponding to each frame of the user answering image to obtain the corresponding target expression score.
上述实施例中,借助于已训练的微表情识别模型和表情分值预测模型,根据用户答题影像所包括的用户答题图像获得相应的目标表情分值,提高了目标表情分值的预测效率和准确性,从而提高了问答数据处理效率和准确性。In the above embodiments, with the aid of the trained micro-expression recognition model and expression score prediction model, the corresponding target expression score is obtained according to the user answer image included in the user answer image, which improves the prediction efficiency and accuracy of the target expression score To improve the efficiency and accuracy of question and answer data processing.
在其中一个实施例中,用户答题影像包括用户答题视频;步骤S206包括:当判定用户答题数据正确时,根据用户答题影像对应获取用户答题视频;按照预设提取方式从用户答题视频中提取预设数量的视频帧;分别确定每个视频帧对应的表情分值;根据各表情分值对应确定与用户答题影像对应的目标表情分值。In one of the embodiments, the user answering image includes the user answering video; step S206 includes: when it is determined that the user answering data is correct, correspondingly obtaining the user answering video according to the user answering image; extracting the preset from the user answering video according to the preset extraction method Number of video frames; separately determine the expression score corresponding to each video frame; according to each expression score, determine the target expression score corresponding to the user answering image.
用户答题视频是指在用户答题过程中对应采集到的视频,即用户进行答题操作过程中采集到的视频。视频帧是用户答题视频的基本组成单位。一个视频帧对应视频中的一个静态画面,多个视频帧组成视频。预设数量是预先设定的数值,可以根据实际情况自定义,比如3。预设提取方式是预先设定的从用户答题视频中提取预设数量视频帧的方式。预设提取方式用于指示服务器如何从用户答题视频中获取预设数量的视频帧。预设提取方式可以是从用户答题视频中获取预设数量的连续视频帧,也可以是按照预设步长从用户答题视频中获取预设数量的视频帧。The user answering video refers to the correspondingly collected video during the user's answering process, that is, the video collected during the user's answering operation. Video frames are the basic unit of video for users to answer questions. One video frame corresponds to one static picture in the video, and multiple video frames make up the video. The preset number is a preset value, which can be customized according to the actual situation, such as 3. The preset extraction method is a preset method for extracting a preset number of video frames from the user answer video. The preset extraction method is used to instruct the server how to obtain a preset number of video frames from the user answer video. The preset extraction method may be to obtain a preset number of consecutive video frames from the user answering video, or to obtain a preset number of video frames from the user answering video according to a preset step.
具体地,当判定用户答题数据正确时,服务器从与该用户答题数据对应的用户答题影像中获取相应的用户答题视频。服务器按照预设提取方式从所获取到的用户答题视频中提取预设数量的视频帧,并借助于已训练的微表情识别模型和表情分值预测模型,按照上述方式分别对每个视频帧进行预测,获得每个视频帧所对应的表情分值。服务器根据预设数量的视频帧各自对应的表情分值,对应确定与相应用户答题影像对应的目标表情分值。服务器可将各视频帧所对应的表情分值进行加权求值,获得相应的目标表情分值。服务器也可将各视频帧所对应的表情分值作为输入特征,输入预先训练好的分值预测模型进行预测,获得相应的目标表情分值。Specifically, when it is determined that the user answer data is correct, the server acquires the corresponding user answer video from the user answer image corresponding to the user answer data. The server extracts a preset number of video frames from the obtained user answer video according to the preset extraction method, and uses the trained micro-expression recognition model and expression score prediction model to perform each video frame separately in the above manner Predict, get the expression score corresponding to each video frame. The server determines the target expression score corresponding to the corresponding user answering image according to the corresponding expression scores of the preset number of video frames. The server may perform weighted evaluation on the expression score corresponding to each video frame to obtain the corresponding target expression score. The server may also use the expression score corresponding to each video frame as an input feature, input a pre-trained score prediction model for prediction, and obtain a corresponding target expression score.
在其中一个实施例中,服务器从用户答题视频中获取预设数量的连续视频帧。在其中一个实施例中,服务器按照预设步长从用户答题视频中获取预设数量的视频帧。所获取的 预设数量的视频帧中任一相邻两个视频帧之间的间隔均为预设步长。预设步长是指获取相邻两个视频帧的间隔。预设步长具体可以是指定数量的视频帧,比如5帧。服务器在用户答题视频中每隔指定数量的视频帧获取一个视频帧,直至获取到预设数量的视频帧时停止获取。In one of the embodiments, the server obtains a preset number of consecutive video frames from the user answer video. In one of the embodiments, the server obtains a preset number of video frames from the user answer video according to a preset step. The interval between any two adjacent video frames in the preset number of acquired video frames is the preset step size. The preset step size refers to the interval between two adjacent video frames. The preset step size may specifically be a specified number of video frames, such as 5 frames. The server acquires a video frame every specified number of video frames in the user answer video, and stops acquiring until a preset number of video frames are acquired.
上述实施例中,服务器从用户答题视频中提取预设数量视频帧,综合该预设数量视频帧各自对应的表情分值确定相应目标表情分值,提高了目标表情分值的准确性,从而提高了问答数据处理的准确性。In the above embodiment, the server extracts a preset number of video frames from the user answering video, and integrates the corresponding expression scores of the preset number of video frames to determine the corresponding target expression score, which improves the accuracy of the target expression score, thereby improving The accuracy of question and answer data processing.
在其中一个实施例中,步骤S208包括:将目标表情分值与预设表情分值进行比较;当目标表情分值达到预设表情分值时,从预设题库中选取预设题目类型的目标提问数据。In one of the embodiments, step S208 includes: comparing the target expression score with the preset expression score; when the target expression score reaches the preset expression score, selecting the target of the preset topic type from the preset question bank Ask the data.
预设表情分值是预先设定的表情分值阈值,比如86分,或者86%。预设表情分值是根据目标表情分值确定相应预设提问数据确定方式的依据。预设题目类型是预先设定的题目类型。题目类型是指提问数据所对应的类型,比如身份类型、地址类型。身份类型的提问数据比如“请问你的身份证号码后六位数字是多少”,地址类型的提问数据比如“请问你当前的居住地址是哪里”。The preset expression score is a preset expression score threshold, such as 86 points, or 86%. The preset expression score is the basis for determining the corresponding preset question data determination method according to the target expression score. The preset question type is a preset question type. The question type refers to the type corresponding to the question data, such as identity type and address type. Identity type question data such as "What is the last six digits of your ID number?" Address type question data such as "What is your current residential address"
具体地,服务器将所确定的目标表情分值与预设表情分值进行比较。当目标表情分值达到预设表情分值时,表明用户在答题过程中的表情是正常的,即表明根据用户答题影像可判定用户实际知晓当前提问数据的正确答案,进一步验证了相应用户答题数据的正确性,服务器从预存储的预设题库中选取预设题目类型的目标提问数据。Specifically, the server compares the determined target facial expression score with the preset facial expression score. When the target expression score reaches the preset expression score, it indicates that the user's expression during the answering process is normal, which means that the user can determine that the user actually knows the correct answer to the current question data according to the user's answer image, which further verifies the corresponding user answer data Correctness, the server selects the target question data of the preset question type from the pre-stored preset question bank.
在其中一个实施例中,服务器本地预配置有与问答环节对应的一个或多个题目类型。对于预配置的多个题目类型,服务器本地预配置有该多个题目类型在相应的问答流程所对应的问答顺序,比如地址类型的提问数据之后为身份类型的提问数据。假设当前提问数据对应的题目类型为地址类型,在当前提问数据所对应的目标表情分值达到预设表情分值时,服务器按照预配置的问答顺序确定目标提问数据所对应的题目类型为身份类型。服务器则从预设题库中筛选身份类型的提问数据,并从筛选出的提问数据中选择目标提问数据。In one of the embodiments, the server is locally pre-configured with one or more question types corresponding to the question and answer session. For multiple pre-configured question types, the server is locally pre-configured with the question and answer sequence corresponding to the corresponding question and answer process for the multiple question types, such as the address type question data followed by the identity type question data. Assuming that the question type corresponding to the current question data is the address type, when the target expression score corresponding to the current question data reaches the preset expression score, the server determines that the question type corresponding to the target question data is the identity type according to the pre-configured question and answer sequence . The server filters the question data of the identity type from the preset question bank, and selects the target question data from the filtered question data.
在其中一个实施例中,目标提问数据所对应的预设题目类型,与当前提问数据所对应的题目类型不同。In one of the embodiments, the preset question type corresponding to the target question data is different from the question type corresponding to the current question data.
上述实施例中,当根据用户答题数据和用户答题影像均判定用户针对当前提问数据对应反馈的用户答题数据正确时,则选择其他预设题目类型的提问数据继续向用户提问,以减少提问数据数量,从而减少整个问答流程中的问答数据处理数量,进而提高问答数据处理效率。In the above embodiment, when the user answer data corresponding to the current question data is determined to be correct according to the user answer data and the user answer image, the question data of other preset question types is selected to continue to ask the user to reduce the number of question data , So as to reduce the number of question and answer data processing in the entire question and answer process, thereby improving the efficiency of question and answer data processing.
在其中一个实施例中,用户答题数据和用户答题影像与当前提问数据对应;步骤S208包括:将目标表情分值与预设表情分值进行比较;当目标表情分值低于预设表情分值时,根据当前提问数据按照预设选择方式,选择与当前提问数据对应的目标提问数据。In one of the embodiments, the user answer data and the user answer image correspond to the current question data; step S208 includes: comparing the target expression score with the preset expression score; when the target expression score is lower than the preset expression score At this time, the target question data corresponding to the current question data is selected according to the preset selection method according to the current question data.
预设选择方式是预先设定的用于根据当前提问数据选择目标提问数据的方式。预设选 择方式具体可以是从预设题库中选择与当前提问数据相关的目标提问数据,也可以是基于已构建的知识图谱选择相应的目标提问数据。按照预设选择方式选择的目标提问数据所对应的题目类型,与当前提问数据所对应的题目类型可以相同也可以不同。The preset selection method is a preset method for selecting target question data according to the current question data. The preset selection method may specifically be to select target question data related to the current question data from the preset question bank, or to select corresponding target question data based on the constructed knowledge graph. The question type corresponding to the target question data selected according to the preset selection method may be the same as or different from the question type corresponding to the current question data.
具体地,服务器将用户答题影像所对应的目标表情分值与预设表情分值进行比较。当目标表情分值低于预设表情分值时,服务器按照预设选择方式根据与用户答题数据和用户答题影像对应的当前提问数据,选择与该当前提问数据相关的目标提问数据。服务器可根据当前提问数据从预设题库中选择与该当前提问数据相关的目标提问数据。服务器也可根据当前提问数据从已构建的知识图谱中选择相关的目标提问数据。当前提问数据与对应确定的目标提问数据可对应有相同或相应的关键词,相同或相应的关键词比如相同或相近的某个地址。Specifically, the server compares the target facial expression score corresponding to the user answering image with the preset facial expression score. When the target expression score is lower than the preset expression score, the server selects the target question data related to the current question data according to the current question data corresponding to the user answer data and the user answer image according to the preset selection method. The server may select target question data related to the current question data from the preset question bank according to the current question data. The server may also select relevant target question data from the constructed knowledge graph according to the current question data. The current question data and the correspondingly determined target question data may correspond to the same or corresponding keywords, such as an address that is the same or similar.
在其中一个实施例中,当目标表情分值低于预设表情分值时,服务器根据当前提问数据所对应的用户答题数据,按照预设选择方式选择与该用户答题数据相关的目标提问数据。举例说明,假设当前提问数据为“请问你当前的居住地址是哪里”,对应接收到的用户答题数据为“我当前住在深圳市南山区科苑路28号”。当目标表情分值低于预设表情分值时,服务器可能会根据用户答题数据中的地址“深圳市南山区科苑路28号”选择相应的目标提问数据,比如“离深圳市南山区科苑路28号50米范围内有个招商银行,是吗”。In one embodiment, when the target expression score is lower than the preset expression score, the server selects target question data related to the user answer data according to the preset selection method according to the user answer data corresponding to the current question data. For example, suppose the current question data is "What is your current residential address", and the corresponding user answer data is "I currently live in No. 28 Keyuan Road, Nanshan District, Shenzhen". When the target expression score is lower than the preset expression score, the server may select the corresponding target question data according to the address "28 Keyuan Road, Nanshan District, Shenzhen" in the user answer data, for example, "From Shenzhen Nanshan Branch There is a China Merchants Bank within 50 meters of No. 28 Yuan Road, right? "
在其中一个实施例中,预设题库是预先配置到数据库中的题库。已构建的知识图谱是按照知识图谱构建方式预先构建的基于图的数据结构。知识图谱的构建可基于已知的知识图谱构建方式实现,在此不再赘述。In one of the embodiments, the preset question bank is a question bank pre-configured into the database. The constructed knowledge graph is a graph-based data structure constructed in advance according to the knowledge graph construction method. The construction of the knowledge graph can be realized based on a known way of constructing the knowledge graph, which will not be repeated here.
上述实施例中,当判定用户答题数据正确,而根据相应用户答题影像判定该用户答题数据的正确性存疑时,选择与当前提问数据相关的目标提问数据,以根据目标提问数据进一步确定该当前提问数据的正确性,从而验证当前进行答题操作的用户身份的可靠性,保证了问答数据处理的正确性。In the above embodiment, when it is determined that the user's answer data is correct, and the correctness of the user's answer data is determined based on the corresponding user's answer image, the target question data related to the current question data is selected to further determine the current question based on the target question data The accuracy of the data, thereby verifying the reliability of the identity of the user currently answering the question, and ensuring the correctness of the question and answer data processing.
在其中一个实施例中,用户答题数据和用户答题影像与当前提问数据对应;当前提问数据对应有预设综合分值;上述问答数据处理方法还包括:当目标表情分值低于预设表情分值时,按照预设分值调整方式动态调整预设综合分值;根据预设综合分值和调整后的预设综合分值,确定与目标提问数据对应的综合分值。In one of the embodiments, the user answer data and the user answer image correspond to the current question data; the current question data corresponds to a preset comprehensive score; the question and answer data processing method further includes: when the target expression score is lower than the preset expression score When the value is set, the preset comprehensive score is dynamically adjusted according to the preset score adjustment method; according to the preset comprehensive score and the adjusted preset comprehensive score, the comprehensive score corresponding to the target question data is determined.
预设综合分值是预先设定的与当前提问数据对应的综合分值。预设综合分值包括预设表情分值和预设答题分值。预设综合分值可理解为当前提问数据所对应的满分分值。预设答题分值可理解为用户答题数据所对应的满分分值,比如当用户针对当前提问数据反馈的用户答题数据与正确答案一致时,则将相应的目标答题数据确定为满分分值,即将预设答题分值确定为目标答题分值。类似地,预设表情分值可理解为用户答题影像所对应的满分分值。The preset comprehensive score is a preset comprehensive score corresponding to the current question data. The preset comprehensive score includes a preset expression score and a preset answer score. The preset comprehensive score can be understood as the full score corresponding to the current question data. The preset answer score can be understood as the full score corresponding to the user ’s answer data. For example, when the user ’s answer data for the current question data is consistent with the correct answer, the corresponding target answer data will be determined as the full score. The preset answer score is determined as the target answer score. Similarly, the preset expression score value can be understood as the full score value corresponding to the user answering image.
具体地,当目标表情分值低于预设表情分值时,服务器按照预设分值调整方式,动态 调整与用户答题数据和用户答题影像对应的当前提问数据所对应的预设综合分值。服务器根据调整后的预设综合分值和该当前提问数据所对应的预设综合分值,对应确定目标提问数据所对应的综合分值。当根据用户答题影像判定相应用户答题数据的正确性存疑时,服务器则将当前提问数据所对应的预设综合分值中的部分分值动态转移至目标提问数据。Specifically, when the target expression score is lower than the preset expression score, the server dynamically adjusts the preset comprehensive score corresponding to the current question data corresponding to the user answer data and the user answer image according to the preset score adjustment method. The server determines the comprehensive score corresponding to the target question data according to the adjusted preset comprehensive score and the preset comprehensive score corresponding to the current question data. When it is determined that the correctness of the corresponding user's answer data is in doubt based on the user's answer image, the server dynamically transfers a part of the preset comprehensive score corresponding to the current question data to the target question data.
在其中一个实施例中,预设综合分值包括预设表情分值和预设答题分值。当目标表情分值低于预设表情分值时,服务器将当前提问数据所对应的预设表情分值确定为与目标提问数据对应的综合分值。同时,服务器将当前提问数据所对应的预设答题分值确定为调整后的预设综合分值。服务器可根据当前提问数据所对应的预设综合分值中,预设表情分值和预设答题分值各自对应的分值占比,对应确定目标提问数据所对应的综合分值中的表情分值和答题分值。In one of the embodiments, the preset comprehensive score includes a preset expression score and a preset answer score. When the target expression score is lower than the preset expression score, the server determines the preset expression score corresponding to the current question data as the comprehensive score corresponding to the target question data. At the same time, the server determines the preset answer score corresponding to the current question data as the adjusted preset comprehensive score. The server may determine, according to the preset comprehensive score corresponding to the current question data, the percentage of the score corresponding to the preset expression score and the preset answer score, and correspondingly determine the expression score in the comprehensive score corresponding to the target question data Value and answer score.
在其中一个实施例中,当目标表情分值低于预设表情分值时,服务器根据用户答题数据确定相应的目标答题分值,并根据目标答题分值和目标表情分值确定相应的目标综合分值,进而将所确定的目标综合分值确定为与目标提问数据对应的综合分值。In one of the embodiments, when the target expression score is lower than the preset expression score, the server determines the corresponding target answer score according to the user answer data, and determines the corresponding target synthesis according to the target answer score and the target expression score Score, and then the determined target comprehensive score is determined as the comprehensive score corresponding to the target question data.
在其中一个实施例中,当目标表情分值低于预设表情分值时,服务器根据预设分值比和当前提问数据所对应的预设综合分值,分别确定当前提问数据和目标提问数据动态调整后各自对应的综合分值。举例说明,假设预设分值比为3:2,即执行动态调整步骤后,当前提问数据和目标提问数据各自对应的综合分值的比例为3:2。假设预设综合分值为50分,按照预设分值比对应确定的调整后的、与当前提问数据对应的预设综合分数为30分,目标提问数据所对应的综合分值为20分。In one of the embodiments, when the target expression score is lower than the preset expression score, the server determines the current question data and the target question data according to the preset score ratio and the preset comprehensive score corresponding to the current question data, respectively The corresponding comprehensive score after dynamic adjustment. For example, it is assumed that the preset score ratio is 3: 2, that is, after performing the dynamic adjustment step, the ratio of the comprehensive scores corresponding to the current question data and the target question data is 3: 2. Assuming that the preset comprehensive score is 50 points, the preset adjusted comprehensive score corresponding to the current question data corresponding to the adjusted adjusted score according to the preset score ratio is 30 points, and the comprehensive score corresponding to the target question data is 20 points.
在其中一个实施例中,服务器本地预配置有问答环节所涉及的提问数据数量,以及每个提问数据所对应的预设综合分值。In one of the embodiments, the server is locally pre-configured with the number of question data involved in the question and answer session and the preset comprehensive score corresponding to each question data.
在其中一个实施例中,服务器本地预配置有与问答环节对应的多个题目类型,以及每个题目类型所对应的预设综合分值。每个题目类型所对应的预设综合分值可以相同也可以不同。对于必答类的题目类型,可配置较高的预设综合分值,必答类的题目类型比如身份类。在问答环节,当首次选择某个题目类型的提问数据时,服务器将该题目类型所对应的预设综合分值,确定为针对该题目类型首次选择的提问数据所对应的预设综合分值。In one of the embodiments, the server is locally pre-configured with multiple question types corresponding to the question and answer session, and a preset comprehensive score corresponding to each question type. The preset comprehensive score corresponding to each topic type may be the same or different. For the types of questions in the compulsory answer category, a higher preset comprehensive score can be configured, and the types of questions in the compulsory answer category such as the identity category. In the question and answer session, when the question data of a certain question type is selected for the first time, the server determines the preset comprehensive score corresponding to the question type as the preset comprehensive score corresponding to the question data first selected for the question type.
上述实施例中,当根据用户答题影像判定相应用户答题数据的正确性存疑时,动态调整当前提问数据的预综合分值,并对应确定目标提问数据所对应的综合分值,以便于根据目标提问数据和当前提问数据各自对应的目标综合分值,确定该当前提问数据所对应的最终的目标综合分值,提高了目标综合分值准取性,从而提高了问答数据处理的准确性。In the above embodiment, when it is determined that the correctness of the corresponding user ’s answer data is doubtful according to the user ’s answer image, the pre-synthetic score of the current question data is dynamically adjusted, and the comprehensive score corresponding to the target question data is correspondingly determined to facilitate questioning according to the target The target comprehensive score corresponding to each of the data and the current question data determines the final target comprehensive score corresponding to the current question data, improves the accuracy of the target comprehensive score, and thus improves the accuracy of question and answer data processing.
在其中一个实施例中,步骤S208之前,上述问答数据处理方法还包括:按照预设答题分值确定方式,确定与用户答题数据对应的目标答题分值;根据目标答题分值与目标表情分值确定相应的目标综合分值;根据目标综合分值对应更新已有的答题总分值;当更新后的答题总分值符合预设停止条件时,停止当前问答流程,向终端发送相应的提示信息。In one of the embodiments, before step S208, the above question and answer data processing method further includes: determining a target answer question score corresponding to the user answer data according to a preset answer question score determination method; according to the target answer question score and the target expression score Determine the corresponding target comprehensive score; update the existing total answer score according to the target comprehensive score; when the updated total answer score meets the preset stop condition, stop the current question and answer process and send the corresponding prompt message to the terminal .
预设答题分值确定方式是预先确定的根据用户答题数据对应确定目标答题分值的方 式。预设答题分值确定方式可以是根据用户答题数据与相应预设答案之间的匹配率,以及当前提问数据所对应的预设答题分值确定相应的目标答题分值。比如,假设预设综合分值为50分,计算所得的匹配率为80%,则对应确定的目标答题分值为40分。预设答题分值确定方式也可以是将用户答题数据输入预先训练好的答题分值预测模型进行预测,获得相应的目标答题分值。The preset answer score determination method is a predetermined method to determine the target answer score according to the user answer data. The method for determining the preset answer score may be to determine the corresponding target answer score according to the matching rate between the user answer data and the corresponding preset answer, and the preset answer score corresponding to the current question data. For example, assuming that the preset comprehensive score is 50 points and the calculated matching rate is 80%, the corresponding target answer score is 40 points. The preset answer score determination method may also be to input user answer data into a pre-trained answer score prediction model for prediction to obtain a corresponding target answer score.
已有的答题总分值是指根据当前提问数据之前的一个或多个提问数据所对应的目标综合分值对应确定的总分值。该一个或多个提问数据所对应的目标综合分值,以及当前提问数据所对应的目标综合分值对应于同一用户标识。换而言之,当前提问数据和该当前提问数据之间的一个或多个提问数据所对应的目标综合分值,均是根据同一用户针对相应提问数据对应反馈的用户答题数据和用户答题影像对应确定的答题分值。答题总分值可以是根据多个提问数据各自对应的目标综合分值对应确定的总分值。答题总分值可以是对多个目标综合分值进行直接求和,或者加权求和获得的总分值。预设停止条件是预先设定的用于判定是否停止当前问答流程的依据。预设停止条件具体可以是更新后的答题总分值达到预设总分值阈值。The existing total score for answering questions refers to the total score determined according to the target comprehensive score corresponding to one or more question data before the current question data. The target comprehensive score corresponding to the one or more question data and the target comprehensive score corresponding to the current question data correspond to the same user ID. In other words, the target comprehensive scores corresponding to the current question data and the one or more question data between the current question data are based on the user answer data and the user answer images corresponding to the corresponding user's corresponding question data. Definite answer score. The total answer score may be a total score determined according to the target comprehensive score corresponding to each question data. The total score of the answer can be the direct summation of multiple target comprehensive scores, or the total score obtained by weighted summation. The preset stop condition is a preset basis for determining whether to stop the current question and answer process. The preset stop condition may specifically be that the updated total answer score reaches the preset total score threshold.
具体地,服务器按照预设答题分值确定方式,根据用户答题数据确定相应的目标答题分值,并将该目标答题分值和相应的目标表情分值进行求和获得相应的目标综合分值。服务器根据用户答题数据和用户答题影像所对应的用户标识,对应查询已有的答题总分值,并根据当前提问数据所对应的目标综合分值对应更新所查询到的答题总分值。服务器将更新后的答题总分值与预设总分值阈值进行比较。当更新后的答题总分值达到预设总分值阈值时,服务器停止当前问答流程,不再继续执行根据目标表情分值对应的预设提问数据确定方式确定目标提问数据的相关步骤。服务器根据更新后的答题总分值生成相应的提示信息,并发送至终端。Specifically, the server determines the corresponding target answer score according to the user answer data according to the preset answer score determination method, and sums the target answer score and the corresponding target facial expression score to obtain the corresponding target comprehensive score. The server queries the total score of the existing answers according to the user answer data and the user ID corresponding to the user's answer image, and correspondingly updates the query total score according to the target comprehensive score corresponding to the current question data. The server compares the updated total answer score with the preset total score threshold. When the updated total answer score reaches the preset total score threshold, the server stops the current question and answer process and does not continue to perform the relevant steps of determining the target question data according to the preset question data determination method corresponding to the target facial expression score. The server generates corresponding prompt information according to the updated total score of the answer and sends it to the terminal.
举例说明,假设当前提问数据是相应用户回答的第三道题目数据,按照上述方式确定的该第三道题目数据所对应的目标综合分值为20分,第一道题目数据和第二道题目数据各自对应的目标综合分值分别为30分和20分,则已有的答题总分值为50分,对应更新后的答题总分值为70分。假设预设总分值阈值为60分,则更新后的答题总分值大于预设总分值阈值,符合预设停止条件。For example, assuming that the current question data is the third question data answered by the corresponding user, the target comprehensive score corresponding to the third question data determined in the above manner is 20 points, the first question data and the second question The target comprehensive scores corresponding to the data are 30 points and 20 points respectively, then the total score of the existing answer questions is 50 points, and the corresponding total score of the updated answer questions is 70 points. Assuming that the preset total score threshold is 60 points, the updated total answer score is greater than the preset total score threshold and meets the preset stop condition.
在其中一个实施例中,服务器对目标答题分值和目标表情分值进行直接求和或者加权求和,获得相应的目标综合分值。加权求和的权重可以自定义。In one of the embodiments, the server directly sums or weights the target answer score and the target facial expression score to obtain the corresponding target comprehensive score. The weight of the weighted summation can be customized.
在其中一个实施例中,当上述各个实施例中的问答数据处理方法应用于借贷面审过程中的问答环节时,服务器停止相应的问答流程,并向终端推送表示面审通过的提示信息。面审是指在借贷业务办理过程中对用户身份进行审核。In one of the embodiments, when the question and answer data processing method in each of the above embodiments is applied to the question and answer link in the face-to-face loan review process, the server stops the corresponding question and answer process and pushes prompt information indicating that the face-to-face review is passed to the terminal. Interview refers to the verification of the user's identity in the process of lending business.
在其中一个实施例中,服务器统计提问数据总数量,并将统计的提问数据总数量与预设数量阈值进行比较。当统计的提问数据总数量达到预设数量阈值时,服务器则停止当前问答流程,并根据该当前提问数据所对应的目标综合分值对应更新已有的答题总分值, 进而根据更新后的答题总分值和预设总分值阈值向终端推送相应的提示信息。当更新后的答题总分值达到预设总分值阈值时,服务器向终端发送表示面审通过的提示信息。当更新后的答题总分值低于预设总分值阈值时,服务器向终端发送表示面审失败的提示信息。In one of the embodiments, the server counts the total number of question data, and compares the total number of question data with a preset threshold. When the total number of question data counted reaches the preset threshold, the server stops the current question and answer process, and updates the existing total answer score according to the target comprehensive score corresponding to the current question data, and then based on the updated answer question The total score value and the preset total score threshold push corresponding prompt information to the terminal. When the updated total score of the answers reaches the preset total score threshold, the server sends a prompt message indicating that the interview is passed to the terminal. When the updated total score of the answer is lower than the preset total score threshold, the server sends a prompt message to the terminal indicating that the interview has failed.
在其中一个实施例中,当判定用户答题数据正确时,服务器可将相应的预设答题分值确定为目标综合分值。当判定用户答题数据错误时,服务器可将相应的目标答题分值确定为零分。In one of the embodiments, when it is determined that the user answer data is correct, the server may determine the corresponding preset answer score as the target comprehensive score. When it is determined that the user answer data is wrong, the server may determine the corresponding target answer score to be zero.
在其中一个实施例中,当判定当前提问数据所对应的用户答题数据错误时,服务器可停止当前问答流程,并向终端发送相应的提示信息。服务器也可从预设题库中选择预设题目类型的目标提问数据,根据所选择的目标提问数据按照上述方式继续执行当前问答流程。服务器统计相应用户答题数据错误的提问数据的总数量,当统计的总数量达到预设总数量时,服务器停止当前问答流程,并向终端发送相应的提示信息。In one of the embodiments, when it is determined that the user answer data corresponding to the current question data is wrong, the server may stop the current question and answer process and send corresponding prompt information to the terminal. The server may also select target question data of the preset question type from the preset question bank, and continue to execute the current question and answer process according to the selected target question data in the above manner. The server counts the total number of question data corresponding to the wrong answer data of the corresponding user. When the counted total number reaches the preset total number, the server stops the current question and answer process and sends corresponding prompt information to the terminal.
在其中一个实施例中,服务器接收终端发送的用户答题语音信息,对该用户答题语音信息进行声纹识别获得相应的声纹特征,并根据声纹特征进一步验证相应用户的身份。声纹识别可基于已有的各种声纹识别技术来实现,在此不再赘述。当根据用户答题数据和用户答题影像判定相应用户针对当前提问数据的用户答题数据正确时,服务器从终端获取相应的用户答题语音信息。In one of the embodiments, the server receives the user answering voice information sent by the terminal, performs voiceprint recognition on the user answering voice information to obtain corresponding voiceprint features, and further verifies the identity of the corresponding user according to the voiceprint features. Voiceprint recognition can be implemented based on various existing voiceprint recognition technologies, and will not be repeated here. When it is determined according to the user answer data and the user answer image that the corresponding user's answer data for the current question data is correct, the server obtains the corresponding user answer voice information from the terminal.
在其中一个实施例中,服务器从用户答题语音信息中获取用户的语气和语调,并根据诉获取到的语气和语调进一步验证用户答题数据的正确性。In one of the embodiments, the server obtains the user's tone and intonation from the user's answering voice information, and further verifies the correctness of the user's answer data according to the obtained tone and intonation.
如图3所示,在其中一个实施例中,提供了一种问答数据处理方法,该方法具体包括以下步骤:As shown in FIG. 3, in one of the embodiments, a method for processing question and answer data is provided. The method specifically includes the following steps:
S302,接收终端发送的用户答题数据和用户答题影像。S302: Receive user answer data and user answer images sent by the terminal.
S304,按照预设判定方式判定用户答题数据是否正确。S304: Determine whether the user answer data is correct according to a preset judgment method.
S306,当判定用户答题数据正确时,根据用户答题影像对应获取用户答题图像。S306, when it is determined that the user answer data is correct, the user answer image is correspondingly obtained according to the user answer image.
S308,将用户答题图像输入预先训练好的微表情识别模型进行预测,获得相应的用户微表情。S308, input the user answering image into a pre-trained micro-expression recognition model for prediction, and obtain corresponding user micro-expressions.
S310,将用户微表情输入预先训练好的表情分值预测模型进行预测,获得目标表情分值。S310. Input a user's micro-expression into a pre-trained expression score prediction model for prediction to obtain a target expression score.
S312,当判定用户答题数据正确时,根据用户答题影像对应获取用户答题视频。S312, when it is determined that the user answer data is correct, the user answer video is correspondingly obtained according to the user answer image.
S314,按照预设提取方式从用户答题视频中提取预设数量的视频帧。S314: Extract a preset number of video frames from the user answer video according to the preset extraction method.
S316,分别确定每个视频帧对应的表情分值。S316, separately determining the expression score corresponding to each video frame.
S318,根据各表情分值对应确定与用户答题影像对应的目标表情分值。S318, according to each expression score, a target expression score corresponding to the user answering image is determined.
S320,按照预设答题分值确定方式,确定与用户答题数据对应的目标答题分值。S320: Determine the target answer score corresponding to the user answer data according to the preset answer score determination method.
S322,根据目标答题分值与目标表情分值确定相应的目标综合分值。S322: Determine the corresponding comprehensive target score according to the target answer score and the target facial expression score.
S324,根据目标综合分值对应更新已有的答题总分值。S324: Correspondingly update the existing total score of the answer according to the target comprehensive score.
S326,当更新后的答题总分值符合预设停止条件时,停止当前问答流程,向终端发送 相应的提示信息。S326, when the updated total score of answering questions meets the preset stop condition, the current question and answer process is stopped, and corresponding prompt information is sent to the terminal.
S328,将目标表情分值与预设表情分值进行比较。S328: Compare the target expression score with the preset expression score.
S330,当目标表情分值达到预设表情分值时,从预设题库中选取预设题目类型的目标提问数据。S330: When the target expression score reaches the preset expression score, select target question data of the preset question type from the preset question bank.
S332,当目标表情分值低于预设表情分值时,根据当前提问数据按照预设选择方式,选择与当前提问数据对应的目标提问数据;用户答题数据和用户答题影像与当前提问数据对应。S332, when the target expression score is lower than the preset expression score, the target question data corresponding to the current question data is selected according to the preset selection method according to the current question data; the user answer data and the user answer image correspond to the current question data.
S334,将目标提问数据发送至终端进行展示。S334: Send the target question data to the terminal for display.
上述实施例中,借助于用户答题影像辅助验证相应用户答题数据的正确性,当验证用户答题数据正确时,根据用户答题影像所对应的目标表情分值确定相应的目标提问数据,提高了问答数据处理的准确性。进一步地,根据答题总分值确定是否停止当前问答流程,提高了问答数据处理的效率。In the above embodiment, the correctness of the corresponding user's answer data is assisted by the help of the user's answer image. When the user's answer data is verified to be correct, the corresponding target question data is determined according to the target expression score corresponding to the user's answer image, which improves the question and answer data Processing accuracy. Further, it is determined whether to stop the current question and answer process according to the total score of the questions answered, which improves the efficiency of question and answer data processing.
应该理解的是,虽然图2-3的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-3中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 2-3 are displayed in order according to the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless clearly stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in FIGS. 2-3 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. These sub-steps or stages The execution order of is not necessarily sequential, but may be executed in turn or alternately with at least a part of other steps or sub-steps or stages of other steps.
在其中一个实施例中,如图4所示,提供了一种问答数据处理装置400,包括:接收模块402、判定模块404、分值确定模块406、提问数据确定模块408和发送模块410,其中:In one of the embodiments, as shown in FIG. 4, a question and answer data processing apparatus 400 is provided, including: a receiving module 402, a determining module 404, a score determining module 406, a question data determining module 408, and a sending module 410, wherein :
接收模块402,用于接收终端发送的用户答题数据和用户答题影像。The receiving module 402 is used to receive user answer data and user answer images sent by the terminal.
判定模块404,用于按照预设判定方式判定用户答题数据是否正确。The determination module 404 is used to determine whether the user answer data is correct according to a preset determination method.
分值确定模块406,用于当判定用户答题数据正确时,按照预设表情分值确定方式确定与用户答题影像对应的目标表情分值。The score determination module 406 is used to determine the target facial expression score corresponding to the user's answer image when it is determined that the user's answer data is correct.
提问数据确定模块408,用于根据目标表情分值对应的预设提问数据确定方式确定目标提问数据。The question data determination module 408 is configured to determine target question data according to a preset question data determination method corresponding to the target expression score.
发送模块410,用于将目标提问数据发送至终端进行展示。The sending module 410 is used for sending target question data to the terminal for display.
在其中一个实施例中,用户答题影像包括用户答题图像;分值确定模块406,还用于当判定用户答题数据正确时,根据用户答题影像对应获取用户答题图像;将用户答题图像输入预先训练好的微表情识别模型进行预测,获得相应的用户微表情;将用户微表情输入预先训练好的表情分值预测模型进行预测,获得目标表情分值。In one of the embodiments, the user answer image includes the user answer image; the score determination module 406 is also used to obtain the user answer image corresponding to the user answer image when it is determined that the user answer data is correct; input the user answer image into the pre-training The prediction model of the micro-expression recognition model is used to obtain the corresponding micro-expression of the user; the micro-expression of the user is input into the pre-trained expression score prediction model for prediction to obtain the target expression score.
在其中一个实施例中,用户答题影像包括用户答题视频;分值确定模块406,还用于 当判定用户答题数据正确时,根据用户答题影像对应获取用户答题视频;按照预设提取方式从用户答题视频中提取预设数量的视频帧;分别确定每个视频帧对应的表情分值;根据各表情分值对应确定与用户答题影像对应的目标表情分值。In one of the embodiments, the user answer video includes the user answer video; the score determination module 406 is also used to obtain the user answer video according to the user answer image when the user answer data is determined to be correct; Extract a preset number of video frames from the video; determine the expression score corresponding to each video frame; and determine the target expression score corresponding to the user's answer image according to each expression score.
在其中一个实施例中,提问数据确定模块408,还用于将目标表情分值与预设表情分值进行比较;当目标表情分值达到预设表情分值时,从预设题库中选取预设题目类型的目标提问数据。In one of the embodiments, the question data determination module 408 is also used to compare the target expression score with the preset expression score; when the target expression score reaches the preset expression score, the pre-selected from the preset question bank Set the target question data for the question type.
在其中一个实施例中,用户答题数据和用户答题影像与当前提问数据对应;提问数据确定模块408,还用于将目标表情分值与预设表情分值进行比较;当目标表情分值低于预设表情分值时,根据当前提问数据按照预设选择方式,选择与当前提问数据对应的目标提问数据。In one embodiment, the user answer data and the user answer image correspond to the current question data; the question data determination module 408 is also used to compare the target expression score with the preset expression score; when the target expression score is lower than When the expression score is preset, the target question data corresponding to the current question data is selected according to the preset selection method according to the current question data.
如图5所示,在其中一个实施例中,用户答题数据和用户答题影像与当前提问数据对应;当前提问数据对应有预设综合分值;上述问答数据处理装置400,还包括:分值调整模块412;As shown in FIG. 5, in one of the embodiments, the user answer data and the user answer image correspond to the current question data; the current question data corresponds to a preset comprehensive score; the question and answer data processing device 400 further includes: score adjustment Module 412;
分值调整模块412,用于当目标表情分值低于预设表情分值时,按照预设分值调整方式动态调整预设综合分值;根据预设综合分值和调整后的预设综合分值,确定与目标提问数据对应的综合分值。The score adjustment module 412 is used to dynamically adjust the preset comprehensive score according to the preset score adjustment method when the target expression score is lower than the preset expression score; according to the preset comprehensive score and the adjusted preset synthesis Score, determine the comprehensive score corresponding to the target question data.
在其中一个实施例中,上述问答数据处理装置400还包括:总分值更新模块414;In one of the embodiments, the question and answer data processing device 400 further includes: a total score update module 414;
总分值更新模块414,用于按照预设答题分值确定方式,确定与用户答题数据对应的目标答题分值;根据目标答题分值与目标表情分值确定相应的目标综合分值;根据目标综合分值对应更新已有的答题总分值;当更新后的答题总分值符合预设停止条件时,停止当前问答流程,向终端发送相应的提示信息。The total score update module 414 is used to determine the target answer score corresponding to the user answer data according to the preset answer score determination method; determine the corresponding target comprehensive score according to the target answer score and the target facial expression score; according to the target The integrated score corresponds to the update of the existing total score of answering questions; when the updated total score of answering questions meets the preset stop condition, the current question and answer process is stopped and corresponding prompt information is sent to the terminal.
关于问答数据处理装置的具体限定可以参见上文中对于问答数据处理方法的限定,在此不再赘述。上述问答数据处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the question and answer data processing device, please refer to the above limitation on the question and answer data processing method, which will not be repeated here. Each module in the above question and answer data processing device may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in the hardware or independent of the processor in the computer device, or may be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在其中一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图6所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机可读指令和数据库。该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机设备的数据库用于存储与用户答题数据和用户答题影像对应的当前提问数据所对应的预设答案。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机可读指令被处理器执行时以实现一种问答数据处理方法。In one of the embodiments, a computer device is provided, the computer device may be a server, and the internal structure diagram thereof may be as shown in FIG. 6. The computer device includes a processor, memory, network interface, and database connected by a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer-readable instructions, and a database. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium. The database of the computer device is used to store preset answers corresponding to current question data corresponding to user answer data and user answer images. The network interface of the computer device is used to communicate with external terminals through a network connection. The computer readable instructions are executed by the processor to implement a question and answer data processing method.
本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构 的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 6 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may Include more or less components than shown in the figure, or combine certain components, or have a different arrangement of components.
一种计算机设备,包括存储器和一个或多个处理器,存储器中储存有计算机可读指令,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申请任意一个实施例中提供的问答数据处理方法的步骤。A computer device includes a memory and one or more processors. The memory stores computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors implement any one of the applications The steps of the question and answer data processing method provided in the embodiments.
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申请任意一个实施例中提供的问答数据处理方法的步骤。One or more non-volatile computer-readable storage media storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to implement any one of the embodiments of the present application The steps of the question and answer data processing method provided.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art may understand that all or part of the process in the method of the foregoing embodiments may be completed by instructing relevant hardware through computer-readable instructions, and the computer-readable instructions may be stored in a non-volatile computer In the readable storage medium, when the computer-readable instructions are executed, they may include the processes of the foregoing method embodiments. Any references to memory, storage, databases, or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be arbitrarily combined. To simplify the description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, all It is considered as the scope described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementations of the present application, and their descriptions are more specific and detailed, but they should not be understood as limiting the scope of the invention patent. It should be noted that, for those of ordinary skill in the art, without departing from the concept of the present application, a number of modifications and improvements can also be made, which all fall within the protection scope of the present application. Therefore, the protection scope of the patent of this application shall be subject to the appended claims.

Claims (20)

  1. 一种问答数据处理方法,包括:A question and answer data processing method, including:
    接收终端发送的用户答题数据和用户答题影像;Receive user answer data and user answer images sent by the terminal;
    按照预设判定方式判定所述用户答题数据是否正确;Determine whether the user's answer data is correct according to a preset determination method;
    当判定所述用户答题数据正确时,按照预设表情分值确定方式确定与所述用户答题影像对应的目标表情分值;When it is determined that the user answer data is correct, the target expression score corresponding to the user answer image is determined according to a preset expression score determination method;
    根据所述目标表情分值对应的预设提问数据确定方式确定目标提问数据;及Determine the target question data according to the preset question data determination method corresponding to the target facial expression score; and
    将所述目标提问数据发送至所述终端进行展示。Send the target question data to the terminal for display.
  2. 根据权利要求1所述的方法,其特征在于,所述用户答题影像包括用户答题图像;所述当判定所述用户答题数据正确时,按照预设表情分值确定方式确定与所述用户答题影像对应的目标表情分值,包括:The method according to claim 1, wherein the user answering image includes a user answering image; and when it is determined that the user answering data is correct, the answering image with the user is determined according to a preset expression score determination method The corresponding target expression scores include:
    当判定所述用户答题数据正确时,根据所述用户答题影像对应获取所述用户答题图像;When it is determined that the user answer data is correct, correspondingly obtain the user answer image according to the user answer image;
    将所述用户答题图像输入预先训练好的微表情识别模型进行预测,获得相应的用户微表情;及Input the user answering image into a pre-trained micro-expression recognition model for prediction, and obtain corresponding user micro-expressions; and
    将所述用户微表情输入预先训练好的表情分值预测模型进行预测,获得目标表情分值。The user's micro-expression is input into a pre-trained expression score prediction model for prediction to obtain a target expression score.
  3. 根据权利要求1所述的方法,其特征在于,所述用户答题影像包括用户答题视频;所述当判定所述用户答题数据正确时,按照预设表情分值确定方式确定与所述用户答题影像对应的目标表情分值,包括:The method according to claim 1, wherein the user answering image includes a user answering video; and when it is determined that the user answering data is correct, the answering image with the user is determined according to a preset expression score determination method The corresponding target expression scores include:
    当判定所述用户答题数据正确时,根据所述用户答题影像对应获取所述用户答题视频;When it is determined that the user answer data is correct, correspondingly obtain the user answer video according to the user answer image;
    按照预设提取方式从所述用户答题视频中提取预设数量的视频帧;Extract a preset number of video frames from the user answer video according to a preset extraction method;
    分别确定每个所述视频帧对应的表情分值;及Separately determine the expression score corresponding to each of the video frames; and
    根据各所述表情分值对应确定与所述用户答题影像对应的目标表情分值。A target expression score corresponding to the user answering image is determined according to each of the expression scores.
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述目标表情分值对应的预设提问数据确定方式确定目标提问数据,包括:The method according to claim 1, wherein the determining the target question data according to the preset question data determination method corresponding to the target expression score includes:
    将所述目标表情分值与预设表情分值进行比较;及Comparing the target expression score with a preset expression score; and
    当所述目标表情分值达到所述预设表情分值时,从预设题库中选取预设题目类型的目标提问数据。When the target expression score reaches the preset expression score, the target question data of the preset question type is selected from the preset question bank.
  5. 根据权利要求1所述的方法,其特征在于,所述用户答题数据和所述用户答题影像与当前提问数据对应;所述根据所述目标表情分值对应的预设提问数据确定方式确定目标提问数据,包括:The method according to claim 1, wherein the user answer data and the user answer image correspond to current question data; and the target question is determined according to the preset question data determination method corresponding to the target expression score Data, including:
    将所述目标表情分值与预设表情分值进行比较;及Comparing the target expression score with a preset expression score; and
    当所述目标表情分值低于所述预设表情分值时,根据所述当前提问数据按照预设选择 方式,选择与所述当前提问数据对应的目标提问数据。When the target expression score is lower than the preset expression score, the target question data corresponding to the current question data is selected according to the preset selection method according to the current question data.
  6. 根据权利要求1至5任意一项所述的方法,其特征在于,所述用户答题数据和所述用户答题影像与当前提问数据对应;所述当前提问数据对应有预设综合分值;所述方法还包括:The method according to any one of claims 1 to 5, wherein the user answer data and the user answer image correspond to current question data; the current question data corresponds to a preset comprehensive score; the The method also includes:
    当所述目标表情分值低于所述预设表情分值时,按照预设分值调整方式动态调整所述预设综合分值;及When the target expression score is lower than the preset expression score, dynamically adjust the preset comprehensive score according to the preset score adjustment method; and
    根据所述预设综合分值和调整后的预设综合分值,确定与所述目标提问数据对应的综合分值。According to the preset comprehensive score and the adjusted preset comprehensive score, the comprehensive score corresponding to the target question data is determined.
  7. 根据权利要求1至5任意一项所述的方法,其特征在于,所述根据所述目标表情分值对应的预设提问数据确定方式确定目标提问数据之前,所述方法还包括:The method according to any one of claims 1 to 5, wherein before determining the target question data according to the preset question data determination method corresponding to the target expression score, the method further comprises:
    按照预设答题分值确定方式,确定与所述用户答题数据对应的目标答题分值;Determine the target answer score corresponding to the user answer data according to the preset answer score determination method;
    根据所述目标答题分值与所述目标表情分值确定相应的目标综合分值;Determine a corresponding target comprehensive score according to the target answer score and the target facial expression score;
    根据所述目标综合分值对应更新已有的答题总分值;及Correspondingly update the existing total score of the answers according to the target comprehensive score; and
    当更新后的答题总分值符合预设停止条件时,停止当前问答流程,向所述终端发送相应的提示信息。When the updated total answer score meets the preset stop condition, the current question and answer process is stopped, and corresponding prompt information is sent to the terminal.
  8. 一种问答数据处理装置,包括:A question and answer data processing device, including:
    接收模块,用于接收终端发送的用户答题数据和用户答题影像;The receiving module is used to receive user answer data and user answer images sent by the terminal;
    判定模块,用于按照预设判定方式判定所述用户答题数据是否正确;The determination module is used to determine whether the user answer data is correct according to a preset determination method;
    分值确定模块,用于当判定所述用户答题数据正确时,按照预设表情分值确定方式确定与所述用户答题影像对应的目标表情分值;A score determination module, configured to determine a target expression score corresponding to the user answering image according to a preset expression score determination method when the user answer data is determined to be correct;
    提问数据确定模块,用于根据所述目标表情分值对应的预设提问数据确定方式确定目标提问数据;及A question data determination module, configured to determine target question data according to a preset question data determination method corresponding to the target expression score; and
    发送模块,用于将所述目标提问数据发送至所述终端进行展示。The sending module is configured to send the target question data to the terminal for display.
  9. 一种计算机设备,包括存储器和一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:A computer device includes a memory and one or more processors. The memory stores computer readable instructions. When the computer readable instructions are executed by the one or more processors, the one or more Each processor performs the following steps:
    接收终端发送的用户答题数据和用户答题影像;Receive user answer data and user answer images sent by the terminal;
    按照预设判定方式判定所述用户答题数据是否正确;Determine whether the user's answer data is correct according to a preset determination method;
    当判定所述用户答题数据正确时,按照预设表情分值确定方式确定与所述用户答题影像对应的目标表情分值;When it is determined that the user answer data is correct, the target expression score corresponding to the user answer image is determined according to a preset expression score determination method;
    根据所述目标表情分值对应的预设提问数据确定方式确定目标提问数据;及Determine the target question data according to the preset question data determination method corresponding to the target facial expression score; and
    将所述目标提问数据发送至所述终端进行展示。Send the target question data to the terminal for display.
  10. 根据权利要求9所述的计算机设备,其特征在于,所述用户答题影像包括用户答题图像;所述当判定所述用户答题数据正确时,按照预设表情分值确定方式确定与所述用户答题影像对应的目标表情分值,包括:The computer device according to claim 9, wherein the user answer image includes a user answer image; and when it is determined that the user answer data is correct, the answer to the user is determined according to a preset expression score determination method The target expression score corresponding to the image, including:
    当判定所述用户答题数据正确时,根据所述用户答题影像对应获取所述用户答题图像;When it is determined that the user answer data is correct, correspondingly obtain the user answer image according to the user answer image;
    将所述用户答题图像输入预先训练好的微表情识别模型进行预测,获得相应的用户微表情;及Input the user answering image into a pre-trained micro-expression recognition model for prediction, and obtain corresponding user micro-expressions; and
    将所述用户微表情输入预先训练好的表情分值预测模型进行预测,获得目标表情分值。The user's micro-expression is input into a pre-trained expression score prediction model for prediction to obtain a target expression score.
  11. 根据权利要求9所述的计算机设备,其特征在于,所述用户答题影像包括用户答题视频;所述当判定所述用户答题数据正确时,按照预设表情分值确定方式确定与所述用户答题影像对应的目标表情分值,包括:The computer device according to claim 9, wherein the user answering image includes a user answering video; and when it is determined that the user answering data is correct, the answering to the user is determined according to a preset expression score determination method The target expression score corresponding to the image, including:
    当判定所述用户答题数据正确时,根据所述用户答题影像对应获取所述用户答题视频;When it is determined that the user answer data is correct, correspondingly obtain the user answer video according to the user answer image;
    按照预设提取方式从所述用户答题视频中提取预设数量的视频帧;Extract a preset number of video frames from the user answer video according to a preset extraction method;
    分别确定每个所述视频帧对应的表情分值;及Separately determine the expression score corresponding to each of the video frames; and
    根据各所述表情分值对应确定与所述用户答题影像对应的目标表情分值。A target expression score corresponding to the user answering image is determined according to each of the expression scores.
  12. 根据权利要求9所述的计算机设备,其特征在于,所述根据所述目标表情分值对应的预设提问数据确定方式确定目标提问数据,包括:The computer device according to claim 9, wherein the determining the target question data according to the preset question data determination method corresponding to the target expression score includes:
    将所述目标表情分值与预设表情分值进行比较;及Comparing the target expression score with a preset expression score; and
    当所述目标表情分值达到所述预设表情分值时,从预设题库中选取预设题目类型的目标提问数据。When the target expression score reaches the preset expression score, the target question data of the preset question type is selected from the preset question bank.
  13. 根据权利要求9所述的计算机设备,其特征在于,所述用户答题数据和所述用户答题影像与当前提问数据对应;所述根据所述目标表情分值对应的预设提问数据确定方式确定目标提问数据,包括:The computer device according to claim 9, wherein the user answer data and the user answer image correspond to current question data; and the target is determined according to the preset question data determination method corresponding to the target facial expression score Question data, including:
    将所述目标表情分值与预设表情分值进行比较;及Comparing the target expression score with a preset expression score; and
    当所述目标表情分值低于所述预设表情分值时,根据所述当前提问数据按照预设选择方式,选择与所述当前提问数据对应的目标提问数据。When the target expression score is lower than the preset expression score, the target question data corresponding to the current question data is selected according to the preset selection method according to the current question data.
  14. 根据权利要求9至13任意一项所述的计算机设备,其特征在于,所述用户答题数据和所述用户答题影像与当前提问数据对应;所述当前提问数据对应有预设综合分值;所述处理器执行所述计算机可读指令时还执行以下步骤:The computer device according to any one of claims 9 to 13, wherein the user answer data and the user answer image correspond to current question data; the current question data corresponds to a preset comprehensive score; The processor also executes the following steps when executing the computer-readable instructions:
    当所述目标表情分值低于所述预设表情分值时,按照预设分值调整方式动态调整所述预设综合分值;及When the target expression score is lower than the preset expression score, dynamically adjust the preset comprehensive score according to the preset score adjustment method; and
    根据所述预设综合分值和调整后的预设综合分值,确定与所述目标提问数据对应的综合分值。According to the preset comprehensive score and the adjusted preset comprehensive score, the comprehensive score corresponding to the target question data is determined.
  15. 根据权利要求9至13任意一项所述的计算机设备,其特征在于,所述计算机可读指令被所述处理器执行时,使得所述处理器在执行所述根据所述目标表情分值对应的预设提问数据确定方式确定目标提问数据之前,还执行以下步骤:The computer device according to any one of claims 9 to 13, wherein when the computer-readable instructions are executed by the processor, the processor is caused to perform the correspondence according to the target expression score Before determining the default question data determination method, the following steps are also performed:
    按照预设答题分值确定方式,确定与所述用户答题数据对应的目标答题分值;Determine the target answer score corresponding to the user answer data according to the preset answer score determination method;
    根据所述目标答题分值与所述目标表情分值确定相应的目标综合分值;Determine a corresponding target comprehensive score according to the target answer score and the target facial expression score;
    根据所述目标综合分值对应更新已有的答题总分值;及Correspondingly update the existing total score of the answers according to the target comprehensive score; and
    当更新后的答题总分值符合预设停止条件时,停止当前问答流程,向所述终端发送相应的提示信息。When the updated total answer score meets the preset stop condition, the current question and answer process is stopped, and corresponding prompt information is sent to the terminal.
  16. 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:One or more non-volatile computer-readable storage media storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to perform the following steps:
    接收终端发送的用户答题数据和用户答题影像;Receive user answer data and user answer images sent by the terminal;
    按照预设判定方式判定所述用户答题数据是否正确;Determine whether the user's answer data is correct according to a preset determination method;
    当判定所述用户答题数据正确时,按照预设表情分值确定方式确定与所述用户答题影像对应的目标表情分值;When it is determined that the user answer data is correct, the target expression score corresponding to the user answer image is determined according to a preset expression score determination method;
    根据所述目标表情分值对应的预设提问数据确定方式确定目标提问数据;及Determine the target question data according to the preset question data determination method corresponding to the target facial expression score; and
    将所述目标提问数据发送至所述终端进行展示。Send the target question data to the terminal for display.
  17. 根据权利要求16所述的存储介质,其特征在于,所述用户答题影像包括用户答题图像;所述当判定所述用户答题数据正确时,按照预设表情分值确定方式确定与所述用户答题影像对应的目标表情分值,包括:The storage medium according to claim 16, wherein the user answer image includes a user answer image; and when it is determined that the user answer data is correct, the answer to the user is determined according to a preset expression score determination method The target expression score corresponding to the image, including:
    当判定所述用户答题数据正确时,根据所述用户答题影像对应获取所述用户答题图像;When it is determined that the user answer data is correct, correspondingly obtain the user answer image according to the user answer image;
    将所述用户答题图像输入预先训练好的微表情识别模型进行预测,获得相应的用户微表情;及Input the user answering image into a pre-trained micro-expression recognition model for prediction, and obtain corresponding user micro-expressions; and
    将所述用户微表情输入预先训练好的表情分值预测模型进行预测,获得目标表情分值。The user's micro-expression is input into a pre-trained expression score prediction model for prediction to obtain a target expression score.
  18. 根据权利要求16所述的存储介质,其特征在于,所述用户答题影像包括用户答题视频;所述当判定所述用户答题数据正确时,按照预设表情分值确定方式确定与所述用户答题影像对应的目标表情分值,包括:The storage medium according to claim 16, wherein the user answering image includes a user answering video; and when it is determined that the user answering data is correct, the answering to the user is determined according to a preset expression score determination method The target expression score corresponding to the image, including:
    当判定所述用户答题数据正确时,根据所述用户答题影像对应获取所述用户答题视频;When it is determined that the user answer data is correct, correspondingly obtain the user answer video according to the user answer image;
    按照预设提取方式从所述用户答题视频中提取预设数量的视频帧;Extract a preset number of video frames from the user answer video according to a preset extraction method;
    分别确定每个所述视频帧对应的表情分值;及Separately determine the expression score corresponding to each of the video frames; and
    根据各所述表情分值对应确定与所述用户答题影像对应的目标表情分值。A target expression score corresponding to the user answering image is determined according to each of the expression scores.
  19. 根据权利要求16所述的存储介质,其特征在于,所述根据所述目标表情分值对应的预设提问数据确定方式确定目标提问数据,包括:The storage medium according to claim 16, wherein the determining the target question data according to the preset question data determination method corresponding to the target expression score includes:
    将所述目标表情分值与预设表情分值进行比较;及Comparing the target expression score with a preset expression score; and
    当所述目标表情分值达到所述预设表情分值时,从预设题库中选取预设题目类型的目标提问数据。When the target expression score reaches the preset expression score, the target question data of the preset question type is selected from the preset question bank.
  20. 根据权利要求16所述的存储介质,其特征在于,所述用户答题数据和所述用户答题影像与当前提问数据对应;所述根据所述目标表情分值对应的预设提问数据确定方式确定目标提问数据,包括:The storage medium according to claim 16, wherein the user answer data and the user answer image correspond to current question data; and the target is determined according to the preset question data determination method corresponding to the target expression score Question data, including:
    将所述目标表情分值与预设表情分值进行比较;及Comparing the target expression score with a preset expression score; and
    当所述目标表情分值低于所述预设表情分值时,根据所述当前提问数据按照预设选择方式,选择与所述当前提问数据对应的目标提问数据。When the target expression score is lower than the preset expression score, the target question data corresponding to the current question data is selected according to the preset selection method according to the current question data.
PCT/CN2018/125151 2018-10-16 2018-12-29 Method and apparatus for processing question-and-answer data, computer device, and storage medium WO2020077874A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SG11201913925YA SG11201913925YA (en) 2018-10-16 2018-12-29 Question and answer data processing method and apparatus, computer device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811235466.4A CN109543011A (en) 2018-10-16 2018-10-16 Question and answer data processing method, device, computer equipment and storage medium
CN201811235466.4 2018-10-16

Publications (1)

Publication Number Publication Date
WO2020077874A1 true WO2020077874A1 (en) 2020-04-23

Family

ID=65844994

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/125151 WO2020077874A1 (en) 2018-10-16 2018-12-29 Method and apparatus for processing question-and-answer data, computer device, and storage medium

Country Status (3)

Country Link
CN (1) CN109543011A (en)
SG (1) SG11201913925YA (en)
WO (1) WO2020077874A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134795A (en) * 2019-04-17 2019-08-16 深圳壹账通智能科技有限公司 Generate method, apparatus, computer equipment and the storage medium of validation problem group
CN110311788A (en) * 2019-06-28 2019-10-08 京东数字科技控股有限公司 Auth method, device, electronic equipment and readable medium
CN110569347A (en) * 2019-09-10 2019-12-13 出门问问信息科技有限公司 Data processing method and device, storage medium and electronic equipment
CN110851218B (en) * 2019-10-23 2023-08-25 中国建设银行股份有限公司 Personnel relationship-based method and device for adding personal interface operation functions
CN111985395A (en) * 2020-08-19 2020-11-24 北京猿力未来科技有限公司 Video generation method and device
CN112037029B (en) * 2020-09-01 2024-02-27 中国银行股份有限公司 Automatic generation method and device for bank credit approval problem
CN113822645A (en) * 2021-09-07 2021-12-21 广州网才信息技术有限公司 Interview management system, equipment and computer medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100205541A1 (en) * 2009-02-11 2010-08-12 Jeffrey A. Rapaport social network driven indexing system for instantly clustering people with concurrent focus on same topic into on-topic chat rooms and/or for generating on-topic search results tailored to user preferences regarding topic
CN103593054A (en) * 2013-11-25 2014-02-19 北京光年无限科技有限公司 Question-answering system combining emotion recognition and output
CN104299178A (en) * 2014-07-11 2015-01-21 北京神州智联科技有限公司 Facial-recognition-based network teaching method and system
CN108647211A (en) * 2018-05-17 2018-10-12 宁波薄言信息技术有限公司 A kind of method for pushing of children for learning content

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107680019B (en) * 2017-09-30 2021-09-24 百度在线网络技术(北京)有限公司 Examination scheme implementation method, device, equipment and storage medium
CN107704834B (en) * 2017-10-13 2021-03-30 深圳壹账通智能科技有限公司 Micro-surface examination assisting method, device and storage medium
CN108335193A (en) * 2018-01-12 2018-07-27 深圳壹账通智能科技有限公司 Whole process credit methods, device, equipment and readable storage medium storing program for executing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100205541A1 (en) * 2009-02-11 2010-08-12 Jeffrey A. Rapaport social network driven indexing system for instantly clustering people with concurrent focus on same topic into on-topic chat rooms and/or for generating on-topic search results tailored to user preferences regarding topic
CN103593054A (en) * 2013-11-25 2014-02-19 北京光年无限科技有限公司 Question-answering system combining emotion recognition and output
CN104299178A (en) * 2014-07-11 2015-01-21 北京神州智联科技有限公司 Facial-recognition-based network teaching method and system
CN108647211A (en) * 2018-05-17 2018-10-12 宁波薄言信息技术有限公司 A kind of method for pushing of children for learning content

Also Published As

Publication number Publication date
CN109543011A (en) 2019-03-29
SG11201913925YA (en) 2020-05-28

Similar Documents

Publication Publication Date Title
WO2020077874A1 (en) Method and apparatus for processing question-and-answer data, computer device, and storage medium
US10635893B2 (en) Identity authentication method, terminal device, and computer-readable storage medium
CN106599089B (en) Knowledge point-based test question recommendation method and device and user equipment
US20200034656A1 (en) Information recommendation method, computer device, and storage medium
KR101731404B1 (en) Voice and/or facial recognition based service provision
WO2020077896A1 (en) Method and apparatus for generating question data, computer device, and storage medium
US11748512B2 (en) Protecting client personal data from customer service agents
WO2020007129A1 (en) Context acquisition method and device based on voice interaction
CN110442697B (en) Man-machine interaction method, system, computer equipment and storage medium
US20210174031A1 (en) Method and apparatus for generating natural language description information
CN111858892A (en) Voice interaction method, device, equipment and medium based on knowledge graph
WO2019109530A1 (en) Emotion identification method, device, and a storage medium
US20230410815A1 (en) Transcription generation technique selection
CN108681871B (en) Information prompting method, terminal equipment and computer readable storage medium
KR20170126667A (en) Method for generating conference record automatically and apparatus thereof
CN113873088B (en) Interactive method and device for voice call, computer equipment and storage medium
CN111427990A (en) Intelligent examination control system and method assisted by intelligent campus teaching
CN111048083A (en) Voice control method, device and storage medium
CN113420203A (en) Object recommendation method and device, electronic equipment and storage medium
CN116912478A (en) Object detection model construction, image classification method and electronic equipment
CN114157763A (en) Information processing method and device in interactive process, terminal and storage medium
CN116366961A (en) Video conference method and device and computer equipment
CN113596597A (en) Game video acceleration method and device, computer equipment and storage medium
WO2021047103A1 (en) Voice recognition method and device
CN111931503A (en) Information extraction method and device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18937290

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06/08/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18937290

Country of ref document: EP

Kind code of ref document: A1