Method and device for dynamically configuring answering scenarios

Through the method of dynamically configuring the answering scenario, the mapping relationship between the scene ID and the answering structure, question data source and function is used to solve the problem of version iteration when adding new scenarios by K12 education mobile app, and the flexible control of functions and user experience improvement is achieved.

CN111177627BActive Publication Date: 2024-11-29SMALL BOATS SAILING EDUCATION TECH (BEIJING) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201911377554.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-27
Publication Date
2024-11-29
Estimated Expiration
2039-12-27

AI Technical Summary

Technical Problem

The existing K12 education mobile app needs to be iterated version when adding new usage scenarios, resulting in high development costs and poor user experience, and cannot quickly meet user needs.

Method used

Through the method of dynamically configuring the answering scenario, using dynamic data distribution technology, the mapping relationship between the scene ID and the answering structure, the question data source and the usage function is established, and the dynamic expansion of the business is supported, and the client and server work together to realize the dynamic loading of the scenario and deal with.

Benefits of technology

Without reupdating and installing programs, mobile education software can flexibly control business functions, save development costs, improve development efficiency, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111177627B_ABST
    Figure CN111177627B_ABST
Patent Text Reader

Abstract

The present invention provides a method for dynamically configuring answering scenarios, namely: configuring multiple answering scenarios; responding to a request from a client to start answering, distributing corresponding answering scenarios to the client; responding to a user's request to submit an answer, the server side processes the answering content and generates a URL address of a display result page and sends it to the client. The present invention also discloses a device for dynamically configuring answering scenarios, which includes a scenario configuration module for configuring each answering scenario; a scenario distribution module for responding to a request from a client to start answering, distributing corresponding answering scenarios to the client; and an answer processing module for responding to a user's request to submit an answer, the server side processes the answering content and generates a URL address of a display result page and sends it to the client. Through the above-mentioned method and device, the present invention enables mobile education software to flexibly control business functions without having to re-update the installation program, thereby saving development costs and improving development efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of online education, and in particular to a method and device for solving the problem of dynamically configuring answering scenarios in basic education (abbreviated as K12) on mobile phone software. Background Art

[0002] Currently, K12 education services have developed from physical classrooms to online courses. With the popularization of smart phones, education services are also gradually emerging on mobile software, that is, mobile apps. In mobile apps in education-related industries, you can complete functions such as answering practice tests and exercises, and can provide functions such as analysis and explanation of answers to exercises. Usually, a combination of various functions with specific purposes in educational software is called a scenario. When the app operator develops new business based on user needs, it is often necessary to add scenarios to the existing software. Under the current circumstances, if you need to add a new usage scenario to the app, you must iterate the app, otherwise the function of the new scenario cannot be realized, resulting in the app software operator being unable to quickly meet user needs, making the user experience worse, and thus losing customers. Summary of the invention

[0003] In view of the above reasons, the purpose of the present invention is to provide a method and device for dynamically configuring answering scenarios. The method solves the problem of high coupling between scenario services and app software versions by using a dynamic data distribution method, and supports dynamic business expansion functions.

[0004] To achieve the above-mentioned purpose, the present invention adopts the following technical solutions: a method for dynamically configuring answering scenarios, which includes the following steps: configuring multiple answering scenarios; in response to the client's request to initiate answering, distributing the corresponding answering scenarios to the client; in response to the user's request to submit an answer, the server processes the answer content and generates a URL address for displaying the result page and sends it to the client.

[0005] Furthermore, the configuration of the answering scenario includes: setting a corresponding answering structure for each scenario, and establishing a mapping relationship between the scenario ID and the answering structure; setting a corresponding question data source for each scenario, and establishing a mapping relationship between the scenario ID and the question data source; setting a corresponding usage function for each scenario, and establishing a mapping relationship between the scenario ID and the usage function.

[0006] Furthermore, the "response to the client's request to initiate answering and distributing the corresponding answering scenario to the client" includes: the scenario ID is configured as an input parameter, a data request interface request is initiated, and the answer structure and usage function are configured as return parameters and distributed to the client; and the question is loaded according to the mapping relationship between the scenario ID and the question data source.

[0007] Furthermore, the "loading of topics" includes: when the topic information exceeds the display range of a single page, it is divided into multiple pages and loaded multiple times, each time loading the current page forward by several pages, and the number of loaded pages is determined according to the system cache.

[0008] Furthermore, the method for determining the number of pages to be loaded based on the system cache is: obtaining the test paper answer structure and obtaining multiple HTML question data; rendering the current page question information; asynchronously starting the calculation thread to check whether the question data at two offsets forward and backward exists; if the question data exists, rendering the question information; if the question information does not exist, initiating a data request to obtain the question information within the range.

[0009] Furthermore, the "response to the user's request to submit an answer, the server processes the answer content and generates a URL address for displaying the result page and sends it to the client" further includes: establishing a mapping relationship between the question and the corresponding answer, and approving the answer content; generating the URL address of the result page of the approval result and sending it to the client.

[0010] Furthermore, the scenario ID at least includes a test scenario ID, a synchronous practice scenario ID, a learning by analogy scenario ID, a knowledge diagnosis scenario ID, a wrong question scenario ID, a special practice scenario ID, an online test scenario ID, a weak point scenario ID, and a short-term training course scenario ID;

[0011] The usage functions at least include: PDF download, printing, difficulty selection, analysis, collection, feedback, timing, and question cards.

[0012] Furthermore, after the answer is completed, the server generates a URL address for displaying the result page, and the URL address is loaded and displayed through webview, or the data is encrypted, and the data source is decrypted by the client and then loaded into html using webview for display.

[0013] The present invention also provides a device for dynamically configuring answering scenarios, comprising:

[0014] A scenario configuration module, which configures each answer scenario;

[0015] A scenario distribution module, wherein the scenario distribution module distributes a corresponding answer scenario to the client in response to a request from the client to initiate an answer;

[0016] The answer processing module responds to the user's request to submit an answer. The server processes the answer content and generates a URL address of the display result page and sends it to the client.

[0017] Furthermore, the scenario configuration module includes: a first configuration module, which sets a corresponding answer structure for each scenario and establishes a mapping relationship between the scenario ID and the answer structure; a second configuration module, which sets a corresponding question data source for each scenario and establishes a mapping relationship between the scenario ID and the question data source; a third configuration module, which sets a corresponding usage function for each scenario and establishes a mapping relationship between the scenario ID and the usage function.

[0018] The present invention uses the above-mentioned method and device to enable mobile education software, especially K12 education mobile education software, to flexibly control business functions without having to re-update and install the program, thereby saving development costs and improving development efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is a flow chart of the method of the present invention;

[0020] Figure 2 is a block diagram of the device of the present invention;

[0021] Figure 3 A functional framework diagram of an embodiment of the present invention;

[0022] Figure 4 The flowchart of one embodiment of the present invention is shown in FIG. DETAILED DESCRIPTION

[0023] In the prior art, apps related to mobile k12 education are composed of an app side and a server side. The server side relies on powerful databases and service request software and hardware, and can flexibly combine data types. However, the mobile app side is constrained by various factors, is highly coupled to the content specified in the source code, and has poor flexibility. If you need to change the answering scenario of the mobile k12 education app system, you need to rewrite all the source code, iterate the version, and recompile and publish the iterative version before you can use the changed answering scenario in the newly released app.

[0024] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings:

[0025] like Figure 1 As shown, one aspect of the present invention discloses a method for dynamically configuring answering scenarios, which comprises the following steps:

[0026] A variety of answering scenarios are configured on the server side. In one embodiment, the scenarios include but are not limited to at least test paper scenarios, synchronous practice scenarios, analogy scenarios, knowledge diagnosis scenarios, wrong question scenarios, special practice scenarios, online test scenarios, weak point scenarios, short-term training scenarios, etc. Accordingly, a unique ID is created for each scenario.

[0027] The scenario ID at least includes test paper scenario ID, synchronous practice scenario ID, learning by analogy scenario ID, knowledge diagnosis scenario ID, wrong question scenario ID, special practice scenario ID, online test scenario ID, weak point scenario ID, and short-term training course scenario ID.

[0028] A corresponding answer structure is set for each scenario, and a mapping relationship between the scenario ID and the answer structure is established. In one embodiment, since the functions and purposes to be achieved by each scenario are different, its answer structure is also different. For example, the test paper scenario includes a variety of questions (single choice, multiple choice, fill in the blank, selection, judgment, short answer, calculation, etc.), and different answer structures are set for each question. In the synchronous practice scenario and the special practice scenario, due to the strong correlation between the scenario and the course progress, the answer structure setting is relatively simple, which is one or two of single choice, multiple choice, fill in the blank, selection, judgment, short answer, calculation, etc.

[0029] A corresponding topic data source is set for each scenario, and a mapping relationship between the scenario ID and the topic data source is established. In one embodiment:

[0030] Test paper scenario: set a unique test paper ID for the questions on the same test paper to read the same test paper;

[0031] Popular wrong questions scenario: mark the wrong questions in each answering scenario, count the frequently wrong questions, and when entering this answering scenario, randomly select from these frequently wrong questions;

[0032] Synchronous practice scenario: In this scenario, each chapter has a corresponding unique identifier and is associated with a varying number of questions. When in this scenario, you only need to use the chapter ID to get the question information;

[0033] Apply what you have learned to other scenarios: Associate the knowledge points corresponding to each question, and associate at least 2-3 questions with one knowledge point. Set corresponding usage functions for each scenario, and establish a mapping relationship between scenario ID and usage functions. The usage functions corresponding to each scenario include at least: PDF download, printing, difficulty selection, analysis, collection, feedback, timing, and question cards.

[0034] Specifically, the answering scene is constructed:

[0035] Concept description: item refers to a question data

[0036] A section consists of multiple items and is the smallest unit for starting the answering process.

[0037] 1. Determine the scene ID, tentatively set to ANSWER_FLOW_A

[0038] 2. Filter items suitable for the scenario from the question bank to form multiple sections. Generate a unique identifier for each section: section_id (the question bank is a data center that the company has prepared and built).

[0039] 3. Create a table to store these section_ids and the mapping relationship between id and section.

[0040] 4. Create a table for submitting data processing, and store the section_id and the corresponding user behavior data, submitted data, and answer results.

[0041] 5. Configure the function to be used, difficulty (BOOL): YES / NO

[0042] pdf_down(BOOL): YES / NO

[0043] pdf_print(BOOL): YES / NO

[0044] feedback(BOOL): YES / NO

[0045] parsing(BOOL): YES / NO

[0046] In this way, the data for a single answering scenario is completed, and steps 1-5 are repeated for multiple scenarios (the scenario ID in step 1 must be unique).

[0047] When the client calls the interface to initiate a request, it will upload the scene ID and answer sheet ID, as well as the ANSWER_FLOW_A and section_id mentioned above. The server can go to the corresponding storage table and the function configuration mentioned in Item 5 through ANSWER_FLOW_A, and then find the corresponding question information through section_id, and then send the data to the client.

[0048] When the client calls the submission interface, it will upload ANSWER_FLOW_A, section_id, and the user's behavior statistics and answer data. The server can locate the storage table of this data through ANSWER_FLOW_A.

[0049] In this way, a dynamic answering system is formed. Adding or reducing answering scenarios is a server-side operation. The scenario ID and section_id are also issued by the server in other interfaces in the app. The client supports new answering scenarios without the need for version iteration. In response to the client's request to start answering, the corresponding answering scenario is distributed to the client.

[0050] In one embodiment, the server configures the scenario ID as an input parameter, initiates a data request interface request, configures the answer structure and usage function as return parameters, and distributes them to the client. The server loads the question according to the mapping relationship between the scenario ID and the question data source.

[0051] When the loaded question information exceeds the display range of a single page, it is divided into multiple pages and loaded multiple times, each time loading the current page forward several pages. The number of loaded pages is determined according to the system cache. The specific method is: obtain the test answer structure and obtain multiple HTML question data; render the current page question information; asynchronously start the calculation thread to check whether the question data at two offsets forward and backward exists; if the question data exists, render the question information; if the question information does not exist, initiate a data request to obtain the question information within the range.

[0052] According to the answer request submitted by the user, the server processes the answer content and generates the URL address of the display result page and sends it to the client. In one embodiment, the server responds to the answer request submitted by the user, processes the answer content and generates the URL address of the display result page and sends it to the client. The specific method is: establishing a mapping relationship between the question and the corresponding answer, and approving the answer content; generating the URL address of the result page of the approval result and sending it to the client.

[0053] After the answer is completed, the server generates a URL address for the display result page. This URL address can be loaded and displayed through webview, or the data can be encrypted, the data source can be decrypted by the client, and then loaded into html using webview for display.

[0054] In one embodiment, it comprises the following steps in sequence:

[0055] S1: Select answering scenario; S2: Start answering process; S3: Request data source; S4: Load question information; S5: Display rendering; S6: User answering; S7: Collect user behavior data; S8: Submit user data; S9: Display user answering results; S10: View and analyze; S11: Close answering process;

[0056] In the S3 step of requesting the data source, the request parameters include the dynamic scene ID parameters sent to the data source, and the data source can determine the data to be sent based on the dynamic scene ID parameter request parameters; in the S8 step of submitting user data, the received user data includes parameters corresponding to the dynamic scene ID parameter format described in step S3, which are used to classify and process the submitted user data.

[0057] The dynamic scene ID parameter is determined by the user in step S1 by selecting the answering scene, and the answering scene can be dynamically expanded.

[0058] The method of determining the number of loaded pages according to the system cache is:

[0059] S61: Get the test paper structure and get 5 HTML question data; S62: Render the question information of the current page; S63: Asynchronously start the calculation thread to check whether the question data of 2 offsets forward and backward exists; S64: If the question data exists, render the question information; if the question information does not exist, initiate a data request to obtain the question information within the range.

[0060] The information sent by the data source needs to be encrypted and sent, and decrypted in the display rendering step.

[0061] The encryption sending method is one of the RSA, AES and SHA1 encryption methods, and the decryption method is the decryption method corresponding to the aforementioned three encryption methods.

[0062] The rendering and displaying method is the webview method.

[0063] The method of collecting user behavior data is to set up a cache for counting.

[0064] The scope of collecting user behavior data is dynamically determined according to the answering scenario.

[0065] The method of displaying the user's answer results can use HTML language to load the question information, or it can be implemented using Objective-C, Swift, or Java.

[0066] After the answer is completed, the server will generate a URL address for the display result page, which can be directly loaded and displayed through webview; the data can also be encrypted, and the client can decrypt the data source and then load the html data through webview for display.

[0067] Another aspect of the present invention provides a device for dynamically configuring answering scenarios, including: a scenario configuration module, which configures each answering scenario;

[0068] The scenario configuration module includes: a first configuration module, which sets a corresponding answer structure for each scenario and establishes a mapping relationship between the scenario ID and the answer structure;

[0069] The second configuration module sets the corresponding topic data source for each scenario and establishes a mapping relationship between the scenario ID and the topic data source;

[0070] The third configuration module sets corresponding usage functions for each scenario and establishes a mapping relationship between scenario ID and usage functions. The usage functions at least include: PDF download, printing, difficulty selection, analysis, collection, feedback, timing, and question cards.

[0071] In one embodiment, the scenarios include but are not limited to at least test scenarios, synchronous practice scenarios, analogy scenarios, knowledge diagnosis scenarios, wrong question scenarios, special practice scenarios, online test scenarios, weak point scenarios, short-term training scenarios, etc. Accordingly, a unique ID is created for each scenario.

[0072] The scenario ID at least includes test paper scenario ID, synchronous practice scenario ID, learning by analogy scenario ID, knowledge diagnosis scenario ID, wrong question scenario ID, special practice scenario ID, online test scenario ID, weak point scenario ID, and short-term training course scenario ID.

[0073] A scenario distribution module, in response to a request from a client to start answering, distributes a corresponding answer scenario to the client;

[0074] The “response to the client's request to initiate answering, distributing the corresponding answering scenario to the client” further includes:

[0075] The scenario ID is configured as an input parameter, a data request interface request is initiated, and the answer structure and usage function are configured as return parameters and distributed to the client;

[0076] Load the topic according to the mapping relationship between the scene ID and the topic data source.

[0077] The “loading topic” further includes:

[0078] When the title information exceeds the display range of a single page, it is divided into multiple pages and loaded multiple times, each time loading the current page forward by several pages, and the number of loaded pages is determined according to the system cache.

[0079] The method of determining the number of loaded pages according to the system cache is:

[0080] Get the test answer structure and get multiple html question data;

[0081] Render the current page title information;

[0082] Start the calculation thread asynchronously and check whether the question data with two offsets forward and backward exists;

[0083] If the topic data exists, the topic information is rendered. If the topic information does not exist, a data request is initiated to obtain the topic information within the range.

[0084] The scenario IDs at least include test scenario IDs, synchronous practice scenario IDs, analogy scenario IDs, knowledge diagnosis scenario IDs, wrong question scenario IDs, special practice scenario IDs, online test scenario IDs, weak point scenario IDs, and short-term training course scenario IDs;

[0085] The usage functions at least include: PDF download, printing, difficulty selection, analysis, collection, feedback, timing, and question cards.

[0086] The answer processing module responds to the user's request to submit an answer, processes the answer content and generates a URL address for the display result page and sends it to the client.

[0087] The “in response to the user's request to submit an answer, the server processes the answer content and generates a URL address of a display result page and sends it to the client” further includes:

[0088] Establish a mapping relationship between questions and corresponding answers, and review and approve the answers;

[0089] Send the URL address of the approval result generation result page to the client.

[0090] After the answer is completed, the server generates a URL address for the display result page, which is loaded and displayed through webview, or the data is encrypted, and the data source is decrypted by the client and then loaded into html using webview for display.

[0091] In one embodiment of the present invention:

[0092] like Figure 3 , Figure 4 As shown, this embodiment includes two parts: data control and framework structure, both of which provide their own support for the answering process. The data control part manages various services closely related to data and has the ability to be dynamically expanded. The framework structure part is built according to the source code and is responsible for implementing specific functional services and cannot be dynamically expanded.

[0093] In this embodiment, the data control part includes two business branches: answering scenario and function control. In the answering scenario branch, various scenarios set according to business needs are saved, such as test papers, synchronous exercises, learning by analogy, knowledge diagnosis, wrong questions, special exercises, online tests, weaknesses, short-term training courses, etc. When it is necessary to expand the scenario, it is only necessary to describe the location of the data source required for the new scenario and ensure that the data source required for the new scenario is valid. In the function control branch, whether to enable the specific functions established in the framework structure part and the selection of parameters in the specific functions are implemented. Specifically including: whether to enable the data module, function module, reporting module, rendering module and result page rendering module, the default value is enabled. At the same time, it also includes determining the difficulty selection parameters in the function module.

[0094] When the user selects the answering scenario, in addition to determining the scenario, they also need to determine whether to download and the difficulty parameters of the test questions. The remaining parameters contained in the framework structure are set to default values. Therefore, when the user selects the answering scenario and starts the answering process, the valid data source and data distribution location, the module opening and closing required in the function control branch, whether to download and the difficulty parameters of the test questions have been determined. That is, the dynamic scenario ID parameters have been determined.

[0095] After determining the dynamic scene ID parameter, the user app side requests data from the corresponding data source according to the information contained in the dynamic scene ID parameter. After the data source selects the information that meets the requirements of the dynamic scene ID parameter, that is, the title information, it first uses the RAS algorithm to encrypt the information, and then sends it to the app side, which is loaded by the app side. In order to shorten the response speed of the app and improve the user experience, this embodiment adopts the method of paging to load html information during the loading process. When the title information exceeds the display range of one page, it is loaded multiple times in pages, and is implemented in the form of loading the current page backward several pages each time. The number of loaded pages is determined according to the system cache; when the title information does not exceed the display range of one page, the html information is directly loaded. In the case of multiple loading in pages, the number of pages of html information loaded each time is determined according to the system cache. The specific calculation method is: after the current title is rendered, the current title is used as the center, and the offset of the two titles on both sides is queried for the title cache information.

[0096] The core code to implement the above algorithm is:

[0097]

[0098]

[0099]

[0100] After loading, the RSA decryption algorithm is used for decryption, and the webview is used for rendering and display. The core code for rendering and display is as follows:

[0101] Decryption: [ZYBCommunicationTool decryptionWithRC4:contentItem.content];

[0102] render: [self.webView loadHTMLString:html baseURL:baseUrl];

[0103] Due to the dynamic characteristics of the framework, the UI in the interface needs to be presented in the form of HTML, and the interaction between the two is carried out by protocol interception analysis and JSCore. When intercepting, the specific steps are as follows: Use the webView:startLoadWithRequest:navigaitonType proxy provided by the UIWebView framework to intercept the protocol issued by the web. Among them, parsing the protocol means making corresponding operations, that is, the operations performed to achieve the purpose of interaction; JSCore is the API provided by Xcode to developers to interact with the web.

[0104] After decryption and rendering are completed, users can directly see the questions in the answering scene in the app and answer them. At the same time, when the app completes decryption and rendering, the operation of collecting user behavior data is started. The operation of collecting user behavior data is used to analyze user behavior, and the collection scope can be determined as needed. In this embodiment, data such as user exit, answer, view analysis, submit, and favorite are collected, and the collection form is point collection.

[0105] After the user completes the answer to the question and confirms the submission of the answer, the app sends the return data back to the data source along with the dynamic scene ID parameter. Since the submitted dynamic scene ID contains the answer scene, the server can classify and process the submitted data, realizing the dynamic nature of the submission.

[0106] When the server receives and processes the user's answer results, it will return the address for viewing the results, and the client will load and render it for the user to view. In this embodiment, the server will generate a URL address for the display result page, and the URL address can be directly loaded and displayed on the app in the form of HTML. In addition to the method in this embodiment, in other embodiments or methods, the data can also be encrypted, and the client can decrypt the data source and then load and display it in the form of HTML.

[0107] The URL address link generated by the server contains the answer information and analysis information of all the questions in the scene selected by the user. The app loads the answer and analysis information in the same way as the loading and rendering of the question information mentioned above. The user can click on the question number in question to view the answer and analysis information of the corresponding question.

[0108] When the user completes the answer to the question and the corresponding analysis information, he / she exits the scene or exits the app, and the process ends.

[0109] The above is a detailed introduction to a method and device for solving answering scenarios in K12 education on mobile phone software provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope, and the content of this specification should not be understood as a limitation on the technical solution of the present invention.

Claims

1. A method for dynamically configuring answering scenarios, characterized in that: It includes the following steps: Configuring multiple answering scenarios, where answering scenarios refer to various functional combinations with specific purposes in educational software; In response to a request from a client to initiate answering, a corresponding answering scenario is distributed to the client; In response to the user's request to submit an answer, the server processes the answer content and generates a URL address of the display result page and sends it to the client; The configuration answering scenario further includes: Set a corresponding answer structure for each scenario and establish a mapping relationship between the scenario ID and the answer structure; Set the corresponding topic data source for each scenario and establish a mapping relationship between the scenario ID and the topic data source; Set the corresponding usage function for each scene and establish the mapping relationship between scene ID and usage function; The scene ID includes: Test paper scenario: set a unique test paper ID for the questions on the same test paper to read the same test paper; Popular wrong questions scenario: mark the wrong questions in each answering scenario, count the frequently wrong questions, and when entering this answering scenario, randomly select from these frequently wrong questions; Synchronous practice scenario: In this scenario, each chapter has a corresponding unique identifier and is associated with a varying number of questions. When in this scenario, you only need to use the chapter ID to get the question information; Apply what you have learned to other situations: associate the knowledge points corresponding to each question, and associate one knowledge point with at least 2-3 questions; The answering scenario construction includes: Item refers to a question data; A section consists of multiple items and is the smallest unit for starting the answering process; Determine the scene ID, tentatively set to ANSWER_FLOW_A; Filter items suitable for the scenario from the question bank to form multiple sections, and generate a unique identifier for each section: section_id; Create a table to store these section_ids and the mapping relationship between id and section; Create a table for submitting data processing, storing section_id and corresponding user behavior data, submitted data, and answer results; In response to the request from the client to initiate answering, distributing the corresponding answering scenario to the client further includes: The scenario ID is configured as an input parameter, a data request interface request is initiated, and the answer structure and usage function are configured as return parameters and distributed to the client; Load the topic according to the mapping relationship between the scene ID and the topic data source; When the loaded title information exceeds the display range of a single page, it is divided into multiple pages and loaded multiple times, each time loading the current page and then loading several pages backwards. The number of loaded pages is determined by the system cache. The specific method is as follows: Get the test answer structure and get multiple html question data; Render the current page title information; Start the calculation thread asynchronously to check whether the topic data at the two offsets forward and backward exists; if the topic data exists, render the topic information; if the topic information does not exist, initiate a data request to obtain the topic information within the range.

2. The method for dynamically configuring answering scenarios according to claim 1, characterized in that: The scenario IDs at least include test scenario IDs, synchronous practice scenario IDs, analogy scenario IDs, knowledge diagnosis scenario IDs, wrong question scenario IDs, special practice scenario IDs, online test scenario IDs, weak point scenario IDs, and short-term training course scenario IDs; The usage functions at least include: PDF download, printing, difficulty selection, analysis, collection, feedback, timing, and question cards.

3. A device for dynamically configuring answering scenarios, characterized in that: A scenario configuration module, which configures each answer scenario, wherein the answer scenario refers to various functional combinations with specific purposes in the educational software; A scenario distribution module, wherein the scenario distribution module distributes a corresponding answer scenario to the client in response to a request from the client to initiate an answer; The answer processing module, in response to the user's request to submit an answer, processes the answer content on the server side and generates a URL address of a display result page and sends it to the client side; The scene configuration module includes: The first configuration module sets a corresponding answer structure for each scenario and establishes a mapping relationship between the scenario ID and the answer structure; The second configuration module sets the corresponding topic data source for each scenario and establishes a mapping relationship between the scenario ID and the topic data source; The third configuration module sets the corresponding usage function for each scene and establishes a mapping relationship between the scene ID and the usage function; The configuration answering scenario further includes: Set a corresponding answer structure for each scenario and establish a mapping relationship between the scenario ID and the answer structure; Set the corresponding topic data source for each scenario and establish a mapping relationship between the scenario ID and the topic data source; Set the corresponding usage function for each scene and establish the mapping relationship between scene ID and usage function; The scene ID includes: Test paper scenario: set a unique test paper ID for the questions on the same test paper to read the same test paper; Popular wrong questions scenario: mark the wrong questions in each answering scenario, count the frequently wrong questions, and when entering this answering scenario, randomly select from these frequently wrong questions; Synchronous practice scenario: In this scenario, each chapter has a corresponding unique identifier and is associated with a varying number of questions. When in this scenario, you only need to use the chapter ID to get the question information; Apply what you have learned to other situations: Associate the knowledge points corresponding to each question, and associate one knowledge point with at least 2-3 questions; The answering scenario construction includes: Item refers to a question data; A section consists of multiple items and is the smallest unit for starting the answering process; Determine the scene ID, tentatively set to ANSWER_FLOW_A; Filter items suitable for the scenario from the question bank to form multiple sections, and generate a unique identifier for each section: section_id; Create a table to store these section_ids and the mapping relationship between id and section; Create a table for submitting data processing, storing section_id and corresponding user behavior data, submitted data, and answer results; In response to the request from the client to initiate answering, distributing the corresponding answering scenario to the client further includes: The scenario ID is configured as an input parameter, a data request interface request is initiated, and the answer structure and usage function are configured as return parameters and distributed to the client; the question is loaded according to the mapping relationship between the scenario ID and the question data source; When the loaded title information exceeds the display range of a single page, it is divided into multiple pages and loaded multiple times, each time loading the current page and then loading several pages backwards. The number of loaded pages is determined by the system cache. The specific method is as follows: Get the test answer structure and get multiple html question data; Render the current page title information; Start the calculation thread asynchronously and check whether the question data with two offsets forward and backward exists; If the topic data exists, the topic information is rendered. If the topic information does not exist, a data request is initiated to obtain the topic information within the range.

Citation Information

Patent Citations

  • Data processing method and data processing device

    CN105469337A

  • Question assigning method and device, medium and server

    CN108363807A

  • Micro-school interactive teaching integrated service information system platform

    CN109035097A

  • A method for adaptively typesetting teaching content on a tablet device

    CN109376351A

  • Learning scene generation method and device

    CN109976534A