CN115065618B - Method and system for detecting reliability of acquired data based on time sequence analysis - Google Patents

Method and system for detecting reliability of acquired data based on time sequence analysis Download PDF

Info

Publication number
CN115065618B
CN115065618B CN202210993238.3A CN202210993238A CN115065618B CN 115065618 B CN115065618 B CN 115065618B CN 202210993238 A CN202210993238 A CN 202210993238A CN 115065618 B CN115065618 B CN 115065618B
Authority
CN
China
Prior art keywords
time
sequence data
time sequence
data
working
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
CN202210993238.3A
Other languages
Chinese (zh)
Other versions
CN115065618A (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.)
Guangzhou Zhonghe Internet Technology Co ltd
Original Assignee
Guangzhou Zhonghe Internet 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 Guangzhou Zhonghe Internet Technology Co ltd filed Critical Guangzhou Zhonghe Internet Technology Co ltd
Priority to CN202210993238.3A priority Critical patent/CN115065618B/en
Publication of CN115065618A publication Critical patent/CN115065618A/en
Application granted granted Critical
Publication of CN115065618B publication Critical patent/CN115065618B/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
    • 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
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • 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
    • H04L41/142Network analysis or design using statistical or mathematical methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Algebra (AREA)
  • Mathematical Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Pure & Applied Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a system for detecting reliability of collected data based on time sequence analysis, and relates to the technical field of industrial internet. Acquiring a time sequence data set of target equipment; sequencing the time sequence data of each working period according to the generation time, and calculating the theoretical working time of the target equipment according to any two adjacent time sequence data; calculating the time deviation value of the period according to the production data packet, and calculating the packet loss number of the working period according to the actual working time and the theoretical working time; and judging the reliability of the time sequence data set according to the time deviation value and the packet loss number, and judging the working correctness of the acquisition system and the stability of the transmission network. The time sequence data of the target equipment is marked with the time tag of the generation time for storage, the reliability of the acquired data can be judged by analyzing the relation between the time sequence data and the generation time, the working correctness of the acquisition system and the stability of an acquisition network are judged in an auxiliary manner, and a guarantee is provided for the credibility of the source data of the upper application.

Description

Method and system for detecting reliability of acquired data based on time sequence analysis
Technical Field
The invention relates to the technical field of industrial internet, in particular to a method and a system for detecting reliability of acquired data based on time sequence analysis.
Background
The time-series data refers to time-series data. The time-series data is a data series recorded in time series according to a uniform index. The data in the same data column must be of the same aperture, requiring comparability. The time series data can be the number of epochs or the number of epochs. The purpose of time series analysis is to construct a time series model by finding out the statistical characteristics and the development regularity of time series in a sample and to predict outside the sample.
The MES system is a production informatization management system facing to a workshop execution layer of a manufacturing enterprise. The MES can provide management modules including data acquisition, planning, production, scheduling, quality, equipment, tool equipment, staff salary, data bulletin boards and the like for enterprises, and creates a firm, reliable, comprehensive and feasible manufacturing cooperative management platform for the enterprises. Whether the accuracy of a production daily report and the equipment utilization rate of production management directly depends on whether the quantity of production data packets is complete or not, if the situation of packet loss occurs for multiple times, the production quantity statistics and the equipment utilization rate are directly inaccurate, the problems of OEE, performance utilization rate, cost management, plan scheduling inaccuracy and the like are indirectly caused, and finally the management data of an application system is unreliable.
Disclosure of Invention
The present invention is directed to solve the problems of the background art, and provides a method and a system for detecting reliability of collected data based on time sequence analysis.
The purpose of the invention can be realized by the following technical scheme:
in a first aspect of the embodiments of the present invention, a method for detecting reliability of collected data based on time sequence analysis is provided, where the method includes:
acquiring a time sequence data set of a preset time period of target equipment; the time sequence data set comprises time sequence data of the target equipment in each working period, and the time sequence data comprises the actual working time of the target equipment in the period, a production data packet and the generation time of the time sequence data; the production data packet is used for recording the working condition of the target equipment;
sequencing the time sequence data of each working period according to the generation time of the production data, and calculating the theoretical working time of the target equipment of each working period according to any two adjacent time sequence data;
aiming at each working period, calculating a time deviation value of the period according to a production data packet, and calculating the packet loss number of the working period according to actual working time and theoretical working time;
and judging the reliability of the time sequence data set and the stability of the transmission network according to the time deviation value and the packet loss number, and counting the production yield of the target equipment in a preset time period.
Optionally, calculating the theoretical working time of the target device in each working cycle according to any two adjacent time series data includes:
regarding any two adjacent time sequence data, taking the previous time sequence data as first time sequence data, and taking the next time sequence data as second time sequence data;
and calculating the difference value of the first generation time of the first time sequence data and the second generation time of the second time sequence data, and taking the difference value as the theoretical working time of the target equipment in the working period of the first time sequence data.
Optionally, for each work cycle, calculating a time offset value for the cycle from the production data packet comprises:
acquiring network parameters of a transmission network where the target equipment is located aiming at each working period; the network parameters comprise the bandwidth of a transmission network, the transmission delay in idle and the maximum transmission rate of a data transmission interface;
calculating the time deviation value of the period according to the network parameters and the data quantity of the production data packets:
Figure DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE003
is a value of a time offset,
Figure DEST_PATH_IMAGE005
in order to transport the bandwidth of the network,
Figure DEST_PATH_IMAGE007
for transmission delays when the transmission network is idle,
Figure DEST_PATH_IMAGE009
the maximum transmission rate of the data transmission interface,
Figure DEST_PATH_IMAGE011
the amount of data that is used to produce the data packet,
Figure DEST_PATH_IMAGE013
is a rounding function.
Optionally, for each working cycle, calculating the packet loss number of the working cycle according to the actual working time and the theoretical working time specifically includes:
Figure 879533DEST_PATH_IMAGE014
wherein the content of the first and second substances,
Figure 771265DEST_PATH_IMAGE016
in order to count the number of packet losses,
Figure 423963DEST_PATH_IMAGE018
the actual working time is the time when the device is in operation,
Figure 388507DEST_PATH_IMAGE020
in order to be the theoretical working time,
Figure 544681DEST_PATH_IMAGE013
is a rounding function.
Optionally, judging the reliability of the time series data set and the stability of the transmission network according to the time deviation value and the packet loss number, and counting the production yield of the target device in a preset time period includes:
counting the target number of the time sequence data packets received by the target equipment in a preset time period;
judging the reliability of the time sequence data set and the stability of the transmission network according to the time deviation value and the packet loss number, and performing data compensation to determine the production yield of the target equipment in a preset time period:
if the packet loss number of the time sequence data is larger than zero, judging that the reliability of the time sequence data set is low and the stability of a transmission network is low, and summing the packet loss numbers of all the time sequence data and the target number to obtain the production yield of the target equipment in a preset time period;
if the packet loss number of all the time sequence data is equal to zero and the difference between the actual working time and the theoretical working time of the time sequence data is larger than the time deviation value, judging that the stability of the transmission network is high in the reliability of the time sequence data set, and taking the target number as the production yield of the target equipment in a preset time period;
and if the packet loss number of all the time sequence data is equal to zero and the difference between the actual working time and the theoretical working time of all the time sequence data is smaller than the time deviation value, judging that the reliability of the time sequence data set is high and the stability of the transmission network is high, and taking the target quantity as the production yield of the target equipment in a preset time period.
In a second aspect of the embodiments of the present invention, a system for detecting reliability of collected data based on time sequence analysis is further provided, including a data calling module, a sorting module, a calculating module, and a judging module; wherein:
the data calling module is used for acquiring a time sequence data set of a preset time period of the target equipment; the time sequence data set comprises time sequence data of the target equipment in each working period, and the time sequence data comprises the actual working time of the target equipment in the period, a production data packet and the generation time of the time sequence data; the production data packet is used for recording the working condition of the target equipment;
the sequencing module is used for sequencing the time sequence data of each working cycle according to the generation time of the production data and calculating the theoretical working time of the target equipment of each working cycle according to any two adjacent time sequence data;
the calculation module is used for calculating the time deviation value of each working period according to the production data packet and calculating the packet loss number of the working period according to the actual working time and the theoretical working time;
and the judging module is used for judging the reliability of the time sequence data set and the stability of the transmission network according to the time deviation value and the packet loss number, and counting the production yield of the target equipment in a preset time period.
Optionally, the sorting module includes a time calculation sub-module:
and the time calculation submodule is used for calculating a difference value between first generation time of the first time sequence data and second generation time of the second time sequence data as theoretical working time of the target equipment in a working period of the first time sequence data by taking the previous time sequence data as first time sequence data and the later time sequence data as second time sequence data aiming at any two adjacent time sequence data.
Optionally, the calculation module includes a time deviation value calculation sub-module:
the data calling module is further configured to acquire, for each work cycle, a network parameter of a transmission network in which the target device is located; the network parameters comprise the bandwidth of a transmission network, the transmission delay in idle and the maximum transmission rate of a data transmission interface;
the time deviation value calculating submodule is used for calculating the time deviation value of the period according to the network parameters and the data quantity of the production data packet:
Figure DEST_PATH_IMAGE021
wherein the content of the first and second substances,
Figure 685944DEST_PATH_IMAGE003
is a value of a time offset,
Figure 622676DEST_PATH_IMAGE005
in order to transport the bandwidth of the network,
Figure 107753DEST_PATH_IMAGE007
for transmission delays when the transmission network is idle,
Figure 384013DEST_PATH_IMAGE009
data transmissionThe maximum transmission rate of the interface is,
Figure 679865DEST_PATH_IMAGE011
the amount of data that is used to produce the data packet,
Figure 792309DEST_PATH_IMAGE013
is a rounding function.
Optionally, the calculation module includes a lost packet number calculation sub-module;
the packet loss number calculating submodule is used for calculating the packet loss number of each working period according to the actual working time and the theoretical working time:
Figure 831809DEST_PATH_IMAGE022
wherein the content of the first and second substances,
Figure 962576DEST_PATH_IMAGE016
in order to count the number of packet losses,
Figure 678597DEST_PATH_IMAGE018
the actual working time is the time when the device is in operation,
Figure 527605DEST_PATH_IMAGE020
in order to be the theoretical working time,
Figure 855949DEST_PATH_IMAGE013
is a rounding function.
Optionally, the judging module includes a statistical module and a judging compensation module; wherein:
the counting module is used for counting the target number of the time sequence data packets received by the target equipment in a preset time period;
the judgment compensation module is used for judging the reliability of the time sequence data set and the stability of the transmission network according to the time deviation value and the packet loss number, and performing data compensation to determine the production yield of the target equipment in a preset time period:
if the packet loss number of the time sequence data is larger than zero, judging that the reliability of the time sequence data set is low and the stability of a transmission network is low, and summing the packet loss numbers of all the time sequence data and the target number to obtain the production yield of the target equipment in a preset time period;
if the packet loss number of all the time sequence data is equal to zero and the difference between the actual working time and the theoretical working time of the time sequence data is larger than the time deviation value, judging that the stability of the transmission network is high in the reliability of the time sequence data set, and taking the target number as the production yield of the target equipment in a preset time period;
and if the packet loss number of all the time sequence data is equal to zero and the difference between the actual working time and the theoretical working time of all the time sequence data is smaller than the time deviation value, judging that the reliability of the time sequence data set is high and the stability of the transmission network is high, and taking the target quantity as the production yield of the target equipment in a preset time period.
The embodiment of the invention provides a method for detecting the reliability of collected data based on time sequence analysis, which comprises the following steps: acquiring a time sequence data set of a preset time period of target equipment; the time sequence data set comprises time sequence data of the target equipment in each work period, and the time sequence data comprises the actual work time of the target equipment in the period, a production data packet and the generation time of the time sequence data; the production data packet is used for recording the working condition of the target equipment; sequencing the time sequence data of each working period according to the generation time of the production data, and calculating the theoretical working time of the target equipment of each working period according to any two adjacent time sequence data; aiming at each working period, calculating a time deviation value of the period according to a production data packet, and calculating a packet loss number of the working period according to actual working time and theoretical working time; and judging the reliability of the time sequence data set according to the time deviation value and the packet loss number, and judging the working correctness of the acquisition system and the stability of the transmission network.
The time sequence data of the target equipment is marked with the time tag of the generation time for storage, the reliability of the acquired data can be judged by analyzing the relation between the time sequence data and the generation time, the working correctness of the acquisition system and the stability of an acquisition network are judged in an auxiliary manner, and a guarantee is provided for the credibility of the source data of the upper application.
Drawings
The invention is further described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for detecting reliability of collected data based on time series analysis according to an embodiment of the present invention;
fig. 2 is a system block diagram of a system for detecting reliability of collected data based on time series analysis according to an embodiment of 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.
The embodiment of the invention provides a method for detecting the reliability of collected data based on time sequence analysis. Referring to fig. 1, fig. 1 is a flowchart of a method for detecting reliability of collected data based on time series analysis according to an embodiment of the present invention. The method may comprise the steps of:
s101, acquiring a time sequence data set of a preset time period of the target device.
S102, sequencing the time sequence data of each working period according to the generation time of the production data, and calculating the theoretical working time of the target equipment of each working period according to any two adjacent time sequence data.
S103, aiming at each working period, calculating the time deviation value of the period according to the production data packet, and calculating the packet loss number of the working period according to the actual working time and the theoretical working time.
And S104, judging the reliability of the time sequence data set and the stability of the transmission network according to the time deviation value and the packet loss number, and counting the production yield of the target equipment in a preset time period.
The time sequence data set comprises time sequence data of the target equipment in each work period, and the time sequence data comprises the actual work time of the target equipment in the period, a production data packet and the generation time of the time sequence data; the production data packet is used for recording the working condition of the target equipment.
According to the reliability detection method for the acquired data based on the time sequence analysis, provided by the embodiment of the invention, the time sequence data of the target equipment is marked with the time tag of the generation time for storage, the reliability of the acquired data can be judged by analyzing the relation between the time sequence data and the generation time, the working correctness of the acquisition system and the stability of an acquisition network are assisted to judge, and guarantee is provided for the credibility of the source data of the upper application.
In one implementation, the time series data set may be stored in a predetermined production database. When the database receives the time sequence data sent by the target equipment, the time of the current moment is obtained and used as the generation time of the time sequence data, and the generation time is used as a time tag and written into the time sequence data.
In one implementation, the production process of the target device is a relatively fixed cycle process, and the target device may be an injection molding machine, a stamping machine, a die casting machine, a bottle blowing machine, a packaging machine, an assembling machine, a pipe cutting machine, or the like. The embodiment of the invention is explained by taking an injection molding machine as an example, and the injection molding machine is also called an injection molding machine or an injection machine. The injection molding cycle is a cyclic process, the molding cycle mainly comprises storage time, injection pressure maintaining time, cooling time, mold opening and closing time, ejection and piece taking time, product cooling and screw metering storage are carried out simultaneously, and the larger value of the storage time and the cooling time is taken when the molding cycle is calculated (the cooling time generally comprises the storage time); in a full-automatic production mode, an injection molding cycle is very stable, the error of each mold cycle of an oil pressure injection molding machine is generally within 0.1 second, and the error of each mold cycle of an electric injection molding machine is generally within 0.01 second. One cycle modulo by one, the data per modulo is a time-sequential characteristic. Therefore, the time sequence data and the generation time of the time sequence data have certain periodicity characteristics, and the reliability of the acquired data can be judged by analyzing the relation between the time sequence data and the generation time.
In one implementation, the acquisition system may be acquisition software (e.g., SCADA) or acquisition hardware (e.g., data collector).
In one embodiment, calculating the theoretical working time of the target device of each working cycle according to any two adjacent time sequence data comprises the following steps:
step one, aiming at any two adjacent time sequence data, the previous time sequence data is used as first time sequence data, and the later time sequence data is used as second time sequence data.
And step two, calculating a difference value between the first generation time of the first time sequence data and the second generation time of the second time sequence data, and taking the difference value as the theoretical working time of the target equipment in the working period of the first time sequence data.
In one implementation, because the production process is continuous and uninterrupted, the theoretical working time of later generated time series data can be obtained by calculating the generation time difference of two adjacent time series data.
When the theoretical working time is longer than the actual working time, the data in the working period is stored in a delayed manner; when the theoretical working time is less than the actual working time, the data in the working period is stored in advance. And in consideration of the time loss of network transmission and storage, proper data delay storage is normal.
In one embodiment, for each duty cycle, calculating a time offset value for the cycle from the production data packet comprises:
step one, aiming at each working period, acquiring network parameters of a transmission network where target equipment is located; the network parameters comprise the bandwidth of a transmission network, the transmission delay in idle and the maximum transmission rate of a data transmission interface;
step two, calculating the time deviation value of the period according to the network parameters and the data quantity of the production data packet:
Figure 100002_DEST_PATH_IMAGE023
(1)
wherein the content of the first and second substances,
Figure 637960DEST_PATH_IMAGE003
is a value of a time offset,
Figure 524882DEST_PATH_IMAGE005
in order to transport the bandwidth of the network,
Figure 126765DEST_PATH_IMAGE007
for transmission delays when the transmission network is idle,
Figure 445751DEST_PATH_IMAGE009
the maximum transmission rate of the data transmission interface,
Figure 364160DEST_PATH_IMAGE011
the amount of data that is used to produce the data packet,
Figure 110399DEST_PATH_IMAGE013
is a rounding function.
In one implementation, there is a deviation between the actual operating time and the theoretical operating time due to the time loss of network transmission and storage, and the stored time loss is negligible with respect to the time loss of network transmission. Therefore, in the embodiment of the invention, the deviation between the actual working time and the theoretical working time is represented by calculating the time (i.e. the time deviation value) of network transmission.
In one embodiment, for each duty cycle, calculating a time offset value for the cycle from the production data packet comprises:
and acquiring production data packets of a preset number of working cycles before the working cycle, and taking the average value of the difference value (first difference value) between the actual working time and the theoretical working time of each working cycle as the time deviation value of the cycle.
In one implementation, the minimum value and the maximum value of the first difference values of each working period may be removed, and then the average value is obtained as the time offset value of the period, so as to reduce the influence of the network fluctuation on the time offset value.
In an embodiment, for each working cycle, calculating the packet loss number of the working cycle according to the actual working time and the theoretical working time specifically includes:
Figure 730736DEST_PATH_IMAGE024
(2)
wherein the content of the first and second substances,
Figure 108540DEST_PATH_IMAGE016
in order to count the number of packet losses,
Figure 661881DEST_PATH_IMAGE018
the actual working time is the time when the device is in operation,
Figure 329754DEST_PATH_IMAGE020
in order to be the theoretical working time,
Figure 702966DEST_PATH_IMAGE013
is a rounding function.
In one embodiment, step S104 includes:
counting the target number of time sequence data packets received by target equipment in a preset time period;
step two, judging the reliability of the time sequence data set and the stability of the transmission network according to the time deviation value and the packet loss number, and performing data compensation to determine the production yield of the target equipment in a preset time period:
if the packet loss number of the time sequence data is larger than zero, judging that the reliability of the time sequence data set is low and the stability of a transmission network is low, and summing the packet loss numbers of all the time sequence data and the target number to obtain the production yield of the target equipment in a preset time period;
if the packet loss number of all the time sequence data is equal to zero and the difference between the actual working time and the theoretical working time of the time sequence data is larger than the time deviation value, judging that the stability of the transmission network is high in the reliability of the time sequence data set, and taking the target number as the production yield of the target equipment in a preset time period;
and if the packet loss number of all the time sequence data is equal to zero and the difference between the actual working time and the theoretical working time of all the time sequence data is smaller than the time deviation value, judging that the reliability of the time sequence data set is high and the stability of the transmission network is high, and taking the target number as the production yield of the target equipment in a preset time period.
In one implementation, when the production yield of the target device in a certain period of time within a preset time period is calculated, if the acquisition device is normal and the network is stable within the time period, the number of the received time sequence data packets is the same as the production yield; if the acquisition equipment fails or the network is disconnected within the time, the time sequence data packet loss condition exists, so that the time sequence data packet quantity is different from the production yield, the time sequence data packet quantity is compensated through the calculated packet loss quantity, and the purpose of accurately calculating the production yield can be achieved under the condition that the network is unstable.
In one implementation, the specific ranking method and corresponding response operation of reliability of time series data set and stability of transmission network may include:
Figure 363755DEST_PATH_IMAGE026
stage (2): high reliability and data loss
Figure 489711DEST_PATH_IMAGE016
All 0, and all time series data
Figure 108911DEST_PATH_IMAGE028
The network is stable, and the acquisition equipment is stable;
Figure 641524DEST_PATH_IMAGE030
stage (2): basic reliability, data packet loss
Figure 919053DEST_PATH_IMAGE016
All 0, and part of time series data
Figure 853511DEST_PATH_IMAGE032
If the network stability is slightly poor, informing the optimized acquisition equipment;
Figure 378033DEST_PATH_IMAGE034
stage (2): the reliability is not high, and the reliability is high,
Figure 709526DEST_PATH_IMAGE036
will be
Figure 712117DEST_PATH_IMAGE016
Dividing the production yield to obtain a data packet loss rate, wherein the data packet loss rate is more than one thousandth and less than five thousandth, the network is relatively unstable, and the network is informed to be checked;
Figure 766661DEST_PATH_IMAGE038
stage (2): the method is very unreliable, the data packet loss rate is more than five per thousand, the network is very unstable, and the network is informed to be repaired.
The embodiment of the invention also provides a reliability detection system for the collected data based on the time sequence analysis based on the same inventive concept. Referring to fig. 2, fig. 2 is a system block diagram of a system for detecting reliability of collected data based on time series analysis according to an embodiment of the present invention. The system comprises a data calling module, a sorting module, a calculating module and a judging module; wherein:
the data calling module is used for acquiring a time sequence data set of a preset time period of the target equipment; the time sequence data set comprises time sequence data of the target equipment in each work period, and the time sequence data comprises the actual work time of the target equipment in the period, a production data packet and the generation time of the time sequence data; the production data packet is used for recording the working condition of the target equipment;
the sequencing module is used for sequencing the time sequence data of each working cycle according to the generation time of the production data and calculating the theoretical working time of the target equipment of each working cycle according to any two adjacent time sequence data;
the calculation module is used for calculating a time deviation value of each working period according to the production data packet and calculating the packet loss number of the working period according to the actual working time and the theoretical working time;
and the judging module is used for judging the reliability of the time sequence data set and the stability of the transmission network according to the time deviation value and the packet loss number, and counting the production yield of the target equipment in a preset time period.
In one embodiment, the ranking module includes a time calculation sub-module:
and the time calculation submodule is used for calculating the difference value of the first generation time of the first time sequence data and the second generation time of the second time sequence data as the theoretical working time of the target equipment in the working period of the first time sequence data by taking the previous time sequence data as the first time sequence data and the later time sequence data as the second time sequence data aiming at any two adjacent time sequence data.
In one embodiment, the calculation module comprises a time deviation value calculation sub-module:
the data calling module is also used for acquiring the network parameters of the transmission network where the target equipment is located aiming at each working period; the network parameters comprise the bandwidth of a transmission network, the transmission delay in idle and the maximum transmission rate of a data transmission interface;
the time deviation value calculating submodule is used for calculating the time deviation value of the period according to the network parameters and the data quantity of the production data packet:
Figure DEST_PATH_IMAGE039
wherein the content of the first and second substances,
Figure 540713DEST_PATH_IMAGE003
is a value of the time offset,
Figure 47917DEST_PATH_IMAGE005
in order to transport the bandwidth of the network,
Figure 165784DEST_PATH_IMAGE007
for transmission delays when the transmission network is idle,
Figure 74834DEST_PATH_IMAGE009
the maximum transmission rate of the data transmission interface,
Figure 488629DEST_PATH_IMAGE011
the amount of data that is used to produce the data packet,
Figure 483130DEST_PATH_IMAGE013
is a rounding function.
In one embodiment, the calculation module comprises a lost packet number calculation submodule;
and the packet loss number calculation submodule is used for calculating the packet loss number of each working period according to the actual working time and the theoretical working time:
Figure 889840DEST_PATH_IMAGE040
wherein the content of the first and second substances,
Figure 896805DEST_PATH_IMAGE016
in order to count the number of packet losses,
Figure 730769DEST_PATH_IMAGE018
the actual working time of the air conditioner is as follows,
Figure 212566DEST_PATH_IMAGE020
in order to be the theoretical working time,
Figure 376962DEST_PATH_IMAGE013
is a rounding function.
In one embodiment, the judging module comprises a statistic module and a judgment compensation module; wherein:
the counting module is used for counting the target number of the time sequence data packets received by the target equipment in a preset time period;
and the judgment compensation module is used for judging the reliability of the time sequence data set and the stability of the transmission network according to the time deviation value and the packet loss number, and performing data compensation to determine the production yield of the target equipment in a preset time period:
if the packet loss number of the time sequence data is larger than zero, judging that the reliability of the time sequence data set is low and the stability of a transmission network is low, and summing the packet loss numbers of all the time sequence data and the target number to obtain the production yield of the target equipment in a preset time period;
if the packet loss number of all the time sequence data is equal to zero and the difference between the actual working time and the theoretical working time of the time sequence data is larger than the time deviation value, judging that the stability of the transmission network is high in the reliability of the time sequence data set, and taking the target number as the production yield of the target equipment in a preset time period;
and if the packet loss number of all the time sequence data is equal to zero and the differences between the actual working time and the theoretical working time of all the time sequence data are smaller than the time deviation value, judging that the time sequence data of the time sequence data set is high in reliability and the stability of the transmission network is high, and taking the target number as the production output of the target equipment in a preset time period.
While one embodiment of the present invention has been described in detail, the description is only a preferred embodiment of the present invention and should not be taken as limiting the scope of the invention. All equivalent changes and modifications made within the scope of the present invention shall fall within the scope of the present invention.

