Log recording method and device

A recording method and log technology, applied in the computer field, can solve the problems of scattered development and maintenance costs of log records, and achieve the effects of obtaining interface description information, improving efficiency, and ensuring consistency.

Active Publication Date: 2021-01-08
QINGDAO HISENSE TRANS TECH
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a log recording method and device for solving the pr

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
  • Log recording method and device
  • Log recording method and device
  • Log recording method and device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0064] In order to make the purpose, technical solution and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0065] figure 1 It is a schematic diagram of a log recording microservice system architecture provided by an embodiment of the present invention. like figure 1 As shown, the microservice system 100 includes a gateway microservice 101, which realizes the unified sending and receiving of user requests and user responses; business microservices 103-105, which are used to solve various business requests; Services (including gateway microservice 101 and business microserv...

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 invention relates to the technical field of computers, in particular to a log recording method and device, which are used for realizing unified, centralized and non-invasive logrecording. The method comprises the following steps that a gateway micro-service acquires a user request for a service micro-service; the gateway micro-service determines a first preset field and a second preset field from the user request; the gateway micro-service obtains a third preset field corresponding to the first preset field from the request interface dictionary, wherein the request interface dictionary is obtained by the gateway micro-service through each business micro-service; and the gateway micro-service generates a log record of the user request at least according to the secondpreset field and the third preset field.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a log recording method and device. Background technique [0002] At present, with the increasing complexity and size of business systems, the monolithic architecture poses a huge challenge to the development and operation and maintenance of the system, and the microservice architecture has emerged as the times require. In the current development of microservice architecture, each microservice performs log recording and maintenance in its own module, so each microservice needs to configure or call the logging method, and the development workload is large and scattered. If there is a change in log processing , you need to modify all configuration places, resulting in huge development and maintenance costs; at the same time, log records are embedded in microservices, which are highly intrusive to microservices. In addition, each microservice may be d...

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): H04L12/24H04L29/08
CPCH04L41/069H04L67/51H04L67/60
Inventor 陈屹孙希展段雅鑫陈维强孙永良于涛王玮孙镜涛王中伟李建伟
Owner QINGDAO HISENSE TRANS TECH
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