State switching method and device for linkage camera equipment and storage medium

By obtaining the brightness changes of the linked camera equipment, determining the target switching mode and updating the switching threshold, the problem of poor synchronization of the state switching of the fixed-point sensor and the moving-point sensor in the linked camera equipment is solved, and the synchronization and consistency of the image effects are achieved.

CN120602762APending Publication Date: 2025-09-05GUANGDONG AIRPORT MANAGEMENT GRP CO LTD ENG CONSTR HEADQUARTERS +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410220535.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-28
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

In existing linked camera devices, the state switching synchronization between fixed-point sensors and moving-point sensors is poor, resulting in a large difference in image effects. In addition, the state switching time is inaccurate in scenes with uneven brightness, which increases power consumption.

Method used

By obtaining the brightness changes of the scene in which the linked camera device is located, the target switching mode is determined, and based on the mode, the switching thresholds of the fixed-point sensor and the moving-point sensor are dynamically updated, including the fixed-point switching threshold and the moving-point switching threshold, and the states of the two are switched synchronously.

Benefits of technology

The state switching accuracy and synchronization of fixed-point sensors and moving-point sensors are improved, the gap in image effects is narrowed, and the relative consistency of the image effects of the two is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120602762A_ABST
    Figure CN120602762A_ABST
Patent Text Reader

Abstract

The invention provides a state switching method and device for linkage camera equipment and a storage medium, and relates to the technical field of video surveillance, and the method comprises the steps: obtaining the brightness change condition of a scene where the linkage camera equipment is located; determining a target switching mode of the linkage camera device based on the brightness change condition; updating a target switching threshold based on the target switching mode; the target switching threshold comprises a fixed point switching threshold corresponding to a fixed point sensor and / or a moving point switching threshold corresponding to a moving point sensor in the linkage camera equipment; and synchronously switching the states of the fixed point sensor and the moving point sensor based on the updated target switching threshold. According to the invention, the accuracy and synchronism of state switching of the two sensors can be improved, and the difference between image effects corresponding to the two sensors is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of video surveillance technology, and in particular to a state switching method, device and storage medium for linked camera equipment. Background Art

[0002] At present, the application scenarios of linkage camera equipment in the security field are becoming more and more extensive. The linkage camera equipment includes two sensors, one is a fixed point sensor and the other is a dynamic point sensor, such as Figure 1 As shown, the field of view of the lens corresponding to the fixed-point sensor is larger, which makes the fixed-point monitoring area larger, but the fixed-point monitoring area is fixed. The field of view of the lens corresponding to the moving-point sensor is smaller, which makes the fixed-point monitoring area smaller, but the moving-point monitoring area can monitor the area of ​​user interest at will within the monitoring area, or perform intelligent tracking as the lens corresponding to the moving-point sensor rotates.

[0003] However, due to the complexity of the monitoring scene, the moving point sensor may rotate to an overly bright or dark area, resulting in a large difference in the image effects corresponding to the two sensors. At this time, state switching such as fill light control and filter switching is required.

[0004] In the prior art, on the one hand, two sensors independently switch states using their own state switching methods. However, when switching states independently, the synchronization between the two sensors is poor, resulting in a significant difference in the image effects corresponding to the two sensors. On the other hand, fixed-point sensors or dynamic-point sensors are used as the basis for state switching to synchronize the states of the two sensors. However, when the linked camera device is in a scene with uneven brightness, if the state switching is based on the sensor monitoring the darker area, the state switching time is shortened, increasing the power consumption of the linked camera device. If the state switching is based on the sensor monitoring the brighter area, the state switching time is delayed, and the image effects corresponding to the two sensors still differ significantly. Summary of the Invention

[0005] The present invention provides a state switching method, device and storage medium for linked camera equipment, which are used to solve the defects in the prior art of poor state switching synchronization of two sensors and a large difference in image effects of the two sensors, improve the accuracy and synchronization of the state switching of the two sensors, and narrow the gap in the image effects corresponding to the two sensors.

[0006] The present invention provides a state switching method for a linked camera device, comprising:

[0007] Obtain the brightness changes of the scene where the linked camera device is located;

[0008] Determining a target switching mode of the linked camera device based on the brightness change;

[0009] Based on the target switching mode, updating the target switching threshold; the target switching threshold includes a fixed-point switching threshold corresponding to the fixed-point sensor in the linked camera device and / or a moving-point switching threshold corresponding to the moving-point sensor;

[0010] Based on the updated target switching threshold, the states of the fixed-point sensor and the moving-point sensor are synchronously switched.

[0011] According to the state switching method for a linked camera device provided by the present invention, updating the target switching threshold based on the target switching mode includes:

[0012] Based on the target switching mode, acquiring target image parameters corresponding to the fixed-point sensor and the moving-point sensor respectively;

[0013] Determining a first estimated illuminance corresponding to the fixed-point sensor based on target image parameters corresponding to the fixed-point sensor, and determining a second estimated illuminance corresponding to the moving-point sensor based on current image parameters corresponding to the moving-point sensor;

[0014] The target switching threshold is updated based on the target switching mode, the first estimated illuminance, and the second estimated illuminance.

[0015] According to the state switching method for a linked camera device provided by the present invention, the fixed-point switching threshold includes a first preset threshold corresponding to the fixed-point sensor, and the moving-point switching threshold includes a second preset threshold corresponding to the moving-point sensor;

[0016] The updating of the target switching threshold based on the target switching mode, the first estimated illuminance, and the second estimated illuminance includes:

[0017] When the target switching mode is a switching mode that changes from a first brightness to a second brightness, comparing the first estimated illuminance with the first preset threshold, and comparing the second estimated illuminance with the second preset threshold, and updating a target shutter value based on the first comparison results, the target shutter value including a first shutter value in the target image parameter corresponding to the fixed-point sensor or a second shutter value in the target image parameter corresponding to the moving-point sensor, and the first brightness is greater than the second brightness;

[0018] The target switching threshold is updated based on the updated target shutter value and the target estimated illuminance, the target estimated illuminance including the first estimated illuminance or the second estimated illuminance.

[0019] According to the state switching method for a linked camera device provided by the present invention, updating the target shutter value based on the first comparison result includes:

[0020] If the first comparison result includes that the first estimated illuminance is less than the first preset threshold and the second estimated illuminance is greater than a second preset threshold, updating the first shutter value corresponding to the fixed-point sensor;

[0021] When the first comparison result includes that the first estimated illuminance is greater than the first preset threshold and the second estimated illuminance is less than a second preset threshold, the second shutter value corresponding to the moving point sensor is updated.

[0022] According to the state switching method for a linked camera device provided by the present invention, updating the target switching threshold based on the updated target shutter value and the target estimated illumination includes:

[0023] When the fixed-point sensor and the moving-point sensor meet a first preset condition, updating a second preset threshold of the moving-point sensor based on a second preset constant corresponding to the moving-point sensor, the second estimated illuminance, and the second preset threshold;

[0024] When the fixed-point sensor and the moving-point sensor meet a second preset condition, updating a first preset threshold of the fixed-point sensor based on a first preset constant corresponding to the fixed-point sensor, the first estimated illuminance, and the first preset threshold;

[0025] The first preset condition includes:

