An Intelligent Image Processing System Based on FTP Protocol

Through the intelligent image processing system based on the FTP protocol, the image acquisition module, FTP service integration module and intelligent image processing module are used to solve the real-time and intelligent problems in image processing and achieve efficient processing and accurate classification of concurrent images.

CN118283192BActive Publication Date: 2024-09-17JIANGSU HONGSHAN HONGJIN IOT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410683097.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-17
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

The existing technology has poor real-time performance in image processing and the file system has limited read and write performance, which makes it difficult to process a large number of concurrently uploaded images in real time and lacks intelligent processing methods.

Method used

Design an intelligent image processing system based on the FTP protocol, including an image acquisition module, an FTP service integration module and an intelligent image processing module. By setting up a network camera to collect event images, a one-way transmission link is constructed to upload the images, and the images are uploaded in the integrated service area. Concurrent processing, using intelligent image processing modules for data interaction and processing.

Benefits of technology

It realizes real-time processing of a large number of concurrently uploaded images, improves data processing efficiency, and achieves accurate classification and detail improvement of images through intelligent image processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118283192B
    Figure CN118283192B
Patent Text Reader

Abstract

The invention discloses an intelligent image processing system based on FTP protocol, relates to the field of image processing technology, comprises a file system terminal, wherein the file system terminal is communicatively connected with an image acquisition module, an FTP service integration module and an intelligent image processing module; a plurality of network cameras are set up and function debugging is performed through the image acquisition module, a plurality of network cameras after function debugging are collected and processed to generate final event pictures and upload them to the FTP service integration module, an integrated service area is constructed by the FTP service integration module, a plurality of service operation items corresponding to the event pictures are defined and associated with the integrated service area, a plurality of event pictures are concurrently processed by the integrated service area to generate corresponding picture tasks, the picture tasks are sent to the file system terminal, a data interaction space between the intelligent image processing module and the file system terminal is established, and intelligent image processing is performed by reading a plurality of picture tasks in the data interaction space.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of image processing, in particular to an intelligent image processing system based on FTP protocol. Background Art

[0002] FTP protocol (File Transfer Protocol) is a standard protocol for transferring files on the Internet. It allows users to send files from one computer to another, and also download files from another computer. FTP protocol is usually used to implement website maintenance, software updates, file sharing and other functions.

[0003] Network cameras generate a large number of images, which need to be uploaded to the server for secondary processing and storage. The conventional method is to set up a third-party FTP server to receive the image uploads from the camera, and then the background application server calculates and processes the photos through the file system. This method has poor real-time performance and limited read and write performance of the file system, resulting in a large number of concurrently uploaded images that are difficult to process in real time. In addition, the image processing method lacks intelligence. These are the current pain points and difficulties in the field of image processing technology. Summary of the invention

[0004] In order to solve the above problems, the object of the present invention is to provide an intelligent image processing system based on FTP protocol.

[0005] The object of the present invention can be achieved by the following technical solutions: an intelligent image processing system based on FTP protocol, comprising a file system terminal, wherein the file system terminal is communicatively connected with an image acquisition module, an FTP service integration module and an intelligent image processing module;

[0006] The image acquisition module is used to set up a number of network cameras and perform function debugging on the number of network cameras, collect corresponding event pictures through the number of network cameras, mark abnormal picture frames among the number of picture frames included in the event picture, process the abnormal picture frames to generate the final event picture, and construct a first unidirectional transmission link and a second unidirectional transmission link between each network camera and the FTP service integration module for uploading the final event picture;

[0007] The FTP service integration module is used to construct a corresponding integrated service area through the FTP protocol, and define service operation items corresponding to a number of event images, associate the service operation items of all event images with the integrated service area, and the integrated service area concurrently processes a number of event images to generate corresponding image tasks, and sends the image tasks to the file system terminal;

[0008] The intelligent image processing module is used to establish a data interaction space with the file system terminal, and perform intelligent image processing by reading a plurality of image tasks in the data interaction space.

[0009] Furthermore, the process of setting up several network cameras and debugging their functions includes:

[0010] Obtain a layout requirement document, which records several installation area points for installing network cameras, number several network cameras and record them as i, i = 1, 2, 3, ..., n, where n is a natural number greater than 0, obtain the identity code corresponding to each network camera, and mark the identity code of the network camera numbered i as ID[i];

[0011] According to the preset installation area point of each network camera, each network camera is arranged at the corresponding installation area point, and the function debugging of the network camera corresponding to each installation area point is carried out. The function debugging includes network communication debugging and image quality adjustment.

[0012] Further, the process of collecting corresponding event pictures through several network cameras, marking abnormal picture frames among several picture frames included in the event pictures, processing the abnormal picture frames to generate the final event pictures, and constructing the first unidirectional transmission link and the second unidirectional transmission link between each network camera and the FTP service integration module for uploading the final event pictures includes:

[0013] Set working periods corresponding to several network cameras, start several network cameras to collect corresponding event pictures at the beginning of the working period, the event pictures are composed of picture frames at several different time nodes, and traverse the camera log information corresponding to the picture frames at several time nodes;

[0014] If there is attack injection information in the camera log information of the current time node, the picture frame corresponding to the current time node is marked as an abnormal picture frame, otherwise, the picture frame corresponding to the current time node is marked as a normal picture frame;

[0015] The image integrity corresponding to each abnormal image frame is obtained, and the numerical relationship between the image integrity and the preset repair threshold is determined. Different operations are performed according to the determination result to generate the final event image. At the end of the working period, the first unidirectional transmission link and the second unidirectional transmission link constructed by the same network camera communicate with each other, and the first unidirectional transmission link or the second unidirectional transmission link uploads the event image corresponding to each network camera to the FTP service integration module.

[0016] Furthermore, the process of constructing the corresponding integrated service area through the FTP protocol includes:

[0017] The FTP service integration module receives a number of uploaded event images, obtains an upload IP address corresponding to each event image, and determines whether an address sequence value corresponding to the upload IP address of each event image conforms to a respective preset sequence value range;

[0018] If yes, the corresponding event picture is marked as a trusted picture, if no, the corresponding event picture is marked as an illegal picture;

[0019] Associate a corresponding architecture server with several trust images, obtain the FTP protocol, and perform firewall configuration, router configuration, and FTP service test on the current architecture server through the FTP protocol, and then build an integrated service area through firewall configuration, router configuration, and FTP service test;

[0020] A firewall log is associated with the current architecture server through the firewall configuration, and a forwarding route is associated with the current architecture server through the router configuration. The FTP service test is used to test the filtering rate of the firewall log for malicious attack content, and to test the success rate of the forwarding route for trusted image forwarding. The filtering rate and success rate are marked as τ and λ respectively;

[0021] Set the test pass thresholds corresponding to the filtering rate and success rate, and record them as τ 阈 and λ 阈 , determine τ and τ 阈 between λ and λ 阈 The numerical relationship between them determines whether to complete the construction of the integrated service area;

[0022] When τ ≥ τ 阈 ,λ≥λ 阈 When both are established at the same time, the construction of the integrated service area is completed;

[0023] When τ ≥ τ 阈 ,λ≥λ 阈 If any of the conditions is not met, continue to configure the firewall and router until the FTP service test meets the following conditions: τ ≥ τ 阈 And λ≥λ 阈 , then stop the firewall configuration and router configuration.

[0024] Furthermore, a process of defining service operation items corresponding to a plurality of event images and associating the service operation items of all event images to the integrated service area includes:

[0025] Define several service operation items corresponding to each event image, including FTP service operation items, memory service operation items, message queue service operation items and image processing service operation items;

[0026] The FTP service operation item is used to track the processing status of the event image;

[0027] The memory service operation item is used to allocate storage nodes with different storage capacities to event pictures;

[0028] The message queue service operation item is used to establish a message queue for concurrent processing of event images;

[0029] The image processing service operation item is used to process a number of event images into corresponding image tasks;

[0030] The several service operation items corresponding to all event images are sequentially associated with the integrated service area, and an integrated partition corresponding to each event image is established in the integrated service area. The identity code of the network camera corresponding to each event image is obtained as the partition identifier of the corresponding integrated partition, and then the service operation items included in the several event images are associated with the corresponding integrated partition.

[0031] Furthermore, the integrated service area concurrently processes a plurality of event images to generate corresponding image tasks, and the process of sending the image tasks to the file system terminal includes:

[0032] Traverse the several integrated partitions included in the integrated service area in turn, set the concurrency of the event images in each integrated partition for concurrent processing, and establish a message queue corresponding to the concurrency through the message queue service operation item. The message queue is used to record the corresponding operation record information when the current event image is processed;

[0033] Get the image data volume corresponding to the concurrent processing of event images in each integrated partition according to the concurrent volume, and then allocate storage nodes with corresponding storage capacity to the event images being processed concurrently in each integrated partition through the memory service operation item. The image data volume and storage capacity of the storage node in the corresponding processing process are recorded as C respectively. 图片 and C 节点 , there is C 图片 ≤C 节点 ;

[0034] Obtain the corresponding image processing service operation item in each integrated partition, and then process the event image in each integrated partition through the image processing service operation item, where the image processing service operation item records the data format of the generated image task, the data processing rules, and the task priority corresponding to the image task;

[0035] Obtain the operation record information of the message queue corresponding to each integrated partition, analyze the operation record information through the FTP service operation items corresponding to each integrated partition, and then track the processing status of each integrated partition processing event image;

[0036] When the number of operation errors in the operation record information is greater than or equal to the preset operation error threshold, the processing status of the current integrated partition processing event picture is marked as "Error", and the corresponding integrated partition event picture is processed again;

[0037] When the number of operation errors in the operation record information is less than the operation error threshold, the processing status of the current integrated partition processing event picture is marked as "True" and no operation is performed;

