API call method, device and system

A technology of API calls and call requests, applied in the Internet field, can solve problems such as potential safety hazards, and achieve the effect of enhancing security

Active Publication Date: 2020-09-04
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 0 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 call method, device and system
  • API call method, device and system
  • API call method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be described in further 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 applications. 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 for various application programs. For example, the application is a food application, a game application, or a travel recommendation application. The third-party application server 140 may be a server, a serve...

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 field of Internet technology, 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 third-party application servers to borrow user accounts 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 borrow user accounts to publish information in the group, Directly call the API provided by the social server, and use the corresponding user account to post information in the group where the user account is located. [0004] For example, the user account "Zhang San" is a group member in the group "community big family...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06H04L29/08G06Q50/00
CPCG06Q50/01H04L63/10H04L67/34
Inventor 张扬吴初潘林国华李海基
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products