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

A single operation and maintenance multi-tcp connection aggregation method for an operation and maintenance audit system

An aggregation method, a technology of dimensionality, applied in the field of data processing

Active Publication Date: 2021-08-20
CHENGDU DBAPP SECURITY
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention discloses a single operation and maintenance multi-TCP connection aggregation method of an operation and maintenance audit system, which aims to solve the above problems, and can effectively solve the problem of single connection caused by the difficult multi-TCP concurrent mode of the client in the operation and maintenance audit system. The problem of multiple audit sessions in operation and maintenance eliminates the confusion of users when querying audit logs. One client operation and maintenance generates dozens or hundreds of audit sessions; it can also normalize the audit data associated with sessions to improve user experience. Query experience

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 single operation and maintenance multi-tcp connection aggregation method for an operation and maintenance audit system
  • A single operation and maintenance multi-tcp connection aggregation method for an operation and maintenance audit system
  • A single operation and maintenance multi-tcp connection aggregation method for an operation and maintenance audit system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] A single operation and maintenance multi-TCP connection aggregation method for an operation and maintenance audit system. Recorder uses the SID to perform the connection operation locally first. If the connection operation fails, it will elevate its authority to the master of this operation and maintenance session, and use the SID to create a Unix Bind the local socket to the path of the SID name, start monitoring and register the event response processing function; if the connection operation is successful, the Recorder authority will be reduced to slave, which does not have the audit data write authority and can only redirect the audit data to the master process for processing.

[0024] The user's client opens a connection, and the target is the protocol proxy port of the operation and maintenance audit system's response; when the operation and maintenance audit system receives the connection, it creates a new protocol proxy process for processing, and at the same time...

Embodiment 2

[0027] This embodiment is optimized on the basis of embodiment 1, such as image 3 As shown, the customer executes the query request, and first judges whether the Recorder is the master for the audit data generated during the interaction. If the Recorder is the master, the audit data is directly written by the master to the audit data storage engine interface; otherwise, the Slave recorder process is established through the SID The IPC channel notifies the master recorder. The master recorder process checks the current waiting queue. If the queue is not full, it notifies the slave recorder that the status is Pass. If the queue is full, it notifies the slave that the status is Wait. The slave recorder will request again after 10s.

[0028] If the status is Pass, the Slave recorder will send the processing Slave ID number, data generation time and corresponding audit data to the waiting queue of the master recorder through the IPC channel. All the slave process audit data in the...

Embodiment 3

[0032] This embodiment is optimized on the basis of embodiment 1 or 2, as image 3 As shown, when a connection session of the user is disconnected, the protocol proxy module checks whether the current recorder belongs to the master authority; There are Slave processes still executing; if there are still Slave processes, the master process of this session terminates the protocol proxy function, sets the status to Inactive, and is fully responsible for processing all requests of the current Slave recorder, and the master recorder cannot be terminated until all Slave exits; otherwise Only the master process is still processing the current session, indicating that the operation and maintenance of the client is over, and the master process can be exited normally.

[0033] If it is not the master authority, the work of the connection processing unit of the Slave authority ends this time, and the master is notified that the slave session connection has ended, triggering the master to...

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 discloses an operation and maintenance audit system's single operation and maintenance multi-TCP connection aggregation method. The Recorder uses the SID to perform the connection operation locally first. If the connection operation fails, the authority is elevated to the current operation and maintenance session master, and Use the SID to create a Unix local socket and bind it to the path of the SID name, start monitoring and register the event response processing function; if the connection operation is successful, the Recorder permission will be reduced to slave, and it does not have the write permission of the audit data. Audit data is redirected to the master process for processing. The present invention can effectively solve the problem of multiple audit sessions in a single operation and maintenance mode brought about by the multi-TCP concurrent mode of the client, eliminate the confusion of users when querying audit logs, and generate dozens or hundreds of audit sessions in one client operation and maintenance ; It can also normalize the audit data associated with the session to improve the user's query experience.

Description

technical field [0001] The invention belongs to the technical field of data processing, and in particular relates to a multi-TCP connection aggregation method for a single operation and maintenance audit system. Background technique [0002] The current user client functions are becoming more and more intelligent and efficient, which significantly improves the user's work efficiency. Behind the increasing efficiency of these clients, user requests are essentially processed in parallel at the same time: through multiple TCP connections to the specified target host, and concurrent data requests are made on multiple connections at the same time, so that the user experience Doubling the improvement. If the user wants to audit and record the operation and maintenance data generated by the client, the operation and maintenance audit system needs to intervene in the multi-TCP connection session between the current client and the destination host, but the current operation and main...

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): H04L29/08H04L29/06G06F9/54
CPCH04L67/141H04L67/14H04L69/16H04L69/162G06F9/546H04L69/22H04L67/566
Inventor 王继洪范渊吴永越郑学新刘韬
Owner CHENGDU DBAPP SECURITY
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