发明名称 |
Method and device for controlling invocation of an application programming interface |
摘要 |
A computer-implemented method for controlling invocation of application programming interface (API) is provided. The method includes categorizing a plurality of APIs according to a plurality of API categories. The API categories are categorized by an API function through which user information is obtained. The method further includes setting a default invoking permission for a respective API category, and detecting, in real time, an attempt by an application to invoke an API in the respective API category. Upon detecting the attempted invocation of the API in the API category by the application, the method further includes controlling the invoking behavior of the API by the application in accordance with the default invoking permission for the API category. |
申请公布号 |
US9152786(B2) |
申请公布日期 |
2015.10.06 |
申请号 |
US201314079589 |
申请日期 |
2013.11.13 |
申请人 |
TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED |
发明人 |
Zeng Xing;Liang Jiahui;Li Danhua;Tang Wenliang |
分类号 |
G06F17/30;G06F21/52;G06F9/445 |
主分类号 |
G06F17/30 |
代理机构 |
Morgan, Lewis & Bockius LLP |
代理人 |
Morgan, Lewis & Bockius LLP |
主权项 |
1. A computer-implemented method of controlling invocation of an application programming interface (API), the method comprising:
at a computer having a processor and memory for storing one or more programs:
categorizing a plurality of APIs according to a plurality of API categories, wherein the API categories are categorized by an API function through which user information is obtained;setting a default invoking permission for a respective API category;detecting, in real time, an attempt by an application to invoke an API in the respective API category; andupon detecting the attempted invocation of the API in the API category by the application, controlling the invoking behavior of the API by the application in accordance with the default invoking permission for the API category, wherein the default invoking permission for the API category may be altered by a user-selected current invoking permission. |
地址 |
Shenzhen, Guangdong Province CN |