Abnormality detection method, device and equipment under inactivator adding scene

By real-time video stream identification processing of the inactivated agent addition steps of the vaccine production line, the problems of inefficient supervision and omissions are solved, and automated monitoring and improvement of production line stability are achieved.

CN119672644APending Publication Date: 2025-03-21CHINA NATIONAL BIOTEC GROUP CO LTD +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510181287.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-19
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

In the existing vaccine production lines, the supervision of the steps of inactivated additive and shake well is inefficient, and omissions are prone to occur, resulting in stagnation and contamination of the production line.

Method used

By identifying the real-time video stream of the inactivated product line, the expected time for the second cover opening and takeover inspection is determined, and a reminder is issued; and the area information of the inactivated product in the video stream and the valve status are monitored, and whether it is shaken well and whether there is any residue, and a corresponding alarm reminder is issued.

Benefits of technology

It realizes automated monitoring of the production line, improves monitoring efficiency, avoids omissions during abnormal monitoring, and ensures the stability and safety of the production process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119672644A_ABST
    Figure CN119672644A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vaccine production, and discloses an anomaly detection method, device and equipment in an inactivator adding scene, and the method comprises the steps: obtaining a real-time video stream of an inactivator adding production line, and determining the expected second uncovering time based on the video stream; if the second uncovering of the takeover machine is not identified when the expected second uncovering time is up, sending out an uncovering overtime prompt; when it is recognized that the cover is opened for the second time, expected taking-over inspection time is determined; if the pipe holding action is not recognized when the expected pipe taking-over inspection time is up, corresponding reminding is sent out; and after the tube holding action of the target person in the video stream is identified, monitoring the area information and the valve state of the inactivating agent in the video stream so as to detect whether the inactivating agent diluted by the receiving tube is shaken up or not and whether the inactivating agent is residual or not, and sending out an alarm prompt based on a detection result. Therefore, the efficiency can be effectively improved, and omission can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vaccine production, and in particular to an abnormality detection method, device and equipment in a scenario of inactivating agent addition. Background Art

[0002] At present, in the production line of vaccine production, the addition and shaking of inactivation agents are key steps in production. Any mistake will cause stagnation and contamination of the production line. In the current actual production process, monitoring personnel mainly rely on cameras and communication equipment to remind production line employees to pay attention to related work.

[0003] The production line supervision method of using monitoring personnel to monitor and remind production line employees is inefficient and prone to omissions. Summary of the invention

[0004] In view of this, the present invention provides an abnormality detection method, device and equipment in the inactivator addition scenario to solve the problem of low efficiency and easy omission when monitoring and reminding production line employees by monitoring personnel.

[0005] In a first aspect, the present invention provides an anomaly detection method in an inactivator addition scenario, the method comprising: Obtain a real-time video stream of the inactivator addition production line, determine the first opening time of the takeover machine based on the video stream, and determine the expected second opening time in combination with the first preset interval; When the expected second cover opening time is reached, if the second cover opening of the takeover machine in the video stream has not been identified, a takeover machine cover opening timeout reminder is issued; When the second opening of the cover of the takeover machine in the video stream is identified, the actual second opening time is determined, and the expected takeover inspection time is determined in combination with the second preset interval; When the expected takeover inspection time arrives, if the target person's holding action in the video stream has not been identified, a takeover inspection reminder is issued; After identifying the tube holding action of the target person in the video stream, monitoring the area information and valve status of the inactivator in the video stream; Based on the valve status and the area information of the inactivator in the video stream, it is detected whether the diluted inactivator is evenly shaken and whether the inactivator remains, and an alarm is issued based on the detection result.

[0006] The method provided by the present aspect identifies and processes the real-time video stream of the inactivator addition production line to determine the expected time corresponding to the second cover opening and the pipe connection inspection, so as to issue a reminder when the corresponding action is not identified at the expected time; and after identifying the takeover action of the target person, the area information and valve status of the inactivator in the video stream are monitored to determine whether the inactivator after the dilution of the pipe is shaken evenly and whether there is any residual inactivator, so as to issue a corresponding alarm reminder, realize automatic monitoring of the production line, improve the production line monitoring efficiency and avoid omissions in abnormal monitoring of the production line.

[0007] In an optional embodiment, the detecting whether the diluted inactivator is evenly shaken and whether the inactivator remains based on the valve state and the area information of the inactivator in the video stream includes: Based on the change information of the area of ​​the inactivator in the video stream within a preset time period, determining whether the diluted inactivator is evenly shaken; When the valve state changes from an open state to a closed state, it is determined whether there is residual inactivator based on the current area of ​​the diluted inactivator in the video stream.

[0008] In this embodiment, whether the diluted inactivator is evenly shaken is determined by the change of the inactivator in the video stream during a preset time period, so as to ensure the accuracy of the recognition of the shaking action of the inactivator. At the same time, after the valve state changes from open to closed, the residual situation of the inactivator is determined based on the area of ​​the inactivator, so as to avoid contamination of the production line even if the residual inactivator is found.

[0009] In an optional embodiment, determining whether the diluted inactivator is evenly shaken based on information about the change in the area of ​​the inactivator in the video stream within a preset period of time includes: Determining whether the area of ​​the inactivator in the video stream changes periodically within a preset period of time; If yes, it is determined that the diluted inactivator is shaken well; If not, it is determined that the diluted inactivator is not shaken well.

[0010] In this implementation manner, whether the inactivator is evenly shaken is determined by determining whether the area of ​​the inactivator in the video stream changes periodically within a preset period of time, thereby effectively ensuring the accuracy of determining whether the inactivator is evenly shaken.

[0011] In an optional embodiment, the determining whether there is residual inactivator based on the current area of ​​the diluted inactivator in the video stream includes: Determine whether the current area information of the diluted inactivating agent in the video stream is greater than a first preset threshold; If yes, it is determined that there are residual inactivating agents; If not, it is determined that there is no inactivator residue.

[0012] In this implementation manner, the residual situation of the inactivator is determined by whether the area information of the inactivator in the video stream is greater than a preset threshold, thereby ensuring the accuracy of the determination of the residual inactivator.

[0013] In an optional implementation, the issuing of an alarm reminder based on the detection result includes: If the diluted inactivator is not shaken well, a reminder will be issued that the inactivator is not shaken well; If there is any inactivator residue, a reminder will be given that the inactivator addition is not completed.

[0014] In this embodiment, when the inactivator is not shaken well or when there is inactivator residue, a corresponding reminder is issued, so that the staff can handle the abnormality of the production line even if necessary, thereby ensuring the stable operation of the production line.

[0015] In an optional implementation, the method for identifying the pipe holding action of the target person in the video stream is: After the second opening of the pipe taking over the machine in the video stream is identified, image recognition is performed on the preset area in each key frame of the subsequent video stream to detect whether there is a pipe holding action of the target person in each key frame.

[0016] In this embodiment, after recognizing the second opening of the cover, image recognition is only performed on the preset area of ​​each key frame in the subsequent video stream to detect the pipe holding action of the target person, thereby reducing the amount of image recognition calculation and improving recognition efficiency.

[0017] In an optional implementation, the second opening of the cover of the takeover machine in the video stream is identified as follows: After determining the first opening time of the takeover machine, image recognition is performed on the key frames of the subsequent video stream to determine the first closing time of the takeover machine by the target person; After recognizing the first closing of the cover of the machine by the target person, continue to perform image recognition on the key frames of the subsequent video stream to recognize the next opening action of the cover of the machine by the target person to determine the second opening of the cover of the machine by the target person.

[0018] In this embodiment, after determining the first cover opening time, the first cover closing of the target person is determined to distinguish it from the subsequent second cover opening action, thereby ensuring the accuracy of the second cover opening recognition.

[0019] In a second aspect, the present invention provides an abnormality detection device in an inactivator addition scenario, the device comprising: A video stream acquisition module, used to acquire a real-time video stream of the inactivator addition production line, determine the first opening time of the takeover machine based on the video stream, and determine the expected second opening time in combination with the first preset interval; A cover opening timeout reminder module is used to issue a cover opening timeout reminder for the takeover machine if the second cover opening of the takeover machine in the video stream has not been identified when the expected second cover opening time is reached; A second cover opening recognition module, for determining an actual second cover opening time when the second cover opening of the takeover machine in the video stream is recognized, and determining an expected takeover inspection time in combination with a second preset interval; A takeover inspection reminder module is used to issue a takeover inspection reminder when the expected takeover inspection time is reached if the pipe holding action of the target person in the video stream has not been identified; An inactivator detection module, for monitoring the area information and valve status of the inactivator in the video stream after identifying the pipe holding action of the target person in the video stream; The alarm reminder module is used to detect whether the diluted inactivator is shaken evenly and whether the inactivator remains based on the valve status and area information of the inactivator in the video stream, and to issue an alarm reminder based on the detection result.

[0020] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the anomaly detection method in the inactivator addition scenario of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0021] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the anomaly detection method in an inactivator addition scenario of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 is a flow chart of an abnormality detection method in an inactivator addition scenario according to an embodiment of the present invention; Figure 2 is a flow chart of an abnormality detection method in another inactivator addition scenario according to an embodiment of the present invention; Figure 3 An example diagram of a production line anomaly detection process architecture is provided according to an embodiment of the present invention; Figure 4 This is an example diagram of a process for detecting a switch cover of a takeover machine based on a video stream according to an embodiment of the present invention; Figure 5 is an example diagram of a takeover detection process based on video stream according to an embodiment of the present invention; Figure 6 is an example diagram of a process of shaking and residual detection of an inactivating agent based on a video stream according to an embodiment of the present invention; Figure 7 is a structural block diagram of an abnormality detection device in an inactivator addition scenario according to an embodiment of the present invention; Figure 8 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0025] At present, in the production line of vaccine production, the addition and shaking of inactivation agents are key steps in production. Any mistake will cause stagnation and contamination of the production line. In the current actual production process, monitoring personnel mainly rely on cameras and communication equipment to remind production line employees to pay attention to related work.

[0026] The production line supervision method of using monitoring personnel to monitor and remind production line employees is inefficient and prone to omissions.

[0027] To this end, an embodiment of the present invention provides an abnormality detection method in an inactivator addition scenario, which identifies and processes the real-time video stream of the inactivator addition production line to determine the expected time corresponding to the second cover opening and the pipe connection inspection, so as to issue a reminder when the corresponding action is not identified at the expected time; and after identifying the takeover action of the target person, the area information and valve status of the inactivator in the video stream are monitored to determine whether the inactivator after the dilution is shaken evenly and whether there is any residual inactivator, so as to issue a corresponding alarm reminder, realize automatic monitoring of the production line, improve the production line monitoring efficiency and avoid omissions in abnormal monitoring of the production line.

[0028] According to an embodiment of the present invention, an embodiment of an anomaly detection method in an inactivation agent addition scenario is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0029] In this embodiment, a method for detecting anomalies in an inactivator addition scenario is provided, which can be used for the abnormal monitoring of the above-mentioned vaccine production line. Figure 1 is a flow chart of an abnormality detection method in an inactivator addition scenario according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps: Step S101, obtaining a real-time video stream of the inactivator addition production line, determining the first opening time of the takeover machine based on the video stream, and determining the expected second opening time in combination with the first preset interval.

[0030] For the vaccine production line, there will be special staff to add the inactivating agent. When adding the inactivating agent, the staff's work flow is mainly as follows: open the lid of the taking-over machine; put the tube-packed inactivating agent and vaccine culture medium into the taking-over machine respectively; close the lid of the taking-over machine; start the taking-over machine, and connect the tube-packed inactivating liquid and culture medium through the taking-over machine; open the lid of the taking-over machine; start the shaking function of the taking-over machine or manually mix and shake the connected inactivating liquid and culture medium; open the valve to flow the shaken and mixed inactivating agent to the next one; close the valve, where the opening and closing of the valve can be performed by the machine based on its own settings or manually by the staff.

[0031] For the process of the above-mentioned staff adding the inactivating agent, the real-time video stream of the inactivating agent adding production line can be obtained through monitoring cameras or other video sources, and the behavior in the video can be identified through a pre-set recognition algorithm.

[0032] In order to reduce the amount of computation during recognition, only key frames of the video stream may be recognized, wherein the key frames may be video frames extracted based on preset rules, such as even frames, odd frames, or a frame extracted every several frames.

[0033] Based on the key frames of the video stream, the behavior of the staff on the production line is identified, the behavior of the staff opening the cover of the take-over machine is determined, and the time when the cover of the take-over machine is first opened is recorded, that is, the first opening time. Referring to the actual work content of the above production line, it can be seen that in the actual production line, after the staff opens the cover, they need to put the tube-packaged inactivator and vaccine culture medium into the take-over machine respectively, close the cover of the take-over machine, and wait for a period of time (the working time of the take-over machine) before opening the cover of the take-over machine, that is, the second opening.

[0034] Therefore, after determining the first opening time, the expected second opening time can be determined based on the preset first time interval, that is, the cumulative time of the staff's pipe release time and the pipe connection machine's working time determined based on production experience, that is, the first opening time plus the first time interval to obtain the expected second opening time.

[0035] Step S102, when the expected second cover opening time is reached, if the second cover opening of the takeover machine in the video stream has not been identified, a takeover machine cover opening timeout reminder is issued.

[0036] After the staff member in the video stream is identified to have opened the cover for the first time, there may be two situations. The first is that the staff member works normally and opens the cover for the second time before the expected second opening time arrives. The second is that the staff member forgets to open the cover after closing the cover of the takeover machine, that is, when the second opening time arrives, the second opening action is never performed. When the expected second opening time arrives, the staff member’s opening action is never identified in the process of behavior recognition based on the video stream, that is, the second opening of the takeover machine in the recognition stream has not yet been identified. This situation indicates that the staff member forgot to open the cover, so a reminder of the takeover machine opening timeout will be output. Specifically, a reminder method such as voice reminder or alarm can be used through the speaker of the production line, which is not limited here. The same is true for subsequent reminders, so as to remind the staff of the production line to open the cover in time for subsequent steps.

[0037] Step S103, when the second opening of the cover of the takeover machine in the video stream is identified, the actual second opening time is determined, and the expected takeover inspection time is determined in combination with the second preset interval.

[0038] As shown in the above step S102, after the staff member opens the lid for the first time in the video stream, if the staff member works normally, the staff member will open the lid for the second time before the expected second opening time arrives; or after the lid opening supermarket reminder is issued in the above step S102, the staff member opens the lid. In both cases, the staff member's second lid opening action can be identified by performing behavior recognition on the key frames in the video stream, thereby determining the actual second lid opening time.

[0039] In actual working scenarios, after opening the cover of the pipe connection machine, the staff will check the connection status of the connected pipes. Usually, they need to hold the connected pipes to check the connection tightness and whether the connection is firm. Therefore, another preset interval time, i.e., the second preset interval, can be set. The second preset interval is added to the actual second opening time to determine the expected pipe connection inspection time. If the staff's pipe holding action is not recognized in the video stream before the expected pipe connection inspection time arrives, it is necessary to send a pipe connection inspection reminder to the staff so that they can take corresponding actions.

[0040] Step S104: When the expected takeover inspection time arrives, if the target person's pipe holding action in the video stream has not been identified, a takeover inspection reminder is issued.

[0041] After the actual second opening time is determined, that is, after the opening action of the staff is identified, there are also two situations for the staff. The first is that the staff works normally and holds the pipe before the expected takeover inspection time, that is, the holding inspection is performed; the second is that the staff has not held the pipe before the expected takeover inspection time, that is, the takeover inspection is not performed. In the second case, when the expected takeover inspection time arrives, the holding action of the target person, that is, the staff, has not been identified through the key frames in the video stream. In this case, a takeover inspection reminder will be issued to remind the staff to perform the takeover inspection.

[0042] Step S105, after the target person's tube holding action in the video stream is identified, the area information and valve status of the inactivator in the video stream are monitored.

[0043] Similarly, referring to the relevant content in the above step S104, in the first case, before the expected takeover inspection arrives, the staff's pipe-holding action can be identified through the key frames of the video stream; or after the corresponding reminder is issued, after the staff's pipe-holding action is identified, subsequent other behavior identifications can be performed.

[0044] After the pipe holding action is recognized, it means that the staff has already checked the connection of the connected pipes, and the cover of the connecting machine is in the open state at this time. Since the inactivator is a colored liquid, after the pipelines of the inactivator and the culture medium are connected, the diffusion state of the inactivator in the connected pipes can be observed in the video. In the video, the diffusion state of the inactivator can be determined according to the area of ​​the corresponding color of the inactivator, where the area of ​​the corresponding color of the inactivator is the area information of the inactivator. The area information of the inactivator in the video stream is monitored by the image recognition algorithm.

[0045] At the same time, in the actual operation process, after the inactivator and culture medium are mixed, it is necessary to open a specific valve in the takeover machine to allow the mixed solution to flow to the next link, thereby completing the inactivator addition step. Therefore, it is also necessary to monitor the valve status in the video stream.

[0046] Step S106, based on the valve status and the area information of the inactivator in the video stream, detect whether the diluted inactivator is shaken evenly and whether the inactivator remains, and issue an alarm reminder based on the detection result.

[0047] During the shaking process, the color corresponding to the diluted and mixed inactivator will diffuse, which is reflected in the video stream as follows: the area corresponding to the color of the inactivator changes periodically over a period of time, such as the area corresponding to the color rapidly increases over a period of time and then remains unchanged. By performing image recognition on the video stream, the above changes in the area corresponding to the inactivator can be monitored. When this situation is recognized, it means that the diluted inactivator has been shaken evenly. If this situation is not recognized over a period of time, it means that it has not been shaken evenly. At this time, a corresponding alarm reminder needs to be issued to prompt the staff to shake evenly.

[0048] After the inspection of the pipe grip, the initial state of the valve inside the pipe-taking machine in the video stream is the closed state. After the staff shakes the pipe well, they need to transfer the diluted inactivator to the next link, that is, to perform the final step of adding the inactivator. Therefore, the valve needs to be adjusted to the open state, and the valve needs to be closed after the inactivator has been circulated. In the process of monitoring the valve state through the video stream, when the valve state is monitored to change from open to closed, it means that the staff believes that the addition of the inactivator has been completed. At this time, the area of ​​the inactivator in the pipe-taking machine needs to be determined through the video stream. If the area corresponding to the color of the inactivator is too large, it means that the inactivator is residual. At this time, a corresponding alarm reminder needs to be issued to prompt the staff to open the valve to transfer the residual inactivator to the next link, or to perform corresponding cleaning on the residual inactivator. At this point, the entire process of adding the inactivator is completed, and the abnormal detection of the next inactivator addition can be started, that is, step S101 is restarted.

[0049] Since the takeover machine is still in the open state at this time, before starting step S101, the actual work regulations can be used to let the staff close the cover of the takeover machine, and then start executing the content of step S101, or directly determine the current time as the first open time for a new round of inactivator addition, and then execute the content of step S101. The specific setting can be based on the actual situation and is not limited here.

[0050] The abnormality detection method in the inactivator addition scenario provided in this embodiment identifies and processes the real-time video stream of the inactivator addition production line to determine the expected time corresponding to the second cover opening and the pipe connection inspection, so as to issue a reminder when the corresponding action is not identified at the expected time; and after identifying the takeover action of the target person, the area information and valve status of the inactivator in the video stream are monitored to determine whether the inactivator after the dilution is shaken evenly and whether there is any residual inactivator, so as to issue a corresponding alarm reminder, realize automatic monitoring of the production line, improve the production line monitoring efficiency and avoid omissions in abnormal monitoring of the production line.

[0051] According to an embodiment of the present invention, another embodiment of an abnormality detection method in an inactivator addition scenario is provided, which can be used for abnormality monitoring of the above-mentioned vaccine production line. Figure 2 FIG. 4 is a flow chart of an abnormality detection method in another inactivator addition scenario according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps: Step S201, obtain the real-time video stream of the inactivator addition production line, determine the first opening time of the takeover machine based on the video stream, and determine the expected second opening time in combination with the first preset interval. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0052] Step S202: When the expected second opening time is reached, if the second opening of the takeover machine in the video stream has not been identified, a takeover machine opening timeout reminder is issued. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.

[0053] Step S203, when the second cover opening of the takeover machine in the video stream is identified, the actual second cover opening time is determined, and the expected takeover inspection time is determined in combination with the second preset interval.

[0054] Specifically, in the above steps S202 and S203, the second opening of the cover of the takeover machine in the video stream is identified as follows: After determining the first opening time of the takeover machine, image recognition is performed on the key frames of the subsequent video stream to determine the first closing time of the takeover machine by the target person; After recognizing the first closing of the cover of the machine by the target person, continue to perform image recognition on the key frames of the subsequent video stream to recognize the next opening action of the cover of the machine by the target person to determine the second opening of the cover of the machine by the target person.

[0055] It can be understood that after receiving the real-time video stream on the production line, the video stream can be used for behavior recognition through a pre-set behavior recognition algorithm to identify the action of the staff opening the cover of the takeover machine, and determine the time when the staff first opened the cover of the takeover machine. In the actual workflow, after the staff opens the cover of the takeover machine, they put the inactivator and culture medium that need to be connected to the takeover machine into the takeover machine, close the cover of the takeover machine, start the takeover process of the takeover machine, and then open the cover of the takeover machine. Therefore, after identifying the first time to open the cover, in order to distinguish the subsequent closing and opening actions, it is necessary to perform image recognition on the key frames in the subsequent video stream to determine the first time the target person, that is, the staff, closed the cover of the takeover machine. Among them, the key frame refers to the video frame selected according to the preset rules, such as odd frames, even frames or preset interval frames, and its purpose is to reduce the workload when performing action recognition on the video.

[0056] After recognizing the first closing of the machine by the target person, it is necessary to continue to push the recognition of key frames in subsequent video streams, and determine the next recognized opening action of the staff member on the machine as the second opening of the machine by the target person, i.e. the staff member.

[0057] Step S204: When the expected takeover inspection time is reached, if the target person's holding action in the video stream has not been identified, a takeover inspection reminder is issued. Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.

[0058] Step S205, after the target person's tube holding action in the video stream is identified, the area information and valve status of the inactivator in the video stream are monitored.

[0059] Specifically, in the above steps S204 and S205, the method of identifying the pipe holding action of the target person in the video stream is: After the second opening of the cover of the takeover machine in the video stream is identified, image recognition is performed on the preset area in each key frame of the subsequent video stream to detect whether there is a pipe holding action of the target person in each key frame.

[0060] It can be understood that after the second opening of the takeover machine in the video stream is identified, the tube holding action recognition starts for the video stream, that is, the tube holding action recognition detection is performed for each key frame of the subsequent video stream. Among them, when performing image recognition for each key frame of the video stream, only the preset area in the image, that is, the area corresponding to the connected connection tube in the takeover machine in the image, is used for image recognition, thereby reducing the recognition workload and improving the recognition efficiency.

[0061] Step S206, based on the valve state in the video stream and the area information of the inactivator, it is detected whether the diluted inactivator is evenly shaken and whether there is any inactivator left.

[0062] Specifically, in step S206, it includes: Step S206-1, based on the change information of the area of ​​the inactivator in the video stream within a preset time period, determine whether the diluted inactivator is evenly shaken.

[0063] It can be understood that when determining whether the diluted inactivator is shaken evenly, it is mainly determined based on the change in the area of ​​the inactivator in the video stream within a preset time period. It can be understood that the inactivator itself has color, and after mixing, its corresponding color can diffuse. If the shaking operation is performed, the area of ​​the corresponding color will expand in a short period of time within the preset time period; if the shaking operation is not performed, the diffusion speed of the area of ​​the corresponding color is relatively slow in a short time, that is, in a static state, the area of ​​the corresponding color of the inactivator in the mixed liquid is relatively fixed.

[0064] Therefore, by image recognition, whether the area corresponding to the inactivator in the image changes within a preset period of time, such as the area change in a short period of time, or whether the area changes periodically, it is possible to identify whether the inactivator in the video stream has been shaken.

[0065] Specifically, in the above step S206-1, based on the change information of the area of ​​the inactivator in the video stream within a preset period of time, determining whether the diluted inactivator is shaken evenly includes: Determining whether the area of ​​the inactivator in the video stream changes periodically within a preset period of time; If yes, it is determined that the diluted inactivator is shaken well; If not, it is determined that the diluted inactivator is not shaken well.

[0066] It can be understood that when shaking, the area displayed in the video will change periodically due to the fluctuation of the internal liquid. Therefore, it can be determined whether the diluted inactivator is shaken well according to whether the area of ​​the inactivator in the video stream changes periodically within a preset period of time. If the recognition result is yes, it is determined that the diluted inactivator is shaken well; if the recognition result is no, it is determined that the diluted inactivator is not shaken well.

[0067] The preset time period can be understood as the time period for expected shaking treatment after taking over the inspection, which is determined according to the actual work process.

[0068] Step S206-2: when the valve state changes from an open state to a closed state, determine whether there is residual inactivator based on the current area of ​​the diluted inactivator in the video stream.

[0069] refer to Figure 1In the description of the actual workflow in the illustrated embodiment, the staff needs to pass the diluted inactivator to the next link after shaking, that is, to perform the final step of adding the inactivator, so the valve needs to be adjusted to the open state, and the valve needs to be closed after the inactivator has been circulated.

[0070] Therefore, after recognizing that the valve state in the video stream changes from an open state to a closed state, it can be considered that the staff has passed the diluted inactivator to the next link. At this time, the current area of ​​the diluted inactivator in the video stream can be determined to determine whether there is any residue, that is, to determine whether the corresponding color of the diluted inactivator still exists in the corresponding area inside the machine in the current video stream, that is, the current area of ​​the diluted inactivator in the video stream is greater than the preset value (a value set considering the recognition accuracy and the conventional residual amount, usually a very small value. In some cases, if the recognition accuracy is low and the residual amount is relatively low, the value can be set to 0).

