Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A log storage method, control node and computer-readable storage medium

A technology for controlling nodes and logs, applied in the field of cloud services, which can solve problems such as vulnerability to attack, data destruction, and reduced database query efficiency, and achieve the effect of improving data query efficiency

Active Publication Date: 2022-05-27
XIAMEN JIWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The operation logs of traditional cloud platforms are mainly stored in relational databases or non-relational databases. As the amount of data increases, the query efficiency of the database gradually decreases, which has a great impact on the overall efficiency of the cloud platform.
At the same time, traditional relational databases or non-relational databases are vulnerable to attacks, causing data to be stolen, tampered with, added or deleted, resulting in data destruction

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 log storage method, control node and computer-readable storage medium
  • A log storage method, control node and computer-readable storage medium
  • A log storage method, control node and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] like figure 1 As shown, a log storage method according to an embodiment of the present invention includes the following steps:

[0044] Step 101: the control node receives the log reported by the cloud management platform and the log reported by at least one cloud host;

[0045] It should be noted that the operation log of the traditional cloud platform mainly records the operation log related to the cloud management platform, does not involve the relevant operation log inside the cloud host, and lacks a complete record of the overall log of the platform. The operation log of the cloud management platform is provided unilaterally, which is not enough to provide an effective and complete basis for major accidents and internal failures of the cloud host. This application records important operations and system error logs inside the cloud host. It has been extended to provide effective supplementary means for corresponding auditing and fault location.

[0046] In this em...

Embodiment 2

[0086] This embodiment solves the single point of failure problem in the traditional database by setting up multiple control nodes. Even if the log recording process of a certain control node has an accident, other control nodes can still record the logs of the entire cloud platform normally.

[0087] like Image 6 As shown, a log storage method according to an embodiment of the present invention includes the following steps:

[0088] Step 601: Competitively select a current control node among multiple control nodes;

[0089] In this embodiment, the control node may be the cloud management platform and / or the cloud host.

[0090] It should be noted that this application does not limit the method of how to select a current control node from a plurality of the control nodes. control node; or a current control node (usually the node where the cloud management platform is located) can be pre-specified, and when the current control node is down or a program abnormality occurs, an...

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 present application discloses a log storage method, a control node, and a computer-readable storage medium. The method includes: the control node receives the log reported by the cloud management platform and the log reported by at least one cloud host; the control node creates the current block, and the The current block includes a block header and a log side chain, the block header includes a hash value of the previous block, and the log side chain stores received logs in a predefined order. This application stores the log reported by the cloud management platform and the log reported by the cloud host in the log side chain, and includes the hash value of the previous block in the block header, so as to provide the cloud platform with a reliable, accurate and tamper-proof operation log service , to provide further reliable services for the follow-up functions of the cloud platform, and use the data query advantages of the chain to improve the efficiency of data query.

Description

technical field [0001] The present invention relates to, but is not limited to, the technical field of cloud services, and in particular, relates to a log storage method, a control node and a computer-readable storage medium. Background technique [0002] The operation logs of traditional cloud platforms are mainly stored in relational databases or non-relational databases. As the amount of data increases, the query efficiency of the database gradually decreases, which has a great impact on the overall efficiency of the cloud platform. At the same time, traditional relational databases or non-relational databases are vulnerable to attacks, causing data to be stolen, tampered with, added or deleted, resulting in data damage. SUMMARY OF THE INVENTION [0003] The embodiments of the present invention provide a log storage method, a control node, and a computer-readable storage medium, which can provide a cloud platform with a reliable, accurate, and tamper-resistant 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 Patents(China)
IPC IPC(8): G06F11/34G06F16/51
CPCG06F11/3438
Inventor 杨清强彭明媛严晓杰林子皇
Owner XIAMEN JIWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products