CN107302450B - Data acquisition task changing method and device - Google Patents

Data acquisition task changing method and device Download PDF

Info

Publication number
CN107302450B
CN107302450B CN201710442906.2A CN201710442906A CN107302450B CN 107302450 B CN107302450 B CN 107302450B CN 201710442906 A CN201710442906 A CN 201710442906A CN 107302450 B CN107302450 B CN 107302450B
Authority
CN
China
Prior art keywords
configuration file
changed
task
communication index
time
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
CN201710442906.2A
Other languages
Chinese (zh)
Other versions
CN107302450A (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.)
NANJING NANRUI GROUP CO
State Grid Corp of China SGCC
State Grid Beijing Electric Power Co Ltd
Nari Information and Communication Technology Co
Information and Telecommunication Branch of State Grid Jibei Electric Power Co Ltd
Original Assignee
NANJING NANRUI GROUP CO
State Grid Corp of China SGCC
State Grid Beijing Electric Power Co Ltd
Nari Information and Communication Technology Co
Information and Telecommunication Branch of State Grid Jibei Electric Power 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 NANJING NANRUI GROUP CO, State Grid Corp of China SGCC, State Grid Beijing Electric Power Co Ltd, Nari Information and Communication Technology Co, Information and Telecommunication Branch of State Grid Jibei Electric Power Co Ltd filed Critical NANJING NANRUI GROUP CO
Priority to CN201710442906.2A priority Critical patent/CN107302450B/en
Publication of CN107302450A publication Critical patent/CN107302450A/en
Application granted granted Critical
Publication of CN107302450B publication Critical patent/CN107302450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Abstract

The invention provides a data acquisition task changing method and a data acquisition task changing device, wherein the method comprises the following steps: detecting whether the communication index configuration file is changed at preset interval time; changing the collection task according to the configuration file attribute of the changed configuration file; the profile attributes include: the object, cycle type and parameter name are collected. The invention realizes the butt joint with the communication management system, provides real-time flow data for the communication management system through the standard interface, completes the functions of setting the flow acquisition period, synchronizing the flow data and the like according to the configuration of the communication management system, realizes the dynamic loading and the change of measurement tasks without stopping, realizes the loading of system configuration without restarting software, and schedules the acquisition tasks according to the configuration.

Description

Data acquisition task changing method and device
Technical Field
The invention relates to a communication technology, in particular to a data acquisition task changing method and device.
Background
Power communication, an industrial private communication network, is gradually developed and developed along with the development of power systems. Unlike public communication networks, power communication must be highly reliable and flexible due to the uninterrupted power production and the abrupt nature of the operating state changes.
With the construction of smart power grids, power data networks and service bearing systems thereof are rapidly developed, the construction of power data network infrastructures supporting the production, management and management of power grids is gradually improved, the requirements of the power data networks on operation guarantee, service quality monitoring and the like are higher and higher, the traditional mode of acquiring management information through a traditional data network management interface to manage can only analyze the operation state of a power data communication network according to the operation state of equipment, the real-time and efficient monitoring on the service quality of the power data network is difficult to complete, and the traditional service quality monitoring method based on the log information of a fixed-position target host computer has the limitations that real-time alarming cannot be realized and the application interaction state cannot be ignored.
In order to improve the monitoring and evaluation capability of the service quality of the power data network, large-scale monitoring is required to be carried out so as to realize monitoring of the network performance of the power data network and monitoring of various service flows, further realize effective evaluation of the service quality of the power data network, and provide an efficient and reliable monitoring and evaluation technical means for service quality guarantee of the power data network.
Disclosure of Invention
Aiming at the defects existing in the current communication index acquisition process, the embodiment of the invention provides a data acquisition task changing method, which comprises the following steps:
detecting whether the communication index configuration file is changed at preset interval time;
changing the collection task according to the configuration file attribute of the changed configuration file; the profile attributes include: the object, cycle type and parameter name are collected.
In the embodiment of the present invention, the detecting whether the communication index profile is modified at the preset interval includes:
acquiring a time point of the current moment before a preset time interval as current comparison time;
reading the last modification time of the configuration file;
comparing the current comparison time with the last modification is based on determining whether the communication indicia profile has been altered.
In the embodiment of the present invention, before changing the collection task according to the profile attribute of the changed profile, the method further includes:
carrying out data verification on the configuration file attribute of the changed communication index configuration file;
and after the data verification is passed, changing the acquisition task according to the configuration file attribute of the changed configuration file.
In this embodiment of the present invention, the data verification of the profile attribute of the changed communication index profile includes:
acquiring the values of the cycle type of the attribute of the configuration file and the field of the parameter name;
and determining that the values of the fields of the cycle type and the parameter name accord with preset enumeration values, and then the data passes the inspection.
In the embodiment of the present invention, the changing the collection task according to the profile attribute of the changed profile includes:
if the acquisition object of the current communication index is determined to be different from the historical index configuration, establishing or deleting an acquisition task;
and if the cycle type and the parameter name of the current communication index are determined to be changed, modifying the cycle type and the parameter name of the current acquisition task.
In the embodiment of the invention, before detecting whether the communication index configuration file is changed at preset interval time, the values of all configuration items in the communication index configuration file are read and the communication index model is assigned.
Meanwhile, the invention also provides a data acquisition task changing device, which comprises:
the detection module is used for detecting whether the communication index configuration file is changed at preset interval time;
the change module is used for changing the acquisition task according to the configuration file attribute of the changed configuration file; the profile attributes include: the object, cycle type and parameter name are collected.
In an embodiment of the present invention, the detection module includes:
a comparison time obtaining unit, configured to obtain a time point of a current time before a preset time interval as a current comparison time;
the modification time acquisition unit is used for reading the last modification time of the configuration file;
and the comparison unit is used for comparing the current comparison time with the last modification according to the communication index configuration file.
In the embodiment of the present invention, the apparatus further includes:
the verification module is used for carrying out data verification on the configuration file attribute of the changed communication index configuration file;
and after the data is verified, the change module changes the cycle type and the parameter name of the current acquisition task according to the configuration file attribute of the changed configuration file.
In the embodiment of the present invention, the verification module includes:
the attribute value acquisition unit is used for acquiring the cycle type of the configuration file attribute and the value of the field of the parameter name;
and the enumerated value checking unit is used for determining whether the values of the fields of the cycle type and the parameter name accord with the preset enumerated value or not, and if the values accord with the preset enumerated value, the data are checked to pass.
In an embodiment of the present invention, the changing module includes:
the task deleting and creating unit is used for creating or deleting the collecting task when the collecting object of the current communication index is determined to be different from the historical index configuration;
and the task modification unit is used for determining that the cycle type and the parameter name of the current communication index are changed and modifying the acquisition task.
In the embodiment of the present invention, the apparatus further includes:
and the assignment module is used for reading the values of all configuration items in the communication index configuration file and assigning the communication index model before the detection module detects whether the communication index configuration file is changed at preset interval time.
Meanwhile, the invention also provides a data acquisition task changing device which comprises a processing system, a memory and a computer program which is stored on the memory and can run on the processing system, wherein the processing system is coupled with the memory, and the data acquisition task changing method is realized when the processing system executes the computer program.
Meanwhile, the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program capable of executing the data acquisition task changing method.
The invention can load the system configuration without restarting software and schedule and collect tasks according to the configuration.
In order to make the aforementioned and other objects, features and advantages of the invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a data collection task modification method according to the present invention;
FIG. 2 is a flow chart of performing collection task changes in an embodiment of the present invention;
FIG. 3 is a flowchart illustrating re-collecting performance data according to changed communication indicators in an embodiment of the present invention;
FIG. 4 is a block diagram of a data collection task changing device according to the present invention;
fig. 5 is a block diagram of a data collection task changing device according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 protection scope of the present invention.
As shown in fig. 1, the present invention provides a data collection task changing method, including:
step S101, detecting whether a communication index configuration file is changed or not at preset intervals;
step S102, changing the collection task according to the configuration file attribute of the changed configuration file; the profile attributes include: the object, cycle type and parameter name are collected.
In the past, data acquisition software only reads a configuration file once when a program is started, and if the configuration changes after loading, the program needs to be restarted after the process is ended so as to refresh the configuration. The invention discloses a method for discovering that configuration change is refreshed immediately, so that system configuration can be reloaded without restarting software and acquiring tasks are scheduled according to the configuration. The method of the embodiment of the invention comprises the realization of the functions of a service quality monitoring and holographic evaluation platform and a communication comprehensive network management part, and can be divided into the following 4 steps:
step 1) starting monitoring, wherein the thread is in the comprehensive network management data acquisition software, the configuration file monitoring thread can be started by starting the acquisition software, and the thread can continuously detect whether the communication index configuration file is modified or not;
step 2) configuration verification, namely, a configuration file monitoring thread detects that a communication index file changes, analyzes whether values of two fields of a period type and a parameter name in the configuration file conform to a preset enumeration value, enters a task comparison process if the detection is passed, and prompts an exception if the detection is not passed;
step 3) task scheduling, wherein the data acquisition software needs to perform task comparison besides instruction verification, and if the acquisition task changes, the data acquisition software schedules a service quality monitoring and holographic evaluation platform through creating, deleting or modifying an interface;
fig. 2 shows a step of performing collection task change in the embodiment of the present invention.
And 4) executing the task, re-collecting the performance data by the data collection layer of the service quality monitoring and holographic evaluation platform according to the changed communication indexes, and finally storing the index file required by the current task in a local FTP service path to wait for the polling acquisition of the comprehensive network management. Fig. 3 shows a step of re-acquiring performance data according to the changed communication index after the acquisition task is changed.
The embodiment of the invention utilizes the distributed probe based on the MIPS framework to carry out large-scale network packet receiving and sending test and environment context sensing monitoring so as to realize the active monitoring and measurement of network performances such as time delay, packet loss rate, service routing, DNS analysis, HTTP simulation, network bandwidth and the like of a data network, and provides application scenes and technical requirements for the research of projects. In this embodiment, a key technology of an active intelligent measurement probe is researched, and by introducing a user side dial test technology, the user behavior is simulated to realize measurement of network operation performances such as network delay, packet loss rate, DNS resolution measurement, and the like, or the behaviors of various browsers are simulated to realize HTTP simulation measurement, and end-to-end distributed service quality measurement is performed, so that the purpose of monitoring network service quality is achieved.
Since the 'twelve five', the national network company realizes the automation and the intellectualization of the communication operation and maintenance management preliminarily by pushing the TMS communication management system in a unified way, and meanwhile, the basic data acquisition of the communication is also completed. Based on the background, after the power communication service resource management, the real-time monitoring and the operation management are realized, the TMS platform effectively avoids information isolated islands and realizes information sharing by continuously integrating professional systems. The system of the embodiment is in butt joint with a communication management system, provides real-time flow data to a TMS through a standard interface, completes the functions of setting a flow acquisition period, synchronizing the flow data and the like according to the configuration of the TMS, and achieves the dynamic loading without stopping and the measurement task changing.
The technical problem solved by the invention is as follows: aiming at the defects existing in the current communication index acquisition process, the measurement task can be loaded and changed by stopping the machine. In this embodiment, a method for configuring a monitoring thread that is updated immediately after a configuration change, so that a system configuration can be loaded without restarting software, and scheduling an acquisition task according to the configuration is described in further detail below with respect to the above steps:
step 1) starting monitoring, wherein the thread is in the comprehensive network management data acquisition software, the configuration file monitoring thread can be started by starting the acquisition software, and the thread can continuously detect whether the communication index configuration file is modified or not;
in the step 1), the data acquisition software comprises a plurality of threads which are respectively responsible for platform state monitoring, communication index configuration file monitoring and communication index data acquisition. After the acquisition platform is started, the configuration file monitoring thread firstly reads values of all configuration items in the configuration file and assigns values to the communication index model, and then the configuration file monitoring thread detects whether the configuration file is changed every minute. The communication index configuration file is a file in xml format, and the related attributes are as follows:
Figure BDA0001320460600000061
in step 1), the algorithm for determining whether the file is modified is as follows:
firstly, defining Boolean type variable isModified, Long type variable lastModifiedTime and currentTime, transferring parameter str into algorithm as communication index configuration file path, reading configuration file under the path and storing the last modification time of the file into Long integer type variable lastModifiedTime.
In this embodiment, since the detection thread detects whether the configuration file is changed every minute, a time point 1 minute before the current time of the system is obtained as the comparison tempTime, and if lastModifiedTime is smaller than the tempTime, it indicates that the file has not been modified in the current detection cycle, otherwise, the file is modified.
In this embodiment, whether a file in a period is modified is detected by the following procedure:
Figure BDA0001320460600000062
step 2) configuration verification, wherein a configuration file monitoring thread detects that a communication index configuration file is modified, analyzes whether values of two fields of a period type and a parameter name in the configuration file conform to a preset enumeration value, enters a task comparison process if the detection is passed, and prompts an exception if the detection is not passed;
in the step 2), when the configuration file monitoring thread detects that the communication index file is modified, values of 5 attributes of the collected object, the cycle type, the start time, the end time and the parameter name in the configuration file are read and are objectified to a communication index model list _ c.
And then detecting whether the read data is complete, wherein the integrity of the data needs to check whether 3 key attributes, namely the acquisition object, the cycle type and the parameter name, are available.
Then, the accuracy is detected, and whether the type, the parameter name and the cycle type of the collected object match a preset enumeration combination or not and whether the start time and the end time meet the specified character length and format or not needs to be checked. The types and value ranges of the attributes are shown in tables 1 and 2 below. And (4) if the instruction passes the verification, entering the step 3), and if the instruction does not pass the verification, prompting an exception.
Table 1 communication index configuration description
Name (R) Type (B) Enumeration type Remarks for note
Object type Character string - Network element or port
Periodic type Character string 15min/24h 15 minutes or 24 hours
Starting time Character string - The format is as follows: YYYYMMDDhhmmss
End time Character string - The format is as follows: YYYYMMDDhhmmss
Parameter name Character string See Table 2 -
TABLE 2 communication indicator name and object type
Name (R) Object type Remarks for note
CPU_USAGE Network element CPU occupancy rate
MEM_USEGE Network element Memory occupancy rate
IF_IN_TRAFFIC Port(s) Port inflow flow
IF_OUT_TRAFFIC Port(s) Port outflow volume
IF_OUT Port(s) Number of port out packets
IF_IN Port(s) Number of port packets
IF_OUT_ERRPKTS Port(s) Port error rate
IF_IN_ERRPKTS Port(s) Port entry error rate
IF_LOSS_OUTPUT Port(s) Port packet loss ratio
IF_LOSS_INPUT Port(s) Port packet loss rate
DELAY_TIME Port(s) Time delay
Step 3) task scheduling, wherein the data acquisition software needs to perform task comparison besides instruction verification, and if the acquisition task changes, the data acquisition software schedules a service quality monitoring and holographic evaluation platform through creating, deleting or modifying an interface;
in the step 3), after the instruction verification is completed, comparing the instruction with the historical task table one by one, and then deciding how to call the platform interface to schedule the professional webmaster. If the current communication index acquisition object is detected to be inconsistent with the historical index configuration, the acquisition task is created or deleted by comparison, and a createPMConlectionTask or deleteMCololectionTask method is called to inform a service quality monitoring and holographic evaluation platform to create or delete the corresponding acquisition task. Similarly, if the communication index period type and the parameter name are changed, the updateselecting task method is called to modify the acquisition task. The current task acquisition list of the service quality monitoring and holographic evaluation platform can be inquired in real time through a selectPMpollectionTask interface, and the interface synchronization task list is generally required to be called when the historical task list is lost due to unexpected power failure of the system.
In step 3) in this embodiment, an algorithm of the interface selection scheduling process is as follows:
Figure BDA0001320460600000081
Figure BDA0001320460600000091
in this embodiment, the interface and the data model defined in step 3) are as follows, where the service quality monitoring and holographic evaluation platform is a server, and the comprehensive network management data acquisition platform is a client:
1.createPMCollectionTask
interface function: creating timed acquisition tasks
Figure BDA0001320460600000092
2.deletePMCollectionTask
Interface function: deleting timed acquisition tasks
Figure BDA0001320460600000093
3.selectPMCollectionTask
Interface function: query timing acquisition task
Figure BDA0001320460600000094
4.updatePMCollectionTask
Interface function: modifying timed acquisition tasks
Figure BDA0001320460600000095
Figure BDA0001320460600000101
And 4) executing the task, re-acquiring data by the data acquisition layer of the service quality monitoring and holographic evaluation platform according to the changed acquisition task and the communication index, and finally storing the performance data required by the current task in a local FTP service path for polling and obtaining by the comprehensive network management.
In the step 4), the communication integrated network manager creates, deletes and modifies the service quality monitoring and holographic evaluation platform acquisition task through the interface, and the data acquisition layer of the service quality monitoring and holographic evaluation platform configures a communication index acquisition object, a cycle type, a parameter name and a task time coverage range according to the latest acquisition task. In addition, various active and passive measurement probes deployed on a data acquisition layer complete original acquisition of multi-dimensional fine-grained network and service quality data, including acquisition of network and service performance data and flow data of a power data network backbone network, an access network and a data center (information room), and are stored on a service quality monitoring and holographic evaluation platform FTP server in a file manner.
Meanwhile, the present invention also provides a data collection task changing device, as shown in fig. 4, the device includes:
a detection module 401, configured to detect whether a communication index configuration file is modified at preset intervals;
a change module 402, configured to change the collection task according to the profile attribute of the changed profile; the profile attributes include: the object, cycle type and parameter name are collected.
Meanwhile, the present invention further provides a data collection task changing device, as shown in fig. 5, the data collection task changing device includes a processing system 501, a memory 502, and a computer program stored in the memory and capable of running on the processing system, the processing system is coupled to the memory, and the processing system implements the data collection task changing method when executing the computer program.
In one embodiment, the apparatus for handling irregular applications shown in fig. 5 may be any device capable of implementing its functions, for example, the device may be a desktop computer, a laptop computer, a mobile device, and the like, which is not limited by the present invention. The processing system 501 may include a processor, reconfigurable hardware, or a combination thereof, wherein the processor may be implemented by a general-purpose processor, a controller, or the like, such as an intel Xeon processor or the like; the reconfigurable hardware may include, for example, a field programmable gate array, etc., and the present invention is not limited thereto, and all the related modifications should fall within the scope of the present invention. The memory 502 may include any suitable memory, such as a dynamic random access memory, etc., and the present invention is not limited thereto, and the related modifications should also fall within the scope of the present invention.
Meanwhile, the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program capable of executing the data acquisition task changing method.
The invention realizes the butt joint with a communication management system, provides real-time flow data to a TMS through a standard interface, completes the functions of setting a flow acquisition period, synchronizing the flow data and the like according to the configuration of the TMS, and realizes the dynamic loading without stopping and the change of measurement tasks.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (6)

