CN107071250B - Reset method and system - Google Patents

Reset method and system Download PDF

Info

Publication number
CN107071250B
CN107071250B CN201710250911.3A CN201710250911A CN107071250B CN 107071250 B CN107071250 B CN 107071250B CN 201710250911 A CN201710250911 A CN 201710250911A CN 107071250 B CN107071250 B CN 107071250B
Authority
CN
China
Prior art keywords
switching
state
lens
working
working mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710250911.3A
Other languages
Chinese (zh)
Other versions
CN107071250A (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 CN201710250911.3A priority Critical patent/CN107071250B/en
Publication of CN107071250A publication Critical patent/CN107071250A/en
Application granted granted Critical
Publication of CN107071250B publication Critical patent/CN107071250B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, TV cameras, video cameras, camcorders, webcams, camera modules for embedding in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/225Television cameras ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, camcorders, webcams, camera modules specially adapted for being embedded in other devices, e.g. mobile phones, computers or vehicles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, TV cameras, video cameras, camcorders, webcams, camera modules for embedding in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/225Television cameras ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, camcorders, webcams, camera modules specially adapted for being embedded in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/232Devices for controlling television cameras, e.g. remote control ; Control of cameras comprising an electronic image sensor

Abstract

The embodiment of the invention provides a resetting method and a resetting system, which are applied to a monitoring camera comprising an illumination sensing element. The method comprises the following steps: responding to a switching operation to obtain the working state of the illumination sensing element; searching out a working mode corresponding to the obtained working state of the illumination sensing element according to a pre-stored corresponding relation; judging whether the working modes of the monitoring cameras before and after the switching operation and the switching operation flow meet the reset condition or not; and if the reset condition is met, resetting the monitoring camera according to the prestored reset information. The reset scheme realizes the reset function without increasing the hardware cost, and reduces the complexity of the structural design of the monitoring camera and the manufacturing cost.

Description

reset method and system
Technical Field
The invention relates to the technical field of control, in particular to a reset method and a reset system.
Background
The reset function (recovering default configuration) of the security camera is important for the client, and in the prior art, the simplest method for realizing the reset function and the widest application is to reset through a mechanical key. However, the reset function is complicated in some structures due to the structural shape of the product, and the mechanical key, the corresponding structural member, the hardware circuit and the like are added, and the problems of structural design complexity, assembly time cost, waterproof risk and the like are also considered. Therefore, how to design a reset scheme which does not depend on mechanical keys and can reduce the structural design complexity and the product cost is very important.
Disclosure of Invention
It is therefore an object of the present invention to provide a reset method and system to solve the above problems.
A preferred embodiment of the present invention provides a reset method, which is applied to a monitoring camera including an illumination sensing element, wherein a plurality of working modes are prestored in the monitoring camera, a corresponding relationship between each working mode and a working state of the illumination sensing element, and reset information for resetting the monitoring camera, and the method includes:
Responding to a switching operation to obtain the working state of the illumination sensing element;
searching out a working mode corresponding to the obtained working state of the illumination sensing element according to a pre-stored corresponding relation;
Judging whether the working modes of the monitoring cameras before and after the switching operation and the switching operation flow meet the reset condition or not;
And if the reset condition is met, resetting the monitoring camera according to the prestored reset information.
another preferred embodiment of the present invention provides a reset system, which is applied to a monitoring camera including an illumination sensing element, wherein a plurality of working modes are prestored in the monitoring camera, a corresponding relationship between each working mode and a working state of the illumination sensing element, and reset information for resetting the monitoring camera, and the reset system includes:
The acquisition module is used for responding to switching operation and acquiring the working state of the illumination sensing element;
the searching module is used for searching out a working mode corresponding to the obtained working state of the illumination sensing element according to the pre-stored corresponding relation;
The first judgment module is used for judging whether the working modes of the monitoring camera before and after the switching operation and the switching operation flow meet the reset condition or not;
And the resetting module is used for resetting the monitoring camera according to the pre-stored resetting information when the resetting condition is met.
according to the reset method and the reset system provided by the embodiment of the invention, whether the working mode and the switching operation flow of the monitoring camera meet the reset condition before and after the switching operation is judged, and the monitoring camera is reset through the reset information prestored in the monitoring camera under the condition that the reset condition is met. The reset scheme realizes the reset function without increasing the hardware cost, and reduces the complexity of the structural design of the monitoring camera and the manufacturing cost.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
in order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a block diagram of a monitoring camera according to a preferred embodiment of the present invention.
fig. 2 is a flowchart of a reset method according to a preferred embodiment of the present invention.
Fig. 3 is another flowchart of a reset method according to a preferred embodiment of the invention.
fig. 4 is another flowchart of a reset method according to a preferred embodiment of the present invention.
Fig. 5 is another flowchart of a reset method according to a preferred embodiment of the invention.
fig. 6 is a functional block diagram of a reset system according to a preferred embodiment of the present invention.
Fig. 7 is a functional block diagram of an obtaining module according to a preferred embodiment of the present invention.
Fig. 8 is a functional block diagram of a response module according to a preferred embodiment of the present invention.
Icon: 100-a surveillance camera; 110-a reset system; 111-an acquisition module; 1111-an illuminance detection unit; 1112-a comparison unit; 112-a lookup module; 113-a first judgment module; 114-a reset module; 115-a second judgment module; 116-a response module; 1161-a first response unit; 1162-second response unit; 1163-a third response unit; 1164-fourth response unit; 1165-fifth response unit; 120-a processor; 130-a memory; 140-a light sensing element; 141-lens; 142-a photosensitive element; 150-infrared lamp.
Detailed Description
the technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, a block diagram of a monitoring camera 100 according to a preferred embodiment of the invention is shown. The surveillance camera 100 includes a reset system 110, a processor 120, a memory 130, a light sensing element 140, and an infrared light 150.
the processor 120, the memory 130, the illumination sensing element 140, and the infrared lamp 150 are electrically connected to each other, directly or indirectly, to enable data transmission or interaction. The reset system 110 includes at least one software functional module which can be stored in the memory 130 in the form of software or Firmware (Firmware), and the processor 120 executes various functional applications and data processing by running software programs and modules stored in the memory 130, such as the reset system 110 in the embodiment of the present invention, so as to implement the reset method in the embodiment of the present invention.
The Memory 130 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 130 is used for storing a program, and the processor 120 executes the program after receiving the execution instruction. Further, the software programs and modules in the memory 130 may also include an operating system. Which may include various software components and/or drivers for managing system tasks (e.g., memory management, storage device control, power management, etc.) and may communicate with various hardware or software components to provide an operating environment for other software components.
The processor 120 may be an integrated circuit chip having signal processing capabilities. The Processor 120 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like. But may also be a Digital Signal Processor (DSP)), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in embodiments of the present invention may be implemented or performed.
It will be appreciated that the configuration shown in fig. 1 is merely illustrative and that the surveillance camera 100 may include more or fewer components than shown in fig. 1 or may have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 2, a flowchart of a resetting method applied to the monitoring camera 100 according to a preferred embodiment of the invention is shown. It should be noted that the method provided by the present invention is not limited by the specific sequence shown in fig. 2 and described below. The respective steps shown in fig. 2 will be described in detail below.
step S101, obtaining the working state of the illumination sensing element 140 in response to the switching operation.
Optionally, in this embodiment, the illumination sensing element 140 includes a lens 141 and a photosensitive element 142. The operation state of the illumination sensing element 140 depends on the operation state of the lens 141 and the operation state of the photosensitive element 142. The operation mode of the monitoring camera 100 can be changed by changing the operation states of the lens 141 and the photosensitive element 142 in the monitoring camera 100 and the cooperation of the two, so as to reset the monitoring camera 100. The monitoring camera 100 is pre-stored with a plurality of working modes and a corresponding relationship between each working mode and the working states of the lens 141 and the photosensitive element 142.
alternatively, in this embodiment, the working state of the lens 141 includes a lens exposing state when the lens is exposed and a lens shielding state when the lens is shielded. The operating states of the photosensitive element 142 include a photosensitive element exposed state when the photosensitive element is exposed and a photosensitive element shielded state when the photosensitive element is shielded.
when the monitoring camera 100 monitors the switching operation, it detects the working states of the lens 141 and the photosensor 142. Referring to fig. 3, in the present embodiment, the working states of the lens 141 and the photosensitive element 142 can be obtained through the following steps:
Step S201, detecting the ambient light illuminance collected by the lens 141 and the ambient light illuminance collected by the photosensor 142.
Step S203, comparing the ambient light illuminance collected by the lens 141 and the ambient light illuminance collected by the photosensor 142 with preset threshold values respectively to determine the working state of the lens 141 and the working state of the photosensor 142.
when the monitoring camera 100 is in normal operation, the lens 141 and the photosensor 142 both collect the current ambient light level. In this embodiment, the collected ambient light illuminance is converted into an analog quantity, and the converted analog quantity is compared with a preset threshold value to determine the working states of the lens 141 and the photosensor 142. The magnitude of the preset threshold may be set according to the specific situation of the monitoring camera 100, and is not limited in this embodiment.
When the analog quantity of the ambient light illuminance collected by the lens 141 is higher than the preset threshold value, the working state of the lens 141 is marked as 1. When the analog quantity of the ambient light illuminance collected by the lens 141 is lower than the preset threshold value, the working state of the lens 141 is marked as 0.
Similarly, when the analog quantity of the ambient light illuminance collected by the light sensor 142 is higher than the preset threshold value, the working state of the light sensor 142 is marked as 1. When the analog quantity of the ambient light illuminance collected by the photosensor 142 is lower than the preset threshold value, the working state of the photosensor 142 is marked as 0.
In this embodiment, without loss of generality, under normal illumination, when the lens 141 is completely exposed, the analog quantity of the ambient light illuminance collected by the lens 141 is higher than the preset threshold value, that is, when the lens 141 is in a lens exposure state, the corresponding working state flag value is 1. When the lens 141 is shielded, the analog quantity of the ambient light illuminance collected by the lens 141 is lower than the preset threshold value, that is, when the lens 141 is in a lens shielding state, the corresponding working state flag value is 0.
under normal illumination, when the photosensor 142 is completely exposed, the analog quantity of the ambient light illuminance collected by the photosensor 142 is higher than the preset threshold value, that is, when the photosensor 142 is in a photosensor exposure state, the corresponding working state flag value is 1. When the photosensor 142 is shielded, the analog quantity of the ambient light illuminance collected by the photosensor 142 is lower than the preset threshold value, that is, when the photosensor 142 is in a photosensor shielding state, the corresponding working state flag value is 0.
Under low illumination, the lens 141 can be filled with light by the cooperation of the photosensor 142 and the infrared lamp 150. For example, in a low light level, when the infrared lamp 150 is turned on and the lens 141 is completely exposed, the analog quantity of the ambient light level collected by the lens 141 is still higher than the preset threshold, that is, the working state of the lens 141 may be marked as 1. It should be understood that the photosensor 142 is primarily used to detect illumination in the visible range. In terms of the wavelength band, the light sensor 142 cuts off the infrared light, otherwise, after the infrared lamp 150 is turned on at low illumination, the illumination detection is repeated, so that the light supplement function under low illumination cannot be realized.
Step S103, finding out a working mode corresponding to the obtained working state of the illumination sensing element 140 according to a pre-stored correspondence.
In this embodiment, the monitoring camera 100 is pre-stored with a corresponding relationship between each operation mode and the operation state of the illumination sensing element 140, that is, a corresponding relationship between the operation state of the lens 141 and the operation state of the photosensitive element 142.
In the present embodiment, the operation mode of the monitoring camera 100 may be determined by detecting the operation state of the lens 141 and the operation state of the photosensor 142. Optionally, the current working states of the lens 141 and the photosensitive element 142 are determined according to the ambient light illuminance collected by the lens 141 and the ambient light illuminance collected by the photosensitive element 142.
The operation modes of the monitoring camera 100 include a first operation mode, a second operation mode, and a third operation mode. Alternatively, when the lens 141 is in a lens-exposed state, i.e., the analog value of the operating state thereof is 1, and the photosensor 142 is in a photosensor-exposed state, i.e., the analog value of the operating state thereof is 1, the monitoring camera 100 determines that it is in the first operating mode. When the lens 141 is in the lens-exposed state, i.e., the operating-state analog value thereof is 1, and the photosensor 142 is in the photosensor-shielded state, i.e., the operating-state analog value thereof is 0, the monitoring camera 100 determines that it is in the second operating mode. When the lens 141 is in the lens shielding state, i.e., the operating state analog value thereof is 0, and the photosensor 142 is in the photosensor exposing state, i.e., the operating state analog value thereof is 1, the monitoring camera 100 determines that it is in the third operating mode.
step S105, determining whether the working mode of the monitoring camera 100 and the switching operation flow satisfy a reset condition before and after the switching operation.
In this embodiment, the operating mode of the monitoring camera 100 can be switched by sequentially and time-dependently changing the operating states of the lens 141 and the photosensor 142, respectively. And judging whether the reset condition is met according to the working modes before and after the switching operation and the switching operation flow.
In the present embodiment, the storage device of the monitoring camera 100 stores a preset rule that can trigger the resetting of the monitoring camera 100. The switching operation flow may include a plurality of switching operations, and the step of determining whether the switching operation flow satisfies the reset condition may include the steps of:
Step S301, determining whether a plurality of switching operations satisfy a preset rule, if the plurality of switching operations satisfy the preset rule, performing the following step S303, otherwise, performing the following step S305.
Step S303, determining that the switching operation satisfies a reset condition.
In step S305, it is determined that the switching operation flow does not satisfy the reset condition.
Referring to fig. 5, optionally, in this embodiment, the step of determining whether the switching operations satisfy the preset rule may include determining whether the switching operations are executed according to the following procedures:
Step S401, in response to the first switching operation, switches the current working mode of the monitoring camera 100 to the second working mode.
In practical implementation, before the monitoring camera 100 performs the reset operation, it is assumed that the monitoring camera 100 is in a normal operation mode, that is, the monitoring camera 100 is in a normal lighting condition, and both the lens 141 and the photosensitive element 142 are in an exposed state, that is, the current operation mode of the monitoring camera 100 is the first operation mode.
The monitoring camera 100 responds to a first switching operation initiated by a user, for example, the user may block the photosensor 142 with a hand or other object, when the first switching operation is monitored. After the switching, the lens 141 is in the lens exposure state, the detected working state flag value is 1, the photosensor 142 is in the photosensor shielding state, and the detected working state flag value is 0. Correspondingly, at this time, the operation mode of the monitoring camera 100 is the second operation mode.
step S403, when the duration of the second working mode reaches a preset threshold, switching the second working mode to the first working mode in response to a second switching operation.
The duration of the second operation mode of the surveillance camera 100 is monitored, and when the duration reaches a preset threshold, for example 3 seconds, the photosensitive element 142 is switched from the shielded state to the exposed state in response to a second switching operation initiated by the user. It should be understood that the preset threshold may be set according to actual requirements, and is not particularly limited in this embodiment. At this time, the analog quantity of the operating state of the lens 141 is still 1, and the analog quantity of the operating state detected by the photosensor 142 is 1. Correspondingly, the operation mode of the monitoring camera 100 at this time is the first operation mode.
Step S405, when the duration in the first working mode reaches a preset threshold, responding to a third switching operation, and switching the first working mode to the third working mode.
the duration of the first operation mode of the monitoring camera 100 is monitored, and when the duration reaches a preset threshold, for example, 3 seconds, a third switching operation initiated by the user is responded, i.e., the lens 141 is switched from the exposure state to the shielding state. At this time, the analog quantity of the operating state of the lens 141 is converted to 0, and the analog quantity of the operating state of the photosensor 142 is still 1. Correspondingly, the operation mode of the monitoring camera 100 is switched from the first operation mode to the third operation mode.
Step S407, detecting whether the infrared lamp 150 is turned on, and if so, switching the third operating mode to the second operating mode in response to a fourth switching operation.
Whether the infrared lamp 150 of the monitoring camera 100 is turned on is monitored, and after the infrared lamp 150 is turned on, the lens 141 is switched from the shielding state to the exposing state and the photosensor 142 is switched from the exposing state to the shielding state in response to a fourth switching operation. At this time, the analog quantity of the operation state detected by the lens 141 is 1, and the analog quantity of the operation state detected by the photosensor 142 is 0. Correspondingly, the operation mode of the monitoring camera 100 at this time is switched to the second operation mode.
Step S409, counting the number of times of flashing of the infrared lamp 150, and when the number of times of flashing reaches a preset number, responding to a fifth switching operation to convert the second operating mode into the first operating mode.
Counting the number of times of flashing of the infrared lamp 150, and when the number of times of flashing of the infrared lamp 150 reaches a preset number, for example, 3 times, responding to a fifth switching operation, namely, switching the photosensitive element 142 from the shielding state to the exposing state. It should be understood that the preset number of times may be set according to actual requirements, and is not particularly limited in this embodiment. At this time, the analog quantity of the operating state detected by the lens 141 is still 1, and the analog quantity of the operating state detected by the photosensor 142 is 1. Correspondingly, the operation mode of the monitoring camera 100 at this time is switched to the first operation mode.
in this embodiment, if the switching operations are executed according to the above steps, it may be determined that the switching operations satisfy a preset rule, otherwise, it is determined that the switching operations do not satisfy the preset rule. In this embodiment, the above switching process is adopted for switching, on one hand, the anti-interference performance of the reset system 110 is considered to be increased, and the false triggering reset caused by the complex change of the ambient light illumination is avoided. Another aspect is to allow for a reduction in complexity of user operations so that the user can easily operate.
It should be understood that in this embodiment, other switching operation manners may also be adopted to achieve the reset condition, which may be a manually set switching operation flow, or a switching operation flow pre-stored in the database in the memory 130. As long as the working modes before and after the switching operation in the adopted switching operation mode and the switching operation flow satisfy the predetermined reset condition to trigger the monitoring camera 100 to reset, in the present embodiment, the specific switching operation flow is not limited.
And step S107, if the reset condition is met, resetting the monitoring camera 100 according to the pre-stored reset information.
in this embodiment, the monitoring camera 100 is pre-stored with reset information that can reset the monitoring camera 100. The reset information is stored in a nonvolatile storage device of the monitoring camera 100, and the user cannot change the reset information. After detecting that the working modes before and after the switching operation and the switching operation flow meet the reset requirements, calling the reset information to complete the reset of the monitoring camera 100.
Referring to fig. 6, a functional block diagram of a reset system 110 according to a preferred embodiment of the present invention is shown. The reset system 110 includes an obtaining module 111, a searching module 112, a first determining module 113, a resetting module 114, a second determining module 115, and a responding module 116.
the obtaining module 111 is configured to obtain a working state of the illumination sensing element 140 in response to a switching operation. Specifically, the obtaining module 111 may be configured to execute step S101 shown in fig. 2, and the detailed description of step S101 may be referred to for a specific operation method.
In this embodiment, the illumination sensing element 140 includes a lens 141 and a photosensitive element 142, and the working state of the illumination sensing element 140 includes the working state of the lens 141 and the working state of the photosensitive element 142. Optionally, referring to fig. 7, the obtaining module 111 includes an illuminance detection unit 1111 and a comparison unit 1112.
The illuminance detection unit 1111 is configured to detect the illuminance of the ambient light collected by the lens 141 and the illuminance of the ambient light collected by the photosensitive element 142. Specifically, the illuminance detection unit 1111 may be configured to perform step S201 shown in fig. 3, and a specific operation method may refer to a detailed description of step S201.
The comparing unit 1112 is configured to compare the ambient light illuminance collected by the lens 141 and the ambient light illuminance collected by the photosensor 142 with preset threshold values respectively to determine an operating state of the lens 141 and an operating state of the photosensor 142. Specifically, the comparing unit 1112 can be used to execute step S203 shown in fig. 3, and the detailed description of step S203 can be referred to for a specific operation method.
The searching module 112 is configured to search for a working mode corresponding to the obtained working state of the illumination sensing element 140 according to a pre-stored correspondence relationship. Specifically, the search module 112 may be configured to execute step S103 shown in fig. 2, and the detailed description of step S103 may be referred to for a specific operation method.
The first determining module 113 is configured to determine whether the working mode and the switching operation flow of the monitoring camera 100 before and after the switching operation satisfy a reset condition. Specifically, the first determining module 113 can be used to execute step S105 shown in fig. 2, and the detailed description of step S105 can be referred to for a specific operation method.
the reset module 114 is configured to reset the monitoring camera 100 according to the pre-stored reset information when the reset condition is satisfied. Specifically, the reset module 114 can be used to execute step S107 shown in fig. 2, and the detailed description of step S107 can be referred to for a specific operation method.
The second determining module 115 is configured to determine whether a plurality of switching operations satisfy a preset rule, determine that the switching operation flow satisfies a reset condition if the plurality of switching operations satisfy the preset rule, and determine that the switching operation flow does not satisfy the reset condition if the plurality of switching operations do not satisfy the preset rule.
Referring to fig. 8, the response module 116 may include a first response unit 1161, a second response unit 1162, a third response unit 1163, a fourth response unit 1164, and a fifth response unit 1165.
the first responding unit 1161 is configured to respond to a first switching operation, and switch the current operating mode of the monitoring camera 100 to the second operating mode. Specifically, the first response unit 1161 may be configured to execute step S401 shown in fig. 5, and a detailed description of the step S401 may be referred to for a specific operation method.
The second responding unit 1162 is configured to respond to a second switching operation when the duration of the second operating mode reaches a preset threshold, and switch the second operating mode to the first operating mode. Specifically, the second responding unit 1162 may be configured to execute step S403 shown in fig. 5, and a specific operation method may refer to a detailed description of step S403.
The third responding unit 1163 is configured to respond to a third switching operation when the duration of the first operating mode reaches a preset threshold, and switch the first operating mode to the third operating mode. Specifically, the third responding unit 1163 may be configured to execute step S405 shown in fig. 5, and a detailed description of the step S405 may be referred to for a specific operation method.
the fourth responding unit 1164 is configured to detect whether the infrared lamp 150 is turned on, and if the infrared lamp 150 is turned on, respond to a fourth switching operation to switch the third operating mode to the second operating mode. Specifically, the fourth responding unit 1164 may be configured to execute step S407 shown in fig. 5, and the detailed description of step S407 may be referred to for a specific operation method.
The fifth responding unit 1165 is configured to count the number of times of flashing of the infrared lamp 150, and respond to a fifth switching operation when the number of times of flashing reaches a preset number of times, so as to switch the second operating mode to the first operating mode. Specifically, the fifth responding unit 1165 may be configured to execute step S409 shown in fig. 5, and a detailed description of the step S409 may be referred to for a specific operation method.
In summary, according to the reset method and system provided by the present invention, the working states of the lens 141 and the photosensitive element 142 in the monitoring camera 100 are changed to switch the working mode of the monitoring camera 100, and when the working mode before and after the switching operation and the switching operation flow satisfy the reset condition, the monitoring camera 100 is reset. The reset scheme realizes the reset function without increasing the hardware cost, and reduces the complexity of the structural design and the manufacturing cost of the monitoring camera 100.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
in addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: u disk, removable hard disk, read only memory, random access memory, magnetic or optical disk, etc. for storing program codes.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.

Claims (10)

1. A reset method applied to a monitoring camera including an illumination sensing element, wherein a plurality of operation modes are prestored in the monitoring camera, a corresponding relationship between each operation mode and an operation state of the illumination sensing element, and reset information for resetting the monitoring camera, the method comprising:
Responding to a switching operation to obtain the working state of the illumination sensing element;
searching out a working mode corresponding to the obtained working state of the illumination sensing element according to a pre-stored corresponding relation;
Judging whether the working modes of the monitoring cameras before and after the switching operation and the switching operation flow meet the reset condition or not;
And if the reset condition is met, resetting the monitoring camera according to the prestored reset information.
2. The reset method according to claim 1, wherein the illumination sensing element comprises a lens and a photosensitive element, the operation state of the illumination sensing element comprises an operation state of the lens and an operation state of the photosensitive element, and the operation state of the lens and the operation state of the photosensitive element are obtained by:
detecting the ambient illuminance collected by the lens and the ambient illuminance collected by the photosensitive element;
and comparing the ambient illuminance collected by the lens and the ambient illuminance collected by the photosensitive element with preset threshold values respectively to determine the working state of the lens and the working state of the photosensitive element.
3. The reset method according to claim 2, wherein the working state of the lens includes a lens exposure state when the lens is exposed and a lens shading state when the lens is shaded, and the working state of the photosensor includes a photosensor exposure state when the photosensor is exposed and a photosensor shading state when the photosensor is shaded;
The working modes include a first working mode corresponding to the lens exposure state and the photosensitive element exposure state, a second working mode corresponding to the lens exposure state and the photosensitive element shielding state, and a third working mode corresponding to the lens shielding state and the photosensitive element exposure state.
4. the resetting method according to claim 3, wherein the step of determining whether the switching operation flow satisfies the resetting condition comprises determining whether a plurality of switching operations satisfy a predetermined rule, and if the plurality of switching operations satisfy the predetermined rule, determining that the switching operation flow satisfies the resetting condition, otherwise, determining that the switching operation flow does not satisfy the resetting condition.
5. The resetting method according to claim 4, wherein the monitoring camera further comprises an infrared lamp, and the step of determining whether the plurality of switching operations satisfy the preset rule comprises determining whether the plurality of switching operations are performed according to the following procedures:
Responding to a first switching operation, and switching the current working mode of the monitoring camera to the second working mode;
When the duration time in the second working mode reaches a preset threshold value, responding to a second switching operation, and switching the second working mode into the first working mode;
When the duration time of the first working mode reaches a preset threshold value, responding to a third switching operation, and switching the first working mode into a third working mode;
detecting whether the infrared lamp is started, and if so, responding to a fourth switching operation and switching the third working mode into the second working mode;
counting the flashing times of the infrared lamp, and responding to fifth switching operation when the flashing times reach preset times, so as to convert the second working mode into the first working mode;
And if the plurality of switching operations are executed according to the steps, judging that the plurality of switching operations meet a preset rule, otherwise, judging that the plurality of switching operations do not meet the preset rule.
6. A reset system is applied to a monitoring camera comprising an illumination sensing element, and is characterized in that a plurality of working modes are prestored in the monitoring camera, the corresponding relation between each working mode and the working state of the illumination sensing element, and reset information for resetting the monitoring camera is obtained, and the reset system comprises:
The acquisition module is used for responding to switching operation and acquiring the working state of the illumination sensing element;
The searching module is used for searching out a working mode corresponding to the obtained working state of the illumination sensing element according to the pre-stored corresponding relation;
the first judgment module is used for judging whether the working modes of the monitoring camera before and after the switching operation and the switching operation flow meet the reset condition or not;
and the resetting module is used for resetting the monitoring camera according to the pre-stored resetting information when the resetting condition is met.
7. The reset system according to claim 6, wherein the illumination sensing element comprises a lens and a photosensitive element, the working state of the illumination sensing element comprises a working state of the lens and a working state of the photosensitive element, and the acquiring module comprises an illuminance detecting unit and a comparing unit;
The illumination detection unit is used for detecting the ambient illumination collected by the lens and the ambient illumination collected by the photosensitive element;
The comparison unit is used for comparing the ambient light illuminance collected by the lens and the ambient light illuminance collected by the photosensitive element with preset threshold values respectively to determine the working state of the lens and the working state of the photosensitive element.
8. The reset system according to claim 7, wherein the working state of the lens comprises a lens exposure state when the lens is exposed and a lens shading state when the lens is shaded, and the working state of the photosensor comprises a photosensor exposure state when the photosensor is exposed and a photosensor shading state when the photosensor is shaded;
The working modes include a first working mode corresponding to the lens exposure state and the photosensitive element exposure state, a second working mode corresponding to the lens exposure state and the photosensitive element shielding state, and a third working mode corresponding to the lens shielding state and the photosensitive element exposure state.
9. The resetting system according to claim 8, further comprising a second determining module, wherein the second determining module is configured to determine whether a plurality of switching operations satisfy a predetermined rule, determine that the switching operation flow satisfies a resetting condition if the plurality of switching operations satisfy the predetermined rule, and otherwise determine that the switching operation flow does not satisfy the resetting condition.
10. The reset system of claim 9 wherein the surveillance camera further comprises an infrared light, the reset system further comprising a response module comprising a first response unit, a second response unit, a third response unit, a fourth response unit, and a fifth response unit;
The first response unit is used for responding to a first switching operation and switching the current working mode of the monitoring camera to the second working mode;
The second response unit is used for responding to a second switching operation when the duration of the second working mode reaches a preset threshold value, and switching the second working mode to the first working mode;
The third response unit is used for responding to a third switching operation when the duration of the first working mode reaches a preset threshold value, and switching the first working mode into the third working mode;
The fourth response unit is used for detecting whether the infrared lamp is started, and if the infrared lamp is started, responding to a fourth switching operation and switching the third working mode into the second working mode;
the fifth response unit is used for counting the flashing times of the infrared lamp, responding to fifth switching operation when the flashing times reach preset times, and converting the second working mode into the first working mode;
the second determining module is further configured to determine that the plurality of switching operations satisfy a preset rule when the response module is executed, and otherwise, determine that the plurality of switching operations do not satisfy the preset rule.
CN201710250911.3A 2017-04-17 2017-04-17 Reset method and system Active CN107071250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710250911.3A CN107071250B (en) 2017-04-17 2017-04-17 Reset method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710250911.3A CN107071250B (en) 2017-04-17 2017-04-17 Reset method and system

Publications (2)

Publication Number Publication Date
CN107071250A CN107071250A (en) 2017-08-18
CN107071250B true CN107071250B (en) 2019-12-13

Family

ID=59599651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710250911.3A Active CN107071250B (en) 2017-04-17 2017-04-17 Reset method and system

Country Status (1)

Country Link
CN (1) CN107071250B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010176460A (en) * 2009-01-30 2010-08-12 Nikon Corp Electronic device and camera
CN102946511A (en) * 2012-11-20 2013-02-27 浙江宇视科技有限公司 Method for recovering default setting and spherical video camera
JP2013175881A (en) * 2012-02-24 2013-09-05 Nikon Corp Imaging apparatus and imaging apparatus control program
CN105630121A (en) * 2015-12-23 2016-06-01 魅族科技(中国)有限公司 Function reset control device
CN105657232A (en) * 2016-03-21 2016-06-08 浙江宇视科技有限公司 Restoring method and device for default setting of video camera

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201491129U (en) * 2009-08-24 2010-05-26 深圳市艾威视数码科技有限公司 Camera with day and night switching filters
KR102005390B1 (en) * 2012-10-31 2019-07-30 엘지디스플레이 주식회사 Display Device Having Reset Control Unit And Method Of Driving The Same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010176460A (en) * 2009-01-30 2010-08-12 Nikon Corp Electronic device and camera
JP2013175881A (en) * 2012-02-24 2013-09-05 Nikon Corp Imaging apparatus and imaging apparatus control program
CN102946511A (en) * 2012-11-20 2013-02-27 浙江宇视科技有限公司 Method for recovering default setting and spherical video camera
CN105630121A (en) * 2015-12-23 2016-06-01 魅族科技(中国)有限公司 Function reset control device
CN105657232A (en) * 2016-03-21 2016-06-08 浙江宇视科技有限公司 Restoring method and device for default setting of video camera

Also Published As

Publication number Publication date
CN107071250A (en) 2017-08-18

Similar Documents

Publication Publication Date Title
US10241847B2 (en) Anomaly detection using sequences of system calls
CN109145867B (en) Human body posture estimation method, device, system, electronic equipment and storage medium
CN107203313B (en) Method for adjusting desktop display object, mobile terminal and computer readable storage medium
CN106843912B (en) Page information acquisition method and device
CN110687683A (en) Intelligent glasses control method and intelligent glasses
CN107071250B (en) Reset method and system
CN108845871B (en) Method and device for calling device in electronic equipment, electronic equipment and storage medium
JP2018022490A (en) Method for processing event signal and event-based sensor implementing the same
JP2018524777A5 (en)
US20210124914A1 (en) Training method of network, monitoring method, system, storage medium and computer device
CN110933361B (en) Wheel patrol display method and device
CN108255673B (en) Method and device for detecting resource occupied by application program and storage medium
KR101964230B1 (en) System for processing data
EP3698336A1 (en) Intrusion detection methods and devices
US20190018383A1 (en) Governance of the control process by the state of the node
CN108509255B (en) Method and device for processing hardware interrupt
JP5644633B2 (en) Optical information reader
US9740508B2 (en) Alerting a user of an indicated impact of a command
EP3179460A1 (en) A sensor network and a method for detecting an event in a sensor network
JP2017139692A (en) Determination program, determination method and determination device
CN106959806B (en) Page identity obtaining method and device
KR20180025244A (en) Alarm display device and method
US20190164297A1 (en) Controlling system comprising one or more cameras
WO2018035677A1 (en) Method and device for scanning two-dimensional barcode
JP2019207526A (en) Abnormality alarm

Legal Events

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