CN111782435B - Method and system for recovering and processing cascade exception of video monitoring management platform - Google Patents

Method and system for recovering and processing cascade exception of video monitoring management platform Download PDF

Info

Publication number
CN111782435B
CN111782435B CN202010634354.7A CN202010634354A CN111782435B CN 111782435 B CN111782435 B CN 111782435B CN 202010634354 A CN202010634354 A CN 202010634354A CN 111782435 B CN111782435 B CN 111782435B
Authority
CN
China
Prior art keywords
equipment
organization
virtual
platform
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010634354.7A
Other languages
Chinese (zh)
Other versions
CN111782435A (en
Inventor
宁培兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Unisinsight Technology Co Ltd
Original Assignee
Chongqing Unisinsight Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Unisinsight Technology Co Ltd filed Critical Chongqing Unisinsight Technology Co Ltd
Priority to CN202010634354.7A priority Critical patent/CN111782435B/en
Publication of CN111782435A publication Critical patent/CN111782435A/en
Application granted granted Critical
Publication of CN111782435B publication Critical patent/CN111782435B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Abstract

The invention provides a method and a system for recovering and processing cascade exception of a video monitoring management platform, wherein the method comprises the following steps: when an organization is added to a cascaded lower platform, virtual equipment of the organization is created, the cascaded lower platform pushes shared resources to an upper platform, and after the network connection of the upper platform and the lower platform is abnormal and recovered, the upper platform searches the shared organization and the virtual equipment resources to obtain a search result; comparing the retrieval result with the organization and the virtual equipment before abnormality, and judging whether the equipment information under the organization is changed; if the virtual equipment is changed, the superior platform searches the equipment resources of the organization where the virtual equipment corresponding to the change is located, and completes equipment information synchronization; in the invention, the synchronization time is very short after the cascade relation is recovered, and the synchronization of all the equipment information can be completed only within a dozen seconds when equipment with 10 ten thousand orders of magnitude is pushed.

Description

Method and system for recovering and processing cascade exception of video monitoring management platform
Technical Field
The invention relates to the field of security and protection and the field of communication, in particular to a method and a system for recovering and processing cascade abnormity of a video monitoring management platform.
Background
The method comprises the following steps that a superior level relation connection is carried out between two security monitoring platforms through respective signaling safety routing gateways of the two platforms, a superior level central signaling control server can call monitoring resources administered by a subordinate level central signaling control server through the signaling safety routing gateways, the subordinate level central signaling control server uploads the monitoring resources administered by a local level central signaling control server or shares the superior level monitoring resources to the superior level central signaling control server through the signaling safety routing gateways, and the scene is called the cascade connection of the two security monitoring platforms.
However, in the actual service implementation process, the lower platform may push hundreds of thousands or more monitoring point network camera channels to the upper platform, and in this case, once a connection needs to be reestablished after a network anomaly or a platform service anomaly occurs between the upper and lower platforms, the upper platform will resend the device resource retrieval command to the lower platform, so that the data and the device state are kept consistent between the upper and lower platforms. However, when the device resources pushed by the lower-level platform reach hundreds of thousands or more, each device needs to be retrieved by the upper-level platform again, which results in that the time for the upper-level platform to finish retrieving all pushed resources once is quite long, even reaching more than several hours, so how to improve the data synchronization efficiency between the upper-level platform and the lower-level platform, reduce the data synchronization time after the upper-level platform and the lower-level platform are reconnected, and improve the scene customer experience becomes a difficult point.
Disclosure of Invention
In view of the above drawbacks of the prior art, the present invention provides a method and a system for processing cascade exception recovery of a video monitoring management platform to solve the above technical problems.
The invention provides a method for recovering and processing cascade exception of a video monitoring management platform, which comprises the following steps:
when a cascade lower platform adds an organization, creating virtual equipment of the organization, wherein the virtual equipment at least comprises virtual equipment name information and address information used for representing the states of all equipment of the organization;
the cascade lower platform pushes shared resources to the upper platform, and the shared resources comprise organization information, all physical equipment information and virtual equipment information under the organization;
when the network connection of the upper and lower platforms is abnormal and recovered, the upper platform carries out equipment resource retrieval on the shared organization to obtain a retrieval result;
comparing the retrieval result with the virtual equipment before abnormality, and judging whether the equipment information under the organization is changed;
if the virtual equipment is changed, the superior platform searches the equipment resources of the organization where the virtual equipment corresponding to the change is located, and completes equipment information synchronization.
Optionally, the cascade lower platform pushes the abstract of the virtual device as a shared resource to the upper platform together with all shared resources, and converts the abstract into a virtual device name used for representing device resource information, where the device resource information includes a virtual device system code, a device name, a device manufacturer, a device type, a device state, a device address, and a device location.
Optionally, if the search result is consistent with the name of the virtual device before the abnormality, determining that no change occurs;
if the search result is not consistent with the virtual equipment name before the abnormality, determining to change;
and if the judgment result is that no change occurs, setting the equipment state under the organization according to the address information.
Optionally, the address information at least includes the number of devices in the organization to which the address information belongs and the device status.
Optionally, the virtual device further includes a virtual device system code, where the virtual device system code includes a center code, an industry code, a type code, and a serial number.
Optionally, the virtual device further includes information of a platform device to which the virtual device belongs and information of an organization code of the virtual device, where the information of the platform device to which the virtual device belongs and the information of the organization code of the virtual device to which the virtual device belongs are the same as the generation rules of the common devices in the organization.
The invention also provides a system for processing cascade abnormal recovery of the video monitoring management platform, which comprises:
the system comprises a cascade lower platform, an upper platform, a judging module, a retrieval module and a virtual equipment module, wherein the virtual equipment module is used for creating virtual equipment when the cascade lower platform adds an organization, and the virtual equipment at least comprises virtual equipment name information and address information used for representing the states of all equipment of the organization;
the cascade lower platform pushes all shared resources to the upper platform, and the shared resources comprise organization information, all physical equipment information and virtual equipment information under the organization;
when the network connection of the upper and lower platforms is abnormal and recovered, the upper platform carries out equipment resource retrieval on the shared organization to obtain a retrieval result;
the judging module compares the retrieval result with the virtual equipment before abnormality and judges whether the organized equipment information is changed;
if the virtual equipment is changed, the superior platform searches the equipment resources of the organization where the virtual equipment corresponding to the change is located, and completes equipment information synchronization.
Optionally, the cascade lower platform pushes the abstract of the virtual device as a shared resource to the upper platform together with all shared resources, and converts the abstract into a virtual device name used for representing device resource information, where the device resource information includes a virtual device system code, a device name, a device manufacturer, a device type, a device state, a device address, and a device location;
if the retrieval result is consistent with the name of the virtual equipment before the abnormality, determining that no change occurs;
if the search result is not consistent with the virtual equipment name before the abnormality, determining to change;
and if the judgment result is that no change occurs, setting the equipment state under the organization according to the address information.
The present invention also provides a computer-readable storage medium having stored thereon a computer program characterized in that: the program when executed by a processor implements the method of any one of the above.
The present invention also provides an electronic terminal, comprising: a processor and a memory;
the memory is adapted to store a computer program and the processor is adapted to execute the computer program stored by the memory to cause the terminal to perform the method as defined in any one of the above.
The invention has the beneficial effects that: according to the method for recovering the cascade abnormity of the video monitoring management platform, the recovery time is only related to the pushing time and the amount of the information and the state change of the lower-level platform organization and the equipment tree after the cascade abnormity is disconnected, if the lower-level platform does not have the information change during the whole disconnection of the cascade relation, the synchronization time after the cascade relation is recovered is very short, and the synchronization of all the equipment information can be completed by pushing equipment with the magnitude of 10 ten thousand within only a dozen seconds.
Drawings
Fig. 1 is a schematic diagram of virtual device system codes in a video monitoring management platform cascade exception recovery processing method according to an embodiment of the present invention.
Fig. 2 is a schematic processing flow diagram of a video monitoring management platform cascade exception recovery processing method in the embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
In the following description, numerous details are set forth to provide a more thorough explanation of embodiments of the present invention, however, it will be apparent to one skilled in the art that embodiments of the present invention may be practiced without these specific details, and in other embodiments, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring embodiments of the present invention.
The method for processing cascade exception recovery of the video monitoring management platform in the embodiment comprises the following steps:
when a cascade lower platform adds an organization, virtual equipment of the organization is created, wherein the virtual equipment at least comprises virtual equipment name information and address information used for representing the states of all equipment of the organization;
the cascade lower platform pushes shared resources to the upper platform, and the shared resources comprise organization information, all physical equipment information and virtual equipment information under the organization;
when the network connection of the upper and lower platforms is abnormal and recovered, the upper platform searches the shared organization and virtual equipment resources to obtain a search result;
comparing the retrieval result with the organization and the virtual equipment before the abnormality, and judging whether the equipment information under the organization is changed;
if the virtual equipment is changed, the superior platform searches the equipment resources of the organization where the virtual equipment corresponding to the change is located, and completes equipment information synchronization.
In this embodiment, when the device resources pushed to the upper platform by the lower platform reach one hundred thousand or more, the data synchronization efficiency between the upper and lower platforms can be greatly improved, the data synchronization time after the upper and lower platforms are reconnected is reduced, and the scene customer experience is improved.
In this embodiment, when a lower platform is cascaded to a higher platform to push shared resources for the first time, a virtual Device0 is created for each organization of the shared resources, the virtual Device does not participate in the actual service of the security monitoring platform, and only serves as an information digest storage object of each shared resource organization, and is pushed to the higher platform together, the higher platform receives the virtual Device0 of each shared organization and stores the same with the common Device in the same manner, and the digest of the virtual Device in this embodiment is an MD5 digest.
In this embodiment, the cascade lower platform pushes the abstract of the virtual device as the shared resource to the upper platform together with all the shared resources, and converts the abstract into a virtual device name used for representing device resource information, where the device resource information includes a virtual device system code, a device name, a device manufacturer, a device type, a device state, a device address, and a device location. After the cascade abnormal scene is reconnected, each shared resource organization of the lower platform only needs to recalculate the abstract of the shared Device under the organization and give the abstract to the Device0 of the organization, and pushes the Device0 Device information to the upper platform for abstract comparison, so that whether the Device information under the corresponding shared organization changes can be determined, the aim of synchronizing all the Device information under the organization to the upper platform through the retrieval message of one Device is achieved, the synchronization speed of the cascade abnormal scene Device is greatly improved, and the service recovery time is reduced.
In this embodiment, the most important attribute fields of the virtual Device0 are: the virtual device system code includes a device id (deviceid), a device Name (Name), an affiliated platform device (Owner), a CivilCode (CivilCode), and an Address (Address). The virtual device system code includes a center code, an industry code, a type code and a serial number, optionally, the generation rule is generated according to the requirement of GB/T28181-. Wherein, the type code (3 bits) is a virtual device, and the type code of the GB/T28181-2016 protocol does not define the type of the virtual device, and this embodiment adopts 600 in the protocol extension type code segment as the type code of the virtual device, taking the "north yu district" as an example, and the other field codes are as shown in fig. 1.
In this embodiment, the Device Name (Name) of the virtual Device is generated by using Device0 as the prefix of the Device Name, optionally, "_" as a separator, and calculating a 128-bit MD5 digest character string as a Name value after the separator with other shared Device resource information (Device ID, Device Name, Device manufacturer, Device type, Device status, Device address, Device longitude, Device latitude, etc.) of the shared organization where the virtual Device is located. In this embodiment, the device field (Owner) of the belonging platform is the same as the generation rule of the general device in the organization, i.e. the national standard code ID of the platform where the virtual device is located. The information of the organization code (CivilCode) is the same as the generation rule of the ordinary device in the organization, i.e. the ID of the organization in which the virtual device is located.
In this embodiment, the Address information at least includes the number of devices in the organization to which the virtual Device belongs and the Device status, and since the virtual Device does not correspond to an actual geographic location, this field is used in this embodiment to store the on/off-line status of all real devices in the organization in which the virtual Device0 is located; optionally, the specific method is that the Address is an decimal character string + "_" + device status code of the number of real devices under the organization, and the device status code records the on/off status of the real device under the shared organization. Sorting the DeviceIDs of all shared devices in the shared organization from small to large, checking the state of each device, if the device is online, the state is 1, and if the device is offline, the state is 0, and forming a device state code character string by the states of all the devices according to the sequence.
In this embodiment, in the first data synchronization stage of the virtual devices in the shared organization, when the upper and lower platforms create a cascade relationship, the lower platform pushes the virtual Device0 in each shared organization to the upper platform in the same way as the normal Device, the upper platform saves the data of the virtual Device in the same way as the normal Device, but the virtual Device0 does not support other services, and when the cascade relationship is normal, and information or status of the Device to which the shared organization belongs is updated, the upper and lower platforms need to synchronously update the Device name of the virtual Device0 and the corresponding field value of the address recording the status distribution of the Device in the organization. After the cascade connection is abnormally interrupted, the information of the Device0 on the upper platform is kept consistent with that before the interruption, and for the common shared Device, after the cascade connection is interrupted, the information of the Device is not changed, and the Device state is set to be offline, but for the virtual Device, the information is still kept consistent with that before the interruption, so that the comparison is carried out when the cascade connection state is recovered. After the cascade connection relationship is restored again, the superior platform only needs to retrieve the information of the organization shared by the subordinate platform and the virtual machine Device0 of each organization, compares the received information of the virtual Device0 with the state code and the historical data, and can judge whether the shared information of the organization is changed, if the Device information and the Device state code are not changed, the Device state pushed by cascade connection can be set to be on-line or off-line directly according to the state code, if the abstracts of the virtual Device devices 0 of some organizations are inconsistent, only the Device corresponding to the organization needs to be retrieved, and all the organized devices do not need to be retrieved. If the abstracts of the virtual devices 0 of some organizations are consistent, only the corresponding state codes of the address fields are different, the Device states are set according to the corresponding state codes, so that the data synchronization time among the cascading platforms is greatly reduced, and the data synchronization efficiency is improved.
As shown in fig. 2, the following further explains the processing flow before and after the exception recovery of the cascade relation of the upper and lower platforms by a specific embodiment:
s101, when an organization is added, the cascade subordinate platform automatically creates a virtual Device0 of the organization, and maintains an abstract of a virtual Device name MD5 and an Address field for recording states of all devices of the organization;
s102, the upper-level platform creates a signaling security routing gateway service, and the service is started successfully;
s103, the subordinate platform creates a signaling security routing gateway and adds organization and equipment to shared resources;
and S104, registering the lower platform to the upper platform, and successfully establishing the cascade connection. The upper platform issues a resource subscription to the lower platform and sends a device retrieval command to the lower platform;
s105, the lower platform starts to push the shared resources including physical equipment and virtual equipment under organization to the upper platform;
s106, the lower platform pushes each sharing device to the upper platform, and the information of the upper platform is consistent with the information of the lower platform in cascade sharing;
s107, the upper and lower stage platform network connection is abnormal, so that the upper and lower stage cascade connection relation is interrupted;
s108, after a period of time, the upper and lower level connections are recovered to be normal;
s109, the lower platform cascade service is registered to the upper platform again, and the upper platform issues a resource subscription to the lower platform cascade service;
s110, the superior platform searches all corresponding virtual devices when checking the organization virtual devices before cascade abnormity;
s111, the superior platform carries out abstract comparison on the virtual Device name MD5 of the corresponding result retrieved by the virtual Device0 of each organization, if the MD5 abstracts are consistent, the Device of the inferior platform under the shared organization has no information change, and the step S112 is executed, otherwise, the Device under the organization has the information change execution step S113;
s112, the superior platform sets the Device state of the organization in which the retrieved virtual Device0 is located according to the Address state code;
s113, starting Device resource retrieval of the organization where the virtual Device0 is located by the superior platform;
s114, the superior platform performs a traversing retrieval process on the equipment of the organization where the virtual equipment Device0 is located, and the efficiency and performance of other organizations according to virtual equipment retrieval are not affected by the process;
s115, the superior platform checks whether all the virtual devices of the cascade shared organization are searched, if the virtual devices of the other organization are not searched, the step S110 is continuously executed, and if all the virtual devices of the other organization are searched, the step S116 is executed;
and S116, synchronously finishing the information of the cascade shared equipment of the upper and lower platforms.
Correspondingly, this embodiment further provides a system for processing cascade exception recovery of a video monitoring management platform, including:
the system comprises a cascade lower platform, an upper platform, a judging module, a retrieval module and a virtual equipment module, wherein the virtual equipment module is used for creating virtual equipment when the cascade lower platform adds an organization, and the virtual equipment at least comprises virtual equipment name information and address information used for representing the states of all equipment of the organization;
the cascade lower platform pushes all shared resources to the upper platform, and the shared resources comprise organization information, all physical equipment information and virtual equipment information under the organization;
when the network connection of the upper and lower platforms is abnormal and recovered, the upper platform searches the shared organization for the equipment resources to obtain a search result;
the judging module compares the retrieval result with the virtual equipment before abnormality and judges whether the equipment information under the organization is changed;
if the virtual equipment is changed, the superior platform searches the equipment resources of the organization where the virtual equipment corresponding to the change is located, and completes equipment information synchronization.
In this embodiment, when a lower platform is cascaded to send shared resources to an upper platform for the first time, a virtual Device0 is created for each organization of the shared resources, the virtual Device does not participate in actual services of the security monitoring platform, and only serves as an information digest of each shared resource organization, the stored objects are pushed to the upper platform together, the upper platform receives the virtual Device0 of each shared organization and stores the same with the common devices in the same manner, and the digest of the virtual Device in this embodiment is an MD5 digest.
In this embodiment, the cascade lower platform pushes the abstract of the virtual device as the shared resource to the upper platform together with all the shared resources, and converts the abstract into a virtual device name used for representing device resource information, where the device resource information includes a virtual device system code, a device name, a device manufacturer, a device type, a device state, a device address, and a device location. After the cascade abnormal scene is reconnected, each shared resource organization of the lower platform only needs to recalculate the abstract of the shared Device under the organization and give the abstract to the Device0 of the organization, and pushes the Device0 Device information to the upper platform for abstract comparison, so that whether the Device information under the corresponding shared organization changes can be determined, the aim of synchronizing all the Device information under the organization to the upper platform through the retrieval message of one Device is achieved, the synchronization speed of the cascade abnormal scene Device is greatly improved, and the service recovery time is reduced.
In this embodiment, the most important attribute fields of the virtual Device0 are: the virtual device system code includes a device id (deviceid), a device Name (Name), an affiliated platform device (Owner), a CivilCode (CivilCode), and an Address (Address). The virtual device system code includes a center code, an industry code, a type code and a serial number, optionally, the generation rule is generated according to the requirement of GB/T28181-. Wherein, the type code (3 bits) is a virtual device, the type code of GB/T28181-2016 protocol does not define the type of virtual device, taking the "yubei district" as an example, and the other field codes are as shown in fig. 1.
In this embodiment, the Device name generation rule is a name value obtained by calculating a 128-bit MD5 digest character string as a separator from Device0 as a prefix of the Device name and optionally "_" as a separator and other shared Device resource information (Device ID, Device name, Device manufacturer, Device type, Device status, Device address, Device longitude, Device latitude, and the like) of the shared organization where the virtual Device is located. In this embodiment, the device information of the platform to which the device belongs is the same as the generation rule of the general device in the organization, that is, the national standard code ID of the platform on which the virtual device is located, and the code information of the organization to which the device belongs is the same as the generation rule of the general device in the organization, that is, the ID of the organization on which the virtual device is located.
In this embodiment, the address information at least includes the number of devices in the organization to which the virtual Device belongs and the Device status, and since the virtual Device does not correspond to the actual geographic location, this field is used in this embodiment to store the on/off-line status of all real devices in the organization in which the virtual Device0 is located; optionally, the specific method is that the Address is an decimal character string + "_" + device status code of the number of real devices under the organization, and the device status code records the on/off status of the real device under the shared organization. Sorting the DeviceIDs of all shared devices in the shared organization from small to large, checking the state of each device, if the device is online, the state is 1, and if the device is offline, the state is 0, and forming a device state code character string by the states of all the devices according to the sequence.
In this embodiment, in the first data synchronization stage of the virtual devices in the shared organization, when the upper and lower platforms create a cascade relationship, the lower platform pushes the virtual Device0 in each shared organization to the upper platform in the same way as the normal Device, the upper platform saves the data of the virtual Device in the same way as the normal Device, but the virtual Device0 does not support other services, and when the cascade relationship is normal, and information or status of the Device to which the shared organization belongs is updated, the upper and lower platforms need to synchronously update the Device name of the virtual Device0 and the corresponding field value of the address recording the status distribution of the Device in the organization. After the cascade connection is abnormally interrupted, the information of the Device0 on the upper platform is kept consistent with that before the interruption, and for the common shared Device, after the cascade connection is interrupted, the information of the Device is not changed, and the Device state is set to be offline, but for the virtual Device, the information is still kept consistent with that before the interruption, so that the comparison is carried out when the cascade connection state is recovered. After the cascade connection relationship is restored again, the superior platform only needs to retrieve the information of the organization shared by the subordinate platform and the virtual machine Device0 of each organization, compares the received information of the virtual Device0 with the state code and the historical data, and can judge whether the shared information of the organization is changed, if the Device information and the Device state code are not changed, the Device state pushed by cascade connection can be set to be on-line or off-line directly according to the state code, if the abstracts of the virtual Device devices 0 of some organizations are inconsistent, only the Device corresponding to the organization needs to be retrieved, and all the organized devices do not need to be retrieved. If the digests of the virtual devices 0 of some organizations are consistent, only the corresponding status codes of the address fields are different, the Device status is set according to the corresponding status codes.
The present embodiment also provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements any of the methods in the present embodiments.
The present embodiment further provides an electronic terminal, including: a processor and a memory;
the memory is used for storing computer programs, and the processor is used for executing the computer programs stored by the memory so as to enable the terminal to execute the method in the embodiment.
The computer-readable storage medium in the present embodiment can be understood by those skilled in the art as follows: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The electronic terminal provided by the embodiment comprises a processor, a memory, a transceiver and a communication interface, wherein the memory and the communication interface are connected with the processor and the transceiver and are used for completing mutual communication, the memory is used for storing a computer program, the communication interface is used for carrying out communication, and the processor and the transceiver are used for operating the computer program so that the electronic terminal can execute the steps of the method.
In this embodiment, the Memory may include a Random Access Memory (RAM), and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In the above-described embodiments, reference in the specification to "the present embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least some embodiments, but not necessarily all embodiments. The multiple occurrences of "the present embodiment" do not necessarily all refer to the same embodiment. In the embodiments described above, although the present invention has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those skilled in the art in light of the foregoing description. For example, other memory structures (e.g., dynamic ram (dram)) may use the discussed embodiments. The embodiments of the invention are intended to embrace all such alternatives, modifications and variances that fall within the broad scope of the appended claims.
The invention is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The foregoing embodiments are merely illustrative of the principles of the present invention and its efficacy, and are not to be construed as limiting the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. A cascade exception recovery processing method for a video monitoring management platform is characterized by comprising the following steps:
when a cascade lower platform adds an organization, creating virtual equipment of the organization, wherein the virtual equipment at least comprises virtual equipment name information and address information used for representing the states of all equipment of the organization;
the cascade lower platform pushes shared resources to the upper platform, and the shared resources comprise organization information, all physical equipment information and virtual equipment information under the organization;
when the network connection of the upper and lower platforms is abnormal and recovered, the upper platform searches the shared organization and virtual equipment resources to obtain a search result;
comparing the retrieval result with the organization and the virtual equipment before abnormality, and judging whether the equipment information under the organization is changed;
if the virtual equipment is changed, the superior platform searches the equipment resources of the organization where the virtual equipment corresponding to the change is located, and completes equipment information synchronization.
2. The video surveillance management platform cascade exception recovery processing method of claim 1,
and the cascade lower platform pushes the abstract of the virtual equipment as the shared resource to the upper platform together with all the shared resources, and converts the abstract into a virtual equipment name for representing equipment resource information, wherein the equipment resource information comprises a virtual equipment system code, an equipment name, an equipment manufacturer, an equipment type, an equipment state, an equipment address and an equipment position.
3. The video surveillance management platform cascade exception recovery processing method of claim 2,
if the retrieval result is consistent with the name of the virtual equipment before the abnormality, determining that no change occurs;
if the retrieval result is not consistent with the name of the virtual equipment before the abnormality, determining that the virtual equipment is changed;
and if the judgment result is that no change occurs, setting the equipment state under the organization according to the address information.
4. The cascade exception recovery processing method for a video surveillance management platform according to claim 3, wherein the address information at least includes the number of devices and the device status in the organization to which the address information belongs.
5. The video monitoring management platform cascade exception recovery processing method according to claim 1, wherein the virtual device further comprises a virtual device system code, and the virtual device system code comprises a center code, an industry code, a type code, and a serial number.
6. The method for cascade exception recovery processing of a video monitoring management platform according to claim 1, wherein the virtual device further includes device information of a platform to which the virtual device belongs and coding information of an organization in which the virtual device belongs, and the device information of the platform to which the virtual device belongs and the coding information of the organization in which the virtual device belongs are the same as a generation rule of a common device in the organization.
7. A video monitoring management platform cascade exception recovery processing system is characterized by comprising:
the system comprises a cascade lower platform, an upper platform, a judging module, a retrieval module and a virtual equipment module, wherein the virtual equipment module is used for creating virtual equipment when the cascade lower platform adds an organization, and the virtual equipment at least comprises virtual equipment name information and address information used for representing the states of all equipment of the organization;
the cascade lower platform pushes all shared resources to the upper platform, and the shared resources comprise organization information, all physical equipment information and virtual equipment information under the organization;
when the network connection of the upper and lower platforms is abnormal and recovered, the upper platform searches the shared organization and virtual equipment resources through the search module to obtain a search result;
the judging module compares the retrieval result with the organization and the virtual equipment before the abnormality and judges whether the equipment information under the organization is changed;
if the virtual equipment is changed, the superior platform searches the equipment resources of the organization where the virtual equipment corresponding to the change is located, and completes equipment information synchronization.
8. The video surveillance management platform cascade exception recovery processing system of claim 7,
the cascade lower platform pushes the virtual equipment as an abstract of shared resources to the upper platform together with all the shared resources, and converts the abstract into a virtual equipment name for representing equipment resource information, wherein the equipment resource information comprises a virtual equipment system code, an equipment name, an equipment manufacturer, an equipment type, an equipment state, an equipment address and an equipment position;
if the retrieval result is consistent with the name of the virtual equipment before the abnormality, determining that no change occurs;
if the retrieval result is not consistent with the name of the virtual equipment before the abnormality, determining that the virtual equipment is changed;
and if the judgment result is that no change occurs, setting the equipment state under the organization according to the address information.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that: the program when executed by a processor implements the method of any one of claims 1 to 6.
10. An electronic terminal, comprising: a processor and a memory;
the memory is for storing a computer program and the processor is for executing the computer program stored by the memory to cause the terminal to perform the method of any of claims 1 to 6.
CN202010634354.7A 2020-07-02 2020-07-02 Method and system for recovering and processing cascade exception of video monitoring management platform Active CN111782435B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010634354.7A CN111782435B (en) 2020-07-02 2020-07-02 Method and system for recovering and processing cascade exception of video monitoring management platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010634354.7A CN111782435B (en) 2020-07-02 2020-07-02 Method and system for recovering and processing cascade exception of video monitoring management platform

Publications (2)

Publication Number Publication Date
CN111782435A CN111782435A (en) 2020-10-16
CN111782435B true CN111782435B (en) 2021-08-06

Family

ID=72758878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010634354.7A Active CN111782435B (en) 2020-07-02 2020-07-02 Method and system for recovering and processing cascade exception of video monitoring management platform

Country Status (1)

Country Link
CN (1) CN111782435B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051349A (en) * 2021-04-02 2021-06-29 广东美电贝尔科技集团股份有限公司 Data synchronization method for duty system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110018697A1 (en) * 2009-07-22 2011-01-27 Immersion Corporation Interactive Touch Screen Gaming Metaphors With Haptic Feedback
CN103077222A (en) * 2012-12-31 2013-05-01 中国科学院计算技术研究所 Method and system for ensuring consistence of distributed metadata in cluster file system
CN104537112A (en) * 2015-01-20 2015-04-22 成都携恩科技有限公司 Method for safe cloud computing
US20180267699A1 (en) * 2017-03-14 2018-09-20 Gvbb Holdings S.A.R.L. User interface for management of a dynamic video signal processing platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110018697A1 (en) * 2009-07-22 2011-01-27 Immersion Corporation Interactive Touch Screen Gaming Metaphors With Haptic Feedback
CN103077222A (en) * 2012-12-31 2013-05-01 中国科学院计算技术研究所 Method and system for ensuring consistence of distributed metadata in cluster file system
CN104537112A (en) * 2015-01-20 2015-04-22 成都携恩科技有限公司 Method for safe cloud computing
US20180267699A1 (en) * 2017-03-14 2018-09-20 Gvbb Holdings S.A.R.L. User interface for management of a dynamic video signal processing platform

Also Published As

Publication number Publication date
CN111782435A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN104584524A (en) Aggregating data in a mediation system
CN111600746A (en) Network fault positioning method, device and equipment
CN112506870B (en) Data warehouse increment updating method and device and computer equipment
CN108154024B (en) Data retrieval method and device and electronic equipment
CN111314063A (en) Big data information management method, system and device based on Internet of things
CN111782435B (en) Method and system for recovering and processing cascade exception of video monitoring management platform
CN107885634B (en) Method and device for processing abnormal information in monitoring
CN111949831A (en) Graphic database establishing method and device and readable storage medium
CN101783742B (en) Discovery method and device of network topology
CN113094157A (en) Generation method and device for calling topological graph, storage medium and electronic device
CN112995266A (en) Information pushing method and related equipment
CN108805741B (en) Fusion method, device and system of power quality data
KR980013481A (en) Personal communication service subscriber information processing device and method thereof
CN113961600A (en) Data query method and device, computer equipment and storage medium
US10897401B2 (en) Determining the importance of network devices based on discovered topology, managed endpoints, and activity
JP5741717B2 (en) Information processing method, apparatus and program
CN115705259A (en) Fault processing method, related device and storage medium
CN110602159A (en) Data processing method and system
CN114268540B (en) Rule engine optimization method, device and equipment
CN112637293B (en) Data recovery system, method, device, electronic equipment and storage medium
CN112148479B (en) Data processing method, device and computer equipment based on Siddi log audit
CN113542127B (en) Single VXLAN topology searching method and device for non-role VTEP node
CN116260853A (en) Connection management method and device for node equipment and storage medium
CN117714535A (en) Information exchange method, information storage method, device, system, equipment and medium
CN111371602A (en) Alarm information processing method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant