CN113312242B - Interface information management method, device, equipment and storage medium - Google Patents

Interface information management method, device, equipment and storage medium Download PDF

Info

Publication number
CN113312242B
CN113312242B CN202110727993.2A CN202110727993A CN113312242B CN 113312242 B CN113312242 B CN 113312242B CN 202110727993 A CN202110727993 A CN 202110727993A CN 113312242 B CN113312242 B CN 113312242B
Authority
CN
China
Prior art keywords
interface information
interface
processing
output
requirement
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.)
Active
Application number
CN202110727993.2A
Other languages
Chinese (zh)
Other versions
CN113312242A (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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202110727993.2A priority Critical patent/CN113312242B/en
Publication of CN113312242A publication Critical patent/CN113312242A/en
Application granted granted Critical
Publication of CN113312242B publication Critical patent/CN113312242B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides an interface information management method, device, equipment and storage medium. The method is applied to an interface information management platform and comprises the following steps: after receiving an interface requirement input by a user through an interface information management interface, acquiring interface information from at least one interface information provider; according to the interface information processing requirement, the interface information is correspondingly processed; according to the output mode of the interface information, the processed interface information is sent to an interface information demand side; the interface requirement comprises an interface information receiving requirement, an interface information processing requirement and an interface information output mode, and the corresponding processing of the interface information comprises the conversion of the interface information into a target data format. Therefore, the interface information management platform capable of being deployed independently and flexibly configuring the interface requirements can be used for realizing the management of the interface information of one or more interface information providers, and improving the convenience and efficiency of the interface information obtaining of the interface information demander.

Description

Interface information management method, device, equipment and storage medium
Technical Field
The present application relates to computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for managing interface information.
Background
Micro-services are service oriented architectures that construct applications as loosely coupled services.
In the enterprise-level micro-service architecture, the fine granularity of the service modules is divided, the number of services is greatly increased, so that the information release of application program interfaces (Application Programming Interface, APIs) of the services has the characteristics of multiple sources, isomerism, quick updating, fuzzy application boundaries and the like, and the description information of the APIs is distributed in each service. In this case, the efficiency of the interface information demander to acquire the description information of the API of the specified service by querying the interface description document web address and querying the specific notice under the micro-service architecture is low, and a high communication cost is required.
Therefore, the efficiency of the interface demander to acquire the interface information of the service in the micro service needs to be improved.
Disclosure of Invention
The application provides an interface information management method, device, equipment and storage medium, which are used for enabling an interface demand party to quickly acquire interface information of services in micro services at low cost.
In a first aspect, the present application provides an interface information management method, applied to an interface information management platform, where the interface information management method includes:
After receiving interface requirements input by a user through an interface information management interface, acquiring interface information from at least one interface information provider according to the interface information receiving requirements;
according to interface information processing requirements, carrying out corresponding processing on the interface information;
According to the output mode of the interface information, the processed interface information is sent to an interface information demand side;
The interface requirement comprises the interface information receiving requirement, the interface information processing requirement and the interface information output mode, and the corresponding processing of the interface information comprises the conversion of the interface information into a target data format.
In one possible implementation manner, the interface information receiving requirement includes a data source selection range of the interface information, an access mode of the interface information, an interface type of an interface to which the interface information belongs, a data format of the interface information, and an analysis mode of the interface information, and the obtaining the interface information from at least one interface information provider according to the interface information receiving requirement includes:
determining the at least one interface information provider according to the data source selection range;
Acquiring interface information provided by the at least one interface information provider according to an access mode, an interface type and a data format in the interface information receiving requirement;
And analyzing the acquired interface information according to the data format and the analysis requirement in the interface information receiving requirement to obtain the interface information after the analysis.
In one possible implementation manner, the interface information processing requirement includes a data processing range and a first processing parameter, and the processing the interface information according to the interface information processing requirement includes:
Determining interface information to be processed in the interface information according to the data processing range;
And converting the format of the interface information to be processed into the target data format according to the first processing parameters, wherein the first processing parameters comprise the target data format.
In one possible implementation manner, the interface information processing requirement further includes a first processing component requirement, and the processing method further includes:
and processing the interface information to be processed through a third party component meeting the requirements of the first processing component.
In one possible implementation manner, the interface information processing requirement further includes a data processing trigger condition, and determining interface information to be processed in the interface information according to the data processing range includes:
And when the data processing triggering condition is triggered, determining interface information to be processed in the interface information according to the data processing range, wherein the data processing triggering condition comprises data processing frequency.
In one possible implementation manner, the processing the interface information according to the interface information processing requirement further includes:
and storing the interface information converted into the target data format into a database.
In one possible implementation manner, the interface information output manner includes a data output range, a second processing parameter, and an output object, and the sending, according to the interface information output manner, the processed interface information to the interface information requiring party includes:
determining interface information to be output in the processed interface information according to the data output range;
Converting the format of the interface information to be output into a data format required by the interface information demander according to the second processing parameters;
outputting the interface information after format conversion to the output object.
In one possible implementation manner, before the converting, according to the second processing parameter, the format of the interface information to be output into the data format required by the interface information demander, the interface information management method further includes:
If the interface information to be output is multi-channel output, carrying out data copying on the interface information to be output according to the number of output channels of the interface information to be output;
Wherein the multi-channel output comprises a plurality of data formats required by the interface information demander and/or a plurality of output objects.
In one possible implementation manner, the interface information output manner further includes a second processing component requirement, and the sending, according to the interface information output manner, the processed interface information to the interface information demander further includes:
and processing the interface information to be output through a third party component meeting the requirements of the second processing component.
In one possible implementation manner, the interface information management method further includes:
Monitoring the acquisition stage, the processing stage and/or the output stage of the interface information, and/or monitoring the state of an interface to which the interface information belongs, and/or monitoring the state of a third party component called in the interface information management platform to obtain monitoring information;
And outputting the monitoring information and/or outputting an early warning message according to the monitoring information.
In one possible implementation manner, the interface information management method further includes:
counting the acquisition condition of the interface information to obtain statistical information;
Outputting the statistical information;
Wherein the statistical information includes at least one of: the number of times of obtaining the interface information, the failure rate of obtaining the interface information, and the number of times of updating the interface to which the interface information belongs.
In a second aspect, the present application provides an interface information management apparatus applied to an interface information management platform, the interface information management apparatus comprising:
The receiving module is used for acquiring interface information from at least one interface information provider according to the interface information receiving requirement after receiving the interface requirement input by a user through the interface information management interface;
the processing module is used for correspondingly processing the interface information according to the interface information processing requirement;
the output module is used for sending the processed interface information to the interface information demand side according to the interface information output mode;
The interface requirement comprises the interface information receiving requirement, the interface information processing requirement and the interface information output mode, and the corresponding processing of the interface information comprises the conversion of the interface information into a target data format.
In a fourth aspect, an embodiment of the present application provides an electronic device, including:
A memory and a processor;
the memory is used for storing program instructions;
the processor is configured to invoke the program instructions in the memory to perform the interface information management method according to the first aspect or any possible implementation of the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer readable storage medium, on which a computer program is stored, the computer program implementing the interface information management method according to the first aspect or any possible implementation manner of the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when executed by a processor, implements an interface information management method as described in the first aspect, or any possible implementation of the first aspect.
According to the interface information management method, the device, the equipment and the storage medium, on one hand, the interface information management platform can collect interface information of one or more interface information providers according to interface requirements configured by a user, format conversion is carried out on the interface information, interface information meeting interface information receiving requirements, interface information processing requirements and interface information output modes is provided for an interface information requiring party, and convenience and efficiency of the interface information requiring party for acquiring the interface information meeting own requirements (especially the interface information in micro services) are improved; on the other hand, the interface information management platform, the interface information provider and the interface information demander have no coupling problem, can be independently deployed as middleware, and is convenient for multiplexing.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
FIG. 1 is a schematic view of a scene provided by an embodiment of the present application;
FIG. 2 is a flowchart illustrating an interface information management method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an interface information management platform according to an embodiment of the present application;
Fig. 4 is a schematic structural diagram of an interface information management device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
The feature of the micro-service architecture determines fine granularity division of the service module and a great increase in the number of interfaces, which makes it difficult for the interface information demander to find specific interface information. Especially in enterprise microservice architecture, bring very high communication cost to enterprises: in order to understand the description of the API under a certain micro-service architecture (for example, whether the API is useful or not, how the API is used), the interface information demander needs to find the address of the interface description document under the micro-service architecture and inquire about specific notes, and it is characterized that the service publisher can perform operations such as calling up, testing, publishing online, etc. on the interface after agreeing. In the case of cross-department, cross-team collaboration, specific interface information needs to be found in the microservice architecture, the difficulty of which is conceivable.
Therefore, how to solve the aggregation, processing and decision-making of the information (hereinafter referred to as interface information) at the semantic level of the API to improve the efficiency and convenience of obtaining the interface information in the micro-service architecture is one of the challenges faced by the team collaboration within the enterprise or in a larger range. At present, a typical scene of a micro service architecture is provided with a service registration mechanism and a discovery mechanism, but interface information collection, processing and decision making are not realized yet.
A typical application scenario is analyzed as follows.
One of the typical application scenarios: spring Cloud micro-service architecture. In the micro-service architecture, the forwarding of the interfaces provided by the clusters is realized through an API gateway, and the service discovery inside the clusters is realized through a registry. However, there are several disadvantages in the Spring Cloud micro-service architecture:
1) An API gateway focusing on the realization of the call layers of forwarding, fusing, current limiting and the like of an interface is not suitable for bearing the collection and release of all interface information in a cluster.
2) The registry can enumerate accessible services in the cluster in a list mode, but the registry is only visible to the inside of the cluster, the retrievable services are also only internal services registered in the registry, interface information retrieval cannot be provided to the outside of the cluster under the condition that forwarding routes are not opened, interfaces cannot be grouped according to applications in the registration mode, and corresponding applications cannot be visually checked.
3) The shared interfaces of small-scale micro-service development teams cooperate with tools such as integration showdoc (open-source interface management tool, using Sqlite database, php deployment) to integrate the interface information of individual micro-services. However, on one hand, the integration of the interface information collection plug-in of the micro service has certain requirements, for example, each micro service must integrate swagger (for generating, describing, calling and visualizing the Web service of RESTful style, defining a standard and language independent interface, and the capability of discovering and understanding the service without accessing source codes, documents or network traffic monitoring) to uniformly incorporate and display a collaboration tool, and the method is to invade an application architecture and introduce an architecture design irrelevant to services; on the other hand, the technical stacks, interface description tools and interface management tools of different development teams are different, so that the different teams can inquire the interface information of each other service cluster in a quite different mode, and the cooperation efficiency is affected.
4) For large-scale development teams, without a centralized interface management/release platform, it is difficult to realize quick viewing, centralized searching, etc. of interfaces between various modules or microservices.
Another typical application scenario: istio-based service grid (SERVICE MESH). Wherein istio provides a simple way to build a network for deployed services, the network having load balancing, inter-service authentication, monitoring, etc. functions without requiring any modification of the code of the service; the service grid is responsible for network invocation, current limiting, fusing and monitoring between services, and is analogous to applications without concern for the layer of TCP/IP, and the service grid is used without concern for communication and collaboration between services. In the service grid, each node adopts a side car mode (Sidecar, application design form of single node and multiple containers, and a main container is expanded or enhanced by an additional container, which is called sidecar container), so as to provide services, and traffic (access frequency) between the services flows under the regulation of a control plane.
In istio-based service grids, lower-level application networks such as fuses, timeouts, retries, etc. have SERVICE MESH layers to complete, and this type of interface access is called east-west traffic; calls that logically intersect cluster boundary interface (interface services provided by the clusters outwards) calls and that involve problems with access control lists (Access Control List, ACLs), rate limiting, quota and policy enforcement, etc., are defined by the istio gateway (istio gateway) of the interface management layer, logically appear to flow up and down, and are actually implemented by the SERVICE MESH layer, such interface accesses being referred to as north-south traffic.
In the service grid based on istio, for interface call among services, although the interface call among services shields the underlying process through the service grid, the logical call is based on the premise that a client knows the identity and meaning of the interface and whether the interface meets the service requirement, the obtaining of the information of the identity, meaning and whether the interface meets the service requirement is based on the service logic, and the information needs to be provided for a research and development team to identify and judge, and the interface call among services cannot be simply summarized as east-west traffic or north-south traffic, and may actually be the staggered existence of the east-west traffic and the north-south traffic. Therefore, even in the service network environment built by istio, higher-level semantics (such as documents, user registration/access, lifecycle management, developer interface planning, etc.) of the interface still need to be completed by the interface management platform, and induction and release of interface information still need users to build corresponding logic by themselves, so that higher-level operations of information release, unified retrieval, etc. of the interface semantic level cannot be completed through the interface registration and discovery mechanism.
In summary, under the micro-service architecture, especially under the enterprise-level micro-service architecture, the interface information has the characteristics of multiple elements, isomerism, quick updating, fuzzy application boundary and the like, and the interface information is difficult to retrieve and utilize in each service, which contrasts with an automatic service discovery mechanism on the cloud, so that the interface information provider and the interface information demarcate party are disjointed, and further, the communication cost of cross-team and cross-department collaboration is higher. The collection and subsequent processing of the interface information on the interface management level become one of the keys of micro-service management, and the interface information is well processed and released, so that the efficient operation of team cooperation based on the interface is facilitated.
In order to achieve good management and subsequent processing of the interface information of the micro service and improve the acquisition efficiency and convenience of the interface information of the micro service, the embodiment of the application provides an interface information management method applied to an interface information management platform. In the method, the interface information management platform can flexibly configure the interface requirements, collect the interface information of one or more interface information providers according to the interface requirements, and provide the interface information to the interface information demander, thereby improving the efficiency and convenience of interface information acquisition.
In addition, the interface information management platform in the embodiment of the application has the following advantages: 1) The interface management platform can be used as a middleware, so that the problem of coupling with a specific interface management platform is eliminated, and the interface management platform is convenient to reuse; 2) The independent deployment is supported, the configuration can be used for collecting and analyzing interface information in a production environment, the configuration can be released in a development test environment and an Internet environment, and web services can be configured to become an interface information retrieval platform for large-scale collaborative development; 3) And the maintenance and the updating are convenient.
The interface information management method provided by the application can be applied to the application scene shown in fig. 1. As shown in fig. 1, the application scenario includes an interface information management platform 101, an interface information provider 102, and an interface information demander 103, and the interface information management platform 101 communicates with the interface information provider 102 and the interface information demander 103, respectively. The interface information provider 102 and the interface information demander 103 are external systems with respect to the interface information management platform 101.
The interface information provider 102 may be a service that provides interface access information online to the interface information management platform 101 or a system that provides offline interface descriptions, and in particular, the interface information provider 102 may be a system of a micro-service architecture. In fig. 1, the interface information provider 102 is exemplified as a cloud service and a server. The interface information management platform 101 may actively acquire interface information of the interface information provider 102, and the interface information provider 102 may also actively send the interface information to the interface information management platform 101.
The interface information demand side 103 is an interface information output object entering the interface information management platform 101, the interface information demand side 103 may request to the interface information management platform 103 to obtain the interface information, and after receiving the interface information output by the interface information management platform 101, the interface information demand side 103 may perform subsequent processing on the interface information. The interface information demander 103 may be a server, a database, etc., where fig. 1 is an example of a terminal, a server.
Optionally, the application scenario further includes a system administrator 104, where the system administrator 104 may perform information configuration, viewing, monitoring, and/or statistics on the interface information management platform 101.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a flow chart of an interface information management method according to an embodiment of the present application, which is applied to an interface information management platform. As shown in fig. 2, the interface information management method includes:
s201, after receiving interface requirements input by a user through an interface information management interface, acquiring interface information from at least one interface information provider according to the interface information receiving requirements.
The interface requirements comprise interface information receiving requirements, interface information processing requirements and interface information output modes. The interface information receiving requirement is a requirement of a user for the interface information management platform to acquire the interface information from the interface information provider, and may include a requirement of the interface information provider, a requirement of the interface, and/or a requirement of a mode of acquiring the interface information. The interface information processing requirement is a requirement that a user processes the interface information by the interface information management platform, and the user can configure the interface information processing requirement according to the service requirement. The output mode of the interface information is the requirement of the user on the output interface information of the interface information management platform, and the requirement on the output object, the requirement on the output format and the like can be included. The user can be the manager of the interface information management platform, the interface information demander or the interface information consumer.
Specifically, the user may input the interface requirement at the interface information management interface of the interface information management platform, for example, input the interface requirement at the interface information management interface by means of checking, text input, and the like. After receiving an interface requirement input by a user through an interface information management interface, acquiring an interface information receiving requirement from the interface requirement, and acquiring the interface information from at least one interface information provider according to the interface information receiving requirement, so that the acquisition of the interface information meets the user requirement.
Alternatively, the interface information management interface may be a World Wide Web (Web) interface. Further, the interface information management interface is a Web interface implemented by using HTML5 (a language description mode for constructing Web content).
S202, according to interface information processing requirements, interface information is processed correspondingly.
Specifically, the interface information processing requirements are obtained from the interface requirements, and the interface information is correspondingly processed according to the interface information processing requirements. Considering that the data format of interface information from different interface information providers may be different, for example, some interface information providers may have an interface information format of extensible markup language (Extensible Markup Language, XML) and some interface information providers may have an interface information format of hypertext markup language (Hyper Text Markup Language, HTML), so that in the corresponding processing of interface information, the interface information may be converted into a target data format. Therefore, aiming at the received interface information with different formats, the management effect of the interface information is improved by converting the format into a uniform data format.
Optionally, the target data format is JSON (JavaScript Object Notation, JS object numbered musical notation), which is a lightweight data exchange format, is a text format independent of programming language, and can be used for storing and expressing data. Therefore, by uniformly converting interface information from different data interface providers into the JSON format, the management effect of the interface information is improved by utilizing the characteristics of JSON.
S203, the processed interface information is sent to the interface information demand side according to the interface information output mode.
Specifically, the interface information output mode is obtained from the interface requirements, and the interface information processed according to the interface information processing requirements is processed and output according to the interface output mode, so that the output interface information accords with the interface output mode in the interface requirements and accords with the user requirements.
In the embodiment of the application, in the interface information management interface of the interface information management platform, a user can set an interface information receiving requirement, an interface information processing requirement and an interface information output mode by configuring an interface requirement mode, and the interface information management platform collects interface information of at least one interface information provider according to the requirements, converts the interface information with possibly different data formats into a unified target data format and provides the interface information conforming to the interface information output mode for the interface information requirement party. Therefore, the user can acquire the interface information meeting the requirements from different systems by configuring the flexible and independent interface information management platform and by means of the interface information management platform, and the acquisition efficiency and convenience of the interface information are improved.
Subsequently, the reception, processing, and output of the interface information are described separately.
(One) regarding an interface information receiving process:
In some embodiments, the interface information receiving requirements include a data source selection range of the interface information, an access mode of the interface information, an interface type of an interface to which the interface information belongs, a data format of the interface information, and a parsing mode of the interface information. Therefore, on the interface information management platform, various interface information receiving requirements can be configured, the flexibility and the comprehensiveness of the configuration of the interface information receiving requirements are improved, and interface information which is more fit with the requirements and is more accurate is provided for the interface information requiring party.
Based on the interface information receiving requirement, including the data source selection range of the interface information, the access mode of the interface information, the interface type of the interface to which the interface information belongs, the data format of the interface information and the analysis mode of the interface information, one possible implementation mode of S201 includes: determining at least one interface information provider from a data source selection range; according to the access mode, the interface type and the data format in the interface information receiving requirement, obtaining the interface information provided by at least one interface information provider; and according to the data format and the analysis requirement in the interface information receiving requirement, analyzing the acquired interface information to obtain the interface information after the analysis. Therefore, the interface information management platform acquires the interface information of the designated interface information provider, the designated interface type and the designated data format according to the designated access mode.
The data source selection range of the interface information may include system information of an interface information provider, such as system information of a micro service architecture. The system information of the interface information provider may include one or more of the following: an access address (e.g., web address, IP address) of the interface information provider, an access port of the interface information provider, and an interaction protocol of the interface information provider. The access mode of the interface information may include an online access mode and/or an offline access mode. The interface type of the interface information refers to the type of the interface to which the interface information belongs, such as an instant messaging type and a file transmission type. The data format of the interface information is the original data format of the interface information from the interface information provider, e.g. XML, HTML. The interface information analysis mode comprises an analysis tool, analysis parameters of the analysis tool and target parameters of the analysis tool, and the interface information of different interface information providers can be acquired and analyzed through different analysis tools, so that the interface information management platform is supported to be capable of interfacing with different interface information providers.
Specifically, the interface information management platform determines at least one interface information provider, that is, determines from which interface information providers interface information needs to be acquired, according to the system information of the interface information providers in the data source selection range. If the access mode of the interface information in the interface information request is an online access mode, the interface information of the interface information provider can be obtained online (for example, online access is realized through an online http interface and an online webservice interface), and if the access mode of the interface information is an offline mode, a specific offline mode, for example, offline file uploading, can be determined according to the offline file analysis configuration. And then, according to the access mode, acquiring the interface information of which the belonging interface accords with the interface type in the interface information receiving requirement and the data type accords with the data type in the interface information receiving requirement.
After the interface information is obtained, the data formats of the interface information of different interface information providers may be different, so that the obtained interface information can be analyzed through a corresponding analysis tool and analysis parameters of the analysis tool, and target parameters required by a user can be obtained from the obtained interface information. For example, attribute information related to an interface to which the interface information belongs, such as an ID, a name, a type, an access constraint (private, limited, or public), a performance parameter (concurrency, maximum access permission), an availability flag (whether the interface is available), and the like, are analyzed from the interface information. The user can select the analysis tool according to the service requirement of the user, and configure the analysis parameters and analysis target parameters of the analysis tool.
Alternatively, the parsing tool may employ a third party component, so that in the process of obtaining the received information, different third party components may be invoked to parse the interface information of different interface information providers.
Optionally, after receiving the interface information acquisition task triggered by the user, acquiring interface information from at least one interface information provider; or the acquisition of the interface information can be set as a timing task, and the interface information is acquired from at least one interface information provider when the current time is detected as the task execution time.
(II) information processing procedure concerning interface
In some embodiments, the interface information processing requirements include a data processing range and a first processing parameter. Wherein the data processing range is a processed interface information range, and processing of all or a specified part of the data of the interface information acquired from the interface information provider can be instructed by configuring the data processing range. The first processing parameter includes a target data format, and the interface information may be instructed to be converted from the original data format to the target data format by configuring the first processing parameter. Therefore, on the interface information management platform, the interface information in the appointed range can be subjected to appointed processing operation by configuring the data processing range and the first processing parameter, and flexible and comprehensive interface information processing can be provided for the interface information demander. Further, batch processing of interface information can also be realized by specifying a data processing range.
Based on the interface processing requirements including the data processing range and the first processing parameter, one possible implementation of S202 includes: determining interface information to be processed in the interface information according to the data processing range; and converting the format of the interface information to be processed into a target data format according to the first processing parameters. Therefore, in the processing process of the interface information, the interface information (especially the interface information of different sources) in the appointed range is converted into a unified target data format, so that the management effect of the interface information is improved.
Optionally, an interface identifier may be included in the data processing scope. And acquiring interface information of an interface corresponding to the interface identifier in the data processing range from the interface information, and determining the acquired interface information as the interface information to be processed. For example, in the receiving stage of the interface information, the interface information of the interfaces a1, a2, a3, and a4 is obtained, and if the data processing range includes the interfaces a1 and a3, the interface information of the interfaces a1 and a3 is the interface information to be processed.
When the format of the interface information to be processed is converted into the target data format according to the first processing parameter, for example, the target data format is JSON, the format of the interface information to be processed is converted into JSON.
In some embodiments, the interface information processing requirements include a first processing component requirement in addition to the data processing range, the first processing parameter. Wherein the first processing component is required to instruct a third party component employed in the interface information processing stage. At this time, according to the interface information processing requirement, the process of performing corresponding processing on the interface information further includes: and processing the interface information to be processed by a third party component conforming to the requirements of the first processing component. Therefore, the third party component for processing the interface information can be selected according to actual requirements, the processing effect of the interface information is improved, and especially, different third party components can be called for aiming at the interface information of different interface information providers, so that different interface information can be converted into the same data format, and the interface information management platform can process the interface information of different interface information providers.
In some embodiments, the interface information processing requirements include a data processing trigger condition in addition to the data processing range, the first processing parameter, the first processing component requirement. When the data processing triggering condition is triggered, determining interface information to be processed in the interface information according to the data processing range, and processing the interface information to be processed. Thus, the user can configure the data trigger condition at the interface information management platform, and specify that the processing of the interface information is performed when the data trigger condition is satisfied.
Optionally, the data triggering condition includes a data processing frequency, and processing the interface information according to the data processing frequency. For example, the interface information processing is performed once every minute.
In some embodiments, after converting the format of the interface information to the target data format, the processing of the interface information further includes: and storing the interface information converted into the target data format into a database to realize the persistence of the interface information. When the user requests the interface information again, it can check if the interface information requested by the user exists in the database, and if so, the interface information is obtained from the database.
Optionally, the interface information processing requirement further includes whether to persist the interface information. If the interface information is configured to be durable in the interface information processing requirement, after the format of the interface information is converted into the target data format, the interface information in the target data format is stored in the database, otherwise, the interface information in the target data format is not required to be stored. Therefore, the user can configure whether to persistence the interface information according to the own requirements, and the flexibility and the comprehensiveness of the configuration of the interface information management platform are improved.
(III) information output procedure concerning interface
In some embodiments, the interface information output manner includes a data output range, a second processing parameter, and an output object. The data output range is an interface information set, the interface information set comprises interface information to be output, the second processing parameter is a parameter adopted for processing the interface information to be output, and the output object is a receiving object of the interface information to be output. Therefore, the interface information management platform can be configured with the output data range, the processing mode and the output object of the interface information, so that the interface information can be configured in multiple aspects, and the interface information requiring party can obtain the interface information required by the interface information requiring party.
Optionally, the second processing parameter includes a data format required by the interface information demander, and the data format required by the interface information demander in the second processing parameter may be one or more.
Based on the interface information output manner including the data output range, the second processing parameter, and the output object, the second processing parameter includes a data format required by the interface information demander, and one possible implementation manner of S203 includes: determining interface information to be output in the processed interface information according to the data output range; converting the format of the interface information to be output into a data format required by an interface information requiring party according to the second processing parameters; outputting the interface information after format conversion to an output object. Therefore, the interface information management platform can not only provide the interface information for the interface information demand side, but also provide the interface information meeting the data format requirements of the interface information demand side for the interface information demand side, fully considering the different format requirements of different interface information demand sides on the interface information.
Optionally, the second processing parameter may further comprise a related parameter for interface information retrieval. When the user needs to search the interface information, relevant parameters for searching the interface information, such as some search keywords, search algorithms and the like, can be configured on the interface information management platform. At this time, in the output stage of the interface information, information retrieval may be performed in the interface information to be output according to the second processing parameter. Thus, an interface information retrieval service is provided for the interface information demander. In addition to interface information retrieval, other services may be provided during the output phase of the interface information, not illustrated herein.
Optionally, the output object includes one or more of: the system is in butt joint with the interface information management platform, and comprises a database and a file set. Thus, the interface information is provided to the external system, database, file set.
In some embodiments, the interface information output manner includes the second processing component requirements in addition to the data output range, the second processing parameters, and the output object. Wherein the second processing component requires a third party component for indicating the phase of outputting the interface information. At this time, according to the interface information output mode, the process of sending the processed interface information to the interface information demand party further includes: and processing the interface information to be output through a third party component meeting the requirements of the second processing component. And in the interface information output stage, calling a third party component meeting the requirements of the second processing component, and inputting the interface information to be output to the third party component for processing. Therefore, the user can select the third party component for the interface information output stage according to the service requirement so as to obtain the interface information meeting the service requirement of the user. For example, if the user has a need for retrieval of interface information, a third party component for interface information retrieval may be selected.
In some embodiments, before converting the format of the interface information to be output into the data format required by the interface information demander according to the second processing parameter, the interface information management method further includes: if the interface information to be output is multi-channel output, carrying out data copying on the interface information to be output according to the number of output channels of the interface information to be output; wherein the multi-channel output includes a plurality of data formats and/or a plurality of output objects required by the interface information demander. Therefore, the interface information with the same content can be provided for different output objects, or the interface information with different data formats and the same content can be provided for the same output object, or the interface information with different data formats and the same content can be provided for different output objects, and the interface information is processed in a pipeline mode, so that the multi-channel output of the same interface information is realized.
Specifically, if the multi-channel output interface information is configured in the interface information output mode, the interface information to be output is determined to be multi-channel output. And determining the number of output channels of the interface information according to the number of data formats and/or the number of output objects required by the interface information demand side configured in the interface information output mode, and copying the data of the interface information to be output according to the number of the output channels. The copied interface information is processed according to the requirements of each output channel.
For example, the interface information requiring party needs the interface information in XML format, the interface information in table format, and the interface information in picture format, different format conversions can be performed on the copied multiple pieces of interface information distribution, so as to obtain the interface information in XML format, table format, and picture format, and output the interface information to the interface information requiring party. For another example, the interface information requiring party needs all the interface information of the interface information provider a, needs to screen out the interface information of the instant messaging interface from the interface information of the interface information provider a, and needs to compare the interface information of the interface information provider a with the interface information of the interface information provider B, so that the following operations can be executed in the duplicated multiple pieces of interface information: acquiring all interface information of an interface information provider A; inquiring interface information of an instant communication interface of an interface information provider A; all interface information of the interface information provider a and all interface information of the interface information provider B are acquired, and a comparison result (e.g., attribute comparison of the same type of interface) is generated.
In summary, on the one hand, the interface information management platform brings the docking logic of itself and the interface information provider (including converting the interface information of the interface information provider into a unified target data format) and the docking logic of itself and the interface information demander (including data assignment, data format conversion, etc.) into the internal processing of itself, so that the service ends of the interface information provider, the interface information demander, etc. docked with the interface information management platform do not need to integrate or develop docking components, the application range of the interface information management platform is enlarged, and the deployment flexibility and convenience of the interface information management platform are improved. On the other hand, the interface information management platform realizes data flow processing through a pipeline mode, in the data flow processing, the interface information of the interface information provider appointed by the user is obtained, the interface information is provided for the interface information demand side appointed by the user, the dynamic conversion and output of the interface information are realized, and the efficiency, convenience and real-time performance of the interface information demand side for obtaining the interface information are improved. In still another aspect, the interface information management platform is not limited to directly providing the interface information provided by the interface information provider to the interface information demander, but may also provide the processing service of the interface information, such as retrieval, comparison, and the like, of the interface information to the interface information demander.
And fourthly, the interface information management platform can monitor and count information besides receiving, processing and outputting the interface information. The details are as follows.
In some embodiments, the interface information management platform may monitor an acquisition stage, a processing stage and/or an output stage of the interface information, and/or monitor a state of an interface to which the interface information belongs, and/or monitor a state of a third party component invoked in the interface information management platform to obtain monitoring information; outputting the monitoring information and/or outputting the early warning message according to the monitoring information. Therefore, one or more aspects of the acquisition of the interface information, the processing of the interface information, the output of the interface information, the interface state, the third-party component state and the like are tracked, for example, the tracking is performed in a log mode, and early warning can be timely performed when one or more aspects are abnormal.
Monitoring the acquisition phase, the processing phase and/or the output phase of the interface information, for example, monitoring whether the interface information is successfully acquired, the interface information of which interface information providers are acquired, which interface information is being subjected to format conversion, which interface information is being searched, and the like; monitoring the state of the interface to which the interface information belongs, for example, monitoring whether the interface is updated, available or not, etc.; the status of the third party component is monitored, e.g., whether the third party component is updated, available, etc.
Optionally, monitoring information and early warning information are displayed on a monitoring interface of the interface information management platform.
In some embodiments, the interface information management platform performs statistics on the acquired condition of the interface information to obtain statistical information, and after the statistical information is obtained, the statistical information can be output. Wherein the statistical information includes at least one of: the number of times of obtaining the interface information, the failure rate of obtaining the interface information, and the number of times of updating the interface to which the interface information belongs. Therefore, the acquisition condition of the interface information is reflected in a data statistics mode, and more information is fed back, for example, which interface information has higher heat (namely, the acquisition times of the user are more).
Fig. 3 is a schematic architecture diagram of an interface information management platform according to an embodiment of the present application, where the interface information management platform may be designed with a micro-service architecture. As shown in fig. 3, the interface information management platform includes a configuration module, a receiving module, a processing module, and an output module, and functionally includes mainly interface information collection (i.e., receiving the interface information in the foregoing embodiment), interface information processing (i.e., processing the interface information in the foregoing embodiment), interface information sending (i.e., outputting the interface information in the foregoing embodiment), and a configuration center (i.e., configuring the interface requirements in the foregoing embodiment). The method comprises the following steps:
and the configuration module is used for managing and setting parameters of the core module of the interface information management platform. The core module comprises a receiving module, a processing module, an output module and a configuration module.
And the receiving module is used for pulling various interface information from different data sources (namely interface information providers) under the guidance of the configuration module.
The processing module is used for processing the original interface information (namely the interface information in the original data format) from the data source under the guidance of the configuration module, and the processing process comprises mode conversion.
And the output module is used for converting the interface information from the internal format (namely, the target data format in the embodiment) to the target format (namely, the data format required by the interface information demander in the embodiment) under the guidance of the configuration module and outputting the interface information to the designated target (namely, the output object in the embodiment).
In some embodiments, the configuration of the plurality of core modules by the configuration module is as follows:
The configuration paradigm of the receiving module is: system information, access mode, interface type, data format, analysis module, analysis parameter and analysis target parameter. The system information, the access manner, the interface type, the data format, the analysis module, the analysis parameter and the analysis target parameter may refer to the description of each item of content in the interface information receiving requirement in the foregoing embodiment, and will not be described again.
The configuration paradigm of the processing module is: interface module group + data preprocessing parameters + processing component selection + local database storage + update frequency (or trigger condition). The interface module group, the data preprocessing parameter, the processing component selection, the local database storage and the update frequency are respectively equivalent to the data processing range, the first processing parameter, the first processing component requirement, whether to persistence the interface information and the data triggering condition in the interface information processing requirement in the foregoing embodiment, and are not repeated.
The configuration paradigm of the output module is: interface data set + pre-processing parameters + processing component selection + docking system/database/file set parameters. The interface data set, the preprocessing parameter, the processing component selection, and the docking system/database/file set parameter are respectively equivalent to the data output range, the second processing parameter, the second processing component requirement, and the output object in the interface information output manner in the foregoing embodiment, and are not described in detail.
In some embodiments, configuring the configuration module itself may include adding or deleting some configuration options to the configuration module. For example, an alternative interface information provider is added on an interface information management interface of the interface information management platform.
In some embodiments, as shown in fig. 3, the interface information management platform further comprises one or more of the following: the system comprises a monitoring module, a database and a statistics module. The monitoring module is used for displaying the state, interface state, assembly state and early warning information of each module of the interface information management platform. The database is used for storing interface information and realizing the persistence of the interface information. As shown in fig. 3, the processing module may store the processed interface information in a database, or may read the interface information from the database to process the interface information, and the output module may also obtain the interface information from the database to output the interface information. The statistics module is used for counting the acquisition times of the interface information, the failure rate of the interface information acquisition, the update times of the interface to which the interface information belongs, and the like. As shown in fig. 3, the statistics module may access a database, such as writing statistics to the database, or obtaining data related to the interface information from the interface information for statistics.
In some embodiments, the specific functions of the receiving module, the processing module and the output module are as follows:
The functions of the receiving module may include: 1. the method supports the online mode or the offline mode of the interface information provider, for example supports the online http, webservice or offline file and other modes of access; 2. under the constraint of the configuration module, namely under the constraint of the configuration paradigm of the receiving module, pulling interface information of a specified interface type from a specified system range in a specified data format; 3. calling an analysis module (for example, calling an analysis module integrated by a processing module) and receiving interface information of various data formats; 4. and receiving abnormal conditions of each module, each interface and each third party component, reporting the abnormal conditions to the monitoring module, and writing the abnormal conditions into the system log.
The functions of the processing module may include: 1. the system comprises a modularized integrated analysis module and a third party component, wherein the analysis module can be provided for a receiving module and used for analyzing interface information with different data formats, and the third party component can be provided for a processing module and an output module and used for processing operation of the interface information such as format conversion and the like; 2. under the constraint of the configuration module, namely under the constraint of the configuration paradigm of the processing module, converting the interface information into a unified format; 3. if the interface information is set to be durable, storing the interface information after format conversion into a database; 4. format conversion services may also be provided for the receiving module, the output module.
The functions of the output module may include: 1. under the constraint of the configuration module, namely, the configuration paradigm of the output module, the interface data is converted into the data format of the interface information demander and output. 2. And processing the interface information according to a pipeline mode to realize multi-channel output of the interface information.
In some embodiments, as shown in fig. 3, the interface information provider may provide interface information to the interface information management platform through an online interface (e.g., an online http interface), an on-cloud service, an offline description, etc.; the interface information management platform may provide interface information to a server (e.g., web server), downstream system, interfacing store (database), offline file, etc. interface information demander.
In summary, in the embodiment of the application, the interface information management platform adopts a modularized mode to realize functions of receiving, processing, outputting, monitoring and counting interface information, and realizes the processing of the interface information by integrating a third party component, so that various built analysis modules and/or third party tools can be adapted to process the interface information, and the adaptation relationship can be configured by a configuration module, thereby having good expansibility.
Fig. 4 is a schematic structural diagram of an interface information management device according to an embodiment of the present application, where the interface information management device applies an interface information management platform. As shown in fig. 4, the interface information management apparatus includes:
A receiving module 401, configured to obtain interface information from at least one interface information provider according to an interface information receiving requirement after receiving an interface requirement input by a user through an interface information management interface;
The processing module 402 is configured to perform corresponding processing on the interface information according to the interface information processing requirement;
and the output module 403 is configured to send the processed interface information to the interface information requiring party according to the output mode of the interface information.
The interface requirement comprises an interface information receiving requirement, an interface information processing requirement and an interface information output mode, and the corresponding processing of the interface information comprises the conversion of the interface information into a target data format.
In one possible implementation manner, the interface information receiving requirement includes a data source selection range of the interface information, an access manner of the interface information, an interface type of an interface to which the interface information belongs, a data format of the interface information, and an parsing manner of the interface information, and the receiving module 401 is specifically configured to: determining at least one interface information provider according to the data source selection range; according to the access mode, the interface type and the data format in the interface information receiving requirement, obtaining the interface information provided by at least one interface information provider; and according to the data format and the analysis requirement in the interface information receiving requirement, analyzing the acquired interface information to obtain the interface information after the analysis.
In one possible implementation, the interface information processing requirement includes a data processing range and a first processing parameter, and the processing module 402 is specifically configured to: determining interface information to be processed in the interface information according to the data processing range; and converting the format of the interface information to be processed into a target data format according to the first processing parameters, wherein the first processing parameters comprise the target data format.
In one possible implementation, the interface information processing requirements further include a first processing component requirement, and the processing module 402 is specifically configured to: and processing the interface information to be processed by a third party component conforming to the requirements of the first processing component.
In one possible implementation, the interface information processing requirement further includes a data processing trigger condition, and the processing module 402 is specifically configured to: and when the data processing triggering condition is triggered, determining interface information to be processed in the interface information according to the data processing range, wherein the data processing triggering condition comprises the data processing frequency.
In one possible implementation, the processing module 402 is specifically configured to: and storing the interface information converted into the target data format into a database.
In one possible implementation manner, the interface information output manner includes a data output range, a second processing parameter, and an output object, and the output module 403 is specifically configured to: determining interface information to be output in the processed interface information according to the data output range; converting the format of the interface information to be output into a data format required by an interface information requiring party according to the second processing parameters; outputting the interface information after format conversion to an output object.
In one possible implementation, the output module 403 is further configured to: if the interface information to be output is multi-channel output, carrying out data copying on the interface information to be output according to the number of output channels of the interface information to be output; wherein the multi-channel output includes a plurality of data formats and/or a plurality of output objects required by the interface information demander.
In a possible implementation manner, the interface information output manner further includes a second processing component requirement, and the output module 403 is further configured to: and processing the interface information to be output through a third party component meeting the requirements of the second processing component.
In one possible implementation manner, the interface information management apparatus further includes:
The monitoring module 404 is configured to monitor an acquisition stage, a processing stage and/or an output stage of the interface information, and/or monitor a state of an interface to which the interface information belongs, and/or monitor a state of a third party component invoked in the interface information management platform, so as to obtain monitoring information; outputting the monitoring information and/or outputting the early warning message according to the monitoring information.
In one possible implementation manner, the interface information management apparatus further includes:
The statistics module 405 is configured to perform statistics on the acquired interface information to obtain statistics information; outputting statistical information; wherein the statistical information includes at least one of: the number of times of obtaining the interface information, the failure rate of obtaining the interface information, and the number of times of updating the interface to which the interface information belongs.
The interface information management apparatus provided in fig. 4 may perform the above-described corresponding method embodiments, and its implementation principle and technical effects are similar, and will not be described herein.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. For example, the interface information management apparatus 500 may be provided as a server or a terminal. Referring to fig. 5, interface information management apparatus 500 comprises a processing component 501 that further includes one or more processors and memory resources represented by memory 502 for storing instructions, such as applications, executable by processing component 501. The application program stored in memory 502 may include one or more modules each corresponding to a set of instructions. Further, the processing component 501 is configured to execute instructions to perform the interface information management apparatus of any of the embodiments described above.
The interface information management apparatus 500 may further include a power supply component 503 configured to perform power management of the interface information management apparatus 500, a wired or wireless network interface 504 configured to connect the interface information management apparatus 500 to a network, and an input output (I/O) interface 505. The interface information management apparatus 500 may operate based on an operating system stored in the memory 502, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 502, including instructions executable by a processor of interface information management apparatus 500 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
An embodiment of the present application also provides a computer-readable storage medium having instructions stored therein, which when run on a computer, cause the computer to perform the interface information management method of any of the embodiments described above.
An embodiment of the present application also provides a program product, including a computer program, where the computer program is stored in a storage medium, and at least one processor may read the computer program from the storage medium, where the at least one processor may implement the interface information management method of any of the above embodiments when executing the computer program.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. An interface information management method, which is characterized in that the method is applied to an interface information management platform, and comprises the following steps:
After receiving interface requirements input by a user through an interface information management interface, acquiring interface information from at least one interface information provider according to the interface information receiving requirements;
according to interface information processing requirements, carrying out corresponding processing on the interface information;
According to the output mode of the interface information, the processed interface information is sent to an interface information demand side;
The interface requirement comprises the interface information receiving requirement, the interface information processing requirement and the interface information output mode, and the corresponding processing of the interface information comprises the conversion of the interface information into a target data format; the interface information receiving requirements comprise a data source selection range of the interface information, an access mode of the interface information, an interface type of an interface to which the interface information belongs, a data format of the interface information and an analysis mode of the interface information; the interface information output mode comprises a data output range, a second processing parameter and an output object;
The obtaining interface information from at least one interface information provider according to the interface information receiving requirement comprises:
determining the at least one interface information provider according to the data source selection range;
Acquiring interface information provided by the at least one interface information provider according to an access mode, an interface type and a data format in the interface information receiving requirement;
according to the data format and the analysis requirement in the interface information receiving requirement, analyzing the acquired interface information to obtain the interface information after the analysis;
The interface information processing requirement comprises a data processing range and a first processing parameter, and the interface information is correspondingly processed according to the interface information processing requirement, and the method comprises the following steps:
Determining interface information to be processed in the interface information according to the data processing range;
Converting the format of the interface information to be processed into the target data format according to the first processing parameters, wherein the first processing parameters comprise the target data format;
the interface information processing requirements further include a first processing component requirement, and the processing method further includes:
Processing the interface information to be processed through a third party component conforming to the requirements of the first processing component;
The sending the processed interface information to the interface information demand side according to the interface information output mode comprises the following steps:
determining interface information to be output in the processed interface information according to the data output range;
Converting the format of the interface information to be output into a data format required by the interface information demander according to the second processing parameters;
outputting the interface information after format conversion to the output object;
Before the format of the interface information to be output is converted into the data format required by the interface information demander according to the second processing parameter, the interface information management method further includes:
If the interface information to be output is multi-channel output, carrying out data copying on the interface information to be output according to the number of output channels of the interface information to be output;
Wherein the multi-channel output comprises a plurality of data formats required by the interface information demander and/or a plurality of output objects.
2. The interface information management method according to claim 1, wherein the interface information processing requirement further includes a data processing trigger condition, and the determining interface information to be processed in the interface information according to the data processing range includes:
And when the data processing triggering condition is triggered, determining interface information to be processed in the interface information according to the data processing range, wherein the data processing triggering condition comprises data processing frequency.
3. The interface information management method according to any one of claims 1-2, wherein the processing of the interface information according to the interface information processing requirement, further comprises:
and storing the interface information converted into the target data format into a database.
4. The interface information management method according to claim 1, wherein the interface information output mode further includes a second processing component requirement, and the sending the processed interface information to the interface information requiring party according to the interface information output mode further includes:
and processing the interface information to be output through a third party component meeting the requirements of the second processing component.
5. The interface information management method according to any one of claims 1 to 2, characterized in that the interface information management method further comprises:
Monitoring the acquisition stage, the processing stage and/or the output stage of the interface information, and/or monitoring the state of an interface to which the interface information belongs, and/or monitoring the state of a third party component called in the interface information management platform to obtain monitoring information;
And outputting the monitoring information and/or outputting an early warning message according to the monitoring information.
6. The interface information management method according to any one of claims 1 to 2, characterized in that the interface information management method further comprises:
counting the acquisition condition of the interface information to obtain statistical information;
Outputting the statistical information;
Wherein the statistical information includes at least one of: the number of times of obtaining the interface information, the failure rate of obtaining the interface information, and the number of times of updating the interface to which the interface information belongs.
7. An interface information management apparatus, applied to an interface information management platform, comprising:
The receiving module is used for acquiring interface information from at least one interface information provider according to the interface information receiving requirement after receiving the interface requirement input by a user through the interface information management interface;
the processing module is used for correspondingly processing the interface information according to the interface information processing requirement;
the output module is used for sending the processed interface information to the interface information demand side according to the interface information output mode;
The interface requirement comprises the interface information receiving requirement, the interface information processing requirement and the interface information output mode, and the corresponding processing of the interface information comprises the conversion of the interface information into a target data format; the interface information receiving requirements comprise a data source selection range of the interface information, an access mode of the interface information, an interface type of an interface to which the interface information belongs, a data format of the interface information and an analysis mode of the interface information; the interface information output mode comprises a data output range, a second processing parameter and an output object;
the receiving module is specifically configured to determine the at least one interface information provider according to the data source selection range;
Acquiring interface information provided by the at least one interface information provider according to an access mode, an interface type and a data format in the interface information receiving requirement;
according to the data format and the analysis requirement in the interface information receiving requirement, analyzing the acquired interface information to obtain the interface information after the analysis;
The interface information processing requirements comprise a data processing range and first processing parameters, and the processing module is specifically used for determining interface information to be processed in the interface information according to the data processing range;
Converting the format of the interface information to be processed into the target data format according to the first processing parameters, wherein the first processing parameters comprise the target data format;
The interface information processing requirements also comprise first processing component requirements, and the processing module is specifically used for processing the interface information to be processed through a third party component conforming to the first processing component requirements;
The output module is specifically configured to determine interface information to be output from the processed interface information according to the data output range;
Converting the format of the interface information to be output into a data format required by the interface information demander according to the second processing parameters;
outputting the interface information after format conversion to the output object;
the output module is further configured to, if the interface information to be output is multi-channel output, perform data replication on the interface information to be output according to the number of output channels of the interface information to be output;
Wherein the multi-channel output comprises a plurality of data formats required by the interface information demander and/or a plurality of output objects.
8. An electronic device, comprising: a memory, a processor;
A memory; a memory for storing the processor-executable instructions;
Wherein the processor is configured to perform the interface information management method of any one of claims 1 to 6.
9. A computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, which when executed by a processor, are configured to implement the interface information management method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program which, when executed by a processor, implements the interface information management method of any one of claims 1 to 6.
CN202110727993.2A 2021-06-29 2021-06-29 Interface information management method, device, equipment and storage medium Active CN113312242B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110727993.2A CN113312242B (en) 2021-06-29 2021-06-29 Interface information management method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110727993.2A CN113312242B (en) 2021-06-29 2021-06-29 Interface information management method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113312242A CN113312242A (en) 2021-08-27
CN113312242B true CN113312242B (en) 2024-05-17

Family

ID=77380817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110727993.2A Active CN113312242B (en) 2021-06-29 2021-06-29 Interface information management method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113312242B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363378B (en) * 2022-01-14 2022-10-11 上海交通大学 Micro-service system architecture and management method for industrial heterogeneous network management

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483545A (en) * 2008-12-31 2009-07-15 中国建设银行股份有限公司 Financial service monitoring method and system
CN106331079A (en) * 2016-08-19 2017-01-11 明算科技(北京)股份有限公司 DOA (Data Oriented Architecture) system
CN108255905A (en) * 2017-05-04 2018-07-06 平安科技(深圳)有限公司 Interface calls data processing method, device and computer equipment
CN109474662A (en) * 2018-09-25 2019-03-15 中国平安人寿保险股份有限公司 Product data dissemination method, device, computer equipment and storage medium
CN111831713A (en) * 2019-04-18 2020-10-27 阿里巴巴集团控股有限公司 Data processing method, device and equipment
CN112231168A (en) * 2020-09-03 2021-01-15 平安信托有限责任公司 Micro server control method, device, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8744807B2 (en) * 2009-08-10 2014-06-03 Siemens Aktiengesellschaft Scalable and extensible framework for storing and analyzing sensor data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483545A (en) * 2008-12-31 2009-07-15 中国建设银行股份有限公司 Financial service monitoring method and system
CN106331079A (en) * 2016-08-19 2017-01-11 明算科技(北京)股份有限公司 DOA (Data Oriented Architecture) system
CN108255905A (en) * 2017-05-04 2018-07-06 平安科技(深圳)有限公司 Interface calls data processing method, device and computer equipment
CN109474662A (en) * 2018-09-25 2019-03-15 中国平安人寿保险股份有限公司 Product data dissemination method, device, computer equipment and storage medium
CN111831713A (en) * 2019-04-18 2020-10-27 阿里巴巴集团控股有限公司 Data processing method, device and equipment
CN112231168A (en) * 2020-09-03 2021-01-15 平安信托有限责任公司 Micro server control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113312242A (en) 2021-08-27

Similar Documents

Publication Publication Date Title
CN110832808B (en) Method, storage medium, and computing system for messaging service
CN110310034B (en) Service arrangement and business flow processing method and device applied to SaaS
US11934417B2 (en) Dynamically monitoring an information technology networked entity
US12039310B1 (en) Information technology networked entity monitoring with metric selection
US11226977B1 (en) Application of event subtypes defined by user-specified examples
US20210075667A1 (en) Generating actionable alert messages for resolving incidents in an information technology environment
US20220329493A1 (en) Method, apparatus, and device for data analytics and storage medium
US10545964B2 (en) Multi-phased data execution in a data processing system
US8204870B2 (en) Unwired enterprise platform
US10394802B1 (en) Interactive location queries for raw machine data
US10423469B2 (en) Router management by an event stream processing cluster manager
US10984013B1 (en) Tokenized event collector
US20200044927A1 (en) Behavioral based device clustering system and method
US11809397B1 (en) Managing slot requests for query execution in hybrid cloud deployments
US11829381B2 (en) Data source metric visualizations
JP2013513860A (en) Cloud computing monitoring and management system
US11347695B2 (en) Clustered search head configuration synchronization
CN103390018A (en) Web service data modeling and searching method based on SDD (service data description)
CN113312242B (en) Interface information management method, device, equipment and storage medium
US20230315418A1 (en) Flexible meta model (fmm) for an extensibility platform
Yuan et al. Design and implementation of accelerator control monitoring system
Abramov et al. Architecture and Key Components of the Improved Digital Center for Monitoring and Management of the National Research Computer Network of Russia
CN114844957B (en) Link message conversion method, device, equipment, storage medium and program product
Banerjee et al. OPC UA and Dynamic Web Services: A generic flexible Industrial Communication Approach
CN114185698A (en) Remote sensing data processing system based on micro-service and RPC communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant