CN108211352A - A kind of method and terminal for adjusting image quality - Google Patents

A kind of method and terminal for adjusting image quality Download PDF

Info

Publication number
CN108211352A
CN108211352A CN201711472712.3A CN201711472712A CN108211352A CN 108211352 A CN108211352 A CN 108211352A CN 201711472712 A CN201711472712 A CN 201711472712A CN 108211352 A CN108211352 A CN 108211352A
Authority
CN
China
Prior art keywords
quality level
quality
current
less
recommendation
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
CN201711472712.3A
Other languages
Chinese (zh)
Other versions
CN108211352B (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.)
Shenzhen Dream World Polytron Technologies Inc
Original Assignee
Shenzhen Dream World Polytron Technologies Inc
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 Shenzhen Dream World Polytron Technologies Inc filed Critical Shenzhen Dream World Polytron Technologies Inc
Priority to CN201711472712.3A priority Critical patent/CN108211352B/en
Publication of CN108211352A publication Critical patent/CN108211352A/en
Application granted granted Critical
Publication of CN108211352B publication Critical patent/CN108211352B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • A63F13/355Performing operations on behalf of clients with restricted processing capabilities, e.g. servers transform changing game scene into an encoded video stream for transmitting to a mobile phone or a thin client
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • A63F2300/538Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing for performing operations on behalf of the game client, e.g. rendering
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/66Methods for processing data by generating or executing the game program for rendering three dimensional images

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a kind of method and terminal for adjusting image quality, wherein method includes:Image information is received, calculates the dynamic frame per second D in preset time, wherein, the dynamic frame per second D is the picture frame of average time tranfer per second in the preset time;According to the dynamic frame per second D, the quality level J for needing to adjust is calculated by quality level adjustment algorithm;Compare the quality level J that current quality level C and the needs adjust, quality level is adjusted according to comparison result, wherein, if image quality adjusting is carried out for the first time, then the current quality level C is recommends quality level T, and otherwise the current quality level C is the quality level that last image quality is adjusted.The embodiment of the present invention receives image information by terminal, calculates dynamic frame per second D, automatically adjusts image quality according to dynamic frame per second D, can make full use of equipment performance, avoid cumbersome operation, promotes user experience.

Description

A kind of method and terminal for adjusting image quality
Technical field
This application involves image/video processing technology field more particularly to a kind of methods and terminal for adjusting image quality.
Background technology
With the fast development of mobile communication technology, more and more users are using the mobile communication such as smart mobile phone whole End.These mobile communication terminals can not only carry out the communications such as common call, short message, and Games Software can also be performed, see See animation and film, video etc., the purposes of mobile communication terminal is expanded.
Existing mobile terminal platform games (such as:Mobile phone games) in, in the fixed feelings of device hardware condition Under condition, the operation fluency of game and the image quality of game are negatively correlated.Meanwhile the fluency of game can use FPS (Frames Per Second, transmission frame per second per second) is weighed.Transmission frame per second per second is higher, and picture is more smooth.Transmission frame per second Rate is lower, and picture gets over interim card, not smooth.User can only adjust the image quality in game by manually selecting.And in market On, the equipment performance of mobile terminal is all not quite similar, same game, same image quality, the trip in different mobile equipment Fluency of playing is also different.Therefore, in current scheme, in the equipment of poor-performing, user is just needed manually image quality tune Into low, the smooth operation of game just can guarantee in this way.No it will cause picture interim cards, and transmission frame per second per second is relatively low, influences to play Experience.When user has found picture interim card, user turns down image quality manually, image quality height is made into quality low, program meeting The automatic resource for replacing corresponding precision, including 3D models, game special, scene map etc..It is relatively low when being substituted for service precision It when model and textures, needs the equipment performance consumed that can reduce, therefore transmission rate per second can be improved, promote the smoothness of game Degree.
User needs oneself to go to adjust image quality manually, and operation is excessively cumbersome, and has certain knowledge threshold to user, sternly Ghost image rings user experience.
Invention content
The embodiment of the present invention provides a kind of method for adjusting image quality, and the image information that can be received according to terminal calculates dynamic State frame per second D calculates quality level J to be adjusted, then relatively more current picture by quality level adjustment algorithm according to dynamic frame per second D Matter grade C and quality level J adjust automatically quality levels to be adjusted, can make full use of equipment performance, avoid cumbersome behaviour Make, promote user experience.
In a first aspect, an embodiment of the present invention provides a kind of method for adjusting image quality, this method includes:
Image information is received, calculates the dynamic frame per second D in preset time, wherein, the dynamic frame per second D is described default The picture frame of average time tranfer per second in time;
According to the dynamic frame per second D, the quality level J for needing to adjust is calculated by quality level adjustment algorithm;
Compare the quality level J that current quality level C and the needs adjust, quality level adjusted according to comparison result, Wherein, if carrying out image quality adjusting for the first time, then the current quality level C is recommendation quality level T, otherwise the current picture Matter grade C is the quality level that last image quality is adjusted.
Wherein, it is further included before the reception image information:
Recommendation image quality of the corresponding current device etc. is calculated according to current device information and recommendation quality level algorithm Grade T, and the recommendation quality level T is set as current quality level C automatically.
Wherein, the current device information includes the hardware information of current device and unit type information;The basis is worked as Preceding facility information and the recommendation quality level T that quality level algorithm is recommended to calculate the corresponding current device include:
Obtain the quantity C of the central processor CPU of the current device, the monokaryon frequency M of the CPU and device memory N;
It is less than or equal to the first default memory value less than default value or N when M is less than or equal to the first predeterminated frequency or C, then The recommendation quality level T for calculating corresponding current device is the first quality level;
It then calculates correspondence less than or equal to the second default memory value less than or equal to the second predeterminated frequency or N as M and currently sets Standby recommendation quality level T is the second quality level;
Otherwise the recommendation quality level T for calculating corresponding current device is third quality level;
Wherein, first quality level is less than second quality level, and second quality level is drawn less than third Matter grade.
Either:
The unit type information of the current device is obtained, the unit type information has corresponding close with quality level System;
When the unit type is the first kind, then the recommendation quality level T for calculating corresponding current device is first Quality level;
When the unit type is Second Type, then the recommendation quality level T for calculating corresponding current device is second Quality level;
When the unit type is third type, then the recommendation quality level T for calculating corresponding current device is third Quality level;
Wherein, first quality level is less than second quality level, and second quality level is drawn less than third Matter grade.
Wherein, described calculated by quality level adjustment algorithm needs the quality level J adjusted to include:
In the case where dynamic frame per second D is less than the first preset value, if current quality level is third quality level or second Quality level is then adjusted to the first quality level, if current quality level is the first quality level, remains unchanged;
It is more than the first preset value and less than in the case of the second preset value in dynamic frame per second D, if current quality level is the Three quality levels or the first quality level, then be adjusted to the second quality level, if current quality level is the second quality level, It remains unchanged;
In the case where dynamic frame per second D is more than the second preset value, if current image quality is the second quality level or the first image quality Grade is then adjusted to third quality level, if current quality level is third quality level, remains unchanged;
Wherein, first quality level is less than second quality level, and second quality level is drawn less than third Matter grade.
Wherein, it is described to be included according to quality level adjustment algorithm adjustment quality level:
According to program dynamic change with the relevant adjusting parameter of the quality level, the adjusting parameter include it is following at least One:
With screen player model quantity, special display effect maximum radius, with leading role apart from refresh interval, global detail LOD numerical value, video camera far cut identity distance from, whether remove video camera mask layer, whether open glare special efficacy, whether show grass Whether ground shows trees, water-reflected, textures precision, player model precision.
It is described to be included according to comparison result adjustment quality level:
If for current quality level C higher than the quality level J for needing to adjust, it is described to adjust the current quality level C Quality level J;
If current quality level C calculates correspondence less than the quality level J for needing to adjust according to quality level algorithm is recommended The recommendation quality level T of the current device;Quality level T is recommended to be less than the quality level J for needing to adjust when described, it will The quality level J for needing to adjust is modified to recommends quality level T-phase etc. with described, when last time adjustment time is more than protection Between preset duration and described the quality level J that adjusts is needed to work as higher than in the case of the current quality level C, then adjustment is described Preceding quality level C is the quality level J.
Second aspect, an embodiment of the present invention provides a kind of terminal, which includes:
Receiving unit, for receiving image information;
Computing unit, for calculating the dynamic frame per second D in preset time, wherein, the dynamic frame per second D is described default The picture frame of average time tranfer per second, the computing unit are additionally operable to, according to the dynamic frame per second D, pass through image quality etc. in time Grade adjustment algorithm calculates the quality level J for needing to adjust;
Comparing unit, for comparing the quality level J that current quality level C and the needs adjust;
Adjustment unit, for adjusting quality level according to comparison result, wherein, if carrying out image quality adjusting for the first time, then The current quality level C is recommends quality level T, and otherwise the last image quality of the current quality level C adjusts to obtain Quality level;
Wherein, the computing unit is additionally operable to according to current device information and quality level algorithm is recommended to calculate corresponding institute State the recommendation quality level T of current device;
Setting unit, for the recommendation quality level T to be set as current quality level C;
Acquiring unit, for obtain the monokaryon frequency M of quantity C, CPU of the central processor CPU of the current device and Device memory N;
Identifying unit is less than 4 or N less than or equal to 900 less than or equal to predeterminated frequency or C for working as M, is then determined as first Quality level is less than or equal to 1800 when M is less than or equal to 1800 or N, is then determined as the second quality level, is otherwise determined as third Quality level, wherein, first quality level is less than second quality level, and second quality level is drawn less than third Matter grade;
Wherein, the acquiring unit is additionally operable to obtain the unit type information of the current device, the unit type letter Breath has correspondence with quality level;
Wherein, the identifying unit is additionally operable to when the unit type is the first kind, then be determined as first image quality etc. Grade, when the unit type is Second Type, is then determined as the second quality level, when the unit type is third type When, then it is determined as third quality level, wherein, first quality level is less than second quality level, and described second draws Matter grade is less than third quality level;
The adjustment unit is additionally operable in the case where dynamic frame per second D is less than the first preset value, if current quality level is Third quality level or the second quality level, then be adjusted to the first quality level, if current quality level is the first quality level, It then remains unchanged, in the case where dynamic frame per second D is more than the first preset value and is less than the second preset value, if current quality level is Third quality level or the first quality level, then be adjusted to the second quality level, if current quality level is the second quality level, It then remains unchanged, in the case where dynamic frame per second D is more than the second preset value, is drawn if current image quality is the second quality level or first Matter grade is then adjusted to third quality level, if current quality level is third quality level, remains unchanged, wherein, it is described First quality level is less than second quality level, and second quality level is less than third quality level;
Wherein, the adjustment unit is additionally operable to then adjust higher than the quality level J for needing to adjust in current quality level C The current quality level C is the quality level J, and the quality level J for needing to adjust is less than in current quality level C, according to Quality level algorithm is recommended to calculate the recommendation quality level T of the corresponding current device and is surpassed in the time adjusted apart from last time The quality level J that overprotection time preset duration and the needs adjust is adjusted higher than in the case of the current quality level C The current quality level C is the quality level J;
Amending unit, for working as the quality level J that the recommendation quality level T is less than the needs and adjusts, by the need The quality level J to be adjusted is modified to recommends quality level T-phase etc. with described.
The third aspect, an embodiment of the present invention provides another terminal, including processor, input equipment, output equipment and Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory should for storing With program code, the processor is configured for calling said program code, the method for performing above-mentioned first aspect.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer storage media Computer program is stored with, the computer program includes program instruction, and described program instruction makes institute when being executed by a processor State the method that processor performs any of the above-described aspect.
The embodiment of the present invention receives image information by terminal, calculates dynamic frame per second D, passes through image quality according to dynamic frame per second D Level adjustment algorithm calculates quality level J to be adjusted, then more current quality level C and quality level J to be adjusted is certainly Dynamic adjustment quality level, can make full use of equipment performance, avoid cumbersome operation, promote user experience.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, general for this field For logical technical staff, without creative efforts, other attached drawings are can also be obtained according to these attached drawings.
Fig. 1 is a kind of schematic flow diagram of method for adjusting image quality provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram for recommending quality level algorithm provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of quality level adjustment algorithm provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of a kind of quality level provided in an embodiment of the present invention and adjusting parameter correspondence;
Fig. 5 is a kind of schematic diagram for game picture quality regulation method that the prior art provides;
Fig. 6 is a kind of flow diagram of image quality adjustment method provided in an embodiment of the present invention;
Fig. 7 is a kind of schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram of another terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, the every other implementation that those of ordinary skill in the art are obtained without making creative work Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this present specification is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet computer of (for example, touch-screen display and/or touch tablet) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch tablet).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.In this way, the public physical structure of terminal is (for example, touch Sensing surface) it can support the various application programs with user interface intuitive and transparent for a user.
It is that the embodiment of the present invention provides a kind of schematic flow diagram for the method for adjusting image quality referring to Fig. 1, as shown in Figure 1, this A kind of method for adjusting image quality that one embodiment of invention provides may include:
S101, image information is received, calculates the dynamic frame per second D in preset time, wherein, the dynamic frame per second D is institute State the picture frame of average time tranfer per second in preset time.
Wherein, terminal device receives image information, and terminal device can be mobile phone, tablet computer, palm PC, move mutually Networked devices or other have the terminal device of touch sensitive surface.
Optionally, the present invention some possible embodiments in, preset time can be 5s, 10s, 15s, 20s or Other values, preset time value are specifically configured to how many, do not limit herein.
Wherein, dynamic frame per second D is being averaged for transmission frame per second FPS per second (the Frames Per Second) in a period of time Value, the transmission frame per second FPS per second can be used for weighing the fluency of terminal operating, in embodiments of the present invention, count in S seconds Totalframes T, according to formula dynamic frame per second D=T/S, calculate dynamic frame per second D.
Wherein, it is further included before the reception image information:According to current device information and recommend quality level algorithm The recommendation quality level T of the corresponding current device is calculated, and the recommendation quality level T is set as current image quality automatically Grade C.
Optionally, in some possible embodiments of the application, facility information can be terminal unit type and Hardware information, hardware information include the monokaryon frequency M of CPU quantity C, CPU of equipment and device memory size N.
Optionally, in some possible embodiments of the application, quality level can be divided into three-level, respectively high Quality level, middle quality level and low quality level, naturally it is also possible to be other dividing modes, not limit herein.
Optionally, in some possible embodiments of the application, it can pass through terminal to recommend quality level algorithm The unit type or hardware information of equipment, which calculate, recommends quality level T, it will be understood that recommends the algorithm of quality level can be according to not Same platform uses different judgment rules.
Such as recommend quality level that can be judged to obtain by following judgement algorithm.Terminal obtains current device Quantity C, the monokaryon frequency M of the central processing unit (CPU) and the device memory N of central processing unit (CPU), when M is less than or equal to First predeterminated frequency or C are less than default value or N is less than or equal to the first default memory value, then terminal is determined as the first picture Matter grade.When M is less than or equal to the second default memory value less than or equal to the second predeterminated frequency or N, then terminal is determined as second Quality level;Otherwise terminal is determined as third quality level.Wherein, the first predeterminated frequency, default value of C, first pre- If memory value, the second predeterminated frequency and the second default memory value can be configured as needed, the first quality level is low picture Matter, the second quality level are middle image quality, and third quality level is high image quality.
It is appreciated that because current terminal device (such as mobile phone, tablet computer) manufacturer is numerous, corresponding terminal Model is also various, is cumbersome using terminal models judgement quality level, and above-mentioned determination method is peace to mobile equipment It is particularly suitable during tall and erect system.
Terminal can also judge that algorithm judges quality level by another kind, and terminal obtains the equipment type of the current device Number information, the unit type information has correspondence with quality level, when the unit type is the first kind, then eventually End is determined as the first quality level;When the unit type is Second Type, then terminal is determined as the second image quality Grade;When the unit type is third type, then terminal is determined as third quality level.Referring to Fig. 2, Fig. 2 is this A kind of unit type that inventive embodiments provide and the schematic diagram of quality level correspondence.When detecting that terminal device model is IPad1, iPhone1, iPhone3G, iPhone3GS, iPhone4, iPhone4S, iPhone5, iPhone5C or iPod complete set During row, then terminal is determined as low quality level, when detect terminal device model be iPad2, iPadMini1 or During iPhone5S, then terminal is determined as middle quality level, when detecting that terminal device model is iPad3, iPad4, iPad Air1、iPad Air2、iPadMini2、iPadMini3、iPadMini4、iPad Pro、iPhone6、iPhone6plus、 IPhone6S, iPhone7, iPhone7plus or during other newer models, then terminal is determined as high image quality grade.It can To understand, the type of unit type can be arranged as required to, is only illustrated by taking apple system as an example here.
It is understood that when user enters game application for the first time, quality level has not gone through adjustment, so eventually End equipment can calculate recommendation image quality of the corresponding current device etc. according to current device information and recommendation quality level algorithm Grade T, and the recommendation quality level T is set as current quality level C automatically.
As can be seen that unit type information and hardware information by obtaining terminal device, are calculated using quality level is recommended Method can quickly obtain recommending quality level, and a reduced parameter is provided for the adjustment of follow-up quality level.
S102, according to the dynamic frame per second D, the quality level J for needing to adjust is calculated by quality level adjustment algorithm.
Wherein, described calculated by quality level adjustment algorithm needs the quality level J adjusted to include:In dynamic frame per second In the case that D is less than the first preset value, if current quality level is third quality level or the second quality level, terminal by its The first quality level is adjusted to, if current quality level is the first quality level, is remained unchanged.It is more than the in dynamic frame per second D One preset value and less than in the case of the second preset value, if current quality level is third quality level or the first quality level, Then terminal is adjusted to the second quality level, if current quality level is the second quality level, remains unchanged.In dynamic frame In the case that rate D is more than the second preset value, if current image quality is that the second quality level or the first quality level, terminal are adjusted Whole is third quality level, if current quality level is third quality level, is remained unchanged.Wherein, described first image quality etc. Grade is less than third quality level less than second quality level, second quality level.
Optionally, in some possible embodiments of the present invention, the first preset value and the second preset value can bases It needs to be configured, numerical value is the integer more than 1, is specifically configured to how many, is not limited thereto.
Referring to Fig. 3, Fig. 3 is a kind of schematic diagram of quality level adjustment algorithm provided in an embodiment of the present invention.In image quality etc. Before grade adjustment, terminal can receive image information, calculate the dynamic frame per second D in preset time, when dynamic frame per second D is less than 15, if current image quality is high image quality or middle image quality, terminal is adjusted to low image quality, when dynamic frame per second D be more than or equal to 15 and Less than 20, if current image quality is high image quality or low image quality, terminal is adjusted to middle image quality, when dynamic frame per second D is more than etc. In 20, if current image quality is that middle image quality or low image quality, terminal are adjusted to high image quality.
It is appreciated that dynamic frame per second D has correspondence with quality level, different dynamic frame per second D corresponds to different pictures Matter grade, but whether quality level needs adjustment also related to current quality level.
As can be seen that by calculating dynamic frame per second D, using dynamic frame per second D and the correspondence of quality level, according to picture Matter level adjustment algorithm can quickly and easily obtain the quality level J for needing to adjust.
Wherein, when quality level is adjusted, program can dynamically change and the relevant adjusting parameter of the quality level, There is a kind of correspondence i.e. between quality level and adjusting parameter numerical value.
Optionally, in some possible embodiments of the present invention, adjusting parameter includes:Same screen player model quantity, Special display effect maximum radius, with leading role apart from refresh interval, overall situation LOD numerical value, video camera far cut identity distance from, whether remove and take the photograph Whether camera mask layer opens glare special efficacy, whether shows meadow, whether shows trees, water-reflected, textures precision, player Model accuracy or the arbitrary combination between them.
It is appreciated that different quality levels corresponds to different adjusting parameter numerical value, quality level is higher, then expends performance Bigger with resource, picture effect is better.
Referring to Fig. 4, Fig. 4 is the signal of a kind of quality level provided in an embodiment of the present invention and adjusting parameter correspondence Figure.It is represented under a scene camera with screen player model quantity, the maximum player role model quantity that can be shown simultaneously, The reduction of model display number can reduce memory consumption, reduce the calculation amount of animation and special efficacy, so quality level is higher, Model display number is more.The maximum radius of special display effect represents just to show spy in the radius centered on player leading role Effect, if it was exceeded, not special display effect, the reduction of Special display effect can significantly reduce calculation amount, promote picture rendering efficiency, institute Higher with quality level, the maximum radius of special display effect is bigger.With leading role each role and player are represented apart from refresh interval In the distance between leading role counting period, the growth in counting period can reduce calculation amount, so quality level is higher, with leading role's It is shorter apart from refresh interval.Global LOD numerical value represents detail technology, rendering efficiency can be effectively improved, so image quality Higher grade, and global LOD numerical value is bigger.Video camera far cuts identity distance from the maximum distance that can show of video camera is represented, farthest Distance is shorter, needs that the object rendered is fewer, and performance consumption is fewer, so quality level is higher, video camera far cut identity distance from It is longer.The model object for being in different levels is rejected in the expression of video camera mask layer, passes through the object to some levels It rejects, it is possible to reduce rendering amount so removing video camera mask layer, can improve quality level.Similarly, open glare special efficacy, Display meadow and display trees can also improve quality level, and there is water-reflected can also improve quality level, quality level Higher, textures precision and player model precision are also higher.
As can be seen that the embodiment of the present invention more refines the factor division for influencing picture fluency, by a variety of property Energy index carries out controlling logical adjustment, by the reduction or promotion to some effects, can effectively adjust rendering efficiency, promote picture Face fluency, the performance consumption elasticity entirely played are good.
It is appreciated that quality level adjustment algorithm can according to circumstances adjustment image quality, such as higher in game load When, image quality is reduced automatically, release performance occupies, and improves game fluency, promotes game experiencing, when load of playing is smaller, from It is dynamic to improve image quality, equipment performance is made full use of, improves picture esthetic sense, improves user experience.
S103, the current quality level C of comparison and the quality level J for needing to adjust, image quality is adjusted according to comparison result Grade, wherein, if carrying out image quality adjusting for the first time, then the current quality level C is recommendation quality level T, otherwise described Current quality level C is the quality level that last image quality is adjusted.
Wherein, if entering application program for the first time, here by taking games as an example, terminal can be according to recommendation quality level Algorithm, which calculates, to be recommended quality level T and preserves, and quality level T will be recommended to be automatically set as current quality level C, when again Into games, terminal can be automatically using the recommendation quality level T of preservation as current quality level C.If in game process In, current quality level C is then the quality level that last image quality adjusts.
Wherein, it is described to be included according to comparison result adjustment quality level:If current quality level C is higher than the picture for needing to adjust Matter grade J, then it is the quality level J that terminal, which adjusts the current quality level C,;If current quality level C, which is less than, to be needed to adjust Whole quality level J, terminal calculate the recommendation quality level T of the corresponding current device according to recommendation quality level algorithm, When the recommendation quality level T is less than the quality level J for needing to adjust, the quality level J that terminal adjusts the needs Be modified to described recommendation quality level T-phase etc., in the time adjusted apart from last time be more than guard time preset duration and described Needing the quality level J adjusted, terminal then adjusts the current quality level C higher than in the case of the current quality level C For the quality level J.
Optionally, in some possible embodiments of the application, preset duration can be 50s, 70s, 90s, 110s, 150s can also be configured, not limit herein as needed.
If be appreciated that in game process, the factors such as the switching of scene of game or the unexpected increase of character The judgement of quality level will be influenced, but frequently switching image quality can lead to the interim card of game and picture, seriously affect game Experience, in order to avoid this accidentalia leads to the frequent switching of image quality, it is necessary to which setting is more than the preset duration of guard time To avoid such case.
Referring to Fig. 5, Fig. 5 is a kind of schematic diagram for game picture quality regulation method that the prior art provides.User was playing Picture interim card is found in journey, game running is not smooth, games system setting interface is clicked to enter, in games system sets interface Setting is set and displayed comprising music, music sets the adjusting for including audio and music, and display setting includes textures quality, player The adjusting of quantity and maximum frame number and whether show player model and chat message.Player is adjusted by manually selecting in game Image quality and reduce image quality setting, terminal reuses new game resource according to image quality, and terminal capabilities consumption reduces, often Second transmission frame per second rises, and picture fluency is promoted.
It is not difficult to find out, whole flow process is required for the judgement of user and adjusts manually, and have certain knowledge door to user Sill, user it is understood that game image quality and equipment performance, it is per second transmission frame per second between influence relationship can just judge, and The judgement of user has great subjectivity, and user may make false judgment and cause picture more interim card, even result in program Collapse, in addition, user cannot quickly adjust image quality, it is impossible to moment retention property timely according to the operating condition of current device Make full use of and not enough refinement divided to the factor for influencing picture fluency, only textures quality and model quality carries out It distinguishes.
The defects of in order to targetedly solve the prior art, this application provides a kind of new picture quality regulation methods.Referring to Fig. 6, Fig. 6 are a kind of flow diagrams of image quality adjustment method provided in an embodiment of the present invention.Terminal receives image information, every 10s carries out an intelligent measurement.Terminal obtains current quality level C and calculates the dynamic frame per second D in 10s, according to dynamic frame per second The quality level J for needing to adjust is calculated by quality level adjustment algorithm in D, terminal.The more current quality level C of terminal and The quality level J adjusted is needed, if quality level C is equal with quality level J, is not adjusted, if quality level C is higher than image quality Grade J, terminal is then using quality level J as current quality level to substitute original quality level C, if quality level C is less than Quality level J, terminal is calculated according to image quality proposed algorithm recommends quality level T, if quality level T is less than quality level Quality level J is modified to quality level T-phase etc. by J, terminal, it will be understood that the hardware limitation of terminal device quality level The adjustment upper limit because quality level is adjusted excessively high, and hardware resource cannot be supported, can lead to picture more interim card, even Program crashing.Whether the time that terminal then judges to adjust setting quality level apart from last time is more than guard time 150 seconds, if not having It has more than, terminates adjustment, if being more than, terminal continues to judge that quality level J whether higher than quality level C, if being not above, is tied Beam adjusts, if being higher than, terminal is using quality level J as current quality level to substitute original quality level C.
It is appreciated that adding in whether the time for judging to adjust setting quality level apart from last time is more than guard time 150 seconds The step for be in order to avoid the frequent switching of image quality cause game and the interim card of picture and the game experiencing of player.
As can be seen that in the scheme of the embodiment of the present invention, entire judgement and image quality adjustment are all that terminal carries out automatically, no User is needed to participate in, simplifies user's operation, and entirely adjustment process is opaque for a user, user does not appoint What knowledge threshold, terminal can quickly adjust image quality according to the operating condition of current device, for example, game load compared with Gao Shi reduces image quality automatically, and release performance occupies, and improves game fluency, promotes game experiencing, when load of playing is smaller, It is automatic to improve image quality, equipment performance is made full use of, improves picture esthetic sense, whole process moment retention property makes full use of, to the greatest extent Best game quality may be presented.
It is a kind of schematic diagram of terminal provided in an embodiment of the present invention referring to Fig. 7.Terminal 700 includes:Receiving unit 710, Computing unit 720, adjustment unit 740, setting unit 750, acquiring unit 760, identifying unit 770, is corrected comparing unit 730 Unit 780.
Receiving unit 710, for receiving image information.
Wherein, terminal device receives image information, and terminal device can be mobile phone, tablet computer, palm PC, move mutually Networked devices or other have the terminal device of touch sensitive surface.
Wherein, terminal further includes before the reception image information:Terminal is according to current device information and recommends image quality Level algorithms calculate the recommendation quality level T of the corresponding current device, and are automatically set as the recommendation quality level T Current quality level C.
Computing unit 720, for calculating the dynamic frame per second D in preset time, wherein, the dynamic frame per second D is described The picture frame of average time tranfer per second, the computing unit are additionally operable to, according to the dynamic frame per second D, pass through picture in preset time Matter level adjustment algorithm calculates the quality level J for needing to adjust.
Wherein, described calculated by quality level adjustment algorithm needs the quality level J adjusted to include:In dynamic frame per second In the case that D is less than the first preset value, if current quality level is third quality level or the second quality level, terminal by its The first quality level is adjusted to, if current quality level is the first quality level, is remained unchanged;It is more than the in dynamic frame per second D One preset value and less than in the case of the second preset value, if current quality level is third quality level or the first quality level, Then terminal is adjusted to the second quality level, if current quality level is the second quality level, remains unchanged;In dynamic frame In the case that rate D is more than the second preset value, if current image quality is that the second quality level or the first quality level, terminal are adjusted Whole is third quality level, if current quality level is third quality level, is remained unchanged;Wherein, described first image quality etc. Grade is less than third quality level less than second quality level, second quality level.
Optionally, in some possible embodiments of the application, the first preset value and the second preset value can bases It needs to be configured, numerical value is the integer more than 1, is specifically configured to how many, is not limited thereto.
Optionally, in some possible embodiments of the application, preset time can be 5s, 10s, 15s, 20s or Other values, preset time value are specifically configured to how many, do not limit herein.
Wherein, dynamic frame per second D is being averaged for transmission frame per second FPS per second (the Frames Per Second) in a period of time Value, the transmission frame per second FPS per second can be used for weighing the fluency of terminal operating, in embodiments of the present invention, count in S seconds Totalframes T, according to formula dynamic frame per second D=T/S, calculate dynamic frame per second D.
It is appreciated that dynamic frame per second D has correspondence with quality level, different dynamic frame per second D corresponds to different pictures Matter grade, but whether quality level needs adjustment also related to current quality level.
As can be seen that terminal utilizes dynamic frame per second D and the correspondence of quality level, root by calculating dynamic frame per second D It can quickly and easily obtain needing the quality level J adjusted according to quality level adjustment algorithm.
Comparing unit 730, for comparing the quality level J that current quality level C and the needs adjust.
Wherein, if entering application program for the first time, here by taking games as an example, terminal can be according to recommendation quality level Algorithm, which calculates, to be recommended quality level T and preserves, and quality level T will be recommended to be automatically set as current quality level C, when again Into games, terminal can be automatically using the recommendation quality level T of preservation as current quality level C.If in game process In, current quality level C is then the quality level that last image quality adjusts.
Adjustment unit 740, for adjusting quality level according to comparison result.
Wherein, it is described to be included according to comparison result adjustment quality level:If current quality level C is higher than the picture for needing to adjust Matter grade J, then it is the quality level J that terminal, which adjusts the current quality level C,;If current quality level C, which is less than, to be needed to adjust Whole quality level J, terminal calculate the recommendation quality level T of the corresponding current device according to recommendation quality level algorithm, When the recommendation quality level T is less than the quality level J for needing to adjust, the quality level J that terminal adjusts the needs Be modified to described recommendation quality level T-phase etc., in the time adjusted apart from last time be more than guard time preset duration and described Needing the quality level J adjusted, terminal then adjusts the current quality level C higher than in the case of the current quality level C For the quality level J.
Optionally, the present invention some possible embodiments in, preset duration can be 50s, 70s, 90s, 110s, 150s can also be configured, not limit herein as needed.
If be appreciated that in game process, the factors such as the switching of scene of game or the unexpected increase of character The judgement of quality level will be influenced, but frequently switching image quality can lead to the interim card of game and picture, seriously affect game Experience, in order to avoid this accidentalia leads to the frequent switching of image quality, it is necessary to which setting is more than the preset duration of guard time To avoid such case.
Wherein, when quality level is adjusted, program can dynamically change and the relevant adjusting parameter of the quality level, There is a kind of correspondence i.e. between quality level and adjusting parameter numerical value.
Optionally, in some possible embodiments of the application, adjusting parameter includes:Same screen player model quantity, Special display effect maximum radius, with leading role apart from refresh interval, overall situation LOD numerical value, video camera far cut identity distance from, whether remove and take the photograph Whether camera mask layer opens glare special efficacy, whether shows meadow, whether shows trees, water-reflected, textures precision, player Model accuracy or the arbitrary combination between them.
It is appreciated that different quality levels corresponds to different adjusting parameter numerical value, quality level is higher, then expends performance Bigger with resource, picture effect is better.
Wherein, the computing unit is additionally operable to according to current device information and quality level algorithm is recommended to calculate corresponding institute State the recommendation quality level T of current device.
Optionally, the present invention some possible embodiments in, facility information can be terminal unit type and Hardware information, hardware information include the monokaryon frequency M of CPU quantity C, CPU of equipment and device memory size N.
Optionally, in some possible embodiments of the present invention, quality level can be divided into three-level, respectively high Quality level, middle quality level and low quality level, naturally it is also possible to be other dividing modes, not limit herein.
Optionally, in some possible embodiments of the present invention, it can pass through terminal to recommend quality level algorithm The unit type or hardware information of equipment, which calculate, recommends quality level T, it will be understood that recommends the algorithm of quality level can be according to not Same platform uses different judgment rules.
It is understood that when user enters game application for the first time, quality level has not gone through adjustment, so eventually End equipment can calculate recommendation image quality of the corresponding current device etc. according to current device information and recommendation quality level algorithm Grade T, and the recommendation quality level T is set as current quality level C automatically.
As can be seen that terminal is by obtaining the unit type information and hardware information of terminal device, using recommending image quality etc. Grade algorithm can quickly obtain recommending quality level, and a reduced parameter is provided for the adjustment of follow-up quality level.
Setting unit 750, for the recommendation quality level T to be set as current quality level C.
Acquiring unit 760, for obtaining the quantity C of the central processing unit of the current device (CPU), the central processing The monokaryon frequency M of device (CPU) and device memory N.
Identifying unit 770 is less than 4 or N less than or equal to 900 for working as M less than or equal to predeterminated frequency or C, then terminal will It is determined as the first quality level, is less than or equal to 1800 when M is less than or equal to 1800 or N, then terminal is determined as the second image quality Grade, otherwise terminal be determined as third quality level, wherein, first quality level is less than described second image quality etc. Grade, second quality level are less than third quality level.
Wherein, the acquiring unit is additionally operable to obtain the unit type information of the current device, the unit type letter Breath has correspondence with quality level;
Wherein, the identifying unit is additionally operable to when the unit type is the first kind, then terminal is determined as One quality level, when the unit type is Second Type, then terminal is determined as the second quality level, when the equipment When model is third type, then terminal is determined as third quality level, wherein, first quality level is less than described the Two quality levels, second quality level are less than third quality level.
The adjustment unit is additionally operable in the case where dynamic frame per second D is less than the first preset value, if current quality level is It is then adjusted to the first quality level by third quality level or the second quality level, terminal, if current quality level is first Quality level then remains unchanged, in the case where dynamic frame per second D is more than the first preset value and is less than the second preset value, if currently Quality level is third quality level or the first quality level, then terminal is adjusted to the second quality level, if current image quality Grade is the second quality level, then remains unchanged, in the case where dynamic frame per second D is more than the second preset value, if current image quality is Second quality level or the first quality level, then terminal is adjusted to third quality level, if current quality level is third Quality level then remains unchanged, wherein, first quality level is less than second quality level, second image quality etc. Grade is less than third quality level.
Wherein, the adjustment unit is additionally operable in current quality level C higher than the quality level J for needing to adjust, and terminal is then The current quality level C is adjusted as the quality level J, the quality level J for needing to adjust is less than in current quality level C, Terminal calculates the recommendation quality level T of the corresponding current device according to recommendation quality level algorithm and is adjusted apart from last time Time be more than guard time preset duration and the feelings that the quality level J that adjusts is needed to be higher than the current quality level C Under condition, it is the quality level J that terminal, which adjusts the current quality level C,.
Amending unit 780, for working as the quality level J that the recommendation quality level T is less than the needs and adjusts, by described in The quality level adjusted J is needed to be modified to and recommends quality level T-phase etc. with described.
As can be seen that in the scheme of the embodiment of the present invention, terminal receives image information, calculates dynamic frame per second D, according to dynamic Frame per second D calculates quality level J to be adjusted by quality level adjustment algorithm, then more current quality level C and to be adjusted Quality level J, adjust automatically quality level can make full use of equipment performance, avoid cumbersome operation, promote user's body It tests.
It is another terminal schematic diagram provided in an embodiment of the present invention referring to Fig. 8.As shown in figure 8, terminal 200 may include: Baseband chip 210, memory 215 (one or more computer readable storage mediums), communication module 216, peripheral system 217. These components can communicate on one or more communication bus 214.
Peripheral system 217 is mainly used for realizing the interactive function between terminal 200 and user/external environment, mainly includes The input/output unit of terminal 200.In the specific implementation, peripheral system 217 may include:Touch screen 223, camera 224, audio-frequency electric Road 225 and sensor 226.Need what is illustrated, peripheral system 217 can also include other I/O peripheral hardwares.
Baseband chip 210 can be integrated including one or more processors 211, and the processor 211 passes through with memory 215 Communication bus 214 connects.
Communication module 216, including SIM card 2161 and Wi-Fi2162, is mainly integrated with for sending and receiving radiofrequency signal The receiver and transmitter of terminal 200.Communication module 216 passes through radiofrequency signal and communication network and other communication apparatus communications. In the specific implementation, communication module 216 may include but be not limited to:Antenna system, RF transceivers, one or more amplifiers, tuning Device, one or more oscillators, digital signal processor, CODEC chips, SIM card and storage medium etc..In some embodiments In, communication module 216 can be realized on a separate chip.
Memory 215 is coupled with processor 211, for storing various software programs and/or multigroup instruction.Specific implementation In, memory 215 may include the memory of high random access, and may also comprise nonvolatile memory, such as one or Multiple disk storage equipments, flash memory device or other non-volatile solid-state memory devices.Memory 215 can store an operating system (following abbreviation systems), such as the embedded OSs such as ANDROID, IOS, WINDOWS or LINUX.Memory 215 is also Network communication program can be stored, which can be used for and one or more optional equipments, one or more terminals Equipment, one or more network equipments communicate.Memory 215 can also store user interface program, the user interface journey Sequence can be shown by patterned operation interface by the content image of application program is true to nature, and passes through menu, dialogue The input controls such as frame and button receive user and the control of application program are operated.
Memory 215 can also store one or more application program.As shown in figure 8, these application programs may include:Trip Application program of playing (such as five-element day) and image management application (such as photograph album) etc..
In the present invention, processor 211 can be used for reading and performing computer-readable instruction.Specifically, processor 211 can be used The program being stored in calling in memory 215, such as the realization program of the method for adjusting image quality that the application provides, and perform The instruction that the program includes.
In the possible embodiment of the application, terminal obtains image information by communication module 216, is counted using CPU211 The dynamic frame per second D in preset time is calculated, the quality level adjustment algorithm in memory 215 utilizes processor CPU211 It calculates the quality level J, more current quality level C for needing to adjust and needs the quality level J adjusted, last CPU211 roots Quality level is adjusted according to comparison result.
It should be appreciated that terminal 200 is only an example provided in an embodiment of the present invention, also, terminal 200 can have than showing The more or fewer components of component gone out can combine two or more components or can have the different configurations of component in fact It is existing.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the application Matter is stored with computer program, and the computer program is realized when being executed by processor:Terminal receives image information, calculates pre- If the dynamic frame per second D in the time, wherein, the dynamic frame per second D is the image of average time tranfer per second in the preset time Frame;According to the dynamic frame per second D, the quality level J for needing to adjust is calculated by quality level adjustment algorithm;It is relatively more current to draw The matter grade C and quality level J for needing to adjust, quality level is adjusted according to comparison result, wherein, if carrying out for the first time Image quality is adjusted, then the current quality level C is recommends quality level T, and otherwise the current quality level C is last image quality Adjust obtained quality level.
As can be seen that in the scheme of the embodiment of the present invention, terminal receives image information, calculates dynamic frame per second D, according to dynamic Frame per second D calculates quality level J to be adjusted by quality level adjustment algorithm, then more current quality level C and to be adjusted Quality level J, adjust automatically quality level can make full use of equipment performance, avoid cumbersome operation, promote user's body It tests.
The computer readable storage medium can be the internal storage unit of the terminal described in aforementioned any embodiment, example Such as the hard disk or memory of terminal.The computer readable storage medium can also be the External memory equipment of the terminal, such as The plug-in type hard disk being equipped in the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both The internal storage unit for including the terminal also includes External memory equipment.The computer readable storage medium is described for storing Other programs and data needed for computer program and the terminal.The computer readable storage medium can be also used for temporarily When store the data that has exported or will export.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein Member and algorithm steps can be realized with the combination of electronic hardware, computer software or the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed terminal and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of division of logic function can have other dividing mode in actual implementation, such as multiple units or component can be tied It closes or is desirably integrated into another system or some features can be ignored or does not perform.In addition, shown or discussed phase Coupling, direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the embodiment of the present invention Purpose.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also It is that each unit is individually physically present or two or more units integrate in a unit.It is above-mentioned integrated The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products It embodies, which is stored in a storage medium, is used including some instructions so that a computer Equipment (can be personal computer, server or the network equipment etc.) performs the complete of each embodiment the method for the present invention Portion or part steps.And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The specific embodiment of the above, only the application, but the protection domain of the application is not limited thereto, it is any In the technical scope that those familiar with the art discloses in the application, various equivalent modifications can be readily occurred in or replaced It changes, these modifications or substitutions should all cover within the protection domain of the application.Therefore, the protection domain of the application should be with right It is required that protection domain subject to.

Claims (10)

  1. A kind of 1. method for adjusting image quality, which is characterized in that including:
    Image information is received, calculates the dynamic frame per second D in preset time, wherein, the dynamic frame per second D is the preset time The picture frame of interior average time tranfer per second;
    According to the dynamic frame per second D, the quality level J for needing to adjust is calculated by quality level adjustment algorithm;
    Compare the quality level J that current quality level C and the needs adjust, quality level is adjusted according to comparison result, wherein, If carrying out image quality adjusting for the first time, then the current quality level C is recommendation quality level T, otherwise described current image quality etc. Grade C is the quality level that last image quality is adjusted.
  2. 2. it according to the method described in claim 1, it is characterized in that, is further included before the reception image information:
    The recommendation quality level T of the corresponding current device is calculated according to current device information and recommendation quality level algorithm, And the recommendation quality level T is set as current quality level C automatically.
  3. 3. according to the method described in claim 2, it is characterized in that, the hardware that the current device information includes current device is believed Breath;The recommendation quality level that the corresponding current device is calculated according to current device information and recommendation quality level algorithm T includes:
    Obtain the quantity C of the central processor CPU of the current device, the monokaryon frequency M of the CPU and device memory N;
    It is less than or equal to the first default memory value less than default value or N when M is less than or equal to the first predeterminated frequency or C, then calculates The recommendation quality level T for going out corresponding current device is the first quality level;
    As M corresponding current device is then calculated less than or equal to the second default memory value less than or equal to the second predeterminated frequency or N It is the second quality level to recommend quality level T;
    Otherwise the recommendation quality level T for calculating corresponding current device is third quality level;
    Wherein, first quality level is less than second quality level, and second quality level is less than third image quality etc. Grade.
  4. 4. according to the method described in claim 2, it is characterized in that, the current device information includes the equipment type of current device Number information;The recommendation image quality that the corresponding current device is calculated according to current device information and recommendation quality level algorithm Grade T includes:
    The unit type information of the current device is obtained, the unit type information has correspondence with quality level;
    When the unit type is the first kind, then the recommendation quality level T for calculating the corresponding current device is first Quality level;
    When the unit type is Second Type, then the recommendation quality level T for calculating the corresponding current device is second Quality level;
    When the unit type is third type, then the recommendation quality level T for calculating the corresponding current device is third Quality level;
    Wherein, first quality level is less than second quality level, and second quality level is less than third image quality etc. Grade.
  5. 5. according to the method described in claim 1, it is characterized in that, described calculated by quality level adjustment algorithm needs to adjust Whole quality level J includes:
    In the case where dynamic frame per second D is less than the first preset value, if current quality level is third quality level or the second image quality Grade is then adjusted to the first quality level, if current quality level is the first quality level, remains unchanged;
    It is more than the first preset value and less than in the case of the second preset value in dynamic frame per second D, is drawn if current quality level is third Matter grade or the first quality level, then be adjusted to the second quality level, if current quality level is the second quality level, keeps It is constant;
    In the case where dynamic frame per second D is more than the second preset value, if current image quality is the second quality level or the first quality level, Third quality level is then adjusted to, if current quality level is third quality level, is remained unchanged;
    Wherein, first quality level is less than second quality level, and second quality level is less than third image quality etc. Grade.
  6. 6. method according to claim 1 or 5, which is characterized in that image quality is adjusted according to the quality level adjustment algorithm Grade includes:
    Changed according to program dynamic and include following at least one with the relevant adjusting parameter of the quality level, the adjusting parameter :
    With screen player model quantity, special display effect maximum radius, with leading role apart from refresh interval, global detail LOD numbers Value, video camera far cut identity distance from, whether remove video camera mask layer, whether open glare special efficacy, whether show meadow, whether Show trees, water-reflected, textures precision, player model precision.
  7. 7. according to the method described in claim 1, it is characterized in that, described include according to comparison result adjustment quality level:
    If current quality level C adjusts the current quality level C as the image quality higher than the quality level J for needing to adjust Grade J;
    If current quality level C is calculated described in corresponding to less than the quality level J for needing to adjust according to recommendation quality level algorithm The recommendation quality level T of current device;Quality level T is recommended to be less than the quality level J for needing to adjust when described, by described in The quality level adjusted J is needed to be modified to and recommends quality level T-phase etc. with described, is more than protection in the time adjusted apart from last time In the case that the quality level J that time preset duration and the needs adjust is higher than the current quality level C, then described in adjustment Current quality level C is the quality level J.
  8. A kind of 8. terminal, which is characterized in that the list including being used for the method described in perform claim requirement 1-7 any claims Member.
  9. 9. a kind of terminal, which is characterized in that including processor, input-output equipment, memory and communication module, the processing Device, input equipment, output equipment and memory are connected with each other, wherein, the memory is described for storing application code Processor is configured for calling said program code, performs such as claim 1-7 any one of them methods.
  10. 10. a kind of computer readable storage medium, which is characterized in that the computer storage media is stored with computer program, The computer program includes program instruction, and described program instruction makes the processor perform such as right when being executed by a processor It is required that 1-7 any one of them methods.
CN201711472712.3A 2017-12-28 2017-12-28 Method and terminal for adjusting image quality Active CN108211352B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711472712.3A CN108211352B (en) 2017-12-28 2017-12-28 Method and terminal for adjusting image quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711472712.3A CN108211352B (en) 2017-12-28 2017-12-28 Method and terminal for adjusting image quality

Publications (2)

Publication Number Publication Date
CN108211352A true CN108211352A (en) 2018-06-29
CN108211352B CN108211352B (en) 2021-11-23

Family

ID=62645828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711472712.3A Active CN108211352B (en) 2017-12-28 2017-12-28 Method and terminal for adjusting image quality

Country Status (1)

Country Link
CN (1) CN108211352B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109168191A (en) * 2018-09-11 2019-01-08 厦门美图移动科技有限公司 Terminal handler adjusting method and terminal handler regulating device
CN109302523A (en) * 2018-10-22 2019-02-01 竞技世界(北京)网络技术有限公司 A kind of mobile phone games stage division
CN109389663A (en) * 2018-10-31 2019-02-26 Oppo广东移动通信有限公司 Picture rendering method, device, terminal and storage medium
CN109568951A (en) * 2018-11-21 2019-04-05 北京像素软件科技股份有限公司 Special display effect method of adjustment and device
CN109675321A (en) * 2018-12-18 2019-04-26 网易(杭州)网络有限公司 The control method and device of Display on the same screen number in game
CN109771949A (en) * 2019-01-14 2019-05-21 珠海金山网络游戏科技有限公司 A kind of method and system of the interior dynamic adjustment rendering grade of game
CN109966739A (en) * 2019-01-17 2019-07-05 珠海金山网络游戏科技有限公司 A kind of method and system optimizing game running
CN110475065A (en) * 2019-08-19 2019-11-19 北京字节跳动网络技术有限公司 Method, apparatus, electronic equipment and the storage medium of image procossing
CN111176758A (en) * 2019-12-31 2020-05-19 腾讯科技(深圳)有限公司 Configuration parameter recommendation method and device, terminal and storage medium
CN111476872A (en) * 2019-01-23 2020-07-31 华为技术有限公司 Image drawing method and image drawing device
CN113192169A (en) * 2021-04-26 2021-07-30 北京麟卓信息科技有限公司 Image display optimization method and device for dynamically adjusting LOD Scale
CN114125277A (en) * 2021-11-12 2022-03-01 北京达佳互联信息技术有限公司 Method and equipment for controlling video shooting special effect of application

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011221112A (en) * 2010-04-06 2011-11-04 Sharp Corp Display device
CN105100675A (en) * 2015-09-11 2015-11-25 Tcl集团股份有限公司 Terminal video communication quality adjusting method and system
JP2016063987A (en) * 2014-09-25 2016-04-28 株式会社 アスキス Game machine
CN106303215A (en) * 2016-07-26 2017-01-04 深圳天珑无线科技有限公司 The acquisition method of a kind of image and device
CN107203363A (en) * 2017-06-06 2017-09-26 网易(杭州)网络有限公司 Method, device and electronic equipment that image quality for application program is adjusted
CN107398070A (en) * 2017-07-19 2017-11-28 腾讯科技(深圳)有限公司 Display control method and device, the electronic equipment of a kind of game picture

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011221112A (en) * 2010-04-06 2011-11-04 Sharp Corp Display device
JP2016063987A (en) * 2014-09-25 2016-04-28 株式会社 アスキス Game machine
CN105100675A (en) * 2015-09-11 2015-11-25 Tcl集团股份有限公司 Terminal video communication quality adjusting method and system
CN106303215A (en) * 2016-07-26 2017-01-04 深圳天珑无线科技有限公司 The acquisition method of a kind of image and device
CN107203363A (en) * 2017-06-06 2017-09-26 网易(杭州)网络有限公司 Method, device and electronic equipment that image quality for application program is adjusted
CN107398070A (en) * 2017-07-19 2017-11-28 腾讯科技(深圳)有限公司 Display control method and device, the electronic equipment of a kind of game picture

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109168191A (en) * 2018-09-11 2019-01-08 厦门美图移动科技有限公司 Terminal handler adjusting method and terminal handler regulating device
CN109168191B (en) * 2018-09-11 2021-08-27 厦门美图移动科技有限公司 Terminal processor adjusting method and terminal processor adjusting device
CN109302523A (en) * 2018-10-22 2019-02-01 竞技世界(北京)网络技术有限公司 A kind of mobile phone games stage division
CN109389663B (en) * 2018-10-31 2021-03-09 Oppo广东移动通信有限公司 Picture rendering method and device, terminal and storage medium
CN109389663A (en) * 2018-10-31 2019-02-26 Oppo广东移动通信有限公司 Picture rendering method, device, terminal and storage medium
CN109568951A (en) * 2018-11-21 2019-04-05 北京像素软件科技股份有限公司 Special display effect method of adjustment and device
CN109675321A (en) * 2018-12-18 2019-04-26 网易(杭州)网络有限公司 The control method and device of Display on the same screen number in game
CN109771949A (en) * 2019-01-14 2019-05-21 珠海金山网络游戏科技有限公司 A kind of method and system of the interior dynamic adjustment rendering grade of game
CN109966739A (en) * 2019-01-17 2019-07-05 珠海金山网络游戏科技有限公司 A kind of method and system optimizing game running
CN111476872A (en) * 2019-01-23 2020-07-31 华为技术有限公司 Image drawing method and image drawing device
CN111476872B (en) * 2019-01-23 2022-10-11 华为技术有限公司 Image drawing method and image drawing device
CN110475065A (en) * 2019-08-19 2019-11-19 北京字节跳动网络技术有限公司 Method, apparatus, electronic equipment and the storage medium of image procossing
CN111176758A (en) * 2019-12-31 2020-05-19 腾讯科技(深圳)有限公司 Configuration parameter recommendation method and device, terminal and storage medium
CN113192169A (en) * 2021-04-26 2021-07-30 北京麟卓信息科技有限公司 Image display optimization method and device for dynamically adjusting LOD Scale
CN113192169B (en) * 2021-04-26 2021-11-05 北京麟卓信息科技有限公司 Image display optimization method and device for dynamically adjusting LOD Scale
CN114125277A (en) * 2021-11-12 2022-03-01 北京达佳互联信息技术有限公司 Method and equipment for controlling video shooting special effect of application
CN114125277B (en) * 2021-11-12 2024-02-09 北京达佳互联信息技术有限公司 Method and equipment for controlling video shooting special effects of application

Also Published As

Publication number Publication date
CN108211352B (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN108211352A (en) A kind of method and terminal for adjusting image quality
US11164285B2 (en) Electronic device and method for displaying image on a display to prevent burn-in of the display
US20160364888A1 (en) Image data processing method and electronic device supporting the same
CN108961157B (en) Picture processing method, picture processing device and terminal equipment
CN107181858B (en) Method and terminal for displaying notification message
CN107634936A (en) A kind of living broadcast interactive method, server and terminal
CN108961267B (en) Picture processing method, picture processing device and terminal equipment
KR20160103398A (en) Method and apparatus for measuring the quality of the image
CN111767554B (en) Screen sharing method and device, storage medium and electronic equipment
EP3584710B1 (en) Method and apparatus for controlling display of mobile terminal, and storage medium
CN109086742A (en) scene recognition method, scene recognition device and mobile terminal
CN107222790A (en) A kind of method, terminal and computer-readable recording medium for sending barrage
CN108228882A (en) The recommendation method and terminal device of a kind of audition for the songs segment
CN107679885A (en) A kind of ad data acquisition methods and device
WO2022247744A1 (en) Icon display method and apparatus, and electronic device
KR20170098106A (en) Configuration setting method and device
WO2015113347A1 (en) Application screen-splitting method, intelligent terminal, and storage medium
CN110245246A (en) A kind of image display method and terminal device
CN111596971B (en) Application cleaning method and device, storage medium and electronic equipment
CN108401167B (en) Electronic device and server for video playback
CN111080429A (en) Virtual resource acquisition method, device and storage medium
CN106250111A (en) A kind of wallpaper acquisition methods and terminal
CN110694278A (en) Game table combining method, game score calculating method and device and intelligent equipment
CN108932704B (en) Picture processing method, picture processing device and terminal equipment
CN108898169B (en) Picture processing method, picture processing device and terminal equipment

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: 518000 unit 01, 16 / F, unit 2, building a, Kexing Science Park, Keyuan Road, Central District, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN IDREAMSKY TECHNOLOGY Co.,Ltd.

Address before: 518000 unit 01, 16 / F, unit 2, building a, Kexing Science Park, Keyuan Road, Central District, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN IDREAMSKY TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant