Method, device and equipment for monitoring status of tobacco production line detection device

Through interface point acquisition and semantic enhancement, the working module information of the tobacco production line detection device is processed, and the status detection model is optimized to solve the problem of low device status monitoring efficiency and improve production stability and safety.

CN115507897BActive Publication Date: 2024-09-20CHINA TOBACCO JIANGXI IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211171280.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-26
Publication Date
2024-09-20
Estimated Expiration
2042-09-26

AI Technical Summary

Technical Problem

The status monitoring efficiency of tobacco production line inspection devices is low, resulting in unstable production and potential safety hazards.

Method used

Obtain the standard information of the working module through the interface, perform semantic enhancement processing and associated storage, tune the status detection model, and generate real-time system information to determine the working status and locate the faulty module.

Benefits of technology

It improves the efficiency of condition monitoring of tobacco production line testing devices, ensures production stability and reduces safety risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115507897B
    Figure CN115507897B
Patent Text Reader

Abstract

The present invention relates to artificial intelligence technology, and discloses a state monitoring method for a tobacco production line detection device, comprising: obtaining standard system data of the tobacco production line detection device, performing semantic enhancement processing on the standard system data, obtaining standard system features of the tobacco production line detection device, and generating a standard system association table of the standard system features; using the standard system association table to tune a preset state detection model to obtain an optimized state detection model, and using the optimized state detection model to determine the working state of the tobacco production line detection device and locate the fault module. In addition, the present invention also relates to blockchain technology, and a data list can be stored in a node of a blockchain. The present invention also proposes a state monitoring device and equipment for a tobacco production line detection device. The present invention can improve the efficiency of state monitoring for tobacco production line detection devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a state monitoring method, device and equipment for a tobacco production line detection device. Background Art

[0002] China is the world's largest manufacturer and consumer of tobacco products, producing more than 40% of the world's tobacco products. The steps of tobacco manufacturing are complicated, including tobacco picking, fumigation, deboning, sheeting, shredding, drying, flavoring, rolling, packaging, etc. The manufacturing process is time-consuming and labor-intensive. In the 1970s and 1980s, cigarette packaging was basically completed by manual production, and compared with some gift boxes, cigarette packaging was very ordinary. With the development of automation technology, tobacco manufacturers have begun to use various mechanical equipment to improve the efficiency and quality of tobacco production.

[0003] Nowadays, cigarette packaging has become mechanized, and packaging is much more complicated. Mechanical integration, coupled with anti-counterfeiting watermarks, will require many more processes. Usually, because the system cannot operate stably and normally and abnormal conditions are not discovered in time, the quality of the products produced is unstable, the production line has to be interrupted frequently, and sometimes it may cause serious safety accidents such as line fires. In order to ensure the smooth operation of the tobacco production line, improving the efficiency of tobacco production line status monitoring has become an urgent problem to be solved. Summary of the invention

[0004] The present invention provides a state monitoring method and device for a tobacco production line detection device, the main purpose of which is to solve the problem of low efficiency in state monitoring of the tobacco production line detection device.

[0005] To achieve the above-mentioned purpose, the present invention provides a state monitoring method for a tobacco production line detection device, comprising:

[0006] Using interface buried points to obtain standard module information of multiple working modules of the tobacco production line detection device under normal working conditions, integrating the standard module information to obtain standard system data of the tobacco production line detection device;

[0007] Performing semantic enhancement processing on the standard system data to obtain standard system features of the tobacco production line detection device;

[0008] The standard system features are associated and stored with the working modules to obtain a standard system association table;

[0009] Utilizing the standard system features in the standard system association table to tune the preset state detection model, to obtain an optimized state detection model;

[0010] Generate real-time system information of the tobacco production line detection device, input the real-time system information into the optimized state detection model, and obtain the working state of the tobacco production line detection device;

