A camera device control method, an electronic device, and a storage medium

By acquiring the usage and weight values ​​of camera equipment, determining its lifespan, and prioritizing the scheduling of equipment with longer lifespans, the problem of uneven equipment usage in the camera system is solved, thus extending the system's lifespan.

CN119865685BActive Publication Date: 2025-10-24ZHEJIANG DAHUA TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411614502.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-10-24
Estimated Expiration
2044-11-12

AI Technical Summary

Technical Problem

In high-traffic and complex traffic environments, existing camera systems suffer from rapid wear and tear on some camera equipment due to scheduling issues, affecting the lifespan of the entire system.

Method used

By acquiring the usage and corresponding weight values ​​of each part of each camera device in the network environment, the lifespan of each camera device is determined, and devices with higher lifespans are prioritized to perform camera tasks, thereby achieving load balancing and extending system lifespan.

Benefits of technology

This effectively reduces the overuse of camera equipment, optimizes scheduling strategies, and extends the overall lifespan of the camera system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865685B_ABST
    Figure CN119865685B_ABST
Patent Text Reader

Abstract

The application discloses a kind of camera equipment control method, electronic equipment and storage medium, wherein, method includes: in response to received camera instruction, the use degree corresponding to each component of each camera equipment schedulable in networking environment is acquired, wherein, use degree characterizes the used degree of component;Using preset weight value and use degree, the life degree of each camera equipment is determined, wherein, life degree characterizes the safe working time of camera equipment;Control the camera equipment of high priority corresponding to life degree schedulable in networking environment to execute camera task;That is, the use degree of each component of camera equipment and preset weight value are acquired in the application, the life degree of each camera equipment in networking environment is determined, and then the camera equipment with higher life degree can be effectively controlled to execute camera task, so that the load balancing of camera equipment in networking environment, the scheduling strategy of camera equipment is optimized, and then the overall service life of camera system in networking environment is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of intelligent camera shooting and management, and in particular to a camera shooting device control method, an electronic device and a storage medium. BACKGROUND

[0002] With the explosive growth of computer applications, intelligent camera shooting and management have entered a stage of rapid development. More and more scenarios require camera shooting devices to shoot, and more and more camera shooting devices need to be managed, such as traffic intersections, subway stations, passenger stations, supermarkets and other scenarios.

[0003] At present, in high passenger flow and complex traffic environments, multi-camera shooting device systems are widely used for real-time video shooting and target tracking. The multi-camera shooting device system usually controls the camera shooting device by using a centralized or distributed server to automatically track and shoot specific targets. However, the current camera shooting system often causes rapid wear of some camera shooting devices due to scheduling problems, affecting the service life of the entire camera shooting system. SUMMARY

[0004] The technical problem solved by the present application is to provide a camera shooting device control method, an electronic device and a storage medium. By obtaining the usage degree of each part of each camera shooting device in a networking environment and the corresponding weight value, the service life of each camera shooting device is determined, and then scheduling control is performed using the service life, which can effectively reduce the overuse of camera shooting devices and improve the service life of the entire camera shooting system.

[0005] To solve the above technical problems, one technical solution adopted by the present application is to provide a camera shooting device control method, comprising: in response to a received camera shooting instruction, obtaining the usage degree of each part of each schedulable camera shooting device in a networking environment, wherein the usage degree represents the used degree of the part; using a preset weight value and the usage degree to determine the service life of each camera shooting device, wherein the service life represents the safe working time of the camera shooting device; and controlling the camera shooting device with a high priority corresponding to the service life in the schedulable networking environment to perform a camera shooting task.

[0006] In some embodiments, the obtaining of the usage degree of each part of each schedulable camera shooting device in the networking environment comprises: obtaining a plurality of camera shooting devices currently schedulable in the networking environment, and determining the used number and total available number of each part in each camera shooting device; and using the used number and the total available number to determine the usage degree of each part.

[0007] In some embodiments, the determining the life degree of each of the camera devices by using the preset weight values and the usage degrees comprises: assigning a weight value to each component of each of the camera devices; and determining the life degree of each of the camera devices by using the weight value and the usage degree of each component of the camera device.

[0008] In some embodiments, the assigning a weight value to each component of each of the camera devices comprises: obtaining at least one core component in each of the camera devices and assigning a first score value to each of the core components; obtaining a second score value corresponding to all of the core components in each of the camera devices, wherein the second score value is a sum of a plurality of the first score values; and determining a weight value corresponding to each component by using the first score value and the second score value.

[0009] In some embodiments, the obtaining at least one core component in each of the camera devices and assigning a first score value to each of the core components comprises: obtaining a first score of each component in each of the camera devices, wherein the first score represents a ratio of a first price of a current component to a second price of a current camera device; obtaining a second score of each component in each of the camera devices, wherein the second score represents an installation duration of a current component; obtaining a third score of each component in each of the camera devices, wherein the third score represents a demand setting of a current component; determining a fourth score by using the first score, the second score, and the third score, and determining that a current component is a core component when the fourth score is greater than a score threshold value, and taking the fourth score as the first score value.

[0010] In some embodiments, the determining the life degree of each of the camera devices by using the weight value and the usage degree of each component of the camera device comprises: determining a core component of each camera device; and determining the life degree of each of the camera devices by using the weight value and the usage degree corresponding to the core component.

[0011] In some embodiments, the controlling the camera device with a high priority corresponding to the life degree to perform a camera task in the networking environment comprises: determining a priority of each camera device in the networking environment by using the life degree, wherein the life degree and the priority are in a positive correlation; and taking the camera device with the high priority as a target camera device in the networking environment, and then controlling the target camera device to perform a camera task.

[0012] In some embodiments, the method further comprises: triggering a warning information in response to the usage degree of a component of the camera device reaching a warning value; and controlling other camera devices with a high priority corresponding to the life degree to perform a camera task in the networking environment by using the warning information.

[0013] To solve the above technical problems, another technical solution adopted by the present application is to provide an electronic device, comprising a memory and a processor coupled with the memory, the memory stores at least one computer program, when the at least one computer program is loaded and executed by the processor, the at least one computer program is used to implement the camera device control method as described above.

[0014] To solve the above technical problems, another technical solution adopted by the present application is to provide a computer readable storage medium, the computer readable storage medium has at least one program, when the at least one program is loaded and executed by the processor, the at least one program is used to implement the camera device control method as described above.

[0015] Different from the current technology, the camera device control method provided by the present application comprises: in response to the received camera instruction, obtaining the usage degree corresponding to each component of each schedulable camera device in the networking environment, wherein the usage degree represents the used degree of the component; determining the life degree of each camera device by using the preset weight value and the usage degree, wherein the life degree represents the safe working time of the camera device; controlling the camera device with high priority in the schedulable life degree in the networking environment to perform the camera task; that is, in the present application, by obtaining the usage degree of each component of the camera device and the preset weight value, the life degree of each schedulable camera device in the networking environment is determined, and then the camera device with high life degree can be effectively controlled to perform the camera task, so that the load balancing of the camera device in the networking environment is realized, the scheduling strategy of the camera device is optimized, and the overall service life of the camera system in the networking environment is prolonged. BRIEF DESCRIPTION OF DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor. Among them:

[0017] Figure 1 is a flowchart of an embodiment of the camera device control method in the present application;

[0018] Figure 2 is a structural schematic diagram of an embodiment of a camera device control system in the present application;

[0019] Figure 3 is a structural schematic diagram of an embodiment of an electronic device in the present application;

[0020] Figure 4is a structural schematic diagram of an embodiment of the computer readable storage medium in the present application. DETAILED DESCRIPTION

[0021] The application will be described in further detail below with reference to the drawings and embodiments. It is particularly pointed out that the following embodiments are only for illustrating the application, but do not limit the scope of the application. Similarly, the following embodiments are only part of the embodiments of the application, and all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the application.

[0022] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearance of the phrase in various places in the specification does not necessarily all refer to the same embodiment, nor is it necessarily mutually exclusive of other embodiments. It is explicitly and implicitly understood that the embodiments described herein are combinable.

[0023] The conventional camera equipment control method usually schedules the camera according to the priority of the user and the priority of the tracking target, and records the current sleep or tracking time of the equipment to schedule, which is easy to cause a large difference in the scheduling times of different camera equipment, and the use times of a single equipment reach the use upper limit quickly, so that the service life of the camera system is short. Or, by polling multiple camera equipment according to the thread running state and the camera equipment polling state, the calling priority of the simultaneously available camera equipment is not concerned, that is, the use of the camera equipment is usually unbalanced, and the camera equipment with high load is easy to malfunction, and the camera equipment with low load is idle. Such imbalance not only affects the overall efficiency of the system, but also shortens the effective life of the camera equipment.

[0024] Therefore, a camera equipment control method is provided, which determines the life degree of each camera equipment in the networking environment by acquiring the use degree of each component of the camera equipment and a preset weight value, and then effectively controls the camera equipment with a high life degree to perform a camera task, so that the load of the camera equipment in the networking environment is balanced, the scheduling strategy of the camera equipment is optimized, and the overall service life of the camera system in the networking environment is prolonged.

[0025] Please refer to Figure 1 , Figure 1 is a flowchart of an embodiment of the camera equipment control method in the present application; it should be noted that the method of the present application is not limited to the flow order shown in Figure 1 .

[0026] As shown in Figure 1 , the camera equipment control method can include the following steps.

[0027] S10, in response to the received camera instruction, obtaining a usage degree corresponding to each component of each camera device schedulable in the networking environment, wherein the usage degree represents a used degree of the component.

[0028] The networking environment refers to a plurality of camera devices connected in the same network and can be controlled and scheduled by a unified control system; the camera device refers to a camera device for acquiring images and videos; the component refers to each component contained in the camera device; and the usage degree refers to a used degree.

[0029] Specifically, the camera device contained in the networking environment is obtained, and the usage degree corresponding to each component in each camera device is determined according to the number of uses. The usage degree represents a used degree of the component in the camera device performing a camera task, and the used degree increases exponentially with the increase of the number of uses.

[0030] S20, determining a life degree of each camera device by using a preset weight value and the usage degree, wherein the life degree represents a safe working time of the camera device.

[0031] The weight value refers to a representation of the ratio of the score value of the component to the score value of all components; and the life degree refers to a remaining usable time, that is, a remaining safe working time.

[0032] Specifically, each component is assigned a corresponding weight value according to the importance of each component, and after obtaining the usage degree of each component, the life degree of each camera device is determined by using the preset weight value corresponding to each component and the usage degree corresponding to each component; wherein the life degree represents a safe working time of the camera device that can still be used in performing a camera task.

[0033] S30, controlling the camera device with a high priority corresponding to the life degree schedulable in the networking environment to perform a camera task.

[0034] In order to balance the load of the camera device in the networking environment, the camera device with a high life degree needs to be assigned a high priority.

[0035] Specifically, after obtaining the life degree of each camera device in the networking environment, the priority of each camera device in the networking environment is determined by using the life degree, and then the camera device with a high priority corresponding to the life degree in the networking environment is controlled to perform a camera task; that is, the camera device schedulable in the networking environment is assigned a priority by using the high and low order of the life degree, the higher the life degree, the higher the priority, wherein the life degree represents a safe working time of the camera device.

[0036] In this embodiment, the life degree of each camera device in the networking environment is determined by obtaining the usage degree of each component of the camera device and the preset weight value, and the priority of the camera device in the networking environment is determined by using the life degree, so that the camera device with high priority corresponding to the life degree can be effectively controlled to perform the camera task, the load balancing of the camera device in the networking environment is achieved, the scheduling strategy of the camera device is optimized, and the overall service life of the camera system in the networking environment is prolonged.

[0037] In some embodiments, step S10 obtains the usage degree corresponding to each component of each camera device that can be scheduled in the networking environment in response to the received camera instruction, wherein the usage degree represents the used degree of the component, and the following operations can be included.

[0038] Firstly, in response to the received camera instruction, a plurality of camera devices currently schedulable in the networking environment are obtained, and the used number and the total available number of each component in each camera device are determined.

[0039] The camera devices in the networking environment can be two or more, and the schedulable can be all camera devices in the networking environment or part of the camera devices in the networking environment, and the components in each camera device can also be multiple, such as the components of the camera device including a switch button, a holder, an IR-Cut removable (ICR), an aperture, etc.; the used number refers to the number of times the component has been used so far; and the total available number can be set by the manufacturer when the camera device is manufactured.

[0040] Specifically, a plurality of camera devices schedulable in the networking environment are determined, and the used number and the total available number corresponding to each component in each camera device are determined; for example, the used number of the switch button is determined by the number of times the camera device is turned on, the used number of the holder is determined by the number of times the holder moves, the used number of the ICR is determined by the number of times the ICR switches, and the used number of the aperture is determined by the number of times the aperture changes.

[0041] Then, the usage degree of each component is determined by using the used number and the total available number.

[0042] The usage degree represents the degree of use of each component, i.e., the used degree.

[0043] Specifically, after obtaining the used number and the total available number corresponding to each component, the component utilization rate corresponding to each component is determined by using the used number and the total available number, and the usage degree corresponding to each component is determined by using the natural constant and the component utilization rate.

[0044] The usage degree of the component is calculated as follows:

[0045]

[0046] wherein, r is the usage degree of the component, x is the used number of times of the component, k is the total available number of times of the component, e is a natural constant, is the component utilization rate.

[0047] It can be understood that the above formula represents the usage degree of the camera equipment, i.e., the usage degree, by the ratio of the used number of times of the component and the total available number of times of the component; in addition, the natural constant e is used as the base, so that the usage degree of the camera equipment presents exponential growth with the increase of the used number of times, for example, when the used number of times x = 0, the usage degree r = 0; when the used number of times x = n, the usage degree r = 1.

[0048] In some embodiments, step S20 determines the life degree of each camera equipment by using the preset weight value and the usage degree, wherein the life degree represents the safe working time of the camera equipment; the step can include the following operations.

[0049] First, a weight value is assigned to each component of each camera equipment.

[0050] wherein the weight value is determined by the ratio of the score value of each component and the total score value of all components.

[0051] Further, in some embodiments, the following operations can be included.

[0052] At least one core component in each camera equipment is obtained, and a first score value of each core component is assigned.

[0053] wherein each camera equipment can include one, two or more core components, therefore, it is necessary to determine the score value of each component, and then determine whether the current component is a core component.

[0054] Specifically, the score value of each component is determined by the material economic value, the material installation time and the demand setting.

[0055] Further, in some embodiments, the following operations can be included.

[0056] A first score of each component in each camera equipment is obtained, wherein the first score represents the ratio of the first price of the current component to the second price of the current camera equipment.

[0057] wherein the first score is the score corresponding to the material economic value of the current component.

[0058] Specifically, the material economic value corresponding to the current component, i.e., the first price, is obtained, and the material economic value of the current camera device corresponding to the current component, i.e., the second price, is obtained, and then the first score corresponding to the current component is determined according to the ratio of the first price to the second price, and the material economic value of each component is sequentially calculated to determine the first score of each component in each camera device. For example, if the first price accounts for 0-5% of the second price, the first score of the current component is 1; if the first price accounts for 5%-10% of the second price, the first score of the current component is 2; if the second price accounts for 10%-15% of the second price, the first score of the current component is 3; and so on. The higher the proportion of the first price to the second price, the higher the first score, i.e., the proportion of the first price to the second price and the first score are positively correlated.

[0059] The second score of each component in each camera device is obtained, wherein the second score represents the installation duration of the current component.

[0060] The second score is the score corresponding to the material installation duration of the current component.

[0061] Specifically, the material installation duration corresponding to the current component is obtained, and the material installation duration of the installation replacement is determined according to the installation quantity and the installation complexity of the current component, and then the second score corresponding to the current component is determined according to the material installation duration, and the material installation duration of each component is sequentially calculated to determine the second score of each component in each camera device. For example, if the material installation duration of the current component is 0-2h, the second score of the current component is 1; if the material installation duration of the current component is 2h-4h, the second score of the current component is 2, and so on. The longer the material installation duration, the higher the second score corresponding to the component, i.e., the material installation duration and the second score are positively correlated.

[0062] The third score of each component in each camera device is obtained, wherein the third score represents the demand setting of the current component.

[0063] The third score is the score corresponding to the demand setting of the current component, and the demand setting is the installation demand corresponding to the installation.

[0064] Specifically, the demand setting corresponding to the current component is acquired, the third score corresponding to the current component is determined according to the number of demand settings, and the number of demand settings of each component is determined in turn to determine the third score of each component in each camera device. For example, if professional skill certificate is required for the installation of the current component, the number of demand settings is increased by one, if hole turning and wire arrangement operation is required for the installation of the current component, the number of demand settings is increased by one, and so on for special installation requirements, and then the number of demand settings corresponding to the current component is acquired, and each demand setting is assigned one point, and the number of demand settings required is more, and the corresponding third score is higher, that is, the number of demand settings and the third score are positively correlated.

[0065] The fourth score is determined by using the first score, the second score and the third score, and when the fourth score is greater than the score threshold, the current component is determined as a core component, and the fourth score is taken as the first score value.

[0066] The score threshold can be set according to actual conditions, for example, the score threshold is set to 3 points, 5 points, etc.

[0067] Specifically, the sum of the first score, the second score and the third score is taken as the fourth score, when the fourth score corresponding to the current component is greater than the score threshold, the current component is determined as a core component, and the acquired fourth score is taken as the first score value of the current component; for example, the sum of the first score, the second score and the third score of the current component is g, when g is greater than 3 points, the current component is a core component.

[0068] Then, the second score value corresponding to all core components in each camera device is acquired.

[0069] The score calculation of the components in each camera device is as described above, and then the number of core components contained in each camera device is determined, which will not be described here, so that the second score value corresponding to all core components in each camera device can be acquired, wherein the second score value is the sum of the first score values, that is, the sum of the first score values of the plurality of core components contained in each camera device is taken as the second score value.

[0070] The weight value corresponding to each component is determined by using the first score value and the second score value.

[0071] Specifically, after acquiring the first score value corresponding to each core component in the camera device and the second score value corresponding to all core components, the weight value corresponding to each component is determined by using the ratio of the first score value and the second score value.

[0072] The calculation of the weight value is as follows:

[0073]

[0074] wherein w is a weight value, g i is a first score value corresponding to the i-th core component, is a second score value corresponding to all core components in the current camera device, and n is the number of core components in the current camera device.

[0075] Then, the life degree of each camera device is determined by using the weight value and the usage degree of each component in the camera device.

[0076] Since the core component has a relatively high degree of association with the camera device, and the more times the core component is used, the fewer times the camera device can be used, the weight value and the usage degree corresponding to the core component can be directly used to determine the life degree of each camera device.

[0077] In some embodiments, the core components included in each camera device can be determined first. The specific core component determination can refer to the foregoing content, which will not be described here. Then, the life degree of each camera device is determined by using the weight value and the usage degree corresponding to the core component.

[0078] Specifically, after obtaining the weight value and the usage degree of the core components included in each camera device, the first value corresponding to each core component is determined by using the weight value and the usage degree. Since each camera device includes a plurality of core components, the second value corresponding to all core components in each camera device is determined by using the first value. Then, the difference between the preset parameter and the second value is used to determine the life degree corresponding to the camera device.

[0079] The calculation of the life degree is as follows:

[0080]

[0081] wherein L is the life degree of the camera device, r i is the usage degree corresponding to the i-th core component, w i is the weight value corresponding to the i-th core component, n is the number of core components in the current camera device, 1 is a preset parameter, r i *w i is the first value, is the second value.

[0082] In some embodiments, the step S30 of controlling the camera device with a high priority corresponding to the schedulable life degree in the networking environment to perform the camera task can include the following operations.

[0083] First, the priority of each camera device schedulable in the networking environment is determined by using the life degree.

[0084] The life degree and the priority are in a positive correlation.

[0085] Specifically, after obtaining the life degree of each camera device, the life degrees are sorted to determine the order of the plurality of camera devices in the networking environment, and then the order is used to determine the priority of each camera device in the networking environment; for example, the higher the life degree of a camera device, the higher the corresponding priority; and the lower the life degree of a camera device, the lower the corresponding priority.

[0086] Then, the camera device with the highest priority is taken as a target camera device in the networking environment, and the target camera device is controlled to perform a camera task.

[0087] The target camera device refers to a camera device determined according to the priority, which can be one or multiple camera devices selected as the target camera device according to actual conditions.

[0088] Specifically, after obtaining the priority of each camera device in the networking environment, the priorities are sorted to determine the camera device with the highest priority as the target camera device, and the target camera device is controlled to perform a camera task.

[0089] For example: a) the dispatching system can be taken by a Network Video Recorder (NVR), the NVR calculates the life degree of each camera device in each camera intersection area in the networking environment; b) the life degrees of the camera devices in the intersection area are compared, and the camera device with the higher life degree is given a higher priority in dispatching; c) when multiple camera devices in the intersection area find that the same target object needs to be tracked and photographed (the camera head transmits the feature value and video timestamp of the target object, and the dispatching system distinguishes whether it is the same target object), the dispatching system is notified, and the camera device with the highest life degree is preferentially assigned to perform the tracking and photographing task of the target object, so as to balance the load and prolong the overall service life of the system.

[0090] In some embodiments, in the same area where the plurality of camera devices can perform camera shooting, a plurality of sub-areas can also be divided, and a camera device with the highest priority is determined in each sub-area, and then the camera devices with multiple angles can be used to track and photograph the target object in the same area.

[0091] In some embodiments, for the intersection area, when multiple camera devices find that the same target object needs to be tracked and photographed, a camera device with the highest priority can be determined in each time period or in each area, and then the camera device with the highest priority in the current time period or the current area can be used to track and photograph the target object in different time periods or different areas.

[0092] In some embodiments, further comprising, in response to the usage degree of the component of the camera device reaching a pre-warning value, triggering a pre-warning information, and then adjusting the camera task by using the pre-warning information, that is, using the pre-warning information to control other camera devices with high priority in the networking environment to perform the camera task according to the life degree.

[0093] The pre-warning value refers to the usage degree reaching a specified value, which can be set to 0.9, for example, the pre-warning value can be set to 90% of the total available times, and the total available times is set to 10000 times, and when the usage is 9000 times, the pre-warning information is triggered.

[0094] Specifically, the state data of all camera devices in the networking environment can be captured in real time, and the state data is fed back through a visual interface; when the usage degree of the component of the camera device reaches the pre-warning value, the pre-warning information is triggered on the management terminal, and then the camera task is adjusted by using the pre-warning information on the management terminal, for example, the camera task is switched to be performed by the camera device with the second priority.

[0095] In some embodiments, the system can be divided into three parts, i.e., a camera device, a server and a management terminal, wherein the camera device records the usage times of each component of the camera device, and can trigger an alarm when the usage degree of each component reaches a pre-warning value; the server determines the usage degree and weight value of each component of the camera device by using the obtained usage times, calculates the life degree of each camera device in the networking environment, and controls the camera task to be performed by the camera device with high priority in the networking environment by using the life degree; the management terminal can display the life degree of each camera device through a visual interface, and determine whether the usage degree of each component of each camera device reaches the pre-warning value, and trigger the pre-warning information when the pre-warning value is reached.

[0096] In this embodiment, by obtaining the usage degree and corresponding weight value of each part of each camera device that can be scheduled in the networking environment, the life degree of each camera device is determined, and then the life degree is used for scheduling control, which can effectively reduce the overuse of the camera device and improve the life of the entire camera system.

[0097] In some embodiments, a camera device control system is further provided.

[0098] Referring to Figure 2 , Figure 2 is a structural schematic diagram of an embodiment of the camera device control system in the present application.

[0099] As Figure 2As shown, the camera equipment control system 400 comprises an acquisition module 410, a determination module 420 and a control module 430; the acquisition module 410 acquires the usage degree corresponding to each component of each camera equipment schedulable in the networking environment in response to a received camera shooting instruction, wherein the usage degree represents the used degree of the component; the determination module 420 determines the life degree of each camera equipment by using the preset weight value and the usage degree, wherein the life degree represents the safe working time of the camera equipment; and the control module 430 is configured to control the camera equipment with high priority corresponding to the life degree to perform the camera shooting task in the networking environment.

[0100] In some embodiments, an electronic device is also provided.

[0101] Referring to Figure 3 , Figure 3 is a structural schematic diagram of an embodiment of the electronic device in the present application. The electronic device can execute the steps of the camera equipment control method in the above method.

[0102] The electronic device 500 comprises a memory 520, a processor 510 coupled with the memory, and at least one computer program stored in the memory 520 and executable on the processor 510; when the at least one computer program is loaded and executed by the processor 510, the processor 510 is configured to implement the steps of the camera equipment control method in the above method. For related content, please refer to the detailed description in the above method, which will not be repeated here.

[0103] In some embodiments, a computer readable storage medium is also provided.

[0104] Referring to Figure 4 , Figure 4 is a structural schematic diagram of an embodiment of the computer readable storage medium in the present application.

[0105] The computer readable storage medium 600 stores at least one program 610, and when the at least one program 610 is loaded and executed by the processor, the at least one program 610 is configured to implement the steps of the camera equipment control method in the above method. For related content, please refer to the detailed description in the above method, which will not be repeated here.

[0106] In the above scheme, by acquiring the usage degree of each component of the camera equipment and the preset weight value, the life degree of each camera equipment schedulable in the networking environment is determined, and the priority of the camera equipment in the networking environment is determined by using the life degree, so that the camera equipment with high priority corresponding to the life degree can be effectively controlled to perform the camera shooting task, the load balancing of the camera equipment in the networking environment is achieved, the scheduling strategy of the camera equipment is optimized, and the overall service life of the camera system in the networking environment is prolonged.

[0107] In several embodiments provided by the present application, it should be understood that the disclosed system, apparatus and method can be implemented in other manners. For example, the apparatus embodiments described above are merely schematic. For example, the division of the modules or units is merely logical function division. There can be another division manner for the actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.

[0108] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0109] In addition, each functional unit in the various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. The integrated unit can be implemented in the form of hardware, or in the form of a software functional unit.

[0110] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art, or all or part of the technical solutions 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 causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and various media that can store program codes.

[0111] The above description is merely an embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent flow transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied to other related technical fields, is also included in the patent protection scope of the present application.

Claims

1. An image pickup apparatus control method characterized by comprising: The method comprises: in response to the received camera shooting instruction, acquiring a usage degree corresponding to each component of each camera shooting device that can be dispatched in a networking environment, wherein the usage degree represents a used degree of the component; determining a life degree of each camera shooting device by using a preset weight value and the usage degree, wherein the life degree represents a safe working time of the camera shooting device; controlling the camera shooting device with a high priority corresponding to the life degree to perform a camera shooting task in the networking environment.

2. The method of claim 1, wherein the acquiring of the usage degree corresponding to each component of each camera shooting device that can be dispatched in the networking environment comprises: acquiring a plurality of camera shooting devices that can be dispatched in the networking environment, and determining a used number and a total available number of each component in each camera shooting device; determining the usage degree of each component by using the used number and the total available number.

3. The method of claim 1, wherein the determining of the life degree of each camera shooting device by using the preset weight value and the usage degree comprises: assigning a weight value to each component of each camera shooting device; determining the life degree of each camera shooting device by using the weight value and the usage degree of each component in the camera shooting device.

4. The method of claim 3, wherein the assigning of the weight value to each component of each camera shooting device comprises: acquiring at least one core component in each camera shooting device, and assigning a first score value to each core component; acquiring a second score value corresponding to all core components in each camera shooting device, wherein the second score value is a sum of a plurality of first score values; determining the weight value corresponding to each component by using the first score value and the second score value.

5. The method of claim 4, wherein the acquiring of at least one core component in each camera shooting device and the assigning of a first score value to each core component comprises: acquiring a first score of each component in each camera shooting device, wherein the first score represents a ratio of a first price of a current component to a second price of a current camera shooting device; acquiring a second score of each component in each camera shooting device, wherein the second score represents an installation duration of a current component; acquiring a third score of each component in each camera shooting device, wherein the third score represents a demand setting of a current component; determining a fourth score by using the first score, the second score and the third score, and determining that a current component is a core component when the fourth score is greater than a score threshold value, and taking the fourth score as the first score value.

6. The method of claim 3, wherein the determining of the life degree of each camera shooting device by using the weight value and the usage degree of each component in the camera shooting device comprises: determining a core component of each camera shooting device; determining the life degree of each camera shooting device by using the weight value and the usage degree corresponding to the core component.

7. The method of claim 1, wherein The control of the imaging task performed by the imaging device with high priority corresponding to the life degree schedulable in the networking environment comprises: Determine the priority of each imaging device in the networking environment by using the life degree, wherein the life degree and the priority are in a positive correlation relationship; Take the imaging device with high priority as the target imaging device in the networking environment, and then control the target imaging device to perform the imaging task.

8. The method of claim 1, wherein, Further comprising: In response to the use degree corresponding to the component of the imaging device reaching a pre-warning value, trigger a pre-warning information; Control other imaging devices with high priority corresponding to the life degree schedulable in the networking environment to perform the imaging task by using the pre-warning information.

9. An electronic device, comprising: The electronic device comprises a memory and a processor coupled with the memory, the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the imaging device control method in any one of claims 1-8.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium has at least one program, and the at least one program is loaded and executed by the processor to implement the imaging device control method in any one of claims 1-8.

Citation Information

Patent Citations

  • Spare part demand predicting method based on state monitoring and reliability of equipment part

    CN103632054A

  • Hardware fault monitoring method and system based on IT operation and maintenance

    CN115225463A