A method, system, device and storage medium for detecting data acquisition
By generating sample size through a standardized parameter library and statistical model, the problem of unscientific sample size determination and poor adaptability in existing technologies is solved, achieving rapid and scientific sample size determination and reliable detection results, and adapting to the detection needs of multiple scenarios.
Patent Information
- Application Number
- CN202610713772.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-22
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies lack a scientific Power Study system to support the determination of the sample size of detection data, have poor adaptability, are complicated to operate, cannot meet the needs of multiple scenarios and types of detection, lack dynamic adjustment and result verification mechanisms, and cannot balance detection cost and accuracy.
It uses a standardized parameter library to match statistical models, generates sample size through Power Study core parameters and Z quantiles, and performs real-time correction and visualization. It integrates data interaction and sample calculation modules, supports manual and automatic parameter input, and generates standard judgment reports.
It enables rapid and scientific determination of sample size, adapts to different testing scenarios, improves the statistical power and ease of operation of test results, and ensures a balance between testing cost and accuracy.
Smart Images

Figure CN123138563A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data statistics technology, and in particular to a method, system, device and storage medium for acquiring detection data. Background Technology
[0002] In related technologies, when acquiring relevant detection data, it is necessary to determine the required sample size. Existing technologies in the field of determining the sample size of detection data are mainly divided into three categories, covering empirical estimation, simple statistical calculation, and basic PowerStudy applications, as detailed below: Category 1: Experience-based estimation methods (traditional mainstream approach). This type of method relies entirely on the industry experience of the testing personnel. It estimates the sample size based on the sample size of similar past testing projects, combined with simple differences in the current testing scenario (such as the size of the object being tested and the required testing accuracy). This method requires no complex calculations or equipment, is easy to operate, and has low cost. It is suitable for small-scale testing projects with low accuracy requirements and simple scenarios (such as random sampling of products from small businesses). However, it has significant limitations and cannot meet the needs of large-scale, high-precision testing.
[0003] The second category: Simple statistical calculation methods (second generation: basic quantification methods). These methods use basic statistical formulas, combined with the overall size of the target population and a preset error range, to calculate the sample size. The core parameters only include the overall size and error range; Power Study parameters are not introduced. Compared to empirical estimation, this type of method is more scientific and suitable for detection scenarios with moderate accuracy requirements (such as routine environmental monitoring and general scientific research). However, it still has significant drawbacks, failing to ensure the statistical power of the detection results and exhibiting poor adaptability.
[0004] Category 3: Basic Power Study Application Methods (Current Frontier). Some professional testing institutions and research institutes use basic Power Study methods, combined with simple statistical models, to calculate the sample size of testing parameters and introduce core parameters such as test power and significance level to improve the scientific rigor of sample size determination. This type of method is suitable for high-precision, high-requirement testing scenarios (such as medical clinical trials and core scientific research experiments), but it still has many shortcomings, making it difficult to promote and apply, and its adaptability is limited. Summary of the Invention
[0005] The main objective of this application is to provide a method, system, device, and storage medium for acquiring detection data, aiming to solve the problems in the background art.
[0006] To achieve the above objectives, one aspect of this application proposes a method for acquiring detection data, the method comprising: Obtain the detection parameters corresponding to the detection scenario; Match the corresponding statistical model based on the detection parameters; The detection parameters are input into the statistical model to generate the sample size; Detection data is obtained based on the sample size.
[0007] In some embodiments, matching the corresponding statistical model based on the detection parameters specifically includes: The matching parameters are extracted from the detection parameters, and the matching parameters include PowerStudy core parameters; Perform data feature verification on the matching parameters; Based on the data feature verification results, the corresponding statistical model is matched from the preset model database.
[0008] In some embodiments, inputting the detection parameters into the statistical model to generate a sample size specifically includes: Based on the core parameters of the Power Study, determine the Z quantiles; Input the Power Study core parameters and Z quantiles into the statistical model to generate the sample size; The sample size is rounded up and corrected according to a preset dropout rate.
[0009] In some embodiments, inputting the detection parameters into the statistical model to generate a sample size specifically includes: Real-time sample size acquisition and real-time analysis of the sample size based on preset indicators. If the analysis results exceed the preset validation performance, then the statistical model is determined and the sample size is output. If the analysis results are less than the preset verification efficiency, the detection parameters will be adjusted and the statistical model will be changed for parameter adjustment. The sample size was recalculated based on the adjusted detection parameters and statistical model.
[0010] In some embodiments, inputting the detection parameters into the statistical model to generate a sample size specifically includes: Obtain the recalculated sample size and calculate the corresponding test power and actual error; When the test power is less than the first threshold and the actual error is less than the second threshold, the sample size is used as the sample size of the detection parameter.
[0011] In some embodiments, after inputting the detection parameters into the statistical model to generate the sample size, the method further includes: The detection parameters and sample size are visualized to generate a standard judgment report; The standard judgment report will be synchronized to cloud storage.
[0012] In some embodiments, after obtaining the detection parameters corresponding to the detection scenario, the method further includes: The rationality of the detection parameters is verified, including the parameter value range and the degree of matching between the detection parameters and the detection scenario. If the verification result is satisfactory, then the sample size is calculated. If the verification result is unqualified, the system will prompt you to readjust the testing parameters.
[0013] To achieve the above objectives, another aspect of this application provides a statistical system for sample size, the system comprising: The data interaction module is used to obtain the detection parameters corresponding to the detection scenario; The model matching module is used to match the corresponding statistical model based on the detection parameters; The sample calculation module is used to input the detection parameters into the statistical model and generate the sample size; The data acquisition module is used to acquire detection data based on the sample size.
[0014] To achieve the above objectives, another aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described method.
[0015] To achieve the above objectives, another aspect of the embodiments of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods described above.
[0016] The embodiments of this application include at least the following beneficial effects: This application provides a method, system, device and storage medium for acquiring detection data. This application matches the corresponding statistical model according to the detection parameters, which can adapt to the real-time judgment needs of different scenarios, with low calculation latency, and ensures rapid judgment of sample size. Meanwhile, the detection parameters can be adaptively adjusted through a standardized parameter library and historical data according to the needs of different detection fields and scenarios, adapting to the sample size determination requirements of different detection indicators and different data types, thereby improving the versatility and adaptability of the technology. The pain point method of this application has a high degree of intelligence, simplifies the operation process, requires no professional statistical knowledge, and is easy to promote. Attached Figure Description
[0017] Figure 1 A flowchart illustrating the method for acquiring detection data provided in this application embodiment; Figure 2A flowchart for the statistical model validation provided in the embodiments of this application; Figure 3 A flowchart for sample size testing provided in the embodiments of this application; Figure 4 A flowchart for calculating the sample size provided in this application embodiment; Figure 5 A flowchart illustrating the parameter adjustment scheme provided in this application embodiment; Figure 6 An adjusted diagram of the statistical scheme provided in the embodiments of this application. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.
[0019] It is understood that the terms “first,” “second,” etc., used in this application may be used herein to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words “if,” “when,” or “in response to a determination” as used herein may be interpreted as “when…” or “when…” or “in response to a determination.”
[0020] As used in this application, the terms "at least one", "multiple", "each", "any", etc., "at least one" includes one, two or more, "multiple" includes two or more, "each" refers to each of the corresponding multiples, and "any" refers to any one of the multiples.
[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0022] Before providing a detailed description of the embodiments of this application, some of the nouns and terms involved in the embodiments of this application will be explained first. The nouns and terms involved in the embodiments of this application are subject to the following interpretations.
[0023] Power Study, usually referring to Statistical Power Analysis, can also be directly called a power study. Its core is the calculation and evaluation process centered around the key concept of statistical power.
[0024] The related technologies have the following specific drawbacks: 1. The sample size determination lacks a scientific Power Study system to support it: Existing empirical estimation and simple statistical methods do not introduce core parameters such as test power and effect size, which cannot ensure the statistical power of the test results; the basic Power Study application method has not built a standardized parameter system, the parameter settings are not standardized, and the accuracy of sample size determination is low.
[0025] 2. Poor adaptability, unable to meet the needs of multiple scenarios and types of testing: The sample size determination logic of existing technologies is fixed and has not been optimized for the testing characteristics of different fields such as medical, industrial and environmental fields. It cannot adapt to complex scenarios such as multi-index testing and heterogeneous overall testing; the parameter adjustment is inflexible and cannot dynamically adjust the sample size according to the personalized needs of the testing scenario (such as testing accuracy and cost budget).
[0026] 3. Complex operation and difficult to promote: The calculation process of the basic Power Study application method is complicated and requires professional statisticians to operate. It is difficult for small and medium-sized testing institutions and grassroots testing personnel to master it. There is a lack of convenient operation tools, which makes it impossible to quickly determine and output the sample size.
[0027] 4. Lack of dynamic adjustment and result verification mechanism: Existing technologies are mostly "one-time judgments" and cannot dynamically adjust the sample size based on real-time data during the detection process (such as previous sample detection results and changes in overall characteristics); without a sample size verification step, it is impossible to confirm whether the judged sample size meets the actual detection needs, which can easily lead to problems of insufficient or redundant sample size.
[0028] 5. Inability to balance detection cost and detection accuracy: Existing technologies either ignore cost factors, resulting in redundant sample size and excessively high detection costs, or ignore detection accuracy, resulting in insufficient sample size and unreliable detection results, failing to achieve the optimal balance between detection cost and detection accuracy.
[0029] In view of this, embodiments of this application provide a method, system, device, and storage medium for acquiring detection data.
[0030] refer to Figures 1-4 As shown, one aspect of this application embodiment proposes a method for acquiring detection data, wherein the method includes: S101: Obtain the detection parameters corresponding to the detection scenario, including the input parameters and the standardized parameters corresponding to the detection scenario; S102: Match the corresponding statistical model based on the detection parameters; S103: Input the detection parameters into the statistical model to generate the sample size.
[0031] Specifically, the standardized parameters in S101 are provided by a standard parameter library, which stores standardized parameters for different detection fields and scenarios, providing parameter support for sample size determination. The parameter library includes standard values of Power Study core parameters, field-specific parameters, and statistical model parameters, and supports manual and automatic updates. It can be flexibly called according to the detection scenario to ensure the standardization of parameter settings.
[0032] Furthermore, prior to S101, the process also includes calling the corresponding standard parameter library, loading preset standardized parameters, and completing data initialization.
[0033] Furthermore, the method of this application can be integrated into the device, and during data initialization, it also includes detecting the operating status of the device. When an abnormality occurs, an early warning is issued and the fault is eliminated.
[0034] Furthermore, in S102, the methods for obtaining detection parameters include "automatic parameter recall" or "manual parameter input". The core parameters that need to be set include Power Study core parameters, detection scene parameters, and error parameters. All parameters have a clear value range, and an abnormality will be indicated if the value is outside the range. It should be noted that data initialization occurs after the staff selects the detection scenario. It is a mandatory automatic step that the user cannot choose whether to call. It will unconditionally retrieve the standardized parameter set that matches the detection scenario from the standardized parameter library.
[0035] When the user actively selects the operation mode, the user can decide whether to use "automatic parameter recall" (i.e., reuse or recall standardized parameters) or "manual parameter input" (where the user fills in each item).
[0036] Furthermore, after S101, the rationality of the input parameters is also verified. The core of the verification includes the parameter value range, the matching degree between the parameters and the detection type, and the adaptability of related parameters. If the verification fails, abnormal parameters and adjustment suggestions will be displayed. Staff will adjust the parameters and then re-verify. If the verification is successful, the subsequent sample size calculation will proceed.
[0037] Specifically, step S102 involves matching the corresponding statistical model based on the input parameters or standardized parameters corresponding to the detection scenario, including: The matching parameters are extracted from the input parameters or standardized parameters. The matching parameters include the research objective, variable type, research design type, and Power Study core parameters. The Power Study core parameters include test power, significance level, effect size, one-sided test, and two-sided test. The matching parameters are subjected to data feature verification, which includes normality, variance, and independence verification. Based on the data feature verification results, a corresponding statistical model is matched from a preset model database, which includes a single-sample t-test model, a two-independent-samples t-test model, a chi-square test model, and a variance statistics model. The statistical model matched in this step is the preliminary matching result; Specifically, in step S103, the formula for calculating the sample size includes, but is not limited to: ; in For sample size, The standard normal quantiles corresponding to the significance level. To test the standard normal quantiles corresponding to the effectiveness, The population standard deviation is 1. This is the actual difference. The significance level (probability of Type I error) is typically set to 0.05. This represents the probability of a Type II error, typically set to 0.2, corresponding to a test power of 0.8.
[0038] in Different calculation formulas correspond to different statistical models.
[0039] Specifically, step S103, which involves inputting the input parameters or standardized parameters into the statistical model to generate the sample size, specifically includes: S201: Based on the core parameters of the Power Study, the Z quantiles are obtained by looking up a table or by calculation. The Z quantiles include the standard normal quantiles corresponding to the significance level and the standard normal quantiles corresponding to the test power. In the embodiments of this application, the standard normal quantile corresponding to the significance level and the standard normal quantile corresponding to the test power are 1.96 and 0.84, respectively; Specifically, in S201, the test power is 0.8, and the significance level is ( The value was 0.05, and the effect size ES (small / medium / large) was used, along with a two-tailed test. S202: Input the Power Study core parameters and Z quantiles into the statistical model to generate the theoretical value of the sample size; S203: Round up the theoretical value of the sample size and correct it according to the preset loss to follow-up rate to generate the sample size; S204: Real-time collection of sample size and real-time analysis of sample size based on preset indicators, including detection error, overall heterogeneity, and the difference between sample detection results and expectations; S205: When the analysis result is greater than the pre-set statistical power (≥0.8), the statistical model is determined and the sample size is output. If the analysis results are less than the preset verification efficiency, the input parameters are adjusted and the statistical model is changed for parameter adjustment. Based on the adjusted input parameters and statistical model, the sample size is recalculated to generate an optimized sample size.
[0040] S206: Based on the adjusted input parameters or statistical model, recalculate the sample size and generate an optimized sample size; Furthermore, in some other embodiments, the sample size can be increased when the analysis results are less than the preset verification performance.
[0041] S207: Calculate the test power and actual error corresponding to the optimized sample size; S208: When the test power is less than the first threshold and the actual error is less than the second threshold, the sample size shall be used as the final sample size.
[0042] Furthermore, after inputting the input parameters or standardized parameters into the statistical model in step S103 to generate the sample size, the method further includes: The input parameters, standardized parameters, and sample size are visualized to generate a standard judgment report. The standard judgment report will be synchronized to cloud storage for data archiving.
[0043] In this application, the first threshold is set to 0.8, and the second threshold is used to determine the error between the sample size and the actual sample size. The second threshold is set manually or automatically.
[0044] The standard judgment report supports multiple output methods such as printer printing, USB interface export, and Bluetooth transmission to adapt to different usage needs. Staff can carry out sample collection and testing work according to the sample size to be judged. At the same time, the statistical results can be imported into external testing systems to guide the testing work and ensure the reliability and economy of the test results.
[0045] Furthermore, the data in the standard judgment report serves as historical data feedback and is used to verify the reasonableness of the input parameters.
[0046] refer to Figures 5-6As shown, specifically, in S205, when the analysis result exceeds the error threshold, the input parameters or standardized parameters are adjusted according to the parameter adjustment scheme corresponding to the preset index, including: When the sample size is greater than the maximum threshold, the significance level should be increased, the test power reduced, a one-sided test used, and the effect size increased. When the effect size is too small, increase the test power, increase the sample size, or add covariates. When the input parameters do not conform to a normal distribution, the statistical model should be replaced with a nonparametric model, the parameters should be transformed, or the significance level should be tightened. When multiple validations are required, the significance level should be calibrated and the validation power improved. When the groups are imbalanced, apply the imbalance formula or expand the total sample. When the loss to follow-up rate exceeds the preset threshold, the sample size is proportionally increased or the testing efficiency is improved. When the test power is lower than the preset threshold, add samples, increase the effect size, or reduce the significance level.
[0047] Specifically, in this embodiment of the application, the loss to follow-up rate is set to 20%-30%; As shown in the figure, specifically, in S207, the optimized sample size is substituted back into the calculation formula of the corresponding statistical model to reverse-engineer the actual test power, verify whether the actual test power meets the preset requirements, and ensure that the test results have sufficient statistical power. Calculate the actual allowable error corresponding to the optimized sample size, verify whether it is within the preset allowable error range, and ensure that the detection accuracy meets the requirements.
[0048] To achieve the above objectives, another aspect of the embodiments of this application proposes a statistical system for sample size, the system comprising: The data interaction module is used to obtain the detection parameters corresponding to the detection scenario; The model matching module is used to match the corresponding statistical model based on the detection parameters; The sample calculation module is used to input the detection parameters into the statistical model and generate the sample size; The data acquisition module is used to acquire detection data based on the sample size.
[0049] Furthermore, in some embodiments, the data interaction module includes: The parameter setting unit is used to input detection scene parameters and Power Study core parameters, supporting both manual input and import input methods. The core component enables manual input of parameters and import of external data. Input parameters are automatically synchronized to the main control module and software system, and parameter modification, saving, and retrieval are supported.
[0050] The display output unit provides a display parameter input interface, sample size calculation process, judgment results, and verification report, while also supporting the output of standard judgment reports. It clearly displays relevant information on the screen, supports instant report printing and voice prompts, and improves ease of operation.
[0051] Furthermore, in some embodiments, the system of this application also includes a data storage module for storing parameter setting data, sample size calculation data, Power Study analysis results, verification reports, historical detection parameters, and standardized parameter libraries. The data storage module supports both local storage and cloud storage modes to ensure data traceability and supports data querying, exporting, and deletion.
[0052] The data interface module is used to connect with external testing systems, realize data interaction with external testing systems, import external testing parameters (such as previous sample testing results and overall characteristic data), export sample size statistics, and adapt to the interface specifications of different testing systems; it supports both wired and wireless data transmission to ensure the stability and integrity of data transmission.
[0053] Power supply module: Connects to all modules to provide a stable power supply to each module; supports mains power supply and backup lithium battery power supply, adaptable to on-site testing, mobile testing and other scenarios, and avoids voltage fluctuations affecting equipment operation and calculation accuracy.
[0054] To achieve the above objectives, another aspect of the embodiments of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.
[0055] It is understood that the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.
[0056] Furthermore, the detection data acquisition method and system of this application can be integrated into a hardware device. It is understood that the content of the above method embodiments is applicable to the embodiments on this hardware device. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0057] The statistical methods provided in this application relate to the field of information technology. The methods provided in this application can be applied to terminals, servers, or software running on either a terminal or a server. In some embodiments, the terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, or in-vehicle terminal, but is not limited to these. The server can be configured as an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network. The software can be an application implementing the method, but is not limited to the above forms.
[0058] This application can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics devices, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0059] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0060] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0061] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0062] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0063] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0064] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0065] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0066] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0067] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0068] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.
Claims
1. A method for acquiring detection data, characterized in that, The method includes: Obtain the detection parameters corresponding to the detection scenario; Match the corresponding statistical model based on the detection parameters; The detection parameters are input into the statistical model to generate the sample size; Detection data is obtained based on the sample size.
2. The method for acquiring detection data according to claim 1, characterized in that, The step of matching the corresponding statistical model based on the detection parameters specifically includes: The matching parameters are extracted from the detection parameters, and the matching parameters include PowerStudy core parameters; Perform data feature verification on the matching parameters; Based on the data feature verification results, the corresponding statistical model is matched from the preset model database.
3. The method for acquiring detection data according to claim 2, characterized in that, The step of inputting the detection parameters into the statistical model to generate the sample size specifically includes: Based on the core parameters of the Power Study, determine the Z quantiles; Input the Power Study core parameters and Z quantiles into the statistical model to generate the sample size; The sample size is rounded up and corrected according to a preset dropout rate.
4. The method for acquiring detection data according to claim 2, characterized in that, The step of inputting the detection parameters into the statistical model to generate the sample size specifically includes: Real-time sample size acquisition and real-time analysis of the sample size based on preset indicators. If the analysis results exceed the preset validation performance, then the statistical model is determined and the sample size is output. If the analysis results are less than the preset verification efficiency, the detection parameters will be adjusted and the statistical model will be changed for parameter adjustment. The sample size was recalculated based on the adjusted detection parameters and statistical model.
5. The method for acquiring detection data according to claim 4, characterized in that, The step of inputting the detection parameters into the statistical model to generate the sample size specifically includes: Obtain the recalculated sample size and calculate the corresponding test power and actual error; When the test power is less than the first threshold and the actual error is less than the second threshold, the sample size is used as the sample size of the detection parameter.
6. The method for acquiring detection data according to claim 1, characterized in that, After inputting the detection parameters into the statistical model to generate the sample size, the method further includes: The detection parameters and sample size are visualized to generate a standard judgment report; The standard judgment report will be synchronized to cloud storage.
7. The method for acquiring detection data according to claim 1, characterized in that, After obtaining the detection parameters corresponding to the detection scenario, the process also includes: The rationality of the detection parameters is verified, including the parameter value range and the degree of matching between the detection parameters and the detection scenario. If the verification result is satisfactory, then the sample size is calculated. If the verification result is unqualified, the system will prompt you to readjust the testing parameters.
8. A statistical system for sample size, characterized in that, The system includes: The data interaction module is used to obtain the detection parameters corresponding to the detection scenario; The model matching module is used to match the corresponding statistical model based on the detection parameters; The sample calculation module is used to input the detection parameters into the statistical model and generate the sample size; The data acquisition module is used to acquire detection data based on the sample size.
9. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 7.
