Abnormal cigarette carton processing method, device, equipment, system and storage medium

By automatically obtaining tokens and monitoring tobacco production data, the problems of low monitoring frequency and low processing efficiency in the existing technology are solved, and comprehensive automatic monitoring and timely processing of tobacco production data are achieved.

CN120047165APending Publication Date: 2025-05-27JILIN TOBACCO IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510148663.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-11
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

During tobacco production, the QR code association of box-type cigarettes, strip-type cigarettes and piece-type cigarettes failed, resulting in abnormal data reporting to the QR code control platform of the National Bureau. The existing technology has low monitoring frequency, difficult to detect abnormalities in a timely manner, and low manual processing efficiency.

Method used

By obtaining the token and automatically monitoring the box condition correlation system and industry regulation system, obtaining production data and comparing the number of abnormal data, when the preset threshold is reached, the production information of the abnormal piece code is automatically queried and reminders are sent to realize automatic processing and reminders.

Benefits of technology

It realizes comprehensive and automatic monitoring of production data of the box condition-related system, improves monitoring frequency and processing efficiency, reduces manual errors and labor intensity, and promptly detects and processes abnormal data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120047165A_ABST
    Figure CN120047165A_ABST
Patent Text Reader

Abstract

The invention discloses a method, a device, equipment and a system for processing abnormal cigarette cartons and a storage medium. The method comprises the following steps: acquiring a first token; refreshing the first token; obtaining a second token; refreshing the second token; in the production data obtaining step, the number of display report failures and corresponding abnormal part codes, the number of display association failures and corresponding abnormal part codes and the number in display report are obtained; in the third duration monitoring step, the production data are obtained again according to the interval of a third preset duration; and when the number of the current display report failures is greater than the number of the last display report failures, and / or the number of the current display association failures is greater than the number of the last display association failures. And obtaining production information corresponding to each abnormal part code from the industry regulation and control system according to the second token and each abnormal part code, and sending the production information to a mailbox and a reminding device of a second appointed worker. According to the invention, automatic monitoring and processing of abnormal data are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of tobacco production, and in particular, to a method, device, equipment, system and storage medium for processing abnormal cigarette cases. Background Art

[0002] In the process of tobacco production, a box condition association system is used to associate the two-dimensional codes on boxed cigarettes, the two-dimensional codes on strip cigarettes, and the two-dimensional codes on case cigarettes, and report them to the national bureau two-dimensional code control platform. In the actual production process, if the association between the two-dimensional codes on boxed cigarettes, the two-dimensional codes on strip cigarettes, and the two-dimensional codes on case cigarettes fails, or the reporting fails or there is a backlog during the process of reporting the association information to the national bureau two-dimensional code control platform, it will lead to data anomalies in the box condition association system. In the prior art, staff log in to the box condition association system at a monitoring frequency of about half an hour per time to check whether there are data anomalies. This method has a low monitoring frequency and it is difficult to detect anomalies in a timely manner; if the monitoring frequency of staff is increased, it will increase the labor intensity of staff and the labor cost. Moreover, when abnormal data is found, the staff copy the two-dimensional code corresponding to the abnormal cigarette case in the box condition association system, then log in to the industry regulation system to query the production information corresponding to the two-dimensional code, and then hand over the production information to the technologist for non-conforming product processing. The processing efficiency is low, and when there is a large amount of abnormal data, it is easy to miss inspections, resulting in untimely processing of abnormal cigarette cases. Summary of the Invention

[0003] To solve at least one of the above problems, the present invention provides a method, device, equipment, system and storage medium for processing abnormal cigarette cases.

[0004] In a first aspect, the present application provides a method for processing abnormal cigarette products, including the following steps: Obtaining the first token (a data structure representing identity or permission) step: Sending a request message for obtaining the first token to the box condition association system; Receiving a first login data packet from the box condition association system; Sending the first login data packet to the analysis software; Receiving the first token from the analysis software and saving it; First duration monitoring step: After receiving the first token, timestamp the first token and start timing. When the timing duration reaches the first preset duration, return to the step of obtaining the first token and refresh the first token; Obtaining the second token step: Sending a request message for obtaining the second token to the industry regulation system; Receiving a second login data packet from the industry regulation system; Sending the second login data packet to the analysis software; Receiving the second token from the analysis software and saving it; Second duration monitoring step: After receiving the second token, timestamp the second token and start timing. When the timing duration reaches the second preset duration, return to the step of obtaining the second token and refresh the second token; Obtaining production data step: Obtaining the current time and converting it into a time parameter; Constructing a request message including the time parameter and the first token and sending it to the box condition association system; Receiving a first production data packet from the box condition association system; Parsing the first production data packet to obtain the number of reported failures and their corresponding abnormal product codes, the number of associated failures and their corresponding abnormal product codes, and the number of products being reported and saving them; Third duration monitoring step: Starting to time when sending the request message including the time parameter and the first token to the box condition association system. When the timing duration reaches the third preset duration, return to the step of obtaining production data; Comparison step: Comparing the currently saved number of reported failures with the previously saved number of reported failures; Comparing the currently saved number of associated failures with the previously saved number of associated failures; Comparing the currently saved number of products being reported and the first preset threshold; Processing step: When the currently saved number of reported failures is greater than the previously saved number of reported failures, and / or the currently saved number of associated failures is greater than the previously saved number of associated failures, constructing a request message including the second token and the abnormal product codes corresponding to the currently saved reported failures and / or the abnormal product codes corresponding to the currently saved associated failures and sending it to the industry regulation system; Receiving a second production data packet from the industry regulation system; Parsing the second production data packet to obtain the production information corresponding to each abnormal product code; Sending the first data anomaly reminder information to the email of the second designated staff member in the form of an email through the email of the first designated staff member, and sending the first data anomaly reminder information to the reminder device, where the first data anomaly reminder information includes the production information corresponding to each abnormal product code;When the quantity in the currently saved display report is greater than the first preset threshold, send a second data anomaly reminder message to the reminder device.

[0005] Preferably, the processing step further includes: when the quantity in the currently saved display report is greater than the first preset threshold, construct a request message including a first token and a stop reporting request and send it to the box condition association system to close the reporting channel.

[0006] Preferably, the comparison step further includes comparing the quantity in the currently saved display report with a second preset threshold; the processing step further includes: after sending a request message including a first token and a stop reporting request to the box condition association system, when the quantity in the currently saved display report is less than the second preset threshold, construct a request message including a first token and a resume reporting request and send it to the box condition association system to resume the reporting channel.

[0007] Preferably, the processing step further includes: when the quantity in the currently saved display report is greater than the first preset threshold, send the second data anomaly reminder message to the email of the second designated staff member in the form of an email through the email of the first designated staff member.

[0008] Preferably, sending the first data anomaly reminder message to the reminder device in the processing step includes sending the first data anomaly reminder message to the display screen for pop-up prompt, and sending the first data anomaly reminder message to the alarm device for alarm; sending the second data anomaly reminder message to the reminder device includes sending the second data anomaly reminder message to the display screen for pop-up prompt.

[0009] In a second aspect, the present application provides a processing device for abnormal cigarette pieces. The device includes: a first token acquisition module configured to send a request message for acquiring a first token to a box condition association system; receive a first login data packet from the box condition association system; send the first login data packet to an analysis software; receive and save the first token from the analysis software; a first duration monitoring module configured to, after receiving the first token, timestamp the first token and start timing, and when the timing duration reaches a first preset duration, return to the step of acquiring the first token and refresh the first token; a second token acquisition module configured to send a request message for acquiring a second token to an industry regulation system; receive a second login data packet from the industry regulation system; send the second login data packet to the analysis software; receive and save the second token from the analysis software; a second duration monitoring module configured to, after receiving the second token, timestamp the second token and start timing, and when the timing duration reaches a second preset duration, return to the step of acquiring the second token and refresh the second token; a production data acquisition module configured to acquire the current time and convert it into a time parameter; construct a request message including the time parameter and the first token and send it to the box condition association system; receive a first production data packet from the box condition association system; parse the first production data packet to obtain the number of reported failures and their corresponding abnormal piece codes, the number of associated failures and their corresponding abnormal piece codes, and the number of reports in progress and save them; a third duration monitoring module configured to start timing when sending a request message including the time parameter and the first token to the box condition association system, and when the timing duration reaches a third preset duration, return to the step of acquiring production data; a comparison module configured to compare the currently saved number of reported failures with the previously saved number of reported failures; compare the currently saved number of associated failures with the previously saved number of associated failures; compare the currently saved number of reports in progress and a first preset threshold; a processing module configured to, when the currently saved number of reported failures is greater than the previously saved number of reported failures, and / or the currently saved number of associated failures is greater than the previously saved number of associated failures, construct a request message including the second token and the abnormal piece codes corresponding to the currently saved reported failures and / or the abnormal piece codes corresponding to the currently saved associated failures and send it to the industry regulation system; receive a second production data packet from the industry regulation system; parse the second production data packet to obtain the production information corresponding to each abnormal piece code; send a first data anomaly reminder message to the email of a second designated staff member in the form of an email through the email of a first designated staff member, and send the first data anomaly reminder message to a reminder device, where the first data anomaly reminder message includes the production information corresponding to each abnormal piece code;When the quantity in the currently saved display report is greater than the first preset threshold, send a second data exception reminder message to the reminder device.

[0010] In a third aspect, the present application provides a processing device for abnormal cigarette packages. The device includes a memory and a processor. An exception handling program is stored on the memory. When the exception handling program is executed by the processor, it implements an abnormal cigarette package processing method described in any one of the above.

[0011] Preferably, a computer program of a box condition association system, a computer program of a national bureau two-dimensional code control platform, a computer program of an industry regulation system, a computer program of an analysis software, and a computer program of an email are also stored on the memory.

[0012] In a fourth aspect, the present application provides an abnormal cigarette package processing system, including an abnormal cigarette package processing device and a reminder device described above. The processing device is communicatively connected to the reminder device; the reminder device is configured to receive a first data exception reminder message and a second data exception reminder message from the processing device, and perform a reminder according to the first data exception reminder message and the second data exception reminder message.

[0013] In a fifth aspect, the present application provides a storage medium storing computer-readable instructions. When the instructions are run by a processor, they execute the method described in any one of the above.

[0014] An abnormal cigarette package processing method, device, equipment, system, and storage medium of the present invention have the following beneficial effects:

[0015] (1) According to the time parameter and the first token, the present application automatically obtains the first production data packet from the box condition association system according to the set third preset duration and parses the quantity of failed display reports, the quantity of failed display associations, and the quantity in the display report saved therein. According to the set abnormal data determination conditions, that is, the currently saved quantity of failed display reports is greater than the previously saved quantity of failed display reports, the currently saved quantity of failed display associations is greater than the previously saved quantity of failed display associations, and the currently saved quantity in the display report is greater than the first preset threshold, abnormal data is determined and a reminder is sent, realizing comprehensive and automatic monitoring of the production data of the box condition association system. Moreover, the present application can design the third preset duration to be shorter, that is, the monitoring frequency can be greatly improved with less cost increase, and it can avoid the situation where it takes a long time to discover abnormal data due to staff inspection errors and omissions, which helps to quickly discover abnormal data in the box condition association system.

[0016] (2)When the present application detects abnormal data caused by display report failure and / or display association failure, it immediately responds by automatically querying the production information corresponding to each abnormal event code in the industry regulation system according to the abnormal event code and the second token corresponding to the abnormal data, and sending the production information corresponding to each abnormal event code to the email of the relevant staff and sending a reminder message to the reminder device; when it is found that the quantity in the display report is greater than the first preset threshold, i.e., a reporting backlog occurs, the box condition association system automatically closes the reporting channel through the first token and the stop reporting request and sends a reminder message to the reminder device and sends a reminder message to the email of the relevant staff; more preferably, after the box condition association system automatically closes the reporting channel, it continues to monitor the quantity in the display report. When the quantity in the display report is lower than the second preset threshold, the box condition association system automatically resumes the reporting channel through the first token and the resume reporting request. The present application realizes the automatic processing of abnormal data in the box condition association system, which helps to improve the processing efficiency, and avoids errors caused by improper operation during the processing by the staff, thus improving the processing accuracy rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] To better understand the above and other objects, features, advantages and functions of the present invention, reference may be made to the embodiments shown in the drawings. The same reference numerals in the drawings refer to the same components. Those skilled in the art should understand that the drawings are intended to schematically illustrate the preferred embodiments of the present invention and have no restrictive effect on the scope of the present invention. The components in the drawings are not drawn to scale.

[0018] Figure 1 FIG. shows a flowchart of a method for processing abnormal cigarette pieces according to an embodiment of the present invention;

[0019] Figure 2 FIG. shows a framework diagram of a device for processing abnormal cigarette pieces according to an embodiment of the present invention;

[0020] Figure 3 FIG. shows a framework diagram of a system for processing abnormal cigarette pieces according to an embodiment of the present invention.

[0021] DESCRIPTION OF THE REFERENCE NUMERALS:

[0022] 101. First token acquisition module; 102. First duration monitoring module; 103. Second token acquisition module; 104. Second duration monitoring module; 105. Production data acquisition module; 106. Third duration monitoring module; 107. Comparison module; 108. Processing module; 2. Processing device; 21. Memory; 211. Exception handling program; 212. Carton condition association system; 213. National Bureau QR code control platform; 214. Industry regulation system; 215. Analysis software; 216. Email; 22. Processor; 3. Display screen; 4. Alarm device. Detailed implementation

[0023] The following describes exemplary embodiments of the present disclosure with reference to the accompanying drawings. Various details of the embodiments of the present disclosure are included to facilitate understanding, and they should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted below.

[0024] The term "including" and its variations used herein mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "at least partially based on". The terms "an exemplary embodiment" and "an embodiment" mean "at least one exemplary embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0025] To at least partially solve one or more of the above problems and other potential problems, embodiments of the present disclosure propose a method for handling abnormal cigarettes, as Figure 1 shown, including the following steps:

[0026] Step of obtaining the first token: Send a request message for obtaining the first token to the carton condition association system; Receive the first login data packet from the carton condition association system; Send the first login data packet to the analysis software; Receive the first token from the analysis software and save it; Preferably, in this application, the method of obtaining the first token is to exchange the appid for the query token, and the analysis software uses Fidder software to analyze the first login data packet to obtain the first token.

[0027] The first duration monitoring step: After receiving the first token, timestamp the first token and start timing. When the timing duration reaches the first preset duration, return to the step of obtaining the first token and refresh the first token, thereby establishing the expiration mechanism of the first token.

[0028] The step of obtaining the second token: Send a request message for obtaining the second token to the industry regulation system; Receive the second login data packet from the industry regulation system; Send the second login data packet to the analysis software; Receive and save the second token from the analysis software. Preferably, in this application, the method of obtaining the second token is to exchange the query token by verifying the account password after the user logs in. The analysis software uses Fidder software to analyze the second login data packet to obtain the second token.

[0029] The second duration monitoring step: After receiving the second token, timestamp the second token and start timing. When the timing duration reaches the second preset duration, return to the step of obtaining the second token and refresh the second token, thereby establishing the expiration mechanism of the second token.

[0030] The step of obtaining production data: Obtain the current time and convert it into a time parameter. Preferably, use the datetime function to obtain the current date, and the rule for converting it into a time parameter is: Convert the current date into the format of "%Y-%m-%d"; Construct a request message including the time parameter and the first token and send it to the box condition association system; Receive the first production data packet from the box condition association system; Parse the first production data packet to obtain the number of reported failures and their corresponding exception codes, the number of associated failures and their corresponding exception codes, and the number of reports in progress and save them.

[0031] The third duration monitoring step: Start timing when sending a request message including the time parameter and the first token to the box condition association system. When the timing duration reaches the third preset duration, return to the step of obtaining production data to set the monitoring frequency. Preferably, the range of the third preset duration is 0.5 - 5 minutes. For example, the third preset duration is set to 1 minute, that is, repeat the step of obtaining production data every 1 minute.

[0032] The comparison step: Compare the currently saved number of reported failures with the previously saved number of reported failures; Compare the currently saved number of associated failures with the previously saved number of associated failures; Compare the currently saved number of reports in progress and the first preset threshold. Preferably, the range of the first preset threshold is 300 - 500. For example, the first preset threshold is set to 400.

[0033] Processing steps: When the currently saved number of display reporting failures is greater than the previously saved number of display reporting failures, and / or the currently saved number of display association failures is greater than the previously saved number of display association failures, construct request information including the second token and the exception code corresponding to the currently saved display reporting failure and / or the exception code corresponding to the currently saved display association failure, and send it to the industry regulation system; receive the second production data packet from the industry regulation system; parse the second production data packet to obtain the production information corresponding to each exception code; send the first data anomaly reminder information to the email of the second designated staff member in the form of an email according to the first fixed template, where the first data anomaly reminder information includes the production information corresponding to each exception code, and send the first data anomaly reminder information to the reminder device. Specifically, sending the first data anomaly reminder information to the reminder device includes sending the first data anomaly reminder information to the display screen for pop-up reminder, such as popping up on the display screen "There are xxx cases of association failure, please handle it in time" "There are xxx cases of reporting failure, please handle it in time", etc., and sending the first data anomaly reminder information to the alarm device for alarm. More specifically, the alarm device is an alarm light, and sending the first data anomaly reminder information to the alarm light causes the alarm light to flash.

[0034] When the number in the currently saved display reporting is greater than the first preset threshold, send the second data anomaly reminder information to the reminder device. Specifically, sending the second data anomaly reminder information to the reminder device includes sending the second data anomaly reminder information to the display screen for pop-up reminder, such as popping up on the display screen "There is a reporting backlog, please handle it in time", etc. Preferably, when the number in the currently saved display reporting is greater than the first preset threshold, the second data anomaly reminder information is also sent to the email of the second designated staff member in the form of an email according to the second fixed template through the email of the first designated staff member.

[0035] In a preferred embodiment, the processing steps further include: when the number in the currently saved display reporting is greater than the first preset threshold, construct request information including the first token and a stop reporting request, and send it to the box condition association system to close the reporting channel. Preferably, the comparison step further includes comparing the number in the currently saved display reporting with the second preset threshold. The preferred range of the second preset threshold is 100 - 300. For example, the first preset threshold is set to 200; the processing steps further include: after sending the request information including the first token and the stop reporting request to the box condition association system, when the number in the currently saved display reporting is less than the second preset threshold, construct request information including the first token and a resume reporting request, and send it to the box condition association system to resume the reporting channel.

[0036] The present application also provides a processing device for abnormal cigarettes, such as Figure 2As shown, the device includes: a first token acquisition module 101 configured to send a request message for acquiring a first token to the box condition association system; receive a first login data packet from the box condition association system; send the first login data packet to the analysis software; receive and save the first token from the analysis software; a first duration monitoring module 102 configured to timestamp the first token and start timing after receiving the first token, and when the timing duration reaches a first preset duration, return to the step of acquiring the first token and refresh the first token; a second token acquisition module 103 configured to send a request message for acquiring a second token to the industry regulation system; receive a second login data packet from the industry regulation system; send the second login data packet to the analysis software; receive and save the second token from the analysis software; a second duration monitoring module 104 configured to timestamp the second token and start timing after receiving the second token, and when the timing duration reaches a second preset duration, return to the step of acquiring the second token and refresh the second token; a production data acquisition module 105 configured to acquire the current time and convert it into a time parameter; construct a request message including the time parameter and the first token and send it to the box condition association system; receive a first production data packet from the box condition association system; parse the first production data packet to obtain the number of reported failures and their corresponding exception codes, the number of associated failures and their corresponding exception codes, and the number of reports in progress and save them; a third duration monitoring module 106 configured to start timing when sending a request message including the time parameter and the first token to the box condition association system, and when the timing duration reaches a third preset duration, return to the step of acquiring production data; a comparison module 107 configured to compare the currently saved number of reported failures with the previously saved number of reported failures; compare the currently saved number of associated failures with the previously saved number of associated failures; compare the currently saved number of reports in progress and a first preset threshold; a processing module 108 configured to, when the currently saved number of reported failures is greater than the previously saved number of reported failures, and / or the currently saved number of associated failures is greater than the previously saved number of associated failures, construct a request message including the second token and the exception code corresponding to the currently saved reported failure and / or the exception code corresponding to the currently saved associated failure and send it to the industry regulation system; receive a second production data packet from the industry regulation system; parse the second production data packet to obtain the production information corresponding to each exception code; send a first data anomaly reminder message to the email of a second designated staff member in the form of an email through the email of a first designated staff member, and send the first data anomaly reminder message to a reminder device, where the first data anomaly reminder message includes the production information corresponding to each exception code;When the quantity in the currently saved display report is greater than the first preset threshold, send a second data exception reminder message to the reminder device.

[0037] This application also provides a processing device for abnormal cigarette cases. The device includes a memory 21 and a processor 22. An abnormal processing program 211 is stored on the memory 21. When the abnormal processing program 211 is executed by the processor 22, it implements an abnormal cigarette case processing method described in any one of the above. Preferably, as Figure 3 shown, a computer program of the box condition association system 212, a computer program of the National Bureau QR code control platform 213, a computer program of the industry regulation system 214, a computer program of the analysis software 215, and a computer program of the mailbox 216 are also stored on the memory 21. The abnormal processing program 211 performs data interaction with the computer programs of the box condition association system 212, the analysis software 215, the industry regulation system 214, and the computer program of the mailbox 216.

