A testing method and system for network camera motion detection alarm function

Through the generation of video samples controlled by the grid display and PC host, the automated test of the motion detection and alarm function of the network camera is realized, which solves the problems of subjectivity and low efficiency of test results in the existing technology, and improves the test efficiency and quality.

CN118175286BActive Publication Date: 2024-10-18SHENZHEN ADDX INNOVATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410572074.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2024-10-18
Estimated Expiration
2044-05-10

AI Technical Summary

Technical Problem

The testing method of the motion detection alarm function in the existing technology relies on manual simulation, the results are subjective and cannot be quantified, the functional effect cannot be fully evaluated, and the efficiency and quality are low.

Method used

By setting the display to a grid structure, the PC host controls the color, brightness and lighting duration of each grid, generates different video samples for the camera to shoot, realizes automated testing, and records and analyzes motion detection results.

Benefits of technology

It improves the testing efficiency of motion detection and alarm functions, reduces labor costs, quantifies functional effects, and ensures comprehensive evaluation and high-quality test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118175286B_ABST
    Figure CN118175286B_ABST
Patent Text Reader

Abstract

The present application belongs to the field of network camera testing, and is a testing method and system for the motion detection alarm function of a network camera. By setting a camera, a display and a PC host, the camera is pointed at the display, and then the display is gridded and numbered. By controlling the color displayed by each grid, whether it is lit, the length of time it is lit, and the number of simultaneous lights, a video image is generated for the camera to shoot and identify motion detection alarm information; by repeatedly adjusting different parameters of each grid, different video samples are generated for the camera to shoot, and the shooting results are imported into the PC host. Since a large number of video samples for the camera to shoot can be automatically and quickly generated, the camera can shoot a large number of small video files for motion detection inspection, thereby realizing automated testing, improving test efficiency, and reducing labor costs; quantifying functional effects and reducing subjective judgments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network camera testing, and in particular to a method and system for testing a motion detection alarm function of a network camera. Background Art

[0002] Motion detection alarm is an important function commonly found in network cameras. Its working principle is that when the camera image changes, the camera will perform related actions such as recording, APP push, SMS push, camera speaker buzzer alarm, etc. to record and remind the user.

[0003] The commonly used methods for testing the effect of motion detection alarm function in reality are usually:

[0004] 1. Enter the setting interface of the network camera and select the area to be monitored in the motion detection setting;

[0005] 2. Manually introduce a moving object (such as a pendulum) into the monitoring screen, or trigger the motion detection function by moving directly in the monitoring area;

[0006] 3. When the motion detection function is triggered, the network camera should activate the alarm function, such as sending alarm notifications, recording videos, taking photos, etc. Check whether these functions are working properly.

[0007] 4. Find a different test environment and repeat steps 1-3.

[0008] In conventional testing methods, people often simulate image changes by having real people walk around or letting small objects move, so as to check and evaluate the effectiveness of motion detection. The disadvantage of this testing scheme is that the test results often depend on the subjective judgment of the tester, which is not objective and quantifiable; it is impossible to simulate as many test environments as possible, and the user recognition of the function effect is low.

[0009] Therefore, how to improve the efficiency and quality of motion detection alarm is a problem that needs to be solved. Summary of the invention

[0010] The purpose of this application is to provide a method and system for testing the motion detection alarm function of a network camera to solve the problems of low efficiency and poor quality of motion detection alarm in the prior art.

[0011] The technical solution of the present application is: a method for testing the motion detection alarm function of a network camera, comprising:

[0012] The camera is placed facing the monitor, and the PC is connected to the monitor and the camera via a data cable. The PC stores video images in different environments.

[0013] The display is gridded, and the PC host numbers and controls each grid on the display individually;

[0014] The PC host determines the test conditions of each grid in turn, including the displayed color, whether it is lit, the lighting duration, and the number of lights that are lit at the same time, and generates a video image; the camera is controlled to shoot, and after the shooting is completed and the brightness is reduced, the motion detection results are read through the camera and the test conditions and motion detection results are saved;

[0015] When reaching a new test node, modify different test conditions, control the camera to repeat shooting, and import the shooting results into the PC host, which records the camera motion detection test results.

[0016] Preferably, the PC host is provided with a PC test system connected to the camera and the display, and the PC test system is provided with a brightness adjustment module, a color adjustment module, a grid adjustment module and an overall control module; the brightness adjustment module can adjust the brightness within any grid; the color adjustment module can adjust the color value within any grid, the grid adjustment module can control the lighting duration and number within any grid, and the overall control module can match the adjustment amount of each grid in the brightness adjustment module, the color adjustment module and the grid adjustment module to each grid, and then control each grid to execute the corresponding adjustment amount.

[0017] Preferably, the brightness adjustment module has a random brightness generation mode and a progressive brightness generation mode, the random brightness generation mode is provided with a brightness base amount and a brightness compensation amount, and the brightness compensation amount is generated by a random number generator after the compensation range is determined; the brightness adjustment amount of any grid by the brightness adjustment module is the sum of the brightness base amount and the brightness compensation amount; the progressive brightness generation mode is used to generate progressive brightness.

[0018] Preferably, the progressive brightness generation mode is provided with a basic brightness value, a brightness adjustment step and a brightness adjustment interval, the basic brightness value is adjusted following the brightness adjustment step at a specified brightness adjustment interval, and the brightness value in any grid is the brightness value after the basic brightness value is adjusted by the step.

[0019] Preferably, the overall control module is provided with a grid control unit and a number issuing unit, the number issuing unit stores the numbers of all grids and the current brightness and color value of each grid; when reaching a new test node, the grid adjustment module determines the number of grids that need to be adjusted and the corresponding numbers, and sends them to the number issuing unit; the number issuing unit sequentially issues the numbers that need to be adjusted and the grid information corresponding to the numbers to the brightness adjustment module, the color adjustment module and the grid adjustment module, adjusts the brightness, color and lighting duration, and then feeds back the adjustment results to the number issuing unit, the number issuing unit determines whether the number before adjustment corresponds to the number after feedback, and if so, sends the grid adjustment result to the grid control unit, and the grid control unit controls the grids corresponding to each number separately according to the grid adjustment result.

[0020] Preferably, a time monitoring module is also provided in the overall control module, and a standard time is set in the time monitoring module. The time monitoring module sends the standard time to the number issuing unit in the PC test system at regular time intervals. When the number issuing unit sends or receives the number and corresponding information, the time monitoring module determines whether the corresponding instructions when sending the number and receiving the number are synchronized. If so, the verification is completed.

[0021] As a specific implementation, a test system for a motion detection alarm function of a network camera includes a display, a PC host and a camera, wherein the PC host is connected to the display and the camera via data cables.

[0022] The test method and system of the network camera motion detection alarm function of the present application, by setting up a camera, a display and a PC host, aiming the camera at the display, and then gridding and numbering the display, by controlling the color displayed by each grid, whether it is lit, the length of time it is lit, and the number of simultaneous lights, a video image is generated for the camera to shoot and identify motion detection alarm information; by repeatedly adjusting different parameters of each grid, different video samples are generated for the camera to shoot, and the shooting results are imported into the PC host. Since a large number of video samples for the camera to shoot can be automatically and quickly generated, the camera can shoot a large number of small video files for motion detection inspection, thereby realizing automated testing, improving test efficiency, and reducing labor costs; quantifying functional effects and reducing subjective judgments. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solution provided by the present application, the following is a brief introduction to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present application.

[0024] Figure 1 This is a schematic diagram of the overall structure of the test system for this application;

[0025] Figure 2 This is the overall flow chart of the test method for this application.

[0026] 1. Camera; 2. Monitor; 3. PC host. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] A test system for the motion detection and alarm function of a network camera, such as Figure 1 As shown, it includes a display 2, a PC host 3 and a camera 1, and the PC host 3 is connected to the display 2 and the camera 1 through a data cable. The camera 1 lens faces the display 2, and the PC host 3 can control the display 2 to play real videos in different environments (or customized quantitative test condition videos), detect whether the motion detection function of the camera 1 is triggered, and record the test conditions and test results (the test conditions are used for subsequent retest comparison / competitive product comparison).

[0029] As a specific implementation, based on the above test system, a test method for the motion detection alarm function of a network camera is also included, such as Figure 2 As shown, the following steps are included:

[0030] Step S100, the camera 1 is arranged facing the display 2, the PC host 3 is connected to the display 2 and the camera 1 via a data cable, and the PC host 3 stores video images in different environments.

[0031] The specific setting method is: when in use, the camera 1 is installed on the bracket and placed in front of the display 2; then the distance between the camera 1 and the display 2 is adjusted so that the camera 1 can only see the content of the display 2 but cannot see the content around the display 2, thus completing the adjustment of the position of the camera 1.

[0032] The PC host 3 is connected to the camera 1 via a network protocol. A PC test system is provided inside the PC host 3. The PC test system can adjust the window size of the display 2 so that the window size of the display 2 just fills the video screen of the camera 1 and records the window size at this time, specifically including horizontal pixels and vertical pixels.

[0033] Step S200, the display 2 is gridded, and the PC host 3 numbers and individually controls each grid on the display 2. The size of each grid can be the same or different; multiple grids together form a real video screen or a customized test condition video. By individually controlling each grid, the position, number and size of the moving subject in the video can be adjusted, and even the moving subject can be changed, so that multiple different types of videos can be formed for motion detection alarm testing.

[0034] Step S300, the PC host 3 determines the test conditions of each grid in turn, including the displayed color, whether it is lit, the lighting duration, and the number of grids that are lit at the same time, and generates a video image; the camera 1 is controlled to shoot, and after the shooting is completed and the brightness is reduced, the motion detection result is read by the camera 1 and the test conditions and motion detection results are saved. The number of grids and the display background color can be set as needed.

[0035] Preferably, the PC test system is provided with a brightness adjustment module, a color adjustment module, a grid adjustment module and an overall control module; the brightness adjustment module can adjust the brightness in any grid; the color adjustment module can adjust the color value in any grid; the grid adjustment module can control the lighting duration and number in any grid; the overall control module can match the adjustment amount of each grid in the brightness adjustment module, the color adjustment module and the grid adjustment module to each grid, and then control each grid to perform the corresponding adjustment amount. Generally, only the frame rate control is performed on the camera 1.

[0036] Through the above design, the brightness, color, lighting duration and number of brightness of each grid can be controlled, so as to form any variety of different videos to meet the needs of motion detection alarm testing. And the grid change rule has two functions: manual setting and random change, so as to meet the test needs in different environments.

[0037] Preferably, a random brightness generation mode and a progressive brightness generation mode are provided in the brightness adjustment module. A brightness base amount and a brightness compensation amount are provided in the random brightness generation mode. The brightness compensation amount is generated by a random number generator after the compensation range is determined. The brightness adjustment amount of any grid by the brightness adjustment module is the sum of the brightness base amount and the brightness compensation amount.

[0038] The progressive brightness generation mode has a basic brightness value, a brightness adjustment step and a brightness adjustment interval. The basic brightness value is adjusted according to the brightness adjustment step at the specified brightness adjustment interval. The brightness value in any grid is the brightness value after the basic brightness value is adjusted by the step.

[0039] By setting the random brightness generation mode and the progressive brightness generation mode, the brightness of any number of grids can be quickly changed. The two modes can be used alone or cross-used. Of course, other brightness generation modes can also be used, such as manual adjustment mode and function adjustment mode.

[0040] The color control in the color adjustment module and the lighting duration and number control mode in the grid adjustment module are the same as the control mode of the brightness adjustment module, and will not be described in detail.

[0041] The brightness adjustment module, color adjustment module and grid adjustment module are respectively provided with corresponding brightness adjustment intervals, color adjustment intervals, lighting duration adjustment intervals and number adjustment intervals. After each parameter is set, the test is performed.

[0042] During the test process, based on the existing real video, the brightness adjustment module, color adjustment module and grid adjustment module can quickly generate the brightness, color, lighting duration and number of grids of each occupied grid, thereby generating a customized quantitative test condition video, thereby quickly forming a large number of samples.

[0043] Preferably, in order to prevent abnormalities when controlling each grid and ensure the quality of grid processing, a grid control unit and a number issuing unit are provided in the overall control module, and the number issuing unit stores the numbers of all grids and the current brightness and color values ​​of each grid; when reaching a new test node, the grid adjustment module determines the number of grids that need to be adjusted and the corresponding numbers, and sends them to the number issuing unit; the number issuing unit sequentially issues the numbers that need to be adjusted and the grid information corresponding to the numbers to the brightness adjustment module, the color adjustment module and the grid adjustment module, adjusts the brightness, color and lighting duration, and then feeds back the adjustment results to the number issuing unit, and the number issuing unit determines whether the numbers before adjustment correspond to the numbers after feedback, and if so, sends the grid adjustment results to the grid control unit, and the grid control unit controls the grids corresponding to each number according to the grid adjustment results. By performing number control, the adjustment of each grid can be quickly proofread to prevent errors.

[0044] Preferably, a time monitoring module is also provided in the overall control module, and a standard time is set in the time monitoring module. The time monitoring module sends the standard time to other modules in the PC test system at regular intervals. When the number issuing unit sends or receives the number and the corresponding information, the time monitoring module determines whether the corresponding instructions when sending the number and receiving the number are synchronized. If so, the verification is completed. By performing time control, it is prevented that the processing time of one or more grids is different and cannot be reflected in the same video, affecting the video quality.

[0045] Step S400, when reaching a new test node, modify different test conditions, control the camera 1 to repeat shooting, and import the shooting results into the PC host 3, and the PC host 3 records the motion detection test results of the camera 1.

[0046] This application sets up a camera 1, a display 2 and a PC host 3, aims the camera 1 at the display 2, and then grids and numbers the display 2, and generates video images by controlling the color displayed by each grid, whether it is lit, the length of time it is lit, and the number of simultaneous lights, so that the camera 1 can shoot and identify motion detection alarm information; by repeatedly adjusting different parameters of each grid, different video samples are generated for the camera 1 to shoot, and the shooting results are imported into the PC host 3. Since a large number of video samples for the camera 1 to shoot can be automatically and quickly generated, the camera 1 can shoot a large number of small video files for motion detection inspection, thereby realizing automated testing, improving test efficiency, and reducing labor costs; quantifying functional effects, reducing subjective judgments, and ensuring a comprehensive evaluation of the performance of the camera 1 in actual usage scenarios.

[0047] Finally, it should be noted that: the drawings of the embodiments disclosed in the present invention only involve structures related to the embodiments disclosed in the present invention, and other structures can refer to the general design. In the absence of conflict, the same embodiment and different embodiments of the present invention can be combined with each other;

[0048] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A test method for the motion detection alarm function of a network camera. It is characterized in that include: The camera (1) is arranged facing the display (2), the PC host (3) is connected to the display (2) and the camera (1) via a data cable, and video images in different environments are stored in the PC host (3); The display (2) is gridded, and the PC host (3) numbers and individually controls each grid on the display (2); The PC host (3) determines the test conditions of each grid in turn, including the displayed color, whether it is lit, the lighting duration, and the number of grids that are lit at the same time, and generates a video image; the camera (1) is controlled to shoot, and after the shooting is completed and the brightness is reduced, the motion detection result is read by the camera (1) and the test conditions and the motion detection result are saved; When a new test node is reached, different test conditions are modified, the camera (1) is controlled to repeat shooting, and the shooting results are imported into the PC host (3), and the PC host (3) records the motion detection test results of the camera (1); The PC host (3) is provided with a PC test system connected to the camera (1) and the display (2), and the PC test system is provided with a brightness adjustment module, a color adjustment module, a grid adjustment module and an overall control module; the brightness adjustment module is capable of adjusting the brightness in any grid; the color adjustment module is capable of adjusting the color value in any grid; the grid adjustment module is capable of controlling the lighting duration and number of any grid; the overall control module is capable of matching the adjustment amount of each grid in the brightness adjustment module, the color adjustment module and the grid adjustment module to each grid, and then controlling each grid to execute the corresponding adjustment amount; The brightness adjustment module has a random brightness generation mode and a progressive brightness generation mode, the random brightness generation mode is provided with a brightness base amount and a brightness compensation amount, and the brightness compensation amount is generated by a random number generator after the compensation range is determined; The brightness adjustment amount of any grid by the brightness adjustment module is the sum of the brightness base amount and the brightness compensation amount; the progressive brightness generation mode is used to generate progressive brightness.

2. The method for testing the motion detection alarm function of a network camera as claimed in claim 1, Features: The progressive brightness generation mode is provided with a basic brightness value, a brightness adjustment step and a brightness adjustment interval. The basic brightness value is adjusted following the brightness adjustment step at a specified brightness adjustment interval. The brightness value in any grid is the brightness value after the basic brightness value is adjusted by the step.

3. The method for testing the motion detection alarm function of a network camera as claimed in claim 1, Features: The overall control module is provided with a grid control unit and a number issuing unit, wherein the number issuing unit stores the numbers of all grids and the current brightness and color values ​​of each grid; when reaching a new test node, the grid adjustment module determines the number of grids that need to be adjusted and the corresponding numbers, and sends them to the number issuing unit; the number issuing unit sequentially issues the numbers that need to be adjusted and the grid information corresponding to the numbers to the brightness adjustment module, the color adjustment module and the grid adjustment module, adjusts the brightness, color and lighting duration, and then feeds back the adjustment results to the number issuing unit, the number issuing unit determines whether the numbers before adjustment correspond to the numbers after feedback, and if so, sends the grid adjustment results to the grid control unit, and the grid control unit controls the grids corresponding to each number separately according to the grid adjustment results.

4. The method for testing the motion detection alarm function of a network camera as claimed in claim 3, Features: The overall control module is also provided with a time monitoring module, and the time monitoring module is set with a standard time. The time monitoring module sends the standard time to the number issuing unit in the PC test system at regular time intervals. When the number issuing unit sends or receives the number and corresponding information, the time monitoring module determines whether the corresponding instructions when sending the number and receiving the number are synchronized. If so, the verification is completed.

5. A test system for the motion detection alarm function of a network camera, using the test method as described in any one of claims 1 to 4, Features: It comprises a display (2), a PC host (3) and a camera (1), wherein the PC host (3) is connected to the display (2) and the camera (1) via data cables.

Citation Information

Patent Citations

  • Verification method and system for motion detection sensitivity of network camera

    CN113840137A