摘要
为防止开放系统的公共接口被过度调用,本文提出一种面向系统内部的访问频率限制服务轻型模型,并给出泛型键值索引、频率约束算法等关键技术实现。该服务模型抽象了各种业务的访问频率限制逻辑,记录各个键值对特定业务的访问间隔和访问时间,通过频率约束算法,为系统公共接口提供访问频率约束依据,使得公共接口可以对外界请求做出拒绝,消除了因接口过调用而带来的系统安全隐患,提高了系统的服务质量以及接口调用的有效性。
To prevent the public interfaces from being over-invoked, this paper proposes an Access Frequency Restrict Service (AFRS) Model, which abstracts various access frequency restrict logic, recording the invoking-time and interval by key-business-pair. The public interfaces of open systems can rely upon the result responded by AFRS. And in this way, the public interfaces can tell whether to deny the requests from the outside or not, thus the security and the QoS of the public service interface can be guaranteed. The Implementation of General-Key-Indexing method and access-frequency-restrict algorithm will be focused in this paper.
出处
《信息通信》
2009年第1期37-40,共4页
Information & Communications