Method and device for monitoring equipment sealing performance of camera, and electronic equipment
By fitting the internal temperature and humidity data of the ship's camera equipment, the sealing properties are monitored in real time, and the sealing problems under open use are solved, achieving timely warnings and equipment life extension.
Patent Information
- Application Number
- CN202411254507.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-12-10
AI Technical Summary
The sealing problems of camera equipment used in open air on ships lead to the entry of humid ocean air, affecting the quality and service life of optical imaging. It is difficult for the existing technology to monitor and prevent sealing failure in real time.
By obtaining the internal temperature and humidity data of the test camera, using the least squares method to fit the relationship, the theoretical humidity corresponding to the temperature of the camera to be tested is measured in real time, and the real-time humidity data is compared to generate sealing warning information to realize the sealing monitoring of the camera equipment.
Real-time monitoring of the sealing of the camera equipment is realized, warning information is generated in a timely manner, extending the service life of the equipment, and avoiding faults and repair delays caused by sealing failure.
Smart Images

Figure CN119104224A_ABST
Abstract
Description
Technical Field
[0001] One or more embodiments of the present specification relate to the field of intelligent measurement and control technology, and in particular, to a method, device and electronic equipment for monitoring the sealing performance of a camera. Background Art
[0002] Camera products used outdoors on ships must have a certain ability to resist mold, salt spray, humidity and heat. Equipment manufacturers generally use protective measures such as spraying three-proof paint and sealing design to protect the safety of camera products. The sealing quality of camera equipment used outdoors on ships largely affects the health status and service life of the equipment. If there is a problem with the sealing of the camera product, a siphon effect will occur, and the humid ocean air will continue to enter the camera. At the least, condensation will appear on the inner surface of the camera glass window, affecting the optical imaging quality of the camera; at the worst, the humidity inside the camera will become higher and higher, and then there will be corrosion of the inner wall of the camera, cables and boards, etc., thus affecting the normal operation and service life of the camera. In actual engineering applications, sealing failure problems caused by equipment maintenance, damage and corrosion of equipment shell paint, aging and corrosion of rubber sealing rings, etc. often occur. They are often discovered only when the equipment fails, which seriously affects the normal operation of the business and the service life of the equipment. Therefore, a method for real-time monitoring of the sealing of camera equipment is needed. Summary of the invention
[0003] The embodiments of this specification provide a method, device and electronic equipment for monitoring the sealing performance of a camera, and the technical solutions thereof are as follows: In a first aspect, an embodiment of the present specification provides a method for monitoring the sealing performance of a camera, the method comprising: Acquiring test data based on at least two test cameras, each of the test cameras acquiring at least two groups of the test data, each group of the test data including the internal test temperature and the internal test humidity of the test camera at the same time, and the total number of groups of the test data being determined based on the maximum temperature difference of the temperature range measured by the temperature box; Fitting each group of the test data based on the least square method to obtain a target fitting relationship, wherein the target fitting relationship is used to characterize the relationship between the internal temperature and the internal humidity of the camera; Periodically and continuously measuring the real-time internal temperature data and the real-time internal humidity data of the camera to be tested, and determining the theoretical internal humidity data corresponding to the real-time internal temperature data based on the target fitting relationship; The device sealing warning information of the camera to be tested is generated based on the comparison result of the theoretical internal humidity data and the real-time internal humidity data.
[0004] In a second aspect, a device for monitoring the sealing performance of a camera is provided, the device comprising: An acquisition module, configured to acquire test data based on at least two test cameras, wherein each test camera acquires at least two groups of test data, each group of test data includes an internal test temperature and an internal test humidity of the test camera at the same time, and the total number of groups of test data is determined based on a maximum temperature difference in a temperature range measured by a temperature chamber; A fitting module, used for fitting each group of the test data based on the least square method to obtain a target fitting relationship, wherein the target fitting relationship is used to characterize the relationship between the internal temperature and the internal humidity of the camera; A determination module, used for periodically and continuously measuring the real-time internal temperature data and the real-time internal humidity data of the camera to be tested, and determining the theoretical internal humidity data corresponding to the real-time internal temperature data based on the target fitting relationship; The warning module is used to generate equipment sealing warning information of the camera to be tested based on the comparison result of the theoretical internal humidity data and the real-time internal humidity data.
[0005] In a third aspect, an electronic device is provided, including a device processor and a memory; The device processor is connected to the memory; The memory is used to store executable program code; The device processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps of the method provided in the first aspect or any possible implementation manner of the first aspect.
[0006] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and the computer-readable storage medium stores instructions, which, when the instructions are executed on a computer or a device processor, cause the computer or the device processor to execute the method provided in the first aspect or any possible implementation of the first aspect.
[0007] The beneficial effects brought by the technical solutions provided by some embodiments of this specification include at least: In one or more embodiments of the present specification, after receiving the target monitoring instruction, multiple groups of test data corresponding to the type of camera are first obtained through the experimental record database, and then each group of test data is fitted based on the least squares method to obtain the target fitting relationship. Further, the real-time internal temperature data and real-time internal humidity data of the camera to be tested are periodically and continuously measured, and the theoretical internal humidity data corresponding to the real-time internal temperature data is determined based on the target fitting relationship, and finally the equipment sealing warning information of the camera to be tested is generated by comparing the theoretical internal humidity data with the real-time internal humidity data. Through the above monitoring steps, the equipment sealing of different types of cameras to be tested can be automatically monitored in real time, and when the sealing of the camera to be tested is determined to be abnormal, the corresponding equipment sealing warning information can be generated in the first time, so that the abnormal camera equipment can be maintained in time, thereby improving the service life of the camera. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0009] Figure 1 A schematic diagram of the system architecture of a method for monitoring the sealing performance of a camera provided in an embodiment of this specification; Figure 2 A flowchart of a method for monitoring the sealing performance of a camera provided by an embodiment of this specification; Figure 3 A schematic diagram of the structure of a device sealing monitoring device for a camera provided in an embodiment of this specification; Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification. DETAILED DESCRIPTION
[0010] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0011] The terms "first", "second", "third", etc. in the description and claims of this specification and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0012] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present specification. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described with respect to some examples may be combined in other examples.
[0013] See also Figure 1 , Figure 1 A schematic diagram of the system architecture of a method for monitoring the sealing performance of a camera provided in an embodiment of the present specification is shown.
[0014] like Figure 1 As shown, the system architecture of the device sealing monitoring method of the camera may at least include a terminal 10 , a server 20 and a network 30 .
[0015] The terminal 10 includes but is not limited to electronic devices such as smart phones, desktop computers, tablet computers, laptops, smart speakers, digital assistants, smart wearable devices, etc., and may also be software running on the above electronic devices, such as applications, etc. Optionally, the operating system running on the electronic device may include but is not limited to Android system, IOS system, Linux, Windows, etc. Optionally, the terminal 10 provides the user with a device sealing monitoring service, and the terminal 10 may obtain a device sealing monitoring instruction of an application program interface, and send a device sealing monitoring request to the server 20.
[0016] The server 20 can provide background services for the terminal 10. According to the equipment sealing monitoring request sent by the terminal 10, the server 20 will obtain a series of equipment sealing monitoring instructions, and the server 20 transmits the equipment sealing monitoring instructions to other terminals 10 through the network 30. Specifically, the server 20 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0017] The network 30 is used to provide a medium for a communication link between the terminal 10 and the server 20. The network 30 may include various connection types, such as wired or wireless communication links or optical fiber cables.
[0018] In addition, it should be noted that Figure 1 What is shown is only one system provided by the present disclosure. In practical applications, other systems may also be included, for example, more terminals may be included.
[0019] In the embodiments of the present specification, the terminal 10 and the server 20 may be directly or indirectly connected via wired or wireless communication, which is not limited in the present disclosure.
[0020] See next Figure 2 , Figure 2 The overall flow chart of a method for monitoring the sealing performance of a camera provided in an embodiment of the present specification is shown. The method for monitoring the sealing performance of a camera can be used in the server 20 .
[0021] like Figure 2 As shown, the device sealing monitoring method of the camera may at least include the following steps: Step 201: Acquire test data based on at least two test cameras, each of the test cameras acquiring at least two groups of the test data.
[0022] Each group of the test data includes the internal test temperature and the internal test humidity of the test camera at the same time, and the total number of groups of the test data is determined based on the maximum temperature difference of the temperature range measured by the temperature box.
[0023] In the embodiments of the present specification, after receiving the target monitoring instruction, the server can simultaneously monitor multiple cameras in the same scene, or only monitor the equipment sealing of a single type of camera. When monitoring the equipment sealing of the same type of camera, you can first directly query the historical test experiment records from the experimental record database to obtain the test data corresponding to this type of camera. Among them, when performing temperature-humidity change test experiments on multiple cameras of the same type, the temperature chamber measurement method is generally used, that is, each camera is placed in a laboratory temperature chamber, and the adjustment temperature range of the laboratory temperature chamber is first set. The adjustment temperature range can be determined by the type of camera, or it can be directly obtained from the detection instruction. Then, the temperature of the laboratory temperature chamber is adjusted by changing the temperature by 1°C each time, and the internal test temperature and internal test humidity of the camera corresponding to each time the internal temperature of the laboratory temperature chamber is adjusted are obtained. Further, the number of adjustments is determined according to the maximum temperature difference in the adjustment temperature range, that is, the total number of test data groups obtained by each camera measurement. Optionally, in order to improve the reliability and accuracy of the acquired test data, a test experiment may be conducted on multiple test cameras of the same type, and the corresponding test data of each camera may be directly uploaded or uploaded to the experiment record database after average data processing.
[0024] As an example, a certain camera performs 50 temperature adjustments, that is, each test camera obtains 50 sets of test data.
[0025] In one possible implementation, the test data is obtained based on at least two test cameras, each of the test cameras obtains at least two groups of the test data, each group of the test data includes the internal test temperature and the internal test humidity of the test camera at the same time, and the total number of groups of the test data is determined based on the maximum temperature difference of the temperature range measured by the incubator, including: Determine a temperature interval for temperature measurement by the temperature box based on the camera type of the test camera, and determine a maximum temperature difference in the temperature interval; Determine a target test number corresponding to each of the test cameras based on the maximum temperature difference; Based on the target test number, a temperature chamber measurement is performed on all the test cameras of the same type to obtain a target number of groups of test data, each group of the test data including the internal test temperature and internal test humidity of the test camera at the same time.
[0026] In the embodiment of the present specification, after receiving the monitoring instruction sent by the target terminal, the test data of each test camera can be directly obtained from the experimental record database. Among them, since the working temperature ranges corresponding to different types of test cameras are different, the camera type of the test camera can be determined first, and then the corresponding working temperature range can be obtained by querying the camera type. Next, the temperature interval for the temperature box measurement is set according to the storage temperature range, so as to obtain the maximum temperature difference corresponding to the temperature interval. Furthermore, since the temperature of the laboratory temperature box is adjusted by changing the temperature by 1°C each time, the maximum temperature difference value obtained is the same as the target test number corresponding to each test camera. Finally, according to the determined target test number, all test cameras of the same type are measured in the temperature box, and multiple groups of internal test temperatures and internal test humidity corresponding to the test cameras of this type at different temperature adjustment times, that is, the test data of the target number of groups, are obtained, and directly uploaded or uploaded to the experimental record database after average data processing.
[0027] As an example, when constructing an experimental record database for testing experiments, you can first query that the operating temperature range of camera A is -30℃~+65℃, select 10 cameras of the same model and with the same internal humidity under normal temperature conditions as test objects, and put the 10 cameras into an incubator, control the incubator temperature to +65℃, keep warm for 2 hours, power on each camera, and after working for 1 hour, read the internal temperature and internal humidity values of the 10 cameras through sensors respectively. Each camera reads 50 groups of values, and a total of 500 groups of temperature and humidity values are obtained from the 10 cameras. The temperature T1 and humidity RH1 obtained by averaging the 500 groups of values are the internal test temperature and internal test humidity of this model of camera under +65℃ conditions. Next, the temperature of the incubator is lowered by 1°C. After the test camera works at this temperature for 1 hour, the internal temperature and internal humidity values of 10 cameras are read respectively. Each camera reads 50 sets of values. A total of 500 sets of temperature and humidity values are obtained from the 10 cameras. The temperature T2 and humidity RH2 obtained after averaging the 500 sets of values are the internal test temperature and internal test humidity of the camera model under this temperature condition. Further, the above steps are repeated until the incubator temperature is lowered to -30°C, and the 95th set of test data is obtained, including the internal test temperature T95 and the internal test humidity RH95.
[0028] Step 202: Fit each group of test data based on the least squares method to obtain a target fitting relationship.
[0029] The target fitting relationship is used to characterize the relationship between the internal temperature and internal humidity of the camera.
[0030] In the embodiment of the present specification, in order to monitor the device sealing of the camera, the target fitting relationship between the internal temperature and internal humidity of the camera under normal theoretical conditions can be first determined through the acquired test data. When the real-time internal temperature and real-time internal humidity of the camera to be tested do not meet the target fitting relationship, it can be determined that the device sealing of the camera to be tested is abnormal. Therefore, an initial model can be first constructed for multiple groups of test data through the least squares method, and then a polynomial fitting can be performed on the initial model according to the internal test temperature and internal test humidity values in the multiple groups of test data to obtain the target fitting relationship between the internal temperature and internal humidity of the camera.
[0031] As an example, the initial model contains internal humidity RH, internal humidity T, and RH = a1×T 2 + a2×T +a3, the parameter dimension of a1 is 1 / (℃×℃), the parameter dimension of a2 is 1 / ℃, and the parameter dimension of a3 is 1. After polynomial fitting based on multiple sets of test data, the specific values of a1, a2 and a3 are obtained.
[0032] In one possible implementation, fitting each group of the test data based on the least squares method to obtain a target fitting relationship includes: Performing feature conversion on each group of test data to obtain a test feature set, and constructing an initial fitting model; The test feature set is fitted in the initial fitting model based on the least squares method to obtain a target fitting relationship.
[0033] In the embodiment of this specification, before fitting each group of test data, in order to pair the temperature characteristics and humidity characteristics of the original data one by one and establish a corresponding mapping relationship, each group of test data can be firstly subjected to feature conversion, all test data can be paired and merged based on the temperature characteristics and humidity characteristics to obtain a test feature set, and an initial model is constructed for the test feature set: RH = a1×T 2 + a2×T + a3, where RH is the internal humidity of the camera and T is the internal humidity of the camera. Next, each test unit in the test feature set is input into the initial fitting model for polynomial fitting, and the equation solutions of a1, a2 and a3 in the initial model are calculated based on the least squares method to obtain the determined target fitting model, that is, the target fitting relationship between the internal temperature and the internal humidity of the camera.
[0034] Step 203: periodically and continuously measure the real-time internal temperature data and the real-time internal humidity data of the camera to be tested, and determine the theoretical internal humidity data corresponding to the real-time internal temperature data based on the target fitting relationship.
[0035] In the embodiment of the present specification, in order to realize the equipment sealing monitoring of the camera to be tested, the real-time internal temperature data and the real-time internal humidity data of the camera to be tested can be firstly measured by the sensor based on a fixed periodicity. Then, in order to determine whether the equipment sealing of the camera to be tested is abnormal, the obtained target fitting relationship can be used to first determine the theoretical internal humidity data that should theoretically correspond to when the internal temperature of the camera is the real-time internal temperature data value measured in real time if the equipment sealing is normal, so as to compare the measured real-time internal humidity data with it later.
[0036] In one possible implementation, the periodic continuous determination of the real-time internal temperature data and the real-time internal humidity data of the camera to be tested includes: Determine a test cycle in the target monitoring instruction, and obtain at least two sets of real-time data of the camera to be tested after each test cycle; The real-time data of the same test cycle are averaged to obtain the real-time internal temperature data and the real-time internal humidity data of the camera to be tested.
[0037] In the embodiment of the present specification, after obtaining the target monitoring instruction, the test cycle in the target detection instruction can be determined first. Then, in order to filter out the sampling error of the sensor, the camera is continuously sampled through the sensor after each test cycle to obtain multiple sets of real-time data of the camera. Further, all real-time data obtained in the same test cycle are counted, and the real-time internal temperature data and real-time internal humidity data of the camera to be tested corresponding to the test cycle segment are obtained by mean calculation.
[0038] As an example, the test cycle is determined to be 10 minutes, that is, the real-time internal temperature data and real-time internal humidity data of the camera to be tested are measured every 10 minutes, and 20 groups of internal temperature data and internal humidity data are continuously sampled in each measurement. Then, the average data corresponding to the 20 groups of internal temperature data and internal humidity data are calculated through the mean algorithm as the real-time internal temperature data and real-time internal humidity data of the camera to be tested.
[0039] In one possible implementation, determining the theoretical internal humidity data corresponding to the real-time internal temperature data based on the target fitting relationship includes: Performing format conversion on the real-time internal temperature data to obtain real-time standard temperature data corresponding to the real-time internal temperature data; The real-time standard temperature data is fitted based on the target fitting relationship, and theoretical internal humidity data is obtained based on the fitting result.
[0040] In the embodiments of this specification, the measured real-time internal temperature data can be formatted first to obtain real-time standard temperature data that can be directly and conveniently fitted. Then, the measured real-time standard temperature data is subjected to target fitting through the target fitting relationship. As an example, the measured real-time standard temperature data T0 is substituted into RH = a1×T 2 + a2×T + a3, and get the corresponding theoretical internal humidity data RH0.
[0041] Step 204: Generate equipment sealing warning information of the camera to be tested based on the comparison result of the theoretical internal humidity data and the real-time internal humidity data.
[0042] In the embodiment of the present specification, after obtaining the real-time internal temperature data value of the current camera and the theoretical internal humidity data that should theoretically correspond if the equipment sealing is normal through the above real-time measurement and fitting steps, the theoretical internal humidity data is compared with the real-time internal humidity data, and whether the equipment sealing of the camera to be tested is abnormal is judged according to the real-time comparison result. When the real-time comparison result indicates that the deviation between the real-time internal humidity data and the theoretical internal humidity data is too large and exceeds the preset acceptable range, the equipment sealing of the camera to be tested is immediately judged to be abnormal, and the equipment sealing warning information is generated and fed back to each target terminal so that the equipment can be repaired in time. When the real-time comparison result indicates that the deviation between the real-time internal humidity data and the theoretical internal humidity data does not exceed the preset acceptable range, the continuous monitoring state is maintained.
[0043] In one possible implementation, the generating of the device sealing warning information of the camera to be tested based on the comparison result of the theoretical internal humidity data and the real-time internal humidity data includes: Performing difference calculation between the real-time internal temperature data and the theoretical internal temperature data to obtain a real-time difference result, and determining a deviation ratio corresponding to the real-time difference; A comparison result corresponding to the deviation ratio is determined based on a preset ratio threshold, and equipment sealing warning information of the camera to be tested is generated based on the comparison result.
[0044] In an embodiment of the present specification, when determining the comparison result between the theoretical internal humidity data and the real-time internal humidity data, the real-time internal temperature data and the theoretical internal temperature data may be firstly subjected to a difference calculation to obtain a real-time difference result. Next, the real-time difference result is proportionally calculated with the theoretical internal temperature data value to obtain a deviation ratio. Further, a preset ratio threshold is subjected to a difference comparison with the deviation ratio to obtain a corresponding comparison result. Finally, the device sealing of the camera to be tested is judged to be abnormal based on the calculated ratio result. When the comparison result is characterized as the deviation ratio being greater than the preset ratio threshold, the device sealing of the camera to be tested is immediately judged to be abnormal, and a device sealing warning information is generated and fed back to each target terminal so that the equipment can be repaired in time. When the comparison result is characterized as the deviation ratio being not greater than the preset ratio threshold, a continuous monitoring state is maintained.
[0045] In one possible implementation, determining the comparison result corresponding to the deviation ratio based on a preset ratio threshold, and generating the device sealing warning information of the camera to be tested based on the comparison result, includes: Determine a ratio threshold corresponding to the target monitoring instruction, the ratio threshold includes an alarm threshold and a reminder threshold, and the alarm threshold is greater than the reminder threshold; When the comparison result indicates that the deviation ratio is not greater than the warning threshold, maintaining a continuous monitoring state; When the comparison result indicates that the deviation ratio is greater than the reminder threshold and less than the alarm threshold, generating device sealing reminder information of the camera to be tested; When the comparison result is characterized by the deviation ratio being not less than the alarm threshold, device sealing failure alarm information of the camera to be tested is generated.
[0046] In the embodiments of the present specification, the corresponding ratio threshold in the target monitoring instruction can be determined first, wherein the ratio threshold can be set with an alarm threshold and a reminder threshold, and the alarm threshold is greater than the reminder threshold. As an example, the reminder threshold is set to 0.05, and the alarm threshold is set to 0.2. Then, when the comparison result is characterized by the deviation ratio being not greater than the reminder threshold, that is, when the deviation ratio V≤0.05, it is judged that the sealing of the camera to be tested is good at this time, and the real-time internal humidity data and real-time internal temperature data inside the camera to be tested are periodically and continuously measured to maintain a continuous monitoring state. When the comparison result is characterized by the deviation ratio being greater than the reminder threshold and less than the alarm threshold, that is, when 0.05≤deviation ratio V<0.2, it is judged that the sealing of the camera to be tested may be abnormal at this time, and a reminder message that the equipment sealing of the camera to be tested may be abnormal is generated and fed back to each target terminal, so that the staff can perform sealing exclusion maintenance on the target camera in the next stage of the maintenance plan. When the comparison result is characterized by a deviation ratio not less than the alarm threshold, that is, when the deviation ratio V≥0.2, it is judged that there must be a serious problem with the sealing of the camera to be tested, and equipment sealing failure alarm information of the camera to be tested is generated, and the alarm is fed back to each target terminal to notify the staff to repair the target camera as soon as possible.
[0047] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0048] See next Figure 3 , Figure 3 The structure diagram of a device sealing monitoring device for a camera provided in an embodiment of the present specification is shown. It should be noted that: Figure 3 The device sealing monitoring device of the camera shown is used to implement the present application Figure 2 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 2 The embodiment shown.
[0049] like Figure 3 As shown, the equipment sealing monitoring device of the camera may at least include: An acquisition module 301 is used to acquire test data based on at least two test cameras, each of which acquires at least two groups of test data, each group of which includes an internal test temperature and an internal test humidity of the test camera at the same time, and the total number of groups of the test data is determined based on a maximum temperature difference in a temperature range measured by a temperature box; A fitting module 302 is used to fit each group of the test data based on the least square method to obtain a target fitting relationship, wherein the target fitting relationship is used to characterize the relationship between the internal temperature and the internal humidity of the camera; The determination module 303 is used to periodically and continuously measure the real-time internal temperature data and the real-time internal humidity data of the camera to be tested, and determine the theoretical internal humidity data corresponding to the real-time internal temperature data based on the target fitting relationship; The warning module 304 is used to generate equipment sealing warning information of the camera to be tested based on the comparison result of the theoretical internal humidity data and the real-time internal humidity data.
[0050] In one possible implementation, the acquisition module 301 is specifically used for: Determine a temperature interval for temperature measurement by the temperature box based on the camera type of the test camera, and determine a maximum temperature difference in the temperature interval; Determine a target test number corresponding to each of the test cameras based on the maximum temperature difference; Based on the target test number, a temperature chamber measurement is performed on all the test cameras of the same type to obtain a target number of groups of test data, each group of the test data including the internal test temperature and internal test humidity of the test camera at the same time.
[0051] In one embodiment, the fitting module 302 is specifically used for: Performing feature conversion on each group of test data to obtain a test feature set, and constructing an initial fitting model; The test feature set is fitted in the initial fitting model based on the least squares method to obtain a target fitting relationship.
[0052] In one possible implementation, the determination module 303 is specifically configured to: Determine a test cycle in the target monitoring instruction, and obtain at least two sets of real-time data of the camera to be tested after each test cycle; The real-time data of the same test cycle are averaged to obtain the real-time internal temperature data and the real-time internal humidity data of the camera to be tested.
[0053] In one possible implementation, the determination module 303 is further configured to: Performing format conversion on the real-time internal temperature data to obtain real-time standard temperature data corresponding to the real-time internal temperature data; The real-time standard temperature data is fitted based on the target fitting relationship, and theoretical internal humidity data is obtained based on the fitting result.
[0054] In one possible implementation, the warning module 304 is specifically used for: Performing difference calculation between the real-time internal temperature data and the theoretical internal temperature data to obtain a real-time difference result, and determining a deviation ratio corresponding to the real-time difference; A comparison result corresponding to the deviation ratio is determined based on a preset ratio threshold, and equipment sealing warning information of the camera to be tested is generated based on the comparison result.
[0055] In one possible implementation, the warning module 304 is specifically used for: Determine a ratio threshold corresponding to the target monitoring instruction, the ratio threshold includes an alarm threshold and a reminder threshold, and the alarm threshold is greater than the reminder threshold; When the comparison result indicates that the deviation ratio is not greater than the warning threshold, maintaining a continuous monitoring state; When the comparison result indicates that the deviation ratio is greater than the reminder threshold and less than the alarm threshold, generating device sealing reminder information of the camera to be tested; When the comparison result is characterized by the deviation ratio being not less than the alarm threshold, device sealing failure alarm information of the camera to be tested is generated.
[0056] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.
[0057] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.
[0058] See next Figure 4 , Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification is shown.
[0059] like Figure 4As shown, the electronic device 400 may include: at least one device processor 401 , at least one network interface 404 , a user interface 403 , a memory 405 , and at least one communication bus 402 .
[0060] The communication bus 402 may be used to realize the connection and communication among the above-mentioned components.
[0061] The user interface 403 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.
[0062] The network interface 404 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, etc.
[0063] Among them, the device processor 401 may include one or more processing cores. The device processor 401 uses various interfaces and lines to connect various parts within the entire electronic device 400, and executes various functions and processes data of the electronic device 400 by running or executing instructions, programs, code sets or instruction sets stored in the memory 405, and calling data stored in the memory 405. Optionally, the device processor 401 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The device processor 401 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the device processor 401, and it can be implemented separately through a chip.
[0064] The memory 405 may include a RAM or a ROM. Optionally, the memory 405 includes a non-transitory computer-readable medium. The memory 405 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 405 may optionally be at least one storage device located away from the aforementioned device processor 401. As Figure 4 As shown, the memory 405 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.
[0065] Specifically, the device processor 401 may be used to call the device sealing monitoring application of the camera stored in the memory 405, and specifically perform the following operations: Acquiring test data based on at least two test cameras, each of the test cameras acquiring at least two groups of the test data, each group of the test data including the internal test temperature and the internal test humidity of the test camera at the same time, and the total number of groups of the test data being determined based on the maximum temperature difference of the temperature range measured by the temperature box; Fitting each group of the test data based on the least square method to obtain a target fitting relationship, wherein the target fitting relationship is used to characterize the relationship between the internal temperature and the internal humidity of the camera; Periodically and continuously measuring the real-time internal temperature data and the real-time internal humidity data of the camera to be tested, and determining the theoretical internal humidity data corresponding to the real-time internal temperature data based on the target fitting relationship; The device sealing warning information of the camera to be tested is generated based on the comparison result of the theoretical internal humidity data and the real-time internal humidity data.
[0066] As an optional embodiment of this specification, the test data is obtained based on at least two test cameras, each of the test cameras obtains at least two groups of the test data, each group of the test data includes the internal test temperature and the internal test humidity of the test camera at the same time, and the total number of groups of the test data is determined based on the maximum temperature difference of the temperature range measured by the temperature box, including: Determine a temperature interval for temperature measurement by the temperature box based on the camera type of the test camera, and determine a maximum temperature difference in the temperature interval; Determine a target test number corresponding to each of the test cameras based on the maximum temperature difference; Based on the target test number, a temperature chamber measurement is performed on all the test cameras of the same type to obtain a target number of groups of test data, each group of the test data including the internal test temperature and internal test humidity of the test camera at the same time.
[0067] As an option of the embodiment of this specification, fitting each group of the test data based on the least squares method to obtain the target fitting relationship includes: Performing feature conversion on each group of test data to obtain a test feature set, and constructing an initial fitting model; The test feature set is fitted in the initial fitting model based on the least squares method to obtain a target fitting relationship.
[0068] As an option of the embodiment of this specification, the periodic continuous determination of the real-time internal temperature data and the real-time internal humidity data of the camera to be tested includes: Determine a test cycle in the target monitoring instruction, and obtain at least two sets of real-time data of the camera to be tested after each test cycle; The real-time data of the same test cycle are averaged to obtain the real-time internal temperature data and the real-time internal humidity data of the camera to be tested.
[0069] As an option of the embodiment of this specification, the determining the theoretical internal humidity data corresponding to the real-time internal temperature data based on the target fitting relationship includes: Performing format conversion on the real-time internal temperature data to obtain real-time standard temperature data corresponding to the real-time internal temperature data; The real-time standard temperature data is fitted based on the target fitting relationship, and theoretical internal humidity data is obtained based on the fitting result.
[0070] As an optional embodiment of this specification, the generating of the device sealing warning information of the camera to be tested based on the comparison result of the theoretical internal humidity data and the real-time internal humidity data includes: Performing difference calculation between the real-time internal temperature data and the theoretical internal temperature data to obtain a real-time difference result, and determining a deviation ratio corresponding to the real-time difference; A comparison result corresponding to the deviation ratio is determined based on a preset ratio threshold, and equipment sealing warning information of the camera to be tested is generated based on the comparison result.
[0071] As an optional embodiment of the present specification, the determining the comparison result corresponding to the deviation ratio based on a preset ratio threshold, and generating the device sealing warning information of the camera to be tested based on the comparison result, includes: Determine a ratio threshold corresponding to the target monitoring instruction, the ratio threshold includes an alarm threshold and a reminder threshold, and the alarm threshold is greater than the reminder threshold; When the comparison result indicates that the deviation ratio is not greater than the warning threshold, maintaining a continuous monitoring state; When the comparison result indicates that the deviation ratio is greater than the reminder threshold and less than the alarm threshold, generating device sealing reminder information of the camera to be tested; When the comparison result is characterized by the deviation ratio being not less than the alarm threshold, device sealing failure alarm information of the camera to be tested is generated.
[0072] The embodiments of this specification also provide a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0073] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0074] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0075] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0076] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0077] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0078] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.
[0079] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware. The program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0080] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Claims
1. A method for monitoring the sealing performance of a camera, characterized in that: The method comprises: Acquiring test data based on at least two test cameras, each of the test cameras acquiring at least two groups of the test data, each group of the test data including the internal test temperature and the internal test humidity of the test camera at the same time, and the total number of groups of the test data being determined based on the maximum temperature difference of the temperature range measured by the temperature box; Fitting each group of the test data based on the least square method to obtain a target fitting relationship, wherein the target fitting relationship is used to characterize the relationship between the internal temperature and the internal humidity of the camera; Periodically and continuously measuring the real-time internal temperature data and the real-time internal humidity data of the camera to be tested, and determining the theoretical internal humidity data corresponding to the real-time internal temperature data based on the target fitting relationship; The device sealing warning information of the camera to be tested is generated based on the comparison result of the theoretical internal humidity data and the real-time internal humidity data.
2. The method according to claim 1, characterized in that The test data is obtained based on at least two test cameras, each test camera obtains at least two groups of the test data, each group of the test data includes the internal test temperature and the internal test humidity of the test camera at the same time, and the total number of groups of the test data is determined based on the maximum temperature difference of the temperature range measured by the temperature box, including: Determine a temperature interval for temperature measurement by the temperature box based on the camera type of the test camera, and determine a maximum temperature difference in the temperature interval; Determine a target test number corresponding to each of the test cameras based on the maximum temperature difference; Based on the target test number, a temperature chamber measurement is performed on all the test cameras of the same type to obtain a target number of groups of test data, each group of the test data including the internal test temperature and internal test humidity of the test camera at the same time.
3. The method according to claim 1, characterized in that: The step of fitting each group of the test data based on the least squares method to obtain a target fitting relationship includes: Performing feature conversion on each group of test data to obtain a test feature set, and constructing an initial fitting model; The test feature set is fitted in the initial fitting model based on the least squares method to obtain a target fitting relationship.
4. The method according to claim 1, characterized in that: The periodic continuous determination of the real-time internal temperature data and the real-time internal humidity data of the camera to be tested includes: Determine a test cycle in the target monitoring instruction, and obtain at least two sets of real-time data of the camera to be tested after each test cycle; The real-time data of the same test cycle are averaged to obtain the real-time internal temperature data and the real-time internal humidity data of the camera to be tested.
5. The method according to claim 1, characterized in that The determining of the theoretical internal humidity data corresponding to the real-time internal temperature data based on the target fitting relationship includes: Performing format conversion on the real-time internal temperature data to obtain real-time standard temperature data corresponding to the real-time internal temperature data; The real-time standard temperature data is fitted based on the target fitting relationship, and theoretical internal humidity data is obtained based on the fitting result.
6. The method according to claim 1, characterized in that The generating of the device sealing warning information of the camera to be tested based on the comparison result of the theoretical internal humidity data and the real-time internal humidity data includes: Performing difference calculation between the real-time internal temperature data and the theoretical internal temperature data to obtain a real-time difference result, and determining a deviation ratio corresponding to the real-time difference; A comparison result corresponding to the deviation ratio is determined based on a preset ratio threshold, and equipment sealing warning information of the camera to be tested is generated based on the comparison result.
7. The method according to claim 6, characterized in that The determining a comparison result corresponding to the deviation ratio based on a preset ratio threshold, and generating device sealing warning information of the camera to be tested based on the comparison result, includes: Determine a ratio threshold corresponding to the target monitoring instruction, the ratio threshold includes an alarm threshold and a reminder threshold, and the alarm threshold is greater than the reminder threshold; When the comparison result indicates that the deviation ratio is not greater than the warning threshold, maintaining a continuous monitoring state; When the comparison result indicates that the deviation ratio is greater than the reminder threshold and less than the alarm threshold, generating device sealing reminder information of the camera to be tested; When the comparison result is characterized by the deviation ratio being not less than the alarm threshold, device sealing failure alarm information of the camera to be tested is generated.
8. A device for monitoring the sealing performance of a camera, characterized in that: The device comprises: An acquisition module, configured to acquire test data based on at least two test cameras, wherein each test camera acquires at least two groups of test data, each group of test data includes an internal test temperature and an internal test humidity of the test camera at the same time, and the total number of groups of test data is determined based on a maximum temperature difference in a temperature range measured by a temperature chamber; A fitting module, used for fitting each group of the test data based on the least square method to obtain a target fitting relationship, wherein the target fitting relationship is used to characterize the relationship between the internal temperature and the internal humidity of the camera; A determination module, used for periodically and continuously measuring the real-time internal temperature data and the real-time internal humidity data of the camera to be tested, and determining the theoretical internal humidity data corresponding to the real-time internal temperature data based on the target fitting relationship; The warning module is used to generate equipment sealing warning information of the camera to be tested based on the comparison result of the theoretical internal humidity data and the real-time internal humidity data.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, wherein the computer-readable storage medium has instructions stored therein, and when the instructions are executed on a computer or a processor, the computer or the processor executes the steps of the method according to any one of claims 1 to 7.
