CN115713846A - Automatic monitoring and alarming method and system - Google Patents

Automatic monitoring and alarming method and system Download PDF

Info

Publication number
CN115713846A
CN115713846A CN202211289127.0A CN202211289127A CN115713846A CN 115713846 A CN115713846 A CN 115713846A CN 202211289127 A CN202211289127 A CN 202211289127A CN 115713846 A CN115713846 A CN 115713846A
Authority
CN
China
Prior art keywords
monitoring
identification
task
parameters
screen image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211289127.0A
Other languages
Chinese (zh)
Inventor
林大甲
黄宗荣
江世松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinqianmao Technology Co ltd
Original Assignee
Jinqianmao Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jinqianmao Technology Co ltd filed Critical Jinqianmao Technology Co ltd
Priority to CN202211289127.0A priority Critical patent/CN115713846A/en
Publication of CN115713846A publication Critical patent/CN115713846A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)

Abstract

The invention provides an automatic monitoring and alarming method and system, wherein the method comprises the following steps: creating a monitoring task, and configuring the task type, the monitoring attribute and the task parameter of the monitoring task; acquiring a screen image of the service equipment according to the task parameters; determining an identification area of the screen image according to a preset area coordinate; performing OCR recognition on the recognition area according to the monitoring attribute to obtain a recognition result; if the identification result corresponds to the identification failure, analyzing and acquiring the image parameters of the screen image, and adjusting the parameters of the screen image acquisition equipment according to the image parameters; and if the obtained identification result corresponds to the identification failure after the adjustment and the number of the continuous identification failures reaches N times, alarming. Monitoring effectiveness can be improved, and therefore working efficiency is improved.

Description

Automatic monitoring and alarming method and system
Technical Field
The invention relates to the technical field of data acquisition, data identification and processing, in particular to an automatic monitoring and alarming method and system.
Background
The existing data monitoring and alarming method cannot support automatic region acquisition and content acquisition, so that under the condition of facing different display equipment under different scenes, new models need to be continuously established, OCR (optical character recognition) configuration needs to be modified and the like for use, and the burden of maintenance personnel is increased; meanwhile, flexible setting of monitoring time is not supported, and in some specific services, real-time data acquisition is unnecessary and computational resources are wasted; furthermore, the flexible setting of the alarm threshold value is not supported; the photos of the display equipment to be identified are not supported to be stored in the server, and the identification result is bound, so that the correctness of the data is inconvenient to trace; moreover, the ambient light where the business equipment is located has a great influence on the effect of capturing images by the camera, but does not support the image optimization processing, so that the probability of identifying correct data by OCR is reduced; data that does not support clearing errors or has large errors, which will result in data missing for some period of time; finally, the functions of alarming and modifying after the identification failure are not supported, so that the effective monitoring and alarming can not be realized.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the automatic monitoring and alarming method and system can improve monitoring effectiveness, thereby improving working efficiency.
In order to solve the technical problems, the invention adopts the technical scheme that:
the automatic monitoring and alarming method comprises the following steps:
s01: creating a monitoring task, and configuring the task type, the monitoring attribute and the task parameter of the monitoring task;
s02: acquiring a screen image of the service equipment according to the task parameters;
s03: determining an identification area of the screen image according to a preset area coordinate;
s04: performing OCR recognition on the recognition area according to the monitoring attribute to obtain a recognition result;
s05: if the identification result is failed to correspond to the identification, analyzing and acquiring the image parameters of the screen image, and adjusting the parameters of the screen image acquisition equipment according to the image parameters;
s06: if the obtained identification result corresponds to identification failure after the adjustment and the number of continuous identification failure reaches N times, alarming; and N is an integer greater than 1.
The invention provides another technical scheme as follows:
the automatic monitoring and warning system comprises a camera, a web front-end page and a server;
the web front-end page is used for creating a monitoring task and configuring the task type, the monitoring attribute and the task parameter of the monitoring task;
the camera is used for acquiring a screen image of the service equipment according to the task parameters;
the server is used for determining the identification area of the screen image according to a preset area coordinate; performing OCR recognition on the recognition area according to the monitoring attribute to obtain a recognition result; if the identification result is corresponding to the identification failure, analyzing and acquiring the image parameters of the screen image, and adjusting the parameters of the camera according to the image parameters; if the obtained identification result corresponds to the identification failure after the adjustment and the number of the continuous identification failures reaches N times, alarming; and N is an integer greater than 1.
The invention has the beneficial effects that: the automatic monitoring and alarming method and the system provided by the invention can support the user-defined configuration of the task type, the monitoring attribute and the task parameter of the monitoring task, improve the flexibility of task configuration modification and facilitate maintenance; the specific identification of the designated area of the screen image can be supported through the preset area coordinates, so that the identification efficiency and the identification accuracy are improved; the image quality of the screen image can be improved by adjusting the equipment parameters when the identification fails, so that the identification failure caused by the environment is automatically corrected, the probability of successful identification is effectively improved, the manual intervention is reduced, and the automation is improved; the method can initiate an alarm when the condition of identification failure caused by the environmental factors is eliminated and still cannot be identified, so that the user can intervene in the solution in time, and the failure factors can be eliminated more efficiently.
Drawings
FIG. 1 is a schematic flow chart illustrating an automated monitoring and warning method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating an automated monitoring and alarm method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating information interaction of an automated monitoring and warning method according to an embodiment of the present invention;
fig. 4 is a schematic structural framework diagram of an automated monitoring and warning system according to a second embodiment of the present invention.
Description of reference numerals:
1. a web front end page; 2. a camera; 3. a server; 4. and an alarm center.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
Referring to fig. 1, the present invention provides an automated monitoring and warning method, including:
s01: creating a monitoring task, and configuring the task type, the monitoring attribute and the task parameter of the monitoring task;
s02: acquiring a screen image of the business equipment according to the task parameters;
s03: determining an identification area of the screen image according to a preset area coordinate;
s04: performing OCR recognition on the recognition area according to the monitoring attribute to obtain a recognition result;
s05: if the identification result corresponds to the identification failure, analyzing and acquiring the image parameters of the screen image, and adjusting the parameters of the screen image acquisition equipment according to the image parameters;
s06: if the obtained identification result is failed correspondingly after the adjustment, and the number of times of continuous identification failure reaches N times, alarming is carried out; and N is an integer greater than 1.
From the above description, the beneficial effects of the present invention are: the method can support the user-defined configuration of the task type, the monitoring attribute and the task parameter of the monitoring task, improve the flexibility of task configuration modification and facilitate maintenance; the specific identification of the designated area of the screen image can be supported through the preset area coordinates, so that the identification efficiency and the identification accuracy are improved; the image quality of the screen image can be improved by adjusting the equipment parameters when the identification fails, so that the identification failure caused by the environment can be automatically corrected, the probability of successful identification is effectively improved, the occurrence of the condition of manual intervention is reduced, and the automation is improved; the method can initiate an alarm when the identification fails after the identification failure condition caused by the environmental factors is eliminated, so that the user can access and solve the problem in time, and the failure factors can be eliminated more efficiently.
Further, the S06 specifically includes:
s16: if the obtained identification result corresponds to identification failure after the adjustment and the number of continuous identification failure reaches N times, switching the mode of acquiring the screen image;
s26: and if the obtained identification result corresponds to identification failure after the mode is switched and the number of continuous identification failure reaches N times, alarming.
As can be seen from the above description, when a recognition failure occurs, the influence of the screen image due to environmental problems can be automatically corrected first; after the influence is eliminated, the problem is solved by changing the acquisition mode of the image acquisition equipment, and if the problem still cannot be solved, the alarm is given again. Automatic error correction is realized, and the failure of identification caused by environmental and equipment problems is automatically overcome to a certain extent, so that the probability of successful identification is obviously improved, the manual intervention is reduced, and the resources are saved.
Further, the screen image acquisition device is a camera; the S05 specifically comprises the following steps:
s15: if the identification result is failed correspondingly to the identification, analyzing and acquiring image parameters of the screen image, wherein the image parameters comprise focal length, contrast, saturation, sharpness, white balance, brightness and angle;
s25: confirming parameter adjustment amplitude by comparing default parameters of the camera with the image parameters;
s35: adjusting the current parameters of the camera according to the parameter adjustment range by calling a corresponding interface;
s45: acquiring a new screen image, and executing the steps S03, S04, and S06 in sequence.
As can be seen from the above description, the adjustment strategy is obtained by automatically analyzing the image parameters of the screen image and the default parameters of the camera, so as to ensure that the screen image is accurately optimized, and significantly improve the probability of successful recognition.
Further, when configuring the monitoring attribute in S01, the method includes:
sequentially selecting each data to be monitored according to the recognition area and the OCR recognition sequence so as to associate each data to be monitored with each numerical value recognized by the OCR one by one;
and the recognition result comprises each data to be monitored and the corresponding OCR recognized numerical value.
According to the description, the recognized values and the monitoring attributes are bound to output the recognition results in the form that the monitored data correspond to the recognition values, so that a user can grasp the monitoring condition visually through the recognition results, and the user experience is improved.
Further, the method further comprises:
s07: and if the identification result corresponds to the identification success, storing the identification result, the task parameter and the screen image.
As can be seen from the above description, the method also has the advantage of convenient traceability.
Further, the area coordinates are obtained by a screenshot operation of the user on the screen image.
According to the description, the user is supported to preset the region coordinates in a screenshot form, so that the method is convenient and flexible to operate, convenient to adjust and more beneficial to determining the region to be identified.
Further, the S01 and the screenshot operation are completed on a web front-end page;
and displaying the recognition result through a web front-end page.
According to the description, the task configuration and the identification area setting can be realized on the web front-end page, and the identification result can be visually displayed on the page, so that the operation of a user is facilitated, and the user can know the monitoring condition conveniently.
Further, the task type corresponds to an application scene of the monitoring task; the monitoring attribute corresponds to data to be monitored; the task parameters include a start time, an end time, and a monitoring period.
Further, the data to be monitored includes temperature, humidity, temperature threshold and humidity threshold.
According to the description, the application scene of the user-defined configuration is supported, the data needing to be collected in the scene and the parameter information which is expected to be executed by other users can be configured and modified without modeling or modifying OCR (optical character recognition) configuration, the difficulty of configuration parameter adjustment is greatly reduced, and the maintenance is more convenient.
Referring to fig. 4, another technical solution provided by the present invention is:
the automatic monitoring and warning system comprises a camera, a web front-end page and a server;
the web front-end page 1 is used for creating a monitoring task and configuring the task type, the monitoring attribute and the task parameter of the monitoring task;
the camera 2 is used for acquiring a screen image of the service equipment according to the task parameter;
the server 3 is used for determining an identification area of the screen image according to a preset area coordinate; performing OCR recognition on the recognition area according to the monitoring attribute to obtain a recognition result; if the identification result is failed correspondingly to the identification, analyzing and acquiring the image parameters of the screen image, and adjusting the parameters of the camera according to the image parameters; if the obtained identification result corresponds to the identification failure after the adjustment and the number of the continuous identification failures reaches N times, alarming; and N is an integer greater than 1.
Therefore, the automatic monitoring and warning system provided by the invention can support the user-defined configuration of the task type, the monitoring attribute and the task parameter of the monitoring task, improve the flexibility of task configuration modification and facilitate maintenance; the designated area of the screen image can be identified in a targeted manner by presetting the area coordinates, so that the identification efficiency and the identification accuracy are improved; the image quality of the screen image can be improved by adjusting the equipment parameters when the identification fails, so that the identification failure caused by the environment can be automatically corrected, the probability of successful identification is effectively improved, the occurrence of the condition of manual intervention is reduced, and the automation is improved; the method can initiate an alarm when the condition of identification failure caused by the environmental factors is eliminated and still cannot be identified, so that the user can intervene in the solution in time, and the failure factors can be eliminated more efficiently.
Example one
Referring to fig. 2, the present embodiment provides an automatic monitoring and warning method, including:
s01: establishing a monitoring task on a web page, and configuring a task type, a monitoring attribute and a task parameter of the monitoring task;
the task type corresponds to an application scene of a monitoring task; the monitoring attribute corresponds to data to be monitored, namely data required to be acquired by an application scene, and optionally comprises temperature, humidity, a temperature threshold value, a humidity threshold value and the like; the task parameters comprise a task name, a start time, an end time, a monitoring period remark and other self-defined parameters according to business requirements.
That is, the user can set the collection task very flexibly, and the task parameters including the collection interval time and the like are set according to the actual requirements of the user, so that the waste of computer resources is avoided, and the actual requirements can be better met.
It can be understood that, in the embodiment, a user may define an alarm threshold (e.g., a temperature threshold and a humidity threshold) of a task according to specific service requirements, for example, the monitored temperature is the temperature, and the requirements of different application scenarios on the temperature are different, so that the flexible setting of the threshold is supported, and the use of different scenarios can be better compatible. In the embodiment, the program is executed in a mode of issuing the monitoring task, so that the user only needs to set the threshold value of the task, other aspects cannot be influenced, unlike the previously cited system, maintenance personnel need to add or modify the identification key words of the software, if the service multi-scene different equipment is different, the use efficiency is influenced, and the workload of the maintenance personnel is greatly increased.
S02: acquiring a screen image of the service equipment according to the task parameters through a high-definition camera capable of networking;
that is, the camera acquires the screen image according to the task parameters such as the acquisition interval set by the user.
S03: determining an identification area of the screen image according to a preset area coordinate;
the area coordinates are identification areas framed by the user corresponding to the screen image in advance. The region coordinates are selected by a user's screenshot directly in the screen image on the web page. After the area coordinates corresponding to the screen image are set, the identification area can be directly determined according to the area coordinates each time the screen image is acquired.
As a specific example, the identification area corresponding to the area coordinate is rectangular, the user clicks the left button through the mouse to drag the identification area, the operation is performed at the web side to obtain the coordinate information of the area on the screen image, that is, the area coordinate, and then the area coordinate and the monitoring attribute configured by the user are bound to realize that the identification value and the monitoring attribute in the output identification result can be in one-to-one correspondence.
Particularly, in some specific embodiments of this embodiment, the preset region coordinate is executed before S01, and when the monitoring attribute is configured in S01, the method specifically includes:
firstly, defining data corresponding to each numerical value which is identified in sequence according to an identification area (namely under the premise that an area to be identified in a screen image is defined by setting area coordinates) and an OCR identification sequence (according to an identification mechanism of an OCR program), namely, each numerical value is temperature, humidity and the like;
then, each data to be monitored, namely the above-mentioned definite temperature, humidity, etc., is selected in sequence, so as to associate each data to be monitored with each value recognized by the OCR one-to-one.
Therefore, the recognition result output subsequently comprises the data to be monitored and the corresponding OCR recognized numerical value, and not only the recognized numerical value.
This is because, in the text information recognized by the OCR program, only corresponding values are output by the program, and it is unclear whether the attribute corresponding to each value is temperature, humidity, a temperature threshold, a humidity threshold, or the like. Therefore, through the configuration process of the monitoring attributes, the monitoring attributes corresponding to the numerical values are selected one by one through the rear end according to the output sequence (from top to bottom, from left to right and the like) of the previously set OCR recognition program, so that the numerical values and the monitoring attributes are bound, and which monitoring attribute corresponds to the sequentially recognized numerical values can be clearly known in the recognition result.
S04: performing OCR recognition on the recognition area according to the monitoring attribute to obtain a recognition result; if the identification result is successfully identified, executing S07; if the identification result corresponds to the identification failure, executing S05;
specifically, OCR recognition is carried out according to the binding relation between the area coordinates and the monitoring attributes configured by the user by calling an OCR recognition program, and a recognition result is obtained. The recognition result includes each data to be monitored and its corresponding OCR recognized value.
The OCR recognition program is used for recognizing the character information in the recognition area determined in the screen image of the service equipment and outputting the recognized character information and the corresponding monitoring attribute according to the binding relationship.
S07: and when the identification result is successfully identified, storing the identification result, the task parameters and the screen image to a database. Thus, data tracing can be supported.
S05: if the identification result corresponds to the identification failure, analyzing and acquiring the image parameters of the screen image, and adjusting the parameters of the screen image acquisition equipment according to the image parameters;
that is, when recognition failure occurs for the first time, the probability of successful recognition is increased by optimizing the image quality of the screen image.
In some embodiments, the process of improving the quality of the screen image includes:
s15: if the identification result is failed correspondingly, analyzing and acquiring image parameters of the screen image, wherein the image parameters comprise focal length, contrast, saturation, sharpness, white balance, brightness, angle and the like;
s25: confirming parameter adjustment amplitude (adding or subtracting corresponding parameter values) by comparing default parameters of the camera with the image parameters;
s35: adjusting the current parameters of the camera according to the parameter adjustment range by calling a corresponding interface (an interface for modifying the configuration of the camera equipment); preferably, the back end judges whether the configuration modification is successful according to the return value, and if the configuration modification is successful, the next step is executed;
s45: acquiring a new screen image, and executing the steps S03, S04, and S06 in sequence.
That is, after the screen image is obtained again, the identification area of the new screen image is determined according to the preset area coordinates; and then performing OCR recognition on the recognition area according to the monitoring attribute to obtain a recognition result.
S06: if the obtained identification result still corresponds to the identification failure after the camera parameters are adjusted, and the number of continuous identification failures reaches N times, alarming is carried out; and N is an integer greater than 1.
That is, if the image quality of the screen image is optimized and the probability of obtaining an effective screen image is increased, the screen image still cannot be identified, the interference of environmental factors is eliminated, at this time, an alarm is given, and the problem troubleshooting by manual intervention is more efficient.
In some embodiments, if the recognition still fails after the optimization of the image quality of the screen image, the interference possibly caused by the image acquisition device is further checked. For example, the shooting mode of the camera is switched to further improve the probability of acquiring effective screen images.
Accordingly, said S06 will specifically include:
s16: if the identification result obtained after the camera parameters are adjusted is corresponding to identification failure and the number of continuous identification failure reaches N times, switching the shooting mode, namely switching the day and night shooting mode;
s26: and if the obtained identification result is failed to identify correspondingly after the camera mode is switched, and the number of times of continuous identification failure reaches N times, alarming.
Here, interference and camera problems of environmental factors are eliminated automatically and successively, so that manual intervention is effectively reduced, the problem troubleshooting efficiency can be obviously improved, and human resources can be saved.
In some embodiments, the alarm may be sent to a specific user by an alarm center, and the alarm may be in the form of a short message or a telephone; in addition, the alarm center also supports the functions of searching, counting the alarm frequency and the like.
In other embodiments, the alarm center notifies the user of the alarm for continuous identification failure, data abnormality and the like, and supports the user technician to correct the error data and the failure reason directly through the web page.
In some embodiments, the monitoring data and the screen image of the business device can be searched and viewed on the web end.
In other embodiments, one-key import and export of recognition results and corresponding screen images are also supported. Specifically, the import monitoring data function and the everywhere monitoring data function support an Excel table form and a content format set by a user.
As a specific application scenario of the embodiment, please refer to fig. 3, which shows an information interaction process of the automatic monitoring and warning method in the specific application scenario. Wherein, a technician logs in the quality management subsystem on a web page to realize the functions described by the corresponding web front-end page in the embodiment; the network camera shown in the figure corresponds to the high-definition camera of the embodiment; the illustrated AI recognition system corresponds to the OCR recognition program of the present embodiment.
The automatic monitoring and alarming method provided by the embodiment can flexibly set the acquisition task, set the acquisition interval time according to the actual requirements of the user, and avoid the waste of computer resources; through shooting and switching the camera mode for multiple times, the situation of identification failure caused by screen image problems is avoided to a certain extent; by self-defining the identification area and the monitoring attribute, the limitation of the system is broken, the system is not limited to one device or one set of system, and the system can be applied to various actual scenes; the alarm center is used for uniformly managing and sending alarms, so that the system is more efficient, and simultaneously supports the functions of searching, counting alarm frequency and the like; monitoring data are displayed in a mode of binding identification values in the identification area, so that the tracing is convenient, and meanwhile, a technician is supported to correct the data with the identification errors, and the correctness and the consistency of the data are ensured; the system is more convenient to use by the function of importing and exporting the monitoring data through one key.
Example two
Referring to fig. 4, the present embodiment provides an automated monitoring and warning system based on an embodiment, which includes a camera 2, a web front-end page 1, and a server 3;
the web front-end page 1 is used for creating a monitoring task and configuring the task type, the monitoring attribute and the task parameter of the monitoring task; the task type corresponds to an application scene of a monitoring task; the monitoring attribute corresponds to data to be monitored; the task parameters comprise a start time, an end time and a monitoring period; the data to be monitored comprises temperature, humidity, a temperature threshold and a humidity threshold; preferably, the web page is an intelligent worksite supervision platform web page.
The camera 2 is used for acquiring a screen image of the service equipment according to the task parameter;
the server 3 is used for determining an identification area of the screen image according to a preset area coordinate; performing OCR recognition on the recognition area according to the monitoring attribute to obtain a recognition result; if the identification result is corresponding to the identification failure, analyzing and acquiring the image parameters of the screen image, and adjusting the parameters of the camera according to the image parameters; if the obtained identification result corresponds to the identification failure after the adjustment and the number of the continuous identification failures reaches N times, alarming; and N is an integer greater than 1.
Preferably, the server 3 is specifically configured to switch a mode of acquiring the screen image if the obtained recognition result is corresponding to a recognition failure after the adjustment and the number of times of continuous recognition failures reaches N times; and if the identification result obtained after the mode is switched corresponds to the identification failure and the number of the continuous identification failures reaches N times, alarming.
Preferably, the server 3 is specifically configured to, if the identification result corresponds to an identification failure, analyze and acquire image parameters of the screen image, where the image parameters include a focal length, a contrast, a saturation, a sharpness, a white balance, a brightness, and an angle; confirming parameter adjustment amplitude by comparing default parameters of the camera with the image parameters; adjusting the current parameters of the camera according to the parameter adjustment range by calling a corresponding interface; triggering a camera to obtain a new screen image, sequentially executing the steps of determining an identification area of the screen image according to preset area coordinates, performing OCR (optical character recognition) on the identification area according to the monitoring attribute to obtain an identification result, and giving an alarm if the identification result obtained after the adjustment is corresponding to the identification failure and the number of continuous identification failures reaches N times; and N is an integer greater than 1.
Preferably, the web front-end page 1 is specifically configured to sequentially select each data to be monitored according to the recognition area and the OCR recognition order, so as to associate each data to be monitored with each numerical value recognized by the OCR one-to-one;
correspondingly, the recognition result output by the server 3 includes each data to be monitored and the OCR recognized value corresponding to the data.
Preferably, the server 3 is further configured to store the recognition result, the task parameter, and the screen image if the recognition result corresponds to the recognition result.
Preferably, the web front-end page 1 is specifically configured to obtain the area coordinates by a screenshot operation of a user on a screen image.
Preferably, the web front-end page 1 is specifically configured to show an identification result output by a server.
Preferably, all the alarm information of the system is managed uniformly by the alarm center 4, and different alarm information is distinguished by grades and types.
Preferably, the system supports searching and statistics by adopting a method of binding and displaying screen shots, data and task information, supports technicians to manually modify problem data if error data is traced, and is greatly convenient for customers to use due to the addition of a function of importing and exporting monitoring data.
The system of the embodiment adopts a task issuing mode to distribute tasks to programs, collects service monitoring data and the like, can give full play to the advantages of computer processing technology, reduces the complex work of construction site recording personnel, also lightens the maintenance work of a plurality of technicians, and realizes real flexible and automatic monitoring and alarming functions. In addition, the system also realizes the automatic monitoring and warning functions with very high degree of freedom, so that a user can manage monitoring tasks and check monitoring data through a web page at any time, thereby greatly reducing the consumption of human resources and lightening the working intensity of customers; meanwhile, the system also realizes intelligent digitization of monitoring data, supports one-key import and export of the monitoring data in an Excel document form, and improves the working efficiency of customers.
From the above description, it can be understood by those skilled in the art that all or part of the processes in the above technical solutions can be implemented by hardware related to instructions of a computer program, where the program can be stored in a computer-readable storage medium, and when executed, the program can include the processes of the above methods. The program can also achieve the advantageous effects corresponding to the respective methods after being executed by a processor.
The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only an embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent modifications made by the present invention and the contents of the accompanying drawings, which are directly or indirectly applied to the related technical fields, are included in the scope of the present invention.

Claims (10)

1. The automatic monitoring and alarming method is characterized by comprising the following steps:
s01: creating a monitoring task, and configuring the task type, the monitoring attribute and the task parameter of the monitoring task;
s02: acquiring a screen image of the service equipment according to the task parameters;
s03: determining an identification area of the screen image according to a preset area coordinate;
s04: performing OCR recognition on the recognition area according to the monitoring attribute to obtain a recognition result;
s05: if the identification result corresponds to the identification failure, analyzing and acquiring the image parameters of the screen image, and adjusting the parameters of the screen image acquisition equipment according to the image parameters;
s06: if the obtained identification result corresponds to identification failure after the adjustment and the number of continuous identification failure reaches N times, alarming; and N is an integer greater than 1.
2. The automated monitoring and warning method according to claim 1, wherein the S06 specifically includes:
s16: if the obtained identification result corresponds to identification failure after the adjustment and the number of continuous identification failure reaches N times, switching the mode of acquiring the screen image;
s26: and if the obtained identification result is failed to identify correspondingly after the mode is switched, and the number of times of continuous identification failure reaches N times, alarming.
3. The automated monitoring and alerting method of claim 1, wherein the screen image capturing device is a camera; the S05 specifically includes:
s15: if the identification result corresponds to the identification failure, analyzing and acquiring image parameters of the screen image, wherein the image parameters comprise focal length, contrast, saturation, sharpness, white balance, brightness and angle;
s25: confirming parameter adjustment amplitude by comparing default parameters of the camera with the image parameters;
s35: adjusting the current parameters of the camera according to the parameter adjustment range by calling a corresponding interface;
s45: acquiring a new screen image, and sequentially executing the steps S03, S04, and S06.
4. The automated monitoring and alerting method of claim 1, wherein the configuring of the monitoring attribute in S01 comprises:
sequentially selecting each data to be monitored according to the recognition area and the OCR recognition sequence so as to associate each data to be monitored with each numerical value recognized by the OCR one by one;
and the recognition result comprises each data to be monitored and the corresponding OCR recognized numerical value.
5. The automated monitoring and alert method according to claim 4, wherein the method further comprises:
s07: and if the corresponding recognition of the recognition result is successful, storing the recognition result, the task parameters and the screen image.
6. The automated monitoring and alert method of claim 1, wherein the region coordinates are obtained by a user screenshot on a screen image.
7. The automated monitoring and alerting method of claim 6, wherein the S01 and the screenshot operations are performed on a web front-end page;
and displaying the identification result through a web front-end page.
8. The automated monitoring and alerting method of claim 1, wherein the task type corresponds to an application scenario of a monitoring task; the monitoring attribute corresponds to data to be monitored; the task parameters include a start time, an end time, and a monitoring period.
9. The automated monitoring and alert method of claim 8, wherein the data to be monitored includes temperature, humidity, temperature threshold and humidity threshold.
10. The automatic monitoring and warning system is characterized by comprising a camera, a web front-end page and a server;
the web front-end page is used for creating a monitoring task and configuring the task type, the monitoring attribute and the task parameter of the monitoring task;
the camera is used for acquiring a screen image of the service equipment according to the task parameters;
the server is used for determining an identification area of the screen image according to a preset area coordinate; performing OCR recognition on the recognition area according to the monitoring attribute to obtain a recognition result; if the identification result is failed correspondingly to the identification, analyzing and acquiring the image parameters of the screen image, and adjusting the parameters of the camera according to the image parameters; if the obtained identification result corresponds to the identification failure after the adjustment and the number of the continuous identification failures reaches N times, alarming; and N is an integer greater than 1.
CN202211289127.0A 2022-10-20 2022-10-20 Automatic monitoring and alarming method and system Pending CN115713846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211289127.0A CN115713846A (en) 2022-10-20 2022-10-20 Automatic monitoring and alarming method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211289127.0A CN115713846A (en) 2022-10-20 2022-10-20 Automatic monitoring and alarming method and system

Publications (1)

Publication Number Publication Date
CN115713846A true CN115713846A (en) 2023-02-24

Family

ID=85229998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211289127.0A Pending CN115713846A (en) 2022-10-20 2022-10-20 Automatic monitoring and alarming method and system

Country Status (1)

Country Link
CN (1) CN115713846A (en)

Similar Documents

Publication Publication Date Title
CN104407964B (en) A kind of centralized monitoring system and method based on data center
CN107508722B (en) Service monitoring method and device
CN102523137B (en) Fault monitoring method, device and system
CN114185708A (en) Data analysis method and device based on distributed link tracking and electronic equipment
CN113691801B (en) Video image analysis-based fault monitoring method and system for video monitoring equipment
CN110955652A (en) System and method for data display
CN105554320B (en) The monitoring method and system of call center's telephone traffic
CN107491371A (en) A kind of method and device for monitoring deployment
CN113505048A (en) Unified monitoring platform based on application system portrait and implementation method
CN111554219A (en) Display equipment testing method and device, electronic product and storage medium
CN111010546A (en) Method and device for adjusting monitoring preset point and storage medium
CN107423090B (en) Flash player abnormal log management method and system
CN116302989A (en) Pressure testing method and system, storage medium and computer equipment
CN110502558B (en) Data export method, device, computer equipment and storage medium
CN115223098A (en) Product quality visual monitoring management system
CN108446318A (en) A kind of mass data intelligent decision analysis system
CN118115939A (en) Alarm event processing method and device, nonvolatile storage medium and electronic equipment
CN109409948B (en) Transaction abnormity detection method, device, equipment and computer readable storage medium
CN115713846A (en) Automatic monitoring and alarming method and system
CN110502557B (en) Data importing method, device, computer equipment and storage medium
CN110347597B (en) Interface testing method and device of picture server, storage medium and mobile terminal
CN111177281A (en) Access control method, device, equipment and storage medium
CN110232013B (en) Test method, test device, controller and medium
CN111506769A (en) Video file processing method and device, storage medium and electronic device
CN111143216A (en) Quality report generation method, quality report generation device, quality report generation equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination