Calling method and interface management platform for heterogeneous systems

The interface management platform uniformly handles interface calls between heterogeneous systems, which solves the problem that interface calls between heterogeneous systems require separate logic development for each system, improves development efficiency and reduces system coupling.

CN112988273BActive Publication Date: 2024-10-18BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110313211.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-24
Publication Date
2024-10-18
Estimated Expiration
2041-03-24

AI Technical Summary

Technical Problem

In the process of enterprise informatization, interface calls between heterogeneous systems require each system to independently develop external calling logic, resulting in low development efficiency and high system coupling.

Method used

The interface management platform uniformly obtains and processes call requests, stores interface information, performs identity verification and permission management, and brokers interface calls between systems to reduce repeated development work.

Benefits of technology

It improves the development efficiency between heterogeneous systems, reduces the degree of system coupling, and enhances the independence between systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112988273B_ABST
    Figure CN112988273B_ABST
Patent Text Reader

Abstract

The present invention discloses a calling method and an interface management platform for heterogeneous systems, and relates to the field of computer technology. The calling method for heterogeneous systems includes: an interface management platform obtains a calling request for a called interface sent by a first system, wherein the called interface is an interface provided by a second system, the interface management platform stores interface information of the interface provided by the second system, and the calling request includes an interface identifier and a calling parameter value of the called interface; the interface management platform queries the interface information corresponding to the interface identifier; the interface management platform initiates a call to the called interface to the second system according to the interface information and the calling parameter value; the interface management platform returns the result of the call corresponding to the calling parameter value to the first system. Thus, each system does not need to develop calling logic for each system providing an interface separately, which reduces the development workload and improves the development efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a calling method, system and interface management platform for a heterogeneous system. Background Art

[0002] With the advent of the Web 2.0 era, Internet applications based on the Web environment are becoming more and more widespread. In the process of enterprise informatization, many applications are built on the Web platform, and a large number of Web application systems have emerged. At the same time, a large number of interfaces are needed between companies and teams to provide various business collaborations.

[0003] In the related art, the two cooperating systems use the interface document as the shared cooperation information, and usually use the interface document management platform to provide the sharing function. In the process of calling between systems, the two systems with calling relationship need to set up external interfaces to facilitate the calling of the other party. Summary of the invention

[0004] After analyzing the relevant technologies, the inventors found that in the relevant technologies, when a business platform requires support from multiple heterogeneous systems, these supporting systems all need to separately develop external call logic for the interfaces they provide, which results in the need for each system to perform repetitive work during the business platform construction process, resulting in low development efficiency.

[0005] A technical problem to be solved by the embodiments of the present invention is: how to improve the development efficiency of heterogeneous systems.

[0006] According to the first aspect of some embodiments of the present invention, a calling method for a heterogeneous system is provided, comprising: an interface management platform obtains a calling request for a called interface sent by a first system, wherein the called interface is an interface provided by a second system, the interface management platform stores interface information of the interface provided by the second system, and the calling request includes an interface identifier and a calling parameter value of the called interface; the interface management platform queries the interface information corresponding to the interface identifier; the interface management platform initiates a call to the called interface to the second system based on the interface information and the calling parameter value; the interface management platform returns the calling result corresponding to the calling parameter value to the first system.

[0007] In some embodiments, the calling method also includes: the interface management platform obtains a token application request sent by the first system; the interface management platform returns a token to the first system, wherein the token is used for identity authentication.

[0008] In some embodiments, the call request also includes a token, and the call method further includes: the interface management platform authenticates the token in the call request so as to initiate a call to the called interface if the authentication is successful.

[0009] In some embodiments, the calling method further includes: the interface management platform obtains the calling permission application for the interface provided by the second system sent by the first system; and the interface management platform allocates corresponding calling permissions to the first system.

[0010] In some embodiments, the calling method further includes: after obtaining the calling request, the interface management platform determines whether the first system has the calling authority to the called interface based on the interface identifier, so as to initiate a call to the called interface if the first system has the calling authority.

[0011] In some embodiments, the calling method also includes: the interface management platform receives an interface registration request sent by the second system, wherein the interface registration request includes interface information; the interface management platform assigns an interface identifier to the corresponding interface; and the interface management platform stores the correspondence between the interface information and the interface identifier.

[0012] In some embodiments, the interface information includes a domain name and a context.

[0013] According to a second aspect of some embodiments of the present invention, there is provided an interface management platform, including: an acquisition module, configured to acquire a call request for a called interface sent by a first system, wherein the called interface is an interface provided by a second system, the interface management platform stores interface information of the interface provided by the second system, and the call request includes an interface identifier and a call parameter value of the called interface; a query module, configured to query interface information corresponding to the interface identifier; a call module, configured to initiate a call to the called interface to the second system based on the interface information and the call parameter value; and a result return module, configured to return the result of the call corresponding to the call parameter value to the first system.

[0014] In some embodiments, the interface management platform also includes: a token management module, configured to obtain a token application request sent by the first system, and return a token to the first system, wherein the token is used for identity authentication.

[0015] In some embodiments, the call request also includes a token, and the token management module is further configured to authenticate the token in the call request so that the calling module initiates a call to the called interface if the authentication is successful.

[0016] In some embodiments, the interface management platform further includes: a permission management module configured to obtain a calling permission application for an interface provided by the second system sent by the first system, and to allocate corresponding calling permissions to the first system.

[0017] In some embodiments, the permission management module is further configured to determine whether the first system has the calling authority to the called interface based on the interface identifier after obtaining the calling request, so that the calling module initiates a call to the called interface if the first system has the calling authority.

[0018] In some embodiments, the interface management platform also includes: a registration module configured to receive an interface registration request sent by the second system, wherein the interface registration request includes interface information, assigns an interface identifier to the corresponding interface, and stores the correspondence between the interface information and the interface identifier.

[0019] In some embodiments, the interface information includes a domain name and a context.

[0020] According to a third aspect of some embodiments of the present invention, there is provided an interface management platform, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute any one of the aforementioned heterogeneous system calling methods based on instructions stored in the memory.

[0021] According to a fourth aspect of some embodiments of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements any of the aforementioned heterogeneous system calling methods.

[0022] Some embodiments of the above invention have the following advantages or beneficial effects. When heterogeneous systems need to call an interface, the party initiating the call initiates a call request to the interface management platform, and the subsequent call processing logic is uniformly completed by the interface management platform. Therefore, each system does not need to develop call logic for each system providing an interface separately, which reduces the development workload and improves development efficiency. In addition, since the systems interact through the interface management platform, the independence between the systems is improved and the degree of coupling is reduced.

[0023] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0025] Figure 1 A schematic flow chart of a calling method for a heterogeneous system according to some embodiments of the present invention is shown.

[0026] Figure 2A The calling model of inter-system calling in the related art is exemplarily shown.

[0027] Figure 2B The calling model of inter-system calling in the present invention is exemplarily shown.

[0028] Figure 3 A schematic flow chart of a token processing method according to some embodiments of the present invention is shown.

[0029] Figure 4 A flow chart of a calling method of a heterogeneous system with an identity authentication process is shown.

[0030] Figure 5 A schematic flow chart of a permission application method according to some embodiments of the present invention is shown.

[0031] Figure 6 A flow chart of a calling method of a heterogeneous system with an authority verification process is shown.

[0032] Figure 7 A schematic flow chart of a system registration method according to some embodiments of the present invention is shown.

[0033] Figure 8 A schematic diagram of the structure of an interface management platform according to some embodiments of the present invention is shown.

[0034] Fig. 9 A schematic diagram of the structure of an interface management platform according to some other embodiments of the present invention is shown.

[0035] Fig.10 A schematic structural diagram of an interface management platform according to some further embodiments of the present invention is shown. DETAILED DESCRIPTION

[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0037] The relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0038] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0039] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.