[0011] The real-time system information when the tobacco production line detection device is in an abnormal working state is selected as abnormal system data, and the working module in which a fault occurs in the tobacco production line detection device is determined according to the abnormal system data.

[0012] Optionally, the method of using interface buried points to obtain standard module information of multiple working modules of the tobacco production line detection device under normal working conditions includes:

[0013] Acquire buried point events of multiple working modules of a tobacco production line detection device, perform element conversion on the buried point events, and obtain target buried point elements;

[0014] Add the target tracking element to the key node of the working module to complete the tracking;

[0015] Generate a module log of the working module according to the embedding point, perform log parsing on the module log, and obtain standard module information of the working module.

[0016] Optionally, the performing semantic enhancement processing on the standard system data to obtain standard system features of the tobacco production line detection device includes:

[0017] Processing missing values ​​on the standard system data to obtain primary system data of the standard system data;

[0018] Performing outlier filtering on the primary system data to obtain secondary system data of the primary system data;

[0019] Performing vectorization conversion on the secondary system data to obtain a feature vector of the secondary system data;

[0020] The feature vector is subjected to semantic enhancement processing to obtain standard system features of the tobacco production line detection device.

[0021] Optionally, filtering the primary system data for outliers to obtain secondary system data of the primary system data includes:

[0022] Perform outlier filtering on the primary system data according to a variance filtering algorithm to obtain primary system data of the primary system data;

[0023] Perform outlier filtering on the primary system data according to a chi-square filtering algorithm to obtain intermediate system data of the primary system data;

[0024] The variance ratio of the random variable group in the intermediate system data is calculated using the following joint hypothesis algorithm:

[0025]

[0026]

[0027] in, is the variance ratio of the random variable group in the intermediate system data, Represents the intermediate system data The variance of the group random variable, Represents the intermediate system data The variance of the group random variable, Represents the intermediate system data The mean of the group random variable, Represents the intermediate system data The mean of the group random variable, represents the number of groups of the random variables, is the identity of the group of random variables, is the identifier of the random variable group;

[0028] The intermediate system data is subjected to outlier filtering according to the variance ratio to obtain secondary system data of the intermediate system data.

[0029] Optionally, the storing the standard system features in association with the working modules to obtain a standard system association table includes:

[0030] Extracting characteristic keywords of the standard system characteristics;

[0031] Classifying the characteristic keywords according to a preset module index to obtain classification keywords of the characteristic keywords;

[0032] The classification keywords are associated with the working modules in the tobacco production line detection device and stored to obtain a standard system association table of the tobacco production line detection device.

[0033] Optionally, the tuning process of a preset state detection model using the standard system features in the standard system association table to obtain an optimized state detection model includes:

[0034] Inputting the standard system feature into a preset state detection model to obtain a feature label of the standard system feature;

[0035] Calculating a characteristic error value between the characteristic label and a preset system label, and generating a loss function of the preset state detection model according to the characteristic error value;

[0036] The preset state detection model is tuned using the loss function to obtain an optimized state detection model.

[0037] Optionally, the inputting the real-time system information into the optimized state detection model to obtain the working state of the tobacco production line detection device includes:

[0038] Inputting the real-time system information into the optimized state detection model to determine the expected output of the tobacco production line detection device;

[0039] Determine the real-time output of the tobacco production line detection device according to the real-time system data, and compare the expected output with the real-time output;

[0040] When the real-time output is less than the expected output, the tobacco production line detection device is in an abnormal working state;

[0041] When the real-time output is greater than or equal to the expected output, the tobacco production line detection device is in a normal working state.

[0042] In order to solve the above problems, the present invention also provides a state monitoring device for a tobacco production line detection device, the device comprising:

[0043] A standard system data module, used to obtain standard module information of multiple working modules of a tobacco production line detection device under normal working conditions by using interface buried points, and integrate the standard module information to obtain standard system data of the tobacco production line detection device;

[0044] A standard system feature module, used for performing semantic enhancement processing on the standard system data to obtain the standard system features of the tobacco production line detection device;

[0045] A standard system association table module, used for associating and storing the standard system features with the working modules to obtain a standard system association table;

[0046] A model tuning module, used to tune the preset state detection model using the standard system features in the standard system association table to obtain an optimized state detection model;

[0047] A working state judgment module, used for generating real-time system information of the tobacco production line detection device, inputting the real-time system information into the optimized state detection model, and obtaining the working state of the tobacco production line detection device;

[0048] The fault judgment module is used to select the real-time system information when the tobacco production line detection device is in an abnormal working state as abnormal system data, and determine the working module in which the fault occurs in the tobacco production line detection device according to the abnormal system data.

[0049] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0050] at least one processor; and,

[0051] a memory communicatively connected to the at least one processor; wherein,

[0052] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the above-mentioned state monitoring method for a tobacco production line detection device.

[0053] The embodiment of the present invention acquires standard module information of multiple working modules of a tobacco production line detection device under normal working conditions through interface embedding, and integrates the standard module information to obtain standard system data of the tobacco production line detection device. Clumsy acquisition code programming is no longer used to define the trigger conditions and subsequent behaviors of behavior acquisition. Instead, the definition and capture of key events are completed through back-end configuration or front-end visual circle selection, which can better support focus point changes and historical data backtracking, perform semantic enhancement processing on the standard system data, highlight the significant features of the standard system data, eliminate the interference of abnormal data in the standard system data, and convert the standard system data into The system characteristics are associated with the working modules and stored to obtain a standard system association table. The standard system association table makes the standard system characteristics display very regularly and has very good readability. The preset state detection model is tuned using a loss function to obtain an optimized state detection model. The working state of the tobacco production line detection device and the faulty working module are judged according to the optimized state detection model, thereby improving the state monitoring efficiency of the tobacco production line detection device. Therefore, the present invention proposes a state monitoring method, device, apparatus and equipment for a tobacco production line detection device, which can solve the problem of low state monitoring efficiency of the tobacco production line detection device. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A schematic flow chart of a method for monitoring the state of a tobacco production line detection device provided in one embodiment of the present invention;

[0055] Figure 2 A schematic diagram of a process for obtaining standard module information provided by an embodiment of the present invention;

[0056] Figure 3A schematic diagram of a process for generating standard system features provided by an embodiment of the present invention;

[0057] Figure 4 A functional module diagram of a state monitoring device for a tobacco production line detection device provided by an embodiment of the present invention;

[0058] Figure 5 A schematic diagram of the structure of an electronic device for implementing the state monitoring method for a tobacco production line detection device provided in one embodiment of the present invention.

[0059] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0060] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0061] The embodiment of the present application provides a state monitoring method for a tobacco production line detection device. The execution subject of the state monitoring method for a tobacco production line detection device includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the state monitoring method for a tobacco production line detection device can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.

[0062] Reference Figure 1 FIG. 1 is a flow chart of a method for monitoring the state of a tobacco production line detection device according to an embodiment of the present invention. In this embodiment, the method for monitoring the state of a tobacco production line detection device includes:

[0063] S1. Use interface buried points to obtain standard module information of multiple working modules of a tobacco production line detection device under normal working conditions, integrate the standard module information, and obtain standard system data of the tobacco production line detection device.

[0064] In an embodiment of the present invention, interface tracking points are used to monitor events during the operation of the interface. When an event that requires attention occurs, it is judged and captured, and then the necessary context information is obtained. Finally, the information is sorted and sent to the server. Data is collected based on the interface tracking points to track device usage, providing relevant data support for the subsequent normal operation and optimization of the device.

[0065] In detail, in order to improve the efficiency and ease of use of the interface tracking work, clumsy collection code programming is no longer used to define the trigger conditions and subsequent behaviors of behavior collection. Instead, the definition and capture of key events are completed through back-end configuration or front-end visual circle selection. Data monitoring tools generally tend to capture and send as many events and information as possible during monitoring, and perform trigger condition matching and statistical calculations on the data processing backend to better support changes in focus and historical data backtracking.

[0066] In the embodiment of the present invention, Figure 2 As shown, the method of using interface buried points to obtain standard module information of multiple working modules of the tobacco production line detection device under normal working conditions includes:

[0067] S21, acquiring buried point events of multiple working modules of the tobacco production line detection device, performing element conversion on the buried point events, and obtaining target buried point elements;

[0068] S22, adding the target tracking element to the key node of the working module to complete the tracking;

[0069] S23. Generate a module log of the working module according to the embedding point, parse the module log, and obtain standard module information of the working module.

[0070] In detail, the target buried point element refers to some data information specifically collected in the tobacco production line detection device, which is used to track the usage of the multiple working modules and provide data support for the working status of the device, including but not limited to output, working current, working voltage, electric power and indicator light operating status.

[0071] In an embodiment of the present invention, the buried point can be stored in a data storage such as a blockchain or a database; the element conversion of the buried point event can be implemented by a conversion function, such as an atoi function.

[0072] In detail, the working module includes but is not limited to: one or more of: a visual pull-wire detection device, a cigarette pack lining detection device, a third wheel quality detection device and a fifth wheel quality detection device; the module logs collected from the working module are integrated to obtain an integrated log of the module logs, and the integrated log is stored in the packaging machine MICRO II electronic control system.

[0073] S2. Perform semantic enhancement processing on the standard system data to obtain standard system features of the tobacco production line detection device.

[0074] In the embodiment of the present invention, the semantic enhancement processing is to highlight the significant features of the standard system data and remove the interference of abnormal data in the standard system data.

[0075] In the embodiment of the present invention, Figure 3 As shown, the semantic enhancement processing is performed on the standard system data to obtain the standard system features of the tobacco production line detection device, including:

[0076] S31, performing missing value processing on the standard system data to obtain primary system data of the standard system data;

[0077] S32, filtering the primary system data for abnormal values ​​to obtain secondary system data of the primary system data;

[0078] S33, performing vectorization conversion on the secondary system data to obtain a feature vector of the secondary system data;

[0079] S34, performing semantic enhancement processing on the feature vector to obtain standard system features of the tobacco production line detection device.

[0080] In detail, most of the time in data analysis is spent on data preprocessing. "If data preprocessing is done well, it often makes our data analysis work more efficient. Among them, correctly handling missing values ​​is the top priority.

[0081] Furthermore, the main reasons for missing values ​​include the following aspects: information is temporarily unavailable, such as the revenue of a certain product has a lag effect; data is not recorded, omitted or lost due to human factors; data acquisition equipment failure, storage medium, transmission media failure causes data loss; the cost of obtaining data is too high; one or some attributes of some objects are unavailable, such as: the name of the spouse of an unmarried person, the fixed income status of children, etc.; the system has high real-time performance requirements, that is, it is required to make judgments or decisions quickly before obtaining this information.

[0082] In detail, the missing values ​​can be processed by deletion, interpolation and ignoring, wherein the interpolation includes but is not limited to: special value filling, average value filling, hot card filling, K nearest neighbor method and multiple interpolation.

[0083] In detail, the vectorization conversion can adopt the bag-of-words model, Word2Vec, one-hot encoding, etc.

[0084] In detail, the semantic enhancement processing of the feature vector can be achieved by performing a weighted calculation on the feature vector, using a preset weight matrix and a dot product calculation with the feature vector. The dot product operation refers to calculating the Hadamard product of the preset weight matrix and the feature vector, that is, the matrix dimension of the preset weight matrix is ​​consistent with the matrix dimension of the feature vector, and the standard system characteristics of the tobacco production line detection device are obtained by element-by-element multiplication.

[0085] For example, when the preset weight matrix is , the feature vector is When , the classification dependency feature is .

[0086] In detail, filtering the primary system data for abnormal values ​​to obtain the secondary system data of the primary system data includes:

[0087] Perform outlier filtering on the primary system data according to a variance filtering algorithm to obtain primary system data of the primary system data;

[0088] Perform outlier filtering on the primary system data according to a chi-square filtering algorithm to obtain intermediate system data of the primary system data;

[0089] The variance ratio of the random variable group in the intermediate system data is calculated using the following joint hypothesis algorithm:

[0090]

[0091]

[0092] in, is the variance ratio of the random variable group in the intermediate system data, Represents the intermediate system data The variance of the group random variable, Represents the intermediate system data The variance of the group random variable, Represents the intermediate system data The mean of the group random variable, Represents the intermediate system data The mean of the group random variable, represents the number of groups of the random variables, is the identity of the group of random variables, is the identifier of the random variable group;

[0093] The intermediate system data is subjected to outlier filtering according to the variance ratio to obtain secondary system data of the intermediate system data.

[0094] In detail, the variance filtering algorithm is used to check whether the mean of the first-level system data is equal to a preset mean.

[0095] In detail, the chi-square filtering algorithm is specifically for correlation filtering of discrete tags. It calculates the chi-square statistic between each primary system data and the preset label, and sorts the primary system data from high to low according to the chi-square statistic, and determines the intermediate system data of the primary system data according to the preset chi-square filtering threshold.

[0096] S3. The standard system features are associated with the working modules and stored to obtain a standard system association table.

[0097] In the embodiment of the present invention, the standard system association table is mainly used to display the standard system features, because the standard system association table makes the standard system features displayed very neatly and has very good readability. Especially when the standard system features are displayed in the background, it is very important to be able to use the table skillfully, and it is easier to obtain the relationship between the standard system features and the working module.

[0098] In the embodiment of the present invention, the standard system feature is associated with the working module and stored to obtain a standard system association table, including:

[0099] Extracting characteristic keywords of the standard system characteristics;

[0100] Classifying the characteristic keywords according to a preset module index to obtain classification keywords of the characteristic keywords;

[0101] The classification keywords are associated with the working modules in the tobacco production line detection device and stored to obtain a standard system association table of the tobacco production line detection device.

[0102] In the embodiment of the present invention, the characteristic keywords of the standard system characteristics are extracted using TF-IDF technology or TextRank.

[0103] In detail, the preset module index can be: visual pull wire detection device, cigarette pack lining detection device, third wheel quality detection device and fifth wheel quality detection device, etc.; the preset module index is used to filter the feature keywords to obtain classification keywords of the feature keywords.

[0104] S4. Optimizing the preset state detection model using the standard system features in the standard system association table to obtain an optimized state detection model.

[0105] In the embodiment of the present invention, the tuning process of the preset state detection model using the standard system features in the standard system association table to obtain the optimized state detection model includes:

[0106] Inputting the standard system feature into a preset state detection model to obtain a feature label of the standard system feature;

[0107] Calculating a characteristic error value between the characteristic label and a preset system label, and generating a loss function of the preset state detection model according to the characteristic error value;

[0108] The preset state detection model is tuned using the loss function to obtain an optimized state detection model.

[0109] In detail, the characteristic label can be expressed as the working current value, working voltage value, electric power value and indicator light operating status of each working module. For example, the working current value is 20A, and the current label in the preset system label is 40A, then the characteristic error value between the characteristic label and the preset system label is 50%.

[0110] Furthermore, a plurality of the characteristic error values ​​are generated, and the characteristic error values ​​are used to generate a loss function of the preset state detection model. Matlab or Origin may be used to perform data fitting on the characteristic error values ​​to obtain the loss function of the preset state detection model.

[0111] S5. Generate real-time system information of the tobacco production line detection device, input the real-time system information into the optimized state detection model, and obtain the working state of the tobacco production line detection device.