1. A data acquisition task changing method is characterized by comprising the following steps:
detecting whether the communication index configuration file is changed at preset interval time;
changing the collection task according to the configuration file attribute of the changed configuration file; the profile attributes include: collecting an object, a cycle type and a parameter name; wherein
The collection task changing according to the configuration file attribute of the changed configuration file comprises the following steps:
if the acquisition object of the current communication index is determined to be different from the historical index configuration, establishing or deleting an acquisition task;
if the period type and the parameter name of the current communication index are determined to be changed, the period type and the parameter name of the current collection task are modified;
before changing the collection task according to the configuration file attribute of the changed configuration file, the method further comprises the following steps:
carrying out data verification on the configuration file attribute of the changed communication index configuration file;
after the data verification is passed, changing the acquisition task according to the configuration file attribute of the changed configuration file;
wherein the data verification of the profile attributes of the modified communication index profile includes:
acquiring the values of the cycle type of the attribute of the configuration file and the field of the parameter name;
determining that the values of the fields of the cycle type and the parameter name accord with preset enumeration values, and then the data passes the inspection;
the detecting whether the communication index configuration file is changed at preset intervals comprises:
acquiring a time point of the current moment before a preset time interval as current comparison time;
reading the last modification time of the configuration file;
comparing the current comparison time and the last modification time is based on determining whether the communication indicia profile has been modified.
2. The data collection task changing method according to claim 1, further comprising: and reading the values of all configuration items in the communication index configuration file and assigning values to the communication index model before detecting whether the communication index configuration file is changed at preset interval time.
3. A data collection task changing device is characterized by comprising:
the detection module is used for detecting whether the communication index configuration file is changed at preset interval time;
the change module is used for changing the acquisition task according to the configuration file attribute of the changed configuration file; the profile attributes include: collecting an object, a cycle type and a parameter name; wherein the content of the first and second substances,
the change module includes:
the task deleting and creating unit is used for creating or deleting the collecting task when the collecting object of the current communication index is determined to be different from the historical index configuration;
the task modification unit is used for determining that the cycle type and the parameter name of the current communication index are changed and modifying the cycle type and the parameter name of the current acquisition task;
the verification module is used for carrying out data verification on the configuration file attribute of the changed communication index configuration file;
after the data verification is passed, the change module changes the acquisition task according to the configuration file attribute of the changed configuration file;
the attribute value acquisition unit is used for acquiring the cycle type of the configuration file attribute and the value of the field of the parameter name;
the enumerated value checking unit is used for determining whether the values of the fields of the cycle type and the parameter name accord with a preset enumerated value or not, and if the values accord with the preset enumerated value, the data are checked to pass;
the detection module comprises:
a comparison time obtaining unit, configured to obtain a time point of a current time before a preset time interval as a current comparison time;
the modification time acquisition unit is used for reading the last modification time of the configuration file;
and the comparison unit is used for comparing the current comparison time with the last modification time according to the determination result of whether the communication index configuration file is changed.
4. The data collection task changing apparatus according to claim 3, further comprising:
and the assignment module is used for reading the values of all configuration items in the communication index configuration file and assigning the communication index model before the detection module detects whether the communication index configuration file is changed at preset interval time.
5. A data collection task changing apparatus, comprising a processing system, a memory, and a computer program stored on the memory and executable on the processing system, wherein the processing system is coupled to the memory, and the processing system implements the method of any one of claims 1 to 2 when executing the computer program.
6. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program that can execute the method of any one of claims 1 to 2.
CN201710442906.2A 2017-06-13 2017-06-13 Data acquisition task changing method and device Active CN107302450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710442906.2A CN107302450B (en) 2017-06-13 2017-06-13 Data acquisition task changing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710442906.2A CN107302450B (en) 2017-06-13 2017-06-13 Data acquisition task changing method and device

Publications (2)

Publication Number Publication Date
CN107302450A CN107302450A (en) 2017-10-27
CN107302450B true CN107302450B (en) 2021-05-11

Family

ID=60135433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710442906.2A Active CN107302450B (en) 2017-06-13 2017-06-13 Data acquisition task changing method and device

Country Status (1)

Country Link
CN (1) CN107302450B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213114A (en) * 2017-07-04 2019-01-15 百度在线网络技术(北京)有限公司 Mobile unit configuration method and device
CN110704100A (en) * 2018-06-25 2020-01-17 沃尔缇夫能源系统公司 Method and device for configuring functional module software
CN108924007B (en) * 2018-07-09 2021-07-23 电信科学技术第一研究所有限公司 Big data acquisition and storage system and method of communication operation information
CN109739549A (en) * 2018-12-28 2019-05-10 武汉长光科技有限公司 A kind of equipment performance acquisition method based on micro services
CN109728980A (en) * 2019-03-15 2019-05-07 广东电网有限责任公司 A kind of network quality active dial testing method, device and equipment
CN110401698A (en) * 2019-06-27 2019-11-01 苏州浪潮智能科技有限公司 A kind of monitoring data collection methods, devices and systems of task based access control asynchronous distribution
CN110320842B (en) * 2019-07-16 2021-09-07 东北大学 Multi-scale data acquisition and processing device and method for aluminum oxide production process
CN112866049B (en) * 2019-11-28 2023-05-30 中盈优创资讯科技有限公司 Method and system for collecting index of server host
CN113126562B (en) * 2020-01-16 2023-03-10 智能云科信息科技有限公司 Data acquisition method, device and system and computer readable storage medium
CN111782901A (en) * 2020-08-20 2020-10-16 支付宝(杭州)信息技术有限公司 Data acquisition method and device
CN112564957B (en) * 2020-12-01 2022-05-17 武汉绿色网络信息服务有限责任公司 Method and device for acquiring running data of virtual network element
CN113360353B (en) * 2021-05-08 2023-01-06 山东英信计算机技术有限公司 Test server and cloud platform
CN115460118A (en) * 2021-05-19 2022-12-09 中国移动通信有限公司研究院 Network performance detection method and device and computer readable storage medium
CN113672267A (en) * 2021-09-03 2021-11-19 中国银行股份有限公司 Parameter updating method and device
CN113722075B (en) * 2021-10-29 2022-02-18 苏州浪潮智能科技有限公司 Task management method, system, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287258A (en) * 2007-04-10 2008-10-15 中兴通讯股份有限公司 Method and apparatus for collecting dynamic adaptation of object, and data collecting method
CN101645072A (en) * 2009-08-25 2010-02-10 山东中创软件商用中间件股份有限公司 Changed data extracting method realized by being based on Oracle CDC technique
CN103152229A (en) * 2013-04-03 2013-06-12 北京合力思腾科技股份有限公司 Dynamic configuration method for monitoring index item
CN104462616A (en) * 2013-09-18 2015-03-25 上海宝信软件股份有限公司 Dynamic data collection method based on configuration item

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287258A (en) * 2007-04-10 2008-10-15 中兴通讯股份有限公司 Method and apparatus for collecting dynamic adaptation of object, and data collecting method
CN101645072A (en) * 2009-08-25 2010-02-10 山东中创软件商用中间件股份有限公司 Changed data extracting method realized by being based on Oracle CDC technique
CN103152229A (en) * 2013-04-03 2013-06-12 北京合力思腾科技股份有限公司 Dynamic configuration method for monitoring index item
CN104462616A (en) * 2013-09-18 2015-03-25 上海宝信软件股份有限公司 Dynamic data collection method based on configuration item

