A method, device and medium for generating test data of a multi-parameter monitor system
By generating and sending vital sign data that simulates multiple patients, the problem of high equipment costs in the research and development and testing of multi-parameter vital sign monitoring systems is solved, and low-cost data simulation and efficient test scenario simulation are achieved.
Patent Information
- Application Number
- CN202411548514.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2044-11-01
AI Technical Summary
During the development and testing of multi-parameter vital sign monitoring systems, existing methods require a large number of physical monitors and simulators to simulate data from multiple patients, resulting in high R&D and testing costs, especially when it is necessary to simulate patient data from multiple beds and In high load scenarios, the equipment cost cannot be borne.
A multi-parameter monitor system test data generation method is proposed. By receiving and storing physiological parameter data under different conditions, the simulated monitor number and patient type are generated according to user configuration, and the data is randomly combined to simulate the sign data of multiple patients. Send to the target machine, greatly saving equipment and costs.
It realizes low-cost simulation data generation in the R&D and testing scenarios of multi-parameter vital sign monitoring systems, reducing equipment demand and R&D costs, and is suitable for simulation of patient data in multiple beds and high-load scenario testing.
Smart Images

Figure CN119097290B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to a method, device and medium for generating test data of a multi-parameter monitor system. Background Art
[0002] The collection and real-time monitoring of multi-parameter vital signs of patients is an important measure for hospitals to provide critical condition warning and clinical diagnosis and treatment for patients. Patients need to wear a multi-parameter vital signs monitor. The device collects the patient's vital signs (including ECG, blood pressure, blood oxygen, respiration, end-tidal carbon dioxide, EEG, EMG, etc.) through sensors, and then transmits them to the multi-parameter vital signs monitoring system (including the central monitoring system) through WIFI or 4G network. The central monitoring system displays multi-parameter waveform data, parameter data, and critical alarm information.
[0003] During the development process of the multi-parameter vital signs monitoring system, it is necessary to connect with the multi-parameter vital signs monitor to obtain multiple vital signs data, display parameters, draw waveforms, and issue early warning alarms. During the development and testing process, R&D or testing personnel need to use physical monitors and parameter simulators to simulate the scenario where a single patient generates multiple different vital signs data. However, this method can only simulate the vital signs data generated by a single patient. However, the use scenario of the multi-parameter vital signs monitoring system is to centrally monitor all patients in a department or a ward (a department consists of multiple wards, and a ward generally has at least 30 beds, that is, a department may have at least 60 beds). The display interface needs to simultaneously display the vital signs data of patients in all beds, such as Figure 1 As shown, if you need to simulate the vital signs data of dozens of patients at the same time, and need to simulate different patients to generate different data (such as Figure 2 In the existing method, dozens of monitors and simulators are needed to test the load of the central monitoring system. In addition, if the load of the central monitoring system needs to be tested, it is necessary to simulate the scenario of hundreds or thousands of devices transmitting data and monitoring at the same time. In this case, countless devices are needed. The market price of a monitor is generally over 10,000 yuan, and the price of a simulator is even higher. If more parameters are required, the price will be even higher. The R&D team of the multi-parameter vital signs monitoring system often cannot afford the high R&D and testing costs. Summary of the invention
[0004] In order to solve the above problems, the present invention proposes a method, device and medium for generating test data of a multi-parameter monitor system.
[0005] The specific plan is as follows:
[0006] A method for generating test data of a multi-parameter monitor system comprises the following steps:
[0007] S1: receiving data of various physiological parameters collected by the monitor under different diseases, and storing the data into different files according to the type of physiological parameters and the type of disease;
[0008] S2: receiving the number of simulated monitors N, the target machine and port, the patient type, the simulated monitor model and the simulated physiological parameter type configured by the user, wherein the simulated physiological parameter type includes the physiological parameter type and the disease type contained under the physiological parameter, and the disease type contained under the physiological parameter is one or more;
[0009] S3: according to all the disease types included in the configured physiological parameters, searching for files corresponding to these disease types from the data storage address;
[0010] S4: Randomly combine the file contents corresponding to all the disease types found into N sets of combined data according to the data format corresponding to the configured analog monitor model, each set of combined data contains data of all configured physiological parameter types, and the data of each physiological parameter type contains all disease types included in the configured physiological parameter;
[0011] S5: Randomly generate N patient information according to the configured patient type;
[0012] S6: randomly combining the N combined data with the N patient information to obtain simulated vital sign data of the N patients;
[0013] S7: Send the simulated vital sign data of N patients to the target machine according to the configured target machine and port.
[0014] Furthermore, when storing data, the data collection time in each piece of data is converted into relative time.
[0015] Furthermore, the patient information includes the patient's name, age, gender, bed number and department.
[0016] Furthermore, the age in the patient information is set based on the patient type, which includes infants, children, adults and the elderly.
[0017] Furthermore, when there are multiple types of symptoms included in the configured physiological parameters, when the data of different types of symptoms included in the physiological parameters are combined into combined data, the arrangement order of the data is randomly generated.
[0018] Furthermore, when data is stored and read, it is performed in accordance with the data format corresponding to the physiological parameter type.
[0019] A multi-parameter monitor system test data generating terminal device comprises a processor, a memory and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above method of the embodiment of the present invention are implemented.
[0020] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described above in an embodiment of the present invention are implemented.
[0021] The present invention adopts the above technical solution and proposes a new simulation data generation scheme based on the R&D and testing scenarios of the multi-parameter vital signs monitoring system (i.e., it is necessary to simulate more patient data of different types of vital signs), which greatly saves R&D costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 Shown is a schematic diagram showing the vital signs data of all patients in beds at the same time.
[0023] Figure 2 Shown is a schematic diagram of a patient's vital signs data.
[0024] Figure 3 Shown is a flow chart of a method according to a first embodiment of the present invention.
[0025] Figure 4 The figure shows a schematic diagram of the configuration information constructed in this embodiment.
[0026] Figure 5 Shown is a schematic diagram of disease type selection under physiological parameters in this embodiment.
[0027] Figure 6 Shown is a schematic diagram of the display interface of the combination result in this embodiment.
[0028] Figure 7 Shown is a schematic diagram of combining two types of physiological parameter data, electrocardiogram and blood pressure, in this embodiment.
[0029] Figure 8 Shown is a schematic diagram of the patient's simulated vital sign data display interface in this embodiment. DETAILED DESCRIPTION
[0030] To further illustrate various embodiments, the present invention provides drawings. These drawings are part of the disclosure of the present invention, which are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in this field should be able to understand other possible implementations and advantages of the present invention.
[0031] The present invention will now be further described with reference to the accompanying drawings and specific implementation methods.
[0032] Embodiment 1:
[0033] The embodiment of the present invention provides a method for generating test data of a multi-parameter monitor system, such as Figure 3 As shown, the method comprises the following steps:
[0034] S1: receiving data of various physiological parameters under different diseases collected by the monitor, and storing the data into different files according to the physiological parameter type and disease type.
[0035] In this embodiment, all the received data come from the same monitor.
[0036] By connecting the monitor to the physical simulator, the simulated physiological parameters can be collected. When collecting each physiological parameter, the corresponding connection line needs to be used to connect the monitor and the physical simulator. For example, the collection of ECG data requires the use of ECG lead wires, and the collection of body temperature data requires the use of the corresponding connection line of the body temperature sensor.
[0037] In this embodiment, the types of physiological parameters include electrocardiogram, blood pressure, blood oxygen, respiration, body temperature, end-tidal carbon dioxide, electroencephalogram, etc. Each type of physiological parameter needs to simulate data of different diseases. For example, the electrocardiogram parameters need to simulate normal electrocardiogram, tachycardia, bradycardia, arrest, atrial premature beats, ventricular premature beats, ventricular premature bigeminy and other diseases on the simulator. The blood pressure parameters need to simulate systolic and diastolic pressures that are normal, high, low, extremely high, extremely low, etc., respectively. Other physiological parameters are similar, and different physiological parameters usually correspond to different diseases.
[0038] Usually, only one set of data is needed for each disease. For example, for the disease of too fast heart rate, one set of corresponding ECG data is enough. One set of data can contain only one independent data (such as one blood pressure data), or multiple independent data (such as multiple blood pressure data), or one continuous data (such as ECG data within a period of time, which contains multiple time-related ECG data). When collecting data, users can set the collection frequency and collection time of each parameter.
[0039] In this embodiment, TCP communication is used and the communication protocol corresponding to the monitor is used to communicate with the monitor (such as the Mindray monitor) to receive the data collected by it.
[0040] Since the monitor will attach the specific time of data collection when transmitting data, but since this embodiment only needs the data itself, after receiving the data, the collection time of data collection is converted into relative time, and the relative time takes the start time of the entire data as the starting point. For example, when collecting blood pressure data, since it is a non-continuous measurement, it is only necessary to record the relative time of each collection (such as the first measurement is 1 minute after the start, and the second measurement is 2 minutes after the start).
[0041] When storing data, the storage path uses the physiological parameter type as the primary path, and the primary path includes multiple files corresponding to different types of symptoms. In one embodiment, folders of types such as ECG, blood pressure, blood oxygen, and respiration are established respectively, and then the received data files of different abnormal types are named according to the abnormal data type and saved in the corresponding folders. For example, the data corresponding to the abnormal ECG data "premature ventricular bigeminy" needs to be formed into a file and named "premature ventricular bigeminy" and saved in the "ECG" folder.
[0042] The data format when saving can be saved according to the characteristics of each type of data. For example, ECG data files can be saved in hexadecimal files according to the lead sequence. Blood pressure data is generally only numbers and can be saved in csv format. The same is true for other types. Just make sure that you can read the data according to the corresponding type when you use it later.
[0043] S2: Receive the number of simulated monitors N, target machine and port, patient type, simulated monitor model and simulated physiological parameter type configured by the user, wherein the simulated physiological parameter type includes the physiological parameter type and the disease type contained under the physiological parameter, and the disease type contained under the physiological parameter is one or more.
[0044] In order to simulate the scenario where multiple patients are wearing multi-parameter vital signs monitors at the same time, multiple monitors need to be simulated. In this embodiment, the above configuration information is implemented by constructing a configuration information table, such as Figure 4As shown. Among them, the number of simulated monitors N is used to record the number of monitors that need to be simulated in this batch simulation (that is, N monitors are simulated at the same time for data transmission). The target machine and port are used to set the sending target of the simulated vital signs data. In this embodiment, the target machine is a "multi-parameter vital signs monitoring system (central monitoring system)", and in other embodiments, it can also be other systems or devices. The patient type is used to set the type of patient wearing the simulated monitor. The patient type can include infants, children, adults, the elderly, etc., and the alarm parameter thresholds corresponding to different patient types are different. The simulated monitor model is used to configure the model of the simulated monitor. Usually, the data organization method and data transmission protocol adopted by monitors of different manufacturers and models are inconsistent, which will cause different models of monitors to organize physiological parameter data in different ways. If the development and test personnel need to test the data of a certain model of monitor, they need to use the model of monitor alone for data simulation. Therefore, by setting different monitor models, the data of monitors of different models can be simulated, and "assembly and sending of data formats of different manufacturers and models based on unified physiological parameter data" can be realized. In the configuration of simulated physiological parameter types, users can freely combine the physiological parameter types and disease data that need to be simulated and sent by the batch of monitors.
[0045] Furthermore, in the configuration of the simulated physiological parameter type, the disease type included in the physiological parameter may be one or more, such as Figure 5 If all physiological parameters contain only one disease type, the N combined data are the same; if at least one physiological parameter contains more than one disease type, at least two different combined data can be combined; by increasing the disease types contained in each physiological parameter, the differences of the N combined data can be increased.
[0046] S3: According to all the disease types included in the configured physiological parameters, files corresponding to these disease types are searched from the data storage address.
[0047] The data storage address is the address stored in step S1.
[0048] The searched files need to include files of all configured physiological parameters. If only one symptom type is configured under a physiological parameter, only files of this symptom type are searched; if only multiple symptom types are configured under a physiological parameter, files of multiple symptom types are searched.
[0049] S4: Randomly combine the file contents corresponding to all the disease types found into N sets of combined data according to the data format corresponding to the configured analog monitor model, each set of combined data contains data of all configured physiological parameter types, and the data of each physiological parameter type contains all disease types contained in the configured physiological parameter.
[0050] When reading the found file contents, it is necessary to read according to the data format corresponding to each file, and assemble according to the data format corresponding to the configured analog monitor model.
[0051] When at least one configured physiological parameter includes multiple disease types, each set of combined data needs to include data of all disease types included in the physiological parameter, but the arrangement order of the data of different disease types may be different to achieve the purpose of combining into a plurality of different combined data.
[0052] In this embodiment, the combination result is Figure 6 The list shown includes the number of N and the target machine port for each simulation batch.
[0053] like Figure 7 The figure shows the combination of two types of physiological parameter data, ECG and blood pressure. In the data contained in the file, ECG has been continuously collected and blood pressure has been measured three times, one minute, six minutes and eleven minutes after the start of the measurement. Therefore, when assembling and sending the data, from 00:00:00 to 00:00:59, it is only necessary to send the ECG data in a certain format. At 00:01:00, the blood pressure data and ECG data need to be combined and sent synchronously.
[0054] S5: Randomly generate N patient information according to the configured patient type.
[0055] In this embodiment, the patient information includes the patient's name, age, gender, bed number and department, wherein the patient's name can be randomly generated based on the Chinese character library, the patient's age is set based on the patient type, and the patient's gender, bed number and department are randomly generated.
[0056] S6: Randomly combine the N combined data with the N patient information to obtain simulated vital sign data of the N patients.
[0057] The patient's simulated vital signs data includes patient information and combined data, such as Figure 8 shown.
[0058] S7: Send the simulated vital sign data of N patients to the target machine according to the configured target machine and port.
[0059] The embodiment of the present invention proposes a low-cost simulation data generation solution for the research and development test scenario requirements of a multi-parameter vital signs monitoring system.
[0060] Embodiment 2:
[0061] The present invention also provides a multi-parameter monitor system test data generating terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the above-mentioned method embodiment of the first embodiment of the present invention when executing the computer program.
[0062] Further, as an executable solution, the multi-parameter monitor system test data generation terminal device can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The multi-parameter monitor system test data generation terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that the composition structure of the multi-parameter monitor system test data generation terminal device is only an example of the multi-parameter monitor system test data generation terminal device, and does not constitute a limitation on the multi-parameter monitor system test data generation terminal device, and may include more or less components than the above, or a combination of certain components, or different components. For example, the multi-parameter monitor system test data generation terminal device may also include input and output devices, network access devices, buses, etc., and the embodiments of the present invention do not limit this.
[0063] Further, as an executable solution, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the multi-parameter monitor system test data generation terminal device, and uses various interfaces and lines to connect various parts of the entire multi-parameter monitor system test data generation terminal device.
[0064] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the multi-parameter monitor system test data generation terminal device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and an application required for at least one function; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart MediaCard, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0065] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method in the embodiment of the present invention are implemented.
[0066] If the module / unit integrated in the test data generation terminal device of the multi-parameter monitor system is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory) and software distribution medium, etc.
[0067] Although the present invention has been specifically shown and described in conjunction with the preferred embodiments, it should be understood by those skilled in the art that various changes may be made to the present invention in form and details without departing from the spirit and scope of the present invention as defined by the appended claims, all of which are within the scope of protection of the present invention.
Claims
1. A method for generating test data of a multi-parameter monitor system, characterized in that: The following steps are involved: S1: receiving data of various physiological parameters collected by the monitor under different diseases, and storing the data into different files according to the type of physiological parameters and the type of disease; S2: receiving the number of simulated monitors N, the target machine and port, the patient type, the simulated monitor model and the simulated physiological parameter type configured by the user, wherein the simulated physiological parameter type includes the physiological parameter type and the disease type contained under the physiological parameter, and the disease type contained under the physiological parameter is one or more; S3: according to all the disease types included in the configured physiological parameters, searching for files corresponding to these disease types from the data storage address; S4: Randomly combine the file contents corresponding to all the disease types found into N sets of combined data according to the data format corresponding to the configured analog monitor model, each set of combined data contains data of all configured physiological parameter types, and the data of each physiological parameter type contains all disease types included in the configured physiological parameter; S5: Randomly generate N patient information according to the configured patient type; S6: randomly combining the N combined data with the N patient information to obtain simulated vital sign data of the N patients; S7: Send the simulated vital sign data of N patients to the target machine according to the configured target machine and port.
2. The method for generating test data of a multi-parameter monitor system according to claim 1, characterized in that: When storing data, the data collection time in each piece of data is converted into relative time.
3. The method for generating test data of a multi-parameter monitor system according to claim 1, characterized in that: Patient information includes the patient's name, age, gender, bed number, and department.
4. The method for generating test data of a multi-parameter monitor system according to claim 3, characterized in that: The age in the patient information is set based on the patient type, which includes infants, children, adults, and the elderly.
5. The method for generating test data of a multi-parameter monitor system according to claim 1, characterized in that: When there are multiple disease types included in the configured physiological parameters, when combining into combined data, the arrangement order of the data of different disease types included in the physiological parameters is randomly generated.
6. The method for generating test data of a multi-parameter monitor system according to claim 1, characterized in that: When storing and reading data, it is done in accordance with the data format corresponding to the physiological parameter type.
7. A multi-parameter monitor system test data generation terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 6 when executing the computer program.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method as claimed in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Automatic test equipment (ATE) of multi-parameter monitor and test method thereof
CN102058430A
Monitoring system and a monitoring method
CN111540459A