Power consumption control method and device, shooting system and storage medium
By identifying the operating status and controlled status of the camera terminal and dynamically adjusting the operating status of the components, the problem of poor battery life of the camera terminal is solved, and the power consumption control and battery life are improved.
Patent Information
- Application Number
- CN202310776965.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2024-12-27
AI Technical Summary
The camera terminal has poor battery life during operation, resulting in high body temperature and cannot meet the service needs of users for a long time, high power consumption and reduced battery capacity.
By obtaining the operating status and controlled status of the shooting component, determine the power consumption control strategy based on the status, and adjust the operating status of the shooting component and control component to reduce power consumption, including local control, remote control and transmission control policies.
It effectively reduces the operating power consumption of the shooting system, improves battery life, and meets the needs of users for long-term use.
Smart Images

Figure CN119211713A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal control technology, and in particular to a power consumption control method, device, shooting system and storage medium. Background Art
[0002] At present, with the development of the camera field, more and more users use cameras and other terminals to capture images. The forms of camera terminals are becoming more and more diverse, and the design forms tend to be miniaturized, such as thumb cameras. In order to achieve the miniaturized device form of the camera, the manufacturer has reduced the size of the camera battery, resulting in a reduction in the camera battery capacity. In addition, the camera consumes high power during operation, which leads to a high body temperature and short battery life of the camera terminal during operation, which cannot meet the business needs of users to use the camera for a long time, resulting in limited shooting scenes of the camera terminal. Summary of the invention
[0003] The embodiments of the present application provide a power consumption control method, device, shooting system and storage medium, which are intended to solve the technical problem of poor battery life of camera terminals during operation in the prior art.
[0004] On the one hand, an embodiment of the present application provides a power consumption control method, the power consumption control method comprising:
[0005] Obtaining the operating state and controlled state of the shooting component;
[0006] Determining a power consumption control strategy of the shooting system according to the operating state and the controlled state;
[0007] The operating states of the shooting component and the control component are adjusted according to the power consumption control strategy.
[0008] In a possible implementation of the present application, the obtaining of the operating state and the controlled state of the shooting component includes:
[0009] Determining the operating state of the shooting component according to the in-position state and the shooting mode of the shooting component, wherein the operating state includes any one or more of a shooting state, a transmission state and a standby state;
[0010] A target control terminal connected to the shooting component is determined, and a controlled state of the shooting component is determined according to the target control terminal and a target control instruction.
[0011] In a possible implementation of the present application, before determining the operating state of the shooting component according to the in-place state and / or shooting state of the shooting component, the method further includes:
[0012] Acquire first sensor data of the photographing component and second sensor data of the control component;
[0013] The in-position state of the photographing component is identified according to the first sensor data and the second sensor data, and the in-position state includes an integrated state and a separated state.
[0014] In a possible implementation of the present application, determining the power consumption control strategy of the shooting system according to the operating state and the controlled state includes:
[0015] If the operating state of the shooting component is a shooting state or a standby state, and the controlled state is a local control state, then the power consumption control strategy corresponding to the shooting system is a local control strategy;
[0016] If the operating state of the shooting component is a shooting state or a transmission state, and the controlled state is a remote control state, then the power consumption control strategy corresponding to the shooting system is a remote control strategy;
[0017] If the operating state of the shooting component is a transmission state, and the controlled state is a transmission control state, then the power consumption control strategy corresponding to the shooting system is a transmission control strategy.
[0018] In a possible implementation of the present application, determining the controlled state of the shooting component according to the target control terminal and the target control instruction includes:
[0019] Responding to the terminal interaction request, obtaining the target control instruction of the target control terminal;
[0020] If the target control end is a control component, and the target control instruction is a local control instruction, the controlled state of the shooting component is a local control state;
[0021] If the target control instruction is a remote control instruction or an album reading instruction, the controlled state of the shooting component is a remote control state;
[0022] If the target control instruction is a data transmission instruction, the controlled state of the shooting component is a transmission control state.
[0023] In a possible implementation of the present application, adjusting the operating states of the shooting component and the control component according to the power consumption control strategy includes:
[0024] If the power consumption control strategy is a local control strategy, and the operating state is a shooting state, the shooting component is driven to adjust the clock signal state and the power supply link, and the control component is driven to turn off a preset sensor in the control component, and the screen state of the control component is adjusted;
[0025] If the power consumption control strategy is a local control strategy and the operating state is a standby state, the shooting component is turned off, and the display screen and the preset sensor of the control component are turned off to reduce the main control frequency of the control component.
[0026] In a possible implementation of the present application, adjusting the operating states of the shooting component and the control component according to the power consumption control strategy includes:
[0027] If the power consumption control strategy is a remote control strategy, obtaining a target control instruction of a target control terminal;
[0028] If the target control instruction is a remote shooting instruction, the shooting component is driven to transmit an image preview stream to the target control terminal according to a preset link, and the control component is driven to turn off a display screen and a preset sensor;
[0029] If the target control instruction is a remote read / write instruction, the shooting component is driven to stop shooting, and the preset sensor of the shooting component is turned off, and the control component is driven to turn off the display screen and the preset sensor.
[0030] On the other hand, the present application provides a power consumption control device, the power consumption control device comprising:
[0031] A state acquisition module, configured to acquire the operating state and the controlled state of the shooting component;
[0032] a strategy identification module, configured to determine a power consumption control strategy of the shooting system according to the operating state and the controlled state;
[0033] The power consumption control module is configured to adjust the operating states of the shooting component and the control component according to the power consumption control strategy.
[0034] On the other hand, the present application also provides a photographing system, the photographing system comprising:
[0035] one or more processors;
[0036] Memory; and
[0037] One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the steps of the power consumption control method as described above.
[0038] On the other hand, the present application also provides a computer-readable storage medium on which a computer program is stored. The computer program is loaded by a processor to execute the steps in the power consumption control method.
[0039] In this application, the operating state and the controlled state of the shooting component are obtained; the power consumption control strategy of the shooting system is determined according to the operating state and the controlled state; and the operating state of the shooting component and the control component are adjusted according to the power consumption control strategy. This is achieved by identifying the operating state and the controlled state of the shooting component, and adaptively selecting the power consumption control strategy of the shooting system according to the operating state and the controlled state, and dynamically adjusting the operating state of the shooting component and the control component through the power consumption control strategy, so as to reduce the operating power consumption of the shooting system and improve the endurance of the shooting system. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0041] Figure 1 A schematic diagram of a scenario of a power consumption control method according to an embodiment of the present application;
[0042] Figure 2 A schematic diagram of a flow chart of an embodiment of a power consumption control method in an embodiment of the present application;
[0043] Figure 3 A flowchart of an embodiment of obtaining the operating state and the controlled state of a shooting component in the power consumption control method provided in an embodiment of the present application;
[0044] Figure 4 A flowchart of an embodiment of adjusting the operating states of a shooting component and a control component according to a local control strategy in a power consumption control method provided in an embodiment of the present application;
[0045] Figure 5 A flowchart of another embodiment of adjusting the operating states of the shooting component and the control component according to the power consumption control strategy in the power consumption control method provided in the embodiment of the present application;
[0046] Figure 6 A schematic diagram of the structure of an embodiment of a power consumption control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0048] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0049] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to implement and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the invention can be implemented without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.
[0050] At present, with the development of the camera field, more and more users use cameras and other terminals to capture images. The forms of camera terminals are becoming more and more diverse, and the design forms tend to be miniaturized, such as thumb cameras. In order to achieve the miniaturized device form of the camera, the manufacturer has reduced the size of the camera battery, resulting in a reduction in the camera battery capacity. In addition, the camera consumes high power during operation, which leads to a high body temperature and short battery life of the camera terminal during operation, which cannot meet the business needs of users to use the camera for a long time, resulting in limited shooting scenes of the camera terminal.
[0051] Based on this, the present application proposes a power consumption control method, device, shooting system and computer-readable storage medium to solve the technical problem of poor battery life of camera terminals during operation in the prior art.
[0052] like Figure 1 As shown, Figure 1The schematic diagram of an embodiment of the shooting system provided in the embodiment of the present application, the shooting system in the embodiment of the present invention includes a shooting component 100 and a control component 200, the shooting component 100 is a smart terminal that can execute shooting or video recording instructions and communicate with the control component 200 through a specified transmission link. The shooting component 100 can be a shooting device with a shooting function such as a camera, a panoramic camera, a sports camera, a SLR camera, a gimbal, a smart phone, a smart tablet, etc. The control component 200 can be an intelligent control terminal that can interact with the shooting component through a wired transmission link or a wireless transmission link. The control component 200 can be a control terminal such as a charging box, a smart remote control, a smart phone, a smart tablet, a smart wearable device, a smart watch, a smart headset, smart glasses, etc. corresponding to the shooting component. Optionally, the control component 200 can be a control terminal that can be combined with the shooting component 100 for shooting, and can also be a mobile terminal such as a mobile phone, a tablet computer, and a wearable smart device that is installed with a control application corresponding to the shooting component and uses the control application to access the shooting component. Optionally, the control terminal can be a charging component of the shooting component or a detachably connected remote control terminal. Optionally, the control component 200 is a control terminal that can be detachably connected to the shooting component 100 and can interact with the shooting component 100. In a specific embodiment, the control component 200 is a charging component or a remote controller, and the connection method of the control component 200 can be a pogo pin structure connection or a USB structure connection. Figure 1 As shown, Figure 1 The control component 200 shown in the figure is provided with a mounting portion adapted to the shooting component 100 , and is used to install the shooting component 100 , thereby realizing a charging compartment in which the shooting component 100 and the control component 200 are integrally arranged.
[0053] Understandably, Figure 1 The shooting system in the power consumption control method scenario shown, or the devices included in the shooting system, does not constitute a limitation on the embodiments of the present invention, that is, the number of devices and types of devices in the shooting system included in the power consumption control method scenario, or the number of devices and types of devices included in each device, do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be regarded as equivalent replacements or derivatives of the technical solution claimed to be protected in the embodiments of the present invention.
[0054] The shooting system in the embodiment of the present invention is mainly used for: obtaining the operating state and the controlled state of the shooting component; determining the power consumption control strategy of the shooting system according to the operating state and the controlled state; and adjusting the operating state of the shooting component and the control component according to the power consumption control strategy.
[0055] The embodiments of the present application provide a power consumption control method, apparatus, device, and computer-readable storage medium, which are described in detail below.
[0056] It can be understood by those skilled in the art that Figure 1 The application environment shown in is only one of the application scenarios related to the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1 More or fewer shooting systems, or power consumption control network connection relationships shown, such as Figure 1 Only one shooting system is shown in the figure. It can be understood that the scenario of the power consumption control method can also include one or more shooting systems, which is not specifically limited here. The shooting system can also include a memory for storing the power consumption control strategy of the shooting system.
[0057] It should be noted that Figure 1 The scenario diagram of the power consumption control method shown is only an example. The scenario of the power consumption control method described in the embodiment of the present invention is to more clearly illustrate the technical solution of the embodiment of the present invention, and does not constitute a limitation on the technical solution provided by the embodiment of the present invention.
[0058] Based on the scenario of the above power consumption control method, various embodiments of the power consumption control method disclosed in the present invention are proposed.
[0059] like Figure 2 As shown, Figure 2 This is a flow chart of an embodiment of a power consumption control method in an embodiment of the present application. The power consumption control method includes the following steps 201 to 203:
[0060] 201. Obtaining the operating state and the controlled state of the shooting component;
[0061] Specifically, the shooting component obtains the operating state and controlled state of the shooting component in the shooting system. The operating state is a functional state that characterizes the current operating mode of the shooting component. In a specific embodiment, the operating state includes a shooting state, a transmission state, and a standby state. The controlled state is a shooting control state that characterizes the shooting component and the target control end. The controlled state includes control states such as a local control state, a wireless control state, and a transmission control state.
[0062] Specifically, the shooting component is pre-set with different operating states for different working modes, and different operating states represent that the shooting component is executing different working modes. For example, the shooting component is pre-set with shooting state, transmission state and standby state. The shooting state represents that the shooting component is in a shooting or video recording working mode, and performs video recording or photographing operations according to the working mode; the transmission state represents that the shooting component is in a data transmission working mode, and transmits data to a designated terminal according to the working mode. The standby state represents that the shooting component is in a standby working mode, and the shooting component is not currently performing related operations. Among them, different operating states correspond to different power consumptions. Optionally, the shooting component can also set other operating states according to the actual operating scenario, which will not be repeated in this embodiment.
[0063] Specifically, the shooting component can determine the operating state of the shooting component by identifying the current working mode, that is, the shooting component obtains the mode identifier of the working mode, and compares the mode identifier with the mode identifiers corresponding to the preset operating states, and sets the operating state with the same mode identifier as the operating state of the shooting component.
[0064] Specifically, the shooting component can also determine the controlled state of the shooting component by identifying the target control device of the shooting component. The target control terminal is a control terminal that is connected to the shooting component in communication and can send control instructions to the shooting component. Optionally, the target control terminal includes a control component, a wireless control terminal, and a wired control terminal.
[0065] Specifically, if the camera component detects that the target control terminal of the camera component is a control component, the controlled state of the camera component is set to a local controlled state. If the camera component detects that the target control terminal of the camera component is a wireless control terminal with a remote control application, the controlled state of the camera component is determined to be a remote controlled state.
[0066] Optionally, the shooting component can also determine the controlled state of the shooting component by identifying the operating state of the target control end. If each target control end enters the shooting page of the shooting component through a control application or a preset control button, the controlled state of the shooting component is determined to be a shooting control state; if each target control end enters the file reading page of the shooting component through a control application or a corresponding control button, the shooting component determines that the controlled state is a non-shooting control state.
[0067] Optionally, the shooting component can also determine the controlled state of the shooting component by identifying the target control terminal and the control instruction of the target control terminal.
[0068] 202. Determine a power consumption control strategy of the shooting system according to the operating state and the controlled state;
[0069] Specifically, after acquiring the operating state and the controlled state of the shooting component, the shooting component also determines the power consumption control strategy of the shooting system according to the operating state and the controlled state.
[0070] Optionally, a power consumption strategy database is pre-set in the shooting component and the control component in the shooting system, and the operating power consumption of the shooting component and the control component in different operating states and / or different controlled states is detected, and different power consumption control strategies are set for the operating power consumption, and the power consumption control strategies are stored in a preset power consumption strategy database.
[0071] After obtaining the operating state and controlled state of the shooting component, the shooting component queries the power consumption strategy database to obtain the power consumption control strategy corresponding to the operating state and controlled state in the power consumption strategy database. The power consumption control strategy is a control strategy that includes power consumption adjustment rules for the shooting component and the control component. Optionally, the power consumption control strategy includes a local control strategy, a remote control strategy, and a transmission control strategy. Different operating states and controlled scenarios of different shooting components correspond to different power consumption control strategies.
[0072] Optionally, the power consumption control strategy includes power consumption adjustment rules for reducing the power consumption of the shooting component and the control component, including: adjusting the shooting component clock signal, adjusting the shooting component charging link, shutting down the shooting component / control component, adjusting the sensor operation state of the shooting component / control component, and adjusting the preview state of the control component, etc. At least one or more power consumption adjustment rules. Optionally, the power consumption control strategy can also include more power consumption adjustment rules.
[0073] Optionally, the shooting component can also calculate the power consumption parameters of the operating state and the controlled state of the shooting component, and the power consumption parameters may include chip usage, battery consumption rate and other parameters, and compare the power consumption parameters with the preset power consumption threshold to obtain a power consumption comparison result, and select different power consumption control strategies according to the power consumption comparison result. Optionally, the power consumption control strategy includes a high power consumption control strategy, a medium power consumption strategy and a low power consumption strategy. The preset power consumption threshold is a power consumption parameter threshold that characterizes different power consumptions.
[0074] For example, the power consumption parameters of the operating state and the controlled state are chip usage rate. The shooting component compares the chip usage rate with a preset first power consumption threshold and a second power consumption threshold. The first power consumption threshold may be 50% chip usage rate, the second power consumption threshold may be 80% chip usage rate, etc. If the chip usage rate is less than the first power consumption threshold, it is determined that the power consumption of the shooting component is low, and a low power consumption control strategy is selected to adjust the shooting system; if the chip usage rate is greater than the first power consumption threshold and less than the second power consumption threshold, a medium power consumption control strategy is selected to adjust the power consumption of the shooting system; if the chip usage rate is greater than the second power consumption threshold, it is determined that the power consumption of the shooting component is high, and a high power consumption control strategy is selected to adjust the power consumption of the shooting system.
[0075] Optionally, in a specific embodiment, if the operating state of the shooting component is the shooting state or the standby state, and the controlled state is the local control state, that is, the target control device corresponding to the shooting component is the control component, then the shooting component queries the power consumption strategy database to obtain the power consumption control strategy corresponding to the operating state being the shooting state or the standby state, and the controlled state being the local control state, which is the local control strategy. The local control strategy is a control strategy for controlling the power consumption of the control component and the shooting component in the scenario where the shooting component is controlled by the control component.
[0076] Optionally, in a specific embodiment, if the operating state of the shooting component is the shooting state or the standby state, and the controlled state is the remote control state, that is, the target control device corresponding to the shooting component is the wireless control terminal, then the shooting component queries the power consumption strategy database to obtain the power consumption control strategy corresponding to the operating state being the shooting state or the standby state, and the controlled state being the remote control state, which is the remote control strategy. The remote control strategy is a control strategy for controlling the power consumption of the control component and the shooting component according to the control instruction and the operating state of the shooting component in the scenario of controlling the shooting component through the wireless control terminal.
[0077] Optionally, in a specific embodiment, if the operating state of the shooting component is the transmission state, and the controlled state is the transmission control state, that is, the target control device corresponding to the shooting component is a wired control terminal, the shooting component queries the power consumption strategy database to obtain the power consumption control strategy corresponding to the operating state being the shooting state or the standby state, and the controlled state being the remote control state, which is the transmission control strategy. The transmission control strategy is a control strategy for power consumption control of the control component and the shooting component in the scenario where the shooting component and the wired control terminal perform data transmission.
[0078] 203. Adjust the operating states of the shooting component and the control component according to the power consumption control strategy.
[0079] Specifically, after acquiring the power consumption control strategy corresponding to the shooting system, the shooting component and the control component in the shooting system adjust the operating status of the shooting component and the control component according to the power consumption strategy.
[0080] Specifically, after obtaining the power consumption control strategy, the shooting component in the shooting system parses the power consumption control strategy, obtains the power consumption adjustment rules in the power consumption control strategy, adjusts the software running state and / or hardware running state of the shooting component according to the power consumption adjustment rules, and shuts down or reduces the software or hardware that is not working in the running mode or controlled state. After obtaining the power consumption control strategy, the control component in the shooting system obtains the power consumption adjustment rules in the power consumption control strategy, adjusts the hardware running states such as the sensor running state, the display screen running state and the main control frequency in the shooting component according to the power consumption adjustment rules, and shuts down or reduces the software or hardware that is not working in the running mode or controlled state. Until the in-place state or controlled state of the shooting component changes.
[0081] Optionally, if the power consumption control strategy is a local control strategy, the shooting component in the shooting system adjusts the recording gear, clock signal, sampling state, switch state and charging mode of the shooting component according to the operating state and in-place state of the shooting component, and the control component adjusts the screen state of the control component and the peripheral switches of each preset sensor according to the local control strategy.
[0082] Optionally, if the power consumption control strategy is a remote control strategy, the shooting component in the shooting system adjusts its own image transmission status, recording gear, clock signal, sampling status and switch status according to the target control instruction of the wireless control end, and the control component in the shooting system also adjusts the screen status, main control frequency and peripheral switches of each preset sensor of the control component according to the target control instruction of the wireless control end.
[0083] Optionally, if the power consumption control strategy is a transmission control strategy, the shooting component in the shooting system adjusts the switching state, main control frequency and sampling state of the shooting component according to the transmission control strategy, and the control component in the shooting system also adjusts the switching state, main control frequency and switching state of the preset sensor of the control component according to the transmission control strategy, thereby reducing the power consumption of the shooting system and improving the battery life.
[0084] In this embodiment, the shooting system obtains the operating state and the controlled state of the shooting component; determines the power consumption control strategy of the shooting system according to the operating state and the controlled state; and adjusts the operating state of the shooting component and the control component according to the power consumption control strategy. This is achieved by identifying the operating state and the controlled state of the shooting component, and adaptively selecting the power consumption control strategy of the shooting system according to the operating state and the controlled state, and dynamically adjusting the operating state of the shooting component and the control component through the power consumption control strategy, so as to reduce the operating power consumption of the shooting system and improve the endurance of the shooting system.
[0085] like Figure 3 As shown, Figure 3A flowchart of an embodiment of obtaining the operating state and the controlled state of a shooting component in the power consumption control method provided in an embodiment of the present application. Specifically, the power consumption control method further includes steps 301 to 302:
[0086] 301. Determine an operating state of the shooting component according to the in-position state and shooting mode of the shooting component, where the operating state includes any one or more of a shooting state, a transmission state, and a standby state;
[0087] 302. Determine a target control terminal connected to the shooting component, and determine a controlled state of the shooting component according to the target control terminal and a target control instruction.
[0088] Based on the above embodiments, in this embodiment, after receiving the power consumption control request, the shooting system obtains the operating state and the controlled state of the shooting components in the shooting system.
[0089] Specifically, the shooting component in the shooting system obtains the in-position state and shooting mode of the shooting component, and determines the operating state of the shooting component according to the in-position state and shooting mode, wherein the operating state is a functional state representing the current operating mode of the shooting component, and the operating state includes any one or more of a shooting state, a transmission state, and a standby state, etc. Among them, the shooting state includes an integrated state and a separated state; the standby state includes an integrated standby state and a separated standby state; and the transmission state includes an integrated transmission state and a separated transmission state.
[0090] Optionally, the shooting component and the control component are pre-set with sensors for detecting the component posture and component distance, and the in-position state of the shooting component is judged by the sensor parameters of the sensor, that is, the shooting component collects the first sensor data of the shooting component, and the control component collects the second sensor data of the control component, and the in-position state of the shooting component is identified by the first sensor data and the second sensor data. The first sensor data is the sensor data collected by the first sensor arranged in the shooting component, and the first sensor can be one or more of the sensors such as a gyroscope, a distance sensor, and a position sensor. The second sensor data is the sensor data collected by the second sensor arranged in the control component. The first sensor can be one or more of the sensors such as a gyroscope, a distance sensor, and a position sensor.
[0091] Optionally, if the first sensor data matches the second sensor data, that is, the first sensor data is the same as the second sensor data, the photographing component determines that the in-place state of the photographing component is an integrated state.
[0092] Optionally, if the first sensor data does not match the second sensor data, that is, there is sensor data in the first sensor data that is different from the second sensor data, such as different gyroscope parameters, different distance sensor parameters and exceeding a preset distance threshold, and different position sensor parameters, any one or more of the following scenarios occurs, the state synchronization device determines that the in-place state of the shooting component is a separated state.
[0093] Optionally, the state synchronization device can also identify the in-position state of the shooting component by analog-to-digital conversion or application handshake. In a specific embodiment, the control component is preset with a first connection pin, and the telephone data is converted into an in-position state parameter by detecting the voltage data of the first connection pin and performing analog-to-digital conversion on the voltage change data. Different in-position state parameters represent different in-position states of the shooting component. In a specific embodiment, the first connection pin is a pogopin pin.
[0094] Optionally, the in-place state parameter may be a voltage value, a current value, etc. Taking the voltage value as an example, the preset parameter threshold may be a threshold between a high level and a low level. The specific principle is referred to the in-place detection of the USB device. In one embodiment, the target pin is a pogopin pin, the voltage of the target pin is obtained, and the target voltage is converted into an analog-to-digital value, and the controller can confirm the in-place state according to the voltage value.
[0095] Optionally, the shooting component can also detect the voltage data of the second connection pin preset in the control component and perform an application handshake between the shooting component and the control component, thereby identifying the in-position state of the shooting component. Optionally, in a specific embodiment, the second connection pin is a VBUS pin.
[0096] Specifically, after obtaining the operating state of the shooting component, the shooting component also determines the controlled state of the shooting component according to the target control terminal and the target control instruction corresponding to the shooting component. The controlled state is a shooting control state between the shooting component and the target control terminal. The controlled state includes a local control state, a wireless control state, and a transmission control state.
[0097] Specifically, after establishing a communication connection between the shooting component and the target control terminal, the shooting component responds to the terminal interaction request of the target control terminal, obtains the target control instruction of the target control terminal, and determines the controlled state of the shooting component according to the target control terminal and the target control instruction.
[0098] Optionally, if the target control end of the shooting component is the control component, that is, the shooting component is locally controlled by the control component in the shooting system, and the target control instruction is a local control instruction, the controlled state of the shooting component is a local control state. The target control instruction includes a local control instruction and a local browsing instruction, and the local control instruction is a control instruction for the control component to drive the shooting component to shoot. The local browsing instruction is a control instruction for the control component to browse non-shooting control pages such as album pages in the shooting system.
[0099] Optionally, if the target control instruction of the shooting component is a remote control instruction or an album reading instruction triggered by other control terminals other than the control component, the controlled state of the shooting component is a remote control state. The remote control instruction is a control instruction for the wireless control terminal to remotely drive the shooting component to shoot. The album reading instruction is an operation instruction for the wireless control terminal to remotely play, export or download the album files of the shooting system.
[0100] Optionally, if the target control terminal of the shooting component is a control terminal other than the control component, such as a smart phone, a wearable smart device, a computer or other smart terminal, and the target control instruction is a data transmission instruction, then the controlled state of the shooting component is a transmission control state. The data transmission instruction is a control instruction that drives the shooting component to perform a data transmission mode and transmits data to the target control terminal. In a specific embodiment, the data transmission mode includes a USB disk mode or an Android transmission mode.
[0101] Specifically, after obtaining the target control end and target control instruction of the shooting component, the shooting component associates and maps the target control end and the target control instruction to obtain the controlled state of the shooting component, and determines the power consumption control strategy of the shooting system through the operating state and controlled state of the shooting component in the subsequent power consumption control process.
[0102] In this embodiment, the shooting system determines the operating state of the shooting component according to the in-position state and shooting mode of the shooting component, and the operating state includes any one or more of the shooting state, the transmission state and the standby state; determines the target control terminal connected to the shooting component, and determines the controlled state of the shooting component according to the target control terminal and the target control instruction. The operating parameters of the shooting component and the operating parameters of the target control terminal are monitored in real time to determine the operating state and the controlled state of the shooting component, provide a decision basis for the power consumption control of the shooting system, and improve the accuracy of power consumption control.
[0103] like Figure 4 As shown, Figure 4A flowchart of an embodiment of adjusting the operating state of a shooting component and a control component according to a local control strategy in a power consumption control method provided in an embodiment of the present application. Specifically, the power consumption control method further includes steps 401 to 402:
[0104] 401. If the power consumption control strategy is a local control strategy and the operating state is a shooting state, drive the shooting component to adjust a clock signal state and a power supply link, drive the control component to turn off a preset sensor in the control component, and adjust a screen state of the control component;
[0105] 402. If the power consumption control strategy is a local control strategy and the operating state is a standby state, turn off the shooting component, turn off the display screen and preset sensor of the control component, and reduce the main control frequency of the control component.
[0106] Based on the above embodiments, in this embodiment, after determining that the power consumption control strategy corresponding to the shooting component is a local control strategy, the shooting system also adjusts the operating status of the shooting component and the control component according to the local control strategy and the operating status of the shooting component to control the operating power consumption of the shooting system.
[0107] Optionally, if the shooting component recognizes that the operating state of the shooting component is a shooting state, the shooting component further recognizes the in-position state of the shooting component, and further determines whether the shooting state is an integrated state through the in-position state.
[0108] If the in-position state of the shooting component is an integrated state, the shooting component determines that the shooting state is an integrated state, and the shooting system adjusts the operating states of the shooting component and the control component according to the integrated state and the power consumption control strategy, that is, drives the shooting component to adjust the clock signal state and the power supply link of the shooting component, drives the control component to turn off the preset sensor in the control component, and adjusts the screen state of the control component, so as to reduce the power consumption of the shooting component and the control component.
[0109] Specifically, the power consumption control strategy in the shooting system predetermines the power consumption control rules for the integrated state, that is, dynamically adjusting the clock signal of the shooting component according to the recording gear and recording specification corresponding to the shooting component, thereby controlling the image acquisition rate of the shooting component and reducing the image acquisition power consumption. Different recording gears and recording specifications correspond to different clock signals. The shooting system adjusts the clock signal of the shooting component to the target clock signal corresponding to the recording gear and recording specification.
[0110] After determining that the shooting component is in an integrated state, the shooting system also adjusts the power supply link of the shooting component according to the power consumption adjustment rules in the power consumption control strategy, that is, the shooting component adjusts the power supply link of the shooting component to the power supply link of the control component, and drives the control component to call the power supply link of the control component to power the shooting component for recording.
[0111] Specifically, the control component also controls the control component according to the power consumption control strategy, turns off the preset sensor in the control component, and the control component turns off the display screen in the control component and stops receiving the preview stream until the user wakes up the display screen of the control component. The preset sensor includes a gravity sensor, a Bluetooth module, and a screen sensor.
[0112] If the shooting component is in a separated state, the shooting component dynamically adjusts the clock signal of the shooting component according to the recording gear and recording specification corresponding to the shooting component, and the shooting system adjusts the clock signal of the shooting component to the target clock signal corresponding to the recording gear and recording specification.
[0113] If the shooting component is in a separated state, the control component controls the control component according to the power consumption control strategy, turns off preset sensors such as the gravity sensor and the screen sensor in the control component, turns off the display screen in the control component, and stops receiving the preview stream until the user wakes up the display screen of the control component.
[0114] Optionally, if the operating state of the shooting component is standby, the shooting component turns off the shooting component and reduces the main control frequency of the shooting component, and the control component drives the shooting system to stop Bluetooth streaming, reduces the main control frequency of the shooting component, and drives the inertial sensor to stop sampling until the shooting component responds to the shooting instruction and starts to perform the shooting operation.
[0115] Furthermore, the shooting system also turns off the display screen of the control component, as well as preset sensors such as the gravity sensor and the screen sensor, and reduces the main control frequency of the control component until the shooting component responds to the shooting instruction and starts to perform the shooting operation.
[0116] In this embodiment, the shooting system obtains the power consumption control strategy of the shooting component. If the power consumption control strategy is a local control strategy and the operating state is the shooting state, the shooting component in the shooting system drives the shooting component to adjust the clock signal state and the power supply link, and the control component turns off the preset sensor in the control component and adjusts the screen state of the control component; if the power consumption control strategy is a local control strategy and the operating state is the standby state, the shooting component is turned off, and the display screen and preset sensor of the control component are turned off to reduce the main control frequency of the control component. In the local control scenario, the operating state of the shooting component and the control component is automatically adjusted, the power consumption of the shooting system is reduced, and the battery life of the shooting system is improved.
[0117] like Figure 5 As shown, Figure 5 A flowchart of another embodiment of adjusting the operating states of the shooting component and the control component according to the power consumption control strategy in the power consumption control method provided in the embodiment of the present application, specifically, the power consumption control method further includes steps 501 to 503:
[0118] 501. If the power consumption control strategy is a remote control strategy, obtaining a target control instruction of a target control terminal;
[0119] 502. If the target control instruction is a remote shooting instruction, drive the shooting component to transmit an image preview stream to the target control end according to a preset link, and drive the control component to turn off a display screen and a preset sensor;
[0120] 503. If the target control instruction is a remote read / write instruction, the shooting component is driven to stop shooting, and a preset sensor of the shooting component is turned off, and the control component is driven to turn off a display screen and a preset sensor.
[0121] Based on the above embodiment, in this embodiment, after determining that the power consumption control strategy corresponding to the shooting component is the remote control strategy, the shooting system adjusts the operating state of the shooting component and the control component in the shooting system according to the remote control strategy and the target control instruction. The target control instruction includes a remote shooting instruction and a remote read-write instruction.
[0122] Optionally, when the shooting system determines that the target control instruction is a remote shooting instruction, that is, a control instruction triggered when the user connects to the shooting page preview or shooting interface of the shooting component through the control application of the target control terminal. After obtaining the remote shooting instruction, the shooting system obtains the power consumption control rule corresponding to the remote shooting instruction in the remote control strategy, and controls the power consumption of the shooting component and the control component according to the power consumption control rule.
[0123] Specifically, when the user connects to the shooting component through the control application of the remote control end for remote shooting, the preview stream can be viewed on the remote control end. The shooting component stops the control component from sending the image preview stream according to the power consumption control rule, and transmits the image preview stream to the target control end according to the preset link. The control component turns off the display screen and the preset sensor according to the power consumption control rule.
[0124] Optionally, when the shooting component determines that the target control instruction is a remote read / write instruction, that is, after the user connects to the shooting component through the control application of the target control terminal, the control instruction triggered by the image captured by the shooting component is exported, downloaded or played on demand. When the shooting component obtains the remote read / write instruction, it stops the shooting operation, turns off the inertial sensor sampling function, and stops sending the image preview stream to the control component. The control component turns off the display screen and preset sensors until the target control terminal exits the control application. The preset sensors include Bluetooth sensors, screen control sensors, gravity sensors, voice sensors, motors, etc.
[0125] Optionally, when the target control end is connected to the shooting component through the control application, the shooting system shields the control operation of the control component and does not respond to the control operation triggered by the control component.
[0126] In this embodiment, the shooting system obtains the power consumption control strategy of the shooting component. If the power consumption control strategy is a remote control strategy, the target control instruction of the target control terminal is obtained; if the target control instruction is a remote shooting instruction, the shooting component is driven to transmit the image preview stream to the target control terminal according to the preset link, and the control component is driven to turn off the display screen and the preset sensor; if the target control instruction is a remote read-write instruction, the shooting component is driven to stop shooting, and the preset sensor of the shooting component is turned off, and the control component is driven to turn off the display screen and the preset sensor. When the target control terminal is connected to the shooting component, the operating status of the shooting component and the control component is dynamically adjusted according to the operation instruction of the target control terminal, thereby reducing the power consumption of the shooting system and improving the battery life of the shooting system.
[0127] In order to better implement the power consumption control method in the embodiment of the present application, based on the power consumption control method, a power consumption control device is also provided in the embodiment of the present application, such as Figure 6 As shown, Figure 6 This is a schematic diagram of the structure of a power consumption control device provided in an embodiment of the present application. Specifically, the power consumption control device 600 includes:
[0128] The state acquisition module 601 is configured to acquire the operating state and the controlled state of the shooting component;
[0129] A strategy identification module 602 is configured to determine a power consumption control strategy of the shooting system according to the operating state and the controlled state;
[0130] The power consumption control module 603 is configured to adjust the operating states of the shooting component and the control component according to the power consumption control strategy.
[0131] In a possible implementation of this embodiment, the power consumption control device obtains the operating state and the controlled state of the shooting component, including:
[0132] Determining the operating state of the shooting component according to the in-position state and the shooting mode of the shooting component, wherein the operating state includes any one or more of a shooting state, a transmission state and a standby state;
[0133] A target control terminal connected to the shooting component is determined, and a controlled state of the shooting component is determined according to the target control terminal and a target control instruction.
[0134] In a possible implementation of this embodiment, before the power consumption control device determines the operating state of the shooting component according to the in-place state and / or shooting state of the shooting component, it also includes:
[0135] Acquire first sensor data of the photographing component and second sensor data of the control component;
[0136] The in-position state of the photographing component is identified according to the first sensor data and the second sensor data, and the in-position state includes an integrated state and a separated state.
[0137] In a possible implementation of this embodiment, the power consumption control device determines the power consumption control strategy of the shooting system according to the operating state and the controlled state, including:
[0138] If the operating state of the shooting component is a shooting state or a standby state, and the controlled state is a local control state, then the power consumption control strategy corresponding to the shooting system is a local control strategy;
[0139] If the operating state of the shooting component is a shooting state or a transmission state, and the controlled state is a remote control state, then the power consumption control strategy corresponding to the shooting system is a remote control strategy;
[0140] If the operating state of the shooting component is a transmission state, and the controlled state is a transmission control state, then the power consumption control strategy corresponding to the shooting system is a transmission control strategy.
[0141] In a possible implementation of this embodiment, the power consumption control device determines the controlled state of the shooting component according to the target control terminal and the target control instruction, including:
[0142] Responding to the terminal interaction request, obtaining the target control instruction of the target control terminal;
[0143] If the target control end is a control component, and the target control instruction is a local control instruction, the controlled state of the shooting component is a local control state;
[0144] If the target control instruction is a remote control instruction or an album reading instruction, the controlled state of the shooting component is a remote control state;
[0145] If the target control instruction is a data transmission instruction, the controlled state of the shooting component is a transmission control state.
[0146] In a possible implementation of this embodiment, the power consumption control device adjusts the operating states of the shooting component and the control component according to the power consumption control strategy, including:
[0147] If the power consumption control strategy is a local control strategy, and the operating state is a shooting state, the shooting component is driven to adjust the clock signal state and the power supply link, and the control component is driven to turn off a preset sensor in the control component, and the screen state of the control component is adjusted;
[0148] If the power consumption control strategy is a local control strategy and the operating state is a standby state, the shooting component is turned off, and the display screen and the preset sensor of the control component are turned off to reduce the main control frequency of the control component.
[0149] In a possible implementation of this embodiment, the power consumption control device adjusts the operating states of the shooting component and the control component according to the power consumption control strategy, including:
[0150] If the power consumption control strategy is a remote control strategy, obtaining a target control instruction of a target control terminal;
[0151] If the target control instruction is a remote shooting instruction, the shooting component is driven to transmit an image preview stream to the target control terminal according to a preset link, and the control component is driven to turn off a display screen and a preset sensor;
[0152] If the target control instruction is a remote read / write instruction, the shooting component is driven to stop shooting, and the preset sensor of the shooting component is turned off, and the control component is driven to turn off the display screen and the preset sensor.
[0153] In this embodiment, the power consumption control device obtains the operating state and the controlled state of the shooting component; determines the power consumption control strategy of the shooting system according to the operating state and the controlled state; and adjusts the operating state of the shooting component and the control component according to the power consumption control strategy. This is achieved by identifying the operating state and the controlled state of the shooting component, and adaptively selecting the power consumption control strategy of the shooting system according to the operating state and the controlled state, and dynamically adjusting the operating state of the shooting component and the control component through the power consumption control strategy, so as to reduce the operating power consumption of the shooting system and improve the endurance of the shooting system.
[0154] In addition, an embodiment of the present invention provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any power consumption control method provided in an embodiment of the present invention. For example, the computer program is loaded by a processor to execute the following steps:
[0155] Obtaining the operating state and controlled state of the shooting component;
[0156] Determining a power consumption control strategy of the shooting system according to the operating state and the controlled state;
[0157] The operating states of the shooting component and the control component are adjusted according to the power consumption control strategy.
[0158] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.
[0159] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.
[0160] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0161] The above is a detailed introduction to a power consumption control method provided in an embodiment of the present application. Specific embodiments are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A power consumption control method, characterized in that: Applied to a shooting system, the shooting system includes a shooting component and a control component, and the power consumption control method includes: Obtaining the operating state and controlled state of the shooting component; Determining a power consumption control strategy of the shooting system according to the operating state and the controlled state; The operating states of the shooting component and the control component are adjusted according to the power consumption control strategy.
2. The power consumption control method according to claim 1, characterized in that: The obtaining of the operating state and the controlled state of the shooting component includes: Determining the operating state of the shooting component according to the in-position state and the shooting mode of the shooting component, wherein the operating state includes any one or more of a shooting state, a transmission state and a standby state; A target control terminal connected to the shooting component is determined, and a controlled state of the shooting component is determined according to the target control terminal and a target control instruction.
3. The power consumption control method according to claim 2, characterized in that: Before determining the operating state of the shooting component according to the in-place state and / or shooting state of the shooting component, the method further includes: Acquire first sensor data of the photographing component and second sensor data of the control component; The in-position state of the photographing component is identified according to the first sensor data and the second sensor data, and the in-position state includes an integrated state and a separated state.
4. The power consumption control method according to claim 2, characterized in that: The determining the power consumption control strategy of the shooting system according to the operating state and the controlled state includes: If the operating state of the shooting component is a shooting state or a standby state, and the controlled state is a local control state, then the power consumption control strategy corresponding to the shooting system is a local control strategy; If the operating state of the shooting component is a shooting state or a transmission state, and the controlled state is a remote control state, then the power consumption control strategy corresponding to the shooting system is a remote control strategy; If the operating state of the shooting component is a transmission state, and the controlled state is a transmission control state, then the power consumption control strategy corresponding to the shooting system is a transmission control strategy.
5. The power consumption control method according to claim 2, characterized in that: The step of determining the controlled state of the shooting component according to the target control terminal and the target control instruction includes: Responding to the terminal interaction request, obtaining the target control instruction of the target control terminal; If the target control end is a control component, and the target control instruction is a local control instruction, the controlled state of the shooting component is a local control state; If the target control instruction is a remote control instruction or an album reading instruction, the controlled state of the shooting component is a remote control state; If the target control instruction is a data transmission instruction, the controlled state of the shooting component is a transmission control state.
6. The power consumption control method according to claim 1, characterized in that: The adjusting the operating states of the shooting component and the control component according to the power consumption control strategy includes: If the power consumption control strategy is a local control strategy, and the operating state is a shooting state, the shooting component is driven to adjust the clock signal state and the power supply link, and the control component is driven to turn off the preset sensor in the control component, and the screen state of the control component is adjusted; If the power consumption control strategy is a local control strategy and the operating state is a standby state, the shooting component is turned off, and the display screen and the preset sensor of the control component are turned off to reduce the main control frequency of the control component.
7. The power consumption control method according to claim 1, characterized in that: The adjusting the operating states of the shooting component and the control component according to the power consumption control strategy includes: If the power consumption control strategy is a remote control strategy, obtaining a target control instruction of a target control terminal; If the target control instruction is a remote shooting instruction, the shooting component is driven to transmit an image preview stream to the target control terminal according to a preset link, and the control component is driven to turn off a display screen and a preset sensor; If the target control instruction is a remote read / write instruction, the shooting component is driven to stop shooting, and the preset sensor of the shooting component is turned off, and the control component is driven to turn off the display screen and the preset sensor.
8. A power consumption control device, characterized in that: The power consumption control device comprises: A state acquisition module, configured to acquire the operating state and the controlled state of the shooting component; a strategy identification module, configured to determine a power consumption control strategy of the shooting system according to the operating state and the controlled state; The power consumption control module is configured to adjust the operating states of the shooting component and the control component according to the power consumption control strategy.
9. A shooting system, characterized in that: The shooting system comprises: one or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and are configured to be executed by the processor to implement the steps of the power consumption control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps of the power consumption control method according to any one of claims 1 to 7.