CN117336586A - Terminal power consumption optimization method and device, terminal and storage medium - Google Patents

Terminal power consumption optimization method and device, terminal and storage medium Download PDF

Info

Publication number
CN117336586A
CN117336586A CN202311382602.3A CN202311382602A CN117336586A CN 117336586 A CN117336586 A CN 117336586A CN 202311382602 A CN202311382602 A CN 202311382602A CN 117336586 A CN117336586 A CN 117336586A
Authority
CN
China
Prior art keywords
temperature
terminal
camera
power consumption
external
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311382602.3A
Other languages
Chinese (zh)
Inventor
彭雄辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202311382602.3A priority Critical patent/CN117336586A/en
Publication of CN117336586A publication Critical patent/CN117336586A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/52Elements optimising image sensor operation, e.g. for electromagnetic interference [EMI] protection or temperature control by heat transfer or cooling elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/65Control of camera operation in relation to power supply
    • H04N23/651Control of camera operation in relation to power supply for reducing power consumption by affecting camera operations, e.g. sleep mode, hibernation mode or power off of selective parts of the camera
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/815Camera processing pipelines; Components thereof for controlling the resolution by using a single image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio

Abstract

Compared with the prior art, the terminal power consumption optimizing method, device, terminal and storage medium make full use of the temperature detection characteristics of the terminal to detect the internal temperature of the camera module and the image processing module, and make use of the external temperature detection design to detect the external temperature of the camera module and the image processing module simultaneously; and generating a temperature cloud picture by using the detected multiple internal temperatures and the detected multiple external temperatures, and determining a target temperature with an exceeding temperature standard according to the temperature cloud picture, so that the target temperature with the exceeding temperature standard is adjusted according to a preset temperature control strategy, and the power consumption of the terminal is optimized. The power consumption is optimized by combining the internal temperature and the external temperature, and the optimizing effect is better.

Description

Terminal power consumption optimization method and device, terminal and storage medium
Technical Field
The application relates to the field of mobile terminal power consumption optimization, in particular to a terminal power consumption optimization method, a device, a terminal and a storage medium.
Background
The power consumption of the camera device of the mobile phone flagship in the market at present severely restricts the upgrading iteration of the effect and algorithm, so that a plurality of good schemes are limited in use, and the existing solution is from the angles of increasing the heat dissipation design, expanding the temperature rise threshold and optimizing the power efficiency, and the power consumption of a part of camera devices can be optimized, but the power consumption requirement of the whole machine cannot be met.
Disclosure of Invention
The application provides a terminal power consumption optimization method, a terminal power consumption optimization device, a terminal and a storage medium, which can effectively optimize the power consumption of a camera device in the terminal, thereby optimizing the power consumption of the whole machine.
In a first aspect, the present application provides a method for optimizing power consumption of a terminal, where the terminal includes a camera module and an image processing module, and the method includes:
detecting the internal temperature and the external temperature of the camera module respectively to obtain a first internal temperature and a first external temperature;
detecting the internal temperature and the external temperature of the image processing module respectively to obtain a second internal temperature and a second external temperature;
determining a temperature cloud image of the terminal according to the first internal temperature, the first external temperature, the second internal temperature and the second external temperature;
determining target temperature with exceeding temperature in the camera module and the image processing module according to the temperature cloud picture;
and adjusting the target temperature according to a preset temperature control strategy to optimize the power consumption of the terminal.
In some possible embodiments of the present application, the camera module includes a first camera, a second camera, a third camera, and a fourth camera, where the first camera, the second camera, the third camera, and the fourth camera are sequentially arranged around;
The detecting the internal temperature and the external temperature of the camera module respectively to obtain a first internal temperature and a first external temperature includes:
detecting the internal temperatures of the first camera, the second camera, the third camera and the fourth camera respectively to obtain a third internal temperature, a fourth internal temperature, a fifth internal temperature and a sixth internal temperature, wherein the first internal temperature comprises the third internal temperature, the fourth internal temperature, the fifth internal temperature and the sixth internal temperature;
detecting the external temperature of a first position between the first camera and the second camera to obtain a third external temperature;
detecting the external temperature of a second position surrounded by the first camera, the second camera, the third camera and the fourth camera to obtain a fourth external temperature;
detecting the external temperature of a third position in a preset range around the third camera to obtain a fifth external temperature;
detecting the external temperature of a fourth position between the fourth camera and the third camera to obtain a sixth external temperature, wherein the first external temperature comprises the third external temperature, the fourth external temperature, the fifth external temperature and the sixth external temperature.
In some possible embodiments of the present application, the image processing module includes an image processing chip and a storage unit;
detecting the internal temperature and the external temperature of the image processing module respectively to obtain a second internal temperature and a second external temperature, including:
detecting the internal temperatures of the image processing chip and the storage unit respectively to obtain a seventh internal temperature and an eighth internal temperature, wherein the second internal temperature comprises the seventh internal temperature and the eighth internal temperature;
and detecting the external temperature of the image processing module to obtain the second external temperature.
In some possible embodiments of the present application, the adjusting the target temperature according to a preset temperature control policy to optimize power consumption of the terminal includes:
determining the position of the target temperature;
and selecting a corresponding target temperature control strategy from preset temperature control strategies according to the position of the target temperature, and adjusting the target temperature according to the target temperature control strategy.
In some possible embodiments of the present application, the location where the target temperature is located includes a camera module and an image processing module;
selecting a corresponding target temperature control strategy from preset temperature control strategies according to the position of the target temperature, and adjusting the target temperature according to the target temperature control strategy, wherein the method comprises the following steps:
If the target temperature is the temperature generated by the camera module, acquiring a current environment parameter, and determining a first picture frame rate of the terminal according to the current environment parameter and the target temperature;
and adjusting the picture frame rate of the terminal according to the first picture frame rate so as to reduce the temperature of the terminal and optimize the power consumption of the terminal.
In some possible embodiments of the present application, before adjusting the frame rate of the terminal according to the first frame rate to reduce the temperature of the terminal and optimize the power consumption of the terminal, selecting a corresponding target temperature control policy from preset temperature control policies according to the location where the target temperature is located, and adjusting the target temperature according to the target temperature control policy further includes:
judging whether the first picture frame rate meets the picture display condition of the terminal;
if the first picture frame rate does not meet the picture display condition of the terminal, the first picture frame rate is adjusted to obtain a second picture frame rate;
and adjusting the picture frame rate of the terminal by using the second picture frame rate so as to reduce the temperature of the terminal and optimize the power consumption of the terminal.
In some possible embodiments of the present application, if the first frame rate does not meet the frame display condition of the terminal, adjusting the first frame rate to obtain a second frame rate includes:
If the first picture frame rate does not meet the picture display condition of the terminal, confirming whether the terminal is in a motion state or not;
if the terminal is in a motion state, determining the frame inserting frequency of the terminal;
and carrying out frame interpolation on the first picture frame rate according to the frame interpolation frequency to obtain the second picture frame rate.
In a second aspect, an embodiment of the present application provides a terminal power consumption optimization device, which is applied to a terminal, where the terminal includes a camera module and an image processing module, and the device includes:
the first temperature detection unit is used for respectively detecting the internal temperature and the external temperature of the camera module to obtain a first internal temperature and a first external temperature;
a second temperature detection unit for detecting the internal temperature and the external temperature of the image processing module respectively to obtain a second internal temperature and a second external temperature;
a temperature processing unit, configured to determine a temperature cloud chart of the terminal according to the first internal temperature, the first external temperature, the second internal temperature, and the second external temperature;
the temperature judging unit is used for determining target temperature with exceeding temperature in the camera module and the image processing module according to the temperature cloud picture;
And the power consumption optimizing unit is used for adjusting the target temperature according to a preset temperature control strategy so as to optimize the power consumption of the terminal.
In a third aspect, the present application provides an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor implements the steps of the image processing method according to any one of the first aspects.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program to be loaded by a processor for performing the steps of the image processing method according to any of the first aspects.
In a third aspect, the present application provides a terminal comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor implements the steps of the terminal power consumption optimization method according to any one of the first aspects.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program to be loaded by a processor for performing the steps of the terminal power consumption optimization method according to any of the first aspects.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor coupled to a transceiver of a terminal device, for performing the technical solution provided in the first aspect of the embodiment of the present application.
In a sixth aspect, an embodiment of the present application provides a chip system, where the chip system includes a processor for supporting a terminal device to implement the functions involved in the first aspect, for example, generating or processing an exposure image involved in the image processing method provided in the first aspect.
In one possible design, the above chip system further includes a memory for holding program instructions and data necessary for the terminal. The chip system may be formed of a chip or may include a chip and other discrete devices.
In a seventh aspect, embodiments of the present application provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the image processing method provided in the first aspect above.
Compared with the prior art, the terminal power consumption optimizing method, device, terminal and storage medium make full use of the temperature detection characteristics of the terminal to detect the internal temperature of the camera module and the image processing module, and make use of the external temperature detection design to detect the external temperature of the camera module and the image processing module simultaneously; and generating a temperature cloud picture by using the detected multiple internal temperatures and the detected multiple external temperatures, and determining a target temperature with an exceeding temperature standard according to the temperature cloud picture, so that the target temperature with the exceeding temperature standard is adjusted according to a preset temperature control strategy, and the power consumption of the terminal is optimized. The power consumption is optimized by combining the internal temperature and the external temperature, and the optimizing effect is better.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an embodiment of a terminal power consumption optimization system provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart of an embodiment of a method for optimizing terminal power consumption provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of one embodiment of a temperature detection layout provided by an embodiment of the present application;
FIG. 4 is a schematic flow chart of an embodiment of detecting an internal temperature and an external temperature of an image capturing apparatus according to the embodiment of the present application;
FIG. 5 is a schematic diagram of one embodiment of an external temperature detection design provided by embodiments of the present application;
FIG. 6 is a schematic flow chart of one embodiment of power consumption optimization according to temperature provided in an embodiment of the present application;
FIG. 7 is a flow chart of one embodiment of power consumption optimization provided by embodiments of the present application;
FIG. 8 is a flow chart of another embodiment of power consumption optimization provided by an embodiment of the present application;
FIG. 9 is a schematic diagram of an embodiment of a terminal power consumption optimizing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal provided in an embodiment of the present application;
fig. 11 is a block diagram of a part of a structure of a mobile phone related to a terminal provided in an embodiment of the present application;
fig. 12 is a schematic diagram of a server structure according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In the following description, specific embodiments of the present application will be described with reference to steps and symbols performed by one or more computers, unless otherwise indicated. Thus, these steps and operations will be referred to in several instances as being performed by a computer, which as referred to herein performs operations that include processing units by the computer that represent electronic signals that represent data in a structured form. This operation transforms the data or maintains it in place in the computer's memory system, which may reconfigure or otherwise alter the computer's operation in a manner well known to those skilled in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principles of the present application are described in the foregoing text and are not meant to be limiting, and one skilled in the art will recognize that various steps and operations described below may also be implemented in hardware.
The term "module" or "unit" as used herein may be considered a software object executing on the computing system. The various components, modules, engines, and services described herein may be viewed as implementing objects on the computing system. The apparatus and methods described herein are preferably implemented in software, but may of course also be implemented in hardware, all within the scope of the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
Referring to fig. 1, the present application further provides a terminal power consumption optimization system, as shown in fig. 1, where the terminal power consumption optimization system includes a computing device 100, and the terminal power consumption optimization apparatus provided in the present application is integrated in the computing device 100. In the present embodiment, the computing device 100 may be a terminal device or a server.
In the embodiment of the present application, in the case where the computing device 100 is a server, the server may be a stand-alone server, or may be a server network or a server cluster formed by servers, for example, a server described in the embodiment of the present application includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a cloud server formed by a plurality of servers. Wherein the Cloud server is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing). In embodiments of the present application, communication between the server and the client may be achieved by any communication means, including, but not limited to, mobile communication based on third generation partnership project (3rd Generation Partnership Project,3GPP), long term evolution (Long Term Evolution, LTE), worldwide interoperability for microwave access (Worldwide Interoperability for Microwave Access, wiMAX), or computer network communication based on the TCP/IP protocol family (TCP/IP Protocol Suite, TCP/IP), user datagram protocol (User Datagram Protocol, UDP), etc.
It will be appreciated that when the computing device 100 used in embodiments of the present application is a terminal device, the terminal device may be a device that includes both receive hardware and transmit hardware, i.e., a device having receive and transmit hardware capable of performing bi-directional communications over a bi-directional communication link. Such a terminal device may include: a cellular or other communication device having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display. The specific computing device 100 may be a desktop terminal or a mobile terminal, and the computing device 100 may be one of a mobile phone, a tablet computer, a notebook computer, and the like.
The terminal device according to the embodiments of the present application may also be a device that provides voice and/or data connectivity to a user, a handheld device with wireless connection functionality, or other processing device connected to a wireless modem. Such as mobile telephones (or "cellular" telephones) and computers with mobile terminals, which can be portable, pocket, hand-held, computer-built-in or car-mounted mobile devices, for example, which exchange voice and/or data with radio access networks. For example, personal communication services (English full name: personal Communication Service, english short name: PCS) telephones, cordless telephones, session Initiation Protocol (SIP) phones, wireless local loop (Wireless Local Loop, english short name: WLL) stations, personal digital assistants (English full name: personal Digital Assistant, english short name: PDA) and the like.
Those skilled in the art will appreciate that the application environment shown in fig. 1 is merely an application scenario of the present application, and is not limited to the application scenario of the present application, and other application environments may further include more or fewer computing devices than those shown in fig. 1, or a network connection relationship of computing devices, for example, only 1 computing device is shown in fig. 1, and it is understood that the terminal power consumption optimization system may further include one or more other computing devices, or/and one or more other computing devices that are network connected to the computing device 100, and in particular, the application is not limited herein.
In addition, as shown in fig. 1, the image processing system may further include a storage module 200 for storing pictures.
In this embodiment of the present application, the storage module 200 may be a cloud storage, cloud storage (cloud storage) is a new concept that extends and develops in the concept of cloud computing, and the distributed cloud storage system (hereinafter referred to as a storage system) refers to a storage system that provides data storage and service access functions for the outside through aggregation of a large number of storage devices (storage devices are also referred to as storage nodes) of different types in a network through application software or application interfaces by using functions such as cluster application, grid technology, and distributed storage file system.
At present, the storage method of the storage system is as follows: when creating logical volumes, each logical volume is allocated a physical storage space, which may be a disk composition of a certain storage device or of several storage devices. The client stores data on a certain logical volume, that is, the data is stored on a file system, the file system divides the data into a plurality of parts, each part is an object, the object not only contains the data but also contains additional information such as a data Identification (ID) and the like, the file system writes each object into a physical storage space of the logical volume, and the file system records storage position information of each object, so that when the client requests to access the data, the file system can enable the client to access the data according to the storage position information of each object.
The process of allocating physical storage space for the logical volume by the storage system specifically includes: physical storage space is divided into stripes in advance according to the set of capacity measures for objects stored on a logical volume (which measures tend to have a large margin with respect to the capacity of the object actually to be stored) and redundant array of independent disks (RAID, redundant Array of Independent Disk), and a logical volume can be understood as a stripe, whereby physical storage space is allocated for the logical volume.
It should be noted that, the schematic view of the scenario of the terminal power consumption optimization system shown in fig. 1 is only an example, and the terminal power consumption optimization system and scenario described in the embodiments of the present application are for more clearly describing the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application, and as one of ordinary skill in the art can know, along with the evolution of the image processing system and the appearance of a new service scenario, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
The solution provided in the embodiments of the present application relates to artificial intelligence (Artificial Intelligence, AI), computer Vision (CV), machine Learning (ML), and the like, and is specifically described by the following embodiments:
the AI is a theory, a method, a technology and an application system which simulate, extend and extend human intelligence by using a digital computer or a machine controlled by the digital computer, sense environment, acquire knowledge and acquire an optimal result by using the knowledge. In other words, artificial intelligence is an integrated technology of computer science that attempts to understand the essence of intelligence and to produce a new intelligent machine that can react in a similar way to human intelligence. Artificial intelligence, i.e. research on design principles and implementation methods of various intelligent machines, enables the machines to have functions of sensing, reasoning and decision.
AI technology is a comprehensive discipline, and relates to a wide range of technologies, both hardware and software. Artificial intelligence infrastructure technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and other directions.
CV is a science of how to make a machine "look at", and more specifically, it means that a camera and a computer are used to replace human eyes to recognize, track and measure targets, and further perform graphic processing, so that the computer is processed into images more suitable for human eyes to observe or transmit to an instrument to detect. As a scientific discipline, computer vision research-related theory and technology has attempted to build artificial intelligence systems that can acquire information from images or multidimensional data. Computer vision techniques typically include techniques for anti-disturbance generation, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content/behavior recognition, three-dimensional object reconstruction, 3D techniques, virtual reality, augmented reality, synchronous positioning, and map construction, as well as common biometric techniques such as face recognition, fingerprint recognition, and the like.
The method, the device, the terminal and the storage medium for optimizing the power consumption of the terminal provided by the embodiment of the application are respectively described in detail below. The numbers of the following examples are not intended to limit the preferred order of the examples.
The terminal power consumption optimization method provided by the embodiment of the invention is applied to the terminal, and the terminal comprises a camera module and an image processing module, and mainly optimizes the power consumption of the camera module and the image processing module so as to optimize the power consumption of the whole terminal.
Referring to fig. 2, fig. 2 is a schematic diagram of a terminal power consumption optimization method according to an embodiment of the present application, where the terminal power consumption optimization method includes the following steps 201 to 205:
201. and detecting the internal temperature and the external temperature of the camera module respectively to obtain a first internal temperature and a first external temperature.
202. And detecting the internal temperature and the external temperature of the image processing module respectively to obtain a second internal temperature and a second external temperature.
203. And determining a temperature cloud picture of the terminal according to the first internal temperature, the first external temperature, the second internal temperature and the second external temperature.
According to the terminal power consumption optimization method, the temperature is adjusted mainly through different temperatures of different positions in the acquisition terminal, so that the corresponding temperature control strategy is selected. The reduction of power consumption reduces the temperature, so the temperature control strategy is actually also a power consumption optimization strategy.
Specifically, since the present application mainly optimizes power consumption of the image capturing module and the image processing module, it is necessary to detect temperatures of the image capturing module and the image processing module, respectively; in this application, it is necessary to measure the internal temperature and the external temperature of the camera module and the image processing module, respectively. The camera module and the image processing module are usually provided with temperature detection characteristics, so that the internal temperature can be directly measured without adding a temperature detection device; the external temperature is mainly the temperature on the outer surface of the detection terminal, and an external temperature detection design needs to be added to detect the temperature. The specific structure of the external temperature detection design is described in the following examples.
As shown in fig. 3, a temperature detection layout diagram is provided in an embodiment of the present application. In fig. 3, the camera module includes a first camera A1, a second camera A2, a third camera A3, and a fourth camera A4; and the first camera A1, the second camera A2, the third camera A3 and the fourth camera A4 are sequentially arranged in a surrounding mode. As shown in fig. 4, detecting the internal temperature and the external temperature of the image pickup apparatus at this time, obtaining the first external temperature and the second external temperature may include:
401. and detecting the internal temperatures of the first camera, the second camera, the third camera and the fourth camera respectively to obtain a third internal temperature, a fourth internal temperature, a fifth internal temperature and a sixth internal temperature.
402. And detecting the external temperature of the first position between the first camera and the second camera to obtain a third external temperature.
403. And detecting the external temperature of a second position surrounded by the first camera, the second camera, the third camera and the fourth camera to obtain a fourth external temperature.
404. Detecting the external temperature of a third position in a preset range around the third camera to obtain a fifth external temperature;
405. and detecting the external temperature of a fourth position between the fourth camera and the third camera to obtain a sixth external temperature.
Referring to fig. 3, when detecting the internal temperature of the camera module, the temperature detection features of the cameras are utilized to detect the internal temperature of the camera module, and the temperatures corresponding to the cameras are detected; and respectively measuring and obtaining a third internal temperature corresponding to the first camera A1, a fourth internal temperature corresponding to the second camera A2, a fifth internal temperature corresponding to the third camera A3 and a sixth internal temperature corresponding to the fourth camera A4. The first internal temperature of the camera module actually comprises: a third internal temperature, a fourth internal temperature, a fifth internal temperature, and a sixth internal temperature.
When the external temperature of the camera module is detected, the temperatures of the cameras at the corresponding positions of the outer surface of the terminal are not actually detected; this is because the outer surface of the terminal is integral and the temperature of a certain area is affected by the ambient temperature. The measured external temperature is thus in fact the temperature of the fixed zone. As shown in fig. 3, four external temperatures are measured as those of four areas (1) (2) (3) (4) in fig. 3; wherein the external temperature of the area (1) is mainly affected by the cameras A1 and A2, and thus the external temperature of the first position between the first camera A1 and the second camera A2 is measured. The external temperature of the area (2) is mainly affected by the cameras A1-A4 together, so that the external temperature of a second position surrounded by the cameras A1-A4 is measured; the external temperature of the area (3) is mainly influenced by the camera A3, and the external temperature of a third position in a preset range around the third camera A3 is measured; the external temperature of the region (4) is mainly affected by the third camera A3 and the fourth camera A4, and thus the external temperature of the fourth position between the third camera A3 and the fourth camera A4 is measured. The first external temperature includes a third external temperature, a fourth external temperature, a fifth external temperature, and a sixth external temperature.
When the external temperature is actually detected, the detected position and range need to be changed according to the number and position of the cameras in the imaging device, and the actual hardware layout needs to be tightly adjusted.
Referring to fig. 3, for an image processing module, the image processing module generally includes an image processing chip and a storage unit, and detecting the internal temperature and the external temperature of the image processing module mainly includes: respectively detecting the internal temperatures of the image processing chip and the storage unit to obtain a seventh internal temperature corresponding to the image processing chip and an eighth internal temperature corresponding to the storage unit; the second internal temperature includes a seventh internal temperature and an eighth internal temperature. Similar to the image capturing apparatus, the image processing chip and the memory unit are also generally designed with temperature detection, so that the internal temperature can be measured by using the temperature detection design without adding an internal temperature detection design and without changing the architecture of the terminal. While for the external temperature, it is not necessary to separately detect the image processing chip and the storage unit, but the external temperature at the corresponding position (5) of the image processing module (including the image processing chip and the storage unit) is directly detected.
As shown in fig. 5, an embodiment of the external temperature detection design provided in the embodiments of the present application is shown. The external temperature detection design shown in fig. 5 is mainly a temperature acquisition circuit, wherein R1 is a fixed resistor, and the resistance value is not changed along with the change; and R2 is a temperature sensitive resistor, and the resistance value can be changed along with the temperature change. Under the condition that the voltage is kept unchanged, when the temperature is changed, the resistance value of the temperature-sensitive resistor is changed, and the voltages at the two ends of the temperature-sensitive resistor are also changed. Therefore, the resistance value of R2 can be determined by collecting the port voltage, and the temperature at R2 is further determined, namely the external temperature is determined.
204. And determining target temperature with exceeding temperature in the camera module and the image processing module according to the temperature cloud picture.
205. And adjusting the target temperature according to a preset temperature control strategy to optimize the power consumption of the terminal.
After the plurality of internal temperatures and the plurality of external temperatures are acquired, a temperature cloud image may be further generated according to the plurality of internal temperatures and the plurality of external temperatures, where the temperature cloud image generally includes a specific temperature value and a temperature of which region or structure the temperature value is, so as to determine a location of a temperature superscalar and a specific temperature value according to the temperature cloud image. In the above embodiment, the internal temperatures of the different modules are collected by using the temperature detection design of the terminal, and the external temperatures are detected by using the external temperature detection design; the external temperature detection design is also simpler. Through simultaneously detecting the internal temperature and the external temperature and generating a temperature cloud picture, the exceeding temperature and the position or module with the exceeding temperature can be accurately determined according to the temperature cloud picture, and the corresponding temperature control strategy is further selected to adjust the exceeding temperature, so that the optimization of the power consumption of the terminal is realized.
Compared with the prior art, the terminal power consumption optimization method provided by the embodiment of the application makes full use of the temperature detection characteristics of the terminal, namely the internal temperature of the camera module and the internal temperature of the image processing module are detected, and the external temperature of the camera module and the external temperature of the image processing module are detected simultaneously by using an external temperature detection design; and generating a temperature cloud picture by using the detected multiple internal temperatures and the detected multiple external temperatures, and determining a target temperature with an exceeding temperature standard according to the temperature cloud picture, so that the target temperature with the exceeding temperature standard is adjusted according to a preset temperature control strategy, and the power consumption of the terminal is optimized. The power consumption is optimized by combining the internal temperature and the external temperature, and the optimizing effect is better.
In the embodiment of the application, the temperature generated when the camera module operates includes an internal temperature and an external temperature generated by the camera module, and the image processing module also generates the corresponding internal temperature and the external temperature when the image processing module operates. The present application requires the selection of different temperature control strategies for different temperatures generated at different locations. The following detailed description:
as shown in fig. 6, a schematic flow chart of an embodiment of power consumption optimization according to temperature provided in an embodiment of the present application may include the following steps:
601. The location at which the target temperature is located is determined.
The target temperature is the temperature with the temperature exceeding the standard, namely the temperature with the temperature exceeding the standard. And the target temperature can be judged by: judging whether the temperature is within 5% of the threshold value (namely, the threshold value); for example, it is determined whether or not the third external temperature is within 5% of the upper and lower 5% of the third external temperature threshold value, and if so, the third external temperature is the target temperature exceeding the standard.
The threshold values corresponding to different temperatures are also different because the device characteristics and the structural heat dissipation capability are different. In addition, when the target temperature is determined, each measured temperature needs to be determined, so that the target temperature can be multiple.
602. And if the target temperature is the temperature generated by the camera module, acquiring the current environment parameter, and determining a first picture frame rate of the terminal according to the current environment parameter and the target temperature.
603. Whether the first picture frame rate meets the picture display condition of the terminal is judged.
604. And if the first picture frame rate does not meet the picture display condition of the terminal, adjusting the first picture frame rate to obtain a second picture frame rate.
605. And adjusting the picture frame rate of the terminal by using the second picture frame rate to reduce the temperature of the terminal and optimize the power consumption of the terminal.
606. And if the first picture frame rate meets the picture display condition of the terminal, adjusting the picture frame rate of the terminal according to the first picture frame rate so as to reduce the temperature of the terminal and optimize the power consumption of the terminal.
The terminal power consumption optimization method comprises the steps of optimizing hardware power consumption and optimizing software power consumption. The hardware power consumption is mainly generated by the operation of the image pickup device, and the software power consumption is mainly generated by the operation of the image processing device. There is a certain difference in optimizing hardware power consumption and software power consumption.
As shown in fig. 7, a flowchart of an embodiment of power consumption optimization according to an embodiment of the present application is described below with reference to fig. 6 and fig. 7. When the position of the target temperature is determined, whether the target temperature is generated by hardware power consumption or software power consumption can be determined, for example, the target temperature is determined to be the temperature at the camera module, and the target temperature exceeding the standard can be determined to be generated by the operation of a hardware structure (namely the camera device). At this time, a power consumption optimization value, that is, an expected value of power consumption, to which degree it is desired to optimize the power consumption may be determined; and then the current environment is identified to acquire the current environment parameters. Specifically, the current environmental parameter is mainly obtained. After determining the target temperature, the power consumption optimization value, and the ambient brightness (i.e., the ambient parameters), a first frame rate of the terminal in an ideal state may be determined according to the parameters, and the picture may be displayed at the first frame rate.
In the above embodiment, the frame reduction processing is mainly performed on the frames according to different ambient brightness and power consumption optimization values, so that the number of processed frames is reduced to reduce power consumption. However, in an actual power consumption optimization scene, the frame after frame dropping may be abnormal, and normal frame display cannot be satisfied; therefore, the picture is usually required to be processed again, so that the picture can be normally displayed while the power consumption of the terminal is reduced. Specifically, it is determined whether the first frame rate satisfies a frame display condition of the terminal, for example, whether a preset minimum frame rate of a normal display frame of the terminal is satisfied, or the like. If the first picture frame rate does not meet the normal picture display condition of the terminal, the first picture frame rate needs to be adjusted to obtain a second picture frame rate; and the adjusted second picture frame rate is utilized to adjust the picture frame rate of the terminal, so that the power consumption of the terminal is reduced on the premise of ensuring the normal display of the picture of the terminal.
In the above embodiment, if the first frame rate does not meet the frame display condition of the terminal, adjusting the first frame rate to obtain the second frame rate may include:
if the first picture frame rate does not meet the picture display condition of the terminal, confirming whether the terminal is in a motion state; if the terminal is in a motion state, determining the frame inserting frequency of the terminal; and carrying out frame interpolation on the first picture frame frequency according to the frame interpolation frequency to obtain a second picture frame frequency.
Specifically, if the terminal is in a motion state, a larger frame rate is generally required, so that it is required to confirm whether the terminal is in a motion state; if the terminal is in a motion state, the frame inserting frequency of the frame needing to be inserted by the terminal can be determined, the first picture frame frequency is adjusted according to the frame inserting frequency, and the second picture frame frequency is obtained, so that the adjusted second picture frame frequency is utilized to adjust the picture of the terminal. The frame rate of the picture is adjusted by inserting frames, the data does not need to be rendered again, and more power consumption is not increased while the frame rate of the picture is improved.
In the above embodiment, the specific method for performing frame insertion may include: fusing two adjacent pictures to obtain a picture needing to be inserted with frames; or fusing multiple frames to obtain the picture needing frame insertion. The specific process of determining the frame inserting frequency and the frame inserting picture can refer to the prior art, and is not limited herein. And when the frame inserting frequency of the terminal is determined, the frame inserting frequency can be positive or negative, namely the first picture frame rate can be increased or the first picture frame rate can be reduced.
In the actual power consumption optimization scenario, the temperature cloud chart is used to determine a plurality of target temperatures exceeding the standard, so that power consumption optimization is required to be performed on the positions where the plurality of target temperatures are located at the same time to reduce the temperature. The measured external temperature is influenced by a plurality of cameras and an image processing device, so that when the first picture frame rate and the second picture frame rate are determined, the picture frame rate of each camera or the image processing module is required to be determined by combining a plurality of target temperatures; rather than dicing the camera, image processing chip and memory unit.
As shown in fig. 8, a flow chart of another embodiment of power consumption optimization provided in an embodiment of the present application is shown. In fig. 8, it is first determined whether there is a temperature within 5% above and below the respective threshold according to the temperature cloud chart, thereby determining an out-of-specification target temperature; if the temperature is not out of standard, various image optimization means such as background blurring, multi-frame synthesis and the like can be loaded to improve the picture display effect. If the target temperature exceeds the standard, determining whether the position of the target temperature is the temperature exceeding standard of the camera module or the temperature exceeding standard of the image processing module is needed.
When power consumption optimization is performed, whether the temperature of the camera module exceeds the standard or the temperature of the image processing module exceeds the standard, the current environment needs to be identified to acquire the current environment parameters, and the current environment brightness parameters are mainly acquired. For the temperature exceeding of the camera module, the exposure is increased under different environment brightness to make the picture display effect better, so that the picture frame rate can be properly reduced to reduce the power consumption. For the temperature exceeding of the image processing module, the number of pictures to be processed can be reduced, so that the power consumption is reduced, and the reduction of the number of pictures to be processed is mainly realized by reducing the frame rate. Of course, in an actual power consumption optimization scenario, for the temperature of the camera module to exceed the standard, it may be necessary to insert frames into the frame while reducing the frame rate of the frame to ensure normal display of the frame, as shown in fig. 7, which is not described herein.
In other embodiments, power consumption optimization may be achieved by reducing the size of the frame, or adjusting the transmission rate of the frame, or adjusting the exposure time of the terminal; reference is made to the prior art for specific methods, which are not limited herein.
In order to facilitate better implementation of the terminal power consumption optimization method provided by the embodiment of the application, the embodiment of the application also provides a device based on the terminal power consumption optimization method. The meaning of the noun is the same as that in the terminal power consumption optimization method, and specific implementation details can be referred to the description in the method embodiment. As shown in fig. 9, the terminal power consumption optimizing apparatus may include:
the first temperature detection unit 901 is configured to detect an internal temperature and an external temperature of the camera module, respectively, to obtain a first internal temperature and a first external temperature.
And a second temperature detecting unit 902, configured to detect an internal temperature and an external temperature of the image processing module, respectively, to obtain a second internal temperature and a second external temperature.
A temperature processing unit 903, configured to determine a temperature cloud chart of the terminal according to the first internal temperature, the first external temperature, the second internal temperature, and the second external temperature.
And the temperature judging unit 904 is used for determining target temperature with exceeding temperature in the image pickup module and the image processing module according to the temperature cloud image.
The power consumption optimizing unit 905 is configured to adjust the target temperature according to a preset temperature control policy, so as to optimize the power consumption of the terminal.
Compared with the prior art, the terminal power consumption optimizing device provided by the embodiment of the application fully utilizes the temperature detection characteristics of the terminal inside to detect the internal temperature of the camera module and the image processing module, and utilizes the external temperature detection design to detect the external temperature of the camera module and the image processing module simultaneously; and generating a temperature cloud picture by using the detected multiple internal temperatures and the detected multiple external temperatures, and determining a target temperature with an exceeding temperature standard according to the temperature cloud picture, so that the target temperature with the exceeding temperature standard is adjusted according to a preset temperature control strategy, and the power consumption of the terminal is optimized. The power consumption is optimized by combining the internal temperature and the external temperature, and the optimizing effect is better.
In some embodiments, the camera module includes a first camera, a second camera, a third camera, and a fourth camera, which are sequentially arranged around. The first temperature detection unit 901 is mainly used for: detecting the internal temperatures of the first camera, the second camera, the third camera and the fourth camera respectively to obtain a third internal temperature, a fourth internal temperature, a fifth internal temperature and a sixth internal temperature, wherein the first internal temperature comprises the third internal temperature, the fourth internal temperature, the fifth internal temperature and the sixth internal temperature;
Detecting the external temperature of a first position between the first camera and the second camera to obtain a third external temperature; detecting the external temperature of a second position surrounded by the first camera, the second camera, the third camera and the fourth camera to obtain a fourth external temperature;
detecting the external temperature of a third position in a preset range around the third camera to obtain a fifth external temperature; detecting the external temperature of a fourth position between the fourth camera and the third camera to obtain a sixth external temperature, wherein the first external temperature comprises the third external temperature, the fourth external temperature, the fifth external temperature and the sixth external temperature.
In some embodiments, the image processing module includes an image processing chip and a memory unit. The second temperature detection unit 902 is mainly used for: detecting the internal temperatures of the image processing chip and the storage unit respectively to obtain a seventh internal temperature and an eighth internal temperature, wherein the second internal temperature comprises the seventh internal temperature and the eighth internal temperature; and detecting the external temperature of the image processing module to obtain a second external temperature.
In some embodiments, the power consumption optimizing unit 905 is mainly used for: determining the position of the target temperature; and selecting a corresponding target temperature control strategy from preset temperature control strategies according to the position of the target temperature, and adjusting the target temperature according to the target temperature control strategy.
In some embodiments, the power consumption optimizing unit 905 is mainly used for: if the target temperature is the temperature generated by the camera module, acquiring the current environment parameter, and determining a first picture frame rate of the terminal according to the current environment parameter and the target temperature; and adjusting the picture frame rate of the terminal according to the first picture frame rate to reduce the temperature of the terminal and optimize the power consumption of the terminal.
In some embodiments, the power consumption optimizing unit 905 is mainly used for: judging whether the first picture frame rate meets the picture display condition of the terminal; if the first picture frame rate does not meet the picture display condition of the terminal, the first picture frame rate is adjusted to obtain a second picture frame rate; and adjusting the picture frame rate of the terminal by using the second picture frame rate to reduce the temperature of the terminal and optimize the power consumption of the terminal.
In some embodiments, the power consumption optimizing unit 905 is mainly used for: if the first picture frame rate does not meet the picture display condition of the terminal, confirming whether the terminal is in a motion state; if the terminal is in a motion state, determining the frame inserting frequency of the terminal; and carrying out frame interpolation on the first picture frame frequency according to the frame interpolation frequency to obtain a second picture frame frequency.
The embodiment of the application also provides a terminal, as shown in fig. 10, which shows a schematic structural diagram of the terminal according to the embodiment of the application, specifically:
The terminal may include one or more processing cores 'processors 1001, one or more computer-readable storage media's memory 1002, a power supply 1003, and an input unit 1004, among other components. It will be appreciated by those skilled in the art that the terminal structure shown in fig. 10 is not limiting and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the processor 1001 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory 1002 and calling data stored in the memory 1002, thereby performing overall monitoring of the terminal. Optionally, the processor 1001 may include one or more processing cores; preferably, the processor 1001 may integrate an application processor that mainly processes an operation storage medium, a user interface, an application program, and the like, and a modem processor that mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 1001.
The memory 1002 may be used to store software programs and modules, and the processor 1001 executes various functional applications and data processing by executing the software programs and modules stored in the memory 1002. The memory 1002 may mainly include a storage program area and a storage data area, wherein the storage program area may store a storage medium, an application program (such as a sound playing function, an image playing function, etc.) required for operating at least one function, and the like; the storage data area may store data created according to the use of the terminal, etc. In addition, memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 1002 may also include a memory controller to provide the processor 1001 with access to the memory 1002.
The terminal further comprises a power supply 1003 for supplying power to the various components, preferably the power supply 1003 may be logically connected to the processor 1001 by a power management storage medium, so that functions of managing charging, discharging, and power consumption management are implemented by the power management storage medium. The power supply 1003 may also include one or more of any of a direct current or alternating current power supply, a rechargeable storage medium, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The terminal may also include an input unit 1004, which input unit 1004 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the terminal may further include a display unit or the like, which is not described herein. In this embodiment, the processor 1001 in the terminal loads executable files corresponding to the processes of one or more application programs into the memory 1002 according to the following instructions, and the processor 1001 executes the application program stored in the memory 1002, so as to implement the steps in the above-mentioned method embodiment for optimizing terminal power consumption.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program to be loaded by a processor to perform the steps of any of the terminal power consumption optimization methods provided by the embodiments of the present application.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like. Because the computer program stored in the computer readable storage medium may execute any step in the method for optimizing terminal power consumption provided in the embodiments of the present application, any beneficial effect that may be achieved by the method for optimizing terminal power consumption provided in the embodiments of the present application may be achieved, which is detailed in the previous embodiments and will not be described herein.
When the computing device in the embodiment of the present application is a terminal device, the embodiment of the present application further provides a terminal device, as shown in fig. 11, for convenience of explanation, only a portion related to the embodiment of the present application is shown, and specific technical details are not disclosed, please refer to a method portion of the embodiment of the present application. The terminal device may be any terminal device including a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), a Point of Sales (POS), a vehicle-mounted computer, and the like, taking the terminal device as an example of the mobile phone:
Fig. 11 is a block diagram showing a part of the structure of a mobile phone related to a terminal device provided in an embodiment of the present application. Referring to fig. 11, the mobile phone includes: radio Frequency (RF) circuitry 1110, memory 1120, input unit 1130, display unit 1140, sensors 1150, audio circuit 1160, wireless fidelity (wireless fidelity, wiFi) module 1170, processor 1180, power supply 1190, and the like. Those skilled in the art will appreciate that the handset configuration shown in fig. 8 is not limiting of the handset and may include more or fewer components than shown, or may combine certain components, or may be arranged in a different arrangement of components.
The following describes the components of the mobile phone in detail with reference to fig. 11:
the RF circuit 1110 may be used for receiving and transmitting signals during a message or a call, and in particular, after receiving downlink information of a base station, the downlink information is processed by the processor 1180; in addition, the data of the design uplink is sent to the base station. Typically, RF circuitry 1110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low noise amplifier (Low NoiseAmplifier, LNA), a duplexer, and the like. In addition, RF circuitry 1110 may also communicate with networks and other devices via wireless communications. The wireless communications may use any communication standard or protocol including, but not limited to, global system for mobile communications (GlobalSystem of Mobile communication, GSM), general Packet radio service (General Packet RadioService, GPRS), code division multiple access (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), email, short message service (Short Messaging Service, SMS), and the like.
The memory 1120 may be used to store software programs and modules, and the processor 1180 executes the software programs and modules stored in the memory 1120 to perform various functional applications and data processing of the cellular phone. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 1120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The input unit 1130 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile phone. In particular, the input unit 1130 may include a touch panel 1131 and other input devices 1132. The touch panel 1131, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1131 or thereabout using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch panel 1131 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device and converts it into touch point coordinates, which are then sent to the processor 1180, and can receive commands from the processor 1180 and execute them. In addition, the touch panel 1131 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1130 may include other input devices 1132 in addition to the touch panel 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 1140 may be used to display information input by a user or information provided to the user as well as various menus of the mobile phone. The display unit 1140 may include a display panel 1141, and optionally, the display panel 1141 may be configured in a form of a Liquid crystal display (Liquid CrystalDisplay, LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 1131 may overlay the display panel 1141, and when the touch panel 1131 detects a touch operation thereon or thereabout, the touch panel is transferred to the processor 1180 to determine the type of touch event, and then the processor 1180 provides a corresponding visual output on the display panel 1141 according to the type of touch event. Although in fig. 11, the touch panel 1131 and the display panel 1141 are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1131 may be integrated with the display panel 1141 to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1141 and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the handset are not described in detail herein.
Audio circuitry 1160, speaker 1161, and microphone 1162 may provide an audio interface between a user and a cell phone. The audio circuit 1160 may transmit the received electrical signal converted from audio data to the speaker 1161, and may be converted into a sound signal by the speaker 1161 to be output; on the other hand, the microphone 1162 converts the collected sound signals into electrical signals, which are received by the audio circuit 1160 and converted into audio data, which are processed by the audio data output processor 1180 for transmission to, for example, another cell phone via the RF circuit 1110, or which are output to the memory 1120 for further processing.
Wi-Fi belongs to a short-distance wireless transmission technology, and a mobile phone can help a user to send and receive e-mails, browse webpages, access streaming media and the like through a Wi-Fi module 1170, so that wireless broadband Internet access is provided for the user. Although fig. 11 shows Wi-Fi module 1170, it is to be understood that it does not belong to the necessary constitution of the cell phone, and can be omitted entirely as required within the scope of not changing the essence of the invention.
The processor 1180 is a control center of the mobile phone, and connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions and processes of the mobile phone by running or executing software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, thereby performing overall monitoring of the mobile phone. In the alternative, processor 1180 may include one or more processing units; alternatively, the processor 1180 may integrate an application processor that primarily processes operating systems, user interfaces, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1180.
The handset further includes a power supply 1190 (e.g., a battery) for powering the various components, optionally in logical communication with the processor 1180 via a power management system whereby charge, discharge, and power consumption functions are managed by the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which will not be described herein.
The embodiment of the present application further provides a server, please refer to fig. 12, fig. 12 is a schematic diagram of a server structure provided in the embodiment of the present application, and the server 1200 may have a relatively large difference due to different configurations or performances, and may include one or more central processing units (in english: central processing units, in english: CPU) 1222 (for example, one or more processors) and a memory 1232, one or more storage media 1230 (for example, one or more mass storage devices) storing application programs 1242 or data 1244. Wherein memory 1232 and storage medium 1230 can be transitory or persistent. The program stored on the storage medium 1230 may include one or more modules (not shown), each of which may include a series of instruction operations on a server. Still further, the central processor 1222 may be configured to communicate with the storage medium 1230, executing a series of instruction operations on the storage medium 1230 on the server 1200.
The Server 1200 may also include one or more power supplies 1226, one or more wired or wireless network interfaces 1250, one or more input/output interfaces 1258, and/or one or more operating systems 1241, such as Windows Server, mac OS X, unix, linux, freeBSD, and the like.
The steps in the method for optimizing the power consumption of the terminal in the above-described embodiment may be based on the structure of the server 1200 shown in fig. 12. For example, the central processor 1222 may perform the following operations by invoking instructions in the memory 1232:
detecting the internal temperature and the external temperature of the camera module respectively to obtain a first internal temperature and a first external temperature; detecting the internal temperature and the external temperature of the image processing module respectively to obtain a second internal temperature and a second external temperature; determining a temperature cloud picture of the terminal according to the first internal temperature, the first external temperature, the second internal temperature and the second external temperature; determining target temperature with exceeding temperature in the camera module and the image processing module according to the temperature cloud image; and adjusting the target temperature according to a preset temperature control strategy to optimize the power consumption of the terminal.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, apparatuses and modules described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When the computer program is loaded and executed on a computer, the flow or functions described in accordance with embodiments of the present application are fully or partially produced. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
The foregoing describes in detail the technical solution provided by the embodiments of the present application, in which specific examples are applied to illustrate the principles and implementations of the embodiments of the present application, where the foregoing description of the embodiments is only used to help understand the methods and core ideas of the embodiments of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope according to the ideas of the embodiments of the present application, the present disclosure should not be construed as limiting the embodiments of the present application in view of the above.

Claims (10)

1. The terminal power consumption optimization method is characterized by being applied to a terminal, wherein the terminal comprises a camera module and an image processing module, and the method comprises the following steps:
detecting the internal temperature and the external temperature of the camera module respectively to obtain a first internal temperature and a first external temperature;
detecting the internal temperature and the external temperature of the image processing module respectively to obtain a second internal temperature and a second external temperature;
determining a temperature cloud image of the terminal according to the first internal temperature, the first external temperature, the second internal temperature and the second external temperature;
determining target temperature with exceeding temperature in the camera module and the image processing module according to the temperature cloud picture;
And adjusting the target temperature according to a preset temperature control strategy to optimize the power consumption of the terminal.
2. The terminal power consumption optimization method according to claim 1, wherein the camera module comprises a first camera, a second camera, a third camera and a fourth camera, and the first camera, the second camera, the third camera and the fourth camera are sequentially arranged in a surrounding mode;
the detecting the internal temperature and the external temperature of the camera module respectively to obtain a first internal temperature and a first external temperature includes:
detecting the internal temperatures of the first camera, the second camera, the third camera and the fourth camera respectively to obtain a third internal temperature, a fourth internal temperature, a fifth internal temperature and a sixth internal temperature, wherein the first internal temperature comprises the third internal temperature, the fourth internal temperature, the fifth internal temperature and the sixth internal temperature;
detecting the external temperature of a first position between the first camera and the second camera to obtain a third external temperature;
detecting the external temperature of a second position surrounded by the first camera, the second camera, the third camera and the fourth camera to obtain a fourth external temperature;
Detecting the external temperature of a third position in a preset range around the third camera to obtain a fifth external temperature;
detecting the external temperature of a fourth position between the fourth camera and the third camera to obtain a sixth external temperature, wherein the first external temperature comprises the third external temperature, the fourth external temperature, the fifth external temperature and the sixth external temperature.
3. The terminal power consumption optimization method according to claim 1, wherein the image processing module comprises an image processing chip and a storage unit;
detecting the internal temperature and the external temperature of the image processing module respectively to obtain a second internal temperature and a second external temperature, including:
detecting the internal temperatures of the image processing chip and the storage unit respectively to obtain a seventh internal temperature and an eighth internal temperature, wherein the second internal temperature comprises the seventh internal temperature and the eighth internal temperature;
and detecting the external temperature of the image processing module to obtain the second external temperature.
4. The method for optimizing power consumption of a terminal according to claim 1, wherein the adjusting the target temperature according to a preset temperature control policy to optimize power consumption of the terminal comprises:
Determining the position of the target temperature;
and selecting a corresponding target temperature control strategy from preset temperature control strategies according to the position of the target temperature, and adjusting the target temperature according to the target temperature control strategy.
5. The terminal power consumption optimization method according to claim 4, wherein the target temperature is located at a position comprising a camera module and an image processing module;
selecting a corresponding target temperature control strategy from preset temperature control strategies according to the position of the target temperature, and adjusting the target temperature according to the target temperature control strategy, wherein the method comprises the following steps:
if the target temperature is the temperature generated by the camera module, acquiring a current environment parameter, and determining a first picture frame rate of the terminal according to the current environment parameter and the target temperature;
and adjusting the picture frame rate of the terminal according to the first picture frame rate so as to reduce the temperature of the terminal and optimize the power consumption of the terminal.
6. The method for optimizing power consumption of a terminal according to claim 5, wherein before adjusting the frame rate of the terminal according to the first frame rate to reduce the temperature of the terminal and optimize the power consumption of the terminal, selecting a corresponding target temperature control policy among preset temperature control policies according to a position where the target temperature is located, and adjusting the target temperature according to the target temperature control policy further comprises:
Judging whether the first picture frame rate meets the picture display condition of the terminal;
if the first picture frame rate does not meet the picture display condition of the terminal, the first picture frame rate is adjusted to obtain a second picture frame rate;
and adjusting the picture frame rate of the terminal by using the second picture frame rate so as to reduce the temperature of the terminal and optimize the power consumption of the terminal.
7. The method for optimizing power consumption of a terminal according to claim 6, wherein if the first frame rate does not meet the frame display condition of the terminal, adjusting the first frame rate to obtain a second frame rate, comprising:
if the first picture frame rate does not meet the picture display condition of the terminal, confirming whether the terminal is in a motion state or not;
if the terminal is in a motion state, determining the frame inserting frequency of the terminal;
and carrying out frame interpolation on the first picture frame rate according to the frame interpolation frequency to obtain the second picture frame rate.
8. A terminal power consumption optimizing apparatus, characterized in that it is applied to a terminal, the terminal includes a camera module and an image processing module, the apparatus includes:
The first temperature detection unit is used for respectively detecting the internal temperature and the external temperature of the camera module to obtain a first internal temperature and a first external temperature;
a second temperature detection unit for detecting the internal temperature and the external temperature of the image processing module respectively to obtain a second internal temperature and a second external temperature;
a temperature processing unit, configured to determine a temperature cloud chart of the terminal according to the first internal temperature, the first external temperature, the second internal temperature, and the second external temperature;
the temperature judging unit is used for determining target temperature with exceeding temperature in the camera module and the image processing module according to the temperature cloud picture;
and the power consumption optimizing unit is used for adjusting the target temperature according to a preset temperature control strategy so as to optimize the power consumption of the terminal.
9. A terminal comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor implements the steps of the terminal power consumption optimization method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that it has stored thereon a computer program, which is loaded by a processor to perform the steps in the terminal power consumption optimization method according to any of claims 1 to 7.
CN202311382602.3A 2023-10-23 2023-10-23 Terminal power consumption optimization method and device, terminal and storage medium Pending CN117336586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311382602.3A CN117336586A (en) 2023-10-23 2023-10-23 Terminal power consumption optimization method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311382602.3A CN117336586A (en) 2023-10-23 2023-10-23 Terminal power consumption optimization method and device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN117336586A true CN117336586A (en) 2024-01-02

Family

ID=89295093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311382602.3A Pending CN117336586A (en) 2023-10-23 2023-10-23 Terminal power consumption optimization method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN117336586A (en)

Similar Documents

Publication Publication Date Title
CN106161628B (en) Shooting file uploading method and device
EP3627911B1 (en) Power sensitive wireless communication radio management
CN110049244A (en) Image pickup method, device, storage medium and electronic equipment
US20150163280A1 (en) Method and device for downloading file
JP6862564B2 (en) Methods, devices and non-volatile computer-readable media for image composition
CN109002547B (en) Log file storage method, mobile terminal and computer readable storage medium
WO2014166266A1 (en) File scanning method and system, client and server
CN107734618B (en) Application program closing method and device, storage medium and electronic equipment
CN110489657B (en) Information filtering method and device, terminal equipment and storage medium
CN116596202A (en) Work order processing method, related device and storage medium
CN117336586A (en) Terminal power consumption optimization method and device, terminal and storage medium
CN113852751B (en) Image processing method, device, terminal and storage medium
CN109799994B (en) Terminal component generation method and device
CN112559532A (en) Data insertion method and device based on red and black trees and electronic equipment
CN106445841B (en) A kind of data transfer control method and device
CN111143580A (en) Multimedia data storage method and device, storage medium and electronic equipment
CN114125151B (en) Image processing method, mobile terminal and storage medium
CN112199245B (en) Mobile terminal screen detection method, system, storage medium and mobile terminal
CN117237228A (en) Image processing method, device, equipment and storage medium
CN117456570A (en) Method, device, equipment and storage medium for calibrating fingerprint under screen
US9471782B2 (en) File scanning method and system, client and server
CN117742522A (en) Terminal touch optimization method and device, electronic equipment and storage medium
CN117234137B (en) MCU clock frequency switching circuit, MCU and electronic equipment
CN109617660B (en) Method and device for setting carrier aggregation frequency band, storage medium and mobile terminal
CN111026488B (en) Communication data saving method, device, terminal equipment and storage medium

Legal Events

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