Test tool control method, device and equipment for intelligent closestool flushing system and medium
By acquiring and optimizing test data and parameters, a more adaptable test plan is generated, solving the problem of poor adaptability of smart toilet flushing system test fixtures and realizing efficient testing of multiple models of smart toilets.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-02-03
- Publication Date
- 2026-04-03
AI Technical Summary
Existing testing fixtures for smart toilet flushing systems suffer from limited adaptability, insufficient precision in parameter control, poor component compatibility, and low data management efficiency, making it difficult to meet the needs of multi-solution development and refined testing.
By acquiring historical flushing system test data, test requirements, and equipment parameters of the target smart toilet, a target test program is selected based on the equipment parameters, historical test data is extracted, a test plan is generated, and the test scheme is optimized and adjusted through the target test program, ultimately achieving precise control of the test fixtures.
It achieves deep compatibility with different types of flushing systems, improves test compatibility and reliability, meets the testing needs of multiple suppliers and models of smart toilets, and enhances the efficiency of testing work.
Smart Images

Figure CN121783591A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of smart bathroom products, and in particular to a test fixture control method, device, equipment and medium for a smart toilet flushing system. Background Technology
[0002] The flushing system of a smart toilet is a core functional module that determines the product's user experience, stability, and energy efficiency. Key indicators such as flushing mode adaptability, timing logic rationality, and power parameter matching all require extensive testing and optimization during the R&D phase. Currently, mainstream testing equipment in the industry has many technical shortcomings, making it difficult to meet the needs of multi-solution R&D and refined testing. For example, it suffers from limited adaptability, insufficient parameter control precision, poor component compatibility, and low data management efficiency, making it difficult to adapt to the flushing testing requirements of various smart toilets. Summary of the Invention
[0003] To improve the test adaptability of flushing systems, this application provides a test fixture control method, device, equipment, and medium for intelligent toilet flushing systems.
[0004] Firstly, this application provides a test fixture control method for an intelligent toilet flushing system, employing the following technical solution:
[0005] A method for controlling a testing fixture for an intelligent toilet flushing system includes:
[0006] In response to flushing test operations, acquire historical flushing system test data, test requirements, and device parameters of the target smart toilet;
[0007] Based on the device parameters, a scheme is selected in the preset test program to determine the target test program;
[0008] Based on the equipment parameters, the historical test data of the flushing system is extracted to obtain historical test data;
[0009] A test plan is generated based on the historical test data and the test requirements.
[0010] Based on the target test procedure, the test plan is adjusted and modified to generate a target flushing test scheme;
[0011] The test fixture is controlled based on the target flushing test scheme.
[0012] By adopting the above technical solution, historical flushing system test data, test requirements, and target smart toilet equipment parameters are simultaneously acquired during flushing test operations. This provides comprehensive and accurate basic data support for subsequent testing, avoiding test plan deviations caused by missing or incomplete data. The target test program is selected from preset test programs based on equipment parameters, enabling targeted adaptation to the core characteristics of different types of flushing systems and eliminating the problem of insufficient adaptation to specific product specifications in traditional general-purpose test programs. Simultaneously, targeted historical test data is extracted based on equipment parameters, eliminating irrelevant data interference, and ensuring that the data generated in conjunction with test requirements is accurate and relevant. The test plan is more closely aligned with the actual testing scenarios of the target equipment. The test plan is then optimized and adjusted through the target test program, allowing the final target flushing test solution to flexibly adapt to the structural design, parameter range, and control logic of different flushing systems. Subsequently, the test fixtures are precisely controlled based on this solution, achieving deep adaptation between the test process and the target flushing system. This effectively solves the problems of poor adaptability and insufficient versatility of traditional test methods for multiple suppliers and models of smart toilet flushing systems. Ultimately, it significantly improves the test adaptability of the flushing system, meets the testing needs of different types of flushing systems, and enhances the reliability and efficiency of the testing work.
[0013] Optionally, the step of selecting a scheme based on the device parameters in a preset test program and determining the target test program includes:
[0014] The adaptation parameters for each program category in the preset test program are extracted to generate an adaptation parameter range;
[0015] The device parameters are compared with the range of compatible parameters to calculate the parameter matching degree;
[0016] The test program with the highest parameter matching degree was selected as the candidate program;
[0017] Determine whether the number of candidate programs is one;
[0018] If the number of candidate programs is one, then the candidate program will be used as the target test program.
[0019] If the number of candidate programs is not one, the candidate programs are screened based on the core test items in the test requirements to determine the target test program.
[0020] Optionally, the step of extracting historical test data from the historical flushing system based on the device parameters to obtain historical test data includes:
[0021] Based on the device parameters, determine the flushing system type and core component model of the target smart toilet;
[0022] Based on the type of flushing system and the model of the core component, data is extracted from the historical flushing system data to obtain past test data.
[0023] Invalid data is removed from the previous test data to obtain valid test data;
[0024] The valid test data is categorized and organized according to preset test dimensions to generate historical test data.
[0025] Optionally, generating a test plan based on the historical test data and the test requirements includes:
[0026] Based on the historical test data and the test requirements, the target test phases and test metrics are determined.
[0027] Based on the aforementioned testing requirements, the time allocation for the target testing phase is determined, and a time allocation result is generated.
[0028] Based on the time allocation results, determine the base number of multi-segment cyclic tests and the adjustment range;
[0029] A test plan is constructed based on the aforementioned test metrics, the base number of tests, and the adjustment range.
[0030] Optionally, the step of adjusting and modifying the test plan based on the target test procedure to generate the target flushing test scheme includes:
[0031] The test plan is then subjected to a compatibility test with the target test program, and compatibility test results are generated.
[0032] Based on the compatibility test results, determine whether there are any test logic conflicts;
[0033] If test logic conflicts exist, extract the test logic conflict data;
[0034] Based on the target test program, the test logic conflict data is adjusted to generate adjusted data;
[0035] Based on the adjusted data, the test plan is adjusted and modified to generate a target flushing test plan;
[0036] If there are no test logic conflicts, the logical switching order of the target test steps is optimized based on the target test program to generate a target flushing test plan.
[0037] Optionally, the test control of the test fixture based on the target flushing test scheme includes:
[0038] The execution components of the test fixture are determined based on the target flushing test plan;
[0039] The target flushing test plan is converted into control commands corresponding to the execution component, and the control commands are sent to the test fixture.
[0040] The test fixture performs test control until the preset number of tests is reached or a fault warning condition is triggered, at which point the test stops.
[0041] Optionally, after reaching the preset number of tests or triggering the fault warning condition, the method further includes:
[0042] Real-time acquisition of component working data and flushing performance data during the execution of the test fixture;
[0043] A flushing test report is generated based on the component's operating data and the flushing performance data.
[0044] Secondly, this application provides a test fixture control device for an intelligent toilet flushing system, which adopts the following technical solution:
[0045] A test fixture control device for an intelligent toilet flushing system includes:
[0046] The data parameter acquisition module is used to acquire historical flushing system test data, test requirements, and device parameters of the target smart toilet in response to flushing test operations.
[0047] The target program determination module is used to select a scheme from a preset test program based on the device parameters and determine the target test program.
[0048] The historical data extraction module is used to extract historical test data of the flushing system based on the equipment parameters to obtain historical test data;
[0049] The test plan generation module is used to generate a test plan based on the historical test data and the test requirements.
[0050] The test plan generation module is used to adjust and modify the test plan based on the target test program to generate a target flushing test plan.
[0051] The tooling test control module is used to control the test tooling based on the target flushing test scheme.
[0052] By adopting the above technical solution, historical flushing system test data, test requirements, and target smart toilet equipment parameters are simultaneously acquired during flushing test operations. This provides comprehensive and accurate basic data support for subsequent testing, avoiding test plan deviations caused by missing or incomplete data. The target test program is selected from preset test programs based on equipment parameters, enabling targeted adaptation to the core characteristics of different types of flushing systems and eliminating the problem of insufficient adaptation to specific product specifications in traditional general-purpose test programs. Simultaneously, targeted historical test data is extracted based on equipment parameters, eliminating irrelevant data interference, and ensuring that the data generated in conjunction with test requirements is accurate and relevant. The test plan is more closely aligned with the actual testing scenarios of the target equipment. The test plan is then optimized and adjusted through the target test program, allowing the final target flushing test solution to flexibly adapt to the structural design, parameter range, and control logic of different flushing systems. Subsequently, the test fixtures are precisely controlled based on this solution, achieving deep adaptation between the test process and the target flushing system. This effectively solves the problems of poor adaptability and insufficient versatility of traditional test methods for multiple suppliers and models of smart toilet flushing systems. Ultimately, it significantly improves the test adaptability of the flushing system, meets the testing needs of different types of flushing systems, and enhances the reliability and efficiency of the testing work.
[0053] Thirdly, this application provides an electronic device that adopts the following technical solution:
[0054] An electronic device includes a processor coupled to a memory;
[0055] The processor is used to execute a computer program stored in the memory, so that the electronic device executes the computer program of the test fixture control method for the intelligent toilet flushing system according to any one of the first aspects.
[0056] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution:
[0057] A computer-readable storage medium storing a computer program capable of being loaded by a processor and executing the test fixture control method for the intelligent toilet flushing system according to any one of the first aspects.
[0058] In summary, this application includes at least one of the following beneficial technical effects:
[0059] By simultaneously acquiring historical flushing system test data, test requirements, and target smart toilet equipment parameters in response to flushing test operations, comprehensive and accurate basic data support is provided for subsequent testing. This avoids test plan deviations caused by missing or incomplete data. The target test program is selected from preset test programs based on equipment parameters, enabling targeted adaptation to the core characteristics of different types of flushing systems and eliminating the problem of insufficient adaptation to specific product specifications by traditional general-purpose test programs. Simultaneously, targeted historical test data is extracted based on equipment parameters, eliminating irrelevant data interference. This makes the test plan generated in conjunction with test requirements more closely aligned with the actual test scenario of the target equipment. The test plan is then optimized and adjusted through the target test program, allowing the final target flushing test solution to flexibly adapt to the structural design, parameter range, and control logic of different flushing systems. Subsequent precise control of the test fixtures based on this solution achieves deep adaptation between the test process and the target flushing system. This effectively solves the problems of poor adaptability and insufficient universality of traditional test methods for multiple suppliers and models of smart toilet flushing systems, ultimately significantly improving the test adaptability of the flushing system, meeting the test requirements of different types of flushing systems, and enhancing the reliability and efficiency of testing work. Attached Figure Description
[0060] Figure 1 This is a flowchart illustrating a test fixture control method for an intelligent toilet flushing system provided in an embodiment of this application.
[0061] Figure 2 This is a structural block diagram of a test fixture control device for an intelligent toilet flushing system provided in an embodiment of this application.
[0062] Figure 3 This is a structural block diagram of the electronic device provided in the embodiments of this application. Detailed Implementation
[0063] The present application will be further described in detail below with reference to the accompanying drawings.
[0064] This application provides a method for controlling a testing fixture for an intelligent toilet flushing system. This method can be executed by an electronic device, which can be a server or a terminal device. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smartphone, tablet, desktop computer, etc., but is not limited to these.
[0065] Figure 1 This is a flowchart illustrating a test fixture control method for an intelligent toilet flushing system provided in an embodiment of this application.
[0066] like Figure 1 As shown, the main process of this method is described below (steps S101 to S106):
[0067] Step S101: In response to the flushing test operation, acquire historical flushing system test data, test requirements, and device parameters of the target smart toilet.
[0068] In this embodiment, the flushing test operation refers to the instruction or event issued by the tester to start the test of the smart toilet flushing system. Historical flushing system test data is the raw data collection accumulated from past tests of various smart toilet flushing systems, including information such as flushing performance and component operating status under different models, configurations, and test conditions. Test requirements refer to the expected test objectives, test scope, test focus, and requirements for test results for the target smart toilet under test. The device parameters of the target smart toilet refer to the specific hardware and software configuration information of the smart toilet under test.
[0069] Step S102: Select a test program from the preset test program based on the equipment parameters and determine the target test program.
[0070] For step S102, the adaptation parameters for each program category in the preset test program are extracted to generate an adaptation parameter range; the device parameters are compared with the adaptation parameter range to calculate the parameter matching degree; the test program with the highest parameter matching degree is selected as a candidate program; it is determined whether the number of candidate programs is one; if the number of candidate programs is one, the candidate program is selected as the target test program; if the number of candidate programs is not one, the candidate programs are screened based on the core test items in the test requirements to determine the target test program.
[0071] In this embodiment, each preset test program is typically designed for a specific type of smart toilet or flushing system. Its applicability is determined by a series of adaptation parameters, such as the supported flushing pressure range, tank capacity, valve type, and sensor configuration. The system retrieves the device parameter conditions that each program category can adapt to from the metadata, configuration files, or associated database of the preset test programs, and organizes them into an adaptation parameter range. Then, the device parameters of the target smart toilet are compared with the adaptation parameter range corresponding to each preset test program to determine the parameter matching degree. The parameter matching degree can be calculated in various ways, such as quantitative scoring, precise matching, or fuzzy matching. After calculating the parameter matching degree of all preset test programs, the system identifies one or more test programs with the highest matching degree as preliminary candidate programs.
[0072] To select the final, unique target test program, the system checks if the number of candidate programs is one. If the number of candidate programs is one, then that candidate program is selected as the target test program. In this case, since there is a clearly defined best-matching program, it can be directly confirmed as the final target test program. If the number of candidate programs is not one, the candidate programs are filtered based on the core test items in the test requirements to determine the target test program. When multiple candidate programs have the same highest matching degree, the system further refers to the core test items clearly defined in the test requirements, such as key test requirements for specific flushing modes or water-saving performance. By analyzing the coverage, professionalism, or optimization degree of each candidate program in these core test items, a secondary screening is performed to determine the target test program that best meets the current test requirements.
[0073] Step S103: Extract historical test data from the flushing system based on the equipment parameters to obtain historical test data.
[0074] For step S103, the flushing system type and core component model of the target smart toilet are determined based on the equipment parameters; data is extracted from the historical flushing system registration data based on the flushing system type and core component model to obtain past test data; invalid data in the past test data is removed to obtain valid test data; the valid test data is classified and organized according to the preset test dimensions to generate historical test data.
[0075] In this embodiment, after obtaining the device parameters of the target smart toilet, the first step is to determine the type of flushing system used by the target smart toilet and the specific model of its core components based on the device parameters. For example, the device parameters may contain information such as product codes, configuration lists, or product serial numbers. By parsing this information, the specific models of key components such as water pumps, valves, and sensors inside the toilet can be identified. After clarifying the flushing system type and core component models of the target smart toilet, data is extracted from the stored historical flushing system test data using the flushing system type and core component models to obtain past test data that is highly relevant to the technical characteristics of the current target smart toilet. However, even past test data related to the target smart toilet may contain inaccurate or incomplete information for various reasons, i.e., invalid data. Therefore, past test data is screened and discarded to identify and remove invalid data caused by abnormal test environments, sensor malfunctions, operational errors, etc., thereby obtaining valid test data.
[0076] To facilitate subsequent test plan generation and in-depth analysis, the cleaned and filtered valid test data is categorized and organized according to preset test dimensions, ultimately generating structured and organized historical test data. Preset test dimensions may include, but are not limited to, test items, test conditions, and test result types.
[0077] Step S104: Generate a test plan based on historical test data and test requirements.
[0078] For step S104, based on historical test data and test requirements, the target test phases and test metrics are determined; the time allocation for the target test phases is determined based on the test requirements, and a time allocation result is generated; the base number of tests and the adjustment range for multi-segment cyclic testing are determined based on the time allocation result; and a test plan is constructed based on the test metrics, the base number of tests, and the adjustment range.
[0079] In this embodiment, when determining the target test stages and test indicators, it is necessary to comprehensively analyze historical test data to identify common fault points, performance bottlenecks, and key operating procedures of the intelligent toilet flushing system under different operating modes. Simultaneously, considering current testing requirements, such as new function verification, specific performance improvements, or durability assessments, the target test stages requiring focused attention in this test are identified, and corresponding test indicators are set. Then, when allocating the time proportion for the target test stages, the priority or risk level indications for different test stages in the test requirements are used to allocate corresponding test time and resource ratios to each target test stage. Considering the long-term stability and durability of the intelligent toilet flushing system, testing typically requires multiple cycles. The time allocation results provide a basis for determining the number of repetitions of each target test stage in the total cycle test. The base number is the minimum number of repetitions for each stage under normal test conditions, while the adjustment range allows for appropriate increases or decreases in the number of cycles during actual testing based on real-time monitoring data or test progress, to simulate more complex real-world usage scenarios or to conduct more in-depth verification when potential problems are discovered. For example, if a certain stage accounts for 30% of the total time and the total test plan is 1000 cycles, then its base number of cycles might be set at 300, with an adjustment range of ±50 cycles, allowing fluctuations between 250 and 350 cycles. Finally, all the elements determined above are integrated to form a complete, detailed, and executable test plan.
[0080] For example, in the dynamic pressure flushing test module of the dynamic pressure flushing system, the flushing system is configured with solenoid valve A, which integrates lubrication and flushing functions, and solenoid valve B, which is responsible for siphon function. The lubrication working time of solenoid valve A is 0s-10s, with a step size of 0.1s; the flushing working time is 0s-20s, with a step size of 0.1s; the siphon working time of solenoid valve B is 0s-20s, with a step size of 0.1s; the delay / overlap time between flushing by solenoid valve A and siphoning by solenoid valve B is 0s-10s, with a step size of 0.1s. During operation, it supports independent multi-stage cyclic flushing control of solenoid valves A and B, and the number of cycles N1-N5 can be freely adjusted. The test scheme can be lubrication → flushing → siphon → water replenishment, lubrication → (flushing + siphon) → siphon → water replenishment, etc.
[0081] Step S105: Adjust and modify the test plan based on the target test procedure to generate the target flushing test scheme.
[0082] For step S105, a compatibility test is performed between the test plan and the target test program to generate compatibility test results; based on the compatibility test results, it is determined whether there is a test logic conflict; if there is a test logic conflict, the test logic conflict data is extracted; based on the target test program, the test logic conflict data is adjusted to generate adjusted data; based on the adjusted data, the test plan is adjusted and modified to generate the target flushing test plan; if there is no test logic conflict, the logical switching order of the target test steps is optimized based on the target test program to generate the target flushing test plan.
[0083] In this embodiment, a compatibility test is performed between the test plan and the target test program to generate compatibility test results. This aims to evaluate the compatibility between the generated test plan and the selected target test program. The compatibility test results can be a quantified score, a compatibility report, or a conflict list. To clearly identify any inconsistencies or contradictions between the test plan and the target test program, a series of conflict judgment rules are preset. For example, if the compatibility test results show that a critical step in the test plan has no corresponding execution path in the target test program, or if two consecutive operations defined in the test plan are defined as mutually exclusive operations in the target test program, then a test logic conflict is determined to exist.
[0084] If a conflict is identified, the compatibility test results are analyzed to identify the specific test steps, parameter settings, execution order, and other information that caused the conflict, and this information is stored in a structured manner as conflict data. Based on the preset rules and logic of the target test program, the conflict data is intelligently analyzed and adjusted. The original test plan is automatically modified based on the generated adjustment data. After modification, a target flushing test plan that is fully compatible with and logically consistent with the target test program is generated.
[0085] If there are no test logic conflicts, the logical switching order of the target test links is optimized according to the target test program to generate a target flushing test plan. Even if there are no logical conflicts, the execution order of the test plan may not be optimal. By using the internal logic and optimization algorithm of the target test program, the switching order of each test link in the test plan is rearranged to generate a more efficient target flushing test plan.
[0086] Step S106: Perform test control on the test fixture based on the target flushing test plan.
[0087] For step S106, the execution component of the test fixture is determined based on the target flushing test plan; the target flushing test plan is converted into control instructions corresponding to the execution component, and the control instructions are sent to the test fixture; the test fixture performs test control until the preset number of tests is reached or the fault warning condition is triggered, and then the test stops.
[0088] In this embodiment, determining the execution components of the test fixture based on the target flushing test plan refers to identifying and associating the physical components within the test fixture capable of performing these tasks according to the various test tasks and operational requirements defined in the target flushing test plan. The execution components of the test fixture can be hardware units such as water valves, water pumps, and controllers that can receive instructions and generate physical actions or data feedback. The process of determining the execution components involves mapping the logical operations in the test plan to specific physical components within the test fixture that possess corresponding functions. The target flushing test plan is converted into control instructions corresponding to the execution components, and these control instructions are sent to the test fixture. Upon receiving the control instructions, the test fixture will perform test control. Following the instructions of the target flushing test plan, the test fixture will drive its execution components to perform a series of flushing, water injection, and drainage operations. The test fixture will perform test control until a preset number of tests is reached or a fault warning condition is triggered, at which point the test will stop. The preset number of tests refers to the number of test cycles explicitly specified in the test plan, such as 1000 flushing cycles to verify the product's durability. Triggering fault warning conditions means that if an abnormal situation is detected during the test, such as component response timeout, water leakage, or component damage, the system will immediately issue a warning and stop the test to prevent equipment damage or distorted test results, and to promptly carry out manual intervention or fault diagnosis.
[0089] In this embodiment, component working data and flushing performance data are collected in real time during the execution of the test fixture; a flushing test report is generated based on the component working data and flushing performance data.
[0090] Component working data may include, but is not limited to, valve opening and closing times and water pump parameters inside the test fixture. Flushing performance data focuses on the actual flushing performance of the smart toilet, such as water consumption and flushing time per flush. The collected raw data is cleaned and filtered, and the processed data is integrated into the flushing test report according to the preset report template and evaluation standards.
[0091] Figure 2 This is a structural block diagram of a test fixture control device 200 for an intelligent toilet flushing system provided in the application embodiment.
[0092] like Figure 2 As shown, the test fixture control device 200 for the intelligent toilet flushing system mainly includes:
[0093] The data parameter acquisition module 201 is used to acquire historical flushing system test data, test requirements, and device parameters of the target smart toilet in response to the flushing test operation.
[0094] The target program determination module 202 is used to select a scheme from the preset test program based on the equipment parameters and determine the target test program.
[0095] The historical data extraction module 203 is used to extract historical test data of the flushing system based on equipment parameters to obtain historical test data;
[0096] Test plan generation module 204 is used to generate test plans based on historical test data and test requirements;
[0097] The test plan generation module 205 is used to adjust and modify the test plan based on the target test program and generate the target flushing test plan.
[0098] The tooling test control module 206 is used to control the test tooling based on the target flushing test plan.
[0099] As an optional implementation of this embodiment, the target program determination module 202 is specifically used to extract the adaptation parameters of each program category in the preset test program and generate an adaptation parameter range; compare the device parameters with the adaptation parameter range and calculate the parameter matching degree; select the test program with the highest parameter matching degree as a candidate program; determine whether the number of candidate programs is one; if the number of candidate programs is one, then the candidate program is used as the target test program; if the number of candidate programs is not one, then the candidate programs are screened based on the core test items in the test requirements to determine the target test program.
[0100] As an optional implementation of this embodiment, the historical data extraction module 203 is specifically used to determine the flushing system type and core component model of the target smart toilet based on the device parameters; extract data from the historical flushing system registration data based on the flushing system type and core component model to obtain past test data; remove invalid data from the past test data to obtain valid test data; and classify and organize the valid test data according to preset test dimensions to generate historical test data.
[0101] As an optional implementation of this embodiment, the test plan generation module 204 is specifically used to determine the target test stage and test indicators based on historical test data and test requirements; allocate the time proportion of the target test stage based on the test requirements to generate a time allocation result; determine the basic number of tests and the adjustment range of multi-segment cyclic tests based on the time allocation result; and construct a test plan based on the test indicators, the basic number of tests, and the adjustment range.
[0102] As an optional implementation of this embodiment, the test plan generation module 205 is specifically used to perform a compatibility test between the test plan and the target test program, and generate compatibility test results; determine whether there is a test logic conflict based on the compatibility test results; if there is a test logic conflict, extract the test logic conflict data; adjust the test logic conflict data based on the target test program to generate adjustment data; adjust and modify the test plan based on the adjustment data to generate the target flushing test plan; if there is no test logic conflict, optimize the logical switching order of the target test steps based on the target test program to generate the target flushing test plan.
[0103] As an optional implementation of this embodiment, the tooling test control module 206 is specifically used to determine the execution component of the test tooling based on the target flushing test plan; convert the target flushing test plan into control instructions corresponding to the execution component, and send the control instructions to the test tooling; the test tooling performs test control until the preset number of tests is reached or the fault warning condition is triggered, and then the test stops.
[0104] As an optional implementation of this embodiment, the test fixture control device 200 for the intelligent toilet flushing system further includes:
[0105] The working data acquisition module is used to collect component working data and flushing performance data in real time during the execution of the test fixture;
[0106] The test report generation module is used to generate flushing test reports based on component working data and flushing performance data.
[0107] In one example, the module in any of the above devices may be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
[0108] For example, when modules in a device can be implemented via a processing element scheduler, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor capable of calling programs. Alternatively, these modules can be integrated together as a system-on-a-chip (SOC).
[0109] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device and module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0110] Figure 3 This is a structural block diagram of the electronic device 300 provided in an embodiment of this application.
[0111] like Figure 3 As shown, the electronic device 300 includes a processor 301 and a memory 302, and may further include one or more of an information input / output (I / O) interface 303, a communication component 304, and a communication bus 305.
[0112] The processor 301 controls the overall operation of the electronic device 300 to complete all or part of the steps of the aforementioned test fixture control method for the intelligent toilet flushing system. The memory 302 stores various types of data to support the operation of the electronic device 300. This data may include, for example, instructions for any application or method operating on the electronic device 300, as well as application-related data. The memory 302 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as one or more of Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0113] I / O interface 303 provides an interface between processor 301 and other interface modules, such as keyboards, mice, and buttons. These buttons can be virtual or physical. Communication component 304 is used for wired or wireless communication between electronic device 300 and other devices. Wireless communication includes Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination thereof. Therefore, the corresponding communication component 304 may include a Wi-Fi component, a Bluetooth component, and an NFC component.
[0114] The electronic device 300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to execute the test fixture control method for the intelligent toilet flushing system given in the above embodiments.
[0115] The communication bus 305 may include a path for transmitting information between the aforementioned components. The communication bus 305 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 305 may be divided into an address bus, a data bus, a control bus, etc.
[0116] Electronic device 300 may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers, and may also be servers.
[0117] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described test fixture control method for an intelligent toilet flushing system.
[0118] The computer-readable storage medium may include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0119] The terms “comprising,” “including,” or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
[0120] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the foregoing application concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions claimed in this application.
Claims
1. A control method for a testing fixture of an intelligent toilet flushing system, characterized in that, include: In response to flushing test operations, acquire historical flushing system test data, test requirements, and device parameters of the target smart toilet; Based on the device parameters, a scheme is selected in the preset test program to determine the target test program; Based on the equipment parameters, the historical test data of the flushing system is extracted to obtain historical test data; A test plan is generated based on the historical test data and the test requirements. Based on the target test procedure, the test plan is adjusted and modified to generate a target flushing test scheme; The test fixture is controlled based on the target flushing test scheme.
2. The method according to claim 1, characterized in that, The step of selecting a scheme based on the device parameters in a preset test program and determining the target test program includes: The adaptation parameters for each program category in the preset test program are extracted to generate an adaptation parameter range; The device parameters are compared with the range of compatible parameters to calculate the parameter matching degree; The test program with the highest parameter matching degree was selected as the candidate program; Determine whether the number of candidate programs is one; If the number of candidate programs is one, then the candidate program is used as the target test program; If the number of candidate programs is not one, the candidate programs are screened based on the core test items in the test requirements to determine the target test program.
3. The method according to claim 1, characterized in that, The process of extracting historical test data from the historical flushing system based on the equipment parameters to obtain historical test data includes: Based on the device parameters, determine the flushing system type and core component model of the target smart toilet; Based on the type of flushing system and the model of the core component, data is extracted from the historical flushing system data to obtain past test data. Invalid data is removed from the previous test data to obtain valid test data; The valid test data is categorized and organized according to preset test dimensions to generate historical test data.
4. The method according to claim 1, characterized in that, The process of generating a test plan based on the historical test data and the test requirements includes: Based on the historical test data and the test requirements, the target test stages and test metrics are determined. Based on the aforementioned testing requirements, the time allocation for the target testing phase is determined, and a time allocation result is generated. Based on the time allocation results, determine the base number of multi-segment cyclic tests and the adjustment range; A test plan is constructed based on the aforementioned test metrics, the base number of tests, and the adjustment range.
5. The method according to claim 4, characterized in that, The step of adjusting and modifying the test plan based on the target test program to generate the target flushing test scheme includes: The test plan is then subjected to a compatibility test with the target test program, and compatibility test results are generated. Based on the compatibility test results, determine whether there are any test logic conflicts; If test logic conflicts exist, extract the test logic conflict data; Based on the target test program, the test logic conflict data is adjusted to generate adjusted data; Based on the adjusted data, the test plan is adjusted and modified to generate a target flushing test plan; If there are no test logic conflicts, the logical switching order of the target test steps is optimized based on the target test program to generate a target flushing test plan.
6. The method according to claim 1, characterized in that, The test control of the test fixture based on the target flushing test scheme includes: The execution components of the test fixture are determined based on the target flushing test plan; The target flushing test plan is converted into control commands corresponding to the execution component, and the control commands are sent to the test fixture. The test fixture performs test control until the preset number of tests is reached or a fault warning condition is triggered, at which point the test stops.
7. The method according to claim 6, characterized in that, After the preset number of tests is reached or the fault warning condition is triggered, the following is also included: Real-time acquisition of component working data and flushing performance data during the execution of the test fixture; A flushing test report is generated based on the component's operating data and the flushing performance data.
8. A testing fixture control device for an intelligent toilet flushing system, characterized in that, include: The data parameter acquisition module is used to acquire historical flushing system test data, test requirements, and device parameters of the target smart toilet in response to flushing test operations. The target program determination module is used to select a scheme from a preset test program based on the device parameters and determine the target test program. The historical data extraction module is used to extract historical test data of the flushing system based on the equipment parameters to obtain historical test data; The test plan generation module is used to generate a test plan based on the historical test data and the test requirements. The test plan generation module is used to adjust and modify the test plan based on the target test program to generate a target flushing test plan. The tooling test control module is used to control the test tooling based on the target flushing test scheme.
9. An electronic device, characterized in that, Includes a processor, which is coupled to a memory; The processor is configured to execute a computer program stored in the memory to cause the electronic device to perform the method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, It includes a computer program or instructions that, when run on a computer, cause the computer to perform the method as described in any one of claims 1 to 7.