CN105183560B - Method for adjusting picture, picture adjusting device and system - Google Patents
Method for adjusting picture, picture adjusting device and system Download PDFInfo
- Publication number
- CN105183560B CN105183560B CN201510553072.3A CN201510553072A CN105183560B CN 105183560 B CN105183560 B CN 105183560B CN 201510553072 A CN201510553072 A CN 201510553072A CN 105183560 B CN105183560 B CN 105183560B
- Authority
- CN
- China
- Prior art keywords
- terminal device
- peak value
- picture
- performance information
- memory
- 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.)
- Active
Links
Abstract
The embodiment of the invention discloses a method for adjusting a picture, a picture adjusting device and a picture adjusting system. The method comprises the following steps: acquiring an instant memory peak value, and inquiring a memory threshold configuration table corresponding to a currently running application program scene to obtain a picture scaling corresponding to the instant memory peak value; extracting a picture to be loaded, adjusting the extracted picture according to the picture scaling corresponding to the counted available memory peak value, and loading the adjusted picture; monitoring and recording an available memory peak value of a currently running application program scene, generating terminal equipment performance information by combining terminal equipment parameters and a picture scaling, and reporting the terminal equipment performance information to a server, so that the server adjusts a memory threshold configuration table according to the reported terminal equipment performance information, and centralizes the memory threshold configuration table corresponding to the currently running application program scene. By applying the method and the device, the running efficiency of the application program can be improved.
Description
Technical field
The present invention relates to computer graphics disposal technology more particularly to a kind of methods for adjusting picture, picture regulating device
And system.
Background technique
Currently, Android (Android) operating system is with its easy to operate and conveniently characteristic, it is increasingly user institute
Receive, be widely used in the work and life of user, for example, the game type based on Android operation system also by
It is gradually more and more.Cruel needs are dazzled in order to meet user to game picture quality, the terminal based on Android operation system is set
The requirement of standby hardware performance is also higher and higher, the especially requirement of internal memory performance.Thus, for some older or relatively early factory
Terminal device, since memory is smaller, run high-quality screen new game when, run it is more slow, passed through in game process
Often there is situations such as flashing, pause or game picture are without response.
During development of games, after the pictures that game designer needs to use in drawing game, to the picture
Collection is preloaded, i.e., is loaded into memory pictures and carries out game trial operation, if dodged during game trial operation
Situations such as bright, pause or game picture are without response, then carry out the processing such as lossy compression to the pictures of drafting, then, then it is right
The pictures for carrying out lossy compression processing are preloaded to carry out game trial operation, until not occurring during game trial operation
Situations such as flashing, pause or game picture are without response, and the pictures that last progress lossy compression is handled are beaten
The graphic image quality of packet publication, the pictures of the packing and issuing is directed to all terminal devices, and terminal device is in download games
And after starting game, the pictures of packing are preloaded into memory, so that game adds in subsequent different phase or different scenes
Corresponding picture is carried to generate game picture.
From the foregoing, it can be seen that the existing method for adjusting picture by processing such as lossy compressions, the pictures of packing and issuing are directed to
All terminal devices, since the memory size in each device end is different, thus, so that the lower terminal of some memory sizes
Equipment Load Image collect when, due to not being able to satisfy the resource requirement of high-quality screen, application program (for example, game) operation compared with
To be slow, and there is situations such as flashing, pause or game picture are without response, so that the screen-picture of terminal device is discontinuous,
Application program operational efficiency is lower, influences the application program experience of user.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method, picture regulating device and system for adjusting picture, promotion is answered
The efficiency run with program.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
On the one hand, the embodiment of the present invention provides a kind of method for adjusting picture, comprising:
Instant memory peak value corresponding to currently running application scenarios is obtained, audit memory threshold value allocation list is concentrated
The corresponding memory threshold allocation list of the currently running application scenarios, obtains the corresponding picture of the instant memory peak value
Scaling;
Picture to be loaded in the currently running application scenarios is extracted, according to the instant memory peak of the statistics
It is worth the picture that corresponding picture scaling adjustment is extracted, and by the picture of adjustment in the currently running application scenarios
In loaded;
The free memory peak value for monitoring and recording the currently running application scenarios, in conjunction with described currently running
Terminal device parameter and picture scaling belonging to application scenarios generate terminal device performance information, and to server
It reports, so that the server is currently transported according to the terminal device performance information adjustment memory threshold allocation list collection reported
The corresponding memory threshold allocation list of capable application scenarios.
It is provided in an embodiment of the present invention adjustment picture method, the memory size of each terminal equipment type and apply journey
Sequence scene corresponds to a corresponding picture scaling, the picture pantograph ratio according to the real-time memory peak value inquiry setting of terminal device
Example, obtains the corresponding picture scaling of memory peak value, and the corresponding picture scaling of the instant memory peak value according to the statistics
Ratio loads after zooming in and out processing to picture, can dynamically change the picture of the application program run in terminal device in real time
Quality, although reducing image quality, avoid because Load Image it is excessive and the case where lead to low memory, respectively set to meet
The demand that not a pair of of picture of memory size shows and loads in standby terminal, enables to the screen of the terminal device of smaller memory size
Curtain picture continuously displays, and improves application program operational efficiency.
On the other hand, the embodiment of the present invention also provides a kind of method for adjusting picture, comprising:
The terminal device performance information that each terminal device reports is received, the terminal device performance information includes: using journey
Picture contracting in sequence scene title, the free memory peak value of application scenarios, terminal equipment type and application scenarios
Ratio is put, is classified according to the terminal equipment type in terminal device performance information;
According to the application scenarios title in terminal device performance information, to the terminal device performance information of each classification
Subseries again is carried out, secondary classification terminal device performance information is obtained;
For each secondary classification terminal device performance information, counted in the secondary classification terminal device performance information respectively
Picture scaling and free memory peak value;
The corresponding memory threshold allocation list of the secondary classification terminal device performance information is inquired, what is counted is available interior
Deposit the corresponding picture scaling of peak value;
The secondary classification described in the corresponding picture scaling of free memory peak value and statistics according to the statistics
Picture scaling in terminal device performance information adjusts the corresponding memory threshold of the secondary classification terminal device performance information
The picture scaling being worth in allocation list, and the memory threshold allocation list of adjustment is issued to the secondary classification terminal and is set
The standby corresponding terminal device of performance information, so that terminal device is according to instant interior corresponding to currently running application scenarios
It deposits peak value and memory threshold allocation list adjustment is loaded onto the picture of currently running application scenarios.
The method of adjustment picture provided in an embodiment of the present invention, memory size for different terminal equipment types and
Corresponding picture scaling is arranged in application scenarios, generates memory threshold allocation list and is issued to corresponding terminal device,
And the memory threshold allocation list of the terminal device performance information adjustment terminal device reported according to terminal device, it can be dynamically real
When change the image quality of application program run in terminal device, although reducing image quality, avoid because Loading Image
The case where excessively leading to low memory, to meet the need that not a pair of of picture of memory size in each device end shows and loads
It asks, the screen-picture of the terminal device of smaller memory size is enabled to continuously display, improve application program operational efficiency.
On the other hand, the embodiment of the present invention provides a kind of picture regulating device, comprising: picture scaling acquisition module,
Picture adjusts module and terminal device performance information reporting module, wherein
Picture scaling obtains module, for obtaining instant memory peak corresponding to currently running application scenarios
Value, the corresponding memory threshold allocation list of currently running application scenarios described in audit memory threshold value allocation list collection, obtains
The corresponding picture scaling of the instant memory peak value;
Picture adjusts module, for extracting picture to be loaded in the currently running application scenarios, according to institute
The picture that the corresponding picture scaling adjustment of instant memory peak value of statistics is extracted is stated, and by the picture of adjustment described current
It is loaded in the application scenarios of operation;
Terminal device performance information reporting module, can for monitor and record the currently running application scenarios
With memory peak value, the terminal device parameter in conjunction with belonging to the currently running application scenarios and picture scaling are raw
It is reported at terminal device performance information, and to server, so that the server is according to the terminal device performance information tune reported
The corresponding memory threshold allocation list of currently running application scenarios described in whole memory threshold allocation list collection.
On the other hand, the embodiment of the present invention provides a kind of picture regulating device, comprising: the first categorization module, the second classification
Module, statistical module, enquiry module and adjustment module, wherein
First categorization module, the terminal device performance information reported for receiving each terminal device, the terminal device
Energy information includes: application scenarios title, the free memory peak value of application scenarios, terminal equipment type and applies journey
Picture scaling in sequence scene is classified according to the terminal equipment type in terminal device performance information;
Second categorization module, for the application scenarios title in foundation terminal device performance information, to each classification
Terminal device performance information carry out subseries again, obtain secondary classification terminal device performance information;
Statistical module counts the secondary classification terminal for being directed to each secondary classification terminal device performance information respectively
Picture scaling and free memory peak value in device capability information;
Enquiry module is obtained for inquiring the corresponding memory threshold allocation list of the secondary classification terminal device performance information
To the corresponding picture scaling of free memory peak value of statistics;
Module is adjusted, for the corresponding picture scaling of free memory peak value according to the statistics and the institute of statistics
The picture scaling stated in the secondary classification terminal device performance information adjusts the secondary classification terminal device performance information
Picture scaling in corresponding memory threshold allocation list, and the memory threshold allocation list of adjustment is issued to described two
The corresponding terminal device of subseries terminal device performance information, so that terminal device is according to currently running application scenarios institute
Corresponding instant memory peak value and memory threshold allocation list adjustment are loaded onto the figure of currently running application scenarios
Piece.
On the other hand, the embodiment of the present invention provides a kind of picture adjustment system, comprising: terminal device and server,
In,
Terminal device, for obtaining instant memory peak value, query service corresponding to currently running application scenarios
The corresponding memory threshold allocation list of the currently running application scenarios that device issues, obtains the instant memory peak value pair
The picture scaling answered;Picture to be loaded in the currently running application scenarios is extracted, according to the statistics
The picture that the corresponding picture scaling adjustment of instant memory peak value is extracted, and the picture of adjustment currently running is answered described
It is loaded in program scene;The free memory peak value for monitoring and recording the currently running application scenarios, in conjunction with
Terminal device parameter belonging to the currently running application scenarios and picture scaling generate terminal device performance letter
Breath, and reported to server;
Server, the terminal device performance information reported for receiving each terminal device, the terminal device performance information
It include: application scenarios title, free memory peak value, terminal equipment type and the application scenarios of application scenarios
In picture scaling, classify according to the terminal equipment type in terminal device performance information;According to terminal device
Application scenarios title in energy information carries out subseries again to the terminal device performance information of each classification, obtains secondary
Classified terminal device capability information;For each secondary classification terminal device performance information, the secondary classification terminal is counted respectively
Picture scaling and free memory peak value in device capability information;Inquire the secondary classification terminal device performance information
Corresponding memory threshold allocation list, the corresponding picture scaling of the free memory peak value counted;According to the statistics
Figure in the corresponding picture scaling of free memory peak value and the described secondary classification terminal device performance information of statistics
Piece scaling adjusts the picture pantograph ratio in the corresponding memory threshold allocation list of the secondary classification terminal device performance information
Example, and the memory threshold allocation list of adjustment is issued to the corresponding terminal of the secondary classification terminal device performance information and is set
It is standby.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention 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 method flow schematic diagram that the embodiment of the present invention adjusts picture;
Fig. 2 is another flow diagram of method that the embodiment of the present invention adjusts picture;
Fig. 3 is the picture regulating device structural schematic diagram of the embodiment of the present invention;
Fig. 4 is that the picture scaling of the embodiment of the present invention obtains modular structure schematic diagram;
Fig. 5 is the terminal device performance information reporting module structural schematic diagram of the embodiment of the present invention;
Fig. 6 is another structural schematic diagram of picture regulating device of the embodiment of the present invention;
Fig. 7 is that the picture of the embodiment of the present invention adjusts system structure diagram.
Specific embodiment
The embodiment of the present invention is described in detail with reference to the accompanying drawing.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
Its embodiment, shall fall within the protection scope of the present invention.
Fig. 1 is the method flow schematic diagram that the embodiment of the present invention adjusts picture.Referring to Fig. 1, this method comprises:
Step 101, instant memory peak value, audit memory threshold value corresponding to currently running application scenarios is obtained to match
The corresponding memory threshold allocation list of currently running application scenarios described in table collection is set, the instant memory peak value pair is obtained
The picture scaling answered;
In this step, as an alternative embodiment, instant memory corresponding to currently running application scenarios is obtained
Peak value includes:
The memory peak value at the application scenarios current time of operation is obtained, or within the pre-set instant period,
The average value for calculating the memory peak value of the application scenarios of operation, obtains instant memory peak value.
As an alternative embodiment, the memory peak value for obtaining the application scenarios current time of operation includes:
A11 calls activation class (Activity) service in Android operation system;
A12 obtains memory object by the Activity manager in activation class service;
A13 extracts memory peak value from memory object.
It can use the memory peak value that following program code segments obtain application scenarios:
ActivityManager am=(ActivityManager) mContext.getSystemService
(Context.ACTIVITY_SERVICE);
ActivityManager.MemoryInfo mi=new ActivityManager.MemoryInfo ();
am.getMemoryInfo(mi);
In the program code segments, the letter such as scaling of terminal equipment type and picture can also be further obtained
Breath.
In the embodiment of the present invention, as an alternative embodiment, memory threshold allocation list concentration includes in one or more
Threshold value allocation list is deposited, memory threshold allocation list is mark, the corresponding terminal of each memory threshold allocation list with terminal equipment type
Device type.Be with terminal equipment type mark memory threshold allocation list in, comprising: terminal equipment type, memory peak value,
Application scenarios and scaling (picture scaling).
In the embodiment of the present invention, different application programs is corresponding with different application scenarios, each application package
Containing one or more application program scene, the application scenarios of different application may be the same or different, answer
With application developer simultaneously classification application program scene can be defined according to actual needs.As an alternative embodiment, with a certain
For game application, application scenarios may include: login interface, homepage, the choosing pass page, first pass etc..
In practical application, since the memory size needed when different application programs is run in same terminal device may
Difference, thus, in memory threshold allocation list, application scenarios can be the scene of one or more application program, each
The corresponding memory peak value of application scenarios and a scaling.For example, as an alternative embodiment, memory threshold allocation list
As shown in table 1.
Table 1
Certainly, in practical application, in memory threshold allocation list, one memory threshold can also be set for each application program
Corresponding memory threshold configuration is arranged alternatively, being directed to each application scenarios of each application program in value configuration sublist
Table, in this way, it is subsequent be issued to terminal device when, it is possible to reduce network flow.
By taking the Three Kingdoms game application in table 1 as an example, it is as shown in table 2 that memory threshold configures sublist.
Table 2
In table 2, by taking login interface and first close as an example, following two memory thresholds configuration can also be split as
Table, it is as shown in Table 3 and Table 4 respectively.
Table 3
Table 4
In this way, by being directed to different terminal equipment type and application scenarios, it can be big for different memories
The small corresponding picture scaling of setting, i.e., narrow down to certain proportion for picture, then amplification is shown, by scaling
Clarity after technique compresses picture is shown, although clarity decrease to some degree, can satisfy in each device end
The demand that not a pair of of picture of memory size shows and loads, for example, terminal device lower for some memory sizes, is loading
When pictures, by picture scaling to reduce picture clarity, but it is possible to prevente effectively from application program (for example, game) is transported
Row is more slow, situations such as flashing, pause or game picture are without response occurs, the terminal of smaller memory size is enabled to set
Standby screen-picture continuously displays, and improves application program operational efficiency, avoids the application program experience for influencing user;And for
The higher terminal device of memory size, Load Image collect when, can by no picture scaling or small picture scaling,
To ensure the high-quality display effect of picture;Further, picture is handled by picture scaling, so that saving in memory
Be small picture, it is shown that big picture, can be effectively reduced memory overhead.
Step 102, extract picture to be loaded in the currently running application scenarios, according to the statistics can
The picture extracted with the corresponding picture scaling adjustment of memory peak value, and by the picture of adjustment in the currently running application
It is loaded in program scene;
In this step, the program code segments of picture to be loaded in the currently running application scenarios are extracted such as
Under:
BitmapFactory.Options options=newBitmapFactory.Options ();
Options.inJustDecodeBounds=true;BitmapFactory.decodeResource(getResources
(), R.id.myimage, options);Int imageHeight=options.outHeight;Int imageWidth=
options.outWidth;
After above-mentioned program code segments, the height (imageHeight) of picture to be loaded is wide in available pictures
(imageWidth) information.
Then, equal proportion scaling is carried out to imageHeight and imageWidth.In the embodiment of the present invention, according to obtaining
Scaling adjustment extract picture program code segments it is as follows:
mImageView.setImageBitmap(decodeSampledBitmapFromResource(getResour
Ces (), R.id.myimage, width, height));
Preferably, the picture in pictures is PNG picture.Certainly, in practical application, the picture in pictures may be
The picture of the formats such as JPG, BMP, GIF.
Step 103, the free memory peak value for monitoring and recording the currently running application scenarios, works as in conjunction with described
Terminal device parameter and picture scaling belonging to the application scenarios of preceding operation generate terminal device performance information, and
It is reported to server, so that the server concentrates institute according to the terminal device performance information adjustment memory threshold allocation list reported
State the corresponding memory threshold allocation list of currently running application scenarios.
In this step, as an alternative embodiment, monitors and record the available of the currently running application scenarios
Memory peak value includes:
Timing or not timing monitor the memory peak value of the currently running application scenarios, and record what monitoring obtained
Memory peak value;
Maximum memory peak value is as free memory peak value in the memory peak value of selection record, or chooses the memory peak of record
In value first n big of memory peak value and its average value is calculated as free memory peak value.
The server is currently transported according to the terminal device performance information adjustment memory threshold allocation list collection reported
The corresponding memory threshold allocation list of capable application scenarios includes:
It is corresponding interior to obtain the terminal equipment type according to the terminal equipment type in terminal device performance information by B11
Deposit threshold value allocation list;
B12, in the memory threshold allocation list inquired, the currently running application scenarios and the terminal
The corresponding picture scaling of free memory peak value in device capability information;
B13 judges the picture scaling whether the picture scaling inquired is less than in the terminal device performance information
Ratio is matched if so, turning the corresponding memory threshold of currently running application scenarios described in memory threshold allocation list collection down
The scaling in table is set, if it does, tuning up currently running application scenarios pair described in memory threshold allocation list collection
The scaling in memory threshold allocation list answered is not dealt with if be equal to.
In this step, the picture in the terminal device performance information is equal to for the picture scaling inquired and is scaled
The situation of ratio, without sending memory threshold allocation list to corresponding terminal device.
As another alternative embodiment, server can be according to terminal equipment type, and timing or not timing will be in updates
The memory threshold allocation list for depositing threshold value allocation list concentration is issued to corresponding terminal device, is also possible to terminal device to server
Request is sent to issue the corresponding memory threshold allocation list of the terminal device after server receives request.
As another alternative embodiment, obtaining memory threshold allocation list includes:
After the request for receiving terminal device downloading application program installation kit, by the corresponding memory of the terminal equipment type
Threshold value allocation list carries in application program installation kit, is sent to the terminal device.
In subsequent applications, by terminal device constantly reporting terminal device capability information, server is according to the end reported
It is corresponding that end equipment performance information constantly dynamically adjusts currently running application scenarios described in memory threshold allocation list collection
Memory threshold allocation list carries out dynamic adjustment so as to the picture load to terminal device, to ensure the normal of application program
Operation.
A specific example is lifted below, and the embodiment of the present invention is described in further detail.
Assuming that terminal equipment type is 4 mobile phone of millet, application program is a game.
In the downloading of game installation kit, an initial corresponding memory threshold of 4 mobile phone of millet is obtained from server and is matched
Set table;
Game starts, and by reporting the terminal device performance information of last time game, it is mobile that a millet 4 is obtained from server
The corresponding update memory threshold allocation list of phone.In the embodiment of the present invention, if network can not be connected and not stored have the game
Corresponding memory threshold allocation list can then be drawn according to best 100% image quality ratio;
User starts game, and into first interface (for example, login interface), getting current memory peak value size is
35M, audit memory threshold value allocation list find login interface when memory peak value is 35M, and scaling is 70%, then game is pressed
It goes to draw picture according to 70% scaling, meanwhile, do not stopping to monitor memory peak value from the background, such as during login, monitor
Memory peak value is 45M, and the maximum memory peak value size that will be monitored, i.e., free memory peak value (45M) and the scaling that finds
Ratio (70%) is recorded;
Later, user enters second interface (for example, the first of game closes), obtains also according to above-mentioned monitoring method
To current memory peak value, if the memory peak value got is 25M, the scaling inquired is 93%, then according to 93%
Drafting ratio draw.Equally, it is closed in game first, does not stop the free memory peak value for detecting running game, wait first
After pass, discovery free memory peak value is 35M;
User normally exits game, and the terminal device where game sends following information: the mobile electricity of millet 4 to server
Words;Login interface, scaling are 70%, and free memory peak value is 45M;First closes, and scaling is 93%, free memory peak
Value 35M.
Server counts the information that 4 mobile phone of millet sends over from received information;
Find that, for login interface, the free memory of a large amount of user feedback is all in image quality (pantograph ratio by statistical analysis
Example) 70%, free memory peak value is in 65M, therefore, it is possible to determine that the mobile phone of the type is available with more memories, then
The corresponding memory threshold allocation list of login interface is adjusted, so that more memories can be used in game, there is better image quality.
The corresponding memory threshold allocation list of login interface adjusted is as shown in table 5 for the first time.
Table 5
Free memory peak value | Application scenarios | Scaling |
20M or less | Login interface | 45%- > 50% |
20-25M | Login interface | 50%- > 55% |
25-30M | Login interface | 60%- > 65% |
30-35M | Login interface | 70%- > 75% |
35-40M | Login interface | 80%- > 85% |
40-50M | Login interface | 90%- > 95% |
50M or more | Login interface | 100%- > is constant |
In table 5,45%- > 50% is indicated the scaling in the corresponding memory threshold allocation list of login interface from 45%
It is updated to 50%.
Using the pre-set time, 4 mobile phone of millet within the pre-set time is counted again and is transmitted across
The information come;
Find that, for login interface, the free memory of a large amount of user feedback, can all in image quality 95% by statistical analysis
With memory peak value in 55M, relative to the image quality 90% of first time feedback, free memory peak value is in 65M, therefore, it is possible to which determining should
Also there are the mobile phone of type more memories can be used, then adjusts the corresponding memory threshold allocation list of login interface again, make
Obtaining game can be used more memories, have better image quality.
The corresponding memory threshold allocation list of login interface adjusted is as shown in table 6 (for the second time) again.
Table 6
Free memory peak value | Application scenarios | Scaling |
20M or less | Login interface | 45%- > 50%- > 55% |
20-25M | Login interface | 50%- > 55%- > 60% |
25-30M | Login interface | 60%- > 65%- > 70% |
30-35M | Login interface | 70%- > 75%- > 80% |
35-40M | Login interface | 80%- > 85%- > 90% |
40-50M | Login interface | 90%- > 95%- > 100% |
50M or more | Login interface | 100%- > is constant, and-> is constant |
In subsequent applications, pass through for the third time the pre-set time, statistics millet 4 within the pre-set time is mobile
The information that phone sends over;
Found by statistical analysis, for login interface, the free memory of a large amount of user feedback all in image quality 100%,
Free memory peak value is in 35M, and relative to the image quality 95% of second of feedback, free memory peak value is in 55M, therefore, it is possible to determine
The memory overhead of the mobile phone setting of the type is excessive, needs to turn down the corresponding memory threshold allocation list of login interface.
The corresponding memory threshold allocation list of (third time) login interface adjusted is as shown in table 7.
Table 7
In subsequent applications, the 4th time by pre-set time, statistics movement of millet 4 within the pre-set time
The information that phone sends over;
Find that, for login interface, the free memory of a large amount of user feedback, can all in image quality 97% by statistical analysis
With memory peak value in 45M, memory threshold allocation list corresponding with third time login interface adjusted matches, illustrates current
The corresponding memory threshold allocation list of login interface is suitble to terminal equipment type to be the terminal device of 4 mobile phone of millet.
It certainly, can also be according to the terminal device performance information dynamic adjustment memory threshold of reporting of user in subsequent applications
Allocation list.
From the foregoing, it can be seen that the embodiment of the present invention adjustment picture method, by for different terminal equipment types with
And application scenarios, corresponding picture scaling can be set for different memory sizes, and to the pantograph ratio of picture
Example carries out dynamic control and load, can dynamically change the image quality of the application program run in terminal device in real time, though
So reduce image quality, but avoid because Load Image it is excessive and the case where lead to low memory, to meet each device end
The demand that not a pair of of picture of middle memory size shows and loads, enables to the screen-picture of the terminal device of smaller memory size
It continuously displays, improves application program operational efficiency, avoid the application program experience for influencing user;Further, pass through picture
Scaling handles picture, so that is saved in memory is small picture, it is shown that big picture, can be effectively reduced memory and open
Pin.
Fig. 2 is another flow diagram of method that the embodiment of the present invention adjusts picture.Referring to fig. 2, this method comprises:
Step 201, the terminal device performance information that each terminal device reports, the terminal device performance information packet are received
It includes: in application scenarios title, the free memory peak value of application scenarios, terminal equipment type and application scenarios
Picture scaling, classify according to the terminal equipment type in terminal device performance information;
In this step, the terminal device performance information of the corresponding classification of each terminal equipment type, i.e. a classified terminal
Device capability information.
Step 202, according to the application scenarios title in terminal device performance information, to the terminal device of each classification
Performance information carries out subseries again, obtains secondary classification terminal device performance information;
In this step, for a classified terminal device capability information, divided again according to application scenarios title
Class, the corresponding secondary classification terminal device performance information of each application scenarios (title).
Step 203, for each secondary classification terminal device performance information, the secondary classification terminal device is counted respectively
Picture scaling and free memory peak value in energy information;
In this step, as an alternative embodiment, the free memory in the secondary classification terminal device performance information is counted
Peak value includes:
In the secondary classification terminal device performance information, the frequency that each free memory peak value occurs is counted, will be occurred
Free memory peak value of the most free memory peak value of the frequency as statistics.
As another alternative embodiment, the free memory peak value packet in the secondary classification terminal device performance information is counted
It includes:
In the secondary classification terminal device performance information, the frequency that each free memory peak value occurs is counted, by each frequency
Secondary free memory peak value is weighted and averaged, the free memory peak value counted.
In the embodiment of the present invention, the method for counting picture scaling is identical as the statistics method of free memory peak value,
This is repeated no more.
Step 204, the corresponding memory threshold allocation list of the secondary classification terminal device performance information is inquired, is counted
The corresponding picture scaling of free memory peak value;
Step 205, it is somebody's turn to do according to described in the corresponding picture scaling of the free memory peak value of the statistics and statistics
It is corresponding that picture scaling in secondary classification terminal device performance information adjusts the secondary classification terminal device performance information
Memory threshold allocation list in picture scaling, and the memory threshold allocation list of adjustment is issued to described secondary point
The corresponding terminal device of Terminal Type device capability information, so that terminal device is according to corresponding to currently running application scenarios
Instant memory peak value and memory threshold allocation list adjustment be loaded onto the pictures of currently running application scenarios.
The corresponding picture pantograph ratio of free memory peak value in this step, as an alternative embodiment, according to the statistics
It is whole that picture scaling in the described secondary classification terminal device performance information of example and statistics adjusts the secondary classification
Picture scaling in the corresponding memory threshold allocation list of end equipment performance information includes:
Judge whether to be greater than statistics described by the corresponding picture scaling of the free memory peak value of the statistics that this is secondary
Picture scaling in classified terminal device capability information, if so, the secondary classification terminal device performance information is turned up
Picture scaling in corresponding memory threshold allocation list, if it is lower, turning down the secondary classification terminal device performance letter
The picture scaling ceased in corresponding memory threshold allocation list is not dealt with if be equal to.
As another alternative embodiment, terminal device is according to instant memory corresponding to currently running application scenarios
Peak value and memory threshold allocation list adjustment are loaded onto the pictures of currently running application scenarios and include:
C11 obtains instant memory peak value, the memory threshold of inquire-receive corresponding to currently running application scenarios
Allocation list obtains the corresponding picture scaling of the instant memory peak value;
C12 extracts picture to be loaded in the currently running application scenarios, according to the available interior of the statistics
The picture that the corresponding picture scaling adjustment of peak value is extracted is deposited, and by the picture of adjustment in the currently running application program
It is loaded in scene.
C13 monitors and records the free memory peak value of the currently running application scenarios, in conjunction with the current fortune
Terminal device parameter and picture scaling belonging to capable application scenarios generate terminal device performance information, and to clothes
Business device reports.
Fig. 3 is the picture regulating device structural schematic diagram of the embodiment of the present invention.Referring to Fig. 3, which is terminal device, packet
Include: picture scaling obtains module 301, picture adjustment module 302 and terminal device performance information reporting module 303,
In,
Picture scaling obtains module 301, instant interior corresponding to currently running application scenarios for obtaining
Peak value is deposited, the corresponding memory threshold allocation list of currently running application scenarios described in audit memory threshold value allocation list collection,
Obtain the corresponding picture scaling of the instant memory peak value;
In the embodiment of the present invention, as an alternative embodiment, it includes: instant memory that picture scaling, which obtains module 301,
Peak value acquiring unit 41 and picture scaling acquiring unit 42, referring to fig. 4, Fig. 4 are that the picture of the embodiment of the present invention scales
Ratio obtains modular structure schematic diagram, wherein
Instant memory peak value acquiring unit 41, the memory peak value at the application scenarios current time for obtaining operation,
Or within the pre-set instant period, the average value of the memory peak value of the application scenarios of operation is calculated, is obtained immediately
Memory peak value;
Picture scaling acquiring unit 42 applies journey for currently running described in audit memory threshold value allocation list collection
The corresponding memory threshold allocation list of sequence scene obtains the corresponding picture scaling of the instant memory peak value.
Picture adjusts module 302, for extracting picture to be loaded in the currently running application scenarios, according to
The picture that the corresponding picture scaling adjustment of the free memory peak value of the statistics is extracted, and the picture of adjustment is worked as described
It is loaded in the application scenarios of preceding operation;
Terminal device performance information reporting module 303, for monitoring and recording the currently running application scenarios
Free memory peak value, the terminal device parameter in conjunction with belonging to the currently running application scenarios and picture pantograph ratio
Example generates terminal device performance information, and reports to server, so that the server is believed according to the terminal device performance reported
The corresponding memory threshold allocation list of currently running application scenarios described in breath adjustment memory threshold allocation list collection.
In the embodiment of the present invention, as an alternative embodiment, terminal device performance information reporting module 303 includes: monitoring
Unit 51 and terminal device performance information reporting unit 52 are the terminal device performance of the embodiment of the present invention referring to Fig. 5, Fig. 5
Information reporting modular structure schematic diagram, wherein
Monitoring unit 51 monitors the memory peak value of the currently running application scenarios for timing or not timing,
And record the memory peak value that monitoring obtains;Maximum memory peak value is chosen in the memory peak value of record as free memory peak value,
Or it chooses first n big of memory peak value in the memory peak value recorded and calculates its average value as free memory peak value;
Terminal device performance information reporting unit 52, for currently running answering the free memory peak value in conjunction with described
Terminal device parameter and picture scaling belonging to program scene generate terminal device performance information, and on server
Report, so that the server is currently run according to the terminal device performance information adjustment memory threshold allocation list collection reported
The corresponding memory threshold allocation list of application scenarios.
Fig. 6 is another structural schematic diagram of picture regulating device of the embodiment of the present invention.Referring to Fig. 6, which is server,
Include: the first categorization module 401, the second categorization module 402, statistical module 403, enquiry module 404 and adjustment module 405,
Wherein,
First categorization module 401, the terminal device performance information reported for receiving each terminal device, the terminal device
Performance information includes: free memory peak value, terminal equipment type and the application of application scenarios title, application scenarios
Picture scaling in program scene is classified according to the terminal equipment type in terminal device performance information;
Second categorization module 402, for the application scenarios title in foundation terminal device performance information, to each point
The terminal device performance information of class carries out subseries again, obtains secondary classification terminal device performance information;
In the embodiment of the present invention, for a classified terminal device capability information, carried out according to application scenarios title
Subseries again, the corresponding secondary classification terminal device performance information of each application scenarios (title).
Statistical module 403 counts secondary classification end for being directed to each secondary classification terminal device performance information respectively
Picture scaling and free memory peak value in end equipment performance information;
In the embodiment of the present invention, as an alternative embodiment, count in the secondary classification terminal device performance information can
Include: with memory peak value
In the secondary classification terminal device performance information, the frequency that each free memory peak value occurs is counted, will be occurred
Free memory peak value of the most free memory peak value of the frequency as statistics.
As another alternative embodiment, the free memory peak value packet in the secondary classification terminal device performance information is counted
It includes:
In the secondary classification terminal device performance information, the frequency that each free memory peak value occurs is counted, by each frequency
Secondary free memory peak value is weighted and averaged, the free memory peak value counted.
In the embodiment of the present invention, the method for counting picture scaling is identical as the statistics method of free memory peak value,
This is repeated no more.
Enquiry module 404, for inquiring the corresponding memory threshold allocation list of the secondary classification terminal device performance information,
The corresponding picture scaling of the free memory peak value counted;
Module 405 is adjusted, for the corresponding picture scaling of free memory peak value and statistics according to the statistics
The described secondary classification terminal device performance information in picture scaling adjust the secondary classification terminal device performance
Picture scaling in the corresponding memory threshold allocation list of information, and the memory threshold allocation list of adjustment is issued to institute
The corresponding terminal device of secondary classification terminal device performance information is stated, so that terminal device is according to currently running application program field
Instant memory peak value corresponding to scape and memory threshold allocation list adjustment are loaded onto currently running application scenarios
Picture.
In the embodiment of the present invention, as an alternative embodiment, adjusting module 405 includes: adjustment unit and issuance unit
(not shown), wherein
Whether adjustment unit, the corresponding picture scaling of free memory peak value for judging the statistics are greater than statistics
The described secondary classification terminal device performance information in picture scaling, if so, the secondary classification terminal is turned up
Picture scaling in the corresponding memory threshold allocation list of device capability information, if it is lower, it is whole to turn down the secondary classification
Picture scaling in the corresponding memory threshold allocation list of end equipment performance information is not dealt with if be equal to;
Issuance unit, for the memory threshold allocation list of adjustment to be issued to the secondary classification terminal device performance
The corresponding terminal device of information, so that terminal device is according to instant memory peak value corresponding to currently running application scenarios
And the memory threshold allocation list adjustment is loaded onto the picture of currently running application scenarios.
As another alternative embodiment, terminal device is according to instant memory corresponding to currently running application scenarios
Peak value and memory threshold allocation list adjustment are loaded onto the pictures of currently running application scenarios and include:
Obtain instant memory peak value corresponding to currently running application scenarios, the memory threshold configuration of inquire-receive
Table obtains the corresponding picture scaling of the instant memory peak value;
Picture to be loaded in the currently running application scenarios is extracted, according to the free memory peak of the statistics
It is worth the picture that corresponding picture scaling adjustment is extracted, and by the picture of adjustment in the currently running application scenarios
In loaded.
The free memory peak value for monitoring and recording the currently running application scenarios, in conjunction with described currently running
Terminal device parameter and picture scaling belonging to application scenarios generate terminal device performance information, and to server
It reports.
Fig. 7 is that the picture of the embodiment of the present invention adjusts system structure diagram.Referring to Fig. 7, which includes: terminal device
501 and server 502, wherein
Terminal device 501, for obtaining instant memory peak value corresponding to currently running application scenarios, inquiry clothes
The corresponding memory threshold allocation list of the currently running application scenarios that business device issues, obtains the instant memory peak value
Corresponding picture scaling;Picture to be loaded in the currently running application scenarios is extracted, according to the statistics
The picture that extracts of free memory peak value corresponding picture scaling adjustment, and by the picture of adjustment described currently running
It is loaded in application scenarios;The free memory peak value of the currently running application scenarios is monitored and recorded, is tied
Terminal device parameter belonging to the currently running application scenarios and picture scaling are closed, terminal device performance is generated
Information, and reported to server;
Server 502, the terminal device performance information reported for receiving each terminal device, the terminal device performance letter
Breath includes: application scenarios title, the free memory peak value of application scenarios, terminal equipment type and application program field
Picture scaling in scape is classified according to the terminal equipment type in terminal device performance information;According to terminal device
Application scenarios title in performance information carries out subseries again to the terminal device performance information of each classification, obtains two
Subseries terminal device performance information;For each secondary classification terminal device performance information, secondary classification end is counted respectively
Picture scaling and free memory peak value in end equipment performance information;Inquire the secondary classification terminal device performance letter
Corresponding memory threshold allocation list is ceased, the corresponding picture scaling of the free memory peak value counted;According to the statistics
The corresponding picture scaling of free memory peak value and statistics the described secondary classification terminal device performance information in
Picture scaling adjusts the scaling of the picture in the corresponding memory threshold allocation list of the secondary classification terminal device performance information
Ratio, and the memory threshold allocation list of adjustment is issued to the corresponding terminal of the secondary classification terminal device performance information
Equipment.
In the embodiment of the present invention, as an alternative embodiment, terminal device 501 include: picture scaling obtain module,
Picture adjusts module and terminal device performance information reporting module, referring to Fig. 3, wherein
Picture scaling obtains module, for obtaining instant memory peak corresponding to currently running application scenarios
Value, the corresponding memory threshold allocation list of currently running application scenarios described in audit memory threshold value allocation list collection, obtains
The corresponding picture scaling of the instant memory peak value;
Picture adjusts module, for extracting picture to be loaded in the currently running application scenarios, according to institute
The picture that the corresponding picture scaling adjustment of free memory peak value of statistics is extracted is stated, and by the picture of adjustment described current
It is loaded in the application scenarios of operation;
Terminal device performance information reporting module, can for monitor and record the currently running application scenarios
With memory peak value, the terminal device parameter in conjunction with belonging to the currently running application scenarios and picture scaling are raw
It is reported at terminal device performance information, and to server.
As another alternative embodiment, server 502 include: the first categorization module, the second categorization module, statistical module,
Enquiry module and adjustment module, referring to Fig. 6, wherein
First categorization module, the terminal device performance information reported for receiving each terminal device, the terminal device
Energy information includes: application scenarios title, the free memory peak value of application scenarios, terminal equipment type and applies journey
Picture scaling in sequence scene is classified according to the terminal equipment type in terminal device performance information;
Second categorization module, for the application scenarios title in foundation terminal device performance information, to each classification
Terminal device performance information carry out subseries again, obtain secondary classification terminal device performance information;
Statistical module counts the secondary classification terminal for being directed to each secondary classification terminal device performance information respectively
Picture scaling and free memory peak value in device capability information;
Enquiry module is obtained for inquiring the corresponding memory threshold allocation list of the secondary classification terminal device performance information
To the corresponding picture scaling of free memory peak value of statistics;
Module is adjusted, for the corresponding picture scaling of free memory peak value according to the statistics and the institute of statistics
The picture scaling stated in the secondary classification terminal device performance information adjusts the secondary classification terminal device performance information
Picture scaling in corresponding memory threshold allocation list, and the memory threshold allocation list of adjustment is issued to described two
The corresponding terminal device of subseries terminal device performance information.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (16)
1. a kind of method for adjusting picture, which is characterized in that this method comprises:
Instant memory peak value corresponding to currently running application scenarios is obtained, described in audit memory threshold value allocation list collection
The corresponding memory threshold allocation list of currently running application scenarios obtains the corresponding picture scaling of the instant memory peak value
Ratio;
Picture to be loaded in the currently running application scenarios is extracted, according to the instant memory peak value pair of the statistics
Answer picture scaling adjustment extract picture, and by the picture of adjustment in the currently running application scenarios into
Row load;
The free memory peak value for monitoring and recording the currently running application scenarios, in conjunction with the currently running application
Terminal device parameter and picture scaling belonging to program scene generate terminal device performance information, and report to server,
It is currently transported described in the memory threshold allocation list collection so that the server is adjusted according to the terminal device performance information reported
The corresponding memory threshold allocation list of capable application scenarios.
2. the method according to claim 1, wherein described monitor and record the currently running application program
The free memory peak value of scene includes:
Timing or not timing monitor the memory peak value of the currently running application scenarios, and record the memory that monitoring obtains
Peak value;
Maximum memory peak value is as free memory peak value in the memory peak value of selection record, or chooses in the memory peak value of record
First n big of memory peak value simultaneously calculates its average value as free memory peak value.
3. the method according to claim 1, wherein described obtain corresponding to currently running application scenarios
Instant memory peak value include:
The memory peak value at the application scenarios current time of operation is obtained, or within the pre-set instant period, calculated
The average value of the memory peak value of the application scenarios of operation obtains instant memory peak value.
4. the method according to claim 1, wherein obtaining the memory threshold allocation list and including:
After the request for receiving terminal device downloading application program installation kit, by the corresponding memory threshold of the terminal equipment type
Allocation list carries in application program installation kit, is sent to the terminal device.
5. the method according to claim 1, wherein described corresponding according to the free memory peak value of the statistics
Picture scaling adjusts the picture extracted
Obtain the high information of picture to be loaded and wide information in the currently running application scenarios;
The high information and wide information to acquisition carry out equal proportion scaling.
6. a kind of method for adjusting picture, which is characterized in that this method comprises:
The terminal device performance information that each terminal device reports is received, the terminal device performance information includes: application program field
Picture pantograph ratio in scape title, the free memory peak value of application scenarios, terminal equipment type and application scenarios
Example is classified according to the terminal equipment type in terminal device performance information;
According to the application scenarios title in terminal device performance information, the terminal device performance information of each classification is carried out
Subseries again obtains secondary classification terminal device performance information;
For each secondary classification terminal device performance information, the figure in the secondary classification terminal device performance information is counted respectively
Piece scaling and free memory peak value;
Inquire the corresponding memory threshold allocation list of the secondary classification terminal device performance information, the free memory peak counted
It is worth corresponding picture scaling;
The secondary classification terminal described in the corresponding picture scaling of free memory peak value and statistics according to the statistics
Picture scaling in device capability information adjusts the corresponding memory threshold of the secondary classification terminal device performance information and matches
The picture scaling in table is set, the memory threshold allocation list adjusted is issued to the secondary classification terminal device
The corresponding terminal device of performance information makes the terminal device according to instant interior corresponding to currently running application scenarios
It deposits peak value and memory threshold allocation list adjustment is loaded onto the picture of currently running application scenarios.
7. according to the method described in claim 6, it is characterized in that, in described statistics secondary classification terminal device performance information
Free memory peak value include:
In the secondary classification terminal device performance information, the frequency that each free memory peak value occurs is counted, by frequency of occurrence
Free memory peak value of most free memory peak values as statistics;Or
In the secondary classification terminal device performance information, the frequency that each free memory peak value occurs is counted, by each frequency
Free memory peak value is weighted and averaged, the free memory peak value counted.
8. method according to claim 6 or 7, which is characterized in that the free memory peak value pair according to the statistics
Picture scaling adjustment in the described secondary classification terminal device performance information of the picture scaling and statistics answered
Picture scaling in the corresponding memory threshold allocation list of the secondary classification terminal device performance information includes:
Judge whether the corresponding picture scaling of the free memory peak value of the statistics is greater than the described secondary classification of statistics
Picture scaling in terminal device performance information, if so, it is corresponding that the secondary classification terminal device performance information is turned up
Memory threshold allocation list in picture scaling, if it is lower, turning down the secondary classification terminal device performance information pair
The picture scaling in memory threshold allocation list answered is not dealt with if be equal to.
9. a kind of picture regulating device, which is characterized in that the device includes: that picture scaling obtains module, picture adjustment mould
Block and terminal device performance information reporting module, wherein
Picture scaling obtains module, for obtaining instant memory peak value corresponding to currently running application scenarios,
The corresponding memory threshold allocation list of currently running application scenarios described in audit memory threshold value allocation list collection obtains described
Immediately the corresponding picture scaling of memory peak value;
Picture adjusts module, for extracting picture to be loaded in the currently running application scenarios, according to the system
The picture that the corresponding picture scaling adjustment of the instant memory peak value of meter is extracted, and by the picture of adjustment in the current operation
Application scenarios in loaded;
Terminal device performance information reporting module, for monitoring and recording the available interior of the currently running application scenarios
Peak value is deposited, the terminal device parameter in conjunction with belonging to the currently running application scenarios and picture scaling generate eventually
End equipment performance information, and reported to server, so that the server is according in the terminal device performance information adjustment reported
Deposit the corresponding memory threshold allocation list of currently running application scenarios described in threshold value allocation list collection.
10. device according to claim 9, which is characterized in that the terminal device performance information reporting module includes: prison
Survey unit and terminal device performance information reporting unit, wherein
Monitoring unit monitors the memory peak value of the currently running application scenarios for timing or not timing, and records
Monitor obtained memory peak value;Maximum memory peak value is as free memory peak value in the memory peak value of selection record, or chooses
In the memory peak value of record first n big of memory peak value and its average value is calculated as free memory peak value;
Terminal device performance information reporting unit is used for the free memory peak value in conjunction with the currently running application program
Terminal device parameter and picture scaling belonging to scene generate terminal device performance information, and report to server, so that
The server currently running application according to the terminal device performance information adjustment memory threshold allocation list collection reported
The corresponding memory threshold allocation list of program scene.
11. device according to claim 9 or 10, which is characterized in that it includes: i.e. that the picture scaling, which obtains module,
When memory peak value acquiring unit and picture scaling acquiring unit, wherein
Instant memory peak value acquiring unit, the memory peak value at the application scenarios current time for obtaining operation, or pre-
In the instant period being first arranged, the average value of the memory peak value of the application scenarios of operation is calculated, obtains instant memory peak
Value;
Picture scaling acquiring unit, for currently running application scenarios described in audit memory threshold value allocation list collection
Corresponding memory threshold allocation list obtains the corresponding picture scaling of the instant memory peak value.
12. a kind of picture regulating device, which is characterized in that the device includes: the first categorization module, the second categorization module, statistics
Module, enquiry module and adjustment module, wherein
First categorization module, the terminal device performance information reported for receiving each terminal device, the terminal device performance letter
Breath includes: application scenarios title, the free memory peak value of application scenarios, terminal equipment type and application program field
Picture scaling in scape is classified according to the terminal equipment type in terminal device performance information;
Second categorization module, for the application scenarios title in foundation terminal device performance information, to the end of each classification
End equipment performance information carries out subseries again, obtains secondary classification terminal device performance information;
Statistical module counts the secondary classification terminal device for being directed to each secondary classification terminal device performance information respectively
Picture scaling and free memory peak value in performance information;
Enquiry module is united for inquiring the corresponding memory threshold allocation list of the secondary classification terminal device performance information
The corresponding picture scaling of the free memory peak value of meter;
Adjust module, for according to the statistics the corresponding picture scaling of free memory peak value and statistics described in should
It is corresponding that picture scaling in secondary classification terminal device performance information adjusts the secondary classification terminal device performance information
Memory threshold allocation list in picture scaling, and the memory threshold allocation list of adjustment is issued to described secondary point
The corresponding terminal device of Terminal Type device capability information, so that terminal device is according to corresponding to currently running application scenarios
Instant memory peak value and memory threshold allocation list adjustment be loaded onto the pictures of currently running application scenarios.
13. device according to claim 12, which is characterized in that the adjustment module includes: adjustment unit and issues
Unit, wherein
Whether adjustment unit, the corresponding picture scaling of free memory peak value for judging the statistics are greater than the institute of statistics
The picture scaling in the secondary classification terminal device performance information is stated, if so, the secondary classification terminal device is turned up
Picture scaling in the corresponding memory threshold allocation list of performance information is set if it is lower, turning down the secondary classification terminal
Picture scaling in the standby corresponding memory threshold allocation list of performance information is not dealt with if be equal to;
Issuance unit, for the memory threshold allocation list of adjustment to be issued to the secondary classification terminal device performance information
Corresponding terminal device so that terminal device according to instant memory peak value corresponding to currently running application scenarios and
The memory threshold allocation list adjustment is loaded onto the picture of currently running application scenarios.
14. a kind of picture adjusts system, which is characterized in that the system includes: terminal device and server, wherein
Terminal device, for obtaining instant memory peak value corresponding to currently running application scenarios, under query service device
The corresponding memory threshold allocation list of the currently running application scenarios of hair, it is corresponding to obtain the instant memory peak value
Picture scaling;Picture to be loaded in the currently running application scenarios is extracted, according to the instant of the statistics
The picture that the corresponding picture scaling adjustment of memory peak value is extracted, and by the picture of adjustment described currently running using journey
It is loaded in sequence scene;The free memory peak value for monitoring and recording the currently running application scenarios, in conjunction with described
Terminal device parameter and picture scaling belonging to currently running application scenarios generate terminal device performance information,
And it is reported to server;
Server, the terminal device performance information reported for receiving each terminal device, the terminal device performance information include:
In application scenarios title, the free memory peak value of application scenarios, terminal equipment type and application scenarios
Picture scaling is classified according to the terminal equipment type in terminal device performance information;Believe according to terminal device performance
Application scenarios title in breath carries out subseries again to the terminal device performance information of each classification, obtains secondary classification
Terminal device performance information;For each secondary classification terminal device performance information, the secondary classification terminal device is counted respectively
Picture scaling and free memory peak value in performance information;It is corresponding to inquire the secondary classification terminal device performance information
Memory threshold allocation list, the corresponding picture scaling of the free memory peak value counted;According to the available of the statistics
Picture contracting in the corresponding picture scaling of memory peak value and the described secondary classification terminal device performance information of statistics
The ratio of putting adjusts the picture scaling in the corresponding memory threshold allocation list of the secondary classification terminal device performance information, and
The memory threshold allocation list of adjustment is issued to the corresponding terminal device of the secondary classification terminal device performance information.
15. system according to claim 14, which is characterized in that the terminal device includes: that picture scaling obtains
Module, picture adjustment module and terminal device performance information reporting module, wherein
Picture scaling obtains module, for obtaining instant memory peak value corresponding to currently running application scenarios,
The corresponding memory threshold allocation list of currently running application scenarios described in audit memory threshold value allocation list collection obtains described
Immediately the corresponding picture scaling of memory peak value;
Picture adjusts module, for extracting picture to be loaded in the currently running application scenarios, according to the system
The picture that the corresponding picture scaling adjustment of the instant memory peak value of meter is extracted, and by the picture of adjustment in the current operation
Application scenarios in loaded;
Terminal device performance information reporting module, for monitoring and recording the available interior of the currently running application scenarios
Peak value is deposited, the terminal device parameter in conjunction with belonging to the currently running application scenarios and picture scaling generate eventually
End equipment performance information, and reported to server.
16. system according to claim 14 or 15, which is characterized in that the server includes: the first categorization module,
Two categorization modules, statistical module, enquiry module and adjustment module, wherein
First categorization module, the terminal device performance information reported for receiving each terminal device, the terminal device performance letter
Breath includes: application scenarios title, the free memory peak value of application scenarios, terminal equipment type and application program field
Picture scaling in scape is classified according to the terminal equipment type in terminal device performance information;
Second categorization module, for the application scenarios title in foundation terminal device performance information, to the end of each classification
End equipment performance information carries out subseries again, obtains secondary classification terminal device performance information;
Statistical module counts the secondary classification terminal device for being directed to each secondary classification terminal device performance information respectively
Picture scaling and free memory peak value in performance information;
Enquiry module is united for inquiring the corresponding memory threshold allocation list of the secondary classification terminal device performance information
The corresponding picture scaling of the free memory peak value of meter;
Adjust module, for according to the statistics the corresponding picture scaling of free memory peak value and statistics described in should
It is corresponding that picture scaling in secondary classification terminal device performance information adjusts the secondary classification terminal device performance information
Memory threshold allocation list in picture scaling, and the memory threshold allocation list of adjustment is issued to described secondary point
The corresponding terminal device of Terminal Type device capability information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510553072.3A CN105183560B (en) | 2015-09-01 | 2015-09-01 | Method for adjusting picture, picture adjusting device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510553072.3A CN105183560B (en) | 2015-09-01 | 2015-09-01 | Method for adjusting picture, picture adjusting device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105183560A CN105183560A (en) | 2015-12-23 |
CN105183560B true CN105183560B (en) | 2019-03-26 |
Family
ID=54905655
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510553072.3A Active CN105183560B (en) | 2015-09-01 | 2015-09-01 | Method for adjusting picture, picture adjusting device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105183560B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107018061B (en) * | 2016-11-17 | 2020-12-25 | 深圳市沃特沃德股份有限公司 | Method and device for releasing state information |
CN107147583A (en) * | 2017-04-25 | 2017-09-08 | 上海斐讯数据通信技术有限公司 | A kind of intelligent assistance processing method and intelligent assistance processing wireless router |
CN107179947A (en) * | 2017-04-26 | 2017-09-19 | 武汉斗鱼网络科技有限公司 | A kind of network picture method for down loading and system for mobile terminal |
US11182210B2 (en) | 2017-07-31 | 2021-11-23 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for resource allocation and terminal device |
CN107426432B (en) * | 2017-07-31 | 2019-09-17 | Oppo广东移动通信有限公司 | Resource allocation method and Related product |
CN107832142B (en) * | 2017-10-11 | 2020-06-09 | Oppo广东移动通信有限公司 | Resource allocation method and equipment for application program |
CN107783803B (en) * | 2017-11-21 | 2021-04-06 | Oppo广东移动通信有限公司 | System optimization method and device of intelligent terminal, storage medium and intelligent terminal |
CN109992406B (en) * | 2017-12-29 | 2022-06-07 | 北京京东尚科信息技术有限公司 | Picture request method, picture request response method and client |
CN108786112B (en) * | 2018-04-26 | 2024-03-12 | 腾讯科技(上海)有限公司 | Application scene configuration method, device and storage medium |
CN113051010B (en) * | 2019-12-28 | 2023-04-28 | Oppo(重庆)智能科技有限公司 | Application picture adjustment method and related device in wearable equipment |
CN110809162B (en) * | 2020-01-07 | 2020-04-03 | 南京甄视智能科技有限公司 | Picture compression method, compression device, computer system and computer readable medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102650946A (en) * | 2012-03-22 | 2012-08-29 | 杭州梵艺科技有限公司 | Method for loading and displaying graphical interface at hand-held terminal |
CN103399802A (en) * | 2013-07-30 | 2013-11-20 | Tcl集团股份有限公司 | Method and device for preloading of picture |
CN103530079A (en) * | 2013-09-30 | 2014-01-22 | 山西云途信息技术有限公司 | Picture displaying method and device adaptive to mobile terminals of different resolution ratios |
CN103677942A (en) * | 2013-12-30 | 2014-03-26 | Tcl集团股份有限公司 | Method and device for browsing network pictures at mobile terminal |
CN104267800A (en) * | 2014-09-19 | 2015-01-07 | 上海联彤网络通讯技术有限公司 | Method for implementing automatic adjustment of display resolution of application in operating system |
CN104268826A (en) * | 2014-09-16 | 2015-01-07 | 广州市久邦数码科技有限公司 | Texture image management method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4483782B2 (en) * | 2003-04-03 | 2010-06-16 | パナソニック株式会社 | Movie processing device |
-
2015
- 2015-09-01 CN CN201510553072.3A patent/CN105183560B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102650946A (en) * | 2012-03-22 | 2012-08-29 | 杭州梵艺科技有限公司 | Method for loading and displaying graphical interface at hand-held terminal |
CN103399802A (en) * | 2013-07-30 | 2013-11-20 | Tcl集团股份有限公司 | Method and device for preloading of picture |
CN103530079A (en) * | 2013-09-30 | 2014-01-22 | 山西云途信息技术有限公司 | Picture displaying method and device adaptive to mobile terminals of different resolution ratios |
CN103677942A (en) * | 2013-12-30 | 2014-03-26 | Tcl集团股份有限公司 | Method and device for browsing network pictures at mobile terminal |
CN104268826A (en) * | 2014-09-16 | 2015-01-07 | 广州市久邦数码科技有限公司 | Texture image management method and system |
CN104267800A (en) * | 2014-09-19 | 2015-01-07 | 上海联彤网络通讯技术有限公司 | Method for implementing automatic adjustment of display resolution of application in operating system |
Also Published As
Publication number | Publication date |
---|---|
CN105183560A (en) | 2015-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105183560B (en) | Method for adjusting picture, picture adjusting device and system | |
CN105281981A (en) | Data traffic monitoring method and device for network service | |
CN106713734B (en) | Automatic focusing method and device | |
WO2016184048A1 (en) | Method and device for frequency management for multi-core processor cpu | |
CN111158455A (en) | Power consumption control method and device, storage medium and terminal | |
CN109726885A (en) | Electricity consumption anomaly assessment method, apparatus, equipment and computer storage medium | |
Kim et al. | Signal strength-aware adaptive offloading with local image preprocessing for energy efficient mobile devices | |
CN112399448B (en) | Wireless communication optimization method and device, electronic equipment and storage medium | |
US8997132B1 (en) | System and method for identifying computer systems being used by viewers of television programs | |
CN107835101A (en) | Method and device, the terminal of pressure test are carried out to server | |
CN107148072A (en) | The acquisition methods and system of a kind of target resource parameter of intelligent terminal application | |
CN107943570B (en) | Application management method and device, storage medium and electronic equipment | |
CN104902013A (en) | Service management system with closed-loop service quality feedback and method thereof | |
CN110830551A (en) | Service request processing method, device and system | |
CN111819550B (en) | Data processing method and network equipment | |
CN113055423B (en) | Policy pushing method, policy execution method, device, equipment and medium | |
CN109725836A (en) | User's context compression method and device | |
CN112969193B (en) | Interference determination method, device and equipment for wireless network | |
CN104657278A (en) | Client side performance evaluation method and system | |
CN115037665B (en) | Equipment testing method and device | |
CN110708370A (en) | Data processing method and terminal | |
CN112422370B (en) | Method and device for determining voice call quality | |
CN114924965A (en) | Performance prediction system for software development based on Internet | |
CN107705154A (en) | Electricity statistical method, system, Cloud Server, household electrical appliances and readable storage medium storing program for executing | |
CN113660512A (en) | Audio processing method, device, server and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |