[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112492225B - Method for controlling camera light supplement lamp by embedded NVR (network video recorder) equipment - Google Patents

Method for controlling camera light supplement lamp by embedded NVR (network video recorder) equipment Download PDF

Info

Publication number
CN112492225B
CN112492225B CN202011360639.2A CN202011360639A CN112492225B CN 112492225 B CN112492225 B CN 112492225B CN 202011360639 A CN202011360639 A CN 202011360639A CN 112492225 B CN112492225 B CN 112492225B
Authority
CN
China
Prior art keywords
light supplement
ipc
light
function
parameters
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
CN202011360639.2A
Other languages
Chinese (zh)
Other versions
CN112492225A (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.)
Tianjin Tiandi Weiye Intelligent Security Technology Co ltd
Original Assignee
Tianjin Tiandi Weiye Intelligent Security 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 Tianjin Tiandi Weiye Intelligent Security Technology Co ltd filed Critical Tianjin Tiandi Weiye Intelligent Security Technology Co ltd
Priority to CN202011360639.2A priority Critical patent/CN112492225B/en
Publication of CN112492225A publication Critical patent/CN112492225A/en
Application granted granted Critical
Publication of CN112492225B publication Critical patent/CN112492225B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/03Protocol definition or specification 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Computing Systems (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention provides a method for controlling a camera fill-in light by an embedded NVR device, which comprises the following steps of S1: setting IPC light supplement function parameters and adding an enumeration and capability set structure body for controlling a light supplement lamp capability set; s2: according to the setting and the acquisition of the light supplement parameters, carrying out extended design on the light supplement protocol; s3: sending the supplementary lighting protocol to the IPC through a network protocol; s4: sending the current light supplement parameters and the capability set of the camera light supplement function to the NVR through a network protocol IPC; s5: the NVR forwards the acquired supplementary lighting parameters to the UI and the IE through the UK protocol, and displays and monitors the supplementary lighting function of the front end; s6: and the NVR matches the light supplement function parameters aiming at the capability sets of the cameras of different types, adjusts the IPC light supplement function according to the capability sets, and displays and monitors the front-end light supplement function through the UI and the IE. The method for controlling the camera light supplement lamp by the embedded NVR equipment solves the problem that the conventional method for controlling the camera light supplement lamp cannot process a light supplement lamp capability set, so that the NVR cannot meet the requirements of being compatible with multiple IPCs.

Description

Method for controlling camera light supplement lamp by embedded NVR (network video recorder) equipment
Technical Field
The invention belongs to the technical field of camera light supplement lamp control, and particularly relates to a method for controlling a camera light supplement lamp by embedded NVR (network video recorder) equipment.
Background
In the existing method for controlling the camera light supplement lamp, the NVR only realizes the function of turning on and off the IPC light supplement lamp in the control scheme of the IPC light supplement lamp, only controls the IPC light supplement lamp to be turned off, and does not relate to the control of IPC light supplement parameters, the accurate control of light supplement types and time and the acquisition of real-time IPC light supplement information. The existing NVR can not accurately control IPC light supplement parameters, only realizes the functions of opening and closing, has single function, can not meet various IPC products, and can not process the capability set of a light supplement lamp, so that the NVR can not meet the requirements of being compatible with various IPCs.
Disclosure of Invention
In view of this, the invention provides a method for controlling a camera fill-in light by an embedded NVR device to solve the problem that the existing method for controlling the camera fill-in light cannot process a fill-in light capability set, so that the NVR cannot meet the requirements of compatibility with multiple IPCs.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a method for controlling a camera fill-in light by an embedded NVR device comprises the following steps:
s1: setting IPC light supplement function parameters and adding an enumeration and capability set structure body for controlling a light supplement lamp capability set;
s2: according to the setting and the acquisition of the light supplement parameters, carrying out extended design on the light supplement protocol;
s3: sending the supplementary lighting protocol to the IPC through a network protocol;
s4: sending the current light supplement parameters and the capability set of the camera light supplement function to the NVR through a network protocol IPC;
s5: the NVR forwards the acquired supplementary lighting parameters to the UI and the IE through the UK protocol, and the UI and the IE display and monitor the supplementary lighting function of the front end;
s6: NVR matches the light supplement function parameters aiming at the capability sets of different types of cameras, adjusts the IPC light supplement function according to the capability sets, and achieves light supplement for different front-end cameras through UI and IE display and monitoring of the front-end light supplement function.
Further, the setting of the IPC fill light function parameters utilized in step S1 specifically includes the following steps:
a1: setting IPC parameters to a light supplement lamp structure;
a2: the TCP client sends the parameter structure to the county city, processes the parameter structure according to a network protocol and sends the parameter structure to the IPC;
a3: the IPC parameter judges whether the setting is successful, if the setting is successful, the setting is finished, and the No word returns to the step A1.
Further, the expanding design of the fill-in light protocol utilized in step S2 specifically includes the following steps:
b1: and designing a global functional structural body for controlling the light supplement lamp, wherein the functions comprise the starting mode, the timing time and the brightness value of the light supplement lamp.
B2: defining network protocol of light supplement function
B3: and two callback functions for registering and controlling the supplementary lighting by using the command registration function in the protocol analysis registration function to realize the setting and acquisition of the supplementary lighting parameters.
Further, the two callback functions used in step B3 are a color-to-black control white light parameter callback function and a color-to-black control white light parameter callback function, the color-to-black control white light parameter callback function analyzes the network protocol sent by the IPC and stores the parameters in the global structure variable for controlling fill, the fill capability is set, the color-to-black control white light parameter callback function is set to analyze the network protocol sent by the IPC and store the parameters in the global structure variable for controlling fill.
Further, step S4 specifically includes the following steps:
c1: IPC performs function registration;
c2: the IPC serves as a server side and issues a network protocol to the client NVR through the TCP server;
c3: and reporting the data to the NVR through a callback function.
Compared with the prior art, the invention has the following advantages:
(1) and setting IPC light supplement function parameters. And sending the light supplement protocol to the IPC through the network protocol, setting the IPC light supplement parameters, and realizing the light supplement control of the IPC by the NVR.
(2) And obtaining an IPC supplementary lighting function parameter. And reporting the light supplement parameters of the display front end through the network protocol IPC, and acquiring the network protocol and forwarding the network protocol to the UI and the IE by the NVR to realize the display and monitoring of the light supplement function of the display front end.
(3) And designing an IPC supplementary lighting function capability set. Aiming at the possible difference of the IPC light supplement functions of different types, the capability set is designed to flexibly adjust the IPC light supplement functions of UI and IE display, and good compatibility effect is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic flow chart of an IPC reporting capability set and an IPC light supplement parameter according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a process for setting parameters of an IPC light supplement function according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used only for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention. Furthermore, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art through specific situations.
The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
As shown in fig. 1 and 2, a method for controlling a camera fill-in light by an embedded NVR device includes the following steps:
s1: setting IPC light supplement function parameters and adding an enumeration and capability set structure body for controlling a light supplement lamp capability set;
s2: according to the setting and the acquisition of the light supplement parameters, carrying out extended design on the light supplement protocol;
s3: sending the supplementary lighting protocol to the IPC through a network protocol;
s4: sending the current light supplement parameters and the capability set of the camera light supplement function to the NVR through a network protocol IPC;
s5: the NVR forwards the acquired supplementary lighting parameters to the UI and the IE through the UK protocol, and the UI and the IE display and monitor the supplementary lighting function of the front end;
s6: NVR matches the light supplement function parameters aiming at the capability sets of different types of cameras, adjusts the IPC light supplement function according to the capability sets, and achieves light supplement for different front-end cameras through UI and IE display and monitoring of the front-end light supplement function.
As shown in fig. 2, the setting of the IPC fill-in light function parameters utilized in step S1 specifically includes the following steps:
a1: setting IPC parameters to a light supplement lamp structure;
a2: the TCP client sends the parameter structure to the county city, processes the parameter structure according to a network protocol and sends the parameter structure to the IPC;
a3: the IPC parameter judges whether the setting is successful, if the setting is successful, the setting is finished, and the No word returns to the step A1.
As shown in fig. 1, the expanding design of the fill-in light protocol used in step S2 specifically includes the following steps:
b1: and designing a global functional structural body for controlling the light supplement lamp, wherein the functions comprise the starting mode, the timing time and the brightness value of the light supplement lamp.
B2: defining network protocol of light supplement function
B3: and two callback functions for registering and controlling the supplementary lighting by using the command registration function in the protocol analysis registration function to realize the setting and acquisition of the supplementary lighting parameters.
The two callback functions used in the step B3 are a color-to-black control white light parameter callback function and a color-to-black control white light parameter callback function, the color-to-black control white light parameter callback function analyzes the network protocol sent by the IPC and stores the parameters in the global structure variable for controlling fill, the fill capability is set, the color-to-black control white light parameter callback function is set to analyze the network protocol sent by the IPC and store the parameters in the global structure variable for controlling fill.
According to the setting and the obtaining of the light supplement parameters, the extended design of the light supplement protocol comprises the following specific steps:
firstly, a global structure body for controlling the light supplement lamp is designed, wherein the structure body comprises the functions of starting the light supplement lamp, timing time and brightness value. Enumeration and a capacity set structure body for controlling the capacity set of the fill-in light are also added.
typedef struct/IPC color-to-black-to-white lamp control
{
int m _ iContrlType; // white light control mode 0-automatic 1-manual on 2-manual off 3-timing
int m _ itiMeRange; // when iContrlType is timed on: bit24-bit31 start hour, bit16-bit23 start minute, bit8-bit15 end hour, bit0-bit7 end minute
int m _ iLightValue; // when iContrlType is manually on: representing a luminance value.
int m_iLightValue2;
}TC2BWhiteLightCtrl;
typedef enum
{
FUNCB _ C2G _102 ═ 0x66,// white light lamp
FUNCB _ C2G _103 ═ 0x67,// infrared lamp
}EFuncAssemble_LevelB;
typedef struct
{
int m_iFuncC2BInt[FUNC_C2G_INT_MAX];
int m_iFuncC2BBit;
Fungab _ C2B; // color-to-black capability set
Secondly, defining the network protocol part of the supplementary lighting function
//INNER*PARAGET*WIGHTLIGHTCONTRL*iChannelNo*iContrlType*iTime*iLightValue*iLightValue2
# define SET _ WIGHTLIGHTCONTRL _ RSP "INNER \ tPAASET \ tWIGHTLIGHTCONTRL"// Equipment acquisition color-to-white light control
# define GET _ WIGHTLIGHTCONTRL "INNER \ tPAGAGET \ tWIGHTLIGHTCONTRL"// Equipment acquisition color-to-black-and-white light lamp control parameter
Then, two callback functions for controlling fill-in, _ sColorToGaryWhiteLight _ Handle, _ gColorToGaryWhiteLight _ Handle are registered in nvs _ Cmdregister using the ppf _ RegisterCmd function to realize setting of fill-in parameters and acquisition of IPC fill-in function parameters. The _gColorToGaryWhiteLight _ Handle mainly realizes the analysis of a network protocol sent by IPC, stores parameters in a global structure variable for controlling supplementary lighting and sets the supplementary lighting capability. The sColorToGaryWhiteLight _ Handle function parses the network protocol sent by IPC and stores the parameters in the global configuration variables that control fill lighting.
V/color-to-black control white light lamp
ppf_RegisterCmd(_ptPFrame,SET_WIGHTLIGHTCONTRL_RSP,_sColorToGaryW hiteLight_Handle,-1,&stPrmDef[4]);
ppf_RegisterCmd(_ptPFrame,GET_WIGHTLIGHTCONTRL,_gColorToGaryWhite Light_Handle,-1,&stPrmDef[4]);
Embedded IPC, NVR are based on the hai si chip, and the hardware platform of ARM Cortex kernel runs on embedded Linux system environment, and IPC realizes that the light filling protocol sends and receives the light filling protocol that NVR set up, and NVR realizes that the setting of light filling function is forwardded, and UI and IE can set up the light filling function through NVR. Through the design scheme, the UI and the IE can display different setting options according to different front ends, and the light supplement function of different front ends is compatible.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (5)

1. A method for controlling a camera fill-in light by an embedded NVR device is characterized by comprising the following steps: the method comprises the following steps:
s1: setting IPC light supplement function parameters and adding an enumeration and capability set structure body for controlling a light supplement lamp capability set;
s2: according to the setting and the acquisition of the light supplement parameters, carrying out extended design on the light supplement protocol;
s3: sending the supplementary lighting protocol to the IPC through a network protocol;
s4: sending the current light supplement parameters and the capability set of the camera light supplement function to the NVR through a network protocol IPC;
s5: the NVR forwards the acquired supplementary lighting parameters to the UI and the IE through the UK protocol, and the UI and the IE display and monitor the supplementary lighting function of the front end;
s6: NVR matches the light supplement function parameters aiming at the capability sets of different types of cameras, adjusts the IPC light supplement function according to the capability sets, and achieves light supplement for different front-end cameras through UI and IE display and monitoring of the front-end light supplement function.
2. The method for controlling the camera fill-in light by the embedded NVR device as claimed in claim 1, wherein: the setting of the IPC fill light function parameters utilized in step S1 specifically includes the following steps:
a1: setting IPC parameters to a light supplement lamp structure;
a2: the TCP client sending thread processes the parameter structure according to the network protocol and sends the parameter structure to the IPC;
a3: the IPC parameter judges whether the setting is successful, if the setting is successful, the setting is finished, and the No word returns to the step A1.
3. The method for controlling the camera fill-in light by the embedded NVR device as claimed in claim 1, wherein: the expanding design of the fill-in light protocol used in step S2 specifically includes the following steps:
b1: designing a global functional structural body for controlling the light supplement lamp, wherein the functions comprise the starting mode, the timing time and the brightness value of the light supplement lamp;
b2: defining a network protocol with a light supplementing function;
b3: and two callback functions for registering and controlling the supplementary lighting by using the command registration function in the protocol analysis registration function to realize the setting and acquisition of the supplementary lighting parameters.
4. The method for controlling the camera fill-in light by the embedded NVR device as claimed in claim 3, wherein: the two callback functions used in the step B3 are a color-to-black control white light parameter callback function and a color-to-black control white light parameter callback function, the color-to-black control white light parameter callback function analyzes the network protocol sent by the IPC and stores the parameters in the global structure variable for controlling fill, the fill capability is set, the color-to-black control white light parameter callback function is set to analyze the network protocol sent by the IPC and store the parameters in the global structure variable for controlling fill.
5. The method for controlling the camera fill-in light by the embedded NVR device as claimed in claim 3, wherein: step S4 specifically includes the following steps:
c1: IPC registers functions;
c2: the IPC serves as a server side and issues a network protocol to the client NVR through the TCP server;
c3: and reporting the data to the NVR through a callback function.
CN202011360639.2A 2020-11-27 2020-11-27 Method for controlling camera light supplement lamp by embedded NVR (network video recorder) equipment Active CN112492225B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011360639.2A CN112492225B (en) 2020-11-27 2020-11-27 Method for controlling camera light supplement lamp by embedded NVR (network video recorder) equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011360639.2A CN112492225B (en) 2020-11-27 2020-11-27 Method for controlling camera light supplement lamp by embedded NVR (network video recorder) equipment

Publications (2)

Publication Number Publication Date
CN112492225A CN112492225A (en) 2021-03-12
CN112492225B true CN112492225B (en) 2022-03-01

Family

ID=74936427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011360639.2A Active CN112492225B (en) 2020-11-27 2020-11-27 Method for controlling camera light supplement lamp by embedded NVR (network video recorder) equipment

Country Status (1)

Country Link
CN (1) CN112492225B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN210578922U (en) * 2019-10-25 2020-05-19 仲恺农业工程学院 Network type translation crop image video acquisition system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6567413B1 (en) * 2001-05-18 2003-05-20 Network Elements, Inc. Optical networking module including protocol processing and unified software control
US20110047188A1 (en) * 2009-08-24 2011-02-24 Carios Martins Method and System for Automatic Tracking of Information Technology Components and Corresponding Power Outlets in a Data Center
CN105915810B (en) * 2016-03-31 2020-02-21 联想(北京)有限公司 Control method of electronic equipment and electronic equipment
CN208316854U (en) * 2017-12-27 2019-01-01 北京安航达科技有限公司 Electronic police environment light and light filling isochronous controller based on IEEE1588 agreement
CN207802473U (en) * 2018-02-10 2018-08-31 厦门齐井科技有限公司 A kind of temperature adjustment one light compensating lamp with an automatic light meter with monitoring function
CN109120909A (en) * 2018-09-13 2019-01-01 深圳市天视通电子科技有限公司 A kind of full-color photographic device, the system and method for adjustable light compensating lamp brightness
CN111314580B (en) * 2018-12-11 2023-04-07 浙江宇视科技有限公司 Light filling lamp and supervisory equipment
CN111325701B (en) * 2018-12-14 2023-05-09 杭州海康微影传感科技有限公司 Image processing method, device and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN210578922U (en) * 2019-10-25 2020-05-19 仲恺农业工程学院 Network type translation crop image video acquisition system

Also Published As

Publication number Publication date
CN112492225A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
US10595732B2 (en) Pulse wave detection device and pulse wave detection program
CN109202898B (en) Parameter configuration method and device
CN107341489B (en) Image recognition system for machine room monitoring
JPWO2007010749A1 (en) Image processing apparatus, image processing system, and image processing program
CN201055378Y (en) Tongue demonstration checking device
US20190029094A1 (en) Devices having Calibrated LEDs
CN112492225B (en) Method for controlling camera light supplement lamp by embedded NVR (network video recorder) equipment
CN105605879B (en) Refrigerator and its control method
WO2021139630A1 (en) Data transmission method, apparatus, data processing system, and storage medium
CN110379355A (en) Control system and control method for large-screen display wall
CN109067908A (en) A kind of advertisement Broadcast Control terminal with information exchange function
CN204204383U (en) There is the medical display of brightness and curve auto-calibration function
CN108986405A (en) A kind of multi parameters control method based on Zigbee gateway
CN109938773A (en) Somatic data detection method, system and intelligent body survey instrument
CN104252826A (en) LED (Light Emitting Diode) display screen brightness monitoring method and device and LED display controller
CN111796785B (en) Display control method of multimedia curtain wall and server
CN205647813U (en) Family's intelligence cinema based on wireless network deployment of wiFi technique
CN107609457B (en) Vehicle body color recognition system, vehicle and vehicle body color recognition method
WO2023005706A1 (en) Device control method, electronic device, and storage medium
CN111782279A (en) Method and system for lighting display screen by mainboard and mainboard
CN114945233A (en) Integrated control platform of wisdom city building view light
CN218100354U (en) Self-service system
CN208112800U (en) A kind of integrated package and system for video playing and monitoring
CN117544743B (en) Clinical monitoring equipment and control method and device thereof
CN217189680U (en) Water bath tank and intelligent analysis system for evaluating hemolytic property

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