Unlock instant, AI-driven research and patent intelligence for your innovation.

Interface access method and device

An interface access and interface technology, applied in the computer field, can solve the problems of interface development, unable to use scripting language, etc., and achieve the effect of improving processing efficiency

Pending Publication Date: 2021-12-10
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides an interface access method and device, which can at least solve the problem that scripting language cannot be used for interface development in the prior art

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0054] see figure 1 , which shows the main flow chart of an interface access method provided by an embodiment of the present invention, including the following steps:

[0055] S101: Receive an access request for an interface address, determine an interface corresponding to the interface address, and determine whether to set a cache for the interface;

[0056] S102: If th...

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 interface access method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: receiving an access request for an interface address, determining an interface corresponding to the interface address, and judging whether a cache is set for the interface; if the cache is set, inquiring cache data based on an input parameter in the access request to obtain a query result and returning the query result; and if the cache is not set or the query result is that the input parameter does not exist, running the script of the interface to process the input parameter, obtaining a running result and returning the running result. According to the embodiment, the script of the interface is compiled by adopting multiple languages, the flow limiting measure is set for the interface to prevent interface service collapse caused by overlarge page view, and the caching measure is set to improve the interface service processing efficiency.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an interface access method and device. Background technique [0002] Among the current scripting languages, dynamic languages ​​such as Python are only suitable for script development. Due to the characteristics of its dynamic language, it has the advantages of being easy to learn, unrestricted, and can be used arbitrarily compared with C++, Java and other languages. However, due to the different programming ideas of different developers, sometimes the time spent on understanding far exceeds the time spent on writing code, which also leads to the disadvantages of high maintenance costs and low operating efficiency. [0003] Internet interface development will magnify the above shortcomings. A script may be tens to more than a hundred lines, requiring fewer developers, while Internet interface development is far more complicated than script development, requiring dozens of peop...

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): G06F8/30G06F9/448G06F11/36G06F3/06G06F16/25G06F16/2453
CPCG06F8/315G06F9/449G06F11/3684G06F3/0656G06F16/25G06F16/24539
Inventor 唐红雪刘业辉艾佳李均强袁建军
Owner BEIJING WODONG TIANJUN INFORMATION TECH CO LTD