技术领域technical field
本申请涉及数据处理技术领域,特别涉及一种API服务的管理方法及装置。The present application relates to the technical field of data processing, and in particular to a method and device for managing API services.
背景技术Background technique
应用程序编程接口(Application Programming Interface,API)服务的自由定制具有轻便、快捷、个性化、复用率高等特点。而随着网络技术的发展,API服务的应用也越来越广泛,不仅仅只有大中型企业用户需要开发自己的API服务,中小型企业用户也有自由定制API服务的需求。Free customization of application programming interface (Application Programming Interface, API) services has the characteristics of portability, speed, personalization, and high reuse rate. With the development of network technology, the application of API services is becoming more and more extensive. Not only large and medium-sized enterprise users need to develop their own API services, but small and medium-sized enterprise users also have the need to freely customize API services.
发明内容Contents of the invention
有鉴于此,本申请的目的在于提供一种API服务的管理方法及装置,用以解决现有技术中用户如何自由定制API服务的技术问题。In view of this, the purpose of this application is to provide a management method and device for API services, so as to solve the technical problem of how users can freely customize API services in the prior art.
本申请提供了一种API服务的管理方法,包括:This application provides a management method for API services, including:
获得至少一个API服务对象;Obtain at least one API service object;
获得所述API服务对象的服务数据包和接口数据包;Obtain the service data packet and interface data packet of the API service object;
将所述服务数据包进行部署,并向用户提供所述接口数据包;Deploy the service data package, and provide the interface data package to the user;
接收用户服务调用请求,所述用户服务调用请求基于用户利用所需的目标接口数据包所进行的输入操作生成;receiving a user service invocation request, the user service invocation request is generated based on an input operation performed by the user using the required target interface data packet;
基于所述用户服务调用请求,运行与所述用户服务调用请求相对应的目标服务数据包,得到服务结果;Based on the user service call request, run the target service data package corresponding to the user service call request to obtain a service result;
将所述服务结果进行输出。Output the service result.
上述方法,优选的,获得所述API服务对象的服务数据包和接口数据包,包括:In the above method, preferably, obtaining the service data package and interface data package of the API service object includes:
基于模型-视图-控制器(Model View Controller,MVC)模型,生成所述API服务对象的服务提供模块和服务接口模块;Based on the model-view-controller (Model View Controller, MVC) model, generate the service providing module and the service interface module of the API service object;
利用项目对象模型maven,生成所述服务提供模块的服务数据包和所述服务接口模块的接口数据包。The service data package of the service providing module and the interface data package of the service interface module are generated by using the project object model maven.
上述方法,优选的,基于所述用户服务调用请求,运行与所述用户服务调用请求相对应的目标服务数据包,得到服务结果,包括:In the above method, preferably, based on the user service invocation request, the target service data package corresponding to the user service invocation request is executed to obtain a service result, including:
确定所述用户服务调用请求对应的配置参数及请求参数;Determining configuration parameters and request parameters corresponding to the user service invocation request;
基于所述请求参数,确定与所述用户服务调用请求对应的目标服务数据包;Based on the request parameters, determine a target service data packet corresponding to the user service invocation request;
基于所述配置参数,运行所述目标服务数据包,得到服务结果。Based on the configuration parameters, run the target service data package to obtain a service result.
上述方法,优选的,在所述获得至少一个API服务对象之后,所述方法还包括:In the above method, preferably, after obtaining at least one API service object, the method further includes:
对每个所述API服务对象设置对象标识,并设置每个所述API服务对象的对象参数。Set an object identifier for each API service object, and set object parameters for each API service object.
上述方法,优选的,还包括:The above method, preferably, also includes:
基于所述服务结果进行计费操作。A charging operation is performed based on the service result.
本申请还提供了一种API服务的管理装置,包括:The present application also provides a management device for API services, including:
对象获得单元,用于获得至少一个API服务对象;an object obtaining unit, configured to obtain at least one API service object;
数据包获得单元,用于获得所述API服务对象的服务数据包和接口数据包;A data packet obtaining unit, configured to obtain a service data packet and an interface data packet of the API service object;
数据包部署单元,用于将所述服务数据包进行部署,并向用户提供所述接口数据包;A data package deployment unit, configured to deploy the service data package and provide the user with the interface data package;
请求接收单元,用于接收用户服务调用请求,所述用户服务调用请求基于用户利用所学的目标接口数据包所进行的输入操作生成;A request receiving unit, configured to receive a user service call request, the user service call request is generated based on an input operation performed by the user using the learned target interface data packet;
服务调用单元,用于基于所述用户服务调用请求,运行与所述用户服务调用请求相对应的目标服务数据包,得到服务结果;A service invocation unit, configured to run a target service data package corresponding to the user service invocation request based on the user service invocation request to obtain a service result;
结果输出单元,用于将所述服务结果进行输出。A result output unit, configured to output the service result.
上述装置,优选的,所述数据包获得单元包括:In the above device, preferably, the data packet obtaining unit includes:
模块生成子单元,用于基于MVC模型,生成所述API服务对象的服务提供模块和服务接口模块;A module generating subunit, configured to generate a service providing module and a service interface module of the API service object based on the MVC model;
数据包生成子单元,用于利用maven,生成所述服务提供模块的服务数据包和所述服务接口模块的接口数据包。The data packet generation subunit is used to generate the service data packet of the service providing module and the interface data packet of the service interface module by using maven.
上述装置,优选的,所述服务调用单元包括:In the above device, preferably, the service calling unit includes:
参数确定子单元,用于确定所述用户服务调用请求对应的配置参数及请求参数。The parameter determination subunit is configured to determine configuration parameters and request parameters corresponding to the user service invocation request.
目标确定子单元,用于基于所述请求参数,确定与所述用户服务调用请求对应的目标服务数据包;a target determination subunit, configured to determine a target service data packet corresponding to the user service invocation request based on the request parameter;
数据包运行子单元,用于基于所述配置参数,运行所述目标服务数据包,得到服务结果。The data package running subunit is configured to run the target service data package based on the configuration parameters to obtain a service result.
上述装置,优选的,还包括:The above-mentioned device, preferably, also includes:
对象设置单元,用于在所述对象获得单元获得至少一个API服务对象之后,对每个所述API服务对象设置对象标识,并设置每个所述API服务对象的对象参数。The object setting unit is configured to set an object identifier for each of the API service objects and set object parameters of each of the API service objects after the object obtaining unit obtains at least one API service object.
上述装置,优选的,还包括:The above-mentioned device, preferably, also includes:
服务计费单元,用于基于所述服务结果进行计费操作。A service charging unit, configured to perform a charging operation based on the service result.
由上述方案可知,本申请提供的一种API服务的管理方法及装置,通过在获得需要进行部署的API服务对象之后,生成API服务对象的服务数据包和接口数据包,进而用户可以根据提供的接口数据包进行输入操作,如编写自己的调用方法、配置各种参数等,进而生成用户服务调用请求,本申请在接收到这一请求之后运行对应的服务数据包,获得能够输出给用户的服务结果,由此根据用户自身的需求来为用户提供API服务,实现针对用户的API服务的自由定制。It can be seen from the above scheme that the API service management method and device provided by the present application, after obtaining the API service object that needs to be deployed, generates the service data package and interface data package of the API service object, and then the user can according to the provided Interface data packets for input operations, such as writing your own calling methods, configuring various parameters, etc., and then generating user service call requests. After receiving this request, this application runs the corresponding service data packets to obtain services that can be output to users. As a result, API services are provided for users according to their own needs, and free customization of API services for users is realized.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings on the premise of not paying creative efforts.
图1为本申请实施例一提供的一种API服务的管理方法的流程图;FIG. 1 is a flowchart of an API service management method provided in Embodiment 1 of the present application;
图2及图3分别为本申请实施例一的部分流程图;Figure 2 and Figure 3 are part of the flow chart of Embodiment 1 of the present application respectively;
图4为本申请实施例二提供的一种API服务的管理方法的流程图;FIG. 4 is a flowchart of an API service management method provided in Embodiment 2 of the present application;
图5为本申请实施例三提供的一种API服务的管理方法的流程图;FIG. 5 is a flowchart of an API service management method provided in Embodiment 3 of the present application;
图6为本申请实施例四提供的一种API服务的管理装置的结构示意图;FIG. 6 is a schematic structural diagram of an API service management device provided in Embodiment 4 of the present application;
图7及图8分别为本申请实施例四的部分结构示意图;FIG. 7 and FIG. 8 are partial structural schematic diagrams of Embodiment 4 of the present application;
图9为本申请实施例五提供的一种API服务的管理装置的结构示意图;FIG. 9 is a schematic structural diagram of an API service management device provided in Embodiment 5 of the present application;
图10为本申请实施例六提供的一种API服务的管理装置的结构示意图;FIG. 10 is a schematic structural diagram of an API service management device provided in Embodiment 6 of the present application;
图11及图12分别为本申请实施例的应用示例图。FIG. 11 and FIG. 12 are application example diagrams of the embodiments of the present application, respectively.
具体实施方式Detailed ways
随着全业务领域互联网+的发展,不仅只有大中型企业用户需要开发自己的API服务,中小型企业用户也有API服务自由定制的需求。API服务的自由定制,无需针对每个用户开发自己的API接口服务,只需把原本只面向大型企业的资源开放给中小企业用户,通过抽取共通的API需求就能满足大多数企业用户的需求。然而通常情况下,API服务模板并不能全部通用,现有的自由定制的API服务的管理方法效率较低,资源的复用率也比较低。With the development of Internet+ in the whole business field, not only large and medium-sized enterprise users need to develop their own API services, but also small and medium-sized enterprise users have the demand for free customization of API services. The free customization of API services does not need to develop its own API interface services for each user. It only needs to open the resources originally only for large enterprises to small and medium-sized enterprises. By extracting common API requirements, the needs of most enterprise users can be met. However, under normal circumstances, API service templates cannot be used universally. The existing free-customized API service management methods have low efficiency and low resource reuse rate.
有鉴于此,本申请中通过提出一种API服务的管理方法,有效管理自由定制的API访问,提高资源复用率,面向用户提供同等的高质量的API服务,而只需要一套通用的API服务的模板,通过在整合这些模板,能够形成一个循环再利用的API公用服务生态链,促进资源可持续发展,具有环保“绿色”与科技“蓝色”相结合的独特新颖色彩,为“互联网+API服务”进程贡献一份力量。In view of this, this application proposes an API service management method to effectively manage freely customized API access, improve resource reuse rate, and provide users with the same high-quality API service, and only need a set of general API Service templates, through the integration of these templates, can form a recycling and reused API public service ecological chain, promote the sustainable development of resources, and have a unique and novel color combining environmental protection "green" and technological "blue". + API service" process to contribute.
本申请适用于管理全球广域网(World Wide Web,WEB)项目中为中小型企业用户开放通用API服务的自由定制的服务方式,使得之前面向大企业用户开发过的API服务的接口资源可以被复用于中小型企业用户,抽取共通的API服务提供给每一个企业用户调用,并将这些API服务整合成一套API服务的公用生态链,部署运行到WEB项目中。This application is applicable to the freely customized service mode of opening general API services for small and medium-sized enterprise users in the management of global wide area network (World Wide Web, WEB) projects, so that the interface resources of API services previously developed for large enterprise users can be reused For small and medium-sized enterprise users, common API services are extracted and provided to each enterprise user, and these API services are integrated into a public ecological chain of API services, which are deployed and run in WEB projects.
参考图1,为本申请实施例一提供的一种API服务的管理方法的实现流程图,适用于WEB项目中API服务的自由定制。Referring to FIG. 1 , it is an implementation flowchart of an API service management method provided in Embodiment 1 of the present application, which is suitable for free customization of API services in WEB projects.
本实施例中,该方法可以包括以下步骤:In this embodiment, the method may include the following steps:
步骤101:获得至少一个API服务对象。Step 101: Obtain at least one API service object.
其中,本实施例中可以通过调查哪些API服务具有改造成通用性较高、实用性较强的API通用服务的潜力,如手机实名认证服务、身份证实名认证服务等,进而抽取出通用API服务的需求,得到至少一个API服务对象。Among them, in this embodiment, it is possible to extract general API services by investigating which API services have the potential to be transformed into API general services with high versatility and strong practicability, such as mobile phone real-name authentication services, identity verification and name authentication services, etc. According to the requirement, get at least one API service object.
需要说明的是,以上所提到的通用API服务可以包括有:已开发的面向大型企业用户的API服务以及抽取的面向中小型企业用户开发的API服务。It should be noted that the general API services mentioned above may include: developed API services for large enterprise users and extracted API services developed for small and medium enterprise users.
步骤102:获得所述API服务对象的服务数据包和接口数据包。Step 102: Obtain the service data package and interface data package of the API service object.
其中,本实施例中可以基于MVC模型来开发通用的API服务,具体可以参考图2,步骤102可以通过以下步骤实现:Wherein, in this embodiment, a general API service can be developed based on the MVC model. For details, reference can be made to FIG. 2 , and step 102 can be implemented through the following steps:
步骤201:基于MVC模型,生成所述API服务对象的服务提供模块和服务接口模块。Step 201: Generate a service providing module and a service interface module of the API service object based on the MVC model.
步骤202:利用maven,生成所述服务提供模块的服务数据包和所述服务接口模块的接口数据包。Step 202: Using maven, generate the service data packet of the service providing module and the interface data packet of the service interface module.
也就是说,本实施例中通过生成API服务对象的服务数据包及接口数据包,以服务数据包及接口数据包来表示对应的API服务,由此来将API服务改造成后续能够通用的API服务。That is to say, in this embodiment, by generating the service data packet and interface data packet of the API service object, the service data packet and the interface data packet are used to represent the corresponding API service, thereby transforming the API service into a subsequent universal API Serve.
其中,所述服务数据包与所述接口数据包可以为jar包实现。例如,本实施例中基于MVC模型将API服务对象生成服务提供模块和服务接口模块之后,利用maven将两个模块分别打包成压缩文件,如jar包。Wherein, the service data package and the interface data package may be implemented as jar packages. For example, in this embodiment, after the API service object is generated into a service providing module and a service interface module based on the MVC model, maven is used to package the two modules into compressed files, such as jar packages.
步骤103:将所述服务数据包进行部署,并向用户提供所述接口数据包。Step 103: Deploy the service data package, and provide the interface data package to the user.
具体的,本实施例中可以将服务数据包及接口数据包注册到服务平台上,这里的服务平台可以是第三方平台,也可以是通用API服务的提供者平台。Specifically, in this embodiment, the service data package and the interface data package may be registered on the service platform, where the service platform may be a third-party platform, or a provider platform of a general API service.
例如,本实施例在获得服务数据包之后,将服务数据包及接口数据包发布到服务平台的分布式框架上,服务平台提供通用API服务的提供者与通用API服务消费者之间的通信服务,例如,通用API服务消费者通过客户端如手机或电脑等终端与服务平台之间进行通信。For example, after the service data package is obtained in this embodiment, the service data package and the interface data package are published on the distributed framework of the service platform, and the service platform provides the communication service between the provider of the general API service and the consumer of the general API service , for example, general API service consumers communicate with the service platform through terminals such as mobile phones or computers.
由此,服务平台向消费者即用户提供API服务的自由定制服务,并提供能够调用API服务的接口数据包及各类配置参数、相应的调用教程或者配置教程等。Thus, the service platform provides free customization services of API services to consumers, that is, users, and provides interface data packages capable of calling API services, various configuration parameters, corresponding call tutorials or configuration tutorials, etc.
步骤104:接收用户服务调用请求。Step 104: Receive a user service call request.
其中,所述用户服务调用请求基于用户利用所需的目标接口数据包所进行的输入操作生成。例如,通用API服务的消费者在向API服务的提供者购买API服务的自由定制服务之后,服务平台向用户提供各种API服务的接口数据包,还可以向用户提供调用教程或配置教程等示例,由此,用户可以根据教程等示例,通过客户端基于所需要的目标接口数据包编写自己的调用方法、配置连接信息及想要请求的服务数据包及其版本号等参数,进而生成用户服务调用请求,客户端与API服务的提供者的服务平台建立通信,成为API服务请求者开始进行服务调用。本实施例通过对用户服务调用请求进行接收,开始受理API服务请求者的服务调用需求。Wherein, the user service call request is generated based on an input operation performed by the user using the required target interface data package. For example, after consumers of general API services purchase free customization services of API services from API service providers, the service platform provides users with interface data packages of various API services, and can also provide users with examples such as calling tutorials or configuration tutorials , thus, users can write their own calling method based on the required target interface data package, configure connection information, and parameters such as the service data package and its version number they want to request through the client according to examples such as tutorials, and then generate user services To call a request, the client establishes communication with the service platform of the API service provider, and becomes the API service requester to start the service call. In this embodiment, by receiving the user service call request, the service call demand of the API service requester is accepted.
其中,用户配置连接信息实例如下:Among them, the example of user configuration connection information is as follows:
配置dubbo文件,注册成为消费者,主要配置以下dubbo信息:Configure the dubbo file, register as a consumer, and mainly configure the following dubbo information:
<dubbo:application name="dubbo_consumer"owner="XXX"organization="XXX"></dubbo:application><dubbo:application name="dubbo_consumer" owner="XXX" organization="XXX"></dubbo:application>
<dubbo:registry protocol="zookeeper"address="XXX.XXX.XXX.XX:2181"check="false"></dubbo:registry><dubbo:registry protocol="zookeeper" address="XXX.XXX.XXX.XX:2181"check="false"></dubbo:registry>
<!--要引用的服务:身份证实名认证--><! -- Service to be referenced: identity verification name authentication -->
<dubbo:reference interface="com.XXX.XXX.XXX.XXClientService"id="XXClientService"timeout="120000"retries="0"check="false"version="XXX"></dubbo:reference><dubbo:reference interface="com.XXX.XXX.XXX.XXClientService"id="XXClientService"timeout="120000"retries="0"check="false"version="XXX"></dubbo:reference>
<!--要引用的服务:手机实名认证--><! -- Service to be referenced: mobile phone real-name authentication -->
<dubbo:referenceinterface="com.XXX.XXX.XXX.PhoneXXXClientService"id="phoneXXXClientService"retries="0"timeout="120000"check="false"version="XXX"></dubbo:reference><dubbo:referenceinterface="com.XXX.XXX.XXX.PhoneXXXClientService"id="phoneXXXClientService"retries="0"timeout="120000"check="false"version="XXX"></dubbo:reference>
步骤105:基于所述用户服务调用请求,运行与所述用户服务调用请求相对应的目标服务数据包,得到服务结果。Step 105: Based on the user service call request, run the target service data package corresponding to the user service call request to obtain a service result.
其中,本实施例中可以根据用户服务调用请求中的各种参数来实现目标服务数据包的调用及运行,具体参考图3,步骤105可以通过以下步骤实现:Among them, in this embodiment, the invocation and operation of the target service data package can be realized according to various parameters in the user service invocation request. Referring to FIG. 3 for details, step 105 can be implemented through the following steps:
步骤301:确定所述用户服务调用请求对应的配置参数及请求参数。Step 301: Determine configuration parameters and request parameters corresponding to the user service call request.
其中,所述请求参数中包含用户所需要调用的目标数据包的参数。Wherein, the request parameters include the parameters of the target data package that the user needs to call.
步骤302:基于所述请求参数,确定与所述用户服务调用请求对应的目标服务数据包;Step 302: Based on the request parameters, determine the target service data packet corresponding to the user service call request;
步骤303:基于所述配置参数,运行所述目标服务数据包,得到服务结果。Step 303: Based on the configuration parameters, run the target service data package to obtain a service result.
步骤106:将所述服务结果进行输出。Step 106: Output the service result.
本实施例中可以通过数据传输接口等将服务结果传输到用户的客户端上,提供给用户。In this embodiment, the service result can be transmitted to the user's client through a data transmission interface, etc., and provided to the user.
由上述方案可知,本申请实施例一提供的一种API服务的管理方法,通过在获得需要进行部署的API服务对象之后,生成API服务对象的服务数据包和接口数据包,进而用户可以根据提供的接口数据包进行输入操作,如编写自己的调用方法、配置各种参数等,进而生成用户服务调用请求,本实施例在接收到这一请求之后运行对应的服务数据包,获得能够输出给用户的服务结果,由此根据用户自身的需求来为用户提供API服务,实现针对用户的API服务的自由定制。It can be seen from the above solution that the API service management method provided by Embodiment 1 of the present application generates the service data package and interface data package of the API service object after obtaining the API service object that needs to be deployed, and then the user can according to the provided Interface data packets for input operations, such as writing your own calling methods, configuring various parameters, etc., and then generating user service call requests. This embodiment runs the corresponding service data packets after receiving this request, and obtains the According to the service results of users, API services are provided for users according to their own needs, and the free customization of API services for users is realized.
参考图4,为本申请实施例二提供的一种API服务的管理方法的实现流程图,在步骤101之后,该方法还可以包括以下步骤:Referring to FIG. 4 , it is a flowchart of an implementation of an API service management method provided in Embodiment 2 of the present application. After step 101, the method may further include the following steps:
步骤107:对每个所述API服务对象设置对象标识,并设置每个所述API服务对象的对象参数。Step 107: Set an object identifier for each of the API service objects, and set object parameters of each of the API service objects.
其中,对象标识能够唯一表示其对应的API服务对象,该对象标识可以用于后续的API服务的服务数据包和接口数据包的生成及调用中。Wherein, the object identifier can uniquely represent its corresponding API service object, and the object identifier can be used in generating and invoking service data packets and interface data packets of subsequent API services.
而所述对象参数可以为API服务对象的接口的各种输入输出参数等。输入参数由固定参数与每个特定API服务自己参数两部分组成,例如,固定参数:yw_id=65c55123-3a49-417e-8ae8-e103666ac7cb_idIdentify;authz=55729cb9bf7da72db70c19186b27337c。服务自定义参数如身份实名认证服务:idcard=350XXXXXXXXXXXXXXX;name=陈XX。The object parameters may be various input and output parameters of the interface of the API service object. The input parameters are composed of fixed parameters and the own parameters of each specific API service. For example, fixed parameters: yw_id=65c55123-3a49-417e-8ae8-e103666ac7cb_idIdentify; authz=55729cb9bf7da72db70c19186b27337c. Service custom parameters such as identity real-name authentication service: idcard=350XXXXXXXXXXXXXXXX; name=Chen XX.
输出参数如:{"result":0,"msg":"查询成功,姓名和身份证号一致","serialno":"5a69774425944bea93f5c768e4541123"}Output parameters such as: {"result":0,"msg":"The query is successful, the name and ID number are consistent","serialno":"5a69774425944bea93f5c768e4541123"}
需要说明的是,不同的API服务的自定义输入参数不一样,输入参数中的固定参数不变。而不同API服务的返回参数不一样。It should be noted that the custom input parameters of different API services are different, and the fixed parameters in the input parameters remain unchanged. The return parameters of different API services are different.
参考图5,为本申请实施例三提供的一种API服务的管理方法的实现流程图,在步骤106之后,该方法还可以包括以下步骤:Referring to FIG. 5 , it is a flowchart of an implementation of an API service management method provided in Embodiment 3 of the present application. After step 106, the method may further include the following steps:
步骤108:基于所述服务结果进行计费操作。Step 108: Perform a charging operation based on the service result.
其中,本实施例中可以按服务次数进行扣费,每调用成功且满足扣费规则,就扣费一次。Wherein, in this embodiment, the fee can be deducted according to the number of times of service, and the fee will be deducted once every time the call is successful and meets the fee deduction rule.
例如,以身份实名认证服务的扣费规则为例,如下:For example, take the deduction rules for the identity real-name authentication service as an example, as follows:
身份实名认证根据服务结果如返回码扣费:Identity real-name authentication deducts fees based on service results such as return codes:
以下返回码扣费:The following return codes are charged:
查询成功,验证一致;The query is successful and the verification is consistent;
查询成功,不一致;The query is successful, inconsistent;
以下返回码不扣费:The following return codes are not charged:
101-查询失败,参数错误101-query failed, parameter error
102-查询失败,通道错误102-query failed, channel error
也就是说,用户正式调用API服务一次,根据返回码对应扣费规则判断是否扣费,若需要扣费,当次调用成功在返回服务结果的参数给用户后马上扣费。若不需要扣费,则返回服务结果的参数给用户,并不扣费。That is to say, the user officially calls the API service once, and judges whether to deduct the fee according to the fee deduction rule corresponding to the return code. If the fee is deducted, the fee will be deducted immediately after the call is successful and the parameters of the service result are returned to the user. If deduction is not required, return the parameters of the service result to the user without deduction.
参考图6,为本申请实施例四提供的一种API服务的管理装置的结构示意图,该装置可以包括以下结构:Referring to FIG. 6 , it is a schematic structural diagram of an API service management device provided in Embodiment 4 of the present application. The device may include the following structures:
对象获得单元601,用于获得至少一个API服务对象。The object obtaining unit 601 is configured to obtain at least one API service object.
其中,本实施例中可以通过调查哪些API服务具有改造成通用性较高、实用性较强的API通用服务的潜力,如手机实名认证服务、身份证实名认证服务等,进而抽取出通用API服务的需求,得到至少一个API服务对象。Among them, in this embodiment, it is possible to extract general API services by investigating which API services have the potential to be transformed into API general services with high versatility and strong practicability, such as mobile phone real-name authentication services, identity verification and name authentication services, etc. According to the requirement, get at least one API service object.
需要说明的是,以上所提到的通用API服务可以包括有:已开发的面向大型企业用户的API服务以及抽取的面向中小型企业用户开发的API服务。It should be noted that the general API services mentioned above may include: developed API services for large enterprise users and extracted API services developed for small and medium enterprise users.
数据包获得单元602,用于获得所述API服务对象的服务数据包和接口数据包。A data packet obtaining unit 602, configured to obtain a service data packet and an interface data packet of the API service object.
其中,本实施例中可以基于MVC模型来开发通用的API服务,具体可以参考图7,数据包获得单元602可以通过以下结构实现:Wherein, in this embodiment, a general API service can be developed based on the MVC model. For details, refer to FIG.
模块生成子单元701,用于基于MVC模型,生成所述API服务对象的服务提供模块和服务接口模块;The module generating subunit 701 is configured to generate a service providing module and a service interface module of the API service object based on the MVC model;
数据包生成子单元702,用于利用maven,生成所述服务提供模块的服务数据包和所述服务接口模块的接口数据包。The data packet generating subunit 702 is configured to use maven to generate the service data packet of the service providing module and the interface data packet of the service interface module.
也就是说,本实施例中通过生成API服务对象的服务数据包及接口数据包,以服务数据包及接口数据包来表示对应的API服务,由此来将API服务改造成后续能够通用的API服务。That is to say, in this embodiment, by generating the service data packet and interface data packet of the API service object, the service data packet and the interface data packet are used to represent the corresponding API service, thereby transforming the API service into a subsequent universal API Serve.
其中,所述服务数据包与所述接口数据包可以为jar包实现。例如,本实施例中基于MVC模型将API服务对象生成服务提供模块和服务接口模块之后,利用maven将两个模块分别打包成压缩文件,如jar包。Wherein, the service data package and the interface data package may be implemented as jar packages. For example, in this embodiment, after the API service object is generated into a service providing module and a service interface module based on the MVC model, maven is used to package the two modules into compressed files, such as jar packages.
数据包部署单元603,用于将所述服务数据包进行部署,并向用户提供所述接口数据包。The data package deployment unit 603 is configured to deploy the service data package and provide the user with the interface data package.
具体的,本实施例中可以将服务数据包及接口数据包注册到服务平台上,这里的服务平台可以是第三方平台,也可以是通用API服务的提供者平台。Specifically, in this embodiment, the service data package and the interface data package may be registered on the service platform, where the service platform may be a third-party platform, or a provider platform of a general API service.
例如,本实施例在获得服务数据包之后,将服务数据包及接口数据包发布到服务平台的分布式框架上,服务平台提供通用API服务的提供者与通用API服务消费者之间的通信服务,例如,通用API服务消费者通过客户端如手机或电脑等终端与服务平台之间进行通信。For example, after the service data package is obtained in this embodiment, the service data package and the interface data package are published on the distributed framework of the service platform, and the service platform provides the communication service between the provider of the general API service and the consumer of the general API service , for example, general API service consumers communicate with the service platform through terminals such as mobile phones or computers.
由此,服务平台向消费者即用户提供API服务的自由定制服务,并提供能够调用API服务的接口数据包及各类配置参数、相应的调用教程或者配置教程等。Thus, the service platform provides free customization services of API services to consumers, that is, users, and provides interface data packages capable of calling API services, various configuration parameters, corresponding call tutorials or configuration tutorials, etc.
请求接收单元604,用于接收用户服务调用请求。The request receiving unit 604 is configured to receive a user service call request.
其中,所述用户服务调用请求基于用户利用所需的目标接口数据包所进行的输入操作生成。例如,通用API服务的消费者在向API服务的提供者购买API服务的自由定制服务之后,服务平台向用户提供各种API服务的接口数据包,还可以向用户提供调用教程或配置教程等示例,由此,用户可以根据教程等示例,通过客户端基于所需要的目标接口数据包编写自己的调用方法、配置连接信息及想要请求的服务数据包及其版本号等参数,进而生成用户服务调用请求,客户端与API服务的提供者的服务平台建立通信,成为API服务请求者开始进行服务调用。本实施例通过对用户服务调用请求进行接收,开始受理API服务请求者的服务调用需求。Wherein, the user service call request is generated based on an input operation performed by the user using the required target interface data package. For example, after consumers of general API services purchase free customization services of API services from API service providers, the service platform provides users with interface data packages of various API services, and can also provide users with examples such as calling tutorials or configuration tutorials , thus, users can write their own calling method based on the required target interface data package, configure connection information, and parameters such as the service data package and its version number they want to request through the client according to examples such as tutorials, and then generate user services To call a request, the client establishes communication with the service platform of the API service provider, and becomes the API service requester to start the service call. In this embodiment, by receiving the user service call request, the service call demand of the API service requester is accepted.
服务调用单元605,用于基于所述用户服务调用请求,运行与所述用户服务调用请求相对应的目标服务数据包,得到服务结果。The service invoking unit 605 is configured to, based on the user service invocation request, run the target service data package corresponding to the user service invocation request to obtain a service result.
其中,本实施例中可以根据用户服务调用请求中的各种参数来实现目标服务数据包的调用及运行,具体参考图8,服务调用单元605可以通过以下结构实现:Among them, in this embodiment, the invocation and operation of the target service data package can be realized according to various parameters in the user service invocation request. Specifically referring to FIG. 8, the service invocation unit 605 can be implemented through the following structure:
参数确定子单元801,用于确定所述用户服务调用请求对应的配置参数及请求参数。The parameter determination subunit 801 is configured to determine configuration parameters and request parameters corresponding to the user service call request.
其中,所述请求参数中包含用户所需要调用的目标数据包的参数。Wherein, the request parameters include the parameters of the target data package that the user needs to invoke.
目标确定子单元802,用于基于所述请求参数,确定与所述用户服务调用请求对应的目标服务数据包。The target determination subunit 802 is configured to determine a target service data packet corresponding to the user service invocation request based on the request parameter.
数据包运行子单元803,用于基于所述配置参数,运行所述目标服务数据包,得到服务结果。The data package running subunit 803 is configured to run the target service data package based on the configuration parameters to obtain a service result.
结果输出单元606,用于将所述服务结果进行输出。The result output unit 606 is configured to output the service result.
由上述方案可知,本申请实施例四提供的一种API服务的管理装置,通过在获得需要进行部署的API服务对象之后,生成API服务对象的服务数据包和接口数据包,进而用户可以根据提供的接口数据包进行输入操作,如编写自己的调用方法、配置各种参数等,进而生成用户服务调用请求,本实施例在接收到这一请求之后运行对应的服务数据包,获得能够输出给用户的服务结果,由此根据用户自身的需求来为用户提供API服务,实现针对用户的API服务的自由定制。It can be seen from the above solution that the API service management device provided in Embodiment 4 of the present application generates the service data package and interface data package of the API service object after obtaining the API service object that needs to be deployed, and then the user can according to the provided Interface data packets for input operations, such as writing your own calling methods, configuring various parameters, etc., and then generating user service call requests. This embodiment runs the corresponding service data packets after receiving this request, and obtains the According to the service results of users, API services are provided for users according to their own needs, and the free customization of API services for users is realized.
参考图9,为本申请实施例五提供的一种API服务的管理装置的结构示意图,该装置还可以包括以下结构:Referring to FIG. 9 , it is a schematic structural diagram of an API service management device provided in Embodiment 5 of the present application. The device may also include the following structure:
对象设置单元607,用于在所述对象获得单元601获得至少一个API服务对象之后,对每个所述API服务对象设置对象标识,并设置每个所述API服务对象的对象参数。The object setting unit 607 is configured to set an object identifier for each of the API service objects after the object obtaining unit 601 obtains at least one API service object, and set object parameters of each of the API service objects.
其中,对象标识能够唯一表示其对应的API服务对象,该对象标识可以用于后续的API服务的服务数据包和接口数据包的生成及调用中。Wherein, the object identifier can uniquely represent its corresponding API service object, and the object identifier can be used in generating and invoking service data packets and interface data packets of subsequent API services.
而所述对象参数可以为API服务对象的接口的各种输入输出参数等。The object parameters may be various input and output parameters of the interface of the API service object.
参考图10,为本申请实施例六提供的一种API服务的管理装置的结构示意图,该装置还可以包括以下结构:Referring to FIG. 10 , it is a schematic structural diagram of an API service management device provided in Embodiment 6 of the present application. The device may also include the following structure:
服务计费单元608,用于基于所述服务结果进行计费操作。A service charging unit 608, configured to perform a charging operation based on the service result.
其中,本实施例中可以按服务次数进行扣费,每调用成功且满足扣费规则,就扣费一次。Wherein, in this embodiment, the fee can be deducted according to the number of times of service, and the fee will be deducted once every time the call is successful and meets the fee deduction rule.
以上本申请的实施例可以适用于在能够提供API服务的提供者的服务平台上,如服务公司的WEB系统上,以下结合图11中的服务开发流程图对本实施例的具体示例进行说明:The above embodiment of the present application can be applied on the service platform of the provider that can provide API services, such as the WEB system of the service company. The specific example of this embodiment will be described below in conjunction with the service development flow chart in FIG. 11 :
首先,整理通用API服务需求,调查哪些服务具有改造成通用性较高、实用性较强的API通用服务的潜力(如:手机实名认证、身份证实名认证等),抽取出API通用服务的需求,然后赋予每一个API通用服务唯一标识,并制定每一个接口的输入输出参数等标准。First, sort out the general API service requirements, investigate which services have the potential to be transformed into highly versatile and practical API general services (such as: mobile phone real-name authentication, identity verification name authentication, etc.), and extract the API general service requirements , and then give each API a unique identifier for the general service, and formulate standards such as input and output parameters of each interface.
然后,基于MVC模型开发通用API服务,包括具体实现WEB项目(服务提供模块)和提供给用户调用的接口(服务接口模块)这两部分,将服务提供模块和服务接口模块打包成jar包,分别为:服务数据包及接口数据包。Then, based on the MVC model, the general API service is developed, including two parts: the specific implementation of the WEB project (service provider module) and the interface provided to the user (service interface module), and the service provider module and the service interface module are packaged into jar packages, respectively. These are: service data packets and interface data packets.
其次,将具有唯一标识的API通用服务具体实现WEB项目部署到分布式框架如WEB系统上,或者称为:注册到服务平台,而作为API通用服务(即前文中的API服务)的服务提供者,与API通用服务消费者通信后,两边即可正常提供服务和消费服务。Secondly, deploy the WEB project of the API general service with a unique identifier to a distributed framework such as a WEB system, or call it: register to the service platform, and serve as the service provider of the API general service (that is, the API service in the previous article) , after communicating with the API general service consumer, both sides can provide services and consume services normally.
再次,用户在WEB系统上开通购买API通用服务,WEB系统会向用户提供调用示例和调用服务提供者方法的jar(接口数据包),获取调用API通用服务jar包(接口数据包)后,用户只需要按照WEB项目提供的教程提示调用即可。Thirdly, when the user activates and purchases the API general service on the WEB system, the WEB system will provide the user with a calling example and a jar (interface data package) for invoking the method of the service provider. After obtaining the calling API general service jar package (interface data package), the user Just follow the tutorial prompts provided by the WEB project to call.
之后,用户根据WEB系统提供调用用例,编写自己的调用方法,配置连接信息及想要请求的服务方法及版本号等参数,与API通用服务提供者的服务器通信,成为服务请求者并开始调用。Afterwards, the user writes his own calling method according to the calling use cases provided by the WEB system, configures the connection information and parameters such as the service method and version number to be requested, communicates with the server of the API general service provider, becomes a service requester and starts calling.
再然后,服务平台根据服务请求者的配置信息及请求参数,将请求分配给已注册的服务提供者方法,即服务数据包,再运行服务提供者方法处理相关业务逻辑请求并返回结果。Then, according to the service requester's configuration information and request parameters, the service platform assigns the request to the registered service provider method, that is, the service data package, and then runs the service provider method to process the relevant business logic request and return the result.
最后,用户作为服务消费者获取服务平台返回的结果。调用结束,实施扣费成功,流程结束。Finally, the user, as a service consumer, obtains the result returned by the service platform. The call ends, the deduction is successful, and the process ends.
由此,上述方案中,用户进行服务调用的请求方法便捷、安全,通过jar包访问服务提供者的服务平台,并请求服务,jar仅包含调用接口,不包含实现代码,高效又安全。而且请求方式具有低耦合性、良好的安全性和稳定性。Therefore, in the above solution, the request method for the user to call the service is convenient and safe. The service platform of the service provider is accessed through the jar package, and the service is requested. The jar only contains the calling interface and does not contain the implementation code, which is efficient and safe. And the request method has low coupling, good security and stability.
同时,本方案中无需额外部署项目,无需冗余运营成本,使用一套模板用户即可轻松实现API服务请求。At the same time, there is no need for additional deployment projects and redundant operating costs in this solution, and users can easily implement API service requests using a set of templates.
由此,通过本申请用户能够自由选择通用API服务,如图12所示,如身份实名认证、手机实名认证及其他API等(API1~API6),在开放API服务的自由定制之后,形成全生态业务线API成果,为更多中小型企业提供自助服务,为自己量身打造服务方案,实现私有化,定制化效果,从大中型时长走向中小型市场。Therefore, through this application, users can freely choose general API services, as shown in Figure 12, such as identity real-name authentication, mobile phone real-name authentication, and other APIs (API1~API6), after the free customization of API services is opened, a full ecosystem is formed The API results of the business line provide self-service for more small and medium-sized enterprises, tailor-made service solutions for themselves, realize privatization, and customize effects, from large and medium-sized enterprises to small and medium-sized markets.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present 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 (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read only memory (ROM) or flash RAM. The memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
以上对本申请所提供的一种API服务的管理方法及装置进行了详细介绍,对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The method and device for managing an API service provided by the present application have been introduced in detail above, and the above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the application. Therefore, the present application will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710277732.9ACN107046482B (en) | 2017-04-25 | 2017-04-25 | Method and device for managing API services |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710277732.9ACN107046482B (en) | 2017-04-25 | 2017-04-25 | Method and device for managing API services |
| Publication Number | Publication Date |
|---|---|
| CN107046482A CN107046482A (en) | 2017-08-15 |
| CN107046482Btrue CN107046482B (en) | 2019-10-11 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710277732.9AActiveCN107046482B (en) | 2017-04-25 | 2017-04-25 | Method and device for managing API services |
| Country | Link |
|---|---|
| CN (1) | CN107046482B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107707368A (en)* | 2017-09-12 | 2018-02-16 | 厦门集微科技有限公司 | The fee deduction treatment method and server of a kind of API service |
| CN108055248B (en)* | 2017-11-30 | 2020-12-25 | 平安科技(深圳)有限公司 | Dubbo framework-based remote calling method, server and storage medium |
| CN108173957B (en)* | 2018-01-03 | 2020-12-15 | 福建博士通信息有限责任公司 | Rapid configuration joint debugging platform for Http interface |
| CN108768928B (en)* | 2018-04-04 | 2021-04-13 | 厦门集微科技有限公司 | Information acquisition method, terminal and server |
| CN109144512B (en)* | 2018-08-22 | 2022-05-03 | 杭州数澜科技有限公司 | Method and system for generating API |
| CN109445841B (en)* | 2018-11-08 | 2022-04-22 | 深圳乐信软件技术有限公司 | Interface document management method, device, server and storage medium |
| CN110007950A (en)* | 2019-04-10 | 2019-07-12 | 优信拍(北京)信息科技有限公司 | A kind of management method of application programming interfaces, device and server |
| CN111049877B (en)* | 2019-10-21 | 2022-08-09 | 贝壳技术有限公司 | Big data external output method and device and data open platform |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102255867A (en)* | 2010-05-18 | 2011-11-23 | 华为技术有限公司 | Service request processing method, device and system |
| CN103345420A (en)* | 2013-06-03 | 2013-10-09 | 百度在线网络技术(北京)有限公司 | Method for massively calling API interfaces, system for massively calling API interfaces and device for massively calling API interfaces |
| US9246778B2 (en)* | 2013-08-12 | 2016-01-26 | International Business Machines Corporation | System to enhance performance, throughput and reliability of an existing cloud offering |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102255867A (en)* | 2010-05-18 | 2011-11-23 | 华为技术有限公司 | Service request processing method, device and system |
| CN103345420A (en)* | 2013-06-03 | 2013-10-09 | 百度在线网络技术(北京)有限公司 | Method for massively calling API interfaces, system for massively calling API interfaces and device for massively calling API interfaces |
| US9246778B2 (en)* | 2013-08-12 | 2016-01-26 | International Business Machines Corporation | System to enhance performance, throughput and reliability of an existing cloud offering |
| Publication number | Publication date |
|---|---|
| CN107046482A (en) | 2017-08-15 |
| Publication | Publication Date | Title |
|---|---|---|
| CN107046482B (en) | Method and device for managing API services | |
| US10721293B2 (en) | Hybrid cloud applications | |
| CN104717342B (en) | Method and device for waking up client application based on short message | |
| CN106354481B (en) | Method and equipment for uniformly mapping HTTP (hyper text transport protocol) request | |
| JP6382834B2 (en) | Computer-implemented method, system, and computer program product for deploying applications on computational resources | |
| WO2019019344A1 (en) | Webpage data crawling method and device, user terminal, and readable storage medium | |
| US20090271253A1 (en) | Electronic issuing of gift cards | |
| CN106909409A (en) | A kind of method and device of the APK plug-in units for running application program | |
| CN110598419A (en) | Block chain client vulnerability mining method, device, equipment and storage medium | |
| CN106909406A (en) | A kind of method and device of the APK plug-in units of loading application programs | |
| US8607205B2 (en) | Automatic generation of functional emulators for web service | |
| CN116820546A (en) | Code generation method, compiler, device, apparatus, and computer readable medium | |
| WO2023016151A1 (en) | Software framework of security application of linux system, and creation method for same | |
| CN112613063B (en) | A method and device for constructing a data verification system | |
| CN115225299B (en) | User authentication method, server and system | |
| CN118683384A (en) | Charging pile processing method and device, storage medium and electronic device | |
| CN112242901B (en) | Service verification methods, devices, equipment and computer storage media | |
| CN110866240A (en) | Intelligent password key calling method and system | |
| CN116739805A (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
| CN115776515A (en) | Software service providing method, device and equipment | |
| CN116260852A (en) | Calling method, equipment and medium for third party service | |
| CN116069491A (en) | Cloud computing resource processing method and device | |
| CN114338703A (en) | Cross-domain message management method and device, electronic device, and storage medium | |
| CN102236665A (en) | Page loading method and page loading device | |
| CN111832055A (en) | Authorization verification system and method |
| 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 | ||
| PE01 | Entry into force of the registration of the contract for pledge of patent right | Denomination of invention:A management method and device of API service Effective date of registration:20220425 Granted publication date:20191011 Pledgee:China Everbright Bank Limited by Share Ltd. Xiamen branch Pledgor:XIAMEN JIWEI TECHNOLOGY CO.,LTD. Registration number:Y2022980004792 | |
| PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
| PC01 | Cancellation of the registration of the contract for pledge of patent right | Granted publication date:20191011 Pledgee:China Everbright Bank Limited by Share Ltd. Xiamen branch Pledgor:XIAMEN JIWEI TECHNOLOGY CO.,LTD. Registration number:Y2022980004792 | |
| PC01 | Cancellation of the registration of the contract for pledge of patent right | ||
| PE01 | Entry into force of the registration of the contract for pledge of patent right | Denomination of invention:A management method and device of API service Granted publication date:20191011 Pledgee:China Everbright Bank Limited by Share Ltd. Xiamen branch Pledgor:XIAMEN JIWEI TECHNOLOGY CO.,LTD. Registration number:Y2025980024798 | |
| PE01 | Entry into force of the registration of the contract for pledge of patent right |