[0026] The first shutter value corresponding to the fixed-point sensor is less than the first shutter upper limit value, and the second estimated illuminance corresponding to the moving-point sensor is less than the second preset threshold value for a first preset number of consecutive times; or

[0027] The first shutter value corresponding to the fixed-point sensor is greater than or equal to the first shutter upper limit value, and the second estimated illuminance corresponding to the moving-point sensor is greater than the second preset threshold value;

[0028] The second preset condition includes:

[0029] The second shutter value corresponding to the moving point sensor is less than the second shutter upper limit value, and the first estimated illumination corresponding to the fixed point sensor is less than the first preset threshold value for a first preset number of consecutive times; or

[0030] The second shutter value corresponding to the moving point sensor is greater than or equal to the second shutter upper limit value, and the first estimated illuminance corresponding to the fixed point sensor is greater than the first preset threshold.

[0031] According to the state switching method for a linked camera device provided by the present invention, the fixed-point switching threshold further includes a third preset threshold corresponding to the fixed-point sensor, and the moving-point switching threshold further includes a fourth preset threshold corresponding to the moving-point sensor;

[0032] The updating of the target switching threshold based on the target switching mode, the first estimated illuminance, and the second estimated illuminance includes:

[0033] When the target switching mode is a switching mode changing from the second brightness to the first brightness, comparing the first estimated illuminance with the third preset threshold, and comparing the second estimated illuminance with the fourth preset threshold, and updating the third preset threshold or the fourth preset threshold based on the second comparison result to obtain a target condition threshold, where the first brightness is greater than the second brightness;

[0034] The first estimated illuminance or the second estimated illuminance is compared with the updated target condition threshold, and based on a third comparison result, a third preset threshold corresponding to the fixed-point sensor and a fourth preset threshold corresponding to the moving-point sensor are updated.

[0035] According to the state switching method for a linked camera device provided by the present invention, the target condition threshold comprises a first condition threshold corresponding to the fixed-point sensor, or a second condition threshold corresponding to the moving-point sensor;

[0036] The updating of the third preset threshold or the fourth preset threshold based on the second comparison result to obtain the target condition threshold includes:

[0037] If the second comparison result includes that the first estimated illuminance is less than the third preset threshold and the second estimated illuminance is greater than the fourth preset threshold, updating the fourth preset threshold of the moving point sensor to obtain the second condition threshold corresponding to the moving point sensor;

[0038] When the second comparison result includes that the first estimated illuminance is greater than the third preset threshold and the second estimated illuminance is less than the fourth preset threshold, the third preset threshold of the fixed-point sensor is updated to obtain the first condition threshold corresponding to the fixed-point sensor.

[0039] According to the state switching method for a linked camera device provided by the present invention, updating the third preset threshold corresponding to the fixed-point sensor and the fourth preset threshold corresponding to the moving-point sensor based on the third comparison result includes:

[0040] When the third comparison result includes: the first estimated illuminance is greater than the first condition threshold for a second preset number of consecutive times, or the second estimated illuminance is greater than the second condition threshold, the third preset threshold of the fixed-point sensor is updated based on the third preset constant of the fixed-point sensor, the third preset threshold and the first estimated illuminance, and the fourth preset threshold of the moving-point sensor is updated based on the fourth preset constant of the moving-point sensor, the fourth preset threshold and the second estimated illuminance.

[0041] The present invention also provides a state switching device for a linked camera device, comprising:

[0042] An acquisition module is used to obtain brightness changes of the scene where the linked camera device is located;

[0043] a determination module, configured to determine a target switching mode of the linked camera device based on the brightness change;

[0044] An updating module, configured to update a target switching threshold based on the target switching mode; the target switching threshold including a fixed-point switching threshold corresponding to a fixed-point sensor in the linked camera device and / or a moving-point switching threshold corresponding to a moving-point sensor;

[0045] A synchronous switching module is used to synchronously switch the states of the fixed-point sensor and the moving-point sensor based on the updated target switching threshold.

[0046] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for state switching of a linked camera device as described above is implemented.

[0047] The state switching method, device and storage medium for a linked camera device provided by the present invention determine a target switching module of the linked camera device by obtaining brightness changes of a scene in which the linked camera device is located, and dynamically update a target switching threshold composed of a fixed-point switching threshold corresponding to a fixed-point sensor and / or a moving-point switching threshold corresponding to a moving-point sensor in the linked camera device according to the target switching module, so as to improve the accuracy and synchronization of switching the states of the fixed-point sensor and the moving-point sensor according to the target switching threshold, thereby ensuring that the image effects corresponding to the fixed-point sensor and the moving-point sensor are equivalent. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0049] Figure 1 This is a schematic diagram of the monitoring area of ​​the linked camera equipment provided by the existing technology;

[0050] Figure 2 This is one of the flow charts of the state switching method for a linked camera device provided by an embodiment of the present invention;

[0051] Figure 3 This is a second flow chart of a method for state switching of a linked camera device provided by an embodiment of the present invention;

[0052] Figure 4 This is a third flow chart of a method for state switching of a linked camera device provided by an embodiment of the present invention;

[0053] Figure 5 1 is a schematic structural diagram of a state switching device for a linked camera device provided by an embodiment of the present invention;

[0054] Figure 6 It is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0055] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0056] In view of the problems in the prior art of poor synchronization in state switching of two sensors and large differences in image effects of the two sensors, an embodiment of the present invention provides a state switching method for a linked camera device. Figure 2 This is one of the flow charts of the state switching method for the linked camera device provided by the embodiment of the present invention, such as Figure 2 As shown, the method includes:

[0057] Step 210: Obtain brightness changes of the scene where the linked camera device is located.

[0058] Optionally, the linked camera device refers to two linked camera devices, one for fixed camera device and the other for rotating camera device, such as a gun-ball linked device including a high-definition network camera and a dome-shaped high-definition network camera. Under pre-set prevention requirements, it can combine video surveillance and behavior analysis technology to achieve both "seeing clearly" and "catching" moving targets, and assist security personnel in quickly obtaining monitoring warning information. Among them, the high-definition network camera includes fixed-point sensors, such as Figure 1 As shown, the fixed-point sensor has a larger field of view, resulting in a larger fixed-point monitoring area but a fixed position. However, the spherical HD network camera includes a moving-point sensor, which has a smaller field of view, resulting in a smaller moving-point monitoring area. However, this moving-point monitoring area can rotate up, down, left, and right within the monitoring area as the spherical HD network camera rotates. This monitoring area represents the maximum field of view within the movable range of the moving-point sensor. It should be noted that both the moving-point sensor and the fixed-point sensor are used to convert the optical signal passing through the lens into an electrical signal, which is then converted into a digital signal by the analog-to-digital converter inside the camera to generate an image.

[0059] Optionally, the HD IP camera and the dome HD IP camera in the linked camera device can be of the same or different device categories. That is, the HD IP camera and the dome HD IP camera can both be infrared devices, or both can be non-infrared devices. Alternatively, the HD IP camera can be an infrared device and the dome HD IP camera can be a non-infrared device, or alternatively, the HD IP camera can be a non-infrared device and the dome HD IP camera can be an infrared device. It should be noted that the filters in the infrared device include an infrared cutoff filter and a full-transmittance filter. When the scene is bright and bright, the infrared cutoff filter operates to filter out infrared light, restoring the true color of the scene on the sensor and generating a clear color image. When the scene is dim and light is insufficient, the full-transmittance filter operates to allow all light to pass through, allowing the sensor to capture more ambient light, improving the contrast and clarity of the black and white image on the sensor, and thus generating a clear black and white image. The filters in the non-infrared device only include an infrared cutoff filter.

[0060] Optionally, the scene in which the linked camera device is located can be a scene with uniform brightness changes, or a scene with non-uniform brightness changes. Scenes with uniform brightness changes may include: indoor ambient lighting scenes, daytime outdoor scenes, or studio shooting scenes, etc.; scenes with non-uniform brightness changes may include: night street lighting scenes, outdoor sunset scenes, outdoor sunrise scenes, etc.

[0061] Optionally, the brightness change can be from a first brightness to a second brightness, or from a second brightness to the first brightness, where the first brightness is greater than the second brightness. For example, when the linked camera device is located in a nighttime streetlight-lit scene, and the moving-point sensor in the linked camera device rotates from monitoring the streetlight directly to a completely black background away from the streetlight, the first brightness corresponding to the streetlight being turned on is brighter, while the second brightness corresponding to the completely black background away from the streetlight is darker. In this case, the states corresponding to the fixed-point sensor and the moving-point sensor in the linked camera device need to be switched. This state switching refers to adjusting the light reaching each of the two sensors, that is, adjusting the light signals corresponding to the two sensors, and thereby adjusting the image effects generated by the two sensors based on their respective light signals, thereby narrowing the gap between the image effects corresponding to the two sensors. If the cameras corresponding to the fixed-point sensor and the moving-point sensor each have an infrared device, the state switching of the infrared device can be achieved by controlling the fill light corresponding to the infrared device to turn on or off, and by controlling the filter corresponding to the infrared device to switch. If there is a non-infrared device in the camera corresponding to each of the fixed-point sensor and the moving-point sensor, the state of the non-infrared device can be switched by simply controlling the fill light corresponding to the non-infrared device to be turned on or off.

[0062] Step 220: Determine a target switching mode of the linked camera device based on the brightness change.

[0063] Specifically, based on the brightness change, the target switching mode for the state switching of the linked camera device can be determined. When the brightness change is a change from a first brightness to a second brightness, that is, when the scene brightness gradually decreases from the brighter first brightness until it reaches the darker second brightness, the target switching mode of the linked camera device can be determined to be a switching mode that changes from the first brightness to the second brightness, for example, a day-night switching mode. When the brightness change is a change from the second brightness to the first brightness, that is, when the scene brightness gradually increases from the darker second brightness until it reaches the brighter first brightness, the target switching mode of the linked camera device can be determined to be a switching mode that changes from the second brightness to the first brightness, for example, a day-night switching mode.

[0064] Step 230: Update the target switching threshold based on the target switching mode; the target switching threshold includes the fixed-point switching threshold corresponding to the fixed-point sensor in the linked camera device and / or the moving-point switching threshold corresponding to the moving-point sensor.

[0065] Specifically, after determining the target switching mode, if the target switching mode is a switching mode that changes from a first brightness to a second brightness, the fixed-point switching threshold corresponding to the fixed-point sensor or the moving-point switching threshold corresponding to the moving-point sensor in the linked camera device may be updated. If the target switching mode is a switching mode that changes from the second brightness to the first brightness, the fixed-point switching threshold corresponding to the fixed-point sensor and the moving-point switching threshold corresponding to the moving-point sensor in the linked camera device may be updated to synchronously switch the corresponding states of the fixed-point sensor and the moving-point sensor in the linked camera device according to the target switching threshold.

[0066] Furthermore, updating the target switching threshold based on the target switching mode includes:

[0067] Based on the target switching mode, acquiring target image parameters corresponding to the fixed-point sensor and the moving-point sensor respectively;

[0068] Determining a first estimated illuminance corresponding to the fixed-point sensor based on target image parameters corresponding to the fixed-point sensor, and determining a second estimated illuminance corresponding to the moving-point sensor based on current image parameters corresponding to the moving-point sensor;

[0069] The target switching threshold is updated based on the target switching mode, the first estimated illuminance, and the second estimated illuminance.

[0070] Specifically, after the target switching mode is determined and the exposure is stable, target image parameters corresponding to the fixed-point sensor and the target image parameters corresponding to the moving-point sensor in the target switching mode are obtained every n frames of image, where n is an integer greater than or equal to 1.

[0071] It should be noted that the target image parameters of the fixed-point sensor include the first coefficient k1, the first brightness value lumaA, the first shutter value shutterA and the first gain value gainA corresponding to the fixed-point sensor. The first coefficient is a coefficient used to calculate the first estimated illuminance. The first brightness value is a brightness value calculated based on the raw data of the fixed-point sensor. The raw data is the original data after the fixed-point sensor converts the captured light signal into a digital signal. The raw data contains the original brightness information of the image; the first shutter value is determined based on the frame rate of the fixed-point sensor, that is, when the target switching mode is a switching mode from a first brightness to a second brightness, the first shutter value shutterA is determined based on the default frame rate FPSA of the fixed-point sensor, shutterA=1 / FPSA; when the target switching mode is a switching mode from a second brightness to a first brightness, the first shutter value is based on the minimum frame rate FPSA of the fixed-point sensor. min Determined, shutterA = 1 / FPSA minThe first gain value is the current effective gain value of the fixed-point sensor, and the higher the effective first gain value of the fixed-point sensor is, the worse the image effect corresponding to the fixed-point sensor is.

[0072] As above, the target image parameters of the moving point sensor include the second coefficient k2, the second brightness value lumaB, the second shutter value shutterB and the second gain value gainB corresponding to the moving point sensor, the second coefficient is the coefficient used to calculate the second estimated illuminance; the second brightness value is the brightness value calculated based on the raw data of the moving point sensor, the raw data is the original data after the moving point sensor converts the captured light signal into a digital signal, and the raw data contains the original brightness information of the image; the second shutter value is determined based on the frame rate of the moving point sensor, that is, when the target switching mode is a switching mode from a first brightness to a second brightness, the second shutter value is determined based on the default frame rate FPSB of the moving point sensor, shutterB=1 / FPSB; when the target switching mode is a switching mode from a second brightness to a first brightness, the first shutter value shutterB is based on the minimum frame rate FPSB of the moving point sensor. min Determined, shutterB = 1 / FPSB min The second gain value is the current effective gain value of the moving point sensor, and the higher the effective second gain value of the moving point sensor is, the worse the image effect corresponding to the moving point sensor is.

[0073] Then, using formula (1), the first estimated illuminance corresponding to the fixed-point sensor is calculated according to the target image parameters corresponding to the fixed-point sensor. Formula (1) is:

[0074]

[0075] Wherein, valueA represents the first estimated illuminance corresponding to the fixed-point sensor, k1 represents the first coefficient corresponding to the fixed-point sensor, lumaA represents the first brightness value corresponding to the fixed-point sensor, shutterA represents the first shutter value corresponding to the fixed-point sensor, and gainA represents the first gain value corresponding to the fixed-point sensor.

[0076] And using formula (2), according to the target image parameters corresponding to the moving point sensor, the second estimated illumination corresponding to the moving point sensor is calculated. Formula (2) is:

[0077]

[0078] Among them, valueB represents the second estimated illuminance corresponding to the moving point sensor, k1 represents the second coefficient corresponding to the moving point sensor, lumaB represents the second brightness value corresponding to the moving point sensor, shutterB represents the second shutter value corresponding to the moving point sensor, and gainB represents the second gain value corresponding to the moving point sensor.

[0079] After determining the first estimated illuminance and the second estimated illuminance, for different target switching modules, the target switching threshold can be updated according to the first estimated illuminance and the second estimated illuminance, so as to synchronously switch the states of the fixed-point sensor and the moving-point sensor according to the target switching threshold, thereby improving the synchronization and accuracy of the state switching, and thereby ensuring that the image effects of the fixed-point sensor and the moving-point sensor are equivalent.

[0080] Further, Figure 3 This is a second flow chart of a method for switching states of a linked camera device provided by an embodiment of the present invention. Figure 3 As shown, the fixed-point switching threshold includes a first preset threshold corresponding to the fixed-point sensor, and the moving-point switching threshold includes a second preset threshold corresponding to the moving-point sensor;

[0081] The updating of the target switching threshold based on the target switching mode, the first estimated illuminance, and the second estimated illuminance includes:

[0082] When the target switching mode is a switching mode that changes from a first brightness to a second brightness, comparing the first estimated illuminance with the first preset threshold, and comparing the second estimated illuminance with the second preset threshold, and updating a target shutter value based on the first comparison results, the target shutter value including a first shutter value in the target image parameter corresponding to the fixed-point sensor or a second shutter value in the target image parameter corresponding to the moving-point sensor, and the first brightness is greater than the second brightness;

[0083] The target switching threshold is updated based on the updated target shutter value and the target estimated illuminance, the target estimated illuminance including the first estimated illuminance or the second estimated illuminance.

[0084] Specifically, when determining that the target switching mode is a switching mode that changes from a first brightness to a second brightness, as the scene brightness continues to decrease, the first estimated illuminance can be compared with the first preset threshold in the fixed-point switching threshold, and the second estimated illuminance can be compared with the second preset threshold in the moving-point switching threshold. The first comparison result obtained reflects the field of view corresponding to the fixed-point sensor and the moving-point sensor, and updates the first shutter value corresponding to the fixed-point sensor or the second shutter value corresponding to the moving-point sensor under different field of view conditions. Then, based on the target shutter value and the target estimated illuminance, the target switching threshold is updated to synchronously switch the states of the fixed-point sensor and the moving-point sensor according to the target switching threshold.

[0085] Further, such as Figure 3 As shown, updating the target shutter value based on the first comparison result includes:

[0086] If the first comparison result includes that the first estimated illuminance is less than the first preset threshold and the second estimated illuminance is greater than a second preset threshold, updating the first shutter value corresponding to the fixed-point sensor;

[0087] When the first comparison result includes that the first estimated illuminance is greater than the first preset threshold and the second estimated illuminance is less than a second preset threshold, the second shutter value corresponding to the moving point sensor is updated.

[0088] Specifically, in a switching mode in which the target switching mode changes from a first brightness to a second brightness, as the scene brightness continues to decrease, two field of view situations will occur. The first field of view situation is that the field of view of the fixed-point monitoring area corresponding to the fixed-point sensor is darker, and the field of view of the moving-point monitoring area corresponding to the moving-point sensor is brighter, that is, the first estimated illuminance is less than the first preset threshold, and the second estimated illuminance is greater than the second preset threshold. In this field of view situation, it can be considered that the fixed-point sensor reaches the first preset threshold when the state is switched, and the moving-point sensor does not reach the second preset threshold. At this time, the first gain value of the fixed-point sensor is kept unchanged. At the same time, in order to improve the switching synchronization of the fixed-point sensor and the moving-point sensor, the image brightness corresponding to the fixed-point sensor can be increased, that is, the image brightness corresponding to the fixed-point sensor is increased by increasing the first shutter value corresponding to the fixed-point sensor, and the upper limit value of the first shutter value is the first shutter upper limit value, that is, 1 / FPSA. min At this time, the calculation of the first estimated illuminance can be stopped, and the states of the fixed-point sensor and the moving-point sensor can be maintained without switching operations. In addition, the second field of view situation is that the field of view of the fixed-point monitoring area corresponding to the fixed-point sensor is brighter, and the field of view of the moving-point monitoring area corresponding to the moving-point sensor is darker, that is, the first estimated illuminance is greater than the first preset threshold, and the second estimated illuminance is less than the second preset threshold. In this field of view situation, it can be considered that the moving-point sensor reaches the second preset threshold when the state is switched, and the fixed-point sensor does not reach the first preset threshold. At this time, the second gain value of the moving-point sensor is kept unchanged. At the same time, in order to improve the switching synchronization of the fixed-point sensor and the moving-point sensor, the image brightness corresponding to the moving-point sensor can be increased, that is, by increasing the second shutter value corresponding to the moving-point sensor to increase the image brightness corresponding to the moving-point sensor, and the upper limit value of the second shutter value is the second shutter upper limit value, that is, 1 / FPSB. min At this time, the calculation of the second estimated illuminance can be stopped, and the states of the fixed-point sensor and the moving-point sensor are maintained without performing a switching operation.

[0089] Optionally, when increasing the first shutter value corresponding to the fixed-point sensor or the second shutter value corresponding to the moving-point sensor, the first shutter value corresponding to the fixed-point sensor can be adjusted using exposure compensation corresponding to the fixed-point sensor, or the second shutter value corresponding to the moving-point sensor can be adjusted using exposure compensation corresponding to the moving-point sensor. The increase in the first shutter value or the second shutter value can be gradual.

[0090] Further, such as Figure 3 As shown, updating the target switching threshold based on the updated target shutter value and the target estimated illumination includes:

[0091] When the fixed-point sensor and the moving-point sensor meet a first preset condition, updating a second preset threshold of the moving-point sensor based on a second preset constant corresponding to the moving-point sensor, the second estimated illuminance, and the second preset threshold;

[0092] When the fixed-point sensor and the moving-point sensor meet a second preset condition, updating a first preset threshold of the fixed-point sensor based on a first preset constant corresponding to the fixed-point sensor, the first estimated illuminance, and the first preset threshold;

[0093] The first preset condition includes:

[0094] The first shutter value corresponding to the fixed-point sensor is less than the first shutter upper limit value, and the second estimated illuminance corresponding to the moving-point sensor is less than the second preset threshold value for a first preset number of consecutive times; or

[0095] The first shutter value corresponding to the fixed-point sensor is greater than or equal to the first shutter upper limit value, and the second estimated illuminance corresponding to the moving-point sensor is greater than the second preset threshold value;

[0096] The second preset condition includes:

[0097] The second shutter value corresponding to the moving point sensor is less than the second shutter upper limit value, and the first estimated illumination corresponding to the fixed point sensor is less than the first preset threshold value for a first preset number of consecutive times; or

[0098] The second shutter value corresponding to the moving point sensor is greater than or equal to the second shutter upper limit value, and the first estimated illuminance corresponding to the fixed point sensor is greater than the first preset threshold.

[0099] Specifically, in the first field of view situation described above, after the first shutter value corresponding to the fixed-point sensor is updated, as the scene brightness continues to decrease, two states may occur. The first state is that as the first shutter value gradually increases, the first shutter value corresponding to the fixed-point sensor still does not reach the first shutter upper limit, while the moving-point sensor has reached the second preset threshold for state switching for a first preset number of times n1, where n1 is an integer greater than 1. That is, the first shutter value is less than the first shutter upper limit, and the second estimated illuminance is less than the second preset threshold for a first preset number of times. The second state is that as the first shutter value gradually increases, the first shutter value corresponding to the fixed-point sensor reaches the first shutter upper limit, but the moving-point sensor still does not reach the second preset threshold for state switching. That is, the first shutter value is greater than or equal to the first shutter upper limit, and the second estimated illuminance is greater than the second preset threshold. When either of the above two states occurs, the second preset threshold of the moving-point sensor is updated using formula (3) based on the average of the second preset constant corresponding to the moving-point sensor, the second estimated illuminance, and the second preset threshold. Formula (3) is:

[0100]

[0101] Among them, THR2' represents the updated second preset threshold corresponding to the moving point sensor, THRD2 represents the second preset constant corresponding to the moving point sensor, THR2 represents the second preset threshold corresponding to the moving point sensor, and valueB represents the second estimated illuminance corresponding to the moving point sensor.

[0102] In addition, in the second field of view situation described above, after the second shutter value corresponding to the moving point sensor is updated, as the scene brightness continues to decrease, two states may occur. The first state is that as the second shutter value gradually increases, the second shutter value corresponding to the moving point sensor has not yet reached the second shutter upper limit, while the fixed point sensor has reached the first preset threshold for state switching for a first preset number of consecutive times, that is, the second shutter value is less than the second shutter upper limit, and the first estimated illuminance is less than the first preset threshold for a first preset number of consecutive times. The second state is that as the second shutter value gradually increases, the second shutter value corresponding to the moving point sensor reaches the second shutter upper limit, but the fixed point sensor has not yet reached the first preset threshold for state switching, that is, the second shutter value is greater than or equal to the second shutter upper limit, and the first estimated illuminance is greater than the first preset threshold. When either of the above two states occurs, the first preset threshold of the fixed point sensor is updated using formula (4) based on the average of the first preset constant, the first estimated illuminance, and the first preset threshold corresponding to the fixed point sensor. Formula (4) is:

[0103]

[0104] Wherein, THR1′ represents the updated first preset threshold corresponding to the fixed-point sensor, THRD1 represents the first preset constant corresponding to the fixed-point sensor, THR1 represents the first preset threshold corresponding to the fixed-point sensor, and valueA represents the first estimated illuminance corresponding to the fixed-point sensor.

[0105] Further, Figure 4 This is a flow chart of the third method for switching the state of a linked camera device provided by an embodiment of the present invention. Figure 4 As shown, updating the target switching threshold based on the target switching mode, the first estimated illuminance, and the second estimated illuminance includes:

[0106] The fixed-point switching threshold further includes a third preset threshold corresponding to the fixed-point sensor, and the moving-point switching threshold further includes a fourth preset threshold corresponding to the moving-point sensor;

[0107] When the target switching mode is a switching mode changing from the second brightness to the first brightness, comparing the first estimated illuminance with the third preset threshold, and comparing the second estimated illuminance with the fourth preset threshold, and updating the third preset threshold or the fourth preset threshold based on the second comparison result to obtain a target condition threshold, where the first brightness is greater than the second brightness;

[0108] The first estimated illuminance or the second estimated illuminance is compared with the updated target condition threshold, and based on a third comparison result, a third preset threshold corresponding to the fixed-point sensor and a fourth preset threshold corresponding to the moving-point sensor are updated.

[0109] Specifically, when determining that the target switching mode is a switching mode that changes from the second brightness to the first brightness, as the scene brightness continues to increase, the first estimated illuminance can be compared with the third preset threshold in the fixed-point switching threshold, and the second estimated illuminance can be compared with the fourth preset threshold in the moving-point switching threshold. The second comparison result obtained reflects the field of view conditions corresponding to the fixed-point sensor and the moving-point sensor, and the third preset threshold or the fourth preset threshold is updated under different field of view conditions to obtain the target condition threshold, so as to increase the third preset threshold or the fourth preset threshold and avoid asynchronous switching of the fixed-point sensor and the moving-point sensor. After determining the target condition threshold, the first estimated illuminance is compared with the target condition threshold, or the second estimated illuminance is compared with the target condition threshold to obtain a third comparison result, and based on the third comparison result, the third preset threshold corresponding to the fixed-point sensor and the fourth preset threshold corresponding to the moving-point sensor are updated to ensure that the fixed-point sensor and the moving-point sensor are switched synchronously, thereby significantly reducing the gap between the image effects of the fixed-point sensor and the moving-point sensor.

[0110] Further, such as Figure 4 As shown, the updating of the third preset threshold or the fourth preset threshold based on the second comparison result to obtain the target condition threshold includes:

[0111] The target condition threshold includes a first condition threshold corresponding to the fixed-point sensor, or a second condition threshold corresponding to the moving-point sensor;

[0112] If the second comparison result includes that the first estimated illuminance is less than the third preset threshold and the second estimated illuminance is greater than the fourth preset threshold, updating the fourth preset threshold of the moving point sensor to obtain the second condition threshold corresponding to the moving point sensor;

[0113] When the second comparison result includes that the first estimated illuminance is greater than the third preset threshold and the second estimated illuminance is less than the fourth preset threshold, the third preset threshold of the fixed-point sensor is updated to obtain the first condition threshold corresponding to the fixed-point sensor.

[0114] Specifically, when the target switching mode is a switching mode that changes from the second brightness to the first brightness, as the scene brightness continues to increase, two visual field conditions will occur. The first visual field condition is that the visual field of the fixed-point monitoring area corresponding to the fixed-point sensor is darker, and the visual field of the moving-point monitoring area corresponding to the moving-point sensor is brighter. That is, the first estimated illuminance is less than the third preset threshold, and the second estimated illuminance is greater than the fourth preset threshold. In this visual field condition, it is necessary to use formula (5) to increase the fourth preset threshold of the moving-point sensor according to the product of the fourth coefficient corresponding to the moving-point sensor and the fourth preset threshold to obtain the second conditional threshold. Formula (5) is:

[0115] THRT2=k B ×THR4

[0116] Among them, THRT2 represents the second condition threshold, k B represents the fourth coefficient corresponding to the moving point sensor, and k B >1, THR4 represents the fourth preset threshold corresponding to the moving point sensor.

[0117] In addition, the second field of view situation is that the field of view of the fixed-point monitoring area corresponding to the fixed-point sensor is brighter, and the field of view of the moving-point monitoring area corresponding to the moving-point sensor is darker. That is, the first estimated illuminance is greater than the third preset threshold, and the second estimated illuminance is less than the fourth preset threshold. In this field of view situation, it is necessary to use formula (6) to increase the third preset threshold of the fixed-point sensor according to the product of the third coefficient corresponding to the fixed-point sensor and the third preset threshold to obtain the first conditional threshold. Formula (6) is:

[0118] THRT1=k A ×THR3

[0119] Among them, THRT1 represents the first condition threshold, k A represents the third coefficient corresponding to the fixed-point sensor, and k A >1, THR3 represents the third preset threshold corresponding to the fixed-point sensor.

[0120] Further, such as Figure 4 As shown, the updating of the third preset threshold corresponding to the fixed-point sensor and the fourth preset threshold corresponding to the moving-point sensor based on the third comparison result includes:

[0121] When the third comparison result includes: the first estimated illuminance is greater than the first condition threshold for a second preset number of consecutive times, or the second estimated illuminance is greater than the second condition threshold, the third preset threshold of the fixed-point sensor is updated based on the third preset constant of the fixed-point sensor, the third preset threshold and the first estimated illuminance, and the fourth preset threshold of the moving-point sensor is updated based on the fourth preset constant of the moving-point sensor, the fourth preset threshold and the second estimated illuminance.

[0122] Specifically, when the target switching mode is a switching mode that changes from the second brightness to the first brightness, and belongs to the first field of view situation mentioned above, after increasing the fourth preset threshold, as the scene brightness continues to increase, the second estimated illuminance corresponding to the moving point sensor will be greater than the second condition threshold. To ensure the accuracy of the update of the fourth preset threshold, when the moving point sensor satisfies the second estimated illuminance greater than the second condition threshold for a second preset number of times n2, n2 is an integer greater than 1, using formula (7), based on the fourth preset constant, the fourth preset threshold and the average of the second estimated illuminance of the moving point sensor, the fourth preset threshold of the moving point sensor is updated, and using formula (8), based on the third preset constant, the third preset threshold and the first estimated illuminance of the fixed point sensor, the third preset threshold of the fixed point sensor is updated. Formula (7) is:

[0123]

[0124] Among them, THR4' represents the updated fourth preset threshold corresponding to the moving point sensor, THRD4 represents the fourth preset constant corresponding to the moving point sensor, THR4 represents the fourth preset threshold corresponding to the moving point sensor, and valueB represents the second estimated illuminance corresponding to the moving point sensor.

[0125] Formula (8) is:

[0126]

[0127] Wherein, THR3′ represents the updated third preset threshold corresponding to the fixed point sensor, THRD3 represents the third preset constant corresponding to the fixed point sensor, THR3 represents the third preset threshold corresponding to the fixed point sensor, and valueA represents the first estimated illuminance corresponding to the fixed point sensor.

[0128] In addition, in the case of the second field of view described above, after the third preset threshold is increased, as the scene brightness continues to increase, the first estimated illuminance corresponding to the fixed-point sensor will be greater than the first condition threshold. To ensure the accuracy of the update of the third preset threshold, when the fixed-point sensor satisfies the first estimated illuminance greater than the first condition threshold for a second preset number of times n2, n2 is an integer greater than 1, and the fourth preset threshold of the moving-point sensor is updated based on the fourth preset constant, the fourth preset threshold, and the average of the second estimated illuminance of the moving-point sensor using the above formula (7), and the third preset threshold of the fixed-point sensor is updated based on the third preset constant, the third preset threshold, and the first estimated illuminance of the fixed-point sensor using the above formula (8).

[0129] Step 240: Synchronously switch the states of the fixed-point sensor and the moving-point sensor based on the updated target switching threshold.

[0130] Specifically, when the target switching mode is a switching mode that changes from a first brightness to a second brightness and the first or second preset threshold is updated, or when the target switching mode is a switching mode that changes from the second brightness to the first brightness and the third or fourth preset threshold is updated, the states corresponding to the fixed and moving point sensors can be synchronously switched, that is, the fill light states of the cameras corresponding to the fixed and moving point sensors, or the fill light states and the active filters in the filters, can be synchronously switched. For example, taking the case where the cameras corresponding to the fixed and moving point sensors are both non-infrared devices, when the target switching mode is a switching mode that changes from a first brightness to a second brightness, the fixed and moving point sensors are both in daytime mode, that is, the fill lights of the cameras corresponding to the fixed and moving point sensors are both off. After updating the first or second preset threshold, the fixed and moving point sensors can be updated to nighttime mode, that is, the fill lights of the cameras corresponding to the fixed and moving point sensors are switched from off to on. Furthermore, taking the example of cameras corresponding to both the fixed-point sensor and the moving-point sensor as infrared devices, when the fixed-point sensor and the moving-point sensor switch from daytime to nighttime, in addition to switching the fill lights of the cameras corresponding to the fixed-point sensor and the moving-point sensor from off to on, the filters in the filters of the cameras corresponding to the fixed-point sensor and the moving-point sensor must also be switched to fully transparent filters for operation. If the device categories of the cameras corresponding to the fixed-point sensor and the moving-point sensor are different, the above two examples can be combined to synchronize the switching according to the device categories corresponding to the two sensors. This embodiment of the present invention is not further described here.

[0131] The state switching method for a linked camera device provided by an embodiment of the present invention determines a target switching module of the linked camera device by obtaining brightness changes of a scene in which the linked camera device is located, and dynamically updates a target switching threshold in the linked camera device composed of a fixed-point switching threshold corresponding to a fixed-point sensor and / or a moving-point switching threshold corresponding to a moving-point sensor according to the target switching module, so as to improve the accuracy and synchronization of switching the states of the fixed-point sensor and the moving-point sensor according to the target switching threshold, thereby ensuring that the image effects corresponding to the fixed-point sensor and the moving-point sensor are equivalent.

[0132] The state switching device for a linked camera device provided by the present invention is described below. The state switching device for a linked camera device described below and the state switching method for a linked camera device described above can be referred to each other.

[0133] The embodiment of the present invention further provides a state switching device for a linked camera device, Figure 5 FIG. 1 is a schematic diagram of a state switching device for a linked camera device according to an embodiment of the present invention. Figure 5As shown, the state switching device 500 for the linked camera device includes: an acquisition module 510, a determination module 520, an update module 530 and a synchronous switching module 540, wherein:

[0134] An acquisition module 510 is used to acquire brightness changes of the scene in which the linked camera device is located;

[0135] A determination module 520 is configured to determine a target switching mode of the linked camera device based on the brightness change;

[0136] An updating module 530 is configured to update a target switching threshold based on the target switching mode; the target switching threshold includes a fixed-point switching threshold corresponding to a fixed-point sensor in the linked camera device and / or a moving-point switching threshold corresponding to a moving-point sensor;

[0137] The synchronous switching module 540 is configured to synchronously switch the states of the fixed-point sensor and the moving-point sensor based on the updated target switching threshold.

[0138] The state switching device for a linked camera device provided by an embodiment of the present invention determines a target switching module of the linked camera device by obtaining brightness changes of a scene in which the linked camera device is located, and dynamically updates a target switching threshold in the linked camera device composed of a fixed-point switching threshold corresponding to a fixed-point sensor and / or a moving-point switching threshold corresponding to a moving-point sensor according to the target switching module, so as to improve the accuracy and synchronization of switching the states of the fixed-point sensor and the moving-point sensor according to the target switching threshold, thereby ensuring that the image effects corresponding to the fixed-point sensor and the moving-point sensor are equivalent.

[0139] Optionally, the updating module 530 is specifically configured to:

[0140] Based on the target switching mode, acquiring target image parameters corresponding to the fixed-point sensor and the moving-point sensor respectively;

[0141] Determining a first estimated illuminance corresponding to the fixed-point sensor based on target image parameters corresponding to the fixed-point sensor, and determining a second estimated illuminance corresponding to the moving-point sensor based on current image parameters corresponding to the moving-point sensor;

[0142] The target switching threshold is updated based on the target switching mode, the first estimated illuminance, and the second estimated illuminance.

[0143] Optionally, the fixed-point switching threshold includes a first preset threshold corresponding to the fixed-point sensor, and the moving-point switching threshold includes a second preset threshold corresponding to the moving-point sensor.

[0144] Optionally, the updating module 530 is specifically configured to:

[0145] When the target switching mode is a switching mode that changes from a first brightness to a second brightness, comparing the first estimated illuminance with the first preset threshold, and comparing the second estimated illuminance with the second preset threshold, and updating a target shutter value based on the first comparison results, the target shutter value including a first shutter value in the target image parameter corresponding to the fixed-point sensor or a second shutter value in the target image parameter corresponding to the moving-point sensor, and the first brightness is greater than the second brightness;

[0146] The target switching threshold is updated based on the updated target shutter value and the target estimated illuminance, the target estimated illuminance including the first estimated illuminance or the second estimated illuminance.

[0147] Optionally, the update module 530 is specifically configured to:

[0148] If the first comparison result includes that the first estimated illuminance is less than the first preset threshold and the second estimated illuminance is greater than a second preset threshold, updating the first shutter value corresponding to the fixed-point sensor;

[0149] When the first comparison result includes that the first estimated illuminance is greater than the first preset threshold and the second estimated illuminance is less than a second preset threshold, the second shutter value corresponding to the moving point sensor is updated.

[0150] Optionally, the update module 530 is specifically configured to:

[0151] When the fixed-point sensor and the moving-point sensor meet a first preset condition, updating a second preset threshold of the moving-point sensor based on a second preset constant corresponding to the moving-point sensor, the second estimated illuminance, and the second preset threshold;

[0152] When the fixed-point sensor and the moving-point sensor meet a second preset condition, updating a first preset threshold of the fixed-point sensor based on a first preset constant corresponding to the fixed-point sensor, the first estimated illuminance, and the first preset threshold;

[0153] The first preset condition includes:

[0154] The first shutter value corresponding to the fixed-point sensor is less than the first shutter upper limit value, and the second estimated illuminance corresponding to the moving-point sensor is less than the second preset threshold value for a first preset number of consecutive times; or

[0155] The first shutter value corresponding to the fixed-point sensor is greater than or equal to the first shutter upper limit value, and the second estimated illuminance corresponding to the moving-point sensor is greater than the second preset threshold value;

[0156] The second preset condition includes:

[0157] The second shutter value corresponding to the moving point sensor is less than the second shutter upper limit value, and the first estimated illumination corresponding to the fixed point sensor is less than the first preset threshold value for a first preset number of consecutive times; or

[0158] The second shutter value corresponding to the moving point sensor is greater than or equal to the second shutter upper limit value, and the first estimated illuminance corresponding to the fixed point sensor is greater than the first preset threshold.

[0159] Optionally, the fixed-point switching threshold further includes a third preset threshold corresponding to the fixed-point sensor, and the moving-point switching threshold further includes a fourth preset threshold corresponding to the moving-point sensor.

[0160] Optionally, the update module 530 is specifically configured to:

[0161] When the target switching mode is a switching mode changing from the second brightness to the first brightness, comparing the first estimated illuminance with the third preset threshold, and comparing the second estimated illuminance with the fourth preset threshold, and updating the third preset threshold or the fourth preset threshold based on the second comparison result to obtain a target condition threshold, where the first brightness is greater than the second brightness;

[0162] The first estimated illuminance or the second estimated illuminance is compared with the updated target condition threshold, and based on a third comparison result, a third preset threshold corresponding to the fixed-point sensor and a fourth preset threshold corresponding to the moving-point sensor are updated.

[0163] Optionally, the target condition threshold includes a first condition threshold corresponding to the fixed-point sensor, or a second condition threshold corresponding to the moving-point sensor.

[0164] Optionally, the update module 530 is specifically configured to:

[0165] If the second comparison result includes that the first estimated illuminance is less than the third preset threshold and the second estimated illuminance is greater than the fourth preset threshold, updating the fourth preset threshold of the moving point sensor to obtain the second condition threshold corresponding to the moving point sensor;

[0166] When the second comparison result includes that the first estimated illuminance is greater than the third preset threshold and the second estimated illuminance is less than the fourth preset threshold, the third preset threshold of the fixed-point sensor is updated to obtain the first condition threshold corresponding to the fixed-point sensor.

[0167] Optionally, the update module 530 is specifically configured to:

[0168] When the third comparison result includes: the first estimated illuminance is greater than the first condition threshold for a second preset number of consecutive times, or the second estimated illuminance is greater than the second condition threshold, the third preset threshold of the fixed-point sensor is updated based on the third preset constant of the fixed-point sensor, the third preset threshold and the first estimated illuminance, and the fourth preset threshold of the moving-point sensor is updated based on the fourth preset constant of the moving-point sensor, the fourth preset threshold and the second estimated illuminance.

[0169] Figure 6 Schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630, and a communication bus 640, wherein the processor 610, the communication interface 620, and the memory 630 communicate with each other via the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute a state switching method for a linked camera device, the method including:

[0170] Obtain the brightness changes of the scene where the linked camera device is located;

[0171] Determining a target switching mode of the linked camera device based on the brightness change;

[0172] Based on the target switching mode, updating the target switching threshold; the target switching threshold includes a fixed-point switching threshold corresponding to the fixed-point sensor in the linked camera device and / or a moving-point switching threshold corresponding to the moving-point sensor;

[0173] Based on the updated target switching threshold, the states of the fixed-point sensor and the moving-point sensor are synchronously switched.

[0174] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0175] On the other hand, the present invention further provides a computer program product, comprising a computer program, which may be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the state switching method for a linked camera device provided by each of the above methods, the method comprising:

[0176] Obtain the brightness changes of the scene where the linked camera device is located;

[0177] Determining a target switching mode of the linked camera device based on the brightness change;

[0178] Based on the target switching mode, updating the target switching threshold; the target switching threshold includes a fixed-point switching threshold corresponding to the fixed-point sensor in the linked camera device and / or a moving-point switching threshold corresponding to the moving-point sensor;

[0179] Based on the updated target switching threshold, the states of the fixed-point sensor and the moving-point sensor are synchronously switched.

[0180] In another aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for state switching of a linked camera device provided by the above methods is implemented, and the method includes:

[0181] Obtain the brightness changes of the scene where the linked camera device is located;

[0182] Determining a target switching mode of the linked camera device based on the brightness change;

[0183] Based on the target switching mode, updating the target switching threshold; the target switching threshold includes a fixed-point switching threshold corresponding to the fixed-point sensor in the linked camera device and / or a moving-point switching threshold corresponding to the moving-point sensor;

[0184] Based on the updated target switching threshold, the states of the fixed-point sensor and the moving-point sensor are synchronously switched.

[0185] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0186] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.

[0187] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for switching the state of a linked camera device, characterized in that: include: Obtain the brightness changes of the scene where the linked camera device is located; Determining a target switching mode of the linked camera device based on the brightness change; Based on the target switching mode, updating the target switching threshold; the target switching threshold includes a fixed-point switching threshold corresponding to the fixed-point sensor in the linked camera device and / or a moving-point switching threshold corresponding to the moving-point sensor; Based on the updated target switching threshold, the states of the fixed-point sensor and the moving-point sensor are synchronously switched.

2. The state switching method for a linked camera device according to claim 1, characterized in that: The updating of the target switching threshold based on the target switching mode includes: Based on the target switching mode, acquiring target image parameters corresponding to the fixed-point sensor and the moving-point sensor respectively; Determining a first estimated illuminance corresponding to the fixed-point sensor based on target image parameters corresponding to the fixed-point sensor, and determining a second estimated illuminance corresponding to the moving-point sensor based on current image parameters corresponding to the moving-point sensor; The target switching threshold is updated based on the target switching mode, the first estimated illuminance, and the second estimated illuminance.

3. The state switching method for a linked camera device according to claim 2, characterized in that: The fixed-point switching threshold includes a first preset threshold corresponding to the fixed-point sensor, and the moving-point switching threshold includes a second preset threshold corresponding to the moving-point sensor; The updating of the target switching threshold based on the target switching mode, the first estimated illuminance, and the second estimated illuminance includes: When the target switching mode is a switching mode that changes from a first brightness to a second brightness, comparing the first estimated illuminance with the first preset threshold, and comparing the second estimated illuminance with the second preset threshold, and updating a target shutter value based on the first comparison results, the target shutter value including a first shutter value in the target image parameter corresponding to the fixed-point sensor or a second shutter value in the target image parameter corresponding to the moving-point sensor, and the first brightness is greater than the second brightness; The target switching threshold is updated based on the updated target shutter value and the target estimated illuminance, the target estimated illuminance including the first estimated illuminance or the second estimated illuminance.

4. The state switching method for a linked camera device according to claim 3, characterized in that: The updating of the target shutter value based on the first comparison result includes: If the first comparison result includes that the first estimated illuminance is less than the first preset threshold and the second estimated illuminance is greater than a second preset threshold, updating the first shutter value corresponding to the fixed-point sensor; When the first comparison result includes that the first estimated illuminance is greater than the first preset threshold and the second estimated illuminance is less than a second preset threshold, the second shutter value corresponding to the moving point sensor is updated.

5. The state switching method for a linked camera device according to claim 4, characterized in that: The updating of the target switching threshold based on the updated target shutter value and the target estimated illumination includes: When the fixed-point sensor and the moving-point sensor meet a first preset condition, updating a second preset threshold of the moving-point sensor based on a second preset constant corresponding to the moving-point sensor, the second estimated illuminance, and the second preset threshold; When the fixed-point sensor and the moving-point sensor meet a second preset condition, updating a first preset threshold of the fixed-point sensor based on a first preset constant corresponding to the fixed-point sensor, the first estimated illuminance, and the first preset threshold; The first preset condition includes: The first shutter value corresponding to the fixed-point sensor is less than the first shutter upper limit value, and the second estimated illuminance corresponding to the moving-point sensor is less than the second preset threshold value for a first preset number of consecutive times; or The first shutter value corresponding to the fixed-point sensor is greater than or equal to the first shutter upper limit value, and the second estimated illuminance corresponding to the moving-point sensor is greater than the second preset threshold value; The second preset condition includes: The second shutter value corresponding to the moving point sensor is less than the second shutter upper limit value, and the first estimated illumination corresponding to the fixed point sensor is less than the first preset threshold value for a first preset number of consecutive times; or The second shutter value corresponding to the moving point sensor is greater than or equal to the second shutter upper limit value, and the first estimated illuminance corresponding to the fixed point sensor is greater than the first preset threshold.

6. The state switching method for a linked camera device according to any one of claims 2 to 5, characterized in that: The fixed-point switching threshold further includes a third preset threshold corresponding to the fixed-point sensor, and the moving-point switching threshold further includes a fourth preset threshold corresponding to the moving-point sensor; The updating of the target switching threshold based on the target switching mode, the first estimated illuminance, and the second estimated illuminance includes: When the target switching mode is a switching mode changing from the second brightness to the first brightness, comparing the first estimated illuminance with the third preset threshold, and comparing the second estimated illuminance with the fourth preset threshold, and updating the third preset threshold or the fourth preset threshold based on the second comparison result to obtain a target condition threshold, where the first brightness is greater than the second brightness; The first estimated illuminance or the second estimated illuminance is compared with the updated target condition threshold, and based on a third comparison result, a third preset threshold corresponding to the fixed-point sensor and a fourth preset threshold corresponding to the moving-point sensor are updated.

7. The state switching method for a linked camera device according to claim 6, characterized in that: The target condition threshold includes a first condition threshold corresponding to the fixed-point sensor, or a second condition threshold corresponding to the moving-point sensor; The updating of the third preset threshold or the fourth preset threshold based on the second comparison result to obtain the target condition threshold includes: If the second comparison result includes that the first estimated illuminance is less than the third preset threshold and the second estimated illuminance is greater than the fourth preset threshold, updating the fourth preset threshold of the moving point sensor to obtain the second condition threshold corresponding to the moving point sensor; When the second comparison result includes that the first estimated illuminance is greater than the third preset threshold and the second estimated illuminance is less than the fourth preset threshold, the third preset threshold of the fixed-point sensor is updated to obtain the first condition threshold corresponding to the fixed-point sensor.

8. The state switching method for a linked camera device according to claim 7, characterized in that: The updating of the third preset threshold corresponding to the fixed-point sensor and the fourth preset threshold corresponding to the moving-point sensor based on the third comparison result includes: When the third comparison result includes: the first estimated illuminance is greater than the first condition threshold for a second preset number of consecutive times, or the second estimated illuminance is greater than the second condition threshold, the third preset threshold of the fixed-point sensor is updated based on the third preset constant of the fixed-point sensor, the third preset threshold and the first estimated illuminance, and the fourth preset threshold of the moving-point sensor is updated based on the fourth preset constant of the moving-point sensor, the fourth preset threshold and the second estimated illuminance.

9. A state switching device for a linked camera device, characterized in that: include: An acquisition module is used to obtain brightness changes of the scene where the linked camera device is located; a determination module, configured to determine a target switching mode of the linked camera device based on the brightness change; An updating module, configured to update a target switching threshold based on the target switching mode; the target switching threshold including a fixed-point switching threshold corresponding to a fixed-point sensor in the linked camera device and / or a moving-point switching threshold corresponding to a moving-point sensor; A synchronous switching module is used to synchronously switch the states of the fixed-point sensor and the moving-point sensor based on the updated target switching threshold.

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 state switching method for a linked camera device as described in any one of claims 1 to 8 is implemented.