WO2020052548A1 - 一种异构api适配处理方法、装置、设备及介质 - Google Patents

一种异构api适配处理方法、装置、设备及介质 Download PDF

Info

Publication number
WO2020052548A1
WO2020052548A1 PCT/CN2019/105124 CN2019105124W WO2020052548A1 WO 2020052548 A1 WO2020052548 A1 WO 2020052548A1 CN 2019105124 W CN2019105124 W CN 2019105124W WO 2020052548 A1 WO2020052548 A1 WO 2020052548A1
Authority
WO
WIPO (PCT)
Prior art keywords
api
type
conversion
parameter
source
Prior art date
Application number
PCT/CN2019/105124
Other languages
English (en)
French (fr)
Inventor
丁硕青
陈铮
万振
赵鹏
Original Assignee
北京数聚鑫云信息技术有限公司
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 北京数聚鑫云信息技术有限公司 filed Critical 北京数聚鑫云信息技术有限公司
Publication of WO2020052548A1 publication Critical patent/WO2020052548A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • This application relates to, but is not limited to, the field of Internet technologies, and in particular, to a heterogeneous API adaptation processing method, device, device, and medium.
  • the API can be used as a bridge between internal business systems of the company to exchange business data and connect different types of subsystems; it can also be used as a hub between enterprises and partners to share data between the two; it can also be used as The portal between enterprises and users opens the read and write permissions of data to users through APIs.
  • API brings convenience to enterprises and brings many problems.
  • the most common problem is the inconsistency of API protocols, standards, and formats caused by different business system development architectures and development methods. This greatly increases the number of enterprises. Cost of data integration and development based on API.
  • Solution one Based on the existing API for secondary development, the API is packaged into a unified protocol, standard, and format.
  • the second solution is to use API gateways on the market and Enterprise Service Bus (ESB) products for unified access and management of APIs.
  • ESD Enterprise Service Bus
  • the problems with the first solution are high development costs and low flexibility.
  • this application provides a heterogeneous API adaptation processing method and device.
  • a heterogeneous application programming interface API adaptation processing method which includes a configuration method, the configuration method includes: obtaining parameter information and parameter conversion rules for at least one source API type; obtaining at least A parameter definition of a target API type; generating API conversion configuration information from the target API type to the source API type according to the parameter information and parameter conversion rules of the source API type and the parameter definition of the target API type.
  • obtaining the parameter information and parameter conversion rules of the source API type includes: providing a first interaction configuration interface corresponding to the source API type, and receiving the parameter information and parameter conversion of the source API type through the first interaction configuration interface. rule;
  • the obtaining the parameter definition of the target API type includes: providing a second interaction configuration interface corresponding to the target API type, and receiving the parameter definition of the target API type through the second interaction configuration interface.
  • the execution method includes:
  • Receive an API call request determine the target API type of the API call request as the first API type, determine the source API type of the API call request as the second API type, and find and load from the generated API conversion configuration information API conversion configuration information from the first API type to the second API type, performs API call request conversion according to the found API conversion configuration information, and sends the converted API call request that conforms to the second API type.
  • the configuration method further includes: setting an adapter corresponding to the source API type; the adapter is configured to receive API conversion configuration information and an API request, and convert the API request from the first API in the API conversion configuration information The request body of the type is converted into the request body of the second API type in the API conversion configuration information;
  • the converting the API call request according to the found API conversion configuration information includes: using an adapter corresponding to the first API type to convert the API call request into a request conforming to the request body of the second API type.
  • the method further includes: according to the parameters of the first API type The definition verifies whether the parameters in the API call request meet the definition requirements.
  • performing the conversion of the API call request according to the found API conversion configuration information includes: using a parameter conversion language to implement the conversion in a coding manner, and specifically includes: when a parameter logic conversion is required, using a parameter conversion language in a coding manner Achieve conversion.
  • the configuration method further includes: generating an API document based on the swagger framework according to the parameter definition of the target API type.
  • a heterogeneous API adaptation processing device including a configuration module
  • the configuration module includes:
  • a source API information acquisition module configured to acquire parameter information and parameter conversion rules for at least one source API type
  • a target API information acquisition module configured to acquire parameter definitions of at least one target API type
  • the configuration information generating module is configured to generate API conversion configuration information from the target API type to the source API type according to the parameter information and parameter conversion rules of the source API type and the parameter definition of the target API type.
  • the source API information acquisition module includes:
  • a first interaction unit configured to provide a first interaction configuration interface corresponding to a source API type
  • a first receiving unit configured to receive parameter information and parameter conversion rules of the source API type through the first interactive configuration interface
  • the source API information acquisition module includes:
  • a second interaction unit configured to provide a second interaction configuration interface corresponding to a target API type
  • the second receiving unit is configured to receive the parameter definition of the target API type through the second interaction configuration interface.
  • the device further includes an execution module, and the execution module includes:
  • a receiving module configured to receive an API call request
  • a determining module configured to determine a target API type of the API call request as a first API type, and determine a source API type of the API call request as a second API type;
  • a loading module configured to find and load the API conversion configuration information from the first API type to the second API type from the generated API conversion configuration information
  • a conversion module configured to perform conversion of an API call request according to the found API conversion configuration information
  • the sending module is configured to send a converted API call request conforming to the second API type.
  • the configuration module further includes:
  • the adapter setting module is configured to set an adapter corresponding to the source API type; the adapter is configured to receive API conversion configuration information and an API request, and convert this API request from the first API type in the API conversion configuration information The request body is converted into a second API type request body in the API conversion configuration information;
  • the conversion module is further configured to use an adapter corresponding to the first API type to convert the API call request into a request conforming to a request body of the second API type.
  • the load module and the execution module further include a verification module configured to verify whether the parameters in the API call request meet the definition requirements according to the parameter definition of the first API type.
  • the conversion module is further configured to use a parameter conversion language to implement conversion when a parameter logic conversion is required.
  • the configuration information generation module is further configured to generate an API document based on the swagger framework according to the parameter definition of the target API type.
  • a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor executes the program, Steps to implement the above method.
  • a computer-readable storage medium is provided.
  • a computer program is stored on the storage medium, and the steps of the foregoing method are implemented when the program is executed by a processor.
  • This application can easily perform API request conversion of different API types. It can achieve a very strong expansion capability. For API types that are not supported by the device, you only need to develop corresponding adapters and design conversion rules for new types of APIs.
  • the application also provides a configuration interface for the user, so that the user can conveniently configure parameters, improve the user experience, and facilitate further management and use.
  • Fig. 1 is a flowchart illustrating a heterogeneous API adaptation processing method according to an exemplary embodiment
  • Fig. 2 is a flowchart illustrating another heterogeneous API adaptation processing method according to an exemplary embodiment
  • Fig. 3 is a detailed flowchart of a heterogeneous API adaptation processing method according to an exemplary embodiment
  • Fig. 4 is a structural diagram of a heterogeneous API adaptation processing device according to an exemplary embodiment
  • Fig. 5 is a structural diagram of another heterogeneous API adaptation processing device according to an exemplary embodiment
  • Fig. 6 is a block diagram of a device for a heterogeneous API adaptation processing method according to an exemplary embodiment.
  • Fig. 1 is a flowchart illustrating a heterogeneous API adaptation processing method according to an exemplary embodiment.
  • the method includes a configuration method part.
  • the configuration method section includes:
  • Step 1-1 obtaining parameter information and parameter conversion rules for at least one source API type; obtaining parameter definitions for at least one target API type;
  • Step 1-2 Generate API conversion configuration information from the target API type to the source API type according to the parameter information and parameter conversion rules of the source API type and the parameter definition of the target API type.
  • step 1-1 obtaining parameter information and parameter conversion rules of the source API type includes: providing a first interactive configuration interface corresponding to the source API type, and receiving parameter information and parameter conversion rules of the source API type through the first interactive configuration interface.
  • obtaining the parameter definition of the target API type includes: providing a second interaction configuration interface corresponding to the target API type, and receiving the parameter definition of the target API type through the second interaction configuration interface.
  • the source API type may be a common API basic type involved in the art, for example, a REST type (belongs to the HTTP protocol), a SOAP type (belongs to the HTTP protocol), and a TCP type.
  • the system provides different interactive configuration interfaces.
  • the interactive configuration interfaces include basic information about the corresponding API types.
  • the interactive configuration interface provided by the system includes the input and output parameters of the REST interface (including parameter names, types, and optional attributes);
  • the SOAP interface type the interactive configuration interface provided by the system includes the WSDL description Definition of the file.
  • the interactive configuration interface provided by the system includes the message format to be defined by the user and the content represented by each piece of data.
  • the parameter definition of the target API type includes the name, type, value range, etc. of the input and output parameters, and the status code returned by the request.
  • this application provides a friendly interactive configuration interface for users to configure API conversion rules in a low-code manner, and the system provides multiple parameter configuration methods.
  • the interactive configuration interface provides a graphical parameter mapping selection method. For example, when a main parameter in a source API needs to set corresponding sub-parameters, multiple sub-parameters corresponding to the main parameter are listed in the interface, and the user can select at least one sub-parameter in the sub-parameter list as a result of selection.
  • this method provides a parameter conversion language based on JavaScript to process source API parameters and generate new parameters.
  • the data returned by the source interface is the order list ⁇ "orders": [ ⁇ "id”: 1, “amount”: 123 ⁇ , ⁇ "id”: 1, “amount”: 22 ⁇ , ⁇ "id”: 2 , “Amount”: 23 ⁇ ] ⁇
  • the converted interface data needs to be aggregated according to the id attribute in each order object, and the aggregated result is ⁇ "amounts_by_oder”: ⁇ 1: [123,22,23], 2 :[twenty three] ⁇ . That is, when the parameter logic conversion is required, the parameter conversion language can be used to implement the conversion through coding.
  • the method further includes: generating an API document based on the swagger framework according to the parameter definition of the target API type.
  • Use the system's API test platform (similar to Postman) to test the generated API online.
  • the main role here is to facilitate developers to quickly understand the way the API is called for secondary development.
  • the heterogeneous API adaptation processing method further includes an execution method, and the execution method includes:
  • Step 2-1 receiving an API call request
  • Step 2-2 Determine the target API type of the API call request as the first API type, and determine the source API type of the API call request as the second API type.
  • Step 2-3 Find and load the API conversion configuration information from the first API type to the second API type from the generated API conversion configuration information
  • Step 2-4 perform API call request conversion according to the found API conversion configuration information
  • Step 2-5 Send the converted API call request conforming to the second API type.
  • the configuration method part further includes storing the generated API conversion configuration information in a database (MySQL), and when performing the API conversion in the execution method, obtaining the required API conversion configuration information from the database.
  • MySQL a database
  • the configuration method part further includes: steps 1-3, setting an adapter corresponding to the source API type; the adapter is configured to receive API conversion configuration information and API requests, and convert this API request from the first API type request body in the API conversion configuration information
  • the request body converted to the second API type in the API conversion configuration information is further configured to convert the return information of the source API into the return information in a format supported by the target API.
  • Performing the conversion of the API call request according to the found API conversion configuration information in steps 2-4 of the execution method includes: using an adapter corresponding to the first API type to convert the API call request into a request conforming to the request body of the second API type.
  • Perform steps 2-6 of the method receive the return information of the source API, convert the return information of the source API into the return information in the format supported by the target API, and send it to the sender of the API request.
  • a request conforming to the second API type request body is sent to the source API, it is sent via the proxy module (based on Nginx implementation), and when the return information of the source API is received, it is also received via this proxy module.
  • steps 2-3 and 2-4 further include: verifying whether the parameters in the API call request meet the definition requirements according to the parameter definition of the first API type.
  • Fig. 3 is a detailed flowchart of a heterogeneous API adaptation processing method according to an exemplary embodiment, and is a flowchart of the processing method in combination with the foregoing details based on the method shown in Fig. 2.
  • the heterogeneous API adaptation device includes a configuration module.
  • the configuration module includes:
  • the source API information acquisition module 401 is configured to acquire parameter information and parameter conversion rules for at least one source API type
  • the target API information acquisition module 402 is configured to acquire parameter definitions of at least one target API type
  • the configuration information generating module 403 is configured to generate API conversion configuration information from the target API type to the source API type according to the parameter information and parameter conversion rules of the source API type and the parameter definition of the target API type.
  • the source API information acquisition module includes:
  • a first interaction unit configured to provide a first interaction configuration interface corresponding to a source API type
  • a first receiving unit configured to receive parameter information of a source API type and a parameter conversion rule through a first interactive configuration interface
  • the source API information acquisition module includes:
  • a second interaction unit configured to provide a second interaction configuration interface corresponding to a target API type
  • the second receiving unit is configured to receive the parameter definition of the target API type through the second interactive configuration interface.
  • this device also includes an execution module, which specifically includes:
  • the receiving module 501 is configured to receive an API call request
  • the determining module 502 is configured to determine the target API type of the API call request as the first API type, and determine the source API type of the API call request as the second API type;
  • the loading module 503 is configured to find and load the API conversion configuration information from the first API type to the second API type from the generated API conversion configuration information;
  • a conversion module 504 configured to perform conversion of an API call request according to the found API conversion configuration information
  • the sending module 505 is configured to send the converted API call request conforming to the second API type.
  • the configuration module further includes: an adapter setting module configured to set an adapter corresponding to the source API type; the adapter is configured to receive API conversion configuration information and API requests, and convert this API request from the first API type request in the API conversion configuration information The body is converted into a request body of the second API type in the API conversion configuration information;
  • the conversion module 504 is further configured to use an adapter corresponding to the first API type to convert the API call request into a request conforming to the request body of the second API type.
  • a verification module is further included between the loading module and the execution module, and is configured to verify whether the parameters in the API call request meet the definition requirements according to the parameter definition of the first API type.
  • the source API type is SOAP type. Set the parameter information and parameter conversion rules of the source API type.
  • the parameter information includes:
  • Address information specifically the SOAP interface address, for example:
  • Input message body format specific XML format, for example:
  • the message body of the source API includes an important parameter sCountryISOCode.
  • the message return format is XML format, as follows:
  • the target API type is REST format. Set the parameter definition of the target API type, including:
  • the ⁇ % $ request.query ("sCountryISOCode")%> part of the conversion rule is to map the sCountryISOCode parameter in the target API to the request parameters required by the source API request body, and reassemble the data in XML format.
  • the output message body conversion rules are also set to convert the XML returned by the source API into JSON data.
  • the HTTP server After the HTTP server receives the target API request from the client, it determines the target API type and source API type, and obtains the configuration information for conversion from the target API type to the source API type from the MySQL server and loads it. , Through the corresponding adapter to the source API type request, send this request to the proxy module, the proxy module sends to the source API, receives the information returned from the source API, the adapter converts the returned information into the target API type supports The format is sent to the HTTP server, and the HTTP server forwards the received information to the client.
  • the unit modules in the heterogeneous API adaptation processing method of the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
  • An embodiment of the present invention further provides a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes this program, the steps of the foregoing method are implemented.
  • An embodiment of the present invention further provides a computer-readable storage medium.
  • a computer program is stored on the storage medium, and when the program is executed by a processor, the steps of the foregoing method are implemented.
  • Fig. 6 is a block diagram of a device 600 for a heterogeneous API adaptation processing method according to an exemplary embodiment.
  • the apparatus 600 may be provided as a server.
  • the apparatus 600 includes a processor 601, and the number of processors can be set to one or more as required.
  • the device 600 further includes a memory 602 configured to store instructions executable by the processor 601, such as an application program.
  • the number of memories can be set as required or one or more, and the number of stored applications can be one or more.
  • the processor 601 is configured to execute an instruction to perform the foregoing method.
  • the embodiments of the present application may be provided as a method, an apparatus (device), or a computer program product. Therefore, this application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein.
  • Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology used to store information such as computer-readable instructions, data structures, program modules or other data Including, but not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or may Any other medium or the like that stores the desired information and can be accessed by the computer.
  • a communication medium typically contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium .
  • These computer program instructions may be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, so that the instructions generated by the processor of the computer or other programmable data processing device are used to generate instructions Means for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
  • 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 work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
  • the terms "including”, “comprising”, or any other variation thereof are intended to encompass non-exclusive inclusion, such that an article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed Elements, or elements that are inherent to such articles or equipment. Without more restrictions, the elements defined by the sentence “including " do not exclude the existence of other identical elements in the articles or equipment including the elements.
  • This article can facilitate the conversion of API requests for different API types.
  • This application has very strong expansion capabilities. For API types that are not supported by the system, it is only necessary to develop corresponding adapters and design conversion rules for new types of APIs.
  • the application also provides a configuration interface for the user, so that the user can conveniently configure parameters, improve the user experience, and facilitate further management and use.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

本文公开了一种异构API适配处理方法及装置,此方法包括配置方法,具体包括:获取用于至少一源API类型的参数信息和参数转换规则;获取至少一目标API类型的参数定义;根据所述源API类型的参数信息和参数转换规则以及所述目标API类型的参数定义生成从所述目标API类型至所述源API类型的API转换配置信息。本申请可以方便地进行不同API类型的API请求转换,并且具备极强的扩展能力,对于系统不支持的API类型,只需开发相应的适配器以及设计新类型API的转换规则即可。本申请还为用户提供配置界面,使用户可方便的进行参数配置,提高用户使用体验,并且便于进一步的管理和使用。

Description

一种异构API适配处理方法、装置、设备及介质
本申请要求在2018年09月14日提交中国专利局、申请号为201811076787.4,发明名称为“一种异构API适配处理方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及但不限于互联网技术领域,具体地说涉及一种异构API适配处理方法、装置、设备及介质。
背景技术
目前,随着数字化产业的快速发展,应用程序编程接口API(全称为Application Program Interface)在企业中起到的作用越来越重要。API可以作为企业内部业务系统之间的桥梁,进行业务数据的交换,联通不同类型的子系统;也可以作为企业和合作伙伴之间的枢纽,在两者之间进行数据的共享;还可以作为企业和用户之间的门户,将数据的读写权限通过API向用户开放。
但是API给企业带来便利的同时也带来诸多问题,其中最常见的问题就是由于业务系统开发架构、开发方式的不同造成的API协议、标准、格式的不统一,这极大的增加的企业基于API进行数据集成、开发的成本。
针对上述技术问题,目前最常见的两种解决方案分别是:
方案一,基于已有API进行二次开发,将API封装成统一的协议、标准、格式。
方案二,使用市场上的API网关、企业服务总线ESB(全称为Enterprise Service Bus)类型的产品,对API进行统一接入和管理。
第一种方案的问题是开发成本高、灵活度低。
第二种方案的问题是功能有限,扩展性低。因为常见的API网关、ESB类型产品往往对接入的API类型都有限制,没办法很好的支持所有类型的API。
发明内容
为克服相关技术中存在的问题,本申请提供了一种异构API适配处理方法及装置。
根据本申请的一方面,提供一种异构应用程序编程接口API适配处理方法,包括配置方法,所述配置方法包括:获取用于至少一源API类型的参数信息和参数转换规则;获取至少一目标API类型的参数定义;根据所述源API类型的参数信息和参数转换规则以及所述目标API类型的参数定义生成从所述目标API类型至所述源API类型的API转换配置信息。
其中,所述获取源API类型的参数信息和参数转换规则包括:提供与源API类型对应的第一交互配置界面,通过所述第一交互配置界面接收所述源API类型的参数信息和参数转换规则;
所述获取目标API类型的参数定义包括:提供与目标API类型对应的第二交互配置界面,通过所述第二交互配置界面接收所述目标API类型的参数定义。
其中,所述执行方法包括:
接收API调用请求,确定所述API调用请求的目标API类型作为第一API类型,确定所述API调用请求的源API类型称为第二API类型,从已生成的API转换配置信息中查找并加载从所述第一API类型至所述第二API类型的API转换配置信息,根据查找到的API转换配置信息进行API调用请求的转换,发送转换后的符合第二API类型的API调用请求。
其中,所述配置方法还包括:设置与所述源API类型对应的适配器;所述适配器设置为接收API转换配置信息和API请求,将此API请求从所述API转换配置信息中的第一API类型的请求体转换为所述API转换配置信息中的第二API类型的请求体;
所述根据查找到的API转换配置信息进行API调用请求的转换包括:使用与所述第一API类型对应的适配器将所述API调用请求转换为符合第二API类型请求体的请求。
其中,所述从已生成的API转换配置信息中查找并加载从所述第一API类型至所述第二API类型的API转换配置信息后,所述方法还包括:根据第一API 类型的参数定义验证所述API调用请求中的参数是否符合定义要求。
其中,所述根据查找到的API转换配置信息进行API调用请求的转换包括:使用参数转换语言通过编码的方式实现转换,具体包括:在需要进行参数逻辑转换时,使用参数转换语言通过编码的方式实现转换。
其中,所述配置方法还包括:根据目标API类型的参数定义,基于swagger框架生成API文档。
根据本申请的另一方面,提供了一种异构API适配处理装置,包括配置模块;
所述配置模块包括:
源API信息获取模块,被设置为获取用于至少一源API类型的参数信息和参数转换规则;
目标API信息获取模块,被设置为获取至少一目标API类型的参数定义;
配置信息生成模块,被设置为根据所述源API类型的参数信息和参数转换规则以及所述目标API类型的参数定义生成从所述目标API类型至所述源API类型的API转换配置信息。
其中,所述源API信息获取模块包括:
第一交互单元,被设置为提供与源API类型对应的第一交互配置界面;
第一接收单元,被设置为通过所述第一交互配置界面接收所述源API类型的参数信息和参数转换规则;
所述源API信息获取模块包括:
第二交互单元,被设置为提供与目标API类型对应的第二交互配置界面;
第二接收单元,被设置为通过所述第二交互配置界面接收所述目标API类型的参数定义。
其中,所述装置还包括执行模块,所述执行模块包括:
接收模块,被设置为接收API调用请求;
确定模块,被设置为确定所述API调用请求的目标API类型作为第一API类型,确定所述API调用请求的源API类型称为第二API类型;
加载模块,被设置为从已生成的API转换配置信息中查找并加载从所述第一API类型至所述第二API类型的API转换配置信息;
转换模块,被设置为根据查找到的API转换配置信息进行API调用请求的转换;
发送模块,被设置为发送转换后的符合第二API类型的API调用请求。
其中,所述配置模块还包括:
适配器设置模块,被设置为设置与所述源API类型对应的适配器;所述适配器设置为接收API转换配置信息和API请求,将此API请求从所述API转换配置信息中的第一API类型的请求体转换为所述API转换配置信息中的第二API类型的请求体;
所述转换模块,还被设置为使用与所述第一API类型对应的适配器将所述API调用请求转换为符合第二API类型请求体的请求。
其中,所述加载模块和执行模块之间还包括验证模块,被设置为根据第一API类型的参数定义验证所述API调用请求中的参数是否符合定义要求。
其中,所述转换模块,还被设置为在需要进行参数逻辑转换时,使用参数转换语言通过编码的方式实现转换。
其中,所述配置信息生成模块,还被设置为根据目标API类型的参数定义,基于swagger框架生成API文档。
本发明实施例的另一方面,提供了一种计算机设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现上述方法的步骤。
本发明实施例的另一方面,提供了一种计算机可读存储介质,所述存储介质上存储有计算机程序,所述程序被处理器执行时实现上述方法的步骤。
本申请通过可以方便地进行不同API类型的API请求转换。可以实现极强的扩展能力,对于装置不支持的API类型,只需开发相应的适配器以及设计新类型API的转换规则即可。本申请还为用户提供配置界面,使用户可方便的进行参数配置,提高用户使用体验,并且便于进一步的管理和使用。
附图说明
构成本申请的一部分的附图用来提供对本申请的进一步理解,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是根据一示例性实施例示出的一种异构API适配处理方法的流程图;
图2是根据一示例性实施例示出的另一种异构API适配处理方法的流程图;
图3是根据一示例性实施例示出的异构API适配处理方法的一个具体化流程图;
图4是根据一示例性实施例示出的一种异构API适配处理装置的结构图;
图5是根据一示例性实施例示出的另一种异构API适配处理装置的结构图;
图6是根据一示例性实施例示出的一种用于异构API适配处理方法的装置的框图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
图1是根据一示例性实施例示出的一种异构API适配处理方法的流程图,此方法包括配置方法部分。
配置方法部分包括:
步骤1-1,获取用于至少一源API类型的参数信息和参数转换规则;获取至少一目标API类型的参数定义;
步骤1-2,根据源API类型的参数信息和参数转换规则以及目标API类型的参数定义生成从目标API类型至源API类型的API转换配置信息。
其中,
步骤1-1中,获取源API类型的参数信息和参数转换规则包括:提供与源API类型对应的第一交互配置界面,通过第一交互配置界面接收源API类型的参数信息和参数转换规则。
步骤1-1中,获取目标API类型的参数定义包括:提供与目标API类型对应的第二交互配置界面,通过第二交互配置界面接收目标API类型的参数定义。
源API类型可以是本领域涉及的常见的API基本类型,例如,REST类型(属于HTTP协议)、SOAP类型(属于HTTP协议)、TCP类型。针对不同的API类型,系统提供不同的交互配置界面,交互配置界面中包括相应API类型的基本信息。例如,针对REST接口类型,系统提供的交互配置界面中包括REST接口的输入输出参数(包括参数名称、类型、是否可选等属性);针对SOAP接口类型,系统提供的交互配置界面中包括WSDL描述文件的定义;针对TCP接口类型,系统提供的交互配置界面中包括需由用户定义的报文格式以及每段数据代表的内容。
目标API类型的参数定义包括输入输出参数的名称、类型、取值范围等,以及请求返回的状态码。
为了让用户能高效、灵活地进行转换规则的配置,本申请提供了友好的交互配置界面便于用户以低代码的方式配置API转换规则,系统提供了多种参数配置方式。针对简单的参数映射(不同位置、不同参数名之间的映射),交互配置界面提供图形化参数映射的选择方式。例如:一源API中一主参数需设置对应的子参数时,界面中列出此主参数对应的多个子参数,用户可以在子参数列表中选择出至少一个子参数作为选择的结果。
针对包含复杂的转换逻辑的场景(转换参数内容、生成新的参数内容),本方法提供了基于JavaScript实现的参数转换语言,用于对源API参数进行处理,并生成新参数。例如,源接口返回的数据为订单列表{“orders”:[{“id”:1,“amount”:123},{“id”:1,“amount”:22},{“id”:2,“amount”:23}]},转换后的接口数据需要按每个order对象中的id属性进行聚合,聚合后的结果是{“amounts_by_oder”:{1:[123,22,23],2:[23]}}。即在需要进行参数逻辑转换时,则可以使用参数转换语言通过编码的方式实现转换。
本方法还包括:根据目标API类型的参数定义,基于swagger框架生成API 文档。使用系统的API测试平台(类似Postman)在线测试生成的API,此处的主要作用是方便开发人员快速理解API的调用方式,以便进行二次开发。
如图2所示,异构API适配处理方法还包括执行方法,执行方法包括:
步骤2-1,接收API调用请求;
步骤2-2,确定API调用请求的目标API类型作为第一API类型,确定API调用请求的源API类型称为第二API类型;
步骤2-3,从已生成的API转换配置信息中查找并加载从第一API类型至第二API类型的API转换配置信息;
步骤2-4,根据查找到的API转换配置信息进行API调用请求的转换;
步骤2-5,发送转换后的符合第二API类型的API调用请求。
配置方法部分还包括将生成的API转换配置信息存储于数据库(MySQL)中,执行方法中在需要执行API转换时,从数据库中获取所需的API转换配置信息。
配置方法部分还包括:步骤1-3,设置与源API类型对应的适配器;适配器设置为接收API转换配置信息和API请求,将此API请求从API转换配置信息中的第一API类型的请求体转换为API转换配置信息中的第二API类型的请求体,还设置为将源API的返回信息转换为目标API所支持格式的返回信息。
执行方法的步骤2-4中根据查找到的API转换配置信息进行API调用请求的转换包括:使用与第一API类型对应的适配器将API调用请求转换为符合第二API类型请求体的请求。执行方法的步骤2-6,接收源API的返回信息,将源API的返回信息转换为目标API所支持格式的返回信息并发送至API请求的发送方。本方法中,向源API发送符合第二API类型请求体的请求时,经由代理模块(基于Nginx实现)发送,接收源API的返回信息时,也经由此代理模块接收。
为了保证API请求的顺利转换,步骤2-3和步骤2-4之间还包括:根据第一API类型的参数定义验证API调用请求中的参数是否符合定义要求。
图3是根据一示例性实施例示出的异构API适配处理方法的一个具体化的流程图,是在图2所示方法的基础上结合上述细节处理方法的流程图。
如图4所示,异构API适配装置包括配置模块。
配置模块包括:
源API信息获取模块401,被设置为获取用于至少一源API类型的参数信息和参数转换规则;
目标API信息获取模块402,被设置为获取至少一目标API类型的参数定义;
配置信息生成模块403,被设置为根据源API类型的参数信息和参数转换规则以及目标API类型的参数定义生成从目标API类型至源API类型的API转换配置信息。
其中,
源API信息获取模块包括:
第一交互单元,被设置为提供与源API类型对应的第一交互配置界面;
第一接收单元,被设置为通过第一交互配置界面接收源API类型的参数信息和参数转换规则;
源API信息获取模块包括:
第二交互单元,被设置为提供与目标API类型对应的第二交互配置界面;
第二接收单元,被设置为通过第二交互配置界面接收目标API类型的参数定义。
如图5所示,此装置还包括执行模块,具体包括:
接收模块501,被设置为接收API调用请求;
确定模块502,被设置为确定API调用请求的目标API类型作为第一API类型,确定API调用请求的源API类型称为第二API类型;
加载模块503,被设置为从已生成的API转换配置信息中查找并加载从第一API类型至第二API类型的API转换配置信息;
转换模块504,被设置为根据查找到的API转换配置信息进行API调用请求的转换;
发送模块505,被设置为发送转换后的符合第二API类型的API调用请求。
其中,
配置模块还包括:适配器设置模块,被设置为设置与源API类型对应的适配器;适配器设置为接收API转换配置信息和API请求,将此API请求从API转换配置信息中的第一API类型的请求体转换为API转换配置信息中的第二API类型的请求体;
转换模块504,还被设置为使用与第一API类型对应的适配器将API调用请求转换为符合第二API类型请求体的请求。
为了保证API请求的顺利转换,加载模块和执行模块之间还包括验证模块,被设置为根据第一API类型的参数定义验证API调用请求中的参数是否符合定义要求。
下面结合图2通过一个具体实施例说明本申请。
源API类型为SOAP类型,设置源API类型的参数信息和参数转换规则。
参数信息包括:
1、地址信息:具体为SOAP接口地址,例如:
http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso
2、输入消息体格式:具体为XML格式,例如:
Figure PCTCN2019105124-appb-000001
其中,源API的消息体中包括一重要参数sCountryISOCode。
3、消息返回格式为XML格式,具体如下:
Figure PCTCN2019105124-appb-000002
目标API类型为REST格式。设置目标API类型的参数定义,包括:
1、配置目标API的querystring位置的参数sCountryISOCode。
2、输入参数的转换规则,例如:
Figure PCTCN2019105124-appb-000003
转换规则中<%=$request.query("sCountryISOCode")%>部分是将目标API中的sCountryISOCode参数映射到源API请求体需要的请求参数中,重新 组合成XML格式的数据。
除了上述设置外,还设置了输出消息体转换规则,将源API返回的XML转换成JSON数据。转换规则如下:<%=$util.jsonEncode($response.body)%>,其含义是将源API返回的Body进行JSON编码。
HTTP服务器从客户端接收到目标API请求后,确定目标API类型和源API类型,从MySQL服务器获取从目标API类型至源API类型的转换配置信息并加载,验证目标API类型的参数位于正确范围后,通过相应的适配器转换为源API类型的请求,将此请求发送至代理模块,由代理模块发送至源API,从源API接收其返回的信息,适配器将返回的信息转换为目标API类型支持的格式后发送至HTTP服务器,HTTP服务器将收到的信息转发至客户端。
本发明实施例的方法中的步骤可以根据实际需要进行顺序调整、合并和删减。
本发明实施例的异构API适配处理方法中的单元模块可以根据实际需要进行合并、划分和删减。
本发明实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行此程序时实现上述方法的步骤。
本发明实施例还提供了一种计算机可读存储介质,此存储介质上存储有计算机程序,所述程序被处理器执行时实现上述方法的步骤。
图6是根据一示例性实施例示出的一种用于异构API适配处理方法的装置600的框图。例如,装置600可以被提供为一服务器。参照图6,装置600包括处理器601,处理器的个数可以根据需要设置为一个或者多个。装置600还包括存储器602,设置为存储可由处理器601执行的指令,例如应用程序。存储器的个数可以根据需要设置一个或者多个,其存储的应用程序可以为一个或者多个。处理器601设置为执行指令,以执行上述方法。
本领域技术人员应明白,本申请的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其 中包含有计算机可用程序代码的计算机可用存储介质上实施的计算机程序产品的形式。计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质,包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质等。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
本申请是参照根据本发明实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的物品或者设备中还存在另外的相同要素。
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请的意图也包含这些改动和变型在内。
工业实用性
本文可以方便进行不同API类型的API请求转换。本申请具备极强的扩展能力,对于系统不支持的API类型,只需开发相应的适配器,以及设计新类型API的转换规则即可。本申请还为用户提供配置界面,使用户可方便的进行参数配置,提高用户使用体验,并且便于进一步的管理和使用。

Claims (16)

  1. 一种异构应用程序编程接口API适配处理方法,包括配置方法,所述配置方法包括:
    获取用于至少一源API类型的参数信息和参数转换规则;获取至少一目标API类型的参数定义;根据所述源API类型的参数信息和参数转换规则以及所述目标API类型的参数定义生成从所述目标API类型至所述源API类型的API转换配置信息。
  2. 如权利要求1所述的异构API适配处理方法,其中,
    所述获取源API类型的参数信息和参数转换规则包括:提供与源API类型对应的第一交互配置界面,通过所述第一交互配置界面接收所述源API类型的参数信息和参数转换规则;
    所述获取目标API类型的参数定义包括:提供与目标API类型对应的第二交互配置界面,通过所述第二交互配置界面接收所述目标API类型的参数定义。
  3. 如权利要求1所述的异构API适配处理方法,其中,
    所述执行方法包括:
    接收API调用请求,确定所述API调用请求的目标API类型作为第一API类型,确定所述API调用请求的源API类型称为第二API类型,从已生成的API转换配置信息中查找并加载从所述第一API类型至所述第二API类型的API转换配置信息,根据查找到的API转换配置信息进行API调用请求的转换,发送转换后的符合第二API类型的API调用请求。
  4. 如权利要求3所述的异构API适配处理方法,其中,
    所述配置方法还包括:设置与所述源API类型对应的适配器;所述适配器设置为接收API转换配置信息和API请求,将此API请求从所述API转换配置信息中的第一API类型的请求体转换为所述API转换配置信息中的第二API类型的请求体;
    所述根据查找到的API转换配置信息进行API调用请求的转换包括:使用 与所述第一API类型对应的适配器将所述API调用请求转换为符合第二API类型请求体的请求。
  5. 如权利要求3所述的异构API适配处理方法,其中,
    所述从已生成的API转换配置信息中查找并加载从所述第一API类型至所述第二API类型的API转换配置信息后,所述方法还包括:根据第一API类型的参数定义验证所述API调用请求中的参数是否符合定义要求。
  6. 如权利要求3所述的异构API适配处理方法,其中,
    所述根据查找到的API转换配置信息进行API调用请求的转换包括:使用参数转换语言通过编码的方式实现转换,具体包括:在需要进行参数逻辑转换时,使用参数转换语言通过编码的方式实现转换。
  7. 如权利要求1所述的异构API适配处理方法,其中,
    所述配置方法还包括:根据目标API类型的参数定义,基于swagger框架生成API文档。
  8. 一种异构API适配处理装置,包括配置模块;
    所述配置模块包括:
    源API信息获取模块,被设置为获取用于至少一源API类型的参数信息和参数转换规则;
    目标API信息获取模块,被设置为获取至少一目标API类型的参数定义;
    配置信息生成模块,被设置为根据所述源API类型的参数信息和参数转换规则以及所述目标API类型的参数定义生成从所述目标API类型至所述源API类型的API转换配置信息。
  9. 如权利要求8所述的异构API适配处理装置,其中,
    所述源API信息获取模块包括:
    第一交互单元,被设置为提供与源API类型对应的第一交互配置界面;
    第一接收单元,被设置为通过所述第一交互配置界面接收所述源API类型的参数信息和参数转换规则;
    所述源API信息获取模块包括:
    第二交互单元,被设置为提供与目标API类型对应的第二交互配置界面;
    第二接收单元,被设置为通过所述第二交互配置界面接收所述目标API类型的参数定义。
  10. 如权利要求8所述的异构API适配处理装置,还包括:
    执行模块,所述执行模块包括:
    接收模块,被设置为接收API调用请求;
    确定模块,被设置为确定所述API调用请求的目标API类型作为第一API类型,确定所述API调用请求的源API类型称为第二API类型;
    加载模块,被设置为从已生成的API转换配置信息中查找并加载从所述第一API类型至所述第二API类型的API转换配置信息;
    转换模块,被设置为根据查找到的API转换配置信息进行API调用请求的转换;
    发送模块,被设置为发送转换后的符合第二API类型的API调用请求。
  11. 如权利要求10所述的异构API适配处理装置,其中,
    所述配置模块还包括:
    适配器设置模块,被设置为设置与所述源API类型对应的适配器;所述适配器设置为接收API转换配置信息和API请求,将此API请求从所述API转换配置信息中的第一API类型的请求体转换为所述API转换配置信息中的第二API类型的请求体;
    所述转换模块,还被设置为使用与所述第一API类型对应的适配器将所述API调用请求转换为符合第二API类型请求体的请求。
  12. 如权利要求10所述的异构API适配处理装置,其中,
    所述加载模块和执行模块之间还包括验证模块,被设置为根据第一API类型的参数定义验证所述API调用请求中的参数是否符合定义要求。
  13. 如权利要求10所述的异构API适配处理装置,其中,
    所述转换模块,还被设置为在需要进行参数逻辑转换时,使用参数转换语言通过编码的方式实现转换。
  14. 如权利要求8所述的异构API适配处理装置,其中,
    所述配置信息生成模块,还被设置为根据目标API类型的参数定义,基于swagger框架生成API文档。
  15. 一种计算机设备,包括处理器、存储器和存储于所述存储器上的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1-7中任意一项所述方法的步骤。
  16. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被执行时实现如权利要求1-7中任意一项所述方法的步骤。
PCT/CN2019/105124 2018-09-14 2019-09-10 一种异构api适配处理方法、装置、设备及介质 WO2020052548A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811076787.4 2018-09-14
CN201811076787.4A CN109213519B (zh) 2018-09-14 2018-09-14 一种异构api适配处理方法及系统

Publications (1)

Publication Number Publication Date
WO2020052548A1 true WO2020052548A1 (zh) 2020-03-19

Family

ID=64983861

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/105124 WO2020052548A1 (zh) 2018-09-14 2019-09-10 一种异构api适配处理方法、装置、设备及介质

Country Status (2)

Country Link
CN (1) CN109213519B (zh)
WO (1) WO2020052548A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213519B (zh) * 2018-09-14 2020-01-03 北京数聚鑫云信息技术有限公司 一种异构api适配处理方法及系统
CN111865881A (zh) * 2019-04-30 2020-10-30 北京数聚鑫云信息技术有限公司 一种接口转换方法、装置、介质及计算机设备
CN110417891A (zh) * 2019-07-30 2019-11-05 腾讯科技(深圳)有限公司 数据处理方法、装置、api网关及后端管理设备
CN110413349B (zh) * 2019-07-31 2022-10-14 中国工商银行股份有限公司 服务调用方法、装置、电子设备以及存储介质
CN110716738A (zh) * 2019-09-03 2020-01-21 无锡华云数据技术服务有限公司 数据处理方法、装置、云平台、电子设备及存储介质
CN111324394B (zh) * 2020-01-23 2023-05-12 北京恒华伟业科技股份有限公司 系统集成的方法和装置
CN111381825B (zh) * 2020-03-06 2021-04-09 北京五八信息技术有限公司 一种小程序的生成方法和装置
CN113114562A (zh) * 2021-03-04 2021-07-13 上海赛可出行科技服务有限公司 一种基于开放平台的参数可配置的网关设计方法
CN113778721A (zh) * 2021-09-27 2021-12-10 京东方科技集团股份有限公司 多个子系统接入的接入开发方法、装置和系统、及介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007073685A1 (fr) * 2005-12-28 2007-07-05 Huawei Technologies Co., Ltd. Procede et appareil pour application de service de reseau intelligent
CN102779071A (zh) * 2012-06-14 2012-11-14 华为技术有限公司 软件接口调用方法、装置和系统
CN103716308A (zh) * 2013-12-17 2014-04-09 北京京东尚科信息技术有限公司 一种多协议平台通信方法及多协议平台
CN105159667A (zh) * 2015-08-07 2015-12-16 北京思特奇信息技术股份有限公司 一种web service接口调用参数转换方法及系统
CN105978860A (zh) * 2016-04-26 2016-09-28 国网山东省电力公司经济技术研究院 一种电力系统软件接口适配器的实现方法
CN109213519A (zh) * 2018-09-14 2019-01-15 北京数聚鑫云信息技术有限公司 一种异构api适配处理方法及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206568B (zh) * 2007-12-07 2010-09-29 华中科技大学 一种基于Web的网格应用程序接口系统
JP6169662B2 (ja) * 2015-09-11 2017-07-26 西日本電信電話株式会社 Api変換アダプタ、api変換システム、及びapi変換プログラム
CN107977307B (zh) * 2016-10-25 2021-02-09 腾讯科技(深圳)有限公司 一种应用的调试方法及装置
CN107948135B (zh) * 2017-10-31 2020-02-21 贵州白山云科技股份有限公司 一种支持多种api协议的数据处理方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007073685A1 (fr) * 2005-12-28 2007-07-05 Huawei Technologies Co., Ltd. Procede et appareil pour application de service de reseau intelligent
CN102779071A (zh) * 2012-06-14 2012-11-14 华为技术有限公司 软件接口调用方法、装置和系统
CN103716308A (zh) * 2013-12-17 2014-04-09 北京京东尚科信息技术有限公司 一种多协议平台通信方法及多协议平台
CN105159667A (zh) * 2015-08-07 2015-12-16 北京思特奇信息技术股份有限公司 一种web service接口调用参数转换方法及系统
CN105978860A (zh) * 2016-04-26 2016-09-28 国网山东省电力公司经济技术研究院 一种电力系统软件接口适配器的实现方法
CN109213519A (zh) * 2018-09-14 2019-01-15 北京数聚鑫云信息技术有限公司 一种异构api适配处理方法及系统

Also Published As

Publication number Publication date
CN109213519B (zh) 2020-01-03
CN109213519A (zh) 2019-01-15

Similar Documents

Publication Publication Date Title
WO2020052548A1 (zh) 一种异构api适配处理方法、装置、设备及介质
US9690822B2 (en) System and method for metadata level validation of custom setup objects
US8949258B2 (en) Techniques to manage file conversions
US11461679B2 (en) Message management using machine learning techniques
US10904316B2 (en) Data processing method and apparatus in service-oriented architecture system, and the service-oriented architecture system
US10417248B2 (en) Field extension in database system
US10924281B2 (en) Method and apparatus for inter-blockchain transmission of authenticable message
US11474935B2 (en) Method and system for providing automated testing framework for service
JP2022523914A (ja) レプリゼンテーショナルステートトランスファ(rest)アプリケーションプログラミングインターフェイス(api)を使用するデータ変換のための方法、システムおよびコンピュータ読取可能媒体
US9742835B2 (en) System and method for backend control of frontend user interfaces
US20120323975A1 (en) Presentation software automation services
CN111142849B (zh) 流程处理方法、装置、存储介质及处理器
CN113095825B (zh) 基于区块链的资产管理方法、装置及电子设备
US20100162264A1 (en) Service virtualization container
CN111078764B (zh) 数据处理方法、装置、计算机可读存储介质及电子设备
WO2021232860A1 (zh) 通信方法、装置及系统
US9325808B2 (en) Message handling in a data processing system
US10142438B2 (en) Intermediate destination module for communication of interaction data with disparate intermediate destinations
US20140214934A1 (en) Composition Engine as a Service
US8880702B2 (en) Provision of other than 1:1 resource mapping
CN110287434B (zh) 网站处理方法、装置及存储介质
US20230281214A1 (en) Actor-based information system
EP3588298B1 (en) Enabling synchronous editable signals in process modeling
CN110032569B (zh) 变更数据检查方法、装置、设备及系统
KR101384564B1 (ko) 데이터셋 전송 프로토콜을 이용한 다중 요청 처리 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19859363

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01.07.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19859363

Country of ref document: EP

Kind code of ref document: A1