Method and device for processing interface call exceptions based on information integration platform
The engine instance of the information integration platform automatically handles interface call exceptions, solving problems that are difficult for system maintenance personnel to discover in a timely manner, realizing automatic notification and alarm of interface call exceptions, and improving operation and maintenance efficiency.
Patent Information
- Application Number
- CN202111165444.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2041-09-30
AI Technical Summary
In the information management system, when the interface call of the business system is abnormal, it is difficult for the system maintenance personnel to discover it in time, resulting in a significant impact on the operation of the business system.
Through the information integration platform, the engine instance reads the configuration information of the interface call and automatically sends notification content to the platform group object in case of an exception, including situations where the interface call times out or the return value does not meet expectations. The email engine is used to send notifications and the alarm style is displayed on the monitoring page.
It realizes the automated processing of interface call exceptions, notifies management personnel in a timely manner, improves operation and maintenance capabilities, and reduces business impact.
Smart Images

Figure CN113971508B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer networks, and in particular to a method and device for processing a logical interface anomaly. Background Art
[0002] For information management systems of enterprises and institutions in industries such as healthcare, education, military industry, and real estate, there are usually many internal and external business systems involved (possibly hundreds of them), and the daily volume of interactive messages between systems may reach tens of millions.
[0003] In order to solve the point-to-point interaction between business systems, consider launching an information integration platform. The business system, as an endpoint, only connects to the integration platform. The integration platform completes the docking process with other business systems, realizes the decoupling and configurable interaction between business systems, and realizes the tracking, monitoring and alarm of the interaction process between business systems.
[0004] However, due to the large number and variety of business systems, it is inevitable that exceptions will occur when the business system interfaces are called, resulting in the inability of business system users to carry out normal business interaction processes, and it is difficult for system maintenance personnel to discover the abnormalities in the first time, resulting in a significant impact on the operation of the business system. Summary of the Invention
[0005] The embodiment of the present invention provides a method and device for processing interface call exceptions based on an information integration platform, so as to solve the problem in the prior art that when an interface of a business system is called abnormally, system maintenance personnel find it difficult to discover the abnormal situation in time.
[0006] In order to achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0007] First, the method for handling interface call exceptions based on the information integration platform includes:
[0008] The business interaction process based on the information integration platform is started, and the engine instance reads the configuration information of the interface call into memory;
[0009] When a corresponding message triggers the business interaction process, the engine instance executes the processing flow according to the configuration information of the interface call;
[0010] If the target interface is executed and the interface call is abnormal, the engine instance reads the pre-set call exception handling configuration information, calls the mail engine to send the pre-configured corresponding notification content to the corresponding platform group object.
[0011] Furthermore, the interface call exception includes an interface call timeout; the preset call exception handling configuration information includes a configuration item for sending a timeout notification content;
[0012] In the case of interface call timeout, the engine instance reads the preset call exception handling configuration information, calls the mail engine to select the sending timeout notification content item from the call exception handling configuration information, and sends it to the corresponding platform group object.
[0013] Furthermore, the interface call exception situation also includes that the interface can be called normally but the interface return value does not meet the expected value; the preset call exception handling configuration information also includes an interface return value exception handling item;
[0014] In the case where the interface can be called normally but the interface return value does not meet the expected value, the engine instance reads the pre-set call exception handling configuration information, reads the judgment condition expression according to the configuration of the interface return value exception handling item, replaces the variable value with the interface return value to make an expression validity judgment. If it is not true, the email engine is called to send the configured notification content to the corresponding platform group object.
[0015] Furthermore, in the case where the interface can be called normally but the interface return value does not meet the expected value, while calling the email engine to send the configured notification content to the corresponding platform group object, a message record is added to the established abnormal interaction log, and the message is presented in an alarm style on the monitoring page of the information integration platform.
[0016] Furthermore, the warning style adopts a red field display style and / or a flashing style.
[0017] Furthermore, the information integration platform generates a graphical interface; access to the business system interface in the business interaction process is achieved through graphical interface operations.
[0018] Secondly, a device for processing interface call exceptions based on the information integration platform includes:
[0019] The interface call startup module starts the business interaction process based on the information integration platform, and the engine instance reads the configuration information of the interface call into the memory;
[0020] The interface call execution module, when a corresponding message triggers the business interaction process, the engine instance executes the processing process according to the configuration information of the interface call;
[0021] The interface call exception handling module, if the target interface is executed and the interface call is abnormal, the engine instance reads the pre-set call exception handling configuration information, calls the mail engine to send the pre-configured corresponding notification content to the corresponding platform group object.
[0022] In a third aspect, an information integration platform monitoring server is provided, which has the following features:
[0023] The interface call exception handling configuration module is used for administrators to set the handling method for interface call exceptions in the business interaction process. When the target interface is executed and the interface call exception occurs, the engine instance reads the pre-set call exception handling configuration information and calls the email engine to send the pre-configured corresponding notification content to the corresponding platform group object;
[0024] The abnormal alarm display module is used to receive messages sent by the business system and present them in an alarm format when the interface can be called normally but the interface return value does not meet the expected value.
[0025] In a fourth aspect, a business system terminal includes a memory and a processor, wherein the memory stores a computer program, and the special feature is that the processor implements the steps of the above method when executing the computer program.
[0026] In a fifth aspect, a computer-readable storage medium stores a computer program thereon, wherein the computer program implements the steps of the above method when executed by a processor.
[0027] The present invention has at least the following beneficial effects:
[0028] When a corresponding message triggers the business interaction process, the engine instance executes the processing process according to the configuration information of the interface call; if the execution reaches the target interface and the interface call is abnormal, the engine instance reads the pre-set call exception processing configuration information, calls the email engine to send the pre-configured corresponding notification content to the corresponding platform group object; thereby automatically notifying the management personnel or technical personnel so that they can know and make adjustments in time, greatly improving the operation and maintenance capabilities and reducing the impact on the business. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] To more clearly illustrate the prior art and the present invention, the following briefly introduces the drawings required for describing the prior art and the embodiments of the present invention. Obviously, the drawings described below are merely illustrative, and those skilled in the art can derive other drawings based on the provided drawings without inventive effort.
[0030] Figure 1 A schematic diagram of an application environment of a method for processing interface call exceptions based on an information integration platform according to an embodiment of the present invention;
[0031] Figure 2 This is a flow chart of a method for handling interface call exceptions based on an information integration platform according to an embodiment of the present invention;
[0032] Figure 3 A schematic diagram of a configuration window interface for a business system interface in one embodiment of the present invention;
[0033] Figure 4 A schematic diagram of a configuration window interface for handling interface call exceptions in one embodiment of the present invention;
[0034] Figure 5 Diagram of the interface for sending emails to people in the platform group when the interface call times out or fails (based on Figure 4 Interface shown);
[0035] Figure 6 When the interface call times out or fails, or the interface return value is not within the judgment condition range, set it to send emails to the platform group members (based on Figure 4 interface shown). DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0037] The method for processing interface call exceptions based on the information integration platform provided in this application can be applied to Figure 1 In the application environment shown.
[0038] As endpoints, business systems connect only to the integration platform. The integration platform completes the integration process with other business systems, achieving decoupling and configurable interactions between business systems, and enabling tracking, monitoring, and alarming of interactions between business systems. Access to business system interfaces is achieved through the integration platform's graphical interface.
[0039] In one embodiment, Figure 2 As shown, a method for handling interface call exceptions based on an information integration platform is provided. Figure 1 The following steps are taken as an example to illustrate the business system terminal in the example:
[0040] S1: The business interaction process based on the information integration platform is started, and the engine instance reads the configuration information of the interface call into memory;
[0041] S2: When a corresponding message triggers the business interaction process, the engine instance executes the processing flow according to the configuration information of the interface call;
[0042] S3: If the target interface is executed and the interface call is abnormal, the engine instance reads the pre-set call exception handling configuration information, calls the mail engine to send the pre-configured corresponding notification content to the corresponding platform group object.
[0043] It can be seen that if the target interface is executed and the interface call is abnormal, the management personnel or technical personnel can be automatically notified so that they can know and make adjustments in time, greatly improving the operation and maintenance capabilities and reducing the impact on the business.
[0044] Interface exceptions are divided into two categories: one is the failure of the interface call, such as a call timeout; the other is that although the interface can be successfully called, the return result of the interface is not within the expected range. We believe that this is caused by incomplete considerations when developing the interface program. Therefore, this logical error must also be notified to management personnel or technical personnel.
[0045] Therefore, if the target interface is executed and the interface call is abnormal as described in the above method, it is handled separately according to different exception types:
[0046] The preset call exception handling configuration information includes a configuration item for sending a timeout notification content; in the case of an interface call timeout, the engine instance reads the preset call exception handling configuration information, calls the mail engine to select the sending timeout notification content item from the call exception handling configuration information, and sends it to the corresponding platform group object.
[0047] The pre-set call exception handling configuration information also includes an interface return value exception handling item; for situations where the interface can be called normally but the interface return value does not meet the expected value, the engine instance reads the pre-set call exception handling configuration information, reads the judgment condition expression according to the configuration of the interface return value exception handling item, replaces the variable value with the interface return value to make an expression validity judgment, and when it is not true, calls the mail engine to send the configured notification content to the corresponding platform group object. Furthermore, a record of this message is added to the established abnormal interaction log, and the message is displayed in an alarm style on the monitoring page of the information integration platform. Among them, the alarm style can adopt a red field display style, or make the field flash, or the red field flash.
[0048] In one embodiment, a device for processing interface call exceptions based on an information integration platform is provided, comprising the following program modules:
[0049] The interface call startup module starts the business interaction process based on the information integration platform, and the engine instance reads the configuration information of the interface call into the memory;
[0050] The interface call execution module, when a corresponding message triggers the business interaction process, the engine instance executes the processing process according to the configuration information of the interface call;
[0051] The interface call exception handling module, if the target interface is executed and the interface call is abnormal, the engine instance reads the pre-set call exception handling configuration information, calls the mail engine to send the pre-configured corresponding notification content to the corresponding platform group object.
[0052] For the specific limitations of the above-mentioned device, please refer to the limitations of the method for handling interface call exceptions based on the information integration platform above, and will not be repeated here. Each module in the above-mentioned device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0053] In one embodiment, an information integration platform monitoring server is provided, comprising the following program modules:
[0054] The interface call exception handling configuration module is used for administrators to set the handling method for interface call exceptions in the business interaction process. When the target interface is executed and the interface call exception occurs, the engine instance reads the pre-set call exception handling configuration information and calls the email engine to send the pre-configured corresponding notification content to the corresponding platform group object;
[0055] The abnormal alarm display module is used to receive messages sent by the business system and present them in an alarm format when the interface can be called normally but the interface return value does not meet the expected value.
[0056] Take the business interaction process in the hospital information management system as an example (specifically, the writing process of blood transfusion fees as an example), and call an interface of the resident doctor workstation. The configuration of the resident doctor workstation interface is as follows: Figure 3 As shown, the exception handling configuration window interface is as follows Figure 4 As shown, when the interface call times out or fails, an email is sent to the platform group members. Figure 5 As shown, when the interface call times out or fails, or when the interface return value is not within the judgment condition range, the interface is set to send emails to the platform group members as shown below. Figure 6 shown.
[0057] After the interaction process is started, the engine instance reads the configuration information of the interface call into memory.
[0058] When a corresponding message triggers the blood transfusion billing process, the engine instance executes the process according to the process configuration:
[0059] When the interface is executed and the interface call times out, the engine instance reads the call exception handling configuration information. If it finds that there is a timeout notification configuration, it calls the mail engine to send the configured notification content to the corresponding platform group object.
[0060] When an interface is executed and can be called normally, the engine instance reads the call exception handling configuration information. If an interface is called but the interface return value does not meet the expected value, it reads the judgment condition expression and replaces the variable value with the interface return value to verify the validity of the expression. If it does not meet the requirement, it calls the email engine to send the configured notification content to the corresponding platform group object. Furthermore, by setting it to record the abnormal interaction log, the message will appear in red warning style on the monitoring page, and the number of abnormal records will increase, attracting the attention of management personnel.
[0061] Through this embodiment, operation and maintenance costs can be effectively reduced, the timeliness of problem handling can be improved, and the operation status of business system interfaces can be mastered.
[0062] In one embodiment, a business system terminal is further provided, including a memory and a processor, wherein the memory stores a computer program involving all or part of the processes in the above-mentioned embodiment method.
[0063] In one embodiment, a computer-readable storage medium is further provided, on which a computer program is stored, which involves all or part of the processes in the above-mentioned embodiment method.
[0064] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0065] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0066] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A method for handling interface call exceptions based on an information integration platform, characterized in that: The business system, as an endpoint, only connects to the information integration platform. The information integration platform completes the connection process with other business systems, realizing the decoupling and configurable interaction between business systems. The processing method includes: The business interaction process based on the information integration platform is started, and the engine instance reads the configuration information of the interface call into memory; When a corresponding message triggers the business interaction process, the engine instance executes the processing flow according to the configuration information of the interface call; If the target interface is executed and the interface call is abnormal, the engine instance reads the pre-set call exception handling configuration information, calls the mail engine to send the pre-configured corresponding notification content to the corresponding platform group object; The information integration platform generates a graphical interface; access to the business system interface in the business interaction process is achieved through graphical interface operations; The interface call exception situation includes interface call timeout; the preset call exception handling configuration information includes a configuration item for sending a timeout notification content; In the case of an interface call timeout, the engine instance reads the pre-set call exception handling configuration information, calls the mail engine to select the timeout notification content item from the call exception handling configuration information, and sends it to the corresponding platform group object; The interface call exception situation also includes that the interface can be called normally but the interface return value does not meet the expected value; the pre-set call exception handling configuration information also includes an interface return value exception handling item; If the interface can be called normally but the interface return value does not meet the expected value, the engine instance reads the pre-set call exception handling configuration information, reads the judgment condition expression according to the configuration of the interface return value exception handling item, replaces the variable value with the interface return value to judge whether the expression is true. If it is not true, the email engine is called to send the configured notification content to the corresponding platform group object; In the case where the interface can be called normally but the interface return value does not meet the expected value, while calling the email engine to send the configured notification content to the corresponding platform group object, a message record is added to the established abnormal interaction log, and the message is displayed in an alarm style on the monitoring page of the information integration platform.
2. The method according to claim 1, characterized in that The alarm style adopts a red field display style and / or a flashing style.
3. A device for processing interface call exceptions based on an information integration platform, characterized in that: include: The interface call startup module starts the business interaction process based on the information integration platform, and the engine instance reads the configuration information of the interface call into the memory; The business system, as an endpoint, only connects to the information integration platform. The information integration platform completes the connection process with other business systems, realizing the decoupling and configurable interaction between business systems. The interface call execution module, when a corresponding message triggers the business interaction process, the engine instance executes the processing process according to the configuration information of the interface call; Interface call exception handling module: if the target interface is executed and the interface call is abnormal, the engine instance reads the pre-set call exception handling configuration information, calls the mail engine to send the pre-configured corresponding notification content to the corresponding platform group object; The information integration platform generates a graphical interface; access to the business system interface in the business interaction process is achieved through graphical interface operations; The interface call exception situation includes interface call timeout; the preset call exception handling configuration information includes a configuration item for sending a timeout notification content; In the case of an interface call timeout, the engine instance reads the pre-set call exception handling configuration information, calls the mail engine to select the timeout notification content item from the call exception handling configuration information, and sends it to the corresponding platform group object; The interface call exception situation also includes that the interface can be called normally but the interface return value does not meet the expected value; the pre-set call exception handling configuration information also includes an interface return value exception handling item; If the interface can be called normally but the interface return value does not meet the expected value, the engine instance reads the pre-set call exception handling configuration information, reads the judgment condition expression according to the configuration of the interface return value exception handling item, replaces the variable value with the interface return value to judge whether the expression is true. If it is not true, the email engine is called to send the configured notification content to the corresponding platform group object; In the case where the interface can be called normally but the interface return value does not meet the expected value, while calling the email engine to send the configured notification content to the corresponding platform group object, a message record is added to the established abnormal interaction log, and the message is displayed in an alarm style on the monitoring page of the information integration platform.
4. A business system terminal, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 2 are implemented.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 2 are implemented.
Citation Information
Patent Citations
Desktop terminal managing system abnormal automatic audible and visual alarm device and using method thereof
CN104461837A
Automatic monitoring method and device for system online interface
CN106506199A
Interface calling monitoring method, device and equipment and storage medium
CN112039701A