Abnormal interaction service compensation method and system in medical data exchange, electronic equipment and storage medium

The automatic compensation mechanism solved the problem of excessive workload for administrators in abnormal situations on the medical information exchange platform, thereby improving business stability and interaction stability.

CN121333776APending Publication Date: 2026-01-13CHENGDU CHENGDIAN YIXING DIGITAL HEALTH SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202511731742.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-24
Publication Date
2026-01-13

AI Technical Summary

Technical Problem

The existing medical information exchange platform's manual compensation mechanism in abnormal situations overburdens management personnel and affects business stability.

Method used

An automatic compensation mechanism is adopted. By acquiring abnormal interaction service messages and determining their types, automatic or polling processing is performed on authorization, business, network and unknown anomalies respectively. Combined with heartbeat detection and early warning mechanisms, a two-way cooperation between automatic compensation and manual compensation is achieved.

Benefits of technology

Reduce the workload of management personnel, ensure normal business operations, and improve the stability of platform interactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121333776A_ABST
    Figure CN121333776A_ABST
Patent Text Reader

Abstract

The invention discloses an abnormal interaction service compensation method and system in medical data exchange, electronic equipment and a storage medium, and the method comprises the steps: obtaining an abnormal interaction service message, and judging the abnormal type of the abnormal interaction service message: when the abnormal interaction service message is an authorization abnormal type or a business abnormal type, delivering the abnormal interaction service message to a manual abnormal pool; delivering to a network exception pool when the network exception type is detected, and entering a waiting area; creating a heartbeat detector which lasts for a first preset time length, carrying out multiple rounds of heartbeat monitoring in the first preset time length to attempt to complete automatic compensation, destroying the heartbeat detector and delivering a message to a manual anomaly pool when the connection is still unsuccessful at the end of the first preset time length; when the abnormal type is an unknown abnormal type, processing through a polling mode, trying to resend the interaction service corresponding to the message for multiple times within a second preset duration, and if the resending is successful, completing automatic compensation; and if the re-transmission is still not successful at the end of the second preset duration, delivering the message to the manual exception pool to realize automatic compensation of exception interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of computer software technology and relates to an automatic compensation scheme in the data exchange process of a hospital information integration platform, and in particular to a method, system, electronic device and storage medium for compensating abnormal interaction services in medical data exchange. Background Technology

[0002] With the accelerated development of medical information technology and the construction of hospital information integration platforms, the original intra-hospital medical information exchange models, such as point-to-point interface connections and view connections, have gradually been replaced by the subscription and publish model adopted by the integration platform, further improving the utilization rate of medical information. However, the subscription and publish model is not without its drawbacks. For example, during the medical information exchange process, an error in a single message may affect the business operations of all subscribers, so the stability of the interactive service directly affects the stability of the platform. During platform operation, network problems, business issues, and unforeseen circumstances are inevitable. Previously, when anomalies occurred, management personnel were notified through an early warning mechanism to manually monitor the relevant issues and perform manual compensation. However, with the increase in platform workload, the manual compensation mechanism has become an unbearable burden for management personnel. Summary of the Invention

[0003] To address the shortcomings of the existing technologies mentioned above, this application provides a method, system, electronic device, and storage medium for compensating for abnormal interaction services in medical data exchange. This method enables automatic compensation for abnormal interaction services, reducing the workload of management personnel while effectively ensuring the normal operation of business.

[0004] To achieve the above objectives, the present invention employs the following techniques: Compensation methods for abnormal interaction services in medical data exchange include: Retrieve abnormal interaction service messages and determine their exception type: When the error is determined to be an authorization exception or a business exception, the message will be sent to the manual exception pool for manual processing. When a network anomaly is detected, the message is delivered to the network anomaly pool and enters the waiting area of ​​the network anomaly pool; a heartbeat detector is created and performs multiple rounds of heartbeat monitoring within the first predetermined time period. The heartbeat monitoring attempts to establish a network connection with the interface corresponding to the message; if the attempted network connection is successful in one round of heartbeat monitoring within the first predetermined time period, automatic compensation is completed; if the attempted network connection fails, the system continues to wait for the next round of heartbeat monitoring; if the connection is still unsuccessful at the end of the first predetermined time period, the heartbeat detector is destroyed and the message is delivered to the manual anomaly pool for manual processing. When an unknown exception type is identified, the message is delivered to the unknown exception pool and processed in a polling mode. Within a second predetermined time period, multiple attempts are made to resend the message to the corresponding interactive service. If the resend is successful, automatic compensation is completed. If the message is not successfully resent by the end of the second predetermined time period, it is delivered to the manual exception pool for manual processing.