[0040] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0041] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0042] In order to improve development efficiency, the present invention upgrades the interface management platform so that in addition to the storage and query functions of interface information, it can also proxy various systems to make interface calls, so as to avoid repeated development of call logic by various systems. Figure 1 An embodiment of a calling method for a heterogeneous system of the present invention is described.

[0043] The description of the "first system" and the "second system" in the embodiment of the present invention is only used to distinguish the call initiator and the callee in the calling process. It can be any system of the access interface management platform, and its description does not have any restrictive effect on the present invention.

[0044] Figure 1 FIG. 1 is a flow chart showing a method for calling a heterogeneous system according to some embodiments of the present invention. Figure 1 As shown, the calling method of the heterogeneous system of this embodiment includes steps S102 to S108.

[0045] In step S102, the interface management platform obtains a call request for the called interface sent by the first system, wherein the called interface is an interface provided by the second system, the interface management platform stores interface information of the interface provided by the second system, and the call request includes an interface identifier and a call parameter value of the called interface.

[0046] The first system and the second system are any two systems registered to the interface management platform. In an embodiment, the second system is the called party, used to provide the called interface, and the first system calls the interface provided by the second system.

[0047] When the first system needs to call the interface of the second system, it does not directly initiate a request to the second system, but initiates a call request to the interface management platform. The subsequent call processing logic is uniformly completed by the interface management platform. As a result, each platform reduces the development work of the call logic and improves development efficiency.

[0048] In some embodiments, the interface information includes a domain name and a context. For example, for the interface "www.ABC.com / f1 / ?user=" <xxx>&time= <xxx>", "www.ABC.com" is the domain name, "f1" is the context, "user" and "time" are parameters, and the equal sign after the parameter is used to fill in the corresponding parameter value. Interface information can also include more content, such as interface documentation, etc.

[0049] In some embodiments, the interface management platform allocates an interface identifier for the registered interface and stores the corresponding relationship between the interface information and the interface identifier. The developer of the first system can obtain the interface identifier of the registered interface by querying the interface management platform.

[0050] In step S104, the interface management platform queries the interface information corresponding to the interface identifier.

[0051] In step S106, the interface management platform initiates a call to the called interface to the second system according to the interface information and the call parameter value.

[0052] For example, the interface "www.ABC.com / f1 / ?user=" provided by the second system <xxx>&time= <xxx>"The interface identifier of the first system is "api1", the first system initiates a call request to the interface platform, for example, including {api1, user="u1", time="111111"}. After the interface management platform queries the corresponding interface according to "api1", it fills in the parameter value and then initiates a call request "www.ABC.com / f1 / ? user="u1&time="111111" to the second system.

[0053] In step S108, the interface management platform returns the call result corresponding to the call parameter value to the first system.

[0054] Through the above embodiment, when heterogeneous systems need to call interfaces, the party initiating the call initiates a call request to the interface management platform, and the subsequent call processing logic is uniformly completed by the interface management platform. Therefore, each system does not need to develop call logic for each system providing an interface, which reduces the development workload and improves development efficiency. In addition, since the systems interact through the interface management platform, the independence between systems is improved and the degree of coupling is reduced.

[0055] Figure 2A The calling model of inter-system calling in the related art is shown as an example. Figure 2A As shown, in addition to the interface processing logic, system A and system B also need to be equipped with additional processing logic for token management for identity authentication or processing logic for access authentication for permission control. This further increases the workload of development.

[0056] In some embodiments of the present invention, the interface management platform integrates at least one of the identity authentication function and the authority control function, so that each system does not need to develop this function additionally. Figure 2B The interface management platform interacts with each system through the interface proxy service, and has the functions of calling processing logic, access rights, and managing tokens, so that system A and system B do not need to develop these three functions separately.

[0057] Reference below Figure 3 An embodiment of the token application method of the present invention is described.

[0058] Figure 3 FIG. 1 is a flow chart showing a method for processing a token according to some embodiments of the present invention. Figure 3 As shown, the token processing method of this embodiment includes S302 to S304.

[0059] In step S302, the interface management platform obtains the token application request sent by the first system.

[0060] In step S304, the interface management platform returns a token to the first system, wherein the token is used for identity verification. The first system may attach a token when initiating a call request so that the interface management platform can verify its identity.

[0061] The token is used to indicate the legitimacy of the identity of the call requester. In addition, it can also carry timeliness information, so that each system connected to the interface management platform can ensure that the obtained token is within the validity period by periodically applying for the token.

[0062] Through the method of the above embodiment, the interface management platform can uniformly allocate and manage the tokens of each system, and each system itself does not need to develop related logic, thereby reducing repetitive development work and improving development efficiency.

[0063] Figure 4 FIG. 1 shows a flow chart of a calling method of a heterogeneous system with an identity authentication process. Figure 4 As shown, the calling method of this embodiment includes steps S402 to S410.

[0064] In step S402, the interface management platform obtains a call request for the called interface sent by the first system, wherein the called interface is an interface provided by the second system, and the call request includes an interface identifier of the called interface, a call parameter value, and a token of the first system.

[0065] In step S404, the interface management platform queries the interface information corresponding to the interface identifier.

[0066] In step S406, the interface management platform authenticates the token in the call request.

[0067] Step S406 may be performed before, after or simultaneously with step S404.

[0068] In some embodiments, when step S406 is performed first, if the identity authentication fails, step S404 is not performed.

[0069] In step S408, when the identity authentication is passed, the interface management platform initiates a call to the called interface to the second system according to the interface information and the call parameter value.

[0070] In step S410, the interface management platform returns the result of the call corresponding to the call parameter value to the first system.

[0071] Through the method of the above embodiment, the interface management platform performs the identity authentication process for the call requester. Therefore, the system of the called interface does not need to develop additional identity authentication logic, which improves the efficiency of system development. In addition, by performing identity authentication based on the token during the call process, security is improved.

[0072] Reference below Figure 5 An embodiment of a permission application method is described.

[0073] Figure 5 FIG. 1 is a flow chart showing a method for applying for permission according to some embodiments of the present invention. Figure 5 As shown, the permission application method of this embodiment includes steps S502 to S504.

[0074] In step S502, the interface management platform obtains the application for calling authority for the interface provided by the second system, which is sent by the first system.

[0075] In step S504, the interface management platform allocates corresponding calling permissions to the first system.

[0076] Through the method of the above embodiment, the interface management platform can uniformly manage the interface calling permissions of each system, and each system itself does not need to develop related logic, thereby reducing repeated development work and improving development efficiency.

[0077] Figure 6 FIG. 1 shows a flow chart of a calling method of a heterogeneous system with an authorization verification process. Figure 6 As shown, the calling method of this embodiment includes steps S602 to S610.

[0078] In step S602, the interface management platform obtains a call request for a called interface sent by the first system, wherein the called interface is an interface provided by the second system, and the call request includes an interface identifier and a call parameter value of the called interface.

[0079] In step S604, the interface management platform queries the interface information corresponding to the interface identifier.

[0080] In step S606, the interface management platform determines whether the first system has the calling authority to the called interface according to the interface identifier.

[0081] Step S606 may be performed before, after or simultaneously with step S604.

[0082] In some embodiments, when step S606 is executed first, if the first system does not have the calling authority for the called interface, step S604 is not executed.

[0083] In step S608, when the first system has the calling authority, the interface management platform initiates a call to the called interface to the second system according to the interface information and the calling parameter value.

[0084] In step S610, the interface management platform returns the result of the call corresponding to the call parameter value to the first system.

[0085] Through the method of the above embodiment, the interface management platform executes the call permission verification process for the call requester. Therefore, the system of the called interface does not need to develop additional permission verification logic, which improves the efficiency of system development. In addition, by performing permission verification during the call process, security is improved.

[0086] In some embodiments, the interface management platform opens a registration function to allow systems that need the functions of the above embodiments to access. Figure 7 An embodiment of the system registration method of the present invention is described.

[0087] Figure 7 FIG. 2 shows a flow chart of a system registration method according to some embodiments of the present invention. Figure 7 As shown, the system registration method of this embodiment includes steps S702 to S706.

[0088] In step S702, the interface management platform receives an interface registration request sent by the second system, wherein the interface registration request includes interface information.

[0089] In some embodiments, the system submits an interface document as interface information during registration. An example of an interface document is as follows.

[0090] domain:www.api.com

[0091] url: / get

[0092] method:GET

[0093] Entity:

[0094]

[0095] In step S704, the interface management platform allocates an interface identifier to the corresponding interface.

[0096] In step S706, the interface management platform stores the correspondence between the interface information and the interface identifier.

[0097] Thus, the system can complete the registration process when submitting the interface information. After the interface identifier is allocated, other systems can also obtain the interface identifier by querying the interface management platform and can initiate a call through the interface management platform.

[0098] Reference below Figure 8 An embodiment of the interface management platform of the present invention is described.

[0099] Figure 8 FIG. 2 shows a schematic diagram of the structure of an interface management platform according to some embodiments of the present invention. Figure 8 As shown, the interface management platform 800 of this embodiment includes: an acquisition module 8100, configured to acquire a call request for a called interface sent by the first system, wherein the called interface is an interface provided by the second system, the interface management platform stores interface information of the interface provided by the second system, and the call request includes an interface identifier and a call parameter value of the called interface; a query module 8200, configured to query interface information corresponding to the interface identifier; a call module 8300, configured to initiate a call to the called interface to the second system based on the interface information and the call parameter value; and a result return module 8400, configured to return the result of the call corresponding to the call parameter value to the first system.

[0100] In some embodiments, the acquisition module 8100 and the result return module 8400 are integrated into a call agent, and the call agent is used to directly interact with various systems for data.

[0101] In some embodiments, the interface management platform 800 further includes: a token management module 8500, which is configured to obtain a token application request sent by the first system and return a token to the first system, wherein the token is used for identity authentication.

[0102] In some embodiments, the call request also includes a token, and the token management module 8500 is further configured to authenticate the token in the call request so that the calling module 8300 initiates a call to the called interface if the authentication is successful.

[0103] In some embodiments, the interface management platform 800 further includes: a permission management module 8600 configured to obtain a calling permission application for an interface provided by the second system sent by the first system, and to allocate corresponding calling permissions to the first system.

[0104] In some embodiments, the permission management module 8600 is further configured to determine whether the first system has the calling authority to the called interface based on the interface identifier after obtaining the calling request, so that the calling module 8300 initiates a call to the called interface if the first system has the calling authority.

[0105] In some embodiments, the interface management platform 800 also includes: a registration module 8700, which is configured to receive an interface registration request sent by the second system, wherein the interface registration request includes interface information, assigns an interface identifier to the corresponding interface, and stores the correspondence between the interface information and the interface identifier.

[0106] In some embodiments, the interface information includes a domain name and a context.

[0107] Fig. 9 FIG. 2 shows a schematic diagram of the structure of an interface management platform according to some other embodiments of the present invention. Fig. 9 As shown, the interface management platform 90 of this embodiment includes: a memory 910 and a processor 920 coupled to the memory 910 , and the processor 920 is configured to execute the calling method of the heterogeneous system in any of the aforementioned embodiments based on the instructions stored in the memory 910 .

[0108] The memory 910 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.

[0109] Fig.10 FIG. 2 shows a schematic diagram of the structure of an interface management platform according to some other embodiments of the present invention. Fig.10 As shown, the interface management platform 100 of this embodiment includes: a memory 1010 and a processor 1020, and may also include an input / output interface 1030, a network interface 1040, a storage interface 1050, etc. These interfaces 1030, 1040, 1050 and the memory 1010 and the processor 1020 may be connected, for example, via a bus 1060. Among them, the input / output interface 1030 provides a connection interface for input / output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 1040 provides a connection interface for various networked devices. The storage interface 1050 provides a connection interface for external storage devices such as SD cards and USB flash drives.

