CN111856972A - Method and device for detecting equipment state switching time and electronic equipment - Google Patents

Method and device for detecting equipment state switching time and electronic equipment Download PDF

Info

Publication number
CN111856972A
CN111856972A CN202010514083.1A CN202010514083A CN111856972A CN 111856972 A CN111856972 A CN 111856972A CN 202010514083 A CN202010514083 A CN 202010514083A CN 111856972 A CN111856972 A CN 111856972A
Authority
CN
China
Prior art keywords
time
moment
equipment
state
yield
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.)
Granted
Application number
CN202010514083.1A
Other languages
Chinese (zh)
Other versions
CN111856972B (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.)
Qingdao aolipuzhi Intelligent Industrial Technology Co.,Ltd.
Original Assignee
Qingdao Aolipu Automation and Control System 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 Qingdao Aolipu Automation and Control System Co Ltd filed Critical Qingdao Aolipu Automation and Control System Co Ltd
Priority to CN202010514083.1A priority Critical patent/CN111856972B/en
Publication of CN111856972A publication Critical patent/CN111856972A/en
Application granted granted Critical
Publication of CN111856972B publication Critical patent/CN111856972B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Abstract

The embodiment of the invention provides a method, a device and electronic equipment for detecting equipment state switching time, wherein the method comprises the following steps: acquiring corresponding equipment information in a time period to be detected, wherein the equipment information comprises equipment yield and/or equipment temperature corresponding to a plurality of moments in the time period to be detected; and detecting the equipment state switching time corresponding to the process of switching the equipment from the first state to the second state from the plurality of times based on the equipment yield and/or the equipment temperature corresponding to the plurality of times. The method realizes automatic detection of the equipment state switching moment so as to determine the actual operation time of the equipment and improve the accuracy of the monitoring result of the production index.

Description

Method and device for detecting equipment state switching time and electronic equipment
Technical Field
The invention relates to the technical field of electronic equipment control, in particular to a method and a device for detecting equipment state switching time and electronic equipment.
Background
Some production indexes can be monitored through the starting time and the shutdown time of the equipment. The production index is, for example, an Equipment Overall efficiency (OEE) index, and the OEE index is used for measuring a ratio of an actual production capacity of the Equipment to an ideal capacity of the Equipment, and dynamically reflecting time efficiency, performance efficiency and quality qualification rate of a production field.
At present, the startup time and the shutdown time of the equipment are usually manually input by related personnel, but errors often exist in the manually input startup time and the manually input shutdown time, and the calculation of the OEE index is further influenced. Specifically, the recorded device power-on time is later than the actual power-on time, or the recorded device power-off time is earlier than the actual power-off time, so that the working time of the device is shorter than the actual working time, which results in a higher monitored OEE index of the device.
In summary, how to determine the actual running time of the equipment to improve the accuracy of the monitoring result of the production index becomes a technical problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a method and a device for detecting equipment state switching time and electronic equipment, which are used for improving the accuracy of a production index monitoring result.
In a first aspect, an embodiment of the present invention provides a method for detecting device state switching time, where the method includes:
acquiring corresponding equipment information in a time period to be detected, wherein the equipment information comprises equipment yield and/or equipment temperature corresponding to a plurality of moments in the time period to be detected;
and detecting the equipment state switching time corresponding to the process of switching the equipment from the first state to the second state from the plurality of times based on the equipment yield and/or the equipment temperature corresponding to the plurality of times.
In a second aspect, an embodiment of the present invention provides an apparatus for detecting device state switching time, where the apparatus includes:
the acquisition module is used for acquiring corresponding equipment information in a time period to be detected, and the equipment information comprises equipment yield and/or equipment temperature corresponding to a plurality of moments in the time period to be detected;
the detection module is used for detecting the equipment state switching time corresponding to the process of switching the equipment from the first state to the second state from a plurality of times based on the equipment yield and/or the equipment temperature corresponding to the plurality of times.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor and a memory, where the memory stores executable codes, and when the executable codes are executed by the processor, the processor is enabled to implement at least the method for detecting a device state switching time in the first aspect.
An embodiment of the present invention provides a non-transitory machine-readable storage medium, on which an executable code is stored, and when the executable code is executed by a processor of an electronic device, the processor is enabled to at least implement the method for detecting a device state switching time in the first aspect.
In the embodiment of the invention, the equipment information corresponding to the time interval to be detected is obtained, the equipment information comprises the equipment yield and/or the equipment temperature corresponding to a plurality of moments in the time interval to be detected, and the equipment yield and the equipment temperature corresponding to the plurality of moments can reflect the state of the equipment, so that the equipment state switching moment corresponding to the process of switching the equipment from the first state to the second state is detected from the plurality of moments based on the equipment yield and/or the equipment temperature corresponding to the plurality of moments, the automatic detection of the equipment state switching moment is realized, the actual running time of the equipment can be determined, and the accuracy of the production index monitoring result is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart of a method for detecting a device state switching time according to an embodiment of the present invention;
Fig. 2 is a schematic diagram illustrating a detection process of a device state switching time according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating another detection process of the device state switching time according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for detecting device state switching time according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device corresponding to the device state switching time detection apparatus provided in the embodiment shown in fig. 4.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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 terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and "a plurality" typically includes at least two.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In addition, the sequence of steps in each method embodiment described below is only an example and is not strictly limited.
At present, in order to monitor production indexes such as OEE indexes, the startup time and the shutdown time of equipment are usually manually recorded by related personnel, but errors often exist in the recorded startup time and the recorded shutdown time, and then the OEE index monitoring result is influenced. In practical application, the recorded equipment startup time is later than the actual startup time, or the recorded equipment shutdown time is earlier than the actual shutdown time, so that the working time of the equipment is shorter than the actual working time, and the monitored OEE index of the equipment is higher.
Obviously, how to determine the actual running time of the equipment to improve the accuracy of the monitoring result of the production index becomes a technical problem to be solved urgently.
In view of the above technical problems, embodiments of the present invention provide a method and an apparatus for detecting a device state switching time, and an electronic device. In summary, the solution idea of the detection scheme for device state switching time provided by the embodiment of the present invention is as follows:
according to the scheme, the corresponding equipment information in the time interval to be detected is obtained, and the equipment information comprises the equipment yield and/or the equipment temperature corresponding to a plurality of moments in the time interval to be detected. Since the device yield and the device temperature corresponding to the multiple times can reflect the state of the device, the device state switching time corresponding to the process of switching the device from the first state to the second state can be detected from the multiple times based on the device yield and/or the device temperature corresponding to the multiple times, and the automatic detection of the device state switching time is realized. Through automatic detection of the equipment state switching moment, the actual operation time of the equipment can be determined, and the accuracy of a production index monitoring result is improved.
Having described the basic idea of a detection scheme for device state switching times, various non-limiting embodiments of the present invention are described in detail below.
The detection scheme of the device state switching time provided by the embodiment of the invention can be executed by an electronic device, and the electronic device can be a server. The server may be a physical server including an independent host, or may also be a virtual server carried by a host cluster, or may also be a cloud server. The electronic device may also be a terminal device such as a smartphone, tablet, PC, notebook, etc.
In practical applications, the electronic device may be a production line management device, for example, a device equipped with a Manufacturing Execution System (MES). The MES at least comprises a system maintenance end and a monitoring end for detecting the equipment state switching time. Optionally, the monitoring end may be implemented as a terminal application corresponding to each production process, or may also be implemented as an electronic billboard corresponding to each production process.
The detection scheme of the equipment state switching time provided by the embodiment of the invention is suitable for a scene of monitoring the running time of various product manufacturing equipment. In practical applications, various product manufacturing facilities are used, such as a bottled beer bottling line and a carbonated beverage bottling line. The bottled beer filling production line comprises a sterilizer.
The following describes the implementation of the method for detecting the device state switching time in conjunction with the following embodiments.
Fig. 1 is a flowchart of a method for detecting device state switching time according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
101. and acquiring corresponding equipment information in a time period to be detected.
In the embodiment of the invention, in order to determine the actual operation time of the various product manufacturing devices, the actual operation states of the various product manufacturing devices need to be determined, so that the device information corresponding to the period to be detected needs to be acquired, and the subsequent detection is realized based on the device information.
In the embodiment of the invention, the equipment information comprises equipment yield and/or equipment temperature corresponding to a plurality of moments in the period to be detected. A plurality of moments, i.e. a plurality of points in time within the period to be detected. The production capacity of the apparatus corresponding to a plurality of times includes, for example, the production capacity corresponding to each time. The device temperatures corresponding to the plurality of times include, for example, device temperatures corresponding to the respective times. Equipment throughput and equipment temperature can vary as equipment conditions change. Optionally, the device information may also include a device identification, such as a production line identification.
For example, if the device is a bottled beer filling device, the device output corresponding to a plurality of times in the period to be detected may be the bottle discharge number corresponding to the plurality of times, and the device temperature corresponding to the plurality of times may be the sterilizer temperature corresponding to the plurality of times.
In an optional embodiment, in 101, the device information is periodically collected based on a preset period. At this time, the interval duration between the multiple times is the same, and the interval duration is determined by the preset period. For example, the preset period is 5 minutes.
For example, assuming that the device is a bottled beer filling device, the device information corresponding to the multiple times in the period to be detected includes the number of bottles discharged and the temperature of the sterilizer corresponding to the multiple times. A database table for storing the number of bottles discharged and the temperature of the sterilizing machine corresponding to a plurality of moments can be established in a database, the storage instruction is executed once every half hour, and the number of bottles discharged and the temperature of the sterilizing machine collected from bottled beer filling equipment are stored in the database table.
Alternatively, the average value of the difference between the number of bottles discharged in every 5 minutes and the average value of the temperature of the sterilizer in every 5 minutes of the bottled beer filling equipment are calculated, and then the data are stored in the database table every half hour.
The calculation process of the bottle number difference is as follows: suppose that the three equally spaced time points are time point a, time point b and time point c. Assuming that the number of bottles discharged at the time a is 100, the number of bottles discharged at the time b is 150 and the number of bottles discharged at the time b is 300, the difference between the number of bottles discharged at the time b and the number of bottles discharged at the time a is 50; the difference between the number of bottles discharged at the time c and the number of bottles discharged at the time b is 150. If the number of output bottles difference is null, the number of output bottles difference is recorded as 0 in the database table.
Optionally, the sterilization machine status can also be recorded in a database table so as to simplify the subsequent detection and judgment process. Specifically, if the sterilizer temperature is higher than or equal to a preset threshold (e.g., 50 degrees), the sterilizer temperature status is recorded as 1 in the database table. If the temperature of the sterilization machine is lower than the preset threshold value, the temperature state of the sterilization machine is recorded as 0 in the database table. In order to eliminate the interference of the abnormal condition on the detection process, if the temperature of the sterilization machine is a null value or is not in the range of 0-90 degrees, the temperature state of the sterilization machine is recorded as 0 in the database table.
In other plants than bottled beer filling plants, the plant output and the plant temperature may also be implemented as other data than the number of bottles output and the sterilizer temperature of the above examples. For example, the equipment temperature in the bottled milk production equipment is the temperature of the milk bottle disinfection equipment.
In practical applications, the device information is collected in real time by an Object Linking and embedding (OPC) technique applied to Process Control. OPC technology refers to a communication interface standard established between industrial control systems and applications. The technology provides a standard data access mechanism of an industrial control system, effectively separates hardware from application software, mainly solves the problem of data exchange between a process control system and a data source thereof, and can provide transparent data access among various applications.
After the device information corresponding to the period to be detected is obtained, the device state switching time can be detected based on the device information.
102. And detecting the equipment state switching time corresponding to the process of switching the equipment from the first state to the second state from the plurality of times based on the equipment yield and/or the equipment temperature corresponding to the plurality of times.
In the embodiment of the invention, the equipment state switching time comprises a shutdown time and a startup time. The shutdown time is a time corresponding to a process of switching the device from the running state to the shutdown state. The starting-up time is the time corresponding to the process of switching the equipment from the shutdown state to the running state.
For the shutdown time and the startup time, how to detect the device state switching time corresponding to the process of switching the device from the first state to the second state from multiple times will be described below in two cases:
the first condition is as follows: the first state is assumed to be an operating state, the second state is assumed to be a shutdown state, and the device state switching time comprises shutdown time.
In this case, the detection of the device state switching time corresponding to the process of switching the device from the first state to the second state from the plurality of times based on the device yield and/or the device temperature corresponding to the plurality of times may be implemented as the detection process shown in fig. 2, including the steps of:
201. and selecting a first moment from the plurality of moments based on the equipment temperatures corresponding to the plurality of moments.
The equipment temperature corresponding to the first moment is lower than the equipment temperature corresponding to the second moment, the equipment temperature corresponding to the first moment is lower than a first threshold, the equipment temperature corresponding to the second moment is higher than or equal to the first threshold, and the time sequence of the second moment is arranged in the front of the first moment.
For example, assuming that the device is a bottled beer filling device, the device output corresponding to a plurality of moments in the period to be detected includes the sterilization machine state corresponding to a plurality of moments, and the sterilization machine state is used for indicating the interval where the device temperature of the sterilization machine is located. Assuming that the sterilizer temperature is higher than or equal to 50 degrees (i.e., the above-mentioned first threshold), the sterilizer temperature status is recorded as 1; if the temperature of the sterilizer is lower than 50 ℃, the temperature state of the sterilizer is recorded as 0. Based on this, if it is detected that the difference between the sterilization machine temperature state corresponding to the time t and the sterilization machine temperature state corresponding to the previous time among the plurality of times is-1, that is, the sterilization machine state changes from 1 to 0, the time t is taken as the first time.
202. The method includes determining that the device is in a shutdown state for a first preset duration from a first time.
Specifically, if it is detected that the average value of the device temperatures corresponding to each time within a first preset time period from a first time is smaller than a second threshold, it is determined that the device is in a shutdown state within the first preset time period, where the second threshold is smaller than or equal to the first threshold.
For example, the first preset time period may be 8 hours. In order to improve the accuracy of the determination result, the second threshold should have a certain difference from the first threshold. For example, the first threshold is 50 degrees, the second threshold may be set to 44 degrees. In practical applications, the second threshold is determined according to different devices.
203. And selecting a third time as a shutdown time from the times prior to the first time in the time sequence based on the equipment yield corresponding to the plurality of times.
And the equipment yield corresponding to the third moment is equal to the equipment yield corresponding to the moment adjacent to the third moment, and the time sequence of the moment adjacent to the third moment is arranged at the front or the back of the third moment.
Specifically, the difference in the production capacity of the equipment corresponding to the time points that precede the first time point in the chronological order may be determined. Assuming that the time i is any one of the times prior to the first time in chronological order, the device production difference value corresponding to the time i is a difference between the device production corresponding to the time i and the device production corresponding to the time adjacent to the time i. And selecting a fourth moment with the shortest time interval with the first moment from at least one moment when the equipment yield difference is larger than the third threshold, further arranging the fourth moment and the first moment in a time sequence, and selecting the moment with the earliest time sequence and zero equipment yield difference as the third moment. Alternatively, assuming that the apparatus is a bottled beer filling apparatus, the apparatus yield difference may be implemented as a bottle number difference, and a bottle number difference of zero indicates that the bottle number of the apparatus has not changed at an adjacent time.
Case two: the first state is assumed to be a shutdown state, the second state is assumed to be an operation state, and the device state switching time includes a startup time.
In this case, the detection of the apparatus state switching time corresponding to the process of switching the apparatus from the first state to the second state from the plurality of times based on the apparatus yield and/or the apparatus temperature corresponding to the plurality of times may be implemented as the detection process shown in fig. 3, including the steps of:
301. and selecting a fifth moment from the plurality of moments based on the equipment temperatures corresponding to the plurality of moments.
The device temperature corresponding to the fifth moment is higher than the device temperature corresponding to the sixth moment, the device temperature corresponding to the fifth moment is higher than the first threshold, the device temperature corresponding to the sixth moment is lower than or equal to the first threshold, and the time sequence of the sixth moment is arranged in the front of the fifth moment.
For example, assuming that the device is a bottled beer filling device, the device output corresponding to a plurality of moments in the period to be detected includes the sterilization machine state corresponding to a plurality of moments, and the sterilization machine state is used for indicating the interval where the device temperature of the sterilization machine is located. Assuming that the sterilizer temperature is higher than or equal to 50 degrees (i.e., the above-mentioned first threshold), the sterilizer temperature status is recorded as 1; if the temperature of the sterilizer is lower than 50 ℃, the temperature state of the sterilizer is recorded as 0. Based on this, if it is detected that the difference between the sterilization machine temperature state corresponding to the time point p and the sterilization machine temperature state corresponding to the previous time point is 1, that is, the sterilization machine state changes from 0 to 1, the time point p is taken as the fifth time point.
302. And determining that the equipment is in the running state within a second preset time period from the fifth moment.
Specifically, if it is detected that the average value of the device temperatures corresponding to the times in the second preset time period is greater than the first threshold value, and the average value of the device yields corresponding to the times in the second preset time period is greater than the sixth threshold value, it is determined that the device is in the operating state in the second preset time period.
For example, assuming that the apparatus is a bottled beer filling apparatus, the apparatus output corresponding to a plurality of times within the period to be detected includes a bottle number difference and a sterilizer temperature corresponding to a plurality of times. The sixth threshold is assumed to be 500. The second predetermined duration is assumed to be 6 hours. And if the average value of the bottle number difference is larger than 500 and the temperature of the sterilizing machine is larger than 50 ℃ within 6 hours from the moment p, determining that the bottled beer filling equipment is in the operating state within 6 hours from the moment p.
303. And selecting a seventh moment from the moments after the fifth moment in time sequence as the starting moment based on the equipment yield and the equipment temperature corresponding to the moments.
The device yield difference corresponding to the seventh moment is larger than a fourth threshold, the device temperature corresponding to the seventh moment is larger than a fifth threshold, the time sequence of the moment adjacent to the seventh moment is arranged at the front position or the rear position of the seventh moment, and the fifth threshold is larger than or equal to the first threshold. Optionally, the sixth threshold is greater than the fourth threshold.
For example, assuming that the apparatus is a bottled beer filling apparatus, the apparatus output corresponding to a plurality of times within the period to be detected includes a bottle number difference and a sterilizer temperature corresponding to a plurality of times. The fourth threshold is assumed to be 100. The fifth threshold is assumed to be 55 degrees. And after the time p, taking the seventh time that the average value of the bottle number difference of the first bottle discharge is more than 100 and the temperature of the sterilizer is more than 55 degrees as the starting time.
It should be noted that the threshold and the threshold number are only one example provided in the present embodiment. In practical applications, the threshold value may be set according to a specific device or a specific production process.
Alternatively, after detecting a device state switching time corresponding to a process of switching the device from the first state to the second state from a plurality of times, the device state switching time may be stored. For example, it is still assumed that the device is a bottled beer filling device, and the device information corresponding to the multiple times in the period to be detected includes the number of bottles discharged and the temperature of the sterilizer corresponding to the multiple times. A database table for storing a plurality of device state switching times may be established in the database, the storage instruction of the device state switching times may be executed once per hour, and the device state switching times detected based on the number of bottles discharged and the temperature of the sterilizer may be stored in the database table. If the execution of the storage instruction fails, the related data at the equipment state switching moment should be cached in the local file, the related data in the local file is updated to the database after the abnormal recovery, the updated data in the local file is deleted, and the data loss is prevented. It can be understood that a corresponding relationship between a plurality of devices and respective device state switching moments can also be established, and the device state switching moments corresponding to the plurality of devices are stored in batches based on the corresponding relationship.
Further, the subsequent detection process may be based on the current device state switching time. Namely, the time interval between the previous time of switching the state of the device and the current time is taken as the time interval to be detected. And if the database table used for storing the plurality of equipment state switching moments is inquired, acquiring the last equipment state switching moment.
Optionally, a detailed log corresponding to a plurality of device state switching moments is obtained from the database, where the log includes query or storage instruction execution time and device information. If the query or store instruction fails to execute, the log may also record the reason for the failure.
In the execution process of the method for detecting the equipment state switching time shown in fig. 1, the equipment information corresponding to the time period to be detected is obtained, where the equipment information includes the equipment yield and/or the equipment temperature corresponding to the multiple times in the time period to be detected, and the equipment yield and the equipment temperature corresponding to the multiple times can reflect what state the equipment is in, so that the equipment state switching time corresponding to the process of switching the equipment from the first state to the second state is detected from the multiple times based on the equipment yield and/or the equipment temperature corresponding to the multiple times, thereby realizing automatic detection of the equipment state switching time, so as to determine the actual operation time of the equipment, and improve the accuracy of the production index monitoring result.
The device state switching time detection apparatus according to one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that the device state switching time detection means can be constructed by configuring the steps taught in the present embodiment by using commercially available hardware components.
Fig. 4 is a schematic structural diagram of a device state switching time detection apparatus according to an embodiment of the present invention, and as shown in fig. 4, the device state switching time detection apparatus includes: the device comprises an acquisition module 11 and a detection module 12.
The acquiring module 11 is configured to acquire device information corresponding to a to-be-detected time interval, where the device information includes device yields and/or device temperatures corresponding to multiple moments in the to-be-detected time interval;
the detection module 12 is configured to detect, from the multiple moments, an apparatus state switching moment corresponding to a process in which the apparatus is switched from the first state to the second state, based on the apparatus yield and/or the apparatus temperature corresponding to the multiple moments.
Optionally, the first state is an operating state, the second state is a shutdown state, and the device state switching time includes a shutdown time.
Optionally, in the process of detecting, based on the device yield and/or the device temperature corresponding to the multiple times, a device state switching time corresponding to a process of switching the device from the first state to the second state from the multiple times, the detection module 12 may be specifically configured to: selecting a first moment from the plurality of moments based on the device temperatures corresponding to the plurality of moments, wherein the device temperature corresponding to the first moment is lower than the device temperature corresponding to a second moment, the device temperature corresponding to the first moment is lower than a first threshold, the device temperature corresponding to the second moment is higher than or equal to the first threshold, and the time sequence of the second moment is arranged in front of the first moment; and
Determining that the device is in the shutdown state within a first preset time period from the first time;
and selecting a third moment from the moments with the time sequence prior to the first moment as the shutdown moment based on the device yields corresponding to the moments, wherein the device yield corresponding to the third moment is equal to the device yield corresponding to the moment adjacent to the third moment, and the time sequence adjacent to the third moment is arranged at the front position or the rear position of the third moment.
Optionally, in the process of determining that the device is in the shutdown state within a first preset time period from the first time, the detection module 12 may specifically be configured to:
and if the average value of the equipment temperatures corresponding to all the moments in the first preset time is smaller than a second threshold value, determining that the equipment is in the shutdown state in the first preset time, wherein the second threshold value is smaller than or equal to the first threshold value.
Optionally, in the process of selecting a third time from the times that are in the time sequence before the first time as the shutdown time based on the device yields corresponding to the multiple times, the detection module 12 may be specifically configured to:
Determining the equipment yield difference value corresponding to each moment with the time sequence prior to the first moment, wherein the equipment yield difference value corresponding to the moment i is the difference between the equipment yield corresponding to the moment i and the equipment yield corresponding to the moment adjacent to the moment i, and the moment i is any one of the moments with the time sequence prior to the first moment;
determining a fourth moment with the shortest time interval with the first moment in at least one moment with the equipment yield difference value larger than a third threshold;
and screening out the moment with the earliest time sequence and zero device yield difference as the third moment from at least one moment between the fourth moment and the first moment in time sequence.
Optionally, the first state is a shutdown state, the second state is an operating state, and the device state switching time includes a startup time.
Optionally, in the process of detecting, based on the device yield and/or the device temperature corresponding to the multiple times, a device state switching time corresponding to a process of switching the device from the first state to the second state from the multiple times, the detection module 12 may be specifically configured to:
selecting a fifth moment from the multiple moments based on the device temperatures corresponding to the multiple moments, wherein the device temperature corresponding to the fifth moment is higher than the device temperature corresponding to a sixth moment, the device temperature corresponding to the fifth moment is higher than a first threshold, the device temperature corresponding to the sixth moment is lower than or equal to the first threshold, and the time sequence of the sixth moment is arranged in front of the fifth moment; and
Determining that the equipment is in the running state within a second preset time period from the fifth moment;
and selecting a seventh time as the starting time from the moments after the fifth time in the time sequence based on the equipment yield and the equipment temperature corresponding to the multiple times, wherein the difference value of the equipment yield corresponding to the seventh time is greater than a fourth threshold, the equipment temperature corresponding to the seventh time is greater than a fifth threshold, the time sequence of the time adjacent to the seventh time is arranged at the front position or the rear position of the seventh time, and the fifth threshold is greater than or equal to the first threshold.
Optionally, in the process of determining that the device is in the operating state within a second preset time period from the fifth time, the detection module 12 may be specifically configured to:
if the average value of the equipment temperature corresponding to each moment in the second preset time is detected to be larger than the first threshold value, and the average value of the equipment yield corresponding to each moment in the second preset time is detected to be larger than a sixth threshold value, determining that the equipment is in the running state in the second preset time, wherein the sixth threshold value is larger than the fourth threshold value.
Optionally, a time period from the previous time of switching the device state to the current time is used as the time period to be detected.
Optionally, the equipment is bottled beer filling equipment, the output of the equipment corresponding to the multiple moments is the number of bottles discharged, and the temperature of the equipment corresponding to the multiple moments is the working temperature of the sterilizer.
The apparatus for detecting device state switching time shown in fig. 4 may perform the methods provided in the foregoing embodiments, and portions not described in detail in this embodiment may refer to the related descriptions of the foregoing embodiments, which are not described herein again.
In one possible design, the structure of the device state switching time detection apparatus shown in fig. 4 can be implemented as an electronic device. As shown in fig. 5, the electronic device may include: a processor 21 and a memory 22. Wherein the memory 22 has stored thereon executable code, which when executed by the processor 21, at least makes the processor 21 capable of implementing the method for detecting a device state switching time as provided in the foregoing embodiments. The electronic device may further include a communication interface 23 for communicating with other devices or a communication network.
In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium, on which an executable code is stored, and when the executable code is executed by a processor of a wireless router, the processor is caused to execute the method for detecting the device state switching time provided in the foregoing embodiments.
The above-described apparatus embodiments are merely illustrative, wherein the various modules illustrated as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that the embodiments can be implemented by adding necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described aspects may well be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein (including, but not limited to, disk storage, CD-ROM, optical storage, etc.).
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (12)

1. A method for detecting the switching time of the equipment state is characterized by comprising the following steps:
acquiring corresponding equipment information in a time period to be detected, wherein the equipment information comprises equipment yield and/or equipment temperature corresponding to a plurality of moments in the time period to be detected;
and detecting the equipment state switching time corresponding to the process of switching the equipment from the first state to the second state from the plurality of times based on the equipment yield and/or the equipment temperature corresponding to the plurality of times.
2. The method of claim 1, wherein the first state is an operational state, the second state is a shutdown state, and the device state switching time comprises a shutdown time.
3. The method according to claim 2, wherein the detecting of the device state switching time corresponding to the process of switching the device from the first state to the second state from the plurality of time instants based on the device yield and/or the device temperature corresponding to the plurality of time instants comprises:
selecting a first moment from the plurality of moments based on the device temperatures corresponding to the plurality of moments, wherein the device temperature corresponding to the first moment is lower than the device temperature corresponding to a second moment, the device temperature corresponding to the first moment is lower than a first threshold, the device temperature corresponding to the second moment is higher than or equal to the first threshold, and the time sequence of the second moment is arranged in front of the first moment; and
determining that the device is in the shutdown state within a first preset time period from the first time;
and selecting a third moment from the moments with the time sequence prior to the first moment as the shutdown moment based on the device yields corresponding to the moments, wherein the device yield corresponding to the third moment is equal to the device yield corresponding to the moment adjacent to the third moment, and the time sequence adjacent to the third moment is arranged at the front position or the rear position of the third moment.
4. The method of claim 3, wherein determining that the device is in the shutdown state for a first preset length of time from the first time comprises:
and if the average value of the equipment temperatures corresponding to all the moments in the first preset time is smaller than a second threshold value, determining that the equipment is in the shutdown state in the first preset time, wherein the second threshold value is smaller than or equal to the first threshold value.
5. The method according to claim 3, wherein the selecting a third time as the shutdown time from the times that are earlier in time sequence than the first time based on the device yields corresponding to the plurality of times comprises:
determining the equipment yield difference value corresponding to each moment with the time sequence prior to the first moment, wherein the equipment yield difference value corresponding to the moment i is the difference between the equipment yield corresponding to the moment i and the equipment yield corresponding to the moment adjacent to the moment i, and the moment i is any one of the moments with the time sequence prior to the first moment;
determining a fourth moment with the shortest time interval with the first moment in at least one moment with the equipment yield difference value larger than a third threshold;
And screening out the moment with the earliest time sequence and zero device yield difference as the third moment from at least one moment between the fourth moment and the first moment in time sequence.
6. The method of claim 1, wherein the first state is a shutdown state, the second state is an operational state, and the device state switching time comprises a boot time.
7. The method according to claim 6, wherein the detecting of the device state switching time corresponding to the process of switching the device from the first state to the second state from the plurality of time instants based on the device yield and/or the device temperature corresponding to the plurality of time instants comprises:
selecting a fifth moment from the multiple moments based on the device temperatures corresponding to the multiple moments, wherein the device temperature corresponding to the fifth moment is higher than the device temperature corresponding to a sixth moment, the device temperature corresponding to the fifth moment is higher than a first threshold, the device temperature corresponding to the sixth moment is lower than or equal to the first threshold, and the time sequence of the sixth moment is arranged in front of the fifth moment; and
Determining that the equipment is in the running state within a second preset time period from the fifth moment;
and selecting a seventh time as the starting time from the moments after the fifth time in the time sequence based on the equipment yield and the equipment temperature corresponding to the multiple times, wherein the difference value of the equipment yield corresponding to the seventh time is greater than a fourth threshold, the equipment temperature corresponding to the seventh time is greater than a fifth threshold, the time sequence of the time adjacent to the seventh time is arranged at the front position or the rear position of the seventh time, and the fifth threshold is greater than or equal to the first threshold.
8. The method of claim 7, wherein determining that the device is in the operational state for a second predetermined length of time from the fifth time comprises:
if the average value of the equipment temperature corresponding to each moment in the second preset time is detected to be larger than the first threshold value, and the average value of the equipment yield corresponding to each moment in the second preset time is detected to be larger than a sixth threshold value, determining that the equipment is in the running state in the second preset time, wherein the sixth threshold value is larger than the fourth threshold value.
9. The method according to claim 1, wherein a period from a previous time when the device status switches to a current time is used as the period to be detected.
10. The method according to any one of claims 1 to 9, wherein the equipment is a bottled beer filling equipment, the output of the equipment corresponding to the plurality of times is the number of bottles discharged, and the temperature of the equipment corresponding to the plurality of times is the working temperature of the sterilizer.
11. An apparatus for detecting a device state switching time, the apparatus comprising:
the device comprises an acquisition module, a processing module and a control module, wherein the acquisition module is used for acquiring corresponding device information in a to-be-detected time period, and the device information comprises device yield and/or device temperature corresponding to a plurality of moments in the to-be-detected time period;
and the detection module is used for detecting the equipment state switching time corresponding to the process of switching the equipment from the first state to the second state from the multiple times based on the equipment yield and/or the equipment temperature corresponding to the multiple times.
12. An electronic device, comprising: a memory, a processor; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to perform the method of detecting a device state switching time of any of claims 1 to 10.
CN202010514083.1A 2020-06-08 2020-06-08 Method and device for detecting equipment state switching time and electronic equipment Active CN111856972B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010514083.1A CN111856972B (en) 2020-06-08 2020-06-08 Method and device for detecting equipment state switching time and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010514083.1A CN111856972B (en) 2020-06-08 2020-06-08 Method and device for detecting equipment state switching time and electronic equipment

Publications (2)

Publication Number Publication Date
CN111856972A true CN111856972A (en) 2020-10-30
CN111856972B CN111856972B (en) 2022-02-08

Family

ID=72986368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010514083.1A Active CN111856972B (en) 2020-06-08 2020-06-08 Method and device for detecting equipment state switching time and electronic equipment

Country Status (1)

Country Link
CN (1) CN111856972B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2283624B (en) * 1993-10-04 1997-09-10 Baldev Patel Industrial equipment operating status scanner
CN102981485A (en) * 2012-11-30 2013-03-20 武汉钢铁(集团)公司 Real-time OEE (Overall Equipment Effectiveness) data information processing method and system for equipment operation of production line
JP5334187B2 (en) * 2009-08-04 2013-11-06 公益財団法人鉄道総合技術研究所 Condition monitoring device
CN104914833A (en) * 2015-05-18 2015-09-16 百度在线网络技术(北京)有限公司 Control method and system of smart device
CN109556235A (en) * 2018-10-22 2019-04-02 珠海格力电器股份有限公司 A kind of heat tape control method, device, air-conditioning equipment and storage medium
CN109696894A (en) * 2018-12-30 2019-04-30 联想(北京)有限公司 Production line state judging method and device
CN110109431A (en) * 2019-05-07 2019-08-09 重庆大学 A kind of die casting machine OEE Information Intelligent Extraction system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2283624B (en) * 1993-10-04 1997-09-10 Baldev Patel Industrial equipment operating status scanner
JP5334187B2 (en) * 2009-08-04 2013-11-06 公益財団法人鉄道総合技術研究所 Condition monitoring device
CN102981485A (en) * 2012-11-30 2013-03-20 武汉钢铁(集团)公司 Real-time OEE (Overall Equipment Effectiveness) data information processing method and system for equipment operation of production line
CN104914833A (en) * 2015-05-18 2015-09-16 百度在线网络技术(北京)有限公司 Control method and system of smart device
CN109556235A (en) * 2018-10-22 2019-04-02 珠海格力电器股份有限公司 A kind of heat tape control method, device, air-conditioning equipment and storage medium
CN109696894A (en) * 2018-12-30 2019-04-30 联想(北京)有限公司 Production line state judging method and device
CN110109431A (en) * 2019-05-07 2019-08-09 重庆大学 A kind of die casting machine OEE Information Intelligent Extraction system

