Log recording method and micro-service system

A micro-service and log technology, which is applied in the fields of instruments, electrical digital data processing, hardware monitoring, etc., can solve the problems of third-party system docking difficulties and differences in log recording specifications, etc.

Active Publication Date: 2018-05-15
TAIKANG LIFE INSURANCE CO LTD
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For the logging of the integrated platform, the traditional logging method requires developers to write a large number of logging codes in each microservice in different fields, which brings a huge workload to developers
In addition, there are differences in the logging specifications of microservices in different fields, which makes it difficult to connect with third-party systems

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 micro-service system
  • Log recording method and micro-service system
  • Log recording method and micro-service system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] 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 creative efforts fall within the protection scope of the present invention.

[0052] The log recording method provided by the present invention is applied to a microservice system, figure 1 The application scenario diagram of the method for recording logs provided by the present invention, such as figure 1 As shown, the microservice system provided by the embodiment of the present invention is a system that provides servic...

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 provides a log recording method and a micro-service system. The system is a system which provides services for at least two service domains, the types of micro-services to be provided are determined by receiving a micro-service request sent by a terminal, corresponding public SDKs are obtained according to the types of the micro-services to be provided, the public SDKs are called torecord logs of the micro-services corresponding to the micro-service request, and a micro-service response is sent to the terminal according to the logs of the micro-services. By calling the public SDKs, the system logs are recorded according to a user-defined processing method in the public SDKs, it is ensured that the standardization and consistency record of the micro-service logs of the same type in different domains is achieved by the micro-service system, developers monitor the running condition of the micro-service system conveniently, and therefore various micro-services provided by the system are continuously improved.

Description

technical field [0001] The invention relates to the field of system development, in particular to a method for recording logs and a microservice system. Background technique [0002] With the continuous refinement of the needs of the medical and elderly care industry, higher requirements have been put forward for the construction of the underlying medical and elderly care related information systems, and the medical and elderly care integration platform has emerged as the times require. The medical care integration platform includes all information in the medical and elderly care fields. The integrated platform adopts a microservice architecture, and a large number of businesses are built based on microservices in different fields. In the development process of huge microservice providers, they will inevitably face the logging and output of microservices in different fields, docking with third-party systems (such as splunk log analysis platform), and monitoring the operation...

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): G06F11/30
CPCG06F11/3051G06F11/3065
Inventor 张海滨
Owner TAIKANG LIFE INSURANCE 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