A multi-channel synchronous data acquisition control method and system of a urodynamic analyzer

By constructing a consistent acquisition session and multi-dimensional quality rating, the safety protection issues and timing synchronization deviations of the urodynamic analyzer during wireless link interruption were resolved, thus improving the accuracy and safety of urodynamic examinations.

CN122266705APending Publication Date: 2026-06-23GUANGZHOU PUDONG MEDICAL EQUIP CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGZHOU PUDONG MEDICAL EQUIP CO LTD
Filing Date
2026-03-20
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

Existing urodynamic analyzers suffer from safety protection failures when the wireless link is interrupted, insufficient multi-channel timing synchronization accuracy, and poor data quality control, failing to meet the clinical requirements for high precision and high safety in urodynamic examinations.

Method used

The executable configuration package is determined based on a hierarchical configuration description file, and a data acquisition session with consistent parameters is constructed through two-phase atomic commit. The lower-level machine is driven by the first frequency to perform local physiological data acquisition and security protection, and the full-channel data acquisition and uploading is driven by the second frequency. The clock deviation data of the full-channel data is combined to perform timestamp correction and alignment, perform multi-dimensional quality rating, and control the inspection state machine based on the current quality level and security rule table.

Benefits of technology

It achieves security protection in the event of wireless link anomalies, compensates for clock drift, improves the timing synchronization accuracy of multi-channel data and data quality assessment, and ensures the safety of the inspection process and the accuracy of the test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122266705A_ABST
    Figure CN122266705A_ABST
Patent Text Reader

Abstract

This invention provides a multi-channel synchronous data acquisition control method and system for a urodynamic analyzer. The method includes: determining an executable configuration package based on a hierarchical configuration description file, and performing a two-stage atomic commit based on the executable configuration package to construct a parameter-consistent acquisition session; determining a first frequency and a second frequency based on the acquisition scheduling table in the executable configuration package, and driving the lower-level machine to perform local physiological data acquisition and security protection based on the first frequency, and driving the lower-level machine to perform full-channel data acquisition and uploading based on the second frequency; and performing timestamp correction and alignment of the full-channel data based on the clock deviation data determined from the full-channel data to obtain an aligned data sequence with a unified time reference. This invention achieves closed-loop coordination of the acquisition process, data quality, and security protection, further ensuring the safety of the examination process and the accuracy of the test results, ultimately meeting the clinical needs for high precision and high safety in urodynamic examinations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a multi-channel synchronous data acquisition and control method and system for a urodynamic analyzer. Background Technology

[0002] Urodynamic testing is a key tool in urology for diagnosing lower urinary tract dysfunction. This test requires the simultaneous acquisition of multiple physiological signals, including intravesical pressure, abdominal pressure, urethral pressure, urinary flow rate, and pelvic floor electromyography. During the acquisition process, the perfusion pump, push pump, and other actuators are controlled in real time. At the same time, bladder pressure safety protection is implemented based on the acquired data to ensure the safety of the examination process and the accuracy of the test results.

[0003] Existing multi-channel synchronous data acquisition and control methods for urodynamic analyzers typically employ an architecture of centralized control by a host computer and distributed acquisition by a slave computer. That is, the host computer is responsible for data display, analysis, and command issuance, while the slave computer is responsible for signal acquisition and mechanism drive. The two communicate with each other via wired or wireless means. However, in practical applications, existing methods suffer from several drawbacks. First, at the data acquisition and security control level, a single-loop execution architecture is used. Data acquisition, security judgment, and execution mechanism control all rely on the same communication link and control process. The security protection logic runs entirely on the host computer side. When the wireless link is interfered with, the signal is attenuated, or interrupted, the transmission delay of security commands increases significantly, and commands may even be lost or protection may fail, making it impossible to provide timely and effective security protection for patients and posing a clinical safety hazard. Second, in terms of multi-channel data synchronization and quality control, the host computer and slave computer, as well as the host module and urine collection device module, use independent clock sources. Clock drift is prone to occur during long-term examinations, leading to the accumulation of timing deviations in multi-channel data and affecting the accuracy of pressure and flow collaborative analysis. At the same time, data quality assessment is achieved only through simple amplitude judgment and frame loss statistics, failing to combine physiological signal characteristics for multi-dimensional quantitative grading. This results in abnormal data not being accurately identified and isolated, which can easily interfere with diagnostic results.

[0004] In summary, existing multi-channel acquisition and control methods for urodynamic analyzers suffer from problems such as failure of safety protection when the wireless link is interrupted, insufficient accuracy of multi-channel timing synchronization, and poor data quality control, which cannot meet the clinical needs for high precision and high safety in urodynamic examinations. Summary of the Invention

[0005] This invention provides a multi-channel synchronous data acquisition and control method and system for a urodynamic analyzer, which realizes closed-loop coordination of the acquisition process, data quality and safety protection, ensures the safety of the examination process and the accuracy of the test results, and ultimately meets the clinical needs for high precision and high safety in urodynamic examinations.

[0006] In a first aspect, the present invention provides a multi-channel synchronous data acquisition and control method for a urodynamic analyzer, comprising: An executable configuration package is determined based on a hierarchical configuration description file, and a two-phase atomic commit is performed based on the executable configuration package to build a data acquisition session with consistent parameters. The first frequency and the second frequency are determined based on the acquisition scheduling table in the executable configuration package. The lower-level machine is driven to perform local physiological data acquisition and security protection based on the first frequency, and to perform full-channel data acquisition and uploading based on the second frequency. Based on the clock deviation data determined from the full-channel data, the full-channel data is timestamped and aligned to obtain an aligned data sequence with a unified time reference. Based on the aligned data sequence, a multi-dimensional quality rating is performed to obtain the current quality level of each sampling point. Based on the current quality level and the security rule table in the executable configuration package, the stage entry permission judgment result is determined, and the inspection state machine is switched based on the stage entry permission judgment result.

[0007] In a second aspect, the present invention also provides a multi-channel synchronous data acquisition and control system for a urodynamic analyzer, applied to the multi-channel synchronous data acquisition and control method for a urodynamic analyzer as described in the first aspect; the multi-channel synchronous data acquisition and control system for the urodynamic analyzer includes: The hierarchical configuration and session construction module is used to determine the executable configuration package based on the hierarchical configuration description file, and to perform a two-phase atomic commit based on the executable configuration package to construct a collection session with consistent parameters. The data acquisition and security protection module is used to determine the first frequency and the second frequency based on the acquisition scheduling table in the executable configuration package, and drive the lower-level machine to perform local physiological data acquisition and security protection based on the first frequency, and drive the lower-level machine to perform full-channel data acquisition and uploading based on the second frequency. The clock correction alignment and quality rating module is used to perform timestamp correction and alignment on the full-channel data based on the clock deviation data determined by the full-channel data, to obtain an aligned data sequence with a unified time reference, and to perform multi-dimensional quality rating based on the aligned data sequence to obtain the current quality level of each sampling point. The phase access and state machine control module is used to determine the phase entry permission judgment result based on the current quality level and the security rule table in the executable configuration package, and to control the switching of the inspection state machine based on the phase entry permission judgment result.

[0008] Thirdly, the present invention also provides an electronic device, comprising: a memory for storing computer software programs; and a processor for reading and executing the computer software programs, thereby realizing the multi-channel synchronous data acquisition and control method of the urodynamic analyzer described above.

[0009] Fourthly, the present invention also provides a non-transitory computer-readable storage medium storing a computer software program, which, when executed by a processor, implements the multi-channel synchronous data acquisition and control method of the urodynamic analyzer described above.

[0010] Fifthly, the present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the multi-channel synchronous data acquisition and control method of the urodynamic analyzer described above.

[0011] The multi-channel synchronous data acquisition control method for a urodynamic analyzer provided in this invention determines an executable configuration package based on a hierarchical configuration description file and constructs a consistent acquisition session through two-stage atomic commits, ensuring unified configuration parameters between the host computer and the slave computer, as well as among various modules. Based on the acquisition scheduling table in the executable configuration package, a first frequency and a second frequency are determined. The first frequency drives the slave computer to achieve local physiological data acquisition and security protection, allowing security protection logic to be executed locally on the slave computer, no longer entirely dependent on the communication link between the host computer and the slave computer. This solves the problems of security command delay, loss, and protection failure caused by communication anomalies in existing methods, eliminating clinical safety hazards. Simultaneously, the second frequency drives the slave computer to perform full-channel data acquisition and uploading, ensuring comprehensive acquisition of multi-channel physiological signals. Furthermore, a linear drift model constructed based on the clock deviation data carried by the full-channel data is used to timestamp the full-channel data. Correction and alignment yield an aligned data sequence with a unified time reference, effectively compensating for clock drift caused by independent clock sources in existing methods. This solves the problem of accumulated timing deviations in multi-channel data and improves the accuracy of pressure and flow collaborative analysis. Based on this, a multi-dimensional quality rating is performed on the aligned data sequence, overcoming the limitations of simple amplitude judgment and frame loss statistics. This enables accurate identification and isolation of abnormal data, resolving the issue of coarse data quality control and preventing interference from abnormal data with diagnostic results. Finally, based on the current quality level and the safety rule table in the executable configuration package, the stage entry permission judgment result is determined, and the examination state machine is switched. This deeply integrates data quality control and security control, achieving closed-loop collaboration between the acquisition process, data quality, and security protection. This further ensures the safety of the examination process and the accuracy of the test results, ultimately meeting the clinical needs for high precision and high safety in urodynamic examinations. Attached Figure Description

[0012] Figure 1This is a flowchart illustrating the multi-channel synchronous data acquisition and control method for a urodynamic analyzer provided in an embodiment of the present invention. Figure 2 This is a schematic diagram of the structure of the multi-channel synchronous data acquisition and control system of the urodynamic analyzer provided in this embodiment of the invention; Figure 3 An embodiment diagram of the electronic device provided in this invention; Figure 4 An embodiment diagram of a computer-readable storage medium provided in accordance with the present invention. Detailed Implementation

[0013] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0014] In the description of this invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0015] In the description of this invention, the term "for example" is used to mean "used as an example, illustration, or description." Any embodiment described as "for example" in this invention is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed herein.

[0016] See Figure 1 , Figure 1 This is a flowchart illustrating the multi-channel synchronous data acquisition and control method for a urodynamic analyzer provided by the present invention. In this embodiment of the invention, the executing entity of the multi-channel synchronous data acquisition and control method for the urodynamic analyzer is the data acquisition and control system. Therefore, the multi-channel synchronous data acquisition and control method for the urodynamic analyzer includes: Step 10: Determine the executable configuration package based on the hierarchical configuration description file, and perform a two-phase atomic commit based on the executable configuration package to build a data acquisition session with consistent parameters.

[0017] Optionally, the data acquisition and control system reads a pre-stored or pre-input hierarchical configuration description file, compiles and statically analyzes the hierarchical configuration description file, and generates an executable configuration package, as described in steps 101 to 102. The hierarchical configuration description file includes a basic configuration layer, an institutional configuration layer, and an examination configuration layer. The basic configuration layer is a fixed configuration at the device model level, used to define fixed parameters and underlying safety constraints strongly related to hardware capabilities, including the maximum number of channels supported by the device, sensor range and resolution, hardware filtering parameters, minimum execution frequency for local safety protection, safety invariants, minimum bandwidth requirements for wireless communication, unique device identifier, and calibration version information. The institutional configuration layer is a custom configuration at the clinical institution / department level, including department-wide bladder pressure alert thresholds and pump stop thresholds, pressure change rate safety thresholds, data quality grading standards, event log storage strategies, and operator permission rules. The examination configuration layer is a dynamic configuration at the single examination task level, used for the current patient and the current examination item (urinary flow rate measurement, pressure...). (Flow coordination measurement, urethral function measurement, etc.), including the channel combination used in this examination, the sampling frequency of each channel, the calculation rules of derived channels, the state machine transition conditions of the examination stage, the stage switching threshold group, and the wireless link adaptive degradation strategy.

[0018] Optionally, after generating the executable configuration package, the data acquisition and control system distributes the executable configuration package to each lower-level module through a two-stage atomic commit. This completes the system-wide parameter consistency verification and activation, establishes a uniquely identified acquisition session, and ensures that the acquisition parameters, control parameters, and safety parameters of the urodynamic analyzer's host computer and lower-level computer, as well as the host module and urine collector module, are completely unified. Specifically, this is the process from steps 103 to 107. The lower-level computer includes the host control acquisition module of the urodynamic analyzer and the hardware execution unit of the urine collector module, which is responsible for signal acquisition, actuator driving, and local safety control. The host computer refers to the core computing and human-computer interaction unit of the urodynamic analyzer.

[0019] Step 20: Determine the first frequency and the second frequency based on the acquisition scheduling table in the executable configuration package, and drive the lower-level machine to perform local physiological data acquisition and security protection based on the first frequency, and drive the lower-level machine to perform full-channel data acquisition and uploading based on the second frequency.

[0020] Optionally, the data acquisition and control system extracts a first frequency and a second frequency from the acquisition scheduling table of the executable configuration package. The first frequency refers to the local safety loop operating frequency, and the second frequency refers to the data acquisition and upload frequency. Then, the lower-level machine is driven independently at the first frequency to complete the acquisition of key physiological signals, local safety judgment, and actuator control, without relying on the wireless communication link. The lower-level machine is driven at the second frequency to complete the acquisition of physiological signals from all channels, data encapsulation, and wireless upload. The two loops share a unified hardware time base and do not interfere with each other. The local physiological data acquisition and safety protection are performed as in steps 201 to 203, and the full-channel data acquisition and upload are performed as in steps 204 to 205.

[0021] Step 30: Based on the clock deviation data determined by the full channel data, perform timestamp correction and alignment on the full channel data to obtain an aligned data sequence with a unified time reference, and perform multi-dimensional quality rating based on the aligned data sequence to obtain the current quality level of each sampling point.

[0022] Optionally, the data acquisition and control system calculates the clock deviation data between each module and the data acquisition and control system based on the full-channel data uploaded by the host module and the urine collector module, and uses the calculated clock deviation data to perform timestamp correction and alignment on the full-channel data, aligning the multi-channel data to a unified time reference to form an aligned data sequence, as described in steps 3011 to 3016.

[0023] Optionally, the data acquisition and control system performs multi-dimensional quality quantification rating based on the obtained aligned data sequence, such as amplitude rationality, clock continuity, frame integrity, sensor status, and cross-channel physiological coherence, and finally outputs a unique quality, that is, the current quality level of each sampling point, as in steps 3021 to 3026.

[0024] Step 40: Based on the current quality level and the security rule table in the executable configuration package, determine the stage entry permission judgment result, and control the switching of the inspection state machine based on the stage entry permission judgment result.

[0025] Optionally, the data acquisition and control system compares the current quality level of each sampling point with the preset quality permission threshold in the safety rule table of the executable configuration package to determine whether the inspection state machine is allowed to enter the next execution stage, as in steps 401 to 405. Based on the determination result, the system controls the inspection state machine to legally switch between the standby, pre-filling, filling, waiting, urination emptying, and traction pressure measurement stages, and prohibits it from entering the high-risk operation stage when the quality of the critical channel is not up to standard. Here, the inspection state machine refers to the state switching unit that manages the urodynamic examination process, including the standby, pre-filling, filling, waiting, urination emptying, and traction pressure measurement stages.

[0026] Furthermore, if the entry permission judgment result is entry prohibited, the inspection state machine will remain unchanged at the current stage and will not execute stage jump. The host computer will immediately output an audible and visual alarm prompt and display the reason for entry prohibition on the human-machine interface (such as the quality of the key channel is not up to standard, or the physiological coherence of the cross channel is abnormal). At the same time, the start and operation permissions of the injecting pump, push pump, traction device and other actuators will be automatically locked to prevent the start of high-risk operations. The current channel data will be continuously collected, quality rated and permission judged until the data quality meets the access conditions. At the same time, the entry prohibition event, the time of occurrence, the reason and the quality level will be written into the audit log for post-event traceability. If the entry permission judgment result is allowed, the state machine will automatically jump to the next stage according to the preset process. The host computer will automatically load the safety threshold group, control strategy and sampling parameters corresponding to the next stage from the executable configuration package, and unlock the operation permissions of the actuators allowed in the next stage. The system will operate normally according to the current stage control mode (manual / automatic / closed loop), reset the quality alarm, timer counter and pressure change rate calculation window of the previous stage, and write the allowed entry, stage switching time and the status before and after the switch into the audit log for full traceability.

[0027] Step 50: Based on the wireless link quality score constructed from the unit time frame reception rate, signal strength and round-trip delay data in the full channel data, determine the adaptive frequency reduction strategy, and adjust the second frequency while maintaining the first frequency based on the adaptive frequency reduction strategy.

[0028] Optionally, the data acquisition and control system uses the communication board to statistically analyze the frame reception rate, wireless signal reception strength, and frame round-trip delay in real time during the wireless transmission process. The frame reception rate refers to the ratio of the number of successfully received data frames to the total number of transmitted data frames within a unit of time. The signal strength refers to the received signal strength indication value of the wireless signal between the communication board and the lower-level machine. The round-trip delay refers to the total time from when the data recovery device sends a probe frame to when it receives a response frame from the lower-level machine. The system calculates a wireless link quality score (a score ranging from 0 to 100, where a higher score indicates better wireless link communication) by weighting the frame reception rate, signal strength, and round-trip delay according to preset weights. The frame reception rate has the highest weight, followed by signal strength, and the round-trip delay has the lowest weight. These weights are pre-written into the executable configuration package. The real-time calculated wireless link quality score is then compared with multiple preset frequency thresholds in the executable configuration package to determine the applicable adaptive frequency reduction strategy. The frequency levels, ranked from highest to lowest communication quality, are 100 Hz, 50 Hz, 25 Hz, and 10 Hz, with each frequency level corresponding to a unique wireless link quality score range. The adaptive frequency reduction strategy includes frequency reduction trigger conditions, frequency increase trigger conditions, frequency switching order, and safety parameter adaptation rules after frequency reduction.

[0029] Furthermore, the data acquisition and control system, based on a matched adaptive frequency reduction strategy, sends frequency adjustment commands to the lower-level computer, modifying only the second frequency (data acquisition and upload frequency) while maintaining the first frequency (local safety loop operating frequency) unchanged throughout the process. This ensures that the real-time performance of local safety protection is unaffected by the wireless link status. When the wireless link quality score remains above the frequency increase threshold, the second frequency is gradually increased back to its original level according to a preset backoff time. When the wireless link quality score falls below the frequency reduction threshold, the second frequency is immediately reduced to the corresponding level, and the sliding window length for calculating the pressure change rate is simultaneously extended after the frequency reduction to maintain the accuracy of the pressure change rate estimation. This pressure change rate refers to the magnitude of change in intrabladder pressure per unit time, used to identify high-risk states of rapid filling. Finally, each second frequency adjustment event is fully recorded, including the adjustment time, frequency before adjustment, frequency after adjustment, wireless link quality score at the time of adjustment, and reason for adjustment. All records are bound to a unique identifier of the acquisition session for subsequent data quality traceability and fault analysis.

[0030] This invention determines the executable configuration package based on a hierarchical configuration description file and constructs a consistent acquisition session through two-phase atomic commits, ensuring unified configuration parameters between the host computer and the slave computer, as well as among various modules. Based on the acquisition scheduling table in the executable configuration package, a first frequency and a second frequency are determined. The first frequency drives the slave computer to achieve local physiological data acquisition and security protection, allowing security protection logic to be executed locally on the slave computer, no longer entirely dependent on the communication link between the host computer and the slave computer. This solves the problems of security command delays, loss, and protection failures caused by communication anomalies in existing methods, eliminating clinical safety hazards. Simultaneously, the second frequency drives the slave computer to perform full-channel data acquisition and uploading, ensuring comprehensive acquisition of multi-channel physiological signals. Furthermore, a linear drift model constructed based on the clock deviation data carried by the full-channel data is used to correct and align the timestamps of the full-channel data, obtaining a unified time base. The accurate aligned data sequence effectively compensates for clock drift caused by independent clock sources in existing methods, solves the problem of accumulated timing deviations in multi-channel data, and improves the accuracy of pressure and flow collaborative analysis. On this basis, the aligned data sequence is subjected to multi-dimensional quality rating, breaking through the limitations of existing simple amplitude judgment and frame loss statistics, realizing accurate identification and isolation of abnormal data, solving the problem of rough data quality control, and avoiding interference of abnormal data with diagnostic results. Finally, based on the current quality level and the safety rule table in the executable configuration package, the stage entry permission judgment result is determined and the examination state machine is switched and controlled, deeply integrating data quality control and security control, realizing closed-loop collaboration of acquisition process, data quality and security protection, further ensuring the safety of the examination process and the accuracy of test results, and ultimately meeting the clinical needs for high precision and high safety in urodynamic examination.

[0031] Optionally, step 101 refers to the process of step 102, which includes: Step 101: Parse the hierarchical configuration description file and construct a channel-dependent directed acyclic graph describing the data flow and a control safety rule graph describing the control logic based on the parsing results; the channel-dependent directed acyclic graph includes the original channel type, computation operators and inter-channel dependency edges; the control safety rule graph includes the check phase state machine, threshold groups for each phase, safety invariants and phase entry permission conditions.

[0032] Optionally, the data acquisition and control system first performs file format, field integrity, cyclic redundancy check (CRUD) value, and digital signature verification on the hierarchical configuration description file read from local storage or an external interface. After passing the verification, the system parses the basic configuration layer, organizational configuration layer, and inspection configuration layer sequentially from top to bottom, extracting parameters such as channel type, calculation rules, control strategies, security constraints, real-time parameters, and traceability information to form structured parsed data. The CRUD value is used to verify whether data errors have occurred during the transmission and storage of the configuration file. Then, based on the parsed data... A channel-dependent directed acyclic graph (DAG) is constructed to describe the data flow (i.e., from raw physiological signals to derived computational signals). This DAG consists of three parts: original channel types, computation operators, and inter-channel dependency edges. The original channel types include intravesical pressure channels, abdominal pressure channels, urethral pressure channels, urinary flow rate channels, pelvic floor electromyography channels, and urine volume channels. The computation operators include subtraction, difference, low-pass filtering, unit conversion, and least squares fitting operations. Inter-channel dependency edges represent the computational order and data supply relationships between channels, ensuring no cyclic dependencies. Subsequently, the data acquisition and control system performs topological sorting on the DAG to determine the computational order of all derived channels, ensuring that the computation process is conflict-free and complete.

[0033] Simultaneously, the data acquisition and control system also constructs a control safety rule diagram to describe the control logic based on the analyzed data. This control safety rule diagram includes four parts: the state machine for the inspection phase, threshold groups for each phase, safety invariants, and phase entry permission conditions. The state machine for the inspection phase includes the standby phase, pre-filling phase, filling phase, waiting phase, urination and emptying phase, and traction pressure measurement phase. The threshold groups for each phase are the pressure alert threshold, pressure stop threshold, duration threshold, and pressure change rate threshold corresponding to each inspection phase. Safety invariants refer to the hard safety constraints that the system must meet, such as the pump stop response time during the filling phase not exceeding the set maximum value. The phase entry permission conditions are the judgment conditions that allow the state machine to switch from the current phase to the next phase, including data quality level conditions, channel status conditions, and physiological coherence conditions.

[0034] Step 102: Perform static analysis based on the channel-dependent directed acyclic graph and the control security rule graph to obtain the analysis results. If the analysis results are for all channels, generate an executable configuration package. The executable configuration package includes an acquisition scheduling table, a derived channel operator sequence, a security rule table, a quality of service policy table, and a metadata list. The metadata list includes the configuration version number, configuration hash value, calibration version, and device capability requirement signature.

[0035] Optionally, the data acquisition and control system, based on the channel-dependent directed acyclic graph and the control safety rule graph, sequentially performs four static analyses. If all analyses pass, the result is deemed acceptable; if any fails, the configuration is deemed infeasible and an error message is returned. The four static analyses are, in order: unit and dimension consistency verification, safety invariant satisfiability verification, multi-rate scheduling feasibility analysis, and degradation reachability analysis. The unit and dimension consistency verification refers to verifying the matching of physical units and dimensions in the calculation formulas of all derived channels, for example, detrusor pressure = The units for bladder cavity pressure, abdominal pressure, and all three are centimeters of water column. If the dimensions are consistent, the verification passes. The safety invariant satisfiability verification refers to calculating the worst-case control loop delay based on the configured sampling frequency, communication delay model, and local safety loop execution cycle. This worst-case control loop delay refers to the longest possible time from signal acquisition to actuator action. If the worst-case control loop delay is less than or equal to the maximum allowable response time specified by the safety invariant, the verification passes. The multi-rate scheduling feasibility analysis refers to verifying that data frames from all channels at the highest sampling frequency can be transmitted within the bandwidth constraint based on the priority of each channel, the upper limit of wireless communication bandwidth, and data buffer capacity. If it is not feasible, the analysis fails. The degradation reachability analysis refers to verifying that when the communication link quality is reduced to the lowest sampling frequency level, the critical safety channel can still meet the safety invariant requirements and ensure minimum safety protection capability.

[0036] Optionally, after all four static analyses pass, the data acquisition and control system generates an executable configuration package. This executable configuration package is a compiled product containing all runtime execution instructions, specifically including an acquisition scheduling table, a derived channel operator sequence, a security rule table, a quality of service policy table, and a metadata list. The acquisition scheduling table defines the first frequency of the local security loop, the second frequency of the data upload loop, the channel enable status, and the sampling trigger rules. The derived channel operator sequence refers to the set of derived channel calculation steps determined by the topology sorting result. The security rule table includes threshold groups for each stage, pressure change rate parameters, and stage entry permission conditions. The quality of service policy table defines the sampling rate, reporting rate, and quantization bit width adjustment rules for each channel when the communication link is degraded. The metadata list includes the configuration version number, configuration hash value, calibration version, and device capability requirement signature, used for parameter consistency verification and full traceability.

[0037] The embodiments of the present invention upgrade configuration management from traditional parameter tables to a systematic control that is compilable, verifiable, and traceable, ensuring consistent parameters, reliable execution, and secure control throughout the system from the source.

[0038] Optionally, step 103 refers to the process of step 108, which includes: Step 103: The host computer sends the metadata list field, digital signature information and resource requirement description parameters in the executable configuration package to each slave computer, and triggers the slave computer to perform digital signature validity verification, device capability matching verification and shadow configuration area available space detection.

[0039] Optionally, the data acquisition and control system controls the host computer to extract the metadata list, digital signature information, and resource requirement description parameters from the generated executable configuration package, and sends the information to all slave computers via the communication board. Upon receiving the information, the slave computers immediately and automatically perform three detection operations: first, they verify the integrity and legality of the digital signature information sent by the host computer to confirm that the configuration has not been tampered with and that its source is legitimate; second, they compare their own hardware capabilities, such as the number of channels supported, sampling frequency range, analog-to-digital conversion resolution, local security ring execution computing power, and storage capacity, with the resource requirement description parameters to determine whether the hardware meets the operating requirements of the executable configuration package; and third, they check whether the remaining storage space in the shadow configuration area inside the slave computer, which is used to temporarily store the configuration data to be activated, is sufficient to accommodate the fragmented data of this executable configuration package.

[0040] Step 104: After completing the digital signature validity verification, device capability matching verification, and shadow configuration area available space detection, the lower-level machine returns a preparatory stage response frame containing a ready status flag or a rejection status flag, until all lower-level machines return the ready status flag.

[0041] Optionally, after the lower-level machine completes the digital signature validity verification, equipment capability matching verification, and shadow configuration area available space detection, the data acquisition and control system returns a preparatory stage response frame to the upper-level machine. If all verifications pass, a ready status flag is returned; if any one fails, a rejection status flag is returned. The upper-level machine continues to wait until all lower-level machines return the ready status flag before proceeding to the next stage. If any lower-level machine returns the rejection flag, the upper-level machine immediately terminates the current submission and triggers configuration rollback.

[0042] Step 105: The host computer sends the incremental fragmented data from the executable configuration package to the shadow configuration area of ​​each slave computer to preload the configuration data in the inactive state until each slave computer completes the writing operation in the shadow configuration area. Then, it returns a write completion confirmation frame and a security boundary time signal of the state machine in the check phase to obtain the global commit permission instruction. The fragmented data includes the acquisition scheduling table, the security rule table, and the service quality policy table.

[0043] Optionally, the data acquisition and control system controls the host computer to split the executable configuration package into fragmented data. The fragmented data includes an acquisition scheduling table, a security rule table, and a service quality policy table. The host computer then sends the fragmented data incrementally to the corresponding slave computers through the communication board. This incremental sending refers to a transmission method that transmits data in segments according to data blocks, without repetition, and without interrupting the current running configuration. The slave computers write the received fragmented data into the shadow configuration area. The shadow configuration area is a non-active storage area. The writing process does not affect the currently running active configuration area data. After all slave computers have completed writing to the shadow configuration area, they return a write completion confirmation frame to the host computer and simultaneously report the current security boundary moment signal of their own check phase state machine. After the host computer receives the write completion confirmation frames from all slave computers and confirms that all slave computers are at the security boundary moment, it generates a global commit permission command.

[0044] Step 106: Based on the global commit permission instruction, the host computer sends a commit phase command frame containing an atomic switch trigger command to all slave computers at the safety boundary moment of the check phase state machine, so as to instruct each slave computer to atomically switch the configuration data in its shadow configuration area to the configuration data in the active configuration area.

[0045] Optionally, the data acquisition and control system controls the host computer to send a submission phase command frame to all lower-level machines synchronously at the safety boundary of the state machine during the common inspection phase, based on the global submission permission instruction. The submission phase command frame contains an atomic switch trigger command, which instructs the lower-level machines to replace the original configuration data in the active configuration area with the configuration data in the shadow configuration area at the same time, in a one-time, indivisible and without intermediate states, to ensure the atomicity of the configuration switch.

[0046] Step 107: Based on the submission confirmation response frame containing the switching success status code returned by each lower-level machine after completing the configuration data switching in the activation configuration area, the configuration synchronization completion status is obtained, and a globally unique acquisition session identifier is generated based on the configuration synchronization completion status.

[0047] Optionally, after the lower-level machine completes the atomic switch, the data acquisition and control system fully loads the data in the shadow configuration area into the currently running active configuration and returns a submission confirmation response frame to the upper-level machine. The submission confirmation response frame carries a switch success status code. After the upper-level machine receives the switch success status codes from all lower-level machines, it determines that the configuration synchronization completion status is successful. Based on the configuration synchronization completion status, the upper-level machine generates a globally unique acquisition session identifier. This identifier contains timestamp information and configuration hash value information, which is used to uniquely identify the entire acquisition process.

[0048] Step 108: The host computer broadcasts the acquisition session identifier to all slave computers to complete the construction of an acquisition session with consistent parameters.

[0049] Optionally, the data acquisition and control system broadcasts the globally unique acquisition session identifier generated by the host computer to all slave computers via the communication board. All slave computers receive and store the acquisition session identifier, and attach the identifier to the header of all subsequent acquisition data frames and event frames. At this time, the host computer and all slave computers use completely consistent executable configuration package parameters and are all bound to the same acquisition session identifier, thus completing the construction of an acquisition session with consistent parameters.

[0050] This invention eliminates the risks of partial effectiveness, parameter mismatch, and chaotic data acquisition sequence caused by communication interruptions, equipment malfunctions, or improper switching timing during the configuration distribution process. It ensures that the host computer and slave computer, as well as the host control acquisition module and urine collection module, have completely unified acquisition parameters, control parameters, safety parameters, and quality of service policies before data acquisition begins. At the same time, it provides a stable and reliable parameter foundation and session guarantee for subsequent dual-loop safe execution, clock drift correction, multi-dimensional quality rating, and quality-driven stage control.

[0051] Optionally, the process of steps 201 to 205 includes: Step 201: Determine the hard real-time driving reference of the local security loop of the lower-level machine based on the first frequency, and drive the lower-level machine to trigger the analog-to-digital conversion of the key physiological channel sensors at a fixed period based on the hard real-time driving reference to obtain the local raw physiological signal sequence carrying a unified sample counter.

[0052] Optionally, the data acquisition and control system determines the first frequency predefined in the acquisition scheduling table in the executable configuration package as the hard real-time drive reference for the local safety loop of the lower-level machine, and drives the lower-level machine to perform analog-to-digital conversion on key physiological channel sensors at fixed cycles according to the hard real-time drive reference. The key physiological channel sensors refer to the intravesical pressure sensor and abdominal pressure sensor that are directly related to patient safety. After the analog-to-digital conversion is completed, the lower-level machine adds a unified sample counter to each set of conversion results. The unified sample counter refers to a globally unique, periodically increasing, and non-jumping counting identifier to ensure the continuity of time sequence. Finally, a local original physiological signal sequence is generated. This sequence is a set of signals that only contain key channels, have a unified counting identifier, and are acquired with high precision in hard real-time.

[0053] Step 202: Based on the local original physiological signal sequence and the security rule table in the executable configuration package, a security judgment is made to obtain the phased local security permission judgment result and the local actuator control instruction.

[0054] Optionally, the data acquisition and control system compares the local raw physiological signal sequence with the safety rule table in the executable configuration package in real time. This safety rule table includes absolute pressure threshold, pressure duration threshold, pressure change rate threshold, and quality gating conditions. Therefore, it sequentially performs the following checks: absolute pressure threshold check (whether the intravesical pressure is greater than or equal to the pressure stop threshold); pressure duration check (whether the over-threshold state has reached the set duration); pressure change rate check (using the sliding window least squares method to calculate the pressure change rate dp / dt, where dp is the pressure change in centimeters of water column and dt is the time change in seconds, and whether the change rate is greater than or equal to the pump stop threshold); and quality gating check (whether the signal amplitude and clock continuity meet the safety acquisition requirements). The system then combines the above checks to obtain a phased local safety permission check result. When any condition triggers protection, a local actuator control command is generated. The local actuator control command includes an infusion pump stop command, a push pump stop command, and a fail-safe mode entry command.

[0055] Step 203: Based on the local actuator control command, drive the pump control execution circuit of the lower-level machine to switch physical actions and obtain the real-time local safety protection response status.

[0056] Optionally, the data acquisition and control system directly outputs the local actuator control commands to the pump control execution circuit of the lower-level machine. The pump control execution circuit refers to the hardware drive circuit composed of general-purpose input / output interfaces or relays that directly drives the injection pump and the push pump, and controls the pump control execution circuit to perform physical action switching. The actions include start, stop, forward rotation, and reverse rotation. After the action is completed, the level status of the execution circuit and the operating status of the mechanism are collected in real time to form a local safety protection response status. The local safety protection response status includes normal operation, pump stopped, fault lock, and communication abnormality. Moreover, the entire execution process does not go through the wireless communication link and does not rely on the participation of the upper-level machine, which can ensure that it can still respond when the wireless is interrupted.

[0057] Step 204: Determine the variable transmission drive reference of the lower-level machine data ring based on the second frequency, and drive the lower-level machine to poll all enabled physiological channel sensors periodically according to the variable transmission drive reference, so as to obtain a complete data frame payload containing the raw data of all channels and the corresponding timestamp identifier and link quality identifier.

[0058] Optionally, the data acquisition and control system determines the second frequency, predefined in the acquisition scheduling table of the executable configuration package, as the variable transmission drive reference for the lower-level machine data loop. According to the variable transmission drive reference, the lower-level machine is driven to periodically poll all enabled physiological channel sensors at the second frequency. These enabled physiological channel sensors include bladder pressure, abdominal pressure, urethral pressure, urinary flow rate, pelvic floor electromyography, and urine volume sensors. After each polling, the acquired raw data of all channels, the lower-level machine local timestamp, and the current wireless link quality identifier are encapsulated into a complete data frame payload. The timestamp is used for subsequent timing alignment, and the link quality identifier is used for subsequent evaluation of the communication status by the upper-level machine.

[0059] Step 205: Based on the complete data frame payload and the global session identifier of the acquisition session, construct an uplink transmission data packet containing traceable metadata, and send the uplink transmission data packet to the host computer to obtain a multi-channel synchronous data stream at the host computer receiving end.

[0060] Optionally, the data acquisition and control system combines the complete data frame payload with a globally unique acquisition session identifier to construct an uplink transmission data packet containing traceability metadata, including a global session identifier, configuration hash value, and calibration version number. The lower-level computer sends the uplink transmission data packet to the upper-level computer through the communication board. The upper-level computer receives and parses all data packets to form a multi-channel synchronous data stream for subsequent timing correction, quality rating, and analysis.

[0061] This invention constructs a local security ring on the lower-level machine, independent of the wireless link and the host computer, using a first frequency. This enables real-time acquisition of key channels, local security judgment, and direct execution of pump control, allowing the security protection logic to be completely localized to the hardware. This completely solves the problems of security protection delay, loss, and failure caused by communication anomalies. At the same time, an adaptively adjustable data ring is constructed using a second frequency. While ensuring comprehensive acquisition and uploading of physiological signals across all channels, it shares a unified sample counter with the local security ring to achieve a common timing reference. This satisfies the clinical need for simultaneous acquisition of multiple channels and achieves decoupled operation of security control and data transmission.

[0062] Optionally, the process of steps 3011 to 3016 includes: Step 3011: Based on the original timestamps and sample counter sequences carried by the device side of the full-channel data and the global standard timestamp of the host computer receiving time, calculate the round-trip delay estimate for each frame of data, and sort the instantaneous clock deviation estimate obtained by back-calculating the round-trip delay estimate according to the data frame sequence index number to obtain the preliminary clock deviation sequence.

[0063] Optionally, the data acquisition and control system extracts the original timestamp and sample counter sequence carried in the full-channel data frames from the device side, and combines them with the global standard timestamp recorded by the host computer when receiving the frame. Using a clock probe frame mechanism, the estimated round-trip time is calculated, i.e., the estimated round-trip time = host computer receiving response timestamp - host computer sending probe frame timestamp. At the same time, based on the original timestamp on the device side, (the global standard timestamp at the time the host computer sends the probe frame plus half of the estimated round-trip time) is subtracted to obtain the estimated instantaneous clock deviation for the current frame. All the estimated instantaneous clock deviations are then sorted in ascending order of data frame sequence index number to form a preliminary clock deviation sequence.

[0064] Step 3012: Based on the preliminary clock deviation sequence and the sample counter sequence, the data are reordered according to the time sequence of sampling to obtain a discrete clock deviation observation point group distributed along the time axis. Abnormal jump points are removed from the discrete clock deviation observation point group to obtain a smoothed deviation time sequence input point group.

[0065] Optionally, the data acquisition and control system binds the initial clock deviation sequence with the sample counter sequence, rearranges them according to the actual sampling time sequence to form a discrete clock deviation observation point group distributed along the time axis, and performs abnormal jump point removal on the discrete clock deviation observation point group, that is, the difference between the current observation point value and the average value of the adjacent observation points is taken. If the difference exceeds the preset maximum allowable deviation threshold (e.g., 500 milliseconds), it is judged as an abnormal jump point and directly removed; continuous and stable deviation points are retained, and finally a smoothed deviation time sequence input point group is obtained.

[0066] Step 3013: Based on the deviation time series input point group, the effective deviation samples with stable deviation change trends within a continuous time period are screened to obtain high-confidence deviation time series data.

[0067] Optionally, the data acquisition and control system performs effective deviation sample screening on the smoothed deviation time series input point group, selects sample points whose deviation values ​​change with time in a stable linear trend without drastic fluctuations within a continuous time period, and excludes samples with excessive fluctuations or discontinuities, to obtain high-confidence deviation time series data.

[0068] Step 3014: Based on the initial deviation value, the final deviation value, and the corresponding time span in the high-confidence deviation timing data, calculate the linear drift rate constant characterizing the lower-level machine clock frequency relative to the global standard frequency.

[0069] Optionally, the data acquisition and control system extracts the starting deviation value (i.e., the first valid deviation value of the time period), the ending deviation value (i.e., the last valid deviation value of the time period), and the time span (i.e., the difference between the ending time and the starting time) based on the high-confidence deviation time series data. First, it calculates the total deviation change = ending deviation value minus starting deviation value. Then, it divides the total deviation change by the time span to obtain the linear drift rate constant, which characterizes the drift rate of the lower-level machine clock frequency relative to the upper-level machine global standard frequency, in milliseconds per second or parts per million (ppm).

[0070] Step 3015: Based on the linear drift rate constant and the cumulative running time corresponding to the current sequence index number of the full-channel data frame, calculate the dynamic clock deviation prediction compensation value for each current data frame.

[0071] Optionally, the data acquisition and control system calculates the dynamic clock deviation prediction compensation value for each data frame based on the linear drift rate constant and the cumulative running time (total time from the start of acquisition to the current frame) of the current data frame using the formula: Dynamic clock deviation prediction compensation value = Initial deviation value + (Linear drift rate constant × Cumulative running time).

[0072] Step 3016: Perform reverse time offset calculation based on the dynamic clock deviation prediction compensation value and the original lower-level machine local sampling timestamp in the full-channel data frame to obtain the intermediate correction timestamp after linear drift correction; perform timestamp alignment on the full-channel data based on the intermediate correction timestamp to obtain the aligned data sequence.

[0073] Optionally, the data acquisition and control system performs a reverse time offset calculation between the dynamic clock deviation prediction compensation value and the original timestamp on the device side. That is, it calculates the intermediate correction timestamp based on the formula: Intermediate Correction Timestamp = Original Timestamp on Device Side - Dynamic Clock Deviation Prediction Compensation Value, to obtain the intermediate correction timestamp after linear drift correction. Then, based on the intermediate correction timestamp, it performs unified timestamp alignment on all channel data, mapping all channel data to the global standard time reference of the host computer to obtain an aligned data sequence, as detailed in steps 30161 to 30163.

[0074] The embodiments of the present invention accurately quantify and compensate for the linear drift between the independent clock source of the lower-level machine and the global standard clock of the upper-level machine, eliminate the problem of accumulated timing deviation between multiple modules during long-term inspection, and uniformly calibrate all channel data to the same global time reference.

[0075] Optionally, the processes of steps 30161 to 30163 include: Step 30161: Based on the intermediate correction timestamp and the global zero time reference point determined when the acquisition session is established, determine the absolute alignment time coordinate of each sampling point relative to the global zero time reference point.

[0076] Optionally, the data acquisition and control system uses the global zero-time reference point determined when the acquisition session is established as a reference, and performs a difference operation between the intermediate correction timestamp corresponding to each sampling point and the global zero-time reference point to obtain the absolute aligned time coordinate of each sampling point relative to the global zero-time reference point. This absolute aligned time coordinate refers to the precise duration of the sampling point from the unified time starting point, in order to eliminate timing deviations caused by device local clock offset, communication delay, and clock drift, so that all channel sampling points have a unified time position that can be directly compared.

[0077] Step 30162: Based on the absolutely aligned time coordinates and the multi-channel synchronous sampling period in the executable configuration package, the multi-channel physiological data scattered in different full-channel data frames are reordered to a unified time grid node to obtain a time-axis aligned multi-channel data group.

[0078] Optionally, the data acquisition and control system reads the multi-channel synchronous sampling period (a fixed time interval for unified acquisition of all physiological channels) defined in the executable configuration package. Starting from the global zero-time reference point and using the multi-channel synchronous sampling period as the step size, it constructs a unified time grid covering the entire examination process. This unified time grid consists of continuous, equally spaced time grid nodes, each corresponding to a theoretically corresponding multi-channel synchronous sampling point. Then, based on the absolutely aligned time coordinates, the physiological data from each channel are matched to the nearest corresponding time grid node in the unified time grid. This rearranges the multi-channel physiological data, originally scattered across different data frames, transmission times, and device sources, onto the corresponding nodes of the unified time grid, forming time-axis aligned multi-channel data groups. Each time grid node corresponds to a set containing data from all enabled channels.

[0079] Step 30163: Mark missing time grid nodes in the multi-channel data group as null values, and assign a unified time reference identifier to the nodes that fill in valid data, to obtain an aligned data sequence with a unified time reference.

[0080] Optionally, the data acquisition and control system traverses all unified time grid nodes in the time-axis aligned multi-channel data group, marks missing time grid nodes that do not match valid physiological data with null values. This null value mark is used to indicate that there is no valid sampled data at that moment, so as to facilitate identification in subsequent quality rating and analysis stages. For time grid nodes filled with valid physiological data, a unified global standard time reference identifier (a time reference identifier bound to the acquisition session and unique throughout the process) is uniformly assigned to indicate that the data has completed clock drift correction and time axis alignment. Finally, after completing the assignment of missing markers and reference identifiers, a unified time reference aligned data sequence is obtained, which is ordered according to a unified time axis, has no temporal disorder, and can be directly used for derived calculations and quality rating.

[0081] The embodiments of the present invention thoroughly organize the multi-channel data after clock drift correction onto the same set of equally spaced time axes, completely eliminating the timing misalignment and disorder caused by different lower-level machines, different channels, and different transmission times, forming an aligned data sequence that is strictly consistent in timing, completely traceable, and convenient for real-time calculation and post-analysis.

[0082] Optionally, the process of steps 3021 to 3026 includes: Step 3021: Based on the comparison between the physical quantity value of each sampling point in the aligned data sequence and the preset channel physical range in the executable configuration package, the sampling points that exceed the channel physical range are marked as amplitude abnormal states.

[0083] Optionally, the data acquisition and control system extracts the physical quantity values ​​of the sampling points in the aligned data sequence channel by channel and sampling point by sampling point, and retrieves the preset physical range of the channel in the executable configuration package. The physical range of the channel refers to the reasonable range of physical values ​​that the physiological signal is allowed to appear in clinical examination, which is determined by the device hardware capabilities and clinical physiological laws, and includes the upper and lower limits of the physical quantity. The physical quantity values ​​of the sampling points are compared with the range; if the value of the sampling point exceeds the upper limit of the range or is lower than the lower limit of the range, the sampling point is marked as having an abnormal amplitude state; if the value is within the range, no abnormal state is marked.

[0084] Step 3022: Based on the continuous difference comparison between the sample counter value of the current sampling point in the aligned data sequence and the sample counter value of the previous adjacent sampling point, the sampling point whose sample counter value does not satisfy the continuous increasing relationship is marked as clock break state.

[0085] Optionally, for the sampling point sequence of the same channel, the data acquisition and control system extracts the sample counter value of the current sampling point and retrieves the sample counter value of the previous valid sampling point adjacent to the previous one. This sample counter value refers to a globally unique count identifier that is fixedly incremented for each sampling point during the lower-level machine's acquisition. The two sample counter values ​​are compared for continuity. If the sample counter value of the current sampling point is equal to the sample counter value of the previous adjacent sampling point plus 1, it is determined that the clock is continuous. If the above increment relationship is not satisfied, it is determined that the clock is broken, indicating that there is frame loss, frame skipping, or timing disorder, and the sampling point is marked as having a clock break.

[0086] Step 3023: Based on the cyclic redundancy check (CRC) field of the data frame to which each sampling point belongs in the aligned data sequence, perform bit matching with the check code recalculated by the receiving end, and mark the sampling points where the CRC does not match as transmission damaged.

[0087] Optionally, the data acquisition and control system extracts the cyclic redundancy check (CRC) code carried in the complete data frame to which each sampling point belongs in the aligned data sequence, adopts the same check algorithm as the lower-level machine, recalculates the CRC code based on the payload of the data frame, and performs bit-by-bit matching and comparison between the original check code and the recalculated check code. If the two do not match, it is determined that the data frame has been corrupted or tampered with during transmission, and all sampling points contained in the data frame are marked as transmission damaged.

[0088] Step 3024: Based on the lower-level sensor status register flag bit corresponding to each sampling point in the aligned data sequence, the lower-level sensor fault code table is mapped item by item, and the sampling points where the sensor status register flag bit indicates disconnection or saturation are marked as hardware failure states.

[0089] Optionally, the data acquisition and control system extracts the lower-level sensor status register flag bit corresponding to each sampling point in the aligned data sequence. This sensor status register flag bit is the sensor operating status bit bit reported by the lower-level machine in real time, including sensor connection status, zero-point drift status, analog-to-digital conversion saturation status, and power supply status. The sensor status register flag bit is mapped and matched item by item with a preset sensor fault code table. If the flag bit indicates that the sensor is normally connected, has no saturation, and has no drift, the sensor is determined to be normal. If the flag bit indicates that the sensor is disconnected, analog-to-digital conversion saturation exceeds the limit, or zero-point drift exceeds the limit, the sensor is determined to be in a hardware failure state, and the sampling point is marked as having a hardware failure. The sensor fault code table is a predefined one-to-one mapping table between the sensor status register flag bit and the specific hardware fault type, used to quickly identify the sensor hardware abnormality type.

[0090] Step 3025: Based on the correlation analysis or differential trend comparison of at least two channel sampling point sequences with physiological coupling relationship in the aligned data sequence within the same time reference window, the sampling points whose numerical change relationship between channels violates the physiological constraint relationship are marked as physiological logical conflict state.

[0091] Optionally, the data acquisition and control system selects sampling point sequences from at least two channels with physiological coupling relationships from the aligned data sequence, such as the intravesical pressure channel and the abdominal pressure channel. This physiological coupling relationship refers to a clinical constraint relationship where the signals from the two channels should exhibit consistent trends during physiological processes such as coughing, changes in abdominal pressure, and bladder filling. For example, during coughing or abdominal pressure fluctuations, the normalized cross-correlation coefficient between intravesical pressure and abdominal pressure should not be less than 0.7; during stable filling, the short-term standard deviation of detrusor pressure (intravesical pressure minus abdominal pressure) should not exceed 3 cmH2O. Then, using a preset sliding time window as a unit, within the same global time reference window, correlation analysis is performed on the multi-channel sequences using normalized cross-correlation coefficient calculations, or differential trend comparisons are performed to ensure consistent trends. If the trends are consistent and the differences are stable, conforming to the physiological constraint relationship, it is determined to be physiologically coherent and normal. If the trends are opposite and the differences fluctuate drastically, violating the physiological constraint relationship, it is determined to be a physiological logical conflict state, indicating catheter displacement, blockage, bubble interference, or signal abnormality, and the sampling point is marked as having a physiological logical conflict. The sliding time window is a time interval that slides continuously along the global time axis in fixed duration units. It is used to limit the time range of multi-channel correlation analysis. The default window length is 3 seconds, which can be adjusted through the executable configuration package. The normalized cross-correlation coefficient is a statistical indicator used to quantify the synchronicity of changes in two signal sequences. Its value ranges from -1 to 1. The closer the value is to 1, the higher the synchronicity of changes in the two signals, and the more it conforms to the physiological coupling relationship.

[0092] Step 3026: Based on amplitude abnormality state, clock breakage state, transmission impairment state, hardware failure state, and physiological logic conflict state, the current quality level of sampling points that do not contain any abnormality state is determined as a valid level; the current quality level of sampling points that only contain amplitude abnormality state, clock breakage state, or transmission impairment state is determined as a degraded level; the current quality level of sampling points that contain hardware failure state or physiological logic conflict state, as well as sampling points that contain two of the following states, is determined as an invalid level.

[0093] Optionally, for each sampling point, the data acquisition and control system comprehensively judges and assigns the current quality level based on the five marked results: amplitude anomaly state, clock breakage state, transmission impairment state, hardware failure state, and physiological logic conflict state, according to the following preset grading rules: Validity level: The sampling points do not contain any abnormal conditions in the above five items, the data is completely valid, and can be directly included in clinical analysis and calculation; Degradation level: The sampling point contains only one of the three abnormal states: amplitude abnormality, clock breakage, and transmission impairment, and there are no other abnormal states. The data has slight degradation and can be included in the analysis after the abnormality is marked. Invalid Grade: Sampling points that meet any of the following conditions are classified as invalid and automatically excluded from the clinical analysis window; only the raw data is retained for retrospective analysis: 1. Includes hardware failure states or physiological logic conflict states; 2. Simultaneously includes two or more of the following abnormalities: amplitude abnormality, clock breakage, and transmission impairment.

[0094] This invention breaks through the traditional crude control method that relies solely on amplitude judgment and frame loss statistics, and achieves refined, multi-dimensional, and quantifiable quality rating of individual sampling points. It can accurately identify and distinguish between slightly degraded data and severely invalid data, and avoid interference from invalid and erroneous data with clinical diagnostic results.

[0095] Optionally, the processes of steps 401 to 405 include: Step 401: Based on the current quality level set of a predetermined number of consecutive sampling points in the aligned data sequence, extract the number of sampling points marked as invalid and the number of sampling points marked as degraded to obtain the abnormal distribution statistics of the current time window.

[0096] Optionally, the data acquisition and control system retrieves the aligned data sequence, extracts a preset number of consecutive sampling points of key physiological channels within the current time window according to the sliding time window length preset in the safety rule table of the executable configuration package, extracts the current quality level set of all sampling points, counts the total number of sampling points marked as invalid and the total number of sampling points marked as degraded, and combines the two statistical values ​​to form the abnormal distribution statistical value of the current time window. Among them, the key physiological channels are channels predefined in the safety rule table that play a decisive role in the safety of the examination and the accuracy of the diagnosis, and at least include the intrabladder pressure channel and the abdominal pressure channel.

[0097] Step 402: Based on the statistical values ​​of abnormal distribution, compare each item with the preset stage access threshold entries in the security rule table of the executable configuration package. Mark the time window when the number of sampling points of invalid level exceeds the maximum allowable number of invalid points specified in the stage access threshold entry as a blocking state, and mark the time window when the number of sampling points of degraded level exceeds the maximum allowable number of restricted points specified in the stage access threshold entry as a warning state, so as to obtain the time period security status identifier of the current time window.

[0098] Optionally, the data acquisition and control system retrieves the stage access threshold entries from the security rule table in the executable configuration package. These stage access threshold entries refer to security constraint parameters such as the maximum number of invalid points allowed to enter the next inspection stage and the maximum number of restricted points allowed. The obtained abnormal distribution statistics are compared with the parameters in the threshold entries one by one. If the number of invalid level sampling points exceeds the maximum allowed number of invalid points, the current time window is marked as blocked. If the number of degraded level sampling points exceeds the maximum allowed number of restricted points, the current time window is marked as warning. If neither exceeds the limit, it is marked as normal, and the time period security status identifier of the current time window is finally obtained.

[0099] Step 403: Based on the time period security status identifiers of the current window and the preceding adjacent time windows, perform continuity status matching, determine the time periods in which the blocking status occurs continuously as the continuous blocking interval, and obtain the stability determination result.

[0100] Optionally, the data acquisition and control system performs a continuity status match between the security status identifier of the current time window and the security status identifiers of multiple adjacent time windows in chronological order. If two or more consecutive time windows are identified as being marked as blocked, the consecutive time period is determined as a continuous blocking interval. The continuous blocking interval is used to indicate that the data quality has been substandard for a long time and is not a random fluctuation. The start timestamp (the start time of the first blocking state window) and end timestamp (the end time of the last blocking state window) of the interval are recorded simultaneously. Finally, a stability judgment result containing the start and end information of the continuous blocking interval and the status of the non-blocking time period is generated.

[0101] Step 404: Based on the start and end timestamps of the continuous blocking interval in the stability determination result, and combined with the preset fault recovery cooling time in the security rule table in the executable configuration package, calculate the time corresponding to the fault recovery cooling time parameter shifted backward from the end timestamp of the continuous blocking interval, and obtain the re-access permission time node.

[0102] Optionally, the data acquisition and control system extracts the latest termination timestamp of the continuous blocking interval from the stability judgment result, and at the same time retrieves the preset fault recovery cooling time in the security rule table in the executable configuration package. The fault recovery cooling time refers to the minimum waiting time required for the system to recover from the blocking state to the state that allows reassessment. Based on the termination timestamp of the continuous blocking interval, the corresponding duration of the fault recovery cooling time is shifted backward to calculate the re-access permission time node. That is, this node is the earliest time point at which access permission for the reassessment stage is allowed after the blocking state ends.

