CN110489272A - The operating system recovery method, apparatus and web camera of web camera - Google Patents

The operating system recovery method, apparatus and web camera of web camera Download PDF

Info

Publication number
CN110489272A
CN110489272A CN201910594879.XA CN201910594879A CN110489272A CN 110489272 A CN110489272 A CN 110489272A CN 201910594879 A CN201910594879 A CN 201910594879A CN 110489272 A CN110489272 A CN 110489272A
Authority
CN
China
Prior art keywords
operating system
camera
video camera
network
network video
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.)
Pending
Application number
CN201910594879.XA
Other languages
Chinese (zh)
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 Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201910594879.XA priority Critical patent/CN110489272A/en
Publication of CN110489272A publication Critical patent/CN110489272A/en
Pending legal-status Critical Current

Links

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/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • 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/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking
    • G06F11/1482Generic software techniques for error detection or fault masking by means of middleware or OS functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

This application involves operating system recovery method, apparatus, web camera and the readable storage medium storing program for executing of a kind of web camera.This method comprises: first network video camera obtains operating system program from the second web camera when detecting the operating system exception of first network video camera;First network video camera and the second web camera are located in same local area network, and operating system is identical;First network video camera restores operating system according to operating system program.Carrying cost can reduce using this method.

Description

The operating system recovery method, apparatus and web camera of web camera
Technical field
This application involves web camera field, more particularly to a kind of web camera operating system recovery method, Device, web camera and readable storage medium storing program for executing.
Background technique
Web camera is widely used in the fields such as security protection, traffic monitoring, however in the network upgrade process of operating system In, can not normally it start if there is unusual conditions, the then operating systems that may result in web camera such as power-off.
Two storage regions, one of memory block is arranged in traditional technology generally in the local storage of web camera Domain is primary storage region, is stored with primary operating system program, another storage region is slack storage area, is stored with The operating system program of backup;When there is operating system exception, the operation of backup can be obtained from backup storage region System program is restored.
However, the memory space that traditional technology will lead to operating system program occupancy is double, lead to storage space utilization Problem too low, carrying cost is excessively high.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of web camera that can reduce carrying cost Operating system recovery method, apparatus, web camera and readable storage medium storing program for executing.
In a first aspect, a kind of operating system recovery method of web camera, comprising:
When detecting the operating system exception of first network video camera, the first network video camera is taken the photograph from the second network Operating system program is obtained at camera;The first network video camera and second web camera are located at same local area In net, and operating system is identical;
The first network video camera restores the operating system according to the operating system program.
The first network video camera obtains operating system journey from the second web camera in one of the embodiments, Sequence, comprising:
The first network video camera from be located at the local area network each terminal device in, determine at least one second Web camera, and connection is established with the second web camera described at least one;
Second web camera sends operating system recovery application to the first network video camera thereto, and receives The operating system program that second web camera returns.
In one of the embodiments, the first network video camera from be located at the local area network each terminal device In, determine at least one second web camera, and establish connection with the second web camera described at least one, comprising:
It is same set that the first network video camera, which is searched in the local area network with the first network video camera, Second web camera of standby type, and establish local area network at least one second web camera searched and connect.
The first network video camera is searched for and described first in the local area network in one of the embodiments, Web camera is the second web camera of same device type, comprising:
The first network video camera searches for message by the local area network broadcast or multicast;Described search message is taken Device type with the first network video camera;
The first network video camera receives each second web camera and is directed to the response that described search message returns.
In one of the embodiments, the first network video camera from be located at the local area network each terminal device In, determine at least one second web camera, comprising:
The first network video camera determines that at least one described second network is taken the photograph from preset web camera list Camera.
Second aspect, a kind of operating system recovery method of web camera, comprising:
Second web camera receives first network video camera in the operating system for detecting the first network video camera The operating system recovery application sent when abnormal;The first network video camera and second web camera are located at same In ground local area network, and operating system is identical;
Second web camera sends operating system program to the first network video camera;The operating system journey Sequence is used to indicate the first network video camera and is restored according to the operating system program to the operating system.
In one of the embodiments, second web camera receive first network video camera detect it is described Before the operating system recovery application sent when the operating system exception of first network video camera, the method also includes:
Second web camera judges whether to receive search message;Described search message is that the first network is taken the photograph Camera carries the device type of the first network video camera by the local area network broadcast or multicast;
If receiving described search message, second web camera parses described search message, obtains described the The device type of one web camera;
If second web camera is identical as the device type of the first network video camera, second network Video camera is to the first network video camera returning response.
In one of the embodiments, second web camera to the first network video camera returning response it Afterwards, the method also includes:
Second web camera judges whether to receive the connection request of the first network video camera;
If not receiving the connection request within a preset period of time, the step for judging whether to receive search message is returned Suddenly.
The third aspect, a kind of operating system recovery apparatus of web camera, comprising:
Program obtains module, for when detecting the operating system exception of first network video camera, the first network Video camera obtains operating system program from the second web camera;The first network video camera and second network shooting Machine is located in same local area network, and operating system is identical;
System recovery module, for the first network video camera according to the operating system program, to operation system System is restored.
Fourth aspect, a kind of operating system recovery apparatus of web camera, comprising:
Apply for receiving module, receives first network video camera for the second web camera and detecting the first network The operating system recovery application sent when the operating system exception of video camera;The first network video camera and second network Position for video camera is in same local area network, and operating system is identical;
Program sending module sends operating system journey to the first network video camera for second web camera Sequence;The operating system program is used to indicate the first network video camera according to the operating system program System is restored.
5th aspect, a kind of web camera, including memory and processor, the memory are stored with computer journey Sequence when the processor executes the computer program, is performed the steps of when the operation system for detecting the web camera When system is abnormal, operating system program is obtained from the second web camera;The web camera and second network shooting Machine is located in same local area network, and operating system is identical;According to the operating system program, the operating system is carried out Restore.
6th aspect, a kind of web camera, including receiver, transmitter, memory and processor, the memory are deposited Computer program is contained, when the processor executes the computer program, indicates that the receiver receives first network camera shooting The operating system recovery application that machine is sent when detecting the operating system exception of the first network video camera;First net Network video camera and the web camera are located in same local area network, and operating system is identical;Indicate the transmitter to The first network video camera sends operating system program;The operating system program is used to indicate the first network video camera The operating system is restored according to the operating system program.
A kind of readable storage medium storing program for executing is stored thereon with computer program, real when the computer program is executed by processor The step of existing above-mentioned first aspect and/or above-mentioned second aspect.
Operating system recovery method, apparatus, web camera and the readable storage medium storing program for executing of above-mentioned web camera, the first net Network video camera, which in operating system failure, can be subordinated at the second web camera of same local area network, obtains operation system System program, the operating system that second web camera and first network image are identical;Therefore the present embodiment can make local The operating system program of any two web camera in local area network is mutually backups, and there is no need in each web camera Operating system program is backed up in local disk, the storage overhead of operating system program is reduced, improves memory space Utilization rate, reduce carrying cost;In addition, being obtained from other web cameras in local area network compared to for internet Operating system program is more efficient, is more suitable for the web camera of operating system failure.
Detailed description of the invention
Fig. 1 a is the applied environment figure of the operating system recovery method of web camera in one embodiment;
Fig. 1 b is the applied environment figure of the operating system recovery method of web camera in one embodiment;
Fig. 2 is the flow diagram of the operating system recovery method of web camera in one embodiment;
Fig. 3 is the flow diagram of the operating system recovery method of web camera in one embodiment;
Fig. 4 is the flow diagram of the operating system recovery method of web camera in one embodiment;
Fig. 5 is the structural block diagram of the operating system recovery apparatus of web camera in one embodiment;
Fig. 6 is the structural block diagram of the operating system recovery apparatus of web camera in one embodiment;
Fig. 7 is the structural block diagram of the operating system recovery apparatus of web camera in one embodiment;
Fig. 8 is the structural block diagram of the operating system recovery apparatus of web camera in one embodiment;
Fig. 9 is the internal structure chart of web camera in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Web camera (IP Camera, IPC) is generally composed of network code module and analog video camera;Simulation Video camera can acquire analog video signal;The analog video signal that network code module can acquire analog video camera encodes It is compressed into digital signal, so as to be sent to other ends in local area network in the form of digital video bit stream routing device End, the other terminals that can also be sent in internet;Wherein, web camera generally can a built-in embedded chip, To use embedded real-time operating system.
The operating system recovery method of web camera provided by the present application can be applied to application ring as shown in Figure 1a In border.Illustratively, multiple web cameras can be at least one network hard disk video recorder (NVR, Network Video Recorder) local area network (Local Area Network, LAN) is formed;Wherein, network hard disk video recorder can pass through local area network Connection receives the digital video bit stream of each web camera transmission, and deposits to the digital video data in digital video bit stream The operations such as storage, management, can also be uploaded to cloud server.Specifically, referring to Fig.1 shown in b, each web camera and network are hard Disk video recorder can connect composition local area network by least one routing device, can cascade between routing device;Local area network Topological structure can be, but not limited to be star, tree-like, annular, type trunk etc.;It is router that routing device, which can be, but not limited to, is handed over It changes planes.In addition, can be connected by wired mode between each web camera, can also by the modes such as wireless (such as WLAN, Wireless Local Area Networks, WLAN) connection.
Certainly, each web camera may exist local storage, such as SD card (Secure Digital Memory Card/SD card, safe digital card), hard disk etc., digital video data can be stored in local storage, therefore in this Shen Network hard disk video recorder can also be not present in application environment please.Similarly, there may be other whole in above-mentioned local area network End equipment, there may also be server, printer, personal computer, network public address equipments etc..
In one embodiment, as shown in Fig. 2, a kind of operating system recovery method of web camera is provided, with this Method is applied to be illustrated for the web camera in Fig. 1 a or Fig. 1 b, comprising the following steps:
S201, when detecting the operating system exception of first network video camera, first network video camera is from the second network Operating system program is obtained at video camera;First network video camera and the second web camera are located in same local area network, And operating system is identical.
For example, when web camera is during carrying out operating system update, it, may when meeting with the unusual conditions such as power-off Cause the update of operating system program to be interrupted, operating system program is caused the abnormal conditions such as imperfect or wrong occur, it can To lead to not normal boot-strap.It is understood that web camera is there are processors such as CPU (central processing unit), single-chip microcontrollers, The various states of the operating system of web camera can be obtained in real time, and whether operating system is judged according to operation system state Failure;The various states of operating system, including but not limited to processor utilization, memory usage, activation bit, disc information Deng.
Illustratively, when first network video camera detects the operating system failure of itself, operating system can be executed Self- recoverage process, the operating system self- recoverage process are used to indicate first network video camera and obtain behaviour from the second web camera Make system program, and according to the operating system program recovery operation system of acquisition.Wherein, first network video camera and the second network The operating system of video camera is identical, including but not limited to OS Type identical (being such as all (SuSE) Linux OS), operation system The version of system is mutually same.Therefore, the present embodiment can make the operation system of any two web camera in local area network System program is mutually backups, can there is no need to back up in the local disk of each web camera to operating system program To obtain operating system program from other web cameras in local area network.
Illustratively, it can be carried out in advance between the identical first network video camera of operating system and the second web camera Pairing, and pairing list is prestored respectively, match another web camera for existing in list and matching with current network video camera Mark: first network video camera after detecting faults itself, can into local area network each end-point device broadcast fault message, Fault message may include the mark of first network video camera;Second web camera can after receiving the fault message, Judge that the mark of the first network video camera in the fault message whether there is in the pairing list of the second web camera, if In the presence of then the operating system program being locally stored can be sent to first network video camera by the second web camera;First net Network video camera receives the operating system program that the second web camera is sent.
It is understood that because multiple web cameras usually form a local area network, for realizing to a region Conduct monitoring at all levels, the identical probability of operating system of multiple web cameras in the same local area network is larger;Therefore, In the present embodiment, first network video camera can obtain operating system journey from the second web camera in local area network Sequence, and the identical probability of operating system is larger, and the acquisition efficiency of operating system can be improved.In addition, for operating system failure First network video camera for, many functions often can not be realized normally, and for relative interconnections net, and local area network generally has Many characteristics such as higher reliability, faster message transmission rate, operating lag be short, thus can simplify acquisition operating system The difficulty of program improves the acquisition efficiency of operating system;Such as can simplify the complexity of operating system self- recoverage process, it is not necessarily to Consider the problems such as network failure.
S202, first network video camera restore operating system according to operating system program.
Illustratively, first network video camera, can be by the operation of cause barrier after getting aforesaid operations system program System program replaces with aforesaid operations system program, and runs aforesaid operations system program.Getting aforesaid operations system journey After sequence, first network video camera can also detect aforesaid operations system program, such as obtain the operating system program The information such as type, version, and be compared with information such as the type of preset operating system, versions, when comparison passes through, determine Aforesaid operations system program is destination OS program, then carries out recovery processing.
In the present embodiment, first network video camera can be subordinated to same local area network in operating system failure The second web camera at obtain operating system program, second web camera and first network camera shooting operating system phase Together;Therefore the present embodiment can make the operating system program of any two web camera in local area network standby each other Part, there is no need to back up in the local disk of each web camera to operating system program, reduce operating system The storage overhead of program improves the utilization rate of memory space, reduces carrying cost;In addition, compared to for internet, from office It obtains that operating system program is more efficient at other web cameras in the net of domain, is more suitable for the net of operating system failure Network video camera.
Referring to shown in Fig. 3, shows first network video camera and obtain operating system program from the second web camera A kind of implementation may include:
S301, first network video camera determine at least one second net from each terminal device for being located locally local area network Network video camera, and connection is established at least one second web camera.
It is understood that first network video camera from each terminal device for being located locally local area network, obtains at least one The mark of a second web camera.
In one embodiment, first network video camera and the second web camera are same device type, then first Web camera can search for the second network shooting with first network video camera for same device type in local area network Machine, and establish local area network at least one second web camera searched and connect.It is understood that same equipment Type means that first network video camera and the second web camera are same type of web camera, and operating system is general Identical, there is no need to judge whether the operating system of the second web camera identical as first network video camera, it is only necessary to logical The comparison for crossing device type can determine that the second web camera is identical as the operating system of first network video camera, therefore first Web camera can be restored using the operating system program of the second web camera.
Illustratively, first network video camera can search for message by local area network broadcast or multicast;Search for message Carry the device type of first network video camera;First network video camera receives each second web camera for search message The response of return.Wherein, search message carries the device type of first network video camera, can also include that first network images The mark of machine, the present embodiment do not limit the format of the search message;It is understood that first network video camera and at least one Communication between a second web camera can be based on same communication protocol, which can be general local area network Agreement is also possible to other LAN protocol, in short, the second web camera can receive the search message, and parses It, can be in the device type and the second web camera for determining first network video camera to the device type of first network video camera Device type it is identical when, to first network video camera returning response, second web camera of response representation and first network The device type of video camera is identical, may include the mark of the second web camera in the response;Second web camera can also With in the device type difference of the device type that determines first network video camera and the second web camera, without response. It is understood that and other terminal devices possibility for other terminal devices in local area network, in addition to web camera Search message can not be parsed, or can parse search message but non-returning response.First network video camera passes through local area The mode of net broadcast or multicast search message determines the second web camera, takes full advantage of the advantage of local area network, expands and search Rope range improves the probability for searching the second web camera.
Further, after above-mentioned first network video camera searches for message by local area network broadcast or multicast, on The operating system recovery method for stating web camera can also include: that first network video camera judges whether to receive for search The response that message returns;If not receiving response within a preset period of time, passes back through local area network broadcast or multicast and search The step of rope message, until receiving the response returned for search message.
In another embodiment, first network video camera determines at least one from preset web camera list A second web camera.First network video camera can also prestore web camera list, there is at least one in the list The mark of a backup network video camera identical with first network camera operating system, therefore first network video camera can be from Middle at least one backup network video camera of selection is simple and effective as the second web camera.
S302, second web camera sends operating system recovery application to first network video camera thereto, and connects Receive the operating system program of the second web camera return.
First network video camera can send operating system recovery application, tool by any one second web camera thereto Body, first network video camera can establish LAN connection with the second determining web camera, can use the side of unicast Formula is communicated;For example, may include the mark and service identifiers of first network video camera in operating system recovery application, it is somebody's turn to do Service identifiers characterize operating system recovery service;Second web camera can receive operating system recovery application, can solve The mark and service identifiers of first network video camera are analysed, and obtains the operation of the second web camera from local storage System program, and it is sent to first network video camera.
In practical applications, first network video camera can send operating system recovery Shen to multiple second web cameras Please, and the operating system program that at least one second web camera returns is received, such as first operation can be being received After the data packet of system program, according to the mark of the second web camera in the data packet, second network is selectively received The data packet of the corresponding other operating system programs of mark of video camera, thus in the premise for not increasing local storage space pressure The lower acquisition efficiency for improving operating system program.
It should be noted that above-described embodiment is the web camera (first network video camera) from operating system failure Angle sets out to describe;Referring to shown in Fig. 4, following embodiment is to provide operation to the web camera of operating system failure The angle of the web camera (the second web camera) of system program sets out to describe, and is also provided that a kind of network shooting The operating system recovery method of machine, may comprise steps of:
S401, the second web camera receive first network video camera in the operating system for detecting first network video camera The operating system recovery application sent when abnormal;First network video camera and the second web camera are located at same local area network In, and operating system is identical;
S402, the second web camera send operating system program to first network video camera;Operating system program is used for Instruction first network video camera restores operating system according to operating system program.
Illustratively, when the second web camera starts, operating system recovery service processes can be executed, the operation system System restores service processes and is used to indicate the second web camera to detect that operating system is different receiving first network video camera When the operating system recovery application sent when often, operating system program is sent to first network video camera.
Optionally, before S401, the operating system recovery method of above-mentioned web camera can also include: the second network Video camera judges whether to receive search message;Searching for message is that first network video camera passes through local area network broadcast or multicast , carry the device type of first network video camera;If receiving search message, the second web camera parsing search report Text obtains the device type of first network video camera;If the device type phase of the second web camera and first network video camera Together, then the second web camera to first network video camera returning response.
Further, in above-mentioned second web camera to after first network video camera returning response, above-mentioned network is taken the photograph The operating system recovery method of camera can also include: that the second web camera judges whether to receive first network video camera Connection request;If not receiving connection request within a preset period of time, return judges whether the step of receiving search message. First network video camera may receive the response that multiple second web cameras return, and can choose at least one second network and take the photograph Camera establishes connection and sends operating system recovery application;Meanwhile there may be the appearance of other web cameras in local area network Failure, and message is searched in broadcast or multicast, therefore in order to improve efficiency, if the second web camera does not connect within a preset period of time The connection request that above-mentioned first network video camera is sent is received, then can return to the step for executing and judging whether to receive search message Suddenly.
It, can be with about the operating system recovery method of the above-mentioned web camera described from the angle of the second web camera Referring to the description of the operating system recovery method of the above-mentioned web camera described from the angle of first network video camera, here not It repeats again.
It should be understood that although each step in the flow chart of Fig. 2-4 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-4 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in figure 5, providing a kind of operating system recovery apparatus of web camera, comprising: Program obtains module 51 and system recovery module 52, in which:
Program obtains module 51, for when detecting the operating system exception of first network video camera, first network to be taken the photograph Camera obtains operating system program from the second web camera;First network video camera and the second web camera are located at same In local area network, and operating system is identical;
System recovery module 52 restores operating system for first network video camera according to operating system program.
Optionally, referring to shown in Fig. 6, on the basis of above-mentioned Fig. 5, program obtains module 51 and may include:
Object determination unit 511 is determined for first network video camera from each terminal device for being located locally local area network At least one second web camera, and connection is established at least one second web camera;
Program application unit 512, for first network video camera, second web camera sends operation system thereto System restores application, and receives the operating system program that the second web camera returns.
Optionally, object determination unit 511 is searched for and first specifically for first network video camera in local area network Web camera is the second web camera of same device type, and builds at least one second web camera searched Vertical local area network connection.
Optionally, object determination unit 511 is also used to first network video camera and is searched by local area network broadcast or multicast Rope message;Search message carries the device type of first network video camera;First network video camera receives each second network and takes the photograph The response that camera is returned for search message.
Optionally, object determination unit 511 is specifically used for first network video camera from preset web camera list, Determine at least one second web camera.
In one embodiment, as shown in fig. 7, providing a kind of operating system recovery apparatus of web camera, comprising: Apply for receiving module 71 and program sending module 72, in which:
Apply for receiving module 71, receives first network video camera for the second web camera and detecting that first network takes the photograph The operating system recovery application sent when the operating system exception of camera;First network video camera and the second web camera are located at In same local area network, and operating system is identical;
Program sending module 72 sends operating system program to first network video camera for the second web camera;Behaviour First network video camera is used to indicate as system program to restore operating system according to operating system program.
Optionally, as shown in figure 8, on the basis of above-mentioned Fig. 7, above-mentioned apparatus can also include:
Message receiving module 73 judges whether to receive search message for the second web camera;Searching for message is the One web camera carries the device type of first network video camera by local area network broadcast or multicast;
Packet parsing module 74, if for receiving search message, the second web camera parsing search message is obtained The device type of first network video camera;
Sending module 75 is responded, if identical as the device type of first network video camera for the second web camera, Second web camera is to first network video camera returning response.
Optionally, above-mentioned apparatus can also include:
Connection judgment module judges whether that the connection for receiving first network video camera is asked for the second web camera It asks;
Timeout module is connected, if for not receiving connection request within a preset period of time, return judges whether to receive To the step of searching for message.
The specific restriction of operating system recovery apparatus about web camera may refer to above for network shooting The restriction of the operating system recovery method of machine, details are not described herein.In the operating system recovery apparatus of above-mentioned web camera Modules can be realized fully or partially through software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware Or independently of in the processor in computer equipment, can also be stored in a software form in the memory in computer equipment, The corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of web camera is provided, internal structure chart can be as shown in Figure 9.The network Video camera may include processor, the memory, camera, transmitter, receiver, input unit connected by system bus Deng.Wherein, the processor of the web camera is for providing calculating and control ability.The memory of the web camera includes non- Volatile storage medium, built-in storage.The non-volatile memory medium is stored with operating system program and computer program.This is interior Memory provides environment for the operation of operating system program and computer program in non-volatile memory medium.The network shooting The camera of machine is stored in built-in storage for acquiring digital video signal.The transmitter of the web camera and reception Device is used to communicate with external terminal by LAN connection;Transmitters and receivers can be respectively the transmitting terminal of network interface And receiving end, it can also be respectively radio-frequency transmitter and radio-frequency transmitter etc., the present embodiment is not intended to limit this.The computer journey A kind of operating system recovery method of web camera is realized when sequence is executed by processor.The input unit of the web camera It can be the key or Trackpad being arranged on web camera shell, can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 9, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of web camera is provided, may include memory and processor, memory storage There is computer program, processor is performed the steps of when executing computer program when the operating system for detecting web camera When abnormal, operating system program is obtained from the second web camera;Above-mentioned web camera and the second web camera are located at In same local area network, and operating system is identical;According to operating system program, operating system is restored.
Optionally, above-mentioned web camera can also include transmitters and receivers, when processor executes computer program It also performs the steps of from each terminal device for being located locally local area network, determines at least one second web camera, and with At least one second web camera establishes connection;Second web camera sends operating system to indicator -transmitter thereto Restore application, and indicates that receiver receives the operating system program that the second web camera returns.
Optionally, also performed the steps of in local area network when processor executes computer program search with it is above-mentioned Web camera is the second web camera of same device type, and builds at least one second web camera searched Vertical local area network connection.
Optionally, it also performs the steps of when processor executes computer program through local area network broadcast or multicast Search for message;Search message carries the device type of above-mentioned web camera;Indicate that receiver receives each second network shooting The response that eedle returns to search message.
Optionally, it is also performed the steps of from preset web camera list when processor executes computer program, Determine at least one second web camera.
In one embodiment, a kind of web camera is provided, may include transmitter, receiver, memory and place Device is managed, memory is stored with computer program, and processor performs the steps of instruction receiver and receives when executing computer program The operating system recovery application that first network video camera is sent in the operating system exception for detecting first network video camera;The One web camera and above-mentioned web camera are located in same local area network, and operating system is identical;Indicator -transmitter to First network video camera sends operating system program;Operating system program is used to indicate first network video camera according to operating system Program restores operating system.
Optionally, it is also performed the steps of when processor executes computer program and judges whether to receive search message;It searches Rope message is first network video camera by local area network broadcast or multicast, carries the equipment class of first network video camera Type;If receiving search message, search message is parsed, obtains the device type of first network video camera;If above-mentioned network is taken the photograph Camera is identical as the device type of first network video camera, then indicator -transmitter is to first network video camera returning response.
Optionally, it is also performed the steps of when processor executes computer program and judges whether to receive first network and take the photograph The connection request of camera;If not receiving connection request within a preset period of time, return judges whether to receive search message The step of.
In one embodiment, a kind of readable storage medium storing program for executing is provided, computer program is stored thereon with,
In a first aspect, being performed the steps of when computer program is executed by processor
When detecting the operating system exception of web camera, operating system journey is obtained from the second web camera Sequence;Web camera and the second web camera are located in same local area network, and operating system is identical;
According to operating system program, the operating system of web camera is restored.
In one embodiment, it is also performed the steps of when computer program is executed by processor from being located locally local In each terminal device of net, at least one second web camera is determined, and establish and connect at least one second web camera It connects;Second web camera sends operating system recovery application thereto, and receives the behaviour that the second web camera returns Make system program.
In one embodiment, it is also performed the steps of in local area network when computer program is executed by processor Search is the second web camera of same device type with web camera, and is taken the photograph at least one second network searched Camera establishes local area network connection.
In one embodiment, it is also performed the steps of when computer program is executed by processor and passes through local area network Message is searched in broadcast or multicast;Search message carries the device type of first network video camera;Receive each second network shooting The response that eedle returns to search message.
In one embodiment, it also performs the steps of when computer program is executed by processor and is taken the photograph from preset network In camera list, at least one second web camera is determined.
Second aspect performs the steps of when computer program is executed by processor
Receive the operation system that first network video camera is sent in the operating system exception for detecting first network video camera System restores application;First network video camera and web camera are located in same local area network, and operating system is identical;
Operating system program is sent to first network video camera;Operating system program is used to indicate first network video camera root Operating system is restored according to operating system program.
In one embodiment, it is also performed the steps of when computer program is executed by processor and judges whether to receive Search for message;Searching for message is first network video camera by local area network broadcast or multicast, carries first network and takes the photograph The device type of camera;If receiving search message, search message is parsed, obtains the device type of first network video camera; If web camera is identical as the device type of first network video camera, to first network video camera returning response.
In one embodiment, it is also performed the steps of when computer program is executed by processor and judges whether to receive The connection request of first network video camera;If not receiving connection request within a preset period of time, return judges whether to receive To the step of searching for message.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (13)

