A rehabilitation data standardization construction method and system

By identifying rehabilitation task events and mapping them to rehabilitation task stages, the problem of inconsistency between time references and measurement attributes in multi-center rehabilitation data was solved, achieving semantic consistency and accurate processing of data quality status, and generating a standard rehabilitation dataset.

CN123157684APending Publication Date: 2026-11-24THE THIRD AFFILIATED HOSPITAL OF NANHUA UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611286935.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-24
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In multi-center rehabilitation data processing, existing technologies struggle to address issues such as inconsistent data time correspondences, inconsistent measurement meanings of fields with the same name, and difficulty in directly matching label meanings due to different time bases, measurement attributes, and label systems. This makes it difficult to form a semantically consistent standard rehabilitation dataset after data format unification.

Method used

By identifying rehabilitation task events from various data sources and mapping them to rehabilitation task stages, a task stage-related dataset is generated. Based on the task stage-related dataset, standard observation items are matched, measurement semantic normalization and data quality processing are performed to generate a standard rehabilitation dataset.

Benefits of technology

It achieves data phase association and measurement semantic unification under inconsistent conditions of different time bases, measurement attributes and labeling systems, reduces phase mismatch and measurement meaning confusion, and ensures accurate processing of data quality status and construction of standard rehabilitation datasets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157684A_ABST
    Figure CN123157684A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of medical health information processing, and particularly relates to a rehabilitation data standardization construction method and system. The method acquires multi-center rehabilitation original data, data source description, rehabilitation task configuration and target standard model, maps rehabilitation observation data to a rehabilitation task stage according to rehabilitation task events and device time information; matches standard observation items in combination with the data source description and the rehabilitation task stage, and performs measurement semantic normalization according to standard measurement attributes; determines data quality states according to device running states, data variation characteristics, stage constraints and auxiliary states, and performs reservation, correction, weight reduction or exclusion; screens standard labels, forms standard rehabilitation data units, and constructs a standard rehabilitation data set according to stage coverage, data loss, data quality states and label conflict states. The present application reduces stage mismatch, measurement meaning confusion and label conflict, and improves the consistency and availability of the standard rehabilitation data set.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of medical and health information processing technology, and in particular to a method and system for standardizing the construction of rehabilitation data. Background Technology

[0002] In the field of healthcare information processing technology, multi-center rehabilitation data typically originates from rehabilitation equipment, motion capture equipment, physiological parameter acquisition equipment, rehabilitation assessment systems, and scale systems. Existing solutions generally receive motion data, physiological parameter data, behavioral data, and scale data through data acquisition interfaces, and then use methods such as timestamp alignment, field mapping, unit conversion, data cleaning, quality verification, and label conversion to form data in a unified format. Such solutions can complete basic data processing and storage in scenarios with limited data sources, fixed equipment configurations, and consistent task workflows. However, when different rehabilitation centers use different equipment time bases, measurement attributes, rehabilitation task configurations, and labeling systems, inconsistencies in the time correspondence of observation data, inconsistent meanings of measurements with the same field name, and difficulties in directly matching label meanings can easily arise.

[0003] Existing solutions often rely on device timestamps, original field names, fixed numerical ranges, or preset label mappings for processing. Simply standardizing device timestamps typically only establishes the chronological order of data along a timeline, failing to reflect the specific rehabilitation task stage to which the rehabilitation observation data belongs. Similarly, standardizing data based solely on field names and units makes it difficult to differentiate the meaning of observations under different device types, coordinate references, measurement directions, and statistical windows. When a rehabilitation task consists of stages such as preparation, movement initiation, stable execution, direction change, movement cessation, and recovery, the same observation item exhibits different data variation characteristics at different stages. Fixed outlier rules easily confuse direction changes, assisted interventions, or changes in the subject's actual movements with device or communication anomalies.

[0004] For the joint processing of multi-center rehabilitation raw data, existing technologies typically perform time alignment, measurement attribute transformation, data quality assessment, and label mapping separately, lacking unified task stage constraints among the processing results. Raw labels from different scale versions, scoring directions, and assistive states, even with identical or similar names, may correspond to different rehabilitation states. Even after data format unification, if stage coverage, data gaps, data quality status, or label conflicts are not jointly verified, it remains difficult to form a semantically consistent standard rehabilitation dataset. Therefore, it is necessary to address the challenges of seamlessly connecting data stage correlation, measurement semantic unification, quality status processing, and standard data acceptance under different time benchmarks, measurement attributes, and label systems for multi-center rehabilitation observation data. Summary of the Invention

[0005] To address the above problems, this invention provides a method for standardizing rehabilitation data construction, which solves the problem of how to construct a standard rehabilitation dataset by task phase association, measurement semantic normalization, and quality status processing under the condition that the time benchmark, measurement attributes, and labeling system of multi-center rehabilitation data are inconsistent.

[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows:

[0007] S100: Acquire multi-center rehabilitation raw data, data source descriptions, rehabilitation task configurations, and target standard models; identify the corresponding rehabilitation task events for each data source; map rehabilitation observation data to rehabilitation task stages based on rehabilitation task events and equipment time information; and generate task stage-related datasets.

[0008] S200: Based on the task-stage associated dataset, match standard observation items according to data source description, rehabilitation task stage, and target standard model; transform rehabilitation observation data according to the standard measurement attributes of standard observation items to generate a measurement semantic normalized dataset.

[0009] S300: Based on the measurement semantic normalized dataset, determine the data quality status according to the equipment operating status, data change characteristics, stage constraints and auxiliary status; perform retention, correction, downweighting or exclusion according to the data quality status to generate a quality-processed rehabilitation observation dataset;

[0010] S400. Based on the quality-processed rehabilitation observation dataset, standard label candidates are selected according to scale version, rehabilitation task stage, and assistive status to generate standard labels or label conflict states; standard labels or label conflict states, measurement semantic normalized data, data quality status, and original source relationships are combined to generate standard rehabilitation data units; data acceptance status is determined according to stage coverage, data missing, data quality status, and label conflict status to construct a standard rehabilitation dataset.

[0011] Furthermore, the data source description includes rehabilitation center identifier, equipment identifier, equipment type, sampling frequency, original unit, coordinate reference, measurement direction, statistical window, and calibration parameters; the target standard model includes standard observation items, standard measurement attributes, target standard labels, and data acceptance conditions.

[0012] Furthermore, the step of identifying corresponding rehabilitation task events from each data source and mapping rehabilitation observation data to rehabilitation task stages includes:

[0013] Extract task start events, action initiation events, direction change events, action stop events, and recovery events from the raw rehabilitation data from various data sources;

[0014] Establish a correspondence between rehabilitation task events of the same event type from various data sources to generate common time anchors;

[0015] The device time correction relationship is determined based on multiple common time anchor points, and the device time information is corrected according to the device time correction relationship.

[0016] Based on the corrected device time information and the stage definitions in the rehabilitation task configuration, the rehabilitation observation data is mapped to the rehabilitation task stage.

[0017] Furthermore, the matching of standard observation items and the transformation of rehabilitation observation data include:

[0018] Based on equipment type, original unit, coordinate reference, measurement direction, statistical window, and rehabilitation task stage, standard observation items are matched from the target standard model;

[0019] The conversion rules corresponding to the standard observation items are invoked to perform time base conversion, resampling, unit conversion, coordinate conversion, numerical direction conversion, and statistical window conversion on the rehabilitation observation data, generating a measurement semantic normalized dataset.

[0020] Furthermore, the data change characteristics include data continuity, numerical range, rate of change, and the correspondence between various data sources; the data change characteristics are verified against the stage constraints of the rehabilitation task, and a data quality status is generated by combining the equipment operating status and auxiliary status.

[0021] A valid status is generated when the equipment is operating normally, the data change characteristics meet the stage constraints, and there is a corresponding relationship between the data sources.

[0022] When the equipment is operating normally but there are correctable missing data in the rehabilitation observation data, a correctable status is generated.

[0023] When the equipment is operating normally and the data change characteristics correspond to the auxiliary status, the scene impact status is generated.

[0024] A low-confidence state is generated when the equipment is operating normally, the data change characteristics meet the stage constraints, and there is no corresponding relationship between the data sources.

[0025] An invalid status is generated when the device is in an abnormal operating state or a communication abnormal state.

[0026] Furthermore, the step of performing retention, correction, downgrading, or exclusion based on data quality status includes:

[0027] Retention should be performed on rehabilitation observation data that is currently in a valid state;

[0028] Perform time compensation, resampling, or local correction on rehabilitation observation data that is in a correctable state;

[0029] Rehabilitation observation data that is under the influence of the scene will be retained after being associated with the auxiliary state;

[0030] Reduce the weighting of rehabilitation observation data that are in a low-confidence state;

[0031] Segment or exclude rehabilitation observation data that are in an invalid state.

[0032] Furthermore, the standard label candidates are generated based on the correspondence between the original labels and the target standard labels; the correspondence between the standard label candidates and the scale version, assessment items, scoring direction, rehabilitation task stage and assistive status are verified respectively.

[0033] When the number of standard label candidates that all correspondences are true is 1, the standard label candidate is determined as a standard label.

[0034] A label conflict state is generated when the number of standard label candidates that all correspond to the given conditions is 0 or greater than 1.

[0035] Further, determining the data acceptance status includes:

[0036] Standardized rehabilitation data units are organized according to the rehabilitation center's logo, standard observation items, and rehabilitation task phases;

[0037] An acceptance status is generated when the phase coverage of the rehabilitation task is complete, there are no uncorrected missing data in the rehabilitation observation data, the data quality status is valid or correctable, and there are no label conflicts.

[0038] When the phase coverage of the rehabilitation task is complete, there are no uncorrected missing data in the rehabilitation observation data, the data quality status is the scenario-affected status, the corresponding auxiliary status meets the data acceptance conditions in the target standard model and there is no label conflict status, an acceptance status or a downgraded acceptance status is generated according to the configuration of the target standard model.

[0039] When the phase coverage of the rehabilitation task is complete, there are no uncorrected missing data in the rehabilitation observation data, the data quality status is low confidence and there is no label conflict, a downgraded acceptance status is generated.

[0040] When the phase coverage of the rehabilitation task is incomplete, or there are uncorrected missing data in the rehabilitation observation data, or there is an invalid state, or the auxiliary state corresponding to the rehabilitation observation data in the scenario influence state does not meet the data acceptance conditions in the target standard model, or there is a label conflict state, a temporary non-acceptance state is generated.

[0041] A standard rehabilitation dataset is constructed from standard rehabilitation data units in the acceptance state and the downgraded acceptance state, and the corresponding data acceptance state is recorded respectively.

[0042] Furthermore, the standard rehabilitation data unit records the original source index, source resolution rule version, measurement conversion rule version, and label mapping rule version;

[0043] When source resolution rules, measurement transformation rules, label mapping rules, or target standard models are updated, the scope of the rule's impact is determined based on the rehabilitation center, equipment, standard observation items, rehabilitation tasks, or standard labels corresponding to the updated content.

[0044] Based on the scope of influence of the rules and the rule version recorded in the standard rehabilitation data unit, the affected standard rehabilitation data units are filtered, the original rehabilitation data is retrieved according to the original source index, and the corresponding task stage association, measurement semantic normalization, standard label filtering or data acceptance status determination are re-executed to regenerate the standard rehabilitation data units.

[0045] This invention also provides a rehabilitation data standardization construction system, comprising:

[0046] The data acquisition and task phase association module is used to acquire multi-center rehabilitation raw data, data source descriptions, rehabilitation task configurations and target standard models, identify the corresponding rehabilitation task events of each data source, map rehabilitation observation data and rehabilitation task phases based on the rehabilitation task events and equipment time information, and generate task phase association datasets.

[0047] The measurement semantic normalization module is connected to the data acquisition and task stage association module. It is used to generate a measurement semantic normalization dataset by matching standard observation items according to the data source description, the rehabilitation task stage and the target standard model based on the task stage association dataset, and by converting the rehabilitation observation data according to the standard measurement attributes of the standard observation items.

[0048] The data quality processing module is connected to the measurement semantic normalization module. It is used to determine the data quality status based on the measurement semantic normalization dataset, according to the equipment operating status, data change characteristics, stage constraints and auxiliary status, and to perform retention, correction, downweighting or exclusion on the rehabilitation observation data according to the data quality status, so as to generate a quality-processed rehabilitation observation dataset.

[0049] The label mapping and dataset construction module, connected to the data quality processing module, is used to filter standard label candidates based on the quality-processed rehabilitation observation dataset according to the scale version, the rehabilitation task stage, and the assistive state, and generate standard labels or label conflict states; combine the standard labels or label conflict states, the measurement semantic normalization data in the measurement semantic normalization dataset, the data quality state, and the original source relationship to generate standard rehabilitation data units; determine the data acceptance state according to stage coverage, data missingness, the data quality state, and the label conflict state, and construct a standard rehabilitation dataset based on the data acceptance state.

[0050] The key innovations of this invention include:

[0051] (1) Combine the corresponding rehabilitation task events and equipment time information from each data source for rehabilitation task phase mapping, and make the resulting rehabilitation task phase participate in standard observation item matching and standard measurement attribute transformation, so that the data source description, task context and target standard model form a correlation constraint, and obtain a measurement semantic normalized dataset.

[0052] (2) Jointly verify the equipment operating status, data continuity, numerical range, rate of change, correspondence of each data source, stage constraints and auxiliary status, and distinguish between equipment abnormality, communication abnormality, correctable missing data, auxiliary intervention and lack of cross-source corresponding observation status; form a data quality status with processing path based on the verification results, and perform retention, correction, weight reduction, segmentation or exclusion respectively.

[0053] (3) Select standard label candidates according to scale version, assessment items, scoring direction, rehabilitation task stage and auxiliary status. Combine the standard label or label conflict status with the measurement semantic normalized data, data quality status and original source relationship to form standard rehabilitation data unit. Then, the data acceptance status and the construction of standard rehabilitation dataset are jointly controlled by stage coverage, data missing, data quality status and label conflict status.

[0054] The following are its main beneficial effects:

[0055] (1) The rehabilitation task stage and the equipment measurement attributes jointly participate in the standard observation item matching, so that the same observation data generated by different centers and different equipment are converted according to their actual task stage, coordinate reference, measurement direction and statistical window, reducing the stage mismatch and measurement meaning confusion caused by merging data based only on timestamp or field name.

[0056] (2) The equipment operating status, stage constraints and auxiliary status jointly participate in the data quality status judgment, so that data defects caused by sensor detachment and communication interruption, as well as changes in direction conversion, therapist assistance and subject's actual movements, enter different processing paths, reducing the error exclusion of effective rehabilitation observation data by fixed outlier rules.

[0057] (3) The results of scale context screening and data quality status jointly participate in the acceptance of standard rehabilitation data units, so that data with inconsistent scale versions, conflicting scoring directions, incomplete stage coverage or uncertain label meanings are temporarily not accepted, forming a standard rehabilitation dataset with clear task stages, measurement semantics, quality status and original source relationship. Attached Figure Description

[0058] Figure 1 A flowchart illustrating a method for standardizing rehabilitation data construction as provided in this application embodiment;

[0059] Figure 2 This is a structural block diagram of a rehabilitation data standardization construction system provided in an embodiment of this application. Detailed Implementation

[0060] To enable those skilled in the art to better understand the technical solution, the present invention will be described in detail below with reference to embodiments. The description in this part is only exemplary and explanatory, and should not be used to limit the scope of protection of the present invention in any way.

[0061] Example 1: Refer to Figure 1 This is a flowchart illustrating a method for standardizing rehabilitation data construction according to an embodiment of the present invention. The process may include at least steps S100-S400:

[0062] S100: Acquire multi-center rehabilitation raw data, data source descriptions, rehabilitation task configurations, and target standard models; identify the corresponding rehabilitation task events for each data source; map rehabilitation observation data to rehabilitation task stages based on rehabilitation task events and equipment time information; and generate task stage-related datasets.

[0063] S200: Based on the task-stage associated dataset, match standard observation items according to data source description, rehabilitation task stage, and target standard model; transform rehabilitation observation data according to the standard measurement attributes of standard observation items to generate a measurement semantic normalized dataset.

[0064] S300: Based on the measurement semantic normalized dataset, determine the data quality status according to the equipment operating status, data change characteristics, stage constraints and auxiliary status; perform retention, correction, downweighting or exclusion according to the data quality status to generate a quality-processed rehabilitation observation dataset;

[0065] S400. Based on the quality-processed rehabilitation observation dataset, standard label candidates are selected according to scale version, rehabilitation task stage, and assistive status to generate standard labels or label conflict states; standard labels or label conflict states, measurement semantic normalized data, data quality status, and original source relationships are combined to generate standard rehabilitation data units; data acceptance status is determined according to stage coverage, data missing, data quality status, and label conflict status to construct a standard rehabilitation dataset.

[0066] This implementation method is jointly executed by a data processing node deployed at the rehabilitation center and a rehabilitation data standardization construction system deployed at the central platform. The data processing node at the rehabilitation center is connected to rehabilitation equipment, rehabilitation assessment system, and scale system, and receives the raw rehabilitation data generated within a single rehabilitation assessment session. The data acquisition and task phase association module at the central platform receives batches of data submitted by each data processing node according to the rehabilitation center identifier. The raw rehabilitation data includes motion data, physiological parameter data, behavioral data, scale data, equipment operating status, auxiliary status, and original labels. Motion data comes from inertial sensors, pressure plates, motion capture devices, or rehabilitation robots, while physiological parameter data comes from electromyography (EMG) acquisition devices, heart rate acquisition devices, or blood oxygen acquisition devices. The number of data sources and the types of equipment in different implementation methods are determined by the actual rehabilitation task configuration, and it is not required that each assessment session include all types of data.

[0067] The data source description is submitted along with the original rehabilitation data. The data source description includes the rehabilitation center identifier, equipment identifier, equipment type, sampling frequency, original unit, coordinate reference, measurement direction, statistical window, and calibration parameters. Each data file or data stream in the original rehabilitation data is associated with a data source description to avoid interpreting observations solely based on field names. For example, when different devices all output a field named "velocity," the data source description can distinguish whether the field represents the subject's forward speed, foot instantaneous speed, joint angular velocity, or rehabilitation robot end effector speed. When the equipment firmware or calibration configuration changes, the data processing node resubmits the corresponding data source description, and the original data source description remains associated with the historical original rehabilitation data.

[0068] The rehabilitation task configuration is issued by the rehabilitation assessment system before the assessment session begins, or read by the central platform from the task configuration library. The rehabilitation task configuration includes rehabilitation task identifier, task start conditions, stage definition, rehabilitation task event type, stage switching conditions, and assistive state definition. Taking the walking assessment task as an example, the stage definition includes preparation stage, movement initiation stage, stable execution stage, direction change stage, movement cessation stage, and recovery stage. Taking the sit-to-stand transition task as an example, the stage definition includes sitting position maintenance stage, trunk forward leaning stage, dismounting stage, extension stage, and standing maintenance stage. The stage names and number vary with the type of rehabilitation task, but the same rehabilitation task configuration uses a unified stage identifier in each rehabilitation center.

[0069] After a rehabilitation assessment session ends and a complete data batch is formed, the data acquisition and task phase association module begins processing the data batch. In real-time processing, when the rehabilitation assessment system outputs a phase end event, the module reads the original rehabilitation data that has been reached in that phase and performs incremental association for that phase. The module first verifies the subject identifier, assessment session identifier, and rehabilitation task identifier, and aggregates data belonging to the same subject, the same assessment session, and the same rehabilitation task into a session data group. When a data source lacks an assessment session identifier, the module does not directly merge it into the session data group according to the reception time, but instead forms a candidate session based on the subject identifier, rehabilitation task identifier, device startup time, and task start time. When the number of candidate sessions is 1, an association is established; when the number of candidate sessions is not 1, the data source is retained and a session association anomaly status is generated.

[0070] After completing the session aggregation, the module extracts rehabilitation task events from various data sources. Task start instructions, direction change instructions, and task end instructions directly output by the rehabilitation assessment system are used as control-type rehabilitation task events. Changes in device status from standby to acquisition are used as device start events. When motion data moves from a static range to a continuously changing range, an action start event is formed. When the sign of the motion direction component changes and continues for more than the configured time, a direction change event is formed. When the motion speed continuously falls below the stop judgment value, an action stop event is formed. When motion data and physiological parameter data return to the corresponding baseline range and remain for the configured duration, a recovery event is formed. Event extraction rules are invoked according to the rehabilitation task configuration and different thresholds are not used to process different tasks. For example, the action start event for the walking task is extracted based on the first continuous contact of plantar pressure and changes in trunk acceleration, while the action start event for the sit-to-stand transition task is extracted based on changes in the trunk forward tilt angle and a decrease in seat pressure.

[0071] The module establishes a correspondence between rehabilitation task events of the same type and in the same order from various data sources. When events of the same type occur in different orders, duplicate triggering events are first excluded according to the allowed event sequence in the rehabilitation task configuration, and then the duration between the events is checked. Events that still conflict after checking are not used as common time anchors. The conflicting data sources retain the original event time and associate the event conflict status in the task phase association dataset. When a data source does not detect a direction change event, but adjacent data sources all detect direction change events, the module forms a candidate time interval based on the adjacent event times. If there is a data change in the candidate time interval that meets the constraints of the direction change phase, the start time of the data change is used as the corresponding event time; otherwise, the event is not added.

[0072] Rehabilitation task events from various data sources that establish corresponding relationships form common time anchors. Each common time anchor includes event type, reference time, event time of each device, and event matching status. The reference time is taken from the event time controlled by the rehabilitation assessment system. When the rehabilitation assessment system does not output a corresponding event, the reference time is formed based on the event times of multiple normal devices. Device time information includes device local timestamp, sampling sequence number, data reception time, and device startup time. The module fits the device time correction relationship between the device local time and the reference time based on multiple common time anchors. In one embodiment, the device time correction relationship is represented as a linear mapping relationship between the reference time and the device local time, where the offset parameter reflects the difference in device startup time, and the proportional parameter reflects the clock drift during the acquisition period. When the number of common time anchors is insufficient to calculate the proportional parameter, only the time offset is corrected, and the time association status of the corresponding data source is set to a low confidence state.

[0073] When handling long-term rehabilitation tasks, device time drift may change during the session. The module divides the time interval according to adjacent common time anchors and calculates the device time correction relationship for each time interval. When the corrected time of adjacent intervals is reversed, the two intervals are not directly concatenated. The module checks whether the device with reversed time has cached retransmission, sample sequence number reset, or device restart. Cached retransmission data is restored in order according to the sample sequence number. Data with reset sample sequence number or device restart forms a new device operating interval, and time correction is performed separately for each device operating interval. Data whose order cannot be restored retains its original time information and is not included in the subsequent measurement semantic normalization dataset.

[0074] Based on the corrected device time information and the stage definition in the rehabilitation task configuration, the module maps each rehabilitation observation data to the corresponding rehabilitation task stage. The boundary of the rehabilitation task stage is preferentially determined by the rehabilitation task events with established correspondences. When there is no direct event at the stage boundary, the stage duration range after the previous event and the data change conditions before the next event are used together for location. Rehabilitation observation data located between two stage boundaries with overlapping time assignments are assigned according to the stage applicability relationship of the measurement items corresponding to the data. Rehabilitation observation data that cannot form a unique stage assignment are retained in the session data group and associated with stage conflict status, and do not participate in the standard observation item matching in S200.

[0075] The task phase association dataset is organized according to the original source index of the rehabilitation observation data. Each association data includes subject identifier, assessment session identifier, rehabilitation center identifier, equipment identifier, rehabilitation task identifier, rehabilitation task phase, original time information, corrected time information, data source description index, and event matching status. S200 reads the data source description index, rehabilitation task phase, and corrected time information, matches them with standard observation items, and performs measurement attribute transformation. Event conflict status, phase conflict status, and low-confidence time association status are also passed along with the corresponding rehabilitation observation data and are called by S300 when generating data quality status.

[0076] S200: Based on the task-stage associated dataset, match standard observation items according to data source description, rehabilitation task stage, and target standard model; transform rehabilitation observation data according to the standard measurement attributes of the standard observation items to generate a measurement semantically normalized dataset.

[0077] The measurement semantic normalization module receives the task stage association dataset formed by S100 and reads the standard observation items and their standard measurement attributes from the target standard model. The target standard model is maintained by the central platform. Each standard observation item corresponds to a specific rehabilitation measurement meaning. Each standard observation item is associated with the applicable equipment type, applicable rehabilitation task, applicable rehabilitation task stage, standard unit, standard coordinate reference, measurement direction, target sampling status, and statistical window. The standard observation item is also associated with the conversion rule version. When the conversion rule version changes, the historical standard rehabilitation data unit can be filtered out and reprocessed according to the version relationship.

[0078] The module does not use the original field name as the sole matching criterion. For a single rehabilitation observation data point in the task-stage associated dataset, the module first filters candidate standard observation items in the target standard model based on the equipment type and original measurement items in the data source description. Then, it excludes candidates that are not applicable to the current task context based on the rehabilitation task identifier and rehabilitation task stage. The remaining candidates continue to be matched according to the original unit, coordinate reference, measurement direction, and statistical window. A mapping relationship is established when there is only one candidate standard observation item. When the number of candidates is greater than one, the module checks the measurement definition corresponding to the equipment model and calibration parameters. If a unique mapping still cannot be formed, an observation item conflict state is generated. When there are no candidate standard observation items, the original observation data and data source description are retained, and an unmapped state is generated.

[0079] Taking walking tasks as an example, the "velocity" field output by the inertial sensor is matched to the standard observation item of forward speed in the stable execution phase of the walking task when the measurement direction is the direction of human movement. When the same field is in the direction change phase, it is matched to the standard observation item of turning speed according to the device measurement definition. The "velocity" field output by the rehabilitation robot is matched to the standard observation item of robot end motion speed due to different device types and coordinate references. Therefore, fields with the same name will not be directly merged in different devices and task phases.

[0080] After establishing the standard observation item mapping, the module calls the corresponding transformation rule for that standard observation item. The transformation order is as follows: time base transformation, sampling state transformation, unit conversion, coordinate transformation, numerical direction transformation, and statistical window transformation. The data structure formed by the previous transformation is used as the input for the next transformation to avoid cross-calculation between the original time axis and the target time axis. When the original attribute of a certain transformation item is consistent with the standard measurement attribute, the module retains the original value and records that the transformation item has not changed numerically.

[0081] The time reference conversion uses the corrected time information generated by S100 to unify the observation time of each data source to the evaluation session reference time. When there is network latency in the real-time data stream, the receiving time does not replace the acquisition time, but is only used as a candidate time source when the device's local time is missing. When the device's local time is missing but the sampling sequence number is continuous, the device time is reconstructed based on the device startup time, sampling frequency, and sampling sequence number. When the sampling sequence number is missing at the same time, the time reference conversion is not performed on this segment of rehabilitation observation data, and the unconverted state is retained.

[0082] The sampling state transition is performed based on the target sampling frequency or target time interval in the target standard model. When the original sampling frequency is higher than the target sampling frequency, resampling is performed within the target time window according to the statistical attributes of the standard observation items. Instantaneous observation items use time proximity values ​​or interpolated values, while average observation items use window statistical values. When the original sampling frequency is lower than the target sampling frequency, interpolation is performed only when the time interval between adjacent valid sampling points is within the range allowed by the transition rules. Time intervals exceeding the allowed range retain the missing data state to avoid creating continuous data across long-term missing segments. Discrete label data and device status data do not undergo numerical interpolation but are mapped to the target time axis according to the event time or status duration interval.

[0083] Unit conversion uses the original units in the data source description and the standard units in the standard observation items to call the conversion relationship; when the original unit is missing, the module does not infer the unit based on the numerical value, but instead searches for the data source description version corresponding to the equipment model; when no usable data source description is found, an unconfirmed unit status is generated; angle data, distance data, velocity data, and pressure data respectively call the conversion rules of the corresponding dimensions, and candidate mappings with inconsistent dimensions are terminated; when the original data has been compensated according to the equipment calibration parameters, the same calibration relationship is not applied repeatedly; when the calibration status is unclear, the original calibration identifier is retained and the observation data is transferred to S300 to generate a low confidence status.

[0084] Coordinate transformation is performed based on the transformation relationship between the original coordinate reference and the standard coordinate reference; the local coordinate data of the wearable inertial sensor is first transformed to the coordinates of the human body part according to the device installation direction, and then transformed to the human body reference coordinates specified by the target standard model; video motion capture data is transformed to the same human body reference coordinates according to the camera calibration parameters; when the installation direction or camera calibration parameters are missing, the module does not directly use the default direction; the data retains the original coordinate values ​​and generates an unconfirmed coordinate state; for scalar data that does not depend on spatial direction, the coordinate transformation item is skipped.

[0085] The numerical direction conversion addresses the issue of different devices using opposite signs for flexion, extension, left turn, and right turn; the module reads the positive direction definition of the standard observation items, compares the original measurement direction with the positive direction definition, and performs sign conversion on the observation value when the directions are opposite; the statistical window conversion handles the differences in the statistical values ​​output by the original devices according to fixed time windows, action cycles, or the entire stage; when the target standard model requires stage statistical values, the module only aggregates valid observation values ​​within the same rehabilitation task stage; the original statistical window that crosses the stage boundary is divided according to the stage boundary, and the original statistical values ​​that cannot be divided are not directly assigned to any stage.

[0086] Each transformation process retains the original source relationships and transformation rule versions; each data point in the measurement semantic normalization dataset includes standard observation items, standardized observation values, standard measurement attributes, rehabilitation task stages, corrected time information, original source index, transformation status, and measurement transformation rule version; observation item conflict states, unmapped states, unconfirmed unit states, and unconfirmed coordinate states are not discarded, but are passed to S300 along with the corresponding data; S300 verifies the above transformation status together with the equipment operating status, data change characteristics, and stage constraints to determine whether the data enters a valid state, a low-confidence state, or an invalid state.

[0087] S300. Based on the measurement semantic normalized dataset, determine the data quality status according to the equipment operating status, data change characteristics, stage constraints, and auxiliary status; perform retention, correction, downweighting, or exclusion according to the data quality status to generate a quality-processed rehabilitation observation dataset.

[0088] After receiving the measurement semantic normalized dataset, the data quality processing module divides the observation segments according to the standard observation items and rehabilitation task stages. The boundaries of the observation segments adopt the task stage boundaries and equipment operation interval boundaries in S100, and do not cross the equipment restart time or task stage switching time. The equipment operation status is obtained from the equipment status record, communication status record and calibration status record in the original rehabilitation data, and the auxiliary status is obtained from the rehabilitation task configuration, therapist operation record or assistive device status record. The auxiliary status includes no-assistance status, device-assisted status and therapist-assisted status.

[0089] For each observation segment, the module extracts data continuity, numerical range, rate of change, and correspondence between data sources; data continuity reflects the distribution of continuous valid sampling points and data missing intervals in the target time axis; numerical range is verified based on the device range, the physical range of standard observation items, and the allowable range of the current rehabilitation task stage; rate of change reflects the degree of change between adjacent observations or adjacent statistical windows; correspondence between data sources reflects whether different devices have consistent time and direction of change for the same action event or the same standard observation item for the same subject and within the same task stage.

[0090] Phase constraints are provided jointly by rehabilitation task configuration and target standard model; phase constraints do not limit rehabilitation data to fixed values, but rather describe the permissible state relationships of observed items within the phase; for example, in the preparation phase, the forward speed should remain within the static range, and joint angles are allowed to adjust posture; in the movement initiation phase, the forward speed changes from a static state to continuous variation, and the plantar pressure contact relationship changes with gait initiation; in the stable execution phase, gait cycle-related data should have a continuous periodic relationship; in the direction conversion phase, changes in movement direction are permissible changes within the phase and should not be marked as abnormal simply because the rate of change increases; different rehabilitation tasks invoke different phase constraints.

[0091] The module first checks the device's operating status; when the device status record indicates that the sensor has fallen off, the device is out of range, calibration has failed, or the device has restarted, the corresponding time interval of the device is marked as an abnormal device state; when the collected data is continuously missing and the communication status record indicates that the connection is interrupted or the data packet retransmission has failed, it is marked as a communication abnormal state; rehabilitation observation data in an abnormal device state or a communication abnormal state are generated as invalid data and will not be corrected to valid data according to the numerical range; valid data before and after the invalid interval are kept in segments to avoid subsequent local corrections crossing the abnormal device interval.

[0092] When the equipment is operating normally, the module verifies the continuity of data, numerical range, rate of change, and correspondence between data sources and stage constraints. When the data is continuous, the observed values ​​are within the range jointly defined by the standard observation items and stage constraints, the rate of change conforms to the state relationship of the current stage, and multiple data sources have corresponding relationships for the same task event or the same action change, a valid state is generated. The rehabilitation observation data corresponding to the valid state retains the original standardized observation values ​​and the transformed state. The S400 directly reads the observation data for label filtering and standard rehabilitation data unit combination.

[0093] When there is a short-term data gap in rehabilitation observation data, the module checks whether the data on both sides of the missing interval belong to the same equipment operation interval and the same rehabilitation task stage, and verifies the relationship between the changes in the observation values ​​before and after. When the data before and after are continuous, the equipment is operating normally, and the missing length is within the correction range specified by the measurement conversion rules, a correctable state is generated. If the missing interval spans an action start event, direction change event, or action stop event, even if the missing duration is short, cross-event interpolation is not performed, and the missing interval remains in an invalid state or a low-confidence state.

[0094] The assistive state is used to distinguish between scene influence and data collection anomalies. When the therapist's assistive start time or the change in the assistive state of the device corresponds to the mutation time of the rehabilitation observation data, the device is operating normally, and the direction of the change after the mutation matches the direction of the assistive action, the module generates a scene influence state. The rehabilitation observation data under the scene influence state is not deleted as device noise, but is kept associated with the corresponding assistive state. When the assistive state record does not correspond to the data mutation time, or when multiple assistive state records conflict with each other, the module does not generate a scene influence state, but generates a low-confidence state or an invalid state based on the correspondence between multiple data sources.

[0095] If the equipment is operating normally and the data change characteristics meet the stage constraints, but other data sources within the same task stage do not generate corresponding observations or events, the module generates a low-confidence state. A low-confidence state does not necessarily mean that the observation value is wrong, but rather that there is a lack of cross-source verification evidence. For example, if an inertial sensor records the start of an action, but the pressure plate data does not cover that moment due to the limitation of the acquisition range, and the inertial sensor itself is in normal condition, the observation segment remains in a low-confidence state. If other data sources record the opposite direction of action or a significantly inconsistent sequence of events, the module checks the equipment's time correlation state. If the time correlation state is normal but the data still conflict, the conflicting interval is adjusted to an invalid state.

[0096] For rehabilitation observation data in a valid state, the module maintains the standardized observation values ​​unchanged; for data in a correctable state, time compensation, resampling, or local correction is performed according to the missing type; when the timestamp intervals are uneven but the sampling sequence numbers are continuous, time compensation is performed according to the sampling sequence number and sampling frequency; when there is a short-term missing data and the changes before and after are continuous, local interpolation is performed; when the original sampling frequency changes and the target time axis sampling points are missing, resampling is performed again; the corrected data retains the original source index and correction method before correction, and the data quality status is still recorded as correctable, without being rewritten to valid.

[0097] Rehabilitation observation data in the scenario-affected state are combined with auxiliary state data and retained; rehabilitation observation data in the low-confidence state are associated with a quality weight, which is formed by data continuity, time-related state, and cross-source corresponding state; in one implementation, the quality weight value is between 0 and 1, and S400 retains the quality weight when combining standard rehabilitation data units. The data acceptance process of S400 assigns the data units corresponding to the low-confidence state to the downgraded acceptance path; invalid state data is segmented according to the equipment abnormality interval or communication abnormality interval. The segmented invalid data does not enter the standard label screening, but the original source index is still retained in the unaccepted data record.

[0098] The quality-processed rehabilitation observation dataset includes semantically normalized measurement data, rehabilitation task stages, data quality status, auxiliary status, correction methods, quality weights, and original source relationships. The S400 reads the standard observation items, standardized observation values, rehabilitation task stages, data quality status, auxiliary status, and original source relationships. Data corresponding to invalid states are not included in the acceptance candidate set of the standard rehabilitation data unit. Label conflicts are still retained in the unaccepted data records according to the original labels for re-screening after the rule version is updated.

[0099] S400: Based on the quality-processed rehabilitation observation dataset, standard label candidates are selected according to scale version, rehabilitation task stage, and assistive status to generate standard labels or label conflict states; standard labels or label conflict states, measurement semantically normalized data, data quality status, and original source relationships are combined to generate standard rehabilitation data units; data acceptance status is determined according to stage coverage, data missing, data quality status, and label conflict states to construct a standard rehabilitation dataset.

[0100] The label mapping and dataset construction module reads the quality-processed rehabilitation observation dataset and associates the original labels with the subject identifier, assessment session identifier, rehabilitation task identifier, and rehabilitation task stage. The original labels include scale item scores, task completion status, assistance level, movement quality category, and device output status code. Each original label is also associated with the label system identifier, scale version, assessment item, and scoring direction. The scoring direction is used to distinguish whether an increase in the value indicates functional improvement or functional limitation, and to prevent incorrect mapping when different scales use opposite scoring directions.

[0101] Candidate standard labels are generated primarily based on the established correspondence between original labels and target standard labels. If the current original label does not exist in the correspondence, the module retrieves the target standard label from the target standard model based on the original label code, label name, and assessment item to form a candidate set. The text name only serves as a candidate retrieval tool and does not directly determine the final standard label. The target standard label is associated with the applicable scale version, assessment item, scoring direction, rehabilitation task stage, and assistive state range. The module checks the correspondence between the candidate and the above conditions in turn.

[0102] Scale version verification is used to exclude candidate labels whose definitions have changed in different versions of the same scale; assessment item verification is used to distinguish between walking ability, balance ability, upper limb motor skills, and daily activity ability; when verifying the scoring direction, if the scoring direction of the original scale and the target standard label is opposite, the original level is converted first according to the correspondence, and then the candidate screening is performed; rehabilitation task stage verification is used to exclude labels that are not applicable to the current stage, for example, the label "stable walking" is not applicable to the movement initiation stage; assistive status verification is used to distinguish between unassisted completion, instrument-assisted completion, and therapist-assisted completion, and labels with the same text but different assistive status are not merged into the same standard label.

[0103] After the above verification, if the number of standard label candidates that meet all the corresponding relationships is 1, the module determines the candidate as the standard label; if there are no candidates that meet all the conditions, a label conflict state is generated, and the original label and the unmet constraint type are retained; if the number of candidates is greater than 1, a label conflict state is also generated, and multiple candidates maintain their original order, without being forced to choose based on text similarity; if the original label is missing, but the target standard model stipulates that the current standard observation item does not require a label, the module does not generate a label conflict state; if the target standard model stipulates that the current data acceptance must have a standard label, the missing original label is recorded as a label conflict state.

[0104] After standard labels or label conflict states are formed, the module combines standard rehabilitation data units according to subjects, assessment sessions, rehabilitation tasks, rehabilitation task stages, and standard observation items. Each standard rehabilitation data unit includes standardized observation values, standard observation items, standard measurement attributes, rehabilitation task stages, data quality status, auxiliary status, standard labels or label conflict states, quality weights, and original source relationships. The original source relationships point to the corresponding original rehabilitation data, data source descriptions, and task stage-related data, which facilitates the subsequent retrieval of original data according to the rule's scope of influence.

[0105] In one implementation, when multiple consecutive observations exist for the same standard observation item within the same rehabilitation task phase, the standard rehabilitation data unit stores the standardized observation sequence and phase statistics for that phase; the phase statistics are formed according to the statistical window specified by the target standard model; when multiple data sources point to the same standard observation item after measurement semantic normalization, data with larger values ​​or higher source levels are not directly selected, but rather organized according to time correspondence and data quality status; when multiple sources are all in a valid state and the observation times correspond, the observations from multiple sources and the source relationships are retained; when a low-confidence state exists, the quality weight is saved along with the corresponding source observation.

[0106] The label mapping and dataset construction module organizes data according to rehabilitation center identification, standard observation items, and rehabilitation task stages based on the generated standard rehabilitation data units. The stage coverage status is checked against the stages required to be collected in the rehabilitation task configuration and the stages that actually form the standard rehabilitation data units. If a task requires the inclusion of an action initiation stage, a stable execution stage, and an action cessation stage, but the data from a certain center only forms the stable execution stage data, the stage coverage status of that session is incomplete. If a certain stage is not included in the task configuration itself, that stage is not considered a missing stage.

[0107] Data missing status is checked against the standard observation items and valid time range required by the target standard model; data that is already in a correctable state and has completed local correction is retained as correctable, but the corresponding time range is no longer considered as uncompensated data missing; data intervals that are excluded due to invalidity are still counted as data missing; label conflict status is checked against the standard rehabilitation data unit. If a standard observation item does not require a standard label, its label field being empty does not constitute a label conflict.

[0108] When the phase coverage of the rehabilitation task is complete, there are no missing data in the rehabilitation observation data, the data quality status is valid or correctable, and there are no label conflicts, the module generates an acceptance status. When the phase coverage is complete, the data quality status is low confidence, and there are no label conflicts, a downgraded acceptance status is generated. When the phase coverage is incomplete, there are invalid states or label conflicts in the standard rehabilitation data units, a temporarily unacceptable status is generated. When the auxiliary status of the scenario-affected state is clear and the target standard model allows the auxiliary status, it enters the acceptance status or downgraded acceptance status according to the target standard model configuration. When the auxiliary status is not within the acceptance scope of the standard observation item, it enters the temporarily unacceptable status.

[0109] Standard rehabilitation data units in the acceptance state and downgraded acceptance state constitute a standard rehabilitation dataset, and their data acceptance states are retained separately. Subsequent modules that call the standard rehabilitation dataset can select the data range based on the data acceptance state without needing to reinterpret the original state of the device. Data in the temporarily unacceptable state is not deleted from the system, and its standard rehabilitation data units, original source relationships, and failed verification conditions are retained in the pending data set. After the rule correction or data re-collection is completed, the data in the pending data set re-enters the corresponding step.

[0110] The standard rehabilitation data unit records the source resolution rule version, measurement conversion rule version, and label mapping rule version. When the source resolution rule, measurement conversion rule, label mapping rule, or target standard model is updated, the system forms the rule impact range based on the rehabilitation center, equipment, standard observation items, rehabilitation tasks, or standard labels associated with the updated content. The rule impact range is matched with the rule version recorded in the standard rehabilitation data unit, and data units that still use the old rules and fall within the update range are selected. Data units that are not affected by the update content remain in their original state and are not reprocessed.

[0111] When the source resolution rules change, the system retrieves the original rehabilitation data and data source description based on the original source index and re-executes the task phase association from S100; when the measurement transformation rules change, it starts executing S200 and subsequent steps from the confirmed task phase association dataset; when the label mapping rules change, it retains the measurement semantic normalized data and data quality status, and only re-executes the standard label screening and data acceptance; the newly generated standard rehabilitation data unit records the new rule version and dataset version, and the original version data unit retains its historical state and is not mixed or overwritten with the new version data unit.

[0112] Example 2: Figure 2 This diagram illustrates a structural block diagram of a rehabilitation data standardization construction system according to an embodiment of the present invention; as shown below. Figure 2 As shown, the structure may include:

[0113] The data acquisition and task phase association module 01 is used to acquire multi-center rehabilitation raw data, data source descriptions, rehabilitation task configurations, and target standard models, identify the corresponding rehabilitation task events for each data source, and map rehabilitation observation data to rehabilitation task phases based on the rehabilitation task events and equipment time information to generate a task phase associated dataset. The data acquisition and task phase association module is connected to the data access interface of each rehabilitation center. Each data access interface receives data files or data streams generated by rehabilitation equipment, rehabilitation assessment system, and scale system within the same assessment session. The multi-center rehabilitation raw data includes rehabilitation observation data, equipment operating status, auxiliary status, raw labels, and equipment time information. The data source description is associated with the corresponding rehabilitation raw data. The module starts association processing after receiving a data batch of a complete assessment session. In the streaming access mode, after the task end event or phase end event indicated by the rehabilitation task configuration arrives, the module performs incremental association of the current phase on the received data.

[0114] The data source description includes rehabilitation center identifier, equipment identifier, equipment type, sampling frequency, raw unit, coordinate reference, measurement direction, statistical window, and calibration parameters. The module first organizes the raw rehabilitation data from each data source according to the subject identifier, assessment session identifier, and rehabilitation task identifier, and then checks the correspondence between the equipment identifier and the data source description. When a device identifier lacks a matching data source description, the rehabilitation observation data submitted by that device remains in its original state and does not enter the standard observation item matching process. The module forms a source description missing state for this data and passes this state to the measurement semantic normalization module along with the task stage-related dataset. When a device identifier matches multiple valid data source descriptions, the module selects the data source description applicable to the acquisition time based on the firmware version, calibration time, or acquisition start time in the device data. If a unique match still cannot be formed, multiple candidate relationships are retained and the stage mapping of that data source is paused.

[0115] The rehabilitation task configuration is submitted by the rehabilitation assessment system before the assessment begins, or read from the configuration items by the data acquisition and task phase association module according to the rehabilitation task identifier. The rehabilitation task configuration specifies the rehabilitation task event type, event sequence, phase definition, and phase switching conditions. The module identifies task start events, movement initiation events, direction change events, movement stop events, and recovery events from different data sources. The task control instructions issued by the rehabilitation assessment system directly form control-type rehabilitation task events. When rehabilitation observation data changes from a static state to continuous change, a movement initiation event is formed. When the movement direction changes continuously, a direction change event is formed. When the observed value returns to the stable range after the task ends, a recovery event is formed. The data change conditions used for event identification are associated with the rehabilitation task configuration, and the walking task, sitting-to-standing transition task, and upper limb movement task respectively call the corresponding event conditions.

[0116] After extracting rehabilitation task events from each data source, the module establishes a corresponding relationship according to event type and event order. When the event types are the same and the order matches the rehabilitation task configuration, events from multiple data sources form a common time anchor. When the event types are the same but the order conflicts, the module checks whether there are duplicate reports from devices, cached retransmissions, or task interruptions. Duplicate events are merged according to the sampling sequence number and event duration, cached retransmission events are restored to the original collection time order, and events before and after the task interruption are assigned to different task intervals. Events that cannot be ruled out from conflict do not form a common time anchor, and the data interval corresponding to the event is appended with an event conflict status.

[0117] The module verifies device time information based on multiple common time anchors. Device time information includes device local time, sampling sequence number, data reception time, and device startup time. When the time offset between multiple common time anchors remains stable, the module corrects the device time according to a unified time offset. When multiple common time anchors show that the time offset changes during the acquisition process, the module divides the device operating range according to adjacent common time anchors and forms device time correction relationships accordingly. When the device restarts or the sampling sequence number is reset during the evaluation session, the rehabilitation observation data before and after the restart are corrected separately, without continuous mapping across the restart time. When there are insufficient common time anchors, the module uses a confirmed task start event to correct the time offset and sets the time association status of the data source to a low-confidence state.

[0118] Time-corrected rehabilitation observation data is mapped to rehabilitation task stages according to the stage definitions in the rehabilitation task configuration; the start and end points of the stages are preferentially adopted from the corresponding rehabilitation task events; when there are no direct events, the module forms candidate stage boundaries based on adjacent events, stage duration intervals, and changes in the rehabilitation observation data; when rehabilitation observation data falls into the overlapping interval of two candidate stages, the module verifies the stage affiliation by combining the equipment type of the observation project and the direction of data change; data that cannot form a unique affiliation retains the original time relationship and adds stage conflict status, and is not merged with rehabilitation observation data of already defined stages.

[0119] The task phase association dataset is organized according to the original source relationship of the rehabilitation observation data. It retains the rehabilitation center identifier, equipment identifier, assessment session identifier, rehabilitation task phase, corrected equipment time information, data source description correspondence, and event matching status. The data acquisition and task phase association module sends the task phase association dataset to the measurement semantic normalization module. The measurement semantic normalization module reads the rehabilitation task phase, equipment type, original unit, coordinate reference, and statistical window from the dataset and performs standard observation item matching. Event conflict status, phase conflict status, and low-confidence time association status are retained for the data quality processing module to verify in the subsequent quality status determination.

[0120] Measurement semantic normalization module 02, connected to the data acquisition and task phase association module, is used to match standard observation items according to the data source description, the rehabilitation task phase, and the target standard model based on the task phase association dataset, and to transform the rehabilitation observation data according to the standard measurement attributes of the standard observation items to generate a measurement semantic normalization dataset. After receiving the task phase association dataset, the measurement semantic normalization module first reads the standard observation items corresponding to the current rehabilitation task in the target standard model. Each standard observation item is associated with the applicable equipment type, the applicable rehabilitation task phase, and standard measurement attributes. The standard measurement attributes include standard time reference, target sampling status, standard unit, standard coordinate reference, standard measurement direction, and standard statistical window. The module does not directly transform the rehabilitation observation data according to the original field names, but first forms a candidate range of standard observation items based on the equipment type and the original measurement items, and then checks them against the measurement attributes in the rehabilitation task phase and data source description.

[0121] When multiple devices output raw measurement items with the same name, the module matches standard observation items according to the device type and rehabilitation task stage. For example, the speed data output by the gait acquisition device in the stable execution stage is matched with the stable walking speed standard observation item, and the speed data in the direction conversion stage is matched with the turning speed standard observation item. The speed data output by the rehabilitation robot is matched to the robot end-effector motion speed standard observation item according to the robot device type and device coordinate reference. When the raw measurement item, device type and rehabilitation task stage are matched together to a standard observation item, the module establishes an observation item mapping relationship. When multiple standard observation items are matched, the module continues to check the raw units, measurement directions, statistical windows and calibration parameters.

[0122] If multiple candidate standard observation items cannot be uniquely matched after measurement attribute verification, the module does not select any of the candidate items, but retains the rehabilitation observation data and multiple candidate items, forming an observation item conflict state; if no applicable standard observation item exists, the module forms an unmapped state; the observation item conflict state and unmapped state are sent to the data quality processing module along with the corresponding rehabilitation observation data, and this data does not participate in the numerical merging between different centers; if the equipment data source description lacks the original unit or coordinate reference, the module reads the corresponding attribute from the calibration parameters applicable at the time of acquisition; if the calibration parameters do not contain this attribute, the unconfirmed state is retained, and the unit or direction is not inferred based on the range of observation values.

[0123] After a unique standard observation item is formed, the module calls the corresponding conversion configuration for that standard observation item and converts the rehabilitation observation data in the order of time reference, sampling status, unit, coordinate reference, numerical direction, and statistical window. The time reference conversion reads the corrected time information in the associated dataset of the task phase and converts the device's local acquisition time into the evaluation session time. When the device's local time is missing but the sampling sequence number is continuous, the acquisition time is restored based on the sampling frequency, device startup time, and sampling sequence number. When both the device's local time and the sampling sequence number are missing, the received time is only used as the basis for sorting abnormal data and is not used as the valid acquisition time.

[0124] The sampling state transition is performed according to the target sampling state specified in the standard observation items. When the original sampling frequency is higher than the target sampling frequency, the module aggregates the original sampling points according to the standard statistical window. When the original sampling frequency is lower than the target sampling frequency, the module checks whether adjacent valid sampling points are located in the same rehabilitation task stage and the same equipment operation interval. When this condition is met and the time interval is within the correction range of the transition configuration, resampling is performed. When the time interval crosses the stage boundary, the equipment restart time, or the communication abnormal interval, the data missing state is maintained, and no observations are supplemented between two valid sampling points.

[0125] Before unit conversion, the module checks the dimensions of the original units and the standard units; if the dimensions are the same but the units are inconsistent, the corresponding conversion relationship is called; if the dimensions are inconsistent, the current mapping is terminated and the rehabilitation observation data is adjusted to the observation item conflict state; coordinate transformation reads the equipment installation direction, camera calibration parameters or rehabilitation robot coordinate configuration, and transforms the local equipment coordinates to the standard coordinate reference specified by the target standard model; spatial observation data lacking coordinate transformation parameters retains the original coordinate reference and adds a coordinate unconfirmed state; scalar observation data that does not involve spatial direction skips coordinate transformation.

[0126] The numerical direction conversion is performed according to the positive direction specified in the standard observation items; when the original equipment uses the opposite sign for flexion, extension, left turn, or right turn, the module converts the numerical sign according to the measurement direction in the data source description; the statistical window conversion handles the cases where different equipment outputs statistical values ​​according to sampling points, action cycles, or complete stages; when the target standard model requires stage statistical values, the module only aggregates the observation data in the same rehabilitation task stage; when the original statistical window spans two rehabilitation task stages and cannot be split according to the original sampling data, the statistical value is not assigned to any stage.

[0127] After the conversion is completed, the measurement semantic normalization module forms a measurement semantic normalized dataset. The measurement semantic normalized dataset retains standard observation items, standardized observation values, standard measurement attributes, rehabilitation task stages, corrected time information, conversion status, and original source relationships. The measurement semantic normalization module transfers this dataset to the data quality processing module. The data quality processing module divides the data into segments according to standard observation items and rehabilitation task stages, and verifies the observation changes under the same measurement semantic. Observation item conflict status, unmapped status, unconfirmed unit status, and unconfirmed coordinate status are used as the basis for quality status judgment and are not directly deleted in the measurement semantic normalization module.

[0128] The data quality processing module 03, connected to the measurement semantic normalization module, is used to determine the data quality status based on the measurement semantic normalization dataset, according to the equipment operating status, data change characteristics, stage constraints, and auxiliary status. It then performs retention, correction, downweighting, or exclusion on the rehabilitation observation data according to the data quality status, generating a quality-processed rehabilitation observation dataset. The data quality processing module organizes the measurement semantic normalization data according to standard observation items, rehabilitation task stages, and equipment operating intervals. The same data segment does not cross task stage switching times, equipment restart times, or communication interruption intervals. The module reads the equipment operating status and auxiliary status from the original rehabilitation data and extracts the data continuity, numerical range, rate of change, and correspondence between multiple data sources for each data segment.

[0129] The stage constraints are provided by the rehabilitation task configuration and the target standard model, and are used to represent the permissible variation of a certain standard observation item within the current rehabilitation task stage; the body forward speed in the preparation stage is in a static range, but the posture angle is allowed to be adjusted; the speed in the movement initiation stage changes from a static state to continuous variation; the periodic observation data in the stable execution stage maintains the relationship between adjacent periods; the direction conversion stage allows changes in movement direction and angular velocity; the data quality processing module checks the data change characteristics against the corresponding stage constraints to avoid using the same numerical range to process different rehabilitation task stages.

[0130] The quality status determination first checks the equipment operating status; the time interval corresponding to sensor detachment, equipment over-range, calibration failure, or equipment restart constitutes an abnormal equipment status; the time interval corresponding to communication interruption, continuous missing data packets, or retransmission failure constitutes a communication abnormal status; the recovery observation data in the abnormal equipment status or communication abnormal status is determined to be invalid, and the module performs segmentation of the data according to the boundary of the abnormal interval, without using cross-segment correction of the observation values ​​before and after the abnormal interval.

[0131] When the equipment is operating normally, the module checks the continuity of data. If the observations before and after a short-term data loss are in the same rehabilitation task stage and the same equipment operation range, and the direction of change meets the stage constraints, an correctable state is generated. If the data loss spans an action start event, a direction change event, or an action stop event, cross-event correction is not performed. For correctable states, the module selects time compensation, resampling, or local correction according to the type of loss. The corrected observation data continues to retain the correctable state and the original source relationship.

[0132] The auxiliary state is used to explain data changes caused by the intervention of devices or therapists. The start time of the auxiliary state corresponds to the time of the observed change. When the device is operating normally and the direction of change is consistent with the direction of the auxiliary action, the module generates the scene influence state. The rehabilitation observation data under the scene influence state is retained together with the auxiliary state and is not excluded as device noise. When the auxiliary state record does not correspond to the data change time, or when multiple auxiliary state records conflict with each other, the module continues to check according to the correspondence of other data sources and does not directly generate the scene influence state.

[0133] When the equipment is operating normally, the data change characteristics meet the stage constraints, and multiple data sources have a corresponding relationship in time and direction of change, the module generates a valid state. When the data change characteristics meet the stage constraints, but other data sources do not form corresponding observations or corresponding task events, a low-confidence state is generated. When other data sources have the opposite event sequence or change direction to the current data source, the module first checks the time association status in the task stage associated dataset. When there is an anomaly in the time association, the low-confidence state is retained and the time association anomaly is attached. When the time association is normal but the observations still conflict, an invalid state is generated.

[0134] The module selects the data processing path according to the data quality status; the rehabilitation observation data corresponding to the valid status retains the values ​​after measurement semantic normalization; the data corresponding to the correctable status undergoes time compensation, resampling, or local correction; the data corresponding to the scenario-affected status is retained after associating with the auxiliary status; the data corresponding to the low-confidence status is retained after associating with the quality weight; the data corresponding to the invalid status is segmented or excluded; the quality weight is formed based on the data continuity, time-related status, and the corresponding status of multiple data sources, and the quality weight enters the subsequent data acceptance process along with the low-confidence status data.

[0135] The quality-processed rehabilitation observation dataset includes measurement semantic normalized data, rehabilitation task stages, data quality status, auxiliary status, correction method, quality weight, and original source relationship. The data quality processing module sends the dataset to the label mapping and dataset construction module. The label mapping and dataset construction module reads the rehabilitation task stages and auxiliary status to filter standard label candidates, and uses the data quality status to determine the data acceptance status of standard rehabilitation data units. Data corresponding to invalid statuses are not included in the acceptance candidate range, but are retained in the temporarily unacceptable data for reprocessing after data collection or rule updates.

[0136] The label mapping and dataset construction module 04, connected to the data quality processing module, is used to filter standard label candidates based on the quality-processed rehabilitation observation dataset according to the scale version, the rehabilitation task stage, and the assistive status, and generate standard labels or label conflict states; combine the standard labels or label conflict states, the measurement semantic normalization data in the measurement semantic normalization dataset, the data quality status, and the original source relationship to generate standard rehabilitation data units; determine the data acceptance status according to stage coverage, data missing, the data quality status, and the label conflict state, and construct a standard rehabilitation dataset based on the data acceptance status; after receiving the quality-processed rehabilitation observation dataset, the label mapping and dataset construction module associates the original labels according to the subject identifier, assessment session identifier, rehabilitation task identifier, and rehabilitation task stage; the original labels come from the scale system, rehabilitation assessment system, or rehabilitation equipment status output, and the original labels are also associated with the scale version, assessment items, and scoring direction.

[0137] The module generates standard label candidates based on the correspondence between the original labels and the target standard labels. If a correspondence already exists, it reads the candidate options corresponding to the original label code or the original label name. If no correspondence exists, it retrieves candidate options from the target standard model based on the label name and assessment item. The matching results of the label names only form a candidate range. The module continues to check the scale version, assessment item, scoring direction, rehabilitation task stage, and assistive status of the candidate options. When all correspondences between the candidate options and the above objects are valid and the number of candidate options is 1, a standard label is generated.

[0138] When scale versions are inconsistent, the module reads the item definitions and scoring ranges in the corresponding versions. If there is a configured conversion relationship between the versions, the original label level is converted first, and then the standard label candidates are filtered. When the scoring directions are opposite, the level conversion order is based on the scoring direction relationship corresponding to the scale version. If the current rehabilitation task stage is inconsistent with the applicable stage of the candidate label, or if the auxiliary state is not within the applicable range of the candidate label, the candidate is excluded. If there are no candidates after filtering or there are multiple candidates remaining, the module generates a label conflict state and does not force the selection of the standard label based on the degree of text similarity.

[0139] Once a standard label or label conflict state is formed, the module organizes measurement semantically normalized data according to the standard observation items and rehabilitation task stages. Standardized observation values, standard measurement attributes, data quality status, auxiliary status, standard labels or label conflict states, and original source relationships together form a standard rehabilitation data unit. When the same standard observation item has continuous observation data within a rehabilitation task stage, the standard rehabilitation data unit retains the corresponding observation sequence or forms stage statistics according to the statistical window specified by the target standard model. When multiple data sources are mapped to the same standard observation item, the observation values ​​of each source maintain a correspondence with their respective data quality status and original source relationships, and are not directly overwritten by device name.

[0140] After standard rehabilitation data units are formed, the module checks the stage coverage according to the rehabilitation center identifier, standard observation items, and rehabilitation task stages. The stage coverage is based on the stages specified in the rehabilitation task configuration. Specified stages that have not formed standard rehabilitation data units are marked as having incomplete stage coverage. Stages not included in the rehabilitation task configuration are not considered missing stages. Data missing is checked according to the effective sampling interval or statistical window specified by the target standard model. Data in a correctable state that has been partially corrected is no longer counted as uncorrected data missing, while the exclusion interval corresponding to invalid states is still counted as data missing.

[0141] When the phase coverage is complete, the rehabilitation observation data has no missing data, the data quality status is valid or correctable, and there is no label conflict, the module enters the acceptance state; when the phase coverage is complete, the data quality status is low confidence and there is no label conflict, the module enters the downgraded acceptance state; when the phase coverage is incomplete, there are invalid states, or there are label conflicts, the module enters the temporary non-acceptance state; the data corresponding to the scenario impact state is checked according to the auxiliary state acceptance conditions in the target standard model. If the auxiliary state is within the allowable range, it enters the acceptance state or downgraded acceptance state; if the auxiliary state is not within the allowable range, it enters the temporary non-acceptance state.

[0142] Standard rehabilitation data units in the acceptance state and downgraded acceptance state are organized into standard rehabilitation datasets and retain their respective data acceptance states; standard rehabilitation data units in the non-acceptance state retain their original source relationships and failed verification conditions and are not mixed with accepted data; when external data call interfaces read standard rehabilitation datasets, the call scope is selected according to the rehabilitation task, standard observation items, rehabilitation task stage and data acceptance state; data in the downgraded acceptance state is output with quality weight.

[0143] When source resolution rules, measurement transformation rules, label mapping rules, or target standard models are updated, the label mapping and dataset construction module determines the affected data range based on the rehabilitation centers, equipment, standard observation items, rehabilitation tasks, or standard labels associated with the updated content. When label mapping rules change, the module retains existing measurement semantic normalization data and data quality status, re-filters standard labels, and updates the data acceptance status. When measurement transformation rules change, the corresponding original source relationship is handed over to the measurement semantic normalization module for re-transformation. When source resolution rules or task stage definitions change, the corresponding original rehabilitation data is handed over to the data acquisition and task stage association module for re-association. The newly formed standard rehabilitation data units enter the current standard rehabilitation dataset, while the original data units maintain their original processing status for traceability between different processing results.

Claims

1. A method for standardizing rehabilitation data construction, characterized in that, include: S100: Acquire multi-center rehabilitation raw data, data source descriptions, rehabilitation task configurations, and target standard models; identify the corresponding rehabilitation task events for each data source; map rehabilitation observation data to rehabilitation task stages based on rehabilitation task events and equipment time information; and generate task stage-related datasets. S200: Based on the task-stage associated dataset, match standard observation items according to data source description, rehabilitation task stage, and target standard model; transform rehabilitation observation data according to the standard measurement attributes of standard observation items to generate a measurement semantic normalized dataset. S300: Based on the measurement semantic normalized dataset, determine the data quality status according to the equipment operating status, data change characteristics, stage constraints and auxiliary status; perform retention, correction, downweighting or exclusion according to the data quality status to generate a quality-processed rehabilitation observation dataset; S400. Based on the quality-processed rehabilitation observation dataset, standard label candidates are selected according to scale version, rehabilitation task stage, and assistive status to generate standard labels or label conflict states; standard labels or label conflict states, measurement semantic normalized data, data quality status, and original source relationships are combined to generate standard rehabilitation data units; data acceptance status is determined according to stage coverage, data missing, data quality status, and label conflict status to construct a standard rehabilitation dataset.

2. The method for standardizing rehabilitation data construction according to claim 1, characterized in that, The data source description includes rehabilitation center identifier, equipment identifier, equipment type, sampling frequency, original unit, coordinate reference, measurement direction, statistical window, and calibration parameters; the target standard model includes standard observation items, standard measurement attributes, target standard labels, and data acceptance conditions.

3. The method for standardizing rehabilitation data construction according to claim 2, characterized in that, The process of identifying corresponding rehabilitation task events from each data source and mapping rehabilitation observation data to rehabilitation task stages includes: Extract task start events, action initiation events, direction change events, action stop events, and recovery events from the raw rehabilitation data from various data sources; Establish a correspondence between rehabilitation task events of the same event type from various data sources to generate common time anchors; The device time correction relationship is determined based on multiple common time anchor points, and the device time information is corrected according to the device time correction relationship. Based on the corrected device time information and the stage definitions in the rehabilitation task configuration, the rehabilitation observation data is mapped to the rehabilitation task stage.

4. The method for standardizing rehabilitation data construction according to claim 3, characterized in that, The matching of standard observation items and the transformation of rehabilitation observation data include: Based on equipment type, original unit, coordinate reference, measurement direction, statistical window, and rehabilitation task stage, standard observation items are matched from the target standard model; The conversion rules corresponding to the standard observation items are invoked to perform time base conversion, resampling, unit conversion, coordinate conversion, numerical direction conversion, and statistical window conversion on the rehabilitation observation data, generating a measurement semantic normalized dataset.

5. The method for standardizing rehabilitation data construction according to claim 1, characterized in that, The data change characteristics include data continuity, numerical range, rate of change, and the correspondence between various data sources; the data change characteristics are verified against the stage constraints of the rehabilitation task, and a data quality status is generated by combining the equipment operating status and auxiliary status; A valid status is generated when the equipment is operating normally, the data change characteristics meet the stage constraints, and there is a corresponding relationship between the data sources. When the equipment is operating normally but there are correctable missing data in the rehabilitation observation data, a correctable status is generated. When the equipment is operating normally and the data change characteristics correspond to the auxiliary status, the scene impact status is generated. A low-confidence state is generated when the equipment is operating normally, the data change characteristics meet the stage constraints, and there is no corresponding relationship between the data sources. An invalid status is generated when the device is in an abnormal operating state or a communication abnormal state.

6. The method for standardizing rehabilitation data construction according to claim 5, characterized in that, The process of retaining, correcting, downgrading, or excluding data based on its quality status includes: Retention should be performed on rehabilitation observation data that is currently in a valid state; Perform time compensation, resampling, or local correction on rehabilitation observation data that is in a correctable state; Rehabilitation observation data that is under the influence of the scene will be retained after being associated with the auxiliary state; Reduce the weighting of rehabilitation observation data that are in a low-confidence state; Segment or exclude rehabilitation observation data that are in an invalid state.

7. The method for standardizing rehabilitation data construction according to claim 6, characterized in that, The standard label candidates are generated based on the correspondence between the original labels and the target standard labels; the correspondence between the standard label candidates and the scale version, assessment items, scoring direction, rehabilitation task stage and assistive status are verified respectively. When the number of standard label candidates that all correspondences are true is 1, the standard label candidate is determined as a standard label. A label conflict state is generated when the number of standard label candidates that all correspond to the given conditions is 0 or greater than 1.

8. The method for standardizing rehabilitation data construction according to claim 7, characterized in that, The determination of the data acceptance status includes: Standardized rehabilitation data units are organized according to the rehabilitation center's logo, standard observation items, and rehabilitation task phases; An acceptance status is generated when the phase coverage of the rehabilitation task is complete, there are no uncorrected missing data in the rehabilitation observation data, the data quality status is valid or correctable, and there are no label conflicts. When the phase coverage of the rehabilitation task is complete, there are no uncorrected missing data in the rehabilitation observation data, the data quality status is the scenario-affected status, the corresponding auxiliary status meets the data acceptance conditions in the target standard model and there is no label conflict status, an acceptance status or a downgraded acceptance status is generated according to the configuration of the target standard model. When the phase coverage of the rehabilitation task is complete, there are no uncorrected missing data in the rehabilitation observation data, the data quality status is low confidence and there is no label conflict, a downgraded acceptance status is generated. When the phase coverage of the rehabilitation task is incomplete, or there are uncorrected missing data in the rehabilitation observation data, or there is an invalid state, or the auxiliary state corresponding to the rehabilitation observation data in the scenario influence state does not meet the data acceptance conditions in the target standard model, or there is a label conflict state, a temporary non-acceptance state is generated. A standard rehabilitation dataset is constructed from standard rehabilitation data units in the acceptance state and the downgraded acceptance state, and the corresponding data acceptance state is recorded respectively.

9. The method for standardizing rehabilitation data construction according to claim 8, characterized in that, The standard rehabilitation data unit records the original source index, source resolution rule version, measurement conversion rule version, and label mapping rule version; When source resolution rules, measurement transformation rules, label mapping rules, or target standard models are updated, the scope of the rule's impact is determined based on the rehabilitation center, equipment, standard observation items, rehabilitation tasks, or standard labels corresponding to the updated content. Based on the scope of influence of the rules and the rule version recorded in the standard rehabilitation data unit, the affected standard rehabilitation data units are filtered, the original rehabilitation data is retrieved according to the original source index, and the corresponding task stage association, measurement semantic normalization, standard label filtering or data acceptance status determination are re-executed to regenerate the standard rehabilitation data units.

10. A rehabilitation data standardization construction system, applied to the method of any one of claims 1 to 9, characterized in that, include: The data acquisition and task phase association module is used to acquire multi-center rehabilitation raw data, data source descriptions, rehabilitation task configurations and target standard models, identify the corresponding rehabilitation task events of each data source, map rehabilitation observation data and rehabilitation task phases based on the rehabilitation task events and equipment time information, and generate task phase association datasets. The measurement semantic normalization module is connected to the data acquisition and task stage association module. It is used to generate a measurement semantic normalization dataset by matching standard observation items according to the data source description, the rehabilitation task stage and the target standard model based on the task stage association dataset, and by converting the rehabilitation observation data according to the standard measurement attributes of the standard observation items. The data quality processing module is connected to the measurement semantic normalization module. It is used to determine the data quality status based on the measurement semantic normalization dataset, according to the equipment operating status, data change characteristics, stage constraints and auxiliary status, and to perform retention, correction, downweighting or exclusion on the rehabilitation observation data according to the data quality status, so as to generate a quality-processed rehabilitation observation dataset. The label mapping and dataset construction module, connected to the data quality processing module, is used to filter standard label candidates based on the quality-processed rehabilitation observation dataset according to the scale version, the rehabilitation task stage, and the assistive state, and generate standard labels or label conflict states; combine the standard labels or label conflict states, the measurement semantic normalization data in the measurement semantic normalization dataset, the data quality state, and the original source relationship to generate standard rehabilitation data units; determine the data acceptance state according to stage coverage, data missingness, the data quality state, and the label conflict state, and construct a standard rehabilitation dataset based on the data acceptance state.