CN109189610B - A processing method of server monitoring data under linux - Google Patents

A processing method of server monitoring data under linux Download PDF

Info

Publication number
CN109189610B
CN109189610B CN201810934803.2A CN201810934803A CN109189610B CN 109189610 B CN109189610 B CN 109189610B CN 201810934803 A CN201810934803 A CN 201810934803A CN 109189610 B CN109189610 B CN 109189610B
Authority
CN
China
Prior art keywords
test
backup
file information
database
time period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810934803.2A
Other languages
Chinese (zh)
Other versions
CN109189610A (en
Inventor
王浩生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810934803.2A priority Critical patent/CN109189610B/en
Publication of CN109189610A publication Critical patent/CN109189610A/en
Application granted granted Critical
Publication of CN109189610B publication Critical patent/CN109189610B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3495Performance evaluation by tracing or monitoring for systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明提供一种linux下服务器监测数据的处理方法,开启服务器测试程序,持续的获取测试数据流,并遍历测试数据流的每个测试文件信息;按照预设的规则对每个测试文件信息的文件名进行标识,将标识后测试文件信息,按照预设的存储方式存储至数据库;根据预设条件,调取数据库中存储标识的测试文件信息,并对调取的测试文件信息进行备份,将备份后的测试文件信息储存至备份存储器。更加合理高效的利用服务器的存储空间,避免资源的浪费,及时合理的文件备份可以防止资料的丢失,及时合理的文件备份可以防止资料的丢失,本发明实用性很高,可以直接嵌入的linux中,提高开发效率。

Figure 201810934803

The invention provides a processing method for server monitoring data under linux, which starts a server test program, continuously acquires a test data stream, and traverses each test file information of the test data stream; The file name is identified, and the identified test file information is stored in the database according to a preset storage method; according to preset conditions, the identified test file information stored in the database is retrieved, and the retrieved test file information is backed up. The backed-up test file information is stored in the backup memory. The storage space of the server is used more reasonably and efficiently, the waste of resources is avoided, the timely and reasonable file backup can prevent the loss of the data, and the timely and reasonable file backup can prevent the loss of the data. The present invention has high practicability and can be directly embedded in linux. , improve development efficiency.

Figure 201810934803

Description

Method for processing server monitoring data under linux
Technical Field
The invention relates to the field of server monitoring, in particular to a method for processing server monitoring data under linux.
Background
In the process of the server pressure test, the change trend of each test data in the test process needs to be monitored, so that whether the exceeding threshold value or the sensor abnormity occurs in the component pressure test is analyzed. The general testing method is to check whether an abnormal record exists in the SEL log after the pressure test is finished, but the data change in the testing process and the change process of the sensor cannot be observed.
If the data loss occurs in the midway of the storage device of the test data due to external factors of the system or internal factors of the system in the test process, the data in the SEL log after the pressure test is finished is incomplete, and the evaluation on the test result is influenced. In addition, in the server testing process, the data volume is large, when a tester needs to check a certain type of test data or a certain type of test data, a desired file needs to be screened from the SEL log, so that the test data are disorderly arranged in the SEL log due to the fact that the test data are not effectively extracted, and the use of the test data is influenced.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a method for processing monitoring data of a server under linux, which comprises the following steps:
starting a server test program, continuously acquiring a test data stream, and traversing each test file information of the test data stream;
identifying the file name of each piece of test file information according to a preset rule, and storing the identified test file information into a database according to a preset storage mode;
and calling the test file information of the storage identifier in the database according to a preset condition, backing up the called test file information, and storing the backed-up test file information to a backup memory.
Preferably, the step of continuously acquiring the test data stream and traversing each test file information of the test data stream further includes:
and acquiring the test data stream from the http request, and traversing each piece of test file information of the whole test data stream by using while circulation.
Preferably, the step of identifying the file name of each piece of test file information according to a preset rule, and storing the identified test file information in a database according to a preset storage manner further includes:
and according to the UTF-8 code, the header of the file name of each piece of test file information is used as an identifier, a timestamp for acquiring the test file information is added to each piece of test file information, the test file information is arranged into a csv data format, and the test file information is sorted according to the receiving sequence of the test data stream and stored in a database after being sorted.
Preferably, the step of storing to the database according to a preset storage manner further comprises:
setting a time period storage folder according to a preset time period, and storing a test data stream acquired in the preset time period into the time period storage folder;
and when the ending time point of the preset time period is reached, storing the time period storage folder into a database.
Preferably, the step of storing to the database according to a preset storage manner further comprises:
and in the database, configuring a type folder according to the type of each file in the test data stream, and storing the type folder into a corresponding type folder according to the type of the received file.
Preferably, the step of retrieving the test file information of the storage identifier in the database according to the preset condition, backing up the retrieved test file information, and storing the backed-up test file information to the backup memory further includes:
setting a backup time point and a backup time period;
when the system runs to the set backup time point, starting backup, creating database connection, generating a backup session link, calling test file information stored in the database in the backup time period according to the set backup time period, backing up the test file information stored in the database in the backup time period, and storing the backup file in the backup database.
Preferably, the step of retrieving the test file information of the storage identifier in the database according to the preset condition, backing up the retrieved test file information, and storing the backed-up test file information to the backup memory further includes:
setting a backup time point, setting a backup time period and setting a test node;
when the system runs to the set backup time point, starting backup, creating database connection, generating a backup session link, calling test file information stored in the database in the backup time period and sent by the test node according to the set backup time period and the test node, backing up the test file information, and storing the backup file in the backup database.
Preferably, the step of retrieving the test file information of the storage identifier in the database according to the preset condition, backing up the retrieved test file information, and storing the backed-up test file information to the backup memory further includes:
setting a backup time point, setting a backup time period and setting a backup test file type;
when the system runs to the set backup time point, starting backup, creating database connection, generating a backup session link, calling test file information with the backup test file type stored in the database in the backup time period according to the set backup time period and the backup test file type, backing up the test file information, and storing the backup file in the backup database.
According to the technical scheme, the invention has the following advantages:
the test file capturing method provided by the invention has the advantages that the storage space of the server is more reasonably and efficiently utilized, the waste of resources is avoided, the loss of data can be prevented through timely and reasonable file backup, and the loss of data can be prevented through timely and reasonable file backup.
According to the invention, the test data and the test files are backed up and stored based on the setting of the user in the test process, and when the test data is lost in the midway of the test data storage device caused by external factors or internal factors, the data in the SEL log after the pressure test is finished is prevented from being incomplete, so that the evaluation of the test result is prevented from being influenced.
The invention can set backup time points and backup time periods; setting a backup time point, setting a backup time period and setting a test node; setting a backup time point, setting a backup time period and setting a backup test file type; therefore, testers can set important attention according to needs or extract and back up data influencing a test result, and corresponding data are called in a back-up database, so that the sorting and planning of the test data are facilitated.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings used in the description will be briefly introduced, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a flow chart of a processing method of server monitoring data under linux;
FIG. 2 is a flowchart of an embodiment of a processing method for server monitoring data under linux;
FIG. 3 is a flowchart of an embodiment of a processing method for server monitoring data under linux;
FIG. 4 is a flowchart of an embodiment of a processing method for server monitoring data under linux;
FIG. 5 is a flowchart of an embodiment of a processing method for server monitoring data under linux.
Detailed Description
The invention provides a processing method of server monitoring data under linux, as shown in figure 1, the method comprises the following steps:
s1, starting a server test program, continuously acquiring a test data stream, and traversing each test file information of the test data stream;
and acquiring the test data stream from the http request, and traversing each piece of test file information of the whole test data stream by using while circulation.
S2, identifying the file name of each test file information according to a preset rule, and storing the identified test file information into a database according to a preset storage mode;
the method comprises the steps of coding a header serving as a file name of each piece of test file information according to UTF-8 as an identifier, adding a timestamp for obtaining the test file information to each piece of test file information, sorting the test file information into a csv data format, sorting according to a receiving sequence of a test data stream, and storing the sorted test file information in a database. The file name of each test file information is uniformly identified, so that subsequent uniform processing, sorting and query can be conveniently carried out on the files. The processing mode may include backup, deletion, modification, addition and replacement of files, and the like. Of course, the present invention is mainly to backup the test data file.
The captured test data is sorted here, and the sensors of different nodes are identified with prefixes, such as "101 _" indicating the sensor of node 101. And time stamping all sensors into csv data format.
The change curve of the sensor along with the time can be made through an EXCEL tool and the like for the csv data format. And realizing the visualization of data.
The implementation here may be as follows:
Figure BDA0001767542090000051
Figure BDA0001767542090000061
Figure BDA0001767542090000071
and S3, calling the test file information of the storage identifier in the database according to the preset condition, backing up the called test file information, and storing the backed-up test file information to a backup memory.
In the invention, a sensor is captured under linux and a data sorting method is completed. The change state of the hardware sensor along with the test time needs to be observed in the server test, the sensor state can be obtained through the method, and data are sorted into a visual curve along with the change of the time. Has certain effect on improving the product quality.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions of the present invention will be clearly and completely described below with reference to specific embodiments and drawings. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the scope of protection of this patent.
In the embodiment provided by the present invention, as shown in fig. 2,
s11, starting a server test program, continuously acquiring a test data stream, and traversing each test file information of the test data stream; of course, the test data stream may be obtained from the http request, and the while loop is used to traverse each test file information of the whole test data stream.
S12, setting a time period storage folder according to a preset time period, and storing the test data stream acquired in the preset time period into the time period storage folder;
and S13, when the ending time point of the preset time period is reached, storing the time period storage folder into a database. The method comprises the steps of coding a header serving as a file name of each piece of test file information according to UTF-8 as an identifier, adding a timestamp for obtaining the test file information to each piece of test file information, sorting the test file information into a csv data format, sorting according to a receiving sequence of a test data stream, and storing the sorted test file information in a database.
And S14, calling the test file information of the storage identifier in the database according to the preset condition, backing up the called test file information, and storing the backed-up test file information to a backup memory.
The computer program product of the computer readable medium may form part of, which may include, packaging materials. The computer-readable medium of data may include computer storage media such as Random Access Memory (RAM), Read Only Memory (ROM), non-volatile random access memory (NVRAM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory, magnetic or optical data storage media, and the like. In some embodiments, an article of manufacture may comprise one or more computer-readable storage media.
In the embodiment provided by the invention, data can be processed according to each test node. Starting a server test program, continuously acquiring a test data stream, and traversing each test file information of the test data stream; of course, the test data stream may be obtained from the http request, and the while loop is used to traverse each test file information of the whole test data stream.
In a database, setting a corresponding node storage folder according to a pre-temperature test node, and storing a test data stream sent by the temperature test node into the node storage folder. And uniformly identifying each file name according to the UTF-8 codes, sequencing according to the receiving sequence of the test data stream, and storing the sequenced data stream to a database.
And calling the test file information stored in the database according to a preset condition, processing the called test file information, and updating the current storage state of the database after the processing is finished.
Certainly, the present invention is not limited to the temperature test node, and may also include a network port communication rate test node, a processor data processing amount test node, a hard disk data reading test node, a hard disk data storage test node, a memory test, and the like.
In the embodiment provided by the invention, a server test program is started, a test data stream is continuously acquired, and information of each test file of the test data stream is traversed; identifying the file name of each piece of test file information according to a preset rule, and storing the identified test file information into a database according to a preset storage mode; and configuring a type folder according to the type of each file in the test data stream in the database, and storing the type folder into a corresponding type folder according to the type of the received file. The file types here may include: TXT files, DOC files, XLS files, PPT files, DOCX files, XLSX files, PPTX files, JPG, PNG, PDF, TIFF, SWF, RAR, EXE, FLV, RMVB files, and the like. And uniformly identifying each file name according to the UTF-8 codes, sequencing according to the receiving sequence of the test data stream, and storing the sequenced data stream to a database.
And calling the test file information of the storage identifier in the database according to a preset condition, backing up the called test file information, and storing the backed-up test file information to a backup memory.
In some embodiments, computer-readable storage media may include non-volatile media. The term "non-transitory" as used herein may indicate that the storage medium does not contain a carrier wave or a propagated signal. In some embodiments, a non-transitory storage medium may store data, which may change over time (e.g., in RAM or cache).
In an embodiment of the present invention, as shown in figure 3,
s21, setting backup time point and setting backup time period
S22, starting a server test program, continuously acquiring a test data stream, and traversing each test file information of the test data stream;
s23, identifying the file name of each test file information according to a preset rule, and storing the identified test file information into a database according to a preset storage mode;
and S24, when the system runs to the set backup time point, starting backup, creating database connection, generating a backup session link, calling the test file information stored in the database in the backup time period according to the set backup time period, backing up the test file information stored in the database in the backup time period, and storing the backup file in the backup database.
The data files are backed up based on the preset backup time point, the preset backup time point is important according to the test data files received in a certain time period, or the test data files received in a certain time period need to be used in the later period, so that the useful test data files are prevented from being lost, or the useful test data files are removed to influence the use when the data files are removed in the later period, and effective backup is carried out.
In the embodiment of the present invention, as shown in fig. 4,
s31, setting a backup time point, a backup time period and a test node;
s32, starting a server test program, continuously acquiring a test data stream, and traversing each test file information of the test data stream;
s33, identifying the file name of each test file information according to a preset rule, and storing the identified test file information into a database according to a preset storage mode;
and S34, when the system runs to the set backup time point, starting backup, creating database connection, generating a backup session link, calling the test file information stored in the database in the backup time period and sent by the test node according to the set backup time period and the test node, backing up the test file information, and storing the backup file in the backup database.
It can be understood that the system may receive data files transmitted by a plurality of temperature test nodes, network port communication rate test nodes, processor data processing amount test nodes, hard disk read data test nodes, hard disk storage data test nodes, memory tests, and the like at the same time or at different times, and data files transmitted by some test nodes are important data files received in some time periods, or data files received in some time periods need to be used at a later stage, so as to prevent loss, or useful data files are cleared to influence use when data files are cleared at the later stage, and effective backup is performed.
In the embodiment of the present invention, as shown in fig. 5,
s41, setting a backup time point, a backup time period and a backup test file type;
s42, starting a server test program, continuously acquiring a test data stream, and traversing each test file information of the test data stream;
s43, identifying the file name of each test file information according to a preset rule, and storing the identified test file information into a database according to a preset storage mode;
and S44, when the system runs to the set backup time point, starting backup, creating database connection, generating a backup session link, calling test file information with the backup test file type stored in the database in the backup time period according to the set backup time period and the backup test file type, backing up the test file information, and storing the backup file in the backup database.
It can be understood that the system can use various types of test file information, some types of test file information are important for data files received in certain time periods, or data files received in certain time periods need to be used later, so that effective backup is performed in order to prevent loss or influence on use caused by removal of useful data files when data files are removed later.
In the embodiment of the invention, a backup time point and a backup time period are set; starting a server test program, continuously acquiring a test data stream, and traversing each test file information of the test data stream; of course, the test data stream may be obtained from the http request, and the while loop is used to traverse each test file information of the whole test data stream.
And according to the UTF-8 code, the header of the file name of each piece of test file information is used as an identifier, a timestamp for acquiring the test file information is added to each piece of test file information, the test file information is arranged into a csv data format, and the test file information is sorted according to the receiving sequence of the test data stream and stored in a database after being sorted.
Of course, the method may also be adopted in a database, where a corresponding node storage folder is set according to a preset test node, and the test data stream sent by the test node is stored in the node storage folder.
Of course, the method can also be adopted in a database, the type folder is configured according to the type of each file in the test data stream, and the type folder is stored into the corresponding type folder according to the type of the received file.
When the system runs to the set backup time point, starting backup, creating database connection, generating a backup session link, calling test file information stored in the database in the backup time period according to the set backup time period, backing up the test file information stored in the database in the backup time period, and storing the backup file in the backup database.
In the embodiment of the invention, a backup time point, a backup time period and a test node are set; and starting a server test program, continuously acquiring the test data stream, and traversing each test file information of the test data stream.
And according to the UTF-8 code, the header of the file name of each piece of test file information is used as an identifier, a timestamp for acquiring the test file information is added to each piece of test file information, the test file information is arranged into a csv data format, and the test file information is sorted according to the receiving sequence of the test data stream and stored in a database after being sorted.
Certainly, a time period storage folder can be set according to a preset time period, and the test data stream acquired in the preset time period is stored in the time period storage folder; and when the ending time point of the preset time period is reached, storing the time period storage folder into a database.
Or, in the database, configuring a type folder according to the type of each file in the test data stream, and storing the type folder into a corresponding type folder according to the type of the received file.
Or, in a database, setting a corresponding node storage folder according to a preset test node, and storing a test data stream sent by the test node to the node storage folder.
When the system runs to the set backup time point, starting backup, creating database connection, generating a backup session link, calling test file information stored in the database in the backup time period and sent by the test node according to the set backup time period and the test node, backing up the test file information, and storing the backup file in the backup database.
In the embodiment of the invention, a backup time point, a backup time period and a backup test file type are set; starting a server test program, continuously acquiring a test data stream, and traversing each test file information of the test data stream; and according to the UTF-8 code, the header of the file name of each piece of test file information is used as an identifier, a timestamp for acquiring the test file information is added to each piece of test file information, the test file information is arranged into a csv data format, and the test file information is sorted according to the receiving sequence of the test data stream and stored in a database after being sorted.
Certainly, a time period storage folder can be set according to a preset time period, and the test data stream acquired in the preset time period is stored in the time period storage folder; and when the ending time point of the preset time period is reached, storing the time period storage folder into a database.
Or, in the database, configuring a type folder according to the type of each file in the test data stream, and storing the type folder into a corresponding type folder according to the type of the received file.
Or, in a database, setting a corresponding node storage folder according to a preset test node, and storing a test data stream sent by the test node to the node storage folder.
When the system runs to the set backup time point, starting backup, creating database connection, generating a backup session link, calling test file information with the backup test file type stored in the database in the backup time period according to the set backup time period and the backup test file type, backing up the test file information, and storing the backup file in the backup database.
The method and apparatus of the present invention may be implemented in a number of ways. For example, the methods and apparatus of the present invention may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustrative purposes only, and the steps of the method of the present invention are not limited to the order specifically described above unless specifically indicated otherwise. Furthermore, in some embodiments, the present invention may also be embodied as a program recorded in a recording medium, the program including machine-readable instructions for implementing a method according to the present invention. Thus, the present invention also covers a recording medium storing a program for executing the method according to the present invention.
The processing of data files in the present invention is not limited to backup but may also include deletion, modification, replacement, and the like.
The invention utilizes the storage space of the server more reasonably and efficiently, avoids the waste of resources, can prevent the loss of data by timely and reasonably backing up the files, has high practicability, can be directly embedded into linux, and improves the development efficiency.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (1)

1.一种linux下服务器监测数据的处理方法,其特征在于,方法包括:1. a processing method of server monitoring data under linux, is characterized in that, method comprises: 开启服务器测试程序,持续的获取测试数据流,并遍历测试数据流的每个测试文件信息;Start the server test program, continuously obtain the test data stream, and traverse the information of each test file in the test data stream; 从http request中获取测试数据流,使用while循环遍历整个测试数据流的每个测试文件信息;Obtain the test data stream from the http request, and use the while loop to traverse each test file information of the entire test data stream; 按照预设的规则对每个测试文件信息的文件名进行标识,将标识后测试文件信息,按照预设的存储方式存储至数据库;The file name of each test file information is identified according to the preset rules, and the identified test file information is stored in the database according to the preset storage method; 按照UTF-8编码作为每个测试文件信息的文件名的名头作为标识,在每个测试文件信息上添加获取该测试文件信息的时间戳,并且将测试文件信息整理为csv数据格式,按照测试数据流的接收次序进行排序,排序后存储至数据库;According to the UTF-8 encoding as the header of the file name of each test file information as an identifier, add the time stamp for obtaining the test file information to each test file information, and organize the test file information into csv data format, according to the test file information Sort the receiving order of the data stream, and store it in the database after sorting; 根据预设时间段设置时间段存储文件夹,将预设时间段内获取的测试数据流存储至所述时间段存储文件夹内;Set a time period storage folder according to a preset time period, and store the test data stream acquired within the preset time period in the time period storage folder; 当达到预设时间段的终止时间点时,将所述时间段存储文件夹储存至数据库;When the termination time point of the preset time period is reached, the time period storage folder is stored in the database; 在数据库中,根据测试数据流中每个文件的类型配置类型文件夹,根据接收文件的类型存储至相应的类型文件夹中;In the database, configure the type folder according to the type of each file in the test data stream, and store it in the corresponding type folder according to the type of the received file; 根据预设条件,调取数据库中存储标识的测试文件信息,并对调取的测试文件信息进行备份,将备份后的测试文件信息储存至备份存储器;According to the preset conditions, the test file information stored in the database is retrieved, and the retrieved test file information is backed up, and the backed up test file information is stored in the backup memory; 设置备份时间点以及设置备份时间段;Set the backup time point and set the backup time period; 当系统运行至设置的备份时间点时,启动备份,创建数据库连接,生成备份会话链接,根据设置的备份时间段,调取在备份时间段内数据库所存储的测试文件信息,对备份时间段内数据库所存储的测试文件信息进行备份,并将备份文件储存至备份数据库;When the system runs to the set backup time point, start the backup, create a database connection, generate a backup session link, and retrieve the test file information stored in the database during the backup time period according to the set backup time period. The test file information stored in the database is backed up, and the backup file is stored in the backup database; 或,or, 设置备份时间点,设置备份时间段以及设置测试节点;Set the backup time point, set the backup time period and set the test node; 当系统运行至设置的备份时间点时,启动备份,创建数据库连接,生成备份会话链接,根据设置的备份时间段和测试节点,调取在备份时间段内数据库所存储的由所述测试节点发送的测试文件信息,对测试文件信息进行备份,并将备份文件储存至备份数据库;When the system runs to the set backup time point, start the backup, create a database connection, generate a backup session link, and retrieve the data stored in the database during the backup time period and sent by the test node according to the set backup time period and test node. The test file information is backed up, and the backup file is stored in the backup database; 或,or, 设置备份时间点,设置备份时间段以及设置备份测试文件类型;Set the backup time point, set the backup time period and set the backup test file type; 当系统运行至设置的备份时间点时,启动备份,创建数据库连接,生成备份会话链接,根据设置的备份时间段和备份测试文件类型,调取在备份时间段内数据库所存储的具有备份测试文件类型的测试文件信息,对测试文件信息进行备份,并将备份文件储存至备份数据库。When the system runs to the set backup time point, start the backup, create a database connection, generate a backup session link, and retrieve the backup test files stored in the database during the backup time period according to the set backup time period and backup test file type. Type test file information, back up the test file information, and store the backup file in the backup database.
CN201810934803.2A 2018-08-16 2018-08-16 A processing method of server monitoring data under linux Active CN109189610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810934803.2A CN109189610B (en) 2018-08-16 2018-08-16 A processing method of server monitoring data under linux

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810934803.2A CN109189610B (en) 2018-08-16 2018-08-16 A processing method of server monitoring data under linux

Publications (2)

Publication Number Publication Date
CN109189610A CN109189610A (en) 2019-01-11
CN109189610B true CN109189610B (en) 2021-10-29

Family

ID=64918356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810934803.2A Active CN109189610B (en) 2018-08-16 2018-08-16 A processing method of server monitoring data under linux

Country Status (1)

Country Link
CN (1) CN109189610B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162953B (en) * 2020-07-14 2022-10-21 三诺生物传感股份有限公司 Current data processing method and device, current data processing equipment and storage medium
CN114257649B (en) * 2020-09-25 2023-05-12 深圳市腾讯计算机系统有限公司 Automatic test method, system and device
CN112650625B (en) * 2020-12-28 2024-06-14 武汉达梦数据技术有限公司 Stream backup restoration method, storage medium and device for database
CN116126810A (en) * 2022-12-16 2023-05-16 上海科技网络通信有限公司 Data center file information backup storage system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123294A (en) * 2010-12-30 2011-07-13 富泰华工业(深圳)有限公司 Electronic device test system
CN102752383A (en) * 2012-07-02 2012-10-24 惠州Tcl移动通信有限公司 File downloading and storing method based on wireless communication equipment and wireless communication equipment
WO2017127124A1 (en) * 2016-01-22 2017-07-27 Hewlett Packard Enterprise Development Lp Ranking backup files
CN107277152A (en) * 2017-06-29 2017-10-20 郑州云海信息技术有限公司 A kind of public cloud data safety backup system
CN107291796A (en) * 2017-05-05 2017-10-24 平安科技(深圳)有限公司 File management method and device
CN107423162A (en) * 2017-04-25 2017-12-01 北京邮电大学 Disaster recovery and backup systems and the synchronous method and device of source inter-system data
CN107483890A (en) * 2017-08-31 2017-12-15 中国地质大学(武汉) A data update storage method and system for smart city video data
CN107526673A (en) * 2017-08-25 2017-12-29 郑州云海信息技术有限公司 A kind of storage system Log backup internal storage testing method
CN107844386A (en) * 2016-09-19 2018-03-27 北京金山云网络技术有限公司 A kind of data backup, restoration methods and device
CN107861836A (en) * 2016-09-22 2018-03-30 法乐第(北京)网络科技有限公司 Drive recorder data back up method and device
CN107885619A (en) * 2017-11-16 2018-04-06 郑州云海信息技术有限公司 A kind of data compaction duplicate removal and the method and system of mirror image remote backup protection
CN108011783A (en) * 2017-12-07 2018-05-08 郑州云海信息技术有限公司 The backup method and standby system of a kind of diagnosis server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9830229B2 (en) * 2013-08-21 2017-11-28 International Business Machines Corporation Adding cooperative file coloring protocols in a data deduplication system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123294A (en) * 2010-12-30 2011-07-13 富泰华工业(深圳)有限公司 Electronic device test system
CN102752383A (en) * 2012-07-02 2012-10-24 惠州Tcl移动通信有限公司 File downloading and storing method based on wireless communication equipment and wireless communication equipment
WO2017127124A1 (en) * 2016-01-22 2017-07-27 Hewlett Packard Enterprise Development Lp Ranking backup files
CN107844386A (en) * 2016-09-19 2018-03-27 北京金山云网络技术有限公司 A kind of data backup, restoration methods and device
CN107861836A (en) * 2016-09-22 2018-03-30 法乐第(北京)网络科技有限公司 Drive recorder data back up method and device
CN107423162A (en) * 2017-04-25 2017-12-01 北京邮电大学 Disaster recovery and backup systems and the synchronous method and device of source inter-system data
CN107291796A (en) * 2017-05-05 2017-10-24 平安科技(深圳)有限公司 File management method and device
CN107277152A (en) * 2017-06-29 2017-10-20 郑州云海信息技术有限公司 A kind of public cloud data safety backup system
CN107526673A (en) * 2017-08-25 2017-12-29 郑州云海信息技术有限公司 A kind of storage system Log backup internal storage testing method
CN107483890A (en) * 2017-08-31 2017-12-15 中国地质大学(武汉) A data update storage method and system for smart city video data
CN107885619A (en) * 2017-11-16 2018-04-06 郑州云海信息技术有限公司 A kind of data compaction duplicate removal and the method and system of mirror image remote backup protection
CN108011783A (en) * 2017-12-07 2018-05-08 郑州云海信息技术有限公司 The backup method and standby system of a kind of diagnosis server

Also Published As

Publication number Publication date
CN109189610A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN109189610B (en) A processing method of server monitoring data under linux
CN107798047B (en) Duplicate work order detection method, apparatus, server and medium
CN112714359B (en) Video recommendation method and device, computer equipment and storage medium
CN102937926A (en) Method and device for recovering deleted sqlite files on mobile terminal
CN111078513B (en) Log processing method, device, equipment, storage medium and log alarm system
WO2012167073A1 (en) Methods, apparatuses, and computer program products for database record recovery
CN108573172B (en) Data checking and storing method and device
CN111125298A (en) Method, equipment and storage medium for reconstructing NTFS file directory tree
CN110019067A (en) A kind of log analysis method and system
CN112347193B (en) Transaction packaging method and device based on blockchain and electronic equipment
CN113722150A (en) Method, device, equipment and storage medium for compressed backup and recovery of cloud hard disk data
CN111125018B (en) File exception tracing method, device, equipment and storage medium
CN110879687A (en) Data reading method, device and equipment based on disk storage
CN114141302A (en) Test method of solid state disk and electronic equipment
CN109087690B (en) A cloud computing-based medical data processing system
CN108923967B (en) Duplication-removing flow recording method, duplication-removing flow recording device, server and storage medium
CN107273296A (en) The method of testing and test device of a kind of software
CN111698330B (en) Data recovery method and device of storage cluster and server
CN108108467B (en) Data deletion method and device
CN115208801A (en) API (application program interface) collaborative identification method and device, electronic equipment, medium and product
CN108062323A (en) A log reading method and device
CN111552842A (en) Data processing method, device and storage medium
CN113419885B (en) Data integrity processing method and device and electronic equipment
CN106126375B (en) A kind of each version restoration methods of YAFFS2 file based on Hash
CN116860548A (en) Method and device for automatically uploading partial fault information of vehicle machine, medium and vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant