CN108121524A - The adjusting method and device, electronic equipment of electronic equipment image display preview frame per second - Google Patents

The adjusting method and device, electronic equipment of electronic equipment image display preview frame per second Download PDF

Info

Publication number
CN108121524A
CN108121524A CN201711378701.9A CN201711378701A CN108121524A CN 108121524 A CN108121524 A CN 108121524A CN 201711378701 A CN201711378701 A CN 201711378701A CN 108121524 A CN108121524 A CN 108121524A
Authority
CN
China
Prior art keywords
electronic equipment
power consumption
frame per
state
scope
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.)
Granted
Application number
CN201711378701.9A
Other languages
Chinese (zh)
Other versions
CN108121524B (en
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 CN201711378701.9A priority Critical patent/CN108121524B/en
Publication of CN108121524A publication Critical patent/CN108121524A/en
Application granted granted Critical
Publication of CN108121524B publication Critical patent/CN108121524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)
  • Power Sources (AREA)

Abstract

The adjusting method and device of electronic equipment image display preview frame per second provided by the embodiments of the present application, electronic equipment, computer readable storage medium, by the power consuming features and heat-producing characteristics that obtain electronic equipment, according to the power consuming features and heat-producing characteristics, obtain electronic equipment power consumption febrile state, according to the electronic equipment power consumption febrile state, electronic equipment can be according to the actual conditions of consumption heating, according to preset rules dynamic adjustment video calling, image display preview frame per second scope during photography or camera shooting, in the power consumption of electronic equipment, preferably weighed between fever and the fluency of image display, optimize the working condition of electronic equipment, improve video calling, photography or the efficiency of camera shooting.

Description

The adjusting method and device, electronic equipment of electronic equipment image display preview frame per second
Technical field
This application involves field of terminal technology, more particularly to the adjusting side of a kind of electronic equipment image display preview frame per second Method and device, electronic equipment, computer readable storage medium.
Background technology
With the development of electronic device technology, video calling is carried out by electronic equipment, take pictures or the behaviors such as images getting over Come more frequent.In traditional technology, video calling is carried out, take pictures video calling when either imaging, the preview frame taken pictures or imaged Rate scope is fixed.
It is sometimes desirable, however, that the needs of carrying out video calling, taking pictures or image could be met by improving fluency, need sometimes It reduces power consumption and just can guarantee that electronic equipment is in good working order.Traditional method exists and does not adapt to this demand The problem of.
The content of the invention
The embodiment of the present application provides the adjusting method of a kind of electronic equipment image display preview frame per second and device, electronics are set Standby, computer readable storage medium can realize and be showed according to the consumption heating of electronic equipment that dynamic adjusts video calling, claps According to or the scenes hypograph such as the camera shooting frame per second scope of preview frame per second that shows, in the fluency and electronic equipment of image display Preferably weighed between power consumption, fever, improve the efficiency of video calling or photography and vedio recording.
A kind of adjusting method of preview frame per second, the described method includes:
Obtain the power consuming features and heat-producing characteristics of electronic equipment;
According to the power consuming features and the heat-producing characteristics, the power consumption febrile state of the electronic equipment is obtained;
According to the power consumption febrile state, the image display preview frame per second of the electronic equipment is adjusted according to preset rules Frame per second scope.
The regulating device of a kind of electronic equipment image display preview frame per second, described device include:
First acquisition module, for obtaining the power consuming features of electronic equipment and heat-producing characteristics;
Second acquisition module, for according to the power consuming features and the heat-producing characteristics, obtaining the consumption of the electronic equipment Electric febrile state;
Adjustment module, for according to the power consumption febrile state, the image of the electronic equipment to be adjusted according to preset rules Show the frame per second scope of preview frame per second.
A kind of electronic equipment including memory and processor, stores computer program, the calculating in the memory When machine program is performed by the processor so that the processor performs the electronic equipment image display preview frame rate adjustment The step of method.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of electronic equipment image display preview method of frame rate adjusting is realized during row.
The adjusting method and device, electronics of a kind of electronic equipment image display preview frame per second provided by the embodiments of the present application are set Standby, computer readable storage medium, by obtaining the power consuming features and heat-producing characteristics of electronic equipment, according to the power consuming features and Heat-producing characteristics obtain the power consumption febrile state of electronic equipment, according to the power consumption febrile state of electronic equipment, can realize that electronics is set The standby consumption heating according to electronic equipment shows, and dynamic adjusts what the scenes hypographs such as video calling, photography or camera shooting were shown The frame per second scope of preview frame per second, is preferably weighed between the fluency of the power consumption of electronic equipment, fever and image display, Optimize the working condition of electronic equipment, improve video calling, photography or the efficiency of camera shooting.
Description of the drawings
It in order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the applied environment figure of the adjusting method of electronic equipment image display preview frame per second in one embodiment;
Fig. 2 is the configuration diagram of electronic equipment in one embodiment;
Fig. 3 is the flow chart of the adjusting method of electronic equipment image display preview frame per second in one embodiment;
Fig. 4 is architecture diagram in the adjusting method of electronic equipment image display preview frame per second in one embodiment;
The flow chart of each module work in the software architecture that Fig. 5 is Fig. 4;
Fig. 6 is another architecture diagram in the adjusting method of electronic equipment image display preview frame per second in one embodiment;
Fig. 7 is the frame per second mode setting surface chart of electronic equipment image display in one embodiment;
Fig. 8 is the step flow chart for the power consumption febrile state that electronic equipment is obtained in one embodiment;
Fig. 9 is the step flow chart for the power consumption febrile state that electronic equipment is obtained in another embodiment;
Figure 10 (a) is that the schematic diagram of interim card occurs in picture in one embodiment;
Figure 10 (b) is the schematic diagram that dynamic promotes picture in Figure 10 (a) after the frame per second scope of preview frame per second;
Figure 11 is the flow chart of the adjusting method of electronic equipment image display preview frame per second in a specific embodiment;
Figure 12 is the structure diagram of the regulating device of electronic equipment image display preview frame per second in one embodiment;
Figure 13 is the block diagram of the part-structure of the relevant mobile phone of electronic equipment provided in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the object, technical solution and advantage for making the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
It is appreciated that term " first " used in this application, " second " etc. can be used to describe various objects herein, But these objects should not be limited by these terms.These terms are only used to distinguish first object and another object.Citing comes It says, in the case where not departing from scope of the present application, the first predetermined threshold value can be known as the second predetermined threshold value, and similarly, Second predetermined threshold value can be known as the first predetermined threshold value.First predetermined threshold value and the second predetermined threshold value both predetermined threshold value, But it is not same predetermined threshold value.
Fig. 1 is the application environment schematic diagram of the adjusting method of electronic equipment image display preview frame per second in one embodiment. As shown in Figure 1, the application environment includes electronic equipment 110, electronic equipment 140, connection network 120 and server 130.
Wherein, electronic equipment 110 and electronic equipment 140 may include mobile terminal, intelligent wearable device or desk-top calculating Machine etc. is illustrated in the present embodiment with mobile terminal.
Connect network 120 can be wired or wireless network, the radio connection include mobile communications network or The connection modes such as WIFI (WIreless-Fidelity, Wireless Fidelity).Illustrated in the present embodiment by wireless network.
Server 130, can be desktop computer or server etc., and server 130 is used to support distinct electronic apparatuses Between video calling etc., server 130 can be made of one or more servers.
The course of work of each component is in the application environment:The electronic equipment 110 and electronic equipment 140 carry out video and lead to Words, the electronic equipment 110 and electronic equipment 140 are connected respectively by connecting network 120 with server 130, and the electronics is set Pass through server 130 for 110 and the electronic equipment 140 and carry out video calling.Electronic equipment 110 obtains electronic equipment 110 certainly The power consuming features and heat-producing characteristics of body, according to the power consuming features and heat-producing characteristics, the power consumption fever shape of acquisition electronic equipment 110 State, according to the power consumption febrile state of acquisition, electronic equipment 110 adjusts electronics in video call process according to preset rules and sets The frame per second scope of standby 110 image display preview frame per second.Electronic equipment 140 can also in video call process, by with electricity The same or similar mode of sub- equipment 110 adjusts the frame per second scope of the image display preview frame per second of electronic equipment 140 itself.
It should be noted that technical solution of the above application environment just for the sake of explanation the embodiment of the present application, and do not have to In the technical solution for limiting the application.The technical solution of the embodiment of the present application can be applied not only to the application of above-mentioned video calling In scene, it can also be applied in the scenes such as photography or the camera shooting of above-mentioned each electronic equipment, can be applied not only to above-mentioned In the electronic equipments such as mobile terminal, tablet computer, intelligent wearable device, desktop computer or notebook, camera can also be applied to Etc. in equipment, all should be in the protection of the application claim as long as the application environment of the embodiment of the present application technical solution can be applied In the range of.
Fig. 2 is the internal structure schematic diagram of electronic equipment in one embodiment.As shown in Fig. 2, the electronic equipment includes leading to Cross processor, memory and the network interface of system bus connection.Wherein, which is used to provide calculating and control ability, Support the operation of entire electronic equipment.Memory stores at least one computer journey for storing data, program etc. on memory Sequence, the computer program can be executed by processor, to realize the electronics suitable for electronic equipment provided in the embodiment of the present application The adjusting method of equipment image display preview frame per second.Memory may include magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc. non-volatile memory mediums or random access memory (Random-Access-Memory, RAM) etc.. For example, in one embodiment, memory includes non-volatile memory medium and built-in storage.Non-volatile memory medium stores There are operating system and computer program.The computer program can be performed by processor, for realizing following each embodiment The adjusting method of a kind of electronic equipment image display preview frame per second provided.Built-in storage is in non-volatile memory medium Operating system computer program provides the running environment of cache.Network interface can be Ethernet card or wireless network card etc., For communicating with external computer equipment.The electronic equipment can be desktop computer, laptop, mobile phone, tablet electricity Brain, personal digital assistant, Wearable or camera etc..
In traditional technology, when electronic equipment carries out video calling, for the application in white list on electronic equipment, video The image display preview frame per second scope of call is fixed, for example in white list a application limits its image display preview frame The frame per second scope of rate is 5~24fps (transmission frame number per second, Frames Per Second, be abbreviated as fps), without in white list Interior application, the frame per second scope of image display preview frame per second is 10~30fps.This electronic equipment image display preview frame per second The fixed scheme of frame per second scope come with some shortcomings:When video component is run, such as video calling, photography or camera shooting etc., The hardware resource that electronic equipment operation is related to is more, and power consumption and heating problem are relatively prominent, the frame per second of image display preview frame per second If scope is fixed, can not preferably the fluency demand of dynamically adapting image display and the consumption heating demand of electronic equipment, For example, the frame per second scope of the image display preview frame per second of application in white list is fixed on 5~24fps, but some scenes Under, by the frame per second scope promotion of image display preview frame per second to 10~30fps, the frame per second scope of even more high can meet The fluency demand of the image display of application and the effect demand of application, such as some instant message applications, such as wechat, Skype Software, imo classes chat etc. can use to video calling software;On the contrary, under application scenes, image display preview frame is reduced The frame per second scope of rate, for example the frame per second scope of the preview frame per second of the image display of application is reduced to 5~20fps, it can obtain The consumption heating of better electronic equipment is taken to show.
Based on this, the embodiment of the present application provides the adjusting method of a kind of electronic equipment image display preview frame per second, and electronics is set Standby to be showed automatically according to actual power loss and fever, dynamic adjusts the frame per second scope of electronic equipment image display preview frame per second, Image display fluency and electronic equipment power consumption, fever between preferably balanced.
It should be noted that preview frame per second is different from display frame rate, difference is as follows:
(1) preview refers in the statement of camera field, and in general, camera output mode includes:Preview output mode, Exposal model and RECORD mode.
Wherein, preview output mode refers to the image content of camera output, (Image is handled by picture signal Signal Processing, are abbreviated as ISP) processing after, these picture streams can be shown on screen by the flow behind software.
It takes pictures output mode, refers to the image content of camera output, after ISP is handled, the flow meeting behind software It is preserved in the form of a file after image content is encoded, forms individual picture file.Wherein, output mode of taking pictures may include pre- Look at the process of output.
Video recording output mode refers to the image content of camera output, after ISP is handled, the flow meeting behind software It will in the form of a file be preserved after these picture stream encryptions, form video file.Wherein, video recording output mode may include that preview is defeated The process gone out.
Preview frame per second refers under preview output mode that camera exports the frame per second of picture, for example preview frame per second is 30fps, Show 30 pictures of camera output per second at this time, the application scenarios of preview frame per second include:Video calling, photography or camera shooting Deng.
(2) show, refer to that all pictures in terminal can all preserve a block buffer in memory, work as frame updating When, electronic equipment can refresh a buffering area, and display controller is then allowed to enter the content brush of buffering area to going on screen.
Display frame rate:Refer to the number of electronic equipment flush buffers per second, for example, display frame rate is 60fps, show electronics Equipment flush buffers per second 60 times, application scenarios include:Game or film and television etc..
Referring to Fig. 3, Fig. 3 is the flow of the adjusting method of electronic equipment image display preview frame per second in one embodiment Scheme, the adjusting method of the electronic equipment image display preview frame per second in the embodiment of the present application, to run on the electronic equipment in Fig. 1 It is described exemplified by upper.As shown in figure 3, the adjusting method of the electronic equipment image display preview frame per second includes:
Step 302, the power consuming features and heat-producing characteristics for obtaining electronic equipment.
Specifically, power consuming features refer to the power consumption performance of electronic equipment, are set including the current electricity of electronic equipment, electronics Standby power consumption and the charged state of electronic equipment etc..Under normal circumstances, the charge capacity of electronic equipment is expressed as a certain number of millis Peace, such as 2300 milliamperes, 3200 milliamperes etc., the current electricity of electronic equipment be expressed as battery capacity 80%, 50% or 30% etc..Wherein, battery capacity represents the electricity that (discharge rate, temperature, voltage etc.) battery is released under certain condition, i.e. battery Capacity, usually in units of ampere-hour (referred to as, represented with AH, 1Ah=3600C), milliampere, be electric current metering Unit represents with alphabetical mA, and one milliampere is one ampere of one thousandth.Electricity (English Quantity of electric Charge) represent object it is electrically charged number, in general, the quantity of charge is represented, unit is storehouse electricity with symbol Q (logical sequence) (symbol is C).Powder consumption of electronic equipment, since electronic equipment is in different states, for example electronic equipment is in and puts out screen shape State and in bright screen state, electronic equipment are in holding state and in use states, and the electricity of electronic equipment operation consumption is not Together, the electricity consumed when and different application programs is run also differs, and therefore, the power consumption of electronic equipment is with electronic equipment The difference of the application program of variation and the operation of state and change, the power consumption of electronic equipment is typically expressed as the work(of electronic equipment Rate can change into the electricity of corresponding consumption.The charged state of electronic equipment, is charging and electronic equipment including electronic equipment It is uncharged etc..Electronic equipment obtains the power consumption information of electronic equipment, can obtain electronic equipment by power supply (Powersupply) Power consumption information, can also be obtained by the power consumption daily record that battery status service (Batterystats) provides.
Heat-producing characteristics refer to the fever performance of electronic equipment, including each warm region (Thermal_ in electronic equipment Zone temperature information), including central processing unit (English:Central Processing Unit, abbreviation:CPU) temperature, figure Shape processor (English:Graphics Processing Unit, abbreviation:GPU) temperature, mainboard temperature (abbreviation plate temperature), with Highest temperature is the temperature of electronic equipment in cpu temperature, GPU temperature and mainboard temperature.Cpu temperature, GPU temperature and mainboard temperature Degree can be obtained by temperature sensor respectively, and it is Celsius that the temperature range of cpu temperature, GPU temperature and mainboard temperature is generally 30 Degree is to 60 degrees Celsius.Electronic equipment obtains the temperature information of electronic equipment, can be passed by the corresponding temperature in each warm region Sensor obtains.
Step 304, according to the power consuming features and the heat-producing characteristics, obtain the power consumption fever shape of the electronic equipment State.
Specifically, electronic equipment is according to the power consuming features of acquisition, such as the electricity of electronic equipment, powder consumption of electronic equipment data The conditions such as cpu temperature, GPU temperature and the mainboard temperature included with the conditions such as electronic equipment charged state and heat-producing characteristics, to each A condition pre-sets different parameters, according to pre-set different parameters, the state of each condition is judged, according to each The state of part obtains the power consumption febrile state of electronic equipment.For example, each condition is prejudged as follows:
(1) if electronic equipment is in uncharged state, the electricity of electronic equipment can judge according to default power threshold The state of charge of electronic equipment.
The state of charge of electronic equipment according to the comparison of default power threshold and electronic equipment current electric quantity, can incite somebody to action Electric quantity for electronic equipment is divided into different state of charge.For example, if electronic equipment current electric quantity is preset more than or equal to electricity Threshold value is known as the first state of charge, if electronic equipment current electric quantity is less than default power threshold, is known as second state of charge etc., For example, 30% that power threshold is battery capacity is set, if the current electricity of electronic equipment is more than or equal to battery capacity 30%, since electric quantity for electronic equipment is more sufficient, judge that the current electricity of electronic equipment is in the first state of charge, if electronics is set Standby current electricity is less than the 30% of battery capacity, since electric quantity for electronic equipment is less than predetermined threshold value, judges that electronic equipment is current Electricity be in the second state of charge, wherein, battery capacity is such as 2300 milliamperes, 3200 milliamperes or 3800 milliamperes etc., no Same electronic equipment, battery capacity are differed, it is necessary to set different electricity thresholds according to the actual conditions of specific electronic equipment Value.Further, multiple default power thresholds can also be set, it is corresponding that electricity is divided into multiple states.
It, can not since the speed of electric quantity consumption is less than the speed of battery charging if electronic equipment is in charged state Consider the state of charge of electronic equipment.
(2) powder consumption of electronic equipment can be represented by electrical power.
The electrical power refers to that the work(that electric current is done within the unit interval is called electrical power, for representing the speed of consumption electric energy Physical quantity, represented with P, its unit is watt (Watt), referred to as " watt ", symbol is W.
According to default power thresholds, the power consumption state of electronic equipment can be judged.For example, electrical power is less than default Power thresholds are known as the first power consumption state, and electrical power is more than or equal to default power thresholds, is known as the second power consumption shape State.Specifically, for example, when setting power thresholds are 1600 milliwatt, if electronic equipment electric power consumption is less than 1600 milliwatts, sentence The power consumption of disconnected electronic equipment is in the first power consumption state, if the electric power consumption of electronic equipment is more than or equal to 1600 milliwatts, Judge that the power consumption of electronic equipment is in the second power consumption state, wherein, milliwatt is exactly mW, and a milliwatt is one thousandth watt, is exactly 0.001W。
It should be noted that different electronic equipments, the parameter of real time power consumption simultaneously differs.For example, the work(of mobile terminal Consumption and the power consumption of desktop computer differ, the power consumption of Wearable and the power consumption of mobile terminal also differ, it is necessary to according to The actual conditions of distinct electronic apparatuses set different power thresholds, such as 1200 milliwatts, 2000 milliwatts or 2400 millis Watt etc..
(3) heat-producing characteristics of electronic equipment, using highest temperature in cpu temperature, GPU temperature and mainboard temperature as electronics The basis for estimation of equipment heating feature.
It can judge heat-producing characteristics, the heat-producing characteristics root of electronic equipment by setting the temperature threshold of electronic equipment temperature According to default temperature threshold, the first state of temperature and second temperature state etc. can be divided into.It is for example, small with the temperature of electronic equipment In or equal to the temperature threshold be the first state of temperature, to be more than the temperature threshold as second temperature state.It is general next It says, cpu temperature, GPU temperature and mainboard temperature can be between 30 degrees Celsius to 60 degrees Celsius.To set electronic equipment temperature Temperature threshold is 50 degrees Celsius, if the cpu temperature, GPU temperature and the mainboard temperature that obtain judge electronics not less than 50 degrees Celsius The temperature of equipment is in the first state of temperature, if being more than there are one temperature in the cpu temperature obtained, GPU temperature and mainboard temperature 50 degrees Celsius, judge that the temperature of electronic equipment is in second temperature state.
According to the judgement above to the state of each condition, the power consumption febrile state of electronic equipment is determined whether, for example, With reference to the citing of above-mentioned each condition, following judgement can be done to the power consumption febrile state of electronic equipment:
(1) if electronic equipment is under charged state, only the power consumption of electronic equipment is in the first power consumption state and electronics The temperature of equipment is in the first state of temperature, it can be determined that the power consumption febrile state of electronic equipment is in first state, otherwise, sentences The power consumption febrile state of disconnected electronic equipment is in the second state.
Wherein, the power consumption febrile state of the electronic equipment is in first state, and expression can further promote electronics and set Standby power consumption, to meet the needs of electronic equipment operation is to power consumption, the power consumption febrile state of the electronic equipment is in the second shape State represents to need the power consumption for reducing electronic equipment, to ensure the good working state of electronic equipment.
(2) if electronic equipment is under uncharged state, only the electricity of electronic equipment is in the first state of charge, electronics The power consumption of equipment is in the first power consumption state and the temperature of electronic equipment is in the first state of temperature, it can be determined that electronic equipment Power consumption febrile state is in first state, otherwise, judges that the power consumption febrile state of electronic equipment is in the second state.
It should be noted that above citing is not used to limit the application just for the sake of understanding embodiments herein Technical solution, the technical solution of the application is included than more or less form of expression of illustrating above, the application's In scope of the claims.For example, in above-described embodiment, electricity data, electronics that can be according to the electronic equipment of acquisition Cpu temperature, GPU temperature and the mainboard temperature that the conditions such as equipment power dissipation data and electronic equipment charged state and heat-producing characteristics include The temperature datas such as degree in advance correspond to the power consumption febrile state of the data of each condition and electronic equipment, according to each condition Data directly judge the power consumption febrile state of electronic equipment, without different parameters is pre-set to each condition, according to pre- The different parameters of each condition first set judge this process of the state of each condition, can also obtain corresponding electronics and set The current state of standby power consumption fever.
Step 306, according to the power consumption febrile state, the image display that the electronic equipment is adjusted according to preset rules is pre- Look at the frame per second scope of frame per second.
Specifically, frame per second, English:Frame rate are for measuring the measurement for showing frame number, and units of measurement is per second aobvious Show frame number (Frames Per Second, abbreviation:) or " hertz " (Hz) fps.
For electronic equipment according to the power consumption febrile state of the electronic equipment of acquisition, judgement is to promote image display preview frame per second Frame per second scope or reduction described image show the frame per second scope of preview frame per second or described image are maintained to show preview frame The frame per second scope of rate.If for example, judging that the power consumption febrile state of electronic equipment is in first state, it is pre- image display can be promoted The frame per second scope of frame per second is look at, so as to promote the fluency of image display, if judging at the current power consumption febrile state of electronic equipment In the second state, the frame per second scope of image display preview frame per second can be reduced, so as to reduce the power consumption of electronic equipment, realization passes through The frame per second scope of image display preview frame per second during dynamic adjustment video calling, photography or camera shooting, in electronic equipment Preferably weighed between the fluency of power consumption, fever and image display, optimize the working condition of electronic equipment, improve video The efficiency of call, photography or camera shooting.
Further, referring to Fig. 4, Fig. 4 is architecture diagram in the adjusting method of preview frame per second in one embodiment, figure Architecture diagram modules operation principle shown in 4 is as follows:
(1) power supply (Powersupply) for obtaining the power consumption information of electronic equipment, under normal circumstances, can pass through and be The Coulomb meter realization that system carries, wherein, Coulomb meter, also known as ampere second meter, are programmable digital ammeters, using advanced microprocessor Device carries out intelligent control, to the signal of input after CPU calculation process, the equipment that exports current battery charge.
(2) temperature control core (Thermal core), for obtaining the temperature information of electronic equipment, under normal circumstances, system Different warm regions (Thermal_zone), such as CPU warms region, GPU warm regions and mainboard warm area can be divided into Domain each warms region (Thermal_zone) and has corresponding temperature sensor (Sensor) measurement temperature information.
(3) Virtual File System sysfs is located locally the storehouse in layer (Native layers) space, finger daemon (Daemon) bag Include power consumption local finger daemon (Power native daemon) and temperature control local finger daemon (Thermal native Daemon), finger daemon (Daemon) can access power supply (Powersupply) and temperature control core by sysfs (Thermal core) corresponding information data, in the present embodiment, finger daemon (Daemon) passes through Virtual File System Sysfs obtains power consumption information and temperature information.
(4) power consumption local finger daemon (Power native daemon) is obtained and is arranged the power consumption letter of electronic equipment Breath, and stepping is carried out to power consumption rank according to threshold value, for example, whether being more than or equal to default work(according to the power consumption of electronic equipment Threshold value is consumed, power consumption rank is divided into the first power consumption state and the second power consumption state.For example, if the power consumption of electronic equipment is less than 1600 Milliwatt is known as the first power consumption state, if the power consumption of electronic equipment is more than or equal to 1600 milliwatts, is known as the second power consumption state.
(5) temperature control local finger daemon (Thermal native daemon) is obtained and is arranged the temperature letter of electronic equipment Breath, and stepping is carried out to temperature level according to threshold value, for example, temperature level is divided into the first state of temperature and second temperature state Deng.
(6) battery status service (Batterstats services), for providing battery drain daily record.
(7) power consumption monitoring service (Powermonitor services), according to electronic equipment power consumption rank, electronic equipment Temperature level, battery status service (Batterstats services) provide battery drain daily record, dynamical output target Frame per second scope.And power consumption monitoring service (Powermonitor services) module is also responsible for the application management of white list, than Such as white list is configured, the application in white list is added and either deletes the application in white list or set in white list The preview frame per second scope of application etc..
(8) camera service (Camera services) monitors service (Powermonitor services) mould from power consumption The regulating command to image display preview frame per second is received in block, preview frame per second is adjusted according to the regulating command, for example, The message of reception " target frame rate scope " from power consumption monitoring service (Powermonitor services) module, such as 5~ Then message of the message of 20fps, the message of 10~25fps or 10~30fps etc. is disappeared by corresponding software interface by described The demand of breath is set, and the video component of electronic equipment will be worked with the preview frame per second set.
Specifically, referring to Fig. 5, in the software architecture that Fig. 5 is Fig. 4 the work of each module flow chart, each mould in Fig. 4 The block course of work includes:
Step 501, power supply (Powersupply) obtain system power consumption information data, temperature control core (Thermal core) Electronic equipment heat-producing characteristics data are obtained, the power consumption information data and heat-producing characteristics data are transferred to Virtual File System sysfs;
Step 502, Virtual File System sysfs receive power consumption information data and temperature that power supply (Powersupply) is sent Control the electronic equipment heat-producing characteristics data that core (Thermal core) is sent;
Step 503, power consumption local finger daemon (Power native daemon) obtain power consumption information data and temperature control sheet Ground finger daemon (Thermal native daemon) obtains heat-producing characteristics data;
Specifically, power consumption local finger daemon (Power native daemon) is from the Virtual File System sysfs It obtains power consumption information data and power consumption information data is handled, temperature control local finger daemon (Thermal native Daemon heat-producing characteristics data) are obtained from the Virtual File System sysfs and heat-producing characteristics data are handled.
Step 504, power consumption monitoring service (Powermonitor services) obtain power consumption information data, heat-producing characteristics Data and battery drain daily record determine dynamic frame per second target, and the dynamic frame per second target is sent to camera service;
Specifically, power consumption monitoring services (Powermonitor services) from power consumption local finger daemon (Power Native daemon) power consumption information data is obtained, it is obtained from temperature control local finger daemon (Thermal native daemon) Heat-producing characteristics data, and the battery drain daily record provided from battery status service (Batterstats services), according to obtaining Power consumption information data, heat-producing characteristics data and the power consumption daily record taken, determines dynamic frame per second target, and the dynamic frame per second target is sent out Give camera service.
Step 505, camera service receive power consumption monitoring service (Powermonitor services) module send to pre- It lookes at the regulating command of frame per second, preview frame per second is adjusted according to the regulating command, by corresponding software interface by preview frame Rate demand is set, and the video component of electronic equipment will be worked with the preview frame per second set.
In another embodiment, electronic equipment obtains the power consumption information of electronic equipment, except through the bottom electricity in Fig. 4 Source (Powersupply) obtains the power consumption information of electronic equipment, can also be carried by battery status service (Batterystats) The power consumption daily record of confession obtains, if obtaining electricity using the power consumption daily record that battery status service (Batterystats) provides The power consumption information of sub- equipment, power consumption monitoring service (Powermonitor) no longer need to access power supply (Powersupply), accordingly Software architecture adjustment after referring to Fig. 6, Fig. 6 be one embodiment in electronic equipment image display preview frame per second adjusting method In another architecture diagram, run on power supervisor instrument (Powertools) module in ccf layer (Framework layers), It is showed for obtaining and calculating the power consumption of electronic equipment, then passes to power consumption monitoring service (Powermonitor services).
In order to be better understood from the technical solution of the embodiment of the present application, with a concrete application scene, to illustrate the application The use of technical solution, for example, in the vt applications scene of electronic equipment, the technical solution of the embodiment of the present application is answered With, it can be by setting the white list on electronic apparatus system, management uses the application program of the technical solution.When user makes During with third party's chat application (Application is abbreviated as APP) Video chat, if the application program is in electronics In the white list of equipment, the corresponding frame per second pattern of technical solution of the embodiment of the present application can be used.For present techniques side The frame per second pattern of case can be set by following two modes:
(1) first way can pass through《It sets》-《Battery》-《It is advanced》-《Video calling frame rate adjustment》, then lead to Cross the options for user selection of one-out-three:" the first frame per second pattern ", under the pattern, frame per second scope is 15~30fps;" the second frame Rate pattern ", under the pattern, frame per second scope is 5~20fps;" dynamic frame per second pattern ", under the pattern, frame per second scope can be according to electricity The power consumption performance of sub- equipment, fever performance dynamic adjust.Referring to Fig. 7, Fig. 7 is frame per second mode setting interface in one embodiment Figure, as shown in Figure 7, the frame per second pattern currently selected in Fig. 7 is dynamic frame per second pattern, when the application program of electronic equipment operation exists When in the white list of electronic equipment, electronic equipment can be showed according to the power consumption of electronic equipment and performance of generating heat performs dynamic frame per second mould Formula, dynamic adjust the frame per second scope of application program preview frame per second.
(2) second way can make choice operation, setprop by adb orders to the function Persist.sys.powermonitorservices.vc_dynamic_range hight/low/dyn select " respectively One frame per second pattern ", " the second frame per second pattern ", " dynamic frame per second pattern ".
In one embodiment, the method further includes:
Whether detection video component starts;
If detecting, the video component starts, and obtains the power consuming features and heat-producing characteristics of the electronic equipment.
Specifically, video component is the element for referring to carry out video calling, photography or camera shooting etc., including camera, Or camera lens of camera etc., for example, camera of the camera of mobile terminal, wearable device etc. or digital camera, video camera Deng.
Whether electronic equipment detection video component starts, and corresponding function can be set by electronic equipment, by described When video component starts, video component electron equipment sends a first message, by the first message electronics is notified to set The standby video component starts.Alternatively, corresponding function is set by electronic equipment, in application program launching video component, Application program electron equipment sends a second message, is opened by video component described in the second message electronic device It is dynamic.
If electronic equipment detects that the video component starts, showing, which has application program to carry out video by video component, leads to Words, photography or camera shooting etc., if electronic equipment is under the pattern into Mobile state adjustment preview frame per second at this time, electronic equipment obtains The power consuming features and heat-producing characteristics of the electronic equipment judge the electronic equipment according to the power consuming features and heat-producing characteristics Power consumption febrile state, according to the power consumption febrile state of the electronic equipment, the frame per second scope of adjustment image display preview frame per second.
In one embodiment, the step of whether the detection video component starts includes:
Detect whether to receive the message that the video component that the application program in white list is sent starts;
If receiving the message that the video component starts, judge that the video component starts.
Specifically, white list, the concept of white list is corresponding with " blacklist ", simple to understand, white list is to set to lead to The user crossed, the user beyond white list cannot pass through.
Electronic equipment can manage application program, application program makes in white list by setting white list by white list The pattern of frame per second scope is adjusted with dynamic, the application program outside white list adjusts the pattern of frame per second scope without using dynamic, so as to Preferably management application program, the especially power consumption to electronic equipment and fluency require higher application program, such as video The higher application program of the power consumptions such as the application program of conversational class, photography and vedio recording class application program, when above application program is run, The power consumption of electronic equipment is high, and the fluency requirement to showing image is also high, it is necessary to according to consumption heating state in electronic equipment It balances between power consumption and the fluency of image display, so as to not only meet the kilter of electronic device works, but also meets using journey The high requirement of ordered pair fluency.
During application program launching video component in the white list of electronic equipment, a message, institute are sent to electronic equipment Message is stated for application program launching video component described in electronic device, if electronic equipment is received in the white list The message for starting video component that application program is sent judges that the video component starts, and then starts dynamic and adjust in advance It lookes at the pattern of frame per second, the power consuming features and heat-producing characteristics of the electronic equipment is obtained, according to the power consuming features and heat-producing characteristics Judge the current state of the power consumption fever of the electronic equipment, according to the current state that the power consumption of the electronic equipment is generated heat, adjust The frame per second scope of whole image display preview frame per second.
In one embodiment, the method further includes:
If receiving the message that the video component that the application program in white list is sent is closed, the video group is judged Part is not actuated.
During closing application program video component in the white list of electronic equipment, one is sent to the electronic equipment of electronic equipment The message that a video component is closed, the message are used for video group described in closing application program described in electronic device Part if electronic equipment receives the message that the video component that the application program in the white list is sent is closed, judges institute It states that video component is not actuated, and then closes the pattern that dynamic adjusts preview frame per second, so as to reduce the power consumption of electronic equipment, save electricity The resource of sub- equipment.
In one embodiment, referring to Fig. 8, Fig. 8 is the power consumption febrile state that electronic equipment is obtained in one embodiment Step flow chart, it is described according to the power consuming features and the heat-producing characteristics, obtain the power consumption fever shape of the electronic equipment The step of state, includes:
Step 802, according to the power consuming features, obtain the corresponding power consumption rank of the power consuming features;
Step 804, according to the heat-producing characteristics, obtain the corresponding temperature level of the heat-producing characteristics;
Step 806, according to the power consumption rank and the temperature level, obtain the power consumption fever shape of the electronic equipment State.
Specifically, power consumption rank refers to the power consumption that electronic equipment divides power consuming features according to pre-set threshold value Grade, for representing the power consumption degree of electronic equipment under different situations.
Two following situations can be divided into:
(1) under electronic equipment charging situation, power consuming features are divided into according to powder consumption of electronic equipment threshold value by different grades.
Specifically, according to the difference of powder consumption of electronic equipment threshold value, power consuming features can be divided into three grades, by electronics When equipment power dissipation is less than or equal to the first default power consumption threshold value, the first estate is divided into, powder consumption of electronic equipment is more than or waits When the second default power consumption threshold value, the second grade is divided into, powder consumption of electronic equipment is in the first default power consumption threshold value and second in advance If when between power consumption threshold value, the tertiary gradient is divided into.For example, power consumption is represented with electrical power, form 1 is referred to, for example, by first Default power consumption threshold value is arranged to 1600 milliwatts, and the second default power consumption threshold value is arranged to 2400 milliwatts, by powder consumption of electronic equipment rank It is divided into the first estate, the second grade and the tertiary gradient, corresponds to corresponding power consuming features respectively.Wherein, 1600 milliwatt is equivalent to 4 It lies prostrate under voltage, the electrical power of 400 milliamperes of electric currents;2400 milliwatts are equivalent under 4 volts of voltages, the electrical power of 600 milliamperes of electric currents.
(2) in the case of electronic equipment is uncharged, power consuming features are divided into according to battery capacity and powder consumption of electronic equipment threshold value Different ranks.For example, being the percentage of battery capacity and the difference of power consumption threshold value according to battery capacity, power consumption rank is divided into Three grades.For example, the first default power threshold is arranged to the 30% of battery capacity, the second default power threshold is set For the 50% of battery capacity, power consumption is represented with electrical power, refers to form 1, battery capacity is more than or equal to according to electricity 50%th, electricity is between the 30% and the 50% of battery capacity of battery capacity, electricity is less than or equal to battery capacity 30% and electronic equipment electrical power be less than or equal to 1600 milliwatts, the electrical power of electronic equipment 1600 milliwatts with 2400 milli Between watt, the electrical power of electronic equipment be more than or equal to 2400 milliwatts, by power consumption rank be divided into the first estate, the second grade and The tertiary gradient corresponds to corresponding power consuming features respectively.
Temperature level refers to the pre-set temperature grade of electronic equipment, for representing the degree of heat of electronic equipment, root Heat-producing characteristics are divided into different ranks according to preset temperature threshold value.
According to the difference of temperature threshold, heat-producing characteristics can be divided into three grades, electronic equipment temperature is less than or When person is equal to the first preset temperature threshold value, the first estate is divided into, electronic equipment temperature is more than or equal to the second preset temperature During threshold value, the second grade is divided into, electronic equipment temperature is between the first preset temperature threshold value and the second preset temperature threshold value When, it is divided into the tertiary gradient.For example, form 1 is referred to, according to electronic equipment temperature and the difference of preset temperature threshold value, by One preset temperature threshold value is arranged to 35 degrees Celsius, and second temperature threshold value is arranged to 60 degrees Celsius, is less than according to electronic equipment temperature Either equal to 35 degrees Celsius, electronic equipment temperature be between 35 degrees Celsius and 60 degrees Celsius, electronic equipment temperature be more than or Equal to 60 degrees Celsius, the temperature level of heat-producing characteristics is divided into three grades, temperature grade is divided into the first estate, the second grade And the tertiary gradient, corresponding heat-producing characteristics are corresponded to respectively.
It should be noted that skill of the division of the parameter setting and grade in form 1 just for the sake of explanation the present embodiment Art scheme, is not used to limit the technical solution of the application, and the division of specific parameter setting and grade can be set according to difference Standby different actual conditions constantly set and adjust in practice, so that parameter setting and grade classification more meet equipment Practical operation situation.
Form 1
After electronic equipment obtains the power consuming features of electronic equipment, the corresponding consumption of power consuming features is obtained according to the power consuming features Electric rank.For example, referring to form 1, if the power consuming features that electronic equipment obtains electronic equipment are that battery is uncharged, electricity is more than Or 50% equal to battery capacity, then power consumption rank is the first estate.
After electronic equipment obtains the heat-producing characteristics of electronic equipment, according to the heat-producing characteristics, it is corresponding to obtain heat-producing characteristics Temperature level.For example, form 1 is referred to, if the heat-producing characteristics that electronic equipment obtains electronic equipment are electronic equipment Current Temperatures For 33 degrees Celsius, then temperature level is the first estate.
According to the power consumption rank and the temperature level, the power consumption febrile state of the electronic equipment is obtained.It for example, please With continued reference to form 1, the power consumption rank of the electronic equipment obtained according to electronic equipment is that the first estate and electronic equipment obtain The temperature level of electronic equipment is the first estate, from form 1, the shape of the power consumption heat-producing characteristics of the electronic equipment of electronic equipment State is first state, and then judges that the frame per second scope of preview frame per second can be promoted, so as to promoted video pictures, photographic picture or The fluency of person's camera picture.Equally, if judging, the state of the power consumption heat-producing characteristics of electronic equipment is the second state, it is necessary to reduce The frame per second scope of preview frame per second, so as to reduce the power consumption of electronic equipment.
It should be noted that in above-described embodiment, electronic equipment can not also obtain power consumption rank and temperature level this Step directly acquires the power consumption febrile state of electronic equipment according to power consuming features and temperature profile, realizes and video component is shown The dynamic adjustment of the preview frame per second of image.
In one embodiment, it is described according to the current state, according to the frame per second model of preset rules adjusting preview frame per second The step of enclosing includes:
According to the power consumption febrile state, the corresponding target frame rate scope of the power consumption febrile state is obtained;
The frame per second scope of the preview frame per second is adjusted to the target frame rate scope.
Specifically, electronic equipment obtains the power consumption febrile state of electronic equipment, according to the power consumption febrile state, obtains institute The corresponding target frame rate scope of power consumption febrile state is stated, the frame per second scope of the preview frame per second is adjusted to the target frame rate model It encloses.Please continue to refer to form 1, if electronic equipment obtains the power consumption febrile state of electronic equipment as first state, preview is obtained The target frame rate scope of frame per second is 10~30fps, electronic equipment adjusts the preview frame per second scope of video component to 10~ 30fps adjusts so as to fulfill the dynamic of preview frame per second scope, in the stream of the image display of the power consumption and electronic equipment of electronic equipment Balance is obtained between smooth degree.
Further, the frame per second scope by the preview frame per second is adjusted to the step of target frame rate scope and wrapped It includes:
If the frame per second scope of the preview frame per second is more than target frame rate scope, the frame per second scope of the preview frame per second is reduced To the target frame rate scope;
If the frame per second scope of the preview frame per second is less than target frame rate scope, the frame per second scope of the preview frame per second is promoted To the target frame rate scope;
If the frame per second scope of the preview frame per second is equal to target frame rate scope, without adjusting.
Specifically, it is corresponding to obtain the power consumption febrile state according to the power consumption febrile state of electronic equipment for electronic equipment The target frame rate scope of preview frame per second, the frame per second scope of the preview frame per second and target frame rate scope, according to comparative result, Judgement is to promote the frame per second scope of the preview frame per second, reduces the frame per second scope of the preview frame per second still without adjusting.If The frame per second scope of the preview frame per second is more than target frame rate scope, and the frame per second scope of the preview frame per second is reduced to the target If the frame per second scope of the preview frame per second is less than target frame rate scope, the frame per second scope of the preview frame per second is carried for frame per second scope The target frame rate scope is risen to, if the frame per second scope of the preview frame per second is equal to target frame rate scope, without adjusting.Than Such as, if the frame per second scope of the preview frame per second is 10~25fps, if the target frame rate scope obtained is 10~30fps, by described in The frame per second scope of preview frame per second is promoted to 10~30fps, if the target frame rate scope obtained is 5~20fps, by the preview frame The frame per second scope of rate is reduced to 5~20fps, if the target frame rate scope obtained is 10~25fps, without adjusting.
In one embodiment, it is described according to the power consuming features and the heat-producing characteristics, obtain the electronic equipment The step of power consumption febrile state, includes:
If detecting, electronic equipment meets the following conditions simultaneously, judges that the power consumption febrile state of the electronic equipment is in the One state:
Detect that the electronic equipment is in charged state;
Judge that the powder consumption of electronic equipment is less than or equal to power consumption predetermined threshold value;
Judge that the electronic equipment temperature is less than or equal to temperature predetermined threshold value;
Otherwise, judge that the power consumption febrile state of the electronic equipment is in the second state.
In one embodiment, it is described according to the power consuming features and the heat-producing characteristics, obtain the electronic equipment The step of power consumption febrile state, includes:
If detecting, electronic equipment meets the following conditions simultaneously, judges that the power consumption febrile state of the electronic equipment is in the One state:
It detects that the electronic equipment is in uncharged state, and judges that the electricity of the electronic equipment is more than or equal to Electricity predetermined threshold value;
Judge that the powder consumption of electronic equipment is less than or equal to power consumption predetermined threshold value;
Judge that the electronic equipment temperature is less than or equal to temperature predetermined threshold value;
Otherwise, judge that the power consumption febrile state of the electronic equipment is in the second state.
Specifically, referring to Fig. 9, Fig. 9 is the step of the power consumption febrile state of electronic equipment is obtained in another embodiment Flow chart, including:
Step 901, electronic equipment starts preview frame per second dynamic adjustment modes, starts to detect the power consumption fever shape of electronic equipment State;
Step 902, electronic equipment detect whether to be in charged state, if electronic equipment is detected in charged state, into Enter step 904, otherwise enter step 903;
If step 903, electronic equipment are not in charged state, electronic equipment judges whether the battery capacity of electronic equipment is big In either could be provided as 50% or 60% etc. of battery capacity equal to electricity predetermined threshold value such as electricity predetermined threshold value, if Electronic equipment judges that the battery capacity of electronic equipment is more than or equal to electricity predetermined threshold value, shows that battery capacity is more sufficient, It disclosure satisfy that the demand for promoting power consumption, otherwise enter step 907;
Step 904, electronic equipment judge whether powder consumption of electronic equipment is less than or equal to power consumption predetermined threshold value, the power consumption Predetermined threshold value can be 600 milliwatts or 500 milliwatts etc., if electronic equipment judges that powder consumption of electronic equipment is less than or equal to work( Predetermined threshold value is consumed, 905 is entered step, otherwise enters step 907;
Step 905, electronic equipment judge whether electronic equipment temperature is less than or equal to temperature predetermined threshold value, the temperature Predetermined threshold value can be 55 degrees Celsius or 60 degrees Celsius, if electronic equipment judges that electronic equipment temperature is less than or equal to temperature Predetermined threshold value.906 are entered step, otherwise enters step 907;
Step 906, electronic equipment judge that power consumption febrile state is in first state;
Step 907, electronic equipment judge that power consumption febrile state is in the second state.
It should be noted that, although each step in the flow chart of Fig. 9 is shown successively according to the instruction of arrow, but this A little steps are not that the inevitable order according to arrow instruction performs successively.Due to the electricity of electronic equipment, powder consumption of electronic equipment and These three conditions of electronic equipment temperature are coordinations, these steps can perform in other order, for example electronic equipment is same The detection of three conditions described in Shi Zhihang.Moreover, at least a portion step in Fig. 7 can include multiple sub-steps or multiple Stage, these sub-steps or stage are not necessarily to perform completion in synchronization, but can be performed at different times, The execution sequence in these sub-steps either stage be also not necessarily carry out successively but can be with other steps or other steps At least a portion in sub-step either stage perform in turn or alternately.
In one embodiment, it is described according to the power consumption febrile state, adjust the electronic equipment according to preset rules Image display preview frame per second frame per second scope the step of include:
If judging, the power consumption febrile state of the electronic equipment is in the first state, promotes the frame of the preview frame per second Rate scope is to first object frame per second scope;
If judging, the power consumption febrile state of the electronic equipment is in second state, reduces the frame of the preview frame per second Rate scope is to the second target frame rate scope.
Specifically, electronic equipment judges that the power consumption febrile state of electronic equipment is in the first state or described second After state, according to preset rules, the frame per second scope of preview frame per second of the electronic equipment is adjusted to target zone, if for example, electricity Sub- equipment judges that the power consumption febrile state of electronic equipment is in the first state, promotes the frame per second scope of the preview frame per second extremely First object frame per second scope, first object frame per second scope include 10~30fps, to promote the smoothness that video component shows image Degree, Caton phenomenon can occurs to avoid the picture of video calling, photography or the picture of camera shooting, please refer to Fig.1 0 (a) and Figure 10 (b), there is the schematic diagram of interim card for picture in one embodiment in Figure 10 (a), and Figure 10 (b) dynamics promote the frame per second model of preview frame per second Enclose the schematic diagram of picture in rear Figure 10 (a);If electronic equipment judges that the power consumption febrile state of electronic equipment is in the second state, drop The frame per second scope of the low preview frame per second to the second target frame rate scope, the second target frame rate scope includes 5~20fps, To reduce the power consumption that video component shows image, electronic equipment is made to keep good working order, and then realizes that dynamic adjusts electricity The frame per second scope of the preview frame per second of sub- equipment shows in electronic equipment and is obtained between the fluency of image and the power consumption of electronic equipment Balance optimizes the working condition of electronic equipment, improves video calling, photography or the efficiency of camera shooting.
In one embodiment, it is described according to the power consumption febrile state, adjust the electronic equipment according to preset rules Image display preview frame per second frame per second scope the step of include:
If judging, the power consumption febrile state of the electronic equipment is in the first state, is promoted according to the first predetermined amplitude The frame per second scope of the preview frame per second;
If judging, the power consumption febrile state of the electronic equipment is in second state, is reduced according to the second predetermined amplitude The frame per second scope of the preview frame per second.
Specifically, the first predetermined amplitude and the second predetermined amplitude are respectively default frame rate value, for example, the first predetermined amplitude For 3fps, 5fps or 8fps etc..
After electronic equipment judges that the power consumption febrile state of electronic equipment is in the first state or second state, According to preset rules, the frame per second scope of preview frame per second of the video component is adjusted to target zone, if for example, electronic equipment is sentenced The power consumption febrile state of disconnected electronic equipment is in the first state, and the frame of the preview frame per second is promoted according to the first predetermined amplitude Rate scope, first predetermined amplitude are more than zero, and first predetermined amplitude can be 3fps, 5fps or 8fps etc., for example, If the preview frame per second is currently 5~20fps, by taking first predetermined amplitude is 5fps as an example, after promotion, the preview frame per second For 10~25fps etc., so as to improve the fluency that video component shows image, in the fluency of the electronic equipment image display And electronic equipment power consumption, fever between obtain balance.
If electronic equipment judges that the power consumption febrile state of electronic equipment is in second state, according to the second predetermined amplitude Reduce the frame per second scope of the preview frame per second, second predetermined amplitude is more than zero, second predetermined amplitude can be 3fps, 5fps or 8fps etc., if for example, the preview frame per second is as 3fps using second predetermined amplitude currently for 10~30fps Example, after reduction, the preview frame per second is 7~27fps etc., so as to reduce the power consumption of the electronic equipment, in the electronic equipment Balance is obtained between the fluency of image display and the power consumption of electronic equipment.
It should be noted that first predetermined amplitude and second predetermined amplitude, may be the same or different, For example, first predetermined amplitude and second predetermined amplitude are 5fps, alternatively, first predetermined amplitude and described Two predetermined amplitudes are 8fps, alternatively, first predetermined amplitude is 5fps, second predetermined amplitude is 8fps.Described The specific data of one predetermined amplitude and second predetermined amplitude are to explain the embodiment of the present application, are not used to limit this Shen Please embodiment, first predetermined amplitude and second predetermined amplitude can set other different numbers according to actual needs According to.
It is the adjusting method of electronic equipment image display preview frame per second in a specific embodiment to please refer to Fig.1 1, Figure 11 Flow chart, the described method includes:
After step 1101, electronic equipment start, start to detect;
Step 1102, electronic equipment detect whether to receive the video component that the application program in white list is sent and open Dynamic message if receiving the message that the video component starts, enters step 803, otherwise continues to detect whether to receive The message that the video component that application program in white list is sent starts, wherein, the application program in the white list It is arranged to the application program using dynamic regulation preview frame per second pattern;
Step 1103, electronic equipment obtain the power consuming features and heat-producing characteristics of electronic equipment, and the power consuming features include electricity Electricity, powder consumption of electronic equipment and electronic equipment charged state of sub- equipment etc., the heat-producing characteristics include cpu temperature, GPU temperature With mainboard temperature etc., 1104 are entered step;
Step 1104 obtains the corresponding power consumption rank of the power consuming features according to the power consuming features, according to the temperature Feature obtains the corresponding temperature level of the heat-producing characteristics, the power consumption rank and the temperature level, for example, being disposed as the One grade, the second grade and the tertiary gradient, enter step 1105;
Step 1105, according to the power consumption rank and the temperature level, obtain the power consumption fever shape of the electronic equipment State, the power consumption febrile state, for example be first state, the third state and second state etc., enter step 1106;
Step 1106, according to the power consumption febrile state, obtain the corresponding target frame rate scope of the power consumption febrile state, The target frame rate scope is such as 5~20fps, 10~25ps and 10~30fps etc., enters step 1107;
Step 1107 adjusts the frame per second scope of the preview frame per second to the target frame rate scope.
It should be understood that although each step in the flow chart of Figure 11 is shown successively according to the instruction of arrow, These steps are not that the inevitable order according to arrow instruction performs successively.Unless it expressly states otherwise herein, these steps Execution there is no stringent orders to limit, these steps can perform in other order.Moreover, at least one in Figure 11 Can including multiple sub-steps step by step, either these sub-steps of multiple stages or stage are held in synchronization Row is completed, but can be performed at different times, the execution sequence in these sub-steps or stage be also not necessarily successively into Row, but can either the sub-step of other steps or at least a portion in stage are held in turn or alternately with other steps Row.
The adjusting method of above-mentioned electronic equipment image display preview frame per second, by the power consuming features and hair that obtain electronic equipment Thermal characteristics according to the power consuming features and heat-producing characteristics, obtain electronic equipment power consumption febrile state, are sent out according to electronic equipment power consumption Warm status, electronic equipment can adjust video calling according to preset rules dynamic, photograph or take the photograph according to the actual conditions of power consumption The frame per second scope of preview frame per second as during controls video so as to fulfill using power consumption features, heat-producing characteristics as input parameter The frame per second scope of preview frame per second in the electronic equipments image display processes such as call, in the power consumption of electronic equipment, fever and image Preferably weighed between the fluency of display, optimize the working condition of electronic equipment, improved video calling, photograph or take the photograph The efficiency of picture.
The embodiment of the present application also provides the regulating device of a kind of electronic equipment image display preview frame per second.Please refer to Fig.1 2, Figure 12 is the structure diagram of the regulating device of electronic equipment image display preview frame per second in one embodiment.As shown in figure 12, institute Stating device includes:
First acquisition module 1202, for obtaining the power consuming features of electronic equipment and heat-producing characteristics;
Specifically, referring to Fig. 4, power consumption local finger daemon obtains what power supply provided by Virtual File System sysfs The power consumption information of electronic equipment according to the power consumption information, obtains the power consuming features of electronic equipment, and temperature control local finger daemon leads to The temperature information that Virtual File System sysfs obtains the electronic equipment that temperature control core provides is crossed, according to the temperature information, is obtained The heat-producing characteristics of the electronic equipment.Wherein, the storehouse that the power consumption information for the electronic equipment that power supply provides can be carried by system Logical sequence meter realizes that the temperature information for the electronic equipment that temperature control core provides is obtained by the corresponding temperature sensor in each warm region It takes.
Second acquisition module 1204, for according to the power consuming features and the heat-producing characteristics, obtaining the electronic equipment Power consumption febrile state;
Specifically, please continue to refer to Fig. 4, power consumption monitoring service obtains the power consuming features from power consumption local finger daemon, Power consumption monitoring service is obtained from battery status service acquisition battery drain daily record, power consumption monitoring service from temperature control local finger daemon The heat-producing characteristics, power consumption monitoring service are special according to the power consuming features of acquisition, the battery drain daily record and the fever Sign obtains the power consumption febrile state of the electronic equipment,
Adjustment module 1206, for according to the power consumption febrile state, the electronic equipment to be adjusted according to preset rules The frame per second scope of image display preview frame per second.
Specifically, please continue to refer to Fig. 4, power consumption monitoring is serviced according to acquisition, the power consumption febrile state of the electronic equipment, Target frame rate scope is obtained according to preset rules, and target frame rate scope is exported to camera service, camera service is monitored from power consumption The regulating command received in (Powermonitor services) module to image display preview frame per second is serviced, according to the tune Preview frame per second is adjusted in section instruction, then camera service is set the demand of described instruction by corresponding software interface, The video component of electronic equipment will be worked with the preview frame per second set.
In one embodiment, the acquisition module 1202 includes:
First acquisition unit, for according to the power consuming features, obtaining the corresponding power consumption rank of the power consuming features;
Second acquisition unit, for according to the heat-producing characteristics, obtaining the corresponding temperature level of the heat-producing characteristics;
3rd acquiring unit, for according to the power consumption rank and the temperature level, obtaining the consumption of the electronic equipment Electric febrile state.
In one embodiment, the adjustment module 1206 includes:
4th acquiring unit, for according to the power consumption febrile state, obtaining the corresponding target of the power consumption febrile state Frame per second scope;
Adjustment unit, for adjusting the frame per second scope of the preview frame per second to the target frame rate scope.
In one embodiment, second acquisition module 1204 includes:
If first state judging unit for detecting that the electronic equipment meets the following conditions simultaneously, judges the electricity The power consumption febrile state of sub- equipment is in first state:
For detecting that the electronic equipment is in charged state;
For judging that the powder consumption of electronic equipment is less than or equal to power consumption predetermined threshold value;
For judging that the electronic equipment temperature is less than or equal to temperature predetermined threshold value;
Second condition adjudgement unit, if for judging, not as the first state, to judge that the power consumption of the electronic equipment is sent out Warm status is in the second state.
In one embodiment, second acquisition module 1204 includes:
If first state judging unit for detecting that the electronic equipment meets the following conditions simultaneously, judges the electricity The power consumption febrile state of sub- equipment is in first state:
For detecting that the electronic equipment is in uncharged state, and judge the electronic equipment electricity be more than or Equal to electricity predetermined threshold value;
For judging that the powder consumption of electronic equipment is less than or equal to power consumption predetermined threshold value;
For judging that the electronic equipment temperature is less than or equal to temperature predetermined threshold value;
Second condition adjudgement unit, if for judging, not as the first state, to judge that the power consumption of the electronic equipment is sent out Warm status is in the second state.
In one embodiment, the adjustment module 1206 includes:
If first lift unit for judging that the power consumption febrile state of the electronic equipment is in the first state, carries The frame per second scope of the preview frame per second is risen to first object frame per second scope;
First reduces unit, if for judging that the power consumption febrile state of the electronic equipment is in second state, drops The frame per second scope of the low preview frame per second is to the second target frame rate scope.
In one embodiment, the adjustment module 1206 includes:
If second lift unit for judging that the power consumption febrile state of the electronic equipment is in the first state, is pressed The frame per second scope of the preview frame per second is promoted according to the first predetermined amplitude;
Second reduces unit, if for judging that the power consumption febrile state of the electronic equipment is in second state, presses The frame per second scope of the preview frame per second is reduced according to the second predetermined amplitude.
The regulating device of above-mentioned electronic equipment image display preview frame per second, for passing through the power consuming features for obtaining electronic equipment And heat-producing characteristics, according to the power consuming features and heat-producing characteristics, electronic equipment power consumption febrile state is obtained, according to electronic equipment Power consumption febrile state, electronic equipment can according to the actual conditions of consumption heating, according to preset rules dynamic adjustment video calling, The frame per second scope of the preview frame per second of image display during photography or camera shooting etc., in the power consumption of electronic equipment, fever and figure Preferably weighed between fluency as shown in, optimize the working condition of electronic equipment, improve video calling, photography or The efficiency of camera shooting.
In the regulating device of above-mentioned electronic equipment image display preview frame per second the division of modules be only used for for example, In other embodiments, the regulating device of electronic equipment image display preview frame per second can be divided into different moulds as required Block, to complete all or part of function of the adjusting of above-mentioned electronic equipment image display preview frame per second.
Modules in the regulating device of the electronic equipment image display preview frame per second provided in the embodiment of the present application Realize to be the form of computer program.The computer program can be run on an electronic device.The journey that the computer program is formed Sequence module is storable on the memory of electronic equipment.When the computer program is executed by processor, the embodiment of the present application is realized Described in method the step of.
The embodiment of the present application additionally provides a kind of computer readable storage medium.One or more includes computer program Non-volatile computer readable storage medium storing program for executing, when the computer program is executed by one or more processors so that described Processor performs following steps:
A kind of computer program product for including instruction, when run on a computer so that more than computer performs The step of adjusting method of electronic equipment image display preview frame per second described in each embodiment.
The embodiment of the present application additionally provides a kind of electronic equipment.As shown in figure 13, for convenience of description, illustrate only and this Apply for the relevant part of embodiment, particular technique details does not disclose, refer to the embodiment of the present application method part.The electronics is set Standby can be to include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS The arbitrary terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, Wearable, using electronic equipment as mobile phone Exemplified by:
Figure 13 is the block diagram with the part-structure of the relevant mobile phone of electronic equipment provided by the embodiments of the present application.Reference chart 13, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1310, memory 1320, input unit 1330, display unit 1340th, sensor 1350, voicefrequency circuit 1360, Wireless Fidelity (wireless fidelity, WiFi) module 1370, processor The components such as 1380 and power supply 1390.It will be understood by those skilled in the art that the handset structure shown in Figure 13 does not form opponent The restriction of machine can include either combining some components or different components arrangement than illustrating more or fewer components.
Wherein, RF circuits 1310 can be used for receive and send messages or communication process in, signal sends and receivees, can be by base station After downlink information receives, handled to processor 1380;It can also be by the data sending of uplink to base station.In general, RF circuits include But be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 1310 can also be communicated by wireless communication with network and other equipment.It is above-mentioned wireless Communication can use any communication standard or agreement, include but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (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) etc..
Memory 1320 can be used for storage software program and module, and processor 1380 is stored in memory by operation 1320 software program and module, so as to perform the various function application of mobile phone and data processing.Memory 1320 can be led To include program storage area and data storage area, wherein, program storage area can storage program area, needed at least one function Application program (such as the application program of sound-playing function, application program of image player function etc.) etc.;It data storage area can Storage uses created data (such as voice data, address list etc.) etc. according to mobile phone.In addition, memory 1320 can be with Including high-speed random access memory, nonvolatile memory, for example, at least disk memory, a flash memory can also be included Device or other volatile solid-state parts.
Input unit 1330 can be used for the number for receiving input or character information and generation and the user of mobile phone 1300 Set and function control it is related key signals input.Specifically, input unit 1330 may include touch panel 1331 and its His input equipment 1332.Touch panel 1331, alternatively referred to as touch-screen, collect user on it or neighbouring touch operation (for example user uses any suitable objects such as finger, stylus or attachment on touch panel 1331 or in touch panel 1331 Neighbouring operation), and corresponding attachment device is driven according to preset formula.In one embodiment, touch panel 1331 may include both touch detecting apparatus and touch controller.Wherein, the touch side of touch detecting apparatus detection user Position, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch detecting apparatus Touch information is received, and is converted into contact coordinate, then gives processor 1380, and the life that processor 1380 is sent can be received It makes and is performed.Furthermore, it is possible to realize touch-control using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Panel 1331.Except touch panel 1331, input unit 1330 can also include other input equipments 1332.Specifically, other Input equipment 1332 can include but is not limited in physical keyboard, function key (such as volume control button, switch key etc.) etc. One or more.
Display unit 1340 is each available for the information and mobile phone for showing by information input by user or being supplied to user Kind menu.Display unit 1340 may include display panel 1341.In one embodiment, liquid crystal display may be employed (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, ) etc. OLED forms configure display panel 1341.In one embodiment, touch panel 1331 can cover display panel 1341, When touch panel 1331 is detected on it or after neighbouring touch operation, processor 1380 is sent to determine touch event Type is followed by subsequent processing device 1380 and corresponding visual output is provided on display panel 1341 according to the type of touch event.Although In fig. 13, touch panel 1331 and display panel 1341 are the components independent as two to realize the input of mobile phone and input Function, but in some embodiments it is possible to touch panel 1331 and display panel 1341 are integrated and realize the input of mobile phone And output function.
Mobile phone 1300 may also include at least one sensor 1350, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 1341, and proximity sensor can close display when mobile phone is moved in one's ear Panel 1341 and/or backlight.Motion sensor may include acceleration transducer, and all directions are can detect by acceleration transducer The size of upper acceleration can detect that size and the direction of gravity when static, the application available for identification mobile phone posture is (such as horizontal Vertical screen switches), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, Other sensors such as hygrometer, thermometer, infrared ray sensor etc..
Voicefrequency circuit 1360, loud speaker 1361 and microphone 1362 can provide the audio interface between user and mobile phone.Sound The transformed electric signal of the voice data received can be transferred to loud speaker 1361 by frequency circuit 1360, by 1361 turns of loud speaker It is changed to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1362, by voicefrequency circuit 1360 receive after be converted to voice data, then after voice data output processor 1380 is handled, can be sent out through RF circuits 1310 It gives another mobile phone or exports voice data to memory 1320 so as to subsequent processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1370 Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Figure 13 is shown WiFi module 1370, but it is understood that, and must be configured into for mobile phone 1300 is not belonging to, it can save as needed Slightly.
Processor 1380 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, Memory 1320 is stored in by running or performing the software program being stored in memory 1320 and/or module and call Interior data perform the various functions of mobile phone and processing data, so as to carry out integral monitoring to mobile phone.In one embodiment, Processor 1380 may include one or more processing units.In one embodiment, processor 1380 can integrate application processor And modem processor, wherein, the main processing operation system of application processor, user interface and application program etc.;Modulatedemodulate Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor In 1380.
Mobile phone 1300 is further included to the power supply 1390 (such as battery) of all parts power supply, it is preferred that power supply can pass through Power-supply management system and processor 1380 are logically contiguous, so as to realize management charging, electric discharge, Yi Jigong by power-supply management system The functions such as consumption management.
In one embodiment, mobile phone 1300 can also include camera, bluetooth module etc..
In the embodiment of the present application, the processor 1380 included by the electronic equipment performs the calculating of storage on a memory The step of adjusting method of the electronic equipment image display preview frame per second described in above each example is realized during machine program.
The embodiment of the present application additionally provides a kind of computer program product.A kind of computer program product for including instruction, When run on a computer so that computer performs the electronic equipment image display preview described in the various embodiments described above The step of adjusting method of frame per second.
Used in this application may include to any reference of memory, storage, database or other media is non-volatile And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled Journey ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
Embodiment described above only expresses the several embodiments of the application, and description is more specific and detailed, but simultaneously Cannot the limitation to the application the scope of the claims therefore be interpreted as.It should be pointed out that for those of ordinary skill in the art For, on the premise of the application design is not departed from, various modifications and improvements can be made, these belong to the guarantor of the application Protect scope.Therefore, the protection domain of the application patent should be determined by the appended claims.

Claims (10)

1. the adjusting method of a kind of electronic equipment image display preview frame per second, the described method includes:
Obtain the power consuming features and heat-producing characteristics of electronic equipment;
According to the power consuming features and the heat-producing characteristics, the power consumption febrile state of the electronic equipment is obtained;
According to the power consumption febrile state, according to the frame per second of the image display preview frame per second of the preset rules adjusting electronic equipment Scope.
2. according to the method described in claim 1, it is characterized in that, described according to the power consuming features and the heat-producing characteristics, The step of power consumption febrile state for obtaining the electronic equipment, includes:
According to the power consuming features, the corresponding power consumption rank of the power consuming features is obtained;
According to the heat-producing characteristics, the corresponding temperature level of the heat-producing characteristics is obtained;
According to the power consumption rank and the temperature level, the power consumption febrile state of the electronic equipment is obtained.
3. according to claim 1 or claim 2, which is characterized in that it is described according to the power consumption febrile state, according to pre- If the step of frame per second scope of the image display preview frame per second of electronic equipment described in rule adjustment, includes:
According to the power consumption febrile state, the corresponding target frame rate scope of the power consumption febrile state is obtained;
The frame per second scope of the preview frame per second is adjusted to the target frame rate scope.
4. according to the method described in claim 1, it is characterized in that, described according to the power consuming features and the heat-producing characteristics, The step of power consumption febrile state for obtaining the electronic equipment, includes:
If detecting, the electronic equipment meets the following conditions simultaneously, judges that the power consumption febrile state of the electronic equipment is in the One state:
Detect that the electronic equipment is in charged state;
Judge that the powder consumption of electronic equipment is less than or equal to power consumption predetermined threshold value;
Judge that the electronic equipment temperature is less than or equal to temperature predetermined threshold value;
Otherwise, judge that the power consumption febrile state of the electronic equipment is in the second state.
5. according to the method described in claim 1, it is characterized in that, described according to the power consuming features and the heat-producing characteristics, The step of power consumption febrile state for obtaining the electronic equipment, includes:
If detecting, the electronic equipment meets the following conditions simultaneously, judges that the power consumption febrile state of the electronic equipment is in the One state:
It detects that the electronic equipment is in uncharged state, and judges that the electricity of the electronic equipment is more than or equal to electricity Predetermined threshold value;
Judge that the powder consumption of electronic equipment is less than or equal to power consumption predetermined threshold value;
Judge that the electronic equipment temperature is less than or equal to temperature predetermined threshold value;
Otherwise, judge that the power consumption febrile state of the electronic equipment is in the second state.
6. according to the method described in claim 4 or 5, which is characterized in that it is described according to the power consumption febrile state, according to pre- If the step of frame per second scope of the image display preview frame per second of electronic equipment described in rule adjustment, includes:
If judging, the power consumption febrile state of the electronic equipment is in the first state, promotes the frame per second model of the preview frame per second It encloses to first object frame per second scope;
If judging, the power consumption febrile state of the electronic equipment is in second state, reduces the frame per second model of the preview frame per second It encloses to the second target frame rate scope.
7. according to the method described in claim 4 or 5, which is characterized in that it is described according to the power consumption febrile state, according to pre- If the step of frame per second scope of the image display preview frame per second of electronic equipment described in rule adjustment, includes:
If judging, the power consumption febrile state of the electronic equipment is in the first state, according to described in the promotion of the first predetermined amplitude The frame per second scope of preview frame per second;
If judging, the power consumption febrile state of the electronic equipment is in second state, according to described in the reduction of the second predetermined amplitude The frame per second scope of preview frame per second.
8. the regulating device of a kind of electronic equipment image display preview frame per second, which is characterized in that described device includes:
First acquisition module, for obtaining the power consuming features of electronic equipment and heat-producing characteristics;
Second acquisition module, for according to the power consuming features and the heat-producing characteristics, the power consumption for obtaining the electronic equipment to be sent out Warm status;
Adjustment module, for according to the power consumption febrile state, the image display of the electronic equipment to be adjusted according to preset rules The frame per second scope of preview frame per second.
9. a kind of electronic equipment including memory and processor, stores computer program, the computer in the memory When program is performed by the processor so that the processor performs the preview frame per second as any one of claim 1 to 7 The step of method of adjusting.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method as any one of claim 1 to 7 is realized when being executed by processor.
CN201711378701.9A 2017-12-19 2017-12-19 Method and device for adjusting image display preview frame rate of electronic equipment and electronic equipment Active CN108121524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711378701.9A CN108121524B (en) 2017-12-19 2017-12-19 Method and device for adjusting image display preview frame rate of electronic equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711378701.9A CN108121524B (en) 2017-12-19 2017-12-19 Method and device for adjusting image display preview frame rate of electronic equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN108121524A true CN108121524A (en) 2018-06-05
CN108121524B CN108121524B (en) 2021-05-11

Family

ID=62229548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711378701.9A Active CN108121524B (en) 2017-12-19 2017-12-19 Method and device for adjusting image display preview frame rate of electronic equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN108121524B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958450A (en) * 2018-06-11 2018-12-07 江苏食品药品职业技术学院 Intelligence adjusts the computer of running frequency and power consumption
CN110658904A (en) * 2019-09-19 2020-01-07 Oppo广东移动通信有限公司 Method and device for controlling terminal current, terminal and storage medium
CN110874128A (en) * 2018-08-31 2020-03-10 上海瑾盛通信科技有限公司 Visualized data processing method and electronic equipment
CN113301255A (en) * 2021-05-21 2021-08-24 上海富瀚微电子股份有限公司 Power consumption adjusting method and device and storage medium
CN113434300A (en) * 2019-11-06 2021-09-24 腾讯科技(深圳)有限公司 Data processing method and related device
CN114222084A (en) * 2021-12-01 2022-03-22 联想(北京)有限公司 Control method and device and electronic equipment
CN114578941A (en) * 2020-12-01 2022-06-03 Oppo广东移动通信有限公司 Display method, display device, electronic equipment and storage medium
CN115150508A (en) * 2022-05-19 2022-10-04 东莞市步步高教育软件有限公司 Video call processing method, device, equipment and storage medium
CN115526787A (en) * 2022-02-28 2022-12-27 荣耀终端有限公司 Video processing method and device
CN116048217A (en) * 2022-08-29 2023-05-02 荣耀终端有限公司 Electronic equipment operation method and device and electronic equipment
CN117707242A (en) * 2023-07-11 2024-03-15 荣耀终端有限公司 Temperature control method and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953037A (en) * 2005-10-21 2007-04-25 日本先锋公司 Display apparatus, display method, display system, server, and recording medium having program recorded thereon
CN103037099A (en) * 2012-12-20 2013-04-10 广东欧珀移动通信有限公司 Mobile phone photographing preview method and device
CN105259996A (en) * 2015-09-23 2016-01-20 努比亚技术有限公司 Temperature regulation device and method of mobile terminal
CN105975046A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Photographing preview method and device
CN106612458A (en) * 2015-10-27 2017-05-03 联发科技股份有限公司 Frame rate control method and image processing apparatus selectively limiting frame rate
US20170352322A1 (en) * 2016-06-03 2017-12-07 Apple Inc. Controlling Display Performance

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953037A (en) * 2005-10-21 2007-04-25 日本先锋公司 Display apparatus, display method, display system, server, and recording medium having program recorded thereon
CN103037099A (en) * 2012-12-20 2013-04-10 广东欧珀移动通信有限公司 Mobile phone photographing preview method and device
CN105259996A (en) * 2015-09-23 2016-01-20 努比亚技术有限公司 Temperature regulation device and method of mobile terminal
CN106612458A (en) * 2015-10-27 2017-05-03 联发科技股份有限公司 Frame rate control method and image processing apparatus selectively limiting frame rate
CN105975046A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Photographing preview method and device
US20170352322A1 (en) * 2016-06-03 2017-12-07 Apple Inc. Controlling Display Performance

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958450A (en) * 2018-06-11 2018-12-07 江苏食品药品职业技术学院 Intelligence adjusts the computer of running frequency and power consumption
CN110874128A (en) * 2018-08-31 2020-03-10 上海瑾盛通信科技有限公司 Visualized data processing method and electronic equipment
CN110874128B (en) * 2018-08-31 2021-03-30 上海瑾盛通信科技有限公司 Visualized data processing method and electronic equipment
CN110658904A (en) * 2019-09-19 2020-01-07 Oppo广东移动通信有限公司 Method and device for controlling terminal current, terminal and storage medium
CN113434300B (en) * 2019-11-06 2023-01-24 腾讯科技(深圳)有限公司 Data processing method and related device
CN113434300A (en) * 2019-11-06 2021-09-24 腾讯科技(深圳)有限公司 Data processing method and related device
CN114578941A (en) * 2020-12-01 2022-06-03 Oppo广东移动通信有限公司 Display method, display device, electronic equipment and storage medium
CN113301255B (en) * 2021-05-21 2022-12-02 上海富瀚微电子股份有限公司 Power consumption adjusting method and device and storage medium
CN113301255A (en) * 2021-05-21 2021-08-24 上海富瀚微电子股份有限公司 Power consumption adjusting method and device and storage medium
CN114222084A (en) * 2021-12-01 2022-03-22 联想(北京)有限公司 Control method and device and electronic equipment
CN114222084B (en) * 2021-12-01 2023-05-23 联想(北京)有限公司 Control method and device and electronic equipment
WO2023160285A1 (en) * 2022-02-28 2023-08-31 荣耀终端有限公司 Video processing method and apparatus
CN115526787A (en) * 2022-02-28 2022-12-27 荣耀终端有限公司 Video processing method and device
CN115526787B (en) * 2022-02-28 2023-10-20 荣耀终端有限公司 Video processing method and device
CN115150508A (en) * 2022-05-19 2022-10-04 东莞市步步高教育软件有限公司 Video call processing method, device, equipment and storage medium
CN115150508B (en) * 2022-05-19 2023-10-24 东莞市步步高教育软件有限公司 Video call processing method, device, equipment and storage medium
CN116048217B (en) * 2022-08-29 2023-09-26 荣耀终端有限公司 Electronic equipment operation method and device and electronic equipment
CN116048217A (en) * 2022-08-29 2023-05-02 荣耀终端有限公司 Electronic equipment operation method and device and electronic equipment
CN117707242A (en) * 2023-07-11 2024-03-15 荣耀终端有限公司 Temperature control method and related device

Also Published As

Publication number Publication date
CN108121524B (en) 2021-05-11

Similar Documents

Publication Publication Date Title
CN108121524A (en) The adjusting method and device, electronic equipment of electronic equipment image display preview frame per second
CN106572302B (en) A kind of image information processing method and equipment
US10002592B2 (en) Displaying method of electronic device using a cover and electronic device thereof
US10069327B2 (en) Electronic device and method for charging battery based on a plurality of power sources
US20150198676A1 (en) Method for controlling and an electronic device thereof
KR102151135B1 (en) Method for managing power and electronic device thereof
CN110874128B (en) Visualized data processing method and electronic equipment
JP2020537441A (en) Photography method and electronic equipment
WO2021155709A1 (en) Charging control method and electronic device
CN109149715A (en) A kind of heat dissipation of terminal method, terminal and computer readable storage medium
CN109343681A (en) Heat dissipation of terminal method, terminal and computer readable storage medium
CN106572246A (en) Camera opening device, terminal and camera opening method
CN107015611B (en) Context assisted thermal management mechanism in portable devices
KR20150086150A (en) User interface controlling method and apparatus
CN110708747A (en) Data transmission rate adjusting method, system, storage medium and mobile terminal
CN105874505A (en) Image processing method and electronic device implementing the same
CN108366171A (en) A kind of temperature rise control method and mobile terminal
CN112068689A (en) Brightness adjusting method, terminal and computer storage medium
CN107613284B (en) A kind of image processing method, terminal and computer readable storage medium
CN109491482A (en) Mobile terminal and its heat dissipating method, computer readable storage medium
CN109460338A (en) A kind of application resource control method, terminal and computer readable storage medium
US20240233083A1 (en) Image fusion method and apparatus, storage medium and mobile terminal
CN111968595B (en) Electrochromic control device and mobile terminal
CN108124098A (en) Electronic equipment and the method for focusing on automatically
CN114726013A (en) Method and device for acquiring bright screen charging current, electronic 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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant