CN107071264A - A kind of image resolution ratio method of adjustment and mobile terminal - Google Patents
A kind of image resolution ratio method of adjustment and mobile terminal Download PDFInfo
- Publication number
- CN107071264A CN107071264A CN201710025611.5A CN201710025611A CN107071264A CN 107071264 A CN107071264 A CN 107071264A CN 201710025611 A CN201710025611 A CN 201710025611A CN 107071264 A CN107071264 A CN 107071264A
- Authority
- CN
- China
- Prior art keywords
- resolution
- mobile terminal
- image
- temperature
- current
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 69
- 230000000875 corresponding effect Effects 0.000 claims description 77
- 230000002596 correlated effect Effects 0.000 claims description 7
- 238000012545 processing Methods 0.000 abstract description 8
- 230000015654 memory Effects 0.000 description 31
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 9
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005259 measurement Methods 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 241000699666 Mus <mouse, genus> Species 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/65—Control of camera operation in relation to power supply
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
本发明实施例提供了提供一种图像分辨率调整方法,应用于具有摄像头的移动终端,所述方法包括:获取所述摄像头采集的图像以及所述图像的第一分辨率;获取所述移动终端的当前电量和当前温度;获取所述当前温度对应的第二分辨率;判断所述当前电量是否低于预设阈值;若所述当前电量不低于所述预设阈值,则比较所述第一分辨率和所述第二分辨率的大小;若所述第二分辨率比所述第一分辨率小,则调整所述图像的分辨率为所述第二分辨率。本发明实施例还提供了一种移动终端。本发明实施例,可将图像的分辨率调整为较小的第二分辨率,避免由于图像的第一分辨率较大,使移动终端处理的数据较多,功耗较大,造成移动终端的温度较高的问题。
An embodiment of the present invention provides an image resolution adjustment method, which is applied to a mobile terminal with a camera, and the method includes: acquiring an image captured by the camera and the first resolution of the image; acquiring the mobile terminal the current power and current temperature; obtain the second resolution corresponding to the current temperature; judge whether the current power is lower than the preset threshold; if the current power is not lower than the preset threshold, compare the first A resolution and the size of the second resolution; if the second resolution is smaller than the first resolution, adjust the resolution of the image to the second resolution. The embodiment of the present invention also provides a mobile terminal. In the embodiment of the present invention, the resolution of the image can be adjusted to a smaller second resolution, so as to prevent the mobile terminal from processing more data and power consumption due to the higher first resolution of the image, which will cause the mobile terminal to lose power. The problem of high temperature.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种图像分辨率调整方法及移动终端。The invention relates to the field of communication technologies, in particular to an image resolution adjustment method and a mobile terminal.
背景技术Background technique
现有技术中的移动终端大多具有拍照或者摄像功能。通过不断提升移动终端的硬件配置和优化移动终端的软件算法,提升拍照或者摄像效果,给移动终端用户带来更好的拍照或者摄像体验。然而,随着移动终端的拍照或者摄像功能的不断改进,移动终端拍照或者摄像的像素越来越高,摄像头采集的数据越来越多,使得移动终端的CPU处理的数据越来越多,导致移动终端的功耗增加,引起移动终端整机的温度上升,影响移动终端用户体验,并且带来安全隐患。此外,若移动终端处于低电量状态,则在较高拍摄像素的情况下,不仅由于移动终端整机的温度带来的较差的用户体验,而且可能导致移动终端无法启动摄像功能。Most of the mobile terminals in the prior art have a function of taking pictures or taking pictures. By continuously improving the hardware configuration of the mobile terminal and optimizing the software algorithm of the mobile terminal, the camera or video effect is improved, and a better camera or video experience is brought to the mobile terminal users. However, with the continuous improvement of the camera or camera function of the mobile terminal, the pixels of the camera or camera of the mobile terminal are getting higher and higher, and the data collected by the camera is increasing, so that the CPU of the mobile terminal processes more and more data, resulting in The increase of power consumption of the mobile terminal causes the temperature of the mobile terminal to rise, affects the user experience of the mobile terminal, and brings security risks. In addition, if the mobile terminal is in a low power state, in the case of high shooting pixels, not only the poor user experience due to the temperature of the mobile terminal may be caused, but also the mobile terminal may not be able to start the camera function.
发明内容Contents of the invention
本发明实施例提供一种图像分辨率调整方法,以解决现有技术中图像分辨率过高导致移动终端发热的问题。An embodiment of the present invention provides a method for adjusting image resolution, so as to solve the problem in the prior art that the mobile terminal heats up due to an excessively high image resolution.
本发明实施例还提供一种移动终端,以解决现有技术中图像分辨率过高导致移动终端发热的问题。The embodiment of the present invention also provides a mobile terminal to solve the problem in the prior art that the mobile terminal heats up due to too high image resolution.
第一方面,提供一种图像分辨率调整方法,应用于具有摄像头的移动终端,所述方法包括:获取所述摄像头采集的图像以及所述图像的第一分辨率;获取所述移动终端的当前电量和当前温度;获取所述当前温度对应的第二分辨率;判断所述当前电量是否低于预设阈值;若所述当前电量不低于所述预设阈值,则比较所述第一分辨率和所述第二分辨率的大小;若所述第二分辨率比所述第一分辨率小,则调整所述图像的分辨率为所述第二分辨率。In the first aspect, a method for adjusting image resolution is provided, which is applied to a mobile terminal with a camera, and the method includes: acquiring an image captured by the camera and the first resolution of the image; acquiring the current image resolution of the mobile terminal power and current temperature; obtain the second resolution corresponding to the current temperature; determine whether the current power is lower than the preset threshold; if the current power is not lower than the preset threshold, compare the first resolution rate and the size of the second resolution; if the second resolution is smaller than the first resolution, adjust the resolution of the image to the second resolution.
第二方面,提供一种移动终端,包括摄像头,所述移动终端还包括:第一获取模块,用于获取所述摄像头采集的图像以及所述图像的第一分辨率;第二获取模块,用于获取所述移动终端的当前电量和当前温度;第三获取模块,用于获取所述当前温度对应的第二分辨率;判断模块,用于判断所述当前电量是否低于预设阈值;第一比较模块,用于若所述当前电量不低于所述预设阈值,则比较所述第一分辨率和所述第二分辨率的大小;第一调整模块,用于若所述第二分辨率比所述第一分辨率小,则调整所述图像的分辨率为所述第二分辨率。In a second aspect, a mobile terminal is provided, including a camera, and the mobile terminal further includes: a first acquiring module, configured to acquire an image captured by the camera and a first resolution of the image; a second acquiring module, configured to To obtain the current power and current temperature of the mobile terminal; the third acquisition module is used to obtain the second resolution corresponding to the current temperature; the judging module is used to judge whether the current power is lower than a preset threshold; the second A comparison module, used to compare the size of the first resolution and the second resolution if the current power is not lower than the preset threshold; a first adjustment module, used to compare the size of the second resolution if the second If the resolution is smaller than the first resolution, adjust the resolution of the image to the second resolution.
这样,本发明实施例中,在移动终端电量充足的情况下,比较当前温度对应的第二分辨率与摄像头获取图像的默认的第一分辨率的大小关系,若第二分辨率较小,则可将图像的分辨率调整为较小的第二分辨率,从而避免由于图像的第一分辨率较大,使移动终端处理的数据较多,功耗较大,造成移动终端的温度较高的问题。In this way, in the embodiment of the present invention, when the power of the mobile terminal is sufficient, the size relationship between the second resolution corresponding to the current temperature and the default first resolution of the image captured by the camera is compared. If the second resolution is smaller, then The resolution of the image can be adjusted to a smaller second resolution, so as to avoid the high temperature of the mobile terminal due to the large first resolution of the image, which causes the mobile terminal to process more data and consume more power. question.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.
图1是本发明第一实施例的图像分辨率调整方法的流程图;FIG. 1 is a flowchart of an image resolution adjustment method according to a first embodiment of the present invention;
图2是本发明第一实施例的图像分辨率调整方法的获取当前温度对应的第二分辨率的步骤的流程图;2 is a flow chart of the steps of obtaining the second resolution corresponding to the current temperature in the image resolution adjustment method according to the first embodiment of the present invention;
图3是本发明第二实施例的图像分辨率调整方法的流程图;FIG. 3 is a flowchart of an image resolution adjustment method according to a second embodiment of the present invention;
图4是本发明第二实施例的图像分辨率调整方法的获取当前电量对应的第三分辨率的步骤的流程图;Fig. 4 is a flow chart of the steps of obtaining the third resolution corresponding to the current power of the image resolution adjustment method according to the second embodiment of the present invention;
图5是本发明第三实施例的移动终端的结构框图;FIG. 5 is a structural block diagram of a mobile terminal according to a third embodiment of the present invention;
图6是本发明第四实施例的移动终端的结构框图;FIG. 6 is a structural block diagram of a mobile terminal according to a fourth embodiment of the present invention;
图7是本发明第五实施例的移动终端的结构框图;FIG. 7 is a structural block diagram of a mobile terminal according to a fifth embodiment of the present invention;
图8是本发明第六实施例的移动终端的结构框图。Fig. 8 is a structural block diagram of a mobile terminal according to a sixth embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获取的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
第一实施例first embodiment
本发明第一实施例公开了一种图像分辨率调整方法。该方法应用于具有摄像头的移动终端。如图1所示,为本发明第一实施例的图像分辨率调整方法的流程图。该方法具体包括如下步骤:The first embodiment of the present invention discloses an image resolution adjustment method. The method is applied to a mobile terminal with a camera. As shown in FIG. 1 , it is a flowchart of an image resolution adjustment method according to a first embodiment of the present invention. The method specifically includes the following steps:
步骤S101:获取摄像头采集的图像以及图像的第一分辨率。Step S101: Obtain the image captured by the camera and the first resolution of the image.
该摄像头可以是前置摄像头,也可以是后置摄像头。由于,摄像头可用于拍照和摄像,因此,该摄像头采集的图像可以是拍照模式下的图像,也可以是摄像模式下的图像。The camera can be a front camera or a rear camera. Since the camera can be used for taking pictures and taking pictures, the image collected by the camera can be an image in a picture taking mode or an image in a video recording mode.
该图像的第一分辨率为打开摄像头时图像的默认分辨率。The first resolution of the image is the default resolution of the image when the camera is turned on.
步骤S102:获取移动终端的当前电量和当前温度。Step S102: Obtain the current battery level and current temperature of the mobile terminal.
具体的,该当前电量可通过检测移动终端的电池电压获得。该当前温度可通过检测移动终端的主板上的NTC(Negative Temperature Coefficient,负温度系数)电阻的温度获得。Specifically, the current electric quantity can be obtained by detecting the battery voltage of the mobile terminal. The current temperature can be obtained by detecting the temperature of an NTC (Negative Temperature Coefficient, negative temperature coefficient) resistor on the main board of the mobile terminal.
步骤S103:获取当前温度对应的第二分辨率。Step S103: Obtain the second resolution corresponding to the current temperature.
该第二分辨率是特定温度下的分辨率,由移动终端系统或者移动终端用户预先设定。The second resolution is the resolution at a specific temperature, which is preset by the mobile terminal system or the mobile terminal user.
步骤S104:判断当前电量是否低于预设阈值。Step S104: Determine whether the current power is lower than a preset threshold.
该预设阈值具体可由移动终端系统或者移动终端用户设定,一般为移动终端的低电量警示的电量大小。若移动终端的当前电量高于预设阈值,则表明移动终端的电量充足,反之,则移动终端电量较低,需及时充电。The preset threshold can be specifically set by the mobile terminal system or the mobile terminal user, and is generally the power level of the low battery warning of the mobile terminal. If the current power of the mobile terminal is higher than the preset threshold, it indicates that the power of the mobile terminal is sufficient; otherwise, the power of the mobile terminal is low and needs to be charged in time.
步骤S105:若当前电量不低于预设阈值,则比较第一分辨率和第二分辨率的大小。Step S105: If the current power level is not lower than the preset threshold, compare the first resolution and the second resolution.
若移动终端的当前电量不低于预设阈值,则移动终端电量充足,此时,只需要考虑当前温度对移动终端的影响,因此,只需比较当前温度对应的第二分辨率与第一分辨率的大小。If the current power of the mobile terminal is not lower than the preset threshold, the power of the mobile terminal is sufficient. At this time, it is only necessary to consider the influence of the current temperature on the mobile terminal. Therefore, it is only necessary to compare the second resolution corresponding to the current temperature with the first resolution. rate size.
步骤S106:若第二分辨率比第一分辨率小,则调整图像的分辨率为第二分辨率。Step S106: If the second resolution is smaller than the first resolution, adjust the resolution of the image to the second resolution.
第二分辨率比第一分辨率小,则图像的分辨率为第二分辨率时,相对于第一分辨率,移动终端的CPU处理的数据较少,可使移动终端的功耗较小,降低移动终端的温度,因此,调整图像的分辨率为第二分辨率。反之,则保持图像的分辨率为第一分辨率。The second resolution is smaller than the first resolution, and when the resolution of the image is the second resolution, compared with the first resolution, the CPU of the mobile terminal processes less data, which can reduce the power consumption of the mobile terminal. Lower the temperature of the mobile terminal, therefore, adjust the resolution of the image to the second resolution. Otherwise, keep the resolution of the image as the first resolution.
通过上述的过程,本发明实施例可在电量充足的情况下,根据移动终端的温度调整图像的分辨率,避免移动终端功耗较大,温度较高。Through the above-mentioned process, the embodiment of the present invention can adjust the resolution of the image according to the temperature of the mobile terminal when the power is sufficient, so as to avoid the large power consumption and high temperature of the mobile terminal.
优选的,如图2所示,步骤S103具体包括如下的过程:Preferably, as shown in Figure 2, step S103 specifically includes the following process:
步骤S1031:将当前温度与预设温度标准对比。Step S1031: Compare the current temperature with the preset temperature standard.
预设温度标准可以是多个温度区间,也可以是多个温度值。例如,当预设温度标准以温度区间计量时,则判断当前温度位于哪个温度区间内。The preset temperature standard may be multiple temperature ranges or multiple temperature values. For example, when the preset temperature standard is measured in temperature ranges, it is determined which temperature range the current temperature is in.
步骤S1032:若当前温度匹配预设温度标准,则获取预设温度标准对应的第二分辨率。Step S1032: If the current temperature matches the preset temperature standard, then obtain the second resolution corresponding to the preset temperature standard.
例如,预设温度标准以温度区间计量,则当前温度位于某一预设温度标准的温度区间内,当前温度匹配该预设温度标准。每一预设温度标准对应一个第二分辨率,则通过将当前温度匹配温度标准,可以获取一个第二分辨率。该对应的第二分辨率可由移动终端系统或者移动终端用户设定。For example, the preset temperature standard is measured by a temperature range, and the current temperature is within the temperature range of a certain preset temperature standard, and the current temperature matches the preset temperature standard. Each preset temperature standard corresponds to a second resolution, and a second resolution can be obtained by matching the current temperature to the temperature standard. The corresponding second resolution can be set by the mobile terminal system or the mobile terminal user.
优选的,预设温度标准对应的第二分辨率的大小与预设温度标准的温度大小的关系为负相关,即预设温度标准的温度越高,则其对应的第二分辨率越小,从而有利于降低移动终端功耗,进而降低移动终端温度。Preferably, the relationship between the size of the second resolution corresponding to the preset temperature standard and the temperature of the preset temperature standard is negatively correlated, that is, the higher the temperature of the preset temperature standard, the smaller the corresponding second resolution, Therefore, it is beneficial to reduce the power consumption of the mobile terminal, thereby reducing the temperature of the mobile terminal.
通过上述的过程,可以获得当前温度对应的第二分辨率。Through the above process, the second resolution corresponding to the current temperature can be obtained.
综上,本发明第一实施例的图像分辨率调整方法,在移动终端电量充足的情况下,比较当前温度对应的第二分辨率与摄像头获取图像的默认的第一分辨率的大小关系,若第二分辨率较小,则可将图像的分辨率调整为较小的第二分辨率,从而避免由于图像的第一分辨率较大,使移动终端处理的数据较多,功耗较大,造成移动终端的温度较高的问题。To sum up, in the image resolution adjustment method of the first embodiment of the present invention, when the power of the mobile terminal is sufficient, the relationship between the second resolution corresponding to the current temperature and the default first resolution of the image captured by the camera is compared, if If the second resolution is smaller, the resolution of the image can be adjusted to a smaller second resolution, thereby avoiding that the mobile terminal processes more data and consumes more power because the first resolution of the image is larger. This causes a problem that the temperature of the mobile terminal is high.
第二实施例second embodiment
本发明第二实施例公开了一种图像分辨率调整方法。该方法应用于具有摄像头的移动终端。如图3所示,为本发明第二实施例的图像分辨率调整方法的流程图。该方法具体包括如下步骤:The second embodiment of the present invention discloses an image resolution adjustment method. The method is applied to a mobile terminal with a camera. As shown in FIG. 3 , it is a flowchart of an image resolution adjustment method according to a second embodiment of the present invention. The method specifically includes the following steps:
步骤S301:获取摄像头采集的图像以及图像的第一分辨率。Step S301: Obtain the image captured by the camera and the first resolution of the image.
该摄像头可以是前置摄像头,也可以是后置摄像头。由于,摄像头可用于拍照和摄像,因此,该摄像头采集的图像可以是拍照模式下的图像,也可以是摄像模式下的图像。The camera can be a front camera or a rear camera. Since the camera can be used for taking pictures and taking pictures, the image collected by the camera can be an image in a picture taking mode or an image in a video recording mode.
该图像的第一分辨率为打开摄像头时图像的默认分辨率。The first resolution of the image is the default resolution of the image when the camera is turned on.
步骤S302:获取移动终端的当前电量和当前温度。Step S302: Obtain the current battery level and current temperature of the mobile terminal.
具体的,该当前电量可通过检测移动终端的电池电压获得。该当前温度可通过检测移动终端的主板上的NTC(Negative Temperature Coefficient,负温度系数)电阻的温度获得。Specifically, the current electric quantity can be obtained by detecting the battery voltage of the mobile terminal. The current temperature can be obtained by detecting the temperature of an NTC (Negative Temperature Coefficient, negative temperature coefficient) resistor on the main board of the mobile terminal.
步骤S303:获取当前温度对应的第二分辨率。Step S303: Obtain the second resolution corresponding to the current temperature.
该第二分辨率是特定温度下的分辨率,由移动终端系统或者移动终端用户预先设定。The second resolution is the resolution at a specific temperature, which is preset by the mobile terminal system or the mobile terminal user.
该获取当前温度对应的第二分辨率同前述实施例的步骤S1031~S1032,在此不再赘述。The acquisition of the second resolution corresponding to the current temperature is the same as the steps S1031 to S1032 in the foregoing embodiment, and will not be repeated here.
步骤S304:判断当前电量是否低于预设阈值。Step S304: Determine whether the current power is lower than a preset threshold.
该预设阈值具体可由移动终端系统或者移动终端用户设定,一般为移动终端的低电量警示的电量大小。若移动终端的当前电量高于预设阈值,则表明移动终端的电量充足,反之,则移动终端电量较低,需及时充电。The preset threshold can be specifically set by the mobile terminal system or the mobile terminal user, and is generally the power level of the low battery warning of the mobile terminal. If the current power of the mobile terminal is higher than the preset threshold, it indicates that the power of the mobile terminal is sufficient; otherwise, the power of the mobile terminal is low and needs to be charged in time.
步骤S305:若当前电量低于预设阈值,则获取当前电量对应的第三分辨率。Step S305: If the current power level is lower than the preset threshold, obtain a third resolution corresponding to the current power level.
若移动终端的当前电量低于预设阈值,则移动终端电量不足。由于移动终端在低电量的情况下,如果处理的数据较多,则电量会减少得更快,并且在低电量的情况下,有的移动终端为了节电,一些处理数据较多的应用将无法使用。因此,低电量的情况下,不仅需要考虑当前温度对移动终端的影响,还需要考虑当前电量对移动终端的影响,因此,需获取当前电量对应的第三分辨率。If the current power of the mobile terminal is lower than the preset threshold, the power of the mobile terminal is insufficient. When the mobile terminal is low in power, if it processes more data, the power will decrease faster, and in the case of low power, some mobile terminals will not be able to process some applications that process more data in order to save power. use. Therefore, in the case of low power, not only the influence of the current temperature on the mobile terminal needs to be considered, but also the influence of the current power on the mobile terminal. Therefore, the third resolution corresponding to the current power needs to be obtained.
步骤S306:比较第一分辨率、第二分辨率和第三分辨率的大小。Step S306: Compare the sizes of the first resolution, the second resolution and the third resolution.
低电量情况下,需要考虑电量对移动终端的影响,因此,需要将第一分辨率、第二分辨率和第三分辨率的大小一起比较。In the case of low power, it is necessary to consider the impact of power on the mobile terminal. Therefore, it is necessary to compare the sizes of the first resolution, the second resolution and the third resolution together.
若第二分辨率最小,则进行步骤S307;若第三分辨率最小,则进行步骤S308。If the second resolution is the smallest, go to step S307; if the third resolution is the smallest, go to step S308.
步骤S307:调整图像的分辨率为第二分辨率。Step S307: Adjust the resolution of the image to the second resolution.
若第二分辨率最小,则表明图像的分辨率为第二分辨率时,移动终端处理的数据最少,功耗最小,可降低移动终端的温度,因此,调整图像的分辨率为第二分辨率。If the second resolution is the smallest, it means that when the resolution of the image is the second resolution, the data processed by the mobile terminal is the least, the power consumption is the least, and the temperature of the mobile terminal can be reduced. Therefore, the resolution of the image is adjusted to the second resolution .
步骤S308:调整图像的分辨率为第三分辨率。Step S308: Adjust the resolution of the image to the third resolution.
若第三分辨率最小,则表明图像的分辨率为第三分辨率时,移动终端处理的数据最少,功耗最小,可降低移动终端的温度,因此,调整图像的分辨率为第三分辨率。If the third resolution is the smallest, it means that when the resolution of the image is the third resolution, the data processed by the mobile terminal is the least, the power consumption is the least, and the temperature of the mobile terminal can be reduced. Therefore, the resolution of the image is adjusted to the third resolution .
应当理解的是,若第一分辨率最小,则保持图像的分辨率不变。It should be understood that if the first resolution is the smallest, the resolution of the image remains unchanged.
通过上述的过程,本发明第二实施例可在电量不足的情况下,充分考虑电量和温度对移动终端的功耗和温度的影响,将图像的分辨率调整为相对最小的分辨率,避免移动终端功耗较大,温度较高。Through the above-mentioned process, the second embodiment of the present invention can fully consider the impact of power consumption and temperature on the power consumption and temperature of the mobile terminal when the power is insufficient, and adjust the resolution of the image to the relatively minimum resolution to avoid mobile terminals. The terminal consumes a lot of power and has a high temperature.
优选的,如图4所示,步骤S305具体包括如下的过程:Preferably, as shown in Figure 4, step S305 specifically includes the following process:
步骤S3051:将当前电量与预设电量标准对比。Step S3051: Compare the current power level with the preset power level standard.
预设电量度标准可以是多个电量区间,也可以是多个电量值。例如,当预设电量标准以电量区间计量时,则判断当前电量位于哪个电量区间内。The preset power measurement standard may be multiple power ranges or multiple power values. For example, when the preset electric quantity standard is measured by electric quantity intervals, it is determined which electric quantity interval the current electric quantity is in.
步骤S3052:若当前电量匹配预设电量标准,则获取预设电量标准对应的第三分辨率。Step S3052: If the current power level matches the preset power level standard, obtain the third resolution corresponding to the preset power level standard.
例如,预设电量标准以电量区间计量,则当前电量位于某一预设电量标准的电量区间内,当前电量匹配该预设电量标准。每一预设电量标准对应一个第三分辨率,则通过将当前电量匹配电量标准,可以获取一个第三分辨率。该对应的第三分辨率可由移动终端系统或者移动终端用户设定。For example, the preset electric quantity standard is measured by electric quantity interval, then the current electric quantity is within the electric quantity interval of a certain predetermined electric quantity standard, and the current electric quantity matches the preset electric quantity standard. Each preset power level corresponds to a third resolution, and a third resolution can be obtained by matching the current power level to the power level. The corresponding third resolution can be set by the mobile terminal system or the mobile terminal user.
优选的,预设电量标准对应的第三分辨率的大小与预设电量标准的电量大小的关系为负相关,即预设电量标准的电量越高,则其对应的第三分辨率越小,从而有利于降低移动终端功耗,进而降低移动终端温度。Preferably, the relationship between the size of the third resolution corresponding to the preset power standard and the power level of the preset power standard is negatively correlated, that is, the higher the power of the preset power standard, the smaller the corresponding third resolution, Therefore, it is beneficial to reduce the power consumption of the mobile terminal, thereby reducing the temperature of the mobile terminal.
通过上述的过程,可以获得当前电量对应的第三分辨率。Through the above process, the third resolution corresponding to the current power level can be obtained.
综上,本发明第二实施例的图像分辨率调整方法,在移动终端电量不足的情况下,比较当前温度对应的第二分辨率、当前电量对应的第三分辨率与摄像头获取图像的默认的第一分辨率的大小关系,若第二分辨率最小,则可将图像的分辨率调整为最小的第二分辨率,或者,若第三分辨率最小,则可将图像的分辨率调整为最小的第三分辨率,从而避免由于图像的第一分辨率较大,使移动终端处理的数据较多,功耗较大,造成移动终端的温度较高的问题。To sum up, the image resolution adjustment method in the second embodiment of the present invention compares the second resolution corresponding to the current temperature, the third resolution corresponding to the current power consumption, and the default resolution of the image captured by the camera when the battery of the mobile terminal is insufficient. The size relationship of the first resolution, if the second resolution is the smallest, the resolution of the image can be adjusted to the smallest second resolution, or, if the third resolution is the smallest, the resolution of the image can be adjusted to the smallest The third resolution, so as to avoid the problem that the mobile terminal processes more data and consumes more power due to the higher first resolution of the image, resulting in a higher temperature of the mobile terminal.
第三实施例third embodiment
本发明第三实施例公开了一种移动终端,能实现上述实施例中的图像分辨率调整方法的细节,并达到相同的效果。该移动终端可以是但不限于手机、平板电脑、MP3/MP4、智能手表、智能手环、个人数字助理(Personal Digital Assistant,PDA)、车载电脑等等。The third embodiment of the present invention discloses a mobile terminal, which can realize the details of the method for adjusting the image resolution in the above embodiments, and achieve the same effect. The mobile terminal may be, but not limited to, a mobile phone, a tablet computer, an MP3/MP4, a smart watch, a smart bracelet, a personal digital assistant (Personal Digital Assistant, PDA), a vehicle-mounted computer, and the like.
如图5所示,为本发明第三实施例的移动终端的结构框图。该移动终端500具体包括如下的结构:摄像头507、第一获取模块501、第二获取模块502、第三获取模块503、判断模块504、第一比较模块505和第一调整模块506。As shown in FIG. 5 , it is a structural block diagram of a mobile terminal according to a third embodiment of the present invention. The mobile terminal 500 specifically includes the following structures: a camera 507 , a first acquisition module 501 , a second acquisition module 502 , a third acquisition module 503 , a judgment module 504 , a first comparison module 505 and a first adjustment module 506 .
其中,摄像头507可以是前置摄像头,也可以是后置摄像头。Wherein, the camera 507 may be a front camera or a rear camera.
第一获取模块501用于获取摄像头507采集的图像以及图像的第一分辨率。The first acquiring module 501 is configured to acquire an image captured by the camera 507 and a first resolution of the image.
由于,摄像头507可用于拍照和摄像,因此,该摄像头507采集的图像可以是拍照模式下的图像,也可以是摄像模式下的图像。Since the camera 507 can be used to take pictures and record videos, the images collected by the camera 507 can be images in the camera mode or images in the camera mode.
该图像的第一分辨率为打开摄像头507时图像的默认分辨率。The first resolution of the image is the default resolution of the image when the camera 507 is turned on.
第二获取模块502用于获取移动终端500的当前电量和当前温度。The second acquiring module 502 is configured to acquire the current battery level and current temperature of the mobile terminal 500 .
具体的,第二获取模块502可通过检测移动终端500的电池电压获得该当前电量。第二获取模块502可通过检测移动终端500的主板上的NTC(Negative TemperatureCoefficient,负温度系数)电阻的温度获得该当前温度。Specifically, the second acquiring module 502 can acquire the current battery capacity by detecting the battery voltage of the mobile terminal 500 . The second obtaining module 502 may obtain the current temperature by detecting the temperature of an NTC (Negative Temperature Coefficient, negative temperature coefficient) resistor on the main board of the mobile terminal 500 .
第三获取模块503用于获取当前温度对应的第二分辨率。The third acquiring module 503 is configured to acquire the second resolution corresponding to the current temperature.
该第二分辨率是特定温度下的分辨率,由移动终端500系统或者移动终端500用户预先设定。The second resolution is the resolution at a specific temperature, which is preset by the mobile terminal 500 system or the mobile terminal 500 user.
判断模块504用于判断当前电量是否低于预设阈值。The judging module 504 is used to judge whether the current power is lower than a preset threshold.
该预设阈值具体可由移动终端500系统或者移动终端500用户设定,一般为移动终端500的低电量警示的电量大小。若移动终端500的当前电量高于预设阈值,则表明移动终端500的电量充足,反之,则移动终端500电量较低,需及时充电。The preset threshold can be specifically set by the mobile terminal 500 system or the mobile terminal 500 user, and is generally the power level of the low battery warning of the mobile terminal 500 . If the current power of the mobile terminal 500 is higher than the preset threshold, it indicates that the power of the mobile terminal 500 is sufficient; otherwise, the power of the mobile terminal 500 is low and needs to be charged in time.
第一比较模块505用于若当前电量不低于预设阈值,则比较第一分辨率和第二分辨率的大小。The first comparison module 505 is used for comparing the size of the first resolution and the second resolution if the current power is not lower than the preset threshold.
若移动终端500的当前电量不低于预设阈值,则移动终端500电量充足,此时,只需要考虑当前温度对移动终端500的影响,因此,只需比较当前温度对应的第二分辨率与第一分辨率的大小。If the current power of the mobile terminal 500 is not lower than the preset threshold, the power of the mobile terminal 500 is sufficient. At this time, it is only necessary to consider the influence of the current temperature on the mobile terminal 500. Therefore, it is only necessary to compare the second resolution corresponding to the current temperature with the The size of the first resolution.
第一调整模块506用于若第二分辨率比第一分辨率小,则调整图像的分辨率为第二分辨率。The first adjustment module 506 is configured to adjust the resolution of the image to the second resolution if the second resolution is smaller than the first resolution.
第二分辨率比第一分辨率小,则图像的分辨率为第二分辨率时,相对于第一分辨率,移动终端500的CPU处理的数据较少,可使移动终端500的功耗较小,降低移动终端500的温度,因此,调整图像的分辨率为第二分辨率。反之,则保持图像的分辨率为第一分辨率。The second resolution is smaller than the first resolution, and when the resolution of the image is the second resolution, compared with the first resolution, the CPU of the mobile terminal 500 processes less data, which can make the power consumption of the mobile terminal 500 lower. Small, reduce the temperature of the mobile terminal 500, and therefore adjust the resolution of the image to the second resolution. Otherwise, keep the resolution of the image as the first resolution.
综上,本发明第三实施例的移动终端500,在移动终端500电量充足的情况下,比较当前温度对应的第二分辨率与摄像头507获取图像的默认的第一分辨率的大小关系,若第二分辨率较小,则可将图像的分辨率调整为较小的第二分辨率,从而避免由于图像的第一分辨率较大,使移动终端500处理的数据较多,功耗较大,造成移动终端500的温度较高的问题。To sum up, the mobile terminal 500 in the third embodiment of the present invention compares the relationship between the second resolution corresponding to the current temperature and the default first resolution of the image captured by the camera 507 when the mobile terminal 500 has sufficient power. If the second resolution is smaller, the resolution of the image can be adjusted to a smaller second resolution, thereby avoiding that the mobile terminal 500 processes more data and consumes more power because the first resolution of the image is larger. , resulting in a problem that the temperature of the mobile terminal 500 is high.
第四实施例Fourth embodiment
本发明第四实施例公开了一种移动终端,能实现上述实施例中的图像分辨率调整方法的细节,并达到相同的效果。该移动终端可以是但不限于手机、平板电脑、MP3/MP4、智能手表、智能手环、个人数字助理(Personal Digital Assistant,PDA)、车载电脑等等。The fourth embodiment of the present invention discloses a mobile terminal, which can realize the details of the method for adjusting the image resolution in the above embodiments, and achieve the same effect. The mobile terminal may be, but not limited to, a mobile phone, a tablet computer, an MP3/MP4, a smart watch, a smart bracelet, a personal digital assistant (Personal Digital Assistant, PDA), a vehicle-mounted computer, and the like.
如图6所示,为本发明第四实施例的移动终端的结构框图。该移动终端600具体包括如下的结构:摄像头607、第一获取模块601、第二获取模块602、第三获取模块603、判断模块604、第一比较模块605和第一调整模块606。上述的模块与前述实施例的相同的模块的功能相同,在此不再赘述。As shown in FIG. 6 , it is a structural block diagram of a mobile terminal according to a fourth embodiment of the present invention. The mobile terminal 600 specifically includes the following structures: a camera 607 , a first acquisition module 601 , a second acquisition module 602 , a third acquisition module 603 , a judgment module 604 , a first comparison module 605 and a first adjustment module 606 . The functions of the modules mentioned above are the same as those of the modules in the foregoing embodiments, and will not be repeated here.
优选的,该第四实施例的第三获取模块603具体包括如下的结构:Preferably, the third acquisition module 603 of the fourth embodiment specifically includes the following structure:
第一对比子模块6031,用于将当前温度与预设温度标准对比。The first comparison sub-module 6031 is used to compare the current temperature with the preset temperature standard.
预设温度标准可以是多个温度区间,也可以是多个温度值。例如,当预设温度标准以温度区间计量时,则第一对比子模块6031判断当前温度位于哪个温度区间内。The preset temperature standard may be multiple temperature ranges or multiple temperature values. For example, when the preset temperature standard is measured in temperature ranges, the first comparison sub-module 6031 determines which temperature range the current temperature is in.
第一获取子模块6032,用于若当前温度匹配预设温度标准,则获取预设温度标准对应的第二分辨率。The first acquiring sub-module 6032 is configured to acquire the second resolution corresponding to the preset temperature standard if the current temperature matches the preset temperature standard.
例如,预设温度标准以温度区间计量,则当前温度位于某一预设温度标准的温度区间内,当前温度匹配该预设温度标准。每一预设温度标准对应一个第二分辨率,则第一获取子模块6032通过将当前温度匹配温度标准,可以获取一个第二分辨率。该对应的第二分辨率可由移动终端600系统或者移动终端600用户设定。For example, the preset temperature standard is measured by a temperature range, and the current temperature is within the temperature range of a certain preset temperature standard, and the current temperature matches the preset temperature standard. Each preset temperature standard corresponds to a second resolution, and the first obtaining submodule 6032 can obtain a second resolution by matching the current temperature to the temperature standard. The corresponding second resolution can be set by the mobile terminal 600 system or the mobile terminal 600 user.
优选的,预设温度标准对应的第二分辨率的大小与预设温度标准的温度大小的关系为负相关,即预设温度标准的温度越高,则其对应的第二分辨率越小,从而有利于降低移动终端600功耗,进而降低移动终端600温度。Preferably, the relationship between the size of the second resolution corresponding to the preset temperature standard and the temperature of the preset temperature standard is negatively correlated, that is, the higher the temperature of the preset temperature standard, the smaller the corresponding second resolution, Therefore, it is beneficial to reduce the power consumption of the mobile terminal 600 , and further reduce the temperature of the mobile terminal 600 .
通过上述的模块设计,可以获得当前温度对应的第二分辨率。Through the above-mentioned module design, the second resolution corresponding to the current temperature can be obtained.
优选的,该第四实施例的移动终端600还包括:Preferably, the mobile terminal 600 of the fourth embodiment also includes:
第四获取模块608,用于判断当前电量是否低于预设阈值的步骤之后,若当前电量低于预设阈值,则获取当前电量对应的第三分辨率。The fourth obtaining module 608 is configured to acquire the third resolution corresponding to the current power after the step of judging whether the current power is lower than the preset threshold, if the current power is lower than the preset threshold.
若移动终端600的当前电量低于预设阈值,则移动终端600电量不足。由于移动终端600在低电量的情况下,如果处理的数据较多,则电量会减少得更快,并且在低电量的情况下,有的移动终端600为了节电,一些处理数据较多的应用将无法使用。因此,低电量的情况下,不仅需要考虑当前温度对移动终端600的影响,还需要考虑当前电量对移动终端600的影响,因此,需第四获取模块608获取当前电量对应的第三分辨率。If the current power of the mobile terminal 600 is lower than the preset threshold, the power of the mobile terminal 600 is insufficient. Because the mobile terminal 600 is in the case of low power, if the processed data is more, the power will be reduced faster, and in the case of low power, some mobile terminals 600, in order to save power, some applications that process more data will not be available. Therefore, in the case of low power, not only the impact of the current temperature on the mobile terminal 600 needs to be considered, but also the impact of the current power on the mobile terminal 600. Therefore, the fourth acquisition module 608 is required to obtain the third resolution corresponding to the current power.
第二比较模块609,用于比较第一分辨率、第二分辨率和第三分辨率的大小。The second comparison module 609 is configured to compare the sizes of the first resolution, the second resolution and the third resolution.
低电量情况下,需要考虑电量对移动终端600的影响,因此,需要第二比较模块609将第一分辨率、第二分辨率和第三分辨率的大小一起比较。In the case of low power, the impact of power on the mobile terminal 600 needs to be considered, therefore, the second comparison module 609 is required to compare the sizes of the first resolution, the second resolution and the third resolution together.
第二调整模块610,用于若第二分辨率最小,则调整图像的分辨率为第二分辨率。The second adjustment module 610 is configured to adjust the resolution of the image to the second resolution if the second resolution is the smallest.
若第二分辨率最小,则表明图像的分辨率为第二分辨率时,移动终端600处理的数据最少,功耗最小,可降低移动终端600的温度,因此,第二调整模块610调整图像的分辨率为第二分辨率。If the second resolution is the smallest, it means that when the resolution of the image is the second resolution, the data processed by the mobile terminal 600 is the least, the power consumption is the smallest, and the temperature of the mobile terminal 600 can be reduced. Therefore, the second adjustment module 610 adjusts the image resolution. The resolution is the second resolution.
第三调整模块611,用于若第三分辨率最小,则调整图像的分辨率为第三分辨率。The third adjustment module 611 is configured to adjust the resolution of the image to the third resolution if the third resolution is the smallest.
若第三分辨率最小,则表明图像的分辨率为第三分辨率时,移动终端600处理的数据最少,功耗最小,可降低移动终端600的温度,因此,第三调整模块611调整图像的分辨率为第三分辨率。If the third resolution is the smallest, it means that when the resolution of the image is the third resolution, the data processed by the mobile terminal 600 is the least, the power consumption is the smallest, and the temperature of the mobile terminal 600 can be reduced. Therefore, the third adjustment module 611 adjusts the image resolution. The resolution is the third resolution.
应当理解的是,若第一分辨率最小,则保持图像的分辨率不变。It should be understood that if the first resolution is the smallest, the resolution of the image remains unchanged.
优选的,第四获取模块608包括:Preferably, the fourth obtaining module 608 includes:
第二对比子模块6081,用于将当前电量与预设电量标准对比。The second comparison sub-module 6081 is used to compare the current electric quantity with the preset electric quantity standard.
预设电量度标准可以是多个电量区间,也可以是多个电量值。例如,当预设电量标准以电量区间计量时,则第二对比子模块6081判断当前电量位于哪个电量区间内。The preset power measurement standard may be multiple power ranges or multiple power values. For example, when the preset electric quantity standard is measured by electric quantity intervals, the second comparison sub-module 6081 judges which electric quantity interval the current electric quantity is in.
第二获取子模块6082,用于若当前电量匹配预设电量标准,则获取预设电量标准对应的第三分辨率。The second obtaining sub-module 6082 is configured to obtain the third resolution corresponding to the preset electric quantity standard if the current electric quantity matches the preset electric quantity standard.
例如,预设电量标准以电量区间计量,则当前电量位于某一预设电量标准的电量区间内,当前电量匹配该预设电量标准。每一预设电量标准对应一个第三分辨率,则第二获取子模块6082通过将当前电量匹配电量标准,可以获取一个第三分辨率。该对应的第三分辨率可由移动终端600系统或者移动终端600用户设定。For example, the preset electric quantity standard is measured by electric quantity interval, then the current electric quantity is within the electric quantity interval of a certain predetermined electric quantity standard, and the current electric quantity matches the preset electric quantity standard. Each preset power level corresponds to a third resolution, and the second obtaining submodule 6082 can obtain a third resolution by matching the current power level with the power level. The corresponding third resolution can be set by the mobile terminal 600 system or the mobile terminal 600 user.
优选的,预设电量标准对应的第三分辨率的大小与预设电量标准的电量大小的关系为负相关,即预设电量标准的电量越高,则其对应的第三分辨率越小,从而有利于降低移动终端600功耗,进而降低移动终端600温度。Preferably, the relationship between the size of the third resolution corresponding to the preset power standard and the power level of the preset power standard is negatively correlated, that is, the higher the power of the preset power standard, the smaller the corresponding third resolution, Therefore, it is beneficial to reduce the power consumption of the mobile terminal 600 , and further reduce the temperature of the mobile terminal 600 .
通过上述的模块设计,可以获得当前电量对应的第三分辨率。Through the above-mentioned module design, the third resolution corresponding to the current power level can be obtained.
综上,本发明第四实施例的移动终端600,不仅可在电量充足的情况下,比较当前温度对应的第二分辨率与摄像头607获取图像的默认的第一分辨率的大小关系,若第二分辨率较小,则可将图像的分辨率调整为较小的第二分辨率;还可以在电量不足的情况下,比较当前温度对应的第二分辨率、当前电量对应的第三分辨率与摄像头607获取图像的默认的第一分辨率的大小关系,若第二分辨率最小,则可将图像的分辨率调整为最小的第二分辨率,或者,若第三分辨率最小,则可将图像的分辨率调整为最小的第三分辨率;从而避免由于图像的第一分辨率较大,使移动终端600处理的数据较多,功耗较大,造成移动终端600的温度较高的问题。To sum up, the mobile terminal 600 of the fourth embodiment of the present invention can not only compare the size relationship between the second resolution corresponding to the current temperature and the default first resolution of the image captured by the camera 607 when the battery is sufficient, if the second If the second resolution is smaller, you can adjust the resolution of the image to a smaller second resolution; you can also compare the second resolution corresponding to the current temperature and the third resolution corresponding to the current power when the battery is insufficient. The size relationship with the default first resolution of the image acquired by the camera 607, if the second resolution is the smallest, the resolution of the image can be adjusted to the smallest second resolution, or, if the third resolution is the smallest, then the The resolution of the image is adjusted to the smallest third resolution; thereby avoiding that the first resolution of the image is relatively large, the data processed by the mobile terminal 600 is large, the power consumption is large, and the temperature of the mobile terminal 600 is relatively high. question.
第五实施例fifth embodiment
图7是本发明第五实施例的移动终端的结构框图。图7所示的移动终端700包括:至少一个处理器701、存储器702、至少一个网络接口704、用户接口703和摄像头706。移动终端700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图7中将各种总线都标为总线系统705。Fig. 7 is a structural block diagram of a mobile terminal according to a fifth embodiment of the present invention. The mobile terminal 700 shown in FIG. 7 includes: at least one processor 701 , a memory 702 , at least one network interface 704 , a user interface 703 and a camera 706 . Various components in the mobile terminal 700 are coupled together through a bus system 705 . It can be understood that the bus system 705 is used to realize connection and communication between these components. In addition to the data bus, the bus system 705 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 705 in FIG. 7 .
其中,用户接口703可以包括显示器、键盘或者点击设备例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 703 may include a display, a keyboard, or a pointing device such as a mouse, a trackball (trackball), a touch panel, or a touch screen.
可以理解,本发明实施例中的存储器702可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch Link DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DRRAM)。本发明实施例描述的系统和方法的存储器702旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 702 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data RateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synch Link DRAM, SLDRAM) And direct memory bus random access memory (DirectRambus RAM, DRRAM). The memory 702 of the systems and methods described in embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
在一些实施方式中,存储器702存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统7021和应用程序7022。In some implementations, the memory 702 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 7021 and an application program 7022 .
其中,操作系统7021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序7022,包含各种应用程序,例如媒体播放器(MediaPlayer)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序7022中。Among them, the operating system 7021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 7022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 7022 .
在本发明实施例中,通过调用存储器702存储的程序或指令,具体的,可以是应用程序7022中存储的程序或指令。处理器701用于获取摄像头706采集的图像以及图像的第一分辨率;获取移动终端的当前电量和当前温度;获取当前温度对应的第二分辨率;判断当前电量是否低于预设阈值;若当前电量不低于预设阈值,则比较第一分辨率和第二分辨率的大小;若第二分辨率比第一分辨率小,则调整图像的分辨率为第二分辨率。In the embodiment of the present invention, the programs or instructions stored in the memory 702 are invoked, specifically, the programs or instructions stored in the application program 7022 may be used. The processor 701 is used to obtain the image collected by the camera 706 and the first resolution of the image; obtain the current power and current temperature of the mobile terminal; obtain the second resolution corresponding to the current temperature; determine whether the current power is lower than the preset threshold; If the current power level is not lower than the preset threshold, the first resolution and the second resolution are compared; if the second resolution is smaller than the first resolution, the resolution of the image is adjusted to the second resolution.
上述本发明实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器701可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 701 or implemented by the processor 701 . The processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 701 or instructions in the form of software. The above-mentioned processor 701 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702, and completes the steps of the above method in combination with its hardware.
可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital SignalProcessing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(ProgrammableLogic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.
对于软件实现,可通过执行本发明实施例所述功能的模块(例如过程、函数等)来实现本发明实施例所述的技术。软件代码可存储在存储器702中并通过处理器执行。存储器702可以在处理器701中或在处理器701外部实现。For software implementation, the techniques described in the embodiments of the present invention may be implemented through modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present invention. The software codes may be stored in the memory 702 and executed by the processor. The memory 702 may be implemented in the processor 701 or outside the processor 701 .
可选地,处理器701用于获取当前温度对应的第二分辨率的步骤中,处理器701具体用于将当前温度与预设温度标准对比;若当前温度匹配预设温度标准,则获取预设温度标准对应的第二分辨率。Optionally, in the step of obtaining the second resolution corresponding to the current temperature by the processor 701, the processor 701 is specifically used to compare the current temperature with the preset temperature standard; if the current temperature matches the preset temperature standard, obtain the preset temperature standard. Set the second resolution corresponding to the temperature standard.
可选地,预设温度标准对应的第二分辨率的大小与预设温度标准的温度大小的关系为负相关。Optionally, the relationship between the magnitude of the second resolution corresponding to the preset temperature standard and the temperature of the preset temperature standard is negatively correlated.
可选地,处理器701用于判断当前电量是否低于预设阈值的步骤之后,处理器701还用于若当前电量低于预设阈值,则获取当前电量对应的第三分辨率;比较第一分辨率、第二分辨率和第三分辨率的大小;若第二分辨率最小,则调整图像的分辨率为第二分辨率;若第三分辨率最小,则调整图像的分辨率为第三分辨率。Optionally, after the processor 701 is used to determine whether the current power is lower than the preset threshold, the processor 701 is also used to acquire the third resolution corresponding to the current power if the current power is lower than the preset threshold; The size of the first resolution, the second resolution and the third resolution; if the second resolution is the smallest, the resolution of the image is adjusted to the second resolution; if the third resolution is the smallest, the resolution of the image is adjusted to the first resolution Three resolutions.
可选地,处理器701用于获取当前电量对应的第三分辨率的步骤中,处理器701具体用于将当前电量与预设电量标准对比;若当前电量匹配预设电量标准,则获取预设电量标准对应的第三分辨率。Optionally, in the step of obtaining the third resolution corresponding to the current electric quantity by the processor 701, the processor 701 is specifically used to compare the current electric quantity with the preset electric quantity standard; if the current electric quantity matches the preset electric quantity standard, obtain the preset electric quantity Set the third resolution corresponding to the power standard.
移动终端700能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 700 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.
本发明实施例的移动终端700,不仅可在电量充足的情况下,比较当前温度对应的第二分辨率与摄像头706获取图像的默认的第一分辨率的大小关系,若第二分辨率较小,则可将图像的分辨率调整为较小的第二分辨率;还可以在电量不足的情况下,比较当前温度对应的第二分辨率、当前电量对应的第三分辨率与摄像头706获取图像的默认的第一分辨率的大小关系,若第二分辨率最小,则可将图像的分辨率调整为最小的第二分辨率,或者,若第三分辨率最小,则可将图像的分辨率调整为最小的第三分辨率;从而避免由于图像的第一分辨率较大,使移动终端700处理的数据较多,功耗较大,造成移动终端700的温度较高的问题。The mobile terminal 700 of the embodiment of the present invention can not only compare the size relationship between the second resolution corresponding to the current temperature and the default first resolution of the image captured by the camera 706 under the condition of sufficient power, if the second resolution is smaller , then the resolution of the image can be adjusted to a smaller second resolution; it is also possible to compare the second resolution corresponding to the current temperature and the third resolution corresponding to the current power with the images acquired by the camera 706 when the power is insufficient. The size relationship of the default first resolution, if the second resolution is the smallest, the resolution of the image can be adjusted to the smallest second resolution, or, if the third resolution is the smallest, the resolution of the image can be adjusted to Adjust to the smallest third resolution; thereby avoiding the problem that the mobile terminal 700 processes more data and consumes more power because the first resolution of the image is larger, resulting in a higher temperature of the mobile terminal 700.
第六实施例Sixth embodiment
图8是本发明第六实施例的移动终端的结构示意图。具体地,图8中的移动终端800可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)或车载电脑等。Fig. 8 is a schematic structural diagram of a mobile terminal according to a sixth embodiment of the present invention. Specifically, the mobile terminal 800 in FIG. 8 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.
图8中的移动终端800包括射频(Radio Frequency,RF)电路810、存储器820、输入单元830、显示单元840、处理器860、音频电路870、WiFi(Wireless Fidelity)模块880、电源890和摄像头850。Mobile terminal 800 in Fig. 8 comprises radio frequency (Radio Frequency, RF) circuit 810, memory 820, input unit 830, display unit 840, processor 860, audio circuit 870, WiFi (Wireless Fidelity) module 880, power supply 890 and camera 850 .
其中,输入单元830可用于接收用户输入的数字或字符信息,以及产生与移动终端800的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元830可以包括触控面板831。触控面板831,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板831上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板831可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器860,并能接收处理器860发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板831。除了触控面板831,输入单元830还可以包括其他输入设备832,其他输入设备832可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 830 can be used for receiving number or character information input by the user, and generating signal input related to the user setting and function control of the mobile terminal 800 . Specifically, in the embodiment of the present invention, the input unit 830 may include a touch panel 831 . The touch panel 831, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 831 using any suitable object or accessory such as a finger or a stylus), and based on preset The specified program drives the corresponding connected device. Optionally, the touch panel 831 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 860, and can receive and execute commands sent by the processor 860. In addition, the touch panel 831 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 831, the input unit 830 may also include other input devices 832, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.
其中,显示单元840可用于显示由用户输入的信息或提供给用户的信息以及移动终端800的各种菜单界面。显示单元840可包括显示面板841,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板841。Wherein, the display unit 840 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 800 . The display unit 840 may include a display panel 841, and optionally, the display panel 841 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
应注意,触控面板831可以覆盖显示面板841,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器860以确定触摸事件的类型,随后处理器860根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 831 can cover the display panel 841 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 860 to determine the type of the touch event, and then the processor The 860 provides corresponding visual output on the touch display screen according to the type of the touch event.
触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.
其中处理器860是移动终端800的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器821内的软件程序和/或模块,以及调用存储在第二存储器822内的数据,执行移动终端800的各种功能和处理数据,从而对移动终端800进行整体监控。可选的,处理器860可包括一个或多个处理单元。Wherein the processor 860 is the control center of the mobile terminal 800, utilizes various interfaces and lines to connect the various parts of the whole mobile phone, by running or executing the software programs and/or modules stored in the first memory 821, and calling the software programs and/or modules stored in the second memory 821. The data in the memory 822 executes various functions of the mobile terminal 800 and processes data, so as to monitor the mobile terminal 800 as a whole. Optionally, the processor 860 may include one or more processing units.
在本发明实施例中,通过调用存储该第一存储器821内的软件程序和/或模块和/或该第二存储器822内的数据,处理器860用于获取摄像头850采集的图像以及图像的第一分辨率;获取移动终端的当前电量和当前温度;获取当前温度对应的第二分辨率;判断当前电量是否低于预设阈值;若当前电量不低于预设阈值,则比较第一分辨率和第二分辨率的大小;若第二分辨率比第一分辨率小,则调整图像的分辨率为第二分辨率。In the embodiment of the present invention, the processor 860 is used to acquire the image captured by the camera 850 and the first image captured by the camera 850 by calling the software program and/or module stored in the first memory 821 and/or the data in the second memory 822. First resolution; obtain the current power and current temperature of the mobile terminal; obtain the second resolution corresponding to the current temperature; judge whether the current power is lower than the preset threshold; if the current power is not lower than the preset threshold, compare the first resolution and the size of the second resolution; if the second resolution is smaller than the first resolution, adjust the resolution of the image to the second resolution.
可选地,处理器860用于获取当前温度对应的第二分辨率的步骤中,处理器860具体用于将当前温度与预设温度标准对比;若当前温度匹配预设温度标准,则获取预设温度标准对应的第二分辨率。Optionally, in the step of obtaining the second resolution corresponding to the current temperature, the processor 860 is specifically used to compare the current temperature with the preset temperature standard; if the current temperature matches the preset temperature standard, obtain the preset temperature standard. Set the second resolution corresponding to the temperature standard.
可选地,预设温度标准对应的第二分辨率的大小与预设温度标准的温度大小的关系为负相关。Optionally, the relationship between the magnitude of the second resolution corresponding to the preset temperature standard and the temperature of the preset temperature standard is negatively correlated.
可选地,处理器860用于判断当前电量是否低于预设阈值的步骤之后,处理器860还用于若当前电量低于预设阈值,则获取当前电量对应的第三分辨率;比较第一分辨率、第二分辨率和第三分辨率的大小;若第二分辨率最小,则调整图像的分辨率为第二分辨率;若第三分辨率最小,则调整图像的分辨率为第三分辨率。Optionally, after the processor 860 is used to determine whether the current power is lower than the preset threshold, the processor 860 is also used to obtain the third resolution corresponding to the current power if the current power is lower than the preset threshold; The size of the first resolution, the second resolution and the third resolution; if the second resolution is the smallest, the resolution of the image is adjusted to the second resolution; if the third resolution is the smallest, the resolution of the image is adjusted to the first resolution Three resolutions.
可选地,处理器860用于获取当前电量对应的第三分辨率的步骤中,处理器860具体用于将当前电量与预设电量标准对比;若当前电量匹配预设电量标准,则获取预设电量标准对应的第三分辨率。Optionally, in the step where the processor 860 is used to obtain the third resolution corresponding to the current power, the processor 860 is specifically used to compare the current power with the preset power standard; if the current power matches the preset power standard, then obtain the preset power standard. Set the third resolution corresponding to the power standard.
可见,移动终端800,不仅可在电量充足的情况下,根据当前温度对应的第二分辨率与摄像头850获取图像的默认的第一分辨率的大小关系,若第二分辨率较小,则可将图像的分辨率调整为较小的第二分辨率;还可以在电量不足的情况下,根据当前温度对应的第二分辨率、当前电量对应的第三分辨率与摄像头850获取图像的默认的第一分辨率的大小关系,若第二分辨率最小,则可将图像的分辨率调整为最小的第二分辨率,或者,若第三分辨率最小,则可将图像的分辨率调整为最小的第三分辨率;从而避免由于图像的第一分辨率较大,使移动终端800处理的数据较多,功耗较大,造成移动终端800的温度较高的问题。It can be seen that the mobile terminal 800 can not only use the size relationship between the second resolution corresponding to the current temperature and the default first resolution of the image captured by the camera 850 when the battery is sufficient, if the second resolution is smaller, then it can Adjust the resolution of the image to a smaller second resolution; in the case of insufficient power, the second resolution corresponding to the current temperature, the third resolution corresponding to the current power, and the default image obtained by the camera 850 The size relationship of the first resolution, if the second resolution is the smallest, the resolution of the image can be adjusted to the smallest second resolution, or, if the third resolution is the smallest, the resolution of the image can be adjusted to the smallest The third resolution; thereby avoiding the problem that the mobile terminal 800 processes more data and consumes more power because the first resolution of the image is larger, resulting in a higher temperature of the mobile terminal 800.
本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710025611.5A CN107071264A (en) | 2017-01-13 | 2017-01-13 | A kind of image resolution ratio method of adjustment and mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710025611.5A CN107071264A (en) | 2017-01-13 | 2017-01-13 | A kind of image resolution ratio method of adjustment and mobile terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107071264A true CN107071264A (en) | 2017-08-18 |
Family
ID=59599221
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710025611.5A Pending CN107071264A (en) | 2017-01-13 | 2017-01-13 | A kind of image resolution ratio method of adjustment and mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107071264A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107665027A (en) * | 2017-09-06 | 2018-02-06 | 维沃移动通信有限公司 | A kind of temprature control method and mobile terminal |
| CN109194987A (en) * | 2018-07-23 | 2019-01-11 | 南阳师范学院 | Adjusting method, device, storage medium and the mobile terminal of Online Video resolution ratio |
| CN109858303A (en) * | 2018-12-19 | 2019-06-07 | 维沃移动通信有限公司 | A kind of scan method and terminal device |
| CN111294905A (en) * | 2020-02-03 | 2020-06-16 | RealMe重庆移动通信有限公司 | Image processing method, image processing apparatus, storage medium, and electronic device |
| CN113099038A (en) * | 2021-03-08 | 2021-07-09 | 北京小米移动软件有限公司 | Image super-resolution processing method, image super-resolution processing device and storage medium |
| CN114285987A (en) * | 2021-11-10 | 2022-04-05 | 盛景智能科技(嘉兴)有限公司 | Multi-path camera access system and method and operation machine |
| CN114691069A (en) * | 2022-03-30 | 2022-07-01 | Oppo广东移动通信有限公司 | Image display adjustment method and device and electronic equipment |
| WO2023231630A1 (en) * | 2022-05-30 | 2023-12-07 | 荣耀终端有限公司 | Video data processing method, electronic device, and readable storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104391554A (en) * | 2014-10-23 | 2015-03-04 | 深圳市金立通信设备有限公司 | Method for adjusting terminal temperature |
| CN105094257A (en) * | 2015-09-25 | 2015-11-25 | 维沃移动通信有限公司 | Method for controlling temperature rise of electronic equipment and electronic equipment |
| US20150348493A1 (en) * | 2014-05-27 | 2015-12-03 | Samsung Electronics Co., Ltd. | Method of controlling display and electronic device for providing the same |
| CN105830444A (en) * | 2013-12-20 | 2016-08-03 | 高通股份有限公司 | Thermal and power management with video coding |
| CN105872441A (en) * | 2016-01-15 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Video communication method and device |
-
2017
- 2017-01-13 CN CN201710025611.5A patent/CN107071264A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105830444A (en) * | 2013-12-20 | 2016-08-03 | 高通股份有限公司 | Thermal and power management with video coding |
| US20150348493A1 (en) * | 2014-05-27 | 2015-12-03 | Samsung Electronics Co., Ltd. | Method of controlling display and electronic device for providing the same |
| CN104391554A (en) * | 2014-10-23 | 2015-03-04 | 深圳市金立通信设备有限公司 | Method for adjusting terminal temperature |
| CN105094257A (en) * | 2015-09-25 | 2015-11-25 | 维沃移动通信有限公司 | Method for controlling temperature rise of electronic equipment and electronic equipment |
| CN105872441A (en) * | 2016-01-15 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Video communication method and device |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107665027A (en) * | 2017-09-06 | 2018-02-06 | 维沃移动通信有限公司 | A kind of temprature control method and mobile terminal |
| CN107665027B (en) * | 2017-09-06 | 2020-11-10 | 维沃移动通信有限公司 | Temperature control method and mobile terminal |
| CN109194987A (en) * | 2018-07-23 | 2019-01-11 | 南阳师范学院 | Adjusting method, device, storage medium and the mobile terminal of Online Video resolution ratio |
| CN109194987B (en) * | 2018-07-23 | 2021-07-16 | 南阳师范学院 | Online video resolution adjustment method, device, storage medium and mobile terminal |
| CN109858303A (en) * | 2018-12-19 | 2019-06-07 | 维沃移动通信有限公司 | A kind of scan method and terminal device |
| CN109858303B (en) * | 2018-12-19 | 2022-05-06 | 维沃移动通信有限公司 | Scanning method and terminal equipment |
| CN111294905A (en) * | 2020-02-03 | 2020-06-16 | RealMe重庆移动通信有限公司 | Image processing method, image processing apparatus, storage medium, and electronic device |
| CN113099038A (en) * | 2021-03-08 | 2021-07-09 | 北京小米移动软件有限公司 | Image super-resolution processing method, image super-resolution processing device and storage medium |
| CN113099038B (en) * | 2021-03-08 | 2022-11-22 | 北京小米移动软件有限公司 | Image super-resolution processing method, image super-resolution processing device and storage medium |
| CN114285987A (en) * | 2021-11-10 | 2022-04-05 | 盛景智能科技(嘉兴)有限公司 | Multi-path camera access system and method and operation machine |
| CN114691069A (en) * | 2022-03-30 | 2022-07-01 | Oppo广东移动通信有限公司 | Image display adjustment method and device and electronic equipment |
| WO2023231630A1 (en) * | 2022-05-30 | 2023-12-07 | 荣耀终端有限公司 | Video data processing method, electronic device, and readable storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105847680B (en) | A kind of camera power consumption control method and mobile terminal | |
| CN107071264A (en) | A kind of image resolution ratio method of adjustment and mobile terminal | |
| CN106131341B (en) | A kind of photographic method and mobile terminal | |
| CN106657806B (en) | A kind of exposure method and mobile terminal | |
| CN106454456A (en) | Video playing control method and mobile terminal | |
| US9965086B2 (en) | Method for enabling function module of terminal, and terminal device | |
| CN106919313A (en) | The startup method and mobile terminal of a kind of application program | |
| CN106713780A (en) | Control method for flash lamp and mobile terminal | |
| CN106648035A (en) | Image resolution adjusting method and mobile terminal | |
| CN105827872A (en) | Control method of mobile terminal and mobile terminal | |
| CN106657793A (en) | Image processing method and mobile terminal | |
| CN106791021B (en) | A kind of control method and mobile terminal of flash lamp | |
| CN106407950A (en) | Facial information identification method and mobile terminal | |
| CN106648502A (en) | Display control method of mobile terminal and mobile terminal | |
| CN106557240A (en) | A kind of detection method and mobile terminal | |
| CN107566624A (en) | A kind of power consumption of terminal and the display methods of temperature and terminal | |
| CN106940597A (en) | A kind of camera starts control method and mobile terminal | |
| CN106357918A (en) | Method for adjusting screen brightness and mobile terminal | |
| CN107509025A (en) | A kind of camera control method and mobile terminal | |
| CN106557259A (en) | A kind of operational approach and mobile terminal of mobile terminal | |
| CN106208206A (en) | A kind of wireless charging method and mobile terminal | |
| CN107590465A (en) | A kind of image processing method and mobile terminal | |
| CN105955600A (en) | Mobile terminal and method for adjusting display interface of mobile terminal | |
| CN106055296A (en) | Control method for display brightness of terminal screen and terminal | |
| CN106681640B (en) | Screen display control method of a mobile terminal and mobile terminal |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170818 |