CN109614595B - Questionnaire method, device and storage medium - Google Patents

Questionnaire method, device and storage medium Download PDF

Info

Publication number
CN109614595B
CN109614595B CN201811505182.2A CN201811505182A CN109614595B CN 109614595 B CN109614595 B CN 109614595B CN 201811505182 A CN201811505182 A CN 201811505182A CN 109614595 B CN109614595 B CN 109614595B
Authority
CN
China
Prior art keywords
question
item
sequence
options
option
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.)
Active
Application number
CN201811505182.2A
Other languages
Chinese (zh)
Other versions
CN109614595A (en
Inventor
曾仲杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201811505182.2A priority Critical patent/CN109614595B/en
Publication of CN109614595A publication Critical patent/CN109614595A/en
Application granted granted Critical
Publication of CN109614595B publication Critical patent/CN109614595B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/197Version control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/258Heading extraction; Automatic titling; Numbering
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a questionnaire method, questionnaire equipment and a storage medium, and relates to the technical field of data processing. The method comprises the following steps: receiving answer options from the terminal regarding the first question; determining the ordering of options in the option sequence of a second question according to the answer options of the first question, wherein the second question is the next question of the first question; and sending the second questions and options to be selected of the second questions to the terminal, wherein the options to be selected of the second questions are the option sequence of the second questions or part of the option sequence of the second questions. According to the method and the device, on the premise that the information acquisition integrity is guaranteed, the answering time and the answering difficulty of a user in answering are reduced, and therefore the questionnaire filling will of an audience is improved.

Description

Questionnaire method, device and storage medium
Technical Field
The application relates to the technical field of data processing, in particular to a questionnaire method, a questionnaire device and a questionnaire storage medium.
Background
Questionnaires are one of the important means of market research, but at present, the design of questionnaires is in a dilemma; on one hand, a researcher hopes that each question in the questionnaire designs options as full as possible so as to ensure the integrity of information acquisition; on the other hand, too many options can increase the complexity of the questionnaire, thereby affecting the audience's willingness to fill in. Thus, a questionnaire method is needed to address the dilemma of current questionnaires.
Disclosure of Invention
In order to solve the defects in the prior art, the application provides a questionnaire method, a questionnaire device and a storage medium.
In a first aspect, the present application proposes a questionnaire method, applied to a server, including:
receiving answer options from the terminal regarding the first question;
determining the ordering of options in an option sequence of a second question according to the answer options of the first question, wherein the second question is the next question of the first question;
and sending the second question and the to-be-selected item of the second question to the terminal, wherein the to-be-selected item of the second question is the selected item sequence of the second question or part of the selected item sequence of the second question.
Optionally, the determining the sorting of the options in the option sequence of the second question according to the answer options of the first question includes:
and determining the ordering of the options in the option sequence of the second question according to the questionnaire model and the answer options of the first question.
Optionally, the method further comprises:
receiving answer options related to the second question from the terminal, wherein the answer options of the second question are contained in the options to be selected of the second question;
And if the second question is the last question, updating the questionnaire model according to answer options of all the questions.
Optionally, if the first question is a first question in the first questionnaire, before the answer option about the first question is received from the terminal, the method further includes: a questionnaire model is initialized.
Optionally, the initializing a questionnaire model includes:
initializing a question sequence in a questionnaire and an option sequence of each question in the question sequence;
initializing a transition count matrix and a transition probability matrix of non-head items in the item sequence.
Optionally, the initializing the question sequence in the questionnaire and the option sequence of each question in the question sequence includes:
initializing the topic sequence q= { Q in the questionnaire 1 ,q 2 …q m M is the number of questions in the questionnaire;
initializing an option sequence for a kth topic
Figure BDA0001899262220000021
Wherein k is an integer and 1<k≤m,n k The number of options in the sequence of options for the kth item.
Optionally, the initializing a transition count matrix of non-head items in the item sequence includes:
initializing m-1 n in one-to-one correspondence with each non-head item in the item sequence k-1 *n k Transfer count matrix of dimension
Figure BDA0001899262220000022
And transfer count matrix->
Figure BDA0001899262220000023
Each element a of (a) ij Initializing to a preset value;
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure BDA0001899262220000024
a transition count matrix for the kth topic with respect to the kth-1 topic, n k-1 The number of options in the option sequence for the kth-1 item, n k The number of options in the option sequence of the kth item is 1.ltoreq.i.ltoreq.n k-1 ,1≤j≤n k
Optionally, initializing a transition probability matrix of non-head items in the item sequence includes:
respectively to the transfer count matrix
Figure BDA0001899262220000025
Performing line normalization processing to obtain corresponding m-1 n k-1 *n k Transition probability matrix of dimension->
Figure BDA0001899262220000026
Transition probability matrix->
Figure BDA0001899262220000027
Each element of->
Figure BDA0001899262220000028
Wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure BDA0001899262220000029
a transition probability matrix for the kth topic with respect to the kth-1 topic, n k-1 The number of options in the option sequence for the kth-1 item, n k The number of options in the option sequence of the kth item is 1.ltoreq.i.ltoreq.n k-1 ,1≤j≤n k
Optionally, the determining the sorting of the options in the option sequence of the second question according to the questionnaire model and the answer options of the first question includes:
the first question is marked as a k-1 question, the second question is marked as a k-1 question, and the answer option is marked as
Figure BDA0001899262220000031
Answer options according to the k-1 item
Figure BDA0001899262220000032
Transition probability matrix for kth item- >
Figure BDA0001899262220000033
The elements of the ith row are ordered according to a preset ordering mode.
Optionally, the updating the questionnaire model according to answer options of all questions includes:
and updating the transition count matrix and the transition probability matrix of each non-head item according to the answer option sequence.
Alternatively, the answer choice sequence is noted as O user ={o 1 、o 2 …o k …o m }, where o k Answer options for the item k;
the updating of the transition count matrix and transition probability matrix of each non-head item according to the answer option sequence comprises the following steps:
for the kth item, 1<k is less than or equal to m, and the option according to the k-1 item
Figure BDA00018992622200000316
Option of the kth item->
Figure BDA0001899262220000034
Update transfer count matrix of kth item ≡>
Figure BDA0001899262220000035
Transfer count matrix based on updated kth item
Figure BDA0001899262220000036
Updating transition probability matrix for kth item
Figure BDA0001899262220000037
Optionally, the option according to item k-1
Figure BDA0001899262220000038
Option of the kth item->
Figure BDA0001899262220000039
Update transfer count matrix of kth item ≡>
Figure BDA00018992622200000310
Comprising the following steps:
transfer count matrix for kth item
Figure BDA00018992622200000311
Element a of (a) ij When i is the answer choice o of the k-1 item k-1 The corresponding row, j is the answer option o of the kth item k A when the column corresponds to ij =a ij +1, otherwise, a ij =a ij
Optionally, the transition count matrix according to the updated kth item
Figure BDA00018992622200000312
Updating transition probability matrix of kth item->
Figure BDA00018992622200000313
Comprising the following steps:
transfer count matrix for updated kth item
Figure BDA00018992622200000314
Performing line normalization processing, and using the processing result as a transition probability matrix of the kth item ∈ ->
Figure BDA00018992622200000315
Corresponding element p of (a) ij Updated values.
Optionally, before the receiving, from the terminal, an answer option about the first question, the method further includes:
determining an ordering of options in the sequence of options for the first topic;
and sending the first question and the to-be-selected item of the first question to the terminal, wherein the to-be-selected item of the first question is an item sequence of the first question or a part of the item sequence of the first question, and the to-be-selected item of the first question comprises an answer item of the first question.
Optionally, the determining the ordering of the options in the option sequence of the first question includes:
if the first question is the first question, determining the ordering of the options in the option sequence of the first question according to a preset order; or alternatively, the process may be performed,
and if the first question is not the first question, determining the ordering of the options in the option sequence of the first question according to the answer option corresponding to the last question of the first question.
In a second aspect, the present application proposes a questionnaire method, applied to a terminal, including:
transmitting answer options related to a first question to a server, so that the server can determine the ordering of options in an option sequence of a second question according to the answer options of the first question, wherein the second question is the next question of the first question;
receiving the second questions and options to be selected of the second questions sent by the server, wherein the options to be selected of the second questions are the option sequences of the second questions or parts of the option sequences of the second questions;
and displaying the second question and the to-be-selected item of the second question.
Optionally, before sending the answer options about the first question to the server, the method further includes:
receiving a first question and a to-be-selected item of the first question sent by a server, wherein the to-be-selected item of the first question is an item sequence of the first question or a part of the item sequence of the first question, and the to-be-selected item of the first question comprises an answer item of the first question;
displaying the first question and a to-be-selected item of the first question;
and receiving answer options selected by the user from the to-be-selected items of the first questions.
In a third aspect, the present application proposes a questionnaire method comprising:
the terminal sends answer options related to the first question to the server;
the server receives answer options of the first questions sent by the terminal;
the server determines the ordering of options in the option sequence of a second question according to the answer options of the first question, wherein the second question is the next question of the first question;
the server sends the second question and the to-be-selected item of the second question to the terminal, wherein the to-be-selected item of the second question is the selected item sequence of the second question or part of the selected item sequence of the second question;
the terminal receives the second questions and the to-be-selected items of the second questions sent by the server;
and the terminal displays the second question and the to-be-selected item of the second question.
In a fourth aspect, the present application proposes a questionnaire device comprising:
one or more processors, memory means storing one or more programs;
the method according to any of the first and second aspects of the present application is implemented when the one or more programs are executed by the one or more processors.
In a fifth aspect, the present application proposes a computer readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a method according to any of the first and second aspects of the present application.
The application has the advantages that:
in the method, the selection times of each answer user on each option of any two adjacent questions are accumulated and counted based on a questionnaire model, and the transition probability of each option between any two adjacent questions is counted according to the counted selection times, so that in the process of answering a certain user, the option sequence of the next question of the question is determined according to the answer option of the user on the certain question and the questionnaire model, and the options with more popular selection times are determined and used as options to be selected. In the process, on the premise of ensuring the integrity of information acquisition, the answering time and the answering difficulty of a user in answering are reduced, and the filling will of questionnaires of audiences is improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a flow chart of a questionnaire method for a server according to an embodiment of the present application;
FIG. 2 is a flow chart of a questionnaire method for a terminal according to an embodiment of the present application;
FIG. 3 is a flow chart of a questionnaire method according to an embodiment of the present application;
FIG. 4 is a flowchart of another questionnaire method for a server according to an embodiment of the present application;
FIG. 5 is a flowchart of another questionnaire method for a terminal according to an embodiment of the present application;
FIG. 6 is a flowchart of another questionnaire method according to an embodiment of the present application;
FIG. 7 is a block diagram of a questionnaire device according to an embodiment of the present application;
fig. 8 is a block diagram of a questionnaire device according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example 1
According to an embodiment of the present application, a questionnaire method is provided, which is applied to a server, as shown in fig. 1, and includes:
step 101: receiving answer options from the terminal regarding the first question;
in this embodiment, step 101 may further include: determining an ordering of the options in the sequence of options for the first topic; sending a first question and a to-be-selected item of the first question to a terminal; the first question to-be-selected item is an option sequence of the first question or a part of the option sequence of the first question, and the first question to-be-selected item comprises an answer option of the first question.
Further, the determining the ordering of the options in the option sequence of the first question includes: if the first question is the first question, determining the ordering of the options in the option sequence of the first question according to a preset order; or if the first question is not the first question, determining the sorting of the options in the option sequence of the first question according to the answer option corresponding to the last question of the first question.
Further, if the first question is the first question in the first questionnaire, the step 101 may further include: initializing a questionnaire model;
wherein initializing the questionnaire model may comprise:
Step A1: initializing a question sequence in a questionnaire and an option sequence of each question in the question sequence;
specifically, the topic sequence q= { Q in the questionnaire is initialized 1 ,q 2 …q k …q m Of which 1 is<k is less than or equal to m, and m is the number of questions in the questionnaire; initializing an option sequence for a kth topic
Figure BDA0001899262220000061
Figure BDA0001899262220000062
Where nk is the number of options in the option sequence of the kth item.
Wherein, the number of options in the option sequence of each question can be the same or different;
for example, the first item has 4 options, the second item has 5 options, the third item has 4 options, etc.
Step A2: initializing a transition count matrix and a transition probability matrix of non-head items in the item sequence.
Specifically, m-1 n are initialized in one-to-one correspondence with each non-head item in the item sequence k-1 *n k Transfer count matrix of dimension
Figure BDA0001899262220000071
And transfer count matrix->
Figure BDA0001899262220000072
Each element a of (a) ij Initializing to a preset value; and, for the obtained transfer count matrix +.>
Figure BDA0001899262220000073
Performing line normalization processing to obtain corresponding m-1 n k-1 *n k Transition probability matrix of dimension->
Figure BDA0001899262220000074
Transition probability matrix->
Figure BDA0001899262220000075
Each element of->
Figure BDA0001899262220000076
Wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure BDA0001899262220000077
for the transition count matrix of the kth item with respect to the kth-1 item, +. >
Figure BDA0001899262220000078
A transition probability matrix for the kth topic with respect to the kth-1 topic, n k-1 The number of options in the option sequence for the kth-1 item, n k The number of options in the option sequence of the kth item is 1.ltoreq.i.ltoreq.n k-1 ,1≤j≤n k Element a ij The answer option of each answer user in the k-1 item for accumulated statistics is +.>
Figure BDA0001899262220000079
And the answer option at the kth item is +.>
Figure BDA00018992622200000710
Is a number of times (1).
Preferably, the transfer count matrix
Figure BDA00018992622200000711
Each element a of (a) ij Initialized to a preset value of 1.
Namely, for the transition count matrix and the transition probability matrix of the kth item, the number of rows is the number of options in the option sequence of the kth-1 item, and each option corresponds to one row; the number of columns is the number of options in the option sequence of the kth item, and each option corresponds to one column.
For example, the first item has 4 options, A1, B1, C1, D1, the second item has 5 options A2, B2, C2, D2, E2, and the third item has 4 options A3, B3, C3, D3; the transition count matrix and transition probability matrix of the second item are 4 rows and 5 columns, and the option A1 corresponds to the first row, the option B1 corresponds to the second row, the option C1 corresponds to the third row, the option D1 corresponds to the fourth row, the option A2 corresponds to the first column, the option B2 corresponds to the second column, the option C2 corresponds to the third column, the option D2 corresponds to the fourth column, and the option E2 corresponds to the fifth column; the transition count matrix and transition probability matrix of the third item are 5 rows and 4 columns, and the option A1 corresponds to the first row, the option B2 corresponds to the second row, the option C2 corresponds to the third row, the option D2 corresponds to the fourth row, the option E2 corresponds to the fifth row, the option A3 corresponds to the first column, the option B3 corresponds to the second column, the option C3 corresponds to the third column, and the option D4 corresponds to the fourth column.
It should be noted that, when initializing the transition count matrix and the transition probability matrix, the correspondence between the options and the rows and the columns may be set according to the needs, for example, the transition count matrix and the transition probability matrix of the second item are both 4 rows and 5 columns, the option D1 corresponds to the first row, the option C1 corresponds to the second row, the option B1 corresponds to the third row, the option A1 corresponds to the fourth row, the option E2 corresponds to the first column, the option D2 corresponds to the second column, the option C2 corresponds to the third column, the option B2 corresponds to the fourth column, the option A2 corresponds to the fifth column, and so on.
In the method, before a first question is answered, a transition count matrix and a transition probability matrix corresponding to non-head questions are initialized, so that the selection times of each answer user on a certain question and options of adjacent questions of the question are accumulated and counted in the follow-up process, the option sequence of the question is displayed according to the counted selection times in the follow-up process of answering the certain user, and the options with more popular selection times are displayed before or after the answer, so that the answer difficulty of the user in answering the question is reduced.
Step 102: determining the ordering of options in the option sequence of a second question according to the answer options of the first question, wherein the second question is the next question of the first question;
Specifically, determining the ordering of the options in the option sequence of the second question according to the questionnaire model and the answer options of the first question;
more specificallyIn (2), the first question is marked as the k-1 question, the second question is marked as the k-th question, and the answer option of the first question is marked as
Figure BDA0001899262220000081
Answer option according to item k-1->
Figure BDA0001899262220000082
Transition probability matrix for kth item->
Figure BDA0001899262220000083
The elements of the ith row are ordered according to a preset ordering mode.
The preset sorting mode may be ascending sorting or descending sorting.
For example, when the answer user selects the option C as the answer option of the first question, the elements of the third row in the transition probability matrix of the second question are sorted in a descending order, so that the options with more popular selection times are sorted before, and the answer time and the selection difficulty of the current answer user are reduced.
Step 103: and sending the second questions and options to be selected of the second questions to the terminal, wherein the options to be selected of the second questions are the option sequence of the second questions or part of the option sequence of the second questions.
Specifically, the ordered option sequence of the second questions is used as options to be selected of the second questions, and the second questions and the options to be selected of the second questions are sent to the terminal; or selecting the option at the preset position as the option to be selected of the second question in the ordered option sequence of the second question, and sending the second question and the option to be selected of the second question to the terminal.
The preset positions can be set according to actual needs, for example, the sorting mode is descending sorting, the number of options to be selected can be determined according to the number of options in the option sequence, and a corresponding number of options with the front positions are selected as the options to be selected in the sorting result according to the number of the options to be selected; and if the number of the options to be selected is not greater than the number of the options in the option sequence, if the number of the options in the option sequence is 10 and the number of the options to be selected is 5, selecting the 5 options positioned in the first five as the options to be selected in the sequencing result.
The method in this embodiment further includes: receiving answer options related to a second question from the terminal, wherein the answer options of the second question are contained in to-be-selected options of the second question; if the second question is the last question, updating the questionnaire model according to answer options of all questions.
Wherein updating the questionnaire model according to answer options of all questions comprises: and updating the transition count matrix and the transition probability matrix of each non-head item according to the answer option sequences of all the items.
More specifically, the answer choice sequence for all questions is recorded as O user ={o 1 、o 2 …o k …o m }, where o k Answer options for the item k; for the kth item, 1 <k is less than or equal to m, and the option according to the k-1 item
Figure BDA0001899262220000091
Option of the kth item->
Figure BDA0001899262220000092
Update transfer count matrix of kth item ≡>
Figure BDA0001899262220000093
Transfer count matrix based on updated kth item
Figure BDA0001899262220000094
Updating transition probability matrix of kth item->
Figure BDA0001899262220000095
Further, the option according to item k-1
Figure BDA0001899262220000096
Selection of the kth itemItem->
Figure BDA0001899262220000097
Update transfer count matrix of kth item ≡>
Figure BDA0001899262220000098
May include: transfer count matrix for kth item->
Figure BDA0001899262220000099
Element a of (a) ij When i is the answer choice o of the k-1 item k-1 The corresponding row, j is the answer option o of the kth item k A when the column corresponds to ij =a ij +1, otherwise, a ij =a ij
Further, the transfer count matrix according to the updated kth item
Figure BDA00018992622200000910
Updating transition probability matrix of kth item->
Figure BDA00018992622200000911
May include: transfer count matrix for updated kth item +.>
Figure BDA00018992622200000912
Line normalization processing and using the processing result as transition probability matrix of kth item ≡>
Figure BDA00018992622200000913
Corresponding element p of (a) ij Updated values.
Therefore, the selection times of each answer user on each option of any two adjacent questions are accumulated and counted based on the questionnaire model, and the transition probability of each option between any two adjacent questions is counted according to the counted selection times, so that in the process of answering a certain user, the option sequence of the next question of the certain question is ordered according to the answer option of the user on the certain question and the questionnaire model, the option with the more popular selection times is determined and is used as the option to be sent to the terminal, the answer time and the answer difficulty of the user when answering are reduced on the premise of guaranteeing the completeness of information acquisition, and the questionnaire of the audience is improved.
Example two
According to an embodiment of the present application, a questionnaire method is provided, which is applied to a terminal, as shown in fig. 2, and includes:
step 201: transmitting answer options related to the first question to a server, so that the server can determine the ordering of options in an option sequence of a second question according to the answer options of the first question, wherein the second question is the next question of the first question;
in this embodiment, step 201 may further include: receiving a first question and a to-be-selected item of the first question sent by a server, wherein the to-be-selected item of the first question is an item sequence of the first question or a part of an item sequence of the first question, and the to-be-selected item of the first question comprises an answer item of the first question; displaying the received first questions and the to-be-selected items of the first questions; and receiving answer options selected by the user from the to-be-selected items of the first questions.
Further, when the server receives the answer options of the first question sent by the terminal, the ordering of the options in the option sequence of the second question is determined according to the answer options of the first question, and the second question and the options to be selected of the second question are sent to the terminal.
Step 202: receiving a second question and a to-be-selected item of the second question sent by a server, wherein the to-be-selected item of the second question is an item sequence of the second question or a part of the item sequence of the second question;
Step 203: and displaying the second question and the to-be-selected item of the second question.
In this embodiment, the method further includes: and receiving answer options selected by the user from the to-be-selected options of the second questions, and sending the answer options of the second questions to the server.
In this embodiment, after the server sorts the option sequences of the questions, the finally determined options to be selected are displayed to the user, so that the options with more popular selection times are displayed to the user in front, and on the premise of ensuring the integrity of information acquisition, the answering time and answering difficulty of the user in answering are reduced, and the filling will of the questionnaire of the audience is improved.
Example III
According to an embodiment of the present application, a questionnaire method is further provided, as shown in fig. 3, including:
step 301: the terminal sends answer options related to the first question to the server;
step 302: the server receives answer options of a first question sent by the terminal;
step 303: the server determines the ordering of options in the option sequence of a second question according to the answer options of the first question, wherein the second question is the next question of the first question;
step 304: the server sends a second question and options to be selected of the second question to the terminal, wherein the options to be selected of the second question are an option sequence of the second question or a part of the option sequence of the second question;
Step 305: the terminal receives a second question and a to-be-selected item of the second question sent by the server;
step 306: the terminal displays the second question and the to-be-selected item of the second question.
In this embodiment, the implementation method of each step may refer to the related descriptions in the foregoing first embodiment and the second embodiment, which are not described in detail herein.
In the embodiment, the option with more times of popular selection in each question is determined based on the questionnaire model and used as the option to be selected, so that the answering time and the answering difficulty of the user during answering are reduced on the premise of guaranteeing the integrity of information acquisition, and the questionnaire filling will of the audience is improved.
Example IV
According to an embodiment of the present application, a questionnaire method is further provided, which is applied to a server, as shown in fig. 4, after the server sends a first item and a to-be-selected item of the first item to a terminal, the following operations are performed:
step 401: receiving answer options sent by a terminal;
according to an embodiment of the present application, before the first sending of the first item and the to-be-selected item of the first item to the terminal, the method further includes: a questionnaire model is initialized.
The method for initializing the questionnaire model is the same as that of the first embodiment, and reference is made to the related description of the first embodiment, which is not described in detail herein.
Further, sending the header and the to-be-selected item of the header to the terminal includes:
and determining the sorting of the options in the option sequence of the head item according to the preset sequence, and sending the head item and the options to be selected of the head item to the terminal, wherein the options to be selected of the head item are the sorted option sequence of the head item or part of the sorted option sequence of the head item.
Step 402: according to the received answer options and the questionnaire model, determining the ordering of the options in the option sequence of the next question, and sending the next question and the options to be selected of the next question to the terminal for the terminal to display, and returning to the step 401 when the answer is not ended; when the answer is over, execute step 403;
the method for determining the ordering of the options in the option sequence of the next question according to the received answer options and the questionnaire model is the same as the implementation method of step 102 in the first embodiment, and the related description in the first embodiment will be referred to, and will not be described in detail herein.
In the method, in the process of answering a certain answer user, according to the accumulated statistics of the number of selections of other answer users in the kth question and the kth-1 question and the answer options of the current answer user in the kth-1 question, the current option sequence of the kth question is ordered to determine the option with more popular selections and serve as the option to be selected, so that the time cost and the answer difficulty of the current answer user in answering are reduced.
Step 403: and receiving an answer option sequence sent by the terminal, and updating the questionnaire model according to the received answer option sequence.
Wherein updating the questionnaire model according to the received answer option sequence comprises: the transition count matrix and transition probability matrix of the non-head item are updated according to the received answer option sequence, and the specific updating method can be referred to the related description in the first embodiment, which is not described in detail herein.
In the embodiment, based on a questionnaire model, the number of selections of each answer user for each option of any two adjacent questions is accumulated and counted, and the transition probability of each option between any two adjacent questions is counted according to the counted number of selections, so that in the process of answering a question by a user, the option sequence of the next question of the question is ordered according to the answer option of the question and the questionnaire model by the user, so that the option with the more popular number of selections is determined and is sent to a terminal as the option to be selected, and on the premise of ensuring the completeness of information acquisition, the answer time and the answer difficulty of the user in answering the question are reduced, and the questionnaire will of an audience is promoted.
Example five
According to an embodiment of the present application, a questionnaire method is further provided, which is applied to a terminal, as shown in fig. 5, and includes:
Step 501: receiving topics and to-be-selected items of the topics sent by a server, wherein the to-be-selected items are sequenced by the server;
step 502: displaying the received questions and the to-be-selected items of the questions;
specifically, the received questions and the to-be-selected items of the questions are displayed to the answering user, so that the answering user can select the answer options.
Step 503: receiving answer options from the user, and when the answer is not finished, sending the received answer options to the server so that the server can determine the ordering of the option sequence of the next question, and returning to step 501; when the answer is over, execute step 504;
for example, an answer option is received from a second question of the user, and the received answer option is sent to the server for the server to order the sequence of options for the third question.
Further, before step 503, the method further includes: judging whether the currently received question is the last question;
specifically, according to the total number of the topics stored by the user, judging whether the currently received topic is the last topic or not; or when receiving the first item sent by the server, the method further comprises the steps of receiving the total number of the items, and judging whether the currently received item is the last item according to the total number of the received items; or judging whether the received questions sent by the server contain an end mark, if yes, judging that the currently received questions are the last questions, otherwise, judging that the currently received questions are not the last questions.
Step 504: and sending the received answer option sequence to a server for updating the questionnaire model by the server.
For example, the questionnaire total 20 questions, when receiving the answer options from the 20 th question of the user, the answer option sequence composed of the received 20 answer options is sent to the server, so that the server updates the questionnaire model.
In this embodiment, after the server sorts the option sequences of the questions, the finally determined options to be selected are displayed to the user, so that the options with more popular selection times are displayed to the user in front, and on the premise of ensuring the integrity of information acquisition, the answering time and answering difficulty of the user in answering are reduced, and the filling will of the questionnaire of the audience is improved.
Example six
According to an embodiment of the present application, a questionnaire method is also provided, as shown in fig. 6, including:
step 601: the server determines the ordering of the option sequences of the questions according to the questionnaire model;
according to an embodiment of the present application, before step 601, the method further includes:
the server determines the sorting of the options in the option sequence of the head item according to a preset sequence, and sends the head item and the options to be selected of the head item to the terminal, wherein the options to be selected of the head item are the sorted option sequence of the head item or part of the sorted option sequence of the head item;
The terminal displays the received questions and options to be selected, receives answer options from the user and sends the answer options to the server;
and the server receives answer options sent by the terminal.
Correspondingly, step 601 specifically includes: and the server determines the ordering of the option sequence of the next question according to the received answer options and the questionnaire model.
For example, the ordering of the sequence of choices for the second question is determined based on the answer choices for the received first question.
Further, before the server sends the first item and the to-be-selected item of the first item to the terminal for the first time, the server further includes: a questionnaire model is initialized.
The specific process of initializing the questionnaire model may be referred to in the examples and related descriptions are not described in detail herein.
Step 602: the server sends the questions and the options to be selected of the questions to the terminal, wherein the options to be selected of the questions are the ordering of the option sequences of the questions or the ordering part of the option sequences of the questions;
specifically, the server sends the next item and the item to be selected to the terminal.
For example, the server sends the second item and the to-be-selected item of the second item to the terminal.
Step 603: the terminal receives the questions and the to-be-selected items of the questions sent by the server;
Step 604: the terminal displays the received questions and the items to be selected of the questions, and receives answer options from the user;
according to an embodiment of the present application, after step 604, further includes:
the terminal sends the received answer options to the server so that the server can determine the sequence of the answer options of the next item, and returns to the step 601; thus, steps 601 to 604 are repeatedly executed, and step 605 is executed until the answer is finished;
for example, the terminal sends the received answer options for the second question to the server for the server to order the answer options for the third question.
In the method, the server sequentially sorts the option sequence of the next question corresponding to the questions according to the received answer options and the questionnaire model, and the questionnaire process based on dynamic sorting is realized.
Step 605: when answering is finished, the terminal sends the received answer option sequence to the server;
step 606: the server updates the questionnaire model according to the received answer choice sequence.
The method for updating the questionnaire model may be described in the first embodiment, and will not be described in detail herein.
In the embodiment, the option with more times of popular selection in each question is determined based on the questionnaire model and used as the option to be selected, so that the answering time and the answering difficulty of the user during answering are reduced on the premise of guaranteeing the integrity of information acquisition, and the questionnaire filling will of the audience is improved.
It should be noted that, in the embodiments shown in fig. 1 to 6, the same or similar contents may be cited with each other, and for brevity, no description is given in this application.
The foregoing mainly describes the method provided in the present application, and the following describes the apparatus provided in the present application, where in the embodiments related to the apparatus, the content corresponding to the method part may refer to the detailed description in the methods shown in fig. 1 to fig. 6, and will not be described in detail later. It is to be understood that the apparatus provided in the present application may include units or modules capable of performing the steps in the foregoing method examples, where the units or modules may be implemented by hardware, software, or a combination of hardware and software, and the present application is not limited thereto. Specific examples are given below in connection with fig. 7 and 8, respectively.
Example seven
According to an embodiment of the present application, there is also provided a questionnaire device, as shown in fig. 7, including:
A first receiving module 701, configured to receive answer options related to a first question from a terminal;
a determining module 702, configured to determine, according to answer options of a first question, a ranking of options in an option sequence of a second question, where the second question is a question next to the first question;
the first sending module 703 is configured to send the second question and a to-be-selected item of the second question to the terminal, where the to-be-selected item of the second question is an item sequence of the second question or a part of an item sequence of the second question.
According to an embodiment of the present application, the determining module 702 is specifically configured to determine the order of the options in the option sequence of the second question according to the questionnaire model and the answer options of the first question.
According to an embodiment of the present application, the apparatus further comprises an update module;
the first receiving module 701 is further configured to receive, from the terminal, an answer option related to a second question, where the answer option of the second question is included in a candidate option of the second question;
and the updating module is used for updating the questionnaire model according to answer options of all the questions when the second question is the last question.
According to an embodiment of the present application, the apparatus further comprises an initialization module;
And the initialization module is used for initializing a questionnaire model before the first question is the first question in the first questionnaire and the answer options about the first question are received from the terminal.
According to an embodiment of the present application, the initialization module includes: the system comprises a first initialization sub-module, a second initialization sub-module and a third initialization sub-module, wherein:
the first initialization submodule is used for initializing a question sequence in the questionnaire and an option sequence of each question in the question sequence;
the second initialization submodule is used for initializing a transfer count matrix of non-head items in the item sequence;
and the third initialization sub-module is used for initializing a transition probability matrix of the non-head item in the item sequence.
According to an embodiment of the present application, the first initialization submodule is specifically configured to initialize a question sequence q= { Q in a questionnaire 1 ,q 2 …q m M is the number of questions in the questionnaire; initializing an option sequence for a kth topic
Figure BDA0001899262220000161
Wherein k is an integer and 1<k≤m,n k The number of options in the sequence of options for the kth item.
According to an embodiment of the present application, the second initializing sub-module is specifically configured to initialize m-1 n in one-to-one correspondence with each non-head item in the item sequence k-1 *n k Transfer count matrix of dimension
Figure BDA0001899262220000162
And transfer count matrix->
Figure BDA0001899262220000163
Each element a of (a) ij Initializing to a preset value; wherein (1)>
Figure BDA0001899262220000164
A transition count matrix for the kth topic with respect to the kth-1 topic, n k-1 The number of options in the option sequence for the kth-1 item, n k The number of options in the option sequence of the kth item is 1.ltoreq.i.ltoreq.n k-1 ,1≤j≤n k
According to an embodiment of the present application, the third initialization submodule is specifically configured to respectively count the transfer count matrices
Figure BDA0001899262220000165
Performing line normalization processing to obtain corresponding m-1 n k-1 *n k Transition probability matrix of dimension->
Figure BDA0001899262220000166
Transition probability matrix->
Figure BDA0001899262220000167
Each element of->
Figure BDA0001899262220000168
Wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure BDA0001899262220000169
a transition probability matrix for the kth topic with respect to the kth-1 topic, n k-1 The number of options in the option sequence for the kth-1 item, n k The number of options in the option sequence of the kth item is 1.ltoreq.i.ltoreq.n k-1 ,1≤j≤n k
According to an embodiment of the present application, the determining module 702 is specifically configured to record the first question as the k-1 st question, the second question as the k-th question, and the answer option as
Figure BDA0001899262220000171
Answer option according to item k-1->
Figure BDA0001899262220000172
Transition probability matrix for kth item->
Figure BDA0001899262220000173
The elements of the ith row are ordered according to a preset ordering mode.
Further, the updating module includes: a first update sub-module and a second update sub-module, wherein:
The first updating sub-module is used for updating the transfer count matrix of each non-head item according to the answer option sequence;
and the second updating sub-module is used for updating the transition probability matrix of each non-head item according to the answer option sequence.
Marking the answer option sequence as O user ={o 1 、o 2 …o k …o m },Wherein o is k For answer options at the kth item, the corresponding:
a first updating sub-module, specifically for the kth item, wherein 1<k is less than or equal to m, and the option according to the k-1 item
Figure BDA0001899262220000174
Option of the kth item->
Figure BDA0001899262220000175
Update transfer count matrix of kth item ≡>
Figure BDA0001899262220000176
A second updating sub-module, specifically configured to transfer count matrix according to the updated kth item
Figure BDA0001899262220000177
Updating transition probability matrix of kth item->
Figure BDA0001899262220000178
More specifically, a first updating sub-module is used for transferring a counting matrix of the kth item
Figure BDA0001899262220000179
Element a of (a) ij When i is the answer choice o of the k-1 item k-1 The corresponding row, j is the answer option o of the kth item k A when the column corresponds to ij =a ij +1, otherwise, a ij =a ij 。/>
A second updating sub-module for counting the transfer matrix of the updated kth item
Figure BDA00018992622200001710
Performing line normalization processing, and using the processing result as a transition probability matrix of the kth item ∈ ->
Figure BDA00018992622200001711
Corresponding element p of (a) ij Updated values.
According to an embodiment of the present application, the determining module 702 is further configured to determine a ranking of the options in the option sequence of the first question;
correspondingly, the first sending module 703 is further configured to send the first question and a to-be-selected item of the first question to the terminal, where the to-be-selected item of the first question is an item sequence of the first question or a part of an item sequence of the first question, and the to-be-selected item of the first question includes an answer item of the first question.
According to an embodiment of the present application, the determining module 702 is specifically configured to determine, if the first question is a first question, a ranking of the options in the option sequence of the first question according to a preset order; or if the first question is not the first question, determining the sorting of the options in the option sequence of the first question according to the answer option corresponding to the last question of the first question.
Example eight
According to an embodiment of the present application, there is also provided a questionnaire device, as shown in fig. 8, including:
a second sending module 801, configured to send answer options related to a first question to a server, so that the server determines, according to the answer options of the first question, a ranking of options in an option sequence of a second question, where the second question is a question next to the first question;
A second receiving module 802, configured to receive a second question and a to-be-selected item of the second question sent by the server, where the to-be-selected item of the second question is an item sequence of the second question or a part of an item sequence of the second question;
the display module 803 is configured to display the second question and a waiting option of the second question.
According to an embodiment of the present application, the second receiving module 802 is further configured to receive, before the second sending module sends the answer option related to the first question to the server, the first question and the first question to-be-selected item sent by the server, where the first question to-be-selected item is an option sequence of the first question or a part of an option sequence of the first question, and the first question to-be-selected item includes the answer option of the first question;
the display module 803 is further configured to display the first question and a to-be-selected item of the first question;
the second receiving module 802 is further configured to receive answer options selected by the user from the to-be-selected items of the first question.
According to an embodiment of the present society, a questionnaire system is also presented, comprising the apparatus described in example seven and example eight.
According to an embodiment of the present society, there is also provided a questionnaire apparatus including: one or more processors, memory means storing one or more programs; the questionnaire method as described above is implemented when the one or more programs are executed by the one or more processors.
Further, the storage device may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM) and/or a cache memory unit, and may further include a read only memory unit (ROM).
According to an embodiment of the present application, there is also proposed a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, implements a questionnaire method as described above.
Further, the computer-readable storage medium includes, but is not limited to: phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory, or other optical and magnetic storage media, which are not described in detail herein.
From the above description of embodiments, those skilled in the art will readily appreciate that the embodiments described herein may be implemented in software, or in combination with the necessary hardware. Thus, the technical solutions according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and include several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing is merely a preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (16)

1. A questionnaire method applied to a server, comprising:
if the first question is the first question in the first questionnaire, before receiving the answer option about the first question from the terminal, the method comprises: initializing a questionnaire model, comprising: initializing a question sequence in a questionnaire and an option sequence of each question in the question sequence; initializing a transition count matrix of non-head items in the sequence of items
Figure QLYQS_1
And transition probability matrix->
Figure QLYQS_3
The method comprises the steps of carrying out a first treatment on the surface of the Wherein (1)>
Figure QLYQS_4
A transition count matrix for the kth topic with respect to the kth-1 topic; />
Figure QLYQS_5
A transition probability matrix for the kth topic with respect to the kth-1 topic;
determining a ranking of the options in the option sequence of the second question according to the questionnaire model and the answer options of the first question, comprising: the first question is marked as the first
Figure QLYQS_6
Item, the second item is marked as the kth item, and the answer option is marked as +.>
Figure QLYQS_7
The method comprises the steps of carrying out a first treatment on the surface of the According to the->
Figure QLYQS_8
Answer option for item>
Figure QLYQS_9
Transition probability matrix for kth item
Figure QLYQS_10
The elements of the ith row are ordered according to a preset ordering mode; wherein the second topic is the next topic to the first topic;
and sending the second question and the to-be-selected item of the second question to the terminal, wherein the to-be-selected item of the second question is the selected item sequence of the second question or part of the selected item sequence of the second question.
2. The method as recited in claim 1, further comprising:
receiving answer options related to the second question from the terminal, wherein the answer options of the second question are contained in the options to be selected of the second question;
and if the second question is the last question, updating the questionnaire model according to answer options of all the questions.
3. The method of claim 2, wherein initializing a sequence of questions in a questionnaire and a sequence of options for each question in the sequence of questions comprises:
initializing a sequence of topics in a questionnaire
Figure QLYQS_11
Wherein m is the number of questions in the questionnaire;
Initialize the first
Figure QLYQS_12
Option sequence of item->
Figure QLYQS_13
Wherein k is an integer and +.>
Figure QLYQS_14
,n k The number of options in the sequence of options for the kth item.
4. The method of claim 3, wherein initializing a transition count matrix for non-head items in the sequence of items comprises:
initializing m-1 corresponding to each non-head item in the item sequence
Figure QLYQS_15
Transfer count matrix of dimension->
Figure QLYQS_16
And transfer count matrix->
Figure QLYQS_17
Each element a of (a) ij Initializing to a preset value;
wherein n is k-1 The number of options in the option sequence for the kth-1 item, n k For the number of options in the sequence of options for the kth item,
Figure QLYQS_18
,/>
Figure QLYQS_19
5. the method of claim 4, wherein initializing a transition probability matrix for non-head items in the sequence of items comprises:
respectively to the transfer count matrix
Figure QLYQS_20
Performing line normalization to obtain corresponding m-1 pieces +.>
Figure QLYQS_21
Transition probability matrix of dimension->
Figure QLYQS_22
Transition probability matrix->
Figure QLYQS_23
Each element of->
Figure QLYQS_24
6. The method of claim 5, wherein the updating the questionnaire model based on answer choices for all topics comprises:
and updating the transition count matrix and the transition probability matrix of each non-head item according to the answer option sequence.
7. The method of claim 6, wherein the answer choice sequence is recorded as
Figure QLYQS_25
Wherein->
Figure QLYQS_26
In the +.>
Figure QLYQS_27
Answer options for the item;
the updating of the transition count matrix and transition probability matrix of each non-head item according to the answer option sequence comprises the following steps:
for the kth item, wherein
Figure QLYQS_28
Option according to item k-1 +.>
Figure QLYQS_29
Option of kth item>
Figure QLYQS_30
Update transfer count matrix of kth item +.>
Figure QLYQS_31
According to updated first
Figure QLYQS_32
Transfer count matrix of item->
Figure QLYQS_33
Update->
Figure QLYQS_34
Transition probability matrix of item->
Figure QLYQS_35
8. The method of claim 7, wherein the option according to item k-1
Figure QLYQS_36
Option of kth item>
Figure QLYQS_37
Update transfer count matrix of kth item +.>
Figure QLYQS_38
Comprising:
transfer count matrix for kth item
Figure QLYQS_39
Element a of (a) ij When i is the answer option of the k-1 item +.>
Figure QLYQS_40
Corresponding row, j is the answer option of the kth item +.>
Figure QLYQS_41
When the column corresponds to->
Figure QLYQS_42
Otherwise, let(s)>
Figure QLYQS_43
9. The method of claim 8, wherein the transition count matrix according to the updated kth item
Figure QLYQS_44
Updating transition probability matrix of kth item +.>
Figure QLYQS_45
Comprising:
transfer count matrix for updated kth item
Figure QLYQS_46
Performing line normalization processing, and using the processing result as a transition probability matrix of the kth item ∈ ->
Figure QLYQS_47
Corresponding element p of (a) ij Updated values.
10. The method according to any one of claims 1 to 9, further comprising, before the receiving an answer choice from a terminal regarding the first question:
determining an ordering of options in the sequence of options for the first topic;
and sending the first question and the to-be-selected item of the first question to the terminal, wherein the to-be-selected item of the first question is an item sequence of the first question or a part of the item sequence of the first question, and the to-be-selected item of the first question comprises an answer item of the first question.
11. The method of claim 10, wherein the determining the ordering of the options in the sequence of options for the first topic comprises:
if the first question is the first question, determining the ordering of the options in the option sequence of the first question according to a preset order; or alternatively, the process may be performed,
and if the first question is not the first question, determining the ordering of the options in the option sequence of the first question according to the answer option corresponding to the last question of the first question.
12. A questionnaire method applied to a terminal, comprising:
transmitting answer options related to a first question to a server, so that the server determines the ordering of options in an option sequence of a second question according to a questionnaire model and the answer options of the first question, wherein the second question is the next question of the first question; the questionnaire model comprises the following steps: question sequence in question book, option sequence of each question in question sequence and transfer count matrix of non-head questions in question sequence
Figure QLYQS_48
And transition probability matrix->
Figure QLYQS_49
The method comprises the steps of carrying out a first treatment on the surface of the Wherein (1)>
Figure QLYQS_50
A transition count matrix for the kth topic with respect to the kth-1 topic; />
Figure QLYQS_51
A transition probability matrix for the kth topic with respect to the kth-1 topic;
receiving the second questions and options to be selected of the second questions sent by the server, wherein the options to be selected of the second questions are the option sequences of the second questions or parts of the option sequences of the second questions; the to-be-selected items of the second questions are determined by the server based on the transition probability matrix, and the determining process of the to-be-selected items of the second questions comprises the following steps: the first question is marked as a k-1 question, the second question is marked as a k-1 question, and the answer option is marked as
Figure QLYQS_52
The method comprises the steps of carrying out a first treatment on the surface of the Answer option according to the k-1 item->
Figure QLYQS_53
Transition probability matrix for kth item->
Figure QLYQS_54
The elements of the ith row are ordered according to a preset ordering mode;
and displaying the second question and the to-be-selected item of the second question.
13. The method of claim 12, further comprising, prior to sending the answer options for the first question to the server:
receiving a first question and a to-be-selected item of the first question sent by a server, wherein the to-be-selected item of the first question is an item sequence of the first question or a part of the item sequence of the first question, and the to-be-selected item of the first question comprises an answer item of the first question;
displaying the first question and a to-be-selected item of the first question;
and receiving answer options selected by the user from the to-be-selected items of the first questions.
14. A method of questionnaire, comprising:
the terminal sends answer options related to the first question to the server;
if the first question is the first question in the first questionnaire, the server receives the answer option of the first question sent by the terminal; comprising the following steps: initializing a questionnaire model, comprising: initializing a question sequence in a questionnaire and an option sequence of each question in the question sequence; initializing a transition count matrix of non-head items in the sequence of items
Figure QLYQS_55
And transition probability matrix->
Figure QLYQS_56
The method comprises the steps of carrying out a first treatment on the surface of the Wherein (1)>
Figure QLYQS_57
A transition count matrix for the kth topic with respect to the kth-1 topic; />
Figure QLYQS_58
A transition probability matrix for the kth topic with respect to the kth-1 topic;
the server determining a ranking of options in a sequence of options for a second question according to the questionnaire model and answer options for the first question, comprising: the first question is marked as a k-1 question, the second question is marked as a k-1 question, and the answer option is marked as
Figure QLYQS_59
The method comprises the steps of carrying out a first treatment on the surface of the Answer option according to the k-1 item->
Figure QLYQS_60
Transition probability matrix for kth item->
Figure QLYQS_61
The elements of the ith row are ordered according to a preset ordering mode; wherein the second topic is the next topic to the first topic;
the server sends the second question and the to-be-selected item of the second question to the terminal, wherein the to-be-selected item of the second question is the selected item sequence of the second question or part of the selected item sequence of the second question;
the terminal receives the second questions and the to-be-selected items of the second questions sent by the server;
and the terminal displays the second question and the to-be-selected item of the second question.
15. A questionnaire device, comprising:
one or more processors, memory means storing one or more programs;
the method of any of claims 1-11, 12-13 is implemented when the one or more programs are executed by the one or more processors.
16. A computer readable storage medium, on which a computer program is stored, characterized in that the method according to any one of claims 1-11, 12-13 is implemented when the computer program is executed by a processor.
CN201811505182.2A 2018-12-10 2018-12-10 Questionnaire method, device and storage medium Active CN109614595B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811505182.2A CN109614595B (en) 2018-12-10 2018-12-10 Questionnaire method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811505182.2A CN109614595B (en) 2018-12-10 2018-12-10 Questionnaire method, device and storage medium

Publications (2)

Publication Number Publication Date
CN109614595A CN109614595A (en) 2019-04-12
CN109614595B true CN109614595B (en) 2023-07-04

Family

ID=66008565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811505182.2A Active CN109614595B (en) 2018-12-10 2018-12-10 Questionnaire method, device and storage medium

Country Status (1)

Country Link
CN (1) CN109614595B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866534B (en) * 2020-07-24 2022-10-04 北京达佳互联信息技术有限公司 Service processing method and device in live broadcast, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699973A (en) * 2015-03-19 2015-06-10 腾讯科技(深圳)有限公司 Method and device for controlling logic of questionnaires
CN105068980A (en) * 2015-08-07 2015-11-18 北京思特奇信息技术股份有限公司 Graphical display method and system for jump relationship among topics
CN105930326A (en) * 2015-11-26 2016-09-07 无锡子木教育科技有限公司 Specialty construction research and curriculum development system
CN107451415A (en) * 2017-08-18 2017-12-08 北京燕鑫康达科技有限公司 Health examination is tested oneself Questionnaire systems
CN108198321A (en) * 2017-12-27 2018-06-22 杭州数能科技有限公司 A kind of internet voting method and relevant apparatus
CN108346030A (en) * 2017-12-29 2018-07-31 北京北森云计算股份有限公司 Computer adaptive ability testing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699973A (en) * 2015-03-19 2015-06-10 腾讯科技(深圳)有限公司 Method and device for controlling logic of questionnaires
CN105068980A (en) * 2015-08-07 2015-11-18 北京思特奇信息技术股份有限公司 Graphical display method and system for jump relationship among topics
CN105930326A (en) * 2015-11-26 2016-09-07 无锡子木教育科技有限公司 Specialty construction research and curriculum development system
CN107451415A (en) * 2017-08-18 2017-12-08 北京燕鑫康达科技有限公司 Health examination is tested oneself Questionnaire systems
CN108198321A (en) * 2017-12-27 2018-06-22 杭州数能科技有限公司 A kind of internet voting method and relevant apparatus
CN108346030A (en) * 2017-12-29 2018-07-31 北京北森云计算股份有限公司 Computer adaptive ability testing method and device

Also Published As

Publication number Publication date
CN109614595A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN110929052B (en) Multimedia resource recommendation method and device, electronic equipment and storage medium
AU2009282190B2 (en) Object identification in images
CN110610404A (en) Network course recommendation method, device, system, electronic equipment and storage medium
CN107391108B (en) Notification bar information correction method and device and electronic equipment
CN111258484A (en) Video playing method and device, electronic equipment and storage medium
CN110110201A (en) A kind of content recommendation method and system
CN109614595B (en) Questionnaire method, device and storage medium
CN106201509A (en) A kind of method for information display, device and mobile terminal
CN109151547A (en) A kind of carousel method, device, terminal and storage medium
CN112464301A (en) Image display method and device
CN106878760A (en) Draw and parse the method and device of present
CN113169811B (en) Data processing method and matrix memory
CN116634008A (en) Information pushing method, device, computer equipment and storage medium
CN110012321A (en) The put-on method and device of video ads position
CN109451018B (en) Information object pushing method, computing device and computer storage medium
CN113377999B (en) Video pushing method, computer device and readable storage medium
CN109271499A (en) Recommended method, device and the terminal device of answer user in a kind of knowledge question
CN110971895B (en) Video jitter detection method and device
CN112668902B (en) Resource allocation method and device, electronic equipment and storage medium
CN111159545A (en) Recommended house source determining method and device and house source recommending method and device
CN110292774B (en) Method, device, equipment and storage medium for processing stubble finding picture material
CN113870093A (en) Image caching method and device, electronic equipment and storage medium
CN112532406A (en) Data processing method and device for contrast experiment, computer equipment and storage medium
CN110633415A (en) Network course pushing method, device, system, electronic equipment and storage medium
CN118152650A (en) Application program recommendation method and device

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