Also Published As

Publication number Publication date
CN111856972B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
US10733149B2 (en) Template based data reduction for security related information flow data
US11513935B2 (en) System and method for detecting anomalies by discovering sequences in log entries
US8645769B2 (en) Operation management apparatus, operation management method, and program storage medium
US9665420B2 (en) Causal engine and correlation engine based log analyzer
US8024609B2 (en) Failure analysis based on time-varying failure rates
JP4990018B2 (en) Apparatus performance management method, apparatus performance management system, and management program
US20150293516A1 (en) Anomaly detection system for detecting anomaly in multiple control systems
JP6152788B2 (en) Failure sign detection method, information processing apparatus, and program
CN103201724A (en) Providing application high availability in highly-available virtual machine environments
US20200026268A1 (en) Control device and diagnosis system
CN110750377A (en) Fault positioning method and device
CN104268061A (en) Storage state monitoring mechanism for virtual machine
JP4506520B2 (en) Management server, message extraction method, and program
US11416321B2 (en) Component failure prediction
CN104484131A (en) Device and corresponding method for processing data of multi-disk servers
CN111856972B (en) Method and device for detecting equipment state switching time and electronic equipment
CN103763143A (en) Method and system for equipment abnormality alarming based on storage server
CN111538772B (en) Data exchange processing method and device, electronic equipment and storage medium
JP5995265B2 (en) Information processing system, maintenance method and program
CN113487182B (en) Device health state evaluation method, device, computer device and medium
US20210027254A1 (en) Maintenance management apparatus, system, method, and non-transitory computer readable medium
JP2020038525A (en) Abnormality detecting device
EP3525057B1 (en) Diagnosis of a redundant control system
CN111338900A (en) Method and device for monitoring running state of software system
CN109542663A (en) A kind of monitoring data management method and 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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Detection method, device and electronic equipment of equipment state switching time

Effective date of registration: 20220407

Granted publication date: 20220208

Pledgee: Qingdao high technology financing Company limited by guarantee

Pledgor: QINGDAO AOLIPU AUTOMATION AND CONTROL SYSTEM Co.,Ltd.

Registration number: Y2022370010047

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 266000 6D, building 1, No. 169 Songling Road, Laoshan District, Qingdao, Shandong Province

Patentee after: Qingdao aolipuzhi Intelligent Industrial Technology Co.,Ltd.

Address before: 266000 1901, building 3, publishing building, 182 Haier Road, Laoshan District, Qingdao City, Shandong Province

Patentee before: QINGDAO AOLIPU AUTOMATION AND CONTROL SYSTEM Co.,Ltd.

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230406

Granted publication date: 20220208

Pledgee: Qingdao high technology financing Company limited by guarantee

Pledgor: QINGDAO AOLIPU AUTOMATION AND CONTROL SYSTEM Co.,Ltd.

Registration number: Y2022370010047