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

Interface call method and device

A technology of interface calling and interface, applied in the Internet field, can solve problems affecting service efficiency and service pressure overload, and achieve the effect of improving service efficiency and avoiding service pressure overload

Active Publication Date: 2020-02-07
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In related technologies, the server can provide external interface services, and each user can call the relevant interface in the server to obtain the corresponding service. If the interface is called more times, such as a web crawler, it will inevitably cause service pressure overload and affect service efficiency.

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 call method and device
  • Interface call method and device
  • Interface call method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0031] figure 1 is a flowchart of an interface calling method shown according to an exemplary embodiment, such as figure 1 As shown, the method for invoking an interface in this embodiment is used in a server, and includes the following steps.

[0032] In step S11, the invocation state of the interface within a preset time is obtained; the invocation state is a limited invocation sta...

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 present disclosure relates to a method and device for calling an interface. The method includes: obtaining the calling state of the interface within a preset time; the calling state is a limited calling state or a permitted calling state; In the state, an interface limited call message is sent, and the interface limited call message is used to indicate that calling the interface to provide services is prohibited; the limited interface call is realized, the service pressure overload phenomenon of the interface is avoided, and the service efficiency is improved.

Description

technical field [0001] The present disclosure relates to the technical field of the Internet, in particular to an interface calling method and device. Background technique [0002] In related technologies, the server can provide external interface services, and each user can call the relevant interface in the server to obtain the corresponding service. If the interface is called more times, such as a web crawler, it will inevitably cause service pressure overload and affect service efficiency. Contents of the invention [0003] In order to overcome the problems existing in the related technologies, the present disclosure provides an interface calling method and device. [0004] According to a first aspect of an embodiment of the present disclosure, an interface calling method is provided, including: [0005] Obtain the invocation state of the interface within a preset time; the invocation state is a limited invocation state or an allowed invocation state; [0006] When t...

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/08
CPCH04L67/30H04L67/51H04L67/60
Inventor 张旭华杨松陈志军
Owner BEIJING XIAOMI MOBILE SOFTWARE 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