Interface calling method and device, computer readable storage medium and computer equipment

A technology of interface calling and interface, which is applied in the computer field, can solve problems such as waste of interface resources, achieve the effects of reducing call overhead, saving interface resources, and realizing overload protection

Pending Publication Date: 2021-02-09
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide an interface calling method, device, computer-readable storage medium and computer equipment for the technical problem that the traditional overload protection method will cause waste of interface resources

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
  • Interface calling method and device, computer readable storage medium and computer equipment
  • Interface calling method and device, computer readable storage medium and computer equipment
  • Interface calling method and device, computer readable storage medium and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0034] Figure 1a It is an application environment diagram of an interface calling method in an embodiment. refer to Figure 1a , the interface calling method is applied to the application system. The application system includes a terminal 110 , an access server 120 and an application server 130 . The terminal 110 communicates with the access server 120 through a network. The access server 120 communicates with the application server 130 through a network. A target application runs on the terminal 110 . The application server 130 is a server that provides services for ...

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 relates to an interface calling method and device, a computer readable storage medium and computer equipment. The method comprises the steps: determining an interface calling link corresponding to a received service request; acquiring state information of each interface in the interface calling link; calculating the calling success probability of the corresponding interface accordingto the state information; when the calling success probability of each interface is greater than a threshold, calling the interface in the interface calling link to respond to the service request. According to the scheme provided by the invention, invalid interface calling overhead can be reduced, and interface resources are saved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to an interface calling method, device, computer-readable storage medium and computer equipment. Background technique [0002] With the development of computer technology, more and more application systems use multiple servers to realize the system architecture. When the application system provides services to users, the server that receives the service request may need to call the interface provided by other servers to pull the data that the service request depends on from other servers. However, the same interface may receive a large number of call requests from one or more servers at the same time. When the call volume exceeds the bearable capacity of the interface, it will cause the application system to overload and crash. Therefore, for high-concurrency application systems, overload protection is the key to protecting the stable and efficient operation of the over...

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): G06F9/54
CPCG06F9/547G06F2209/544
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