CN106126270A - A kind of device updating method, device and video monitoring system - Google Patents

A kind of device updating method, device and video monitoring system Download PDF

Info

Publication number
CN106126270A
CN106126270A CN201610421630.5A CN201610421630A CN106126270A CN 106126270 A CN106126270 A CN 106126270A CN 201610421630 A CN201610421630 A CN 201610421630A CN 106126270 A CN106126270 A CN 106126270A
Authority
CN
China
Prior art keywords
video
capture device
video capture
storage
patch
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.)
Granted
Application number
CN201610421630.5A
Other languages
Chinese (zh)
Other versions
CN106126270B (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201610421630.5A priority Critical patent/CN106126270B/en
Publication of CN106126270A publication Critical patent/CN106126270A/en
Application granted granted Critical
Publication of CN106126270B publication Critical patent/CN106126270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of device updating method, device and video monitoring system, described method includes: when video capture device exists leak, and patch installation is when needing to restart, described video capture device restarts application module, and the video data got at local cache coding module.The application embodiment of the present invention can avoid video capture device to restart the disappearance of period video data.

Description

A kind of device updating method, device and video monitoring system
Technical field
The present invention relates to technical field of video monitoring, particularly relate to a kind of device updating method, device and video monitoring system System.
Background technology
IPC (Internet Protocol Camera, web camera) is as the important work safeguarding country's public safety Tool, pervasive nation important mechanism and the every field of people life, the information with it as entrance contains from national security secret Various aspects to ordinary people daily life privacy.And at present IPC is again and again produced and there are security breaches, cause user Worry problem to IPC safety.
Upgrading scheme currently for the security breaches of IPC is mainly on hole scanner manually batch interpolation IPC It is scanned leak, scans manual installation patch after leak, if needing to restart IPC after patch installation, directly complete machine weight Open.
But practice finds, in above-mentioned IPC upgrading scheme, after patch installation, direct complete machine is restarted, restarting process Middle meeting lost part video, affects monitoring image collection and later stage evidence obtaining.
Summary of the invention
The present invention provides a kind of device updating method, device and video monitoring system, to solve in existing IPC upgrading scheme The problem that after IPC patch installation, complete machine restarts the video-losing caused.
According to the first aspect of the invention, it is provided that a kind of device updating method, it is applied to video monitoring system, described video Monitoring system includes video capture device, management server and storage device, the application module of described video capture device with Coding module separates;Described method includes:
When described video capture device exists leak, and when patch installation needs to restart, described video capture device Restart application module, and the video data got at local cache coding module.
According to the second aspect of the invention, it is provided that a kind of equipment upgrade device, the video in application video monitoring system is adopted Collection equipment, described video monitoring system also includes managing server and storage device, the video in described video monitoring system The application module of collecting device separates with coding module, and described device includes:
Restart unit, for when needing to restart after described video capture device exists leak, and patch installation, heavy Open application module;
Buffer unit, is used for when needing to restart after described video capture device exists leak, and patch installation, The video data that local cache coding module gets.
According to the third aspect of the invention we, it is provided that a kind of video monitoring system, including video capture device, management server And storage device, in described video monitoring system, the application module of video capture device separates with coding module, wherein:
, there is leak for working as in described video capture device, and when patch installation needs to restart, described video acquisition Equipment restarts application module, and the video data got at local cache coding module.
Apply technical scheme disclosed by the invention, by the application module of video capture device is separated with coding module, When video capture device exists leak, and when patch installation needs to restart, video capture device can restart application module, And the video data got at local cache coding module, it is ensured that restart period at video capture device, remain able to obtain Take video data, it is to avoid video capture device restarts the disappearance of period video data.
Accompanying drawing explanation
Fig. 1 is the network architecture schematic diagram of a kind of device upgrade that the embodiment of the present invention provides;
Fig. 2 is the structural representation of a kind of video capture device that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of a kind of device updating method that the embodiment of the present invention provides;
Fig. 4 is the configuration diagram of a kind of concrete application scenarios that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of equipment upgrade device that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the another kind of equipment upgrade device that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the another kind of equipment upgrade device that the embodiment of the present invention provides;
Fig. 8 is the configuration diagram of a kind of video monitoring system that the embodiment of the present invention provides.
Detailed description of the invention
For the technical scheme making those skilled in the art be more fully understood that in the embodiment of the present invention, and make the present invention real Execute the above-mentioned purpose of example, feature and advantage can become apparent from understandable, below in conjunction with the accompanying drawings to technical side in the embodiment of the present invention Case is described in further detail.
The network architecture being the most first suitable for the embodiment of the present invention is described.
Refer to the network architecture diagram of a kind of device upgrade that Fig. 1, Fig. 1 provide for the embodiment of the present invention, as it is shown in figure 1, This network architecture is applicable to video monitoring system, and it can include video capture device, management server and storage device.
In this network architecture, the application module of the video capture device in video monitoring system separates with coding module, I.e. application module is separate with the operation of coding module, application module restart the operation not interfering with coding module.
For example, in the network architecture shown in Fig. 1, the structure of video capture device can be as in figure 2 it is shown, this video be adopted Collection equipment can include coding module, application module, memory module, transport module, CPU (Center Process Unit, in Central Processing Unit), power module and photographic head.
Wherein, coding module can include video acquisition unit and graphics processing unit, and video acquisition unit is used for passing through Camera collection real time video data, graphics processing unit is for the video data encoding compression gathered;Application module can To include operating system unit and encapsulation unit, operating system unit includes application software and kernel, the shell of system operation control Deng, encapsulation unit is for being packaged the video data after compression coding;Memory module is locally stored for video data; Transport module is for interacting with other video capture device, management server or storage device etc.;Power module is used for Video capture device is powered.
Wherein, application module separates with coding module, memory module and transport module etc., application module restart not shadow Ring coding module, memory module and the operation of transport module.
Visible, in the network architecture shown in Fig. 1, when video capture device exists leak, and patch installation needs When restarting, headend equipment can restart application module, and the video data got at local cache coding module, it is ensured that Video capture device restarts period, remains able to obtain video data, it is to avoid video capture device restarts period video data Disappearance.
Based on the network architecture shown in Fig. 1, embodiments provide a kind of device updating method, refer to Fig. 3, for The schematic flow sheet of a kind of device updating method that the embodiment of the present invention provides, as it is shown on figure 3, this device updating method can wrap Include:
In order to make it easy to understand, hereinafter will be with video capture device as IPC, managing server is VM (Video Manager, Video Manager), storage device be IPSAN (Internet Protocol Storage Area Network, mutually Networking protocol storage area network) it is described as a example by storage device, however, it should be understood that in the embodiment of the present invention, video acquisition Equipment is not limited to IPC, and management server is also not limited to VM, and storage device is also not limited to IPSAN storage device.
Step 301, when needing to restart after video capture device exists leak, and patch installation, video acquisition sets For restarting application module, and the video data got at local cache coding module.
In the embodiment of the present invention, when IPC is restarted due to leak patch installation needs, IPC can only restart application Module, other modules such as coding module then can continue properly functioning, obtains real time video data, and encodes at local cache The video data that module gets.
In the embodiment of the present invention, it is contemplated that in existing IPC upgrading scheme, the vulnerability scanning of IPC and patch are installed and are both needed to User is wanted to manually complete, operation complexity, and inefficiency, thus, in order to improve vulnerability scanning and the efficiency of patch installation, can Realize leak and automatically scan and patch is installed automatically controlling IPC by VM.
As the optional embodiment of one, in embodiments of the present invention, video capture device vulnerability scanning and patch Installation may include that
Management server issues Hole Detection wooden horse, and regular or periodicity to the target video collecting device succeeded in registration Ground sends detection instruction to target video collecting device, so that target video collecting device utilizes this Hole Detection target to leak Hole is detected, and testing result reports management server;
When managing server and determining that target video collecting device exists leak, management server sets to target video collection The standby patch that issues downloads notice, and this patch is downloaded notice and carried the address information of patch server, so that target video collection Equipment downloads corresponding patch according to the address information of this patch server, and carries out patch installation.
In this embodiment, VM issues Hole Detection can to the IPC (referred to herein as Target IP C) respectively succeeded in registration Wooden horse, and regularly or periodically to each Target IP C send detection instruction;After Target IP C receives detection instruction, it is possible to use VM The Hole Detection wooden horse issued carries out local Hole Detection, and after detection completes, testing result is reported VM.
VM can carry out leak statistics in local maintenance leak statistical table to Target IP C.If VM finds that Target IP C exists Leak, then VM can send the patch download notice of the address information carrying patch server to this Target IP C;Target IP C After receiving this patch download notice, the address information of the patch server that carry in notice can be downloaded according to this patch, from Patch server is downloaded the patch of correspondence, and carries out patch installation.
As the optional embodiment of another kind, in embodiments of the present invention, video capture device vulnerability scanning and benefit Fourth is installed and be may include that
Management server regularly or periodically carries out vulnerability scanning to the target video collecting device succeeded in registration, and works as Determining when target video collecting device exists leak, issue patch to target video collecting device and download notice, this patch is downloaded Notice carries the address information of patch server, so that target video collecting device is according under the address information of patch server Carry corresponding patch, and carry out patch installation.
In this embodiment, VM regularly or periodically can carry out vulnerability scanning to Target IP C, and according to scanning result In local maintenance leak statistical table;When VM determines that certain Target IP C exists leak, VM can send to this Target IP C and carry The patch of the address information of patch server downloads notice;After Target IP C receives this patch download notice, can be according to this benefit Fourth downloads the address information of the patch server carried in notice, downloads the patch of correspondence, and mend from patch server Fourth is installed.
Further, in embodiments of the present invention, it is contemplated that during video capture device restarts application module, video acquisition Equipment cannot complete the encapsulation of video data, thus cannot be saved in storage device after being encapsulated by the video data got, Thus cause checking the video counts restarting period that this video capture device gets during video capture device is restarted According to, affect the use of video data, thus, in embodiments of the present invention, the video capture device in video monitoring system is permissible Backup each other with the second video capture device in video monitoring system as the first video capture device, when the first video acquisition When equipment needs to restart application module, this first video capture device will be able to be restarted by the second video capture device of backup The video data of period encapsulates and is sent to storage device and preserves.
What deserves to be explained is, in embodiments of the present invention, the first video capture device and the second video capture device are not Refer in particular to certain two fixing video capture device, but may refer to what any two in video monitoring system can mutually back up Video capture device.
Preferably, in embodiments of the present invention, the first video capture device mutually backed up and the second video capture device Can be concatenated by network interface.
For ease of understanding, it is respectively the with the first video capture device of mutually backup and the second video capture device below It is described as a example by one IPC the 2nd IPC,
As an example it is assumed that IPC1 and IPC2 is two IPC that can be concatenated by network interface in video monitoring system, then may be used Using by IPC1 as an IPC, IPC2 as the 2nd IPC (can also using IPC2 as an IPC, IPC1 as the 2nd IPC, This is not limited by the present invention), concatenated by network interface between IPC1 and IPC2, and IPC1 and IPC2 backups each other.
Accordingly, as the optional embodiment of one, the device updating method shown in Fig. 3 can also include following step Rapid:
Step 302, the first video capture device disconnect and being connected with the storage of storage device, and to the second video capture device Send the first notification message, to notify that this second video capture device analog video collecting device is set up target with storage device and deposited Storage connects.
In order to make it easy to understand, in embodiments of the present invention, it is connected with the storage between video capture device with storage device As a example by connecting for ISCSI storage.
In the embodiment of the present invention, owing to IPC needs to be packaged the video data after compression coding by application module, Therefore, during an IPC restarts application module, an IPC cannot realize the encapsulation of video data, thus an IPC Directly the video data got cannot be preserved to IPSAN storage device.
In order to ensure to restart period at IPC, remaining able to be uploaded to video data IPSAN storage device, an IPC exists Determine when needing to restart, can be sent to the video data of period back up IPC (the i.e. the 2nd IPC), by the 2nd IPC simulation first Corresponding video data is packaged by IPC, and preserves to IPSAN storage device.
And it is the most different to set up Target information when ISCSI storage connects in view of different IPC from IPSAN storage devices, Correspondingly, the position that the video data of different IPC is saved in IPSAN storage device is the most different, therefore, in order to ensure second Corresponding video data are packaged by IPC simulation the oneth IPC, and when preserving to IPSAN storage device, right with an IPC self Corresponding video data are packaged, and preserve to concordance during IPSAN storage device, store with IPSAN when an IPC disconnects After the ISCSI storage of equipment connects, the 2nd IPC needs to simulate IPC with an IPSAN storage device and sets up corresponding ISCSI Storage connects.
Correspondingly, in embodiments of the present invention, when an IPC determine need to restart time, an IPC can disconnect with The ISCSI storage of IPSAN storage device connects, and sends a notification message (the referred to herein as first notification message) to the 2nd IPC; When 2nd IPC receives the first notification message, the MAC (Media according to an IPC, video data can being packaged Access Control, media interviews control) address, IP address, port number information (include source MAC, IP address, port, And target MAC (Media Access Control) address, IP address, port), and the Target information that the ISCSI storage of an IPC connects, deposit with IPSAN Storage equipment is set up the storage of target ISCSI and is connected.
In the embodiment of the present invention, the IPC needing to restart to realize backup IPC to simulate encapsulates video data, and will Video data after encapsulation is saved in the relevant position of IPSAN storage device, and mutually redundant IPC can preserve the encapsulation of the other side Information, this packaging information can include but not limited to source MAC, source IP address, source port number, target MAC (Media Access Control) address, purpose IP Address, destination slogan, and the Target information etc. that ISCSI storage connects.
Wherein, the packaging information of the other side that mutually redundant IPC preserves can be by mutually redundant IPC timing or cycle Property ground intercommunication obtain, it is also possible to by user (such as manager) manual configuration, this is not limited by the embodiment of the present invention.
Step 303, when the second video capture device set up with storage device target storage be connected time, the first video is adopted The video data that collection equipment will be switched off getting after storage connects is sent to this second video capture device, this second video adopt The video data received is packaged by collection this first video capture device of equipment simulating, and connects transmission by target storage To storage device.
In the embodiment of the present invention, the 2nd IPC with IPSAN storage device sets up the storage of target ISCSI when being connected, and second IPC can send connection establishment completion notice message to an IPC;Oneth IPC determines that the 2nd IPC with IPSAN storage device is built When vertical target ISCSI storage connection completes, the video data that can will be switched off getting after ISCSI storage connects is sent to second IPC。
After 2nd IPC receives the video data that an IPC sends, the video of the IPC received can be cached Data, and the MAC Address, IP address and the port number information that are packaged video data according to an IPC are to this video counts According to being packaged, and it is sent to IPSAN storage device by the storage connection of target ISCSI.
Visible, in the method flow shown in Fig. 3, on the one hand, by by the application module of video capture device and coding Module separates, and when patch installation needs to restart, restarts application module, and coding module then can continue properly functioning, Obtain real-time video;On the other hand, by being set to backup each other by the first video capture device and the second video capture device, When the first video capture device needs to restart, the second video capture device simulation need the first video capture device of restarting with Storage device is set up and is stored connection accordingly, and simulates the first video capture device that these needs restart by this first video acquisition Equipment restart period video data encapsulation after preserve the relevant position to storage device, it is ensured that restart at video capture device Period, remain able to obtain video data, and video data can be uploaded to storage device, it is to avoid video capture device weight Open the disappearance of period video data.
Further, the device updating method that the embodiment of the present invention provides can also comprise the following steps:
11), when the first video capture device restart application module complete time, stop to this second video capture device send Video data, and send the second notification message to this second video capture device, to notify that this second video capture device disconnects It is connected with the target storage between storage device;
12), the first video capture device re-establishes storage and is connected, and caches volume during connection establishment with storage device The video data that code module gets;
13), when the first video capture device and storage device re-establish storage successful connection, by the video counts of caching It is sent to storage device according to being connected by the storage re-established after encapsulation.
Concrete, in embodiments of the present invention, when an IPC restart application module complete time, an IPC can stop to IPC sends video data, and sends a notification message (the referred to herein as second notification message) to the 2nd IPC;2nd IPC receives During the second notification message, the target ISCSI storage that can disconnect between IPSAN storage device is connected.
When the 2nd IPC disconnect is connected with the target ISCSI storage between IPSAN storage device time, the oneth IPC needs and IPSAN storage device re-establishes the ISCSI storage of corresponding Target and connects;Wherein, the 2nd IPC disconnection target ISCSI is deposited Storage connects, and IPC with an IPSAN storage device re-establishes the ISCSI of corresponding Target and stores before connection completes, Oneth IPC can first cache the real time video data that coding module gets.
When IPC Yu an IPSAN storage device re-establishes ISCSI storage successful connection, the video data that will cache After encapsulation, the ISCSI storage connection by re-establishing is sent to IPSAN storage device;Wherein, the IPC video to caching The encapsulation of data, and an IPC to re-establish ISCSI storage successful connection after real time video data encapsulation and on Passing the process before restarting application module with an IPC identical, it implements and may refer to being correlated with in existing related procedure Describing, the embodiment of the present invention does not repeats at this.
What deserves to be explained is, in embodiments of the present invention, when the 2nd IPC receives second notification message of an IPC, and When disconnection is connected with the target ISCSI storage between IPSAN storage device, if the 2nd IPC is still cached with regarding of an IPC transmission Frequency evidence, then the 2nd IPC needs this video data is sent to an IPC, an IPC self complete encapsulation and upload.
Further, in embodiments of the present invention, due to the oneth IPC upgrading during, the 2nd IPC simulation the oneth IPC with IPSAN storage device is set up ISCSI storage and is connected, and preserves to IPSAN storage device after the video data encapsulation of an IPC Relevant position, the message causing destination to be an IPC can point to the 2nd IPC;Therefore, when an IPC has upgraded, again Set up after ISCSI storage is connected with IPSAN storage device, an IPC needs to send gratuitous ARP (Address Resolution Protocol, address resolution protocol) message, prevent IPSAN storage device to be sent to the message of an IPC again It is sent to the 2nd IPC.
Further, in embodiments of the present invention, manage outside server during upgrading in order to avoid video capture device The illegal invasion of remaining monitoring user, improves the safety of video capture device upgrading, can also portion in video monitoring system Administration's secure box, when video capture device is upgraded, video capture device can send to secure box and access control instruction, if Put certain IP or the access blacklist of certain service port addition secure box.During video capture device upgrading, secure box is to visit Ask that the message of video capture device is analyzed, once find that coupling accesses the message of blacklist, then forbid that this message passes through.
Correspondingly, in embodiments of the present invention, when video capture device exists leak, and installation patch completes needs and restarts Time, it is also possible to including:
Video capture device sends to secure box and accesses control instruction, so that secure box is according to this access control instruction Generate corresponding access blacklist, and forbid that the message mating this access blacklist passes through;
When video capture device restart application module complete time, send to secure box and release control instruction, so that safety Box is deleted and is accessed the access blacklist that control instruction is corresponding.
Concrete, in embodiments of the present invention, when an IPC needs to restart, an IPC can be by secure box Send and access control instruction, secure box is set and forbids that special packet arrives an IPC;When an IPC has been restarted, first IPC can send to secure box and release control instruction, limits to release to access.
In order to make those skilled in the art be more fully understood that the technical scheme that the embodiment of the present invention provides, below in conjunction with specifically Application scenarios technical scheme that the embodiment of the present invention is provided be described.
Refer to Fig. 4, the configuration diagram of a kind of concrete application scenarios provided for the embodiment of the present invention, as described in Figure 4, This application scenarios can include IPC1, IPC2, VM, IPSAN storage device and secure box, and wherein, IPC1 and IPC2 can Concatenated by network interface.Based on this application scenarios, it is as follows that the device upgrade scheme that the embodiment of the present invention provides realizes flow process:
1, IPC1 with IPC2 is concatenated by network interface, and IPC1 and IPC2 backups each other.ONVIF is passed through between IPC1 and IPC2 (Open Network Video Interface Forum, opening Internet video Interface Forum) message timing intercommunication, And in the package information table of a opposite end IPC of this locality preservation, this packaging information includes MAC Address, IP address, TCP (Transmission Control Protocol, transmission control protocol) port numbers and ISCSI storage protocol interface connect Target information etc., may be used without other storage protocol interfaces certainly;Wherein, IPC1 and IPC2 can be by the timing of ONVIF message Update the package information table of self maintained;
2, after IPC1 and IPC2 is registered to VM, VM regularly or periodically can carry out leak to IPC1 and IPC2 and sweep Retouch, and according to scanning result in local maintenance leak statistical table;When VM determines IPC1 or/and IPC2 exists leak, VM is permissible The patch sending the address information carrying patch server to this IPC1 or IPC2 downloads notice;IPC1 is or/and IPC2 receives After downloading notice to this patch, the address information of the patch server carried in notice can be downloaded according to this patch, from patch Server is downloaded the patch of correspondence, and carries out patch installation;
In this embodiment, exist as a example by leak by IPC1.
3, when IPC1 complete patch install need to restart time, IPC1 can restart other moulds such as application module, coding module Block then continues properly functioning;
4, IPC1 disconnects and being connected with the ISCSI of IPSAN storage device, and by ONVIF message informing IPC2 according to self Relevant information in the package information table of the IPC1 preserved is set up the storage of target ISCSI with IPSAN storage device and is connected;Work as IPC1 Determining that IPC2 with IPSAN storage device sets up the storage of target ISCSI when being connected, IPC1 can will be switched off after ISCSI connects Video data be sent to IPC2;
5, when IPC2 receives the video data that IPC1 sends, can be according in the package information table of the IPC1 self preserved The video data that receives of the information butt joint such as MAC Address, IP address and port be packaged, and by the video data after encapsulation It is sent to IPSAN storage device by the storage connection of target ISCSI;
6, when IPC1 needs to restart, IPC1 can also send ONVIF message to secure box, forbids that external user accesses 80 ports (assuming that 80 ports of IPC are for externally providing the port of live business) of IPC;Then IPC1 restarts period, secure box When receiving the message that destination slogan is 80, forbid that this message passes through;
7, when IPC1 has been restarted, IPC1 stops sending video data to IPC2, and sends ONVIF message to IPC2, Notice IPC2 disconnects and being connected with the target ISCSI storage between IPSAN storage device, and IPC1 re-establishes IPSAN storage and sets The ISCSI storage of standby corresponding Target connects, and caches the video data during connection establishment;When IPC1 re-establishes When the ISCSI of the Target that IPSAN storage device is corresponding stores successful connection, IPC1 recovers the encapsulation to video data to preserve To IPSAN storage device;
8, when IPC1 has been restarted, sending gratuitous ARP packet, the message preventing IPSAN storage device from returning is sent to IPC2;
9, when IPC1 has been restarted, IPC1 sends ONVIF message to secure box, releases and accesses restriction, decontrols 80 ports Access, afterwards, destination slogan be 80 message can arrive IPC1 by secure box.
By above description it can be seen that the embodiment of the present invention provide technical scheme in, by video acquisition is set Standby application module separates with coding module, when video capture device exists leak, and when patch installation needs to restart, depending on Frequently collecting device can restart application module, and the video data got at local cache coding module, it is ensured that at video Collecting device restarts period, remains able to obtain video data, it is to avoid video capture device restarts lacking of period video data Lose.
Referring to Fig. 5, for the structural representation of a kind of equipment upgrade device that the embodiment of the present invention provides, wherein, this sets Standby update device can apply to the video capture device in video monitoring system, and described video monitoring system also includes management clothes Business device and storage device, the application module of the video capture device in described video monitoring system separates with coding module, as Shown in Fig. 5, this equipment upgrade device may include that
Restart unit 510, for needing to restart after described video capture device exists leak, and patch installation Time, restart application module;
Buffer unit 520, for needing to restart after described video capture device exists leak, and patch installation Time, at the video data that local cache coding module gets;
In an alternative embodiment, described video capture device is as the first video capture device and described video monitoring system In the second video capture device backup each other;
Correspondingly, see also Fig. 6, for the structural representation of the another kind of equipment upgrade device that the embodiment of the present invention provides Figure, on the basis of embodiment illustrated in fig. 5, the equipment upgrade device shown in Fig. 6 can also include:
Transmitting element 530, for there is leak when described video capture device, and when patch installation needs to restart, Disconnect described first video capture device to be connected with the storage of described storage device, and send to described second video capture device First notification message, to notify that described second video capture device simulates described first video capture device and described storage device Set up target storage to connect;
Described transmitting element 530, is additionally operable to set up target when described second video capture device with described storage device and deposits When storage connection completes, the video data that will be switched off getting after storage connects is sent to described second video capture device, by institute State the second video capture device described first video capture device of simulation the video data received is packaged, and pass through institute State target storage connection and be sent to described storage device.
In an alternative embodiment, described transmitting element 530, it is also possible to should for restarting when described first video capture device When completing by module, stop sending video data to described second video capture device, and to described second video capture device Send the second notification message, to notify that the target storage that described second video capture device disconnects between described storage device connects Connect;
Correspondingly, see also Fig. 7, for the structural representation of the another kind of equipment upgrade device that the embodiment of the present invention provides Figure, on the basis of embodiment illustrated in fig. 5, the equipment upgrade device shown in Fig. 7 can also include: sets up unit 540 and encapsulation Unit 550;Wherein:
Set up unit 540, be connected for re-establishing storage with described storage device;
Described buffer unit 520, is additionally operable to cache the video data that coding module gets during connection establishment;
Encapsulation unit 550, for being connected when described first video capture device re-establishes storage with described storage device During success, the video data of caching is packaged;
Described transmitting element 530, the video data after being additionally operable to encapsulation is sent to by the storage connection re-established Described storage device.
Referring to Fig. 8, for the configuration diagram of a kind of video monitoring system that the embodiment of the present invention provides, described video is supervised Ore-controlling Role video capture device 810, management server 820 and storage device 830, video acquisition in described video monitoring system The application module of equipment 810 separates with coding module, wherein:
, there is leak for working as, and when patch installation needs to restart, restart application in described video capture device 810 Module, and the video data got at local cache coding module.
In an alternative embodiment, described video capture device 810 is as the first video capture device and described video monitoring The second video capture device in system backups each other;
Described first video capture device, is additionally operable to when there is leak, and when patch installation needs to restart, disconnect with The storage of described storage device connects, and sends the first notification message to described second video capture device;
Described second video capture device, is used for receiving described first notification message, and simulates described first video acquisition Equipment is set up target storage with described storage device and is connected;
Described first video capture device, is additionally operable to when described second video capture device and described storage device set up mesh When mark storage connection completes, the video data that will be switched off getting after storage connects is sent to described second video capture device;
Described second video capture device, is additionally operable to receive the video data that described first video capture device sends, and Simulate described first video capture device the video data received is packaged, and connect transmission by the storage of described target To described storage device.
In an alternative embodiment, described first video capture device, be additionally operable to when restarting application module and completing, stop to Described second video capture device sends video data, and sends the second notification message to described second video capture device;
Described second video capture device, is additionally operable to when receiving described second notification message, disconnects and described storage Target storage between equipment connects;
Described first video capture device, is additionally operable to re-establish storage with described storage device and is connected, and cache connection The video data that during foundation, coding module gets;
Described first video capture device, is additionally operable to when re-establishing storage successful connection with described storage device, will The storage connection re-established described in passing through after the video data encapsulation of caching is sent to described storage device.
In an alternative embodiment, manage server 820, for issuing leak to the target video collecting device succeeded in registration Detection wooden horse, and periodically or periodically to described target video collecting device send detection instruction, so that described target video Collecting device utilizes described Hole Detection wooden horse to carry out Hole Detection, and testing result reports described management server 820; When determining that described target video collecting device exists leak, issue patch to described target video collecting device and download notice, Described patch is downloaded notice and is carried the address information of patch server, so that described target video collecting device is according to described benefit The address information of fourth server downloads corresponding patch, and carries out patch installation;
Or,
Management server 820, for timing or periodically carries out leak to the target video collecting device succeeded in registration Scanning, and when determining that target video collecting device exists leak, issue patch to described target video collecting device and download logical Knowing, described patch is downloaded notice and is carried the address information of patch server, so that described target video collecting device is according to institute The address information stating patch server downloads corresponding patch, and carries out patch installation.
In an alternative embodiment, the video monitoring system shown in Fig. 8 can also include: secure box 840;Wherein:
Described video capture device 810, is additionally operable to when there is leak, and when installation patch completes to need to restart, to described Secure box sends and accesses control instruction;
Described secure box 840, is used for receiving described access control instruction, and right according to the generation of described access control instruction The access blacklist answered, and forbid that the message mating described access blacklist passes through;
Described video capture device 810, is additionally operable to when restarting application module and completing, and sends to described secure box and releases Control instruction;
Described secure box 840, is additionally operable to receive described releasing control instruction, and it is corresponding to delete described access control instruction Access blacklist.
In said apparatus, the function of unit and the process that realizes of effect specifically refer to corresponding step in said method Realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part sees method in fact The part executing example illustrates.Device embodiment described above is only schematically, wherein said as separating component The unit illustrated can be or may not be physically separate, and the parts shown as unit can be or can also It not physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Can be according to reality Need to select some or all of module therein to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying In the case of going out creative work, i.e. it is appreciated that and implements.
As seen from the above-described embodiment, by the application module of video capture device is separated with coding module, when video is adopted There is leak in collection equipment, and when patch installation needs to restart, video capture device can restart application module, and in this locality The video data that caching coding module gets, it is ensured that restart period at video capture device, remains able to obtain video counts According to, it is to avoid video capture device restarts the disappearance of period video data.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the present invention Its embodiment.The application is intended to any modification, purposes or the adaptations of the present invention, these modification, purposes or Person's adaptations is followed the general principle of the present invention and includes the undocumented common knowledge in the art of the present invention Or conventional techniques means.Description and embodiments is considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (13)

1. a device updating method, is applied to video monitoring system, and described video monitoring system includes video capture device, pipe Reason server and storage device, it is characterised in that the application module of described video capture device separates with coding module;Described Method includes:
When described video capture device exists leak, and when patch installation needs to restart, described video capture device is restarted Application module, and the video data got at local cache coding module.
Method the most according to claim 1, it is characterised in that described video capture device is as the first video capture device Backup each other with the second video capture device in described video monitoring system;
When described video capture device exists leak, and when patch installation needs to restart, described method also includes:
Described first video capture device disconnects and being connected with the storage of described storage device, and to described second video capture device Send the first notification message, to notify that described second video capture device simulates described video capture device and described storage device Set up target storage to connect;
When described second video capture device set up with described storage device target storage be connected time, described first video is adopted The video data that collection equipment will be switched off getting after storage connects is sent to described second video capture device, is regarded by described second The video data received is packaged by described first video capture device of collecting device simulation frequently, and is deposited by described target Storage connection is sent to described storage device.
Method the most according to claim 2, it is characterised in that described method also includes:
When described first video capture device restart application module complete time, stop to described second video capture device send regard Frequency evidence, and send the second notification message to described second video capture device, to notify that described second video capture device breaks The target storage opened between described storage device is connected;
Described first video capture device re-establishes storage and is connected with described storage device, and caches volume during connection establishment The video data that code module gets;
When described first video capture device and described storage device re-establish storage successful connection, by the video counts of caching Connect according to the storage that re-establishes described in passing through after encapsulation and be sent to described storage device.
Method the most according to claim 1, it is characterised in that described method also includes:
Management server issues Hole Detection wooden horse to the target video collecting device succeeded in registration, and periodically or periodically to Described target video collecting device sends detection instruction, so that described target video collecting device utilizes described Hole Detection wooden horse Carry out Hole Detection, and testing result is reported described management server;
When described management server determines that described target video collecting device exists leak, described management server is to described mesh Mark video capture device issues patch and downloads notice, and described patch is downloaded notice and carried the address information of patch server, with Make described target video collecting device download corresponding patch according to the address information of described patch server, and carry out patch peace Dress;
Or,
Described management server regularly or periodically carries out vulnerability scanning to the target video collecting device succeeded in registration, and works as Determine when target video collecting device exists leak, issue patch to described target video collecting device and download notice, described benefit Fourth is downloaded notice and is carried the address information of patch server, so that described target video collecting device services according to described patch The address information of device downloads corresponding patch, and carries out patch installation.
Method the most according to claim 1, it is characterised in that also include secure box in described video monitoring system;
When described video capture device exists leak, and when installation patch completes to need to restart, described method also includes:
Described video capture device sends to described secure box and accesses control instruction, so that described secure box is according to described visit Ask that control instruction generates corresponding access blacklist, and forbid that the message mating described access blacklist passes through;
When described video capture device restart application module complete time, to described secure box send release control instruction so that Described secure box deletes the access blacklist that described access control instruction is corresponding.
6. an equipment upgrade device, the video capture device in application video monitoring system, described video monitoring system is also wrapped Include management server and storage device, it is characterised in that the application mould of the video capture device in described video monitoring system Block separates with coding module, and described device includes:
Restarting unit, for when needing to restart after described video capture device exists leak, and patch installation, restarting should Use module;
Buffer unit, for when needing to restart after described video capture device exists leak, and patch installation, in this locality The video data that caching coding module gets.
Device the most according to claim 6, it is characterised in that described video capture device is as the first video capture device Backup each other with the second video capture device in described video monitoring system;
Described device also includes:
Transmitting element, for there is leak when described video capture device, and when patch installation needs to restart, disconnects described First video capture device is connected with the storage of described storage device, and sends the first notice to described second video capture device Message, to notify that described second video capture device is simulated described first video capture device and set up target with described storage device Storage connects;
Described transmitting element, is additionally operable to set up target storage when described second video capture device with described storage device and has been connected Cheng Shi, the video data that will be switched off getting after storage connects is sent to described second video capture device, is regarded by described second The video data received is packaged by described first video capture device of collecting device simulation frequently, and is deposited by described target Storage connection is sent to described storage device.
Device the most according to claim 7, it is characterised in that
Described transmitting element, be additionally operable to when described first video capture device restart application module complete time, stop to described the Two video capture devices send video data, and send the second notification message, to notify to described second video capture device State the second video capture device disconnection to be connected with the target storage between described storage device;
Described device also includes:
Set up unit, be connected for re-establishing storage with described storage device;
Described buffer unit, is additionally operable to cache the video data that coding module gets during connection establishment;
Encapsulation unit, is used for when described first video capture device and described storage device re-establish storage successful connection, The video data of caching is packaged;
Described transmitting element, the video data after being additionally operable to encapsulation is sent to described storage by the storage connection re-established Equipment.
9. a video monitoring system, including video capture device, management server and storage device, it is characterised in that institute State the application module of video capture device in video monitoring system to separate with coding module;Wherein:
, there is leak for working as, and when patch installation needs to restart, restart application module in described video capture device, and At the video data that local cache coding module gets.
System the most according to claim 9, it is characterised in that described video capture device sets as the first video acquisition For backuping each other with the second video capture device in described video monitoring system;
Described first video capture device, is additionally operable to when there is leak, and when patch installation needs to restart, disconnects with described The storage of storage device connects, and sends the first notification message to described second video capture device;
Described second video capture device, is used for receiving described first notification message, and simulates described video capture device and institute State storage device and set up target storage connection;
Described first video capture device, is additionally operable to set up target when described second video capture device with described storage device and deposits When storage connection completes, the video data that will be switched off getting after storage connects is sent to described second video capture device;
Described second video capture device, is additionally operable to receive the video data that described first video capture device sends, and simulates The video data received is packaged by described first video capture device, and is sent to institute by the storage connection of described target State storage device.
11. systems according to claim 10, it is characterised in that
Described video capture device, is additionally operable to when restarting application module and completing, and stops sending out to described second video capture device Send video data, and send the second notification message to described second video capture device;
Described second video capture device, is additionally operable to when receiving described second notification message, disconnects and described storage device Between target storage connect;
Described first video capture device, is additionally operable to re-establish storage with described storage device and is connected, and cache connection establishment During the video data that gets of coding module;
Described first video capture device, is additionally operable to when re-establishing storage successful connection with described storage device, will caching Video data encapsulation after pass through described in the storage that re-establishes connect and be sent to described storage device.
12. systems according to claim 9, it is characterised in that
Management server, for issuing Hole Detection wooden horse, and regular or cycle to the target video collecting device succeeded in registration Property ground to described target video collecting device send detection instruction so that described target video collecting device utilizes described leak to examine Survey wooden horse and carry out Hole Detection, and testing result is reported described management server;When determining that described target video collection sets For when there is leak, issuing patch to described target video collecting device and download notice, described patch is downloaded notice and is carried benefit The address information of fourth server, so that described target video collecting device is right according to the address information download of described patch server The patch answered, and carry out patch installation;
Or,
Management server, for timing or periodically carries out vulnerability scanning to the target video collecting device succeeded in registration, and When determining that target video collecting device exists leak, issue patch to described target video collecting device and download notice, described Patch is downloaded notice and is carried the address information of patch server, so that described target video collecting device takes according to described patch The address information of business device downloads corresponding patch, and carries out patch installation.
13. systems according to claim 9, it is characterised in that described system also includes: secure box;Wherein:
Described video capture device, is additionally operable to when there is leak, and when installation patch completes to need to restart, to described secure box Send and access control instruction;
Described secure box, is used for receiving described access control instruction, and generates corresponding visit according to described access control instruction Ask blacklist, and forbid that the message mating described access blacklist passes through;
Described video capture device, is additionally operable to when restarting application module and completing, and sends releasing control to described secure box and refers to Order;
Described secure box, is additionally operable to receive described releasing control instruction, and deletes the access that described access control instruction is corresponding Blacklist.
CN201610421630.5A 2016-06-13 2016-06-13 equipment upgrading method and device and video monitoring system Active CN106126270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610421630.5A CN106126270B (en) 2016-06-13 2016-06-13 equipment upgrading method and device and video monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610421630.5A CN106126270B (en) 2016-06-13 2016-06-13 equipment upgrading method and device and video monitoring system

