View library clustering method and related device

By monitoring the system status and automatically allocating the view library address on the registration and distribution platform, the complex and cumbersome problems of the traditional view library clustering method are solved, and the automatic registration of monitoring equipment and the improvement of cluster efficiency are realized.

CN119364028APending Publication Date: 2025-01-24E SURFING VISION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411476837.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

In the prior art, after the scale of the view library cluster is expanded, the traditional clustering method is complex and cumbersome, and the workload is large, which reduces the cluster efficiency.

Method used

By monitoring the system status of each registered system on the registration distribution platform, responding to the device registration request of the target monitoring device, obtaining device information, and determining the target view library address based on the device information and system status, and automatically returning it to the monitoring device to make it based on This address sends a cluster registration request to the target registered system.

Benefits of technology

It realizes automatic registration of monitoring equipment, reduces manual intervention, reduces workload, improves cluster efficiency, and supports the management of large-scale view library clusters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119364028A_ABST
    Figure CN119364028A_ABST
Patent Text Reader

Abstract

The invention provides a view library clustering method and a related device. Wherein the lower-level view library system can be registered in the registration distribution platform, so that the registration distribution platform can monitor the system state of each registered system. When the monitoring equipment needs to be registered to a lower-level view library system, the registration distribution platform can automatically return the corresponding target view library address to the monitoring equipment according to the equipment information of the monitoring equipment and the system state of each registered system, so that the monitoring equipment can realize automatic registration based on the received target view library address. Therefore, manual intervention configuration is not needed, implementation is easy and convenient, the workload of the view library clustering process can be reduced, the clustering efficiency can be improved, and large-scale view library clustering can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a view library clustering method and related devices. Background Art

[0002] With the development and popularization of video surveillance technology, the number of surveillance devices has seen a significant increase. How to manage the video image information collected by each surveillance device has become an urgent problem to be solved. Due to the large number of surveillance devices and the large amount of traffic involved, the existing technology usually uses a view library cluster to provide view library services.

[0003] The view library cluster includes a cascaded upper view library system and a lower view library system. There are usually multiple lower view library systems, each of which is used to manage multiple monitoring devices. Specifically, after the monitoring device is turned on, it connects to the corresponding lower view library system and sends the video image information collected by the monitoring device to the connected lower view library system. The lower view library system can upload the received video image information to the cloud platform and determine the cloud storage address, and send the cloud storage address to the upper view library system, so that the upper view library system can implement address management according to the received cloud storage address.

[0004] In order to enable the monitoring equipment to automatically access its corresponding lower-level view library system after the equipment is turned on, the existing technology requires planning the registered IP (Internet Protocol) addresses of each lower-level view library system in advance, and manually configuring the corresponding registered IP addresses of the lower-level view library system in the monitoring equipment when installing and debugging the monitoring equipment. However, with the expansion of the scale of the view library cluster, the traditional clustering method has the problems of complexity and workload, which reduces the cluster efficiency. Summary of the invention

[0005] The purpose of this application is to solve at least one of the above-mentioned technical defects, especially the technical defects of the prior art that are complicated, cumbersome and labor-intensive.

[0006] In a first aspect, an embodiment of the present application provides a view library clustering method, which is applied to a registration allocation platform, and the method includes:

[0007] Monitoring the system status of each registered system; wherein the registered system is a lower-level view library system that has been registered to the registration allocation platform, and the system status is at least used to reflect whether the registered system is abnormal;

[0008] In response to a device registration request sent by a target monitoring device, the device information of the target monitoring device is obtained, and a target view library address is determined according to the device information and the system status of each of the registered systems; wherein the target view library address is a registered network address corresponding to the target registered system;

[0009] The target view library address is returned to the target monitoring device, so that the target monitoring device sends a cluster registration request to the target registered system based on the target view library address.

[0010] In one embodiment, the device information includes a device identification;

[0011] The determining the target view library address according to the device information and the system status of each of the registered systems includes:

[0012] According to the device identification, determining whether the target monitoring device is an important device;

[0013] If the target monitoring device is an important device, each dedicated view library system is determined in each registered system, and the target view library address is determined according to the system status of each dedicated view library system.

[0014] In one embodiment, determining the target view library address according to the system status of each dedicated view library system includes:

[0015] Based on the system status of each of the dedicated view library systems, determining that there is no abnormal dedicated view library system;

[0016] The first system load corresponding to each of the non-abnormal dedicated view library systems is obtained respectively, and the target view library address is determined according to each of the first system loads.

[0017] In one embodiment, the device information further includes a device network address and / or default location information;

[0018] The determining the target view library address according to the device information and the system status of each of the registered systems further includes:

[0019] If the target monitoring device is not an important device, determining each universal view library system in each of the registered systems;

[0020] Determine a device location corresponding to the target monitoring device based on the device network address and / or the default location information;

[0021] The target view library address is determined according to the device location and the system status of each of the universal view library systems.

[0022] In one embodiment, determining the target view library address according to the device location and the system status of each of the universal view library systems includes:

[0023] Determining a target universal system in each of the universal view library systems; wherein the target universal system is the universal view library system corresponding to the device location;

[0024] According to the system status of the target general system, determining whether the target general system has an abnormality;

[0025] If there is no abnormality in the target universal system, the registered network address corresponding to the target universal system is used as the target view library address;

[0026] If there is an abnormality in the target general system, the second system load corresponding to each non-target general system is obtained respectively, and the minimum load is determined among each second system load, and the registered network address corresponding to the minimum load is used as the target view library address; wherein each non-target general system is each general view library system except the target general system.

[0027] In a second aspect, an embodiment of the present application provides a view library clustering method, which is applied to a monitoring device, and the method includes:

[0028] In response to the power-on instruction of the monitoring device, a device registration request is sent to the registration allocation platform; wherein the device registration request is used to instruct the registration allocation platform to obtain the device information of the monitoring device, and determine the target view library address according to the device information and the system status of each registered system; the target view library address is the registration network address corresponding to the target registered system, the registered system is a lower-level view library system registered to the registration allocation platform, and the system status is at least used to reflect whether the registered system is abnormal;

[0029] The target view library address returned by the registration allocation platform is received, and a cluster registration request is sent to the target registered system based on the target view library address.

[0030] In one embodiment, the method further comprises:

[0031] If it is detected that the target registered system has an abnormality, resending the device registration request to the registration allocation platform;

[0032] The target view library address resent by the registration allocation platform is received, and a cluster registration request is sent to a corresponding target registered system based on the resent target view library address.

[0033] In a third aspect, an embodiment of the present application provides a view library cluster device, which is applied to a registration allocation platform, and the device includes:

[0034] A monitoring module, used to monitor the system status of each registered system; wherein the registered system is a lower-level view library system registered to the registration allocation platform, and the system status is at least used to reflect whether the registered system is abnormal;

[0035] An address determination module, configured to obtain device information of the target monitoring device in response to a device registration request sent by the target monitoring device, and determine a target view library address according to the device information and the system status of each of the registered systems; wherein the target view library address is a registered network address corresponding to the target registered system;

[0036] The address returning module is used to return the target view library address to the target monitoring device, so that the target monitoring device sends a cluster registration request to the target registered system based on the target view library address.

[0037] In a fourth aspect, an embodiment of the present application provides a view library cluster device, which is applied to a monitoring device, and the device includes:

[0038] A first request sending module is used to send a device registration request to the registration allocation platform in response to a power-on instruction of the monitoring device; wherein the device registration request is used to instruct the registration allocation platform to obtain device information of the monitoring device, and determine a target view library address according to the device information and the system status of each registered system; the target view library address is a registered network address corresponding to a target registered system, the registered system is a lower-level view library system registered to the registration allocation platform, and the system status is used to at least reflect whether the registered system is abnormal;

[0039] The first cluster registration module is used to receive the target view library address returned by the registration allocation platform, and send a cluster registration request to the target registered system based on the target view library address.

[0040] In a fifth aspect, an embodiment of the present application provides a view library cluster system, including:

[0041] A registration allocation platform, used to perform any of the steps of the above-mentioned view library clustering method applied to the registration allocation platform;

[0042] A monitoring device, communicatively connected to the registration allocation platform, is used to execute any of the steps of the above-mentioned view library clustering method applied to the monitoring device.

[0043] In the view library clustering method and related devices provided in some embodiments of the present application, the subordinate view library system can be registered in the registration allocation platform, so that the registration allocation platform can monitor the system status of each registered system. When the monitoring device needs to be registered in the subordinate view library system, the registration allocation platform can automatically return the corresponding target view library address to the monitoring device based on the device information of the monitoring device and the system status of each registered system, so that the monitoring device can realize automatic registration based on the received target view library address. In this way, there is no need for manual intervention configuration, and the implementation is simple, thereby reducing the workload of the view library clustering process, thereby improving the clustering efficiency, and realizing large-scale view library clustering. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0045] Figure 1 A diagram of an application environment of a view library clustering method in one embodiment;

[0046] Figure 2 One of the flowcharts of the view library clustering method in one embodiment;

[0047] Figure 3 This is a second flow chart of a view library clustering method in one embodiment;

[0048] Figure 4 This is a third flow chart of a view library clustering method in one embodiment;

[0049] Figure 5 One of the structural schematic diagrams of a view library cluster device in one embodiment;