Also Published As

Publication number Publication date
CN107302450A (en) 2017-10-27

Similar Documents

Publication Publication Date Title
CN107302450B (en) Data acquisition task changing method and device
CN111181801B (en) Node cluster testing method and device, electronic equipment and storage medium
CN104423960B (en) A kind of method and system of project continuous integrating
CN109344056B (en) Test method and test device
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
JP6045134B2 (en) Parallel workload simulation for application performance testing
WO2014143279A1 (en) Bottleneck detector for executing applications
CN106407102B (en) Fuzzy testing method, device and system for application program
CN111309734A (en) Method and system for automatically generating table data
CN105184156A (en) Security threat management method and system
CN103368970B (en) A kind of automation safety detection method for network objectives
CN110377519A (en) Performance capability test method, device, equipment and the storage medium of big data system
CN114253798A (en) Index data acquisition method and device, electronic equipment and storage medium
CN112433908B (en) Method, system, device and medium for determining interval time of detection server
CN105992213A (en) Intelligent router, cloud server and intelligent router start and stop system
CN112202647A (en) Test method, device and test equipment in block chain network
CN112559525A (en) Data checking system, method, device and server
CN117234916A (en) Workflow application testing method and device, electronic equipment and storage medium
KR102418892B1 (en) Method of saving energy based on confidence interval and apparatus using the same
CN115220131A (en) Meteorological data quality inspection method and system
CN114416596A (en) Application testing method and device, computer equipment and storage medium
CN110971483B (en) Pressure testing method and device and computer system
CN109408466B (en) Agricultural Internet of things redundant data processing method and device
CN114546714A (en) Data backup method, system, device and storage medium
CN112637873A (en) Robustness testing method and device based on wireless communication network of unmanned system

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