Questionnaire generation method, system, electronic device and storage medium

By creating a periodic quota table and generating corresponding data records in the questionnaire system, the problem that cannot meet more user research needs in the existing technology is solved, and more accurate analysis results and flexible quota settings are achieved.

CN114492333BActive Publication Date: 2025-05-13SUZHOU ZHONGYAN NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210103627.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-27
Publication Date
2025-05-13
Estimated Expiration
2042-01-27

AI Technical Summary

Technical Problem

The quota setting method in the existing questionnaire system cannot meet more user research needs, resulting in the inaccurate results of subsequent analysis.

Method used

By creating a periodic quota table based on the original quota group table, quota condition table, and quota checkpoint table, the corresponding periodic quota table data is generated based on the number of cycles set by the user, and the data records for each cycle are generated in batches, including quota condition table records and quota checkpoint table records, and finally a questionnaire is generated.

Benefits of technology

It has achieved more research needs for users, making subsequent analysis results more accurate, and supports fixed cycles such as natural days, natural weeks, and natural months as well as quota settings for customized time periods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114492333B_ABST
    Figure CN114492333B_ABST
Patent Text Reader

Abstract

The present invention discloses a questionnaire generation method, which comprises: creating a period quota table based on an original quota group table, a quota condition table and a quota checkpoint table; when obtaining user option information for setting a period quota, generating corresponding period quota table data according to the set period number; based on the period quota table data, batch generating data records corresponding to each period, the data records comprising quota condition table records and quota checkpoint table records; wherein the fields in the period quota table comprise round_type, enumeration type, natural day, natural week, natural month, custom, quota group table ID, period name, period start and end time, quota condition table ID list and quota checkpoint table ID list. By means of the above method, more survey needs of users can be met, and subsequent analysis results can be more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a questionnaire generation method, system, electronic device and storage medium. Background Art

[0002] The existing quota setting method in the questionnaire system is that after setting the quota for the question, the quota check item will be checked to see if there is a quota full during the answering process. As long as one quota check item is full, the respondent will be informed that the quota is full and the questionnaire survey will be terminated. In addition, after the user successfully completes the submission of the questionnaire, the system needs to update each matching quota condition based on the questionnaire, add 1 to the completed number of the quota condition, and save it to the distributed file storage database MongoDB, so as to control the survey population more in line with actual needs.

[0003] The current quota setting method supports ordinary quotas and cross quotas. As questionnaire surveys become more complex and diverse, the existing quota setting method cannot meet more survey needs.

[0004] Therefore, how to provide a quota setting method to meet users' more research needs and make subsequent analysis results more accurate is a technical problem that needs to be solved. Summary of the invention

[0005] The present invention discloses a questionnaire generation method, which is used to solve the technical problem that the prior art cannot meet more survey needs of users and make subsequent analysis results more accurate. The method comprises:

[0006] Create a periodic quota table based on the original quota group table, quota condition table, and quota checkpoint table;

[0007] When the user's option information is obtained to set a period quota, corresponding period quota table data is generated according to the set period number;

[0008] Based on the periodic quota table data, batch generate data records corresponding to each period, the data records including quota condition table records and quota checkpoint table records;

[0009] Generate a questionnaire based on the periodic quota table, the quota condition table record and the quota checkpoint table record;

[0010] The fields in the periodic quota table include round_type, enumeration type, natural day, natural week, natural month, custom, quota group table ID, period name, period start and end time, quota condition table ID list, and quota checkpoint table ID list.

[0011] Optionally, after creating a periodic quota table based on the original quota group table, quota condition table, and quota checkpoint table, the following is also included:

[0012] Add the quota group table field and quota condition table field.

[0013] Optionally, the newly added fields of the quota group table include is_round, enumeration type, quota type, redundant field, enumeration type, natural day, natural week, natural month, custom, and the newly added fields of the quota condition table include is_round, redundant field, cycle type, cycle start and end time, and quota cycle table ID.

[0014] Optionally, it also includes:

[0015] When the periodic quota is added, periodic quota table data, quota condition table data, quota checkpoint table data are created, and the status and type of the corresponding quota record period in the quota group table are updated;