[0112] In an embodiment of the present invention, the real-time system information includes: the real-time output of the tobacco production line detection device, the real-time working current of the working module, the real-time working voltage of the working module, the real-time electric power of the working module and the operating status of the indicator light of the working module.

[0113] In the embodiment of the present invention, the step of inputting the real-time system information into the optimized state detection model to obtain the working state of the tobacco production line detection device includes:

[0114] Inputting the real-time system information into the optimized state detection model to determine the expected output of the tobacco production line detection device;

[0115] Determine the real-time output of the tobacco production line detection device according to the real-time system data, and compare the expected output with the real-time output;

[0116] When the real-time output is less than the expected output, the tobacco production line detection device is in an abnormal working state;

[0117] When the real-time output is greater than or equal to the expected output, the tobacco production line detection device is in a normal working state.

[0118] In detail, the expected output is generated based on the historical output of the state detection model in a normal working state.

[0119] Furthermore, feature extraction is performed on the real-time system data to obtain data features of the real-time system data, and the data features are classified and screened to obtain the real-time output of the tobacco production line detection device.

[0120] S6. Selecting real-time system information when the tobacco production line detection device is in an abnormal working state as abnormal system data, and determining a working module in which a fault occurs in the tobacco production line detection device according to the abnormal system data.

[0121] In the embodiment of the present invention, the processing method of the real-time system information is consistent with the processing method of the standard module information, which will not be described in detail here.

[0122] In detail, by tracing the abnormal system data, the working module to which the abnormal system data belongs can be determined using the standard system association table, thereby locating the working module where the fault occurs.

[0123] In the embodiment of the present invention, standard module information of multiple working modules of a tobacco production line detection device under normal working conditions is acquired through interface embedding points, and the standard module information is integrated to obtain standard system data of the tobacco production line detection device. Clumsy acquisition code programming is no longer used to define the trigger conditions and subsequent behaviors of behavior acquisition. Instead, the definition and capture of key events are completed through back-end configuration or front-end visual circle selection, etc., which can better support focus changes and historical data backtracking, perform semantic enhancement processing on the standard system data, highlight the significant features of the standard system data, remove the interference of abnormal data in the standard system data, associate the standard system features with the working modules and store them to obtain a standard system association table. The standard system association table makes the standard system features display very regularly and has very good readability. The preset state detection model is tuned by using a loss function to obtain an optimized state detection model. The working state of the tobacco production line detection device and the faulty working module are judged according to the optimized state detection model, thereby improving the state monitoring efficiency of the tobacco production line detection device. Therefore, the present invention proposes a state monitoring method for a tobacco production line detection device, which can solve the problem of low state monitoring efficiency of the tobacco production line detection device.

[0124] like Figure 4 , is a functional module diagram of a status monitoring device for a tobacco production line detection device provided by an embodiment of the present invention.

[0125] The state monitoring device 100 for tobacco production line detection device of the present invention can be installed in an electronic device. According to the functions to be implemented, the state monitoring device 100 for tobacco production line detection device can include a standard system data module 101, a standard system feature module 102, a standard system association table module 103, a model tuning module 104, a working state judgment module 105 and a fault judgment module 106. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0126] In this embodiment, the functions of each module / unit are as follows:

[0127] The standard system data module 101 is used to obtain standard module information of multiple working modules of the tobacco production line detection device under normal working conditions by using interface buried points, and integrate the standard module information to obtain standard system data of the tobacco production line detection device;

[0128] The standard system feature module 102 is used to perform semantic enhancement processing on the standard system data to obtain the standard system features of the tobacco production line detection device;

[0129] The standard system association table module 103 is used to associate and store the standard system features with the working modules to obtain a standard system association table;

[0130] The model tuning module 104 is used to tune the preset state detection model using the standard system features in the standard system association table to obtain an optimized state detection model;

[0131] The working state judgment module 105 is used to generate real-time system information of the tobacco production line detection device, input the real-time system information into the optimized state detection model, and obtain the working state of the tobacco production line detection device;

[0132] The fault judgment module 106 is used to select the real-time system information when the tobacco production line detection device is in an abnormal working state as abnormal system data, and determine the working module in which the fault occurs in the tobacco production line detection device according to the abnormal system data.

[0133] like Figure 5 FIG. 1 is a schematic diagram of the structure of an electronic device for implementing a state monitoring method for a tobacco production line detection device provided by an embodiment of the present invention.

[0134] The electronic device may include a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a status monitoring program for a tobacco production line detection device.

[0135] In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (ControlUnit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (for example, executing a status monitoring program for a tobacco production line detection device, etc.), and calls data stored in the memory 11 to execute various functions of the electronic device and process data.

[0136] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 11 can also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 11 can also include both an internal storage unit of the electronic device and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device, such as the code of the status monitoring program for the tobacco production line detection device, but also can be used to temporarily store data that has been output or is to be output.

[0137] The communication bus 12 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.

[0138] The communication interface 13 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.

[0139] The figure only shows an electronic device with components. Those skilled in the art will understand that the structure shown in the figure does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0140] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0141] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0142] The state monitoring program for the tobacco production line detection device stored in the memory 11 of the electronic device is a combination of multiple instructions. When running in the processor 10, it can achieve:

[0143] Using interface buried points to obtain standard module information of multiple working modules of the tobacco production line detection device under normal working conditions, integrating the standard module information to obtain standard system data of the tobacco production line detection device;

[0144] Performing semantic enhancement processing on the standard system data to obtain standard system features of the tobacco production line detection device;

[0145] The standard system features are associated and stored with the working modules to obtain a standard system association table;

[0146] Utilizing the standard system features in the standard system association table to tune the preset state detection model, to obtain an optimized state detection model;

[0147] Generate real-time system information of the tobacco production line detection device, input the real-time system information into the optimized state detection model, and obtain the working state of the tobacco production line detection device;

[0148] The real-time system information when the tobacco production line detection device is in an abnormal working state is selected as abnormal system data, and the working module in which a fault occurs in the tobacco production line detection device is determined according to the abnormal system data.

[0149] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.

[0150] Furthermore, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0151] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0152] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0153] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0154] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0155] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0156] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0157] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0158] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0159] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for monitoring the state of a tobacco production line detection device, It is characterized in that The method comprises: Using interface buried points to obtain standard module information of multiple working modules of the tobacco production line detection device under normal working conditions, integrating the standard module information to obtain standard system data of the tobacco production line detection device; Performing semantic enhancement processing on the standard system data to obtain standard system features of the tobacco production line detection device; The standard system characteristics are associated with the working modules and stored to obtain a standard system association table; Utilizing the standard system features in the standard system association table to tune the preset state detection model, to obtain an optimized state detection model; Generate real-time system information of the tobacco production line detection device, input the real-time system information into the optimized state detection model, and obtain the working state of the tobacco production line detection device; The real-time system information when the tobacco production line detection device is in an abnormal working state is selected as abnormal system data, and the working module in which a fault occurs in the tobacco production line detection device is determined according to the abnormal system data.

2. The state monitoring method for a tobacco production line detection device according to claim 1, It is characterized in that The method of using interface buried points to obtain standard module information of multiple working modules of the tobacco production line detection device under normal working conditions includes: Acquire buried point events of multiple working modules of a tobacco production line detection device, perform element conversion on the buried point events, and obtain target buried point elements; Add the target tracking element to the key node of the working module to complete the tracking; Generate a module log of the working module according to the embedding point, perform log parsing on the module log, and obtain standard module information of the working module.

3. The state monitoring method for a tobacco production line detection device according to claim 1, It is characterized in that The semantic enhancement processing is performed on the standard system data to obtain the standard system features of the tobacco production line detection device, including: Processing missing values ​​of the standard system data to obtain primary system data of the standard system data; Performing outlier filtering on the primary system data to obtain secondary system data of the primary system data; Performing vectorization conversion on the secondary system data to obtain a feature vector of the secondary system data; The feature vector is subjected to semantic enhancement processing to obtain standard system features of the tobacco production line detection device.

4. The state monitoring method for a tobacco production line detection device according to claim 3, It is characterized in that The filtering of the primary system data for abnormal values ​​to obtain the secondary system data of the primary system data includes: Perform outlier filtering on the primary system data according to a variance filtering algorithm to obtain primary system data of the primary system data; Perform outlier filtering on the primary system data according to a chi-square filtering algorithm to obtain intermediate system data of the primary system data; The variance ratio of the random variable group in the intermediate system data is calculated using the following joint hypothesis algorithm: in, is the variance ratio of the random variable group in the intermediate system data, Represents the intermediate system data The variance of the group random variable, Represents the intermediate system data The variance of the group random variable, Represents the intermediate system data The mean of the group random variable, Represents the intermediate system data The mean of the group random variable, represents the number of groups of the random variables, is the identity of the group of random variables, is the identifier of the random variable group; The intermediate system data is subjected to outlier filtering according to the variance ratio to obtain secondary system data of the intermediate system data.

5. The state monitoring method for a tobacco production line detection device according to claim 1, It is characterized in that The step of associating and storing the standard system features with the working modules to obtain a standard system association table includes: Extracting characteristic keywords of the standard system characteristics; Classifying the characteristic keywords according to a preset module index to obtain classification keywords of the characteristic keywords; The classification keywords are associated with the working modules in the tobacco production line detection device and stored to obtain a standard system association table of the tobacco production line detection device.

6. The state monitoring method for a tobacco production line detection device according to claim 1, It is characterized in that The tuning process of the preset state detection model by using the standard system features in the standard system association table to obtain the optimized state detection model includes: Inputting the standard system feature into a preset state detection model to obtain a feature label of the standard system feature; Calculating a characteristic error value between the characteristic label and a preset system label, and generating a loss function of the preset state detection model according to the characteristic error value; The preset state detection model is tuned using the loss function to obtain an optimized state detection model.

7. The state monitoring method for a tobacco production line detection device according to any one of claims 1 to 6, It is characterized in that The step of inputting the real-time system information into the optimized state detection model to obtain the working state of the tobacco production line detection device includes: Inputting the real-time system information into the optimized state detection model to determine the expected output of the tobacco production line detection device; Determine the real-time output of the tobacco production line detection device according to the real-time system data, and compare the expected output with the real-time output; When the real-time output is less than the expected output, the tobacco production line detection device is in an abnormal working state; When the real-time output is greater than or equal to the expected output, the tobacco production line detection device is in a normal working state.

8. A state monitoring device for a tobacco production line detection device, It is characterized in that The device comprises: A standard system data module, used to obtain standard module information of multiple working modules of a tobacco production line detection device under normal working conditions by using interface buried points, and integrate the standard module information to obtain standard system data of the tobacco production line detection device; A standard system feature module, used for performing semantic enhancement processing on the standard system data to obtain the standard system features of the tobacco production line detection device; A standard system association table module, used for associating and storing the standard system features with the working modules to obtain a standard system association table; A model tuning module, used to tune the preset state detection model using the standard system features in the standard system association table to obtain an optimized state detection model; A working state judgment module, used for generating real-time system information of the tobacco production line detection device, inputting the real-time system information into the optimized state detection model, and obtaining the working state of the tobacco production line detection device; The fault judgment module is used to select the real-time system information when the tobacco production line detection device is in an abnormal working state as abnormal system data, and determine the working module in which the fault occurs in the tobacco production line detection device according to the abnormal system data.

9. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the state monitoring method for a tobacco production line detection device as described in any one of claims 1 to 7.