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

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

Info

Publication number
CN113918699A
CN113918699A CN202111189073.6A CN202111189073A CN113918699A CN 113918699 A CN113918699 A CN 113918699A CN 202111189073 A CN202111189073 A CN 202111189073A CN 113918699 A CN113918699 A CN 113918699A
Authority
CN
China
Prior art keywords
questionnaire
user
target
information
time
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.)
Pending
Application number
CN202111189073.6A
Other languages
Chinese (zh)
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 International Smart City Technology Co Ltd
Original Assignee
Ping An International Smart City 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 Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN202111189073.6A priority Critical patent/CN113918699A/en
Publication of CN113918699A publication Critical patent/CN113918699A/en
Pending legal-status Critical Current

Links

Images

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
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • 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/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • 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/34Browsing; Visualisation therefor

Abstract

The application relates to the technical field of artificial intelligence, and provides a questionnaire generation method, a device, computer equipment and a storage medium, wherein the method comprises the following steps: receiving a questionnaire generation request triggered by a user, and performing identity verification and authority verification on the user based on a preset verification rule; if the verification is passed, displaying a questionnaire configuration interface; receiving a selection operation of a survey question menu triggered by a user to obtain a corresponding target survey question type; displaying a question editing area corresponding to the target survey question type in a survey questionnaire configuration interface; obtaining a target survey topic corresponding to the type of the target survey topic based on the editing operation input by a user in the topic editing area; and generating a corresponding target questionnaire based on the target questionnaire and a preset questionnaire template. The method and the device can improve the intelligence and flexibility of questionnaire generation. The method and the device can also be applied to the field of block chains, and the data such as the target questionnaire can be stored on the block chains.

Description

Questionnaire generation method and device, computer equipment and storage medium
Technical Field
The application relates to the technical field of artificial intelligence, in particular to a questionnaire generation method and device, computer equipment and a storage medium.
Background
The questionnaire is a method and a tool for exploring the actual situation and collecting information in various industries of the society. The investigator can perform integrated analysis according to the collected information, and complete related matters and make effective decisions according to the investigation result. However, with the rapid development of the internet, more and more activities are developed on line, the traditional offline activity research is difficult to meet the current use requirements, and the online paperless activity research is in the trend. However, the current questionnaires are generally research information of fixed questions (e.g., selection questions and blank filling questions), and the types of questions that can be selected by a questionnaire question taker are small, so that it is difficult for the questionnaire question taker to perform question setting of the questionnaire questions according to the actual needs of the person. Therefore, the existing method for generating the questionnaire has the problems of low intelligence and poor flexibility.
Disclosure of Invention
The application mainly aims to provide a questionnaire generation method, a questionnaire generation device, computer equipment and a storage medium, and aims to solve the technical problems of low intelligence and poor flexibility of the existing questionnaire generation mode.
The application provides a method for generating a questionnaire, which comprises the following steps:
receiving a questionnaire generation request which is triggered by a user and carries user information, and performing identity authentication on the user according to the user information;
if the identity authentication is passed, performing authority authentication on the user based on the user information;
if the authority passes the verification, displaying a preset questionnaire configuration interface; the questionnaire configuration interface comprises a questionnaire title menu, wherein the questionnaire title menu comprises a plurality of questionnaire title types;
receiving a selection operation of the survey question menu in the survey question configuration interface triggered by the user to obtain a corresponding target survey question type;
displaying a question editing area corresponding to the target survey question type in the survey questionnaire configuration interface; the title editing area comprises a title editing block and a title content editing block;
obtaining a target survey topic corresponding to the target survey topic type based on the editing operation input by the user in the topic editing area;
and generating a corresponding target questionnaire based on the target questionnaire and a preset questionnaire template.
Optionally, the step of authenticating the user according to the user information includes:
acquiring a pre-stored registered user list, and judging whether first specified user information which is the same as the user information is stored in the registered user list;
if the first appointed user information is stored, performing living body detection on the user, and judging whether the living body detection passes;
if the living body detection is passed, acquiring a face image of the user through a camera, and searching a registered face image corresponding to the first appointed user information in a database;
judging whether the face image is matched with the registered face image;
if the input prompt information is matched with the preset gesture input prompt information, displaying the preset gesture input prompt information;
acquiring the face action information input by the user through the camera, and searching the registered face action information corresponding to the first appointed user information in a database; the face action information comprises a face action sequence which comprises a plurality of face actions executed in sequence;
judging whether each face action contained in the face action information is completely matched with the face action at the corresponding position in the registered face action information;
and if all the authentication information are matched, judging that the authentication passes, otherwise, judging that the authentication fails.
Optionally, the step of performing authority verification on the user based on the user information includes:
judging whether second specified user information which is the same as the user information exists in a preset service role authority rating table or not;
if the second specified user information exists, acquiring an authority score corresponding to the specified information from the service role authority score table;
acquiring a service permission score interval corresponding to the operation of configuring the questionnaire based on a preset service operation permission table;
judging whether the permission score is within the service permission score interval or not;
if the service authority value is within the service authority value interval, judging that the authority verification is passed;
and if the service authority value is not in the service authority value interval, judging that the authority verification is not passed.
Optionally, the questionnaire configuration interface further includes a push control, and after the step of generating the corresponding target questionnaire based on the target questionnaire and a preset questionnaire template, the step includes:
judging whether a triggering operation of the user on the pushing control is received;
if the trigger operation is received, responding to the trigger operation, and generating a questionnaire link corresponding to the target questionnaire;
displaying the questionnaire link and a preset sharing control;
determining a target sharing mode and a target sharing user based on the sharing control;
and sharing the questionnaire link to a target user terminal corresponding to the target sharing user based on the target sharing mode.
Optionally, after the step of sharing the questionnaire link to the target user terminal corresponding to the target sharing user based on the target sharing manner, the method includes:
collecting a first questionnaire filling result corresponding to the target questionnaire fed back by the target sharing user, and storing the first questionnaire filling result in a preset database;
judging whether a result analysis request which is triggered by the user and corresponds to the first questionnaire filling result is received or not;
if yes, extracting the first questionnaire filling result from the preset database, and summarizing the first questionnaire filling result to obtain a corresponding second questionnaire filling result;
analyzing and processing the second questionnaire filling result to obtain a corresponding analysis result, and recording the analysis result as a questionnaire survey result of the target questionnaire;
and displaying the questionnaire survey results.
Optionally, the questionnaire configuration interface further includes a questionnaire time management area, where the questionnaire time management area includes an off-shelf time editing block and an upcoming reminding time editing block, and after the step of generating the corresponding target questionnaire based on the target questionnaire question and a preset questionnaire template, the method includes:
generating and displaying time filling information corresponding to the target questionnaire to remind the user of inputting data in the off-shelf time editing block and the provisional reminding time editing block;
receiving the off-shelf time input by the user in the off-shelf time editing block, and receiving the temporary reminding time input by the user in the temporary reminding time editing block;
establishing an association relationship between the off-shelf time and the temporary reminding time and the target questionnaire respectively;
and storing the off-shelf time and the temporary reminding time based on the incidence relation.
Optionally, after the step of generating a corresponding target questionnaire based on the target questionnaire and a preset questionnaire template, the method includes:
judging whether a specified questionnaire filling result corresponding to the target questionnaire fed back by a specified sharing user is received or not;
if the filling result of the specified questionnaire is not received, calling a preset user information attribute library, and judging whether third specified user information corresponding to the specified sharing user is stored in the user information attribute library or not;
if the third appointed user information is stored, inquiring appointed attribute data corresponding to the third appointed user information from the user information attribute library;
analyzing the time trajectory of the specified attribute data to obtain a time table corresponding to the specified sharing user;
determining the working time period of the appointed sharing user from the time table;
acquiring a preset sleep time period;
determining an information push time period based on the working time period and the sleep time period;
acquiring current first time, and judging whether the first time reaches the temporary reminding time or not;
and if the current second time reaches the minimum time endpoint in the information pushing time period, acquiring preset reminding information, and sending the reminding information to a specified terminal corresponding to the specified sharing user.
The present application further provides a questionnaire generation device, including:
the first verification module is used for receiving a questionnaire generation request which is triggered by a user and carries user information, and verifying the identity of the user according to the user information;
the second verification module is used for performing authority verification on the user based on the user information if the identity verification is passed;
the first display module is used for displaying a preset questionnaire configuration interface if the permission verification passes; the questionnaire configuration interface comprises a questionnaire title menu, wherein the questionnaire title menu comprises a plurality of questionnaire title types;
the first receiving module is used for receiving the selection operation of the survey question menu in the survey questionnaire configuration interface triggered by the user to obtain the corresponding target survey question type;
a second display module, configured to display, in the questionnaire configuration interface, a question editing region corresponding to the target survey question type; the title editing area comprises a title editing block and a title content editing block;
the editing module is used for obtaining a target survey topic corresponding to the target survey topic type based on the editing operation input by the user in the topic editing area;
and the first generation module is used for generating a corresponding target questionnaire based on the target questionnaire and a preset questionnaire template.
The present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method.
The questionnaire generation method, the questionnaire generation device, the computer equipment and the storage medium have the following beneficial effects:
according to the questionnaire generation method, the questionnaire generation device, the computer equipment and the storage medium, after receiving a questionnaire generation request triggered by a user and judging that the user passes identity authentication and authority authentication, a preset questionnaire configuration interface can be displayed firstly, and after receiving selection operation of a questionnaire menu in the questionnaire configuration interface triggered by the user, a question editing area corresponding to a target questionnaire type can be displayed in the questionnaire configuration interface. And then obtaining a target survey topic corresponding to the target survey topic type based on the editing operation input by the user in the topic editing area, and finally generating a corresponding target survey questionnaire based on the target survey topic and a preset questionnaire target. Because the survey questions do not need to be limited in the generation process of the target survey questionnaire and the filling content of the limited questions does not need to be limited, the user can select the types of the survey questions according to the actual business requirements and input corresponding editing operation in the question editing area to complete the creation of the target survey questionnaire, the intelligence and the flexibility of the survey questionnaire generation are effectively improved, and the use experience of the user is improved.
Drawings
FIG. 1 is a schematic flow chart of a method for generating a questionnaire according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a questionnaire generation apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
Referring to fig. 1, a method for generating a questionnaire according to an embodiment of the present application includes:
s10: receiving a questionnaire generation request which is triggered by a user and carries user information, and performing identity authentication on the user according to the user information;
s20: if the identity authentication is passed, performing authority authentication on the user based on the user information;
s30: if the authority passes the verification, displaying a preset questionnaire configuration interface; the questionnaire configuration interface comprises a questionnaire title menu, wherein the questionnaire title menu comprises a plurality of questionnaire title types;
s40: receiving a selection operation of the survey question menu in the survey question configuration interface triggered by the user to obtain a corresponding target survey question type;
s50: displaying a question editing area corresponding to the target survey question type in the survey questionnaire configuration interface; the title editing area comprises a title editing block and a title content editing block;
s60: obtaining a target survey topic corresponding to the target survey topic type based on the editing operation input by the user in the topic editing area;
s70: and generating a corresponding target questionnaire based on the target questionnaire and a preset questionnaire template.
As described in the above steps S10 to S70, the execution subject of the embodiment of the method is a questionnaire generation device. In practical applications, the apparatus for generating questionnaire may be implemented by a virtual apparatus, such as a software code, or by a physical apparatus written or integrated with a relevant execution code, and may perform human-computer interaction with a user through a keyboard, a mouse, a remote controller, a touch panel, or a voice control device. Specifically, in the method provided in this embodiment, the execution subject of each step may be a terminal device with a camera. For example, the terminal device may be an electronic device such as a mobile phone, a tablet computer, a computer, and the like. The questionnaire generation device in the embodiment can effectively improve the intelligence and flexibility of questionnaire generation, and improve the use experience of the user. Specifically, a questionnaire generation request which is triggered by a user and carries user information is received, and the user is authenticated according to the user information. Wherein the questionnaire generation request carries user information of the user. In addition, the questionnaire generation request refers to a request that a user needs to edit a questionnaire to generate a corresponding questionnaire. The user information may refer to name information of the user or id information of the user. Further, multiple authentication methods of living body detection, face recognition, and face motion recognition may be employed to perform authentication for the user. For the specific implementation process of performing identity authentication on the user according to the user information, this will be further described in the following specific embodiments, which are not described herein again.
And if the identity authentication is passed, performing authority authentication on the user based on the user information. The permission value of the user can be obtained by inquiring a preset service role permission value table based on user information, a service permission value area corresponding to the operation of configuring the questionnaire is obtained by inquiring a service operation permission table, and the permission value and the service permission value area are compared numerically to judge whether the user has the permission to configure the questionnaire intelligently and quickly. If the authority passes the verification, displaying a preset questionnaire configuration interface; the questionnaire configuration interface comprises a questionnaire title menu, and the questionnaire title menu comprises a plurality of questionnaire title types. Specifically, the survey question types include, but are not limited to, single-choice questions, multiple-choice questions, short-answer questions, question-and-answer questions, matrix-type questions, two-level drop-down boxes, NPS-type questions, sort questions, and paragraph descriptions.
And then receiving the selection operation of the survey topic menu in the survey questionnaire configuration interface triggered by the user to obtain the corresponding target survey topic type. Wherein the selection operation may be a click operation or a drag operation. A survey topic type corresponding to the selection operation may be obtained as the target survey topic type. Then displaying a question editing area corresponding to the target survey question type in the survey questionnaire configuration interface; the title editing area comprises a title editing block and a title content editing block. Specifically, after the user touches the topic editing area, the topic editing area enters an editable state, so that the user can input corresponding content in the topic editing area to edit and generate a questionnaire.
And obtaining a target survey topic corresponding to the target survey topic type based on the editing operation input by the user in the topic editing area. And after the target survey topic corresponding to the target survey topic type is obtained, the topic number of the target survey topic can be correspondingly generated. Topic numbers for respective survey topics can be automatically generated based on a user's edit sequence for each survey topic. And finally, generating a corresponding target questionnaire based on the target questionnaire and a preset questionnaire template. After a target survey question is obtained, the target survey question is stored in a preset survey questionnaire template based on a question number of the target survey question, and thus the target survey questionnaire is obtained. In addition, the questionnaire template can be a document template provided with a questionnaire name and question information to be filled with answers. Further, storing the target survey question in a preset survey questionnaire template based on the question number of the target survey question means: and placing all target survey questions in a survey questionnaire template according to the sequence of the question numbers of the target survey questions from small to large so as to ensure the normalization of the generated target survey questionnaire.
In this embodiment, after receiving a questionnaire generation request triggered by a user and judging that the user passes identity authentication and permission authentication, a preset questionnaire configuration interface is displayed first, and after receiving a selection operation of the questionnaire menu in the questionnaire configuration interface triggered by the user, a question editing area corresponding to the target questionnaire question type is displayed in the questionnaire configuration interface. And then obtaining a target survey topic corresponding to the target survey topic type based on the editing operation input by the user in the topic editing area, and finally generating a corresponding target survey questionnaire based on the target survey topic and a preset questionnaire target. Because the survey questions do not need to be limited in the generation process of the target survey questionnaire and the filling content of the limited questions does not need to be limited, the user can select the types of the survey questions according to the actual business requirements and input corresponding editing operation in the question editing area to complete the creation of the target survey questionnaire, the intelligence and the flexibility of the survey questionnaire generation are effectively improved, and the use experience of the user is improved.
Further, in an embodiment of the present application, the step S10 includes:
s100: acquiring a pre-stored registered user list, and judging whether first specified user information which is the same as the user information is stored in the registered user list;
s101: if the first appointed user information is stored, performing living body detection on the user, and judging whether the living body detection passes;
s102: if the living body detection is passed, acquiring a face image of the user through a camera, and searching a registered face image corresponding to the first appointed user information in a database;
s103: judging whether the face image is matched with the registered face image;
s104: if the input prompt information is matched with the preset gesture input prompt information, displaying the preset gesture input prompt information;
s105: acquiring the face action information input by the user through the camera, and searching the registered face action information corresponding to the first appointed user information in a database; the face action information comprises a face action sequence which comprises a plurality of face actions executed in sequence;
s106: judging whether each face action contained in the face action information is completely matched with the face action at the corresponding position in the registered face action information;
s107: and if all the authentication information are matched, judging that the authentication passes, otherwise, judging that the authentication fails.
As described in the above steps S100 to S107, the step of authenticating the user according to the user information may specifically include: firstly, a pre-stored registered user list is obtained, and whether first appointed user information which is the same as the user information is stored in the registered user list is judged. The registered user list is a pre-created list for storing user information of registered users with legal identities, and the user information may include name information or id information. And if the first appointed user information is stored, performing living body detection on the user, and judging whether the living body detection passes or not. Wherein the living body detection is a detection operation for determining whether the user is a real living body. The process of performing the living body detection on the user may be: the user aims at the preset head and photo frame according to the guidance of the identity verification indication information, the combined actions of blinking, mouth opening, shaking, head pointing and the like are completed, and whether the user is operated by the real living body can be verified by using the technologies of face key point positioning, face tracking and the like. The user can be prevented from cheating by using a mask, a photo and the like through the live body detection of the user. And if the living body detection is passed, acquiring the face image of the user through a camera, and searching a registered face image corresponding to the first appointed user information in a database. Wherein the device is provided with a camera. The process of acquiring the facial image of the user through the camera may include: and displaying a face image acquisition interface, and acquiring a face image input by a user in the face image acquisition interface. The face image acquisition interface can comprise a view-finding frame of the camera and face input reminding information, and the face input reminding information is used for reminding a user to move a face into the view-finding frame so as to finish the acquisition of the face image of the user. In addition, the registered face image of the registered user can be collected in advance and stored in a corresponding database, so that the required registered face image can be searched from the database in the following. Specifically, the process of determining whether the face image is matched with the registered face image may include: extracting face features from a face image of a user; comparing the face features of the user with the face features in the registered face image, and calculating the similarity between the face features; if the similarity is larger than a preset threshold value, determining that the face image is matched with the registered face image; and if the similarity is smaller than a preset threshold value, determining that the face image is not matched with the registered face image. The registered face features are extracted from the registered face image corresponding to the first appointed user information, and the face features of the registered user can be extracted in advance and stored. For example, facial features of the registered user are extracted from facial images of the registered user and stored in the registration process. The facial features may include locations of points of facial features such as corners of the eyes, center of the eyes, tip of the nose, wings of the nose, corners of the mouth, corners of the eyebrows, and the like. The value range of the preset threshold is greater than 0 and less than 1, for example, the first preset threshold is 0.95. In practical application, a preset threshold value can be set according to the precision requirement of face matching, the higher the precision requirement is, the larger the preset threshold value is, and the lower the precision requirement is, the smaller the preset threshold value is. And then judging whether the face image is matched with the registered face image. And if so, displaying the preset gesture input reminding information. In order to ensure that the user inputs the posture information, display posture input prompt information can be provided in advance to prompt the user to input corresponding posture information, namely face action information, such as eye closing, mouth beeping, mouth puckering, tongue opening, lip biting and the like, so that the face action information is compared with pre-stored registered face action information corresponding to the first designated user information subsequently to obtain an identity verification result corresponding to the user. And then, acquiring the face action information input by the user through the camera, and searching the registered face action information corresponding to the first appointed user information in a database. The face action information comprises a face action sequence, and the face action sequence comprises a plurality of face actions executed in sequence. In addition, the collection process of the facial action information of the user can be completed through the camera: and displaying a face action acquisition interface, and acquiring face action information input by a user in the face action acquisition interface. The face action acquisition interface can comprise a view-finding frame of a camera and the gesture input reminding information, and the gesture input reminding information is used for reminding a user to execute related face actions in the view-finding frame so as to finish acquisition of the face action information of the user. The image sequence comprises a plurality of images, and each image in the image sequence comprises a face motion. Taking the sequence of obtaining the facial actions of the target user as an example, the terminal device collects a plurality of images through the camera, and each image contains one facial action executed by the user. Specifically, the face motion sequence refers to an image sequence including a plurality of face motions. For example, a facial action sequence includes 5 facial actions of eye closing, mouth beeping, mouth tucking, tongue spitting, and lip biting that are performed sequentially. The facial motion sequence of the user can be obtained by: collecting a facial action of a user through a camera; detecting to obtain a continuous acquisition instruction or a stop acquisition instruction; the continuous acquisition instruction is used for indicating continuous acquisition of the facial actions, and the stop acquisition instruction is used for indicating stop of acquisition of the facial actions; if the acquisition continuing instruction is obtained, the step of obtaining one face action of the user through the camera is started to be executed again; and if the acquisition stopping instruction is acquired, generating a face action sequence of the user according to the acquired face actions of the user. Wherein the continuous acquisition instruction and the stop acquisition instruction can be triggered by corresponding selection controls. In the time dimension, a face action sequence is formed by sequentially executing a plurality of face actions. In addition, the registered facial action information is standard posture information preset by the registered user, and the registered facial action information of the registered user can be extracted in advance and stored in a corresponding database, so that the required registered facial action information can be searched from the database in the following. And finally, judging whether each face action contained in the face action information is completely matched with the face action at the corresponding position in the registered face action information. Specifically, the process of comparing whether each group of facial movements matches may include: identifying the single face action of the user from the image containing the single face action of the user in a preset mode; and if the single face action of the user is the same as the single face action at the corresponding position in the registered face action information, judging that the group of face actions are matched, otherwise, judging that the group of face actions are not matched. The preset mode may be a mode of template matching to identify a single face motion from the image. A face action template set is constructed in advance, the face action template set comprises a plurality of face action templates, and each face action template can be an image containing a single face action. Taking the recognition of the single face action of the user as an example, the similarity between the image containing the single face action of the user and each face action template is calculated, and the face action recognition result is the single face action in the face action template with the highest similarity. The principle of the method is simple, and the face action template is easy to add and improve. In addition, the preset mode can also be that a single face action is recognized from the image by adopting a face action recognition model. The face motion recognition Model may adopt a Hidden Markov Model (HMM) or a machine learning algorithm to construct a Neural Network (NN) Model, which is not limited in this embodiment. Because the model is obtained by training a large number of training samples, the model has high fault-tolerant capability, and the neural network model is preferably used for facial motion recognition. And if all the authentication information are matched, judging that the authentication passes, otherwise, judging that the authentication fails. In the embodiment, the user is authenticated in a multidimensional manner, and the user is considered to pass the authentication only after the user information, the living body detection, the face recognition and the face action recognition pass the authentication simultaneously, so that the safety of the authentication process of the user is improved, and the condition that the function of generating the questionnaire is configured for an illegal user can be effectively avoided. Moreover, the face action information and the face image can be acquired through the camera, so that the convenience of information acquisition is not influenced, and the hardware cost of the equipment is not additionally increased. In addition, the face action information is introduced and combined with the face image for identity verification, even if the face information of the user is acquired by other people, as long as the face action information set by the user is not leaked to other people, other people still cannot imitate the fact that the user passes the identity verification, and the safety of the identity verification and the processing normalization of the questionnaire generation request are further improved.
Further, in an embodiment of the present application, the step S20 includes:
s200: judging whether second specified user information which is the same as the user information exists in a preset service role authority rating table or not;
s201: if the second specified user information exists, acquiring an authority score corresponding to the specified information from the service role authority score table;
s202: acquiring a service permission score interval corresponding to the operation of configuring the questionnaire based on a preset service operation permission table;
s203: judging whether the permission score is within the service permission score interval or not;
s204: if the service authority value is within the service authority value interval, judging that the authority verification is passed;
s205: and if the service authority value is not in the service authority value interval, judging that the authority verification is not passed.
As described in the foregoing steps S200 to S205, the step of performing the authorization verification on the user based on the user information and determining whether the authorization verification passes may specifically include: firstly, judging whether second specified user information which is the same as the user information exists in a preset service role authority rating table or not. The service role authority score table is a pre-created first data table in which user information of each registered user and authority scores corresponding to the user information are recorded. And if the second specified user information exists, acquiring the permission score corresponding to the specified information from the service role permission score table. And then acquiring a service permission score interval corresponding to the operation of configuring the questionnaire based on a preset service operation permission table. The service operation authority table is a second data table which is created in advance and records each service operation and service authority score intervals corresponding to the service operations one by one. In addition, the value of the corresponding service permission score interval of each service operation is not specifically limited, and can be determined according to actual service requirements. And finally, judging whether the permission score is in the service permission score interval. And if the service authority value is within the service authority value interval, judging that the authority verification is passed. And if the service authority is not in the service authority score interval, judging that the authority verification is not passed. In the embodiment, the permission score of the user is obtained by inquiring the service role permission score table, the service permission score area corresponding to the operation of configuring the questionnaire is obtained by inquiring the service operation permission table, and whether the user has the permission to configure the questionnaire or not can be intelligently and quickly judged by carrying out numerical comparison on the permission score and the service permission score area, so that the condition of providing the configuration questionnaire for the user without permission can be effectively avoided, and the configuration safety of the questionnaire is effectively ensured.
Further, in an embodiment of the present application, the questionnaire configuration interface further includes a push control, and after step S70, the method includes:
s700: judging whether a triggering operation of the user on the pushing control is received;
s701: if the trigger operation is received, responding to the trigger operation, and generating a questionnaire link corresponding to the target questionnaire;
s702: displaying the questionnaire link and a preset sharing control;
s703: determining a target sharing mode and a target sharing user based on the sharing control;
s704: and sharing the questionnaire link to a target user terminal corresponding to the target sharing user based on the target sharing mode.
As described in the foregoing steps S700 to S704, the questionnaire configuration interface further includes a push control, and after the step of generating the corresponding target questionnaire based on the target questionnaire and the preset questionnaire template is completed, a sharing function about the questionnaire can be further provided to the user intelligently. Specifically, it is first determined whether a trigger operation of the user on the push control is received. And the questionnaire configuration interface is also provided with a pushing control, and the pushing control can be a pushing button and is used for pushing the generated target questionnaire to the corresponding investigated user. Additionally, the trigger operation may include a click or press operation. And if the trigger operation is received, responding to the trigger operation, and generating a questionnaire link corresponding to the target questionnaire. Wherein the questionnaire link includes a questionnaire identification of the target questionnaire, such as a questionnaire ID. The questionnaire link is used for: and the target user terminal triggers and acquires the corresponding target questionnaire through the questionnaire link so that the target sharing user can answer the target questionnaire through the target user terminal. And then displaying the questionnaire link and a preset sharing control. When receiving a trigger operation of a user on the push control, the device responds to the trigger operation, and further displays the questionnaire link and a preset sharing control after generating the questionnaire link associated with the target questionnaire. The share control may be a share button. And then determining a target sharing mode and a target sharing user based on the sharing control. The sharing control triggers the display of the sharing mode selection list and the sharing user selection list, so that a target sharing mode and a target sharing user are determined according to selection operations of the user on the display of the sharing mode selection list and the sharing user selection list, and questionnaire links are shared to corresponding target user terminals according to the target sharing mode and the target sharing user, and therefore pushing of target questionnaires is achieved intelligently. The target sharing mode may include: the social application may refer to a social application, such as WeChat, microblog, WeChat of an enterprise, Tencent QQ, and the like. And finally, the questionnaire link is shared to a target user terminal corresponding to the target sharing user based on the target sharing mode. For example, when a user wants to push a generated target questionnaire, a trigger operation may be input for a push control in a form of clicking, pressing, or the like, and after detecting the trigger operation, the device may generate and display a questionnaire link and a sharing control associated with the target questionnaire, and trigger a current interface to display a sharing mode selection list and a sharing user selection list through the sharing control. When the user selects sharing from the sharing mode selection list and selects little plums from the target sharing objects, the device determines the short message sharing as the target sharing mode, determines the little plums as the target sharing objects, and sends the target questionnaire to the short message address corresponding to the little plums in the short message sharing mode to finish pushing the target questionnaire. In this embodiment, after the generation of the target questionnaire is completed, the target questionnaire can be intelligently and quickly distributed to the target user terminals corresponding to the corresponding target sharing users based on the corresponding trigger operation of the user on the push control in the questionnaire configuration interface, so that the user experience is improved, the target sharing users can answer corresponding questions according to the received target questionnaire, and the smooth operation of questionnaire survey work is ensured.
Further, in an embodiment of the present application, after the step S704, the method includes:
s705: collecting a first questionnaire filling result corresponding to the target questionnaire fed back by the target sharing user, and storing the first questionnaire filling result in a preset database;
s706: judging whether a result analysis request which is triggered by the user and corresponds to the first questionnaire filling result is received or not;
s707: if yes, extracting the first questionnaire filling result from the preset database, and summarizing the first questionnaire filling result to obtain a corresponding second questionnaire filling result;
s708: analyzing and processing the second questionnaire filling result to obtain a corresponding analysis result, and recording the analysis result as a questionnaire survey result of the target questionnaire;
s709: and displaying the questionnaire survey results.
As described in the above steps S705 to S709, after the step of sharing the questionnaire link to the target user terminal corresponding to the target sharing user based on the target sharing manner is completed, an intelligent analysis process of a questionnaire filling result about the questionnaire fed back by the target sharing user may be further included. Specifically, first questionnaire filling results corresponding to the target questionnaire and fed back by the target sharing user are collected, and the first questionnaire filling results are stored in a preset database. After the generated questionnaire is distributed to corresponding target sharing users in a target sharing manner, the target sharing users can fill in the target questionnaire at any place at a specified time. In addition, after receiving a first questionnaire filling result fed back by the target sharing user, the first questionnaire filling result can be stored in any database. And then judging whether a result analysis request which is triggered by the user and corresponds to the first questionnaire filling result is received. And if so, extracting the first questionnaire filling result from the preset database, and summarizing the first questionnaire filling result to obtain a corresponding second questionnaire filling result. When the questionnaire filling results of the target questionnaire need to be subjected to result analysis, all first questionnaire filling results of the survey can be called from the preset database and are subjected to summarizing processing to obtain second questionnaire filling results. And analyzing and processing the second questionnaire filling result to obtain a corresponding analysis result, and recording the analysis result as a questionnaire survey result of the target questionnaire. Wherein the analyzing the second questionnaire filling result may include: and carrying out opinion consistency analysis on the summarized second questionnaire filling results by using an Isomap dimension reduction algorithm and a similarity algorithm so as to output corresponding questionnaire survey results. Specifically, vectors can be used to represent questionnaire results of each investigated user, namely target sharing users, and the Isomap dimension reduction method is used to reduce the dimension of the survey questionnaire to high dimension under the condition of ensuring that the distance between the vectors is not changedThe vectors are converted into low-dimensional vectors for coordinate display, and then the quantized relation among the vectors is calculated through a similarity algorithm to represent the similarities and differences of different investigated user viewpoints. The distance between vector X and vector Y is defined as:
Figure BDA0003300455810000171
if X, Y the ith component is the same, then the contribution of that component to the distance is 0; if different, the contribution of the component to the distance is greater than 0, and the greater the difference in the components, the greater their contribution to the distance. Differences in the perspective of each investigated user can be described using the distance between the vectors. A larger distance value indicates a larger difference in the opinion of the investigated user. The similarity calculation method is used for evaluating the divergence degree of the opinion of the group in the following way: if the distance is small, the similarity is large; if the distance is large, the similarity is small. By performing Isomap dimension reduction on all the options of all the questions and then summarizing the dispersion degree of the overall opinions by a similarity calculation method, if the opinions of all the investigated users are basically consistent for a certain question in a questionnaire, the result can be used as a consistent opinion. If the logical inconsistency exists, the suggestion of the inconsistency of the opinions is sent out, corresponding problems are given, then result summarization and analysis are carried out again until the group opinions are basically consistent, so that questionnaire results corresponding to the dispersion degree of all the opinions of the investigated users are obtained, and finally the related contents of the opinion analysis can be visually represented. And finally, displaying the questionnaire survey results. The questionnaire survey results can be displayed in a visual mode, the questionnaire survey results have multiple dimension statistics, and different types of survey questions also have different display styles, such as a histogram and a pie chart. After the target questionnaire is generated and distributed, questionnaire filling results corresponding to the target questionnaire and fed back by the target sharing user are further collected, and the questionnaire filling results are intelligently and automatically summarized and analyzed, so that the corresponding questionnaire results are quickly and accurately generated. Because the questionnaire survey result is generated by automatic analysis, manpower and material resources are effectively reducedThe generation efficiency and the generation accuracy of the questionnaire survey result are improved. In addition, the generated questionnaire filling results are displayed, so that the related users can clearly know the final result of the investigation according to the questionnaire filling results, and further can perform subsequent related processing in time according to the final result, and the use experience of the users is improved.
Further, in an embodiment of the present application, the questionnaire configuration interface further includes a questionnaire time management area, where the questionnaire time management area includes a time off-shelf editing block and a time to date editing block, and after step S70, the method includes:
s710: generating and displaying time filling information corresponding to the target questionnaire to remind the user of inputting data in the off-shelf time editing block and the provisional reminding time editing block;
s711: receiving the off-shelf time input by the user in the off-shelf time editing block, and receiving the temporary reminding time input by the user in the temporary reminding time editing block;
s712: establishing an association relationship between the off-shelf time and the temporary reminding time and the target questionnaire respectively;
s713: and storing the off-shelf time and the temporary reminding time based on the incidence relation.
As described in steps S710 to S713, the questionnaire configuration interface further includes a questionnaire time management area, where the questionnaire time management area includes an off-shelf time editing block and an upcoming reminding time editing block, and after the step of generating the corresponding target questionnaire based on the target questionnaire and the preset questionnaire template is completed, the functions of off-shelf management and upcoming reminding can be further intelligently configured for the target questionnaire. Specifically, time filling information corresponding to the target questionnaire is generated and displayed to remind the user of data input in the off-shelf time editing block and the provisional reminding time editing block. The off-shelf time refers to the time when the target questionnaire is invalidated, the provisional reminding time refers to the time for reminding the questionnaire filling of the investigated user when the investigated user does not feed back the questionnaire filling result corresponding to the target questionnaire within the pushing time of the target questionnaire, the provisional reminding time is earlier than the off-shelf time, and the unit of the provisional reminding time is day. For example, the off-shelf time can be 2021-10-01, and the temporary reminding time can be 2021-9-11. And then receiving the off-shelf time input by the user in the off-shelf time editing block, and receiving the temporary reminding time input by the user in the temporary reminding time editing block. And then establishing association relations between the off-shelf time and the temporary reminding time and the target questionnaire respectively. And finally, storing the off-shelf time and the temporary reminding time based on the incidence relation. In this embodiment, after the target questionnaire is generated, time filling information corresponding to the target questionnaire may be subsequently displayed to the user, so that the user may generate the off-shelf time and the imminent reminding time corresponding to the target questionnaire according to the actual needs of the user, so as to intelligently perform time management processing on the target questionnaire according to the obtained off-shelf time, and perform questionnaire filling reminding on the investigated user who does not perform feedback according to the imminent reminding time, thereby effectively improving the intelligence of questionnaire pushing.
Further, in an embodiment of the present application, after the step S70, the method includes:
s720: judging whether a specified questionnaire filling result corresponding to the target questionnaire fed back by a specified sharing user is received or not;
s721: if the filling result of the specified questionnaire is not received, calling a preset user information attribute library, and judging whether third specified user information corresponding to the specified sharing user is stored in the user information attribute library or not;
s722: if the third appointed user information is stored, inquiring appointed attribute data corresponding to the third appointed user information from the user information attribute library;
s723: analyzing the time trajectory of the specified attribute data to obtain a time table corresponding to the specified sharing user;
s724: determining the working time period of the appointed sharing user from the time table;
s725: acquiring a preset sleep time period;
s726: determining an information push time period based on the working time period and the sleep time period;
s727: acquiring current first time, and judging whether the first time reaches the temporary reminding time or not;
s728: and if the current second time reaches the minimum time endpoint in the information pushing time period, acquiring preset reminding information, and sending the reminding information to a specified terminal corresponding to the specified sharing user.
As described in steps S720 to S728 above, after the step of generating the corresponding target questionnaire based on the target questionnaire and the preset questionnaire template is completed, an intelligent reminding function for a user who does not feed back the questionnaire filling result for the target questionnaire may be further included. Specifically, whether a specified questionnaire filling result corresponding to the target questionnaire fed back by a specified sharing user is received or not is judged. And if the filling result of the specified questionnaire is not received, calling a preset user information attribute library, and judging whether the user information attribute library stores third specified user information corresponding to the specified sharing user. The user information attribute library stores user information of each sharing user and attribute data of each sharing user. The user information may be a user name, a user identification code, etc. The attribute data includes at least work attribute data including information of a social nature such as occupation, income, company, call number, work time, and the like. And if the third appointed user information is stored, inquiring appointed attribute data corresponding to the third appointed user information from the user information attribute library. And then, carrying out time trajectory analysis on the specified attribute data to obtain a time schedule corresponding to the specified sharing user. And analyzing the time trajectory by extracting the time dimension in the specified attribute data, marking and analyzing time periods to obtain labels of all time periods, and outputting the schedule of the specified sharing user. The schedule is an estimated time distribution form for the user for one day. And then determining the working time period of the appointed sharing user from the time table, and acquiring a preset sleep time period. For example, the schedule is a work time of 8: 30 to 12: 30 and 14: 00 to 17: 30, the commute time on and off duty is 7: 30 to 8: 29 and 17: 31 to 18: 30, thereby marking 8: 30 to 12: 30 and 14: 00 to 17: the time period corresponding to 30 is the working time period. In addition, the sleep time period may be determined according to actual needs, and is not limited herein. And subsequently determining an information pushing time period based on the working time period and the sleeping time period. The unit of the information pushing time is smaller than the unit of the temporary reminding time, for example, the unit of the information pushing time is minutes, and the unit of the temporary reminding time is days. Specifically, the process of determining the information pushing time based on the working time period and the sleep time period may include: acquiring a time period included in one day, eliminating the working time period and the sleeping time period in the time period to obtain a processed time period, and taking the processed time period as the information pushing time. And finally, acquiring the current first time, and judging whether the first time reaches the temporary reminding time. And if the current second time reaches the minimum time endpoint in the information pushing time period, acquiring preset reminding information, and sending the reminding information to a specified terminal corresponding to the specified sharing user. The specific content of the reminding information is not limited, and may be set according to actual requirements, for example, the content of the reminding information may include: "please complete the filling-in of the target questionnaire in time, thanks". In the embodiment, after the specified sharing user does not complete answer feedback on the target questionnaire within the pushing time, the corresponding information pushing time is determined based on the user attribute information of the specified sharing user intelligently, and preset reminding information is sent to the specified sharing user based on the obtained information pushing time so as to remind the user to answer the target questionnaire, so that the management intelligence of feedback tracking on the target questionnaire is effectively improved, and the manual management cost is greatly reduced.
The method for generating a questionnaire in the embodiment of the present application can also be applied to the field of block chains, for example, data such as the target questionnaire is stored on a block chain. By storing and managing the target questionnaire using the block chain, the security and non-tamper-ability of the target questionnaire can be effectively ensured.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The block chain underlying platform can comprise processing modules such as user management, basic service, intelligent contract and operation monitoring. The user management module is responsible for identity information management of all blockchain participants, and comprises public and private key generation maintenance (account management), key management, user real identity and blockchain address corresponding relation maintenance (authority management) and the like, and under the authorization condition, the user management module supervises and audits the transaction condition of certain real identities and provides rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node equipment and used for verifying the validity of the service request, recording the service request to storage after consensus on the valid request is completed, for a new service request, the basic service firstly performs interface adaptation analysis and authentication processing (interface adaptation), then encrypts service information (consensus management) through a consensus algorithm, transmits the service information to a shared account (network communication) completely and consistently after encryption, and performs recording and storage; the intelligent contract module is responsible for registering and issuing contracts, triggering the contracts and executing the contracts, developers can define contract logics through a certain programming language, issue the contract logics to a block chain (contract registration), call keys or other event triggering and executing according to the logics of contract clauses, complete the contract logics and simultaneously provide the function of upgrading and canceling the contracts; the operation monitoring module is mainly responsible for deployment, configuration modification, contract setting, cloud adaptation in the product release process and visual output of real-time states in product operation, such as: alarm, monitoring network conditions, monitoring node equipment health status, and the like.
Referring to fig. 2, an embodiment of the present application further provides a device for generating a questionnaire, including:
the first verification module 1 is used for receiving a questionnaire generation request which is triggered by a user and carries user information, and verifying the identity of the user according to the user information;
the second verification module 2 is used for performing authority verification on the user based on the user information if the identity verification is passed;
the first display module 3 is used for displaying a preset questionnaire configuration interface if the permission verification passes; the questionnaire configuration interface comprises a questionnaire title menu, wherein the questionnaire title menu comprises a plurality of questionnaire title types;
the first receiving module 4 is configured to receive a selection operation, triggered by the user, on the questionnaire configuration interface on the questionnaire question menu to obtain a corresponding target questionnaire question type;
a second display module 5, configured to display, in the questionnaire configuration interface, a question editing region corresponding to the target survey question type; the title editing area comprises a title editing block and a title content editing block;
the editing module 6 is configured to obtain a target survey topic corresponding to the target survey topic type based on an editing operation input by the user in the topic editing region;
and the first generating module 7 is used for generating a corresponding target questionnaire based on the target questionnaire question and a preset questionnaire template.
In this embodiment, the operations executed by the modules or units respectively correspond to the steps of the questionnaire generation method of the foregoing embodiment one to one, and are not described herein again.
Further, in an embodiment of the present application, the first verification module 1 includes:
the first judging unit is used for acquiring a pre-stored registered user list and judging whether first appointed user information which is the same as the user information is stored in the registered user list;
a second judgment unit, configured to perform live detection on the user if the first specified user information is stored, and judge whether the live detection passes;
the first acquisition unit is used for acquiring a face image of the user through a camera if the living body detection is passed, and searching a registered face image corresponding to the first appointed user information in a database;
a third judging unit, configured to judge whether the face image matches the registered face image;
the display unit is used for displaying preset gesture input reminding information if the preset gesture input reminding information is matched with the preset gesture input reminding information;
the second acquisition unit is used for acquiring the face action information input by the user through the camera and searching the registered face action information corresponding to the first appointed user information in a database; the face action information comprises a face action sequence which comprises a plurality of face actions executed in sequence;
a fourth judging unit configured to judge whether each of the facial movements included in the facial movement information matches all of the facial movements at the corresponding position in the registered facial movement information;
and the first judging unit is used for judging that the identity authentication is passed if all the matching units are matched, and otherwise, judging that the identity authentication is not passed.
In this embodiment, the operations executed by the modules or units respectively correspond to the steps of the questionnaire generation method of the foregoing embodiment one to one, and are not described herein again.
Further, in an embodiment of the present application, the second verification module 2 includes:
a fifth judging unit, configured to judge whether a second specified user information that is the same as the user information exists in a preset service role authority score table;
a third obtaining unit, configured to obtain, if the second specified user information exists, a permission score corresponding to the specified information from the service role permission score table;
the fourth acquisition unit is used for acquiring a service permission score interval corresponding to the operation of configuring the questionnaire based on a preset service operation permission table;
a sixth judging unit, configured to judge whether the permission score is within the service permission score interval;
the second judgment unit is used for judging that the authority verification is passed if the service authority score interval is within the service authority score interval;
and the third judging unit is used for judging that the permission verification is not passed if the service permission score interval is not within the service permission score interval.
In this embodiment, the operations executed by the modules or units respectively correspond to the steps of the questionnaire generation method of the foregoing embodiment one to one, and are not described herein again.
Further, in an embodiment of the present application, the questionnaire configuration interface further includes a push control, and the apparatus for generating a questionnaire includes:
the first judgment module is used for judging whether the triggering operation of the user on the push control is received or not;
a second generation module, configured to respond to the trigger operation and generate a questionnaire link corresponding to the target questionnaire if the trigger operation is received;
the third display module is used for displaying the questionnaire link and a preset sharing control;
the first determining module is used for determining a target sharing mode and a target sharing user based on the sharing control;
and the sharing module is used for sharing the questionnaire link to a target user terminal corresponding to the target sharing user based on the target sharing mode.
In this embodiment, the operations executed by the modules or units respectively correspond to the steps of the questionnaire generation method of the foregoing embodiment one to one, and are not described herein again.
Further, in an embodiment of the present application, the apparatus for generating a questionnaire includes:
the collection module is used for collecting a first questionnaire filling result which is fed back by the target sharing user and corresponds to the target questionnaire, and storing the first questionnaire filling result in a preset database;
the second judgment module is used for judging whether a result analysis request which is triggered by the user and corresponds to the first questionnaire filling result is received or not;
the extracting module is used for extracting the first questionnaire filling result from the preset database if the first questionnaire filling result is obtained, and summarizing the first questionnaire filling result to obtain a corresponding second questionnaire filling result;
the first analysis module is used for analyzing and processing the second questionnaire filling result to obtain a corresponding analysis result, and recording the analysis result as a questionnaire survey result of the target questionnaire;
and the fourth display module is used for displaying the questionnaire survey results.
In this embodiment, the operations executed by the modules or units respectively correspond to the steps of the questionnaire generation method of the foregoing embodiment one to one, and are not described herein again.
Further, in an embodiment of the present application, the questionnaire configuration interface further includes a questionnaire time management area, the questionnaire time management area includes an off-shelf time editing block and an upcoming reminding time editing block, and the apparatus for generating the questionnaire includes:
a third generating module, configured to generate and display time filling information corresponding to the target questionnaire, so as to remind the user to perform data input in the off-shelf time editing block and the provisional reminding time editing block;
a third receiving module, configured to receive the off-shelf time input by the user in the off-shelf time editing block, and receive the provisional reminding time input by the user in the provisional reminding time editing block;
the creation module is used for respectively establishing association relations between the off-shelf time and the temporary reminding time and the target questionnaire;
and the storage module is used for storing the off-shelf time and the temporary reminding time based on the incidence relation.
In this embodiment, the operations executed by the modules or units respectively correspond to the steps of the questionnaire generation method of the foregoing embodiment one to one, and are not described herein again.
Further, in an embodiment of the present application, the apparatus for generating a questionnaire includes:
the third judgment module is used for judging whether an appointed questionnaire filling result which is fed back by an appointed sharing user and corresponds to the target questionnaire is received or not;
the fourth judging module is used for calling a preset user information attribute library if the filling result of the specified questionnaire is not received, and judging whether the user information attribute library stores third specified user information corresponding to the specified sharing user or not;
the query module is used for querying specified attribute data corresponding to the third specified user information from the user information attribute library if the third specified user information is stored;
the second analysis module is used for carrying out time trajectory analysis on the specified attribute data to obtain a time table corresponding to the specified sharing user;
the second determining module is used for determining the working time period of the appointed sharing user from the time table;
the acquisition module is used for acquiring a preset sleep time period;
a third determining module, configured to determine an information push time period based on the working time period and the sleep time period;
the fifth judging module is used for acquiring the current first time and judging whether the first time reaches the current temporary reminding time;
and the sending module is used for acquiring preset reminding information when the current second time reaches the minimum time endpoint in the information pushing time period if the current reminding time is reached, and sending the reminding information to a specified terminal corresponding to the specified sharing user.
In this embodiment, the operations executed by the modules or units respectively correspond to the steps of the questionnaire generation method of the foregoing embodiment one to one, and are not described herein again.
Referring to fig. 3, a computer device, which may be a server and whose internal structure may be as shown in fig. 3, is also provided in the embodiment of the present application. The computer device comprises a processor, a memory, a network interface, a display screen, an input device and a database which are connected through a system bus. Wherein the processor of the computer device is designed to provide computing and control capabilities. The memory of the computer device comprises a storage medium and an internal memory. The storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and computer programs in the storage medium to run. The database of the computer device is for storing user information, a face image, facial motion information, a survey topic menu, a survey topic type, a target survey topic, a survey questionnaire template, and a target questionnaire. The network interface of the computer device is used for communicating with an external terminal through a network connection. The display screen of the computer equipment is an indispensable image-text output equipment in the computer, and is used for converting digital signals into optical signals so that characters and figures are displayed on the screen of the display screen. The input device of the computer equipment is the main device for information exchange between the computer and the user or other equipment, and is used for transmitting data, instructions, some mark information and the like to the computer. The computer program is executed by a processor to implement a method of questionnaire generation.
The processor executes the steps of the questionnaire generation method:
receiving a questionnaire generation request which is triggered by a user and carries user information, and performing identity authentication on the user according to the user information;
if the identity authentication is passed, performing authority authentication on the user based on the user information;
if the authority passes the verification, displaying a preset questionnaire configuration interface; the questionnaire configuration interface comprises a questionnaire title menu, wherein the questionnaire title menu comprises a plurality of questionnaire title types;
receiving a selection operation of the survey question menu in the survey question configuration interface triggered by the user to obtain a corresponding target survey question type;
displaying a question editing area corresponding to the target survey question type in the survey questionnaire configuration interface; the title editing area comprises a title editing block and a title content editing block;
obtaining a target survey topic corresponding to the target survey topic type based on the editing operation input by the user in the topic editing area;
and generating a corresponding target questionnaire based on the target questionnaire and a preset questionnaire template.
Those skilled in the art will appreciate that the structure shown in fig. 3 is only a block diagram of a part of the structure related to the present application, and does not constitute a limitation to the apparatus and the computer device to which the present application is applied.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for generating a questionnaire, and specifically includes:
receiving a questionnaire generation request which is triggered by a user and carries user information, and performing identity authentication on the user according to the user information;
if the identity authentication is passed, performing authority authentication on the user based on the user information;
if the authority passes the verification, displaying a preset questionnaire configuration interface; the questionnaire configuration interface comprises a questionnaire title menu, wherein the questionnaire title menu comprises a plurality of questionnaire title types;
receiving a selection operation of the survey question menu in the survey question configuration interface triggered by the user to obtain a corresponding target survey question type;
displaying a question editing area corresponding to the target survey question type in the survey questionnaire configuration interface; the title editing area comprises a title editing block and a title content editing block;
obtaining a target survey topic corresponding to the target survey topic type based on the editing operation input by the user in the topic editing area;
and generating a corresponding target questionnaire based on the target questionnaire and a preset questionnaire template.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method 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, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A method of generating a questionnaire, comprising:
receiving a questionnaire generation request which is triggered by a user and carries user information, and performing identity authentication on the user according to the user information;
if the identity authentication is passed, performing authority authentication on the user based on the user information;
if the authority passes the verification, displaying a preset questionnaire configuration interface; the questionnaire configuration interface comprises a questionnaire title menu, wherein the questionnaire title menu comprises a plurality of questionnaire title types;
receiving a selection operation of the survey question menu in the survey question configuration interface triggered by the user to obtain a corresponding target survey question type;
displaying a question editing area corresponding to the target survey question type in the survey questionnaire configuration interface; the title editing area comprises a title editing block and a title content editing block;
obtaining a target survey topic corresponding to the target survey topic type based on the editing operation input by the user in the topic editing area;
and generating a corresponding target questionnaire based on the target questionnaire and a preset questionnaire template.
2. The method for generating a questionnaire of claim 1, wherein the step of authenticating the user based on the user information comprises:
acquiring a pre-stored registered user list, and judging whether first specified user information which is the same as the user information is stored in the registered user list;
if the first appointed user information is stored, performing living body detection on the user, and judging whether the living body detection passes;
if the living body detection is passed, acquiring a face image of the user through a camera, and searching a registered face image corresponding to the first appointed user information in a database;
judging whether the face image is matched with the registered face image;
if the input prompt information is matched with the preset gesture input prompt information, displaying the preset gesture input prompt information;
acquiring the face action information input by the user through the camera, and searching the registered face action information corresponding to the first appointed user information in a database; the face action information comprises a face action sequence which comprises a plurality of face actions executed in sequence;
judging whether each face action contained in the face action information is completely matched with the face action at the corresponding position in the registered face action information;
and if all the authentication information are matched, judging that the authentication passes, otherwise, judging that the authentication fails.
3. The method for generating a questionnaire according to claim 1, wherein the step of performing authorization verification on the user based on the user information comprises:
judging whether second specified user information which is the same as the user information exists in a preset service role authority rating table or not;
if the second specified user information exists, acquiring an authority score corresponding to the specified information from the service role authority score table;
acquiring a service permission score interval corresponding to the operation of configuring the questionnaire based on a preset service operation permission table;
judging whether the permission score is within the service permission score interval or not;
if the service authority value is within the service authority value interval, judging that the authority verification is passed;
and if the service authority value is not in the service authority value interval, judging that the authority verification is not passed.
4. The method for generating a questionnaire of claim 1, wherein the questionnaire configuration interface further comprises a push control, and after the step of generating the corresponding target questionnaire based on the target questionnaire topic and a preset questionnaire template, the method comprises:
judging whether a triggering operation of the user on the pushing control is received;
if the trigger operation is received, responding to the trigger operation, and generating a questionnaire link corresponding to the target questionnaire;
displaying the questionnaire link and a preset sharing control;
determining a target sharing mode and a target sharing user based on the sharing control;
and sharing the questionnaire link to a target user terminal corresponding to the target sharing user based on the target sharing mode.
5. The method for generating a questionnaire according to claim 4, wherein after the step of sharing the questionnaire link to a target user terminal corresponding to the target sharing user based on the target sharing manner, the method comprises:
collecting a first questionnaire filling result corresponding to the target questionnaire fed back by the target sharing user, and storing the first questionnaire filling result in a preset database;
judging whether a result analysis request which is triggered by the user and corresponds to the first questionnaire filling result is received or not;
if yes, extracting the first questionnaire filling result from the preset database, and summarizing the first questionnaire filling result to obtain a corresponding second questionnaire filling result;
analyzing and processing the second questionnaire filling result to obtain a corresponding analysis result, and recording the analysis result as a questionnaire survey result of the target questionnaire;
and displaying the questionnaire survey results.
6. The method for generating a questionnaire of claim 1, wherein the questionnaire configuration interface further comprises a questionnaire time management area, the questionnaire time management area comprises a time-to-live editing block and an upcoming-time editing block, and after the step of generating the corresponding target questionnaire based on the target questionnaire and a preset questionnaire template, the method comprises:
generating and displaying time filling information corresponding to the target questionnaire to remind the user of inputting data in the off-shelf time editing block and the provisional reminding time editing block;
receiving the off-shelf time input by the user in the off-shelf time editing block, and receiving the temporary reminding time input by the user in the temporary reminding time editing block;
establishing an association relationship between the off-shelf time and the temporary reminding time and the target questionnaire respectively;
and storing the off-shelf time and the temporary reminding time based on the incidence relation.
7. The method for generating questionnaires of claim 6, wherein after the step of generating the corresponding target questionnaire based on the target questionnaire topic and a preset questionnaire template, the method comprises:
judging whether a specified questionnaire filling result corresponding to the target questionnaire fed back by a specified sharing user is received or not;
if the filling result of the specified questionnaire is not received, calling a preset user information attribute library, and judging whether third specified user information corresponding to the specified sharing user is stored in the user information attribute library or not;
if the third appointed user information is stored, inquiring appointed attribute data corresponding to the third appointed user information from the user information attribute library;
analyzing the time trajectory of the specified attribute data to obtain a time table corresponding to the specified sharing user;
determining the working time period of the appointed sharing user from the time table;
acquiring a preset sleep time period;
determining an information push time period based on the working time period and the sleep time period;
acquiring current first time, and judging whether the first time reaches the temporary reminding time or not;
and if the current second time reaches the minimum time endpoint in the information pushing time period, acquiring preset reminding information, and sending the reminding information to a specified terminal corresponding to the specified sharing user.
8. An apparatus for generating a questionnaire, comprising:
the first verification module is used for receiving a questionnaire generation request which is triggered by a user and carries user information, and verifying the identity of the user according to the user information;
the second verification module is used for performing authority verification on the user based on the user information if the identity verification is passed;
the first display module is used for displaying a preset questionnaire configuration interface if the permission verification passes; the questionnaire configuration interface comprises a questionnaire title menu, wherein the questionnaire title menu comprises a plurality of questionnaire title types;
the first receiving module is used for receiving the selection operation of the survey question menu in the survey questionnaire configuration interface triggered by the user to obtain the corresponding target survey question type;
a second display module, configured to display, in the questionnaire configuration interface, a question editing region corresponding to the target survey question type; the title editing area comprises a title editing block and a title content editing block;
the editing module is used for obtaining a target survey topic corresponding to the target survey topic type based on the editing operation input by the user in the topic editing area;
and the first generation module is used for generating a corresponding target questionnaire based on the target questionnaire and a preset questionnaire template.
9. A computer device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202111189073.6A 2021-10-12 2021-10-12 Questionnaire generation method and device, computer equipment and storage medium Pending CN113918699A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111189073.6A CN113918699A (en) 2021-10-12 2021-10-12 Questionnaire generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111189073.6A CN113918699A (en) 2021-10-12 2021-10-12 Questionnaire generation method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113918699A true CN113918699A (en) 2022-01-11

Family

ID=79239871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111189073.6A Pending CN113918699A (en) 2021-10-12 2021-10-12 Questionnaire generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113918699A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114842930A (en) * 2022-06-30 2022-08-02 苏州景昱医疗器械有限公司 Data acquisition method, device and system and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114842930A (en) * 2022-06-30 2022-08-02 苏州景昱医疗器械有限公司 Data acquisition method, device and system and computer readable storage medium
WO2024001695A1 (en) * 2022-06-30 2024-01-04 苏州景昱医疗器械有限公司 Data acquisition method, apparatus and system, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN112528259B (en) Identity verification method, device, computer equipment and storage medium
US20180308107A1 (en) Living-body detection based anti-cheating online research method, device and system
CN104731971A (en) Campus personalized palm service and user behavior habit analysis achieving method
CN112036147B (en) Method, device, computer equipment and storage medium for converting picture into webpage
CN109934182A (en) Object behavior analysis method, device, electronic equipment and computer storage medium
CN114840387A (en) Micro-service monitoring method and device, computer equipment and storage medium
CN113918526A (en) Log processing method and device, computer equipment and storage medium
Ma Application of artificial intelligence in computer network technology
CN113918699A (en) Questionnaire generation method and device, computer equipment and storage medium
CN107430653B (en) Method for identifying an interaction signature of a user
CN113986581A (en) Data aggregation processing method and device, computer equipment and storage medium
CN112818796B (en) Intelligent gesture distinguishing method and storage device suitable for online prison scene
WO2020234852A1 (en) Method of delivering webinars with certified participation
CN114547053A (en) System-based data processing method and device, computer equipment and storage medium
US20240046493A1 (en) Information processing device, information processing method, and program
CN114511200A (en) Job data generation method and device, computer equipment and storage medium
CN113469291A (en) Data processing method and device, electronic equipment and storage medium
Sivova et al. Hidden authentication of the user based on neural network analysis of the dynamic profile
Cerna et al. Machine learning biometric attendance system using fingerprint fuzzy vault scheme algorithm and multi-task convolution neural network face recognition algorithm
CN110459296A (en) Information-pushing method and Related product
CN113660157B (en) Application data processing method and device, computer equipment and storage medium
CN113158920B (en) Training method and device for specific action recognition model and computer equipment
Zhu et al. Online and Offline Integration of Smart Educational Monitoring System based on Face Recognition Smart Sign-in Devices
Shabalina et al. Development of a module for identifying a person by photography to improve the quality of the machine-engineering plant in remote mode
CN114066438A (en) Model-based monitoring data display 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