1. a kind of operating system recovery method of web camera characterized by comprising
When detecting the operating system exception of first network video camera, the first network video camera is from the second web camera Place obtains operating system program;The first network video camera and second web camera are located at same local area network In, and operating system is identical;
The first network video camera restores the operating system according to the operating system program.
2. the method according to claim 1, wherein the first network video camera is from the second web camera Obtain operating system program, comprising:
The first network video camera determines at least one second network shooting from each terminal device of the local area network Machine, and connection is established with the second web camera described at least one;
Second web camera sends operating system recovery application to the first network video camera thereto, and described in reception The operating system program that second web camera returns.
3. according to the method described in claim 2, it is characterized in that, the first network video camera is from positioned at the local area In each terminal device of net, at least one second web camera is determined, and build with the second web camera described at least one Vertical connection, comprising:
It is same equipment class that the first network video camera, which is searched in the local area network with the first network video camera, Second web camera of type, and establish local area network at least one second web camera searched and connect.
4. according to the method described in claim 3, it is characterized in that, the first network video camera is in the local area network Search is the second web camera of same device type with the first network video camera, comprising:
The first network video camera searches for message by the local area network broadcast or multicast;Described search message carries The device type of the first network video camera;
The first network video camera receives each second web camera and is directed to the response that described search message returns.
5. according to the method described in claim 2, it is characterized in that, the first network video camera is from positioned at the local area In each terminal device of net, at least one second web camera is determined, comprising:
The first network video camera determines at least one described second network shooting from preset web camera list Machine.
6. a kind of operating system recovery method of web camera characterized by comprising
It is abnormal in the operating system for detecting the first network video camera that second web camera receives first network video camera When the operating system recovery application that sends;The first network video camera and second web camera are located at same local office In the net of domain, and operating system is identical;
Second web camera sends operating system program to the first network video camera;The operating system program is used The operating system is restored according to the operating system program in the instruction first network video camera.
7. according to the method described in claim 6, it is characterized in that, receiving first network camera shooting in second web camera Before the operating system recovery application that machine is sent when detecting the operating system exception of the first network video camera, the side Method further include:
Second web camera judges whether to receive search message;Described search message is the first network video camera By the local area network broadcast or multicast, the device type of the first network video camera is carried;
If receiving described search message, second web camera parses described search message, obtains first net The device type of network video camera;
If second web camera is identical as the device type of the first network video camera, second network shooting Machine is to the first network video camera returning response.
8. the method according to the description of claim 7 is characterized in that being taken the photograph in second web camera to the first network After camera returning response, the method also includes:
Second web camera judges whether to receive the connection request of the first network video camera;
If not receiving the connection request within a preset period of time, return judges whether the step of receiving search message.
9. a kind of operating system recovery apparatus of web camera characterized by comprising
Program obtains module, for when detecting the operating system exception of first network video camera, the first network to be imaged Machine obtains operating system program from the second web camera;The first network video camera and second network shooting seat in the plane In same local area network, and operating system is identical;
System recovery module, for the first network video camera according to the operating system program, to the operating system into Row restores.
10. a kind of operating system recovery apparatus of web camera characterized by comprising
Apply for receiving module, receives first network video camera for the second web camera and detecting the first network camera shooting The operating system recovery application sent when the operating system exception of machine;The first network video camera and second network shooting Machine is located in same local area network, and operating system is identical;
Program sending module sends operating system program to the first network video camera for second web camera; The operating system program is used to indicate the first network video camera according to the operating system program to the operating system Restored.
11. a kind of web camera, which is characterized in that including memory and processor, the memory is stored with computer journey Sequence when the processor executes the computer program, is performed the steps of when the operation system for detecting the web camera When system is abnormal, operating system program is obtained from the second web camera;The web camera and second network shooting Machine is located in same local area network, and operating system is identical;According to the operating system program, the operating system is carried out Restore.
12. a kind of web camera, which is characterized in that including receiver, transmitter, memory and processor, the memory It is stored with computer program, when the processor executes the computer program, indicates that the receiver receives first network and takes the photograph The operating system recovery application that camera is sent when detecting the operating system exception of the first network video camera;Described first Web camera and the web camera are located in same local area network, and operating system is identical;Indicate the transmitter Operating system program is sent to the first network video camera;The operating system program is used to indicate the first network camera shooting Machine restores the operating system according to the operating system program.
13. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that the computer program is processed The step of device realizes method described in any item of the claim 1 to 8 when executing.
CN201910594879.XA 2019-07-03 2019-07-03 The operating system recovery method, apparatus and web camera of web camera Pending CN110489272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910594879.XA CN110489272A (en) 2019-07-03 2019-07-03 The operating system recovery method, apparatus and web camera of web camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910594879.XA CN110489272A (en) 2019-07-03 2019-07-03 The operating system recovery method, apparatus and web camera of web camera

