API interface development method and device, equipment and storage medium

Through the API interface development method, the interface implementation is determined using HTTP servers and interceptors, and the requests and results are processed through processors and implementation methods, the problem of insufficient interface flexibility and scalability is solved, real-time modification and hot update of the interface are realized, and complex enterprise-level application integration is supported.

CN119690423APending Publication Date: 2025-03-25HENAN HUJIAJIA HEALTH TECH CO LTD
5 Cites 1 Cited by

Patent Information

Application Number
CN202411867366.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-18
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The existing technology has limitations in terms of interface flexibility and scalability, and it is difficult to meet the challenges brought by changes in business needs and technological advancements.

Method used

By providing an API interface development method, the target HTTP request is determined using an HTTP server and an interceptor, the target interface implementation is determined based on the interface definition table and the binding relationship table, and the interface flexibility and scalability are realized through the preprocessor, implementation method and postprocessor to process the requests and results.

Benefits of technology

Real-time modification and thermal update of interfaces are realized, the scalability and flexibility of interfaces are improved, and complex enterprise-level application integration scenarios are supported.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses an API interface development method and device, equipment and a storage medium, and relates to the technical field of software development, and the method comprises the following steps: determining API interface definition and interface implementation, storing API interface definition information and interface implementation in an interface definition table and an interface implementation table, determining a binding relationship between the API interface definition and the interface implementation, and storing the binding relationship in a binding relationship table; determining a target HTTP request, querying an API interface definition based on a request path, determining target interface implementation, and loading the target interface implementation to a memory; calling a preprocessor to process an original request parameter of the target HTTP request to obtain a processed request parameter, and executing processing logic on the processed request parameter based on the implementation mode to obtain an execution result; and processing the execution result by using a rear processor to obtain a target processing result, and obtaining an HTTP response object according to the target processing result and sending the HTTP response object to the calling party. The flexibility and expansibility of the interface can be improved.
Need to check novelty before this filing date? Find Prior Art