Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

API calling method, device and system

A technology of API call and call request, applied in the Internet field, can solve problems such as security risks and achieve the effect of enhancing security

Active Publication Date: 2017-04-26
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In order to solve the problem that the third-party application server can directly call the API and use the corresponding user account to release information without authorization from the user account, so there will be potential security risks, the embodiment of the present invention provides an API calling method, device and system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • API calling method, device and system
  • API calling method, device and system
  • API calling method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0049] Please refer to figure 1 , which shows a schematic structural diagram of an implementation environment provided by an embodiment of the present invention. The implementation environment includes: a social server 120 , a third-party application server 140 and a client 160 .

[0050] The social server 120 is a background server of social application programs. The social server 120 may be a server, a server cluster composed of multiple servers, or a cloud computing center.

[0051] The third-party application server 140 is a background server of various application programs. For example, the application is a gourmet application, a game application, or a travel recommendation application. The third-party application server 140 m...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an API calling method, device and system, and belongs to the field of Internet technology. A social server monitors operation of a user account in a social business domain; when the operation is a pre-determined operation, the social server generates authorization information for a third-party application server; the authorization information is provided for the third-party application server; the social server receives a calling request for a predetermined API from the third-party application server; and when the calling request includes the authorization information, the social server executes a target operation in the social business domain by taking the user account as an account of the third-party application server. The hidden safety troubles caused by that the third-party application server can directly call information published by an API by using the corresponding user account can be avoided; and after being authorized by the user account, the third-party application server can execute the target operation in the social business domain by taking the user account as an account of the third-party application server, and the safety is enhanced.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to an API calling method, device and system. Background technique [0002] API (Application Programming Interface, Application Programming Interface) is a predefined function that can provide applications and developers with the ability to access a set of routines based on certain software or hardware. [0003] In order to allow the third-party application server to use the user account to publish information in the group, the social server in the prior art directly provides an API to the third-party application server. When the third-party application server needs to use the user account to publish information in the group, Directly call the API provided by the social server, and use the corresponding user account to publish information in the group where the user account belongs to. [0004] For example, the user account "Zhang San" is a group member in the group "Co...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/06H04L29/08G06Q50/00
CPCH04L63/10H04L67/34G06Q50/01
Inventor 张扬吴初潘林国华李海基
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products