[0110] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements any one of the aforementioned heterogeneous system calling methods.

[0111] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0112] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0113] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0114] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0115] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.< / xxx> < / xxx> < / xxx> < / xxx>

Claims

1. A calling method for a heterogeneous system, include: The interface management platform receives an interface registration request sent by the second system, wherein the interface registration request includes interface information; The interface management platform allocates an interface identifier to the registered interface; The interface management platform stores the corresponding relationship between the interface information and the interface identifier of the registered interface; The interface management platform obtains a call request for a called interface sent by the first system, wherein the called interface is an interface provided by the second system, and the interface management platform stores interface information of the interface provided by the second system, and the call request includes an interface identifier and a call parameter value of the called interface, wherein the interface identifier of the called interface is obtained by querying the first system on the interface management platform; The interface management platform queries the interface information corresponding to the interface identifier of the called interface; The interface management platform initiates a call to the called interface to the second system according to the interface information of the called interface and the calling parameter value; The interface management platform returns the result of the call corresponding to the call parameter value to the first system.

2. The method for calling a heterogeneous system according to claim 1, further comprising: include: The interface management platform obtains a token application request sent by the first system; The interface management platform returns a token to the first system, wherein the token is used for identity authentication.

3. The calling method of the heterogeneous system according to claim 2, in, The call request also includes the token, and the call method further includes: The interface management platform authenticates the token in the call request so as to initiate a call to the called interface if the identity authentication passes.

4. The method for calling a heterogeneous system according to claim 1, further comprising: include: The interface management platform obtains the application for calling authority for the interface provided by the second system, which is sent by the first system; The interface management platform allocates corresponding calling permissions to the first system.

5. The method for calling a heterogeneous system according to claim 4, further comprising: include: After obtaining the calling request, the interface management platform determines whether the first system has the calling authority to the called interface according to the interface identifier, so as to initiate a call to the called interface if the first system has the calling authority.

6. The calling method of a heterogeneous system according to any one of claims 1 to 5, in, The interface information includes a domain name and a context.

7. An interface management platform, include: A registration module, configured to receive an interface registration request sent by the second system, wherein the interface registration request includes interface information, allocates an interface identifier to the registered interface, and stores a correspondence between the interface information and the interface identifier of the registered interface; an acquisition module configured to acquire a call request for a called interface sent by the first system, wherein the called interface is an interface provided by the second system, the interface management platform stores interface information of the interface provided by the second system, and the call request includes an interface identifier and a call parameter value of the called interface, wherein the interface identifier of the called interface is obtained by querying the interface management platform by the first system; A query module, configured to query the interface information corresponding to the interface identifier of the called interface; A calling module, configured to initiate a call to the called interface to the second system according to the interface information of the called interface and the calling parameter value; The result returning module is configured to return the result of the call corresponding to the call parameter value to the first system.

8. The interface management platform according to claim 7, further comprising: include: The token management module is configured to obtain a token application request sent by the first system and return a token to the first system, wherein the token is used for identity authentication.

9. The interface management platform according to claim 8, in, The calling request also includes the token, and the token management module is further configured to authenticate the token in the calling request so that the calling module initiates a call to the called interface if the authentication is passed.

10. The interface management platform according to claim 7, further comprising: include: The authority management module is configured to obtain an application for calling authority for an interface provided by the second system, sent by the first system, and to allocate corresponding calling authority to the first system.

11. The interface management platform according to claim 10, in, The authority management module is further configured to determine whether the first system has the calling authority to the called interface according to the interface identifier after obtaining the calling request, so that the calling module initiates a call to the called interface if the first system has the calling authority.

12. The interface management platform according to any one of claims 7 to 11, in, The interface information includes a domain name and a context.

13. An interface management platform, include: Memory; as well as A processor coupled to the memory, the processor being configured to execute the calling method of the heterogeneous system according to any one of claims 1 to 6 based on instructions stored in the memory.

14. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the calling method of the heterogeneous system according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • System calling method and device, computer equipment and storage medium

    CN112416597A