CN112818208A - Method for realizing actual calculation of questionnaire quota - Google Patents

Method for realizing actual calculation of questionnaire quota Download PDF

Info

Publication number
CN112818208A
CN112818208A CN202110222456.2A CN202110222456A CN112818208A CN 112818208 A CN112818208 A CN 112818208A CN 202110222456 A CN202110222456 A CN 202110222456A CN 112818208 A CN112818208 A CN 112818208A
Authority
CN
China
Prior art keywords
quota
condition
questionnaire
topic
user
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
CN202110222456.2A
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.)
Changsha Ranxing Information Technology Co ltd
Original Assignee
Changsha Ranxing Information 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 Changsha Ranxing Information Technology Co ltd filed Critical Changsha Ranxing Information Technology Co ltd
Priority to CN202110222456.2A priority Critical patent/CN112818208A/en
Publication of CN112818208A publication Critical patent/CN112818208A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention belongs to the technical field of on-line questionnaire survey, and particularly relates to a method for realizing questionnaire quota actual calculation, which comprises the following steps: s1, real-time calculation is carried out when answering; s2: calculating when submitting the answer sheet; the step S1 further includes the following substeps: a1, reading user configuration quota data; a2, marking the cross quota topic or condition; a3, acquiring user input; a4, outputting quota real-time conditions; the invention can ensure that the quota set by the user is effectively limited and fed back to the quota condition of the responder in real time. The efficiency and the speed are ensured in good experience of the user and the responder. The method can realize that the user can recover the data result wanted by the user under the conditions of city, self-defined source, date reservation and the like.

Description

Method for realizing actual calculation of questionnaire quota
Technical Field
The invention belongs to the technical field of online questionnaires, and particularly relates to a method for realizing actual calculation of questionnaire quota.
Background
A user sets a quota for a questionnaire, and the quota relates to a choice question, a date question, a city, a custom source and other single-topic quota or cross quota. When the user answers, the current quota situation of the title needs to be reflected to the filling user in real time, particularly when the quota is crossed. Such as: topic, date, city of the single item.
There are several major cross quota relationships, as shown in the following table:
double quota
Figure BDA0002952641620000011
Quota relationship between date question and choice question
Figure BDA0002952641620000012
Figure BDA0002952641620000021
Topic and custom Source quota relationship
Figure BDA0002952641620000022
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a method for realizing the actual calculation of a questionnaire quota.
The technical scheme of the invention is realized as follows:
a method for realizing actual calculation of a questionnaire quota comprises the following steps:
s1, real-time calculation is carried out when answering; s2: calculating when submitting the answer sheet; the step S1 further includes the following substeps:
a1, reading quota data configured by a user, and setting quota quantity corresponding to cross quota relation one by the user before issuing a questionnaire; a2, marking the cross quota topic or condition; a3, acquiring user input; and A4, outputting quota real-time conditions.
Further, the step of S2 includes the sub-steps of B1, submitting data; b2, matching quota data; and B3, outputting the matching result.
Further, the A2 sub-step of the S1 step includes the following specific methods,
(1) when the topic and topic cross quota or the single topic quota, on the topic stem of the topic where the user sets the quota, such as: the element attribute haspiee is 1, and the data is in a format of '2 |1| quota full' to mark the single quota or the cross quota, and the quota relation between the cross quota topic options and the quota full condition.
(2) And when the quotation is crossed between the title and the condition, calculating the current quotation condition in real time according to the url and the IP, and showing the current quotation condition on the questionnaire.
Further, in the substeps A3 and a4 in the step S1, user input is obtained, and quota real-time conditions are output: prompt is timely selected for the user, the associated option of quota fullness is forbidden, and the quota effectiveness of the user and the experience of a responder are guaranteed.
Further, in the step S2, the step B1 submitting data refers to the answering machine submitting questionnaire answering data.
Further, in the B2 substep in the step S2, the matching quota data is a quota set by the user before matching according to the response data of the questionnaire; because handling the case where the quota situation, either concurrent or loaded at the time of opening the questionnaire, changes to the submission at this time interval
Using a cache to quickly read the current real-time quota condition;
using a hash table, avoiding repeated submission by using the storage of a Key, and updating quota conditions in time during resubmission;
using the Redis database, concurrency is guaranteed with its single threaded and atomic operations.
Further, in the B3 substep in the step S2, according to the quota condition, if the submitted quota is correct, the quota condition is updated and the quota cache of the corresponding questionnaire is updated; and when the quota is full, the responder is fed back, and the quota is full, the responder is asked to re-select to re-submit the questionnaire and mark the answer sheet as an invalid answer sheet.
The scheme has the following effects:
the scheme can ensure that the quota set by the user is effectively limited and fed back to the quota condition of the responder in real time. The efficiency and the speed are ensured in good experience of the user and the responder. The method can realize that the user can recover the data result wanted by the user under the conditions of city, self-defined source, date reservation and the like.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely in the following embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the motion situation, etc. in a specific posture, if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Example 1
A method for realizing actual calculation of a questionnaire quota comprises the following steps:
the method comprises the following steps:
s1, real-time calculation is carried out when answering; s2: calculating when submitting the answer sheet; the step S1 further includes the following substeps:
a1, reading quota data configured by a user, and setting quota quantity corresponding to cross quota relation one by the user before issuing a questionnaire; a2, marking the cross quota topic or condition; a3, acquiring user input; and A4, outputting quota real-time conditions.
The step of S2 includes the substeps of B1, submitting the data; b2, matching quota data; and B3, outputting the matching result.
The a2 sub-step of the S1 step includes the following specific methods,
(1) when the topic and topic cross quota or the single topic quota, on the topic stem of the topic where the user sets the quota, such as: the element attribute haspiee is 1, and the data is in a format of '2 |1| quota full' to mark the single quota or the cross quota, and the quota relation between the cross quota topic options and the quota full condition.
(2) And when the quotation is crossed between the title and the condition, calculating the current quotation condition in real time according to the url and the IP, and showing the current quotation condition on the questionnaire.
In the substeps A3 and A4 in the step S1, user input is acquired, and quota real-time condition is output: prompt is timely selected for the user, the associated option of quota fullness is forbidden, and the quota effectiveness of the user and the experience of a responder are guaranteed.
In the step S2, the data submitted in the sub-step B1 is the data submitted by the respondents in question and answer.
In the sub-step B2 in the step S2, the matching quota data is a quota set by the user before matching according to the response data of the questionnaire; because handling the case where the quota situation, either concurrent or loaded at the time of opening the questionnaire, changes to the submission at this time interval
Using a cache to quickly read the current real-time quota condition;
using a hash table, avoiding repeated submission by using the storage of a Key, and updating quota conditions in time during resubmission;
using the Redis database, concurrency is guaranteed with its single threaded and atomic operations.
In the B3 substep in the step S2, if the quota submitted is correct according to the quota condition, the quota condition is updated and the quota cache of the corresponding questionnaire is updated; and when the quota is full, the responder is fed back, and the quota is full, the responder is asked to re-select to re-submit the questionnaire and mark the answer sheet as an invalid answer sheet.
The scheme can ensure that the quota set by the user is effectively limited and fed back to the quota condition of the responder in real time. The efficiency and the speed are ensured in good experience of the user and the responder. The method can realize that the user can recover the data result wanted by the user under the conditions of city, self-defined source, date reservation and the like.
Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered in the claims of the present invention.