[0071] If the color corresponding to the diluted inactivator is not identified, or the area of ​​the color corresponding to the diluted inactivator is small, it can be determined that there is no inactivator residue. If the color corresponding to the diluted inactivator is identified, or the area of ​​the color corresponding to the diluted inactivator is large, it is determined that there is inactivator residue, which is determined based on the regular residue amount and image recognition accuracy of the actual production line.

[0072] Specifically, in the above step S206-2, determining whether there is residual inactivator based on the current area of ​​the diluted inactivator in the video stream includes: Determine whether the current area information of the diluted inactivating agent in the video stream is greater than a first preset threshold; If yes, it is determined that there are residual inactivating agents; If not, it is determined that there is no inactivator residue.

[0073] It can be understood that if, after identifying that the valve state in the video stream changes from an open state to a closed state, the current area of ​​the diluted inactivator in the video stream is greater than the preset value, that is, the first preset threshold, it means that the residual amount of the inactivator is relatively large, and therefore it is determined that there is residual inactivator; if the current area of ​​the inactivator is less than the preset value, it means that the residual amount of the inactivator is relatively small, or there is no residue, and therefore it is determined that there is no residual inactivator.

[0074] Step S207: issuing an alarm based on the detection result.

[0075] Specifically, in the above step S207, issuing an alarm reminder based on the detection result includes: If the diluted inactivator is not shaken well, a reminder will be issued that the inactivator is not shaken well; If there is any inactivator residue, a reminder will be given that the inactivator addition is not completed.

[0076] It can be understood that when the video stream is identified by the recognition algorithm, if it is identified that the diluted inactivator has not been shaken, a reminder to shake the inactivator is issued to remind the production line staff to shake the inactivator. Similarly, if there is residual inactivator after the valve is closed, a reminder that the inactivator addition is not completed is issued so that the staff can clean up the residual inactivator in time, such as reopening the valve to transfer the residual inactivator to the next link or dismantling and cleaning.

[0077] The abnormality detection method in the inactivator addition scenario provided by the embodiment of the present invention identifies and processes the real-time video stream of the inactivator addition production line to determine the expected time corresponding to the second cover opening and the pipe connection inspection, so as to issue a reminder when the corresponding action is not identified at the expected time; and after identifying the takeover action of the target person, the area information and valve status of the inactivator in the video stream are monitored to determine whether the inactivator after the dilution is shaken evenly and whether there is any residual inactivator, so as to issue a corresponding alarm reminder, realize automatic monitoring of the production line, improve the production line monitoring efficiency and avoid omissions in abnormal monitoring of the production line.

[0078] In order to facilitate understanding of the above method embodiments, an example diagram of a production line anomaly detection process architecture is provided according to an embodiment of the present invention. Figure 3 After receiving the video stream, the preset recognition algorithm will perform the behavior recognition of three modules and execute the corresponding reminders under the preset recognition state, namely, the cover opening and closing module, which is used to determine whether the cover of the pipe connection machine is opened or closed; the pipe holding module, which is used to determine whether the staff has connected the pipe for connection detection; the shaking and development module, which is used to determine whether the diluted inactivator is shaken evenly and whether there is any inactivator residue after the valve is changed from open to closed.

[0079] Among them, for the switch cover module, the specific workflow is as follows Figure 4 , which is an example diagram of a process for detecting a switch cover of a takeover machine based on a video stream according to an embodiment of the present invention.

[0080] After receiving the video stream, the recognition algorithm starts to execute, waiting for the first cover opening in the video stream. The algorithm identifies the state of the cover opening and closing of the receiver until the algorithm identifies the first cover opening. The system timestamp T1 of the first cover opening is recorded, and after the first cover opening is identified, the expected second cover opening time is determined.

[0081] Then wait for the first cover closing. At this time, the algorithm recognizes the switch from cover opening to cover closing and distinguishes it from the second cover closing. Finally, wait for the second cover opening. If the expected second cover opening time is reached, but the second cover opening is still not recognized, the alarm takes over the cover opening timeout, so that the staff can perform the cover opening action and enter the recognition of the next module; if the second cover opening is not recognized and there is no timeout, continue to wait; before the cover opening timeout, the second cover opening action is recognized, and the recognition of the next module is also entered.

[0082] In another way, after determining the timestamp of the first cover opening, for each subsequent video frame for secondary cover opening identification, if the corresponding timestamp T2 and the timestamp of the first cover opening are greater than a preset threshold, it is considered that the cover has not been opened within the preset time interval, and a cover opening reminder is issued.

[0083] For the pipe holding module, the specific workflow is as follows Figure 5 FIG. 1 is a diagram showing an example of a takeover detection process based on video stream according to an embodiment of the present invention.

[0084] When the algorithm starts to execute the recognition corresponding to the tube holding module, the system timestamp T3 at this time is recorded. Usually, the tube holding action will be recognized after the second opening of the cover is recognized, so T3 and the time when the second opening of the cover is recognized can be the same time.

[0085] Check whether there is a pipe gripping action detected in the ROI. The algorithm checks whether there is a pipe gripping action in each key frame. The ROI (Region of Interest) mentioned here refers to the region of interest, that is, the pre-set monitoring range. By setting the ROI, the detection range can be limited to reduce unnecessary computing overhead.

[0086] Check whether it has timed out. Calculate the timestamp T4 corresponding to each video frame to be identified and compared with T3. If the time difference is greater than the timeout threshold, the alarm personnel have not taken over the inspection.

[0087] For the shake and valve opening module, the specific workflow is as follows Figure 6 As shown, it is an example flow chart of an inactivator shaking and residue detection based on video stream according to an embodiment of the present invention.

[0088] Calculate the liquid area of ​​the inactivator in the video stream. Calculate the liquid area in the image according to the segmentation algorithm and record it as A1.

[0089] Then, the area is tested for periodic changes. According to the recorded continuous liquid area values, it is determined whether the liquid area change has periodic characteristics. If there is no periodic characteristic, an alarm is issued to continuously shake the inactivator after dilution.

[0090] At the same time, it is detected whether the valve is open or closed according to the detection algorithm.

[0091] Whether there is any liquid left. When the valve state changes from open to closed, determine whether A1 is greater than the threshold. If it is greater, it is considered that there is residual inactivator, and an alarm is issued: the addition of inactivator is not completed.

[0092] The embodiment of the present invention provides a method for detecting abnormalities of adding inactivating agents automatically based on a recognition algorithm based on deep learning. First, according to different algorithm states, automatic switching is performed between the cover switch module, the tube grip module, and the shaking and valve opening module. By deploying the method provided by the present invention, it can help vaccine manufacturers to automatically avoid irregular behaviors in the vaccine production process, greatly improving the production efficiency of vaccines.

[0093] The safety monitoring in the vaccine production process is automatically identified using algorithms. The three key steps of adding inactivating agents to vaccine production are differentiated and alarmed through the three modules of opening the cover, holding the tube, shaking, and switching the valve. Through different conditions, the three modules are automatically connected in series to automatically switch between different modules, avoiding negligence or omissions during manual safety monitoring. At the same time, it can remind production personnel more promptly, greatly improving work safety and efficiency.

[0094] In this embodiment, an abnormality detection device in the inactivator addition scenario is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0095] This embodiment provides an abnormality detection device in a scenario where an inactivator is added, such as Figure 7 As shown, including: The video stream acquisition module 401 is used to acquire the real-time video stream of the inactivator addition production line, determine the first opening time of the takeover machine based on the video stream, and determine the expected second opening time in combination with the first preset interval.

[0096] The cover opening timeout reminder module 402 is used to issue a cover opening timeout reminder for the takeover machine if the second cover opening of the takeover machine in the video stream has not been identified when the expected second cover opening time is reached.

[0097] The second cover opening identification module 403 is used to determine the actual second cover opening time when the second cover opening of the takeover machine in the video stream is identified, and determine the expected takeover inspection time in combination with the second preset interval; The takeover inspection reminder module 404 is used to issue a takeover inspection reminder if the target person's pipe holding action in the video stream has not been identified when the expected takeover inspection time arrives.

[0098] The inactivator detection module 405 is used to monitor the area information and valve status of the inactivator in the video stream after identifying the tube holding action of the target person in the video stream.

[0099] The alarm reminder module 406 is used to detect whether the diluted inactivator is shaken evenly and whether the inactivator remains based on the valve status and the area information of the inactivator in the video stream, and issue an alarm reminder based on the detection result.

[0100] In some optional embodiments, the alarm reminder module 406, when detecting whether the diluted inactivator is evenly shaken and whether the inactivator remains based on the valve state and the area information of the inactivator in the video stream, includes: Based on the change information of the area of ​​the inactivator in the video stream within a preset time period, determine whether the diluted inactivator is evenly shaken; When the valve state changes from an open state to a closed state, it is determined whether there is residual inactivator based on the current area of ​​the diluted inactivator in the video stream.

[0101] In some optional embodiments, the alarm reminder module 406, when determining whether the diluted inactivator is evenly shaken based on the change information of the area of ​​the inactivator in the video stream within a preset period of time, includes: Determining whether the area of ​​the inactivator in the video stream changes periodically within a preset period of time; If yes, it is determined that the diluted inactivator is shaken well; If not, it is determined that the diluted inactivator is not shaken well.

[0102] In some optional embodiments, the alarm reminder module 406, when determining whether there is inactivator residue based on the current area of ​​the diluted inactivator in the video stream, includes: Determine whether the current area information of the diluted inactivating agent in the video stream is greater than a first preset threshold; If yes, it is determined that there are residual inactivating agents; If not, it is determined that there is no inactivator residue.

[0103] In some optional implementations, the alarm reminder module 406, when issuing an alarm reminder based on the detection result, includes: If the diluted inactivator is not shaken well, a reminder will be issued that the inactivator is not shaken well; If there is any inactivator residue, a reminder will be given that the inactivator addition is not completed.

[0104] In some optional implementations, the method for identifying the pipe holding action of the target person in the video stream is: After the second opening of the cover of the takeover machine in the video stream is identified, image recognition is performed on the preset area in each key frame of the subsequent video stream to detect whether there is a pipe holding action of the target person in each key frame.

[0105] In some optional implementations, the second opening of the cover of the takeover machine in the video stream is identified as follows: After determining the first opening time of the takeover machine, image recognition is performed on the key frames of the subsequent video stream to determine the first closing time of the takeover machine by the target person; After recognizing the first closing of the cover of the machine by the target person, continue to perform image recognition on the key frames of the subsequent video stream to recognize the next opening action of the cover of the machine by the target person to determine the second opening of the cover of the machine by the target person.

[0106] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0107] The anomaly detection device in the inactivator addition scenario in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0108] The embodiment of the present invention also provides a computer device having the above Figure 7 The anomaly detection device in the inactivator addition scenario is shown.

[0109] See also Figure 8 , Figure 8 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 8As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.

[0110] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0111] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0112] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0113] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0114] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.

[0115] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device may be a touch screen.

[0116] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0117] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for detecting anomalies in a scenario where an inactivator is added, characterized in that: The method comprises: Obtain a real-time video stream of the inactivator addition production line, determine the first opening time of the takeover machine based on the video stream, and determine the expected second opening time in combination with the first preset interval; When the expected second cover opening time is reached, if the second cover opening of the takeover machine in the video stream has not been identified, a takeover machine cover opening timeout reminder is issued; When the second opening of the cover of the takeover machine in the video stream is identified, the actual second opening time is determined, and the expected takeover inspection time is determined in combination with the second preset interval; When the expected takeover inspection time arrives, if the target person's holding action in the video stream has not been identified, a takeover inspection reminder is issued; After identifying the tube holding action of the target person in the video stream, monitoring the area information and valve status of the inactivator in the video stream; Based on the valve status and the area information of the inactivator in the video stream, it is detected whether the diluted inactivator is evenly shaken and whether the inactivator remains, and an alarm is issued based on the detection result.

2. The method according to claim 1, characterized in that The method of detecting whether the diluted inactivator is evenly shaken and whether the inactivator remains based on the valve state and the area information of the inactivator in the video stream includes: Based on the change information of the area of ​​the inactivator in the video stream within a preset time period, determining whether the diluted inactivator is evenly shaken; When the valve state changes from an open state to a closed state, it is determined whether there is residual inactivator based on the current area of ​​the diluted inactivator in the video stream.

3. The method according to claim 2, characterized in that The step of determining whether the diluted inactivator is evenly shaken based on information about the change in the area of ​​the inactivator in the video stream within a preset period of time includes: Determining whether the area of ​​the inactivator in the video stream changes periodically within a preset period of time; If yes, it is determined that the diluted inactivator is shaken well; If not, it is determined that the diluted inactivator is not shaken well.

4. The method according to claim 2, characterized in that: The method of determining whether there is residual inactivator based on the current area of ​​the diluted inactivator in the video stream includes: Determine whether the current area information of the diluted inactivating agent in the video stream is greater than a first preset threshold; If yes, it is determined that there are residual inactivating agents; If not, it is determined that there is no inactivator residue.

5. The method according to claim 2, characterized in that: The issuing of an alarm reminder based on the detection result includes: If the diluted inactivator is not shaken well, a reminder will be issued that the inactivator is not shaken well; If there is any inactivator residue, a reminder will be given that the inactivator addition is not completed.

6. The method according to claim 1, characterized in that The method for identifying the pipe holding action of the target person in the video stream is as follows: After the second opening of the pipe taking over the machine in the video stream is identified, image recognition is performed on the preset area in each key frame of the subsequent video stream to detect whether there is a pipe holding action of the target person in each key frame.

7. The method according to claim 1, characterized in that The second opening of the cover of the takeover machine in the video stream is identified as follows: After determining the first opening time of the takeover machine, image recognition is performed on the key frames of the subsequent video stream to determine the first closing time of the takeover machine by the target person; After recognizing the first closing of the cover of the machine by the target person, continue to perform image recognition on the key frames of the subsequent video stream to recognize the next opening action of the cover of the machine by the target person to determine the second opening of the cover of the machine by the target person.

8. An abnormality detection device in the inactivator addition scenario, characterized in that: The device comprises: A video stream acquisition module, used to acquire a real-time video stream of the inactivator addition production line, determine the first opening time of the takeover machine based on the video stream, and determine the expected second opening time in combination with the first preset interval; A cover opening timeout reminder module is used to issue a cover opening timeout reminder for the takeover machine if the second cover opening of the takeover machine in the video stream has not been identified when the expected second cover opening time is reached; A second cover opening recognition module, for determining an actual second cover opening time when the second cover opening of the takeover machine in the video stream is recognized, and determining an expected takeover inspection time in combination with a second preset interval; A takeover inspection reminder module is used to issue a takeover inspection reminder when the expected takeover inspection time is reached if the pipe holding action of the target person in the video stream has not been identified; An inactivator detection module, for monitoring the area information and valve status of the inactivator in the video stream after identifying the pipe holding action of the target person in the video stream; The alarm reminder module is used to detect whether the diluted inactivator is shaken evenly and whether the inactivator remains based on the valve status and area information of the inactivator in the video stream, and to issue an alarm reminder based on the detection result.

9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the anomaly detection method in the inactivator addition scenario according to any one of claims 1 to 7 by executing the computer instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the anomaly detection method in the inactivator addition scenario according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Production process compliance inspection method and system, storage medium and terminal

    CN112215567A

  • Method for determining behaviors in hydraulic power plant unit operation compliance detection

    CN114389364A

  • Oil unloading danger supervision method and device, monitoring terminal and storage medium

    CN115272974A

  • Test tube mixing device for clinical laboratory

    CN115318153A

  • Assembly line assembly gauge detection method, device and equipment

    CN115909218A