[0016] When modifying the periodic quota, new periodic quota table data, quota condition table data, and quota checkpoint table data are created and the original corresponding data are deleted, and the status and type of the recording period of the corresponding quota in the quota group table are updated;

[0017] When deleting the periodic quota, the corresponding periodic quota table data, quota condition table data, and quota checkpoint table data are deleted, and the status and type of the recording period of the corresponding quota in the quota group table are updated.

[0018] Optionally, when the periodic quota undergoes a service adjustment change, the quota progress is updated and the progress is cached so that a real-time update effect is displayed on a terminal page, and the service adjustment change includes adding, modifying and / or deleting.

[0019] Optionally, when answering questions to verify the quota, a verification judgment is performed according to the period corresponding to the quota and the quota progress is refreshed, and the quota progress is cached for display on the terminal page.

[0020] Optionally, it also includes:

[0021] When downloading quota progress in batches, the period ID corresponding to the quota is obtained, and the quota progress information of the period corresponding to the quota is searched and downloaded.

[0022] Accordingly, the present invention also proposes a questionnaire generation system, the system comprising:

[0023] A creation module is used to create a periodic quota table based on the original quota group table, quota condition table, and quota checkpoint table;

[0024] A setting module, for generating corresponding period quota table data according to the set period number when the user's option information is obtained to set a period quota;

[0025] A data recording module, used to batch generate data records corresponding to each period based on the period quota table data, wherein the data records include quota condition table records and quota checkpoint table records;

[0026] A generating module, used for generating a questionnaire based on the periodic quota table, the quota condition table record and the quota checkpoint table record;

[0027] The fields in the periodic quota table include round_type, enumeration type, natural day, natural week, natural month, custom, quota group table ID, period name, period start and end time, quota condition table ID list, and quota checkpoint table ID list.

[0028] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the steps of the method are implemented when the processor executes the computer program.

[0029] A non-transitory computer-readable storage medium stores a computer program, which implements the steps of the method when executed by a processor.

[0030] Compared with the prior art, the present invention has the following beneficial effects:

[0031] The present invention discloses a questionnaire generation method, which comprises: creating a period quota table based on an original quota group table, a quota condition table and a quota checkpoint table; when obtaining user option information for setting a period quota, generating corresponding period quota table data according to the set period number; based on the period quota table data, batch generating data records corresponding to each period, the data records comprising quota condition table records and quota checkpoint table records; wherein the fields in the period quota table comprise round_type, enumeration type, natural day, natural week, natural month, custom, quota group table ID, period name, period start and end time, quota condition table ID list and quota checkpoint table ID list. By means of the above method, more survey needs of users can be met, and subsequent analysis results can be more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The drawings constituting a part of this application are used to provide a further understanding of this application, so that other features, purposes and advantages of this application become more obvious. The schematic embodiment drawings and their descriptions of this application are used to explain this application and do not constitute an improper limitation on this application. In the drawings:

[0033] Figure 1 It is a flowchart of a questionnaire generation method provided according to an embodiment of the present application;

[0034] Figure 2 This is a display diagram of a periodic quota setting page provided according to an embodiment of the present application;

[0035] Figure 3 This is a diagram showing the effect of a periodic quota being set according to an embodiment of the present application;

[0036] Figure 4 It is a structural diagram of a questionnaire generation system provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0037] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0038] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0039] In the present application, the terms "upper", "lower", "left", "right", "front", "back", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings. These terms are mainly used to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to have a specific orientation, or to be constructed and operated in a specific orientation.

[0040] In addition, some of the above terms may be used to express other meanings in addition to indicating orientation or positional relationship. For example, the term "on" may also be used to express a certain dependency or connection relationship in some cases. For those of ordinary skill in the art, the specific meanings of these terms in this application can be understood according to specific circumstances.

[0041] In addition, the term "plurality" shall mean two or more.

[0042] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0043] like Figure 1 The flowchart of a questionnaire generation method proposed in an embodiment of the present invention is shown, and the method includes:

[0044] S201, creating a periodic quota table based on the original quota group table, quota condition table, and quota checkpoint table.

[0045] Specifically, the original quota group table (named: qdes_quota), the original quota condition table (named: survey_quotacondition), and the original quota checkpoint table (named: survey_quotacheckitem) are set first, and a periodic quota table (named: qdes_quotaround) is created in the original quota group table, quota condition table, and quota checkpoint table. The fields in the periodic quota table include round_type (quota type), enumeration type, natural day day, natural week week, natural month month, custom custom, quota_id (ID of the configuration group table), name (name of this period), for example: 2021-13W means the 13th week of 2021, start_at (cycle start time), end_at (cycle end time), quota_cond_list (quota condition table ID list), quota_checkitem_list (quota checkpoint table ID list).

[0046] In order to set different quota amounts for different periods, in a preferred embodiment of this solution, after creating a periodic quota table based on the original quota group table, quota condition table, and quota checkpoint table, it also includes: adding the quota group table field and quota condition table field.

[0047] Specifically, new quota group table fields and quota condition table fields have been added. The new fields in the quota group qdes_quota table are as follows: (1).is_round (whether it is a periodic quota), enumeration type. This application is compatible with the original quota. There is no situation where 0 indicates a general quota and 1 indicates a periodic quota; (2).round_type (quota type), redundant field, enumeration type, natural day day, natural week week, natural month month, custom custom. The new fields in the quota condition table are as follows: (1).is_round, redundant field; (2).round_type, redundant field; (3).start_at (period start time), redundant field; (4).end_at (period end time), redundant field; (5).ID of the quota period table. The design of redundant fields is conducive to reducing database operations, the probability of exchanging space for time, improving system performance, and making the user experience stronger.

[0048] S202: When the user's option information is obtained to set a period quota, corresponding period quota table data is generated according to the set period number.

[0049] Specifically, Figure 2 The following is a page display diagram for setting periodic quotas. It supports setting quotas within a time period, and this time period supports natural days, natural weeks, natural months, and custom time periods. When the user chooses to set a periodic quota, the corresponding periodic quota table data is generated according to the number of periods set. Each period corresponds to a data record. Batch generation of records can reduce the number of database operations and improve performance. At the same time, the quota group table stores more is_round and round_type information when updating.

[0050] S203: Based on the periodic quota table data, batch generate data records corresponding to each period, wherein the data records include quota condition table records and quota checkpoint table records.

[0051] Specifically, Figure 3The figure shows the effect after the periodic quota is set. When the user chooses to set it as a periodic quota, the corresponding periodic quota table data is generated according to the set number of periods. Each period corresponds to a data record, and the records are generated in batches. According to the newly generated periodic quota table record, the following data records are generated: (1). There are one or more quota condition table records; (2). There are one or more quota checkpoint table records. Since this application supports ordinary quotas and cross quotas, and can support the situation where there is no upper limit on the number of periods, different quota amounts are set for different periods, which can provide users with more flexible usage scenarios. It should be noted that the rules for generating data records are the same as those for using general quotas. When setting periodic quotas, the following data is generated once for each period, and batch operations are used to improve performance and function availability.

[0052] In order to meet more research needs of users and make subsequent analysis results more accurate, the preferred embodiment of this solution also includes:

[0053] When the periodic quota is added, periodic quota table data, quota condition table data, quota checkpoint table data are created, and the status and type of the corresponding quota record period in the quota group table are updated;

[0054] When modifying the periodic quota, new periodic quota table data, quota condition table data, and quota checkpoint table data are created and the original corresponding data are deleted, and the status and type of the recording period of the corresponding quota in the quota group table are updated;

[0055] When deleting the periodic quota, the corresponding periodic quota table data, quota condition table data, and quota checkpoint table data are deleted, and the status and type of the recording period of the corresponding quota in the quota group table are updated.

[0056] Specifically, the business logic can be adjusted to meet different scenarios and better handle the intentions of different customers in different time periods in reality, and be more flexible in application. An interface is used to create, modify, and delete periodic quotas. If you want to add periodic quotas on the basis of the original ones, create periodic quota table data, quota condition table data, quota checkpoint table data, and update the status and type of the corresponding quota record period in the quota group table; if you want to modify periodic quotas, create new periodic quota table data, quota condition table data, quota checkpoint table data, delete the old corresponding data, and update the status and type of the corresponding quota record period in the quota group table; if you delete periodic quotas, delete the corresponding periodic quota table data, quota condition table data, quota checkpoint table data, and update the status and type of the corresponding quota record period in the quota group table. Business adjustments also include: 1. When modifying quota checkpoints, if it is a periodic quota, the checkpoint information stored in the quota condition table corresponding to other periods needs to be synchronized; 2. When deleting a quota, delete the corresponding periodic data and quota condition data and quota detection option data, and delete the quota data (add and delete periodic data on a general basis, and other general data will be deleted together); 3. When deleting quota options, if it is a periodic quota, the option data in other periods will be deleted synchronously, and the corresponding information stored in quota_cond_list and quota_checkitem_list in the period will be updated; 4. When adding options, if it is a periodic quota, the option data in other periods will be added synchronously, and the corresponding information stored in quota_cond_list and quota_checkitem_list in the period will be updated. The above operations to adjust the business logic require updating the quota progress. No matter which periodic quota it is, as long as there is a change, a message will be sent to update the quota progress, and the progress will be cached, so that the page display can achieve real-time update effect.

[0057] Refresh quota progress and refresh quota progress cache in real time to facilitate the call and display of quota progress data.

[0058] In order to verify the quota, in a preferred embodiment of this solution, the following is also included:

[0059] When answering questions to verify the quota, a check and judgment is performed according to the period corresponding to the quota and the quota progress is refreshed, and the quota progress is cached so as to be displayed on the terminal page.

[0060] Specifically, when answering questions to verify the quota, if there is a periodic quota, the verification and judgment will be performed according to the corresponding period, other services remain unchanged, and then the quota progress will continue to be refreshed, and the quota progress will be cached, so that real-time update effect can be achieved on the page display.

[0061] In order to realize the batch download quota progress, in the preferred embodiment of this scheme, it also includes:

[0062] When downloading quota progress in batches, if it is a periodic quota, obtain the corresponding period ID, search for the quota progress information of this period, and download it.

[0063] It should be noted that the technical implementation method of the periodic quota adopts the redis_memorize cache mechanism. Redis is actually a key-value database, but it also has some advantages of a relational database. Specifically, in the embodiment of the present application, through the redis_memorize technology, most of the quota progress data and periodic data can be read from the cache, reducing the quota progress calculation time and speeding up the web page response time.

[0064] S204: Generate a questionnaire based on the periodic quota table, the quota condition table records, and the quota checkpoint table records.

[0065] The present invention discloses a questionnaire generation method, the method comprising: creating a periodic quota table based on an original quota group table, a quota condition table, and a quota checkpoint table; when the user's option information is obtained to set a periodic quota, generating corresponding periodic quota table data according to the set number of periods; based on the periodic quota table data, batch generating data records corresponding to each period, the data records including quota condition table records and quota checkpoint table records. The periodic quota of the present application supports setting a quota amount within a time period, and this time period supports natural days, natural weeks, natural months, and custom time periods, so that it can better handle the intended selection of different customers in different time periods in reality, realize more flexible applications, make the collected data samples more targeted, and make the later analysis results of the questionnaire survey more accurate. It can meet more research needs of users and make the subsequent analysis results more accurate.

[0066] In order to further explain the technical idea of ​​the present invention, the technical solution of the present invention is now described in combination with specific application scenarios.

[0067] First, set the original quota group table, the original quota condition table, and the original quota checkpoint table, and create a periodic quota table in the original quota group table, quota condition table, and quota checkpoint table. The fields in the periodic quota table include round_type (quota type), enumeration type, natural day day, natural week week, natural month month, custom custom, quota_id (configuration group table ID), name (name of this cycle), end_at (end time of the cycle), quota_cond_list (quota condition table ID list), quota_checkitem_list (quota checkpoint table ID list).