Publications (2)

Publication Number Publication Date
CN106126270A true CN106126270A (en) 2016-11-16
CN106126270B CN106126270B (en) 2019-12-13

Family

ID=57270126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610421630.5A Active CN106126270B (en) 2016-06-13 2016-06-13 equipment upgrading method and device and video monitoring system

Country Status (1)

Country Link
CN (1) CN106126270B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261299A (en) * 2020-10-22 2021-01-22 苏州臻迪智能科技有限公司 Unmanned aerial vehicle time-delay shooting method and device, unmanned aerial vehicle and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100505871C (en) * 2006-10-24 2009-06-24 杭州华三通信技术有限公司 Video-frequency data processing method, video-frequency collecting equipment and video-frequency management equipment
CN102300081A (en) * 2011-08-16 2011-12-28 深圳市佳信捷电子有限公司 Audio and video monitoring equipment, system and method thereof
JP2015219616A (en) * 2014-05-15 2015-12-07 富士電機株式会社 Monitoring control system
CN105430327A (en) * 2015-11-05 2016-03-23 成都基业长青科技有限责任公司 NVR cluster backup method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100505871C (en) * 2006-10-24 2009-06-24 杭州华三通信技术有限公司 Video-frequency data processing method, video-frequency collecting equipment and video-frequency management equipment
CN102300081A (en) * 2011-08-16 2011-12-28 深圳市佳信捷电子有限公司 Audio and video monitoring equipment, system and method thereof
JP2015219616A (en) * 2014-05-15 2015-12-07 富士電機株式会社 Monitoring control system
CN105430327A (en) * 2015-11-05 2016-03-23 成都基业长青科技有限责任公司 NVR cluster backup method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261299A (en) * 2020-10-22 2021-01-22 苏州臻迪智能科技有限公司 Unmanned aerial vehicle time-delay shooting method and device, unmanned aerial vehicle and storage medium
CN112261299B (en) * 2020-10-22 2022-06-28 苏州臻迪智能科技有限公司 Unmanned aerial vehicle time-delay shooting method and device, unmanned aerial vehicle and storage medium

Also Published As

Publication number Publication date
CN106126270B (en) 2019-12-13

Similar Documents

Publication Publication Date Title
Han et al. Sensor network software update management: a survey
CN103930879B (en) Projection storage gateway
US9167031B2 (en) Distributed processing system and distributed processing method
CN105471969A (en) Power grid data processing cloud platform system
CN102263667B (en) Network management system and network management processing method
CN106230843A (en) A kind of for the smart mobile phone configuration method of cloud virtual mobile phone, server and system
JPH06509927A (en) Network monitoring method and device
CN106911502A (en) A kind of upgrade method and system of intelligent home gateway equipment
CN103269284A (en) Method for capturing real-time network data
CN101702735A (en) TCP service device and method
CN114422254B (en) Cloud honey deployment method and device, cloud honey server and readable storage medium
CN108833149A (en) Method and system for monitoring network availability and self-healing of express delivery cabinet
CN107294924A (en) Detection method, the device and system of leak
CN108881233A (en) anti-attack processing method, device, equipment and storage medium
CN103944814A (en) Data exchange method and system and gateway server
CN109861994A (en) The vulnerability scanning method and its scanning means that cloud is invaded
CN108989151A (en) For network or the flow collection method of application performance management
CN109639790A (en) A kind of distributed Internet of Things software architecture
CN105553809A (en) STUN tunnel management method and device
CN107528923B (en) Data transmission method of network adapter and network adapter
KR100401089B1 (en) Remote anti-virus system and method on the wireless network
CN106126270A (en) A kind of device updating method, device and video monitoring system
CN112003842B (en) High-interaction honeypot system and honeypot protection method
CN206461664U (en) A kind of data collecting system
CN106130863B (en) Transfer approach, device and the system of LAN protocol message

Legal Events

Date Code Title Description
C06 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