Rain and fog prevention system, method and equipment for camera lens and medium
By introducing IoT technology into the camera lens rain-proof fog system, intelligent jet control and real-time monitoring are achieved, solving the problem of the lack of intelligence and linkage in the existing system, and improving the rain-proof fog effect and management efficiency.
Patent Information
- Application Number
- CN202411628172.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-02-25
AI Technical Summary
The existing Internet of Things-based camera lens rain fog protection system lacks intelligent jet control and complete monitoring and management functions, cannot achieve real-time monitoring and automated jetting, and cannot be linked to the camera's own cleaning function.
By introducing IoT technology, a rain-proof fog system including a camera, an automatic injection device and an IoT control platform was designed. The IoT control platform is connected to the data of the camera and the automatic injection device, and can set the injection frequency according to actual needs, control the operation of the lens wiper, and monitor the status and effect of the injection device in real time.
It realizes intelligent, efficient, real-time monitoring and grouping management of the camera lens rain fog system, improves the rain fog effect and management efficiency, reduces maintenance costs, and provides guarantees for the long-term and efficient operation of outdoor cameras.
Smart Images

Figure CN119520949A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of lens anti-fogging, and more particularly relates to a rain and fog prevention system, method, equipment and medium for a camera lens. Background Art
[0002] In outdoor environments, camera lenses are often exposed to rain and fog, which not only affects the camera's shooting quality, but may also damage the camera's service life. Especially in rainy or foggy areas, the problem of camera lenses being protected from rain and fog is particularly prominent. Traditional methods of protecting against rain and fog, such as using a rain cover or manually wiping the lens, have the disadvantages of being cumbersome to operate and having limited effects, and cannot meet the needs of long-term, high-efficiency protection against rain and fog.
[0003] With the development of Internet of Things technology, more and more smart devices are being used in various fields, and the anti-rain and fog technology of camera lenses has also ushered in new development opportunities. Through the Internet of Things technology, intelligent monitoring and management of camera lenses can be achieved, thereby effectively improving their anti-rain and fog effects.
[0004] However, the existing IoT-based camera lens rain and fog prevention systems and methods still have some shortcomings. For example, some systems lack intelligent spray control and cannot automatically adjust the spray frequency and spray volume according to actual needs; some systems lack complete monitoring and management functions and cannot understand the status and spray effect of the automatic spray device in real time, and cannot be linked with the camera's own cleaning function to improve the defogging effect. Summary of the invention
[0005] In view of the above problems, the purpose of the present invention is to provide a rain and fog protection system, method, equipment and medium for camera lenses. By introducing the Internet of Things technology, the intelligent, efficient, real-time monitoring and group management of the rain and fog protection system for camera lenses are realized, thereby improving the rain and fog protection effect and management efficiency of the system, reducing maintenance costs, and providing strong guarantees for the long-term and high-efficiency operation of outdoor cameras.
[0006] In order to achieve the above object, the present invention is implemented through the following technical solutions: In a first aspect, an embodiment of the present application provides a rain and fog protection system for a camera lens, comprising: a camera, an automatic spray device, and an Internet of Things control platform, wherein the Internet of Things control platform is respectively connected to the camera and the automatic spray device by data; The automatic spraying device is used to receive control instructions from the Internet of Things control platform and spray the anti-rain and fog spray onto the camera lens; The Internet of Things control platform is used to set the spraying frequency of the automatic spraying device and control the operation of the camera lens wiper according to the unique identification and control requirements of the automatic spraying device; The camera is used to receive control instructions from the Internet of Things control platform to control the operation of the camera lens wiper.
[0007] In an optional embodiment, the automatic spraying device comprises: a liquid storage bottle, an electric sprayer, a control module and a network module; Liquid storage bottle, used to store anti-rain and fog spray; An electric sprayer is connected to the liquid storage bottle, sucks the anti-rain and fog spray in the liquid storage bottle through a straw when powered on, and sprays the jet onto the camera lens under the action of the motor; A control module, connected to the electric injector, for controlling the opening and closing of the electric injector and the number of injections; The network module is connected to the 4G router where the camera is located, and is used to receive control instructions from the Internet of Things control platform and transmit the control instructions to the control module.
[0008] In an optional implementation, the Internet of Things control platform includes: An initialization module is used to establish a database to store automatic spraying device information and group the automatic spraying devices; A marking module is used to display a map of the area where the automatic spraying device is deployed through an electronic map API, and mark the location information of each automatic spraying device on the map; The injection frequency and interval setting module is used to obtain the injection frequency and injection interval of the automatic injection device input on the human-computer interaction interface, and calculate the next injection time point of each automatic injection device; The injection control module is used to monitor in real time whether the current time point reaches the injection time point. When the injection time point is reached, the injection command is issued to the corresponding automatic injection device, and the execution result of the injection command is obtained; The human-computer interaction module is used to display the status information of the automatic injection device in real time on the human-computer interaction interface and provide an information query interface.
[0009] In an optional implementation, the Internet of Things control platform further includes: The maintenance and upgrade module is used to record the operation log and abnormal log of the automatic injection device, read the system automatic update information regularly, and back up the database and update the system configuration file after obtaining the system automatic update information.
[0010] In a second aspect, the embodiment of the present application further provides a method for preventing rain and fog of a camera lens, comprising: Establish a database for storing automatic spraying device information, spraying records, user setting information, registering the automatic spraying device, and entering the grouping and location information of the automatic spraying device; Display the map of the entire automatic spraying device layout area through the electronic map API, mark the location of each automatic spraying device on the map, and manage the automatic spraying devices in groups according to the device group configuration information; Obtain the injection frequency and injection interval of the automatic injection device input on the human-computer interaction interface, and calculate the next injection time point of each automatic injection device; Regularly check whether the current time reaches the injection time point, and when the injection time point is reached, send the injection instruction to the corresponding device, send the injection instruction to the corresponding automatic injection device, and obtain the execution result of the injection instruction; According to the execution results of the injection instruction, the status information of the automatic injection device is displayed in real time.
[0011] In an optional implementation, obtaining the injection instruction execution result includes: In response to the automatic spraying device performing the spraying action, the spraying result information fed back by the automatic spraying device is obtained, and a spraying record is generated according to the spraying result information and stored in a preset database.
[0012] In an optional embodiment, the automatic spraying device information includes a unique identifier and location coordinate information of the automatic spraying device.
[0013] In an optional implementation, the group management of the automatic spraying devices according to the device group configuration information includes: Create, delete, and modify equipment groups for automatic spraying devices according to equipment grouping configuration information; Assign the automatic spraying devices to the corresponding equipment groups.
[0014] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method for preventing rain and fog for a camera lens as described in any one of the above items are implemented.
[0015] In a fourth aspect, an embodiment of the present application further provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the method for preventing rain and fog for a camera lens as described in any one of the above items are implemented.
[0016] It can be seen from the above technical solutions that the present invention has the following advantages: The anti-rain and fog method for the camera lens provided in this application cleverly integrates the Internet of Things technology, providing a comprehensive intelligent solution for the anti-rain and fog problem of the camera lens. Through the Internet of Things control platform, it is possible to achieve precise control of the automatic spraying device, set a reasonable spraying frequency according to actual needs, and ensure that the anti-rain and fog spray can be sprayed on the camera lens regularly and quantitatively, thereby effectively preventing the intrusion of rain and fog and maintaining the clarity and shooting quality of the lens. At the same time, the Internet of Things control platform can also monitor the status and spraying effect of the automatic spraying device in real time, display the location of the device through the electronic map API, and facilitate remote monitoring and management by management personnel. In addition, this application also supports group management of automatic spraying devices, which improves the flexibility and scalability of management. More importantly, the Internet of Things control platform also includes a maintenance and upgrade module, which can record operation logs and abnormal logs, read system automatic update information regularly, and perform database backup and system configuration file updates to ensure the stability and reliability of the system.
[0017] This application realizes the intelligent management of the camera lens anti-rain and fog system through the Internet of Things control platform. The platform can receive and process data from the automatic spray device and the camera, set the spray frequency according to actual needs, and control the operation of the lens wiper, thereby improving the automation and response speed of the system.
[0018] The automatic spraying device of the present application can spray the anti-rain and fog spray onto the camera lens in a timely and quantitative manner, effectively preventing the influence of rain and fog on the lens and ensuring the shooting quality of the camera. At the same time, by adjusting the spraying frequency and spraying amount, it can adapt to the needs of different environments and climatic conditions and improve the anti-rain and fog effect.
[0019] The IoT control platform of this application can monitor the status and spraying effect of the automatic spraying device in real time, and display the device location through the electronic map API, which is convenient for managers to monitor and manage. At the same time, the platform can also obtain the execution results of the spraying instructions and generate spraying records to provide data support for subsequent maintenance and optimization.
[0020] This application supports group management of automatic spraying devices. Device groups can be created, deleted, and modified according to device group configuration information, and devices can be assigned to corresponding groups. This group management method improves the flexibility and scalability of the system, making it easier for managers to uniformly manage and control devices in different areas.
[0021] The IoT control platform of this application includes a maintenance and upgrade module, which can record the operation log and abnormal log of the automatic injection device, read the system automatic update information regularly, and perform database backup and system configuration file update. This reduces the maintenance cost of the system and improves the stability and reliability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0023] Figure 1 A schematic diagram of the structure of the rain and fog protection system for the camera lens provided in this application.
[0024] Figure 2 A schematic flow chart of the method for preventing rain and fog for a camera lens provided in this application.
[0025] Figure 3 A schematic diagram of the structure of the electronic device provided in this application. DETAILED DESCRIPTION
[0026] In the specific steps of the building cooling and heating load adaptive calculation method described in detail below, various embodiments of the present disclosure will be described more comprehensively. The present disclosure may have various embodiments, and adjustments and changes may be made therein. However, it should be understood that there is no intention to limit the various embodiments of the present disclosure to the specific embodiments disclosed herein, but the present disclosure should be understood to cover all adjustments, equivalents and / or alternatives that fall within the spirit and scope of the various embodiments of the present disclosure.
[0027] Hereinafter, the terms "include" or "may include" used in various embodiments of the present disclosure indicate the presence of disclosed functions, operations, or elements, and do not limit the addition of one or more functions, operations, or elements. In addition, as used in various embodiments of the present disclosure, the terms "include", "have", and their cognates are intended only to indicate specific features, numbers, steps, operations, elements, components, or a combination of the foregoing, and should not be understood as first excluding the presence of one or more other features, numbers, steps, operations, elements, components, or a combination of the foregoing or the possibility of adding one or more features, numbers, steps, operations, elements, components, or a combination of the foregoing.
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] See also Figure 1The figure shows a schematic diagram of the structure of a rain and fog protection system for a camera lens in a specific embodiment, which includes: a camera 1, an automatic spraying device 2 and an Internet of Things control platform 3, wherein the Internet of Things control platform 3 is respectively connected to the camera 1 and the automatic spraying device 2 by data.
[0030] The automatic spraying device 2 is used to receive control instructions from the Internet of Things control platform 3 and spray the anti-rain and fog spray onto the camera lens.
[0031] The Internet of Things control platform 3 is used to set the spraying frequency of the automatic spraying device 2 and control the operation of the camera lens wiper according to the unique identification and control requirements of the automatic spraying device 2.
[0032] The camera 1 is used to receive control instructions from the Internet of Things control platform 3 to control the operation of the camera lens wiper.
[0033] In one embodiment of the present invention, the automatic spraying device 2 includes: a liquid storage bottle 21 , an electric sprayer 22 , a control module 23 and a network module 24 .
[0034] The liquid storage bottle 21 is used to store the anti-rain and fog spray to ensure that there is enough spray to power the electric sprayer 22.
[0035] The electric sprayer 22 is connected to the liquid storage bottle 21. When powered on, the anti-rain and fog spray in the liquid storage bottle 21 is sucked through a straw, and the jet is sprayed onto the camera lens under the action of a motor. The electric sprayer 22 is connected to the liquid storage bottle 21, and a straw and a motor are provided inside the electric sprayer. When powered on, the straw sucks the anti-rain and fog spray in the liquid storage bottle, and the motor drives the spray to be sprayed onto the camera lens in the form of a jet. The design of the electric sprayer ensures uniform spraying and efficient use of the spray.
[0036] The control module 23 is connected to the electric injector 22 and is used to control the opening and closing and the number of injections of the electric injector 22. The control module 23 can automatically start or shut down the electric injector 22 according to the preset injection frequency and interval, and can also receive remote control instructions from the Internet of Things control platform 3 for remote control.
[0037] The network module 24 is connected to the 4G router where the camera 1 is located, and is used to receive the control instructions of the Internet of Things control platform 3 and transmit the control instructions to the control module 23. The network module also includes a data encryption unit, which is used to encrypt the communication data between the Internet of Things control platform 3 and the network module 24 to ensure the security of data transmission.
[0038] The Internet of Things control platform 3 communicates remotely with the network module 24 to centrally manage the automatic spraying device for anti-rain and fog spray. The Internet of Things control platform 3 can control the spraying of a single or multiple automatic spraying devices by means of electronic maps or device grouping. At the same time, the Internet of Things control platform 3 can also set the spraying frequency and interval to achieve timed automatic spraying. In addition, the Internet of Things control platform 3 can also connect data with the camera video monitoring platform, and issue a wiper operation instruction to the video monitoring platform within a specified time after the spraying action is completed, so as to realize the linkage between the automatic spraying device for anti-rain and fog spray and the camera wiper.
[0039] In one embodiment of the present invention, the Internet of Things control platform 3 includes: an initialization module 31, a marking module 32, an injection frequency and interval setting module 33, an injection control module 34, a human-computer interaction module 35 and a maintenance and upgrade module 36.
[0040] The initialization module 31 is used to establish a database to store the information of the automatic spraying devices and to group the automatic spraying devices.
[0041] The marking module 32 is used to display a map of the area where the automatic spraying devices are deployed through an electronic map API, and mark the location information of each automatic spraying device on the map.
[0042] The spraying frequency and interval setting module 33 is used to obtain the spraying frequency and spraying interval of the automatic spraying device input on the human-machine interaction interface, and calculate the next spraying time point of each automatic spraying device.
[0043] The injection control module 34 is used to monitor in real time whether the current time point reaches the injection time point. When the injection time point is reached, it sends an injection instruction to the corresponding automatic injection device and obtains the execution result of the injection instruction.
[0044] The human-computer interaction module 35 is used to display the status information of the automatic spraying device in real time on the human-computer interaction interface and provide an information query interface.
[0045] The maintenance and upgrade module 36 is used to record the operation log and abnormal log of the automatic injection device, read the system automatic update information regularly, and back up the database and update the system configuration file after obtaining the system automatic update information.
[0046] The present invention discloses a rain and fog prevention system for camera lenses, which cleverly integrates the Internet of Things technology and provides a comprehensive intelligent solution to the rain and fog prevention problem of camera lenses. Through the Internet of Things control platform, it is possible to achieve precise control of the automatic spraying device, set a reasonable spraying frequency according to actual needs, and ensure that the rain and fog prevention spray can be sprayed onto the camera lens in a timely and quantitative manner, thereby effectively preventing the intrusion of rain and fog and maintaining the clarity and shooting quality of the lens. At the same time, the Internet of Things control platform can also monitor the status and spraying effect of the automatic spraying device in real time, and display the location of the device through the electronic map API, which is convenient for management personnel to perform remote monitoring and management. In addition, the system also supports group management of automatic spraying devices, which improves the flexibility and scalability of management. More importantly, the Internet of Things control platform also includes a maintenance and upgrade module, which can record operation logs and abnormal logs, read system automatic update information regularly, and perform database backup and system configuration file updates, ensuring the stability and reliability of the system.
[0047] like Figure 2 As shown, the following is an embodiment of a method for preventing rain and fog for a camera lens provided in an embodiment of the present disclosure. This method and the anti-rain and fog system for the camera lens of the above-mentioned embodiments belong to the same inventive concept. For details not fully described in the embodiment of the method for preventing rain and fog for the camera lens, reference can be made to the embodiment of the anti-rain and fog system for the camera lens mentioned above.
[0048] A method for preventing rain and fog of a camera lens comprises the following steps: S1: Establish a database for storing automatic spraying device information, spraying records, user setting information, register the automatic spraying device, and enter the grouping and location information of the automatic spraying device.
[0049] The automatic spraying device information includes a unique identifier and location coordinate information of the automatic spraying device.
[0050] In a specific implementation, first, a database is created to store device information (including device ID, location information, group, current status, etc.), spray records, user settings, etc. Then, when deployed, each automatic spray device for anti-rain and fog spray is connected to the management system via wired or wireless means and registers its unique identifier (such as MAC address or custom ID). Finally, the administrator assigns a group ID to each device through the user interface and enters its geographic location information (such as latitude and longitude).
[0051] S2: Display a map of the entire automatic spraying device deployment area through the electronic map API, mark the location of each automatic spraying device on the map, and perform group management of the automatic spraying devices according to the device group configuration information.
[0052] When performing group management, first, create, delete, and modify the device group of the automatic injection device according to the device group configuration information; then assign the automatic injection device to the corresponding device group.
[0053] In a specific implementation, an electronic map API is used to display a map of the entire automatic spraying device layout area. The location of each automatic spraying device is marked on the map, using an icon or a mark to represent it. At the same time, device groups can be created, deleted, and modified as needed, and devices can be assigned to corresponding groups. Group information includes group ID, group name, list of included devices, etc.
[0054] S3: Obtain the injection frequency and injection interval of the automatic injection device input on the human-computer interaction interface, and calculate the next injection time point of each automatic injection device.
[0055] In a specific embodiment, a human-computer interaction interface is provided to allow the administrator to set the spraying frequency (e.g., once per hour) and the spraying interval (e.g., 15 minutes after each spraying) for each automatic spraying device or each group of automatic spraying devices. According to the current time and the spraying frequency set by the user, the next spraying time point of each automatic spraying device or each group of automatic spraying devices is calculated and stored in the database.
[0056] S4: regularly checking whether the current time reaches the injection time point, sending an injection instruction to the corresponding device when the injection time point is reached, sending an injection instruction to the corresponding automatic injection device, and obtaining the injection instruction execution result.
[0057] In response to the automatic spraying device performing the spraying action, the spraying result information fed back by the automatic spraying device is obtained, and a spraying record is generated according to the spraying result information and stored in a preset database.
[0058] In a specific implementation, a timer is set to regularly check whether the current time reaches the next spraying time point of a certain automatic spraying device or a certain group of automatic spraying devices. When the spraying time point is reached, a spraying instruction is sent to the automatic spraying device or the group of automatic spraying devices through a communication module (such as MQTT, TCP / IP, etc.). After receiving the spraying instruction, the automatic spraying device performs the spraying action, including starting the motor, spraying the anti-rain and fog spray, etc. After the automatic spraying device completes the spraying, it sends feedback on the spraying result, including whether the spraying is successful, the spraying amount, etc. At this time, the spraying record in the database can be updated according to the spraying result fed back by the automatic spraying device.
[0059] S5: Display the status information of the automatic injection device in real time according to the injection instruction execution result.
[0060] In a specific implementation, the current status of each automatic spraying device or each group of automatic spraying devices is displayed in real time on the user interface, including whether it is online, whether it is spraying, and the remaining spraying time. A history query function is provided to allow administrators to view the spraying records of the past period of time. When an automatic spraying device fails, an alarm message is sent to the user, and the administrator is notified by email, SMS or APP push. The user authority management function is implemented to allow users of different levels to perform different operations.
[0061] In addition, in this method, all operation logs and exception logs can be recorded for troubleshooting and system maintenance. At the same time, when a new version is released, it can automatically identify, download and install the update. Regularly back up the database and system configuration files to ensure that the system can be quickly restored in the event of a serious failure.
[0062] In this embodiment, the steps include system initialization and configuration, electronic map integration and device grouping, spray frequency and interval setting, spray control logic, user interface and interaction, and system maintenance and upgrade. Among them, the system initialization and configuration step is used to establish a database and register device information; the electronic map integration and device grouping step is used to mark the device location on the map and perform group management; the spray frequency and interval setting step allows the administrator to set the spray parameters through the user interface; the spray control logic step includes timed inspection, sending spray instructions, executing spray actions and feedback spray results; the user interface and interaction step provides real-time status display, historical record query, alarm and notification, and user authority management functions; the system maintenance and upgrade step includes log recording, automatic update, backup and recovery, etc. The rain and fog prevention method for the camera lens provided in this embodiment realizes the intelligent management of the automatic spray device for rain and fog prevention spray, improves the spray efficiency; realizes the flexible setting of the spray frequency and interval according to actual needs, and optimizes the spray effect. The method provides real-time status monitoring and feedback functions, which is convenient for the administrator to grasp the device status at any time. At the same time, user authority management is realized to ensure the security of the system. This method solves the technical problem of protecting outdoor camera lenses from rain and fog on rainy and foggy days, can improve the visibility of the camera in extremely bad weather, and can also help the camera achieve remote operation and maintenance of automatic lens cleaning.
[0063] Figure 3 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.
[0064] The anti-rain and fog method of the camera lens provided in the embodiment of the present application can be applied to electronic devices. It can be understood by those skilled in the art that the electronic device structure involved in the embodiment of the present invention does not constitute a limitation on the electronic device, and the electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components. In the embodiment of the present invention, the electronic device includes but is not limited to a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the embodiments of the present application described and / or required herein.
[0065] The electronic device may include a processor, an external memory interface, an internal memory, a universal serial bus (USB) interface, a charging management module, a power management module, a battery, a wireless communication module, an audio module, a speaker, a microphone, a sensor module, buttons, a camera, a display, and a SIM card interface, etc.
[0066] The processor may include one or more processing units, for example, the processor may include a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated into one or more processors.
[0067] The processor can be the nerve center and command center of the electronic device. The controller can generate an operation control signal according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0068] A memory may also be provided in the processor for storing instructions and data. In some embodiments, the memory in the processor is a cache memory. The memory may store instructions or data that the processor has just used or is cyclically used. If the processor needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor, and thus improves system efficiency.
[0069] The external memory interface can be used to connect an external memory card, such as a MicroSD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor through the external memory interface to implement data storage functions. For example, files such as music and videos can be saved in the external memory card.
[0070] The internal memory can be used to store computer executable program codes, which include instructions. The processor executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory. The internal memory may include a program storage area and a data storage area. The internal memory may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0071] The wireless communication function of an electronic device can be realized through an antenna, a wireless communication module, a modem processor, and a baseband processor.
[0072] The wireless communication module can provide wireless communication solutions for electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.
[0073] Electronic devices can implement audio functions, etc. through audio modules, speakers, receivers, microphones, headphone jacks, and application processors.
[0074] Electronic devices can achieve shooting functions through ISP, camera, video codec, GPU, display and application processor.
[0075] Electronic devices can achieve display functions through GPU, display screen and application processor.
[0076] The GPU is a microprocessor for image processing that connects the display screen and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor may include one or more GPUs that execute program instructions to generate or change display information.
[0077] The display screen is used to display images, videos, etc. The display screen includes a display panel.
[0078] The above-mentioned electronic device realizes the anti-rain and fog method of the camera lens of the present application through integrated database management, electronic map visualization display, human-computer interaction parameter setting and precise timing spray control mechanism. The method ultimately realizes efficient, intelligent and comprehensive management of the automatic spray device for anti-rain and fog of the camera lens, significantly improving the precise execution of the spraying operation, the real-time responsiveness of the system monitoring, and the convenience and efficiency of the overall management.
[0079] The storage medium provided in the present application stores a program product that can implement a method for preventing rain and fog on a camera lens.
[0080] The method for preventing the camera lens from rain and fog includes: establishing a database for storing automatic spraying device information, spraying records, and user setting information, registering the automatic spraying device, and entering the grouping and location information of the automatic spraying device; displaying a map of the entire automatic spraying device layout area through an electronic map API, marking the location of each automatic spraying device on the map, and grouping the automatic spraying devices according to the equipment grouping configuration information; obtaining the spraying frequency and spraying interval of the automatic spraying device input on the human-computer interaction interface, and calculating the next spraying time point of each automatic spraying device; regularly checking whether the current time reaches the spraying time point, and sending a spraying instruction to the corresponding device when the spraying time point is reached, sending a spraying instruction to the corresponding automatic spraying device, and obtaining the execution result of the spraying instruction; and displaying the status information of the automatic spraying device in real time according to the execution result of the spraying instruction.
[0081] In some possible implementations, the rain and fog protection method for the camera lens of the present disclosure can be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps described in the above "Exemplary Method" section of this specification according to various exemplary implementations of the present disclosure.
[0082] The storage medium of the present disclosure can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0083] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A rain and fog protection system for a camera lens, characterized in that: include: The camera, the automatic spraying device and the Internet of Things control platform, the Internet of Things control platform is respectively connected with the camera and the automatic spraying device by data; The automatic spraying device is used to receive control instructions from the Internet of Things control platform and spray the anti-rain and fog spray onto the camera lens; The Internet of Things control platform is used to set the spraying frequency of the automatic spraying device and control the operation of the camera lens wiper according to the unique identification and control requirements of the automatic spraying device; The camera is used to receive control instructions from the Internet of Things control platform to control the operation of the camera lens wiper.
2. The anti-rain and fog system for camera lens according to claim 1, characterized in that: The automatic spraying device comprises: a liquid storage bottle, an electric sprayer, a control module and a network module; Liquid storage bottle, used to store anti-rain and fog spray; An electric sprayer is connected to the liquid storage bottle, sucks the anti-rain and fog spray in the liquid storage bottle through a straw when powered on, and sprays the jet onto the camera lens under the action of the motor; A control module, connected to the electric injector, for controlling the opening and closing of the electric injector and the number of injections; The network module is connected to the 4G router where the camera is located, and is used to receive control instructions from the Internet of Things control platform and transmit the control instructions to the control module.
3. The anti-rain and fog system for camera lens according to claim 1, characterized in that: The Internet of Things control platform includes: An initialization module is used to establish a database to store automatic spraying device information and group the automatic spraying devices; A marking module is used to display a map of the area where the automatic spraying device is deployed through an electronic map API, and mark the location information of each automatic spraying device on the map; The injection frequency and interval setting module is used to obtain the injection frequency and injection interval of the automatic injection device input on the human-computer interaction interface, and calculate the next injection time point of each automatic injection device; The injection control module is used to monitor in real time whether the current time point reaches the injection time point. When the injection time point is reached, the injection command is issued to the corresponding automatic injection device, and the execution result of the injection command is obtained; The human-computer interaction module is used to display the status information of the automatic injection device in real time on the human-computer interaction interface and provide an information query interface.
4. The anti-rain and fog system for camera lens according to claim 3, characterized in that: The Internet of Things control platform also includes: The maintenance and upgrade module is used to record the operation log and abnormal log of the automatic injection device, read the system automatic update information regularly, and back up the database and update the system configuration file after obtaining the system automatic update information.
5. A method for preventing rain and fog of a camera lens, characterized in that: The method adopts the rain and fog protection system of the camera lens as claimed in any one of claims 1 to 4; The method comprises: Establish a database for storing automatic spraying device information, spraying records, user setting information, registering the automatic spraying device, and entering the grouping and location information of the automatic spraying device; Display the map of the entire automatic spraying device layout area through the electronic map API, mark the location of each automatic spraying device on the map, and manage the automatic spraying devices in groups according to the device group configuration information; Obtain the injection frequency and injection interval of the automatic injection device input on the human-computer interaction interface, and calculate the next injection time point of each automatic injection device; Regularly check whether the current time reaches the injection time point, and when the injection time point is reached, send the injection instruction to the corresponding device, send the injection instruction to the corresponding automatic injection device, and obtain the execution result of the injection instruction; According to the execution results of the injection instruction, the status information of the automatic injection device is displayed in real time.
6. The method for preventing rain and fog of a camera lens according to claim 5, characterized in that: The step of obtaining the injection instruction execution result includes: In response to the automatic spraying device performing the spraying action, the spraying result information fed back by the automatic spraying device is obtained, and a spraying record is generated according to the spraying result information and stored in a preset database.
7. The method for preventing rain and fog of a camera lens according to claim 5, characterized in that: The automatic spraying device information includes a unique identifier and location coordinate information of the automatic spraying device.
8. The method for preventing rain and fog of a camera lens according to claim 7, characterized in that: The group management of the automatic spraying device according to the device group configuration information includes: Create, delete, and modify equipment groups for automatic spraying devices according to equipment grouping configuration information; Assign the automatic spraying devices to the corresponding equipment groups.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method for preventing rain and fog of a camera lens as claimed in any one of claims 5 to 8 are implemented.
10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for preventing rain and fog of a camera lens as claimed in any one of claims 5 to 8 are implemented.