[0038] The event image of each integrated partition is processed according to the data format and data processing rules, and then the image tasks corresponding to the corresponding integrated partitions with different task priorities are generated, and several image tasks are sent to the file system terminal in the order of task priority from high to low.

[0039] Furthermore, the process of establishing a data interaction space between the intelligent image processing module and the file system terminal includes:

[0040] The intelligent image processing module generates an interaction request, obtains the module environment parameters, interaction interface IP and data interaction protocol corresponding to the intelligent image processing module and associates them with the interaction request, and sends the interaction request to the file system terminal through wireless communication. The file system terminal determines whether the module environment parameters are qualified, and then decides whether to establish the corresponding data interaction space.

[0041] If yes, match the corresponding file system interface IP according to the interaction interface IP, obtain the data interaction protocol corresponding to the file system interface IP, convert the data interaction protocol of the file system interface IP into the data interaction protocol corresponding to the interaction interface IP, and define the interaction logic corresponding to the data interaction space;

[0042] If not, the data interaction space will not be established;

[0043] Perform K attack tests on the data interaction space, where K is an integer greater than 0, and obtain the number of intrusion information in the data interaction space after each attack test. If the number of intrusion information in the data interaction space after a certain attack test exceeds the preset threshold upper limit, then mark the attack test as a valid attack, otherwise, the attack test is an invalid attack;

[0044] The number of effective attacks is K 有效 , K 有效 The value corresponding to / K is used as the spatial stability coefficient of the data interaction space after K attack tests, and the spatial stability coefficient is recorded as ρ, and the spatial fluctuation coefficient interval is set, recorded as Ω;

[0045] When ρ∈Ω, redefine the interaction logic of the current data interaction space, and continue to perform K attack tests until ρ∉Ω is satisfied, then the final data interaction space is established;

[0046] When ρ∉Ω, no operation is performed.

[0047] Furthermore, the process of reading the image task in the data interaction space and performing intelligent image processing includes:

[0048] Obtain the read permission of the data interaction space, and read several image tasks in order of task priority from high to low to perform intelligent image processing. The intelligent image processing includes the first intelligent processing process, the second intelligent processing process and the third intelligent processing process;

[0049] The picture task consists of several picture objects;

[0050] Performing semantic segmentation on a plurality of image objects corresponding to each image task through a first intelligent processing step, and then generating a plurality of pixel points corresponding to the image object and a semantic feature corresponding to each pixel point through semantic segmentation;

[0051] The number of pixels corresponding to different semantic features in each image object is traversed through the second intelligent processing step, the semantic feature with the highest number of pixels is used as the image classification feature of the corresponding image object, and the image objects with the same image classification feature are grouped together, thereby generating a plurality of sets of image object sets corresponding to different image classification features;

[0052] The third intelligent processing step is used to optimize the images of several groups of image object sets, and generate a final image object set.

[0053] Compared with the prior art, the beneficial effects of the present invention are as follows: a plurality of network cameras are set up through an image acquisition module, and corresponding event images are collected and uploaded to an FTP service integration module after function debugging; the FTP service integration module constructs a corresponding integrated service area through the FTP protocol, and after defining a plurality of corresponding service operation items for each event image, all service operation items are associated with the corresponding integrated service area; the integrated service area concurrently processes a plurality of event images to generate corresponding image tasks, and sends the image tasks to a file system terminal; a data interaction space is established with the file system terminal through an intelligent image processing module, and intelligent image processing is performed by reading a plurality of image tasks in the data interaction space; on the one hand, real-time processing of a large number of concurrently uploaded event images is achieved, and the efficiency of data processing is improved; on the other hand, the constructed integrated service area effectively integrates FTP service operation items, memory service operation items, message queue service operation items and image processing service operation items, and accurate classification of images and improvement of image details are achieved through intelligent image processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 It is a schematic diagram of the present invention. DETAILED DESCRIPTION

[0055] like Figure 1 As shown, an intelligent image processing system based on FTP protocol includes a file system terminal, wherein the file system terminal is communicatively connected with an image acquisition module, an FTP service integration module and an intelligent image processing module;

[0056] The image acquisition module is used to set up a number of network cameras and perform function debugging on the number of network cameras, collect corresponding event pictures through the number of network cameras, mark abnormal picture frames among the number of picture frames included in the event picture, process the abnormal picture frames to generate the final event picture, and construct a first unidirectional transmission link and a second unidirectional transmission link between each network camera and the FTP service integration module for uploading the final event picture;

[0057] The FTP service integration module is used to construct a corresponding integrated service area through the FTP protocol, and define service operation items corresponding to a number of event images, associate the service operation items of all event images with the integrated service area, and the integrated service area concurrently processes a number of event images to generate corresponding image tasks, and sends the image tasks to the file system terminal;

[0058] The intelligent image processing module is used to establish a data interaction space with the file system terminal, and perform intelligent image processing by reading a plurality of image tasks in the data interaction space.

[0059] It should be further explained that, in a specific implementation process, the image acquisition module sets up a plurality of network cameras, and the process of debugging the functions of the plurality of network cameras includes:

[0060] The image acquisition module obtains a layout requirement document, which records several installation area points for installing network cameras. The network cameras are numbered and the number is recorded as i, then i=1, 2, 3, ..., n, where n is a natural number greater than 0, and the identity code corresponding to each network camera is obtained. The identity code is not repeated, and the identity code of the network camera numbered i is marked as ID[i];

[0061] According to the preset installation area point of each network camera, each network camera is arranged at the corresponding installation area point, and the function debugging of the network camera corresponding to each installation area point is performed, and the function debugging includes network communication debugging and image quality adjustment;

[0062] Through network communication debugging, each network camera is connected to the corresponding gateway interface, and the communication parameters of each network camera are synchronously obtained, wherein the communication parameters include communication rate, data packet loss rate and communication duration;

[0063] If the communication rate, data packet loss rate and communication duration in the communication parameters are not within the respective preset expected value ranges, the communication bandwidth of the current network camera is adjusted, or the gateway interface corresponding to the current network camera is replaced until the communication rate, data packet loss rate and communication duration are within the respective expected value ranges;

[0064] The imaging quality parameters of each network camera are adjusted through image quality adjustment, and the imaging quality parameters include image brightness, image contrast and image saturation. The adjustment of the imaging quality parameters is stopped until the image brightness, image contrast and image saturation are within their respective preset optimal imaging value ranges.

[0065] It should be further explained that, in a specific implementation process, a corresponding event picture is collected by a plurality of network cameras, abnormal picture frames among a plurality of picture frames included in the event picture are marked, the abnormal picture frames are processed to generate a final event picture, and a first unidirectional transmission link and a second unidirectional transmission link are constructed between each network camera and the FTP service integration module for uploading the final event picture. The process includes:

[0066] When the function debugging of several network cameras is completed, each network camera is in its best working state, set the corresponding working time of the network camera, and record the working time as T 工作 , then T 工作=[t1, t2], where t1 is the start time of the working period and t2 is the end time of the working period;

[0067] At the start time corresponding to t1, several network cameras are started, and then the corresponding event pictures are collected through each network camera. The event pictures are composed of picture frames at several different time nodes. The camera log information corresponding to the picture frames at several time nodes is traversed. If the camera log information at the current time node contains attack injection information, the picture frame corresponding to the current time node is marked as an abnormal picture frame, otherwise, the picture frame corresponding to the current time node is marked as a normal picture frame;

[0068] Obtain the image integrity corresponding to each abnormal picture frame. If the image integrity is less than or equal to a preset repair threshold, input the corresponding abnormal picture frame into a preset picture repair program. The picture repair program locates a number of abnormal pixels corresponding to the current abnormal picture frame, and generates a pixel correction parameter corresponding to each abnormal pixel, thereby repairing the abnormal picture frame to a normal picture frame. If the image integrity is greater than the repair threshold, the corresponding abnormal picture frame is discarded.

[0069] Summarize all normal image frames corresponding to each network camera to generate the final event image of each network camera;

[0070] It should be noted that the event pictures corresponding to each network camera are a number of picture frames collected by each network camera within its preset working range.

[0071] At the end time corresponding to t2, a first unidirectional transmission link and a second unidirectional transmission link are constructed between each network camera and the FTP service integration module, and the first unidirectional transmission link and the second unidirectional transmission link of the same network camera communicate data with each other;

[0072] A link monitoring program is set for accessing the first unidirectional transmission link and the second unidirectional transmission link, and real-time monitoring of the link parameters corresponding to the first unidirectional transmission link and the second unidirectional transmission link is performed through the link monitoring program, and then judging whether the corresponding first unidirectional transmission link or the second unidirectional transmission link has an abnormality according to the link parameters;

[0073] If the link parameters do not meet the preset standard parameters, then the current first unidirectional transmission link or the second unidirectional transmission link is abnormal; otherwise, the current first unidirectional transmission link or the second unidirectional transmission link is not abnormal;

[0074] The operation of uploading the final event picture corresponding to each network camera to the FTP service integration module is performed by the first unidirectional transmission link or the second unidirectional transmission link, wherein the first unidirectional transmission link and the second unidirectional transmission link do not upload the event picture at the same time. When there is an abnormality when the first unidirectional transmission link uploads the event picture, the event picture is transferred to the second unidirectional transmission link through data communication. Conversely, when there is an abnormality when the second unidirectional transmission link uploads the event picture, the event picture is transferred to the first unidirectional transmission link through data communication. When there is no abnormality in both, the event picture is uploaded by the first unidirectional transmission link.

[0075] It should be further explained that, in a specific implementation process, the process of the FTP service integration module constructing a corresponding integrated service area through the FTP protocol includes:

[0076] The FTP service integration module receives a number of uploaded event images, obtains an upload IP address corresponding to each event image, and determines whether an address sequence value corresponding to the upload IP address of each event image conforms to a respective preset sequence value range;

[0077] If yes, the corresponding event picture is marked as a trusted picture, if no, the corresponding event picture is marked as an illegal picture;

[0078] Associate a corresponding architecture server with several trust images, obtain the FTP protocol, and perform firewall configuration, router configuration, and FTP service test on the current architecture server through the FTP protocol, and then build an integrated service area through firewall configuration, router configuration, and FTP service test;

[0079] A firewall log is associated with the current architecture server through the firewall configuration, and a forwarding route is associated with the current architecture server through the router configuration. The FTP service test is used to test the filtering rate of the firewall log for malicious attack content, and to test the success rate of the forwarding route when forwarding trusted images. The filtering rate and the success rate are marked as τ and λ respectively;

[0080] Set the test pass thresholds corresponding to the filtering rate and success rate, and record them as τ 阈 and λ 阈 , determine τ and τ 阈 between λ and λ 阈 The numerical relationship between them determines whether to complete the construction of the integrated service area;

[0081] When τ ≥ τ 阈 ,λ≥λ 阈 When both are established at the same time, the construction of the integrated service area is completed;

[0082] When τ ≥ τ 阈 ,λ≥λ 阈 If any of the conditions is not met, continue to configure the firewall and router until the FTP service test meets the following conditions: τ ≥ τ 阈 And λ≥λ 阈 , then stop the firewall configuration and router configuration.

[0083] It should be further explained that, in a specific implementation process, a process of defining service operation items corresponding to a number of event images and associating the service operation items of all event images to the integrated service area includes:

[0084] Define a number of service operation items corresponding to each of the event pictures, wherein the service operation items include an FTP service operation item, a memory service operation item, a message queue service operation item, and an image processing service operation item;

[0085] The FTP service operation item is used to track the processing status of subsequent event pictures;

[0086] The memory service operation item is used to allocate storage nodes with different storage capacities to event pictures;

[0087] The message queue service operation item is used to establish a message queue for concurrent processing of event images;

[0088] The image processing service operation item is used to process a number of event images into corresponding image tasks;

[0089] The several service operation items corresponding to all event images are sequentially associated with the integrated service area, and an integrated partition corresponding to each event image is established in the integrated service area. The identity code of the network camera corresponding to each event image is obtained as the partition identifier of the corresponding integrated partition, and then the service operation items included in the several event images are associated in the corresponding integrated partition.

[0090] It should be noted that the partition identifiers are not repeated. The partition identifier serves as a unique identity authentication identifier for each integrated partition in the integrated service area. The partition identifier is used to quickly locate the corresponding integrated partition, which facilitates handling of abnormal problems in the corresponding integrated partition.

[0091] It should be further explained that, in the specific implementation process, the integrated service area concurrently processes several event images to generate corresponding image tasks, and the process of sending the image tasks to the file system terminal includes:

[0092] Traverse the integrated partitions included in the integrated service area in sequence, set the concurrency of the event images in each integrated partition for concurrent processing, and establish a message queue corresponding to the concurrency through the message queue service operation item, wherein the message queue is used to record the corresponding operation record information when the current event image is processed;

[0093] Get the image data volume corresponding to the concurrent processing of event images in each integrated partition according to the concurrent volume, and then allocate storage nodes with corresponding storage capacity to the event images being processed concurrently in each integrated partition through the memory service operation item. The image data volume and storage capacity of the storage node in the corresponding processing process are recorded as C respectively. 图片 and C 节点 , meet the conditions: C 图片 ≤C 节点 ;

[0094] Obtain the corresponding image processing service operation item in each integrated partition, and then process the event image in each integrated partition through the image processing service operation item, wherein the image processing service operation item records the data format of the generated image task, the data processing rule, and the task priority corresponding to the image task;

[0095] The data processing rules include data denoising and repeated picture frame filtering, obtaining noise values ​​corresponding to a number of picture frames in the event picture, and performing data denoising on picture frames whose noise values ​​do not meet a preset noise threshold, thereby making the noise value of the corresponding picture frame lower than the noise threshold;

[0096] The content of duplicate picture frame filtering is: classify all picture frames in each event picture with a similarity of 95% or more into one group, retain only one picture frame in each group, and remove the other picture frames at the same time;

[0097] Obtain the operation record information of the message queue corresponding to each integrated partition, analyze the operation record information through the FTP service operation items corresponding to each integrated partition, and then track the processing status of each integrated partition processing event image;

[0098] When the number of operation errors in the operation record information is greater than or equal to the preset operation error threshold, the processing status of the current integrated partition processing event picture is marked as "Error", and the corresponding integrated partition event picture is processed again;

[0099] When the number of operation errors in the operation record information is less than the operation error threshold, the processing status of the current integrated partition processing event picture is marked as "True" and no operation is performed;

[0100] It should be noted that the similarity between picture frames is obtained through an image processing algorithm, and picture frames with a similarity of 95% or more are defined as duplicate picture frames. Duplicate picture frames are removed, which reduces the workload of subsequent intelligent image processing;

[0101] The event image of each integrated partition is processed according to the data format and data processing rules, and then the image tasks corresponding to the corresponding integrated partitions with different task priorities are generated, and the image tasks are sent to the file system terminal. The several image tasks are sent to the file system terminal in the order of task priority from high to low.

[0102] It should be further explained that, in the specific implementation process, the process of establishing the data interaction space between the intelligent image processing module and the file system terminal includes:

[0103] The intelligent image processing module generates an interaction request, obtains the module environment parameters corresponding to the intelligent image processing module, the module environment parameters are composed of a number of environment evaluation items, and obtains the interaction interface IP and data interaction protocol corresponding to the intelligent image processing module;

[0104] The module environment parameters, interaction interface IP and data interaction protocol are associated with the interaction request, and the interaction request is sent to the file system terminal through wireless communication. The file system terminal determines whether the module environment parameters are qualified, and then decides whether to establish the corresponding data interaction space;

[0105] The environmental assessment items of the module environmental parameters include key assessment items and common assessment items. The frequency of the key assessment items not meeting the predefined first assessment standard is X, and the total number of common assessment items is S. 总 , the frequency of common evaluation items that do not meet the second evaluation standard defined in advance is denoted as S, and then the evaluation rate of common evaluation items is obtained, and the evaluation rate is denoted as μ, then μ=S / S 总 ;

[0106] Set the upper thresholds of X and μ, and denote them as G1 and G2 respectively;

[0107] When any of the conditions X≥G1 or μ≥G2 is met, the module environment parameters of the current intelligent image processing module are judged to be unqualified, and the data interaction space is not established. When X<G1 and μ<G2, the module environment parameters of the current intelligent image processing module are judged to be qualified, and the data interaction space between the intelligent image processing module and the file system terminal is established;

[0108] The content of establishing the data interaction space is as follows: obtaining the interaction interface IP, and then matching the corresponding file system interface IP according to the interaction interface IP, obtaining the data interaction protocol corresponding to the file system interface IP, converting the data interaction protocol of the file system interface IP into the data interaction protocol corresponding to the interaction interface IP, and defining the corresponding interaction logic of the data interaction space;

[0109] Perform K attack tests on the data interaction space, where K is an integer greater than 0, and obtain the number of intrusion information in the data interaction space after each attack test. If the number of intrusion information in the data interaction space after a certain attack test exceeds the preset threshold upper limit, then mark the attack test as a valid attack, otherwise, the attack test is an invalid attack;

[0110] It should be noted that after each attack test is completed, the data interaction space is reset to the initial state. In the initial state, the number of intrusion information in the data interaction space is 0, that is, each attack test is performed on the data interaction space in the initial state. In each attack test, the number of intrusion information in the data interaction space is independent of each other;

[0111] The number of effective attacks is K 有效 , K 有效 The value corresponding to / K is used as the spatial stability coefficient of the data interaction space after K attack tests, and the spatial stability coefficient is recorded as ρ, and the spatial fluctuation coefficient interval is set, recorded as Ω;

[0112] When ρ∈Ω, redefine the interaction logic of the current data interaction space, and continue to perform K attack tests until ρ∉Ω is satisfied, then the final data interaction space is established;

[0113] When ρ∉Ω, no operation is performed.

[0114] It should be further explained that, in the specific implementation process, the process of performing intelligent image processing by reading several image tasks in the data interaction space includes:

[0115] Obtaining the read permission of the data interaction space, and then reading a number of image tasks according to the order of task priority from high to low through the read permission, and performing intelligent image processing on the number of image tasks, wherein the intelligent image processing includes a first intelligent processing process, a second intelligent processing process, and a third intelligent processing process;

[0116] The picture task consists of several picture objects;

[0117] Performing semantic segmentation on a plurality of image objects corresponding to each image task through a first intelligent processing step, and then generating a plurality of pixel points corresponding to the image object and a semantic feature corresponding to each pixel point through semantic segmentation;

[0118] The number of pixels corresponding to different semantic features in each image object is traversed through the second intelligent processing step, the semantic feature with the highest number of pixels is used as the image classification feature of the corresponding image object, and the image objects with the same image classification feature are grouped together, thereby generating a plurality of sets of image object sets corresponding to different image classification features;

[0119] The third intelligent processing step is used to optimize the image of the plurality of sets of image object sets, and a final set of image object sets is generated. The content of the image optimization is as follows: obtaining a plurality of image objects corresponding to each set of image object sets, and cropping the image size of each image object to a preset layout standard size, obtaining a ratio of the number of blurred pixels in each image object to the total number of pixels, and using the ratio as an imaging blur ratio value, and recorded as Q;

[0120] Preset the image optimization threshold and record it as P. According to the numerical relationship between Q and P, decide whether to import the current image object into the PS tool for processing. When Q≥P, import the corresponding image object into the PS tool, and the PS tool automatically processes the pixel points in the image object that are blurred pixels until Q<P is finally satisfied. Then stop the processing operation of the PS tool. When Q<P, do not process the corresponding image object.

[0121] When the picture objects included in the plurality of picture object sets have completed the picture optimization, the corresponding final picture object sets are generated.

[0122] It should be noted that the first intelligent processing step lays a solid data foundation for the subsequent classification of different sets of image objects, the second intelligent processing step achieves efficient and accurate image classification, and the third intelligent processing step improves the image details of each image object, providing more accurate image data.

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

Claims

1. An intelligent image processing system based on FTP protocol, comprising a file system terminal, characterized in that: The file system terminal is communicatively connected with an image acquisition module, an FTP service integration module and an intelligent image processing module; The image acquisition module is used to set up a number of network cameras and perform function debugging on the number of network cameras, collect corresponding event pictures through the number of network cameras, mark abnormal picture frames among the number of picture frames included in the event picture, process the abnormal picture frames to generate the final event picture, and construct a first unidirectional transmission link and a second unidirectional transmission link between each network camera and the FTP service integration module for uploading the final event picture; The FTP service integration module is used to construct a corresponding integrated service area through the FTP protocol, and define service operation items corresponding to a number of event images, associate the service operation items of all event images with the integrated service area, and the integrated service area concurrently processes a number of event images to generate corresponding image tasks, and sends the image tasks to the file system terminal; The intelligent image processing module is used to establish a data interaction space with the file system terminal, and perform intelligent image processing by reading a number of image tasks in the data interaction space; The process of building the corresponding integrated service area through the FTP protocol includes: The FTP service integration module receives a number of uploaded event images, obtains the upload IP address corresponding to each event image, and determines whether the address sequence value corresponding to the upload IP address of each event image conforms to the respective preset sequence value range; If yes, the corresponding event picture is marked as a trusted picture, if no, the corresponding event picture is marked as an illegal picture; Associate a corresponding architecture server with several trust images, obtain the FTP protocol, and perform firewall configuration, router configuration, and FTP service test on the current architecture server through the FTP protocol, and then build an integrated service area through firewall configuration, router configuration, and FTP service test; A firewall log is associated with the current architecture server through the firewall configuration, and a forwarding route is associated with the current architecture server through the router configuration. The FTP service test is used to test the filtering rate of the firewall log for malicious attack content, and to test the success rate of the forwarding route for trusted image forwarding. The filtering rate and success rate are marked as τ and λ respectively; Set the test pass thresholds corresponding to the filtering rate and success rate, and record them as τ 阈 and λ 阈 , determine τ and τ 阈 between λ and λ 阈 The numerical relationship between them determines whether to complete the construction of the integrated service area; When τ ≥ τ 阈 ,λ≥λ 阈 When both are established at the same time, the construction of the integrated service area is completed; When τ ≥ τ 阈 ,λ≥λ 阈 If any of the conditions is not met, continue to configure the firewall and router until the FTP service test meets the following conditions: τ ≥ τ 阈 And λ≥λ 阈 , then stop the firewall configuration and router configuration; The process of defining service operation items corresponding to several event images and associating the service operation items of all event images to the integrated service area includes: Define several service operation items corresponding to each event image, including FTP service operation items, memory service operation items, message queue service operation items and image processing service operation items; The FTP service operation item is used to track the processing status of event images; The memory service operation item is used to allocate storage nodes with different storage capacities for event images; The message queue service operation item is used to establish a message queue for concurrent processing of event images; The image processing service operation item is used to process several event images into corresponding image tasks; The several service operation items corresponding to all event images are sequentially associated with the integrated service area, and an integrated partition corresponding to each event image is established in the integrated service area. The identity code of the network camera corresponding to each event image is obtained as the partition identifier of the corresponding integrated partition, and then the service operation items included in the several event images are associated with the corresponding integrated partition.

2. The intelligent image processing system based on FTP protocol according to claim 1, characterized in that: The process of setting up several network cameras and debugging their functions includes: Obtain a layout requirement document, which records several installation area points for installing network cameras, number several network cameras and record them as i, i = 1, 2, 3, ..., n, where n is a natural number greater than 0, obtain the identity code corresponding to each network camera, and mark the identity code of the network camera numbered i as ID[i]; According to the preset installation area point of each network camera, each network camera is arranged at the corresponding installation area point, and the function debugging of the network camera corresponding to each installation area point is carried out. The function debugging includes network communication debugging and image quality adjustment.

