Method, device, equipment and storage medium for acquiring interface parameter type

A technology of interface parameters and parameter types, applied in the network field, can solve the problems of huge log volume, large resource and time consumption, and achieve the effect of simple acquisition method, reduced investment, and resource and time saving

Active Publication Date: 2021-06-08
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of implementing the present disclosure, the inventor found that the prior art has the following defects: Since the log analysis is based on big data mining, the log volume of the interface is very large, and it takes a lot of resources and time to store the log files of the interface And parse it to get the interface parameter type of each interface

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
  • Method, device, equipment and storage medium for acquiring interface parameter type
  • Method, device, equipment and storage medium for acquiring interface parameter type
  • Method, device, equipment and storage medium for acquiring interface parameter type

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 It is a flow chart of the method for obtaining interface parameter types provided by Embodiment 1 of the present disclosure. This embodiment is applicable to obtain the interface parameter types of the data interfaces on the traffic proxy server. This method can be executed by the device for obtaining interface parameter types. The device can be implemented by software and / or hardware, and can generally be integrated in a traffic proxy server. The method specifically includes the following steps:

[0028] S110. Obtain data exchange information of the data interface on the traffic proxy server.

[0029] A traffic proxy is a network service through which a user's network terminal (such as a client) is connected to a network terminal (such as a background server) that provides network information; a traffic proxy server is a computer system or other type of network that provides traffic proxy services. The network terminal sends or receives information through me...

Embodiment 2

[0047] figure 2 It is a flow chart of a method for obtaining an interface parameter type in Embodiment 2 of the present disclosure. This embodiment is embodied on the basis of the above-mentioned embodiments. In this embodiment, if it is judged that the parameter type of the interaction data is the first For a preset attack type, the data interaction information is stored. Correspondingly, the method in this embodiment specifically includes the following operations:

[0048] S210. Obtain data exchange information of the data interface on the traffic proxy server.

[0049] S220. Analyze the interaction data in the data interaction information of the data interface to obtain parameters and parameter values ​​of the interaction data in the data interaction information.

[0050] S230. Update the interface parameter type statistical table of the data interface according to the parameter value of the interaction data, where the interface parameter type statistical table includes ...

Embodiment 3

[0056] image 3 It is a flow chart of a method for obtaining an interface parameter type in Embodiment 3 of the present disclosure. This embodiment is embodied on the basis of the above-mentioned embodiments. In this embodiment, the second header information of the data return information includes status code. Correspondingly, the method in this embodiment specifically includes the following operations:

[0057] S310. Obtain data return information of the data interface on the traffic proxy server.

[0058] S320. Parse the second header information of the data return information to obtain a status code.

[0059] The status code (Status Code) is sent by the background server to indicate the status of the HTTP response. It is a 3-digit code, including message (starting with 1), success (starting with 2), redirection (starting with 3), request error (beginning with 4) and server error (beginning with 5 or 6) five types. For example, 413 indicates that the background server re...

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 embodiment of the present disclosure discloses an interface parameter type acquisition method, device, device, and storage medium; the method includes: acquiring data interaction information of a data interface on a traffic proxy server; interacting with the data interaction information of the data interface Analyze the data to obtain the parameters and parameter values ​​of the interaction data in the data interaction information; update the interface parameter type statistics table of the data interface according to the parameter values ​​of the interaction data; The parameter type statistical table is used to obtain the interface parameter type of the data interface. In the technical solution of the disclosed embodiment, the parameter type is obtained by directly obtaining the data interaction information of the data interface, and the interface parameter type is determined by updating the interface parameter type statistics table, so as to realize the real-time statistics of the interface parameter type and avoid the The storage and calculation of files saves time and resource consumption.

Description

technical field [0001] Embodiments of the present disclosure relate to the field of network technologies, and in particular, to a method, device, device, and storage medium for acquiring an interface parameter type. Background technique [0002] With the rapid development of network technology, more and more software has come into people's sight, providing people with various network services. [0003] The software service provides the user with an interactive interface. The bottom layer usually realizes data communication through the interface (ApplicationInterface). With the increase of business volume or the update of business type, the number of interfaces of the traffic proxy server will increase greatly, and the interface functions will also change. Therefore, it is necessary to analyze the work log of the interface, count the functions of each interface, and perform interface completion or interface replacement to ensure the smooth operation of the business. [0004]...

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/08G06F11/34
CPCH04L67/02H04L69/22G06F11/3452G06F11/3476H04L67/56H04L67/60
Inventor 马鹏
Owner BEIJING BYTEDANCE NETWORK TECH 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