Abnormality detection method and device for monitoring equipment and monitoring equipment
By automatically comparing the projection spot position information of the fill light in the ball camera, abnormality detection of the ball camera's transmission mechanism is achieved, solving the problem of low efficiency of manual detection in the existing technology and improving detection efficiency and accuracy.
Patent Information
- Application Number
- CN202211358833.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-01
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2042-11-01
AI Technical Summary
In the prior art, abnormality detection of the ball camera transmission mechanism requires a lot of manual intervention, resulting in low test efficiency and prone to errors.
By controlling at least two ball cameras to rotate to different positions, the projection spot position information of the fill light is automatically compared to determine whether the transmission mechanism is abnormal, thereby realizing automatic detection of the transmission mechanism.
It reduces manual intervention, improves the efficiency of transmission mechanism abnormality detection, and can automatically determine the life cycle of the transmission mechanism.
Smart Images

Figure CN115753074B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the security monitoring technical field, and particularly relates to an abnormality detection method and device of a monitoring device and the monitoring device. BACKGROUND
[0002] A ball camera is a monitoring device integrating a color integrated camera, a holder, an encoder, a protective cover and other multifunctional components, and is widely applied to the security monitoring field of traffic, family, public places and the like. The ball camera can rotate through a transmission mechanism to provide a monitoring range such as 360°, and plays an important role in the security monitoring field. Therefore, the design and testing of the transmission mechanism are particularly important.
[0003] An abnormal state of the transmission mechanism is a content that needs to be focused on in testing, and usually needs to be detected manually, consuming a large amount of manpower. Therefore, how to realize abnormal judgment of the transmission mechanism while reducing manpower in testing is a technical problem to be solved in the industry. SUMMARY
[0004] The present application provides an abnormality detection method and device of a monitoring device, and a monitoring device, to realize abnormality detection of a transmission mechanism in testing and reduce manpower.
[0005] The present application provides an abnormality detection method of a monitoring device, the monitoring device comprising at least two ball cameras, the at least two ball cameras rotating based on respective corresponding transmission mechanisms; the method comprising:
[0006] controlling the at least two ball cameras to rotate from a first position to a second position, and acquiring first light spot position information; the first light spot position information being position information of a projection light spot of a light supplementing lamp of the at least two ball cameras when the at least two ball cameras are at the second position;
[0007] in a case where the first light spot position information matches second light spot position information, controlling the at least two ball cameras to rotate to the first position, and acquiring third light spot position information; the second light spot position information being position information of the projection light spot of the light supplementing lamp when the at least two ball cameras are initially at the first position; the third light spot position information being position information of the projection light spot of the light supplementing lamp when the at least two ball cameras rotate to the first position again;
[0008] in a case where the third light spot position information matches the second light spot position information, repeating all the above steps until position information of the projection light spot of the light supplementing lamp is detected to be abnormal at the first position or the second position, and then determining that a transmission mechanism of the monitoring device is abnormal;
[0009] The first position and the second position are determined based on a rotation angle range of the at least two ball cameras.
[0010] The method further includes:
[0011] One of the at least two ball cameras is taken as a detection ball camera, and a position coordinate system is established with a projection spot of a light supplement lamp of the detection ball camera as a coordinate origin;
[0012] The first spot position information is obtained by detecting, by the detection ball camera, position coordinates of projection spots of light supplement lamps of the at least two ball cameras in the position coordinate system when the at least two ball cameras are in the second position.
[0013] The method further includes:
[0014] The first ball camera and the second ball camera are controlled to rotate from the first position to the second position along a first horizontal rotation direction;
[0015] The third ball camera is controlled to rotate from the first position to the second position along a second horizontal rotation direction; and the first horizontal rotation direction and the second horizontal rotation direction are opposite rotation directions.
[0016] The method further includes:
[0017] The first ball camera is controlled to rotate from the second position to the first position along the second horizontal rotation direction;
[0018] The second ball camera and the third ball camera are controlled to rotate from the second position to the first position along the first horizontal rotation direction;
[0019] The first position and the second position are determined based on a rotation angle range of the first ball camera or the third ball camera.
[0020] The method further includes:
[0021] In a case where the first spot position information matches the second spot position information, the number of rotations is increased by 1;
[0022] In a case where it is determined that the transmission mechanism of the monitoring device is abnormal, the transmission mechanism service life of the monitoring device is determined based on the number of rotations.
[0023] According to the abnormality detection method of the monitoring device provided by the application, in a case where the position information of the projection light spot of the light supplement lamp is detected to be abnormal at the first position or the second position, the method further comprises:
[0024] Obtaining abnormal information when the abnormality is detected;
[0025] Determining, according to the abnormal information, an abnormal ball camera that rotates abnormally from the at least two ball cameras;
[0026] Controlling the abnormal ball camera to output abnormal alarm information.
[0027] According to the abnormality detection method of the monitoring device provided by the application, the abnormal information comprises that no projection light spot is detected, a projection light spot of a part of the ball cameras is detected, or the position information of the detected projection light spot does not match the second light spot position information; and the determining, according to the abnormal information, of the abnormal ball camera that rotates abnormally from the at least two ball cameras comprises:
[0028] In a case where the abnormal information is that no projection light spot is detected, a ball camera that is used to detect the position information of the projection light spot of the light supplement lamp from the at least two ball cameras is determined as the abnormal ball camera;
[0029] In a case where the abnormal information is that a projection light spot of a part of the ball cameras is detected, a ball camera that does not detect a projection light spot from the at least two ball cameras is determined as the abnormal ball camera;
[0030] In a case where the abnormal information is that the position information of the detected projection light spot does not match the second light spot position information, a ball camera corresponding to the projection light spot that does not match the second light spot position information from the at least two ball cameras is determined as the abnormal ball camera.
[0031] The application further provides an abnormality detection device of a monitoring device, wherein the monitoring device comprises at least two ball cameras that rotate based on respective transmission mechanisms; and the device comprises:
[0032] A first control module is configured to control the at least two ball cameras to rotate from a first position to a second position, and to obtain first light spot position information; the first light spot position information is position information of a projection light spot of a light supplement lamp of the at least two ball cameras when the at least two ball cameras are at the second position;
[0033] a second control module, configured to control the at least two ball machines to rotate to the first position and acquire third light spot position information if the first light spot position information matches the second light spot position information; the second light spot position information is position information of a projection light spot of the light supplement lamp when the at least two ball machines are initially at the first position; and the third light spot position information is position information of a projection light spot of the light supplement lamp when the at least two ball machines rotate to the first position again;
[0034] a processing module, configured to make the first control module and the second control module repeat work until position information of the projection light spot of the light supplement lamp at the first position or the second position is detected to be abnormal, so as to determine that a transmission mechanism of the monitoring device is abnormal if the third light spot position information matches the second light spot position information.
[0035] The first position and the second position are determined based on a rotation angle range of the at least two ball machines.
[0036] The application further provides a monitoring device, which comprises a holder body, at least two ball machines, a transmission mechanism corresponding to each ball machine, a memory, a processor and a computer program stored in the memory and executable on the processor.
[0037] The at least two ball machines are connected to the holder body through the respective corresponding transmission mechanisms.
[0038] The transmission mechanism is configured to control the ball machine connected thereto to rotate under the control of the processor.
[0039] The processor implements the abnormality detection method of the monitoring device as described above when executing the computer program.
[0040] The application further provides a computer readable storage medium, which stores a computer program, and the computer program is executable on a processor to implement the abnormality detection method of the monitoring device as described above.
[0041] The application further provides a computer program product, which comprises a computer program, and the computer program is executable on a processor to implement the abnormality detection method of the monitoring device as described above.
[0042] The abnormality detection method and device of the monitoring equipment and the monitoring equipment provided by the application can control at least two dome cameras of the monitoring equipment to rotate from a first position to a second position, and compare the position information of the projection light spot of the light supplement lamp of the at least two dome cameras in the second position with the position information of the projection light spot of the light supplement lamp in the first position for the first time. If they match, it indicates that the rotation of the transmission mechanism is normal, and then the at least two dome cameras are continuously rotated to the first position. Similarly, it is judged whether the position information of the projection light spot of the light supplement lamp matches the position information of the projection light spot of the light supplement lamp in the first position for the first time. If they match, it indicates that the rotation is normal, and the previous steps are continuously repeated until the position information of the projection light spot of the light supplement lamp is detected to be abnormal in the first position or the second position, and then it is determined that the rotation of the transmission mechanism is abnormal. In this way, in the process of controlling the rotation of the dome cameras of the monitoring equipment, the position information of the projection light spot of the light supplement lamp of each dome camera is used to automatically judge whether the transmission mechanism of the monitoring equipment is abnormal, so as to realize the abnormality detection of the transmission mechanism, and the transmission mechanisms of the dome cameras of the monitoring equipment can be detected at the same time, which not only reduces the labor, but also improves the detection efficiency of the abnormality detection of the transmission mechanism. BRIEF DESCRIPTION OF DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0044] Figure 1 is one of the flowcharts of the abnormality detection method of the monitoring equipment provided by the embodiments of the application;
[0045] Figure 2 is the second flowchart of the abnormality detection method of the monitoring equipment provided by the embodiments of the application;
[0046] Figure 3 is a schematic diagram of the position coordinate system of the projection light spot in the embodiments of the application;
[0047] Figure 4 is a schematic diagram of the structure of the monitoring equipment provided by the embodiments of the application;
[0048] Figure 5 is the third flowchart of the abnormality detection method of the monitoring equipment provided by the embodiments of the application;
[0049] Figure 6 is a schematic diagram of the structure of the abnormality detection device of the monitoring equipment provided by the embodiments of the application. DETAILED DESCRIPTION
[0050] In order to make the objects, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be described clearly and completely below in conjunction with the drawings in the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection scope of the present application.
[0051] It should be noted that the serial numbers of components or objects in the present application, such as "first", "second", etc., are only used to distinguish the described objects, and do not have any sequence or technical meaning.
[0052] The ball machine can realize 360° area monitoring, and therefore, the design and related test verification of the rotating shaft part of the ball machine are particularly important, wherein the rotating shaft part of the ball machine can be a transmission mechanism. On the one hand, in the test process of the transmission mechanism, the abnormal state is the content that needs to be focused on, and therefore, how to judge the abnormality of the transmission mechanism is an important technical problem to be solved in the industry. On the other hand, in the test of the service life cycle of the transmission mechanism, the abnormal state of the transmission mechanism can be used to determine the service life cycle of the transmission mechanism. In the related art, the test of the service life of the transmission mechanism of a single ball machine can be that the ball machine is set to a cruising state, the time for one rotation is determined, and then the ball machine is controlled to continuously operate until abnormal rotation, such as the cable of the transmission mechanism being stuck, broken or the like, and the rotation being disconnected. The time interval from the start of operation to the disconnection of the rotation is counted, and then divided by the time for one rotation, and the number of rotations is obtained, which is the service life cycle of the transmission mechanism of the ball machine.
[0053] When the test method is used to test the service life cycle of the transmission mechanism of the ball machine, a tester needs to be on duty in order to record the end time of the test and calculate the number of rotations. On the one hand, the manual recording of data is easy to cause recording errors, leading to deviation of the test results. On the other hand, for a multi-ball integrated machine (a monitoring device integrating at least two ball machines), since it integrates at least two ball machines, the manual test method needs to control and judge each ball machine separately, and the test efficiency is low. On the other hand, the manual recording of data needs to consume a lot of time, and the tester needs to calculate the service life cycle of the transmission mechanism according to the recorded data, and the calculation amount is large; moreover, the tester needs to be on duty during the whole test process, and if the tester fails to record the stop time in time when the ball machine rotates abnormally, the service life cycle of the transmission mechanism will be misjudged.
[0054] Based on this, the embodiment of the present application provides an abnormality detection method of a monitoring device, which can control at least two ball machines to rotate from a first position to a second position, compare the position information of the projection light spot of the light supplement lamp of the at least two ball machines in the second position with the position information of the projection light spot of the light supplement lamp in the first position for the first time, if they match, it indicates that the transmission mechanism rotates normally, then continue to control the at least two ball machines to rotate from the second position to the first position, compare the position information of the projection light spot of the light supplement lamp of the at least two ball machines when they rotate to the first position again with the position information of the projection light spot of the light supplement lamp in the first position for the first time, if they match, repeat the above steps until the position information of the projection light spot of the light supplement lamp is detected to be abnormal in the first position or the second position, then determine that the transmission mechanism of the monitoring device is abnormal. The position information of the projection light spot of the light supplement lamp of each ball machine in the monitoring device can be used to automatically judge whether the transmission mechanism is abnormal, and the abnormality detection of the multi-ball integrated machine is realized.
[0055] Further, the rotation number can be added by 1 when the first light spot position information matches the second light spot position information, and the service life of the transmission mechanism of the monitoring device can be determined based on the accumulated rotation number when it is determined that the transmission mechanism of the monitoring device is abnormal. The service life of the transmission mechanism of the multi-ball integrated machine is automatically tested.
[0056] The embodiment of the present application will be described below. Figures 1-5 The abnormality detection method of the monitoring device of the present application is described.
[0057] Figure 1 An exemplary flowchart of the abnormality detection method of the monitoring device provided by the embodiment of the present application is shown, referring to Figure 1 The abnormality detection method of the monitoring device can include the following steps 110-130.
[0058] Step 110: Control at least two ball machines to rotate from a first position to a second position, and obtain first light spot position information.
[0059] In the embodiment of the present application, the monitoring device can include at least two ball machines, which can rotate based on respective corresponding transmission mechanisms. The transmission mechanism can be a slip ring, which can also be called a rotary electrical interface or an electrical rotary joint, which can transmit power and data signals from a fixed structure to a rotating structure when rotating. Each ball machine in the monitoring device has a respective rotation angle range, which can be determined based on the structure, position, etc. of the ball machine in the monitoring device, and the first position and the second position can be determined based on the rotation angle range of each ball machine in the monitoring device.
[0060] For example, the smallest rotation angle range of the at least two ball machines can be obtained, for example, the obtained smallest rotation angle range is M~N, then the angle M can be determined as the first position and the angle N can be determined as the second position. In this way, the first position and the second position can be used to limit the limit position of the ball machine in the smallest rotation angle range, and ensure that the ball machine rotates in the rotatable angle range.
[0061] The first light spot position information is the position information of the projection light spot of the light compensation lamp of the at least two ball machines of the monitoring device when the at least two ball machines are in the second position. The light compensation lamp can be an infrared light compensation lamp.
[0062] In the embodiment of the application, a light compensation lamp can be arranged on each ball machine of the monitoring device, and the light compensation lamp can rotate with the ball machine. A light collecting device such as a sharp structure or a light collector can be arranged on the light compensation lamp of each ball machine, and the light beam emitted by the light compensation lamp can be collected into a spot by the light collecting device and projected onto a projection surface such as a wall or a curtain to form a projection light spot. In this way, the current rotation angle position of the corresponding ball machine can be obtained by detecting the position information of the projection light spot of the light compensation lamp.
[0063] Step 120: in the case that the first light spot position information matches the second light spot position information, rotating the at least two ball machines to the first position and obtaining third light spot position information.
[0064] The second light spot position information is the position information of the projection light spot of the light compensation lamp of the at least two ball machines of the monitoring device when the at least two ball machines are initially in the first position.
[0065] Before the test starts, each ball machine in the monitoring device can be rotated to the first position, and the lines of sight of the ball machines are parallel at the first position. At this time, the position information of the projection light spot of each light compensation lamp when each ball machine is in the first position can be recorded to obtain the second light spot position information. For example, one of the ball machines can be taken as a detection ball machine, and a coordinate system can be established with the projection light spot of the light compensation lamp of the detection ball machine as the coordinate origin. Then, the coordinate position of the projection light spot of the light compensation lamp of the other ball machines in the coordinate system can be obtained based on the coordinate system to obtain the second light spot position information.
[0066] After obtaining the first light spot position information, the first light spot position information can be compared with the second light spot position information. If the two match, for example, they are consistent, that is, for each dome camera, the position information of the light spot projected by its fill light at the second position is the same as the position information of the light spot projected at the first position, then each dome camera of the monitoring device has rotated normally to the second position and completed one rotation. At this time, at least two dome cameras of the monitoring device can be controlled to rotate back to the first position, and the position information of the light spot projected by each fill light when each dome camera is in the first position can be obtained to obtain third light spot position information. The third light spot position information can be used to determine whether each dome camera has rotated normally to the first position. The third light spot position information is the position information of the light spots projected by the fill light of the at least two dome cameras of the monitoring device when the at least two dome cameras have rotated back to the first position.
[0067] Step 130: When the third light spot position information matches the second light spot position information, repeat all the above steps until an abnormality is detected in the position information of the projection light spot of the fill light at the first position or the second position, and determine that the transmission mechanism of the monitoring device is abnormal.
[0068] After obtaining the third light spot position information, the third light spot position information can be compared with the second light spot position information. If the two match, for example, they are consistent, it means that each ball camera of the monitoring device has returned to the first position normally, and steps 110 to 120 are repeated until the position information of the projection light spot of the fill light is detected to be abnormal at the first position or the second position, for example, no projection light spot is detected, the projection light spot of some ball cameras is detected, or all projection light spots are detected but the position information of the projection spot does not match the second light spot position information, then it is determined that the transmission mechanism of the monitoring device is abnormal, indicating that there is an abnormal rotation of the ball camera, such as a jam or a broken cable, etc. At this time, the test can be ended, and the abnormality of the transmission mechanism during the test is determined.
[0069] The abnormality detection method of the monitoring device provided by the embodiment of the present application can control at least two dome cameras of the monitoring device to rotate from a first position to a second position, and compare the position information of the projection light spot of the light supplement lamp of the at least two dome cameras in the second position with the position information of the projection light spot of the light supplement lamp in the first position for the first time. If they match, it indicates that the rotation of the transmission mechanism is normal, and then the at least two dome cameras are continuously rotated to the first position. Similarly, it is judged whether the position information of the projection light spot of the light supplement lamp matches the position information of the projection light spot of the light supplement lamp in the first position for the first time. If they match, it indicates that the rotation is normal, and the previous steps are continuously repeated until the position information of the projection light spot of the light supplement lamp is detected to be abnormal in the first position or the second position, and then it is determined that the rotation of the transmission mechanism is abnormal. In this way, in the process of controlling the rotation of the dome cameras of the monitoring device, the position information of the projection light spot of the light supplement lamp of each dome camera is used to automatically judge whether the rotation of the transmission mechanism is abnormal, so as to realize the abnormality detection of the transmission mechanism, and the transmission mechanisms of the dome cameras of the monitoring device can be detected at the same time, which not only reduces the labor, but also improves the detection efficiency of the abnormality detection of the transmission mechanism.
[0070] Based on Figure 1 The method of the corresponding embodiment, Figure 2 The second flowchart of the abnormality detection method of the monitoring device provided by the embodiment of the present application is exemplarily shown, and the abnormality detection method of the monitoring device can include steps 210-240 as shown in the figure. Figure 2
[0071] Step 210: control at least two dome cameras to rotate from a first position to a second position, and obtain first light spot position information.
[0072] Step 220: in the case that the first light spot position information matches the second light spot position information, add 1 to the rotation number.
[0073] In the case that the first light spot position information matches the second light spot position information, it indicates that each dome camera of the monitoring device is normally rotated to the second position, and one rotation is completed, and the rotation number can be accumulated.
[0074] Step 230: control at least two dome cameras to rotate to a first position, and obtain third light spot position information.
[0075] The third light spot position information is the position information of the projection light spot of the light supplement lamp of the at least two dome cameras of the monitoring device when the at least two dome cameras are rotated to the first position again.
[0076] After the number of rotations is added by 1, the at least two gimbals of the monitoring device can be controlled to rotate to the first position again, and the position information of the projection light spots of the light compensation lamps when the gimbals are at the first position is acquired to obtain third light spot position information, which can be used to determine whether the gimbals rotate to the first position normally.
[0077] In a case where the third light spot position information matches the second light spot position information, all the above steps are repeatedly executed until the position information of the projection light spots of the light compensation lamps at the first position or the second position is detected to be abnormal, and the service life of the transmission mechanism of the monitoring device is determined based on the number of rotations.
[0078] In a case where the third light spot position information matches the second light spot position information, it indicates that each gimbals of the monitoring device is normally homed to the first position, and the previous steps 210 to 230 are repeatedly executed until the position information of the projection light spots of the light compensation lamps at the first position or the second position is detected to be abnormal, which indicates that the rotation of the gimbals is abnormal, and the test is ended at this time, and the service life of the transmission mechanism of the monitoring device is determined based on the accumulated number of rotations.
[0079] The service life test method of the transmission mechanism of the monitoring device provided by the embodiment can automatically determine whether the transmission mechanism is normal and automatically accumulate the number of rotations by using the position information of the projection light spots of the light compensation lamps of the gimbals during the process of controlling the gimbals of the monitoring device to rotate simultaneously, realize the automatic test of the service life of the transmission mechanism of the monitoring device, and test the gimbals simultaneously to improve the test efficiency.
[0080] Based on Figure 1 Or Figure 2 The abnormality detection method of the monitoring device of the corresponding embodiment can include the following steps.
[0081] For example, the monitoring device includes three gimbals, i.e., gimbal 1, gimbal 2 and gimbal 3, gimbal 1 is taken as a detection gimbal, and the position coordinate system is established by taking the projection light spot of the light compensation lamp of gimbal 1 as the coordinate origin. Figure 3 An example is shown in the schematic diagram of the position coordinate system of the projection light spot, and the schematic diagram of the position coordinate system of the projection light spot is shown in FIG. 2. Figure 3As shown, the projection light spots of the light supplement lamps of the ball machine 1, the ball machine 2 and the ball machine 3 are light spots O, B and C respectively, and a triangle is formed among the three light spots. A position coordinate system xOy is established with the light spot A as the coordinate origin and the AB side as the x-axis. The ball machine 1 can determine the O point coordinate (0, 0), the B point coordinate (x1, 0) and the C point coordinate (x2, y2) according to the position coordinate system, and obtain the first light spot position information.
[0082] Correspondingly, obtaining the third light spot position information can include: detecting the position coordinates of the projection light spots of the light supplement lamps of the at least two ball machines in the position coordinate system when the at least two ball machines are detected to be rotated to the first position, and obtaining the third light spot position information.
[0083] In this way, by taking one ball machine in the monitoring device as a detection ball machine, and establishing a position coordinate system with the projection light spot of the light supplement lamp of the detection ball machine as the coordinate origin, the position information of the projection light spots corresponding to each ball machine when each ball machine of the monitoring device is rotated to the first position or the second position is detected by the detection ball machine, so that the automatic detection of the projection light spot position information can be realized.
[0084] Based on Figure 1 Or Figure 2 The abnormality detection method of the monitoring device of the corresponding embodiment can include: controlling at least two ball machines to rotate from a first position to a second position; and detecting the position information of the projection light spots of the light supplement lamps of the at least two ball machines in the position coordinate system when the at least two ball machines are detected to be rotated to the first position or the second position.
[0085] In an optional embodiment, the second ball machine can be a ball machine capable of 360° rotation, so that the second ball machine can be controlled to rotate in the same rotation direction to alternate between the first position and the second position. Correspondingly, controlling the at least two ball machines to rotate to the first position can include: controlling the first ball machine to rotate from the second position to the first position along the second horizontal rotation direction; and controlling the second ball machine and the third ball machine to rotate from the second position to the first position along the first horizontal rotation direction; wherein the first position and the second position are determined based on the rotation angle range of the first ball machine or the third ball machine.
[0086] Based on Figure 1 Or Figure 2The abnormality detection method of the monitoring device of the corresponding embodiment, in an example embodiment, the state of each dome camera is detected when each dome camera rotates to the first position or the second position, to determine whether each dome camera rotates to the first position or the second position normally, if an abnormality occurs, the abnormal dome camera that occurs the abnormality can be determined according to the abnormality information, and the abnormal dome camera is controlled to output abnormal alarm information to remind the test personnel that an abnormality has occurred. Specifically, in the case of detecting abnormal position information of the projection light spot of the light supplement lamp at the first position or the second position, the abnormality detection method of the monitoring device can further include: obtaining abnormality information when the abnormality is detected; determining the abnormal dome camera that rotates abnormally among the at least two dome cameras according to the abnormality information; and controlling the abnormal dome camera to output abnormal alarm information. The abnormal alarm information may, for example, be at least one of an alarm sound and an alarm signal light flashing, but is not limited thereto.
[0087] In an optional implementation, the abnormality information can include not detecting the projection light spot, detecting the projection light spot of part of the dome cameras, or the position information of the detected projection light spot not matching the second light spot position information. Correspondingly, determining the abnormal dome camera that rotates abnormally among the at least two dome cameras according to the abnormality information can include:
[0088] In the case of the abnormality information being not detecting the projection light spot, the dome camera among the at least two dome cameras that is used to detect the position information of the projection light spot of the light supplement lamp is determined as the abnormal dome camera;
[0089] In the case of the abnormality information being detecting the projection light spot of part of the dome cameras, the dome camera among the at least two dome cameras that does not detect the projection light spot is determined as the abnormal dome camera;
[0090] In the case of the abnormality information being the position information of the detected projection light spot not matching the second light spot position information, the dome camera corresponding to the projection light spot that does not match the second light spot position information among the at least two dome cameras is determined as the abnormal dome camera.
[0091] For example, taking the monitoring device as including dome camera 1, dome camera 2, and dome camera 3, in combination with Figure 3 , it is assumed that at the second position, dome camera 1 does not detect the projection light spot, indicating that dome camera 1 has a rotation abnormality, and the alarm of dome camera 1 can be controlled to emit an alarm sound. If dome camera 1 only detects its own projection light spot O and the projection light spot C corresponding to dome camera 3, but does not detect projection light spot B, it can be determined that dome camera 2 has a rotation abnormality, and the alarm of dome camera 2 can be controlled to emit an alarm sound. If dome camera 1 detects three projection light spots O, B, and C, but the position information of the three projection light spots does not match the second light spot position information, for example, the position information of projection light spot C does not match the position information at the first position, it can be determined that dome camera 3 has a rotation abnormality, and the alarm of dome camera 3 can be controlled to emit an alarm sound.
[0092] In this way, by taking one of the ball cameras in the monitoring device as a detection ball camera, the projection light spot of the light compensation lamp is detected by the detection ball camera, and the ball camera with rotation abnormity can be determined according to the detection result and an alarm is given to locate the transmission mechanism with abnormity and timely remind the tester.
[0093] In the embodiment of the present application, the monitoring device can be a multi-ball all-in-one machine, that is, a device in which at least two ball cameras are integrated, which can include a holder body, at least two ball cameras, a transmission mechanism corresponding to each ball camera, a memory and a processor, and the at least two ball cameras can be connected to the holder body through the respective corresponding transmission mechanisms. Based on this, in combination with the above-mentioned method embodiments, the following will take the monitoring device including three ball cameras as an example to further illustrate the abnormal detection method of the monitoring device provided by the embodiment of the present application.
[0094] Figure 4 An exemplary structural diagram of the monitoring device provided by the embodiment of the present application is shown, referring to Figure 4 The monitoring device can include a holder body 10, a first ball camera 21, a second ball camera 22, a third ball camera 23, a first transmission mechanism 31, a second transmission mechanism 32, a third transmission mechanism 33, a memory 40 and a processor 50. The first ball camera 21 can be connected to the first connection position of the holder body 10 through the first transmission mechanism 31, the second ball camera 22 can be connected to the second connection position of the holder body 10 through the second transmission mechanism 32, and the third ball camera 23 can be connected to the third connection position of the holder body 10 through the third transmission mechanism 33. Each transmission mechanism can control the rotation of the ball camera connected thereto under the control of the processor 50. The memory 40 can store a computer program, and the processor 50 can call the logical instructions of the computer program stored in the memory 40 to execute the abnormal detection method of the monitoring device described in each embodiment provided by the embodiment of the present application. The monitoring device can also include a communication interface, and the processor 50, the memory 40 and the communication interface can communicate with each other through a communication bus.
[0095] Wherein, the logic instructions in the memory 40 can be realized in the form of software function units and sold or used as independent products, and can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the parts that contribute to the prior art or the parts of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium and includes several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0096] In Figure 4 In the monitoring device of the corresponding embodiment, a light supplementing lamp is included on each of the first dome camera 21, the second dome camera 22, and the third dome camera 23, and a light collecting device can be arranged on each light supplementing lamp to project a light spot on a wall by collecting the light beam emitted by the light supplementing lamp. The rotation angle range of the first dome camera 21 and the third dome camera 23 is -M1°~N1°, and the rotation angle range of the second dome camera 22 is 0°~360°; wherein (N1+M1) is less than 360°, the direction of the first dome camera 21 and the third dome camera 23 turning to the second dome camera 22 is a negative direction, and -M1° indicates that the first dome camera 21 is turned to the direction of the second dome camera 22 by M1°.
[0097] In the present example embodiment, the rotation direction of the first dome camera 21 to the third dome camera 23 can be defined as the second horizontal rotation direction, and the direction opposite to the second horizontal rotation direction can be defined as the first horizontal rotation direction. For example, in Figure 4 , the direction indicated by the arrow below the first dome camera 21 is defined as the first horizontal rotation direction, and the direction indicated by the arrow below the third dome camera 23 is defined as the second horizontal rotation direction.
[0098] In the present example embodiment, the first dome camera 21, the second dome camera 22, and the third dome camera 23 rotate at the same speed.
[0099] In this example embodiment, the first ball camera 21 is used as a detection ball camera. Before the test, the first ball camera 21 and the third ball camera 23 can be rotated to the extreme position close to the side of the second ball camera 22, that is, rotated to the angle position of -M1°, and the second ball camera 22 is rotated to the angle position of (360°-M1°). The positions of the three ball cameras in this state can be defined as the first position. In this first position, the position information of the projection light spots of the fill lights of the three ball cameras can be obtained through the first ball camera 21 to obtain the second light spot position information. For example, the projection light spots of the fill lights of the three ball cameras can be as follows Figure 3 As shown, combined Figure 3 , the light spots O, B and C are the projection light spots of the first ball camera 21, the third ball camera 23 and the second ball camera 22 respectively. Figure 4 The three projection spots O, B and C can form an isosceles triangle, and the side length of OC is equal to the side length of BC. Figure 3 The coordinates of each projection light spot in the coordinate system are determined by the position coordinate system shown, thereby obtaining second light spot position information. This second light spot position information can be recorded, for example, by the first dome camera 21 serving as a detection dome camera, or the processor 50 can save this second light spot position information to the memory 40 and retrieve it from the memory 40 when in use.
[0100] After the test starts, the first ball camera 21 and the third ball camera 23 can be controlled to rotate away from the second ball camera 22. That is, the first ball camera 21 rotates along the first horizontal rotation direction, and the third ball camera 23 rotates along the second horizontal rotation direction until they rotate to the other extreme position and pause, that is, when they rotate to the angle position of N°, they pause. The rotation direction of the second ball camera 22 is consistent with that of the first ball camera 21, and it also pauses when it rotates to N°. The rotation directions of the three ball cameras can be seen in Figure 4 As shown by the arrows, the position state to which the three ball cameras are rotated can be defined as the second position. In the second position, the position information of the projection light spots of the three ball cameras' fill lights can also be obtained by the first ball camera 21 to obtain the first light spot position information.
[0101] For example, if the rotation angle range of the first and third dome cameras 21 and 23 is -20° to 200°, and the rotation angle range of the second dome camera 22 is 0° to 360°, then the first position indicates that the first and third dome cameras 21 and 23 are both rotated to -20°, and the second dome camera 22 is rotated to 340°. The second position indicates that the first, second, and third dome cameras 21, 22, and 23 are all rotated to 200°.
[0102] In an alternative embodiment, the three ball machines can be controlled to rotate in the same horizontal rotation direction, such as rotating in the same direction as the first ball machine 21. Correspondingly, in the first position, the third ball machine 23 can be turned to a position of 200°; in the second position, the third ball machine 23 can be turned to a position of -20°.
[0103] Based on Figure 4 , Figure 5 An exemplary flowchart of a third monitoring device anomaly detection method provided by an embodiment of the application is shown in FIG. 3. As shown in FIG. 3, the monitoring device anomaly detection method can include the following steps 501-511. Figure 5
[0104] Step 501: Control the three ball machines to rotate from a first position to a second position.
[0105] In the initial state, the three ball machines of the monitoring device are in the first position, and the processor 50 controls the first ball machine 21 and the second ball machine 22 to rotate in the first horizontal rotation direction, and controls the third ball machine 23 to rotate in the second horizontal rotation direction, until the three ball machines rotate from the first position to the second position.
[0106] For example, the rotation angle range of the first ball machine 21 and the third ball machine 23 is -20°-200°, and the rotation angle range of the second ball machine 22 is 0°-360°. The processor 50 controls the first ball machine 21 and the third ball machine 23 to rotate from the position of -20° to the position of 200° in the direction away from the second ball machine 22, and controls the second ball machine 22 to rotate from the position of 340° to the position of 200° in the same rotation direction as the first ball machine 21.
[0107] Step 502: Determine whether the first ball machine detects three projection light spots.
[0108] After the processor 50 controls the three ball machines of the monitoring device to rotate from the first position to the second position, it is determined whether the first ball machine detects three projection light spots. If three projection light spots are not detected, i.e., no projection light spot is detected, only one projection light spot is detected, or only two projection light spots are detected, steps 510 and 511 are performed; if three projection light spots are detected, step 503 is performed.
[0109] Step 503: Obtain position information of the three projection light spots to obtain first light spot position information.
[0110] The processor 50 can obtain the position information of the three projection light spots through the first ball machine 21 to obtain the first light spot position information.
[0111] Step 504: Determine whether the first light spot position information is consistent with the second light spot position information.
[0112] After the processor 50 obtains the first light spot position information, the processor 50 can read the recorded second light spot position information, compare the obtained first light spot position information with the second light spot position information, and determine whether the two are consistent. If the two are consistent, it indicates that the three ball machines are normally rotated to the second position, and then step 505 is performed. If the two are not consistent, it indicates that the rotation of the three ball machines is abnormal, and then steps 510 and 511 are performed.
[0113] Step 505: increasing the rotation number by 1.
[0114] If the first light spot position information is consistent with the second light spot position information, it indicates that the three ball machines are normally rotated to the second position, and the transmission mechanisms corresponding to the ball machines are all working normally. In this way, the correct position information of the projection light spot can be detected at both the first position and the second position, a complete rotation test is completed, and the rotation number can be increased by 1.
[0115] Step 506: controlling the three ball machines to rotate from the second position to the first position.
[0116] After recording the rotation number at the second position, the processor 50 controls the first ball machine 21 to rotate from the second position to the first position along the second horizontal rotation direction, controls the third ball machine 23 to rotate from the second position to the first position along the first horizontal rotation direction, and controls the second ball machine 22 to continue rotating along the first horizontal rotation direction until the first position.
[0117] For example, the rotation angle range of the first ball machine 21 and the third ball machine 23 is -20°-200°, and the rotation angle range of the second ball machine 22 is 0°-360°. The processor 50 controls the first ball machine 21 and the third ball machine 23 to rotate from the position of 200° to the position of -20° along the direction close to the second ball machine 22, respectively, and controls the second ball machine 22 to continue rotating from the position of 200° to the position of 340° along the previous rotation direction.
[0118] For example, when the three ball machines are all at the position of 200°, a preset time period can be paused for information acquisition and judgment, and then the second ball machine 22 continues to rotate along the previous rotation direction to the position of 340° and stops, and the first ball machine 21 and the third ball machine 23 rotate in the opposite direction to the position of -20°. In this process, the second ball machine 22 rotates an angle of 80° less than the first ball machine 21 and the third ball machine 23. Therefore, the rotation speed of the three ball machines can be determined based on the rotation difference of 80°, such as 20° per second or 40° per second. According to the rotation speed, the time length that the second ball machine 22 needs to wait after returning to the first position can be further determined, so as to ensure that the three ball machines all return to the first position before the first ball machine 21 starts to detect the projection light spot.
[0119] Step 507: Determine whether the first ball machine detects three projection light spots.
[0120] If three projection light spots are not detected, i.e., no projection light spot is detected, only one projection light spot is detected, or only two projection light spots are detected, steps 510 and 511 are executed; if three projection light spots are detected, step 508 is executed.
[0121] Step 508: Obtain position information of the three projection light spots to obtain third light spot position information.
[0122] Step 509: Determine whether the third light spot position information is consistent with the second light spot position information. If consistent, continue to execute step 501; if not consistent, execute steps 510 and 511.
[0123] Step 510: Stop the test and output abnormal alarm information.
[0124] If no projection light spot is detected at the first position or the second position, it indicates that the rotation of the first ball machine 21 for detecting the projection light spot is abnormal, such as a cable of a transmission mechanism (such as a slip ring) is broken and cannot rotate to the specified position, at which time the test can be stopped and the alarm of the first ball machine 21 is controlled to output an alarm sound to prompt the tester.
[0125] If only one projection light spot is detected at the first position or the second position, such as only the projection light spot of the first ball machine 21 is detected, it indicates that the rotation of the second ball machine 22 and the third ball machine 23 is abnormal, at which time the test can be stopped and the alarms of the second ball machine 22 and the third ball machine 23 are controlled to output alarm sounds to prompt the tester.
[0126] If only two projection light spots are detected at the first position or the second position, such as only the projection light spots of the first ball machine 21 and the second ball machine 22 are detected, it indicates that the rotation of the third ball machine 23 is abnormal, at which time the test can be stopped and the alarm of the third ball machine 23 is controlled to output an alarm sound to prompt the tester.
[0127] If three projection light spots are detected at the first position or the second position, but the position information of the three projection light spots is not consistent with the second light spot position information, such as the position information of the projection light spot of the second ball machine 22 is not consistent with the corresponding position information in the second light spot position information, it indicates that the rotation of the second ball machine 22 is abnormal, at which time the test can be stopped and the alarm of the second ball machine 22 is controlled to output an alarm sound to prompt the tester.
[0128] Step 511: Determine the service life of the transmission mechanism of the monitoring device based on the number of rotations.
[0129] When three projected light spots are not detected in the first position or the second position, or three projected light spots are detected but the position information of the three projected light spots is inconsistent with the second light spot position information, the transmission mechanism life cycle of the monitoring device can be determined based on the current accumulated rotation number, for example, the current accumulated rotation number is determined as the transmission mechanism life cycle of the monitoring device.
[0130] The abnormality detection method of the monitoring device provided by the embodiment of the application can automatically determine whether the transmission mechanism is normal by using the position information of the projected light spots of the light supplementing lamps of the ball cameras during the process of controlling the ball cameras to rotate simultaneously, realize the abnormality detection of the transmission mechanism, and automatically accumulate the rotation number, thereby realizing the automatic testing of the transmission mechanism life cycle of the multi-ball integrated machine, and the simultaneous abnormality detection and transmission mechanism life cycle testing of the ball cameras can be realized, which not only reduces the labor, but also improves the efficiency of the abnormality detection and testing.
[0131] Figure 5 The method of the corresponding embodiment is described by taking a monitoring device including three ball cameras as an example. In the embodiment of the application, the monitoring device can also include two ball cameras. For example, referring to Figure 4 , the monitoring device can include a first ball camera 21 and a second ball camera 22, or a first ball camera 21 and a third ball camera 23. In the case where the monitoring device includes two ball cameras, the two ball cameras can be controlled to rotate in the same horizontal rotation direction, and the rotation angle range of each ball camera can be determined based on the structure of the monitoring device. Accordingly, the first position and the second position can be determined according to the rotation angle range of each ball camera. Based on the concept of the application, whether the rotation of the transmission mechanism of the ball camera is abnormal can be determined by judging whether two projected light spots are detected, and whether the position information of the detected two projected light spots matches the initial position information.
[0132] It can be understood that for any multi-ball integrated machine, the abnormality of the transmission mechanism of the whole machine can be determined and the transmission mechanism life cycle of the whole machine can be tested based on the concept of the application, thereby realizing the automatic testing of the transmission mechanism life cycle.
[0133] The abnormality detection device of the monitoring device provided by the application will be described below. The abnormality detection device of the monitoring device described below can be correspondingly referred to the abnormality detection method of the monitoring device described above.
[0134] Figure 6 An exemplary structure schematic diagram of the abnormality detection device of the monitoring device provided by the embodiment of the application is shown, the monitoring device includes at least two ball cameras, and the at least two ball cameras can rotate based on respective transmission mechanisms. Referring toFigure 6 As shown, the abnormality detection apparatus 600 of the monitoring device can include a first control module 610, a second control module 620, and a processing module 630. The first control module 610 can be configured to control the at least two dome cameras to rotate from the first position to the second position, and obtain first light spot position information, wherein the first light spot position information is position information of the projection light spot of the light supplement lamp of the at least two dome cameras when the at least two dome cameras are at the second position. The second control module 620 can be configured to, in a case where the first light spot position information matches second light spot position information, control the at least two dome cameras to rotate to the first position, and obtain third light spot position information, wherein the second light spot position information is position information of the projection light spot of the light supplement lamp when the at least two dome cameras are at the first position for the first time, and the third light spot position information is position information of the projection light spot of the light supplement lamp when the at least two dome cameras rotate to the first position again. The processing module 630 can be configured to, in a case where it is determined that the third light spot position information matches the second light spot position information, cause the first control module and the second control module to repeat the work until it is detected that the position information of the projection light spot of the light supplement lamp at the first position or the second position is abnormal, and then determine that the transmission mechanism of the monitoring device is abnormal. The first position and the second position are determined based on a rotation angle range of the at least two dome cameras.
[0135] In an example embodiment, the second control module 620 is further configured to, in a case where the first light spot position information matches the second light spot position information, increase the number of rotations by 1. The processing module 630 is further configured to, in a case where it is determined that the transmission mechanism of the monitoring device is abnormal, determine a service life of the transmission mechanism of the monitoring device based on the number of rotations.
[0136] In an example embodiment, the first control module 610 can include a creating unit configured to take one of the at least two dome cameras as a detection dome camera, and establish a position coordinate system with the projection light spot of the light supplement lamp of the detection dome camera as a coordinate origin. The first control module 610 can further include a detecting unit configured to detect, by the detection dome camera, position coordinates of the projection light spot of the light supplement lamp of the at least two dome cameras in the position coordinate system when the at least two dome cameras are at the second position, and obtain the first light spot position information.
[0137] In an example embodiment, the monitoring device can include a first dome camera, a second dome camera, and a third dome camera, and the projection light spots of the light supplement lamps of the first dome camera, the second dome camera, and the third dome camera form a triangle. Correspondingly, the first control module 610 can include a first control unit configured to control the first dome camera and the second dome camera to rotate from the first position to the second position along a first horizontal rotation direction, and a second control unit configured to control the third dome camera to rotate from the first position to the second position along a second horizontal rotation direction, wherein the first horizontal rotation direction and the second horizontal rotation direction are opposite rotation directions.
[0138] In an example embodiment, the second ball machine is a 360° rotating ball machine. Correspondingly, the second control module 620 can include: a third control unit configured to control the first ball machine to rotate from the second position to the first position along the second horizontal rotation direction; and a fourth control unit configured to control the second ball machine and the third ball machine to rotate from the second position to the first position along the first horizontal rotation direction; wherein the first position and the second position are determined based on a rotation angle range of the first ball machine or the third ball machine.
[0139] In an example embodiment, the anomaly detection apparatus 600 of the monitoring device can further include: an acquisition module configured to, in a case where the position information of the projection light spot of the light supplement lamp is detected to be abnormal at the first position or the second position, acquire abnormal information at the time of detection of the abnormality; a determination module configured to determine, according to the abnormal information, an abnormal ball machine that is abnormal in rotation from among the at least two ball machines; and a third control module configured to control the abnormal ball machine to output abnormal alarm information.
[0140] In an example embodiment, the abnormal information includes that the projection light spot is not detected, that the projection light spot of a partial ball machine is detected, or that the position information of the detected projection light spot does not match the second light spot position information. Correspondingly, the determination module can include: a first determination unit configured to, in a case where the abnormal information is that the projection light spot is not detected, determine, from among the at least two ball machines, a ball machine that is used to detect the position information of the projection light spot of the light supplement lamp as the abnormal ball machine; a second determination unit configured to, in a case where the abnormal information is that the projection light spot of a partial ball machine is detected, determine, from among the at least two ball machines, a ball machine that does not detect the projection light spot as the abnormal ball machine; and a third determination unit configured to, in a case where the abnormal information is that the position information of the detected projection light spot does not match the second light spot position information, determine, from among the at least two ball machines, a ball machine corresponding to the projection light spot that does not match the second light spot position information as the abnormal ball machine.
[0141] In another aspect, the present application also provides a computer program product comprising a computer program, which can be stored on a computer readable storage medium, such as a non-transitory computer readable storage medium, and which, when executed by a processor, enables a computer to perform the method for detecting an abnormality of a monitoring device provided by any of the above method embodiments. The method may, for example, comprise: controlling at least two dome cameras to rotate from a first position to a second position, and obtaining first light spot position information, which is position information of a projection light spot of a light supplement lamp of the at least two dome cameras when the at least two dome cameras are in the second position; in the case that the first light spot position information matches second light spot position information, controlling the at least two dome cameras to rotate to the first position, and obtaining third light spot position information; in the case that the third light spot position information matches the second light spot position information, repeatedly performing all the above steps until an abnormality is detected in the position information of the projection light spot of the light supplement lamp at the first position or the second position, and then determining that a transmission mechanism of the monitoring device is abnormal; wherein the second light spot position information is position information of the projection light spot of the light supplement lamp when the at least two dome cameras are initially in the first position; the third light spot position information is position information of the projection light spot of the light supplement lamp when the at least two dome cameras are rotated to the first position again; and the first position and the second position are determined based on a rotation angle range of the at least two dome cameras.
[0142] In another aspect, the present application also provides a computer readable storage medium having a computer program stored thereon, which, when executed by a processor, enables a computer to perform the method for detecting an abnormality of a monitoring device provided by any of the above method embodiments. The method may, for example, comprise: controlling at least two dome cameras to rotate from a first position to a second position, and obtaining first light spot position information, which is position information of a projection light spot of a light supplement lamp of the at least two dome cameras when the at least two dome cameras are in the second position; in the case that the first light spot position information matches second light spot position information, controlling the at least two dome cameras to rotate to the first position, and obtaining third light spot position information; in the case that the third light spot position information matches the second light spot position information, repeatedly performing all the above steps until an abnormality is detected in the position information of the projection light spot of the light supplement lamp at the first position or the second position, and then determining that a transmission mechanism of the monitoring device is abnormal; wherein the second light spot position information is position information of the projection light spot of the light supplement lamp when the at least two dome cameras are initially in the first position; the third light spot position information is position information of the projection light spot of the light supplement lamp when the at least two dome cameras are rotated to the first position again; and the first position and the second position are determined based on a rotation angle range of the at least two dome cameras.
[0143] For example, the computer readable storage medium may, for example, be a non-transitory computer readable storage medium.
[0144] The device embodiments described above are merely illustrative, wherein the units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed to multiple network units. Part or all of the modules can be selected to achieve the purposes of the embodiments according to actual needs. Those skilled in the art can understand and implement without creative labor.
[0145] Through the description of the above embodiments, those skilled in the art can clearly understand that the embodiments can be realized by means of software and necessary universal hardware platforms, and of course can also be realized by hardware. Based on such understanding, the above technical solutions can be embodied in the form of software products, and the computer software products can be stored in a computer readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and include a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.
[0146] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for detecting anomalies in a monitoring device, characterized in that: The monitoring device includes at least two ball cameras, and the at least two ball cameras rotate based on their respective corresponding transmission mechanisms; the method includes: Controlling the at least two ball cameras to rotate from a first position to a second position, and obtaining first light spot position information; the first light spot position information is position information of the projection light spots of the fill lights of the at least two ball cameras when the at least two ball cameras are in the second position; When the first light spot position information matches the second light spot position information, controlling the at least two dome cameras to rotate to the first position and acquiring third light spot position information; the second light spot position information is position information of the light spot projected by the fill light when the at least two dome cameras are initially in the first position; the third light spot position information is position information of the light spot projected by the fill light when the at least two dome cameras rotate back to the first position; When the third light spot position information matches the second light spot position information, repeating all the above steps until abnormality is detected in the position information of the projection light spot of the fill light at the first position or the second position, and determining that the transmission mechanism of the monitoring device is abnormal; The first position and the second position are determined based on the rotation angle range of the at least two ball cameras.
2. The abnormality detection method for monitoring equipment according to claim 1, characterized in that: The acquiring the first light spot position information includes: One of the at least two ball cameras is used as a detection ball camera, and a position coordinate system is established with the projection spot of the fill light of the detection ball camera as the coordinate origin; The first light spot position information is obtained by detecting, by the detection ball camera, the position coordinates of the projection light spots of the fill lights of the at least two ball cameras in the position coordinate system when the at least two ball cameras are detected to be in the second position.
3. The abnormality detection method for monitoring equipment according to claim 1, characterized in that: The monitoring device includes a first dome camera, a second dome camera, and a third dome camera, wherein projection spots of fill lights of the first dome camera, the second dome camera, and the third dome camera form a triangle; and controlling the at least two dome cameras to rotate from the first position to the second position includes: Controlling the first ball camera and the second ball camera to rotate from the first position to the second position along a first horizontal rotation direction; And the third ball camera is controlled to rotate from the first position to the second position along a second horizontal rotation direction; wherein the first horizontal rotation direction and the second horizontal rotation direction are opposite rotation directions.
4. The abnormality detection method for monitoring equipment according to claim 3, characterized in that: The second ball camera is a 360° rotating ball camera; and controlling the at least two ball cameras to rotate to the first position includes: controlling the first ball camera to rotate from the second position to the first position along the second horizontal rotation direction; and controlling the second ball camera and the third ball camera to rotate from the second position to the first position along the first horizontal rotation direction; The first position and the second position are determined based on a rotation angle range of the first ball camera or the third ball camera.
5. The abnormality detection method for monitoring equipment according to claim 1, characterized in that: Also includes: When the first light spot position information matches the second light spot position information, the number of rotations is increased by 1; In a case where it is determined that the transmission mechanism of the monitoring device is abnormal, a life cycle of the transmission mechanism of the monitoring device is determined based on the number of rotations.
6. The abnormality detection method for monitoring equipment according to any one of claims 1 to 5, characterized in that: When abnormal position information of the projection spot of the fill light is detected at the first position or the second position, the method further includes: Obtain exception information when an exception is detected; Determine, according to the abnormal information, an abnormal ball camera with abnormal rotation among the at least two ball cameras; Control the abnormal ball camera to output abnormal alarm information.
7. The abnormality detection method for monitoring equipment according to claim 6, characterized in that: The abnormal information includes that the projection light spot is not detected, the projection light spot of part of the ball camera is detected, or the position information of the detected projection light spot does not match the second light spot position information; and determining the abnormal ball camera with abnormal rotation among the at least two ball cameras according to the abnormal information includes: In a case where the abnormal information is that the projection light spot is not detected, determining the ball camera used for detecting the position information of the projection light spot of the fill light among the at least two ball cameras as the abnormal ball camera; In a case where the abnormal information is that projection spots of some of the dome cameras are detected, the dome camera in which the projection spots are not detected among the at least two dome cameras is determined as the abnormal dome camera; When the abnormal information is that the position information of the detected projection light spot does not match the second light spot position information, the ball camera corresponding to the projection light spot that does not match the second light spot position information among the at least two ball cameras is determined as the abnormal ball camera.
8. An abnormality detection device for monitoring equipment, characterized in that: The monitoring device includes at least two ball cameras, and the at least two ball cameras rotate based on their respective corresponding transmission mechanisms; the device includes: a first control module, configured to control the at least two dome cameras to rotate from a first position to a second position, and obtain first light spot position information; the first light spot position information is position information of the projection light spots of the fill lights of the at least two dome cameras when the at least two dome cameras are in the second position; a second control module, configured to control the at least two dome cameras to rotate to the first position and obtain third light spot position information when the first light spot position information matches the second light spot position information; the second light spot position information is position information of the light spot projected by the fill light when the at least two dome cameras are initially in the first position; and the third light spot position information is position information of the light spot projected by the fill light when the at least two dome cameras rotate back to the first position; a processing module, configured to, when it is determined that the third light spot position information matches the second light spot position information, cause the first control module and the second control module to repeatedly operate until an abnormality is detected in the position information of the projection light spot of the fill light at the first position or the second position, and thereby determine that the transmission mechanism of the monitoring device is abnormal; The first position and the second position are determined based on the rotation angle range of the at least two ball cameras.
9. A monitoring device, characterized in that: The system comprises a pan-tilt head body, at least two ball cameras, a transmission mechanism corresponding to each ball camera, a memory, a processor, and a computer program stored in the memory and executable on the processor; The at least two ball cameras are connected to the pan / tilt head body via the respective corresponding transmission mechanisms; The transmission mechanism is used to control the rotation of the ball camera connected thereto under the control of the processor; When the processor executes the computer program, the abnormality detection method for the monitoring device according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the abnormality detection method for the monitoring device according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Detection method and device of PTZ failure
CN105763868A
Alarm device of network video monitoring device
CN215722360U