[0068] This application has designed a periodic quota, including fixed periods such as natural days, natural weeks, and natural months. It can also set periods with different time spans, which can be flexibly used in various practical scenarios and use time and space to meet various needs. At the same time, the independence of periodic probability is achieved, which is well guaranteed in terms of portability and scalability, and can better adapt to future expansion. By using batch operation databases, a large number of database operation instructions are reduced, a large amount of database pressure is reduced, and the performance of system functions is guaranteed.

[0069] New quota group table fields and quota condition table fields have been added. The new fields in the quota group qdes_quota table are as follows: (1).is_round (whether it is a periodic quota), enumeration type. This application is compatible with the original quota. There is no situation where 0 indicates a general quota and 1 indicates a periodic quota; (2).round_type (quota type), redundant field, enumeration type, natural day day, natural week week, natural month month, custom. The new fields in the quota condition table are as follows: (1).is_round, redundant field; (2).round_type, redundant field; (3).start_at (period start time), redundant field; (4).end_at (period end time), redundant field; (5).ID of the quota period table. When the user chooses to set it as a periodic quota, the corresponding periodic quota table data is generated according to the number of periods set. Each period corresponds to a data record, and records are generated in batches. According to the newly generated periodic quota table record, the following data records are generated: (1) There are one or more quota condition table records; (2) There are one or more quota checkpoint table records. Since this application supports normal quotas and cross quotas, and can support the situation where there is no upper limit on the number of periods, it is possible to set different quota amounts for different periods, which can provide users with more flexible usage scenarios.

[0070] The business logic can be adjusted to meet different scenarios and better handle the intentions of different customers in different time periods in reality, and be more flexible in application. An interface is used to create, modify and delete periodic quotas. If you want to add periodic quotas on the basis of the original ones, create periodic quota table data, quota condition table data, quota checkpoint table data, and update the status and type of the corresponding quota record period in the quota group table; if you want to modify periodic quotas, create new periodic quota table data, quota condition table data, quota checkpoint table data, delete the old corresponding data, and update the status and type of the corresponding quota record period in the quota group table; if you delete periodic quotas, delete the corresponding periodic quota table data, quota condition table data, quota checkpoint table data, and update the status and type of the corresponding quota record period in the quota group table. Business adjustments also include: 1. When modifying quota checkpoints, if it is a periodic quota, the checkpoint information stored in the quota condition table corresponding to other periods needs to be synchronized; 2. When deleting a quota, delete the corresponding periodic data and quota condition data and quota detection option data, and delete the quota data (add and delete periodic data on a general basis, and other general data will be deleted together); 3. When deleting quota options, if it is a periodic quota, the option data in other periods will be deleted synchronously, and the corresponding information stored in quota_cond_list and quota_checkitem_list in the period will be updated; 4. When adding options, if it is a periodic quota, the option data in other periods will be added synchronously, and the corresponding information stored in quota_cond_list and quota_checkitem_list in the period will be updated. The above operations to adjust the business logic require updating the quota progress. No matter which periodic quota it is, as long as there is a change, a message will be sent to update the quota progress, and the progress will be cached, so that the page display can achieve real-time update effect. When the user needs to answer questions to verify the quota, if there is a periodic quota, the verification is performed according to the corresponding period, other services remain unchanged, and then the quota progress cache is refreshed. If the quota progress needs to be downloaded in batches, if it is a periodic quota, the corresponding period ID is obtained, the quota progress information of this period is searched, and downloaded.

[0071] In order to achieve the above technical objectives, the present application embodiment also proposes a questionnaire generation system, such as Figure 4 As shown, the system comprises:

[0072] A creation module 401 is used to create a periodic quota table based on the original quota group table, quota condition table, and quota checkpoint table;

[0073] The setting module 402 is used to generate corresponding period quota table data according to the set period number when the user's option information is to set a period quota;

[0074] A data recording module 403, configured to batch generate data records corresponding to each period based on the period quota table data, wherein the data records include quota condition table records and quota checkpoint table records;

[0075] A generating module 404, configured to generate a questionnaire based on the periodic quota table, the quota condition table record and the quota checkpoint table record;

[0076] The fields in the periodic quota table include round_type, enumeration type, natural day, natural week, natural month, custom, quota group table ID, period name, period start and end time, quota condition table ID list, and quota checkpoint table ID list.

[0077] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method when executing the computer program.

[0078] This embodiment provides a non-transitory computer-readable storage medium, which stores computer instructions. The computer instructions enable a computer to execute the methods provided by the above method embodiments.

[0079] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various media that can store program codes.

[0080] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A questionnaire generation method, characterized in that: The method comprises: Create a periodic quota table based on the original quota group table, quota condition table, and quota checkpoint table; When the user's option information is obtained to set a period quota, corresponding period quota table data is generated according to the set period number; Based on the periodic quota table data, batch generate data records corresponding to each period, the data records including quota condition table records and quota checkpoint table records; Generate a questionnaire based on the periodic quota table, the quota condition table record and the quota checkpoint table record; The fields in the periodic quota table include round_type, enumeration type, natural day, natural week, natural month, custom, quota group table ID, period name, period start and end time, quota condition table ID list, quota checkpoint table ID list, where round_type is a field indicating the quota type.

2. The method according to claim 1, characterized in that After creating a periodic quota table based on the original quota group table, quota condition table, and quota checkpoint table, it also includes: Added new quota group table fields and quota condition table fields.

3. The method according to claim 2, characterized in that The newly added fields of the quota group table include is_round, enumeration type, quota type, redundant field, enumeration type, natural day, natural week, natural month, and custom; the newly added fields of the quota condition table include is_round, redundant field, cycle type, cycle start and end time, and quota cycle table ID. Among them, is_round is used to indicate whether it is a cycle quota, which is compatible with the original quota. There is no situation where it is 0 for a general quota and 1 for a cycle quota.

4. The method according to claim 1, characterized in that Also includes: When the periodic quota is added, periodic quota table data, quota condition table data, quota checkpoint table data are created, and the status and type of the corresponding quota record period in the quota group table are updated; When modifying the periodic quota, new periodic quota table data, quota condition table data, and quota checkpoint table data are created and the original corresponding data are deleted, and the status and type of the recording period of the corresponding quota in the quota group table are updated; When deleting the periodic quota, the corresponding periodic quota table data, quota condition table data, and quota checkpoint table data are deleted, and the status and type of the recording period of the corresponding quota in the quota group table are updated.

5. The method according to claim 4, characterized in that When the periodic quota undergoes a business adjustment change, the quota progress is updated and the progress is cached so as to display the real-time update effect on the terminal page. The business adjustment change includes adding, modifying and / or deleting.

6. The method according to claim 1, characterized in that Also includes: When answering questions to verify the quota, a check and judgment is performed according to the period corresponding to the quota and the quota progress is refreshed, and the quota progress is cached so as to be displayed on the terminal page.

7. The method according to any one of claims 5 to 6, characterized in that: Also includes: When downloading quota progress in batches, the period ID corresponding to the quota is obtained, and the quota progress information of the period corresponding to the quota is searched and downloaded.

8. A questionnaire generation system, characterized in that: The system comprises: A creation module is used to create a periodic quota table based on the original quota group table, quota condition table, and quota checkpoint table; A setting module, for generating corresponding period quota table data according to the set period number when the user's option information is obtained to set a period quota; A data recording module, used to batch generate data records corresponding to each period based on the period quota table data, wherein the data records include quota condition table records and quota checkpoint table records; A generating module, used for generating a questionnaire based on the periodic quota table, the quota condition table record and the quota checkpoint table record; The fields in the periodic quota table include round_type, enumeration type, natural day, natural week, natural month, custom, quota group table ID, period name, period start and end time, quota condition table ID list, quota checkpoint table ID list, where round_type is a field indicating the quota type.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • System quota calculation method and device

    CN111142746A

  • System quota real-time statistics method and device, equipment and storage medium

    CN112131241A