A platform interface called statistical system and method

A technology of interface calling and statistics system, which is applied in the direction of transmission system, file system, file system function, etc., and can solve problems such as troublesome operation

Inactive Publication Date: 2019-04-23
钛马信息网络技术有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When adding statistical services or statistical algorithms, secondary development is required, and the business code needs to be modified, which is cumbersome to operate

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
  • A platform interface called statistical system and method
  • A platform interface called statistical system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] Such as figure 1 As shown, this embodiment provides a platform interface called statistics system, which is characterized in that it includes a configuration module 1 , a collection module 2 , a Kafka message middleware 3 , an analysis module 4 and a statistics module 5 .

[0029] The configuration module 1 is used to configure the st...

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

A platform interface invoked statistical system comprises a configuration module used for configuring the statistical tags of all interfaces and a statistical algorithm adopted by each statistical tag based on services, wherein the statistical tags corresponding to the interfaces used by the same service are the same; an acquisition module which acquires an interface calling log of each interfaceand sends the interface calling log to the message middleware, wherein the interface calling log comprises an interface calling request, request time, interface feedback information and feedback time, and the interface calling request comprises an interface address; an analysis module which subscribes to an interface calling log in the message middleware, obtains an interface address in the interface calling log, and inquires a statistical label and a statistical algorithm which are correspondingly configured according to the interface address; and a statistical module which executes a statistical algorithm to count the occurrence frequency of the corresponding statistical label and stores a statistical result into a database. According to the present invention, the number of times that the interface is called is counted based on the statistical label and the statistical algorithm, statistics and service decoupling are carried out, and implementation of statistics cannot invade service logic.

Description

technical field [0001] The invention relates to the technical field of interface calling, in particular to a system and method for counting platform interface calls. Background technique [0002] With the popularization of microservice technology, there are more and more microservice cloud platforms providing services for third-party enterprises. In the automotive and transportation sector, many interfaces place particularly high demands on safety. At present, when statistics are made on the situations in which interfaces are called, statistics and business are combined together, and the implementation of statistics will invade business logic. When adding statistical services or statistical algorithms, secondary development is required, and the business code needs to be modified, which is cumbersome to operate. Contents of the invention [0003] Aiming at the problems and deficiencies in the prior art, the present invention provides a platform interface called statistics...

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 Applications(China)
IPC IPC(8): G06F16/25G06F16/17H04L12/24H04L29/08
CPCH04L41/085H04L41/142H04L67/2866H04L67/51
Inventor 贺红波
Owner 钛马信息网络技术有限公司
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