[0038] This application also provides an abnormal cigarette case processing system, as Figure 3 shown, including an abnormal cigarette case processing device 2 and a reminder device described above. The processing device 2 is communicatively connected to the reminder device; the reminder device is used to receive a first data exception reminder message and a second data exception reminder message from the processing device 2, and perform a reminder according to the first data exception reminder message and the second data exception reminder message. Preferably, the reminder device includes: a display screen 3 and an alarm device 4. Both the display screen 3 and the alarm device 4 are communicatively connected to the processing device 2; the display screen 3 is used to receive a first data exception reminder message and a second data exception reminder message from the processing device 2, and perform a pop-up reminder according to the first data exception reminder message and the second data exception reminder message; the alarm device 4 is used to receive a first data exception reminder message from the processing device 2 and perform an alarm according to the first data exception reminder message. Specifically, the alarm device 4 is an alarm lamp, and the alarm lamp is used to receive a first data exception reminder message from the processing device 2 and perform an alarm according to the first data exception reminder message.

[0039] This application also provides a storage medium storing computer-readable instructions. When the instructions are run by a processor, the method described in any one of the above is executed.

[0040] The embodiments of the present disclosure have been described above. The above description is exemplary and not exhaustive, and is also not limited to the disclosed embodiments. Many modifications and variations are obvious to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to technologies in the market, or to enable other ordinary skilled persons in the art to understand the present disclosure.

Claims

1. A method for handling abnormal smoke, characterized in that: The following steps are involved: Obtaining the first token step: sending a request message for obtaining the first token to the box condition association system; receiving a first login data packet from the box condition association system; sending the first login data packet to the analysis software; Receive the first token from the analysis software and save it; First duration monitoring step: after receiving the first token, timestamp the first token and start timing. When the timing duration reaches the first preset duration, return to the first token acquisition step and refresh the first token. Step of obtaining the second token: sending a request message for obtaining the second token to the industry regulation system; receiving a second login data packet from the industry regulation system; sending the second login data packet to the analysis software; Receive the second token from the analysis software and save it; Second duration monitoring step: after receiving the second token, timestamp the second token and start timing. When the timing duration reaches the second preset duration, return to the second token acquisition step and refresh the second token. Steps for obtaining production data: obtain the current time and convert it into a time parameter; construct a request message including the time parameter and the first token and send it to the box condition association system; Receive a first production data packet from the box condition association system; parse the first production data packet to obtain the number of display report failures and their corresponding abnormal code, the number of display association failures and their corresponding abnormal code, and the number in the display report and save them; The third duration monitoring step: starting the timing when sending the request information including the time parameter and the first token to the box condition association system, and when the timing duration reaches the third preset duration, returning to the step of obtaining production data; Comparison step: comparing the number of display reporting failures currently saved with the number of display reporting failures saved last time; comparing the number of display association failures currently saved with the number of display association failures saved last time; comparing the number in the currently saved display report with the first preset threshold; Processing steps: when the number of currently saved display reporting failures is greater than the number of previously saved display reporting failures, and / or the number of currently saved display association failures is greater than the number of previously saved display association failures, construct a request message including a second token and an abnormality code corresponding to the currently saved display reporting failure and / or an abnormality code corresponding to the currently saved display association failure and send it to the industry regulation system; Receive a second production data packet from the industry control system; parse the second production data packet to obtain production information corresponding to each abnormal part code; The first data abnormality reminder information is sent to the mailbox of the second designated staff member in the form of an email through the mailbox of the first designated staff member, and the first data abnormality reminder information is sent to the reminder device, wherein the first data abnormality reminder information includes the production information corresponding to each abnormal part code; when the quantity in the currently saved display report is greater than the first preset threshold value, the second data abnormality reminder information is sent to the reminder device.

2. The method for handling abnormal cigarettes according to claim 1, characterized in that: The processing step also includes: when the number of currently saved display reports is greater than a first preset threshold, constructing a request message including a first token and a request to stop reporting and sending it to the box condition association system to close the reporting channel.

3. The method for handling abnormal cigarettes according to claim 2, characterized in that: The comparison step also includes comparing the number in the currently saved display report and the second preset threshold; the processing step also includes: after sending a request message including a first token and a request to stop reporting to the box condition association system, when the number in the currently saved display report is less than the second preset threshold, constructing a request message including a first token and a request to resume reporting and sending it to the box condition association system to resume the reporting channel.

4. The method for handling abnormal cigarettes according to claim 1, characterized in that: The processing step also includes: when the number in the currently saved display report is greater than a first preset threshold, sending a second data abnormality reminder message to the mailbox of the second designated staff member in the form of an email via the mailbox of the first designated staff member.

5. The method for handling abnormal cigarettes according to claim 1, characterized in that: The step of sending the first data abnormality reminder information to the reminder device in the processing step includes sending the first data abnormality reminder information to a display screen for a pop-up window prompt, and sending the first data abnormality reminder information to an alarm device for an alarm; Sending the second data abnormality reminder information to the reminder device includes sending the second data abnormality reminder information to a display screen for pop-up prompt.

6. A device for handling abnormal cigarettes, characterized in that: The device comprises: A first token acquisition module (101) is configured to send a request message for acquiring a first token to a box condition association system; receive a first login data packet from the box condition association system; send the first login data packet to the analysis software; receive and save the first token from the analysis software; A first duration monitoring module (102) is configured to, after receiving the first token, timestamp the first token and start timing, and when the timing duration reaches a first preset duration, return to the step of obtaining the first token and refresh the first token; A second token acquisition module (103) is configured to send a request message for acquiring a second token to the industry regulation system; receive a second login data packet from the industry regulation system; send the second login data packet to the analysis software; receive and save the second token from the analysis software; A second duration monitoring module (104) is configured to, after receiving the second token, timestamp the second token and start timing, and when the timing duration reaches a second preset duration, return to the step of obtaining the second token and refresh the second token; A production data acquisition module (105) is configured to acquire the current time and convert it into a time parameter; construct a request message including the time parameter and the first token and send it to the box condition association system; receive a first production data packet from the box condition association system; parse the first production data packet to acquire the number of display report failures and their corresponding abnormal code, the number of display association failures and their corresponding abnormal code, and the number in display report and save them; A third duration monitoring module (106), configured to start timing when sending a request message including a time parameter and a first token to the box condition association system, and when the timing duration reaches a third preset duration, return to the step of obtaining production data; A comparison module (107) configured to compare the number of display reporting failures currently saved with the number of display reporting failures saved last time; compare the number of display association failures currently saved with the number of display association failures saved last time; compare the number in the currently saved display report with a first preset threshold; The processing module (108) is configured to construct a request message including a second token and an abnormal code corresponding to the currently saved display report failure and / or an abnormal code corresponding to the currently saved display association failure, and send it to the industry regulation system when the number of currently saved display report failures is greater than the number of display report failures saved last time, and / or the number of currently saved display association failures is greater than the number of display association failures saved last time; receive a second production data packet from the industry regulation system; parse the second production data packet to obtain production information corresponding to each abnormal code; send the first data abnormality reminder information to the mailbox of the second designated staff member in the form of an email via the mailbox of the first designated staff member, and send the first data abnormality reminder information to the reminder device, wherein the first data abnormality reminder information includes the production information corresponding to each abnormal code; when the number in the currently saved display report is greater than the first preset threshold, send the second data abnormality reminder information to the reminder device.

7. An abnormal cigarette processing device, characterized in that: The device comprises a memory (21) and a processor (22), wherein an exception handling program (211) is stored in the memory (21), and when the exception handling program (211) is executed by the processor (22), a method for handling abnormal smoke according to any one of claims 1 to 5 is implemented.

8. The abnormal cigarette processing device according to claim 7, characterized in that: The memory (21) also stores a computer program of a box condition association system (212), a computer program of a national bureau two-dimensional code control platform (213), a computer program of an industry regulation system (214), a computer program of an analysis software (215), and a computer program of a mailbox (216).

9. A system for handling abnormal cigarettes, characterized in that: It comprises an abnormal cigarette processing device (2) and a reminder device as described in claim 7 or 8, the processing device (2) is communicatively connected with the reminder device; the reminder device is used to receive first data abnormality reminder information and second data abnormality reminder information from the processing device (2), and to give a reminder based on the first data abnormality reminder information and the second data abnormality reminder information.

10. A storage medium, characterized in that: Computer-readable instructions are stored, and when the instructions are executed by a processor, the method according to any one of claims 1 to 5 is executed.