Distributed image recognition method, device, equipment, medium and product
By using a distributed image recognition method, multiple processing nodes are used to process image data in parallel, which solves the problem of low efficiency in centralized architecture and achieves efficient, real-time and flexible image recognition to adapt to diverse business needs.
Patent Information
- Application Number
- CN202410963794.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-08
AI Technical Summary
Existing centralized image recognition architectures become inefficient under the conditions of rapidly increasing data volumes, making it difficult to meet real-time processing requirements and adapt to changing business needs, thus limiting the feasibility of large-scale deployment and application.
A distributed image recognition method is adopted, which involves collecting image data, performing data mirroring, and conducting distributed image recognition on multiple processing nodes. By utilizing load balancing and high availability design, parallel processing of image data and result integration are achieved.
It improves the efficiency and real-time performance of image recognition, enhances the system's flexibility and adaptability, enables it to adapt to ever-changing business needs, and reduces resource waste and operating costs.
Smart Images

Figure CN118918449A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image recognition technology, and in particular to a distributed image recognition method, device, equipment, medium and product. Background Art
[0002] With the rapid development of information technology, image recognition has been widely used in many fields.
[0003] At present, existing image recognition methods usually adopt a centralized architecture, and the processing capacity is limited by the performance of a single processing unit. In the case of a sharp increase in data volume, the image recognition efficiency of the centralized architecture is relatively low, and it is difficult to meet the needs of real-time processing, and it is difficult to adapt to the ever-changing business needs and data volume growth, which limits its feasibility in large-scale deployment and application. Summary of the invention
[0004] The present invention provides a distributed image recognition method, device, equipment, medium and product, which can improve the efficiency of image recognition, improve the real-time and flexibility of image recognition, and adapt to changing business needs.
[0005] According to one aspect of the present invention, there is provided a distributed image recognition method, comprising:
[0006] Collecting image data, and performing data mirroring processing on the image data to obtain mirrored data;
[0007] Based on multiple processing nodes, distributed image recognition is performed on the mirror data to obtain image recognition results corresponding to each processing node;
[0008] According to the image recognition results corresponding to the processing nodes, the image recognition results corresponding to the image data are obtained.
[0009] According to another aspect of the present invention, there is provided a distributed image recognition device, comprising:
[0010] A data mirroring module is used to collect image data and perform data mirroring processing on the image data to obtain mirrored data;
[0011] An image recognition module, used to perform distributed image recognition on the mirror data based on multiple processing nodes to obtain image recognition results corresponding to each processing node;
[0012] The image recognition result acquisition module is used to acquire the image recognition result corresponding to the image data according to the image recognition result corresponding to each of the processing nodes.
[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the distributed image recognition method described in any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program is used to enable a processor to implement the distributed image recognition method described in any embodiment of the present invention when executed.
[0018] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the distributed image recognition method according to any embodiment of the present invention is implemented.
[0019] The technical solution of the embodiment of the present invention acquires mirror data by collecting image data and performing data mirroring processing on the image data; performs distributed image recognition on the mirror data based on multiple processing nodes to obtain image recognition results corresponding to each processing node; and acquires image recognition results corresponding to the image data according to the image recognition results corresponding to each processing node; by performing mirroring processing on the collected image data and using multiple processing nodes to execute image recognition tasks in parallel, the image recognition efficiency can be improved, the real-time performance and flexibility of image recognition can be improved, and the ever-changing business needs can be adapted.
[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 is a flow chart of a distributed image recognition method provided according to Embodiment 1 of the present invention;
[0023] Figure 2is a schematic diagram of the structure of a distributed image recognition device provided according to Embodiment 2 of the present invention;
[0024] Figure 3 It is a schematic diagram of the structure of an electronic device for implementing the distributed image recognition method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "first", "second", "target", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] Embodiment 1
[0028] Figure 1 A flowchart of a distributed image recognition method is provided for the first embodiment of the present invention. This embodiment is applicable to the case of performing image recognition. The method can be executed by a distributed image recognition device. The distributed image recognition device can be implemented in the form of hardware and / or software. Typically, the distributed image recognition device can be configured in an electronic device, such as a computer device or a server. Figure 1 As shown, the method includes:
[0029] S110, collecting image data, and performing data mirroring processing on the image data to obtain mirrored data.
[0030] In this embodiment, image data can be captured from network traffic. The image data can be a monitoring image, an environment image, a person image, etc., which is not specifically limited in this embodiment. Then, the captured image data can be copied in the created virtual environment to obtain corresponding mirror data.
[0031] Optionally, collecting image data may include:
[0032] The image data stream is acquired by using a traffic capture tool pre-deployed on a network node, and the image data is sampled from the image data stream.
[0033] Among them, the traffic capture tool can be deployed on key network nodes to parse the network traffic of key network nodes to obtain image data streams in a specified format, and can sample a large amount of image data from the image data stream according to a preset sampling frequency.
[0034] Optionally, performing data mirroring on the image data to obtain mirrored data may include:
[0035] The image data is processed by a virtual traffic mirroring method to obtain the mirrored data.
[0036] Specifically, a virtual traffic mirroring method may be used to establish one or more virtual environments, and image data may be copied in the virtual environments without interference to obtain mirrored data.
[0037] The advantage of the above setting is that it does not interfere with the original image data stream and can achieve efficient monitoring and processing of image data.
[0038] In this embodiment, network traffic can be captured from a network node through a traffic capture tool, and image data can be sampled therefrom; then, during the process of the network node processing the network traffic, the image data can be copied in the established virtual environment to obtain mirror data.
[0039] S120: Based on multiple processing nodes, perform distributed image recognition on the mirror data to obtain image recognition results corresponding to each processing node.
[0040] In this embodiment, multiple processing nodes can be pre-registered, and image recognition methods can be pre-deployed in each processing node, such as a pre-trained image recognition model (based on a convolutional neural network), etc., to ensure that each processing node can perform image recognition tasks. Typically, for each processing node, a corresponding interface can be pre-set so that the user can customize the image recognition model according to needs.
[0041] The processing node may be a terminal processing device such as a computer or a server. Therefore, after acquiring the image data, the image data may be distributed to each processing node according to load balancing distribution or average distribution. After receiving the distributed image data, each processing node may perform image recognition on the distributed image data in parallel and obtain corresponding image recognition results. Each processing node may pre-install distributed processing software and load balancing software.
[0042] It should be noted that the image recognition results may be different for different application scenarios. For example, the image recognition results may include the identified specific target (person, object, behavior, etc.), the detection frame and the corresponding confidence level, etc.
[0043] Optionally, performing distributed image recognition on the mirror data based on multiple processing nodes to obtain image recognition results corresponding to each processing node may include:
[0044] Using a load balancing method, the mirror data is distributed to each of the processing nodes according to the load status of each of the processing nodes;
[0045] The distributed mirror data is image recognized by each of the processing nodes to obtain image recognition results corresponding to each of the processing nodes.
[0046] In this embodiment, a load balancing method can be used to dynamically adjust the distribution of image recognition tasks. Specifically, the load status and processing capacity of each processing node can be monitored in real time, and the task allocation strategy can be dynamically adjusted according to the monitoring data to balance the load of each processing node. Typically, for processing nodes with lower loads, more mirror data can be allocated, and for processing nodes with higher loads, less mirror data can be allocated to ensure that the loads of all processing nodes can be kept equal or not much different.
[0047] The advantage of the above setting is that it can ensure that the computing resources of each processing node are fully utilized, avoid resource waste, and improve resource utilization.
[0048] S130. Obtain an image recognition result corresponding to the image data according to the image recognition result corresponding to each of the processing nodes.
[0049] Specifically, each processing node may send the acquired image recognition result to the cloud server, and the cloud server may integrate the image recognition result corresponding to each processing node to obtain a final image recognition result.
[0050] In this embodiment, in order to ensure data security and privacy, measures such as data encryption, access control and security auditing can be adopted; typically, strong encryption standards are implemented for all transmitted and stored image data, and role-based access control policies are implemented to ensure that only authorized users can access sensitive data, and a security audit mechanism is established to record and monitor all data access and operations. This embodiment does not specifically limit the data encryption method.
[0051] In this embodiment, in order to optimize the real-time performance of image recognition, an efficient image recognition algorithm suitable for real-time processing can be selected or developed, and the system architecture and processes can be optimized to reduce data processing delays. In addition, a rapid feedback mechanism can be established to ensure that image recognition results can be fed back to users in a timely manner.
[0052] The technical solution of the embodiment of the present invention acquires mirror data by collecting image data and performing data mirroring processing on the image data; performs distributed image recognition on the mirror data based on multiple processing nodes to obtain image recognition results corresponding to each processing node; and acquires image recognition results corresponding to the image data according to the image recognition results corresponding to each processing node; by performing mirroring processing on the collected image data and using multiple processing nodes to execute image recognition tasks in parallel, the image recognition efficiency can be improved, the real-time performance and flexibility of image recognition can be improved, and the ever-changing business needs can be adapted.
[0053] In an optional implementation of this embodiment, the technical solution of this embodiment may further include:
[0054] In the process of performing distributed image recognition on the mirror data based on multiple processing nodes, if a target processing node is detected to have a fault abnormality, the mirror data to be recognized corresponding to the target processing node is obtained;
[0055] The standby processing node is enabled, and the mirror data to be identified corresponding to the target processing node is sent to the standby processing node, so that the standby processing node performs image recognition on the mirror data to be identified.
[0056] In this embodiment, a high availability mechanism can also be used to ensure service continuity. Typically, redundancy design and failover mechanisms can be used to ensure stable system operation. Specifically, redundant deployment is performed for key components and processing nodes to prevent single point failures, and the system and node status are detected in real time to achieve rapid fault identification. Once a processing node failure is detected, the corresponding image recognition task is automatically transferred to a backup processing node to ensure uninterrupted service.
[0057] In another optional implementation of this embodiment, after acquiring the image recognition result corresponding to the image data according to the image recognition result corresponding to each of the processing nodes, the method may further include:
[0058] According to the user's viewing operation on the image recognition result, the image recognition result corresponding to the image data is visually displayed on the user interface.
[0059] In this embodiment, user interface development can be performed in advance, including interface design, function implementation and user testing steps. In the node design step, an intuitive and easy-to-use user interface is designed to provide system configuration and monitoring functions; in the function implementation step, various functions on the interface are implemented, including task submission, parameter configuration, custom process configuration, result viewing, etc.; in the user testing step, user testing is performed, feedback is collected, and iterative optimization of the interface and functions is performed according to user needs.
[0060] Specifically, after the image recognition result is obtained, the image recognition result can be visualized in a pre-developed user interface according to a user's instruction to view the image recognition result.
[0061] The technical solution of this embodiment significantly improves the processing efficiency of image recognition tasks by introducing a distributed computing architecture and an intelligent load balancing algorithm. Multiple processing nodes work in parallel and can process a large amount of image data at the same time, shortening the processing time of a single task and improving the overall throughput. Typically, the design of a distributed architecture has excellent scalability. As business needs grow, the processing capacity of the system can be improved by simply adding processing nodes without large-scale adjustments or reconstruction of the existing architecture. Through high-availability design, including redundant deployment and failover mechanisms, it can continue to operate stably even when some nodes fail, reducing the time for system maintenance and recovery, and improving the continuity and reliability of services.
[0062] By adding security measures such as data encryption and access control to the design, the security of image data during transmission and processing is ensured, meeting the growing demand for data protection and enhancing users' trust in the system; the optimized algorithm and system architecture support real-time image recognition processing, meeting the needs for rapid response in scenarios such as video surveillance and real-time event detection, and improving the practicality and application scope of the system. The flexibility and customization of the system allow users to adjust the recognition model and processing flow according to specific application scenarios and needs, so that the system can better adapt to diverse business needs, improve the applicability of the system and user satisfaction. Due to the high efficiency and high scalability of the system, the required hardware resources can be reduced without sacrificing performance, thereby reducing the overall operating cost. The intelligent load balancing algorithm ensures that the computing resources of each processing node are fully utilized, avoiding resource waste and improving resource utilization. Due to its high efficiency, stability and flexibility, it can be widely used in many fields such as security monitoring, medical diagnosis, autonomous driving, social media content analysis, etc., and has broad market application prospects.
[0063] Embodiment 2
[0064] Figure 2 This is a schematic diagram of the structure of a distributed image recognition device provided in the second embodiment of the present invention. Figure 2 As shown, the device includes: a data mirroring module 210, an image recognition module 220 and an image recognition result acquisition module 230; wherein,
[0065] The data mirroring module 210 is used to collect image data and perform data mirroring processing on the image data to obtain mirrored data;
[0066] An image recognition module 220, configured to perform distributed image recognition on the mirror data based on multiple processing nodes to obtain image recognition results corresponding to each processing node;
[0067] The image recognition result acquisition module 230 is used to acquire the image recognition result corresponding to the image data according to the image recognition result corresponding to each of the processing nodes.
[0068] The technical solution of the embodiment of the present invention acquires mirror data by collecting image data and performing data mirroring processing on the image data; performs distributed image recognition on the mirror data based on multiple processing nodes to obtain image recognition results corresponding to each processing node; and acquires image recognition results corresponding to the image data according to the image recognition results corresponding to each processing node; by performing mirroring processing on the collected image data and using multiple processing nodes to execute image recognition tasks in parallel, the image recognition efficiency can be improved, the real-time performance and flexibility of image recognition can be improved, and the ever-changing business needs can be adapted.
[0069] Optionally, the data mirroring module 210 is specifically configured to obtain the image data stream through a traffic capture tool pre-deployed on a network node, and sample the image data from the image data stream.
[0070] Optionally, the data mirroring module 210 is specifically configured to adopt a virtual traffic mirroring method to perform data mirroring processing on the image data to obtain the mirrored data.
[0071] Optionally, the image recognition module 220 is specifically configured to adopt a load balancing method to distribute the image data to each of the processing nodes according to the load status of each of the processing nodes;
[0072] The distributed mirror data is image recognized by each of the processing nodes to obtain image recognition results corresponding to each of the processing nodes.
[0073] Optionally, the distributed image recognition device further includes:
[0074] A fault detection module is used to obtain the to-be-identified mirror data corresponding to the target processing node if a fault abnormality is detected in the target processing node during the distributed image recognition of the mirror data based on multiple processing nodes;
[0075] The mirror data sending module is used to enable the spare processing node and send the mirror data to be identified corresponding to the target processing node to the spare processing node, so that the spare processing node performs image recognition on the mirror data to be identified.
[0076] Optionally, the distributed image recognition device further includes:
[0077] The image recognition result display module is used to visually display the image recognition result corresponding to the image data on the user interface according to the user's viewing operation on the image recognition result.
[0078] The distributed image recognition device provided in the embodiment of the present invention can execute the distributed image recognition method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0079] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0080] Embodiment 3
[0081] Figure 3A schematic diagram of the structure of an electronic device 30 that can be used to implement an embodiment of the present invention is shown. The electronic device 30 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 30 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0082] like Figure 3 As shown, the electronic device 30 includes at least one processor 31, and a memory connected to the at least one processor 31, such as a read-only memory (ROM) 32, a random access memory (RAM) 33, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 31 can perform various appropriate actions and processes according to the computer program stored in the read-only memory 32 or the computer program loaded from the storage unit 38 to the random access memory 33. In the RAM 33, various programs and data required for the operation of the electronic device 30 can also be stored. The processor 31, the ROM 32 and the RAM 33 are connected to each other through a bus 34. The input / output (I / O) interface 35 is also connected to the bus 34.
[0083] A number of components in the electronic device 30 are connected to the I / O interface 35, including: an input unit 36, such as a keyboard, a mouse, etc.; an output unit 37, such as various types of displays, speakers, etc.; a storage unit 38, such as a disk, an optical disk, etc.; and a communication unit 39, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 39 allows the electronic device 30 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0084] The processor 31 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 31 include, but are not limited to, a central processing unit, a graphics processing unit, various special artificial intelligence computing chips, various processors running machine learning model algorithms, digital signal processors, and any appropriate processors, controllers, microcontrollers, etc. The processor 31 performs the various methods and processes described above, such as a distributed image recognition method.
[0085] In some embodiments, the distributed image recognition method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 38. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 30 via the ROM 32 and / or the communication unit 39. When the computer program is loaded into the RAM 33 and executed by the processor 31, one or more steps of the distributed image recognition method described above may be performed. Alternatively, in other embodiments, the processor 31 may be configured to perform the distributed image recognition method in any other appropriate manner (e.g., by means of firmware).
[0086] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays, application specific integrated circuits, application specific standard products, systems on a chip, load programmable logic devices, computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0087] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0088] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical fiber, a portable compact disk read-only memory, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0089] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device 30 having: a display device (e.g., a cathode ray tube or a liquid crystal display) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device 30. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0090] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local area networks, wide area networks, blockchain networks, and the Internet.
[0091] A computing system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other. The server may be a cloud server.
[0092] This embodiment may also include a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the distributed image recognition method provided by any embodiment of the present invention.
[0093] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0094] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A distributed image recognition method, It is characterized in that include: Collecting image data, and performing data mirroring processing on the image data to obtain mirrored data; Based on multiple processing nodes, distributed image recognition is performed on the mirror data to obtain image recognition results corresponding to each processing node; According to the image recognition results corresponding to the processing nodes, the image recognition results corresponding to the image data are obtained.
2. The method according to claim 1, It is characterized in that Collect image data, including: The image data stream is acquired by using a traffic capture tool pre-deployed on a network node, and the image data is sampled from the image data stream.
3. The method according to claim 1, It is characterized in that Performing data mirroring processing on the image data to obtain mirrored data includes: The image data is processed by a virtual traffic mirroring method to obtain the mirrored data.
4. The method according to claim 1, It is characterized in that Based on multiple processing nodes, distributed image recognition is performed on the mirror data to obtain image recognition results corresponding to each processing node, including: Using a load balancing method, the mirror data is distributed to each of the processing nodes according to the load status of each of the processing nodes; The distributed mirror data is image recognized by each of the processing nodes to obtain image recognition results corresponding to each of the processing nodes.
5. The method according to claim 1, It is characterized in that Also includes: In the process of performing distributed image recognition on the mirror data based on multiple processing nodes, if a target processing node is detected to have a fault abnormality, the mirror data to be recognized corresponding to the target processing node is obtained; The standby processing node is enabled, and the mirror data to be identified corresponding to the target processing node is sent to the standby processing node, so that the standby processing node performs image recognition on the mirror data to be identified.
6. The method according to claim 1, It is characterized in that After acquiring the image recognition result corresponding to the image data according to the image recognition result corresponding to each of the processing nodes, the method further includes: According to the user's viewing operation on the image recognition result, the image recognition result corresponding to the image data is visually displayed on the user interface.
7. A distributed image recognition device, It is characterized in that include: A data mirroring module is used to collect image data and perform data mirroring processing on the image data to obtain mirrored data; An image recognition module, used to perform distributed image recognition on the mirror data based on multiple processing nodes to obtain image recognition results corresponding to each processing node; The image recognition result acquisition module is used to acquire the image recognition result corresponding to the image data according to the image recognition result corresponding to each of the processing nodes.
8. An electronic device, It is characterized in that The electronic device comprises: at least one processor, and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the distributed image recognition method according to any one of claims 1 to 6.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and the computer program is used to enable a processor to implement the distributed image recognition method according to any one of claims 1 to 6 when executed.
10. A computer program product, It is characterized in that The invention comprises a computer program, which, when executed by a processor, implements the distributed image recognition method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Distributed type video image identification system and image identification method thereof
CN103116737A
A distributed image recognition system and method thereof
CN109034380A
Distributed visual image recognition method based on virtual environment
CN109522089A
Scene recognition early warning method, system, device and equipment and storage medium
CN115546725A