[0103] Step 405: Based on the time period security status identifier and whether the current system time is later than the re-access permission time node, determine the current operation stage as allowed entry if the current system time is later than the re-access permission time node and the time period security status identifier is not in the blocked state; otherwise, determine the current operation stage as prohibited entry, and obtain the stage entry permission judgment result.

[0104] Optionally, the data acquisition and control system combines the latest time period security status identifier, the current system time, and the re-access permission time node to simultaneously determine two conditions: 1. Whether the current system time is later than the re-access permission time node; 2. Whether the current time period security status identifier is not in a blocked state; if both conditions are met, the current operation stage is determined to be in an allowed entry state; if either condition is not met, it is determined to be in a prohibited entry state; finally, the stage entry permission determination result is output to control the stage switching of the inspection state machine.

[0105] This invention deeply integrates multi-dimensional quality rating results with safety controls during the examination phase, achieving a safety closed loop where "high-risk operations are not allowed if the data is unreliable." From a software logic perspective, it forcibly avoids entering high-risk stages such as filling when there are abnormalities in the quality of critical channels or unreliable physiological signals. This not only prevents invalid data from interfering with diagnosis but also reduces patient safety risks from the source. It enables data quality, process control, and safety protection to form a synergistic constraint, comprehensively improving the clinical safety and reliability of urodynamic examinations.

[0106] Furthermore, the multi-channel synchronous data acquisition and control system of the urodynamic analyzer provided by the present invention will be described below. The multi-channel synchronous data acquisition and control system of the urodynamic analyzer described below can be referred to in correspondence with the multi-channel synchronous data acquisition and control method of the urodynamic analyzer described above.

[0107] Optional, refer to Figure 2 , Figure 2 This is a schematic diagram of the multi-channel synchronous data acquisition and control system for the urodynamic analyzer provided by the present invention. The multi-channel synchronous data acquisition and control system for the urodynamic analyzer includes: The hierarchical configuration and session building module is used to determine the executable configuration package based on the hierarchical configuration description file, and to perform a two-phase atomic commit based on the executable configuration package to build a collection session with consistent parameters. The data acquisition and security protection module is used to determine the first frequency and the second frequency based on the acquisition scheduling table in the executable configuration package, and to drive the lower-level machine to perform local physiological data acquisition and security protection based on the first frequency, and to drive the lower-level machine to perform full-channel data acquisition and uploading based on the second frequency. The clock correction alignment and quality rating module is used to perform timestamp correction and alignment on the full-channel data based on the clock deviation data determined by the full-channel data, to obtain an aligned data sequence with a unified time reference, and to perform multi-dimensional quality rating based on the aligned data sequence to obtain the current quality level of each sampling point; The Phase Access and State Machine Control Module is used to determine the phase entry permission judgment result based on the current quality level and the security rule table in the executable configuration package, and to control the switching of the inspection state machine based on the phase entry permission judgment result.

[0108] This invention deeply integrates data quality control and security control, achieving closed-loop collaboration between the data acquisition process, data quality, and security protection. This further ensures the safety of the examination process and the accuracy of the test results, ultimately meeting the clinical needs for high precision and high safety in urodynamic testing.

[0109] Please see Figure 3 , Figure 3 An embodiment diagram of an electronic device provided in accordance with the present invention. For example... Figure 3 As shown, an embodiment of the present invention provides an electronic device 300, including a memory 310, a processor 320, and a computer program 311 stored in the memory 310 and executable on the processor 320. When the processor 320 executes the computer program 311, it implements the following: An executable configuration package is determined based on a hierarchical configuration description file, and a two-phase atomic commit is performed based on the executable configuration package to build a consistent acquisition session. The first frequency and the second frequency are determined based on the acquisition scheduling table in the executable configuration package. The lower-level machine is driven to perform local physiological data acquisition and security protection based on the first frequency, and to perform full-channel data acquisition and uploading based on the second frequency. Based on the clock deviation data determined by the full channel data, the full channel data is timestamped and aligned to obtain an aligned data sequence with a unified time reference. Based on the aligned data sequence, a multi-dimensional quality rating is performed to obtain the current quality level of each sampling point. Based on the current quality level and the security rule table in the executable configuration package, the stage entry permission judgment result is determined, and the inspection state machine is switched based on the stage entry permission judgment result.

[0110] Please see Figure 4 , Figure 4 An embodiment diagram of a computer-readable storage medium provided in accordance with an embodiment of the present invention is shown. Figure 4 As shown, this embodiment provides a computer-readable storage medium 400 on which a computer program 311 is stored. When the computer program 311 is executed by a processor, it performs the following steps: An executable configuration package is determined based on a hierarchical configuration description file, and a two-phase atomic commit is performed based on the executable configuration package to build a consistent acquisition session. The first frequency and the second frequency are determined based on the acquisition scheduling table in the executable configuration package. The lower-level machine is driven to perform local physiological data acquisition and security protection based on the first frequency, and to perform full-channel data acquisition and uploading based on the second frequency. Based on the clock deviation data determined by the full channel data, the full channel data is timestamped and aligned to obtain an aligned data sequence with a unified time reference. Based on the aligned data sequence, a multi-dimensional quality rating is performed to obtain the current quality level of each sampling point. Based on the current quality level and the security rule table in the executable configuration package, the stage entry permission judgment result is determined, and the inspection state machine is switched based on the stage entry permission judgment result.

[0111] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is able to execute the multi-channel synchronous data acquisition and control method for the urodynamic analyzer provided by the above methods, the method including: An executable configuration package is determined based on a hierarchical configuration description file, and a two-phase atomic commit is performed based on the executable configuration package to build a consistent acquisition session. The first frequency and the second frequency are determined based on the acquisition scheduling table in the executable configuration package. The lower-level machine is driven to perform local physiological data acquisition and security protection based on the first frequency, and to perform full-channel data acquisition and uploading based on the second frequency. Based on the clock deviation data determined by the full channel data, the full channel data is timestamped and aligned to obtain an aligned data sequence with a unified time reference. Based on the aligned data sequence, a multi-dimensional quality rating is performed to obtain the current quality level of each sampling point. Based on the current quality level and the security rule table in the executable configuration package, the stage entry permission judgment result is determined, and the inspection state machine is switched based on the stage entry permission judgment result.

[0112] The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and 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 modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0113] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments or some parts of embodiments.

[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A multi-channel synchronous data acquisition and control method for a urodynamic analyzer, characterized in that, include: An executable configuration package is determined based on a hierarchical configuration description file, and a two-phase atomic commit is performed based on the executable configuration package to build a data acquisition session with consistent parameters. The first frequency and the second frequency are determined based on the acquisition scheduling table in the executable configuration package. The lower-level machine is driven to perform local physiological data acquisition and security protection based on the first frequency, and to perform full-channel data acquisition and uploading based on the second frequency. Based on the clock deviation data determined from the full-channel data, the full-channel data is timestamped and aligned to obtain an aligned data sequence with a unified time reference. Based on the aligned data sequence, a multi-dimensional quality rating is performed to obtain the current quality level of each sampling point. Based on the current quality level and the security rule table in the executable configuration package, the stage entry permission judgment result is determined, and the inspection state machine is switched based on the stage entry permission judgment result.

2. The multi-channel synchronous data acquisition and control method for a urodynamic analyzer according to claim 1, characterized in that, The process of driving the lower-level machine to perform local physiological data acquisition and security protection based on the first frequency includes: Based on the first frequency, a hard real-time driving reference for the local security loop of the lower-level machine is determined, and the lower-level machine is driven to trigger the analog-to-digital conversion of key physiological channel sensors at a fixed period based on the hard real-time driving reference, so as to obtain a local raw physiological signal sequence carrying a unified sample counter. Based on the local raw physiological signal sequence and the security rule table in the executable configuration package, a security judgment is made to obtain a phased local security permission judgment result and a local actuator control instruction. Based on the local actuator control command, the lower-level machine's pump control execution circuit is driven to switch physical actions to obtain the real-time local safety protection response status; The process of driving the lower-level machine to perform full-channel data acquisition and uploading based on the second frequency includes: The variable transmission drive reference of the lower-level machine data ring is determined based on the second frequency, and the lower-level machine is driven to poll all enabled physiological channel sensors periodically according to the variable transmission drive reference, so as to obtain a complete data frame payload containing the raw data of all channels and the corresponding timestamp identifier and link quality identifier. Based on the complete data frame payload and the global session identifier of the acquisition session, an uplink transmission data packet containing traceable metadata is constructed, and the uplink transmission data packet is sent to the host computer to obtain a multi-channel synchronous data stream at the host computer receiving end.

3. The multi-channel synchronous data acquisition and control method for a urodynamic analyzer according to claim 1, characterized in that, The clock offset data determined based on the full-channel data is used to perform timestamp correction and alignment on the full-channel data to obtain an aligned data sequence with a unified time base, including: Based on the original timestamps and sample counter sequences carried by the device side of the full-channel data, combined with the global standard timestamp of the host computer's receiving time, the round-trip delay estimate of each frame of data is calculated. The instantaneous clock deviation estimate obtained by back-reaming the round-trip delay estimate is sorted according to the data frame sequence index number to obtain the preliminary clock deviation sequence. Based on the preliminary clock deviation sequence and the sample counter sequence, the data sampling time sequence is reordered to obtain a discrete clock deviation observation point group distributed along the time axis. Abnormal jump points are removed from the discrete clock deviation observation point group to obtain a smoothed deviation time sequence input point group. Based on the aforementioned deviation time series input point group, effective deviation samples with stable deviation change trends within a continuous time period are screened to obtain high-confidence deviation time series data. Based on the initial deviation value, the final deviation value, and the corresponding time span in the high-confidence deviation time series data, the linear drift rate constant characterizing the lower-level machine clock frequency relative to the global standard frequency is calculated. Based on the linear drift rate constant and the cumulative running time corresponding to the current sequence index number of the full-channel data frame, the dynamic clock deviation prediction compensation value for each current data frame is calculated. Based on the dynamic clock deviation prediction compensation value and the original lower-level machine local sampling timestamp in the full-channel data frame, a reverse time offset calculation is performed to obtain an intermediate correction timestamp after linear drift correction; based on the intermediate correction timestamp, the full-channel data is timestamped to obtain the aligned data sequence.

4. The multi-channel synchronous data acquisition and control method for a urodynamic analyzer according to claim 3, characterized in that, The step of aligning the full-channel data based on the intermediate correction timestamp to obtain the aligned data sequence includes: Based on the intermediate correction timestamp and the global zero-time reference point determined when the acquisition session is established, the absolute alignment time coordinate of each sampling point relative to the global zero-time reference point is determined. Based on the absolute aligned time coordinates and the multi-channel synchronous sampling period in the executable configuration package, the multi-channel physiological data scattered in different full-channel data frames are reordered to a unified time grid node to obtain a time axis aligned multi-channel data group. Based on the missing time grid nodes in the multi-channel data group, null values ​​are marked, and nodes filled with valid data are assigned a unified time reference identifier to obtain the aligned data sequence with a unified time reference.

5. The multi-channel synchronous data acquisition and control method for a urodynamic analyzer according to claim 1, characterized in that, The multi-dimensional quality rating based on the aligned data sequence, to obtain the current quality level of each sampling point, includes: Based on the comparison between the physical quantity value of each sampling point in the aligned data sequence and the preset channel physical range in the executable configuration package, sampling points that exceed the channel physical range are marked as amplitude abnormalities. Based on the continuous differential comparison between the sample counter value of the current sampling point in the aligned data sequence and the sample counter value of the previous adjacent sampling point, the sampling point whose sample counter value does not satisfy the continuous increasing relationship is marked as clock break state. Based on the cyclic redundancy check (CRC) field of the data frame to which each sampling point belongs in the aligned data sequence, the bit-by-bit matching is performed with the check code recalculated by the receiving end, and the sampling points where the CRC does not match are marked as transmission damaged. Based on the lower-level sensor status register flag bit corresponding to each sampling point in the aligned data sequence, the sample points indicating disconnection or saturation in the sensor status register flag bit are marked as hardware failure states. Based on the correlation analysis or differential trend comparison of at least two channel sampling point sequences with physiological coupling relationship in the aligned data sequence within the same time reference window, sampling points whose numerical change relationship between channels violates the physiological constraint relationship are marked as physiological logic conflict state. Based on the amplitude anomaly state, the clock breakage state, the transmission impairment state, the hardware failure state, and the physiological logic conflict state, the current quality level of sampling points that do not contain any anomaly state is determined as a valid level; the current quality level of sampling points that only contain amplitude anomaly state, clock breakage state, or transmission impairment state is determined as a degraded level; and the current quality level of sampling points that contain hardware failure state or physiological logic conflict state, as well as sampling points that contain two of the amplitude anomaly state, clock breakage state, and transmission impairment state, is determined as an invalid level.

6. The multi-channel synchronous data acquisition and control method for a urodynamic analyzer according to claim 1, characterized in that, The hierarchical configuration description file includes a hierarchical configuration description file for a basic configuration layer, an organizational configuration layer, and an inspection configuration layer; The determination of the executable configuration package based on the hierarchical configuration description file includes: The hierarchical configuration description file is parsed, and a channel-dependent directed acyclic graph describing the data flow and a control safety rule graph describing the control logic are constructed based on the parsing results. The channel-dependent directed acyclic graph includes the original channel type, computation operators, and inter-channel dependency edges. The control safety rule graph includes the check phase state machine, threshold groups for each phase, safety invariants, and phase entry permission conditions. Static analysis is performed based on the channel-dependent directed acyclic graph and the control security rule graph to obtain the analysis results. If the analysis results are for all channels, an executable configuration package is generated. The executable configuration package includes a data acquisition scheduling table, a derived channel operator sequence, a security rule table, a quality of service policy table, and a metadata list. The metadata list includes a configuration version number, a configuration hash value, a calibration version, and a device capability requirement signature.

7. The multi-channel synchronous data acquisition and control method for a urodynamic analyzer according to claim 6, characterized in that, The two-phase atomic commit based on the executable configuration package to build a consistent acquisition session includes: The host computer sends the metadata list field, digital signature information and resource requirement description parameters in the executable configuration package to each slave computer, and triggers the slave computer to perform digital signature validity verification, device capability matching verification and shadow configuration area available space detection. After completing the digital signature validity verification, device capability matching verification, and shadow configuration area available space detection, the lower-level machine returns a preparatory stage response frame containing a ready status flag or a rejection status flag, until all lower-level machines return the ready status flag. The host computer incrementally sends the fragmented data from the executable configuration package to the shadow configuration area of ​​each slave computer for preloading configuration data in the inactive state. This continues until each slave computer completes the writing operation in the shadow configuration area. Then, it returns a write completion confirmation frame and a security boundary time signal of the state machine in the check phase to obtain a global commit permission instruction. The fragmented data includes a collection scheduling table, a security rule table, and a service quality policy table. Based on the global submission permission instruction, the host computer sends a submission phase command frame containing an atomic switch trigger command to all slave computers at the safety boundary moment of the state machine in the inspection phase, so as to instruct each slave computer to atomically switch the configuration data in its shadow configuration area to the configuration data in the active configuration area. Based on the submission confirmation response frame containing the switching success status code returned by each lower-level machine after completing the configuration data switching in the activation configuration area, the configuration synchronization completion status is obtained, and a globally unique acquisition session identifier is generated based on the configuration synchronization completion status. The host computer broadcasts the acquisition session identifier to all slave computers, thus completing the construction of an acquisition session with consistent parameters.

8. The multi-channel synchronous data acquisition and control method for a urodynamic analyzer according to claim 5, characterized in that, The determination of the stage entry permission judgment result based on the current quality level and the security rule table in the executable configuration package includes: Based on the current quality level set of a predetermined number of consecutive sampling points in the aligned data sequence, the number of sampling points marked as invalid and the number of sampling points marked as degraded are extracted to obtain the abnormal distribution statistics of the current time window. Based on the statistical values ​​of the abnormal distribution and the preset stage access threshold entries in the security rule table of the executable configuration package, the time window in which the number of sampling points of invalid level exceeds the maximum allowable number of invalid points specified in the stage access threshold entry is marked as a blocking state, and the time window in which the number of sampling points of degraded level exceeds the maximum allowable number of restricted points specified in the stage access threshold entry is marked as a warning state, so as to obtain the time period security status identifier of the current time window. Based on the time period security status identifiers of the current window and the preceding adjacent time windows, continuous status matching is performed, and the time periods in which the blocking status occurs continuously are determined as the continuous blocking intervals, thus obtaining the stability determination results. Based on the start and end timestamps of the continuous blocking interval in the stability determination result, and combined with the preset fault recovery cooling time in the security rule table of the executable configuration package, the time corresponding to the fault recovery cooling time parameter shifted backward from the end timestamp of the continuous blocking interval is calculated to obtain the re-access permission time node. Based on the time period security status identifier and whether the current system time is later than the re-access permission time node, the current operation stage where the current system time is later than the re-access permission time node and the time period security status identifier is not in the blocking state is determined as the allowed entry state; otherwise, the current operation stage is determined as the prohibited entry state, thus obtaining the stage entry permission judgment result.

9. The multi-channel synchronous data acquisition and control method for a urodynamic analyzer according to any one of claims 1-8, characterized in that, After the switching control is performed, it also includes: A wireless link quality score is constructed based on the unit time frame reception rate, signal strength, and round-trip delay data in the full channel data. An adaptive frequency reduction strategy is determined, and the second frequency is adjusted based on the adaptive frequency reduction strategy while maintaining the first frequency.

10. A multi-channel synchronous data acquisition and control system for a urodynamic analyzer, characterized in that, A multi-channel synchronous data acquisition and control method for a urodynamic analyzer as described in any one of claims 1 to 9; The multi-channel synchronous data acquisition and control system of the urodynamic analyzer includes: The hierarchical configuration and session construction module is used to determine the executable configuration package based on the hierarchical configuration description file, and to perform a two-phase atomic commit based on the executable configuration package to construct a collection session with consistent parameters. The data acquisition and security protection module is used to determine the first frequency and the second frequency based on the acquisition scheduling table in the executable configuration package, and drive the lower-level machine to perform local physiological data acquisition and security protection based on the first frequency, and drive the lower-level machine to perform full-channel data acquisition and uploading based on the second frequency. The clock correction alignment and quality rating module is used to perform timestamp correction and alignment on the full-channel data based on the clock deviation data determined by the full-channel data, to obtain an aligned data sequence with a unified time reference, and to perform multi-dimensional quality rating based on the aligned data sequence to obtain the current quality level of each sampling point. The phase access and state machine control module is used to determine the phase entry permission judgment result based on the current quality level and the security rule table in the executable configuration package, and to control the switching of the inspection state machine based on the phase entry permission judgment result.