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

SVN-based method for automatic statistics of configuration audit information

A statistical method and automatic technology, applied in computing, special data processing applications, instruments, etc., can solve the problems of time-consuming and human resources, low statistical efficiency, and a large amount of time extraction, so as to save extraction and analysis time and avoid Large time span and the effect of ensuring confidentiality performance

Active Publication Date: 2015-09-23
CSR ZHUZHOU ELECTRIC LOCOMOTIVE RES INST
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, when the SVN repository creates a trunk folder, it only assigns read and write permissions to the creator user by default, while other users do not have read permissions to the trunk folder. If you use other users to apply for reading SVN logs, you cannot Get full SVN log
Usually, configuration management does not have a fixed administrator user, so it is impossible to obtain the full version of the log at any time;
[0005] 2) In actual application, the statistical workload is heavy and the statistical efficiency is low
For projects with strong confidentiality, users with global access are not allowed, so it is necessary to use multiple accounts with different permissions to perform multiple export logs to obtain complete SVN logs; for large-scale software (such as millions of lines of code) and For a large team (such as hundreds of users), when it is necessary to review and count the configuration management information of SVN, or to track the code submission status of a product in a certain period of time, it is only possible to manually export all SVN related log information, and then process it, which requires a lot of time and human resources; for logs with a long span, SVN needs a lot of time to extract and parse;
[0006] 3) The statistical method is fixed, and only one method of statistics can be performed each time according to the needs of the applicant. When the statistical applicant needs to update the statistical conditions, it is necessary to re-export a variety of qualified log files for statistical analysis

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
  • SVN-based method for automatic statistics of configuration audit information
  • SVN-based method for automatic statistics of configuration audit information
  • SVN-based method for automatic statistics of configuration audit information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040]The present invention will be further described below in conjunction with the accompanying drawings and specific preferred embodiments, but the protection scope of the present invention is not limited thereby.

[0041] Such as figure 1 As shown, the present embodiment is based on the configuration audit information automatic statistics method of SVN, and the steps include:

[0042] 1) File extraction: Query the version library information on the SVN server within the specified statistical time period, filter out the original log files corresponding to all user change operations between the current statistical time period and the last statistical time period, and copy a copy Filtered raw log files;

[0043] 2) File analysis: Analyze the copied original log files separately, and obtain the change operation information including the operation object, operation time, file path and file operation status corresponding to the change operation from each original log file;

[0...

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 SVN-based method for automatic statistics of configuration audit information. The method comprises the steps as follows: 1) inquiring version repository information on an SVN server in an appointed statistical time period and selecting original journal files corresponding to all user change operations between the current statistical time period and the last statistical time period, and making a copy of the selected original journal files; 2) separately analyzing each copied original journal file to obtain change operation information including the account and time of the change operation, the file path of the change operation and the file operation state; 3) performing statistics on the change operation information obtained from each original journal file to obtain change operations and operation corresponding relations in the current statistical time period and storing the obtained information in a statistical database. The SVN-based method for automatic statistics of configuration audit information of the invention is easy to realize, wide in applied range, high in statistical efficiency and flexible in statistical pattern without depending on user permission.

Description

technical field [0001] The invention relates to the technical field of configuration management, in particular to a method for automatically counting configuration audit information based on SVN. Background technique [0002] Configuration management refers to a series of measures to control and regulate software products and their development process and life cycle through technical or administrative means. Get the precise configuration information of the product. An important part of configuration management is tracking who made each change, when and why, so that problems can be located quickly. [0003] At present, the configuration management of most software products is mainly implemented through Subversion (SVN for short). SVN will generate a version every time a change is submitted, and the records of changes are scattered in various log files. The current SVN-based configuration management audit method mainly uses the log export function provided by SVN itself to e...

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): G06F17/30
CPCG06F16/1734G06F16/1815G06F16/2462
Inventor 贺昀轩钟理刘湘田李文波
Owner CSR ZHUZHOU ELECTRIC LOCOMOTIVE RES INST
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