面向高并发API服务的AI网关多级缓存同步方法和系统

By employing a multi-level caching synchronization method in the AI ​​gateway, request routing and security authentication are performed in memory. Leveraging the high-speed read and write characteristics of memory, the problems of traffic management and load balancing for high-concurrency API services are solved, resulting in an AI gateway system with high concurrency and low latency response.

CN120528975BActive Publication Date: 2026-07-17HANGZHOU PINGPONG INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HANGZHOU PINGPONG INTELLIGENT TECH CO LTD
Filing Date
2025-05-28
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

AI gateways face challenges in traffic management and load balancing when handling high-concurrency API services. Furthermore, the high cost and frequent switching required when users use multiple large AI models lead to performance bottlenecks and increased latency.

Method used

A multi-level caching synchronization method is adopted to perform request routing, security authentication and flow control in memory. It leverages the high-speed read and write characteristics of memory to reduce dependence on backend cache and database. Data consistency is maintained through a publish-subscribe mechanism, supporting high-concurrency request processing.

Benefits of technology

It achieves ultra-high throughput and low latency response, reduces reliance on backend caching and databases, avoids performance bottlenecks, supports tens of thousands of concurrent requests per second, and ensures data consistency and system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120528975B_ABST
    Figure CN120528975B_ABST
Patent Text Reader

Abstract

本发明公开一种面向高并发API服务的AI网关多级缓存同步方法及系统,获取请求提取请求中的数据信息,在内存中进行请求路由、安全认证、服务鉴权、流量控制;当请求次数达到预设阈值时,将所述数据信息写入系统缓存和 / 或数据库进行更新;当用户进行充值操作时,通过UpdateUser函数基于多级缓存架构获取用户数据进行余额计算及更新;基于发布订阅机制实时更新内存数据信息至系统缓存及数据库以进行数据一致性维护。在内存中完成请求路由、安全认证等关键操作,利用内存的高速读写特性,极大降低请求处理延迟,支撑每秒万级甚至更高的并发量。减少对后端缓存和数据库的依赖,避免性能瓶颈。
Need to check novelty before this filing date? Find Prior Art