Publications (1)

Publication Number Publication Date
CN110489272A true CN110489272A (en) 2019-11-22

Family

ID=68546009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910594879.XA Pending CN110489272A (en) 2019-07-03 2019-07-03 The operating system recovery method, apparatus and web camera of web camera

Country Status (1)

Country Link
CN (1) CN110489272A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124764A (en) * 2019-12-30 2020-05-08 惠州视维新技术有限公司 System restoring method, smart television and computer storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577727A (en) * 2008-05-06 2009-11-11 上海旗胜电器有限公司 Method for monitoring and setting digital network broadcasting management systems through local area network
CN101656683A (en) * 2008-08-20 2010-02-24 瞬联软件科技(北京)有限公司 Self-adaptive instant messaging system and method for implementing same
CN102098493A (en) * 2009-12-11 2011-06-15 鸿富锦精密工业(深圳)有限公司 System and method for adjusting monitor parameters
US20110158216A1 (en) * 2007-01-16 2011-06-30 Artur Zaks Idle Connection State Power Consumption Reduction In A Wireless Local Area Network Using Beacon Delay Advertisement
CN103281295A (en) * 2013-04-22 2013-09-04 深圳市共进电子股份有限公司 System and method for realizing parallel upgrade of multiple terminals in same IP (Internet Protocol) local area network
CN104038514A (en) * 2013-03-05 2014-09-10 福建星网视易信息系统有限公司 Method and system for realizing mobile interconnection services, data center, and mobile terminal
CN104090802A (en) * 2014-07-14 2014-10-08 深圳市欧林克科技有限公司 Protection method for network camera power failure
CN104994265A (en) * 2015-07-06 2015-10-21 浙江宇视科技有限公司 Method and system for upgrading web cameras in batch
CN105721204A (en) * 2016-01-27 2016-06-29 厦门科灿信息技术有限公司 Firmware upgrading method and system for network adapters
CN106202458A (en) * 2016-07-15 2016-12-07 深圳市永达电子信息股份有限公司 A kind of can detect and recover the method for file in upgrading operation system the most in real time
CN106791124A (en) * 2016-12-27 2017-05-31 北京奇虎科技有限公司 The brush machine method and brush machine device of mobile terminal
CN107329741A (en) * 2017-06-12 2017-11-07 北京北信源软件股份有限公司 A kind of software distribution upgrade method and device based on fingerprint recognition
CN109766108A (en) * 2018-12-12 2019-05-17 北京梧桐车联科技有限责任公司 Vehicle terminal software upgrade-system, method and device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110158216A1 (en) * 2007-01-16 2011-06-30 Artur Zaks Idle Connection State Power Consumption Reduction In A Wireless Local Area Network Using Beacon Delay Advertisement
CN101577727A (en) * 2008-05-06 2009-11-11 上海旗胜电器有限公司 Method for monitoring and setting digital network broadcasting management systems through local area network
CN101656683A (en) * 2008-08-20 2010-02-24 瞬联软件科技(北京)有限公司 Self-adaptive instant messaging system and method for implementing same
CN102098493A (en) * 2009-12-11 2011-06-15 鸿富锦精密工业(深圳)有限公司 System and method for adjusting monitor parameters
CN104038514A (en) * 2013-03-05 2014-09-10 福建星网视易信息系统有限公司 Method and system for realizing mobile interconnection services, data center, and mobile terminal
CN103281295A (en) * 2013-04-22 2013-09-04 深圳市共进电子股份有限公司 System and method for realizing parallel upgrade of multiple terminals in same IP (Internet Protocol) local area network
CN104090802A (en) * 2014-07-14 2014-10-08 深圳市欧林克科技有限公司 Protection method for network camera power failure
CN104994265A (en) * 2015-07-06 2015-10-21 浙江宇视科技有限公司 Method and system for upgrading web cameras in batch
CN105721204A (en) * 2016-01-27 2016-06-29 厦门科灿信息技术有限公司 Firmware upgrading method and system for network adapters
CN106202458A (en) * 2016-07-15 2016-12-07 深圳市永达电子信息股份有限公司 A kind of can detect and recover the method for file in upgrading operation system the most in real time
CN106791124A (en) * 2016-12-27 2017-05-31 北京奇虎科技有限公司 The brush machine method and brush machine device of mobile terminal
CN107329741A (en) * 2017-06-12 2017-11-07 北京北信源软件股份有限公司 A kind of software distribution upgrade method and device based on fingerprint recognition
CN109766108A (en) * 2018-12-12 2019-05-17 北京梧桐车联科技有限责任公司 Vehicle terminal software upgrade-system, method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124764A (en) * 2019-12-30 2020-05-08 惠州视维新技术有限公司 System restoring method, smart television and computer storage medium