[0050] Figure 6 This is the second structural diagram of the view library cluster device in one embodiment. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0052] The terms involved in this application are explained below.

[0053] GA / T1400 standard: The full name is "Public Security Video Image Information Application System", which can obtain the video image information of concern through the video image acquisition system or human-computer interaction, and provide storage, query, analysis, deployment and network sharing and other service functions.

[0054] GA / T1400 protocol: The transmission protocol for attribute objects such as images, video clips, and files in the GA / T1400 standard.

[0055] View Library: A data processing and application center that provides services such as storage, query, analysis, control, and network sharing of video image information.

[0056] It should be noted that the image / video acquisition, storage, use, processing, transmission, provision and disclosure involved in this application are in compliance with the relevant laws and regulations and do not violate public order and good customs.

[0057] In one embodiment, the view library clustering method provided by the present application can be applied to Figure 1 In the application environment shown, the upper view library system is respectively connected to each lower view library system in communication, and each lower view library system is respectively connected to the registration distribution center and the corresponding monitoring equipment in communication.

[0058] In this example, the lower-level view library system can be used to implement cloud storage of video image information, build a correspondence between video image information and cloud storage addresses, and upload the correspondence to the upper-level image library system. The upper-level view library system can be used to provide a view library center service for centrally managing the cloud storage addresses corresponding to each video image information.

[0059] Specifically, in the view library cluster method provided in the present application, each subordinate view library system and each monitoring device that needs to upload video image information can be registered to the registration distribution center. The registration distribution center can monitor the system status of each subordinate view library system respectively, and allocate a target view library address to the monitoring device, so that the monitoring device can complete the upstream registration based on the allocated target view library address and realize the interaction between the monitoring device and the upper view library system based on the upstream registration service.

[0060] In one example, each subordinate view library system can be a complete system, capable of independent resource management and independent authority allocation. Each subordinate view library system is independent of each other and can be run independently of the superior view library system.

[0061] In one embodiment, Figure 2 As shown, the present application provides an application Figure 1 The view library clustering method of the registration allocation platform shown in the figure specifically comprises the following steps:

[0062] S202: Monitor the system status of each registered system.

[0063] The registered system is a lower-level view library system that has been registered to the registration allocation platform. The system status of the registered system is at least used to reflect whether the registered system is abnormal, for example, whether the registered system can provide uplink services for monitoring equipment. In one example, the system status of the registered system can also be used to reflect the load pressure of the system, so that the registration allocation platform can automatically schedule and balance according to the load pressure of each system.

[0064] In this step, the subordinate view library system can be registered in the registration allocation platform, so that the registration allocation platform can monitor the system status of each registered system and determine whether each registered system has an abnormality based on the system status of the registered system.

[0065] In one example, for each registered system, the registration allocation platform can maintain a system connection with the registered system, detect heartbeats at regular intervals, and determine the system status of the registered system based on the heartbeat detection results. Furthermore, when the registration allocation platform determines that a registered system is abnormal, it can disconnect the connection between the registration allocation platform and the abnormal registered system to remove the abnormal registered system from the view library cluster.

[0066] S204: In response to the device registration request sent by the target monitoring device, the device information of the target monitoring device is obtained, and the target view library address is determined according to the device information and the system status of each registered system.

[0067] The device registration request refers to a request for registering the target monitoring device in the registration allocation platform, and the target monitoring device refers to the monitoring device that issues the device registration request. The target view library address is the registered network address corresponding to the target registered system, and the target registered system can be a registered system for providing uplink services to the target monitoring device. That is, the target monitoring device can exchange data with the upper view library system via the target registered system.

[0068] It can be understood that the registered network address of the present application can be an address used to uniquely identify the view library system, which can be but is not limited to an IP address or a domain name.

[0069] In this step, when the registration allocation platform receives a device registration request, it can take the monitoring device that sent the device registration request as the target monitoring device and obtain the device information of the target monitoring device to determine the device status of the target monitoring device through the device information. The registration allocation platform can determine the target registered system for providing uplink services to the target monitoring device from among the registered systems based on the device information and the system status of each registered system, and use the registered network address corresponding to the target registered system as the target view library address.

[0070] For example, the registration allocation platform may pre-set the correspondence between the monitoring device and the lower-level view library system. After obtaining the device information of the target monitoring device and the system status of the registered system, the registration allocation platform may determine the target view library address based on the device information, system status and preset correspondence.

[0071] S206: Return the target view library address to the target monitoring device, so that the target monitoring device sends a cluster registration request to the target registered system based on the target view library address.

[0072] In this step, when the target view library address is determined, the registration allocation platform can return the target view library address to the target monitoring device, so that the target monitoring device can automatically initiate registration with the corresponding subordinate view library system based on the target view library address, and when the registration is successful (i.e., the cluster is successful), the corresponding subordinate view library system can be used to realize data interaction with the view library center service.

[0073] In this application, the lower-level view library system can be registered in the registration allocation platform, so that the registration allocation platform can monitor the system status of each registered system. When the monitoring device needs to be registered in the lower-level view library system, the registration allocation platform can automatically return the corresponding target view library address to the monitoring device based on the device information of the monitoring device and the system status of each registered system, so that the monitoring device can automatically register based on the received target view library address. In this way, there is no need for manual intervention in the configuration, and the implementation is simple, thereby reducing the workload of the view library clustering process, thereby improving the clustering efficiency, and realizing large-scale view library clustering.

[0074] In one embodiment, the device information may include a device identification of the target monitoring device, and the device identification may be used to uniquely identify the monitoring device, that is, the device identifications corresponding to every two monitoring devices are different.

[0075] Determine the target view library address based on the device information and the system status of each registered system, including:

[0076] According to the device identification, determine whether the target monitoring device is an important device;

[0077] If the target monitoring device is an important device, each dedicated view library system is determined in each registered system, and the target view library address is determined according to the system status of each dedicated view library system.

[0078] In this embodiment, considering that some monitoring devices may be important monitoring devices, a dedicated server is required to transmit and process video image information. Therefore, when the target monitoring device is an important device, this embodiment can realize data interaction between the important device and the view center service through a dedicated view library system to ensure the security of video image information.

[0079] Specifically, the registration distribution center can determine whether the target monitoring device is an important device based on the device identification. For example, the registration distribution center can pre-store the device identifications of important devices, and compare the device identification of the target monitoring device with the pre-stored device identifications of important devices to determine whether the target monitoring device is an important device.

[0080] If the target monitoring device is determined to be an important device, the registration distribution center can determine a dedicated view library system from each registered system. The dedicated view library system refers to a lower-level view library system that specifically / preferentially provides view services for important devices.

[0081] When determining each dedicated view library system, the registration distribution center can determine the target registered system in each dedicated view library system according to the system status of each dedicated view library system, and obtain the target view library address accordingly, so that the target monitoring device can interact with the view center service via the dedicated view library system.

[0082] Exemplarily, the registration distribution center may determine a dedicated view library system without abnormality according to the system status of each dedicated view library system, and take any dedicated view library system without abnormality as a target registered system.

[0083] Taking into account that different view library systems correspond to different numbers of access monitoring devices and that different view library systems involve different traffic, in order to improve the upload efficiency of video image information and reduce the risk of information loss of video image information, this application can determine the target registered system based on the system load of the view library system.

[0084] In one embodiment, determining the target view library address according to the system status of each dedicated view library system includes:

[0085] Based on the system status of each dedicated view library system, determine that there is no abnormal dedicated view library system;

[0086] The first system load corresponding to each non-abnormal dedicated view library system is obtained respectively, and the target view library address is determined according to each first system load.

[0087] Among them, the non-abnormal dedicated view library system refers to a dedicated view library system without abnormalities. Since the system status of a registered system can reflect whether the registered system has abnormalities, the registration allocation center can determine the non-abnormal dedicated view library system in each dedicated view library system according to the system status of each dedicated view library system, that is, the dedicated view library system that can normally provide uplink services for the target monitoring device.

[0088] After determining each non-abnormal dedicated view library system, the registration allocation center can obtain the first system load corresponding to each non-abnormal dedicated view library system, and implement the allocation of the view library system accordingly. In one example, the registration allocation center can determine the minimum load among the first system loads, and use the non-abnormal dedicated view library system corresponding to the minimum load as the target registered system.

[0089] In one embodiment, the device information also includes a device network address and / or default location information, wherein the device network address refers to a logical address of the target monitoring device in the network, such as an IP address of the target monitoring device.

[0090] The default location information refers to the default geographical address set in the target monitoring device, for example, the geographical address set during the installation and debugging of the target monitoring device. It should be noted that the default location information of the target monitoring device and the actual location information of the target monitoring device may be the same or different. For example, the default address information of the target monitoring device may be City A, and the actual address information may be City A or City B.

[0091] Determine the target view library address based on the device information and the system status of each registered system, and also include:

[0092] Step A1: If the target monitoring device is not an important device, then determine each universal view library system in each registered system;

[0093] Step A2: Determine the device location corresponding to the target monitoring device based on the device network address and / or default location information;

[0094] Step A3: Determine the target view library address according to the device location and the system status of each general view library system.

[0095] In this embodiment, when the target monitoring device is not an important device, the registration distribution center can allocate a universal view library system to the target monitoring device, so that the target monitoring device can achieve uplink service with the view library center service through the universal view library system. Considering the large number of monitoring devices, in actual applications, monitoring devices can be managed by regional resources to facilitate the management of video image information in a large-scale view library cluster.

[0096] Specifically, when the target monitoring device is not an important device, the registration distribution center can determine the device location corresponding to the target monitoring device based on the device network address and / or default location information of the target monitoring device, and determine the target registered system in each registered universal view library system based on the device location and the system status of each universal view library system, thereby obtaining the target view library address.

[0097] In one example, the registration distribution center may pre-store the system location corresponding to the universal view library system. When determining the target registered system, the registration distribution center may determine the normal universal view library system according to the system status of each universal view library system, and according to the system location corresponding to the normal universal view library system and the device location corresponding to the target monitoring device, the normal universal view library system closest to the target monitoring device is used as the target registered system, and the target view library address is obtained accordingly.

[0098] Taking into account that different view library systems correspond to different numbers of access monitoring devices and that different view library systems involve different traffic, in order to improve the upload efficiency of video image information and reduce the risk of information loss of video image information, this application can determine the target registered system based on the system load of the view library system.

[0099] In one embodiment, determining the target view library address according to the device location and the system status of each universal view library system includes:

[0100] Step B1: determining a target universal system among various universal view library systems; wherein the target universal system is the universal view library system corresponding to the device location;

[0101] Step B2: judging whether the target general system has an abnormality according to the system status of the target general system;

[0102] Step B3: If there is no abnormality in the target general system, the registered network address corresponding to the target general system is used as the target view library address;

[0103] Step B4: If there is an abnormality in the target general system, the second system load corresponding to each non-target general system is obtained respectively, and the minimum load is determined among each second system load, and the registered network address corresponding to the minimum load is used as the target view library address; wherein each non-target general system is each general view library system except the target general system.

[0104] Specifically, the registration and allocation center can determine the target general system in each general view library system according to the device location of the target monitoring device. For example, the registration and allocation center can pre-set the correspondence between the device location and the general view library system. After obtaining the device location of the target monitoring device, the registration and allocation center can determine the target general system according to the device location of the target monitoring device and the pre-set correspondence.

[0105] After determining the target general system, the registration and allocation center can determine whether to allocate the target general system to the target monitoring device according to the system status of the target general system. Specifically, if the target general system is normal, it indicates that the target general system can provide an upstream service for the monitoring device. In this case, the registration and allocation center can use the target general system as the target registered system and use the registered network address corresponding to the target general system as the target view library address.

[0106] If the target general system has an abnormality, it indicates that the target general system cannot provide an upstream service for the monitoring device. If the target general system is allocated to the target monitoring device, the target monitoring device cannot interact with the view library center service. Therefore, the registration and allocation center needs to allocate a general view library system other than the target general system to the target monitoring device.

[0107] During the allocation process, the registration and allocation center can use the general view library systems other than the target general system as non-target general systems, and respectively obtain the system load of each non-target general system to obtain each second system load. The registration and allocation center can determine the minimum load among the second system loads, and use the non-target general system corresponding to the minimum load as the target registered system, and use the registered network address corresponding to the target registered system as the target view library address.

[0108] For example, the number of non-target general systems is 2, which are the first non-target general system and the second non-target general system respectively. If the system load corresponding to the first non-target general system is L1 and the system load corresponding to the second non-target general system is L2, then when L1 < L2, the registered network address corresponding to the first non-target general system is used as the target view library address.

[0109] In one embodiment, the present application provides a view library clustering method applied to Figure 1 the monitoring device shown. In one example, the aforementioned monitoring device can be a monitoring device based on the GA / T1400 protocol.

[0110] As Figure 3 shown, the view library clustering method applied to the monitoring device can specifically include the following steps:

[0111] S302: In response to the power-on instruction of the monitoring device, a device registration request is sent to the registration allocation platform.

[0112] Among them, the device registration request is used to instruct the registration allocation platform to obtain the device information of the monitoring device, and determine the target view library address based on the device information and the system status of each registered system; the target view library address is the registration network address corresponding to the target registered system, the registered system is the lower-level view library system that has been registered to the registration allocation platform, and the system status is at least used to reflect whether the registered system is abnormal.

[0113] In this step, after the monitoring device is turned on, it can send a device registration request to the registration allocation platform to register the monitoring device in the registration allocation platform. After receiving the device registration request, the registration allocation platform can determine the target view library address corresponding to the monitoring device based on the view library clustering method applied to the registration allocation platform described in any of the above embodiments, and return the target view library address to the monitoring device.

[0114] S304: Receive the target view library address returned by the registration allocation platform, and send a cluster registration request to the target registered system based on the target view library address.

[0115] In this step, when the monitoring device receives the target view library address returned by the registration allocation platform, it can automatically initiate registration with the lower-level view library system corresponding to the target view library address (i.e., the target registered system described in the embodiment of this article) to try to join the view library cluster and interact with the view library central service through the target registered system. In this way, no manual intervention configuration is required, and the implementation is simple, thereby reducing the workload of the view library cluster process, thereby improving cluster efficiency, and realizing large-scale view library clustering.

[0116] In one example, if the monitoring device successfully registers to the target registered system, the monitoring device may maintain a heartbeat with the target registered system.

[0117] In one embodiment, the view library clustering method of the present application further includes the following steps:

[0118] If an abnormality is detected in the target registered system, a device registration request is resent to the registration allocation platform;

[0119] Receive the target view library address resent by the registration allocation platform, and send a cluster registration request to the corresponding target registered system based on the resent target view library address.

[0120] Specifically, after the monitoring device initiates cluster registration with the target registered system, if an abnormality is detected in the target registered system, it means that the currently determined target registered system cannot provide uplink services for the monitoring device. In this case, the monitoring device can resend a device registration request to the registration allocation platform to instruct the registration allocation center to reassign the target registered system to the monitoring device, so that the monitoring device can automatically redirect registration.

[0121] After sending the device registration request again, the monitoring device may receive the target view library address returned by the registration allocation platform in response to the resent device registration request, and accordingly send a cluster registration request to the new subordinate view library system.

[0122] In this embodiment, when an abnormality occurs in the lower-level view library system, the application can automatically redirect the registration process to register the monitoring device to the new lower-level view library system to provide the view library service to the monitoring device. In this way, the maintenance problem of fault scheduling and transfer can be solved, and the automatic maintenance and efficient operation of the large-scale view library cluster can be ensured.

[0123] To facilitate understanding of the solution of the present application, a specific example is provided below for illustration.

[0124] In one example, if Figure 4 As shown, the present application provides a view library clustering method, including:

[0125] S402: the first subordinate view library system sends a system registration request to register the first subordinate view library system to the registration distribution center;

[0126] S404: the registration distribution center returns a system registration result to the first subordinate view library system in response to the system registration request sent by the first subordinate view library system;

[0127] S406: the second subordinate view library system sends a system registration request to register the second subordinate view library system to the registration distribution center;

[0128] S408: the registration distribution center returns a system registration result to the second subordinate view library system in response to the system registration request sent by the second subordinate view library system;

[0129] S410: The monitoring device sends a device registration request to register the monitoring device to the registration distribution center;

[0130] S412: the registration distribution center returns the registration network address corresponding to the first subordinate view library system to the monitoring device in response to the device registration request;

[0131] S414: The monitoring device sends a cluster registration request to the first subordinate view library system according to the registration network address corresponding to the first subordinate view library system;

[0132] S416: the first subordinate view library system registers the monitoring device into the first subordinate view library system in response to the cluster registration request, and returns a registration success message to the monitoring device if the registration is successful;

[0133] S418: The monitoring device uploads the video image information to the first subordinate view library system;

[0134] S420: The first lower-level view library system uploads video image information to the upper-level view library system;

[0135] S422: When the first subordinate view library system fails, the registration distribution center removes the first subordinate view library system to remove the first subordinate view library system from the view library cluster;

[0136] S424: When the first subordinate view library system fails, the monitoring device resends the device registration request to the registration distribution center;

[0137] S426: the registration distribution center returns the registration network address corresponding to the second subordinate view library system to the monitoring device in response to the device registration request;

[0138] S428: The monitoring device sends a cluster registration request to the second subordinate view library system according to the registration network address corresponding to the second subordinate view library system;

[0139] S430: the second subordinate view library system registers the monitoring device into the second subordinate view library system in response to the cluster registration request, and returns a registration success message to the monitoring device if the registration is successful;

[0140] S432: The monitoring device uploads the video image information to the second lower-level view library system;

[0141] S434: The second lower-level view library system uploads the video image information to the upper-level view library system.

[0142] The following describes a view library cluster device applied to a registration allocation center provided in an embodiment of the present application. The view library cluster device applied to a registration allocation center described below and the view library cluster method applied to a registration allocation center described above can be referenced to each other.

[0143] In one embodiment, Figure 5 As shown, the present application provides a view library cluster device 500 applied to a registration distribution center, including:

[0144] The monitoring module 502 is used to monitor the system status of each registered system; wherein the registered system is a lower-level view library system registered to the registration allocation platform, and the system status is at least used to reflect whether the registered system is abnormal;

[0145] The address determination module 504 is used to obtain the device information of the target monitoring device in response to the device registration request sent by the target monitoring device, and determine the target view library address according to the device information and the system status of each registered system; wherein the target view library address is the registered network address corresponding to the target registered system;

[0146] The address returning module 506 is used to return the target view library address to the target monitoring device, so that the target monitoring device sends a cluster registration request to the target registered system based on the target view library address.

[0147] In one embodiment, the device information includes a device identifier. The address determination module 504 of the present application includes:

[0148] An important device identification unit, used to determine whether the target monitoring device is an important device according to the device identification;

[0149] The first address determining unit is used to determine each dedicated view library system in each registered system if the target monitoring device is an important device, and determine the target view library address according to the system status of each dedicated view library system.

[0150] In one embodiment, the first address determination unit of the present application includes:

[0151] A first abnormal system screening unit, configured to determine a non-abnormal dedicated view library system based on the system status of each of the dedicated view library systems;

[0152] The first load screening unit is used to respectively obtain the first system load corresponding to each of the non-abnormal dedicated view library systems, and determine the target view library address according to each of the first system loads.

[0153] In one embodiment, the device information also includes the device network address and / or default location information. The address determination module 504 of the present application also includes:

[0154] A universal system determination unit, configured to determine each universal view library system in each of the registered systems if the target monitoring device is not an important device;

[0155] A device location determination unit, configured to determine a device location corresponding to the target monitoring device based on the device network address and / or the default location information;

[0156] The second address determining unit is used to determine the target view library address according to the device location and the system status of each of the universal view library systems.

[0157] In one embodiment, the second address determination unit of the present application includes:

[0158] A universal system determining unit, configured to determine a target universal system in each of the universal view library systems; wherein the target universal system is the universal view library system corresponding to the device location;

[0159] A second abnormal system screening unit, used for judging whether the target general system has an abnormality according to the system state of the target general system;

[0160] A universal address determination unit, configured to use the registered network address corresponding to the target universal system as the target view library address if there is no abnormality in the target universal system;

[0161] The second load screening unit is used to obtain the second system load corresponding to each non-target general system respectively if there is an abnormality in the target general system, and determine the minimum load among each second system load, and use the registered network address corresponding to the minimum load as the target view library address; wherein each non-target general system is each general view library system except the target general system.

[0162] The following describes a view library cluster device applied to a monitoring device provided in an embodiment of the present application. The view library cluster device applied to a monitoring device described below and the view library cluster method applied to a monitoring device described above can be referenced to each other.

[0163] In one embodiment, Figure 6 As shown, the present application provides a view library cluster device 600 applied to a monitoring device, including:

[0164] The first request sending module 602 is used to send a device registration request to the registration allocation platform in response to the power-on instruction of the monitoring device; wherein the device registration request is used to instruct the registration allocation platform to obtain the device information of the monitoring device, and determine the target view library address according to the device information and the system status of each registered system; the target view library address is the registration network address corresponding to the target registered system, the registered system is a lower-level view library system registered to the registration allocation platform, and the system status is at least used to reflect whether the registered system is abnormal;

[0165] The first cluster registration module 604 is configured to receive the target view library address returned by the registration allocation platform, and send a cluster registration request to the target registered system based on the target view library address.

[0166] In one embodiment, the view library cluster device 600 applied to the monitoring device further includes:

[0167] A second request sending module, configured to resend a device registration request to the registration allocation platform if an abnormality is detected in the target registered system;

[0168] The second cluster registration module is used to receive the target view library address resent by the registration allocation platform, and send a cluster registration request to the corresponding target registered system based on the resent target view library address.

[0169] In one embodiment, the present application also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the view library clustering method applied to the registration distribution center in any embodiment, and / or the steps of the view library clustering method applied to the monitoring device in any embodiment.

[0170] In one embodiment, the present application provides a view library cluster system, including:

[0171] A registration allocation platform, used for the steps of the view library clustering method applied to the registration allocation platform as described in any of the above embodiments;

[0172] The monitoring device is communicatively connected to the registration allocation platform and is used to execute the steps of the view library clustering method applied to the monitoring device described in any of the above embodiments.

[0173] In one embodiment, the view library cluster system of the present application may further include: an upper-level view library system and at least one lower-level view library system;

[0174] The upper-level view library system is communicatively connected to each lower-level view library system, and each lower-level view library system is communicatively connected to the registration and distribution platform.

[0175] For the relevant descriptions of the registration allocation platform, monitoring equipment, lower-level view library system and upper-level view library system and the steps performed by each platform / system / device, please refer to the above embodiments, which will not be repeated here.

[0176] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements not only includes those elements, but also includes other elements not clearly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements. Herein, "one", "one", "said", "the" and "it" may also include plural forms, unless the context clearly indicates another way. A plurality refers to at least two cases, such as 2, 3, 5 or 8, etc. "And / or" includes any and all combinations of the relevant listed items.

[0177] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.

[0178] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A view library clustering method, characterized in that: Applied to a registration distribution platform, the method comprises: Monitoring the system status of each registered system; wherein the registered system is a lower-level view library system that has been registered to the registration allocation platform, and the system status is at least used to reflect whether the registered system is abnormal; In response to a device registration request sent by a target monitoring device, the device information of the target monitoring device is obtained, and a target view library address is determined according to the device information and the system status of each of the registered systems; wherein the target view library address is a registered network address corresponding to the target registered system; The target view library address is returned to the target monitoring device, so that the target monitoring device sends a cluster registration request to the target registered system based on the target view library address.

2. The method according to claim 1, characterized in that: The device information includes a device identifier; The determining the target view library address according to the device information and the system status of each of the registered systems includes: According to the device identification, determining whether the target monitoring device is an important device; If the target monitoring device is an important device, each dedicated view library system is determined in each registered system, and the target view library address is determined according to the system status of each dedicated view library system.

3. The method according to claim 2, characterized in that The step of determining the target view library address according to the system status of each dedicated view library system includes: Based on the system status of each of the dedicated view library systems, determining that there is no abnormal dedicated view library system; The first system load corresponding to each of the non-abnormal dedicated view library systems is obtained respectively, and the target view library address is determined according to each of the first system loads.

4. The method according to claim 2 or 3, characterized in that: The device information also includes the device network address and / or default location information; The determining the target view library address according to the device information and the system status of each of the registered systems further includes: If the target monitoring device is not an important device, determining each universal view library system in each of the registered systems; Determine a device location corresponding to the target monitoring device based on the device network address and / or the default location information; The target view library address is determined according to the device location and the system status of each of the universal view library systems.

5. The method according to claim 4, characterized in that The determining the target view library address according to the device location and the system status of each of the universal view library systems includes: Determining a target universal system in each of the universal view library systems; wherein the target universal system is the universal view library system corresponding to the device location; According to the system status of the target general system, determining whether the target general system has an abnormality; If there is no abnormality in the target universal system, the registered network address corresponding to the target universal system is used as the target view library address; If there is an abnormality in the target general system, the second system load corresponding to each non-target general system is obtained respectively, and the minimum load is determined among each second system load, and the registered network address corresponding to the minimum load is used as the target view library address; wherein each non-target general system is each general view library system except the target general system.

6. A view library clustering method, characterized in that: Applied to monitoring equipment, the method comprises: In response to the power-on instruction of the monitoring device, a device registration request is sent to the registration allocation platform; wherein the device registration request is used to instruct the registration allocation platform to obtain the device information of the monitoring device, and determine the target view library address according to the device information and the system status of each registered system; the target view library address is the registration network address corresponding to the target registered system, the registered system is a lower-level view library system registered to the registration allocation platform, and the system status is at least used to reflect whether the registered system is abnormal; The target view library address returned by the registration allocation platform is received, and a cluster registration request is sent to the target registered system based on the target view library address.

7. The method according to claim 6, characterized in that The method further comprises: If it is detected that the target registered system has an abnormality, resending the device registration request to the registration allocation platform; The target view library address resent by the registration allocation platform is received, and a cluster registration request is sent to a corresponding target registered system based on the resent target view library address.

8. A view library cluster device, characterized in that: Applied to a registration distribution platform, the device comprises: A monitoring module, used to monitor the system status of each registered system; wherein the registered system is a lower-level view library system registered to the registration allocation platform, and the system status is at least used to reflect whether the registered system is abnormal; An address determination module, configured to obtain device information of the target monitoring device in response to a device registration request sent by the target monitoring device, and determine a target view library address according to the device information and the system status of each of the registered systems; wherein the target view library address is a registered network address corresponding to the target registered system; The address returning module is used to return the target view library address to the target monitoring device, so that the target monitoring device sends a cluster registration request to the target registered system based on the target view library address.

9. A view library cluster device, characterized in that: Applied to monitoring equipment, the device comprises: A first request sending module is used to send a device registration request to the registration allocation platform in response to a power-on instruction of the monitoring device; wherein the device registration request is used to instruct the registration allocation platform to obtain device information of the monitoring device, and determine a target view library address according to the device information and the system status of each registered system; the target view library address is a registered network address corresponding to a target registered system, the registered system is a lower-level view library system registered to the registration allocation platform, and the system status is used to at least reflect whether the registered system is abnormal; The first cluster registration module is used to receive the target view library address returned by the registration allocation platform, and send a cluster registration request to the target registered system based on the target view library address.

10. A view library cluster system, characterized in that: include: A registration distribution platform, used to execute the steps of the view library clustering method according to any one of claims 1 to 5; The monitoring device is communicatively connected to the registration allocation platform and is used to execute the steps of the view library clustering method as described in claim 6 or 7.