Video monitoring equipment identification and management method and device, electronic equipment and storage medium
Through multi-threaded search and visual management interface, dynamic resource allocation solves the problem of device discovery but failure to manage in the existing technology, improves the resource utilization and system performance of video surveillance equipment, and supports the management and expansion of multiple device types. .
Patent Information
- Application Number
- CN202410766881.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-06
AI Technical Summary
The existing technology only focuses on the discovery of video surveillance equipment, but fails to effectively manage and schedule these equipment, resulting in the system being unable to effectively utilize camera resources and unable to meet the needs of different users and scenarios.
By determining the search information of video surveillance equipment, establishing multi-threaded search requests, building a visual device discovery and management interface, abstracting the target video surveillance equipment as virtual resources, and dynamically allocating resources according to user needs and system load, using multi-threading mechanism and plug-in architecture, supports devices of different manufacturers and models, and realizes flexible management and scheduling of resources.
It improves the resource utilization and system performance of video surveillance equipment, reduces manual management workload, supports equipment of different manufacturers and models, facilitates the addition of new equipment types and function expansion, and meets the needs of different users and scenarios.
Smart Images

Figure CN118612033A
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of communication network technology, and in particular to a method, device, electronic device and storage medium for identifying and managing video surveillance equipment. Background Art
[0002] The system uses the ONVIF protocol to quickly discover camera devices. The ONVIF protocol allows the system to automatically scan camera devices within the local area network so that users can easily add cameras to the system.
[0003] In the ONVIF protocol, device discovery is a key component because it enables clients to automatically find ONVIF-compatible devices on the network. However, the existing technology only focuses on the discovery of camera devices, but does not consider the functions of managing these devices, and does not mention how to manage and schedule camera resources, which may result in the system being unable to effectively utilize camera resources or unable to meet the needs of different users and scenarios. Summary of the invention
[0004] The embodiments of the present invention provide a video surveillance equipment identification and management method, device, electronic device and storage medium to realize automatic scanning of video surveillance equipment in a local area network, and manage the functions and resources of the matched target video surveillance equipment, thereby reducing the workload of manual management and improving resource utilization and system performance.
[0005] In a first aspect, an embodiment of the present invention provides a method for identifying and managing video surveillance equipment, including:
[0006] Determine video surveillance device search information, and establish a multi-threaded search request based on the search information; the search information includes the video surveillance device type and the search range;
[0007] Construct a visual device discovery and management interface, determine the target video surveillance device that responds to the matching request based on the multi-threaded search request, and manage the target video surveillance device;
[0008] The target video surveillance device is abstracted as a virtual resource, and the target video surveillance device is dynamically allocated according to user demand and system load.
[0009] In a second aspect, an embodiment of the present invention further provides a video surveillance equipment identification and management device, comprising:
[0010] A multi-threaded search request building module, used to determine video surveillance device search information and establish a multi-threaded search request based on the search information; the search information includes the video surveillance device type and the search range;
[0011] A video surveillance device management module is used to build a visual device discovery and management interface, determine the target video surveillance device that responds to the matching request based on the multi-threaded search request, and manage the target video surveillance device;
[0012] The device resource management and scheduling module is used to abstract the target video surveillance device into a virtual resource and dynamically allocate the target video surveillance device according to user needs and system load.
[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:
[0014] one or more processors;
[0015] A storage device for storing one or more programs;
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the video surveillance equipment identification and management method described in any embodiment of the present invention.
[0017] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the video surveillance device identification and management method described in any embodiment of the present invention.
[0018] The embodiment of the present invention provides a video surveillance device identification and management method, device, electronic device and storage medium, by determining video surveillance device search information, and establishing a multi-threaded search request according to the search information; the search information includes the video surveillance device type and the search range; constructing a visual device discovery and management interface, determining the target video surveillance device that responds to the multi-threaded search request and managing the target video surveillance device; abstracting the target video surveillance device into a virtual resource, and dynamically allocating the target video surveillance device according to user needs and system load. The technical solution of the embodiment of the present invention is adopted, and a multi-threaded mechanism is introduced to realize simultaneous search of multiple network addresses, thereby improving the efficiency of the system; through the visual device discovery and management interface, the user can easily manage the discovered target video surveillance devices, thereby reducing the workload of manual management. Through the plug-in architecture and the automatic identification function of the video surveillance device, the system can flexibly support video surveillance devices of different manufacturers and models, and conveniently add new device types and function extensions. The introduction of the target video surveillance device resource virtualization and dynamic scheduling algorithm enables the system to dynamically allocate the target video surveillance device resources according to actual needs and system load, thereby improving the resource utilization and system performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Other features, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings. The drawings are only for the purpose of illustrating preferred embodiments and are not to be considered as limiting the present invention. Also, the same reference symbols are used throughout the drawings to represent the same parts. In the drawings:
[0020] Figure 1 is a flow chart of a video surveillance device identification and management method provided in an embodiment of the present invention;
[0021] Figure 2 It is a structural diagram of a video surveillance device identification and management method provided in an embodiment of the present invention;
[0022] Figure 3 It is a structural diagram of a video surveillance equipment identification and management device provided in an embodiment of the present invention;
[0023] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0025] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the operations (or steps) as sequential processes, many of the operations (or steps) therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0026] Among them, the acquisition, storage, use and processing of data in the technical solution of this application are in compliance with the relevant provisions of national laws and regulations.
[0027] Figure 1 This is a flowchart of a video surveillance device identification and management method provided in an embodiment of the present invention. This embodiment is applicable to situations where video surveillance devices are identified and managed. The method of this embodiment can be executed by a video surveillance device identification and management device, and the device can be implemented in hardware and / or software. The device can be configured in a video surveillance device identification and management server. The method specifically includes the following steps:
[0028] S110: Determine video surveillance device search information, and establish a multi-threaded search request according to the search information.
[0029] The video surveillance device search information may refer to information that needs to be determined when searching for video surveillance devices, and the search information includes but is not limited to the video surveillance device type and the search range. For example, if the client needs to obtain video surveillance devices of video surveillance device type A and in network segment A in the local area network, the video surveillance device search information is the device type A and the address range of network segment A.
[0030] If a single thread searches for video surveillance devices, the search effect is poor; in the embodiment of the present invention, a multi-threaded search request is used to search for video surveillance devices. The multi-threaded search request may refer to initiating a search request for multiple network segments through multiple threads.
[0031] As an optional but non-limiting implementation, determining the video surveillance device search information and establishing a multi-threaded search request according to the search information includes but is not limited to steps A1-A2:
[0032] Step A1: Determine video surveillance device search information according to user needs and create a thread pool; wherein each thread corresponds to a network address.
[0033] Step A2: constructing a multi-threaded video surveillance device search request using the SOAP protocol according to the search information; the search request complies with the ONVIF protocol specification.
[0034] Among them, ONVIF (Open Network Video Interface Forum) protocol is a global standard that promotes the interconnection between network video surveillance devices. The main goal is to ensure that surveillance devices produced by different manufacturers can be seamlessly integrated into the same surveillance system to improve the compatibility and interoperability of the system. ONVIF protocol defines a series of services and interfaces, covering functions such as device management, media configuration, real-time video streaming and video analysis. These services and interfaces communicate through SOAP (Simple Object Access Protocol), thereby achieving collaborative work and data exchange between devices.
[0035] SOAP is a messaging protocol based on XML (Extensible Markup Language) that aims to facilitate interoperability between network services. SOAP uses HTTP (Hypertext Transfer Protocol) as the transmission protocol, which enables cross-platform and cross-language communication. SOAP messages are usually wrapped by an Envelope element, which defines the XML namespace and includes two main parts: Header and Body. The Header part is used to pass additional information, while the Body part contains the actual request and response data.
[0036] In the embodiment of the present invention, the SOAP protocol is used to construct a search request to determine the scope to be searched and the type of device; the search scope may refer to a network address range, such as a list of all IP addresses in a specific subnet. A thread pool is created, and each thread in the thread pool is responsible for sending a search request to a specific network address. A search request is written, and the code for the ONVIF search request is written to ensure compliance with the ONVIF protocol specification. In the embodiment of the present invention, a search request that complies with the ONVIF protocol specification is written, and a thread pool is created to introduce a multi-threading mechanism to realize simultaneous searching of multiple network addresses and improve the efficiency of the system.
[0037] As an optional but non-limiting implementation, after constructing the multi-threaded video surveillance device search request, the method further includes but is not limited to steps B1-B2:
[0038] Step B1: Send the multi-threaded video surveillance device search request in the form of a SOAP message, and search for video surveillance devices that match the search information.
[0039] Step B2: If there is a target video surveillance device that matches the search information, a search match response will be returned in the form of a SOAP message; the search match response includes metadata of the target video surveillance device, and the metadata includes the matching surveillance video device type, manufacturer, model, serial number, firmware version and service endpoint address.
[0040] In the embodiment of the present invention, the ONVIF protocol is used to achieve rapid discovery of the target video surveillance device. The ONVIF protocol allows the system to automatically scan the video surveillance devices in the local area network so that users can easily add the video surveillance devices to the system. In the ONVIF protocol, device discovery is a key component because it enables the client to automatically find ONVIF compatible devices on the network.
[0041] See also Figure 2, the client sends a search request through multiple threads to find ONVIF-compatible devices in the network; the search request is sent in the form of a SOAP message, which includes the search range and type for identifying the type of the target video surveillance device. When the ONVIF-compatible device receives the search request, if the video surveillance device matches the search range and type, it will return a search match (Probe Match) response; the search match response is also returned in the form of a SOAP message. The search match response contains the metadata of the target video surveillance device, such as the device type, manufacturer, model, serial number, firmware version information, and the service endpoint address of the device.
[0042] Optionally, for each IP address to be searched, a thread is taken from the thread pool and the address is passed as a parameter to the thread function. Each thread function passes the response data to the main thread when receiving the response, and the main thread is responsible for further processing. In the embodiment of the present invention, a secure channel (such as HTTPS) is used to transmit the search request and the search match response to ensure the confidentiality and integrity of the communication.
[0043] S120: construct a visualized device discovery and management interface, determine a target video surveillance device that responds to a match based on a multi-threaded search request, and manage the target video surveillance device.
[0044] In the embodiment of the present invention, a visual device discovery and management page is constructed to allow users to view and configure discovered video surveillance devices, for example, to determine the target video surveillance device corresponding to the search request, and to manage the target video surveillance device that matches the search response.
[0045] As an optional but non-limiting implementation, the construction of a visualized device discovery and management interface, determining a target video surveillance device that responds to a matching request based on a multi-threaded search request and managing the target video surveillance device, includes but is not limited to steps C1-C3:
[0046] Step C1: Build a visual device discovery and management interface.
[0047] Step C2: Determine the target video surveillance device that responds to the match according to the multi-threaded search request, and obtain metadata included in the target video surveillance device search match response.
[0048] Step C3: managing the target video surveillance device according to the metadata of the target video surveillance device; the management of the target video surveillance device includes function management, function expansion and performance optimization of the target video surveillance device.
[0049] Among them, a visual device discovery and management interface is constructed to manage the target video surveillance devices that are searched and matched. In the visual device discovery and management interface, the metadata of the target video surveillance device can be obtained, and the target video surveillance device can be managed based on the metadata. For example, the metadata includes the type and manufacturer of the target video surveillance device, and the target video surveillance device is classified according to the type and manufacturer of the target video surveillance device, so as to facilitate subsequent unified configuration and maintenance.
[0050] In the embodiment of the present invention, by constructing a visualized device discovery and management module, a user can easily manage discovered target video surveillance devices, including operations such as monitoring, configuration, and maintenance, thereby reducing the workload of manual management.
[0051] As an optional but non-limiting implementation, the management of the target video surveillance device includes but is not limited to steps D1-D2:
[0052] Step D1: construct a plug-in manager; the plug-in manager is used to load, unload and manage the target video surveillance device plug-in.
[0053] Step D2: define the plug-in interface mode and attributes to expand the functions of the target video surveillance device; wherein the plug-in interface is compatible with the target video surveillance device interface to ensure that the plug-in and the target video surveillance device can communicate.
[0054] Among them, a plug-in manager is constructed for loading, unloading and managing the target video surveillance device plug-in, and the plug-in interface mode and attributes are defined. The plug-in interface is compatible with the target video surveillance device interface to ensure that the plug-in and the target video surveillance device can communicate. In the embodiment of the present invention, through the plug-in architecture and the automatic identification function of the video surveillance device, the system can flexibly support video surveillance devices of different manufacturers and models, and conveniently add new device types and function extensions.
[0055] As an optional but non-limiting implementation, the management of the target video surveillance device further includes but is not limited to steps E1-E3:
[0056] Step E1: construct a target video surveillance device cache area, and store the metadata of the target video surveillance device accordingly.
[0057] Step E2: If the metadata information of the target video surveillance device changes, the metadata of the target video surveillance device is updated in a timely manner.
[0058] Step E3: If the storage period of the target video surveillance device has expired, the target video surveillance device is reacquired and the metadata of the target video surveillance device is updated.
[0059] Among them, when the gateway needs to access the metadata of the target video surveillance device, it first checks whether there is a corresponding cache object in the cache; if it exists, it reads directly from the cache; otherwise, it reads from the database and caches the read data. When the metadata of the target video surveillance device changes, the cache object is updated in time. When the cache object expires, it is necessary to reload the latest metadata of the target video surveillance device from the database and update the cache object. In the embodiment of the present invention, the use of caching technology improves the system's access speed to the metadata of the target video surveillance device, allowing users to obtain required information more quickly, thereby improving user experience.
[0060] In an optional solution of the embodiment of the present invention, the solution also performs performance testing and optimization on the monitoring system to ensure that the system can run stably and efficiently, provide good system performance and stability, and meet the user's requirements and expectations for the system.
[0061] S130: Abstract the target video surveillance device into a virtual resource, and dynamically allocate the target video surveillance device according to user demand and system load.
[0062] In the embodiment of the present invention, the target video surveillance device is abstracted as a virtual resource to schedule and manage the target video surveillance device resources. The abstraction of the target video surveillance device as a virtual resource may mean that the target video surveillance device resources are unitized to enable users to dynamically allocate the target video surveillance device resources according to demand and system load status.
[0063] As an optional but non-limiting implementation, the target video surveillance device is abstracted as a virtual resource, and the target video surveillance device is dynamically allocated according to user demand and system load, including but not limited to steps F1-F2:
[0064] Step F1: construct a virtual resource management class, virtualize the target video surveillance device and manage the virtual resources of the target video surveillance device.
[0065] Step F2: Determine the user's needs and the system load status, and dynamically allocate the target video surveillance device; wherein the user's needs include the clarity, resolution and bit rate of the required video surveillance device; the system load status includes the system memory.
[0066] Among them, a virtual resource class is created to represent the virtualized entity of the target video surveillance device resources, such as a unique identifier, status information, and physical resource associations. A resource management class is created to manage all physical resources and virtual resources of the target video surveillance device. A virtual resource allocation algorithm is designed to dynamically allocate target video surveillance device resources according to user needs and system load; the virtual resource allocation algorithm can be scheduled based on user priority, load balancing or resources. The embodiment of the present invention introduces a target video surveillance device resource virtualization and dynamic scheduling algorithm, so that the system can dynamically allocate target video surveillance device resources according to actual needs and system load, thereby improving resource utilization and system performance.
[0067] The embodiment of the present invention provides a video surveillance device identification and management method, by determining video surveillance device search information, and establishing a multi-threaded search request based on the search information; the search information includes the type of video surveillance device and the search range; constructing a visual device discovery and management interface, determining the target video surveillance device that responds to the match according to the multi-threaded search request and managing the target video surveillance device; abstracting the target video surveillance device into a virtual resource, and dynamically allocating the target video surveillance device according to user needs and system load. The technical solution of the embodiment of the present invention is adopted, and a multi-threaded mechanism is introduced to realize simultaneous search of multiple network addresses, thereby improving the efficiency of the system; through the visual device discovery and management interface, the user can easily manage the discovered target video surveillance devices, thereby reducing the workload of manual management. Through the plug-in architecture and the automatic identification function of the video surveillance device, the system can flexibly support video surveillance devices of different manufacturers and models, and conveniently add new device types and function extensions. The introduction of the target video surveillance device resource virtualization and dynamic scheduling algorithm enables the system to dynamically allocate the target video surveillance device resources according to actual needs and system load, thereby improving the resource utilization and system performance.
[0068] Figure 3 This is a schematic diagram of the structure of a video surveillance equipment identification and management device provided in an embodiment of the present invention. The technical solution of this embodiment can be applied to the situation of video surveillance equipment identification and management. The device can be implemented by software and / or hardware and is generally integrated on any electronic device with network communication function, including but not limited to: servers, computers, personal digital assistants and other devices. Figure 3 As shown, the video surveillance equipment identification and management device provided in this embodiment may include:
[0069] The multi-threaded search request building module 310 is used to determine video surveillance device search information and establish a multi-threaded search request based on the search information; the search information includes the video surveillance device type and the search range;
[0070] The video surveillance device management module 320 is used to construct a visual device discovery and management interface, determine the target video surveillance device that responds to the matching request based on the multi-threaded search request, and manage the target video surveillance device;
[0071] The device resource management and scheduling module 330 is used to abstract the target video surveillance device into a virtual resource and dynamically allocate the target video surveillance device according to user demand and system load.
[0072] Based on the above embodiment, optionally, the multi-threaded search request building module is specifically used to:
[0073] Determine the video surveillance device search information according to user needs and create a thread pool; each thread corresponds to a network address;
[0074] A multi-threaded video surveillance device search request is constructed using the SOAP protocol according to the search information; the search request complies with the ONVIF protocol specification.
[0075] Based on the above embodiment, optionally, the apparatus further includes a device search module, which is specifically used to:
[0076] Sending the multi-threaded video surveillance device search request in the form of a SOAP message, and searching for video surveillance devices matching the search information;
[0077] If there is a target video surveillance device that matches the search information, a search match response will be returned in the form of a SOAP message; the search match response includes metadata of the target video surveillance device, and the metadata includes the matching surveillance video device type, manufacturer, model, serial number, firmware version and service endpoint address.
[0078] Based on the above embodiment, optionally, the video surveillance device management module is specifically used to:
[0079] Build a visual device discovery and management interface;
[0080] Determine a target video surveillance device that responds to a match according to the multi-threaded search request, and obtain metadata included in the search match response of the target video surveillance device;
[0081] The target video surveillance device is managed according to the metadata of the target video surveillance device; and the managing of the target video surveillance device includes classifying the target video surveillance device according to the type of the target video surveillance device.
[0082] Based on the above embodiment, optionally, the device resource management and scheduling module is specifically used to:
[0083] Construct a virtual resource management class to virtualize the target video surveillance device and manage the virtual resources of the target video surveillance device;
[0084] Determine the user's needs and system load status, and dynamically allocate the target video surveillance equipment; wherein the user's needs include the clarity, resolution and bit rate of the required video surveillance equipment; the system load status includes system memory.
[0085] Based on the above embodiment, optionally, the video surveillance device management module is specifically used to:
[0086] Constructing a plug-in manager; the plug-in manager is used to load, unload and manage the target video surveillance device plug-in;
[0087] The plug-in interface mode and attributes are defined to expand the functions of the target video surveillance device; wherein the plug-in interface is compatible with the target video surveillance device interface to ensure that the plug-in and the target video surveillance device can communicate.
[0088] Based on the above embodiment, optionally, the video surveillance device management module is specifically used to:
[0089] Construct a target video surveillance device cache area and store the metadata of the target video surveillance device accordingly;
[0090] If the metadata information of the target video surveillance device changes, the metadata of the target video surveillance device is updated in a timely manner;
[0091] If the storage period of the target video surveillance device has expired, the target video surveillance device is reacquired and the metadata of the target video surveillance device is updated.
[0092] The video surveillance equipment identification and management device provided in the embodiment of the present invention can execute the video surveillance equipment identification and management method provided in any embodiment of the present invention mentioned above, and has the corresponding functions and beneficial effects of executing the video surveillance equipment identification and management method. For detailed process, please refer to the relevant operations of the video surveillance equipment identification and management method in the aforementioned embodiment.
[0093] Figure 41 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. The electronic device 10 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 may 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.
[0094] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0095] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0096] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the video surveillance device identification and management method.
[0097] In some embodiments, the video surveillance device identification and management method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the video surveillance device identification and management method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the video surveillance device identification and management method in any other appropriate manner (for example, by means of firmware).
[0098] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can 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.
[0099] 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.
[0100] 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 (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0101] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. 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).
[0102] 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: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0103] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0104] 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.
[0105] 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 video surveillance equipment identification and management method, characterized in that: The method comprises: Determine video surveillance device search information, and establish a multi-threaded search request based on the search information; the search information includes the video surveillance device type and the search range; Construct a visual device discovery and management interface, determine the target video surveillance device that responds to the matching request based on the multi-threaded search request, and manage the target video surveillance device; The target video surveillance device is abstracted as a virtual resource, and the target video surveillance device is dynamically allocated according to user demand and system load.
2. The method according to claim 1, characterized in that The determining of video surveillance device search information and establishing a multi-threaded search request according to the search information includes: Determine the video surveillance device search information according to user needs and create a thread pool; each thread corresponds to a network address; A multi-threaded video surveillance device search request is constructed using the SOAP protocol according to the search information; the search request complies with the ONVIF protocol specification.
3. The method according to claim 2, characterized in that After constructing the multi-threaded video surveillance device search request, the method further includes: Sending the multi-threaded video surveillance device search request in the form of a SOAP message, and searching for video surveillance devices matching the search information; If there is a target video surveillance device that matches the search information, a search match response will be returned in the form of a SOAP message; the search match response includes metadata of the target video surveillance device, and the metadata includes the matching surveillance video device type, manufacturer, model, serial number, firmware version and service endpoint address.
4. The method according to claim 1, characterized in that: The construction of a visualized device discovery and management interface, determining a target video surveillance device that responds to a match based on a multi-threaded search request and managing the target video surveillance device, includes: Build a visual device discovery and management interface; Determine a target video surveillance device that responds to a match according to the multi-threaded search request, and obtain metadata included in the search match response of the target video surveillance device; The target video surveillance device is managed according to the metadata of the target video surveillance device; the management of the target video surveillance device includes function management, function expansion and performance optimization of the target video surveillance device.
5. The method according to claim 1, characterized in that The managing of the target video surveillance device includes: Constructing a plug-in manager; the plug-in manager is used to load, unload and manage the target video surveillance device plug-in; The plug-in interface mode and attributes are defined to expand the functions of the target video surveillance device; wherein the plug-in interface is compatible with the target video surveillance device interface to ensure that the plug-in and the target video surveillance device can communicate.
6. The method according to claim 1, characterized in that The managing of the target video surveillance device also includes: Construct a target video surveillance device cache area and store the metadata of the target video surveillance device accordingly; If the metadata information of the target video surveillance device changes, the metadata of the target video surveillance device is updated in a timely manner; If the storage period of the target video surveillance device has expired, the target video surveillance device is reacquired and the metadata of the target video surveillance device is updated.
7. The method according to claim 1, characterized in that The target video surveillance device is abstracted as a virtual resource, and the target video surveillance device is dynamically allocated according to user demand and system load, including: Construct a virtual resource management class to virtualize the target video surveillance device and manage the virtual resources of the target video surveillance device; Determine the user's needs and system load status, and dynamically allocate the target video surveillance equipment; wherein the user's needs include the clarity, resolution and bit rate of the required video surveillance equipment; the system load status includes system memory.
8. A video surveillance equipment identification and management device, characterized in that: The device comprises: A multi-threaded search request building module, used to determine video surveillance device search information and establish a multi-threaded search request based on the search information; the search information includes the video surveillance device type and the search range; A video surveillance device management module is used to build a visual device discovery and management interface, determine the target video surveillance device that responds to the matching request based on the multi-threaded search request, and manage the target video surveillance device; The device resource management and scheduling module is used to abstract the target video surveillance device into a virtual resource and dynamically allocate the target video surveillance device according to user needs and system load.
9. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the video surveillance equipment identification and management method described in any one of claims 1-7.
10. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the video surveillance equipment identification and management method as described in any one of claims 1 to 7 when executed by a computer processor.