3. The intelligent image processing system based on FTP protocol according to claim 2, characterized in that: The process of collecting corresponding event pictures through several network cameras, marking abnormal picture frames among several picture frames included in the event pictures, processing the abnormal picture frames to generate the final event pictures, and constructing the first unidirectional transmission link and the second unidirectional transmission link between each network camera and the FTP service integration module for uploading the final event pictures includes: Set working periods corresponding to several network cameras, start several network cameras to collect corresponding event pictures at the beginning of the working period, the event pictures are composed of picture frames at several different time nodes, and traverse the camera log information corresponding to the picture frames at several time nodes; If there is attack injection information in the camera log information of the current time node, the picture frame corresponding to the current time node is marked as an abnormal picture frame, otherwise, the picture frame corresponding to the current time node is marked as a normal picture frame; The image integrity corresponding to each abnormal image frame is obtained, and the numerical relationship between the image integrity and the preset repair threshold is determined. Different operations are performed according to the determination result to generate the final event image. At the end of the working period, the first unidirectional transmission link and the second unidirectional transmission link constructed by the same network camera communicate with each other, and the first unidirectional transmission link or the second unidirectional transmission link uploads the event image corresponding to each network camera to the FTP service integration module.

4. The intelligent image processing system based on FTP protocol according to claim 3, characterized in that: The integrated service area concurrently processes several event images to generate corresponding image tasks, and the process of sending the image tasks to the file system terminal includes: Traverse the several integrated partitions included in the integrated service area in turn, set the concurrency of the event images in each integrated partition for concurrent processing, and establish a message queue corresponding to the concurrency through the message queue service operation item. The message queue is used to record the corresponding operation record information when the current event image is processed; Get the image data volume corresponding to the concurrent processing of event images in each integrated partition according to the concurrent volume, and then allocate storage nodes with corresponding storage capacity to the event images being processed concurrently in each integrated partition through the memory service operation item. The image data volume and storage capacity of the storage node in the corresponding processing process are recorded as C respectively. 图片 and C 节点 , there is C 图片 ≤C 节点 ; Obtain the corresponding image processing service operation item in each integrated partition, and then process the event image in each integrated partition through the image processing service operation item, where the image processing service operation item records the data format of the generated image task, the data processing rules, and the task priority corresponding to the image task; Obtain the operation record information of the message queue corresponding to each integrated partition, analyze the operation record information through the FTP service operation items corresponding to each integrated partition, and then track the processing status of each integrated partition processing event image; When the number of operation errors in the operation record information is greater than or equal to the preset operation error threshold, the processing status of the current integrated partition processing event picture is marked as "Error", and the corresponding integrated partition event picture is processed again; When the number of operation errors in the operation record information is less than the operation error threshold, the processing status of the current integrated partition processing event picture is marked as "True" and no operation is performed; The event image of each integrated partition is processed according to the data format and data processing rules, and then the image tasks corresponding to the corresponding integrated partitions with different task priorities are generated, and several image tasks are sent to the file system terminal in the order of task priority from high to low.

5. The intelligent image processing system based on FTP protocol according to claim 4, characterized in that: The process of establishing the data interaction space between the intelligent image processing module and the file system terminal includes: The intelligent image processing module generates an interaction request, obtains the module environment parameters, interaction interface IP and data interaction protocol corresponding to the intelligent image processing module and associates them with the interaction request, and sends the interaction request to the file system terminal through wireless communication. The file system terminal determines whether the module environment parameters are qualified, and then decides whether to establish the corresponding data interaction space. If yes, match the corresponding file system interface IP according to the interaction interface IP, obtain the data interaction protocol corresponding to the file system interface IP, convert the data interaction protocol of the file system interface IP into the data interaction protocol corresponding to the interaction interface IP, and define the interaction logic corresponding to the data interaction space; If not, the data interaction space will not be established; Perform K attack tests on the data interaction space, where K is an integer greater than 0, and obtain the number of intrusion information in the data interaction space after each attack test. If the number of intrusion information in the data interaction space after a certain attack test exceeds the preset threshold upper limit, then mark the attack test as a valid attack, otherwise, the attack test is an invalid attack; The number of effective attacks is K 有效 , K 有效 The value corresponding to / K is used as the spatial stability coefficient of the data interaction space after K attack tests, and the spatial stability coefficient is recorded as ρ, and the spatial fluctuation coefficient interval is set, recorded as Ω; When ρ∈Ω, redefine the interaction logic of the current data interaction space, and continue to perform K attack tests until ρ∉Ω is satisfied, then the final data interaction space is established; When ρ∉Ω, no operation is performed.

6. The intelligent image processing system based on FTP protocol according to claim 5, characterized in that: The process of reading the image task in the data interaction space and performing intelligent image processing includes: Obtain the read permission of the data interaction space, and read several image tasks in order of task priority from high to low to perform intelligent image processing. The intelligent image processing includes the first intelligent processing process, the second intelligent processing process and the third intelligent processing process; The picture task consists of several picture objects; Performing semantic segmentation on a plurality of image objects corresponding to each image task through a first intelligent processing step, and then generating a plurality of pixel points corresponding to the image object and a semantic feature corresponding to each pixel point through semantic segmentation; The number of pixels corresponding to different semantic features in each image object is traversed through the second intelligent processing step, the semantic feature with the highest number of pixels is used as the image classification feature of the corresponding image object, and the image objects with the same image classification feature are grouped together, thereby generating a plurality of sets of image object sets corresponding to different image classification features; The third intelligent processing step is used to optimize the images of several groups of image object sets, and generate a final image object set.