CN111859869A - Questionnaire editing method and device, electronic equipment and storage medium - Google Patents
Questionnaire editing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111859869A CN111859869A CN202010668906.6A CN202010668906A CN111859869A CN 111859869 A CN111859869 A CN 111859869A CN 202010668906 A CN202010668906 A CN 202010668906A CN 111859869 A CN111859869 A CN 111859869A
- Authority
- CN
- China
- Prior art keywords
- edited
- questionnaire
- configuration content
- selection condition
- wildcard
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000006870 function Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 9
- 230000003287 optical effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 238000003032 molecular docking Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 240000005561 Musa balbisiana Species 0.000 description 1
- 235000018290 Musa x paradisiaca Nutrition 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
- G06F16/3344—Query execution using natural language analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention discloses a questionnaire editing method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: responding to the option selection condition of the target title, acquiring configuration content corresponding to the option selection condition, and determining a corresponding wildcard character to be edited; and assigning the configuration content to the wildcard character to be edited so that the configuration content is presented at the position of the questionnaire occupied by the wildcard character to be edited in advance. The positions of the questionnaires to be edited are occupied by wildcards in advance, and the wildcards are assigned according to the selection condition of the target questions, so that the questions can be edited in real time according to the historical answering results of the users, the manual writing work of repeated contents is avoided, and the writing efficiency of the questionnaires is improved; in addition, compared with the traditional method that only the original content of the selected option in the node topic can be quoted, the corresponding configuration content is obtained through the selection or non-selection condition of the option to edit the questionnaire, so that the quotation form of the topic to be edited is enriched, and the editing limitation is reduced.
Description
Technical Field
The present invention relates to computer technologies, and in particular, to a method and an apparatus for editing a questionnaire, an electronic device, and a storage medium.
Background
At present, with the development of computer and internet technologies, electronic questionnaires have been widely used in various industrial fields such as home, electric appliances, catering, traveling, games, and the like. By issuing the electronic questionnaire, the answering information of the inquirer is recovered, and data analysis is carried out on the answering information, so that the decision maker can be guided to carry out business decision according to the analysis result.
The conventional method for writing a questionnaire generally includes that when a questionnaire editor writes question content by using a questionnaire configuration end, option selection conditions of node questions (namely questions before a question answering flow branches) need to be enumerated in advance, corresponding branch questions are written according to the selection conditions, and text reference can be performed on the option content selected by the node questions when the branch questions are written. Therefore, in the process of answering the questionnaire by the respondent, the questionnaire configuration end selects the questions corresponding to the actual selection condition from the written multiple branch questions according to the actual selection condition of the node questions to perform targeted display, for example, according to whether each option provided by the node questions is selected or not, skipping to the specified branch questions or displaying/hiding the specified branch questions.
The deficiencies of the prior methods include at least: 1. when the selection conditions of the options of the node topics are more, the judgment logic is more complex, and the contents of the branch topics are similar, a large amount of repeated contents of the branch topics need to be manually written, so that the writing efficiency is low; 2. the branch topics can only reference the original content of the selected option in the node topics, so that the writing limitation of the branch topics is large.
Disclosure of Invention
In view of this, embodiments of the present invention provide a questionnaire editing method, apparatus, electronic device, and storage medium, which can not only improve the writing efficiency, but also enrich the reference forms of branch questions, thereby greatly reducing the writing limitation.
In a first aspect, an embodiment of the present invention provides a questionnaire editing method, including:
responding to the option selection condition of the target title, acquiring configuration content corresponding to the option selection condition, and determining a wildcard character to be edited corresponding to the option selection condition;
and assigning the configuration content to the wildcard character to be edited so as to display the configuration content at the position of the questionnaire occupied by the wildcard character to be edited in advance.
Optionally, the obtaining, in response to the option selection condition of the target topic, the configuration content corresponding to the option selection condition, and determining the wildcard to be edited corresponding to the option selection condition include:
Responding to the selection condition of at least one option of at least one target title, and judging whether the option selection condition is matched with a preset logic condition;
if so, determining the configuration content corresponding to the matched preset logic condition according to the association relationship between the preset logic condition and the configuration content;
and determining the wildcard characters to be edited corresponding to the matched preset logic conditions according to the association relationship between the preset logic conditions and the wildcard characters.
Optionally, the preset logic condition includes a selected and/or unselected logic condition of at least one option of the at least one target title.
Optionally, after assigning the configuration content to the wildcard to be edited, the method includes:
judging whether unedited wildcards exist in the title where the wildcards to be edited exist;
and if not, displaying the edited title.
Optionally, the displaying the edited title includes:
skipping from the current title to the edited title; or,
and switching the edited title from the hidden state to the display state.
Optionally, the questionnaire editing method is applied to a client with an account service function, and further includes:
In response to the logged-in state of an account, acquiring account information of the account;
and acquiring configuration content corresponding to the account information, and determining a wildcard to be edited corresponding to the account information.
Optionally, the configuration content includes, but is not limited to, text, pictures, and video.
In a second aspect, an embodiment of the present invention further provides a questionnaire editing apparatus, including:
the acquisition module is used for responding to the option selection condition of the target title, acquiring configuration content corresponding to the option selection condition and determining a wildcard character to be edited corresponding to the option selection condition;
and the assignment module is used for assigning the configuration content to the wildcard character to be edited so as to display the configuration content at the position of the questionnaire occupied by the wildcard character to be edited in advance.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the questionnaire editing method provided in any embodiment of the present application when executing the program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the questionnaire editing method provided in any embodiment of the present application.
The embodiment of the invention provides a questionnaire editing method, a device, an electronic device and a storage medium, wherein the questionnaire editing method comprises the following steps: responding to the option selection condition of the target title, acquiring configuration content corresponding to the option selection condition, and determining wildcard characters to be edited corresponding to the option selection condition; and assigning the configuration content to the wildcard character to be edited so that the configuration content is presented at the position of the questionnaire occupied by the wildcard character to be edited in advance. The positions of the questionnaires to be edited are occupied by wildcards in advance, and the wildcards are assigned according to the selection condition of the target questions, so that the questions can be edited in real time according to the historical answering results of the users, the manual writing work of repeated contents is avoided, and the writing efficiency of the questionnaires is improved; in addition, compared with the traditional method that only the original content of the selected option in the node topic can be quoted, the corresponding configuration content is obtained through the selection or non-selection condition of the option to edit the questionnaire, so that the quotation form of the topic to be edited is enriched, and the editing limitation is greatly reduced.
Drawings
Fig. 1 is a schematic flowchart of a questionnaire editing method according to an embodiment of the present invention;
Fig. 2 is a schematic flowchart of a questionnaire editing method according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of a questionnaire editing method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a questionnaire editing apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described through embodiments with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. In the following embodiments, optional features and examples are provided in each embodiment, and various features described in the embodiments may be combined to form a plurality of alternatives, and each numbered embodiment should not be regarded as only one technical solution.
Example one
Fig. 1 is a schematic flow chart of a questionnaire editing method according to an embodiment of the present invention, which is applicable to a questionnaire editing situation, for example, a situation where a questionnaire configuration end is used to edit a to-be-displayed topic content according to a user history response result. The method can be executed by the questionnaire editing apparatus provided by the embodiment of the invention, and the apparatus is implemented in software and/or hardware, and is preferably configured in an electronic device at a questionnaire configuration end, such as a mobile phone, a notebook, or a computer.
Referring to fig. 1, the method for editing a questionnaire provided in this embodiment includes the following steps:
s110, responding to the option selection condition of the target title, acquiring configuration content corresponding to the option selection condition, and determining a wildcard to be edited corresponding to the option selection condition.
In the embodiment of the present invention, when a software program in the questionnaire editing apparatus runs, a display module (for example, an LED display screen or an OLED display screen) of the electronic device configured with the questionnaire editing apparatus may display a questionnaire interface, and at least one pre-edited question may be displayed in the questionnaire interface first, so that a respondent may respond to the displayed question.
The method for displaying at least one pre-edited topic may be, for example, displaying all the at least one edited topic in a questionnaire interface; another example is that the questionnaire interface only presents one topic at a time, and the questionnaire editing apparatus can jump to the next topic when the user finishes answering the current topic. In addition, other topic presentation manners can also be applied, and are not exhaustive here.
The question type of the question of the questionnaire system can be an objective question type such as a non-question, a single-choice question or a multi-choice question, and the corresponding questionnaire editing device can render the selection control of each option in the question to a questionnaire interface, so that a respondent can select the option by touching or clicking the selection control of the option with a mouse.
The questionnaire editing device can select one topic or a plurality of topics from the edited topics as a target topic when the software program is written, wherein the target topic can be regarded as a topic with options and wildcards establishing association. In addition, the questionnaire editing device can also monitor the option selection condition of the target topic when the software program runs, wherein the option selection condition includes but is not limited to the selection state or non-selection state of one option or the selection state or non-selection state of each option in a plurality of options. By the configuration mode, the questionnaire editing device can edit the questionnaire according to the selected options and can edit the questionnaire according to the unselected options, so that the editing form is enriched, and the editing limitation is reduced.
The questionnaire editing device can also be used for pre-configuring the one-to-one corresponding relationship between the option selection condition of the target topic and the configuration content and the one-to-one corresponding relationship between the option selection condition of the target topic and the wildcard when the software program is written. It can be considered that the configuration content and wildcard characters corresponding to different option selection situations of the target topic are different. Correspondingly, after the questionnaire editing device monitors the selection condition of the target title options, the questionnaire editing device can select the configuration content corresponding to the selection condition from the pre-compiled configuration contents according to the selection condition of the target title options and determine the wildcard character to be edited corresponding to the selection condition of the options, so that different questionnaire contents can be edited in real time according to the response condition of the investigator, the personalized editing of the questionnaire is realized, and the editing quality of the questionnaire contents is improved.
And S120, assigning the configuration content to the wildcard character to be edited so that the configuration content is presented at the position of the questionnaire occupied by the wildcard character to be edited in advance.
In this embodiment of the present invention, the questionnaire editing apparatus may create at least one wildcard character when the software program is written, and may perform placeholder at least one questionnaire position to be edited (for example, at the stem position or the option position of at least one topic) by using each wildcard character, and the placeholder position for performing placeholder may be the stem and/or the option position of a topic next to the target topic associated with the wildcard character, or may be the stem and/or the option position separated from the associated target topic by at least one topic. By the configuration mode, the questionnaire editing device can edit a next question according to the option selection condition of a previous question, and can edit according to the option selection condition of at least one question which is continuous or discontinuous with the current question to be edited, namely cross-question editing is realized, the editing form is enriched, and the editing limitation is reduced.
In this embodiment, the configuration content is used to determine specific editing content, and the wildcard to be edited is used to determine a position to be edited in the questionnaire. Determining corresponding configuration content and wildcard characters to be edited according to the selection and/or non-selection condition of the options of the target title; the configuration content is assigned to the wildcard characters to be edited, and the configuration content can be presented at least at one questionnaire position occupied by the wildcard characters to be edited, so that the questions can be automatically edited in real time according to the historical answering result of the user, the manual writing work of repeated content is avoided, and the writing efficiency of the questionnaire is improved. In addition, compared with the traditional method that only the original content of the selected option in the previous node title can be quoted, the corresponding configuration content is obtained according to the selection or non-selection condition of at least one continuous or discontinuous title being edited, so that the quotation form of the title to be edited can be enriched, and the editing limitation is greatly reduced.
Optionally, in response to the option selection condition of the target topic, acquiring configuration content corresponding to the option selection condition, and determining a wildcard to be edited corresponding to the option selection condition, including: responding to the selection condition of at least one option of at least one target title, and judging whether the option selection condition is matched with a preset logic condition; if so, determining the configuration content corresponding to the matched preset logic condition according to the association relationship between the preset logic condition and the configuration content; and determining the wildcard characters to be edited corresponding to the matched preset logic conditions according to the association relationship between the preset logic conditions and the wildcard characters.
In this embodiment, after creating the wildcard, the questionnaire editing apparatus may associate the target topic and at least one option of the target topic with the created wildcard. The target subject and at least one option of the target subject associated with different wildcards can be the same or different, but the selection conditions of the target subject and at least one option of the target subject associated with different wildcards are different. For example, wildcard X1 and wildcard X2 can be associated with item A of target topic 1 at the same time, but the selection of item A associated with wildcard X1 and wildcard X2 is different, for example, when wildcard X1 is associated with the selection state of item A, wildcard X2 can be associated with the non-selection state of item A.
The questionnaire editing device can preset at least one group of selection conditions as preset logic conditions when the software program is written. The preset selection conditions are the selection conditions of at least one option of at least one topic associated with each wildcard, and the association relationship between each selection condition and the wildcard in the preset logic conditions can be collectively called as logic condition-wildcard association relationship. The questionnaire editing device can also configure different configuration contents for each selection condition in the preset logic conditions when the software program is written, and can collectively refer to the association relationship between each selection condition and the configuration contents as the association relationship between the logic conditions and the configuration contents.
The configuration content includes, but is not limited to, text, pictures, and video. When the configuration content is a text, the configuration content may be the same text as or different from the text of the option in the selected state in the selection case, or the same text as or different from the text of the option in the unselected state in the selection case, where the different text may be a text with strong correlation or a text with weak correlation. When the configuration content is a picture or a video, the configuration content may be a picture or a video related to a text of an option in a selected state in a selected case, or may be a picture or a video related to a text of an option in an unselected state in a selected case.
For example, assuming that the text of the option in the selection state in the selection case is "apple", when the configuration content is the text, the configuration content may be the text "apple" same as "apple", or may be the text "apple core" strongly related to apple, or may be the text "banana" weakly related to apple; when the configuration content is a picture or a video, the configuration content may be a picture of an apple, or a video of eating an apple. Compared with the traditional text which refers to the option of the selected state, the editing form can be enriched by setting the configuration content with rich content and format, and the editing limitation is reduced.
In this embodiment, the preset logic condition is used to determine whether to edit the questionnaire. In a specific embodiment, after the questionnaire editing apparatus monitors the selection condition of the respondent on at least one option of at least one target topic, it may be determined whether the selection condition answered by the respondent hits the preset logic condition, that is, whether the preset logic condition has the same selection condition as the selection condition answered by the user. If the answer exists, the selection condition answered by the inquirer is considered to hit the preset logic condition, the configuration content corresponding to the selection condition the same as the selection condition answered by the user can be searched from the association relationship of the logic condition and the configuration content, the wildcard corresponding to the selection condition the same as the selection condition answered by the user is searched from the association relationship of the logic condition and the wildcard, and the wildcard is called as the wildcard to be edited. If the answer does not exist, the selection condition answered by the respondent is not in accordance with the preset logic condition, and at the moment, the questionnaire editing can not be carried out according to the selection condition answered by the user.
The configuration content and the wildcard characters are determined only when the selection condition answered by the inquirer hits the preset logic condition, so that the questionnaire editing on the selection condition of the questions and options concerned by the questionnaire issuer can be realized, the deep questionnaire investigation on the selection condition concerned by the questionnaire issuer is realized, the requirement information of the questionnaire issuer can be obtained by analyzing the answering information, the questionnaire editing form is enriched, and the user experience of the questionnaire issuer is improved.
The questionnaire editing method provided by the embodiment of the invention responds to the option selection condition of a target subject, acquires the configuration content corresponding to the option selection condition, and determines the wildcard character to be edited corresponding to the option selection condition; and assigning the configuration content to the wildcard character to be edited so that the configuration content is presented at the position of the questionnaire occupied by the wildcard character to be edited in advance. The positions of the questionnaires to be edited are occupied by wildcards in advance, and the wildcards are assigned according to the selection condition of the target questions, so that the questions can be edited in real time according to the historical answering results of the users, the manual writing work of repeated contents is avoided, and the writing efficiency of the questionnaires is improved; in addition, compared with the traditional method that only the original content of the selected option in the node topic can be quoted, the corresponding configuration content is obtained through the selection or non-selection condition of the option to edit the questionnaire, so that the quotation form of the topic to be edited is enriched, and the editing limitation is greatly reduced.
Example two
Fig. 2 is a schematic flowchart of a questionnaire editing method according to a second embodiment of the present invention. The present embodiment and various alternatives in the flow docking method provided in the above embodiments may be combined. The embodiment optimizes the display steps after the titles are edited, and can display the titles with assigned wildcard characters. The embodiments of the present invention have the same inventive concept as the above embodiments, and the technical details not described in the embodiments can be seen from the above embodiments.
Referring to fig. 2, the method for editing a questionnaire provided in this embodiment specifically includes the following steps:
s210, responding to the option selection condition of the target title, acquiring configuration content corresponding to the option selection condition, and determining a wildcard to be edited corresponding to the option selection condition;
s220, assigning the configuration content to the wildcard character to be edited so that the configuration content is presented at the position of the questionnaire occupied by the wildcard character to be edited in advance;
s230, judging whether unedited wildcard characters exist in the title where the wildcard characters to be edited exist;
and S240, if not, displaying the edited title.
In the embodiment of the invention, after assigning the wildcard characters to be edited, whether the assigned wildcard characters to be edited still have unedited wildcard characters in the titles in which the assigned wildcard characters to be edited are located can be judged. If the target item exists, the item is proved to be not edited, configuration content is acquired according to the selection condition of other target items, and the unedited wildcard characters are edited based on the acquired configuration content. If the question does not exist, the front surface of the question is edited, and the edited question can be displayed at the moment so that the investigator can answer the edited question. In one embodiment, if there are at least one edited topics, the edited topics can be displayed in order of priority so that the investigator can respond to the topics with higher priority.
Optionally, displaying the edited title includes: skipping from the current title to the edited title; or switching the edited title from the hidden state to the display state.
If the display mode of the questions is that the questionnaire interface only presents one question each time, displaying the edited questions can be that the current question is located on a page, and jumping to the page of the edited questions; if the display mode of the questions is that a plurality of questions can be displayed on the questionnaire interface, the edited questions can be switched to be in a display state and displayed below the current questions. In addition, other manners of displaying edited topics can also be applied, and are not exhaustive here.
According to the questionnaire editing method provided by the embodiment of the invention, after the configuration content is assigned to the wildcard to be edited, whether the wildcard which is not edited still exists in the subject in which the wildcard to be edited is located is further judged; if the unedited wildcard exists, the question is considered to be not edited and the changed question cannot be displayed; if the unedited wildcard does not exist, the question is considered to be edited completely, so that the edited question can be displayed, so that the respondent can answer according to the displayed question, the display time of the real-time edited question is supplemented, and the user experience is improved.
EXAMPLE III
Fig. 3 is a schematic flowchart of a questionnaire editing method provided by a third embodiment of the present invention. The present embodiment and various alternatives in the flow docking method provided in the above embodiments may be combined. The embodiment optimizes the application scene of the questionnaire editing method, for example, the method can be applied to a client with an account service function, and can realize questionnaire editing according to account information, so that the question of the questionnaire is more targeted, and the writing quality of the questionnaire is improved. The embodiments of the present invention have the same inventive concept as the above embodiments, and the technical details not described in the embodiments can be seen from the above embodiments.
Referring to fig. 3, the method for editing a questionnaire provided in this embodiment specifically includes the following steps:
and S310, responding to the logged-in state of the account, and acquiring account information of the account.
In this embodiment, the client having the account service function may be a game client, a shopping client, a multimedia client, or the like, which may have service functions such as account registration, login, account information maintenance, and the like. When the questionnaire editing apparatus is disposed in the client having the account service function, it is also possible to detect whether or not an account is logged in before editing the questionnaire in accordance with the response of the respondent. If the login state of the account is detected to be the logged-in state, the account information of the account can be acquired; if the login status of the account is detected to be the unregistered status, at least one pre-edited question can be displayed, so that the respondent can answer the displayed question.
S320, obtaining the configuration content corresponding to the account information, and determining the wildcard to be edited corresponding to the account information.
In this embodiment, the questionnaire editing apparatus may further pre-configure a one-to-one correspondence relationship between the account information and the configuration content, and a one-to-one correspondence relationship between the account information and the wildcard when the software program is written. Correspondingly, after the questionnaire editing device acquires the account information, the questionnaire editing device can also select the configuration content corresponding to the account information from the pre-written configuration content and determine the wildcard to be edited corresponding to the account information, so that the questionnaire editing can be realized according to the account information, the question of the questionnaire is more targeted, and the repeated answering of the questionnaire by a surveyor to the question with the same account information is avoided.
S330, assigning the configuration content to the wildcard character to be edited so that the configuration content is presented at the position of the questionnaire occupied by the wildcard character to be edited in advance.
The questionnaire editing method provided by the embodiment of the invention is applied to a client with an account service function, and can realize questionnaire editing according to account information, so that the questions of the questionnaire are more targeted, and the questionnaire is prevented from being repeatedly answered by a researched person to the same question as the account information, thereby improving the writing quality of the questionnaire, saving the answering time of the researched person, and improving the questionnaire answering experience of the researched user.
Example four
Fig. 4 is a schematic structural diagram of a questionnaire editing apparatus according to a fourth embodiment of the present invention. The questionnaire editing method provided by any embodiment of the invention can be realized by applying the questionnaire editing device.
Referring to fig. 4, the questionnaire editing apparatus provided by the present invention includes:
the obtaining module 410 is configured to, in response to an option selection condition of a target topic, obtain configuration content corresponding to the option selection condition, and determine a wildcard to be edited corresponding to the option selection condition;
and the assignment module 420 is configured to assign the configuration content to the wildcard to be edited, so that the configuration content is presented at the questionnaire position occupied by the wildcard to be edited in advance.
Optionally, the obtaining module includes:
the logic judgment submodule is used for responding to the selection condition of at least one option of at least one target title and judging whether the option selection condition is matched with a preset logic condition or not;
the configuration content determining submodule is used for determining the configuration content corresponding to the matched preset logic condition according to the incidence relation between the preset logic condition and the configuration content if the option selection condition is matched with the preset logic condition;
and the wildcard character determining submodule is used for determining the wildcard characters to be edited corresponding to the matched preset logic conditions according to the incidence relation between the preset logic conditions and the wildcard characters.
Optionally, the preset logic condition includes a selected and/or unselected logic condition of at least one option of at least one target title.
Optionally, the volume editing apparatus further includes:
the display module is used for judging whether the wildcard characters to be edited still exist in the title in which the wildcard characters to be edited exist; and if not, displaying the edited title.
Optionally, the display module is specifically configured to: if the wildcard character to be edited does not exist in the title in which the wildcard character is positioned, skipping from the current title to the edited title; or switching the edited title from the hidden state to the display state.
Optionally, the questionnaire editing device is applied to a client with an account service function;
correspondingly, the obtaining module is further used for responding to the logged-in state of the account and obtaining account information of the account; and acquiring configuration content corresponding to the account information, and determining a wildcard to be edited corresponding to the account information.
Optionally, the configuration content includes, but is not limited to, text, pictures, and video.
The questionnaire editing device provided by the embodiment of the invention can execute the questionnaire editing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail, reference may be made to the questionnaire editing method provided in any embodiment of the present invention.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 5 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention. Device 12 is typically an electronic device that assumes cross-system program interfacing functionality.
As shown in FIG. 5, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 that couples the various components (including the memory 28 and the processing unit 16).
The processor 16 executes various functional applications and data processing by running the program stored in the memory 28, for example, implementing the questionnaire editing method provided by the above-described embodiment of the present invention, including:
Responding to the option selection condition of the target title, acquiring configuration content corresponding to the option selection condition, and determining wildcard characters to be edited corresponding to the option selection condition; and assigning the configuration content to the wildcard character to be edited so that the configuration content is presented at the position of the questionnaire occupied by the wildcard character to be edited in advance.
Of course, those skilled in the art can understand that the processor may also implement the technical solution of the questionnaire editing method provided in any embodiment of the present invention.
EXAMPLE six
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a questionnaire editing method provided in an embodiment of the present invention, where the method includes:
responding to the option selection condition of the target title, acquiring configuration content corresponding to the option selection condition, and determining wildcard characters to be edited corresponding to the option selection condition; and assigning the configuration content to the wildcard character to be edited so that the configuration content is presented at the position of the questionnaire occupied by the wildcard character to be edited in advance.
Of course, the computer program stored on the computer-readable storage medium provided in the embodiments of the present invention is not limited to the above method operations, and may also execute the questionnaire editing method provided in any embodiment of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor device, apparatus, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution apparatus, device, or apparatus.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution apparatus, device, or apparatus.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A questionnaire editing method, comprising:
responding to the option selection condition of the target title, acquiring configuration content corresponding to the option selection condition, and determining a wildcard character to be edited corresponding to the option selection condition;
and assigning the configuration content to the wildcard character to be edited so as to display the configuration content at the position of the questionnaire occupied by the wildcard character to be edited in advance.
2. The method according to claim 1, wherein the obtaining of the configuration content corresponding to the option selection condition in response to the option selection condition of the target topic and the determining of the wildcard character to be edited corresponding to the option selection condition comprise:
responding to the selection condition of at least one option of at least one target title, and judging whether the option selection condition is matched with a preset logic condition;
if so, determining the configuration content corresponding to the matched preset logic condition according to the association relationship between the preset logic condition and the configuration content;
and determining the wildcard characters to be edited corresponding to the matched preset logic conditions according to the association relationship between the preset logic conditions and the wildcard characters.
3. The method according to claim 2, wherein the preset logical conditions comprise logical conditions of the selection and/or non-selection of at least one option of the at least one target title.
4. The method according to claim 1, wherein after assigning the configuration content to the wildcard to be edited, the method comprises:
judging whether unedited wildcards exist in the title where the wildcards to be edited exist;
and if not, displaying the edited title.
5. The method according to claim 4, wherein the displaying the edited title comprises:
skipping from the current title to the edited title; or,
and switching the edited title from the hidden state to the display state.
6. The method of claim 1, applied to a client with account service function, further comprising:
in response to the logged-in state of an account, acquiring account information of the account;
and acquiring configuration content corresponding to the account information, and determining a wildcard to be edited corresponding to the account information.
7. The method of any of claims 1-6, wherein the configuration content includes, but is not limited to, text, pictures, and video.
8. A questionnaire editing apparatus, comprising:
the acquisition module is used for responding to the option selection condition of the target title, acquiring configuration content corresponding to the option selection condition and determining a wildcard character to be edited corresponding to the option selection condition;
and the assignment module is used for assigning the configuration content to the wildcard character to be edited so as to display the configuration content at the position of the questionnaire occupied by the wildcard character to be edited in advance.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the questionnaire editing method of any of claims 1-7 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the questionnaire editing method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010668906.6A CN111859869B (en) | 2020-07-13 | 2020-07-13 | Questionnaire editing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010668906.6A CN111859869B (en) | 2020-07-13 | 2020-07-13 | Questionnaire editing method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111859869A true CN111859869A (en) | 2020-10-30 |
CN111859869B CN111859869B (en) | 2023-06-16 |
Family
ID=72983283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010668906.6A Active CN111859869B (en) | 2020-07-13 | 2020-07-13 | Questionnaire editing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111859869B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113050933A (en) * | 2021-06-02 | 2021-06-29 | 上海钛米机器人股份有限公司 | Brain graph data processing method, device, equipment and storage medium |
CN113238701A (en) * | 2021-05-18 | 2021-08-10 | 惠州Tcl移动通信有限公司 | Questionnaire processing method, terminal and computer readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1967588A (en) * | 2006-04-11 | 2007-05-23 | 华为技术有限公司 | Interactive custom questionnaire, interactive system and method |
US20140229199A1 (en) * | 2011-06-20 | 2014-08-14 | Timewyse Corporation | System and method for dynamic and customized questionnaire generation |
CN109325216A (en) * | 2018-09-03 | 2019-02-12 | 中国平安人寿保险股份有限公司 | Questionnaire generation method, device, computer equipment and storage medium |
CN109472007A (en) * | 2018-11-09 | 2019-03-15 | 贵州医渡云技术有限公司 | Medical questionnaire builds topic method, apparatus, electronic equipment, storage medium automatically |
CN109656548A (en) * | 2018-12-20 | 2019-04-19 | 深圳源中瑞科技有限公司 | A kind of customized questionnaire development approach and storage medium |
CN109753612A (en) * | 2018-12-06 | 2019-05-14 | 东软集团股份有限公司 | Control method, device, storage medium and the electronic equipment that questionnaire is shown |
CN110458594A (en) * | 2019-06-20 | 2019-11-15 | 平安科技(深圳)有限公司 | A kind of network surveying questionnaire generation method and device based on user's weight |
CN110826302A (en) * | 2019-11-07 | 2020-02-21 | 网之易信息技术(北京)有限公司 | Questionnaire creating method, device, medium and electronic equipment |
-
2020
- 2020-07-13 CN CN202010668906.6A patent/CN111859869B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1967588A (en) * | 2006-04-11 | 2007-05-23 | 华为技术有限公司 | Interactive custom questionnaire, interactive system and method |
US20140229199A1 (en) * | 2011-06-20 | 2014-08-14 | Timewyse Corporation | System and method for dynamic and customized questionnaire generation |
CN109325216A (en) * | 2018-09-03 | 2019-02-12 | 中国平安人寿保险股份有限公司 | Questionnaire generation method, device, computer equipment and storage medium |
CN109472007A (en) * | 2018-11-09 | 2019-03-15 | 贵州医渡云技术有限公司 | Medical questionnaire builds topic method, apparatus, electronic equipment, storage medium automatically |
CN109753612A (en) * | 2018-12-06 | 2019-05-14 | 东软集团股份有限公司 | Control method, device, storage medium and the electronic equipment that questionnaire is shown |
CN109656548A (en) * | 2018-12-20 | 2019-04-19 | 深圳源中瑞科技有限公司 | A kind of customized questionnaire development approach and storage medium |
CN110458594A (en) * | 2019-06-20 | 2019-11-15 | 平安科技(深圳)有限公司 | A kind of network surveying questionnaire generation method and device based on user's weight |
CN110826302A (en) * | 2019-11-07 | 2020-02-21 | 网之易信息技术(北京)有限公司 | Questionnaire creating method, device, medium and electronic equipment |
Non-Patent Citations (3)
Title |
---|
伊凡·库奇 著: "《C++函数式编程》", 30 November 2019, 机械工业出版社, pages: 68 - 70 * |
苏立等: "计算机辅助电话调查系统问卷及xml可视化生成设计与实现", 《软件》 * |
苏立等: "计算机辅助电话调查系统问卷及xml可视化生成设计与实现", 《软件》, vol. 37, no. 02, 28 February 2016 (2016-02-28), pages 116 - 128 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113238701A (en) * | 2021-05-18 | 2021-08-10 | 惠州Tcl移动通信有限公司 | Questionnaire processing method, terminal and computer readable storage medium |
CN113238701B (en) * | 2021-05-18 | 2023-12-12 | 惠州Tcl移动通信有限公司 | Questionnaire processing method, terminal and computer readable storage medium |
CN113050933A (en) * | 2021-06-02 | 2021-06-29 | 上海钛米机器人股份有限公司 | Brain graph data processing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111859869B (en) | 2023-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7069778B2 (en) | Methods, systems and programs for content curation in video-based communications | |
JP6237386B2 (en) | System, method and program for navigating video stream | |
US9674244B2 (en) | System and method for discussion initiation and management in a virtual conference | |
Pongnumkul et al. | Pause-and-play: automatically linking screencast video tutorials with applications | |
CN110568984A (en) | Online teaching method and device, storage medium and electronic equipment | |
JP5613978B2 (en) | Presentation control system | |
KR20190128117A (en) | Systems and methods for presentation of content items relating to a topic | |
CN107657024B (en) | Search result display method, device, equipment and storage medium | |
CN108573393B (en) | Comment information processing method and device, server and storage medium | |
CN111209417A (en) | Information display method, server, terminal and storage medium | |
KR102574278B1 (en) | video time anchor | |
US10318094B2 (en) | Assistive technology (AT) responsive to cognitive states | |
CN111859869A (en) | Questionnaire editing method and device, electronic equipment and storage medium | |
CN108665769B (en) | Network teaching method and device based on convolutional neural network | |
US10359836B2 (en) | Assistive technology (AT) responsive to cognitive states | |
CN108491178B (en) | Information browsing method, browser and server | |
CN108958731A (en) | Application program interface generation method, device, equipment and storage medium | |
CN111770384A (en) | Video switching method and device, electronic equipment and storage medium | |
CN109947528B (en) | Information processing method and device | |
CN104866174A (en) | Information displaying method and apparatus | |
CN106878773B (en) | Electronic device, video processing method and apparatus, and storage medium | |
US20230328205A1 (en) | Video conference presentation method and apparatus, and terminal device and storage medium | |
WO2023241360A1 (en) | Online class voice interaction methods and apparatus, device and storage medium | |
US11775736B2 (en) | Method and system for providing mini-map in chatroom | |
CN104123112A (en) | Image processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |