A method, system, device, and storage medium for monitoring the working state of a medical device
By initializing medical equipment and real-time current sequence acquisition, combined with cache pool optimization technology, real-time and accurate detection of the working status of medical equipment is achieved, and the problems of equipment procurement and charging basis are solved.
Patent Information
- Application Number
- CN202210382618.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-12
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2042-04-12
AI Technical Summary
The existing technology cannot effectively monitor the specific working status of medical equipment, resulting in the lack of theoretical basis for equipment procurement, the health status of equipment cannot be known, and the specific time the patients use equipment is not clearly counted, which affects the hospital's equipment-level charging basis.
By initializing the monitoring device, obtaining its current range criterion in different working states, collecting the current sequence and sampling time series in real time, initially judging the working state, and optimizing the initial judgment state when the buffer pool reaches the preset capacity to obtain the final judgment working state.
Real-time working status detection of medical equipment is realized, the accuracy of detection is improved, theoretical basis for equipment procurement is provided, the specific time for patients to use equipment is counted, and the hospital's equipment-level charging basis is optimized.
Smart Images

Figure CN114689977B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical device monitoring, and particularly to a method, system, device, and storage medium for monitoring the working state of medical devices. Background Art
[0002] In a hospital, there are many large fixed medical devices (such as CT, high-frequency electrosurgical units, ultrasonic scalpels, and semiconductor laser devices, etc.), and they are distributed in different departments. The specific usage situation of each device (including the power-on and power-off times and usage duration, etc.) cannot be known, resulting in the following defects:
[0003] 1. When a department submits an application for equipment procurement and fills in the reasons for the application every year, since the specific working state of the equipment cannot be known, generally only words such as "equipment shortage" and "insufficient equipment" can be used to describe it. However, for the equipment department or the supervisors of the State-owned Assets Supervision and Administration Commission to review the procurement application, there is a lack of a theoretical basis for approval, often resulting in the department being unable to successfully purchase the equipment.
[0004] 2. The long-term operation of medical devices without knowing the specific working state makes it impossible to know the health status of the devices.
[0005] 3. During the medical treatment process of patients, the treatment fees they pay often include equipment usage fees. However, since the working state of the equipment cannot be known, it is impossible to clearly count the specific duration of the patients' use of the equipment, resulting in a lack of a charging basis at the hospital equipment level. Summary of the Invention
[0006] The technical problem to be solved by the present invention is to provide a method, system, device, and storage medium for monitoring the working state of medical devices in view of the above-mentioned deficiencies of the prior art, which can monitor the power-on and power-off times of medical devices, the usage duration of different gears, and the health status, etc., provide a theoretical basis for equipment procurement, count the specific duration of patients' use of the equipment, and optimize the charging basis at the hospital equipment level.
[0007] The technical solution of the present invention for solving the above technical problems is as follows:
[0008] A method for monitoring the working state of a medical device includes the following steps:
[0009] Step 1: Initialize the device to be monitored, and obtain the current range criteria of the device to be monitored in multiple working states;
[0010] Step 2: Obtain the real-time current sequence of the device to be monitored and the corresponding real-time sampling time sequence of the real-time current sequence, and obtain the initial judgment working state sequence corresponding to the device to be monitored under the real-time current sequence according to the current range criteria;
[0011] Step 3: Cache the real-time current sequence, the real-time sampling time sequence, and the preliminary judgment working state sequence into a cache pool. When the cache pool reaches the preset capacity, optimize the cached preliminary judgment working state sequence according to the real-time current sequence and the real-time sampling time sequence cached in the cache pool to obtain the final judgment working state sequence corresponding to the device to be monitored under the real-time current sequence.
[0012] According to another aspect of the present invention, there is also provided a medical device working state monitoring system, including an initialization module, a preliminary judgment module, and an optimization module;
[0013] The initialization module is configured to initialize the device to be monitored and obtain the current range criteria of the device to be monitored in multiple working states;
[0014] The preliminary judgment module is configured to obtain the real-time current sequence of the device to be monitored and the real-time sampling time sequence corresponding to the real-time current sequence, and obtain the preliminary judgment working state sequence corresponding to the device to be monitored under the real-time current sequence according to the current range criteria;
[0015] The optimization module is configured to cache the real-time current sequence, the real-time sampling time sequence, and the preliminary judgment working state sequence into a cache pool. When the cache pool reaches the preset capacity, optimize the cached preliminary judgment working state sequence according to the real-time current sequence and the real-time sampling time sequence cached in the cache pool to obtain the final judgment working state sequence corresponding to the device to be monitored under the real-time current sequence.
[0016] According to another aspect of the present invention, there is provided a medical device working state monitoring device, including a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program runs, it implements the steps in a medical device working state monitoring method of the present invention.
[0017] According to another aspect of the present invention, there is provided a computer storage medium, which includes: at least one instruction, and when the instruction is executed, it implements the steps in a medical device working state monitoring method of the present invention.
[0018] The beneficial effects of the method, system, device, and storage medium for monitoring the working state of a medical device according to the present invention are as follows: Through the initialization process, the current range criteria for the device to be monitored in different working states are determined, facilitating subsequent preliminary judgment of the real-time working state of the device to be monitored based on the current range criteria, and realizing real-time detection of the working state of the device to be monitored. Among them, when obtaining the real-time current sequence and the real-time sampling time sequence, there is a corresponding real-time current for each real-time sampling time. After the preliminary judgment, it can be determined which working state the device is in at each real-time sampling time, and a preliminary judgment working state is obtained accordingly. After the preliminary judgment, the real-time current sequence and the real-time sampling time sequence collected in real time, as well as the preliminary judgment working state sequence obtained from the preliminary judgment, are all cached in the cache pool, and the cached preliminary judgment working state sequence is optimized to realize fine adjustment of the preliminary judgment working state at each real-time sampling time, which can improve the accuracy of real-time detection of the usage state of the device to be monitored.
[0019] The method, system, device, and storage medium for monitoring the working state of a medical device according to the present invention can monitor the working state of the medical device, including information such as the power-on and power-off times, the usage duration of different gears, and the health status, etc., providing a theoretical basis for equipment procurement, counting the specific duration of patients' use of the device, and optimizing the charging basis of the hospital at the equipment level. Brief Description of the Drawings
[0020] Figure 1 It is a schematic flowchart of a method for monitoring the working state of a medical device in Embodiment 1 of the present invention;
[0021] Figure 2 It is a schematic flowchart of obtaining the current range criteria in Embodiment 1 of the present invention;
[0022] Figure 3 It is a schematic flowchart of grouping the current data sequence according to the upper limit value of current change in Embodiment 1 of the present invention;
[0023] Figure 4 It is a schematic diagram of grouping the current data sequence according to the lower limit value of current change in Embodiment 1 of the present invention;
[0024] Figure 5 It is a schematic diagram of optimizing the cached preliminary judgment working state sequence in Embodiment 1 of the present invention;
[0025] Figure 6 It is a schematic flowchart of re-optimizing the adjusted working state of all real-time currents in Embodiment 1 of the present invention;
[0026] Figure 7 It is a schematic structural diagram of a system for monitoring the working state of a medical device in Embodiment 2 of the present invention. Detailed Description of the Invention
[0027] The principles and features of the present invention will be described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not intended to limit the scope of the present invention.
[0028] The present invention will be described below in conjunction with the accompanying drawings.
[0029] Example 1, as Figure 1 shown, a method for monitoring the working state of a medical device includes the following steps:
[0030] S1: Initialize the device to be monitored, and obtain the current range criteria of the device to be monitored under multiple working states;
[0031] S2: Obtain the real-time current sequence of the device to be monitored and the corresponding real-time sampling time sequence of the real-time current sequence. According to the current range criteria, obtain the initial judgment working state sequence of the device to be monitored under the real-time current sequence;
[0032] S3: Cache the real-time current sequence, the real-time sampling time sequence, and the initial judgment working state sequence into a cache pool. When the cache pool reaches the preset capacity, optimize the cached initial judgment working state sequence according to the real-time current sequence and the real-time sampling time sequence cached in the cache pool, and obtain the final judgment working state sequence of the device to be monitored under the real-time current sequence.
[0033] Through the initialization process, the current range criteria of the device to be monitored in different working states are determined, which is convenient for subsequent initial judgment of the real-time working state of the device to be monitored based on the current range criteria, and realizes the real-time detection of the working state of the device to be monitored; among them, when obtaining the real-time current sequence and the real-time sampling time sequence, each real-time sampling time corresponds to a real-time current. After the initial judgment, it can be judged which working state the device is in at each real-time sampling time, and an initial judgment working state is correspondingly obtained; after the initial judgment, the real-time current sequence and the real-time sampling time sequence collected in real time, as well as the initial judgment working state sequence obtained by the initial judgment, are all cached in the cache pool, and the cached initial judgment working state sequence is optimized, realizing the fine adjustment of the initial judgment working state at each real-time sampling time, and can improve the accuracy of the real-time detection of the usage state of the device to be monitored;
[0034] The method for monitoring the working state of a medical device in this embodiment can monitor the working state of the medical device, including information such as the power-on and power-off time, the usage duration of different gears, and the health status, etc., provide a theoretical basis for equipment procurement, count the specific duration of patients using the device, and optimize the charging basis of the hospital at the equipment level.
[0035] In a specific embodiment, both the initial judgment working state sequence and the final judgment working state sequence include multiple working states. Specifically, the working states include standby, running, and shutdown, where running further includes first gear, second gear, and third gear, etc.
[0036] Preferably, as Figure 2 shown, the specific steps of S1 include:
[0037] S11: Obtain all the working states of the device to be monitored, and determine the upper limit value and the lower limit value of the current change of the device to be monitored according to all the working states;
[0038] The calculation formula for determining the upper limit value of the current change is:
[0039] CV max = 100% / (A / f1);
[0040] The calculation formula for determining the upper limit value of the current change is:
[0041] CV min = 100% / (A × f2);
[0042] Wherein, CV max and CV min are respectively the upper limit value and the lower limit value of the current change, A is the total number of all working states, and f1 and f2 are the first preset coefficient and the second preset coefficient respectively;
[0043] S12: Use the energy efficiency monitoring terminal to obtain the current data sequence of the device to be monitored within a preset time period;
[0044] S13: Group the current data sequence according to the upper limit value and the lower limit value of the current change respectively, to obtain a plurality of first current groups and the number of the first groups corresponding to the upper limit value of the current change, and a plurality of second current groups and the number of the second groups corresponding to the lower limit value of the current change;
[0045] S14: Judge whether the difference in the number between the number of the first groups and the number of the second groups satisfies a preset grouping criterion. If so, the grouping ends and S15 is executed; otherwise, S16 is executed;
[0046] S15: Obtain the current range criterion according to all the first current groups or all the second current groups;
[0047] S16: Adjust the upper limit value and the lower limit value of the current change respectively, and return to step 13 until the difference in the number between the number of the first groups and the number of the second groups satisfies the preset grouping criterion.
[0048] First, all possible working states of the device to be monitored are preliminarily determined. According to the first preset coefficient and the second preset coefficient set in advance, combined with the total number of all working states, the upper limit value and the lower limit value of the current change that can reflect the current change amplitude are determined. Based on these two values, it is convenient to group the collected current data sequence according to the current change amplitude in the subsequent process. Since the current change amplitude is closely related to the working state, when the working state changes, the current will change. Therefore, it is possible to group the current data sequence according to different working states, thereby providing a theoretical basis for obtaining the current range criterion under different working states; when the upper limit value and the lower limit value of the current change are determined, the current data sequence of the device to be monitored within a certain time (i.e., the preset time period) is collected, which is convenient to implement the initialization process; then, the current data sequence is grouped according to the upper limit value and the lower limit value of the current change respectively, and the difference between the first grouping number and the second grouping number obtained after grouping is used for judgment, which can effectively avoid the inaccuracy caused by obtaining the current range criterion through a single grouping. By comparing the two different grouping results, the accuracy and reliability of the current range criterion are effectively improved; in the process of judging according to the difference between the first grouping number and the second grouping number obtained after grouping, if the difference between the two numbers meets the preset grouping criterion, it means that both grouping results are relatively close to the ideal grouping, and each current grouping is relatively close to the current range under the corresponding actual working state. Then, the multiple first current groupings or multiple second current groupings obtained by the two groupings can be determined as the current ranges under each working state, and thus the final current range criterion is obtained; if the difference between the two numbers does not meet the preset grouping criterion, it means that the two grouping results have a large difference and deviate from the current range under the corresponding actual working state. Therefore, it is necessary to adjust the upper limit value and the lower limit value of the current change and re-group until the difference between the first grouping number and the second grouping number after re-grouping meets the preset grouping criterion.
[0049] Through the above steps S11 to S16 of this embodiment for initialization, it can ensure that an accurate current range criterion is obtained, thereby improving the accuracy of real-time monitoring of the working state of medical equipment.
[0050] Specifically, the first preset coefficient f1 and the second preset coefficient f2 in S11 of this embodiment can be set and adjusted in advance according to the actual situation. For example, the first preset coefficient f1 is set to 3, and the second preset coefficient f2 is set to 4.
[0051] Preferably, the specific implementation of S12 is as follows:
[0052] Using the energy efficiency monitoring terminal, obtain the current data set of the device to be monitored within the preset time period, and sort all the current data in the current data set according to the preset sorting method to obtain the current data sequence.
[0053] The above energy efficiency monitoring terminal is used to collect the current data of the device to be monitored in real time, obtain the current data set within a preset time period, and send it to the initialization module.
[0054] Specifically, the preset sorting method is specifically to sort in ascending order according to the current value.
[0055] Specifically, the specific implementation of separately adjusting the upper limit value of the current change and the lower limit value of the current change in S16 is as follows:
[0056] Reduce the first preset coefficient f1 to adjust the upper limit value of the current change, and increase the second preset coefficient f2 to adjust the lower limit value of the current change.
[0057] It should be noted that the current range criterion in the present invention is specifically a one-to-one correspondence relationship between different working states and different current ranges, that is, each working state corresponds to a current range, as shown in the following table, and the current range specifically includes a plurality of discrete current data (such as i11, i12, i13,..., i1m in the following table, etc.).
[0058] Table: Examples of current range criteria in this embodiment
[0059]
[0060] Preferably, as Figure 3 shown, in S13, the specific steps of grouping the current data sequence according to the upper limit value of the current change include:
[0061] S13A.1: Starting from the front end of the current data sequence, calculate the current change amplitude between every two adjacent current data in turn;
[0062] S13A.2: Select the current change amplitude between the i-th current data and the (i + 1)-th current data, compare the selected current change amplitude with the upper limit value of the current change. When the selected current change amplitude is greater than or equal to the upper limit value of the current change, classify the i-th current data into the previous group and the (i + 1)-th current data into the next group; otherwise, classify the i-th current data and the (i + 1)-th current data into the same group; where i is a positive integer;
[0063] S13A.3: Starting from the front end of the current data sequence, traverse each current change amplitude in turn, and group the adjacent two current data corresponding to each current change amplitude according to the method of S13A.2; and obtain multiple first current groups corresponding to the upper limit value of the current change and the number of the first groups according to all the grouped current data;
[0064] As shown Figure 4 in FIG. 2, in S13, the specific steps of grouping the current data sequence according to the lower limit value of the current change include:
[0065] S13B.1: Starting from the front end of the current data sequence, calculate the current change amplitude between every two adjacent current data in turn;
[0066] S13B.2: Select the current change amplitude between the i-th current data and the (i + 1)-th current data, compare the selected current change amplitude with the lower limit value of the current change. When the selected current change amplitude is greater than or equal to the lower limit value of the current change, classify the i-th current data into the previous group and classify the (i + 1)-th current data into the next group; otherwise, classify the i-th current data and the (i + 1)-th current data into the same group;
[0067] S13B.3: Starting from the front end of the current data sequence, traverse each current change amplitude in turn, and group the two adjacent current data corresponding to each current change amplitude according to the method of S13B.2; and obtain multiple second current groups corresponding to the lower limit value of the current change and the number of the second groups according to all the grouped current data.
[0068] In the process of grouping according to the upper limit value of the current change, first start from the front end of the current data sequence, calculate the current change amplitude between every two adjacent current data in turn, and then compare with the upper limit value of the current change in turn. For example, for the current change amplitude between the i-th current data and the (i + 1)-th current data selected, when the selected current change amplitude is greater than or equal to the upper limit value of the current change, it indicates that there is a large change amplitude between the i-th current data and the (i + 1)-th current data at this time. In these two cases, the device to be monitored may be in different working states, so it is necessary to cut the i-th current data and the (i + 1)-th current data into two different groups, that is, classify the i-th current data into the previous group and classify the (i + 1)-th current data into the next group; if the selected current change amplitude is less than the upper limit value of the current change, it indicates that there is no large change amplitude between the i-th current data and the (i + 1)-th current data. In these two cases, the device to be monitored may be in the same working state, and it is necessary to classify the i-th current data and the (i + 1)-th current data into the same group; every two adjacent current data are grouped according to the same method and principle, so as to achieve the purpose of grouping the current data sequence with the upper limit value of the current change as the cut-off point; the situation of grouping according to the lower limit value of the current change is the same by analogy and will not be elaborated here.
[0069] Through the above steps of grouping according to the upper limit value of current change and the lower limit value of current change respectively, two-grouping of the current data sequence is achieved, which can effectively avoid the inaccuracy caused by obtaining the current range criterion through single grouping, and effectively improve the accuracy and reliability of the current range criterion.
[0070] Specifically, in S13A.1 and S13B.1, the specific formula for calculating the current change amplitude between the i-th current data and the (i + 1)-th current data is:
[0071]
[0072] CV i,i+1 is the current change amplitude between the i-th current data and the (i + 1)-th current data, C i and C i+1 are the i-th current data and the (i + 1)-th current data respectively, C max and C min are the maximum current value and the minimum current value in the current data sequence respectively.
[0073] Specifically, in S14, the preset grouping criterion is specifically:
[0074] |a - b| ≤ A × error th ;
[0075] where a and b are the number of the first grouping and the number of the second grouping respectively, and error th is the preset error threshold.
[0076] In the above preset grouping criterion, the preset error threshold error th can be preset and adjusted according to the actual situation.
[0077] Preferably, as Figure 5 shown, in S3, the specific steps for optimizing the cached initial judgment working state sequence include:
[0078] S31: Select the j-th real-time current in the real-time current sequence. When the initial judgment working state corresponding to the (j - 1)-th real-time current in the initial judgment working state sequence is the same as the initial judgment working state corresponding to the (j + 1)-th real-time current, and the initial judgment working state corresponding to the j-th real-time current is different from both the initial judgment working state corresponding to the (j - 1)-th real-time current and the initial judgment working state corresponding to the (j + 1)-th real-time current, adjust the initial judgment working state corresponding to the j-th real-time current according to the initial judgment working state corresponding to the (j - 1)-th real-time current or the initial judgment working state corresponding to the (j + 1)-th real-time current to obtain the adjusted working state corresponding to the j-th real-time current; where j is an integer and satisfies j ≥ 2;
[0079] S32: Determine the initial judgment working state corresponding to the first real-time current at the front end of the real-time current sequence as the adjustment working state of the first real-time current, and starting from the second real-time current at the front end of the real-time current sequence, traverse each real-time current in sequence, and adjust the initial judgment working state corresponding to each real-time current according to the method of S31 to obtain the adjustment working state corresponding to each real-time current;
[0080] S33: Group all the real-time currents according to the adjustment working states of all the real-time currents to obtain multiple real-time current groups, and sort all the real-time current groups from first to last according to the real-time sampling time sequence to obtain a real-time current group sequence;
[0081] S34: Re-optimize the adjustment working states of all the real-time currents according to the real-time current group sequence and the real-time sampling time sequence to obtain the final judgment working state sequence.
[0082] When the cache pool reaches the preset capacity (that is, the cache pool is full and no new real-time currents are added), the first optimization of the initial judgment working state corresponding to each real-time current is realized through these two steps of S31 and S32, improving the accuracy of the working state monitoring of medical devices; among them, in S31, when the initial judgment working state corresponding to the (j - 1)-th real-time current is the same as the initial judgment working state corresponding to the (j + 1)-th real-time current (indicating that the initial judgment working states of the two real-time currents before and after the j-th real-time current are the same), and the initial judgment working state corresponding to the j-th real-time current is different from both the initial judgment working state corresponding to the (j - 1)-th real-time current and the initial judgment working state corresponding to the (j + 1)-th real-time current (indicating that the initial judgment working state of the j-th real-time current is different from both the two real-time currents before and after it), it means that there is a mutation in the initial judgment working state corresponding to the j-th real-time current, which may be caused by misjudgment in the initial judgment, etc. At this time, it can be adjusted according to the initial judgment working states of the two real-time currents before and after it, playing a filtering role for the misjudged initial judgment working state; in S32, starting from the second real-time current at the front end of the real-time current sequence, filter according to the method of S31 in sequence to realize the first optimization. It should be noted that in S32, since there is only one adjacent real-time current for the first real-time current at the front end of the real-time current sequence, the initial judgment working state corresponding to this first real-time current is not adjusted, and its initial judgment working state is its corresponding adjustment working state.
[0083] After the first optimization is completed in S32, all real-time currents are grouped according to all the adjusted working states after the first optimization and sorted in the order from first to last, facilitating the second optimization of the adjusted working states of each grouped and sorted real-time current group sequence, thereby achieving a further refined optimization of each preliminary judgment working state of the device to be monitored and further improving the accuracy and reliability of the working state monitoring of medical devices.
[0084] It should be noted that before optimizing the preliminary judgment working state sequence in S31 - S34, the cache pool needs to reach the preset capacity. If the cache pool does not reach the preset capacity, it is necessary to continuously cache the real-time current, real-time sampling time, and the preliminary judgment working state corresponding to the real-time current until the cache pool reaches the preset capacity. Among them, the cache pool and its preset capacity are set in advance. The capacity of the cache pool depends on the time span it stores. When the time span reaches the preset time threshold, it means that the capacity of the cache pool has reached the preset capacity, and the cache pool is full and no new data is cached.
[0085] In a specific embodiment, each working state of the device to be monitored is provided with a corresponding preset minimum duration. In this embodiment, the preset time threshold is greater than or equal to the maximum value of all the preset minimum durations of the states, which is expressed by the following formula:
[0086] T th ≥max{t 1min ,t 2min ,...t Amin};
[0087] Among them, T th is the preset time threshold, and t 1min , t 2min , … and t Amin are the preset minimum durations of each state respectively, and the subscript A corresponds to the total number of all working states. Specifically, for example, when the working states are specifically standby, running, and shutdown, the device to be monitored is provided with a standby preset minimum duration, a running preset minimum duration, and a shutdown preset minimum duration. Then the preset time threshold T th is greater than or equal to max{standby preset minimum duration, running preset minimum duration, shutdown preset minimum duration}.
[0088] Preferably, as Figure 6 shown, the specific steps of S34 include:
[0089] S341: According to the real-time sampling time sequence, calculate the total duration of the first group of real-time current groups at the beginning of the real-time current group sequence. The first group of real-time current groups is denoted as C k1 ; and judge the first group of real-time current groups C k1Whether the total duration is greater than or equal to the corresponding status preset minimum duration. If so, execute S342; otherwise, execute S343;
[0090] S342: Determine the adjustment working state of the first group of real-time current groups C k1 as the corresponding final judgment working state, and remove the first group of real-time current groups C k1 from the cache pool; take the second group of real-time current groups starting from the front end of the real-time current group sequence as the new first group of real-time current groups, and return to S341 until each real-time current group in the real-time current group sequence has been traversed; where the second group of real-time current groups is denoted as C k2 ;
[0091] S343: Calculate the total duration of the second group of real-time current groups C k2 according to the real-time sampling time sequence, and determine whether the total duration of the second group of real-time current groups C k2 is greater than or equal to the corresponding status preset minimum duration. If so, execute S344; otherwise, execute S345;
[0092] S344: Merge the first group of real-time current groups C k1 starting from the front end of the real-time current group sequence and the second group of real-time current groups C k2 into a new first group of real-time current groups, and determine the adjustment working state corresponding to the new first group of real-time current groups for the adjustment working state of the second group of real-time current groups C k2 , and return to S341 until each real-time current group in the real-time current group sequence has been traversed;
[0093] S345: Merge the first group of real-time current groups C k1 starting from the front end of the real-time current group sequence and the second group of real-time current groups C k2 into a new first group of real-time current groups, and respectively obtain the total current of the first group of real-time current groups C k1 and the second group of real-time current groups C k2 . Determine the adjustment working state corresponding to the new first group of real-time current groups for the adjustment working state of the real-time current group with the larger total current, and return to S341 until each real-time current group in the real-time current group sequence has been traversed;
[0094] S346: When each real-time current group in the real-time current group sequence has been traversed, obtain the final judgment working state sequence according to the final judgment working states of all real-time current groups.
[0095] In S342, when it is judged that the first group of real-time current groups C k1(i.e., the earliest group of real-time current groups) has a total duration greater than or equal to the corresponding state preset minimum duration. For example, when the first group of real-time current group C k1 is in the standby adjustment working state, its total duration is greater than or equal to the standby preset minimum duration, indicating that the working state of the first group of current groups at this time conforms to the actual situation of standby and no adjustment is required. Its adjustment working state is the final judgment working state of this real-time current group, and its relevant data can be removed from the cache pool, and the next group of real-time current groups is used as the new first group of real-time current groups for the same comparison and judgment; while when the total duration is less than the corresponding state preset minimum duration, it means that it does not conform to the actual situation of standby, indicating that the first group of real-time current group C k1 and the second group of real-time current group C k2 following it may be real-time currents in the same working state, and the second group of real-time current group C k2 needs to be combined for judgment; in S344, when the total duration of the second group of real-time current group C k2 is greater than or equal to the corresponding state preset minimum duration, they are combined into a new first group of real-time current groups, and the adjustment working state of the second group of real-time current group C k2 is determined as the adjustment working state of the new first group of real-time current groups, and then as the new first group of real-time current groups, it is judged in the same way as in S341; while in S345, when the total duration of the second group of real-time current group C k2 is less than the corresponding state preset minimum duration, they also need to be combined into a new first group of real-time current groups, and the adjustment working state of the real-time current group with more current totals is determined as the adjustment working state of the new first group of real-time current groups, and then as the new first group of real-time current groups, it is judged in the same way as in S341. When all real-time current groups have been traversed, the second optimization process can be completed, and all the obtained final judgment working states are the final judgment working state sequence, realizing a further fine optimization of the initial judgment working states of the device to be monitored.
[0096] Embodiment 2. As Figure 7 shown, a medical device working state monitoring system includes an initialization module, an initial judgment module, and an optimization module;
[0097] The initialization module is used to initialize the device to be monitored and obtain the current range criteria of the device to be monitored in multiple working states;
[0098] The initial judgment module is used to obtain the real-time current sequence of the device to be monitored and the corresponding real-time sampling time sequence of the real-time current sequence, and according to the current range criteria, obtain the initial judgment working state sequence of the device to be monitored under the real-time current sequence;
[0099] The optimization module is used to cache the real-time current sequence, the real-time sampling time sequence, and the preliminary judgment working state sequence into a cache pool. When the cache pool reaches a preset capacity, according to the real-time current sequence and the real-time sampling time sequence cached in the cache pool, the cached preliminary judgment working state sequence is optimized to obtain the final judgment working state sequence corresponding to the device to be monitored under the real-time current sequence.
[0100] By using the initialization module to determine the current range criteria for the device to be monitored in different working states, it is convenient to preliminarily judge the real-time working state of the device to be monitored based on the current range criteria in the subsequent process, realizing the real-time detection of the usage state of the device to be monitored. Among them, when obtaining the real-time current sequence and the real-time sampling time sequence, there is a corresponding real-time current for each real-time sampling time. After the preliminary judgment by the preliminary judgment module, it can be judged which working state the device is in at each real-time sampling time, and a preliminary judgment working state is obtained for each real-time sampling time and each real-time current. After the preliminary judgment, the real-time current sequence, the real-time sampling time sequence collected in real time, and the preliminary judgment working state sequence obtained by the preliminary judgment are all cached into the cache pool by the optimization module, and the cached preliminary judgment working state sequence is optimized, realizing the fine adjustment of the preliminary judgment working state at each real-time sampling time, and improving the accuracy of the real-time detection of the usage state of the device to be monitored.
[0101] The medical device working state monitoring system of this embodiment can monitor the working state of medical devices, including information such as the power-on and power-off time, the usage duration of different gears, and the health status, providing a theoretical basis for equipment procurement, counting the specific duration of patients using the device, and optimizing the charging basis of the hospital at the equipment level.
[0102] Preferably, the initialization module includes a limit determination unit, a collection unit, a first grouping unit, a first judgment unit, and an adjustment unit;
[0103] The limit determination unit is used to obtain all the working states of the device to be monitored, and determine the upper limit value and the lower limit value of the current change of the device to be monitored according to all the working states;
[0104] The calculation formula for determining the upper limit value of the current change is:
[0105] CV max = 100% / (A / f1);
[0106] The calculation formula for determining the upper limit value of the current change is:
[0107] CV min = 100% / (A × f2);
[0108] Among them, CV max and CV min are respectively the upper limit value of the current change and the lower limit value of the current change, A is the total number of all working states, and f1 and f2 are the first preset coefficient and the second preset coefficient respectively;
[0109] The acquisition unit is used to obtain the current data sequence of the device to be monitored within a preset time period by using the energy efficiency monitoring terminal;
[0110] The first grouping unit is used to group the current data sequence according to the upper limit value of the current change and the lower limit value of the current change respectively, to obtain a plurality of first current groups and the number of first groupings corresponding to the upper limit value of the current change, and a plurality of second current groups and the number of second groupings corresponding to the lower limit value of the current change;
[0111] The first judgment unit is used to judge whether the difference in the number between the number of first groupings and the number of second groupings meets a preset grouping criterion. If so, the grouping ends, and the current range criterion is obtained according to all the first current groups or all the second current groups;
[0112] The adjustment unit is used to, when the first judgment unit judges that the difference in the number between the number of first groupings and the number of second groupings does not meet the preset grouping criterion, adjust the upper limit value of the current change and the lower limit value of the current change respectively, and re-execute the functions of the first grouping unit and the first judgment unit in sequence until the first judgment unit judges that the difference in the number between the number of first groupings and the number of second groupings meets the preset grouping criterion.
[0113] Preferably, the acquisition unit is specifically used for:
[0114] Using the energy efficiency monitoring terminal, obtain the current data set of the device to be monitored within a preset time period, and sort all the current data in the current data set according to a preset sorting method to obtain the current data sequence.
[0115] Preferably, the first grouping unit is specifically used for:
[0116] Starting from the front end of the current data sequence, calculate the current change amplitude between every two adjacent current data in turn;
[0117] Select the current change amplitude between the \(i\)-th current data and the \((i + 1)\)-th current data, compare the selected current change amplitude with the upper limit value of the current change. When the selected current change amplitude is greater than or equal to the upper limit value of the current change, classify the \(i\)-th current data into the previous group and classify the \((i + 1)\)-th current data into the next group; otherwise, classify the \(i\)-th current data and the \((i + 1)\)-th current data into the same group; where \(i\) is a positive integer;
[0118] Starting from the front end of the current data sequence, traverse each current change amplitude in turn, group the adjacent two current data corresponding to each current change amplitude; and obtain multiple first current groups corresponding to the upper limit value of the current change and the number of the first groups according to all the grouped current data;
[0119] The first grouping unit is further specifically configured to:
[0120] Starting from the front end of the current data sequence, calculate the current change amplitude between each adjacent two current data in turn;
[0121] Select the current change amplitude between the \(i\)-th current data and the \((i + 1)\)-th current data, compare the selected current change amplitude with the lower limit value of the current change. When the selected current change amplitude is greater than or equal to the lower limit value of the current change, classify the \(i\)-th current data into the previous group and classify the \((i + 1)\)-th current data into the next group; otherwise, classify the \(i\)-th current data and the \((i + 1)\)-th current data into the same group;
[0122] Starting from the front end of the current data sequence, traverse each current change amplitude in turn, group the adjacent two current data corresponding to each current change amplitude; and obtain multiple second current groups corresponding to the lower limit value of the current change and the number of the second groups according to all the grouped current data.
[0123] Specifically, the specific formula for calculating the current change amplitude between the \(i\)-th current data and the \((i + 1)\)-th current data is:
[0124]
[0125] CV i,i+1 is the current change amplitude between the \(i\)-th current data and the \((i + 1)\)-th current data, \(C i and \(C i+1 are the \(i\)-th current data and the \((i + 1)\)-th current data respectively, \(C max and \(C min are the maximum current value and the minimum current value in the current data sequence respectively.
[0126] Specifically, the preset grouping criterion is specifically:
[0127] |a - b| ≤ A × error th ;
[0128] where a and b are the number of the first group and the number of the second group respectively, and error th is a preset error threshold.
[0129] Preferably, the optimization module includes a first optimization unit, a second grouping unit, and a second optimization unit;
[0130] The first optimization unit is used for:
[0131] Select the j-th real-time current in the real-time current sequence. When in the initial judgment working state sequence, the initial judgment working state corresponding to the (j - 1)-th real-time current is the same as the initial judgment working state corresponding to the (j + 1)-th real-time current, and the initial judgment working state corresponding to the j-th real-time current is different from both the initial judgment working state corresponding to the (j - 1)-th real-time current and the initial judgment working state corresponding to the (j + 1)-th real-time current, adjust the initial judgment working state corresponding to the j-th real-time current according to the initial judgment working state corresponding to the (j - 1)-th real-time current or the initial judgment working state corresponding to the (j + 1)-th real-time current to obtain the adjusted working state corresponding to the j-th real-time current; where j is an integer and satisfies j ≥ 2;
[0132] Determine the initial judgment working state corresponding to the first real-time current at the front end of the real-time current sequence as the adjusted working state of the first real-time current, and starting from the second real-time current at the front end of the real-time current sequence, traverse each real-time current in turn, and adjust the initial judgment working state corresponding to each real-time current to obtain the adjusted working state corresponding to each real-time current;
[0133] The second grouping unit is used for grouping all real-time currents according to the adjusted working states of all real-time currents to obtain multiple real-time current groups, and sorting all real-time current groups from first to last according to the real-time sampling time sequence to obtain a real-time current group sequence;
[0134] The second optimization unit is used for re-optimizing the adjusted working states of all real-time currents according to the real-time current group sequence and the real-time sampling time sequence to obtain the final judgment working state sequence.
[0135] Preferably, the second optimization unit includes a first judgment subunit, a determination subunit, a second judgment subunit, a first merging subunit, a second merging subunit, and an output subunit;
[0136] The first judgment subunit is used to calculate the total duration of the first group of real-time current groups starting from the front end of the real-time current group sequence according to the real-time sampling time series, and the first group of real-time current groups is denoted as C k1 ; and judge whether the total duration of the first group of real-time current groups C k1 is greater than or equal to the corresponding state preset minimum duration;
[0137] The determination subunit is used to, when the judgment result of the first judgment subunit is yes, determine the adjusted working state of the first group of real-time current groups C k1 as the corresponding final judgment working state, and remove the first group of real-time current groups C k1 from the buffer pool; use the second group of real-time current groups starting from the front end of the real-time current group sequence as the new first group of real-time current groups, and return to the first judgment subunit until each real-time current group in the real-time current group sequence has been traversed; where the second group of real-time current groups is denoted as C k2 ;
[0138] The second judgment subunit is used to, when the judgment result of the first judgment subunit is no, calculate the total duration of the second group of real-time current groups C k2 and judge whether the total duration of the second group of real-time current groups C k2 is greater than or equal to the corresponding state preset minimum duration;
[0139] The first merging subunit is used to, when the judgment result of the second judgment subunit is yes, merge the first group of real-time current groups C k1 and the second group of real-time current groups C k2 into a new first group of real-time current groups, and determine the adjusted working state corresponding to the new first group of real-time current groups for the adjusted working state of the second group of real-time current groups C k2 , and return to the first judgment subunit until each real-time current group in the real-time current group sequence has been traversed;
[0140] The second merging subunit is used to, when the judgment result of the second judgment subunit is no, merge the first group of real-time current groups C k1 and the second group of real-time current groups C k2 into a new first group of real-time current groups, and respectively obtain the first group of real-time current groups C k1 and the second group of real-time current groups C k2The total current, determine the adjustment working state of the real-time current group with a larger total current as the adjustment working state corresponding to the new first group of real-time current groups, and return it to the first judgment subunit until each real-time current group in the real-time current group sequence has been traversed;
[0141] The output unit is used to obtain the final judgment working state sequence according to the final judgment working states of all real-time current groups when each real-time current group in the real-time current group sequence has been traversed.
[0142] For the details not described in this embodiment, please refer to Embodiment 1 and Figures 1 to 6 the specific description content, which will not be elaborated here.
[0143] Embodiment 3. Based on Embodiment 1 and Embodiment 2, this embodiment also discloses a medical device working state monitoring device, including a processor, a memory, and a computer program stored in the memory and operable on the processor. When the computer program runs, it implements the specific steps of S1 to S3 as Figure 1 shown.
[0144] By means of the computer program stored in the memory and running on the processor, the monitoring of the working state of the medical device is realized. Information such as the power-on and power-off time, the usage duration of different gears, and the health status can be monitored, providing a theoretical basis for equipment procurement, counting the specific duration of patients using the device, and optimizing the charging basis of the hospital at the equipment level.
[0145] This embodiment also provides a computer storage medium, on which at least one instruction is stored. When the instruction is executed, the specific steps of S1 to S3 are implemented.
[0146] By executing the computer storage medium containing at least one instruction, the monitoring of the working state of the medical device is realized. Information such as the power-on and power-off time, the usage duration of different gears, and the health status can be monitored, providing a theoretical basis for equipment procurement, counting the specific duration of patients using the device, and optimizing the charging basis of the hospital at the equipment level.
[0147] For the details not described in S1 to S3 in this embodiment, please refer to Embodiment 1 and Figures 1 to 6 the specific description content, which will not be elaborated here.
[0148] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for monitoring the working state of a medical device, characterized in that, It includes the following steps: Step 1: Initialize the device to be monitored and obtain the current range criteria of the device to be monitored under multiple working states; Step 2: Obtain the real-time current sequence of the device to be monitored and the corresponding real-time sampling time sequence of the real-time current sequence. According to the current range criteria, obtain the initial judgment working state sequence corresponding to the device to be monitored under the real-time current sequence; Step 3: Cache the real-time current sequence, the real-time sampling time sequence, and the initial judgment working state sequence into the cache pool. When the cache pool reaches the preset capacity, optimize the cached initial judgment working state sequence according to the real-time current sequence and the real-time sampling time sequence cached in the cache pool to obtain the final judgment working state sequence corresponding to the device to be monitored under the real-time current sequence; Among them, in Step 3, the specific steps for optimizing the cached initial judgment working state sequence include: Step 31: Select the jth real-time current in the real-time current sequence. When the initial judgment working state corresponding to the (j - 1)th real-time current in the initial judgment working state sequence is the same as the initial judgment working state corresponding to the (j + 1)th real-time current, and the initial judgment working state corresponding to the jth real-time current is different from both the initial judgment working state corresponding to the (j - 1)th real-time current and the initial judgment working state corresponding to the (j + 1)th real-time current, adjust the initial judgment working state corresponding to the jth real-time current according to the initial judgment working state corresponding to the (j - 1)th real-time current or the initial judgment working state corresponding to the (j + 1)th real-time current to obtain the adjusted working state corresponding to the jth real-time current; where j is an integer and satisfies j≥2; Step 32: Determine the adjusted working state corresponding to the first real-time current at the front end of the real-time current sequence as the adjusted working state of the first real-time current, and starting from the second real-time current at the front end of the real-time current sequence, traverse each real-time current in turn, and adjust the initial judgment working state corresponding to each real-time current according to the method in Step 31 to obtain the adjusted working state corresponding to each real-time current; Step 33: Group all the real-time currents according to the adjusted working states of all the real-time currents to obtain multiple real-time current groups, and sort all the real-time current groups from first to last according to the real-time sampling time sequence to obtain the real-time current group sequence; Step 34: Re-optimize the adjusted working states of all the real-time currents according to the real-time current group sequence and the real-time sampling time sequence to obtain the final judgment working state sequence.
2. The method for monitoring the working state of a medical device according to claim 1, characterized in that, The specific steps of Step 1 include: Step 11: Obtain all the working states of the device to be monitored and determine the upper limit value and the lower limit value of the current change of the device to be monitored according to all the working states; The calculation formula for determining the upper limit value of the current change is: CV max = 100% / (A / f1); The calculation formula for determining the upper limit value of the current change is: CV min = 100% / (A × f2); wherein, CV max and CV min are the upper limit value and the lower limit value of the current change respectively, A is the total number of all working states, and f1 and f2 are the first preset coefficient and the second preset coefficient respectively; Step 12: Use the energy efficiency monitoring terminal to obtain the current data sequence of the device to be monitored within a preset time period; Step 13: Group the current data sequence according to the upper limit value of current change and the lower limit value of current change respectively, to obtain a plurality of first current groups and the number of the first groups corresponding to the upper limit value of current change, and a plurality of second current groups and the number of the second groups corresponding to the lower limit value of current change; Step 14: Determine whether the difference in the number between the number of the first groups and the number of the second groups meets a preset grouping criterion. If so, the grouping ends and Step 15 is executed; otherwise, Step 16 is executed; Step 15: Obtain the current range criterion according to all the first current groups or all the second current groups; Step 16: Adjust the upper limit value of current change and the lower limit value of current change respectively, and return to Step 13 until the difference in the number between the number of the first groups and the number of the second groups meets the preset grouping criterion.
3. The method for monitoring the working state of a medical device according to claim 2, characterized in that, In Step 13, the specific steps of grouping the current data sequence according to the upper limit value of current change include: Step 13A.1: Starting from the front end of the current data sequence, calculate the current change amplitude between every two adjacent current data in turn; Step 13A.2: Select the current change amplitude between the i-th current data and the (i + 1)-th current data, compare the selected current change amplitude with the upper limit value of current change. When the selected current change amplitude is greater than or equal to the upper limit value of current change, classify the i-th current data into the previous group and classify the (i + 1)-th current data into the next group; otherwise, classify the i-th current data and the (i + 1)-th current data into the same group; where i is a positive integer; Step 13A.3: Starting from the front end of the current data sequence, traverse each current change amplitude in turn, and group the two adjacent current data corresponding to each current change amplitude according to the method in Step 13A.2; and obtain a plurality of first current groups and the number of the first groups corresponding to the upper limit value of current change according to all the grouped current data; In Step 13, the specific steps of grouping the current data sequence according to the lower limit value of current change include: Step 13B.1: Starting from the front end of the current data sequence, calculate the current change amplitude between every two adjacent current data in turn; Step 13B.2: Select the current change amplitude between the i-th current data and the (i + 1)-th current data, compare the selected current change amplitude with the lower limit value of current change. When the selected current change amplitude is greater than or equal to the lower limit value of current change, classify the i-th current data into the previous group and classify the (i + 1)-th current data into the next group; otherwise, classify the i-th current data and the (i + 1)-th current data into the same group; where i is a positive integer; Step 13B.3: Starting from the front end of the current data sequence, traverse each current change amplitude in sequence. According to the method in Step 13B.2, group the adjacent two current data corresponding to each current change amplitude; and obtain multiple second current groups corresponding to the lower limit of current change and the number of the second groups according to all the grouped current data.
4. The method for monitoring the working state of a medical device according to claim 3, characterized in that, In Step 13A.1 and Step 13B.1, the specific formula for calculating the current change amplitude between the i-th current data and the (i + 1)-th current data is: CV i,i+1 is the current change amplitude between the i-th current data and the (i + 1)-th current data, C i and C i+1 are the i-th current data and the (i + 1)-th current data respectively, C max and C min are the maximum current value and the minimum current value in the current data sequence respectively.
5. The method for monitoring the working state of a medical device according to claim 3, characterized in that, In Step 14, the specific preset grouping criterion is: |a - b| ≤ A × error th ; where a and b are the number of the first group and the number of the second group respectively, and error th is a preset error threshold.
6. The method for monitoring the working state of a medical device according to claim 1, wherein, The specific steps of Step 34 include: Step 341: Calculate the total duration of the first group of real-time current groups at the front end of the real-time current group sequence according to the real-time sampling time series. The first group of real-time current groups is denoted as C k1 ; and determine whether the total duration of the first group of real-time current groups C k1 is greater than or equal to the corresponding state preset minimum duration. If so, execute Step 342; otherwise, execute Step 343; Step 342: Determine the adjusted working state of the first group of real-time current groups C k1 as the corresponding final judgment working state, and remove the first group of real-time current groups C k1 from the cache pool; Take the second group of real-time current groups starting from the front end of the real-time current group sequence as the new first group of real-time current groups, and return to the step 341 until each real-time current group in the real-time current group sequence has been traversed; Among them, the second group of real-time current groups is denoted as C k2 ; Step 343: Calculate the total duration of the second group of real-time current groups C based on the real-time sampling time series, and determine whether the total duration of the second group of real-time current groups C k2 is greater than or equal to the corresponding state preset minimum duration. If so, execute Step 344; otherwise, execute Step 345; k2 The total duration of Step 344: Combine the first real-time current group C at the front end of the real-time current group sequence k1 and the second real-time current group C k2 into a new first real-time current group, and determine the adjustment working state corresponding to the new first real-time current group based on the adjustment working state of the second real-time current group C k2 , and return to the said Step 341 until each real-time current group in the real-time current group sequence has been traversed; Step 345: Combine the first real-time current group C at the front end of the real-time current group sequence k1 and the second real-time current group C k2 into a new first real-time current group, and respectively obtain the total current of the first real-time current group C k1 and the second real-time current group C k2 . Determine the adjustment working state corresponding to the new first real-time current group based on the real-time current group with the larger total current, and return to the said Step 341 until each real-time current group in the real-time current group sequence has been traversed; Step 346: When each real-time current group in the real-time current group sequence has been traversed, obtain the final judgment working state sequence according to the final judgment working states of all the real-time current groups.
7. A system for monitoring the working state of a medical device, wherein, Applied to the medical device working state monitoring method according to any one of claims 1 to 6, it includes an initialization module, a preliminary judgment module, and an optimization module; The initialization module is used to initialize the device to be monitored and obtain the current range criterion of the device to be monitored in multiple working states; The preliminary judgment module is used to obtain the real-time current sequence of the device to be monitored and the corresponding real-time sampling time sequence of the real-time current sequence, and obtain the preliminary judgment working state sequence corresponding to the device to be monitored under the real-time current sequence according to the current range criterion; The optimization module is used to cache the real-time current sequence, the real-time sampling time sequence, and the preliminary judgment working state sequence into a cache pool. When the cache pool reaches the preset capacity, optimize the cached preliminary judgment working state sequence according to the real-time current sequence and the real-time sampling time sequence cached in the cache pool, and obtain the final judgment working state sequence corresponding to the device to be monitored under the real-time current sequence.
8. A device for monitoring the working state of a medical device, wherein, It includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program runs, it implements the method steps according to any one of claims 1 to 6.
9. A computer storage medium, wherein, The computer storage medium includes: at least one instruction, which implements the method steps according to any one of claims 1 to 6 when the instruction is executed.
Citation Information
Patent Citations
Automatic washing machine multi-parameter detection system and vibration state data processing method
CN107703822A
Equipment state detection method and device based on transaction logic, equipment and medium
CN113269246A