Claims (6)

1. A method for detecting reliability of collected data based on time sequence analysis is characterized by comprising the following steps:
acquiring a time sequence data set of a preset time period of target equipment; the time sequence data set comprises time sequence data of the target equipment in each working period, and the time sequence data comprises the actual working time of the target equipment in the period, a production data packet and the generation time of the time sequence data; the production data packet is used for recording the working condition of the target equipment;
sequencing the time sequence data of each working period according to the generation time of the production data, and calculating the theoretical working time of the target equipment of each working period according to any two adjacent time sequence data;
calculating the theoretical working time of the target device in each working cycle according to any two adjacent time sequence data comprises the following steps:
regarding any two adjacent time sequence data, taking the previous time sequence data as first time sequence data, and taking the next time sequence data as second time sequence data;
calculating a difference value between first generation time of the first time sequence data and second generation time of the second time sequence data, and taking the difference value as theoretical working time of the target equipment during a working cycle of the first time sequence data;
aiming at each working period, calculating a time deviation value of the period according to a production data packet, and calculating the packet loss number of the working period according to actual working time and theoretical working time; the time offset value is the time of network transmission of the production data packet;
for each working cycle, calculating the packet loss number of the working cycle according to the actual working time and the theoretical working time specifically comprises the following steps:
Figure DEST_PATH_IMAGE002
wherein, the first and the second end of the pipe are connected with each other,
Figure DEST_PATH_IMAGE004
in order to count the number of packet losses,
Figure DEST_PATH_IMAGE006
the actual working time of the air conditioner is as follows,
Figure DEST_PATH_IMAGE008
in order to be the theoretical working time,
Figure DEST_PATH_IMAGE010
is a rounding function;
and judging the reliability of the time sequence data set and the stability of the transmission network according to the time deviation value and the packet loss number, and counting the production yield of the target equipment in a preset time period.
2. The method as claimed in claim 1, wherein calculating the time deviation value of each working cycle according to the production data packet comprises:
acquiring network parameters of a transmission network where the target equipment is located aiming at each working period; the network parameters comprise the bandwidth of a transmission network, the transmission delay in idle and the maximum transmission rate of a data transmission interface;
calculating the time deviation value of the period according to the network parameters and the data quantity of the production data packets:
Figure DEST_PATH_IMAGE012
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE014
is a value of a time offset,
Figure DEST_PATH_IMAGE016
in order to transport the bandwidth of the network,
Figure DEST_PATH_IMAGE018
for transmission delays when the transmission network is idle,
Figure DEST_PATH_IMAGE020
the maximum transmission rate of the data transmission interface,
Figure DEST_PATH_IMAGE022
the amount of data that is used to produce the data packet,
Figure DEST_PATH_IMAGE023
is a rounding function.
3. The method for detecting reliability of collected data based on time series analysis according to claim 1, wherein the determining the reliability of the time series data set and the stability of the transmission network according to the time deviation value and the number of lost packets, and the counting the production yield of the target device in the preset time period comprises:
counting the target number of the time sequence data packets received by the target equipment in a preset time period;
judging the reliability of the time sequence data set and the stability of the transmission network according to the time deviation value and the packet loss number, and performing data compensation to determine the production yield of the target equipment in a preset time period:
if the packet loss number of the time sequence data is larger than zero, judging that the reliability of the time sequence data set is low and the stability of a transmission network is low, and summing the packet loss numbers of all the time sequence data and the target number to obtain the production yield of the target equipment in a preset time period;
if the packet loss number of all the time sequence data is equal to zero and the difference between the actual working time and the theoretical working time of the time sequence data is larger than the time deviation value, judging that the stability of the transmission network is high in the reliability of the time sequence data set, and taking the target number as the production yield of the target equipment in a preset time period;
and if the packet loss number of all the time sequence data is equal to zero and the difference between the actual working time and the theoretical working time of all the time sequence data is smaller than the time deviation value, judging that the reliability of the time sequence data set is high and the stability of the transmission network is high, and taking the target quantity as the production yield of the target equipment in a preset time period.
4. A reliability detection system of collected data based on time sequence analysis is characterized by comprising a data calling module, a sorting module, a calculating module and a judging module; wherein:
the data calling module is used for acquiring a time sequence data set of a preset time period of the target equipment; the time sequence data set comprises time sequence data of the target equipment in each working period, and the time sequence data comprises the actual working time of the target equipment in the period, a production data packet and the generation time of the time sequence data; the production data packet is used for recording the working condition of the target equipment;
the sequencing module is used for sequencing the time sequence data of each working cycle according to the generation time of the production data and calculating the theoretical working time of the target equipment of each working cycle according to any two adjacent time sequence data;
the sequencing module comprises a time calculation submodule:
the time calculation submodule is used for calculating a difference value between first generation time of the first time sequence data and second generation time of the second time sequence data as theoretical working time of the target equipment in a working period of the first time sequence data by taking the previous time sequence data as first time sequence data and the next time sequence data as second time sequence data aiming at any two adjacent time sequence data;
the calculation module is used for calculating a time deviation value of each working period according to the production data packet and calculating the packet loss number of the working period according to the actual working time and the theoretical working time; the time offset value is the time of network transmission of the production data packet;
the calculation module comprises a packet loss number calculation submodule;
the packet loss number calculating submodule is used for calculating the packet loss number of each working period according to the actual working time and the theoretical working time:
Figure 78350DEST_PATH_IMAGE002
wherein the content of the first and second substances,
Figure 448021DEST_PATH_IMAGE004
in order to count the number of packet losses,
Figure 758916DEST_PATH_IMAGE006
the actual working time is the time when the device is in operation,
Figure 295071DEST_PATH_IMAGE008
in order to be the theoretical working time,
Figure 640602DEST_PATH_IMAGE010
is a rounding function;
and the judging module is used for judging the reliability of the time sequence data set and the stability of the transmission network according to the time deviation value and the packet loss number, and counting the production yield of the target equipment in a preset time period.
5. The system for detecting reliability of collected data based on time series analysis of claim 4, wherein the calculating module comprises a time deviation value calculating sub-module:
the data calling module is further configured to acquire, for each work cycle, a network parameter of a transmission network in which the target device is located; the network parameters comprise the bandwidth of a transmission network, the transmission delay in idle and the maximum transmission rate of a data transmission interface;
the time deviation value calculating submodule is used for calculating the time deviation value of the period according to the network parameters and the data quantity of the production data packet:
Figure DEST_PATH_IMAGE024
wherein the content of the first and second substances,
Figure 151480DEST_PATH_IMAGE014
is a value of a time offset,
Figure 621775DEST_PATH_IMAGE016
in order to transport the bandwidth of the network,
Figure 476468DEST_PATH_IMAGE018
for transmission delays when the transmission network is idle,
Figure 676505DEST_PATH_IMAGE020
the maximum transmission rate of the data transmission interface,
Figure 76393DEST_PATH_IMAGE022
the amount of data that is used to produce the data packet,
Figure 361881DEST_PATH_IMAGE023
is a rounding function.
6. The system for detecting reliability of collected data based on time series analysis according to claim 4, wherein the judging module comprises a statistical module and a judging compensation module; wherein:
the counting module is used for counting the target number of the time sequence data packets received by the target equipment in a preset time period;
the judgment compensation module is used for judging the reliability of the time sequence data set and the stability of the transmission network according to the time deviation value and the packet loss number, and performing data compensation to determine the production yield of the target equipment in a preset time period:
if the packet loss number of the time sequence data is larger than zero, judging that the reliability of the time sequence data set is low and the stability of a transmission network is low, and summing the packet loss numbers of all the time sequence data and the target number to obtain the production yield of the target equipment in a preset time period;
if the packet loss number of all the time sequence data is equal to zero and the difference between the actual working time and the theoretical working time of the time sequence data is larger than the time deviation value, judging that the stability of the transmission network is high in the reliability of the time sequence data set, and taking the target number as the production yield of the target equipment in a preset time period;
and if the packet loss number of all the time sequence data is equal to zero and the difference between the actual working time and the theoretical working time of all the time sequence data is smaller than the time deviation value, judging that the reliability of the time sequence data set is high and the stability of the transmission network is high, and taking the target quantity as the production yield of the target equipment in a preset time period.
CN202210993238.3A 2022-08-18 2022-08-18 Method and system for detecting reliability of acquired data based on time sequence analysis Active CN115065618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210993238.3A CN115065618B (en) 2022-08-18 2022-08-18 Method and system for detecting reliability of acquired data based on time sequence analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210993238.3A CN115065618B (en) 2022-08-18 2022-08-18 Method and system for detecting reliability of acquired data based on time sequence analysis

Publications (2)

Publication Number Publication Date
CN115065618A CN115065618A (en) 2022-09-16
CN115065618B true CN115065618B (en) 2022-11-29

Family

ID=83208575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210993238.3A Active CN115065618B (en) 2022-08-18 2022-08-18 Method and system for detecting reliability of acquired data based on time sequence analysis

Country Status (1)

Country Link
CN (1) CN115065618B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021136449A1 (en) * 2020-01-02 2021-07-08 中国移动通信有限公司研究院 Associated performance measurement method and apparatus, device, and computer readable storage medium
CN113726589A (en) * 2020-05-26 2021-11-30 千寻位置网络有限公司 Method for monitoring epoch network state
CN114095418A (en) * 2021-11-22 2022-02-25 南通大学 Reliable transmission method for industrial Internet of things data in wireless optical fiber hybrid network scene

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056218B (en) * 2006-04-14 2012-08-08 华为技术有限公司 A network performance measurement method and system
US20200348662A1 (en) * 2016-05-09 2020-11-05 Strong Force Iot Portfolio 2016, Llc Platform for facilitating development of intelligence in an industrial internet of things system
CN113410911B (en) * 2021-08-02 2022-01-11 广东电网有限责任公司中山供电局 Working state monitoring method and system of power factor compensation device
CN114039891A (en) * 2021-11-06 2022-02-11 麻恩泽 Sketch-based software-defined network large-flow end-to-end time delay and packet loss rate estimation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021136449A1 (en) * 2020-01-02 2021-07-08 中国移动通信有限公司研究院 Associated performance measurement method and apparatus, device, and computer readable storage medium
CN113726589A (en) * 2020-05-26 2021-11-30 千寻位置网络有限公司 Method for monitoring epoch network state
CN114095418A (en) * 2021-11-22 2022-02-25 南通大学 Reliable transmission method for industrial Internet of things data in wireless optical fiber hybrid network scene

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于自适应流量采集的网络可靠性分析系统实现;李达等;《微计算机信息》;20091125(第33期);全文 *

Also Published As

Publication number Publication date
CN115065618A (en) 2022-09-16

Similar Documents

Publication Publication Date Title
CN107634848A (en) A kind of system and method for collection analysis network equipment information
CN108448625B (en) Fan cut-in wind speed calculation method based on data driving
WO2008116282A1 (en) System and method of monitoring and quantifying performance of an automated manufacturing facility
AU2022204116A1 (en) Verification method for electrical grid measurement data
CN113762604B (en) Industrial Internet big data service system
CN109634944B (en) Network loss data cleaning method based on multi-dimensional space-time analysis
CN115065618B (en) Method and system for detecting reliability of acquired data based on time sequence analysis
CN116483015A (en) Workshop equipment monitoring method, device, equipment and storage medium
CN107291818B (en) Exchange system with built-in data confirmation and account checking
CN113034307A (en) Data acquisition method for power enterprise
CN112395298A (en) Data consistency management system based on data layering thought
CN115222307B (en) Pipeline worker safety control method based on data analysis
CN113159564B (en) Automatic production line comprehensive efficiency evaluation method based on MES and CMMS big data
CN106777313A (en) Based on holographic time scale measurement electric network data calculated value and calculated value Component Analysis method
CN110633270B (en) Multi-strategy electric meter daily freezing value automatic substitution method and device based on priority
CN115375126A (en) Failure probability analysis method and system for strategic spare parts
CN111737242A (en) Method for monitoring mass data processing process
CN114389962A (en) Broadband loss user determination method and device, electronic equipment and storage medium
CN112561388A (en) Information processing method, device and equipment based on Internet of things
CN115600930B (en) Intelligent management method for electric power fitting production data
CN105391049A (en) Power grid parameter estimation method considering probability distribution
CN116956720B (en) Industrial digital twin simulation operation and maintenance system
CN111858263B (en) Log analysis-based fault prediction method, system and device
CN115167327A (en) Control method and system for new energy automobile part production equipment
TWI821666B (en) Service management system and adaption method of service information process

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