CN115311607B - Epoxy resin production monitoring data management method - Google Patents
Epoxy resin production monitoring data management method Download PDFInfo
- Publication number
- CN115311607B CN115311607B CN202211231069.6A CN202211231069A CN115311607B CN 115311607 B CN115311607 B CN 115311607B CN 202211231069 A CN202211231069 A CN 202211231069A CN 115311607 B CN115311607 B CN 115311607B
- Authority
- CN
- China
- Prior art keywords
- frame
- frames
- dynamic
- moving object
- random
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/20—Analysis of motion
- G06T7/246—Analysis of motion using feature-based methods, e.g. the tracking of corners or segments
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
- G06V10/761—Proximity, similarity or dissimilarity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/52—Surveillance or monitoring of activities, e.g. for recognising suspicious objects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0863—Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Evolutionary Computation (AREA)
- Databases & Information Systems (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
The invention relates to the technical field of production data processing, in particular to a management method of epoxy resin production monitoring data. The method comprises the following steps: obtaining dynamic frames in all video frames; calculating the similarity of two moving objects in the two types of dynamic frames to obtain the moving objects belonging to the same moving object in the various types of dynamic frames, and recording as penetrating moving objects; obtaining a random frame, and partitioning the monitoring video data by using the random frame to obtain monitoring video data of different intervals; selecting a moving object with a random path and the largest average characteristic value from the monitoring video data in an interval, and recording the moving object as a key generation moving object; generating a key matrix by using all pixel points in a mark connected domain in an image corresponding to a first frame in all random frames corresponding to a moving object in monitoring video data by using a key; and encrypting the monitoring video data of each interval by using the key matrix corresponding to the monitoring video data of each interval. The invention can improve the safety of monitoring video data.
Description
Technical Field
The invention relates to the technical field of production data processing, in particular to an epoxy resin production monitoring data management method.
Background
Epoxy resin is an important thermosetting resin. Has good chemical properties and physical properties, and can be widely applied to various industries. In the process of epoxy resin production, wherein production monitoring data, such as production monitoring videos, contain private information of enterprises, such as unique formulas and operation practices of epoxy resin production, information leakage in the monitoring videos can cause relatively large influence on production data of the enterprises, so that encryption processing is required.
The conventional monitoring video encryption method is to utilize the existing algorithm to generate a key to encrypt the whole video, and the encryption mode is that the whole is generally used with the key, and the algorithm of the generated key is not truly random, so that the key is easily cracked violently when being invaded by the outside, thereby causing the monitoring video data loss in the production process of epoxy resin and causing the leakage of production data of enterprises.
Disclosure of Invention
In order to solve the technical problems, the invention aims to provide a method for managing epoxy resin production monitoring data, which adopts the following technical scheme:
one embodiment of the invention provides a management method for monitoring data in epoxy resin production, which comprises the following steps: collecting monitoring video data in the production process of epoxy resin; obtaining the information quantity of each video frame in the monitoring video data; obtaining the information quantity difference value of every two adjacent video frames, and judging the dynamic frame in all the video frames based on the information quantity difference value, wherein the dynamic frame refers to the video frame with object motion in the monitoring video data;
dividing dynamic frames which are continuous frames into one type, and obtaining a mark connected domain in an image corresponding to the dynamic frame in each type of dynamic frame by using a frame difference method; calculating to obtain the object characteristics of the marked connected domain based on a two-bit data set consisting of gray values of pixel points in the marked connected domain and pixel points in the neighborhood in the image corresponding to each dynamic frame; obtaining the motion trail of the same moving object in each type of dynamic frame based on the object characteristics of the marked connected domain; obtaining the average characteristic value of each moving object in each type of dynamic frame, calculating the similarity of two moving objects in the two types of dynamic frames, obtaining the moving objects belonging to the same moving object in the various types of dynamic frames, and recording as penetrating moving objects;
classifying the motion tracks of the penetrating motion objects in each type of dynamic frame to obtain a random path penetrating the motion objects, wherein the dynamic frame corresponding to the random path is a random frame; partitioning the monitoring video data by using random frames to obtain monitoring video data of different intervals; selecting a moving object with a random path and the largest average characteristic value from the monitoring video data in an interval, and recording the moving object as a key generation moving object; generating a key matrix by using all pixel points in a mark connected domain in an image corresponding to a first frame in all random frames corresponding to a moving object in monitoring video data by using a key; and encrypting the monitoring video data of each interval by using the key matrix corresponding to the monitoring video data of each interval.
Preferably, the amount of information of each video frame is:
wherein, the first and the second end of the pipe are connected with each other,an information amount indicating an nth frame video frame; />Represents the gray value of the pixel point, and is greater or less than>Represents a gray value of->In the first or second direction>Probability of occurrence in the image corresponding to the frame video frame.
Preferably, obtaining an information amount difference value between every two adjacent video frames, and determining a dynamic frame in all the video frames based on the information amount difference value comprises: and if the difference value of the information quantity of every two adjacent video frames is not equal to 0, the video frame of the next frame in every two adjacent video frames is a dynamic frame.
Preferably, the object characteristic of the labeled connected components is:
wherein the content of the first and second substances,representing the object characteristics of the m-th mark connected domain in the n-th frame dynamic frame; />Indicates the th->The fifth of the flag connected field>A pixel point is selected and/or judged>The number of all pixel points in the mark connected domain; />Indicates the th or fifth in the class>The fifth of the flag connected field>Peripheral 8 neighborhood pixels of each pixel, and->Indicates the fifth->The gray value and the fifth or fifth degree of the pixel points>The second-bit data group of the average value of the gray values of 8 pixel points in the neighborhood around each pixel point is at the fifth or fifth judgment>The probability of occurrence in all the two-bit data sets in the connected component field is marked.
Preferably, obtaining the average feature value of each moving object in each type of dynamic frame, calculating the similarity of two moving objects in two types of dynamic frames, and obtaining the moving objects belonging to the same moving object in each type of dynamic frames comprises:
the average characteristic value is the average value of the object characteristics of all corresponding mark connected domains of a moving object in a dynamic frame; the ratio of the average characteristic values of the two moving objects in different types of dynamic frames is the similarity of the two moving objects in the two types of dynamic frames, and if the similarity of the two moving objects in the two types of dynamic frames is larger than a preset threshold value, the two moving objects in the two types of dynamic frames are the same moving object.
Preferably, classifying the motion trajectory of each type of dynamic frame of the penetrating moving object to obtain a random path penetrating the moving object, where the dynamic frame corresponding to the random path is a random frame and includes: and analyzing the motion track penetrating through the moving object in each type of dynamic frame by using an LOF algorithm to obtain outliers, wherein the path corresponding to the outliers is a random path.
Preferably, generating the key matrix comprises: each element in the key matrix is used for generating a gray value of a pixel point in a mark connected domain of a moving object in an image corresponding to a first frame in all random frames corresponding to the monitoring video data for the key.
The embodiment of the invention at least has the following beneficial effects: the invention utilizes the epoxy resin to produce the moving object which moves randomly in the monitoring video data to quantize and set a secret key for encryption, because the behavior of the moving object which moves randomly in the epoxy resin production monitoring video data moving object is influenced by external factors, the behavior does not have regularity and is random in the true sense, the monitoring video data produced by the epoxy resin is continuously encrypted by utilizing the characteristic, the randomness of the secret key is truly achieved, and the secret key is different and the encryption result is different because the random dynamic frames selected by each section of monitoring video are different.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions and advantages of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for managing monitoring data of epoxy resin production according to an embodiment of the present invention.
Detailed Description
To further illustrate the technical means and effects of the present invention for achieving the predetermined objects, the following detailed description of the method for managing the monitoring data of the epoxy resin production according to the present invention, the specific implementation, structure, features and effects thereof will be provided in conjunction with the accompanying drawings and the preferred embodiments. In the following description, the different references to "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
The following describes a specific scheme of the epoxy resin production monitoring data management method provided by the invention in detail with reference to the accompanying drawings.
Example (b):
the main application scenarios of the invention are as follows: in the process of epoxy resin production, a monitoring video records a plurality of private enterprise production data, so that encryption is needed to be carried out on the monitoring video.
The main purposes of the invention are: the method comprises the steps of extracting dynamic frames by using an epoxy resin monitoring video, identifying moving objects in all the dynamic frames, analyzing different moving tracks of all the moving objects in different dynamic frames, selecting a random dynamic frame where the random moving track is located to partition the whole monitoring video, calculating a key of a current interval for the video of each interval according to carrying information of the moving objects, and finally encrypting the video of the current interval through the key and completing transmission and storage to realize epoxy resin production monitoring data management.
Referring to fig. 1, a flowchart of a method for managing monitoring data of epoxy resin production according to an embodiment of the present invention is shown, where the method includes the following steps:
s1, collecting monitoring video data in the production process of epoxy resin; obtaining the information content of each video frame in the monitoring video data; and obtaining the information quantity difference value of every two adjacent video frames, and judging the dynamic frame in all the video frames based on the information quantity difference value, wherein the dynamic frame refers to the video frame with object motion in the monitoring video data.
The method needs to encrypt the monitoring video data of epoxy resin production, so the monitoring video data of epoxy resin production needs to be collected, the specific collection process is to collect the monitoring video data of epoxy resin production by using a monitoring camera in an epoxy resin production workshop, and the specific arrangement position method of the monitoring camera is arranged by an implementer.
Further, the difference value of the information carrying amount of the image of each frame in the monitoring video data produced by epoxy resin is used for extracting the dynamic frame.
The monitoring video of the epoxy resin is obtained, and the monitoring video is divided into static frames and dynamic frames due to the particularity (scene invariance), wherein the static frames are video frames without object motion in the monitoring video, and the dynamic frames are video frames with object motion in the monitoring video. The information carrying amount in all the static frames is the same, and the information carrying amount of the video in the dynamic frame is different, so that the static frames and the dynamic frames of the monitoring video are divided according to the characteristic, and the dynamic frame video is extracted, which is specifically shown as follows:
to a first orderFor example, the method for determining whether the frame video is a dynamic frame is as follows:
In the formula:an information quantity representing a video frame of an nth frame, based on a predetermined criterion>Represents the gray value of the pixel point, ("is or is)>),/>Represents a gray value of +>Is at the fifth->The probability of occurrence in the frame image is calculated in such a way that the gray value is ≥>Is at the first of the pixel pointsThe frequency of occurrence in the frame image is divided by the number of pixels of the overall image.
Formula logic: first, theThe frame image is a static picture, the carried information is expressed by the gray values of different pixel points as visual information, and the carried information is constant because the frame image is a static picture, namely the distribution of the expressed gray values of the pixel points is constant, so the carried information is quantized by utilizing the calculation mode of the information entropy.
Then calculate theInformation carrying amount of the image of->Based on the calculation mode and the ^ th->Information carrying amount of frame imageThe same way of calculation.
Then calculate the firstFrame image and ^ th->The difference value of the information carrying amount of the frame image is used for judging the first timeWhether a frame image is a dynamic image, first->The frame image and the ^ h->The difference value of the information carrying quantity of the frame image->The calculation is as follows:
formula logic: by the firstFrame imageInformation carrying quantity of image>And a fifth +>The difference in the information carrying amount of the frame image represents the ^ h>Whether the frame image is a dynamic frame or not is judged, wherein the dynamic frame refers to that dynamic movement of different objects appears in two continuous frames of images in the production monitoring video of the epoxy resin, namely that the dynamic in the dynamic frame is relative to the previous frame of image. The surveillance video has particularity in all videos, because the fixed surveillance camera shooting is realized, the shooting angle is constant, and when no dynamic article exists, the video of each frame shot by the surveillance camera shooting is the same, so the difference value is greater or less than the preset value>Zero indicates a fifth or fifth decision>Frame image is compared with the fifth->The frame image does not have any difference, i.e., is in the ^ h/er in the production surveillance video of the epoxy>If no dynamic object appears in the frame image, even if the dynamic object appears in the frame image, the frame image can be changed in the angle of the monitoring camera after being moved, the gray value of the dynamic object can be changed according to the optical principle, the gray value is expressed in the above formula, the difference value is not 0, and therefore the judgment of the position/value of the position/area based on the gray value is judged by the above method>Whether the frame image is a dynamic frame. />Then explain theThe frame image is a static frame image, and>then it indicates a fifth->The frame image is a dynamic frame image.
To this end, theAnd finishing the judgment of the dynamic frame and the static frame of the frame image. By utilizing the method, the videos of all the frames shot in the epoxy resin monitoring video are judged, whether the monitoring videos of all the frames are dynamic frames or not can be obtained, and then the dynamic frames are marked and extracted. And at this point, extracting dynamic frames of all the epoxy resin monitoring videos.
S2, dividing the dynamic frames which are continuous frames into one type, and obtaining a mark connected domain in an image corresponding to the dynamic frame in each type of dynamic frame by using a frame difference method; calculating to obtain the object characteristics of the marked connected domain based on a two-bit data set consisting of gray values of pixel points in the marked connected domain and pixel points in the neighborhood in the image corresponding to each dynamic frame; obtaining the motion trail of the same moving object in each type of dynamic frame based on the object characteristics of the marked connected domain; and obtaining the average characteristic value of each moving object in each type of dynamic frame, calculating the similarity of the two moving objects in the two types of dynamic frames, obtaining the moving objects belonging to the same moving object in the various types of dynamic frames, and recording as penetrating moving objects.
The method comprises the steps of S1, obtaining dynamic frames in all epoxy resin production monitoring videos, extracting random dynamic frames from all dynamic frame images, carrying out interval division on the whole epoxy resin production monitoring videos by using the random dynamic frames, and calculating encryption keys of the epoxy resin monitoring videos in corresponding intervals by using characteristic parameters of the random dynamic frames in each interval.
The purpose is as follows: in the monitoring video of epoxy resin, the dynamic objects appear in two states, namely, mechanical repeated motion (motion of a conveyor belt, motion of workers on and off duty and the like) and non-mechanical motion of randomly appearing objects (a certain staff or leader performs workshop inspection, abnormal motion of the conveyor belt and the like). The latter state is unexpected factor in the production process of epoxy, uncontrollable, it is totally random relatively with holistic surveillance video, so utilize its characteristic to carry out encryption to epoxy's production surveillance video, what its real sense was accomplished is random of key, and because the difference of the random dynamic frame that every section surveillance video selected, its key also just also is different, the encryption result also is different, compare in current pseudo-random encryption and whole encryption, its security is higher, be difficult to be cracked more.
Quantizing the characteristics and motion tracks of the moving object by using the dynamic frame image; the purpose of the feature quantization of the moving object in the dynamic frame image is to determine whether the motion within the continuous dynamic frames is the same object, and the purpose of the quantization of the motion trajectory of the moving object in the dynamic frame is to determine the motion trajectory of the same moving object.
All the dynamic frames are obtained, and the motion trail of the same moving object is quantized. The specific process is to cluster the objects according to whether the objects are continuous frames or not (the motion representation of the objects is continuous in the monitored video, so the objects are clustered according to the characteristics, for example, the 1,2,3,7,8,9 and 10 frames are continuous frames, and the clustering result is that 1,2,3 frames are of the same type, 7,8,9 and 10 frames are of the same type). Then, each frame image in each class is quantized with the moving object characteristics and the moving characteristics, taking continuous dynamic frame images of any class as an example.
The quantization of its features is as follows: firstly, detecting all moving object boundaries in two continuous frame images by using a frame difference method for the dynamic frame images of two adjacent frames, and marking the detected moving object boundaries on the two continuous frame images to obtain a marked connected domain.
Then, the object characteristics in each connected domain in each frame image are quantified, and the first one in a certain class is usedIn the frame imageIndividual connected fields are taken as an example, the object characteristics thereof->The specific calculation method is as follows:
in the formula (I), the compound is shown in the specification,representing the object characteristics of the m-th mark connected domain in the n-th frame dynamic frame; />Indicates the th or fifth in the class>A fifth of a plurality of flag connected fields>Multiple pixel point (based on whether or not the device is on>Wherein->The number of all the pixel points in the marked connected domain), and (or) the number of the pixel points in the marked connected domain>Indicates the th or fifth in the class>A fifth of a plurality of flag connected fields>Peripheral 8 neighborhood pixels of each pixel, and->Represents a fifth or fifth party>The gray value and the fifth or fifth degree of the pixel points>The probability of the two-bit data group of the average value of the gray values of 8 pixel points in the neighborhood around each pixel point appearing in all the two-bit data groups in the first marking connected domain is calculated in the manner of ^ h>Gray value and the second of each pixel pointTwo-bit data of the average value of gray values of 8 pixel points in the neighborhood around each pixel point is judged as being ^ h or greater on the whole>The frequency count occurring in each connected field is divided by the number of all the two-bit data sets.
Formula logic: because only the boundary of a moving object between two continuous dynamic frames is detected by the frame difference method, when a plurality of same objects move simultaneously, the corresponding objects cannot be detected. So the quantization is performed in the above-mentioned mannerThe characteristics of the object in each connected domain not only consider the information carried by the gray value of each pixel point in the connected domain, but also consider the information carried by the gray value of the pixel points in 8 neighborhoods around each pixel point and the pixel point to be integrally distributed, and the characteristics of the moving object in the connected domain are quantified in the spatial distribution mode.
In the above manner toFrame dynamic frame and/or->All connected domains in the frame dynamic frame are subjected to characteristic quantization of the moving object and then are judged as being ^ h>Matching the characteristic values of all connected domains in the frame dynamic frame image to calculate the matching degree so as to judge whether the connected domains are matched or not>Frame first->A communication field and a ^ th->The frame is at the ^ h>Several connected fields as an example, a connected field matching degree>The calculation is as follows:
in the formula:is the first->Fifth in a frame dynamic frame>Quantized characteristic values of moving objects of a connected field>Is a first->The ^ th or ^ th in the frame dynamic frame>And the quantized characteristic values of the moving objects of the connected domains.
Formula logic: in order to effectively prevent the problem that correct matching cannot be carried out under the condition that the connected domains of a plurality of moving objects are relatively the same (the connected domains of a plurality of moving people are nearly the same), the matching is carried out by utilizing the difference value of the space distribution characteristics of moving objects of two connected domains in two continuous frames.
Then setting a matching thresholdFor two connected fields corresponding to a match greater than the threshold, the same moving object is considered (an empirically matched threshold is ≥ er)>)。
By using the above method to match different connected domains in all the frame dynamic frames in the category by using the characteristic values, the distribution of the same moving object in all the dynamic frame images in the category can be obtained.
Then, the moving track of each moving object is quantifiedIn any sports articleFor example, its movement locus->The quantization is as follows:
locating the corresponding connected domain appearing in each frame in the category, and then obtaining the centroid coordinates of the connected domain corresponding to the moving object in each frame by utilizing the prior art, wherein the centroid coordinates are respectively as follows:
The tracks of all moving objects are quantized by the method, so that the moving tracks of all moving objects can be obtained.
At this point, the motion trail of the same object in all the dynamic frames and the feature quantization of the moving object are completed.
Selecting a random dynamic frame through the characteristics and the motion track of a quantized moving object and partitioning a monitoring video by utilizing the random dynamic frame; the specific logic is that similarity calculation is carried out on all moving objects in all epoxy resin production monitoring videos through the quantized characteristics and quantized tracks of all the moving objects, and continuous dynamic frames where moving objects which appear for many times but have different motion tracks are located are screened out and considered to be random dynamic frames. And then partitioning all the overall monitoring videos by using the random dynamic frame. The specific method is as follows:
firstly, performing overall moving object identification on all moving objects identified in the above step according to the feature quantization values of the moving objects, wherein the identification mode is as follows whether different types of moving objects are the same moving object or not:
since the feature quantization values of each moving object in each category dynamic frame are slightly different due to the motion, the average value of the feature quantization values of each moving object in each category dynamic frame is calculated first to reduce the influence of the difference, and thenMoving item in a category>For example, the specific manner is as follows:
in the formula (I), the compound is shown in the specification,representing a moving item>In the fifth or fifth place>Mean characteristic value in each classification, < > >>Indicates that the item is moved>In the fifth or fifth place>The ^ th ^ of consecutive frames in a classification>Corresponding connected components count for a frameCalculated characteristic quantization value +>Indicates that the item is moved>At the fifth place>Total number of consecutive total frames present in each category.
By performing the average feature value calculation on all the different categories of moving objects in the above manner, the average feature value of each object in each category can be obtained.
Then, the similarity calculation of the average characteristic value is utilized for the articles in each category to determine whether the moving articles in all the categories are the same moving article or not, and the second step is to calculate the similarity of the average characteristic valuesMoving object in each category pick>And the fifth->Moving object in each category pick>For example, the similarity is calculated as follows:
in the formula (I), the compound is shown in the specification,represents a fifth or fifth party>Moving object in each category pick>Is greater than or equal to>Represents a fifth or fifth party>Moving object in a category>Average eigenvalues of (d).
The closer to 1, the greater the ^ th ^ is>Moving object in each category pick>And a first +>Moving object in each category pick>The greater the likelihood of being the same item in motion, for>The two articles are considered as the same sports article.
All the above-mentioned modes are usedSimilarity calculation is carried out on all moving objects in each category, and then the similarity is utilized to carry out similarity calculation on moving objects in all categoriesAnd identifying, namely identifying the same moving object in all the moving objects in all the categories and marking as a penetrating moving object.
S3, classifying the motion tracks of the penetrating motion objects in each type of dynamic frames to obtain random paths penetrating the motion objects, wherein the dynamic frames corresponding to the random paths are random frames; partitioning the monitoring video data by using random frames to obtain monitoring video data of different intervals; selecting a moving object with a random path and the largest average characteristic value from the monitoring video data in an interval, and recording the moving object as a key generation moving object; generating a key matrix by using all pixel points in a mark connected domain in an image corresponding to a first frame in all random frames corresponding to a moving object in monitoring video data by using a key; and encrypting the monitoring video data of each interval by using the key matrix corresponding to the monitoring video data of each interval.
Then classifying the motion tracks of the penetrating moving objects in different categories to find out different motion tracks, wherein most operations and courses in the production process are repeated mechanical motions, so that the theoretical motion tracks of the same object are the same, and each penetrating moving object changes in the motion tracks due to the influence of various external factors in the motion process to generate random behaviors, so that the random behaviors are detected by utilizing the motion tracks to detect the random behaviorsFor example, the random behavior is detected by first extracting the motion trace quantization value appearing in each category.
And then, analyzing the motion track quantization values which appear in all the categories of the penetrating motion object by utilizing LOF algorithm model outliers, and selecting each outlier, wherein the corresponding path is a random path.
All the penetrating moving objects are subjected to random behavior path acquisition in the mode, and the frames of the random paths are random dynamic frames which can be acquiredA random frame. (a plurality of random paths penetrating the moving object are in the same frame and are calculated once), then the whole monitoring video is segmented by using the random frames, and the classification process is as follows:
first, the position of the random frame (which is also a continuous frame because the path is obtained by continuous frame analysis) in the whole epoxy resin surveillance video is retrieved; and then segmenting the whole epoxy resin monitoring video by using random frames. So far, the data partitioning ends.
And calculating an encryption key of each interval according to the random dynamic frame of each interval and carrying out interval encryption by using the encryption key. In the above, the partition of the whole monitoring video is obtained by using the random frame, the encryption key is calculated for each interval and the encryption key is used for the interval encryption, so as toTaking a partition of a surveillance video as an example, its key @>The calculation of (c) is as follows:
firstly, searching the average value of the characteristic quantization values of the moving objects with random paths in the random frame in the interval, and selecting the moving object corresponding to the maximum average characteristic quantization valueAnd recording as a key generation moving object.
Then using the key to generate the moving objectAll of the ≦ in the connected component (obtained by the mid-frame difference method described above) that appears in the first frame of the random frames>Individual pixel point becomes key matrix->Each element of the key matrix being this->The gray value of each pixel point and the size of the key matrix are->Wherein->And &>Are respectively based on>The largest two prime factors of (a).
Then useTo a fifth->Encrypting each frame of video of each surveillance video partition to obtain encrypted ciphertextThe encryption mode is to utilize>And a fifth +>Each frame of each surveillance video partition is subjected to convolution operation.
By utilizing the method, each frame of image in the epoxy resin monitoring video is encrypted, and the encrypted data of the epoxy resin monitoring video after being encrypted integrally can be obtained. At this point, the encryption of the epoxy monitoring video is completed. And acquiring encrypted data of the epoxy resin monitoring video data, transmitting the transmission value to a monitoring video storage terminal, and storing.
It should be noted that: the precedence order of the above embodiments of the present invention is only for description, and does not represent the merits of the embodiments. And specific embodiments thereof have been described above. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (5)
1. A management method for monitoring data of epoxy resin production is characterized by comprising the following steps:
collecting monitoring video data in the production process of epoxy resin; obtaining the information content of each video frame in the monitoring video data; obtaining the information quantity difference value of every two adjacent video frames, and judging the dynamic frame in all the video frames based on the information quantity difference value, wherein the dynamic frame refers to the video frame with object motion in the monitoring video data;
dividing dynamic frames which are continuous frames into one class, and obtaining a mark connected domain in an image corresponding to the dynamic frame in each class of dynamic frames by using a frame difference method; calculating to obtain object characteristics of the marked connected domain based on a two-bit data set consisting of gray values of pixel points in the marked connected domain and pixel points in the neighborhood in an image corresponding to each dynamic frame; obtaining the motion trail of the same moving object in each type of dynamic frame based on the object characteristics of the marked connected domain; obtaining the average characteristic value of each moving object in each type of dynamic frame, calculating the similarity of two moving objects in the two types of dynamic frames, obtaining the moving objects belonging to the same moving object in the various types of dynamic frames, and recording as penetrating moving objects;
classifying the motion tracks of the through moving objects in each type of dynamic frames to obtain random paths through the moving objects, wherein the dynamic frames corresponding to the random paths are random frames; partitioning the monitoring video data by using random frames to obtain monitoring video data of different intervals; selecting a moving object with a random path and the largest average characteristic value from the monitoring video data of one interval, and recording the moving object as a key generation moving object; generating a key matrix by using all pixel points in a mark connected domain in an image corresponding to a first frame in all random frames corresponding to a moving object in monitoring video data by using a key; encrypting the monitoring video data of each interval by using a key matrix corresponding to the monitoring video data of each interval;
the information content of each video frame is as follows:
wherein, the first and the second end of the pipe are connected with each other,an information amount indicating an nth frame video frame; />Represents the gray value of a pixel point, is combined with the gray value of the pixel point>Represents a gray value of->Is at the fifth->Image corresponding to frame video frameThe probability of occurrence;
the object characteristics of the marked connected domain are as follows:
wherein, the first and the second end of the pipe are connected with each other,representing the object characteristics of the m-th mark connected domain in the n-th frame dynamic frame; />Indicates the th or fifth in the class>The fifth of the flag connected field>A plurality of pixel points>The number of all pixel points in the marked connected domain; />Indicates the th or fifth in the class>The fifth of the flag connected field>Peripheral 8 neighborhood pixels of each pixel, and->Indicates the fifth->The gray value and the second of each pixel pointThe second-bit data group of the average value of the gray values of 8 pixel points in the neighborhood around each pixel point is at the fifth or fifth judgment>The probability of occurrence in all the two-bit data sets in the connected component field is marked.
2. The epoxy resin production monitoring data management method according to claim 1, wherein the obtaining the information amount difference value of every two adjacent video frames and the determining the dynamic frames in all the video frames based on the information amount difference value comprises: and if the difference value of the information quantity of every two adjacent video frames is not equal to 0, the video frame of the next frame in every two adjacent video frames is a dynamic frame.
3. The epoxy resin production monitoring data management method according to claim 1, wherein the obtaining of the average feature value of each moving object in each type of dynamic frame, the calculating of the similarity of two moving objects in two types of dynamic frames, and the obtaining of moving objects belonging to the same moving object in various types of dynamic frames comprises:
the average characteristic value is the average value of the object characteristics of all corresponding mark connected domains of a moving object in a class of dynamic frames; the ratio of the average characteristic values of the two moving objects in different types of dynamic frames is the similarity of the two moving objects in the two types of dynamic frames, and if the similarity of the two moving objects in the two types of dynamic frames is larger than a preset threshold value, the two moving objects in the two types of dynamic frames are the same moving object.
4. The epoxy resin production monitoring data management method according to claim 1, wherein the classifying the motion trajectories of the motion penetrating objects in each type of dynamic frame to obtain a random path penetrating the motion penetrating objects, and the dynamic frame corresponding to the random path is a random frame including: and analyzing the motion track penetrating through the moving object in each type of dynamic frame by using an LOF algorithm to obtain outliers, wherein the path corresponding to the outliers is a random path.
5. The epoxy production monitoring data management method of claim 1, wherein the generating a key matrix comprises: each element in the key matrix is used as a key to generate a gray value of a pixel point in a mark connected domain of a moving object in an image corresponding to a first frame in all random frames corresponding to the monitored video data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211231069.6A CN115311607B (en) | 2022-10-10 | 2022-10-10 | Epoxy resin production monitoring data management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211231069.6A CN115311607B (en) | 2022-10-10 | 2022-10-10 | Epoxy resin production monitoring data management method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115311607A CN115311607A (en) | 2022-11-08 |
CN115311607B true CN115311607B (en) | 2023-04-14 |
Family
ID=83866678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211231069.6A Active CN115311607B (en) | 2022-10-10 | 2022-10-10 | Epoxy resin production monitoring data management method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115311607B (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112801062B (en) * | 2021-04-07 | 2021-07-06 | 平安科技(深圳)有限公司 | Live video identification method, device, equipment and medium |
CN115119016A (en) * | 2022-06-29 | 2022-09-27 | 王雨佳 | Information data encryption algorithm |
CN114926317B (en) * | 2022-07-20 | 2022-11-11 | 南通倍佳机械科技有限公司 | Fire-fighting monitoring video intelligent tamper-proofing method based on big data |
-
2022
- 2022-10-10 CN CN202211231069.6A patent/CN115311607B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN115311607A (en) | 2022-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Doshi et al. | Continual learning for anomaly detection in surveillance videos | |
Zhang et al. | Improving triplet-wise training of convolutional neural network for vehicle re-identification | |
Coskun et al. | Spatio–temporal transform based video hashing | |
Ntoutsi et al. | Density-based projected clustering over high dimensional data streams | |
CN110659333B (en) | Multi-level visual feature description method and visual retrieval system | |
CN107222660B (en) | Distributed network vision monitoring system | |
CN110751591B (en) | Self-adaptive color image steganography method based on fuzzy inference system | |
Gupta et al. | Video authentication in digital forensic | |
Tian et al. | Robust privacy-preserving motion detection and object tracking in encrypted streaming video | |
Rao et al. | Detection of anomalous crowd behaviour using hyperspherical clustering | |
CN115311607B (en) | Epoxy resin production monitoring data management method | |
Singh et al. | Crowd escape event detection via pooling features of optical flow for intelligent video surveillance systems | |
Zhou | End-to-end video violence detection with transformer | |
Sharma et al. | A review of passive forensic techniques for detection of copy-move attacks on digital videos | |
CN109712204B (en) | Image encryption method based on FCM clustering | |
Chao et al. | Track merging for effective video query processing | |
Olatunji et al. | Dynamic threshold for resource tracking in observed scenes | |
RoselinKiruba et al. | Hiding data in videos using optimal selection of key-frames | |
Panda et al. | Robust real-time object tracking under background clutter | |
Karthikeyan et al. | Automatic forged scene detection in advanced video using combined Mpeg-2 and optical flow features | |
Hu et al. | Revisit Visual Representation in Analytics Taxonomy: A Compression Perspective | |
CN106815860B (en) | A kind of method for tracking target based on orderly comparison feature | |
Yang et al. | A probability-model-based approach to detect covert timing channel | |
Jayamohan et al. | Review of Video Analytics Method for Video Surveillance | |
Jin et al. | Computational and Statistical Tradeoffs in Inferring Combinatorial Structures of Ising Model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |