Monitoring and early warning processing method and device based on medical information exchange
By adopting strategic monitoring and early warning mechanisms in medical information exchange, combined with window timer and KEY mechanism, the problems of low monitoring efficiency and excessive early warning information under polling are solved, real-time monitoring and accuracy of medical information exchange are achieved Early warning ensures business stability and communication stability.
Patent Information
- Application Number
- CN202411450482.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-17
- Publication Date
- 2024-12-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing monitoring and early warning mechanisms mainly adopt polling methods during the exchange of medical information, which have problems such as difficult to define polling time, low efficiency, and excessive early warning information generated when there is a large area problem, which affects the work efficiency and communication stability of managers. .
Adopt a strategy-based monitoring and early warning processing method, by setting the specified time, abnormal times and early warning suppression time, combined with the window timer and the KEY mechanism in the Redis database, real-time monitoring and accurate early warning of medical information exchange data is achieved, and large-scale early warning is avoided. Generation of information.
It reduces the difficulty of setting up managers, improves monitoring efficiency, ensures timely handling of abnormal situations, avoids the impact of business operations due to abnormal information exchange, and effectively reduces early warning pressure, ensuring the stable operation of communication lines.
Smart Images

Figure CN119172277A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer software, specifically to early warning monitoring technology in the process of medical information exchange, and in particular to a monitoring and early warning processing method and device based on medical information exchange. Background Art
[0002] With the development of medical information technology and the acceleration of the construction of hospital information integration platforms, the original in-hospital medical information exchange model (point-to-point interface docking, view docking) has gradually been replaced by the subscription and publication model adopted by the integration platform, and the utilization rate of medical information has been further improved. However, the subscription and publication model is not completely without shortcomings. For example, during the exchange of medical information, an error in a message may affect the business operations of all subscribers. Therefore, how to monitor the operating status of this data during the exchange process has become a technical difficulty and pain point in the construction of a hospital information integration platform. How to provide effective early warning after monitoring and discovery is also a problem that must be solved.
[0003] The original monitoring and early warning were basically carried out in a polling manner, and were specifically carried out through polling and timing statistics. This solution has some disadvantages. For example, the polling time is difficult to define. If the time is set too long, the problem may not be discovered in time, and if it is set too short, the efficiency of polling will be affected. At the same time, the simple configuration of polling also causes warning information to be continuously generated once a large-scale monitoring problem occurs, causing trouble for management personnel. Summary of the invention
[0004] In order to solve the above-mentioned defects of the related existing technologies, the present application provides a monitoring and early warning processing method and device based on medical information exchange, which not only reduces the difficulty of settings for management personnel, but also ensures that monitoring can effectively capture abnormal problems and issue external early warnings. At the same time, it ensures that when explosive problems occur, early warning information will not be generated on a large scale to affect external communication lines, and has strong practicality.
[0005] In order to achieve the above object, the present invention adopts the following technologies: A monitoring and early warning processing method based on medical information exchange, comprising: Set monitoring strategies, including specified time, number of abnormalities, and warning suppression time; When the release of medical information exchange data begins, start timing and record the number of failed data exchange; Determine whether the timing reaches the specified time; If yes, restart the timing and start recording the number of failed data exchange attempts; If not, determine whether the number of failures in exchanging data is equal to the number of exceptions; When judging whether the number of data exchange failures has reached the abnormal number: If yes, an alarm is triggered immediately, the timer is restarted, and the number of failed data exchange attempts is recorded again; If not, then continue to determine whether the timing reaches the specified time after a predetermined interval; When an early warning is triggered, it is determined whether the time interval between the current early warning triggering and the last early warning triggering is less than the early warning suppression time; If so, no warning information will be sent to the outside; If not, an early warning message will be sent to the outside.
[0006] Furthermore, after setting the monitoring strategy, a window timer is created according to the monitoring strategy, the survival period of the window timer is the specified time, and the capacity of the window timer is the number of abnormalities; Start the window timer; Release a piece of medical information exchange data and determine whether the medical information exchange data is successful; If successful, determine whether the window timer's survival period has ended; If unsuccessful, the volume of the window timer is reduced by 1, and it is determined whether the volume of the window timer is 0; When judging whether the volume of the window timer is 0: If it is 0, an early warning is triggered, the window timer is reset and started, the next piece of medical information exchange data is released, and it is determined whether the medical information exchange data is successful; If it is not 0, determine whether the window timer's survival period has ended; When determining whether the window timer's survival period has expired: If yes, reset and start the window timer, release the next piece of medical information exchange data, and determine whether the medical information exchange data is successful; If not, the next piece of medical information exchange data is released after a predetermined time interval, and it is determined whether the medical information exchange data is successful.
[0007] Furthermore, when an alert is triggered, it is determined whether a KEY exists. The KEY is created in the Redis database and has a survival time. The survival time of the KEY is equal to the alert suppression time in the monitoring strategy. The KEY will be automatically destroyed after the survival time ends. When judging whether a KEY exists: If so, no warning information will be sent to the outside; If not, a warning message is sent to the outside and a KEY is created.
[0008] A monitoring and early warning processing device based on medical information exchange, comprising a monitoring configuration module, a data recording module, a time judgment module, an abnormality judgment module, an early warning sending module, and a suppression judgment module; The monitoring configuration module is used to set monitoring strategies, including the specified time, number of abnormalities, and warning suppression time; The data recording module is used to start timing and record the number of failed data exchange when the medical information exchange data begins to be released; A time judgment module is used to judge whether the timing reaches the specified time; The data recording module is also used to restart the timing and restart the recording of the number of failed data exchange when the time judgment module determines that the timing reaches the specified time; The abnormality judgment module is used to judge whether the number of failures in exchanging data reaches the abnormal number when the time judgment module judges that the timing has not reached the specified time; The warning sending module is used to trigger a warning and send a warning message to the outside when the abnormal judgment module determines that the number of failures has reached the abnormal number; the data recording module is also used to restart the timing and restart the recording of the number of failures in exchanging data after the warning is triggered; the time judgment module is also used to continue to judge whether the timing has reached the specified time after a predetermined interval when the abnormal judgment module determines that the number of failures has not reached the abnormal number; The suppression judgment module is used to determine whether the time interval between the current triggering of the warning and the last triggering of the warning is less than the warning suppression time when the warning is triggered; the warning sending module is also used to trigger the warning and send the warning information to the outside when the judgment result of the suppression judgment module is no.
[0009] Furthermore, it also includes a window timer creation module, a window timer control module, an exchange data judgment module, a volume operation module, a volume judgment module, and a survival period judgment module; The window timer creation module is used to create a window timer according to the monitoring strategy after the configuration module sets the monitoring strategy. The survival period of the window timer is the specified time, and the capacity of the window timer is the number of abnormalities. The window timer control module is used to reset and start the window timer; The exchange data judgment module is used to judge whether a piece of medical information exchange data released is successful after the window timer control module starts the window timer; The survival cycle judgment module is used to judge whether the survival cycle of the window timer has ended when the exchange data judgment module judges that the exchange data is successful. If not, it will jump to the exchange data judgment module for execution after a predetermined interval; the window timer control module is also used to reset and start the window timer when the survival cycle judgment module judges that the survival cycle has ended, and then jump to the exchange data judgment module for execution; The volume operation module is used to reduce the volume of the window timer by 1 when the data exchange judgment module judges that the data exchange is unsuccessful; The volume determination module is used to determine whether the volume of the window timer is 0 after the volume operation module reduces the volume of the window timer by 1; The window timer control module is used to enable the warning sending module to trigger the warning and send the warning information to the outside when the volume judgment module determines that the volume is 0, and is used to reset and start the window timer after the warning is triggered, and then jump to the exchange data judgment module for execution.
[0010] Further, it includes a KEY creation module and a KEY judgment module; The KEY creation module is used to create a KEY. The KEY is created in the Redis database and has a survival time. The survival time of the KEY is equal to the warning suppression time in the monitoring strategy. The KEY will be automatically destroyed after the survival time ends. The KEY judgment module is used to determine whether a KEY exists when an alert is triggered: When the KEY judgment module determines that it is yes, the warning sending module does not send warning information to the outside; When the KEY judgment module judges to be no, the warning sending module sends a warning message to the outside, and the KEY creation module creates a KEY.
[0011] The beneficial effects of the present invention are: 1. Using strategic methods for monitoring and early warning reduces the difficulty of setting up for managers.
[0012] 2. Monitor abnormal situations in the medical information exchange process in real time to ensure proper handling of abnormalities and avoid business interruption due to abnormal information exchange, which affects the patient's medical experience.
[0013] 3. By setting the specified time and number of exceptions, a higher degree of freedom can be provided for setting monitoring strategies to improve monitoring efficiency.
[0014] 4. The supporting early warning suppression function can effectively reduce the early warning pressure when abnormal outbreaks occur, and ensure the stable operation of outbound communication lines. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a step diagram of S11 to S15 of the monitoring and early warning processing method based on medical information exchange in an embodiment of the present application.
[0016] Figure 2 It is a step diagram of S21~S25 of the monitoring and early warning processing method based on medical information exchange in an embodiment of the present application.
[0017] Figure 3 This is a step diagram of S31 of the monitoring and early warning processing method based on medical information exchange in an embodiment of the present application.
[0018] Figure 4 It is a structural diagram of the monitoring and early warning processing device based on medical information exchange in the embodiment of the present application when processing S11~S15.
[0019] Figure 5 It is a structural diagram of the monitoring and early warning processing device based on medical information exchange in an embodiment of the present application when processing S21~S25 and S31. DETAILED DESCRIPTION
[0020] To make the objectives, technical solutions and advantages of the embodiments of the present invention more clear, the implementation modes of the present invention are described in detail below with reference to the accompanying drawings. However, the embodiments described in the present invention are only part of the embodiments of the present invention, rather than all the embodiments.
[0021] like Figure 1 As shown, one aspect of this embodiment provides a monitoring and early warning processing method based on medical information exchange, including: S11. Set a monitoring strategy, which includes a specified time, number of abnormalities, and warning suppression time.
[0022] Specifically, the monitoring strategy means that if the number of failures in exchanging medical information data reaches the set number of abnormalities within the set specified time, an external warning will be issued, and only one external warning can be issued within the set warning suppression time.
[0023] Specifically, with this design, managers only need to manually input three parameters to complete the setting of monitoring strategies, which reduces the difficulty of setting for managers; and by setting the specified time and number of abnormalities, it can provide a higher degree of freedom for the setting of monitoring strategies to improve monitoring efficiency; at the same time, setting the early warning suppression time can ensure that only one early warning message is issued to the outside during the early warning suppression time, which can effectively reduce the early warning pressure when abnormal outbreaks occur and ensure the stable operation of outbound communication lines.
[0024] S12. When the medical information exchange data is released, start timing and record the number of failed data exchange attempts.
[0025] S13, judging whether the timing reaches the specified time; If yes, restart the timing and start recording the number of failed data exchange attempts; If not, determine whether the number of failures in exchanging data is equal to the number of exceptions.
[0026] S14, when determining whether the number of failures in exchanging data has reached an abnormal number: If yes, an alarm is triggered immediately, the timer is restarted, and the number of failed data exchange attempts is recorded again; If not, then continue to determine whether the timing reaches the specified time after a predetermined interval.
[0027] S15, when an early warning is triggered, determining whether the time interval between the current early warning triggering and the last early warning triggering is less than the early warning suppression time; If so, no warning information will be sent to the outside; If not, an early warning message will be sent to the outside.
[0028] Preferably, Figure 2 As shown, after setting the monitoring strategy, S12~S14 can be implemented through the following preferred solutions: S21. Create a window timer according to the monitoring strategy. The survival period of the window timer is the specified time, and the capacity of the window timer is the number of abnormalities. Specifically, the window timer is used to time and record the number of failures in exchanging data.
[0029] S22. Start the window timer.
[0030] S23. Release a piece of medical information exchange data and determine whether the medical information exchange data is successful.
[0031] If successful, the process proceeds to S25 to determine whether the window timer survival period has ended; If unsuccessful, the volume of the window timer is reduced by 1, and the process enters S24 to determine whether the volume of the window timer is 0.
[0032] S24, when judging whether the volume of the window timer is 0: If it is 0, an early warning is triggered, the window timer is reset and the process returns to S22, the window timer is started, and then the process enters S23, the next piece of medical information exchange data is released, and it is determined whether the medical information exchange data is successful; If it is not 0, the process proceeds to S25 to determine whether the survival period of the window timer has ended.
[0033] S25, when judging whether the survival period of the window timer has ended: If yes, reset the window timer, return to S22, start the window timer, and then enter S23, release the next piece of medical information exchange data, and determine whether the medical information exchange data is successful; If not, the process proceeds to S23, where the next piece of medical information exchange data is released after a predetermined time interval, and it is determined whether the medical information exchange data is successful.
[0034] This preferred solution introduces a window timer with capacity and survival time, which can simultaneously complete the two tasks of timing and recording the number of failures in exchanging data. There is no need to separately time and record the number of failures in exchanging data, thereby improving monitoring efficiency.
[0035] Preferably, Figure 3As shown, S15 can be implemented by the following preferred solution: S31. When an alert is triggered, determine whether a KEY exists. The KEY is created in the Redis database and has a survival time. The survival time of the KEY is equal to the alert suppression time in the monitoring strategy. The KEY will be automatically destroyed after the survival time ends.
[0036] When judging whether a KEY exists: If so, no warning information will be sent to the outside; If not, a warning message is sent to the outside and a KEY is created.
[0037] This preferred solution introduces a KEY with a survival time, and its survival time is equal to the warning suppression time. There is no need to record the time interval between the current triggering of the warning and the last triggering of the warning. It is only necessary to determine the existence of the KEY to determine whether to send a warning message to the outside. When the KEY exists all the time, the warning will be suppressed. No matter how many times this type of monitoring is triggered, the warning information cannot be sent to the outside again, thereby improving the monitoring efficiency.
[0038] like Figure 4 As shown, another aspect of an embodiment of the present application provides a monitoring and early warning processing device based on medical information exchange, including a monitoring configuration module, a data recording module, a time judgment module, an abnormality judgment module, an early warning sending module, and an inhibition judgment module.
[0039] The monitoring configuration module is used to set monitoring strategies, which include specified time, number of abnormalities, and warning suppression time.
[0040] The data recording module is used to start timing and record the number of failed data exchange attempts when the medical information exchange data begins to be released.
[0041] The time judgment module is used to judge whether the timing reaches the specified time.
[0042] The data recording module is also used to restart the timing and restart recording the number of failed data exchange times when the time judgment module determines that the timing reaches the specified time.
[0043] The abnormality judgment module is used to judge whether the number of failures in exchanging data reaches an abnormal number when the time judgment module judges that the timing has not reached the specified time.
[0044] The warning sending module is used to trigger a warning and send a warning message to the outside when the abnormal judgment module determines that the number of failures has reached the abnormal number; the data recording module is also used to restart the timing and restart the recording of the number of failures in exchanging data after the warning is triggered; the time judgment module is also used to continue to judge whether the timing has reached the specified time after a predetermined interval when the abnormal judgment module determines that the number of failures has not reached the abnormal number.
[0045] The suppression judgment module is used to determine whether the time interval between the current triggering of the warning and the last triggering of the warning is less than the warning suppression time when the warning is triggered; the warning sending module is also used to trigger the warning and send the warning information to the outside when the judgment result of the suppression judgment module is no.
[0046] Preferably, Figure 5 As shown, the functions of the data recording module, the time judgment module, and the abnormality judgment module can be implemented using the following specific modules, including a window timer creation module, a window timer control module, an exchange data judgment module, a volume operation module, a volume judgment module, and a survival cycle judgment module.
[0047] The window timer creation module is used to create a window timer according to the monitoring strategy after the configuration module sets the monitoring strategy. The survival period of the window timer is the specified time, and the capacity of the window timer is the number of abnormalities.
[0048] The window timer control module is used to reset and start the window timer.
[0049] The exchange data judgment module is used to judge whether a piece of medical information exchange data released is successful after the window timer control module starts the window timer.
[0050] The survival cycle judgment module is used to judge whether the survival cycle of the window timer has ended when the data exchange judgment module judges that the data exchange is successful. If not, it jumps to the data exchange judgment module for execution after a predetermined interval; the window timer control module is also used to reset and start the window timer when the survival cycle judgment module judges that the survival cycle has ended, and then jumps to the data exchange judgment module for execution.
[0051] The volume operation module is used to reduce the volume of the window timer by 1 when the data exchange judgment module judges that the data exchange is unsuccessful.
[0052] The volume determination module is used to determine whether the volume of the window timer is 0 after the volume operation module reduces the volume of the window timer by 1.
[0053] The window timer control module is used to enable the warning sending module to trigger the warning and send the warning information to the outside when the volume judgment module determines that the volume is 0, and is used to reset and start the window timer after the warning is triggered, and then jump to the exchange data judgment module for execution.
[0054] Preferably, Figure 5 As shown, the function of the suppression judgment module can be implemented by the following specific modules, including a KEY creation module and a KEY judgment module.
[0055] The KEY creation module is used to create a KEY. The KEY is created in the Redis database and has a survival time. The survival time of the KEY is equal to the warning suppression time in the monitoring strategy. The KEY will be automatically destroyed after the survival time ends.
[0056] The KEY judgment module is used to determine whether a KEY exists when an alert is triggered: When the KEY judgment module determines that it is yes, the warning sending module does not send warning information to the outside; When the KEY judgment module judges to be no, the warning sending module sends a warning message to the outside, and the KEY creation module creates a KEY.
[0057] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Obviously, those skilled in the art can make various modifications and variations to the present application without departing from the spirit and scope of the present application.
Claims
1. A monitoring and early warning processing method based on medical information exchange, characterized in that: include: Set monitoring strategies, including specified time, number of abnormalities, and warning suppression time; When the release of medical information exchange data begins, start timing and record the number of failed data exchange; Determine whether the timing reaches the specified time; If yes, restart the timing and start recording the number of failed data exchange attempts; If not, determine whether the number of failures in exchanging data is equal to the number of exceptions; When judging whether the number of data exchange failures has reached the abnormal number: If yes, an alarm is triggered immediately, the timer is restarted, and the number of failed data exchange attempts is recorded again; If not, then continue to determine whether the timing reaches the specified time after a predetermined interval; When an early warning is triggered, it is determined whether the time interval between the current early warning triggering and the last early warning triggering is less than the early warning suppression time; If so, no warning information will be sent to the outside; If not, an early warning message will be sent to the outside.
2. The monitoring and early warning processing method based on medical information exchange according to claim 1 is characterized in that: After setting the monitoring strategy, a window timer is created according to the monitoring strategy. The survival period of the window timer is the specified time, and the capacity of the window timer is the number of abnormalities. Start the window timer; Release a piece of medical information exchange data and determine whether the medical information exchange data is successful; If successful, determine whether the window timer's survival period has ended; If unsuccessful, the volume of the window timer is reduced by 1, and it is determined whether the volume of the window timer is 0; When judging whether the volume of the window timer is 0: If it is 0, an early warning is triggered, the window timer is reset and started, the next piece of medical information exchange data is released, and it is determined whether the medical information exchange data is successful; If it is not 0, determine whether the window timer's survival period has ended; When determining whether the window timer's survival period has expired: If yes, reset and start the window timer, release the next piece of medical information exchange data, and determine whether the medical information exchange data is successful; If not, the next piece of medical information exchange data is released after a predetermined time interval, and it is determined whether the medical information exchange data is successful.
3. The monitoring and early warning processing method based on medical information exchange according to claim 1 is characterized in that: When an alert is triggered, it is determined whether a KEY exists. The KEY is created in the Redis database and has a survival time. The survival time of the KEY is equal to the alert suppression time in the monitoring strategy. The KEY will be automatically destroyed after the survival time ends. When judging whether a KEY exists: If so, no warning information will be sent to the outside; If not, a warning message is sent to the outside and a KEY is created.
4. A monitoring and early warning processing device based on medical information exchange, characterized in that: It includes monitoring configuration module, data recording module, time judgment module, abnormality judgment module, warning sending module and suppression judgment module; The monitoring configuration module is used to set monitoring strategies, including the specified time, number of abnormalities, and warning suppression time; The data recording module is used to start timing and record the number of failed data exchange when the medical information exchange data begins to be released; A time judgment module is used to judge whether the timing reaches the specified time; The data recording module is also used to restart the timing and restart the recording of the number of failed data exchange when the time judgment module determines that the timing reaches the specified time; The abnormality judgment module is used to judge whether the number of failures in exchanging data reaches the abnormal number when the time judgment module judges that the timing has not reached the specified time; The warning sending module is used to trigger a warning and send a warning message to the outside when the abnormal judgment module determines that the number of failures has reached the abnormal number; the data recording module is also used to restart the timing and restart the recording of the number of failures in exchanging data after the warning is triggered; the time judgment module is also used to continue to judge whether the timing has reached the specified time after a predetermined interval when the abnormal judgment module determines that the number of failures has not reached the abnormal number; The suppression judgment module is used to determine whether the time interval between the current triggering of the warning and the last triggering of the warning is less than the warning suppression time when the warning is triggered; the warning sending module is also used to trigger the warning and send the warning information to the outside when the judgment result of the suppression judgment module is no.
5. A monitoring and early warning processing device based on medical information exchange according to claim 4, characterized in that: It also includes a window timer creation module, a window timer control module, an exchange data judgment module, a volume operation module, a volume judgment module, and a survival period judgment module; The window timer creation module is used to create a window timer according to the monitoring strategy after the configuration module sets the monitoring strategy. The survival period of the window timer is the specified time, and the capacity of the window timer is the number of abnormalities. The window timer control module is used to reset and start the window timer; The exchange data judgment module is used to judge whether a piece of medical information exchange data released is successful after the window timer control module starts the window timer; The survival cycle judgment module is used to judge whether the survival cycle of the window timer has ended when the exchange data judgment module judges that the exchange data is successful. If not, it jumps to the exchange data judgment module for execution after a predetermined time interval; The window timer control module is also used to reset and start the window timer when the survival cycle judgment module judges that the survival cycle has ended, and then jump to the exchange data judgment module for execution; The volume operation module is used to reduce the volume of the window timer by 1 when the data exchange judgment module judges that the data exchange is unsuccessful; The volume determination module is used to determine whether the volume of the window timer is 0 after the volume operation module reduces the volume of the window timer by 1; The window timer control module is used to enable the warning sending module to trigger the warning and send the warning information to the outside when the volume judgment module determines that the volume is 0, and is used to reset and start the window timer after the warning is triggered, and then jump to the exchange data judgment module for execution.
6. A monitoring and early warning processing device based on medical information exchange according to claim 4, characterized in that: Including KEY creation module and KEY judgment module; The KEY creation module is used to create a KEY. The KEY is created in the Redis database and has a survival time. The survival time of the KEY is equal to the warning suppression time in the monitoring strategy. The KEY will be automatically destroyed after the survival time ends. The KEY judgment module is used to determine whether a KEY exists when an alert is triggered: When the KEY judgment module determines that it is yes, the warning sending module does not send warning information to the outside; When the KEY judgment module judges to be no, the warning sending module sends a warning message to the outside, and the KEY creation module creates a KEY.
Citation Information
Patent Citations
Intelligent substation communication network dynamic monitoring system and monitoring method thereof
CN105515180A
Method and device for determining abnormal prompt information of node
CN116055291A
Message pushing method and device based on Redis failure time
CN116506393A
Alarm suppression method and device based on distributed architecture, equipment and storage medium
CN116582413A