Claims (7)

1. A method for realizing actual calculation of a questionnaire quota is characterized by comprising the following steps:
s1, real-time calculation is carried out when answering; s2: calculating when submitting the answer sheet; the step S1 further includes the following substeps:
a1, reading user configuration quota data; a2, marking the cross quota topic or condition; a3, acquiring user input; and A4, outputting quota real-time conditions.
2. The method for realizing actual calculation of questionnaire quota as claimed in claim 1, wherein the step of S2 comprises the sub-steps of B1, submitting data; b2, matching quota data; and B3, outputting the matching result.
3. The method of claim 2, wherein the sub-step A2 of the step S1 includes the following specific steps,
(1) and when the topic and the topic cross quota or the single topic quota, marking the single topic quota or the cross quota, the quota relation between the cross quota topic options and the quota full condition on the topic stem of the topic in which the user sets the quota.
(2) And when the quotation is crossed between the title and the condition, calculating the current quotation condition in real time according to the url and the IP, and showing the current quotation condition on the questionnaire.
4. The method of claim 3, wherein the sub-steps A3 and A4 in the step S1 are used to obtain user input and output quota real-time status: the user is prompted to select timely and the associated option of quota fullness is disabled.
5. The method of claim 4, wherein in the step S2, the sub-step B1 submission data is the data submitted by the respondent.
6. The method of claim 5, wherein in the sub-step B2 in the step S2, the matching quota data is a quota set by the user before matching according to the response data of the questionnaire;
using a cache to quickly read the current real-time quota condition;
using a hash table, avoiding repeated submission by using the storage of a Key, and updating quota conditions in time during resubmission;
using the Redis database, concurrency is guaranteed with its single threaded and atomic operations.
7. The method according to claim 6, wherein in the sub-step B3 of S2, if the quota submitted is correct according to the quota condition, the quota condition is updated and the quota cache of the corresponding questionnaire is updated; and when the quota is full, the responder is fed back, and the quota is full, the responder is asked to re-select to re-submit the questionnaire and mark the answer sheet as an invalid answer sheet.
CN202110222456.2A 2021-02-25 2021-02-25 Method for realizing actual calculation of questionnaire quota Pending CN112818208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110222456.2A CN112818208A (en) 2021-02-25 2021-02-25 Method for realizing actual calculation of questionnaire quota

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110222456.2A CN112818208A (en) 2021-02-25 2021-02-25 Method for realizing actual calculation of questionnaire quota

Publications (1)

Publication Number Publication Date
CN112818208A true CN112818208A (en) 2021-05-18

Family

ID=75862347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110222456.2A Pending CN112818208A (en) 2021-02-25 2021-02-25 Method for realizing actual calculation of questionnaire quota

Country Status (1)

Country Link
CN (1) CN112818208A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116485451A (en) * 2023-04-20 2023-07-25 苏州众言网络科技股份有限公司 Quota management and control method, system and device applied to online questionnaire

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110307262A1 (en) * 2010-06-11 2011-12-15 Robert Reginald Messer Predictive survey closure
CN111142746A (en) * 2019-12-11 2020-05-12 上海众言网络科技有限公司 System quota calculation method and device
CN111382336A (en) * 2020-03-05 2020-07-07 广州快决测信息科技有限公司 Data acquisition method and system
CN112131241A (en) * 2020-09-30 2020-12-25 上海众言网络科技有限公司 System quota real-time statistical method, device, equipment and storage medium
CN112163408A (en) * 2020-09-04 2021-01-01 长沙冉星信息科技有限公司 Multi-level pull-down question type data processing method in online questionnaire survey system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110307262A1 (en) * 2010-06-11 2011-12-15 Robert Reginald Messer Predictive survey closure
CN111142746A (en) * 2019-12-11 2020-05-12 上海众言网络科技有限公司 System quota calculation method and device
CN111382336A (en) * 2020-03-05 2020-07-07 广州快决测信息科技有限公司 Data acquisition method and system
CN112163408A (en) * 2020-09-04 2021-01-01 长沙冉星信息科技有限公司 Multi-level pull-down question type data processing method in online questionnaire survey system
CN112131241A (en) * 2020-09-30 2020-12-25 上海众言网络科技有限公司 System quota real-time statistical method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116485451A (en) * 2023-04-20 2023-07-25 苏州众言网络科技股份有限公司 Quota management and control method, system and device applied to online questionnaire
CN116485451B (en) * 2023-04-20 2024-02-02 苏州众言网络科技股份有限公司 Quota management and control method, system and device applied to online questionnaire

Similar Documents

Publication Publication Date Title
CA2786388C (en) Form completion rate enhancement system and method
US6622131B1 (en) Method and system for auctioning loans through a computing system
US20180005538A1 (en) Communications platform for implementing a recognition and reward system
CN106991112B (en) Information query method and device
CN103049810A (en) Shareholder management apparatus, shareholder management method, and program
US10223726B2 (en) Information provisioning device, method, and medium for evaluating and estimating gift candidates
CN111127222B (en) Business service processing method, device, equipment and storage medium
JP2009104229A (en) Input check device and input check method
CN112818208A (en) Method for realizing actual calculation of questionnaire quota
US20030139979A1 (en) Electronic commerce system including customized catalog having encoded information
JP3236283B2 (en) Questionnaire implementation device
US20030160444A1 (en) Personalized calling card and method for making the card over a computer network
CN111523030B (en) Newspaper disc information recommendation method and device and computer readable storage medium
JP2002259896A (en) Electronic document processing device and method
TWI293150B (en)
JP2007172340A (en) Questionnaire survey method
US20220076519A1 (en) Facilitating corporate tenders/dutch auction tenders and computer-implemented methods and computer systems thereof
CN108766513A (en) A kind of wisdom health medical treatment data structured processing system
CN114612139A (en) Advertisement scheme processing method and device and electronic equipment
AU2021105742A4 (en) Online review system and method
CN116383545B (en) Webpage report template generation method, device, equipment and medium
WO2023182437A1 (en) Product evaluation system, management server, user terminal, and program
JP4068852B2 (en) Sales support method and system
JP2003216784A (en) Electronic application system and electronic application method
JP2024010322A (en) Document issuance application system and document issuance application method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210518

RJ01 Rejection of invention patent application after publication