CN111381744A - Method, device and storage medium for establishing evaluation questionnaire - Google Patents

Method, device and storage medium for establishing evaluation questionnaire Download PDF

Info

Publication number
CN111381744A
CN111381744A CN202010184172.4A CN202010184172A CN111381744A CN 111381744 A CN111381744 A CN 111381744A CN 202010184172 A CN202010184172 A CN 202010184172A CN 111381744 A CN111381744 A CN 111381744A
Authority
CN
China
Prior art keywords
dimension
data
information
interface
questionnaire
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010184172.4A
Other languages
Chinese (zh)
Other versions
CN111381744B (en
Inventor
许洋溢
王达川
李文娟
邵广玉
王蒴
李淑一
李佳澳
杨雪微
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group 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 BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202010184172.4A priority Critical patent/CN111381744B/en
Publication of CN111381744A publication Critical patent/CN111381744A/en
Application granted granted Critical
Publication of CN111381744B publication Critical patent/CN111381744B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/20ICT specially adapted for the handling or processing of patient-related medical or healthcare data for electronic clinical trials or questionnaires

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the disclosure provides a method, a device and a storage medium for establishing an evaluation questionnaire, wherein the method comprises the following steps: receiving dimension data of each questionnaire set in a first preset interface, wherein the dimension data at least comprises: dimension information, the number of the dimension information, questions corresponding to each dimension information and the dimension value of the dimension information in each question; receiving calling data set in a second preset interface, wherein the calling data comprises: result information corresponding to a dimension value of the dimension information; and responding to the setting completion operation, and establishing association of the main program, the dimension data and the calling data through an API (application programming interface) interface so as to establish the evaluation questionnaire. The method and the device for evaluating the questionnaire are characterized in that different preset interfaces are configured to set different data needed to be used in the questionnaire to be evaluated, the association is established with the main program after the setting is completed, the questionnaire to be evaluated can be used, and a user can realize the original logic code which can be changed only in a code layer through simple operation on the preset interfaces.

Description

Method, device and storage medium for establishing evaluation questionnaire
Technical Field
The present disclosure relates to the field of computers, and in particular, to a method, an apparatus, and a storage medium for creating an evaluation questionnaire.
Background
In the current internet era, information technology is used as a main driving force, so that social productivity is continuously developed to the width and depth. The application of the internet is rapidly developed, various systems are in endless, and various industries are driven to continuously explore new roads. With the rise of AI (artificial intelligence), various mathematic problems are widely applied, and at present, many systems use complex mathematic logic formulas to complete calculation logic and meet business requirements. For example, in various psychological assessment systems, according to the answer of the user, the score is calculated through a background complex calculation formula, and a reasonable psychological scheme is matched. For example, in some medical field intelligent systems, a treatment scheme is provided for a patient intelligently according to the description of the patient's condition, and the matching process of the scheme is realized by completing matching through expression computing logic in the background of the system.
The above-mentioned process of implementing the service function involving the formula calculation, although able to satisfy the needs of the respective service function, still has some inevitable defects. Since the calculation formulas related to some service functions are relatively complex, a large amount of calculation logic codes need to be written in order to realize the functions, and although the service functions can be realized, when similar function requirements appear, even if the calculation formulas are slightly different, the logic codes need to be changed at a code layer, which brings great inconvenience and further causes higher development cost.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a method, an apparatus, and a storage medium for creating an evaluation questionnaire, so as to solve the following problems in the prior art: in the existing process of realizing the business function related to formula calculation, a large amount of calculation logic codes need to be written, and even if the calculation formula is slightly different and changed, the logic codes need to be changed by going to a code layer, so that great inconvenience is brought, and higher development cost is caused.
In one aspect, an embodiment of the present disclosure provides a method for creating an evaluation questionnaire, including: receiving dimension data of each questionnaire set in a first predetermined interface, wherein the dimension data at least comprises: dimension information, the number of the dimension information, questions corresponding to each dimension information and the dimension value of the dimension information in each question; receiving calling data set in a second preset interface, wherein the calling data comprise: result information corresponding to a dimension value of the dimension information; and responding to the setting completion operation, and establishing the association of the main program, the dimension data and the calling data through an API (application programming interface) interface so as to establish the evaluation questionnaire.
In some embodiments, before the receiving the call data set in the second predetermined interface, the method further includes: and receiving condition data set in a third preset interface, wherein the condition data comprises one or more calculation formulas, and variables in at least one calculation formula comprise dimension values of the dimension information.
In some embodiments, the call data further comprises: and the result information corresponds to the condition value of the condition data, and/or the result information corresponds to the dimension value of the dimension information when the condition value of the condition data meets the preset requirement.
In some embodiments, the type of computational formula includes: mathematical calculation formulas and/or code function calculation formulas.
In some embodiments, further comprising: receiving a function query request of a code function calculation formula from the third predetermined interface; and displaying a function list in a fourth preset interface in response to the function query request.
In another aspect, an embodiment of the present disclosure provides an apparatus for creating an evaluation questionnaire, including: a first receiving module, configured to receive dimension data of each questionnaire set in a first predetermined interface, where the dimension data at least includes: dimension information, the number of the dimension information, questions corresponding to each dimension information and the dimension value of the dimension information in each question; a second receiving module, configured to receive call data set in a second predetermined interface, where the call data includes: result information corresponding to a dimension value of the dimension information; and the establishing module is used for responding to the setting completion operation and establishing the association of the main program, the dimension data and the calling data through the API so as to establish the examination and evaluation questionnaire.
In some embodiments, further comprising: and the third receiving module is used for receiving condition data set in a third preset interface, wherein the condition data comprises one or more calculation formulas, and variables in at least one calculation formula comprise dimensional values of the dimensional information.
In some embodiments, the call data further comprises: result information corresponding to the condition value of the condition data, and/or result information corresponding to the dimension value of the dimension information when the condition value of the condition data meets a preset requirement; the types of the calculation formulas include: mathematical calculation formulas and/or code function calculation formulas.
In some embodiments, further comprising: the third receiving module is further used for receiving a function query request of a code function calculation formula from the third predetermined interface; and the display module is used for responding to the function query request and displaying the function list in a fourth preset interface.
In another aspect, an embodiment of the present disclosure provides a storage medium storing a computer program, where the computer program is executed by a processor to implement the steps of a method provided in any embodiment of the present disclosure.
The method and the device have the advantages that different preset interfaces are configured to set different data needed to be used in the evaluation questionnaire, the association is established with the main program after the setting is completed, the usable evaluation questionnaire is further established, a user can realize the original logic codes which can be changed only in the code layer through simple operation on the preset interfaces, the development cost is reduced, the operation is simple, and the user experience is good.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for creating an evaluation questionnaire according to a first embodiment of the present disclosure;
FIG. 2 is a first schematic view of an interface provided by a first embodiment of the present disclosure;
FIG. 3 is a second schematic interface diagram provided by the first embodiment of the disclosure;
fig. 4 is a third schematic interface diagram provided by the first embodiment of the present disclosure;
FIG. 5 is a flowchart of a method for creating an assessment questionnaire according to a second embodiment of the present disclosure;
FIG. 6 is a fourth schematic interface provided by the second embodiment of the present disclosure;
fig. 7 is a fifth schematic interface diagram provided by a second embodiment of the present disclosure;
fig. 8 is a sixth schematic interface provided by a second embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an apparatus for creating an evaluation questionnaire according to a third embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described below clearly and completely with reference to the accompanying drawings of the embodiments of the present disclosure. It is to be understood that the described embodiments are only a few embodiments of the present disclosure, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the disclosure without any inventive step, are within the scope of protection of the disclosure.
Unless otherwise defined, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure belongs. The use of "first," "second," and similar terms in this disclosure is not intended to indicate any order, quantity, or importance, but rather is used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
To maintain the following description of the embodiments of the present disclosure clear and concise, a detailed description of known functions and known components have been omitted from the present disclosure.
The first embodiment of the present disclosure provides a method for creating an evaluation questionnaire, the flow of the method is shown in fig. 1, and the method includes steps S101 to S103:
s101, receiving dimension data of each questionnaire set in a first preset interface. Wherein the dimension data at least comprises: the method comprises the steps of dimension information, the number of the dimension information, topics corresponding to the dimension information and the dimension value of the dimension information in each topic.
The dimension data can contain all data related to the dimension, the attribute of the answerer can be obtained by counting the dimension value in the answer result, and the attribute is composed of a plurality of dimension information, so that different dimensions of the answerer, such as character, character and the like, can be represented.
During setting, each dimension needs to be represented by a mark, the mark, that is, the dimension information, can be represented by letters a, b, c, and the like, for example, as long as the meaning represented by the dimension information is known, or can be directly represented by Chinese characters, such as characters, achievements, and the like.
Regarding the number of dimensions, it can be set according to the requirement, for example, one test questionnaire question has ten subjects, but there may be only four dimensional information, one dimensional information corresponds to one or several subjects, of course, ten dimensional information may also be set for ten subjects, and then each dimensional information corresponds to one subject. Because each dimension information needs to correspond to a topic, the topic corresponding to each dimension information also needs to be set. Because of the test questionnaire, for the same question answering person to select different options, different dimension values need to be set for each option, that is, one question contains different dimension values of the same dimension information.
S102, receiving the calling data set in the second preset interface. The calling data includes: result information corresponding to the dimension value of the dimension information.
The test questionnaire inevitably has a test result, and the test result is presented to the answerer or other users who need to use the test result after the answerer completes the test, so the test result also needs to be set. In the setting, the calling rule of the result information may be set according to different dimension values, for example, when the dimension value selected by the dimension information a is X, the dimension value selected by the dimension information b is Y, and the dimension value selected by the dimension information c is Z, the called result information is "… …". The ellipses inside the double quotation marks are the content of the result information filled by the test questionnaire builder, and the content may exist in the form of an index or may be specific content, which will be described in detail below.
S103, responding to the setting completion operation, establishing the association of the main program, the dimension data and the calling data through the API so as to establish the examination and evaluation questionnaire.
After the user finishes the setting of the questionnaire, the content set by the creator can be suggested to be associated with the main program through the API, namely, the main program of the test questionnaire can call various types of created data when running, and the effect that the test questionnaire can be established without modifying the logic code of the main program is achieved.
The above process is exemplified below with reference to the accompanying drawings.
When setting the questionnaire, the questionnaire topic can be dynamically designed, and can be a selection topic, or a text input type topic, and the setting can also have a corresponding interface, which is not described herein again, and those skilled in the art can refer to the setting mode.
When setting dimension data, as shown in fig. 2, setting each question, as shown in fig. 3, setting corresponding dimension data for each question, for example, a question "how many a user's hypertension value is" the dimension information corresponding to the question is a, and a value input by a user after answering is a dimension value corresponding to the dimension information a, and in general, a value input by the user is relatively random, so that a plurality of intervals can be preset, and the value input by the user falls within a certain interval, and the input value is normalized to a dimension value corresponding to the interval, thereby realizing relatively convenient statistics on the input value; the topic 2 "what kind of disease characteristics the user has" is selected, the corresponding dimension information of the topic is d, and the number of options or the option value selected by the user is used as the dimension value of the dimension information d. By analogy, for a simple questionnaire, several items can be designed with several dimensional information, and the answer result of each item is the dimensional value corresponding to the dimensional information. Fig. 2 and fig. 3 are equivalent to separately setting up the first predetermined interface, and fig. 3 only shows a setting interface in which titles are associated with dimension information, where the interface may be entered by using fig. 2 as an entry, for example, when a creator triggers "edit titles", the interface of fig. 3 may be displayed, as well as editing title content by editing a "question content" portion displayed on fig. 2 (of course, the interface shown in fig. 3 may be displayed in another separate page, or may be displayed in the same page as fig. 2); in the interface of fig. 3, a user may input dimension information and input topic content corresponding to the dimension information, for example, fig. 3 associates a topic one in fig. 2 with dimension information a, associates a topic two in fig. 2 with dimension information d, and also shows dimension information b and c in fig. 3, which are also associated with other topics in fig. 2, and are shown by ellipses in the drawing without further description. Regarding other dimension data, an interface may be separately set, or may be set in the interface shown in fig. 2, for example, a dimension value may be set in the option list in fig. 2, of course, fig. 2 and fig. 3 are also only one example of an interface, and a person skilled in the art may set the interface according to actual needs, for example, a setting interface in which a title is associated with dimension information is also placed in fig. 2, that is, a column of "associated dimensions" is added, and the like, which is not limited herein.
As for the calling data, since the present embodiment does not involve more complicated formula calculation requirements, the calling rule of the result information (i.e., the scheme matching condition in the graph) is composed of dimension values of dimension information, as shown in fig. 4 (corresponding to a second predetermined interface), "the calling rule" a & & a 120& & a < 139| b > 80& & b < & 89& & c & & d ═ 0 "corresponding to the" blood pressure previous period scheme "(i.e., the result information), the corresponding meaning is that the dimension value of" dimension information a (representing the systolic pressure, i.e., the high pressure, taken dimension value is the value of the above-mentioned subject of fig. 2-the value of the tester input received at the time of test) is between 120 and 139, or the dimension information b (representing the diastolic pressure, i.e., the low pressure, taken dimension value is the value of the subject of fig. 2-the value of the tester input received at the time of the test) is between 80 and 89, meanwhile, the dimension information c (represented by "… …" in the title of fig. 2) conforms to the selected option number of 0, and the dimension information d (the obtained dimension value is the number of options input by the tester received by the title two in fig. 2) selects the option number of 0 ", so that the user can obtain the case content of the result information" the hypertension previous period case "and return the case content to the answerer for viewing under the condition that the user meets the calling rule after answering the title. Wherein the calling rule actually adopts a logic expression manner, the relation of & &' represents "and", and "|" represents "or".
In the embodiment, the process of calling the rule matching result information is simplified to the interface for setting, in the prior art, both the calling rule and the result information are written in the code, and it is conceivable that the code needs to be modified if the business requirement changes only a little, however, by applying the embodiment of the present disclosure, the dynamic configuration of each scheme can be realized by setting at the interface as required.
The method and the device have the advantages that different preset interfaces are configured to set different data needed to be used in the evaluation questionnaire, the association is established with the main program after the setting is completed, the usable evaluation questionnaire is further established, a user can realize the original logic codes which can be changed only in the code layer through simple operation on the preset interfaces, the development cost is reduced, the operation is simple, and the user experience is good.
A second embodiment of the present disclosure provides a method for creating an evaluation questionnaire, wherein the flow of the method is shown in fig. 5, and the method includes steps S501 to S504:
s501, receiving dimension data of each questionnaire set in a first preset interface. Wherein the dimension data at least comprises: the method comprises the steps of dimension information, the number of the dimension information, topics corresponding to the dimension information and the dimension value of the dimension information in each topic.
The dimension data can contain all data related to the dimension, the attribute of the answerer can be obtained by counting the dimension value in the answer result, and the attribute is composed of a plurality of dimension information, so that different dimensions of the answerer, such as character, character and the like, can be represented.
During setting, each dimension needs to be represented by a mark, the mark, that is, the dimension information, can be represented by letters a, b, c, and the like, for example, as long as the meaning represented by the dimension information is known, or can be directly represented by Chinese characters, such as characters, achievements, and the like.
Regarding the number of dimensions, it can be set according to the requirement, for example, one test questionnaire question has ten subjects, but there may be only four dimensional information, one dimensional information corresponds to one or several subjects, of course, ten dimensional information may also be set for ten subjects, and then each dimensional information corresponds to one subject. Because each dimension information needs to correspond to a topic, the topic corresponding to each dimension information also needs to be set. Because of the test questionnaire, for the same question answering person to select different options, different values need to be set for each option, that is, one question may contain different values of the same dimension information.
S502, receiving condition data set in the third predetermined interface. The condition data comprises one or more calculation formulas, and variables in at least one calculation formula comprise dimension values of the dimension information; the types of calculation formulas include: mathematical calculation formulas and/or code function calculation formulas.
In this embodiment, since the condition data is added to the first embodiment, an interface-based easy operation can be realized even with a complicated test questionnaire.
Because the dimension data is received in the first preset interface and is associated with the question, when the condition data is set, the necessary condition data needs to be associated with the question, dimension information exists in at least one calculation formula in the condition data, namely the dimension value of the dimension information is used during calculation, so that the condition data is associated with the answerer, and the test result of the test questionnaire is more accurate through further screening of the condition data.
In this embodiment, the calculation formula may be a mathematical formula, for example, a ═ a + b + c, or a code function formula (i.e., a function used in writing a code), for example, COUNT (a, b, c), and those skilled in the art may set the calculation formula according to the actual requirements of the test questionnaire.
Since the embodiment of the present disclosure is to simplify the creation process of the test questionnaire, so as to allow more creators to participate, for the creators who do not know the field of code writing well, the embodiment further provides the query function of the code function formula, that is, a query entry (for example, in the form of a button) may be set in the third predetermined interface, when the query entry is triggered, a function query request of the code function calculation formula from the third predetermined interface is received, and then, in response to the function query request, a function list is displayed in the fourth predetermined interface. The query entry is set in the third predetermined interface to facilitate the user query, and of course, the query entry may be set in other positions by those skilled in the art; when the query request is received, the function list can be displayed in other positions in the third predetermined interface instead of the fourth predetermined interface, so that the query of the creator is more convenient to use.
S503, receiving the call data set in the second predetermined interface. The calling data includes: result information corresponding to a dimension value of the dimension information; result information corresponding to a condition value of the condition data; and when the condition value of the condition data meets a preset requirement, result information corresponding to the dimension value of the dimension information.
The test questionnaire inevitably has a test result, and the test result is presented to the answerer or other users who need to use the test result after the answerer completes the test, so the test result also needs to be set. During setting, the calling rule of the result information can be set according to different dimension values.
For example, when the call data includes result information corresponding to the dimension values of the dimension information (e.g., a, b, and c), the call data may be: when the selected dimension value of the dimension information a is X, the selected dimension value of the dimension information b is Y, and the selected dimension value of the dimension information c is Z, the called result information is "… …". The ellipses inside the double quotation marks are the content of result information filled by the test questionnaire builder, and the content may exist in the form of an index or may be specific content, which will be described in detail below
For example, when the call data is result information corresponding to the condition values of the condition data (e.g., A, B, C and D), the call data may be: if the condition value of the condition data a is greater than the condition value of the condition data B and the condition value of the condition data C is greater than the condition value of the condition data D, the call result information is "… …". The ellipses inside the double quotation marks are result information contents filled by a test questionnaire builder.
For example, when the call data is result information corresponding to the dimension value of the dimension information, in which the condition value of the condition data (e.g., A, B, C and D) satisfies a predetermined requirement, the call data may be: a condition value of the condition data a being greater than a condition value of the condition data B and a condition value of the condition data C being greater than a condition value of the condition data D, pointing to a first type of result, the first type of result comprising: if the selected dimension value of the dimension information a is X, the selected dimension value of the dimension information b is Y, and the selected dimension value of the dimension information c is Z, the called result information is "… …", or the like.
The interface for setting the call data can be designed by a person skilled in the art according to actual requirements, for example, when the result information is called only through the dimension information, the interface can be simpler, and when the result information needs to be called through the condition data, the interface can be set more specifically.
S504, responding to the setting completion operation, establishing the association of the main program, the dimension data, the condition data and the calling data through the API interface so as to establish the evaluation questionnaire.
After the user finishes the setting of the questionnaire, the content set by the creator can be suggested to be associated with the main program through the API, namely, the main program of the test questionnaire can call various types of created data when running, and the effect that the test questionnaire can be established without modifying the logic code of the main program is achieved.
The above process is exemplified below with reference to the accompanying drawings.
The embodiment of the present disclosure takes a test questionnaire as an example for explanation, and when the motivational questionnaire is established, it is necessary to set questions, options, and scoring rules of each option for the questionnaire first, and then set dimension data for the questionnaire. The dimensional information of the questionnaire of the embodiment is replaced by lower case letters a, b, c and the like, the dimensional value of the dimensional information is determined according to the options of the answerer, and the condition data is replaced by upper case letters A, B, C and the like. As shown in fig. 6 (corresponding to the third predetermined interface), the calculation formula of A, B, C includes a mathematical calculation formula and a code function calculation formula, the dimension information a and b are calculated to obtain A, B, C, and when the answerer selects the option, a and b have different dimension values, and A, B, C obtains different condition values. As shown in fig. 7, in order to display a predetermined interface diagram of the function list, the creator may query the interface for a function to be used.
A. B, C, a, B, when satisfying different conditions, the report will correspondingly display different scenarios, as shown in fig. 8, when the condition data satisfies a certain predetermined requirement, different result information will be displayed for the dimension values of different dimension information. When the interface on the left side of fig. 8 is A, B, C and meets different condition values, the result information indicated by the variables under different dimension values can generate final display content only by referring to the corresponding variables according to the concrete numerical values A, B, C of the answerer; the left side (left) is a variable, the result information which can be filled by a creator according to requirements is equivalent to an index, and the right side is the specific content of the result information; "or" is equivalent to the "pre-hypertension solution" and "middle risk solution execution" in fig. 4 in the first embodiment, and both are equivalent to indexes, and only the specific contents of the "pre-hypertension solution" and "middle risk solution execution" in fig. 4 have been written in advance, so only the index of the result information is filled in the interface. The text part of the right-side interface of fig. 8 is the specific content of the result information finally displayed on the user-side interface, where "[ all ] are variables as with" [ all ] of the left-side interface of fig. 8, and [ all ] the internal filling content is the same, except that in the right-side interface of fig. 8, "S1, S2, etc. on the left side are used for being associated with the front-end user interface, that is, S1, S2, etc. are associated with the front-end interface. If the interface dimension value on the left side of fig. 8 meets the calling rule 1 (i.e. the reading condition 1 in the figure), the specific content corresponding to "[ in ] under the calling rule 1 in the interface on the right side of fig. 8 can be presented to the answerer.
The embodiment of the disclosure can be developed based on the spring cloud micro-service, and can provide some basic service interfaces and formulas for service systems with requirements.
The method and the device have the advantages that different preset interfaces are configured to set different data needed to be used in the evaluation questionnaire, the association is established with the main program after the setting is completed, the usable evaluation questionnaire is further established, a user can realize the original logic codes which can be changed only in the code layer through simple operation on the preset interfaces, the development cost is reduced, the operation is simple, and the user experience is good. Furthermore, the embodiment has strong expansibility, and calculation formulas are mutually independent, so that subsequent modification and deletion are facilitated.
A third embodiment of the present disclosure provides an apparatus for creating an evaluation questionnaire, the apparatus having a schematic structure as shown in fig. 9, including:
a first receiving module 10, configured to receive dimension data of each questionnaire set in a first predetermined interface, where the dimension data at least includes: dimension information, the number of the dimension information, questions corresponding to each dimension information and the dimension value of the dimension information in each question; a second receiving module 20, coupled to the first receiving module 10, for receiving the call data set in the second predetermined interface, where the call data includes: result information corresponding to a dimension value of the dimension information; and the establishing module 30 is coupled with the second receiving module 20 and is used for responding to the setting completion operation and establishing the association of the main program, the dimension data and the calling data through the API interface so as to establish the evaluation questionnaire.
The dimension data can contain all data related to the dimension, the attribute of the answerer can be obtained by counting the dimension value in the answer result, and the attribute is composed of a plurality of dimension information, so that different dimensions of the answerer, such as character, character and the like, can be represented.
During setting, each dimension needs to be represented by a mark, the mark, that is, the dimension information, can be represented by letters a, b, c, and the like, for example, as long as the meaning represented by the dimension information is known, or can be directly represented by Chinese characters, such as characters, achievements, and the like.
Regarding the number of dimensions, it can be set according to the requirement, for example, one test questionnaire question has ten subjects, but there may be only four dimensional information, one dimensional information corresponds to one or several subjects, of course, ten dimensional information may also be set for ten subjects, and then each dimensional information corresponds to one subject. Because each dimension information needs to correspond to a topic, the topic corresponding to each dimension information also needs to be set. Because of the test questionnaire, for the same question answering person to select different options, different dimension values need to be set for each option, that is, one question contains different dimension values of the same dimension information.
The test questionnaire inevitably has a test result, and the test result is presented to the answerer or other users who need to use the test result after the answerer completes the test, so the test result also needs to be set. In the setting, the calling rule of the result information may be set according to different dimension values, for example, when the dimension value selected by the dimension information a is X, the dimension value selected by the dimension information b is Y, and the dimension value selected by the dimension information c is Z, the called result information is "… …". The ellipses inside the double quotation marks are the content of the result information filled by the test questionnaire builder, and the content may exist in the form of an index or may be specific content, which will be described in detail below.
After the user finishes the setting of the questionnaire, the content set by the creator can be suggested to be associated with the main program through the API, namely, the main program of the test questionnaire can call various types of created data when running, and the effect that the test questionnaire can be established without modifying the logic code of the main program is achieved.
The above apparatus may further include: and the third receiving module is coupled with the first receiving module and the second receiving module and used for receiving condition data set in a third preset interface, wherein the condition data comprises one or more calculation formulas, and variables in at least one calculation formula comprise dimension values of the dimension information. Wherein, the calling data further comprises: the result information corresponds to the condition value of the condition data, and/or the result information corresponds to the dimension value of the dimension information when the condition value of the condition data meets the preset requirement; the types of calculation formulas include: mathematical calculation formulas and/or code function calculation formulas.
Because the dimension data is received in the first preset interface and is associated with the question, when the condition data is set, the necessary condition data needs to be associated with the question, dimension information exists in at least one calculation formula in the condition data, namely the dimension value of the dimension information is used during calculation, so that the condition data is associated with the answerer, and the test result of the test questionnaire is more accurate through further screening of the condition data.
In this embodiment, the calculation formula may be a mathematical formula, for example, a ═ a + b + c, or a code function formula (i.e., a function used in writing a code), for example, COUNT (a, b, c), and those skilled in the art may set the calculation formula according to the actual requirements of the test questionnaire.
Since the embodiment of the present disclosure is to simplify the creation process of the test questionnaire, so as to allow more creators to participate, for the creators who do not know the field of code writing well, the embodiment also provides the query function of the code function formula, and therefore, the apparatus may further include: the third receiving module is also used for receiving a function query request of a code function calculation formula from a third preset interface; and the display module is used for responding to the function query request and displaying the function list in a fourth preset interface. Of course, the display module may also be configured to display any predetermined interface, such as the first predetermined interface, the second predetermined interface, the third predetermined interface, and the like.
In implementation, a query entry (e.g., in the form of a button) may be provided in the third predetermined interface, and when the query entry is triggered, a function query request of the code function calculation formula from the third predetermined interface is received, and then, in response to the function query request, a function list is displayed in the fourth predetermined interface. The query entry is set in the third predetermined interface to facilitate the user query, and of course, the query entry may be set in other positions by those skilled in the art; when the query request is received, the function list can be displayed in other positions in the third predetermined interface instead of the fourth predetermined interface, so that the query of the creator is more convenient to use.
The method and the device have the advantages that different preset interfaces are configured to set different data needed to be used in the evaluation questionnaire, the association is established with the main program after the setting is completed, the usable evaluation questionnaire is further established, a user can realize the original logic codes which can be changed only in the code layer through simple operation on the preset interfaces, the development cost is reduced, the operation is simple, and the user experience is good.
A fourth embodiment of the present disclosure provides a storage medium, which is a computer-readable medium storing a computer program, which when executed by a processor implements the method provided in any embodiment of the present disclosure, including the following steps S11 to S13:
s11, receiving dimension data of each questionnaire set in the first predetermined interface, wherein the dimension data at least includes: dimension information, the number of the dimension information, questions corresponding to each dimension information and the dimension value of the dimension information in each question;
s12, receiving call data set in the second predetermined interface, the call data including: result information corresponding to a dimension value of the dimension information;
and S13, responding to the setting completion operation, establishing the association of the main program, the dimension data and the calling data through the API interface so as to establish the evaluation questionnaire.
Before the computer program is executed by the processor to receive the calling data set in the second preset interface, the computer program is also executed by the processor to: and receiving condition data set in a third preset interface, wherein the condition data comprises one or more calculation formulas, and variables in at least one calculation formula comprise dimension values of the dimension information.
Wherein, the calling data further comprises: and the result information corresponds to the condition value of the condition data, and/or the result information corresponds to the dimension value of the dimension information when the condition value of the condition data meets the preset requirement.
Wherein the type of calculation formula includes: mathematical calculation formulas and/or code function calculation formulas.
The computer program is further executable by the processor to perform the steps of: receiving a function query request of a code function calculation formula from a third predetermined interface; and displaying a function list in a fourth preset interface in response to the function query request.
The method and the device have the advantages that different preset interfaces are configured to set different data needed to be used in the evaluation questionnaire, the association is established with the main program after the setting is completed, the usable evaluation questionnaire is further established, a user can realize the original logic codes which can be changed only in the code layer through simple operation on the preset interfaces, the development cost is reduced, the operation is simple, and the user experience is good.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes. Optionally, in this embodiment, the processor executes the method steps described in the above embodiments according to the program code stored in the storage medium. Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again. It will be apparent to those skilled in the art that the modules or steps of the present disclosure described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. As such, the present disclosure is not limited to any specific combination of hardware and software.
Moreover, although exemplary embodiments have been described herein, the scope thereof includes any and all embodiments based on the disclosure with equivalent elements, modifications, omissions, combinations (e.g., of various embodiments across), adaptations or alterations. The elements of the claims are to be interpreted broadly based on the language employed in the claims and not limited to examples described in the present specification or during the prosecution of the application, which examples are to be construed as non-exclusive. It is intended, therefore, that the specification and examples be considered as exemplary only, with a true scope and spirit being indicated by the following claims and their full scope of equivalents.
The above description is intended to be illustrative and not restrictive. For example, the above-described examples (or one or more versions thereof) may be used in combination with each other. For example, other embodiments may be used by those of ordinary skill in the art upon reading the above description. In addition, in the foregoing detailed description, various features may be grouped together to streamline the disclosure. This should not be interpreted as an intention that a disclosed feature not claimed is essential to any claim. Rather, the subject matter of the present disclosure may lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the detailed description as examples or embodiments, with each claim standing on its own as a separate embodiment, and it is contemplated that these embodiments may be combined with each other in various combinations or permutations. The scope of the disclosure should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
While the present disclosure has been described in detail with reference to the embodiments, the present disclosure is not limited to the specific embodiments, and those skilled in the art can make various modifications and alterations based on the concept of the present disclosure, and the modifications and alterations should fall within the scope of the present disclosure as claimed.

Claims (10)

1. A method of creating an assessment questionnaire, comprising:
receiving dimension data of each questionnaire set in a first predetermined interface, wherein the dimension data at least comprises: dimension information, the number of the dimension information, questions corresponding to each dimension information and the dimension value of the dimension information in each question;
receiving calling data set in a second preset interface, wherein the calling data comprise: result information corresponding to a dimension value of the dimension information;
and responding to the setting completion operation, and establishing the association of the main program, the dimension data and the calling data through an API (application programming interface) interface so as to establish the evaluation questionnaire.
2. The method of claim 1, wherein prior to receiving the call data set in the second predetermined interface, further comprising:
and receiving condition data set in a third preset interface, wherein the condition data comprises one or more calculation formulas, and variables in at least one calculation formula comprise dimension values of the dimension information.
3. The method of claim 2, wherein the invoking data further comprises: and the result information corresponds to the condition value of the condition data, and/or the result information corresponds to the dimension value of the dimension information when the condition value of the condition data meets the preset requirement.
4. The method of claim 2, wherein the type of computational formula comprises: mathematical calculation formulas and/or code function calculation formulas.
5. The method of claim 4, further comprising:
receiving a function query request of a code function calculation formula from the third predetermined interface;
and displaying a function list in a fourth preset interface in response to the function query request.
6. An apparatus for creating an assessment questionnaire, comprising:
a first receiving module, configured to receive dimension data of each questionnaire set in a first predetermined interface, where the dimension data at least includes: dimension information, the number of the dimension information, questions corresponding to each dimension information and the dimension value of the dimension information in each question;
a second receiving module, configured to receive call data set in a second predetermined interface, where the call data includes: result information corresponding to a dimension value of the dimension information;
and the establishing module is used for responding to the setting completion operation and establishing the association of the main program, the dimension data and the calling data through the API so as to establish the examination and evaluation questionnaire.
7. The apparatus of claim 6, further comprising:
and the third receiving module is used for receiving condition data set in a third preset interface, wherein the condition data comprises one or more calculation formulas, and variables in at least one calculation formula comprise dimensional values of the dimensional information.
8. The apparatus of claim 7,
the call data further includes: result information corresponding to the condition value of the condition data, and/or result information corresponding to the dimension value of the dimension information when the condition value of the condition data meets a preset requirement;
the types of the calculation formulas include: mathematical calculation formulas and/or code function calculation formulas.
9. The apparatus of claim 8, further comprising:
the third receiving module is further used for receiving a function query request of a code function calculation formula from the third predetermined interface;
and the display module is used for responding to the function query request and displaying the function list in a fourth preset interface.
10. A storage medium storing a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 5 when executed by a processor.
CN202010184172.4A 2020-03-16 2020-03-16 Method, device and storage medium for establishing evaluation questionnaire Active CN111381744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010184172.4A CN111381744B (en) 2020-03-16 2020-03-16 Method, device and storage medium for establishing evaluation questionnaire

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010184172.4A CN111381744B (en) 2020-03-16 2020-03-16 Method, device and storage medium for establishing evaluation questionnaire

Publications (2)

Publication Number Publication Date
CN111381744A true CN111381744A (en) 2020-07-07
CN111381744B CN111381744B (en) 2022-01-07

Family

ID=71221587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010184172.4A Active CN111381744B (en) 2020-03-16 2020-03-16 Method, device and storage medium for establishing evaluation questionnaire

Country Status (1)

Country Link
CN (1) CN111381744B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112149393A (en) * 2020-09-23 2020-12-29 腾讯科技(深圳)有限公司 Data processing method, data processing equipment and computer readable storage medium
CN113159629A (en) * 2021-05-13 2021-07-23 平安国际智慧城市科技股份有限公司 Questionnaire statistical method, device, equipment and storage medium
CN114612141A (en) * 2022-03-09 2022-06-10 广东产品质量监督检验研究院(国家质量技术监督局广州电气安全检验所、广东省试验认证研究院、华安实验室) E-commerce product quality satisfaction investigation system and investigation method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170098288A1 (en) * 2016-12-15 2017-04-06 Niki Smyrni Automated personalized concierge services and itinerary creation matched to client profile for chosen destination
CN106682939A (en) * 2016-12-27 2017-05-17 况客科技(北京)有限公司 Method for managing standard questionnaires in investment field
CN108628609A (en) * 2018-05-03 2018-10-09 山东浪潮通软信息科技有限公司 A kind of method and device using questionary handle business
CN109165276A (en) * 2018-08-22 2019-01-08 云图元睿(上海)科技有限公司 Self-service questionnaire logic design method and system based on natural language

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170098288A1 (en) * 2016-12-15 2017-04-06 Niki Smyrni Automated personalized concierge services and itinerary creation matched to client profile for chosen destination
CN106682939A (en) * 2016-12-27 2017-05-17 况客科技(北京)有限公司 Method for managing standard questionnaires in investment field
CN108628609A (en) * 2018-05-03 2018-10-09 山东浪潮通软信息科技有限公司 A kind of method and device using questionary handle business
CN109165276A (en) * 2018-08-22 2019-01-08 云图元睿(上海)科技有限公司 Self-service questionnaire logic design method and system based on natural language

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112149393A (en) * 2020-09-23 2020-12-29 腾讯科技(深圳)有限公司 Data processing method, data processing equipment and computer readable storage medium
CN112149393B (en) * 2020-09-23 2023-03-28 腾讯科技(深圳)有限公司 Data processing method, data processing equipment and computer readable storage medium
CN113159629A (en) * 2021-05-13 2021-07-23 平安国际智慧城市科技股份有限公司 Questionnaire statistical method, device, equipment and storage medium
CN114612141A (en) * 2022-03-09 2022-06-10 广东产品质量监督检验研究院(国家质量技术监督局广州电气安全检验所、广东省试验认证研究院、华安实验室) E-commerce product quality satisfaction investigation system and investigation method

Also Published As

Publication number Publication date
CN111381744B (en) 2022-01-07

Similar Documents

Publication Publication Date Title
Yousefi Nooraie et al. Social network analysis: An example of fusion between quantitative and qualitative methods
CN111381744B (en) Method, device and storage medium for establishing evaluation questionnaire
Van Deursen et al. Modeling traditional literacy, Internet skills and Internet usage: An empirical study
US11704475B2 (en) Guided information viewing and storage features within web browsers
Hesse-Biber et al. Coming at things differently: Future directions of possible engagement with mixed methods research
Otter et al. Lost in hyperspace: metrics and mental models
Sweeney Marketing: management technology or social process?
McDermott et al. Hope for help-seeking: A positive psychology perspective of psychological help-seeking intentions
Cai et al. Mergers in Chinese higher education: lessons for studies in a global context
US10467262B2 (en) Customized visualization based intelligence augmentation
Guasch et al. Effects of the degree of meaning similarity on cross-language semantic priming in highly proficient bilinguals
Maxwell The research lifecycle as a strategic roadmap
Ottley et al. Manipulating and controlling for personality effects on visualization tasks
Demir et al. Interactive SIGHT: textual access to simple bar charts
Knight et al. Cultural interpretations of the visual meaning of icons and images used in North American web design
Hernandez et al. Meanings and uses of design for innovation: Conversations with UK companies
Steimel Mapping a history of applied communication research: Themes and concepts in the Journal of Applied Communication Research
Pegg Learning for school leadership: Using concept mapping to explore learning from everyday experience
Kasperek et al. A use of space: The unintended messages of academic library web sites
Hannah et al. Mapping the terrain: Examining the conditions for alignment between the rhetoric of health and medicine and the medical humanities
Bird et al. Cross-national qualitative research: The development and application of an analytic framework in the mental health and poverty project
Alon et al. Gaps in personal information management behavior of higher education students: implications for a training program
Bazeley Designing for multimodal data and mixed methods within a qualitative framework
Arnold et al. Monitoring object-centric business processes: an empirical study
Bird How ‘Diverse’is Your Reading List? Tools, Tips, and Challenges

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant