CN110245213B - Questionnaire generation method, device, equipment and storage medium - Google Patents

Questionnaire generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN110245213B
CN110245213B CN201910382999.3A CN201910382999A CN110245213B CN 110245213 B CN110245213 B CN 110245213B CN 201910382999 A CN201910382999 A CN 201910382999A CN 110245213 B CN110245213 B CN 110245213B
Authority
CN
China
Prior art keywords
investigation
questionnaire
information
preset
question
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
CN201910382999.3A
Other languages
Chinese (zh)
Other versions
CN110245213A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910382999.3A priority Critical patent/CN110245213B/en
Publication of CN110245213A publication Critical patent/CN110245213A/en
Application granted granted Critical
Publication of CN110245213B publication Critical patent/CN110245213B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/335Filtering based on additional data, e.g. user or group profiles
    • G06F16/337Profile generation, learning or modification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • 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

Abstract

The invention relates to the field of data processing, and discloses a questionnaire generating method, which comprises the following steps: when receiving a questionnaire generation request, acquiring investigation scene information and investigation object information corresponding to the questionnaire generation request; extracting investigation questions from the preset questionnaire information base according to the investigation scene information to form an investigation question set; extracting target investigation questions from the investigation question set according to the investigation object information and arranging the investigation questions to generate a investigation questionnaire so that a user can input answer information based on the investigation questionnaire; and when the completion of the questionnaire reply is detected, the questionnaire and the answer information are stored in a correlated manner. The invention also discloses a questionnaire generating device, a device and a storage medium. The invention aims to flexibly and intelligently generate the questionnaire meeting the investigation purpose according to investigation scene information and investigation object information.

Description

Questionnaire generation method, device, equipment and storage medium
Technical Field
The present invention relates to the field of data processing, and in particular, to a method, apparatus, device, and storage medium for generating a questionnaire.
Background
A questionnaire refers to a method of requiring a surveyor to answer in response to collect data by formulating a detailed and careful questionnaire. Questionnaires are a common tool used by people to collect data in social research activities. The investigation personnel accurately and specifically measure the social activity process by means of the questionnaire, and describe and analyze the quantity by applying a social statistical method.
The current questionnaire is generally the investigation information of fixed questions, and can not be adjusted according to different investigation objects, so how to generate the questionnaire meeting the investigation purposes more flexibly and intelligently becomes the technical problem to be solved currently.
Disclosure of Invention
The invention mainly aims to provide a questionnaire generating method, a device, equipment and a storage medium, which aim to flexibly and intelligently generate a questionnaire meeting the investigation purpose.
In order to achieve the above object, the present invention provides a questionnaire generating method, comprising the steps of:
when receiving a questionnaire generation request, acquiring investigation scene information and investigation object information corresponding to the questionnaire generation request;
Extracting investigation questions from the preset questionnaire information base according to the investigation scene information to form an investigation question set;
extracting target investigation questions from the investigation question set according to the investigation object information and arranging the investigation questions to generate a investigation questionnaire so that a user can input answer information based on the investigation questionnaire;
and when the completion of the questionnaire reply is detected, the questionnaire and the answer information are stored in a correlated manner.
Optionally, the step of extracting the investigation questions from the preset questionnaire information base according to the investigation scene information to form an investigation question set includes:
extracting scene words in the investigation scene information, and obtaining investigation questions matched with the scene words in a preset questionnaire information base to form an initial investigation question set;
extracting the investigation purpose in the investigation scene information, and deleting the interference investigation questions which are irrelevant to the investigation purpose in the initial investigation question set to obtain an investigation question set.
Optionally, the step of extracting the target survey questions from the survey question set according to the survey object information and generating a survey questionnaire side by side for the user to input answer information based on the survey questionnaire includes:
Acquiring a questionnaire type corresponding to the questionnaire generation request when the information quantity of the investigation object information does not exceed a preset information quantity;
when the questionnaire type is a card type subjective question type, behavior characteristic information in the investigation object information is obtained;
acquiring and outputting a first target investigation question matched with the behavior characteristic information in the investigation question set, so that a user can input answer information based on the first target investigation question;
analyzing the received answer information through a preset answer analysis model to obtain and output a new first target investigation question related to the answer information;
and outputting prompt information when the number of the first target investigation questions reaches the preset number, so as to prompt the user to complete the questionnaire generation.
Optionally, before the step of analyzing the received answer information through the preset answer analysis model to obtain and output a new first target investigation question related to the answer information, the method includes:
extracting subjective question investigation samples with preset proportions from a preset subjective question investigation sample set to serve as a first example, and taking subjective question investigation samples except the first example as a second example;
Training a basic answer analysis model through the first case to obtain an initial answer analysis model, and verifying the initial answer analysis model through the second case to obtain the verification passing rate of the initial answer analysis model;
and when the verification passing rate is higher than a preset passing rate, taking the initial answer analysis model as a preset answer analysis model.
Optionally, after the step of acquiring the questionnaire type corresponding to the questionnaire generation request when the information amount of the investigation object information does not exceed the preset information amount, the method includes:
judging whether a preset virtual investigation object conforming to the investigation object information exists or not when the investigation questionnaire type is not the card type subjective question type;
when a preset virtual investigation object conforming to the investigation object information exists, acquiring and outputting a questionnaire corresponding to the preset virtual investigation object, so that a user can input answer information based on the questionnaire.
Optionally, the step of extracting the target survey questions from the survey question set according to the survey object information and generating a survey questionnaire side by side for the user to input answer information based on the survey questionnaire includes:
When the information quantity of the investigation object information exceeds a preset information quantity, comparing the investigation object information with each investigation question in the investigation question set to obtain the similarity of each investigation question and the investigation object information;
arranging the investigation questions according to the similarity, and acquiring a preset number of second target investigation questions which are ranked at the front;
and combining the second target investigation questions to generate a questionnaire so that a user can input answer information based on the questionnaire.
Optionally, after the step of storing the questionnaire and the answer information in association, when the completion of the questionnaire reply is detected, the method includes:
dividing the answer information into preset types, and counting the total information of the answer information of each preset type;
and obtaining conclusion clauses corresponding to the information total amount, inputting the conclusion clauses into a preset template, and generating a survey conclusion report corresponding to the questionnaire.
In addition, to achieve the above object, the present invention also provides a questionnaire generating apparatus, comprising:
the instruction receiving module is used for acquiring investigation scene information and investigation object information corresponding to a questionnaire generation request when the questionnaire generation request is received;
The question extraction module is used for extracting investigation questions from the preset questionnaire information base according to the investigation scene information to form an investigation question set;
the questionnaire generating module is used for extracting target questionnaires from the questionnaire set according to the questionnaire object information and generating a questionnaire side by side so as to enable a user to input answer information based on the questionnaire;
and the answer saving module is used for associatively saving the questionnaire and the answer information when the completion of the questionnaire answer is detected.
In addition, in order to achieve the above purpose, the present invention also provides a questionnaire generating device;
the questionnaire generating device includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein:
the computer program when executed by the processor implements the steps of the questionnaire generation method as described above.
In addition, in order to achieve the above object, the present invention also provides a computer storage medium;
the computer storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the questionnaire generation method as described above.
According to the questionnaire generation method, the device, the equipment and the storage medium, when a server receives a questionnaire generation request, the server acquires investigation scene information and investigation object information corresponding to the questionnaire generation request; extracting investigation questions from the preset questionnaire information base according to the investigation scene information to form an investigation question set; extracting target investigation questions from the investigation question set according to the investigation object information and arranging the investigation questions to generate a investigation questionnaire so that a user can input answer information based on the investigation questionnaire; and when the completion of the questionnaire reply is detected, the questionnaire and the answer information are stored in a correlated manner. In the generating process of the questionnaire, the server generates the questionnaire according to the using scene information of the questionnaire and the investigation object information aimed at by the questionnaire, thereby realizing the customized generation of the questionnaire and enabling the generation of the questionnaire to be more flexible and intelligent.
Drawings
FIG. 1 is a schematic diagram of a device architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a questionnaire generating method of the present invention;
Fig. 3 is a schematic functional block diagram of an embodiment of a questionnaire generating apparatus according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, fig. 1 is a schematic diagram of a server (also called a questionnaire generating device) of a hardware running environment according to an embodiment of the present invention, where the questionnaire generating device may be formed by a separate questionnaire generating device or may be formed by a combination of other devices and a questionnaire generating device.
The server of the embodiment of the invention refers to a computer for managing resources and providing services for users, and is generally divided into a file server, a database server and an application server. A computer or computer system running the above software is also referred to as a server. Compared with a common PC (personal computer) personal computer, the server has higher requirements on stability, safety, performance and the like; as shown in fig. 1, the server may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002, a chipset, a disk system, hardware of a network, and the like. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include an output screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., WIreless-FIdelity, WIFI interface). The memory 1005 may be a high-speed random access memory (random access memory, RAM) or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the server may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, and a WiFi module; the input unit, the output screen and the touch screen; the network interface may optionally be other than WiFi in the wireless interface, bluetooth, probe, etc. Those skilled in the art will appreciate that the server architecture shown in fig. 1 is not limiting of the server and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, the computer software product is stored in a storage medium (storage medium: also called computer storage medium, computer medium, readable storage medium, computer readable storage medium, or direct called medium, etc.), and the storage medium may be a nonvolatile readable storage medium, such as RAM, a magnetic disk, an optical disk, etc.), and includes several requests for a terminal device (may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method according to the embodiments of the present invention, and the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a computer program.
In the server shown in fig. 1, the network interface 1004 is mainly used for connecting to a background database and performing data communication with the background database; the user interface 1003 is mainly used for connecting a client (the client is called a user or a terminal, and the terminal in the embodiment of the invention can be a fixed terminal or a mobile terminal, for example, an intelligent air conditioner, an intelligent electric lamp, an intelligent power supply, an intelligent sound box, an automatic driving automobile, a PC, an intelligent mobile phone, a tablet personal computer, an electronic book reader, a portable computer and the like with networking functions, and the terminal contains sensors such as an optical sensor, a motion sensor and other sensors, which are not described herein any more) and performs data communication with the client; and the processor 1001 may be used to invoke a computer program stored in the memory 1005 and to perform the steps in the questionnaire generation method provided in the following embodiments of the invention.
The proposal point provides a questionnaire generating method which is applied to a server shown in fig. 1.
Referring to fig. 2, in a first embodiment of the questionnaire generation method of the present invention, the questionnaire generation method comprises:
step S10, when receiving a questionnaire generation request, acquiring investigation scene information and investigation object information corresponding to the questionnaire generation request.
When a user browses a network page and triggers a questionnaire generation request on the network page of the terminal, the terminal acquires the investigation purpose, service scene (also called scene word), service flow, service data and the like corresponding to the network page, the terminal takes the acquired investigation purpose, service scene, service flow, service data and the like as investigation scene information corresponding to the questionnaire generation request, and at the same time, the terminal acquires user behavior data, account information and historical behavior data corresponding to the network page, and the terminal takes the acquired user behavior data, account information and historical behavior data as investigation object information corresponding to the questionnaire generation request.
The terminal associates the investigation scene information and the investigation object information with the investigation questionnaire generation request, sends the associated investigation questionnaire generation request to the server, and the server receives the investigation questionnaire generation request and acquires the investigation scene information and the investigation object information corresponding to the investigation questionnaire generation request.
And step S20, extracting the investigation questions from the preset questionnaire information base according to the investigation scene information to form an investigation question set.
Specifically, the method comprises the following steps:
step a1, extracting scene words in the investigation scene information, and obtaining investigation questions matched with the scene words in a preset questionnaire information base to form an initial investigation question set;
and b1, extracting the investigation purpose in the investigation scene information, and deleting the interference investigation questions which are not related to the investigation purpose in the initial investigation question set to obtain an investigation question set.
The method comprises the steps that a server extracts scene words in investigation scene information, a questionnaire information base is preset in the server, different types of investigation questions are stored in the preset questionnaire information base, the server compares the scene words with the investigation questions in the preset questionnaire information base, the server obtains investigation questions matched with the scene words in the preset questionnaire information base, and the server gathers the matched investigation questions to form an initial investigation question set; then, the server extracts the investigation objective in the investigation scene information, the server acquires the preset investigation objective corresponding to each investigation objective in the initial investigation objective set, the server compares the investigation objective in the investigation scene information with the preset investigation objective corresponding to each investigation objective, and the server deletes the interference investigation objective different from the investigation objective in the initial investigation objective set, thereby obtaining the investigation objective set.
According to the investigation scene information, the server initially screens out part of investigation questions from the preset questionnaire information base to form an investigation question set so as to screen investigation questions related to investigation objects from the investigation question set and generate a questionnaire.
And step S30, extracting target questions from the question set according to the investigation object information, and arranging the questions to generate a questionnaire so that a user can input answer information based on the questionnaire.
The server may screen the target study from the set of studies to generate a questionnaire according to the obtained study object information, which may be implemented in different manners, for example,
the implementation mode is as follows: the server compares the user behavior data in the investigation object information with each investigation question in the investigation question set, and the server acquires 10 investigation questions with high similarity with the user behavior data to form a investigation questionnaire;
the implementation mode II is as follows: the method comprises the steps that a server obtains historical user behavior data in investigation object information, the server compares the historical user behavior data with each investigation question in an investigation question set, and the server obtains 10 investigation questions with high similarity with the historical user behavior data to form a investigation questionnaire;
And the implementation mode is three: the server screens one target investigation question from the investigation question set according to account information in the investigation object information, so that the user replies based on the target investigation question, the server receives answer information replied by the user based on the target investigation question, the server analyzes the answer information, and a second target investigation question related to the answer information is acquired until the screening of the set number of target investigation questions in the server is stopped.
And step S40, when the completion of the questionnaire reply is detected, the questionnaire and the answer information are associated and stored.
When the server detects that the questionnaire reply is completed, the server saves the questionnaire and answer information in association to generate a investigation conclusion report, that is,
step a2, dividing the answer information into preset types, and counting the total information of the answer information of each preset type;
and b2, obtaining conclusion clauses corresponding to the information total amount, inputting the conclusion clauses into a preset template, and generating a survey conclusion report corresponding to the survey questionnaire.
The server acquires the same investigation questions in each investigation question, the server acquires answer information of the investigation questions, then the server classifies each answer information into preset types (the preset types refer to preset answer classifications, the preset types can be set according to specific scenes, for example, the preset types are set to be interested or not), the server counts the information total amount of each preset type of answer information, namely, the server acquires different answer information corresponding to the same investigation questions in different investigation questions, the server classifies the answer information, and counts the information total amount of each type of answer information; the server acquires conclusion terms corresponding to the total amount of information, and inputs the conclusion terms into a preset template (the preset template refers to a preset survey conclusion blank template) to generate a survey conclusion report corresponding to the survey questionnaire.
In the generating process of the questionnaire, the server generates the questionnaire according to the using scene information of the questionnaire and the investigation object information corresponding to the questionnaire, thereby realizing customization of the questionnaire, enabling the generating of the questionnaire to be more flexible and intelligent and ensuring the comprehensiveness of investigation.
Further, on the basis of the first embodiment of the present invention, a second embodiment of the questionnaire generation method of the present invention is proposed.
The embodiment is a specific implementation manner of the refinement of step S20 in the first embodiment, in which answer information of the user is analyzed through a preset answer analysis model to generate a questionnaire.
Before the steps of the present embodiment are executed, a preset answer analysis model is preset in the server, and the setting step of the preset answer analysis model includes:
step S01, extracting subjective question investigation samples with preset proportions from a preset subjective question investigation sample set to serve as a first example, and taking subjective question investigation samples except the first example as a second example.
The method comprises the steps that a subjective question investigation sample set is preset in a server, the preset subjective question investigation sample set refers to a set formed by different subjective question investigation samples, specifically, the server obtains massive subjective question investigation questions and answer information corresponding to the subjective question investigation questions from a network, the subjective question investigation questions refer to investigation questions of question answering types, the server takes the subjective question investigation questions and answer information corresponding to the subjective question investigation questions as a subjective question investigation sample, and the server combines all the subjective question investigation sample sets to obtain the preset subjective question investigation sample set.
The server extracts a preset proportion (the preset proportion refers to a training sample extraction proportion preset in the server), the preset proportion can be flexibly set according to specific scenes, for example, the preset proportion is set to be 95%) of subjective question investigation samples from a preset subjective question investigation sample set to serve as a first use case, and the server takes subjective question investigation samples except the first use case in the preset subjective question investigation sample set as a second use case.
Step S02, training a basic answer analysis model through the first use case to obtain an initial answer analysis model, and verifying the initial answer analysis model through the second use case to obtain the verification passing rate of the initial answer analysis model.
The server inputs a first example as input information into a basic answer analysis model, wherein the basic answer analysis model is a preset algorithm with a semantic recognition function, the server trains the basic answer analysis model by using the first example to obtain an initial answer analysis model, namely, the server trains the basic answer analysis model through the first example iteration to adjust parameter information of the basic answer analysis model to obtain the initial answer analysis model after parameter optimization; after the initial answer analysis model is obtained, the server inputs the second use cases into the initial answer analysis model to obtain corresponding analysis results, so that the server verifies the passing rate of the initial answer analysis model according to the analysis results, namely, the server compares the obtained analysis results with the standard analysis results, when the obtained analysis results are identical to the standard analysis results, the server determines that verification is passed, and the server calculates the ratio of the number of the use cases passing through verification to the number of the total number of the second use cases to obtain the verification passing rate of the initial answer analysis model.
And S03, when the verification passing rate is higher than a preset passing rate, taking the initial answer analysis model as a preset answer analysis model.
When the server determines that the verification passing rate is higher than the preset passing rate (the preset passing rate refers to a preset passing rate critical value in the server, the verification passing rate is higher than a preset passing rate critical value which can be flexibly set according to a specific scene, for example, the preset passing rate is set to 98%), the server takes the initial answer analysis model as the preset answer analysis model, and when the server determines that the verification passing rate is not higher than the preset passing rate, the server extracts subjective question investigation samples from the subjective question investigation sample set again to carry out iterative training.
The embodiment presets an answer analysis model in a server to analyze answer information by using the preset answer analysis model, determines target investigation questions, and gathers the target investigation questions to obtain a questionnaire, which specifically comprises the following steps:
and S21, acquiring a questionnaire type corresponding to the questionnaire generation request when the information amount of the investigation object information does not exceed the preset information amount.
When the server determines that the information amount of the investigation object information does not exceed the preset information amount (the preset information amount refers to the total information set in advance, for example, the preset information amount is set to 10 pieces), that is, the server determines that the investigation object information is less, the server acquires a questionnaire type corresponding to the questionnaire generation request, and the questionnaire type in the embodiment includes, but is not limited to: card type subjective question type, card type objective question type, table type subjective question type, table type objective question type, bao Jishi subjective question type and booked objective question type.
Step S22, when the questionnaire type is a card type subjective question type, behavior characteristic information in the investigation object information is obtained; and acquiring and outputting a first target investigation question matched with the behavior characteristic information in the investigation question set, so that a user can input answer information based on the first target investigation question.
When the server determines that the questionnaire type is the card type subjective question type, the server acquires behavior characteristic information in investigation object information (the behavior characteristic information can be understood as browsing operation information of a user on a network); the server obtains and outputs first target questions (it can be understood that the questionnaire of the card type subjective questions refers to a questionnaire of only one subjective questions type displayed at a time) matched with the behavior feature information in the question set, the server sends the first target questions to the terminal, and the terminal displays the received first target questions so that the user can input answer information based on the first target questions.
For example, the behavior feature information acquired by the server is: browsing course recommended web page for 1 minute, clicking and viewing at the mathematics home education department of junior middle school, and obtaining a first target investigation question matched with the behavior characteristic information by the server as follows: asking what you need for home education; the server investigates the first target into questions: asking what you need for home education is sent to the terminal for the user to input answer information based on the first target research topic.
And S23, analyzing the received answer information through a preset answer analysis model to obtain and output a new first target investigation question related to the answer information.
The server receives answer information of a first target investigation question sent by the terminal, then the server inputs the answer information into a preset answer analysis model, analyzes the answer information through the preset answer analysis model, obtains and outputs a new first target investigation question related to the answer information, and specifically:
the method comprises the steps that a preset answer analysis model carries out word segmentation processing on answer information to obtain each word segment corresponding to the answer information, a server removes noise words in the word segments, for example, the word aid is used for summarizing the denoised word segments to obtain word segment sets corresponding to the answer information, the server compares each word segment in the word segment sets with each investigation topic in the investigation topic sets to obtain a target investigation topic with highest similarity to the answer information, and the server takes the target investigation topic as a new first target investigation topic and outputs the new target investigation topic so that a user can input the answer information based on the first target investigation topic.
Step S24, when the number of the first target investigation questions reaches the preset number, a prompt message is output to prompt the user that the questionnaire generation is completed.
Every time the server determines a new first target investigation question, the server performs addition processing to count the number of questions of the investigation questions of the current investigation question, when the server detects that the number of the first target investigation questions reaches a preset number (the preset number is the preset number of investigation questions), the preset number can be set according to the answer time of each question, for example, the total answer time of the investigation questions is 10 minutes, each question is 1 minute, and the preset number is 10), the server determines to output prompt information to prompt the user that the generation of the investigation questions is completed.
In this embodiment, answer information of the user is compared through a preset answer analysis model, and the next investigation question is screened to customize and generate different investigation questionnaires according to different people, so that the generation mode of the investigation questionnaires is more intelligent.
Further, a third embodiment of the present invention is proposed on the basis of the second embodiment of the present invention.
The present embodiment is a step subsequent to step S21 in the second embodiment, and in this embodiment, when the questionnaire type is not the card type subjective question type, the questionnaire generating method includes:
Step S25, judging whether a preset virtual investigation object which accords with the investigation object information exists or not when the questionnaire type is not the card type subjective question type.
When the server determines that the questionnaire type is not the card type subjective question type, that is, the server cannot determine the next target questionnaire according to the semantics of the answer information, therefore, the server needs to generate the questionnaire according to the investigation object information, but because the information amount of the investigation object information in the server is small, if the target questionnaire is determined only according to the investigation object information, the requirement of investigation cannot be met, the method for generating the questionnaire by the server specifically includes:
the virtual investigation object is preset in the server, and the preset virtual investigation object refers to each preset investigation object of different types, for example, the virtual investigation object 1 is preset in the server: at university students, the characteristic information corresponding to the virtual investigation object 1 is as follows: lower income, strong consumption capability and 18 to 22 years of age; virtual investigation object 2: the characteristic information corresponding to the virtual investigation object 2 is that: moderate income, strong consumption capability, and the age of 23 to 28 years; virtual investigation object 3: the middle-level production grade, the characteristic information corresponding to the virtual investigation object 3 is as follows: high income, moderate consumption, age 29 to 40 years, etc.; the method comprises the steps that a server obtains all preset virtual investigation objects and feature information corresponding to the preset virtual investigation objects, the server compares investigation object information with the feature information corresponding to the preset virtual investigation objects and judges whether the preset virtual investigation objects which accord with investigation object information exist or not, namely, if the investigation object information in the server is matched with the feature information corresponding to the preset virtual investigation objects, the server judges that the preset virtual investigation objects which accord with investigation object information exist; otherwise, the method is used for controlling the flow rate of the liquid.
Step S26, when a preset virtual investigation object conforming to the investigation object information exists, acquiring and outputting a questionnaire corresponding to the preset virtual investigation object, so that a user can input answer information based on the questionnaire.
When the server determines that a preset virtual investigation object which accords with investigation object information exists, the server analogizes the investigation object with the preset virtual investigation object, and the server acquires and outputs a questionnaire corresponding to the preset virtual investigation object so as to enable a user to input answer information based on the questionnaire. When the server determines that the preset virtual investigation object which accords with the investigation object information does not exist, the server acquires and outputs a basic investigation questionnaire corresponding to the investigation scene information, so that a user presets the virtual investigation object in the server based on the input answer information of the basic investigation questionnaire, the server compares the investigation object information of the current investigation object with the characteristic information of the preset virtual investigation object according to the investigation object information, acquires the preset virtual investigation object with the highest similarity with the investigation object information, and acquires the investigation questionnaire corresponding to the preset virtual investigation object, namely, in the embodiment, the generation of the investigation questionnaire is more flexible and intelligent by analogy with the existing virtual investigation object.
Further, a fourth embodiment of the present invention is proposed on the basis of the above-described embodiment of the present invention.
The embodiment is another specific implementation manner of the refinement of step S20 in the first embodiment, where the questionnaire generating method includes:
and S27, comparing the investigation object information with each investigation question in the investigation question set when the information quantity of the investigation object information exceeds a preset information quantity, and obtaining the similarity between each investigation question and the investigation object information.
When the server determines that the information amount of the investigation object information exceeds the preset information amount (the preset information amount in the embodiment is the same as the preset information amount in the second embodiment, which is not described in detail in the embodiment), the server compares the investigation object information with each investigation object in the investigation object set to obtain the similarity of each investigation object and the investigation object information.
Step S28, arranging the investigation questions according to the similarity, and obtaining a preset number of second target investigation questions which are ranked at the front.
The server sorts the investigation questions in the investigation question set according to the similarity, and the server obtains the second target investigation questions with the preset number (the preset number in the embodiment is the same as the preset number in the second embodiment, and the description is omitted).
Step S29, combining the second target investigation questions to generate a questionnaire, so that a user can input answer information based on the questionnaire.
The server combines the second target investigation questions to generate a questionnaire so that a user can input answer information based on the questionnaire; in the embodiment, the server selects the target investigation questions according to the investigation object information to form the investigation questionnaire, so that the investigation questionnaire is generated more flexibly.
In addition, referring to fig. 3, an embodiment of the present invention further proposes a questionnaire generating device, where the questionnaire generating device includes:
the instruction receiving module 10 is configured to obtain, when receiving a questionnaire generation request, investigation scene information and investigation object information corresponding to the questionnaire generation request;
the question extraction module 20 is configured to extract investigation questions from the preset questionnaire information base according to the investigation scene information to form an investigation question set;
a questionnaire generating module 30, configured to extract a target questionnaire from the questionnaire set according to the questionnaire object information, and generate a questionnaire in a side-by-side manner, so that a user inputs answer information based on the questionnaire;
and an answer saving module 40, configured to save the questionnaire and the answer information in association when the completion of the answer to the questionnaire is detected.
Optionally, the instruction receiving module 10 includes:
the first screening unit is used for extracting scene words in the investigation scene information, obtaining investigation questions matched with the scene words in a preset questionnaire information base, and forming an initial investigation question set;
and the second screening unit is used for extracting the investigation purpose in the investigation scene information, deleting the interference investigation questions which are not related to the investigation purpose in the initial investigation question set, and obtaining the investigation question set.
Optionally, the questionnaire generating module 30 includes:
a first obtaining unit, configured to obtain a questionnaire type corresponding to the questionnaire generation request when the information amount of the investigation object information does not exceed a preset information amount;
the second acquisition unit is used for acquiring behavior characteristic information in the investigation object information when the questionnaire type is a card type subjective question type;
the question output unit is used for acquiring and outputting a first target investigation question matched with the behavior characteristic information in the investigation question set so as to enable a user to input answer information based on the first target investigation question;
the analysis output unit is used for analyzing the received answer information through a preset answer analysis model to obtain and output a new first target investigation question related to the answer information;
The detection determining unit is used for outputting prompt information to prompt the user to complete the generation of the questionnaire when the number of the first target questionnaires reaches the preset number.
Optionally, the questionnaire generating device includes:
the sample extraction module is used for extracting subjective question investigation samples with preset proportions from a preset subjective question investigation sample set to be used as a first example, and taking subjective question investigation samples except the first example as a second example;
the model training module is used for training a basic answer analysis model through the first use case to obtain an initial answer analysis model, verifying the initial answer analysis model through the second use case, and obtaining the verification passing rate of the initial answer analysis model;
and the model generation module is used for taking the initial answer analysis model as a preset answer analysis model when the verification passing rate is higher than a preset passing rate.
Optionally, the questionnaire generating module 30 includes:
the object judging unit is used for judging whether a preset virtual investigation object conforming to the investigation object information exists or not when the questionnaire type is not the card type subjective question type;
And the questionnaire output unit is used for acquiring and outputting a questionnaire corresponding to the preset virtual investigation object when the preset virtual investigation object conforming to the investigation object information exists, so that a user can input answer information based on the questionnaire.
Optionally, the questionnaire generating module 30 further includes:
the information comparison unit is used for comparing the investigation object information with each investigation question in the investigation question set when the information quantity of the investigation object information exceeds the preset information quantity, so as to obtain the similarity of each investigation question and the investigation object information;
the topic sorting unit is used for sorting the topics according to the similarity, and acquiring a preset number of second target topics before sorting;
and the questionnaire generating unit is used for combining the second target questionnaires to generate a questionnaire so that a user can input answer information based on the questionnaire.
Optionally, the questionnaire generating device further comprises:
the answer statistics module is used for dividing the answer information into preset types and counting the total information of the answer information of each preset type;
and the report generation module is used for acquiring conclusion clauses corresponding to the information total amount, inputting the conclusion clauses into a preset template and generating a survey conclusion report corresponding to the survey questionnaire.
The steps implemented by the functional modules of the questionnaire generating device may refer to the embodiments of the questionnaire generating method of the present invention, which are not described herein.
In addition, the embodiment of the invention also provides a computer storage medium.
The computer storage medium has stored thereon a computer program which, when executed by a processor, implements the operations in the questionnaire generation method provided by the above embodiment.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity/operation/object from another entity/operation/object without necessarily requiring or implying any actual such relationship or order between such entities/operations/objects; the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points. The apparatus embodiments described above are merely illustrative, in which the units illustrated as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present invention. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising several requests for a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. A questionnaire generation method, characterized in that the questionnaire generation method comprises the steps of:
when receiving a questionnaire generation request, acquiring investigation scene information and investigation object information corresponding to the questionnaire generation request;
extracting investigation questions from a preset questionnaire information base according to the investigation scene information to form an investigation question set;
extracting target investigation questions from the investigation question set according to the investigation object information and arranging the investigation questions to generate a investigation questionnaire so that a user can input answer information based on the investigation questionnaire;
when the completion of the questionnaire reply is detected, the questionnaire and the answer information are stored in a correlated manner;
the step of extracting the investigation questions from the preset questionnaire information base according to the investigation scene information to form an investigation question set comprises the following steps:
Extracting scene words in the investigation scene information, and obtaining investigation questions matched with the scene words in a preset questionnaire information base to form an initial investigation question set;
extracting investigation purposes in the investigation scene information, comparing the investigation purposes in the investigation scene information with preset investigation purposes corresponding to each investigation question in the initial investigation question set, and deleting interference investigation questions in the initial investigation question set, which are not related to the investigation purposes, so as to obtain an investigation question set;
the step of extracting the target investigation questions from the investigation question set according to the investigation object information and arranging the investigation questions to generate a investigation questionnaire for a user to input answer information based on the investigation questionnaire comprises the following steps:
acquiring a questionnaire type corresponding to the questionnaire generation request when the information quantity of the investigation object information does not exceed a preset information quantity;
when the questionnaire type is a card type subjective question type, behavior characteristic information in the investigation object information is obtained;
acquiring and outputting a first target investigation question matched with the behavior characteristic information in the investigation question set, so that a user can input answer information based on the first target investigation question;
Analyzing the received answer information through a preset answer analysis model to obtain and output a new first target investigation question related to the answer information;
and outputting prompt information when the number of the first target investigation questions reaches the preset number, so as to prompt the user to complete the questionnaire generation.
2. The questionnaire generating method as claimed in claim 1, wherein, before the step of analyzing the received answer information by a preset answer analysis model to obtain and output a new first target questionnaire related to the answer information, the method comprises:
extracting subjective question investigation samples with preset proportions from a preset subjective question investigation sample set to serve as a first example, and taking subjective question investigation samples except the first example as a second example;
training a basic answer analysis model through the first case to obtain an initial answer analysis model, and verifying the initial answer analysis model through the second case to obtain the verification passing rate of the initial answer analysis model;
and when the verification passing rate is higher than a preset passing rate, taking the initial answer analysis model as a preset answer analysis model.
3. The questionnaire generating method according to claim 1, wherein after the step of acquiring the questionnaire type corresponding to the questionnaire generating request when the information amount of the investigation subject information does not exceed a preset information amount, comprising:
judging whether a preset virtual investigation object conforming to the investigation object information exists or not when the investigation questionnaire type is not the card type subjective question type;
when a preset virtual investigation object conforming to the investigation object information exists, acquiring and outputting a questionnaire corresponding to the preset virtual investigation object, so that a user can input answer information based on the questionnaire.
4. The questionnaire generating method as claimed in claim 1, wherein said step of extracting a target questionnaire from said set of questionnaires according to said investigation subject information and arranging to generate a questionnaire for a user to input answer information based on said questionnaire comprises:
when the information quantity of the investigation object information exceeds a preset information quantity, comparing the investigation object information with each investigation question in the investigation question set to obtain the similarity of each investigation question and the investigation object information;
Arranging the investigation questions according to the similarity, and acquiring a preset number of second target investigation questions which are ranked at the front;
and combining the second target investigation questions to generate a questionnaire so that a user can input answer information based on the questionnaire.
5. The questionnaire generating method as claimed in claim 1, wherein said step of storing said questionnaire and said answer information in association after detecting completion of said questionnaire reply comprises:
dividing the answer information into preset types, and counting the total information of the answer information of each preset type;
and obtaining conclusion clauses corresponding to the information total amount, inputting the conclusion clauses into a preset template, and generating a survey conclusion report corresponding to the questionnaire.
6. A questionnaire generating device, characterized in that the questionnaire generating device comprises:
the instruction receiving module is used for acquiring investigation scene information and investigation object information corresponding to a questionnaire generation request when the questionnaire generation request is received;
the problem extraction module is used for extracting investigation questions from a preset questionnaire information base according to the investigation scene information to form an investigation question set;
The questionnaire generating module is used for extracting target questionnaires from the questionnaire set according to the questionnaire object information and generating a questionnaire side by side so as to enable a user to input answer information based on the questionnaire;
the answer saving module is used for associatively saving the questionnaire and the answer information when the completion of the questionnaire answer is detected;
the question extraction module is further used for extracting scene words in the investigation scene information, obtaining investigation questions matched with the scene words in a preset questionnaire information base, and forming an initial investigation question set; extracting investigation purposes in the investigation scene information, comparing the investigation purposes in the investigation scene information with preset investigation purposes corresponding to each investigation question in the initial investigation question set, and deleting interference investigation questions in the initial investigation question set, which are not related to the investigation purposes, so as to obtain an investigation question set;
the questionnaire generating module is further configured to obtain a questionnaire type corresponding to the questionnaire generating request when the information amount of the investigation object information does not exceed a preset information amount; when the questionnaire type is a card type subjective question type, behavior characteristic information in the investigation object information is obtained; acquiring and outputting a first target investigation question matched with the behavior characteristic information in the investigation question set, so that a user can input answer information based on the first target investigation question; analyzing the received answer information through a preset answer analysis model to obtain and output a new first target investigation question related to the answer information; and outputting prompt information when the number of the first target investigation questions reaches the preset number, so as to prompt the user to complete the questionnaire generation.
7. A questionnaire generating device, characterized in that it comprises: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein:
the computer program implementing the steps of the questionnaire generation method as claimed in any one of claims 1 to 5 when executed by said processor.
8. A computer storage medium having stored thereon a computer program which when executed by a processor performs the steps of the questionnaire generation method as claimed in any one of claims 1 to 5.
CN201910382999.3A 2019-05-08 2019-05-08 Questionnaire generation method, device, equipment and storage medium Active CN110245213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910382999.3A CN110245213B (en) 2019-05-08 2019-05-08 Questionnaire generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910382999.3A CN110245213B (en) 2019-05-08 2019-05-08 Questionnaire generation method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110245213A CN110245213A (en) 2019-09-17
CN110245213B true CN110245213B (en) 2023-10-20

Family

ID=67883955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910382999.3A Active CN110245213B (en) 2019-05-08 2019-05-08 Questionnaire generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110245213B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147953B (en) * 2019-05-16 2023-01-10 电子科技大学 Automatic questionnaire generation method
CN110826302A (en) * 2019-11-07 2020-02-21 网之易信息技术(北京)有限公司 Questionnaire creating method, device, medium and electronic equipment
CN111177333A (en) * 2019-11-28 2020-05-19 泰康保险集团股份有限公司 Data processing method and device
CN111882340A (en) * 2020-03-19 2020-11-03 深圳数字生命研究院 Questionnaire information processing method and device, storage medium and electronic device
CN111368064B (en) * 2020-03-26 2023-04-07 深圳平安医疗健康科技服务有限公司 Survey information processing method, device, equipment and storage medium
CN111581571A (en) * 2020-04-07 2020-08-25 深圳市维度统计咨询股份有限公司 Questionnaire management platform and investigation method
CN111695331B (en) * 2020-04-15 2023-02-28 福建天晴数码有限公司 Evaluation template generation method and terminal
CN113822032B (en) * 2020-06-19 2024-03-29 华晨宝马汽车有限公司 Computer-implemented business planning investigation method, equipment and storage medium
CN111863161B (en) * 2020-07-30 2023-03-24 上海妙一生物科技有限公司 Task processing method and device and electronic equipment
CN112016907B (en) * 2020-10-15 2021-02-02 深圳蜂巢互联科技有限公司 Method and equipment for multi-person cooperation on-line investigation in manufacturing industry
CN112100461B (en) * 2020-11-11 2021-02-05 平安国际智慧城市科技股份有限公司 Questionnaire data processing method, device, server and medium based on data analysis
CN113781084A (en) * 2021-01-15 2021-12-10 北京京东拓先科技有限公司 Questionnaire display method and device
CN112967087A (en) * 2021-03-03 2021-06-15 浪潮云信息技术股份公司 Education satisfaction investigation method and system for high-concurrency scene
CN113160910B (en) * 2021-04-19 2022-08-23 闽江学院 Intelligent diabetes intervention recommendation method, system and application based on knowledge graph
CN113240469A (en) * 2021-05-17 2021-08-10 上海中通吉网络技术有限公司 Method, device and equipment for monitoring user experience through online feedback and storage medium
CN113674033A (en) * 2021-08-30 2021-11-19 广州快决测信息科技有限公司 Net recommendation value questionnaire delivery system and method
CN113889204A (en) * 2021-09-10 2022-01-04 北京声智科技有限公司 Method, device and equipment for synchronous stream modulation and storage medium
CN113918548A (en) * 2021-09-17 2022-01-11 广州快决测信息科技有限公司 Questionnaire survey method and device based on private domain flow and storage medium
CN113988070B (en) * 2021-10-09 2023-05-05 广州快决测信息科技有限公司 Investigation problem generation method, investigation problem generation device, computer equipment and storage medium
CN114842930B (en) * 2022-06-30 2022-09-27 苏州景昱医疗器械有限公司 Data acquisition method, device and system and computer readable storage medium
CN116579806A (en) * 2023-05-30 2023-08-11 广州快决测信息科技有限公司 System and method for analyzing market research data based on AI model
CN117195907B (en) * 2023-08-15 2024-04-02 广东省粤正评估咨询有限公司 Questionnaire analysis method and system applied to market investigation processing system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5150794B2 (en) * 2010-09-30 2013-02-27 楽天株式会社 Server device that collects questionnaire responses
CN109255666A (en) * 2018-11-16 2019-01-22 广州知了科技有限公司 A kind of online accurate method of investigation and study

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5150794B2 (en) * 2010-09-30 2013-02-27 楽天株式会社 Server device that collects questionnaire responses
CN109255666A (en) * 2018-11-16 2019-01-22 广州知了科技有限公司 A kind of online accurate method of investigation and study

Also Published As

Publication number Publication date
CN110245213A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN110245213B (en) Questionnaire generation method, device, equipment and storage medium
CN109726103B (en) Test report generation method, device, equipment and storage medium
CN107590224B (en) Big data based user preference analysis method and device
US20140095308A1 (en) Advertisement distribution apparatus and advertisement distribution method
CN107944481A (en) Method and apparatus for generating information
CN112104642B (en) Abnormal account number determination method and related device
CN106021449A (en) Searching method and device for mobile terminal and mobile terminal
WO2022048515A1 (en) Method and apparatus for implementing evaluation, and storage medium
CN108959329B (en) Text classification method, device, medium and equipment
CN110659817A (en) Data processing method and device, machine readable medium and equipment
CN110889036A (en) Multi-dimensional information processing method and device and terminal equipment
CN104951807A (en) Stock market emotion determining method and device
CN107977678A (en) Method and apparatus for output information
CN111192170B (en) Question pushing method, device, equipment and computer readable storage medium
CN112966756A (en) Visual access rule generation method and device, machine readable medium and equipment
US20230244862A1 (en) Form processing method and apparatus, device, and storage medium
CN111553749A (en) Activity push strategy configuration method and device
CN115526659A (en) Data analysis method, device, equipment and storage medium based on questionnaire
CN113792211A (en) Resource pushing processing method and device, electronic equipment and storage medium
CN113609833A (en) Dynamic generation method and device of file, computer equipment and storage medium
CN111651657A (en) Information monitoring method, device, equipment and computer readable storage medium
CN112487175A (en) Exhibitor flow control method, exhibitor flow control device, server and computer-readable storage medium
CN113407821A (en) Method and system for recommending dynamic content of cell, intelligent terminal and server
CN106484710B (en) Dynamic data processing method and device and information display method and device
CN111918323B (en) Data calibration method, device, equipment and storage medium

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