Movatterモバイル変換


[0]ホーム

URL:


CN113971508A - Method and device for processing interface call exception based on information integration platform - Google Patents

Method and device for processing interface call exception based on information integration platform
Download PDF

Info

Publication number
CN113971508A
CN113971508ACN202111165444.7ACN202111165444ACN113971508ACN 113971508 ACN113971508 ACN 113971508ACN 202111165444 ACN202111165444 ACN 202111165444ACN 113971508 ACN113971508 ACN 113971508A
Authority
CN
China
Prior art keywords
interface
configuration information
calling
engine
abnormal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111165444.7A
Other languages
Chinese (zh)
Other versions
CN113971508B (en
Inventor
李昕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Lanhai Yixin Technology Co ltd
Original Assignee
Beijing Lanhai Yixin Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Lanhai Yixin Technology Co ltdfiledCriticalBeijing Lanhai Yixin Technology Co ltd
Priority to CN202111165444.7ApriorityCriticalpatent/CN113971508B/en
Publication of CN113971508ApublicationCriticalpatent/CN113971508A/en
Application grantedgrantedCritical
Publication of CN113971508BpublicationCriticalpatent/CN113971508B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The embodiment of the invention discloses a processing method and a processing device for interface calling abnormity based on an information integration platform, and aims to solve the problem that in the prior art, when the interface of a service system is called abnormally, system maintenance personnel cannot find the abnormal condition in time. The method comprises the following steps: starting a service interaction process based on the information integration platform, and reading configuration information called by an interface into a memory by an engine instance; when a corresponding message triggers the service interaction flow, the engine instance executes a processing flow according to the configuration information called by the interface; if the target interface is executed and the interface calling is abnormal, the engine instance reads preset calling abnormal processing configuration information and calls a mail engine to send corresponding notification content configured in advance to a corresponding platform group object; therefore, managers or technicians are automatically informed to know in time to adjust, the operation and maintenance capacity is greatly improved, and the influence on the service is reduced.

Description

Method and device for processing interface call exception based on information integration platform
Technical Field
The invention relates to the technical field of computer networks, in particular to a method and a device for processing logical interface exception.
Background
For the information management system of enterprises and public institutions in the industries of medical treatment, education, military industry, real estate and the like, the number of involved internal and external business systems is usually many (possibly hundreds), and the interactive message amount among daily systems can reach tens of millions.
In order to solve the problem of point-to-point interaction of the service systems, an online information integration platform is considered, the service systems are only in butt joint with the integration platform as end points, the integration platform completes the butt joint process with other service systems, decoupling and interaction configurability of interaction between the service systems are realized, and tracking monitoring and alarming of the interaction process between the service systems are realized.
However, due to the fact that the number and the types of the service systems are large, it is sometimes inevitable that an interface of the service system is called to be abnormal, so that a service system user cannot perform a normal service interaction process, and system maintenance personnel cannot find abnormal conditions at the first time, so that the operation of the service system is greatly influenced.
Disclosure of Invention
The embodiment of the invention provides a processing method and device for interface calling abnormity based on an information integration platform, and aims to solve the problem that in the prior art, when the interface of a service system is called abnormally, system maintenance personnel cannot find the abnormal condition in time.
In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:
in a first aspect, a method for handling an exception for an interface call based on an information integration platform includes:
starting a service interaction process based on the information integration platform, and reading configuration information called by an interface into a memory by an engine instance;
when a corresponding message triggers the service interaction flow, the engine instance executes a processing flow according to the configuration information called by the interface;
if the target interface is executed and the interface calling is abnormal, the engine instance reads preset calling abnormal processing configuration information and calls the mail engine to send corresponding preset notification content to the corresponding platform group object.
Further, the condition of the abnormal interface call comprises the overtime of the interface call; the preset calling exception handling configuration information comprises a configuration item for sending overtime notification content;
and for the condition that the interface call is overtime, reading preset call exception handling configuration information by the engine instance, selecting and sending an overtime notification content item from the call exception handling configuration information by the call mail engine, and sending the overtime notification content item to the corresponding platform group object.
Further, the condition that the interface call is abnormal also comprises that the interface can be normally called but the return value of the interface does not accord with the expected value; the preset calling exception handling configuration information also comprises an interface return value exception handling item;
and for the condition that the interface can be normally called but the interface return value is not accordant with the expected value, the engine instance reads preset calling exception processing configuration information, reads and judges a conditional expression according to the configuration of the interface return value exception processing item, replaces a variable value with the return value of the interface to perform expression satisfaction judgment, and calls the mail engine to send the notification content of the configuration to the corresponding platform group object when the conditional expression is not satisfied.
Further, for the condition that the interface can be normally called but the interface return value is not in line with the expected value, when the mail engine is called to send the configured notification content to the corresponding platform group object, the message record is added to the established abnormal interaction log, and the message presents an alarm style on the monitoring page of the information integration platform.
Further, the alarm pattern adopts a red field display pattern and/or a flashing pattern.
Further, the information integration platform generates a graphical interface; the access to the service system interface in the service interaction process is realized through graphical interface operation.
In a second aspect, an apparatus for handling an exception for an interface call based on an information integration platform includes:
the interface calling starting module is used for starting a service interaction process based on the information integration platform, and the engine instance reads the configuration information called by the interface into the memory;
the interface calls the executive module, when there is correspondent news that triggers the said business interaction flow, the engine example carries out the processing flow according to the configuration information that the said interface calls;
and the interface call exception handling module reads preset call exception handling configuration information and calls a mail engine to send corresponding preconfigured notification content to a corresponding platform group object if the target interface is executed and the interface call is abnormal.
In a third aspect, an information integration platform monitoring server is characterized by comprising:
the interface calling exception handling configuration module is used for setting a processing mode when the interface calling in the service interaction process is abnormal by an administrator, so that when the situation that the target interface is executed and the interface calling is abnormal occurs, the engine instance reads preset calling exception handling configuration information and calls a mail engine to send corresponding preset notification content to a corresponding platform group object;
and the abnormal alarm display module is used for receiving the message sent by the service system and presenting the message in an alarm mode when the interface can be normally called but the return value of the interface is not accordant with the expected value.
In a fourth aspect, a service system terminal includes a memory and a processor, where the memory stores a computer program, and is characterized in that the processor implements the steps of the above method when executing the computer program.
In a fifth aspect, a computer-readable storage medium, on which a computer program is stored, is characterized in that the computer program realizes the steps of the above-mentioned method when being executed by a processor.
The invention has at least the following beneficial effects:
when a corresponding message triggers the service interaction flow, the engine instance executes a processing flow according to the configuration information called by the interface; if the target interface is executed and the interface calling is abnormal, the engine instance reads preset calling abnormal processing configuration information and calls a mail engine to send corresponding notification content configured in advance to a corresponding platform group object; therefore, managers or technicians are automatically informed to know in time to adjust, the operation and maintenance capacity is greatly improved, and the influence on the service is reduced.
Drawings
In order to more clearly illustrate the prior art and the present invention, the drawings which are needed to be used in the description of the prior art and the embodiments of the present invention will be briefly described. It should be apparent that the drawings in the following description are merely exemplary, and that other drawings may be derived from the provided drawings by those of ordinary skill in the art without inventive effort.
FIG. 1 is a schematic diagram of an application environment of a method for handling an interface call exception based on an information integration platform according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for handling an interface call exception based on an information integration platform according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a configuration window interface for a business system interface in an embodiment of the invention;
FIG. 4 is a diagram illustrating a configuration window interface for invoking exception handling for an interface in accordance with an embodiment of the present invention;
FIG. 5 is a schematic diagram of an interface configured to send a mail to a person in a platform group when an interface call times out or fails (based on the interface shown in FIG. 4);
fig. 6 is an interface schematic diagram (based on the interface shown in fig. 4) configured to send a mail to a person in the platform group when the interface call times out or fails, or when the interface return value is not within the judgment condition range.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The processing method for the interface call exception based on the information integration platform can be applied to the application environment shown in fig. 1.
The service system is only butted with the integrated platform as an end point, the integrated platform completes the butt joint process with other service systems, the decoupling and interaction configurability of the interaction between the service systems are realized, and the tracking monitoring and alarming of the interaction process between the service systems are realized. The access to the business system interface is realized through an integrated platform of a graphical interface.
In an embodiment, as shown in fig. 2, a method for handling an interface call exception based on an information integration platform is provided, which is described by taking an example that the method is applied to a service system terminal in fig. 1, and includes the following steps:
s1: starting a service interaction process based on the information integration platform, and reading configuration information called by an interface into a memory by an engine instance;
s2: when a corresponding message triggers the service interaction flow, the engine instance executes a processing flow according to the configuration information called by the interface;
s3: if the target interface is executed and the interface calling is abnormal, the engine instance reads preset calling abnormal processing configuration information and calls the mail engine to send corresponding preset notification content to the corresponding platform group object.
Therefore, if the target interface is executed and the interface calling is abnormal, the management personnel or the technical personnel can be automatically informed, so that the management personnel or the technical personnel can know and adjust in time, the operation and maintenance capability is greatly improved, and the influence on the service is reduced.
The abnormal situations of the interface are divided into two types, one is interface calling failure, such as calling overtime, the other is that although the interface can be successfully called, the return result of the interface is not in an expected range, and the interface is considered to be caused incompletely when the interface program is developed, so that the logic error can be notified to a manager or a technician.
Therefore, if the target interface is executed and the interface call is abnormal as described in the above method, the following processes are respectively processed according to different abnormal types:
the preset calling exception handling configuration information comprises a configuration item for sending overtime notification content; and for the condition that the interface call is overtime, reading preset call exception handling configuration information by the engine instance, selecting and sending an overtime notification content item from the call exception handling configuration information by the call mail engine, and sending the overtime notification content item to the corresponding platform group object.
The preset calling exception handling configuration information also comprises an interface return value exception handling item; and for the condition that the interface can be normally called but the interface return value is not accordant with the expected value, the engine instance reads preset calling exception processing configuration information, reads and judges a conditional expression according to the configuration of the interface return value exception processing item, replaces a variable value with the return value of the interface to perform expression satisfaction judgment, and calls the mail engine to send the notification content of the configuration to the corresponding platform group object when the conditional expression is not satisfied. Further, the message record is added in the established abnormal interaction log, and the message presents an alarm style on a monitoring page of the information integration platform. The alarm mode can adopt a red field display mode, or make the field flash, or flash the red field.
In one embodiment, there is further provided an apparatus for handling an exception to an interface call based on an information integration platform, including the following program modules:
the interface calling starting module is used for starting a service interaction process based on the information integration platform, and the engine instance reads the configuration information called by the interface into the memory;
the interface calls the executive module, when there is correspondent news that triggers the said business interaction flow, the engine example carries out the processing flow according to the configuration information that the said interface calls;
and the interface call exception handling module reads preset call exception handling configuration information and calls a mail engine to send corresponding preconfigured notification content to a corresponding platform group object if the target interface is executed and the interface call is abnormal.
For specific limitations of the above apparatus, reference may be made to the above limitations of the method for handling an exception for an interface call based on an information integration platform, and details are not described here again. The various modules in the above-described apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be stored in a memory of a computer device in a software form, so that a processor can call and execute the corresponding operations of the modules.
In one embodiment, there is also provided an information integration platform monitoring server, including the following program modules:
the interface calling exception handling configuration module is used for setting a processing mode when the interface calling in the service interaction process is abnormal by an administrator, so that when the situation that the target interface is executed and the interface calling is abnormal occurs, the engine instance reads preset calling exception handling configuration information and calls a mail engine to send corresponding preset notification content to a corresponding platform group object;
and the abnormal alarm display module is used for receiving the message sent by the service system and presenting the message in an alarm mode when the interface can be normally called but the return value of the interface is not accordant with the expected value.
Taking a business interaction flow in the hospital information management system as an example (specifically taking a writing flow of transfusion cost as an example), a certain interface of the hospital doctor workstation is called. The configuration of the interface of the hospital doctor workstation is shown in fig. 3, the interface of the exception handling configuration window is shown in fig. 4, the interface which is set to send the mail to the personnel in the platform group when the interface calls overtime or failure is shown in fig. 5, and the interface which is set to send the mail to the personnel in the platform group when the interface calls overtime or failure or the interface return value is not within the judgment condition range is shown in fig. 6.
After the interactive process is started, the engine instance reads the configuration information called by the interface into the memory.
When a corresponding message triggers the blood transfusion billing flow, the engine instance performs execution processing according to the flow configuration process:
when the interface is executed and the interface calls timeout, the engine instance reads the calling exception processing configuration information, and calls the mail engine to send the configured notification content to the corresponding platform group object when the configuration of sending the timeout notification is found.
When the interface is executed and can be normally called, the engine instance reads and calls the abnormal processing configuration information, when the interface call is found but the interface return value is not in accordance with the configuration of the expected value, the judgment condition expression is read, the return value of the interface replaces the variable value to make expression satisfaction judgment, and when the interface call is not in accordance with the configuration of the expected value, the mail engine is called to send the notification content of the configuration to the corresponding platform group object. And the message is made to present a red alarm pattern on the monitoring page by setting the message as an abnormal interaction log, so that the number of abnormal records is increased to draw the attention of the manager.
By the embodiment, the operation and maintenance cost can be effectively reduced, the timeliness of problem handling is improved, and the operation condition of the service system interface is mastered.
In one embodiment, a business system terminal is further provided, which includes a memory and a processor, where the memory stores a computer program, and relates to all or part of the processes in the method of the above embodiment.
In one embodiment, a computer-readable storage medium having a computer program stored thereon is provided, which relates to all or part of the processes of the method of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can 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, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

CN202111165444.7A2021-09-302021-09-30 Method and device for processing interface call exceptions based on information integration platformActiveCN113971508B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111165444.7ACN113971508B (en)2021-09-302021-09-30 Method and device for processing interface call exceptions based on information integration platform

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111165444.7ACN113971508B (en)2021-09-302021-09-30 Method and device for processing interface call exceptions based on information integration platform

Publications (2)

Publication NumberPublication Date
CN113971508Atrue CN113971508A (en)2022-01-25
CN113971508B CN113971508B (en)2025-10-03

Family

ID=79587149

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111165444.7AActiveCN113971508B (en)2021-09-302021-09-30 Method and device for processing interface call exceptions based on information integration platform

Country Status (1)

CountryLink
CN (1)CN113971508B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114978869A (en)*2022-07-152022-08-30数研院(福建)信息产业发展有限公司Configurable interface state automatic judgment method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103067230A (en)*2013-01-232013-04-24江苏天智互联科技有限公司Method for achieving hyper text transport protocol (http) service monitoring through embedding monitoring code
CN104461837A (en)*2014-10-292015-03-25国家电网公司Desktop terminal managing system abnormal automatic audible and visual alarm device and using method thereof
CN106059794A (en)*2016-05-132016-10-26努比亚技术有限公司Monitoring method and monitoring apparatus
CN106506199A (en)*2016-10-212017-03-15乐视控股(北京)有限公司The automatic monitoring method and device of interface in system line
CN107948744A (en)*2017-12-132018-04-20深圳市雷鸟信息科技有限公司Interface detection method, interface detection device and computer-readable recording medium
CN110445688A (en)*2019-08-122019-11-12珠海格力电器股份有限公司Interface service function monitoring method and system based on data collection
CN112039701A (en)*2020-08-272020-12-04中国平安财产保险股份有限公司Interface call monitoring method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103067230A (en)*2013-01-232013-04-24江苏天智互联科技有限公司Method for achieving hyper text transport protocol (http) service monitoring through embedding monitoring code
CN104461837A (en)*2014-10-292015-03-25国家电网公司Desktop terminal managing system abnormal automatic audible and visual alarm device and using method thereof
CN106059794A (en)*2016-05-132016-10-26努比亚技术有限公司Monitoring method and monitoring apparatus
CN106506199A (en)*2016-10-212017-03-15乐视控股(北京)有限公司The automatic monitoring method and device of interface in system line
CN107948744A (en)*2017-12-132018-04-20深圳市雷鸟信息科技有限公司Interface detection method, interface detection device and computer-readable recording medium
CN110445688A (en)*2019-08-122019-11-12珠海格力电器股份有限公司Interface service function monitoring method and system based on data collection
CN112039701A (en)*2020-08-272020-12-04中国平安财产保险股份有限公司Interface call monitoring method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114978869A (en)*2022-07-152022-08-30数研院(福建)信息产业发展有限公司Configurable interface state automatic judgment method and system

Also Published As

Publication numberPublication date
CN113971508B (en)2025-10-03

Similar Documents

PublicationPublication DateTitle
CN109032824B (en)Database verification method, database verification device, computer equipment and storage medium
CN112115026B (en)Server cluster monitoring method and device, electronic equipment and readable storage medium
US20070294056A1 (en)Method and system for monitoring non-occurring events
CN113886122B (en)System operation exception handling method, device, equipment and storage medium
CN113220540A (en)Service management method, device, computer equipment and storage medium
CN114612209A (en)Account checking data processing method and device, computer equipment and storage medium
CN111756778A (en)Server disk cleaning script pushing method and device and storage medium
CN114205224A (en)Multimedia equipment remote operation and maintenance control method and system based on Internet of things
CN112561506A (en)Live broadcast data processing method, system, device and medium based on virtual currency
CN113971508B (en) Method and device for processing interface call exceptions based on information integration platform
CN113590702A (en)Method for realizing visual monitoring system butt joint message
CN113806182B (en)Interactive flow monitoring method based on information integration platform and computer equipment
CN113497721B (en)Network fault positioning method and device
CN119127625B (en)Database node state monitoring method and device, electronic equipment and storage medium
CN115562932A (en)Task monitoring and abnormal self-healing method and device based on multi-interface platform
CN114629786A (en)Log real-time analysis method, device, storage medium and system
CA2365427A1 (en)Internal product fault monitoring apparatus and method
CN117591260A (en)Task execution method, device, equipment, storage medium and program product
CN116633762A (en) Self-healing API gateway implementation method and system
CN116401118A (en)Method and device for monitoring Samba of file sharing service
CN115426281A (en) Application status monitoring method, device, electronic device and storage medium
CN110502404B (en)Early warning processing method based on data management platform and related equipment
CN115269307A (en) A method and device for monitoring batch processing
CN113835916A (en) An alarm method, system and device based on Ambari big data platform
CN116192611B (en) A unified alarm method, system and device based on multiple microservice scenarios

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp