Check patentability & draft patents in minutes with Patsnap Eureka AI!

Log collection method and device for application in container, medium and electronic equipment

A collection method and container technology, which can be used in computer security devices, instruments, electrical digital data processing, etc., and can solve problems such as inconvenience and cost

Pending Publication Date: 2020-11-06
PING AN SECURITIES CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, when these two collection methods are implemented at the same time, it is generally necessary to add the method of mounting external shared storage, which is not convenient and costs a lot

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 collection method and device for application in container, medium and electronic equipment
  • Log collection method and device for application in container, medium and electronic equipment
  • Log collection method and device for application in container, medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0030] Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logic...

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 relates to the field of log monitoring of artificial intelligence, and discloses a log collection method and device for applications in a container, a medium and electronic equipment. The method comprises the following steps: establishing a first path in a target container, and assigning the first path to a second path of the target container by using a soft link; mounting the firstpath to a third path of a host machine where the container group is located, so that logs output by the target application are synchronized to the third path through the first path; establishing a fourth path in the log container of the container group where the target container is located, and appointing the fourth path to a fifth path of the target container by utilizing the soft link; and establishing a log volume in the container group where the target container is located, mounting the log volume to the container group, and mounting the first path and the fourth path to the log volume soas to share the log of the first path with the fourth path of the log container through the log volume. According to the method, log collection and log persistence in the container are achieved at thesame time under the condition that external shared storage is not mounted, and log collection convenience is improved.

Description

technical field [0001] The present disclosure relates to the technical field of artificial intelligence log monitoring, and in particular to a log collection method, device, medium and electronic equipment applied in a container. Background technique [0002] With the increasing maturity of containerization technology, docker technology and kubernetes technology are more and more widely used in the computer field. In particular, the monitoring requirements brought about by the application of artificial intelligence technology put forward higher requirements for log collection. At present, in order to store or analyze the logs of applications such as artificial intelligence based on kubernetets containers, the collection of application logs based on kubernetets containers generally includes two methods: collection in the container and collection after the logs are persisted. The collection method in the container There is no need to log logs to the host to complete log colle...

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): G06F21/55
CPCG06F21/552
Inventor 王洪军
Owner PING AN SECURITIES CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More