Form configuration method and device, electronic equipment and storage medium
By setting cascading relationships between multiple configuration groups and component information in dynamic forms, the problem that traditional dynamic forms cannot handle complex problems is solved, and more flexible data collection and more efficient data acquisition are achieved.
Patent Information
- Application Number
- CN202410909414.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-15
AI Technical Summary
Traditional dynamic forms cannot meet the needs in complex surveys or data annotations, because the selection of the next question or annotation item can only be based on the answer to the previous question, and cannot handle the situation based on the answers to the previous questions.
Through pre-set trigger rules, including multiple configuration groups and component information, the relationship and answers of each question are set in cascade, and the dynamic form configuration rules of the next question are comprehensively determined, allowing the display of the next question to depend on the previous questions. Answer.
It improves the efficiency and quality of data collection, provides more flexible configuration options, can more accurately obtain the required data, and reduces the time and effort required for data collection.
Smart Images

Figure CN118779052A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a form configuration method, device, electronic device and storage medium. Background Art
[0002] In today's information society, data collection and processing have become an important part of all walks of life. Among them, questionnaires and data annotation are two important ways to collect data. Questionnaires are usually used to collect people's views, opinions, behaviors and other information, while data annotation is mainly used to provide training data for artificial intelligence technologies such as machine learning.
[0003] In traditional questionnaires and data annotation methods, although dynamic forms have been implemented, their functions are still limited. Traditional dynamic forms can usually only determine the display of the next question based on the answer to the previous question. When conducting complex surveys or data annotation, the selection of the next question or annotation item may need to be based on the answers to the previous questions. In this case, traditional dynamic forms cannot meet the needs. Summary of the invention
[0004] Some embodiments of the present application aim to provide a form configuration method, device, electronic device and storage medium. Through the technical solution of the embodiments of the present application, by obtaining the answer to the question corresponding to the first component information and the second component information; when the answer to the question corresponding to the first component information satisfies the preset trigger rule, the second component information is displayed; wherein the preset trigger rule includes at least n configuration groups, each configuration group includes at least m component information, the configuration group and the component information are cascaded, the component information corresponds to the preset component answer, n is a natural number greater than or equal to 1, and m is a natural number greater than 1; one or more configuration groups are selected from the N configuration groups to trigger, and one or more triggers are selected from the m component information. In the embodiment of the present application, a trigger rule is preset, in which multiple configuration groups and multiple questions under the configuration group are cascaded, and the answers corresponding to each question, the relationship between each configuration group and the relationship between multiple questions under the configuration group are set, and by setting the answers to multiple questions, the dynamic form configuration rule of the next question is comprehensively judged. This rule can handle more complex problems, provide more flexible configuration options, and improve the efficiency and quality of data collection.
[0005] In a first aspect, some embodiments of the present application provide a form configuration method, including:
[0006] Obtaining the answer to the question corresponding to the first component information and the second component information;
[0007] When the answer to the question corresponding to the first component information satisfies a preset trigger rule, displaying the second component information;
[0008] Among them, the preset trigger rules include at least n configuration groups, each configuration group includes at least m component information, the configuration groups and the component information are cascaded, the component information corresponds to the preset component answer, n is a natural number greater than or equal to 1, and m is a natural number greater than 1; one or more configuration groups are selected from the N configuration groups to trigger, and one or more triggers are selected from the m component information.
[0009] Some embodiments of the present application pre-set trigger rules, in which multiple configuration groups and multiple questions under the configuration groups, as well as the answers corresponding to each question, the relationship between each configuration group and the relationship between multiple questions under the configuration group are cascaded. By setting the answers to multiple questions, the dynamic form configuration rules for the next question are comprehensively judged. Such rules can handle more complex problems, provide more flexible configuration options, and improve the efficiency and quality of data collection.
[0010] Optionally, when the answer to the question corresponding to the first component information satisfies a preset trigger rule, displaying the second component information includes:
[0011] If the answer to the question matches the preset component answer in the trigger rule, the second component information is triggered and displayed.
[0012] Some embodiments of the present application match the answers to the questions corresponding to the obtained multiple questions with the preset component answers in the trigger rules. If the match is successful, the second component information is triggered and displayed. The display of the next question is no longer determined solely by the answer to the previous question, but can be determined based on the answers to the previous questions. When the answers to the previous questions match the preset component answers in the trigger rules, the second component information is triggered and displayed, so as to obtain the required data more accurately and reduce the time and effort required for data collection.
[0013] Optionally, the component information includes at least one of a single-choice question, a multiple-choice question, a numerical question, a scoring question, a scoring question or a text question.
[0014] In some embodiments of the present application, component information is set to include at least one of single-choice questions, multiple-choice questions, numerical questions, scoring questions or text questions, which greatly enhances the flexibility of the dynamic form, making it better suited to complex questionnaires or data annotation tasks.
[0015] Optionally, the method further comprises:
[0016] The configuration groups, component information, the relationship between configuration groups, and the relationship between component information in the preset triggering rules are modified.
[0017] In some embodiments of the present application, different trigger rules can be set according to different needs, and the configuration groups, component information, relationships between configuration groups, and relationships between component information in the trigger rules can also be modified to better adapt to the specific circumstances of each individual, thereby improving the efficiency and quality of data collection, and it can obtain the required data more accurately while reducing the time and effort required for data collection.
[0018] In a second aspect, some embodiments of the present application provide a form configuration device, including:
[0019] An acquisition module, used to acquire the answer to the question corresponding to the first component information and the second component information;
[0020] A configuration module, configured to display the second component information when the answer to the question corresponding to the first component information satisfies a preset trigger rule;
[0021] Among them, the preset trigger rules include at least n configuration groups, each configuration group includes at least m component information, the configuration groups and the component information are cascaded, the component information corresponds to the preset component answer, n is a natural number greater than or equal to 1, and m is a natural number greater than 1; one or more configuration groups are selected from the N configuration groups to trigger, and one or more triggers are selected from the m component information.
[0022] Some embodiments of the present application pre-set trigger rules, in which multiple configuration groups and multiple questions under the configuration groups, as well as the answers corresponding to each question, the relationship between each configuration group and the relationship between multiple questions under the configuration group are cascaded. By setting the answers to multiple questions, the dynamic form configuration rules for the next question are comprehensively judged. Such rules can handle more complex problems, provide more flexible configuration options, and improve the efficiency and quality of data collection.
[0023] Optionally, the configuration module is used to:
[0024] If the answer to the question matches the preset component answer in the trigger rule, the second component information is triggered and displayed.
[0025] Some embodiments of the present application match the answers to the questions corresponding to the obtained multiple questions with the preset component answers in the trigger rules. If the match is successful, the second component information is triggered and displayed. The display of the next question is no longer determined solely by the answer to the previous question, but can be determined based on the answers to the previous questions. When the answers to the previous questions match the preset component answers in the trigger rules, the second component information is triggered and displayed, so as to obtain the required data more accurately and reduce the time and effort required for data collection.
[0026] Optionally, the component information includes at least one of a single-choice question, a multiple-choice question, a numerical question, a scoring question or a text question.
[0027] In some embodiments of the present application, component information is set to include at least one of single-choice questions, multiple-choice questions, numerical questions, scoring questions or text questions, which greatly enhances the flexibility of the dynamic form, making it better suited to complex questionnaires or data annotation tasks.
[0028] Optionally, the configuration module is further used to:
[0029] The configuration groups, component information, the relationship between configuration groups, and the relationship between component information in the preset triggering rules are modified.
[0030] In some embodiments of the present application, different trigger rules can be set according to different needs, and the configuration groups, component information, relationships between configuration groups, and relationships between component information in the trigger rules can also be modified to better adapt to the specific circumstances of each individual, thereby improving the efficiency and quality of data collection, and it can obtain the required data more accurately while reducing the time and effort required for data collection.
[0031] In a third aspect, some embodiments of the present application provide an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the form configuration method as described in any embodiment of the first aspect can be implemented.
[0032] In a fourth aspect, some embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can implement the form configuration method as described in any embodiment of the first aspect.
[0033] In a fifth aspect, some embodiments of the present application provide a computer program product, comprising a computer program, wherein the computer program, when executed by a processor, can implement the form configuration method as described in any embodiment of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions of some embodiments of the present application, the drawings required for use in some embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 A flowchart of a form configuration method provided in an embodiment of the present application;
[0036] Figure 2 A schematic diagram of the interface of the form configuration provided in the embodiment of the present application;
[0037] Figure 3 A schematic diagram of the structure of a form configuration device provided in an embodiment of the present application;
[0038] Figure 4 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The technical solutions in some embodiments of the present application will be described below in conjunction with the drawings in some embodiments of the present application.
[0040] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0041] In today's information society, data collection and processing have become an important part of all walks of life. Among them, questionnaires and data annotation are two important ways to collect data. Questionnaires are usually used to collect people's views, opinions, behaviors and other information, while data annotation is mainly used to provide training data for artificial intelligence technologies such as machine learning.
[0042] In traditional questionnaires and data annotation methods, although dynamic forms have been implemented, their functions are still limited. Traditional dynamic forms can usually only determine the display of the next question based on the answer to the previous question. When conducting complex surveys or data annotation, the selection of the next question or annotation item may need to be based on the answers to the previous questions. In this case, traditional dynamic forms cannot meet the needs. In view of this, some embodiments of the present application provide a form configuration method, which includes obtaining the answer to the question corresponding to the first component information, and the second component information; when the answer to the question corresponding to the first component information meets the preset trigger rules, the second component information is displayed; wherein the preset trigger rules include at least n configuration groups, each configuration group includes at least m component information, the configuration group and the component information are cascaded, the component information corresponds to the preset component answer, n is a natural number greater than or equal to 1, and m is a natural number greater than 1; one or more configuration groups are selected from the N configuration groups to trigger, and one or more triggers are selected from the m component information. In the embodiment of the present application, trigger rules are pre-set, in which multiple configuration groups and multiple questions under the configuration groups, as well as the answers corresponding to each question, the relationship between each configuration group and the relationship between multiple questions under the configuration group are cascaded. By setting the answers to multiple questions, the dynamic form configuration rules for the next question are comprehensively judged. This rule can handle more complex problems, provide more flexible configuration options, and improve the efficiency and quality of data collection.
[0043] like Figure 1 As shown, an embodiment of the present application provides a form configuration method, the method comprising:
[0044] S101, obtaining the answer to the question corresponding to the first component information and the second component information;
[0045] Specifically, in order to display the second component information on the interface, the terminal device displays the answers to the questions corresponding to the first component information that the user and the second component information depend on among the multiple questions that have been set.
[0046] S102, when the answer to the question corresponding to the first component information satisfies a preset trigger rule, displaying the second component information;
[0047] Among them, the preset trigger rules include at least n configuration groups, each configuration group includes at least m component information, the configuration groups and component information are cascaded, the component information corresponds to the preset component answer, n is a natural number greater than or equal to 1, and m is a natural number greater than 1; one or more configuration groups are selected from the N configuration groups to trigger, and one or more triggers are selected from the m component information.
[0048] Specifically, the trigger rule pre-set on the terminal device includes at least n configuration groups, each configuration group includes at least m component information, the configuration group and the component information are cascaded, the component information corresponds to the preset component answer, n is a natural number greater than or equal to 1, and m is a natural number greater than 1; one or more configuration groups are selected from the N configuration groups to trigger, and one or more triggers are selected from the m component information, that is, the trigger rule includes one or more configuration groups, each configuration group may be in an and / or relationship, each configuration group includes multiple component information, the relationship between the component information is an and / or relationship, and the component information is the question;
[0049] That is to say, when setting trigger rules, you can divide questions into multiple configuration groups. The configuration groups can have an AND relationship or an OR relationship. Set multiple questions under each configuration group. The questions can have an AND relationship or an OR relationship. Users can set the number of questions and the relationship between questions according to their needs, thereby obtaining trigger rules that meet user needs.
[0050] At the same time, you also need to set the answer corresponding to each question.
[0051] Exemplarily, the trigger rules include three configuration groups, for example, a first configuration group, a second configuration group and a third configuration group. The relationship between the three configuration groups is an and relationship. The first configuration group includes two topics, and the relationship between these two topics is an and relationship, that is, an and relationship. The second configuration group includes three topics, and the relationship between these three topics is an or relationship. The third configuration group includes one topic.
[0052] The user inputs the answer corresponding to the first component information, and compares the input answer with the answer to the question in the pre-set trigger rules. If they match, the second component information is triggered and displayed on the interface.
[0053] Some embodiments of the present application pre-set trigger rules, in which multiple configuration groups and multiple questions under the configuration groups, as well as the answers corresponding to each question, the relationship between each configuration group and the relationship between multiple questions under the configuration group are cascaded. By setting the answers to multiple questions, the dynamic form configuration rules for the next question are comprehensively judged. Such rules can handle more complex problems, provide more flexible configuration options, and improve the efficiency and quality of data collection.
[0054] Another embodiment of the present application further supplements the form configuration method provided in the above embodiment.
[0055] Optionally, when the answer to the question corresponding to the first component information satisfies a preset trigger rule, the second component information is displayed, including:
[0056] If the answer to the question matches the preset component answer in the trigger rule, the second component information is triggered and displayed.
[0057] Some embodiments of the present application match the answers to the questions corresponding to the obtained multiple questions with the preset component answers in the trigger rules. If the match is successful, the second component information is triggered and displayed. The display of the next question is no longer determined solely by the answer to the previous question, but can be determined based on the answers to the previous questions. When the answers to the previous questions match the preset component answers in the trigger rules, the second component information is triggered and displayed, thereby obtaining the required data more accurately and reducing the time and effort required for data collection.
[0058] Optionally, the component information includes at least one of a single-choice question, a multiple-choice question, a numerical question, a scoring question or a text question.
[0059] In the process of setting matching rules, component information can be one of single-choice questions, multiple-choice questions, numerical questions, scoring questions or text questions, which greatly enhances the flexibility of dynamic forms. This makes it better adaptable to complex questionnaires or data annotation tasks.
[0060] Optionally, the method further comprises:
[0061] Modify the configuration groups, component information, the relationship between configuration groups, and the relationship between component information in the preset trigger rules.
[0062] In some embodiments of the present application, different trigger rules can be set according to different needs, and the configuration groups, component information, relationships between configuration groups, and relationships between component information in the trigger rules can also be modified to better adapt to the specific circumstances of each individual, thereby improving the efficiency and quality of data collection, and it can obtain the required data more accurately while reducing the time and effort required for data collection.
[0063] Figure 2 A schematic diagram of the interface of the form configuration provided in the embodiment of the present application, such as Figure 2 As shown, after creating all the topics, select the topic that needs to be triggered by the options of other topics: "Topic A", and edit the triggering rules of the topic.
[0064] Step 1: Select a prerequisite topic "Topic B".
[0065] If the question is a multiple-choice question, multiple answers can be selected, and the relationship between each answer is or. That is, if the answer a, b, and c of question B are selected, when the test taker selects any one of the answers a, b, and c, the next question will display "Question A".
[0066] If the question is a multiple-choice question, the options are in an "and" relationship, that is, if answers a, b, and c are checked for question B, then when the test taker selects answers a, b, and c at the same time, the next question will display "Question A".
[0067] If the question is a numerical question, you can set several numerical intervals as trigger conditions, and the multiple intervals have an "or" relationship. For example: set the interval to be greater than or equal to 100 or less than or equal to 20. When the respondent's answer is 100, the next question will display "Question A".
[0068] If the question is a text question, you can set several keywords as trigger conditions, and the multiple conditions can be in an "or" relationship or an "and" relationship. For example, set the keywords "red" and "green". When the respondent's answer includes "red" or "green", the next question will display "Question A".
[0069] Step 2: Add a prerequisite topic "Topic C" and set the trigger conditions according to the first step.
[0070] Step 3: Set the relationship between "Question B" and "Question C". You can choose "or" or "and". If you choose "or", if the answerer is triggered by any of the two questions, "Question A" will be displayed in the next question. If you choose "and", "Question A" will be displayed in the next question only if the answers to both questions are triggered. If neither is triggered or only one question is triggered, the form will still jump in the original order and will not jump to "Question A".
[0071] Step 4: Treat "Topic B" and "Topic C" as a whole "Group 1", add a prerequisite topic "Topic D", and set the trigger conditions according to the first step.
[0072] Step 5: Set the relationship between "Question D" and "Group 1" to "Or" or "And". If "Or" is selected, the answer of the respondent will trigger "Question B" and "Question C" at the same time or only "Question D" to display "Question A" in the next question. If "And" is selected, the answer of the respondent will trigger "Question B", "Question C" and "Question D" at the same time to display "Question A" in the next question.
[0073] Step 6: Similarly, you can save the settings or continue to add influencing conditions at any step until the preset complex requirements are met.
[0074] The embodiment of the present application implements a complex cascading form configuration method to comprehensively judge the next question based on the answers to the previous questions. This method has the following characteristics:
[0075] The present invention no longer relies solely on the answer to the previous question to determine the display of the next question, but can be determined based on the answers to the previous questions. This multiple dependency relationship can better handle complex situations where the next question needs to be determined based on the answers to multiple questions.
[0076] The embodiment of the present application greatly enhances the flexibility of the dynamic form by allowing the presentation of the next question to depend on the answers to multiple previous questions, which enables it to better adapt to complex questionnaires or data labeling tasks.
[0077] Since the embodiments of the present application can better adapt to the specific circumstances of each individual, the efficiency and quality of data collection can be improved, and the required data can be obtained more accurately while reducing the time and effort required for data collection.
[0078] Through this cascading form configuration method, the embodiment of the present application solves the objective shortcomings of the prior art, making the questionnaire and data annotation more efficient and accurate.
[0079] It should be noted that each implementable method in this embodiment may be implemented separately, or may be implemented in combination in any combination without conflict, and this application is not limited thereto.
[0080] Another embodiment of the present application provides a form configuration device, which is used to execute the form configuration method provided in the above embodiment.
[0081] like Figure 3 , which is a schematic diagram of the structure of the form configuration device provided in the embodiment of the present application. The form configuration device includes an acquisition module 301 and a configuration module 302, wherein:
[0082] The acquisition module 301 is used to acquire the answer to the question corresponding to the first component information and the second component information;
[0083] The configuration module 302 is used to display the second component information when the answer to the question corresponding to the first component information meets the preset triggering rule;
[0084] Among them, the preset triggering rules include at least n configuration groups, each configuration group includes at least m component information, the configuration groups and component information are cascaded, the component information corresponds to the preset component answer, n is a natural number greater than or equal to 1, and m is a natural number greater than 1; one or more configuration groups are selected from the N configuration groups to trigger, and one or more triggers are selected from the m component information. Regarding the device in this embodiment, the specific way in which each module performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.
[0085] Some embodiments of the present application pre-set trigger rules, in which multiple configuration groups and multiple questions under the configuration groups, as well as the answers corresponding to each question, the relationship between each configuration group and the relationship between multiple questions under the configuration group are cascaded. By setting the answers to multiple questions, the dynamic form configuration rules for the next question are comprehensively judged. Such rules can handle more complex problems, provide more flexible configuration options, and improve the efficiency and quality of data collection.
[0086] Another embodiment of the present application further supplements the form configuration device provided in the above embodiment.
[0087] Optionally, the configuration module is used to:
[0088] If the answer to the question matches the preset component answer in the trigger rule, the second component information is triggered and displayed.
[0089] Some embodiments of the present application match the answers to the questions corresponding to the obtained multiple questions with the preset component answers in the trigger rules. If the match is successful, the second component information is triggered and displayed. The display of the next question is no longer determined solely by the answer to the previous question, but can be determined based on the answers to the previous questions. When the answers to the previous questions match the preset component answers in the trigger rules, the second component information is triggered and displayed, thereby obtaining the required data more accurately and reducing the time and effort required for data collection.
[0090] Optionally, the component information includes at least one of a single-choice question, a multiple-choice question, a numerical question, a scoring question or a text question.
[0091] In some embodiments of the present application, component information is set to include at least one of single-choice questions, multiple-choice questions, numerical questions, scoring questions or text questions, which greatly enhances the flexibility of the dynamic form, making it better suited to complex questionnaires or data annotation tasks.
[0092] Optionally, the configuration module is also used to:
[0093] Modify the configuration groups, component information, the relationship between configuration groups, and the relationship between component information in the preset trigger rules.
[0094] In some embodiments of the present application, different trigger rules can be set according to different needs, and the configuration groups, component information, relationships between configuration groups, and relationships between component information in the trigger rules can also be modified to better adapt to the specific circumstances of each individual, thereby improving the efficiency and quality of data collection, and it can obtain the required data more accurately while reducing the time and effort required for data collection.
[0095] Regarding the device in this embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0096] It should be noted that each implementable method in this embodiment may be implemented separately, or may be implemented in combination in any combination without conflict, and this application is not limited thereto.
[0097] The embodiments of the present application further provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the operation of the method corresponding to any embodiment of the form configuration method provided in the above embodiments can be implemented.
[0098] An embodiment of the present application further provides a computer program product, wherein the computer program product includes a computer program, wherein when the computer program is executed by a processor, the operation of the method corresponding to any embodiment of the form configuration method provided in the above embodiments can be implemented.
[0099] like Figure 4 As shown, some embodiments of the present application provide an electronic device 400, which includes: a memory 410, a processor 420, and a computer program stored in the memory 410 and executable on the processor 420, wherein the processor 420 can implement a method of any embodiment included in the above-mentioned form configuration method when reading the program from the memory 410 through a bus 430 and executing the program.
[0100] Processor 420 can process digital signals and can include various computing structures, such as complex instruction set computer structure, reduced instruction set computer structure, or a structure that implements a combination of multiple instruction sets. In some examples, processor 420 can be a microprocessor.
[0101] The memory 410 may be used to store instructions executed by the processor 420 or data related to the execution of instructions. These instructions and / or data may include codes for implementing some or all functions of one or more modules described in the embodiments of the present application. The processor 420 of the disclosed embodiment may be used to execute instructions in the memory 410 to implement the method shown above. The memory 410 includes a dynamic random access memory, a static random access memory, a flash memory, an optical memory, or other memory known to those skilled in the art.
[0102] The above are only embodiments of the present application and are not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0103] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0104] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A form configuration method, characterized in that: The method comprises: Obtaining the answer to the question corresponding to the first component information and the second component information; When the answer to the question corresponding to the first component information satisfies a preset trigger rule, displaying the second component information; Among them, the preset trigger rules include at least n configuration groups, each configuration group includes at least m component information, the configuration groups and the component information are cascaded, the component information corresponds to the preset component answer, n is a natural number greater than or equal to 1, and m is a natural number greater than 1; one or more configuration groups are selected from the N configuration groups to trigger, and one or more triggers are selected from the m component information.
2. The form configuration method according to claim 1, characterized in that: The displaying of the second component information when the answer to the question corresponding to the first component information satisfies a preset trigger rule includes: If the answer to the question matches the preset component answer in the trigger rule, the second component information is triggered and displayed.
3. The form configuration method according to claim 1, characterized in that: The component information includes at least one of a single-choice question, a multiple-choice question, a numerical question, a scoring question or a text question.
4. The form configuration method according to claim 1, characterized in that: The method further comprises: The configuration groups, component information, the relationship between configuration groups, and the relationship between component information in the preset triggering rules are modified.
5. A form configuration device, characterized in that: The device comprises: An acquisition module, used to acquire the answer to the question corresponding to the first component information and the second component information; A configuration module, configured to display the second component information when the answer to the question corresponding to the first component information satisfies a preset trigger rule; Among them, the preset trigger rules include at least n configuration groups, each configuration group includes at least m component information, the configuration groups and the component information are cascaded, the component information corresponds to the preset component answer, n is a natural number greater than or equal to 1, and m is a natural number greater than 1; one or more configuration groups are selected from the N configuration groups to trigger, and one or more triggers are selected from the m component information.
6. The form configuration device according to claim 5, characterized in that: The configuration module is used to: If the answer to the question matches the preset component answer in the trigger rule, the second component information is triggered and displayed.
7. The form configuration device according to claim 5, characterized in that: The component information includes at least one of a single-choice question, a multiple-choice question, a numerical question, a scoring question or a text question.
8. The form configuration device according to claim 5, characterized in that: The configuration module is also used to: The configuration groups, component information, the relationship between configuration groups, and the relationship between component information in the preset triggering rules are modified.
9. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor can implement the form configuration method described in any one of claims 1 to 4 when executing the program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the program, when executed by a processor, can implement the form configuration method described in any one of claims 1 to 4.
Citation Information
Patent Citations
Interactive method based on questionnaire and related equipment
CN108563384A
Form generation method and device, equipment and medium
CN113360619A
Questionnaire question display method and device, equipment and medium
CN117763004A
Learning support system and learning support method
JP2012220777A