[0005] A compensation system for abnormal interactions in medical data exchange includes: The acquisition module is used to acquire abnormal interaction service messages; The judgment module is used to determine the exception type of the acquired abnormal interaction service messages; The authorization and business exception handling module is used to deliver the message to the manual exception pool for manual processing when the judgment module determines that the message is an authorization exception type or a business exception type. The network anomaly handling module is used to, when the judgment module determines that a message is a network anomaly, deliver the message to the network anomaly pool and place it in the waiting area of ​​the network anomaly pool; create a heartbeat detector that lasts for a first predetermined duration, and perform multiple rounds of heartbeat monitoring within the first predetermined duration, wherein the heartbeat monitoring attempts to establish a network connection with the interface corresponding to the message; if the attempted network connection is successful in one round of heartbeat monitoring within the first predetermined duration, automatic compensation is performed; if the attempted network connection fails, the module continues to wait for the next round of heartbeat monitoring; if the connection is still unsuccessful at the end of the first predetermined duration, the heartbeat detector is destroyed and the message is delivered to the manual anomaly pool for manual processing; The unknown exception handling module is used to deliver the message to the unknown exception pool when the judgment module determines that the message is an unknown exception type. The message is processed in a polling mode and attempts to resend the message to the corresponding interactive service multiple times within a second predetermined time period. If the resend is successful, automatic compensation is completed; if the message is not successfully resent by the end of the second predetermined time period, the message is delivered to the manual exception pool for manual processing.

[0006] The beneficial effects of this invention are as follows: Real-time monitoring of abnormal situations during medical information exchange; classification of business based on abnormal situations; and two-way cooperation between automatic and manual compensation to avoid business disruptions caused by information exchange anomalies. Attached Figure Description

[0007] Figure 1 This is a flowchart of the method steps in an embodiment of this application.

[0008] Figure 2 This is a system structure block diagram of an embodiment of this application. Detailed Implementation

[0009] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the implementation methods of the present invention will be described in detail below with reference to the accompanying drawings. However, the embodiments described in this invention are only some embodiments of the present invention, and not all embodiments.

[0010] This application provides a method for compensating for abnormal interaction services in medical data exchange, such as... Figure 1 As shown, it includes the following steps: First, retrieve / invoke the abnormal interaction service message.

[0011] Then, determine the type of exception: (1) When the message is determined to be an authorization exception type or a business exception type, it will be delivered to the manual exception pool for manual processing.

[0012] (2) When the network anomaly is identified: First, the message is delivered to the network anomaly pool and then enters the waiting area of ​​the network anomaly pool; Then, a heartbeat detector is created for a first predetermined duration, and multiple rounds of heartbeat monitoring are performed within the first predetermined duration. The heartbeat monitoring involves attempting to establish a network connection with the interface corresponding to the message. If the attempted network connection is successful during a certain round of heartbeat monitoring within the first predetermined time period, automatic compensation is completed and interactive service calls can be made. If the attempted network connection fails, the system continues to wait for the next round of heartbeat monitoring. If the connection is still unsuccessful at the end of the first predetermined time period, the heartbeat detector is destroyed and the message is delivered to the manual exception pool for manual handling.

[0013] (3) When the anomaly is determined to be of an unknown type: The message is sent to the unknown exception pool and processed in a polling mode: within the second predetermined time period, the message is resent to the corresponding interaction service multiple times, for example, three times. If one resend is successful, automatic compensation is completed; if the message is sent to the manual exception pool at the end of the second predetermined time period, the message is sent to the manual exception pool for manual processing.

[0014] When information is submitted to the manual error pool, an early warning mechanism is triggered to notify the administrators so that manual processing can be carried out. This effectively ensures that erroneous data is not ignored and guarantees the stability of platform interaction.

[0015] This application also provides a compensation system for abnormal interaction services in medical data exchange, such as... Figure 2 As shown, it includes an acquisition module, a judgment module, an authorization and business exception handling module, a network exception handling module, an unknown exception handling module, and an early warning triggering module.

[0016] The acquisition module is used to acquire abnormal interaction service messages; the judgment module is used to judge the abnormal type of the acquired abnormal interaction service messages.

[0017] When the judgment module determines that the message is an authorization exception type or a business exception type, the authorization and business exception handling module will send the message to the manual exception pool for manual processing.

[0018] When the judgment module determines that the message is a network anomaly, the network anomaly handling module delivers the message to the network anomaly pool and enters the waiting area of ​​the network anomaly pool; and creates a heartbeat detector that lasts for a first predetermined duration, performing multiple rounds of heartbeat monitoring within the first predetermined duration. The heartbeat monitoring attempts to establish a network connection with the interface corresponding to the message; if the attempted network connection is successful in one round of heartbeat monitoring within the first predetermined duration, automatic compensation is completed; if the attempted network connection fails, it continues to wait for the next round of heartbeat monitoring; if the connection is still unsuccessful at the end of the first predetermined duration, the heartbeat detector is destroyed, and the message is delivered to the manual anomaly pool for manual processing.

[0019] When the judgment module determines that the message is an unknown exception type, the unknown exception handling module delivers the message to the unknown exception pool and processes it through a polling mode. Within a second predetermined time period, it attempts to resend the message to the corresponding interactive service multiple times. If the resend is successful, automatic compensation is completed. If the message is not successfully resent by the end of the second predetermined time period, it is delivered to the manual exception pool for manual processing.

[0020] When the authorization and business exception handling module, network exception handling module, or unknown exception handling module delivers a message to the manual exception pool, the early warning triggering module triggers an early warning mechanism to notify the management personnel so that they can handle it manually. This effectively ensures that erroneous data is not ignored and guarantees the stability of platform interaction.

[0021] This application also provides an electronic device, including at least one processor and a memory; wherein the memory stores computer execution instructions; the at least one processor executes the computer execution instructions stored in the memory, causing the at least one processor to perform the abnormal interaction service compensation method in medical data exchange as described in the foregoing embodiments.

[0022] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, controls the device where the storage medium is located to perform the abnormal interaction service compensation method in medical data exchange as described in the preceding embodiments.

[0023] By implementing the above embodiments, abnormal situations in the medical information exchange process can be monitored in real time, business can be classified according to the abnormal situation, and automatic compensation and manual compensation can cooperate in both directions to avoid business failure due to abnormal information exchange.

[0024] The above description is only a preferred embodiment of this application and is not intended to limit this application. Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application.

Claims

1. A method for compensating for abnormal interaction services in medical data exchange, characterized in that, include: Retrieve abnormal interaction service messages and determine their exception type: When the error is determined to be an authorization exception or a business exception, the message will be sent to the manual exception pool for manual processing. When a network anomaly is detected, the message is delivered to the network anomaly pool and enters the waiting area of ​​the network anomaly pool; a heartbeat detector is created and performs multiple rounds of heartbeat monitoring within the first predetermined time period. The heartbeat monitoring attempts to establish a network connection with the interface corresponding to the message; if the attempted network connection is successful in one round of heartbeat monitoring within the first predetermined time period, automatic compensation is completed; if the attempted network connection fails, the system continues to wait for the next round of heartbeat monitoring; if the connection is still unsuccessful at the end of the first predetermined time period, the heartbeat detector is destroyed and the message is delivered to the manual anomaly pool for manual processing. When an unknown exception type is identified, the message is delivered to the unknown exception pool and processed in a polling mode. Within a second predetermined time period, multiple attempts are made to resend the message to the corresponding interactive service. If the resend is successful, automatic compensation is completed. If the message is not successfully resent by the end of the second predetermined time period, it is delivered to the manual exception pool for manual processing.

2. The method for compensating for abnormal interaction services in medical data exchange according to claim 1, characterized in that, When information is submitted to the manual anomaly pool, an early warning mechanism is triggered to notify the administrators so that they can handle it manually.

3. A compensation system for abnormal interaction services in medical data exchange, characterized in that, include: The acquisition module is used to acquire abnormal interaction service messages; The judgment module is used to determine the exception type of the acquired abnormal interaction service messages; The authorization and business exception handling module is used to deliver the message to the manual exception pool for manual processing when the judgment module determines that the message is an authorization exception type or a business exception type. The network anomaly handling module is used to, when the judgment module determines that a message is a network anomaly, deliver the message to the network anomaly pool and place it in the waiting area of ​​the network anomaly pool; create a heartbeat detector that lasts for a first predetermined duration, and perform multiple rounds of heartbeat monitoring within the first predetermined duration, wherein the heartbeat monitoring attempts to establish a network connection with the interface corresponding to the message; if the attempted network connection is successful in one round of heartbeat monitoring within the first predetermined duration, automatic compensation is performed; if the attempted network connection fails, the module continues to wait for the next round of heartbeat monitoring; if the connection is still unsuccessful at the end of the first predetermined duration, the heartbeat detector is destroyed and the message is delivered to the manual anomaly pool for manual processing; The unknown exception handling module is used to deliver the message to the unknown exception pool when the judgment module determines that the message is an unknown exception type. The message is processed in a polling mode and attempts to resend the message to the corresponding interactive service multiple times within a second predetermined time period. If the resend is successful, automatic compensation is completed; if the message is not successfully resent by the end of the second predetermined time period, the message is delivered to the manual exception pool for manual processing.

4. The medical data exchange abnormal interaction service compensation system according to claim 3, characterized in that, The early warning triggering module is used to trigger an early warning mechanism to notify administrators when the authorization and business anomaly handling module, network anomaly handling module, or unknown anomaly handling module delivers a message to the manual anomaly pool, so that manual handling can be carried out.

5. An electronic device comprising at least one processor and a memory; wherein, The memory stores computer execution instructions; characterized in that, when the at least one processor executes the computer execution instructions stored in the memory, the at least one processor performs the abnormal interaction service compensation method in medical data exchange as described in claim 1 or 2.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is run by the processor, it controls the device containing the storage medium to execute the abnormal interaction service compensation method in medical data exchange as described in claim 1 or 2.

Citation Information

Patent Citations

  • Abnormal message processing method and device, equipment, medium and product

    CN115801680A

  • Communication mistake proofing method based on CAN and RS485 bus two-in-one BMS protocol

    CN118611828A

  • Application program interface visual configuration method and related equipment

    CN119396509A