Information processing method, device and storage medium

文档序号:1938080 发布日期:2021-12-07 浏览:15次 中文

阅读说明:本技术 一种信息处理方法、设备及存储介质 (Information processing method, device and storage medium ) 是由 常新峰 湛志强 于 2021-08-05 设计创作,主要内容包括:本申请实施例公开了一种信息处理方法、设备及存储介质,其中,所述方法包括:获取待处理试题;确定与所述待处理试题相关联的历史作答信息;确定与所述历史作答信息相匹配的尺寸信息;基于所述尺寸信息,确定所述待处理试题的作答区域。(The embodiment of the application discloses an information processing method, equipment and a storage medium, wherein the method comprises the following steps: acquiring test questions to be processed; determining historical answering information associated with the to-be-processed test questions; determining size information matched with the historical answering information; and determining the answering area of the test question to be processed based on the size information.)

1. An information processing method, the method comprising:

acquiring test questions to be processed;

determining historical answering information associated with the to-be-processed test questions;

determining size information matched with the historical answering information;

and determining the answering area of the test question to be processed based on the size information.

2. The method of claim 1, prior to said determining historical answering information associated with the to-be-processed question, further comprising:

acquiring an answer library associated with the to-be-processed test question;

the determining the historical answering information associated with the to-be-processed test questions comprises the following steps:

determining question information of the test questions to be processed;

and determining historical answering information associated with the topic information from the answered question bank.

3. The method of claim 2, wherein said determining historical response information associated with said topic information from said library of answered questions comprises:

determining intermediate answer information associated with the question information from the answer library;

and screening the historical answer information with correct answer results from the intermediate answer information.

4. The method of claim 1, wherein in the case that the historical response information is at least two historical response results, the determining the size information matching the historical response information comprises:

determining a width value and a height value of an answering area corresponding to each historical answering result in the at least two historical answering results;

determining the size information matching the at least two historical answers based on the width value and the height value.

5. The method of claim 4, wherein determining the size information that matches the at least two historical answers based on the width value and the height value comprises:

obtaining the response quantity of the historical response results in the at least two historical response results;

determining a width mean value corresponding to the at least two historical answer results based on the answer quantity and the width value of the answer area corresponding to each historical answer result;

determining a height average value corresponding to the at least two historical answer results based on the answer quantity and the height value of the answer area corresponding to each historical answer result;

determining width information and height information which are matched with the at least two historical answer results based on the answer number, the width value, the width mean value, the height value and the height mean value; wherein the size information includes the height information and the height information.

6. The method of claim 5, wherein determining width information and height information that match the at least two historical answers based on the number of answers, the width value, the width mean, the height value, and the height mean comprises:

determining a width variance matched with the at least two historical answer results based on the answer number, the width mean value and the width value of the answer area corresponding to each historical answer result;

determining a height variance matched with the at least two historical answer results based on the answer quantity, the height mean value and the height value of the answer area corresponding to each historical answer result;

fusing the width mean value and the width variance to determine width information matched with the at least two historical answer results;

and fusing the height mean value and the height variance to determine height information matched with the at least two historical answer results.

7. The method of claim 6, wherein said fusing said width mean and said width variance to determine width information matching said at least two historical responses, comprises:

acquiring a preset width correction value and a first adjustment quantity;

adjusting the width variance by using the first adjustment amount to obtain a first variance;

fusing the preset width correction value, the width mean value and the first square difference to obtain the width information;

fusing the height mean and the height variance to determine height information matched with the at least two historical answer results, wherein the height information comprises:

acquiring a preset height correction value and a second adjustment quantity;

adjusting the height variance by using the second adjustment amount to obtain a second variance;

and fusing the preset height correction value, the height mean value and the second variance to obtain the height information.

8. The method according to any one of claims 5 to 7, wherein the determining the answering area of the to-be-processed test question based on the size information comprises:

acquiring a preset answering area of the test question to be processed;

adjusting the preset width of the preset answering area based on the width information to obtain adjusted width information;

adjusting the preset height of the preset answering area based on the height information to obtain adjusted height information;

and generating the answering area of the test question to be processed based on the adjusted width information and the adjusted height information.

9. An electronic device, comprising: a processor, a memory, and a communication bus;

the communication bus is used for realizing communication connection between the processor and the memory;

the processor is configured to execute the program in the memory to implement the information processing method according to any one of claims 1 to 8.

10. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the information processing method according to any one of claims 1 to 8.

Technical Field

The present application relates to the field of information technology, and in particular, to an information processing method, an information processing apparatus, and a storage medium.

Background

In the process of typesetting the test paper, the phenomenon that the answer process is inconvenient because the reserved answer area of the test paper is too small or the layout of the test paper is influenced because the reserved answer area is too large usually exists.

Disclosure of Invention

In view of this, embodiments of the present application provide an information processing method, an information processing apparatus, and a storage medium.

The technical scheme of the application is realized as follows:

an embodiment of the present application provides an information processing method, including:

acquiring test questions to be processed;

determining historical answering information associated with the to-be-processed test questions;

determining size information matched with the historical answering information;

and determining the answering area of the test question to be processed based on the size information.

An embodiment of the present application provides an information processing apparatus, the apparatus including:

the acquisition module is used for acquiring the test questions to be processed;

the first determining module is used for determining historical answering information associated with the to-be-processed test questions;

the second determining module is used for determining the size information matched with the historical answering information;

and the third determining module is used for determining the answering area of the test question to be processed based on the size information.

An embodiment of the present application further provides an electronic device, including: a processor, a memory, and a communication bus;

the communication bus is used for realizing communication connection between the processor and the memory;

the processor is used for executing the program in the memory so as to realize the information processing method.

Accordingly, embodiments of the present application also provide a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the information processing method as described above.

According to the information processing method, the information processing device and the information processing storage medium, firstly, to-be-processed test questions are obtained; secondly, determining historical answering information associated with the to-be-processed test questions; and determining size information matched with the historical answering information; and finally, determining a response area of the test question to be processed based on the size information. Therefore, the answering area of the to-be-processed test questions can be determined according to the size information of the historical answering information related to the to-be-processed test questions, and the test questions can be typeset efficiently and accurately.

Drawings

Fig. 1 is a schematic flowchart of an information processing method according to an embodiment of the present application;

fig. 2 is a schematic flowchart of a second information processing method according to an embodiment of the present application;

fig. 3 is a schematic flowchart of a third information processing method according to an embodiment of the present application;

fig. 4 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application;

fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.

It should be appreciated that reference throughout this specification to "an embodiment of the present application" or "an embodiment described previously" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in the embodiments of the present application" or "in the embodiments" in various places throughout this specification are not necessarily all referring to the same embodiments. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.

In a case where no specific description is given, the electronic device may execute any step in the embodiments of the present application, and the processor of the electronic device may execute the step. It should also be noted that the embodiment of the present application does not limit the sequence of the steps executed by the electronic device. In addition, the data may be processed in the same way or in different ways in different embodiments. It should be further noted that any step in the embodiments of the present application may be executed by the electronic device independently, that is, when the electronic device executes any step in the following embodiments, the electronic device may not depend on the execution of other steps.

An embodiment of the present application provides an information processing method, which is applied to an electronic device, and as shown in fig. 1, the method includes the following steps:

step 101, obtaining a test question to be processed.

In the embodiments of the present application, the electronic device may be any device having data processing capability.

The electronic device may respond to the input instruction to obtain the to-be-processed test questions, or may receive the to-be-processed test questions sent by other electronic devices.

It should be noted that the test questions to be processed may be selected questions, blank filling questions, short answer questions, application questions, discussion questions, answer solving questions, and the like; accordingly, the test questions to be processed may be test questions of a math discipline, test questions of a chinese discipline, test questions of a foreign language discipline, and the like.

In the embodiment of the present application, the number of the test questions to be processed may be one, two, or more.

In the embodiment of the application, the test questions to be processed refer to questions for the examination and are required to be answered according to the standard; that is, the questions to be processed include at least topic information.

Step 102, determining historical answering information associated with the to-be-processed test questions.

In the embodiment of the application, the electronic equipment analyzes the to-be-processed test questions to determine the historical answering information associated with the to-be-processed test questions; the historical answering information can be a segment of characters, a phrase or a group of figures and the like.

In one possible implementation, the questions to be processed are: the main sources of the way to narrate the material selection? (ii) a The historical answering information associated with the to-be-processed test questions may be: life, books, etc.

In another possible implementation, the questions to be processed are: please explain the meaning of the idiom "diffuse without heart"; the historical answering information associated with the to-be-processed test questions may be: free and convenient, not put on heart, etc.

It should be noted that the historical answer information may be the answer information of the to-be-processed test questions in the historical time, which is queried by the electronic device in the relevant test question website or forum.

Wherein, the historical answering information can be one or two or more; when the number of the response information included in the history response information is two or more, each of the response information may be the same or different.

In the embodiment of the present application, the historical answering information associated with the to-be-processed test questions may be correct answering information of the to-be-processed test questions, may also be incorrect answering information of the to-be-processed test questions, may also be combination information of the correct answering information and the incorrect answering information of the to-be-processed test questions, and the like.

And step 103, determining size information matched with the historical answering information.

In the embodiment of the application, the electronic equipment determines the size information of the historical answering information; the size information can represent the height information and the length information of the typesetting area or the writing area occupied by the typesetting or writing process of the historical answering information.

In a feasible implementation manner, when the historical answer information is character information, the size information matched with the historical answer information can refer to character length information and character height information occupied by characters corresponding to the historical answer information in the writing process.

In another possible implementation manner, when the historical answer information is a graph, the size information matched with the historical answer information may be size information corresponding to the graph; the size information may be the same as the actual size of the pattern, or may be enlarged or reduced in proportion to the actual size of the pattern.

In the embodiment of the present application, the measurement unit of the size information matched with the historical response information may be described in any length information such as centimeters, decimeters, and the like.

When the number of the response information included in the history response information is two or more, the size information corresponding to each response information may be the same or different.

And 104, determining a response area of the test question to be processed based on the size information.

In the embodiment of the application, the electronic equipment determines the answering area of the test question to be processed based on the size information; wherein, the answering area is the area for answering the examination of the examination personnel or examination equipment in the examination questions to be processed.

In one possible implementation manner, the electronic device generates area information corresponding to the size information based on the size information, and takes the area as a response area of the test question to be processed.

In another possible implementation manner, the electronic device adjusts the size of the original preset answering area of the to-be-processed test question based on the size information, and determines the preset answering area after the size is adjusted as the answering area of the to-be-processed test question.

The answering area of the to-be-processed test questions can be located at the forefront, middle or rearmost end of the to-be-processed test questions.

It should be noted that, in the embodiment of the present application, the electronic device sequentially determines the historical answering information associated with the to-be-processed test questions and the size information matched with the historical answering information, and then determines the answering areas of the to-be-processed test questions based on the size information; therefore, the answering area can be prevented from being set by experience values or randomly in the related technology, and the test questions can be efficiently and accurately typeset based on the size information of the historical answering information related to the test questions to be processed.

The information processing method provided by the embodiment of the application comprises the steps of firstly, obtaining test questions to be processed; secondly, determining historical answering information associated with the to-be-processed test questions; and determining size information matched with the historical answering information; and finally, determining a response area of the test question to be processed based on the size information. Therefore, the answering area of the to-be-processed test questions can be determined according to the size information of the historical answering information related to the to-be-processed test questions, and the test questions can be typeset efficiently and accurately.

Based on the foregoing embodiments, an embodiment of the present application provides an information processing method applied to an electronic device, and as shown in fig. 1 and fig. 2, the method includes the following steps:

step 201, a database of questions already made associated with the to-be-processed test questions is obtained.

In the embodiment of the application, the electronic equipment inquires an answer library associated with the to-be-processed test questions in historical time in a related test question website or forum; the answered question bank can belong to the same subject as the to-be-processed questions and can be answered, and the answered question bank can also be the same type of the to-be-processed questions and can be answered.

Wherein, the number of the test questions in the answer library can be one, or two or more; correspondingly, the test questions may be the same test questions as the test questions to be processed, or the test questions may have a preset association relationship with the test questions to be processed.

Accordingly, the electronic device determines the historical answering information associated with the to-be-processed test question, i.e. the electronic device performs step 102, and the following steps 202 and 203 can be implemented as follows:

step 202, determining the question information of the test questions to be processed.

In the embodiment of the application, the electronic equipment analyzes the test questions to be processed to obtain question information of the test questions to be processed; wherein, the question information is the question requiring answer in the test questions to be processed.

Step 203, determining historical answer information associated with the topic information from the answer library.

In the embodiment of the application, the electronic equipment determines historical answering information associated with the topic information from an answered topic library; the problem database can be screened based on the problem information to obtain the already answered test questions related to the problem information, and then the historical answering information is determined from the already answered test questions.

It should be noted that, in the embodiment of the present application, the electronic device determines, based on the question information of the to-be-processed test question, historical answer information from an answer library associated with the to-be-processed test question; thus, the historical answering information associated with the to-be-processed test questions can be determined efficiently and conveniently.

In a possible implementation manner, the electronic device determines the historical answer information associated with the topic information from the answer library, that is, the electronic device performs step 203, which can be implemented by the following steps 203a and 203 b:

step 203a, determining intermediate answer information associated with the question information from the answer library.

In the embodiment of the application, the electronic equipment firstly determines the middle answered test questions related to the question information of the test questions to be processed from the answered question library, and then determines the middle answered test question information from the middle answered test questions; wherein, the intermediate response information includes but is not limited to: the answer result is wrong answer information, the answer result is correct answer information and partial answer information with the association relationship between the answer result and the question information.

In one possible implementation manner, the electronic device receives from the already-answered question library a question message "warn people to repeat the track sentence without absorbing historical teaching" and determines that the intermediate answer information associated with the question message is: the following man is not identified, but is also identified, or the following man is not identified, or the following man is also identified.

Step 203b, from the intermediate answer information, screening the answer result as correct historical answer information.

In the embodiment of the application, the electronic device further filters the answer result from the intermediate answer information as correct historical answer information.

The answer result is correct historical answer information, which may be a correct decision or an incorrect result determined by the electronic device by judging the answer information based on the historical question bank.

It should be noted that the information amount of the historical answer information is less than or equal to the information amount of the intermediate answer information.

It should be noted that, in the embodiment of the present application, the electronic device screens the intermediate answer information to obtain correct historical answer information; therefore, the accuracy of determining the answering area of the test questions to be processed in the later period can be improved.

According to the information processing method provided by the embodiment of the application, on the basis of the question information of the to-be-processed test question, the answer result is screened to be the correct historical answer result from the answer library associated with the to-be-processed test question, and then the answer area of the to-be-processed test question is determined according to the size information of the historical answer information associated with the to-be-processed test question, so that the test question can be efficiently and accurately typeset, and meanwhile, the accuracy of determining the answer area of the to-be-processed test question at the later stage can be improved.

Based on the foregoing embodiments, an embodiment of the present application further provides an information processing method applied to an electronic device, and as shown in fig. 1 and fig. 3, the method includes the following steps:

in the embodiment of the present application, in the case that the history response information is at least two history response results, the electronic device determines the size information matching the history response information, that is, the electronic device performs step 103 provided in the above embodiment, which may be implemented by means of step 301 and step 302:

step 301, determining a width value and a height value of a response area corresponding to each historical response result in at least two historical response results.

In the embodiment of the application, the electronic equipment determines the width value and the height value of the corresponding answering area of each historical answering result in the writing process or the typesetting process; the width value and the height value between different historical answer results can be the same or different.

The electronic equipment adopts target algorithm detection, performs size detection on the answering area corresponding to each historical answering result, and determines the width value and the height value of the answering area corresponding to each historical answering result.

It should be noted that the width value and the height value of the answering area corresponding to each historical answering result may be the same or different; meanwhile, the measurement units of the width value and the height value can be centimeters.

Step 302, determining size information matching at least two historical answers based on the width value and the height value.

In the embodiment of the application, the electronic device determines the size information matched with at least two historical answer results, namely the historical answer information, based on the width value and the height value of the answer area corresponding to each historical answer result.

In a possible implementation manner, the electronic device may add the width values of the response areas corresponding to each historical response result, and calculate an average value to obtain the width information in the size information matched with the at least two historical response results; correspondingly, the height values of the response areas corresponding to each historical response result can be added, and the average value is obtained, so that the height information in the size information matched with at least two historical response results is obtained.

The electronic device determines size information of at least two historical answer results, namely historical answer information, based on the width value and the height value of the answer area corresponding to each historical answer result; thus, more abundant and accurate size information can be given.

In a possible implementation manner, the electronic device determines the size information matching with the at least two historical answers based on the width value and the height value, that is, the electronic device performs step 302, and the following steps 302a to 302d may be implemented by the electronic device:

step 302a, obtaining the response quantity of the historical response results in at least two historical response results.

In the embodiment of the application, the electronic equipment counts the number of the historical answering results in the historical answering information, namely the answering number; wherein, the number of answers is two or more.

And step 302b, determining a width mean value corresponding to at least two historical answer results based on the number of answers and the width value of the answer area corresponding to each historical answer result.

In the embodiment of the application, the electronic equipment sums the width values of the answering areas corresponding to each historical answering result to obtain a total width value; and then averaging the total width value based on the number of answers to obtain a width average value corresponding to at least two historical answer results.

And step 302c, determining a height average value corresponding to at least two historical answer results based on the number of answers and the height value of the answer area corresponding to each historical answer result.

In the embodiment of the application, the electronic equipment sums the height values of the answering areas corresponding to each historical answering result to obtain a total height value; and then averaging the total height value based on the number of answers to obtain a height average value corresponding to at least two historical answer results.

And step 302d, determining width information and height information which are matched with at least two historical answers based on the answers, the width value, the width mean value, the height value and the height mean value.

Wherein the size information includes height information and height information.

In the embodiment of the application, the electronic device determines size information matched with at least two historical answer results, namely corresponding height information and height information, based on the obtained width mean value, height mean value, width value, height value and answer number.

In a feasible implementation manner, the electronic device may input the width average value, the width value of the response area corresponding to each historical response result, and the response number into a preset width calculation formula to obtain width information matched with at least two historical response results; accordingly, the electronic device may input the height average value, the height value of the answer area corresponding to each historical answer result, and the number of answers to a preset height calculation formula to obtain height information matched with at least two historical answer results.

It should be noted that, in the embodiment of the present application, the electronic device obtains corresponding width information and height information based on the width value, the width average value, the height average value, and the number of responses of the response area corresponding to each historical response result; in this way, the size information matching the history response information can be determined more accurately.

In a possible implementation manner, the electronic device determines the width information and the height information matching with at least two historical answers based on the number of answers, the width value, the width mean value, the height value and the height mean value, that is, the electronic device performs step 302d, and the following steps d1 to d4 may be implemented:

and d1, determining the width variance matched with at least two historical answers based on the number of answers, the width mean value and the width value of the answer area corresponding to each historical answer.

In the embodiment of the application, the electronic device may input the number of answers, the width mean value, and the width value of the answer area corresponding to each historical answer result into the variance formula, and calculate and obtain the width variance.

And d2, determining the height variance matched with at least two historical answers based on the number of answers, the height mean value and the height value of the answer area corresponding to each historical answer.

In the embodiment of the application, the electronic device may input the number of answers, the height average value, and the height value of the answer area corresponding to each historical answer result into the variance formula, and calculate and obtain the height variance.

And d3, fusing the width mean value and the width variance to determine width information matched with at least two historical answer results.

In this embodiment, the electronic device may sum the width mean and the width variance to obtain a width parameter, and average the width parameter to obtain width information matched with the at least two historical answer results.

And d4, fusing the height mean value and the height variance to determine the height information matched with at least two historical answer results.

In this embodiment, the electronic device may sum the height mean and the height variance to obtain a height parameter, and average the height parameter to obtain height information matched with the at least two historical answer results.

It should be noted that, in the embodiment of the present application, on the basis of the width mean and the height mean, the electronic device further determines, based on the width variance and the height variance, width information and height information that match at least two historical answer results, respectively; therefore, under the combined action of the mean value and the variance, the fluctuation condition of the parameters can be reduced, and the accuracy of the determined width information and the determined height information can be improved.

In a possible implementation manner, before the electronic device performs step d3, that is, before the electronic device fuses the width mean and the width variance and determines the width information matching with the at least two historical answers, the following process may be further performed:

the method comprises the following steps of firstly, obtaining a preset width correction value and a first adjustment quantity.

In the embodiment of the present application, the preset width correction value may be set in advance, or may be determined according to actual conditions, and specific values thereof are not limited in any way in the embodiment of the present application. Correspondingly, the first adjustment amount may be 1/2, 1/3, etc.

And secondly, adjusting the width variance by adopting the first adjustment quantity to obtain a first variance.

In this embodiment of the application, the electronic device multiplies the first adjustment amount by the width variance, that is, adjusts the width variance by the first adjustment amount to obtain the first variance.

Correspondingly, in the embodiment of the present application, the electronic device fuses the width mean and the width variance to determine the width information matching with the at least two historical answer results, which may be implemented by the following processes:

and fusing the preset width correction value, the width mean value and the first square difference to obtain width information.

In this embodiment, the electronic device may sum the preset width correction value, the width mean value, and the first square difference to obtain width information matched with the historical response information.

Accordingly, before the electronic device performs step d4, that is, before the electronic device fuses the height mean and the height variance to determine the height information matching with the at least two historical answer results, the following process may be further performed:

in the first step, a preset height correction value and a second adjustment amount are obtained.

In the embodiment of the present application, the preset height correction value may be set in advance, or may be determined according to actual conditions, and specific values thereof are not limited in any way in the embodiment of the present application. Correspondingly, the second adjustment amount may be 1/2, 1/3, etc.

And step two, adjusting the height variance by adopting a second adjustment amount to obtain a second variance.

In this embodiment, the electronic device multiplies the second adjustment amount by the height variance, that is, adjusts the height variance by the second adjustment amount to obtain the second variance.

Correspondingly, in the embodiment of the present application, the electronic device fuses the height mean and the height variance to determine the height information matched with the at least two historical answer results, which may be implemented by the following processes:

and fusing the preset height correction value, the height mean value and the second variance to obtain height information.

In this embodiment, the electronic device may sum the preset height correction value, the height mean value, and the second variance to obtain height information matched with the historical answering information.

It should be noted that, in the embodiment of the present application, the electronic device determines, based on the preset width correction value, the width mean value, and the width variance, width information that matches the historical response information, and determines, based on the preset height correction value, the height mean value, and the height variance, height information that matches the historical response information; in this way, the determined size information matched with the historical answering information can be more accurate.

In the information processing method provided by the embodiment of the application, when the historical answer information is at least two historical answer results, the width information and the height information corresponding to the at least two historical answer results are determined respectively based on the width mean, the width variance, the height mean and the height variance corresponding to the at least two historical answer results; therefore, the answering area of the test questions can be determined on the basis of providing the width information and the height information with higher precision, and the accuracy and the efficiency of typesetting the test questions can be improved.

Based on the above embodiments, the information processing method provided in the embodiments of the present application, wherein the electronic device determines the answer area of the to-be-processed test question based on the size information, may be implemented in the following manner of steps a1 to a 4:

and A1, acquiring a preset answering area of the test question to be processed.

In the embodiment of the application, the electronic equipment acquires a preset answering area of the test question to be processed; the preset answering area and the question information of the test questions to be processed can jointly form the test questions to be processed.

The size information (including height information and width information) of the preset answering area may be preset, for example, the size information of the preset answering areas of the plurality of to-be-processed test questions is identical.

And A2, adjusting the preset width of the preset answering area based on the width information to obtain the adjusted width information.

In the embodiment of the application, the electronic equipment adjusts the preset width of the preset answering area based on the determined height information matched with the historical answering information to obtain the adjusted width information; wherein the adjustment operation may be zooming in or out, or left unchanged.

And A3, adjusting the preset height of the preset answering area based on the height information to obtain the adjusted height information.

In the embodiment of the application, the electronic equipment adjusts the preset height of the preset answering area based on the determined height information matched with the historical answering information to obtain the adjusted height information; wherein the adjustment operation may be zooming in or out, or left unchanged.

And step A4, generating a response area of the to-be-processed test question based on the adjusted width information and the adjusted height information.

In the embodiment of the application, the electronic device uses the adjusted width information and the adjusted height information as the size information of the answering area of the test question to be processed, so as to obtain the corresponding answering area.

It should be noted that, in the embodiment of the present application, the electronic device adjusts the size of the preset answering area of the to-be-processed test question based on the height information and the width information matched with the historical answering information, so as to obtain the answering area of the to-be-processed test question; therefore, a more accurate answering area can be provided, so that the typesetting layout of the answering area of the test questions is more reasonable, and the typesetting accuracy and efficiency of the test questions can be improved.

Based on this, the information processing method provided by the embodiment of the application is applied to the answer area for determining the test questions. Among them, "a row of tall poplar trees () sentinels. The electronic equipment typesets the original blank filling area in the blank filling test question to be typeset. Firstly, finding an answer library associated with the question information of the blank filling test questions to be typeset, and screening at least two pieces of historical answer information with correct answer results from the answer library; secondly, height parameters and width information of the layout area or the writing area occupied by each historical answer information are obtained, and then the height average value h corresponding to the historical answer information is obtainediHeight variance ShWidth mean value wiAnd width variance SwAnd i is the number of the historical answering information. And respectively calculating the height information H and the width information W of the answering area corresponding to the blank filling test question to be typeset by adopting the following formulas (1) and (2), as shown in the formulas (1) and (2).

Wherein e ishIs wideRandom parameter corresponding to degree information, ewThe random parameter corresponding to the height information is a value corresponding to the height information and the value of the random parameter corresponding to the height information is determined according to the actual requirement.

And finally, adjusting the size of the original blank filling area in the blank filling test question to be typeset by adopting the height information H and the width information W of the answering area corresponding to the blank filling test question to be typeset to obtain the sentinels of the row of high white poplar images (). ".

Based on the foregoing embodiments, the present application further provides an information processing apparatus 4, where the information processing apparatus 4 may be applied to an information processing method provided in the embodiments corresponding to fig. 1 to 3, and as shown in fig. 4, the information processing apparatus 4 includes:

an obtaining module 41, configured to obtain a test question to be processed;

a first determining module 42, configured to determine historical answering information associated with the to-be-processed test question;

a second determining module 43, configured to determine size information matching the historical response information;

and a third determining module 44, configured to determine, based on the size information, a response area of the to-be-processed test question.

In other embodiments of the present application, the obtaining module 41 is further configured to obtain a database of answers associated with the to-be-processed test question; the first determining module 42 is further configured to determine question information of the to-be-processed test questions; and determining historical answering information associated with the topic information from the answered question bank.

In other embodiments of the present application, the first determining module 42 is further configured to determine intermediate answer information associated with the topic information from the already-answered question bank; and screening the historical answer information with correct answer results from the intermediate answer information.

