Image generation system, method and apparatus

By deploying the same question code on both the client and management sides, the management server forwards the answer data to the control server to generate image instructions, and the second client generates the question image, thus solving the cross-platform incompatibility problem and improving the stability and efficiency of image generation.

CN116527712BActive Publication Date: 2025-11-04BEIJING YUANLI WEILAI SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310486897.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2025-11-04
Estimated Expiration
2043-04-28

AI Technical Summary

Technical Problem

In existing technologies, the different code deployed on the client and the answer management terminal leads to incompatibility in cross-platform reuse, resulting in low efficiency and instability in image generation.

Method used

By deploying the same question code on the first and second clients, the management server receives the answer data and forwards it to the control server. The control server generates an image generation instruction, the second client responds to the instruction to generate the question image and updates it, and the management server executes the target task.

Benefits of technology

It resolves cross-platform incompatibility issues, improves code stability and the efficiency of answer image generation, and enhances the accuracy and usability of answer images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116527712B_ABST
    Figure CN116527712B_ABST
Patent Text Reader

Abstract

The present specification provides an image generation system, method and device, wherein the image generation system comprises a control server, a first client, a second client and a management server, the first client and the second client are deployed with the same question code; the management server receives the answer data submitted by the first client for the question data, and forwards the answer data and the question data to the control server; the control server generates an image generation instruction carrying the answer data and the question data, and sends it to the second client; the second client invokes the question code and runs in response to the image generation instruction, generates a question image based on the code running result and the question data carried in the image generation instruction, updates the question image based on the answer data, and collects an answer image according to the update result; the management server executes a target task based on the answer image upon receiving the answer image.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present specification relates to the technical field of computers, and particularly relates to an image generation system. The present specification also relates to an image generation method, an image generation device, a computing device, and a computer readable storage medium. BACKGROUND

[0002] With the development of Internet technology, online answering is accepted by more and more users due to its convenience and paperless characteristics. Online answering is also applied to more and more business scenarios such as questionnaire survey and teaching test. In online answering, a user answers questions in sequence according to the question playing order on a client, and submits the answer data after all the questions are answered. Then, the answer data of the user is summarized by an answer management end. In the prior art, because the codes deployed on the client and the answer management end are different, cross-platform reuse cannot be achieved, and there is a compatibility problem. Therefore, a set of codes needs to be developed for the client and the answer management end respectively, so as to generate an answer image. This image generation method may cause unstable code running and low image generation efficiency. Therefore, an effective method is needed to solve the above problems. SUMMARY

[0003] Therefore, an image generation system is provided in the embodiments of the present specification. The present specification also relates to an image generation method, an image generation device, a computing device, and a computer readable storage medium to solve the technical defects in the prior art.

[0004] According to a first aspect of the embodiments of the present specification, an image generation system is provided, comprising: a control server, a first client, a second client and a management server, the first client and the second client are deployed with the same question code;

[0005] The management server receives the answer data submitted by the first client for the question data, and forwards the answer data and the question data to the control server;

[0006] The control server generates an image generation instruction carrying the answer data and the question data, and sends the image generation instruction to the second client;

[0007] The second client invokes the question code and runs in response to the image generation instruction, generates a question image based on the question data carried in the image generation instruction according to the code running result, updates the question image based on the answer data, and acquires an answer image according to the update result;

[0008] The management server executes a target task based on the answer image when the answer image is received.

[0009] In an optional embodiment, the first client submits a question data acquisition request carrying user information to the management server in response to a start answering instruction submitted by the user;

[0010] The management server reads question data corresponding to the user information from a pre-stored user information table and sends the question data to the first client in response to the question data acquisition request;

[0011] The first client invokes the question code and runs, generates an answering interface based on the code running result, receives answering data submitted by the user for question data displayed in the answering interface, and submits the answering data to the management server.

[0012] In an optional embodiment, the first client receives answer data submitted by the user for question data displayed in the answering interface, splices attribute information of the question data and the answer data into answering data, and submits the answering data to the management server.

[0013] In an optional embodiment, the management server generates a question file package based on the answering data and the question data, generates an image generation request carrying the question file package, and sends the image generation request to the control server.

[0014] The second client receives and parses the image generation request forwarded by the control server, determines a question file package according to a parsing result, and extracts the answering data and the question data from the question file package.

[0015] In an optional embodiment, the second client generates an answer image based on the answering data carried in the image generation instruction according to the code running result, and splices the question image and the answer image into an answering image.

[0016] In an optional embodiment, when the target task is a question report generation task, the management server determines a first target score corresponding to the answering data based on the answering data and pre-stored reference answer data, and generates a question report based on the answering image and the first target score when the answering image is received.

[0017] In an optional embodiment, when the target task is a scoring task, the management server performs character recognition on the answering image, determines the answering data contained in the answering image according to a recognition result, and determines a second target score corresponding to the answering data based on the reference answer data.

[0018] In an optional embodiment, when the question type corresponding to the question data is a selection question, the second client invokes the question data carried in the image generation instruction based on the code running result, generates a question text image and a question option image, and takes the question text image and the question option image as a question image;

[0019] Correspondingly, the management server splices the question text image and the question option image contained in the answer image and the question image, and performs a target task based on the splicing result.

[0020] In an optional embodiment, the second client sends the answer image carrying the user label information to the control server as feedback of the image generation instruction.

[0021] The control server forwards the answer image carrying the user label information to the management server.

[0022] According to a third aspect of the embodiments of the present specification, an image generation method is provided, applied to a data management system including a control server, a first client, a second client, and a management server, the first client and the second client being deployed with the same question code;

[0023] The management server receives answer data submitted by the first client for question data, and forwards the answer data and the question data to the control server;

[0024] The control server generates an image generation instruction carrying the answer data and the question data;

[0025] The second client is invoked and run in response to the image generation instruction, and a question image is generated based on the question data carried in the image generation instruction based on the code running result, the question image is updated based on the answer data, and an answer image is collected according to the update result;

[0026] When the management server receives the answer image, a target task is performed based on the answer image.

[0027] According to a fourth aspect of the embodiments of the present specification, an image generation device is provided, applied to a data management system including a control server, a first client, a second client, and a management server, the first client and the second client being deployed with the same question code;

[0028] The receiving module is configured to receive, by the management server, the answer data submitted by the first client for the question data, and forward the answer data and the question data to the control server;

[0029] The generating module is configured to generate, by the control server, image generation instructions carrying the answer data and the question data;

[0030] The collecting module is configured to invoke the question code deployed by the second client and run in response to the image generation instructions, generate a question image based on the question data carried in the image generation instructions according to a code running result, update the question image based on the answer data, and collect an answer image according to an update result.

[0031] The executing module is configured to execute a target task based on the answer image in a case where the management server receives the answer image.

[0032] According to a fifth aspect of an embodiment of the present specification, a computing device is provided, comprising:

[0033] a memory and a detector;

[0034] The memory is configured to store computer executable instructions, and the detector is configured to execute the computer executable instructions, which, when executed by the detector, implement the steps of the image generation method.

[0035] According to a sixth aspect of an embodiment of the present specification, a computer readable storage medium is provided, which stores computer executable instructions, which, when executed by a detector, implement the steps of the image generation method.

[0036] The image generation system provided by the present specification comprises a control server, a first client, a second client and a management server, the first client and the second client are deployed with the same question code; the management server receives answer data submitted by the first client for question data, and forwards the answer data and the question data to the control server; the control server generates image generation instructions carrying the answer data and the question data, and sends them to the second client; the second client invokes the question code and runs in response to the image generation instructions, generates a question image based on the question data carried in the image generation instructions according to a code running result, updates the question image based on the answer data, and collects an answer image according to an update result; and the management server executes a target task based on the answer image in a case where the answer image is received.

[0037] In an embodiment of the present specification, the first client and the second client are deployed with the same subject code, and when the first client runs the subject code, the user can generate the answer data through the first client and submit it to the management server, and then the second client runs the subject code again to realize the playback of the subject in the second client, and generate the subject image based on the answer data and the subject data sent by the control server, and collect the answer image containing the answer data, and then used for subsequent target task execution. The first client and the second client run the same subject code, thereby solving the problem that the subject code cannot be directly run in the management server, avoiding the incompatibility problem caused by running the subject code in the first client and the second client respectively, improving the stability of code running, thereby improving the efficiency and accuracy of the answer image generation, and improving the usability of the answer image. BRIEF DESCRIPTION OF DRAWINGS

[0038] Figure 1 is an architecture diagram of an image generation system provided by an embodiment of the present specification;

[0039] Figure 2 is a structural schematic diagram of an image generation system provided by an embodiment of the present specification;

[0040] Figure 3 is a generation process schematic diagram of an image generation method provided by an embodiment of the present specification;

[0041] Figure 4 is an interaction schematic diagram of an image generation system applied to answer image generation provided by an embodiment of the present specification;

[0042] Figure 5 is a flowchart of an image generation method provided by an embodiment of the present specification;

[0043] Figure 6 is a structural schematic diagram of an image generation device provided by an embodiment of the present specification;

[0044] Figure 7 is a structural block diagram of a computing device provided by an embodiment of the present specification. DETAILED DESCRIPTION

[0045] In the following description, a lot of specific details are set forth in order to facilitate a thorough understanding of the present specification. However, the present specification can be implemented in many different ways than described herein, and those skilled in the art can make similar extensions without departing from the connotation of the present specification, so the present specification is not limited to the specific implementation disclosed below.

[0046] The terminology used in this disclosure, one or more embodiments of the specification, is for the purpose of describing particular embodiments only and is not intended to be limiting of one or more embodiments of the specification. As used in this specification and the appended claims, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0047] It should be understood that although the terms first, second, etc. can be employed in this specification, one or more embodiments of the specification, to describe various information, these information should not be limited to these terms. These terms are only used to differentiate one piece of information from another piece of information of the same type. For example, a first can also be referred to as a second, and similarly, a second can also be referred to as a first, without departing from the scope of one or more embodiments of the specification. Depending on the context, the word "if" as used herein can be interpreted as meaning "when" or "in response to determining" or "in response to ascertaining".

[0048] Online education products design "answer exams" for various knowledge. After the students complete the answers on the student client, the answers are submitted to the educational administration system. The educational administration system needs to generate an answer report for the teacher. The answer report needs to show the stem, options and answer results of each question answered by the student, so as to facilitate the teacher to understand the examination situation of the student.

[0049] The answer exam is completed on the student client, and the answer report is generated on the educational administration system. Since the student client is implemented by native code and the educational administration system is implemented by front-end code, the technical languages are different, and cross-platform reuse is not possible. Therefore, the student client and the educational administration system need to develop a set of codes respectively to realize the display effect of the stem, options and answer results of each question. The repeated development has high cost and low efficiency.

[0050] Figure 1 is an architecture diagram of an image generation system provided by an embodiment of the specification; the first client refers to the student client, the management server refers to the educational administration system, the control server connects the management server and the second client, and provides data transmission service; the second client is the teacher client, and the second client and the first client are deployed with the same question code.

[0051] At the beginning of the exam, the first client runs the question code and receives the student's input data through handwriting, voice, selection, etc., and sends the input data to the management server. The management server receives the input data submitted by the first client for the question data, and forwards the input data and the question data to the control server. The control server generates an image generation instruction carrying the input data and the question data, and sends it to the second client. The second client, in response to the image generation instruction, calls and runs the question code, generates a question image based on the question data carried in the image generation instruction based on the code running result, updates the question image based on the input data, and collects the input image according to the update result. The input image is sent to the control server, and the control server forwards the input image to the management server. When the management server receives the input image, it performs a target task based on the input image. The target task can be an answer report generation task or an archive recording task.

[0052] In the present specification, an image generation system is provided, and the present specification also relates to an image generation method, an image generation device, a computing device, and a computer readable storage medium, which are described in detail one by one in the following embodiments.

[0053] Figure 2 is a structural schematic diagram of an image generation system provided by an embodiment of the present specification. The image generation system comprises a first client 210, a management server 220, a control server 230 and a second client 240. The first client 210 and the first client 230 are deployed with the same question code. The management server 220 receives the input data submitted by the first client 210 for the question data, and forwards the input data and the question data to the control server 230. The control server 230 generates an image generation instruction carrying the input data and the question data, and sends it to the first client 230. The first client 230, in response to the image generation instruction, calls and runs the question code, generates a question image based on the question data carried in the image generation instruction based on the code running result, updates the question image based on the input data, and collects the input image according to the update result. The management server 220, upon receiving the input image, performs a target task based on the input image.

[0054] Specifically, the image generation system is used to generate an answer image, the first client 210 can be a mobile device such as a mobile phone or a computer held by a student, a teacher or other user who answers questions; the management server 220 can be a teaching management platform, used to issue question data to the first client 210; the control server 230 provides data transmission, calculation and other services for the management server 220; and the first client 230 can be a mobile device such as a mobile phone or a computer connected to the teaching management platform.

[0055] The question code refers to a code edited by a computer language for implementing question playing; the answer data refers to answer information input by a user after the first client 210 displays a question to be answered to the user, the input mode can be voice input, handwriting input or selection input; the input mode can be determined according to the type of the question data; the question data can correspond to at least one question; in the case that the type of the question data corresponds to a selection question, the user can submit the answer data by selecting an option contained in the question data; in the case that the question data is an application question, a judgment question or a fill-in-the-blank question, the user can send voice data converted into a text form to the management server 220 by handwriting or voice; the question image can be an image containing the question data, that is, the question image only contains the stem information; the answer image can contain the question data and the answer data, or only contain the answer data; the answer image can be collected in the form of a screenshot; and the target task can be an answer report generation task or a data storage task, used to realize persistent storage of the user's answer data.

[0056] Based on this, the image generation system can be used to generate test, questionnaire and other answer images. The image generation system includes a control server 230, a first client 210, a second client 240 and a management server 220, the first client 210 and the first client 230 are deployed with the same question code, and when the question code is run, the question data is displayed on the answer interface based on the question data, so as to facilitate the user to answer; The first client 210 runs the question code and receives the student input answer data through handwriting, voice, selection and the like, and sends the answer data to the management server 220. The management server 220 receives the answer data submitted by the first client 210 for the question data, and forwards the answer data and the question data to the control server 230. The control server 230 generates an image generation instruction carrying the answer data and the question data, and sends it to the first client 230. The first client 230, in response to the image generation instruction, calls the question code and runs, generates the question image based on the question data carried in the image generation instruction based on the code running result, and updates the question image based on the answer data, and collects the answer image according to the update result. The answer image is sent to the control server 230, and the control server 230 forwards the answer image to the management server 220. When the management server 220 receives the answer image, it executes a target task based on the answer image. The target task can be an answer report generation task, or an archive recording task.

[0057] For example, Figure 3 is a generation process schematic diagram of an image generation method provided by an embodiment of the present specification. In the answer scene, the first client can be a mobile device such as a mobile phone held by a student participating in the test. The management server can be an educational service system. As Figure 3 shown, when starting the test, the first client receives the answer data input by the student and sends the answer data to the educational service system-B end, so as to send the answer data to the B end when the student performs the test and submits the test. When the student inputs the answer data, it can be input through voice, or it can be input through handwriting or selection. After the educational service system receives the answer data submitted from the first client, the answer data and the question data are packaged, and the data packet is sent to the control server to trigger the playback task.

[0058] The control server can be a Driver service, which is a control server system capable of task scheduling, arrangement, and execution state management. The control server sends a data packet to the second client-C end, triggering a playback task. The second client runs the subject code by executing an APP, realizes the playback of the answering scene, and plays back the student's answering page. The subject stem, options, and answer results are respectively screenshot cropped to generate an answering image. The second client returns the screenshot result, i.e., the answering image, to the control server. The control server returns the result to the educational service system. The educational service system generates an answer report for the student.

[0059] In summary, when the first client runs the subject code, the user can generate answering data through the first client and submit it to the management server, and then the second client runs the subject code again to realize the playback of the subject in the second client, and generate a subject image based on the answering data and the subject data sent by the control server 230, and collect the answering image containing the answering data, which is used for subsequent target task execution. The first client and the second client run the same subject code, thereby solving the problem that the subject code cannot be directly run in the management server, avoiding the incompatibility problem caused by running the subject code in the first client and the second client respectively, improving the stability of code running, thereby improving the efficiency and accuracy of the generation of the answering image, and improving the usability of the answering image.

[0060] Further, considering that the number of students participating in the exam is large, each student needs to answer different subjects, and since the exam is an online exam, students can be allowed to start the exam at different times, therefore, when the student submits a start answering instruction, the corresponding subject data needs to be sent according to the user information of the student. In this embodiment, the first client 210 submits a subject data acquisition request carrying user information to the management server 220 in response to the start answering instruction submitted by the user; the management server 220 reads the subject data corresponding to the user information from the pre-stored user information table in response to the subject data acquisition request, and sends it to the first client 210; the first client 210 calls and runs the subject code, generates an answering interface based on the code running result, receives the answering data submitted by the user for the subject data displayed in the answering interface, and submits it to the management server 220.

[0061] Specifically, in the case of a user being a student, the user information can be user identification information; the user information includes but is not limited to user name information, user number information, user organization information, and user level information. The user name information can be the user's name, the user number information can be the user's student ID, and the user organization information can be the user's school or class. The user information table is a list that stores user information. The answering interface is an interface displayed to the user, which can include visual question data, controls for answering the question, and a question countdown control.

[0062] Based on this, after the first client 210 receives the start answering instruction submitted by the user, it generates a question data acquisition request carrying user information in response to the start answering instruction, for acquiring question data corresponding to the user information. The first client 210 sends the question data acquisition request to the management server 220, and the management server 220 receives the question data acquisition request carrying the user information submitted by the first client 210. In response to the question data acquisition request, the management server 220 reads the question data corresponding to the user information from the pre-stored user information table. The question data is sent to the first client 210. After the first client 210 receives the question data, it calls the question code and runs, generates an answering interface based on the code running result, receives the answering data submitted by the user for the question data displayed in the answering interface, and submits the answering data to the management server 220.

[0063] For example, when a student uses a mobile phone to answer questions online, the student clicks the start answering control, and then the question data is acquired and displayed on the mobile phone's answering page. Each question can be displayed in turn, i.e., when the student finishes answering the current question, the next question is displayed. The student answers the question by voice input and submits the answer given by the student to the educational administration service system.

[0064] In summary, the management server reads the question data corresponding to the user information from the pre-stored user information table in response to the question data acquisition request and sends it to the first client, thereby realizing the sending of different question data to different users and achieving targeted sending of question data, improving the efficiency and flexibility of the examination.

[0065] Further, after the first client 210 receives the answer data, it can concatenate the answer data with attribute information such as the question number of the answer data to form answering data and send it to the management server 220, thereby facilitating subsequent generation of answering images. In this embodiment, the first client 210 receives the answer data submitted by the user for the question data displayed in the answering interface; concatenates the attribute information of the question data with the answer data to form answering data, and submits it to the management server 220.

[0066] Specifically, the attribute information can be a question number, a question code, or the like corresponding to the question data, and the attribute information of the question data is used to indicate the uniqueness of the question data.

[0067] Based on this, after the first client 210 receives the answer data submitted by the user for the question data displayed in the question interface, the question number information or the question identification information and the answer data are spliced to form the question data, and the question data is submitted to the management server 220, so as to realize one-to-one correspondence storage of the attribute information of the question data and the question data.

[0068] In the above example, in the case of 10 questions in the question data, each question corresponds to a question number. The 10 questions correspond to question numbers 1-10 respectively. After receiving the answer data submitted by the user for each question, the answer data and the question number of the question data corresponding to the answer data are spliced to form the question data, and are sent to the educational service system.

[0069] As described above, the attribute information of the question data and the answer data are spliced to form the question data and are submitted to the management server, so as to facilitate the management server to record and generate the question image subsequently. The question number and the answer data are one-to-one corresponding.

[0070] Further, after the management server 220 receives the question data submitted by the first client 210, directly sending the question data and the question data to the control server 230 will consume a lot of transmission resources, so the question file package can be generated based on the question data and the question data, and the question file package is sent to the control server 230. In this embodiment, the management server 220 generates a question file package based on the question data and the question data; generates an image generation request carrying the question file package, and sends the image generation request to the control server 230; the first client 230 receives the image generation request forwarded by the control server 230 and analyzes, determines the question file package according to the analysis result; extracts the question data and the question data in the question file package.

[0071] Specifically, the question file package includes the question data and the question data, which is used to realize packaging storage and compression of the question data and the question data, so as to reduce the resources consumed by the question data and the question data in the data transmission process; the image generation request is a computer instruction used to generate the question image.

[0072] Based on this, the management server 220 receives the answer data, generates a file package based on the answer data and the question data, and compresses the file package to obtain a question file package. An image generation request carrying the question file package is generated based on the question file package, and the image generation request is sent to the control server 230. After receiving the image generation request, the control server 230 forwards the image generation request to the first client 230. After receiving the image generation request forwarded by the control server 230, the first client 230 analyzes the image generation request, determines the question file package according to the analysis result, decompresses the question file package to obtain the file package, and extracts the answer data and the question data from the file package.

[0073] In the above example, after the educational service system receives the answer data submitted by the student through the mobile phone, the answer data and the question data are stored in a file package, and the file package is compressed to obtain a question file package. Then, the question file package can be sent in the subsequent data transmission process, thereby reducing the bandwidth resources consumed by data transmission.

[0074] In summary, the question file package is generated based on the answer data and the question data, and then an image generation request carrying the question file package is generated, thereby reducing the consumption of transmission resources in the process of sending the answer data and the question data to the control server.

[0075] Further, after the first client 230 calls the question data based on the code running result to generate a question image, considering the convenience of image viewing, the answer data carried in the image generation instruction can be called based on the code running result to generate an answer image, thereby realizing the generation of images corresponding to the question data and the answer data respectively. In this embodiment, the first client 230 calls the answer data carried in the image generation instruction based on the code running result to generate an answer image; and splices the question image and the answer image into an answer image.

[0076] Specifically, the answer image refers to an image generated based on the answer data, that is, the answer image only contains the answer data submitted by the user.

[0077] Based on this, the first client 230 calls the question data carried in the image generation instruction based on the code running result to generate a question image, and calls the answer data carried in the image generation instruction based on the code running result to generate an answer image. The question image and the answer image are spliced into an answer image corresponding to the question data.

[0078] In the above example, when the second client runs the subject code to realize playback, an image containing the subject data is generated, and an image containing the answer data is generated. According to the arrangement order of the 10 questions, the image containing the subject data and the image containing the answer data are spliced in turn to generate the answer image corresponding to the 10 questions.

[0079] In summary, after the second client generates the subject image based on the code running result calling the subject data, the answer image is generated based on the code running result calling the answer data carried in the image generation instruction, thereby improving the convenience of image viewing.

[0080] Further, considering that the question type of the subject data has multiple types, and the content of the question stem and the answer mode are different for different question types, in the case where the question type corresponding to the subject data is a selection question, the subject, the options, and the user input answer can be respectively screenshot to obtain images of different components. In this embodiment, in the case where the question type corresponding to the subject data is a selection question, the first client 230 generates a question text image and a question option image based on the code running result calling the subject data carried in the image generation instruction, and takes the question text image and the question option image as the subject image. Correspondingly, the management server 220 splices the answer image, the question text image, and the question option image contained in the subject image; and performs a target task based on the splicing result.

[0081] Specifically, the selection question can be a selection question in an examination question of multiple subjects. Correspondingly, the question text image is an image containing the stem data of the selection question, and the question option image is an image containing the option data of the selection question.

[0082] Based on this, in the case where the question type corresponding to the subject data is a selection question, the first client 230 generates a question text image containing the stem data of the selection question in the subject data, and generates a question option image containing the option data of the selection question in the subject data based on the code running result calling the subject data carried in the image generation instruction. The question text image and the question option image are taken as the subject image. The management server 220 splices the question text image and the question option image contained in the subject image according to the arrangement order of the question text image, the question option image, and the answer image, and performs a subsequent target task based on the splicing result.

[0083] In the above example, in the case where the subject data is a selection question, the client corresponding to the educational service system runs the subject code to realize the answer scene playback. In the case where the question type is a selection question, the stem, the options, and the answer are respectively screenshot. Then, the images corresponding to the stem, the options, and the answer are spliced into an answer image.

[0084] In summary, based on the code running result, the question data carried in the image generation instruction is called to generate the question text image and the question option image, the question text image and the question option image contained in the answer image and the question image are spliced to obtain the question image corresponding to the question data, and then subsequent question analysis is facilitated.

[0085] Further, after the first client 230 generates the answer image, since the question data and the answer data are contained in the answer image, the target score corresponding to the answer data can be determined, and then the answer report is generated, so that the teacher analyzes the answer report or explains the question based on the answer report. In the embodiment, in the case where the target task is the answer report generation task, the management server 220 determines the first target score corresponding to the answer data based on the answer data and the pre-stored reference answer data; in the case where the answer image is received, the answer report is generated based on the answer image and the first target score.

[0086] Specifically, the answer report refers to determining the first target score of the answer data after comparing the answer data submitted by the user with the reference answer data, and generating a question answer report containing the question data, the answer data and the first target score based on the question data, the answer data and the first target score. The reference answer data is the standard answer corresponding to the question data, which is the basis for judging the correctness of the answer data submitted by the user; the first target score refers to the score of the answer data compared with the reference answer data.

[0087] Based on this, the target task can be determined according to actual needs. In the case where the target task is the answer report generation task, the management server 220 determines the correctness of the answer data based on the answer data and the pre-stored reference answer data, and then determines the first target score corresponding to the answer data. In the case where the answer image is received, the first target score is added in the answer image, and the answer report is generated based on the answer image and the first target score.

[0088] In the above example, after the educational service system receives the answer image, the answer data of each question submitted by the student can be compared with the reference answer data, and then the score of each question is determined. Then, the scores of each question are summarized to obtain the total score of 10 questions, and the answer report of the student is generated based on the answer image and the total score of 10 questions, so as to archive the answer report or facilitate the teacher to explain the wrong questions to the student based on the answer report.

[0089] In summary, the target score corresponding to the answer data is determined based on the answer data and the pre-stored reference answer data, and the answer report is generated based on the answer image and the target score, so that the teacher can analyze the answer report or explain the question based on the answer report, thereby improving the convenience of subsequent question analysis.

[0090] Further, considering that the answer image contains question data and answer data, in order to determine the correctness of the answer, the target score corresponding to the answer data can be determined based on the reference answer data. In this embodiment, when the target task is a scoring task, the management server 220 performs character recognition on the answer image; determines the answer data contained in the answer image according to the recognition result; and determines the second target score corresponding to the answer data based on the reference answer data.

[0091] Specifically, character recognition refers to recognizing the characters contained in the answer image, and then extracting the characters contained in the answer image.

[0092] Therefore, the target task can be determined according to actual needs. When the target task is a scoring task, the management server 220 can extract the answer data contained in the answer image by performing character recognition on the answer image. Based on the reference answer data, the target score corresponding to the answer data is determined.

[0093] In the above example, after the educational administration service system receives the answer image, the characters in the answer image can be extracted by character recognition. Then the answer text is extracted, and the reference answer of the question is compared with the extracted answer text to determine the score corresponding to the answer text as the score of this question. Alternatively, the extracted text is typeset and laid out based on the answer image to obtain an answer text with the same text layout as the answer image. The reference answer of the question is compared with the answer data in the answer text to determine the score of the answer data. The scoring of each question in the answer image is realized.

[0094] In summary, the second target score corresponding to the answer data is determined based on the reference answer data, and then the correctness of the answer can be calculated, or the students can be ranked according to the second target score, and the wrong questions can be analyzed.

[0095] Further, considering that the number of students taking the exam is large, when all the students in the same class start the exam at the same time, since the exam questions of all the students in the same class are generally the same, when the first client 210 submits the answer data, the user tag information representing the identity information of the student also needs to be submitted, and then in the subsequent data transmission process, the user tag information is also carried, to avoid data transmission errors. In this embodiment, the first client 230 sends the answer image carrying the user tag information to the control server 230 as feedback of the image generation instruction; the control server 230 forwards the answer image carrying the user tag information to the management server 220.

[0096] Specifically, the user tag information refers to information with an identification function, which is used to represent the unique user attribute. The user tag information can be a user number, and can also be a user id and the like.

[0097] Based on this, the first client 230 sends the answer image carrying the user tag information to the control server 230 as feedback of the image generation instruction. The control server 230 receives the answer image carrying the user tag information, and forwards the answer image carrying the user tag information to the management server 220, so that the management server 220 determines the user corresponding to the answer image based on the user tag information.

[0098] In the above example, 26 students in a class take the exam at the same time, and the exam questions are the same. The second client generates an answer image carrying a student number. Then the answer image carrying the student number is sent to the control server. The control server forwards the answer image carrying the student number to the educational service system. So as to generate an answer report or archive data subsequently.

[0099] In summary, the control server forwards the answer image carrying the user tag information to the management server. In the data transmission process, the user tag information is carried to avoid data transmission errors, so that the answer image corresponds to the student. The first client and the second client are deployed with the same question code. When the first client runs the question code, the user can generate answer data through the first client and submit it to the management server, and then the second client runs the question code again to realize the playback of the question in the second client, and generate the question image based on the answer data and the question data sent by the control server. The answer image containing the answer data is collected, and then used for subsequent target task execution. The first client and the second client run the same question code, thereby solving the problem that the question code cannot be directly run in the management server, avoiding the incompatibility problem caused by running the question code in the first client and the second client respectively, improving the stability of code running, thereby improving the efficiency and accuracy of answer image generation, and improving the usability of answer image.

[0100] The following describes the image generation system provided in the specification in conjunction with the accompanying drawings Figure 4 Taking the application of the image generation system provided in the specification in the answer image generation as an example, the image generation system is further described. Among them, Figure 4 is an interactive schematic diagram of an image generation system applied to answer image generation provided by an embodiment of the specification, specifically comprising the following steps:

[0101] Step S402, the first client submits the answer data to the management server.

[0102] In the field of education, in the answer examination scene, the first client can be a mobile device such as a mobile phone held by a student participating in the examination. The management server can be an educational service system. When starting the examination, the first client receives the answer data input by the student and sends the answer data to the educational service system. When the student inputs the answer data, it can be input in the form of voice, or it can be input by handwriting or selecting the controls displayed in the answer interface.

[0103] Step S404, the management server receives the answer data submitted by the first client for the question data, and forwards the answer data and the question data to the control server.

[0104] After the educational service system receives the answer data submitted by the first client, it packs the answer data and the question data, sends them to the control server as a data packet, and triggers the playback task. The control server can be a Driver service, which is a control server system that can schedule, arrange and manage the execution state of tasks.

[0105] Step S406, the control server generates image generation instructions carrying the answer data and the question data, and sends them to the second client.

[0106] Step S408, the second client calls the question code and runs in response to the image generation instructions, and generates the answer image based on the question data and the answer data according to the code running result.

[0107] The second client parses the data packet to obtain the answer data and the question data. By running the question code, the answer scene playback is realized, and the student's answer page is played back. The stem, options, and answer results are respectively screenshot cropped to generate the answer image.

[0108] Step S410, the second client sends the answer image to the control server.

[0109] Step S412, the control server forwards the answer image to the management server.

[0110] Step S414, the management server performs the target task.

[0111] After the management server receives the answer image containing the stem, options, and answer results, the images corresponding to the stem, options, and answer results are respectively spliced to generate the answer report. The text content in the images corresponding to the stem, options, and answer results can also be recognized by text recognition, and the answer report can be generated based on the text content, so that the teacher can analyze the student based on the answer report and explain the wrong questions.

[0112] In summary, the first client and the second client are deployed with the same question code. When the first client runs the question code, the user can generate the answer data through the first client and submit it to the management server, and then the second client runs the question code again to realize the question playback in the second client, and generates the question image based on the answer data and the question data sent by the control server and the answer image containing the answer data, which is used for subsequent target task execution. The first client and the second client run the same question code, thereby solving the problem that the question code cannot be directly run in the management server, avoiding the incompatibility problem caused by running the question code in the first client and the second client respectively, improving the stability of code running, thereby improving the efficiency and accuracy of answer image generation, and improving the usability of the answer image.

[0113] Corresponding to the above system embodiment, the present specification also provides an image generation method embodiment. The image generation method is applied to a data management system including a control server, a first client, a second client, and a management server. The first client and the second client are deployed with the same question code, Figure 5is a flowchart of an image generation method provided by an embodiment of the present specification. As shown in Figure 5 The method comprises the following steps.

[0114] Step S502: receiving, by the management server, the answer data submitted by the first client for the question data, and forwarding the answer data and the question data to the control server;

[0115] Step S504: generating, by the control server, an image generation instruction carrying the answer data and the question data;

[0116] Step S506: calling and running the question code deployed by the second client in response to the image generation instruction, generating a question image based on the question data carried in the image generation instruction according to the code running result, updating the question image based on the answer data, and collecting an answer image according to the update result;

[0117] Step S508: in the case where the management server receives the answer image, performing a target task based on the answer image.

[0118] Optionally, in response to a start answering instruction submitted by a user, the first client submits a question data acquisition request carrying user information to the management server; in response to the question data acquisition request, the management server reads the question data corresponding to the user information from a pre-stored user information table and sends it to the first client; the first client calls and runs the question code, generates an answering interface based on the question data according to the code running result, receives the answer data submitted by the user for the question data displayed in the answering interface, and submits it to the management server.

[0119] Optionally, the first client receives the answer data submitted by the user for the question data displayed in the answering interface; splices the attribute information of the question data and the answer data into answer data and submits it to the management server.

[0120] Optionally, the management server generates a question file package based on the answer data and the question data; generates an image generation request carrying the question file package, and sends the image generation request to the control server; the second client receives and analyzes the image generation request forwarded by the control server, determines the question file package according to the analysis result, and extracts the answer data and the question data in the question file package.

[0121] Optionally, the second client invokes the question data carried in the image generation instruction based on the code running result to generate an answer image; and splices the question image and the answer image into a question-answering image.

[0122] Optionally, in a case where the target task is a question-answering report generation task, the management server determines a first target score corresponding to the question-answering data based on the question-answering data and pre-stored reference answer data; and in a case where the question-answering image is received, generates a question-answering report based on the question-answering image and the first target score.

[0123] Optionally, in a case where the target task is a scoring task, the management server performs character recognition on the question-answering image; determines the question-answering data contained in the question-answering image according to the recognition result; and determines a second target score corresponding to the question-answering data based on the reference answer data.

[0124] Optionally, in a case where the question type corresponding to the question data is a selection question, the second client generates a question text image and a question option image based on the question data carried in the image generation instruction based on the code running result, and takes the question text image and the question option image as the question image; correspondingly, the management server splices the question text image and the question option image contained in the answer image and the question image; and performs the target task based on the splicing result.

[0125] Optionally, the second client sends the question-answering image carrying user label information to the control server as feedback of the image generation instruction; and the control server forwards the question-answering image carrying the user label information to the management server.

[0126] In summary, the first client and the second client are deployed with the same question code, the user can generate question-answering data through the first client and submit it to the management server when the first client runs the question code, and then the second client runs the question code again to realize question playback in the second client, and generate a question image based on the question-answering data and the question data sent by the control server and collect a question-answering image containing the question-answering data, which is then used for subsequent target task execution. The first client and the second client run the same question code, thereby solving the problem that the question code cannot be directly run in the management server, avoiding the incompatibility problem caused by running the question code in the first client and the second client respectively, improving the stability of code running, thereby improving the efficiency and accuracy of question-answering image generation and the usability of question-answering image.

[0127] The above is a schematic scheme of the image generation method of the embodiment. It should be noted that the technical scheme of the image generation method and the technical scheme of the image generation system described above belong to the same concept, and the details of the technical scheme of the image generation method that are not described in detail can be referred to the description of the technical scheme of the image generation system.

[0128] Corresponding to the method embodiment, the present specification also provides an image generation device embodiment, Figure 6 is a structural schematic diagram of an image generation device provided by an embodiment of the present specification. The image generation device is applied to a data management system and includes a control server, a first client, a second client, and a management server. The first client and the second client are deployed with the same question code. As shown in Figure 6 The device includes:

[0129] The receiving module 602 is configured to receive, through the management server, answer data submitted by the first client for question data, and forward the answer data and the question data to the control server;

[0130] The generation module 604 is configured to generate, by the control server, an image generation instruction carrying the answer data and the question data;

[0131] The acquisition module 606 is configured to call the question code deployed by the second client and run in response to the image generation instruction, generate a question image based on the question data carried in the image generation instruction according to the code running result, update the question image based on the answer data, and acquire an answer image according to the update result;

[0132] The execution module 608 is configured to execute a target task based on the answer image when the management server receives the answer image.

[0133] An optional embodiment, the receiving module 602 is further configured to:

[0134] In response to a start answering instruction submitted by a user, the first client submits a question data acquisition request carrying user information to the management server; in response to the question data acquisition request, the management server reads the question data corresponding to the user information in the pre-stored user information table and sends it to the first client; the first client calls and runs the question code, generates an answering interface based on the question data according to the code running result, receives the answer data submitted by the user for the question data displayed in the answering interface, and submits it to the management server.

[0135] An optional embodiment, the receiving module 602 is further configured to:

[0136] The first client receives answer data submitted by a user for question data displayed in the question interface; splices attribute information of the question data and the answer data as question data, and submits the question data to the management server.

[0137] In an optional embodiment, the receiving module 602 is further configured to:

[0138] The management server generates question file packages based on the question data and the question data, generates an image generation request carrying the question file packages, and sends the image generation request to the control server; the second client receives and parses the image generation request forwarded by the control server, determines question file packages according to a parsing result, and extracts the question data and the question data in the question file packages.

[0139] In an optional embodiment, the collecting module 606 is further configured to:

[0140] The second client generates an answer image based on the answer data carried in the image generation instruction according to a code running result; and splices the question image and the answer image as a question image.

[0141] In an optional embodiment, the executing module 608 is further configured to:

[0142] In a case where the target task is a question report generation task, the management server determines a first target score corresponding to the question data based on the question data and pre-stored reference answer data; and in a case where the question image is received, generates a question report based on the question image and the first target score.

[0143] In an optional embodiment, the executing module 608 is further configured to:

[0144] In a case where the target task is a scoring task, the management server performs character recognition on the question image; determines the question data contained in the question image according to a recognition result; and determines a second target score corresponding to the question data based on the reference answer data.

[0145] In an optional embodiment, the collecting module 606 is further configured to:

[0146] In a case where the question type corresponding to the question data is a selection question, the second client invokes the question data carried in the image generation instruction based on the code running result, generates a question text image and a question option image, and takes the question text image and the question option image as a question image; correspondingly, the management server splices the answer image, the question text image and the question option image contained in the question image; and performs a target task based on the splicing result.

[0147] An optional embodiment, the collection module 606 is further configured to:

[0148] The second client sends the answer image carrying the user tag information to the control server as feedback of the image generation instruction; and the control server forwards the answer image carrying the user tag information to the management server.

[0149] In summary, the first client and the second client are deployed with the same question code, the user can generate answer data through the first client and submit to the management server when the first client runs the question code, and then the second client runs the question code again to realize the question playback in the second client, and generate a question image based on the answer data and the question data sent by the control server, and collect an answer image containing the answer data, which is then used for subsequent target task execution. The first client and the second client run the same question code, thereby solving the problem that the question code cannot be directly run in the management server, avoiding the incompatibility problem caused by running the question code in the first client and the second client respectively, improving the stability of code running, thereby improving the efficiency and accuracy of answer image generation, and improving the usability of the answer image.

[0150] The above is a schematic scheme of the image generation device of the embodiment. It should be noted that the technical scheme of the image generation device belongs to the same concept as the technical scheme of the image generation method described above, and the details of the technical scheme of the image generation device that are not described in detail can be referred to the description of the technical scheme of the image generation method.

[0151] Figure 7 A structural block diagram of a computing device 700 according to an embodiment of the present specification is shown. The components of the computing device 700 include but are not limited to a memory 710 and a detector 720. The detector 720 is connected to the memory 710 through a bus 730, and a database 750 is used to save data.

[0152] The computing device 700 also includes an access device 740 that enables the computing device 700 to communicate via one or more networks 760. Examples of such networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or combinations of such networks, such as the Internet. The access device 740 can include one or more of any type of network interface (for example, a network interface card (NIC)), such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a global microwave interconnection access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and so on.

[0153] In one embodiment of the present specification, the above-mentioned components of the computing device 700 and other components not shown in the figure can be connected to each other, for example, through a bus. It should be understood that, Figure 7 In one embodiment of the present specification, the above-mentioned components of the computing device 700 and other components not shown in the figure can be connected to each other, for example, through a bus. It should be understood that, Figure 7 The computing device structure diagram shown is only for the purpose of example, and is not a limitation on the scope of the present specification. Other components can be added or replaced as needed by those skilled in the art.

[0154] The computing device 700 can be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (for example, a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, and so on), a mobile phone (for example, a smartphone), a wearable computing device (for example, a smart watch, smart glasses, and so on), or other types of mobile devices, or a stationary computing device such as a desktop computer or a PC. The computing device 700 can also be a mobile or stationary server.

[0155] Among them, the detector 720 is used to execute the steps of the above-mentioned image generation method.

[0156] The above is a schematic scheme of a computing device of the present embodiment. It should be noted that the technical scheme of the computing device belongs to the same concept as the technical scheme of the above-mentioned image generation system, and the details of the technical scheme of the computing device that are not described in detail can be referred to the description of the technical scheme of the above-mentioned image generation system.

[0157] An embodiment of the present specification also provides a computer readable storage medium, which stores computer instructions, the instructions being executed to implement the steps of the above-mentioned image generation method.

[0158] The above is a schematic solution of the computer readable storage medium of the embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the image generation system described above belong to the same concept, and the details of the technical solution of the storage medium that are not described in detail can be seen from the description of the technical solution of the image generation system.

[0159] The above describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the acts or steps recited in the claims can be performed in an order other than that described in the embodiments and still achieve desirable results. In addition, the processes depicted in the figures do not necessarily require the particular order shown or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or advantageous.

[0160] The computer instructions include computer program code, which can be in the form of source code, object code, executable code, or some intermediate form. The computer readable medium can include any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the contents of the computer readable medium can be appropriately increased or decreased according to the requirements of patent practice, for example, in some regions, according to patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.

[0161] It should be noted that for the foregoing method embodiments, in order to facilitate description, they are all expressed as a combination of a series of acts, but those skilled in the art should know that the present specification is not limited by the order of the described acts, because according to the present specification, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the acts and modules involved are not necessarily all necessary for the present specification.

[0162] In the above embodiments, the description of each embodiment has its own emphasis, and the parts not described in detail in a certain embodiment can be seen from the related description of other embodiments.

[0163] The preferred embodiments of the present specification disclosed above are only used to help illustrate the present specification. Alternative embodiments do not describe all the details and limit the present application to the specific embodiments described. Obviously, many modifications and changes can be made according to the content of the present specification. The present specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present specification, so that those skilled in the art can well understand and utilize the present specification. The present specification is limited only by the claims and their full scope and equivalents.

Claims

1. An image generation system, characterized by, The system comprises a control server, a first client, a second client and a management server, wherein the first client and the second client are deployed with the same subject code; The management server receives the answer data submitted by the first client for the subject data, and forwards the answer data and the subject data to the control server; The control server generates an image generation instruction carrying the answer data and the subject data, and sends the image generation instruction to the second client; The second client invokes the subject code and runs in response to the image generation instruction, generates a subject image based on the subject data carried in the image generation instruction according to the code running result, updates the subject image based on the answer data, and collects an answer image according to the update result; The management server executes a target task based on the answer image when the answer image is received.

2. The system of claim 1, wherein, The first client submits a subject data acquisition request carrying user information to the management server in response to a start answering instruction submitted by the user; The management server reads the subject data corresponding to the user information from the pre-stored user information table in response to the subject data acquisition request, and sends the subject data to the first client; The first client invokes the subject code and runs, generates an answer interface based on the subject data according to the code running result, receives the answer data submitted by the user for the subject data displayed in the answer interface, and submits the answer data to the management server.

3. The system of claim 2, wherein, The first client receives the answer data submitted by the user for the subject data displayed in the answer interface, splices the attribute information of the subject data and the answer data into answer data, and submits the answer data to the management server.

4. The system of claim 1, wherein, The management server generates a subject file package based on the answer data and the subject data, generates an image generation request carrying the subject file package, and sends the image generation request to the control server; The second client receives and analyzes the image generation request forwarded by the control server, determines a subject file package according to the analysis result, and extracts the answer data and the subject data from the subject file package. The second client generates an answer image based on the answer data carried in the image generation instruction according to the code running result, and splices the subject image and the answer image into an answer image.

5. The system of claim 1, wherein, When the target task is a report generation task, the management server determines a first target score corresponding to the answer data based on the answer data and pre-stored reference answer data; 6. The system of claim 1, wherein, When the answer image is received, the management server generates an answer report based on the answer image and the first target score. When the target task is a scoring task, the management server performs character recognition on the answer image, determines the answer data contained in the answer image according to the recognition result, and determines a second target score corresponding to the answer data based on the reference answer data.

7. The system of claim 6, wherein, ​ ​ 8. The system of claim 5, wherein, In a case where the question type corresponding to the question data is a selection question, the second client generates a question text image and a question option image based on the question data carried in the image generation instruction according to a code running result, and takes the question text image and the question option image as a question image; Correspondingly, the management server splices the answer image, the question text image and the question option image contained in the question image; A target task is executed based on the splicing result.

9. The system of claim 2, wherein, The second client sends the answer image carrying the user label information to the control server as feedback of the image generation instruction; The control server forwards the answer image carrying the user label information to the management server.

10. An image generation method applied to a data management system, characterized by, The control server, the first client, the second client and the management server are included, and the first client and the second client are deployed with the same question code; The management server receives answer data submitted by the first client for question data, and forwards the answer data and the question data to the control server; The control server generates an image generation instruction carrying the answer data and the question data; The second client is called and run in response to the image generation instruction, a question image is generated based on the question data carried in the image generation instruction according to a code running result, the question image is updated based on the answer data, and an answer image is collected according to an update result; In a case where the management server receives the answer image, a target task is executed based on the answer image.

11. An image generation apparatus applied to a data management system, characterized by comprising: The control server, the first client, the second client and the management server are included, and the first client and the second client are deployed with the same question code; A module is configured to receive, by the management server, answer data submitted by the first client for question data, and forward the answer data and the question data to the control server; A module is configured to generate, by the control server, an image generation instruction carrying the answer data and the question data; A module is configured to call and run the question code deployed by the second client in response to the image generation instruction, generate a question image based on the question data carried in the image generation instruction according to a code running result, update the question image based on the answer data, and collect an answer image according to an update result; A module is configured to execute a target task based on the answer image in a case where the management server receives the answer image.

12. A computing device, comprising: The memory is used to store computer executable instructions, and the detector is used to execute the computer executable instructions to realize the steps of the method of claim 10.

13. A computer-readable storage medium storing computer instructions, wherein, The instructions are executed by the detector to realize the steps of the method of claim 10.

Citation Information

Patent Citations

  • Voice answering method and device

    CN110706536A

  • Operation and maintenance management method and system for internet data center and electronic device

    CN112688808A