Similar Documents

Publication Publication Date Title
US11228480B2 (en) Gateway assisted diagnostics and repair
CN110430115B (en) Service recovery method, system, network device and computer readable storage medium
CN102438042B (en) Dynamic parameter synchronizing method and system of multipoint access device
CN110971702A (en) Service calling method and device, computer equipment and storage medium
CN110943862A (en) Mutual exclusion service judgment method and device, electronic equipment and storage medium
CN112134775B (en) Switch loop detection method and device
CN113676493B (en) Communication method based on MOBIKE protocol and electronic equipment
CN114926163A (en) Resource cross-chain transfer method and device
US11223965B2 (en) Method and apparatus for controlling network sensors
CN110489272A (en) The operating system recovery method, apparatus and web camera of web camera
CN100421381C (en) Method and device for obtaining information of operation and failure state for network equipment
RU2693903C1 (en) Method, apparatus and processing system for expanded port
CN107948002B (en) AP access control method and device
CN113098709B (en) Network recovery method and device based on distributed networking system and computer equipment
CN111385324A (en) Data communication method, device, equipment and storage medium
CN111338848B (en) Failure application copy processing method and device, computer equipment and storage medium
CN114629747A (en) Gateway connection method, Internet of things equipment, gateway and Internet of things system
US10750383B2 (en) Method of providing management and control of hotspots with reduced messaging
CN111953786A (en) System, method and device for recording messages in whole network, network equipment and storage medium
CN116938808B (en) Information processing method, apparatus, device, storage medium, and computer program product
CN112165477B (en) Gateway searching method and device, electronic equipment and storage medium
CN115022877B (en) Terminal authentication method, device, electronic equipment and computer readable storage medium
CN112600738B (en) Method and device for verifying connectivity of network port
CN104219072A (en) Recovery method and device of security controller SC
CN113326159B (en) Method, apparatus, system and computer readable storage medium for fault injection

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191122

RJ01 Rejection of invention patent application after publication