CN115623189A - Camera performance evaluation method, device, equipment and medium - Google Patents

Camera performance evaluation method, device, equipment and medium Download PDF

Info

Publication number
CN115623189A
CN115623189A CN202210999140.9A CN202210999140A CN115623189A CN 115623189 A CN115623189 A CN 115623189A CN 202210999140 A CN202210999140 A CN 202210999140A CN 115623189 A CN115623189 A CN 115623189A
Authority
CN
China
Prior art keywords
camera
parameter
test item
equipment
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210999140.9A
Other languages
Chinese (zh)
Inventor
胡舒瀚
朱茂贺
胡银平
周梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Unisinsight Technology Co Ltd
Original Assignee
Chongqing Unisinsight 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 Chongqing Unisinsight Technology Co Ltd filed Critical Chongqing Unisinsight Technology Co Ltd
Priority to CN202210999140.9A priority Critical patent/CN115623189A/en
Publication of CN115623189A publication Critical patent/CN115623189A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The application provides a camera performance evaluation method, a device, equipment and a medium, wherein the method comprises the following steps: acquiring at least one function test item for evaluating the performance of the camera and at least one parameter information included in each function test item, wherein the at least one parameter information includes an interface set; acquiring parameter data corresponding to each parameter in each function test item through an interface set according to the priority to obtain a parameter data set, and acquiring an equipment running log of the camera through an integral interface; evaluating the equipment operation log to obtain an equipment evaluation result, and evaluating at least one parameter information according to the parameter data set to obtain a function evaluation result; the performance evaluation of the camera can be carried out more comprehensively by the method for analyzing the equipment evaluation result and the function evaluation result to obtain the performance evaluation result of the camera.

Description

Camera performance evaluation method, device, equipment and medium
Technical Field
The present application relates to the field of image processing, and in particular, to a method, an apparatus, a device, and a medium for evaluating performance of a camera.
Background
The road traffic camera is the most main equipment for detecting the current traffic violation, the traffic camera can shoot and obtain evidence for the vehicle violating the law, the evidence-obtaining picture is transmitted back to the traffic command center for auditing, and corresponding punishment is given to the driver violating the traffic rules. The camera has complex installation environment, needs to cope with complex factors such as temperature, vibration, light, illegal quantity and pressure and the like, so that higher stability and reliability need to be ensured, and the camera can normally operate under different environments, high loads and high pressures; therefore, the comprehensive performance test aiming at the traffic camera is urgently needed in the early-stage test of the camera, and the stability of the camera is ensured.
Content of application
In view of the above-mentioned shortcomings of the prior art, it is an object of the present application to provide a method, an apparatus, a device and a medium for evaluating performance of a camera, which can evaluate the performance of the camera more comprehensively.
In a first aspect, an embodiment of the present application provides a method for evaluating performance of a camera, where the method includes:
acquiring at least one function test item for evaluating the performance of the camera and at least one parameter information included in each function test item, wherein the at least one parameter information includes an interface set, and each function test item in the at least one function test item is sorted according to priority;
acquiring parameter data corresponding to each parameter in each function test item through an interface set according to the priority to obtain a parameter data set, and acquiring an equipment running log of the camera through an integral interface;
evaluating the equipment operation log to obtain an equipment evaluation result, and evaluating at least one parameter information according to the parameter data set to obtain a function evaluation result;
and analyzing the equipment evaluation result and the function evaluation result to obtain a performance evaluation result of the camera.
In an embodiment of the present application, a configuration interface of the functional test item is output through a display; and acquiring at least one input function test item and at least one parameter information included in each function test item through an input configuration port, wherein the input configuration port is connected with the display.
In an embodiment of the application, a data request message for each parameter in each functional test item is sent to an interface set of the camera in a first cycle, where the first cycle is any one cycle in an evaluation time period; and receiving parameter data corresponding to each parameter in each functional test item sent by the camera through the interface set in a first period.
In an embodiment of the present application, a device log request message is sent to an entire interface of a camera in a first period; and receiving the device operation log sent by the camera through the integral interface in a first period.
In an embodiment of the application, at least one device operation log is evaluated within an evaluation time period to obtain at least one device test result, and each device operation log in the at least one device operation log comes from different periods; and screening an equipment test result comprising a first preset keyword from at least one equipment test result to obtain an equipment evaluation result, wherein the first preset keyword is used for indicating that the equipment test result is abnormal.
In an embodiment of the present application, the number of the parameter data sets is at least one;
in an embodiment of the present application, at least one parameter information is evaluated according to at least one parameter data set within an evaluation time period to obtain at least one function test result, and each parameter data set in the at least one parameter data set comes from a different cycle; and screening an equipment test result comprising a second preset keyword from the at least one function test result to obtain a function evaluation result, wherein the second preset keyword is used for indicating that the function test result is abnormal.
In an embodiment of the present application, the at least one parameter information includes a default data set;
in an embodiment of the application, after the at least one functional test item and the at least one parameter information included in each functional test item are acquired, a default data set is sent to the interface set, so that the camera updates the at least one parameter information according to the default data set.
In a second aspect, an embodiment of the present application provides a camera performance evaluation apparatus, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring at least one function test item used for carrying out performance evaluation on the camera and at least one parameter information included in each function test item, the at least one parameter information includes an interface set, and each function test item in the at least one function test item is sorted according to priority;
the acquisition unit is also used for acquiring parameter data corresponding to each parameter in each function test item through the interface set according to the priority to obtain a parameter data set, and acquiring an equipment operation log of the camera through the integral interface;
the processing unit is used for evaluating the equipment operation log to obtain an equipment evaluation result, and evaluating at least one parameter information according to the parameter data set to obtain a function evaluation result;
and the processing unit is also used for analyzing the equipment evaluation result and the function evaluation result to obtain a performance evaluation result of the camera.
In a third aspect, an embodiment of the present application provides a camera performance evaluation apparatus, which includes a processor, a memory, and a communication interface, where the processor, the memory, and the communication interface are connected to each other, where the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the camera performance evaluation method described in the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processor to execute the camera performance evaluation method described in the first aspect.
In the embodiment of the application, a performance evaluation framework can acquire at least one function test item for performing performance evaluation on a camera and at least one parameter information included in each function test item, wherein the at least one parameter information includes an interface set, and each function test item in the at least one function test item is sorted according to priority; acquiring parameter data corresponding to each parameter in each function test item through an interface set according to the priority to obtain a parameter data set, and acquiring an equipment running log of the camera through an integral interface; evaluating the equipment operation log to obtain an equipment evaluation result, and evaluating at least one parameter information according to the parameter data set to obtain a function evaluation result; and analyzing the equipment evaluation result and the function evaluation result to obtain a performance evaluation result of the camera. By the method, the performance of the camera can be more comprehensively evaluated.
Drawings
Fig. 1 is a schematic diagram illustrating an architecture of a camera performance evaluation system according to an embodiment of the present disclosure;
FIG. 2 is a diagram illustrating a hardware environment for performance evaluation according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a method for evaluating performance of a camera according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating a configuration interface for functional test items according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a camera performance evaluation apparatus according to an embodiment of the present application;
fig. 6 is a simplified schematic diagram illustrating a physical structure of a camera performance evaluation apparatus according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application is provided by way of specific examples, and other advantages and effects of the present application will be readily apparent to those skilled in the art from the disclosure herein. The application is capable of other and different embodiments and its several details are capable of modifications and various changes in detail without departing from the spirit of the application. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present application, and the drawings only show the components related to the present application and are not drawn according to the number, shape and size of the components in actual implementation, and the type, number and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Referring to fig. 1, fig. 1 is a schematic diagram of a camera performance evaluation framework according to an embodiment of the present disclosure. As shown in fig. 1, the camera performance evaluation framework is included in a PC (Personal Computer) terminal, and includes an input configuration port, a request sending module, a data analysis module, and an evaluation result summarizing module. The input configuration port can transmit the functional test items and each parameter under each functional test item to the request sending module; the request sending module can request data corresponding to each parameter from a functional interface of the camera device; the camera equipment comprises a data processing module, data corresponding to each parameter can be returned to a data analysis module of the performance evaluation framework through a response interface, and the electronic temperature/humidity measuring equipment can also send temperature/humidity data to the data analysis module; the data analysis module can transmit the acquired data to the evaluation result summarizing module. In addition, the camera device can be a video camera, and the camera device can be connected with a heater and a humidifier to change the temperature and the humidity of the environment besides comprising a data processing module, a functional interface and a response interface.
Fig. 2 is a schematic diagram of a hardware environment for performance evaluation according to an embodiment of the present application. This hardware environment can include a box, puts into the box with camera equipment, and the camera part of camera extends the box, and the box face is pressed close to with the camera bottom. The hardware environment further comprises a high-definition display screen, a section of road vehicle live video can be selected, the video is required to be clear and smooth, the video resolution is not lower than the preset resolution, for example, the video resolution is not lower than 1080p, and the video can be guided into the high-definition display screen to be played circularly. The hardware environment can also comprise a small humidifier, a small heater, an electronic temperature measuring device (obtaining temperature by reacting temperature through a thermistor) and an electronic humidity measuring device (humidity change can affect resistance change of the device, and then humidity is obtained). Can place small-size humidifier, small-size heater, temperature and humidity measurement device in the box and fixed, with temperature and humidity measurement device's output data input to PC equipment.
In order to more fully evaluate the performance of the camera, embodiments of the present application provide a method, an apparatus, a device, and a medium for evaluating the performance of the camera, and the method for evaluating the performance of the camera provided by the embodiments of the present application is further described in detail below.
Referring to fig. 3, fig. 3 is a schematic flowchart of a camera performance evaluation method according to an embodiment of the present disclosure, where the method may be applied to the implementation environment shown in fig. 1 and specifically executed by a performance evaluation framework or a PC device in the implementation environment. It should be understood that the method may be applied to other exemplary implementation environments and is specifically executed by devices in other implementation environments, and the embodiment does not limit the implementation environment to which the method is applied.
The method for evaluating the performance of the camera may include the following steps S310 to S340, specifically:
s310, at least one function test item for performance evaluation of the camera and at least one parameter information included in each function test item are obtained, the at least one parameter information includes an interface set, and all function test items in the at least one function test item are sorted according to priority.
In an embodiment of the present application, the performance evaluation framework may output a configuration interface of the functional test items through the display, and the configuration interface may be as shown in fig. 4. As shown in fig. 4, the configuration interface may include a functional test item configuration section and a configuration section for each parameter under each functional test item. The configuration of each parameter can further configure a specific interface of each parameter corresponding to the camera. The specific interface may be preset and dedicated for data input or output of the corresponding parameter. In the embodiment of the present application, the functional test items may include, but are not limited to: camera detection function, storage function, video recording function, code stream parameter, camera resolution parameter function, picture frame rate function, picture OSD (On Screen Display, on Screen Display information) character string superposition function, temperature and humidity function, and the like. The humidifier and the heater which provide the temperature and humidity function are arranged outside the camera and used for changing the temperature and the humidity of the working environment of the camera.
Further, the performance evaluation framework may obtain the input at least one functional test item and at least one parameter information included in each functional test item through an input configuration port, the input configuration port being connected to the display. If a function test item needs to be newly added in the later period, the function test item can be directly newly added on a display connected with the input configuration port.
If the performance evaluation framework needs to acquire the temperature and the humidity, the temperature and the humidity can be acquired through the electronic temperature/humidity measuring equipment, and the electronic temperature/humidity measuring equipment can be set to send the temperature/humidity data in the current environment once every cycle.
In an embodiment of the present application, the performance evaluation framework may perform priority ordering on the acquired at least one functional test item. The priority of different functional test items may be designed by those skilled in the art, and the embodiment of the present application is not limited.
In an embodiment of the present application, if a new functional test item and a new parameter need to be added on the basis of an existing functional test item according to an evaluation requirement, a functional test item name and a related sub-parameter are defined in an initial logic in a frame and are included in an overall performance evaluation frame.
And S320, acquiring parameter data corresponding to each parameter in each function test item through the interface set according to the priority to obtain a parameter data set, and acquiring an equipment running log of the camera through the integral interface.
Specifically, the performance evaluation framework may send a data request message for each parameter in each functional test item to the interface set of the camera within a first cycle, which is any one cycle within the evaluation time period. The evaluation period may be set by those skilled in the art, and the number of cycles included in the evaluation period may also be set by those skilled in the art. The duration of each cycle needs to be greater than or equal to the minimum time to acquire parameter data and evaluation through the interface set, otherwise acquisition failure may result.
Further, parameter data corresponding to each parameter in each functional test item sent by the camera through the interface set can be received in the first period.
In this way, the performance evaluation framework may receive, in each period, parameter data corresponding to each parameter in each functional test item in the camera in each period, to obtain a parameter data set.
In an embodiment of the present application, the parameters in the data request message sent by the performance evaluation framework to the interface set of the camera in the first period may include a default data set. That is, after the user sets each functional test item and each parameter through the configuration interface, the user can customize or automatically generate default data of each parameter by the performance evaluation framework. The camera may update data for a corresponding parameter in the at least one parameter information of the camera according to the default data set. For example, the user-defined frame rate parameter is 30, and the image acquisition frame rate of the camera at this time is 24 frames, then after receiving the data request message, the camera may modify the image acquisition frame rate to 30 frames, and after the modification is completed, return the current frame rate data to the performance evaluation frame, so that the performance evaluation frame may detect whether the frame rate is successfully modified.
In an embodiment of the present application, the data request message sent to the interface set of the camera in the second and subsequent cycles of the performance evaluation framework may not include the default data set, or further, may not include the data set. The data request message at this time may be used to detect whether each interface in the interface set is in a conducting state, and further, the parameter data set in the current period may be received from the interface set.
Illustratively, a user can set at least one functional test item to be an audio-video function, a resolution function and a storage function through the configuration interface. The audio and video functions can comprise frame rate modification, code rate modification and coding modification of H.265; the resolution function may include modifying the resolution to 2160p; the storage function may include modifying storage time, modifying storage video recording time. The performance evaluation framework can perform priority ordering of the functional test items, and the ordering from high to low can be as follows: a resolution function, an audio-video function and a storage function. Furthermore, in the first period, the performance evaluation framework may sequentially send the parameters of the resolution function, the audio/video function, and the storage function to the interface set according to the order, so as to modify and update the corresponding parameter information in the camera. Further, the performance evaluation may receive a parameter data set returned by the camera via the interface set during the first period. In the second and subsequent cycles, the performance assessment framework may obtain a data set of parameters over each cycle.
In an embodiment of the present application, the at least one functional test item may include a storage function: requesting relevant parameters from a storage interface to change parameters of a storage mode and the like; the video recording function is as follows: requesting relevant parameters from a video interface to change video recording logic of a video recording mode, and the like; code stream parameters: request the relevant parameter to the code stream interface in order to change the code stream parameter, etc.; camera resolution parameters: request the resolution interface for relevant parameters to change the resolution, etc.; frame rate of picture is similar to resolution; on-screen display (on-screen display) string overlay: sending the content, color, position and the like of the character string which is required to be changed by the parameters to an OSD interface; temperature and humidity: the temperature of the temperature sensor is read, the difference value is calculated by comparing with the comparison temperature, and the humidity is similar to the temperature. Other self-added functions can be included, and the embodiment of the application is not limited.
In an embodiment of the present application, at least one functional test item of the camera supported by the performance evaluation framework may be defined as Func1, func2 … Funcn; the one-to-one corresponding mode of each interface and the parameters is defined as A1-config1, A2-config2 … An-config, wherein A represents the parameters, and config represents the data of each parameter; the hierarchical relationship between the functional test items and the interface parameters is Func1 (A1-config 1 …), func2 (A2-config 2 …) … Funcn (… An-config).
In an embodiment of the present application, the performance evaluation framework may obtain the device operation log of the camera through the integral interface. The overall interface may be an interface for outputting a device operation log of the camera, and the device operation log may indicate an overall operation state of the current camera. Specifically, in the first period, the device operation log request message may be sent to the entire interface of the camera, and the device operation log sent by the camera through the entire interface may be received in the first period. Thus, by performing such an operation for each cycle, at least one device operation log can be acquired.
In an embodiment of the present application, the device operation Log may be recorded as Log _ request _ camera; the parameter data set of at least one functional test item may be denoted as Log _ request _ func.
S330, evaluating the equipment running log to obtain an equipment evaluation result, and evaluating at least one parameter information according to the parameter data set to obtain a function evaluation result.
After the data request message sending task starts, each requested interface may return corresponding data according to the network protocol standard. The performance evaluation framework may analyze the at least one parameter information from the at least one parameter data set and evaluate the equipment operational log. The result can be output finally, either as success or error. The result of each request is associated with the corresponding request, the result is printed in a character form, and the result is written into an excel table and stored in a fixed path (the path provides a default value and supports modification) for a debugging person to view.
In an embodiment of the application, at least one device operation log is evaluated within an evaluation time period to obtain at least one device test result, and each device operation log in the at least one device operation log comes from a different cycle. Specifically, the performance evaluation framework may evaluate the device operation log obtained in each period to obtain a corresponding device test result. After n cycles of evaluation, n device test results can be obtained.
Further, the device test result including a first preset keyword is screened from the at least one device test result, so as to obtain a device evaluation result, where the first preset keyword is used to indicate that the device test result is abnormal, the first preset keyword may be designed by a person skilled in the art, and the number of the first preset keyword may be at least one. In this embodiment of the present application, the device evaluation result may be recorded as Debug _ error _ log _ camera.
In an embodiment of the application, at least one parameter information is evaluated according to at least one parameter data set within an evaluation time period to obtain at least one function test result, and each parameter data set in the at least one parameter data set is from a different cycle. Specifically, the performance evaluation framework may evaluate at least one parameter information in each period according to the parameter data set acquired in the period to obtain a corresponding function test result. After n cycles of evaluation, n functional test results can be obtained. The functional test Result may be recorded as Result _ time, and the functional test Result obtained in the ith period may be recorded as Result _ time, where i is greater than 0 and less than or equal to n.
Further, the device test result including a second preset keyword is screened from the at least one function test result to obtain a function evaluation result, the second preset keyword is used for indicating that the function test result is abnormal, the second preset keyword may be designed by a person skilled in the art, and the number of the second preset keyword may be at least one. In this embodiment of the application, the function evaluation result may be recorded as Debug _ error _ log _ camera _ func.
In an embodiment of the present application, the function evaluation result may further include an average temperature and an average humidity in the evaluation period. The period of acquiring the temperature data and the humidity data by the performance evaluation framework may be the same as or different from the period of acquiring the parameter data set, and may be specifically designed by a person skilled in the art, and the embodiment of the present application is not limited.
And S340, analyzing the equipment evaluation result and the function evaluation result to obtain a performance evaluation result of the camera.
The performance evaluation framework can output the device evaluation result and the function evaluation result to a table and display the result to a person skilled in the art through a display; or, in the embodiment of the present application, the performance evaluation framework may analyze the device evaluation result and the function evaluation result through an intelligent algorithm to obtain the performance evaluation result of the camera.
Through the embodiment of the application, the performance evaluation framework can acquire at least one function test item for performing performance evaluation on the camera and at least one parameter information included in each function test item, wherein the at least one parameter information includes an interface set, and each function test item in the at least one function test item is sorted according to priority; acquiring parameter data corresponding to each parameter in each function test item through an interface set according to the priority to obtain a parameter data set, and acquiring an equipment running log of the camera through an integral interface; evaluating the equipment running log to obtain an equipment evaluation result, and evaluating at least one parameter information according to the parameter data set to obtain a function evaluation result; and analyzing the equipment evaluation result and the function evaluation result to obtain a performance evaluation result of the camera. By the method, the performance of the camera can be more comprehensively evaluated.
Referring to fig. 5, fig. 5 is a block diagram of a camera performance evaluation apparatus according to an embodiment of the present disclosure. The apparatus may include an acquisition unit 510, a processing unit 520, a display unit 530, and a transceiving unit 540. The apparatus may be applied to the implementation environment shown in fig. 1. The apparatus may also be applied to other exemplary implementation environments and specifically configured in other devices, and the embodiment does not limit the implementation environment to which the apparatus is applied.
As shown in fig. 5, the exemplary camera performance evaluation apparatus includes:
an obtaining unit 510, configured to obtain at least one function test item used for performing performance evaluation on a camera and at least one parameter information included in each function test item, where the at least one parameter information includes an interface set, and each function test item in the at least one function test item is sorted by priority;
the obtaining unit 510 is further configured to obtain, according to the priority, parameter data corresponding to each parameter in each function test item through the interface set to obtain a parameter data set, and obtain an equipment operation log of the camera through the integral interface;
the processing unit 520 is configured to evaluate the device operation log to obtain a device evaluation result, and evaluate at least one parameter information according to the parameter data set to obtain a function evaluation result;
the processing unit 520 is further configured to analyze the device evaluation result and the function evaluation result to obtain a performance evaluation result of the camera.
In an embodiment of the present application, the display unit 530 is configured to output a configuration interface of the functional test items through a display; the obtaining unit 510 is further configured to obtain, through an input configuration port, the input at least one function test item and at least one parameter information included in each function test item, where the input configuration port is connected to the display.
In an embodiment of the present application, the transceiver 540 is configured to send a data request message for each parameter in each functional test item to the interface set of the camera in a first cycle, where the first cycle is any one cycle in the evaluation time period; and receiving parameter data corresponding to each parameter in each functional test item sent by the camera through the interface set in a first period.
In an embodiment of the present application, the transceiving unit 540 is further configured to send a device running log request message to the entire interface of the camera in the first period; and receiving the device operation log sent by the camera through the integral interface in a first period.
In an embodiment of the present application, the processing unit 520 is further configured to evaluate at least one device operation log within an evaluation time period to obtain at least one device test result, where each device operation log in the at least one device operation log is from a different cycle; and screening an equipment test result comprising a first preset keyword from at least one equipment test result to obtain an equipment evaluation result, wherein the first preset keyword is used for indicating that the equipment test result is abnormal.
In an embodiment of the present application, the number of the parameter data sets is at least one;
in an embodiment of the present application, the processing unit 520 is further configured to evaluate at least one parameter information according to at least one parameter data set within an evaluation time period to obtain at least one function test result, where each parameter data set in the at least one parameter data set is from a different cycle; and screening an equipment test result comprising a second preset keyword from the at least one function test result to obtain a function evaluation result, wherein the second preset keyword is used for indicating that the function test result is abnormal.
In an embodiment of the present application, the at least one parameter information includes a default data set;
in an embodiment of the application, after obtaining the at least one function test item and the at least one parameter information included in each function test item, the transceiver 540 is further configured to send a default data set to the interface set, so that the camera updates the at least one parameter information according to the default data set.
Referring to fig. 6, fig. 6 is a simplified schematic diagram of a physical structure of a camera performance evaluation apparatus according to an embodiment of the present disclosure, where the apparatus includes a processor 610, a memory 620, a communication interface 630, and a user interface 640, and the processor 610, the memory 620, the communication interface 630, and the user interface 640 are connected by one or more communication buses.
The processor 610 is configured to support the communication device to execute the corresponding functional test items of the method of fig. 1. The processor 610 may be a Central Processing Unit (CPU), a Network Processor (NP), a hardware chip, or any combination thereof.
The memory 620 is used to store program codes and the like. Memory 620 may include volatile memory (volatile memory), such as Random Access Memory (RAM); the memory 620 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory 620 may also comprise a combination of the above types of memory.
Communication interface 630 is used for transceiving data, information, or messages, etc., and may also be described as a transceiver, transceiving circuitry, etc.
The user interface 640 is used to output data through the hardware unit for reception by the user.
In an embodiment of the present application, the processor 610 may call the program code stored in the memory 620 to perform the following operations:
the processor 610 may call program code stored in the memory 620 to obtain at least one functional test item for performing performance evaluation on the camera and at least one parameter information included in each functional test item, where the at least one parameter information includes an interface set, and each functional test item in the at least one functional test item is prioritized;
acquiring parameter data corresponding to each parameter in each function test item through an interface set according to the priority to obtain a parameter data set, and acquiring an equipment running log of the camera through an integral interface;
evaluating the equipment running log to obtain an equipment evaluation result, and evaluating at least one parameter information according to the parameter data set to obtain a function evaluation result;
and analyzing the equipment evaluation result and the function evaluation result to obtain a performance evaluation result of the camera.
In an embodiment of the present application, the user interface 640 is invoked to output a configuration interface of the functional test items through the display; the processor 610 may call the program code stored in the memory 620 to obtain the input at least one functional test item and at least one parameter information included in each functional test item through the input configuration port, and the input configuration port is connected to the display.
In an embodiment of the present application, the communication interface 630 is invoked to send a data request message for each parameter in each functional test item to an interface set of the camera within a first period, where the first period is any one period in the evaluation time period; and receiving parameter data corresponding to each parameter in each functional test item sent by the camera through the interface set in a first period.
In an embodiment of the present application, the communication interface 630 is invoked to send a device log request message to an overall interface of the camera in a first period; and receiving the device operation log sent by the camera through the integral interface in a first period.
In an embodiment of the present application, the processor 610 may call the program code stored in the memory 620 to evaluate at least one device operation log within an evaluation time period to obtain at least one device test result, where each device operation log in the at least one device operation log comes from a different cycle; and screening an equipment test result comprising a first preset keyword from at least one equipment test result to obtain an equipment evaluation result, wherein the first preset keyword is used for indicating that the equipment test result is abnormal.
In an embodiment of the present application, the number of the parameter data sets is at least one;
in an embodiment of the present application, the processor 610 may invoke the program code stored in the memory 620 to evaluate at least one parameter information according to at least one parameter data set within an evaluation time period to obtain at least one functional test result, where each parameter data set in the at least one parameter data set is from a different cycle; and screening an equipment test result comprising a second preset keyword from the at least one function test result to obtain a function evaluation result, wherein the second preset keyword is used for indicating that the function test result is abnormal.
In an embodiment of the present application, the at least one parameter information includes a default data set;
in an embodiment of the present application, after obtaining at least one function test item and at least one parameter information included in each function test item, the communication interface 630 is invoked to send a default data set to the interface set, so that the camera updates the at least one parameter information according to the default data set.
Embodiments of the present application also provide a computer-readable storage medium, having a computer program stored thereon,
the computer program is for causing a computer to perform the method of any one of the above embodiments.
Embodiments of the present application also provide a non-transitory readable storage medium, where one or more modules (programs) are stored in the storage medium, and when the one or more modules are applied to a device, the device may execute instructions (instructions) included in an embodiment of the present application.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in an electronic device; or may be separate and not incorporated into the electronic device.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functional test items, and operations of possible implementations of methods and computer program products according to various embodiments of the present disclosure. 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 functional test item. It should also be noted that, in some alternative implementations, the functional test items noted in the blocks 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 functional test items 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 functional test items or operations, or combinations of special purpose hardware and computer instructions.
The above embodiments are merely illustrative of the principles and utilities of the present application and are not intended to limit the application. Any person skilled in the art can modify or change the above-described embodiments without departing from the spirit and scope of the present application. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical concepts disclosed in the present application shall be covered by the claims of the present application.

Claims (10)

1. A camera performance evaluation method, comprising:
acquiring at least one function test item for performance evaluation of the camera and at least one parameter information included in each function test item, wherein the at least one parameter information includes an interface set, and each function test item in the at least one function test item is sorted according to priority;
acquiring parameter data corresponding to each parameter in each function test item through the interface set according to the priority to obtain a parameter data set, and acquiring an equipment running log of the camera through an integral interface;
evaluating the equipment running log to obtain an equipment evaluation result, and evaluating the at least one parameter information according to the parameter data set to obtain a function evaluation result;
and analyzing the equipment evaluation result and the function evaluation result to obtain a performance evaluation result of the camera.
2. The method of claim 1, wherein the obtaining at least one functional test item and at least one parameter information included in each functional test item comprises:
outputting a function test item configuration interface through a display;
and acquiring the at least one input function test item and at least one parameter information included in each function test item through an input configuration port, wherein the input configuration port is connected with the display.
3. The method according to claim 1, wherein the obtaining parameter data corresponding to each parameter in each functional test item through the interface set according to the priority includes:
sending a data request message aiming at each parameter in each functional test item to an interface set of the camera in a first period, wherein the first period is any one period in an evaluation time period;
and receiving parameter data corresponding to each parameter in each functional test item sent by the camera through the interface set in the first period.
4. The method of claim 3, wherein obtaining the device log of the camera through the integral interface comprises:
sending a device log request message to the integral interface of the camera within the first period;
and receiving the equipment running log sent by the camera through the integral interface in the first period.
5. The method of claim 4, wherein the evaluating the device operation log to obtain a device evaluation result comprises:
evaluating at least one equipment operation log in the evaluation time period to obtain at least one equipment test result, wherein each equipment operation log in the at least one equipment operation log comes from different periods;
and screening an equipment test result comprising a first preset keyword from the at least one equipment test result to obtain an equipment evaluation result, wherein the first preset keyword is used for indicating that the equipment test result is abnormal.
6. The method of claim 1, wherein the number of parameter data sets is at least one;
the evaluating the at least one parameter information according to the parameter data corresponding to each parameter in each function test item to obtain a function evaluation result includes:
evaluating the at least one parameter information according to at least one parameter data set in the evaluation time period to obtain at least one function test result, wherein each parameter data set in the at least one parameter data set comes from different cycles;
and screening an equipment test result comprising a second preset keyword from the at least one function test result to obtain the function evaluation result, wherein the second preset keyword is used for indicating that the function test result is abnormal.
7. The method of claim 1, wherein the at least one parameter information comprises a default data set;
after obtaining the at least one functional test item and the at least one parameter information included in each functional test item, the method further includes:
and sending the default data set to the interface set so that the camera updates the at least one parameter information according to the default data set.
8. A camera performance evaluation apparatus, characterized by comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring at least one function test item used for carrying out performance evaluation on the camera and at least one parameter information included in each function test item, the at least one parameter information includes an interface set, and each function test item in the at least one function test item is sorted according to priority;
the acquisition unit is further configured to acquire parameter data corresponding to each parameter in each function test item through the interface set according to the priority to obtain a parameter data set, and acquire an equipment running log of the camera through an integral interface;
the processing unit is used for evaluating the equipment running log to obtain an equipment evaluation result, and evaluating the at least one parameter information according to the parameter data set to obtain a function evaluation result;
the processing unit is further configured to analyze the device evaluation result and the function evaluation result to obtain a performance evaluation result of the camera.
9. A camera performance evaluation device comprising a processor, a memory and a communication interface, the processor, the memory and the communication interface being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the camera performance evaluation method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the camera performance evaluation method according to any one of claims 1 to 7.
CN202210999140.9A 2022-08-19 2022-08-19 Camera performance evaluation method, device, equipment and medium Pending CN115623189A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210999140.9A CN115623189A (en) 2022-08-19 2022-08-19 Camera performance evaluation method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210999140.9A CN115623189A (en) 2022-08-19 2022-08-19 Camera performance evaluation method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115623189A true CN115623189A (en) 2023-01-17

Family

ID=84857230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210999140.9A Pending CN115623189A (en) 2022-08-19 2022-08-19 Camera performance evaluation method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115623189A (en)

Similar Documents

Publication Publication Date Title
US9268670B1 (en) System for module selection in software application testing including generating a test executable based on an availability of root access
US7904580B2 (en) Digital media player exposing operational state data
CN110177300B (en) Program running state monitoring method and device, electronic equipment and storage medium
CN112188277B (en) Screen projection control method and device, electronic equipment and computer program medium
CN111190825A (en) Automatic test method, system and robot
CN112783756A (en) Automatic test method, terminal, system and storage medium
CN114253864A (en) Service testing method and device, electronic equipment and storage medium
US9648086B2 (en) System, method, and computer program product for providing test logic to user devices
CN113760721B (en) Page testing method and device
CN112182160B (en) Log data processing method and device, storage medium and electronic equipment
CN112084114B (en) Method and apparatus for testing interfaces
CN112291121A (en) Data processing method and related equipment
CN110489326B (en) IDS-based HTTPAPI debugging method device, medium and equipment
WO2014210542A2 (en) System, method, and computer program product for providing test logic to user devices
CN109542743B (en) Log checking method and device, electronic equipment and computer readable storage medium
CN115623189A (en) Camera performance evaluation method, device, equipment and medium
CN115767095A (en) Video transcoding card performance testing method and device, electronic equipment and storage medium
CN115658500A (en) Vue-based front-end error log uploading method and system in hybrid development
CN115292636A (en) H5 page recording method, device and equipment and storage medium
CN117667663A (en) Control positioning path determining method, device, equipment, storage medium and product
US20220408121A1 (en) Method and apparatus for sending information in live broadcast room, and electronic device
CN114968696A (en) Index monitoring method, electronic equipment and chip system
CN114630134B (en) Processing method and system for newly added code stream
CN112306723A (en) Operation information acquisition method and device applied to small program
CN110471841B (en) Method, device, medium and electronic equipment for comparing drawing information

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