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

Application programming interface cache management method, application server and storage medium

An application program interface and application server technology, which is applied in the fields of application program interface cache management, application server and storage medium, can solve the problems of slow response speed, high cost, affecting terminal power consumption, etc., to improve speed, reduce power consumption, Improve the effect of the application experience

Active Publication Date: 2020-09-18
好活(昆山)网络科技有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to propose an application program interface cache management method, application server and storage medium, aiming at solving the problems of high cost, slow response speed and affecting terminal power consumption in the existing interface cache technology

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
  • Application programming interface cache management method, application server and storage medium
  • Application programming interface cache management method, application server and storage medium
  • Application programming interface cache management method, application server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0091] First of all, the present invention proposes an application program interface cache management method, the application program interface cache management method is applied to image 3 Application server 200 is shown. In this embodiment In this embodiment, according to different requirements, Figure 4 The execution order of the steps in the flow chart shown can be changed, and some steps can be omitted. The application program interface cache management method includes the following steps:

[0092] Step S401, receiving the interface call request sent by each terminal in real time;

[0093] Step S402, counting all interface call requests received within a preset period of time to determine the target interface;

[0094] Specifically, in this embodiment, the terminal mainly refers to the above-mentioned Figure 1-3 terminal as shown. When an application program on each terminal needs to call an interface, the terminal will send an interface call request to the corresp...

Embodiment 2

[0125] In addition, the present invention provides an API cache management program 10 .

[0126] Such as Figure 9 Shown is a schematic diagram of a hardware structure diagram of an optional application server in various embodiments of the present invention. Application server 200 includes processing 210 , memory 211 and communication bus 212 . The communication bus 212 is used to realize connection and communication between the processor 210 and the memory 211 . Such as Figure 10 As shown, it is a schematic diagram of functional modules of the API cache management program 10 provided by the second embodiment of the present invention. In this embodiment, the API cache management program 10 can be divided into one or more modules, and the one or more modules are stored in the memory of the application server 200, and are composed of one or more executed by a processor to complete the present invention. For example, in Figure 10 In the above, the API cache management pro...

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 application program interface cache management method, an application server and a computer-readable storage medium, belonging to the technical field of communication. The method includes: receiving interface call requests sent by each terminal in real time; counting all interface call requests received within a preset time period to determine a target interface; obtaining all interface call requests of the target interface within the preset time period record to determine the target router; and send the cached data including the return value of the target interface to the target router to be cached by the target router. Compared with the prior art, the present invention utilizes the method of storing the return values ​​of some frequently called interfaces on the router to ensure that the terminal can directly obtain the interface return values ​​through the router when calling these interfaces, reducing the need for interface call requests. The communication link passed. The speed of interface calling is improved, the power consumption of the terminal is also reduced, the user's application experience is improved, and the cache cost on the server side is also reduced.

Description

technical field [0001] The present invention relates to the technical field of terminals, in particular to an application program interface cache management method, an application server and a storage medium. Background technique [0002] When the application starts, multiple interfaces are called to load resources. Specifically, multiple interfaces initiate HTTP requests to the application server respectively, and then receive resources returned by the server. With the development of the mobile Internet, there are more and more terminals, and each application program (client) on the terminal requests more and more data from the application server. In order to improve the running speed of the application, the cache service required by the application server is also getting larger and larger. However, in the process of the client requesting the server interface, there are still many links for communication, and the efficiency is not high enough. The problems existing in th...

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): H04L12/747H04L29/08
CPCH04L45/742H04L67/1014H04L67/34H04L67/568H04L67/63Y02D30/50
Inventor 倪秉炬
Owner 好活(昆山)网络科技有限公司
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