In other embodiments of the present application, in a case that the historical response information is at least two historical response results, the second determining module 43 is further configured to determine a width value and a height value of a response area corresponding to each of the at least two historical response results; determining the size information matching the at least two historical answers based on the width value and the height value.

In other embodiments of the present application, the second determining module 43 is further configured to obtain a number of responses of the historical response result in the at least two historical response results; determining a width mean value corresponding to the at least two historical answer results based on the answer quantity and the width value of the answer area corresponding to each historical answer result; determining a height average value corresponding to the at least two historical answer results based on the answer quantity and the height value of the answer area corresponding to each historical answer result; determining width information and height information which are matched with the at least two historical answer results based on the answer number, the width value, the width mean value, the height value and the height mean value; wherein the size information includes the height information and the height information.

In other embodiments of the present application, the second determining module 43 is further configured to determine a width variance matching the at least two historical responses based on the number of responses, the width mean, and the width value of the response area corresponding to each historical response; determining a height variance matched with the at least two historical answer results based on the answer quantity, the height mean value and the height value of the answer area corresponding to each historical answer result; fusing the width mean value and the width variance to determine width information matched with the at least two historical answer results; and fusing the height mean value and the height variance to determine height information matched with the at least two historical answer results.

In other embodiments of the present application, the second determining module 43 is further configured to obtain a preset width correction value and a first adjustment amount; adjusting the width variance by using the first adjustment amount to obtain a first variance; fusing the preset width correction value, the width mean value and the first square difference to obtain the width information; acquiring a preset height correction value and a second adjustment quantity; adjusting the height variance by using the second adjustment amount to obtain a second variance; and fusing the preset height correction value, the height mean value and the second variance to obtain the height information.

In other embodiments of the present application, the third determining module 44 is further configured to obtain a preset answering area of the to-be-processed test question; adjusting the preset width of the preset answering area based on the width information to obtain adjusted width information; adjusting the preset height of the preset answering area based on the height information to obtain adjusted height information; and generating the answering area of the test question to be processed based on the adjusted width information and the adjusted height information.

It should be noted that, in this embodiment, specific implementation processes of steps executed by each module may refer to implementation processes in the information processing method provided in the embodiments corresponding to fig. 1 to fig. 3, and are not described herein again.

In the information processing apparatus provided in the embodiment of the present application, when the historical response information is at least two historical response results, the width information and the height information corresponding to the at least two historical response results are determined based on the width mean, the width variance, the height mean, and the height variance corresponding to the at least two historical response results, respectively; therefore, the answering area of the test questions can be determined on the basis of providing the width information and the height information with higher precision, and the accuracy and the efficiency of typesetting the test questions can be improved.

Based on the foregoing embodiment, an embodiment of the present application further provides an electronic device 5, where the electronic device 5 may be applied to an information processing method provided in the embodiments corresponding to fig. 1 to fig. 3, and as shown in fig. 5, the electronic device 5 may include: a processor 51, a memory 52, and a communication bus 53, wherein:

the communication bus 53 is used to realize a communication connection between the processor 51 and the memory 52.

The processor 51 is configured to execute a program of the information processing method stored in the memory 52 to implement the information processing method provided with reference to the corresponding embodiments of fig. 1 to 3.

According to the electronic device provided by the embodiment of the application, under the condition that the historical answer information is at least two historical answer results, the width information and the height information corresponding to the at least two historical answer results are determined respectively based on the width mean value, the width variance, the height mean value and the height variance corresponding to the at least two historical answer results; therefore, the answering area of the test questions can be determined on the basis of providing the width information and the height information with higher precision, and the accuracy and the efficiency of typesetting the test questions can be improved.

Based on the foregoing embodiments, embodiments of the present application provide a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement an information processing method as provided by the embodiments corresponding to fig. 1 to 3.

The computer-readable storage medium may be a Memory such as a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Read Only Disc (CD-ROM); and may be various electronic devices such as mobile phones, computers, tablet devices, personal digital assistants, etc., including one or any combination of the above-mentioned memories.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present application.

The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种文档内容的显示方法、装置及设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!