CN103809972B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN103809972B CN103809972B CN201410046214.2A CN201410046214A CN103809972B CN 103809972 B CN103809972 B CN 103809972B CN 201410046214 A CN201410046214 A CN 201410046214A CN 103809972 B CN103809972 B CN 103809972B
- Authority
- CN
- China
- Prior art keywords
- application
- wicket
- parameter
- electronic equipment
- graphics cache
- 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 invention discloses a kind of information processing method and electronic equipment, described information processing method is applied in the electronic equipment with touch-display unit, and the electronic equipment can run N number of first application, and N is positive integer;When starting first application by destination object corresponding to the described first application, first application started can be shown in the touch-display unit by wicket;The viewing area of the wicket is less than the viewing area of the full screen window of the described first application, and the wicket enters line translation to the full screen window by the first parameter and obtained;Methods described includes:Obtain the first parameter of the wicket of first application;It is that the described first application distributes figure spatial cache based on first parameter;The graphics cache space of the wicket of first application is less than the graphics cache space of the full screen window of the described first application;Utilize the graphics cache data of graphics cache space storage first application.
Description
Technical field
The present invention relates to the information processing technology, more particularly to a kind of information processing method and electronic equipment.
Background technology
In the early stage of development of mobile terminal, the screen size of mobile terminal is all smaller, screen resolution ratio is relatively low, moves
The operating system such as Android of dynamic terminal(Android)System can only provide the application function of single window, in this single window only
An application program can be shown;I.e. operating system only allows an application program to be in foreground, and is interacted with user.But
It is, with the raising of the resolution ratio of the fast development of mobile terminal hardware, especially screen and the increasing of size, Android systems
This single window application of system can not meet the needs of user, and user urgently needs the operating system of mobile terminal can
The application function of multiwindow is provided.
Based on this, when user shows each application by multiple wickets, each wicket is required for very big figure to delay
Space is deposited to store the graphics cache data of application, this seriously consumes the internal memory of electronic equipment, and can also influence Android
The normal operation of system.
The content of the invention
In order to solve the above technical problems, the embodiments of the invention provide a kind of information processing method and electronic equipment.
Information processing method provided in an embodiment of the present invention is applied in the electronic equipment with touch-display unit, described
Electronic equipment can run N number of first application, and N is positive integer;By described in destination object startup corresponding to the described first application
During the first application, first application started can be shown in the touch-display unit by wicket;The small window
The viewing area of mouth is less than the viewing area of the full screen window of the described first application, and the wicket is to institute by the first parameter
State full screen window and enter what line translation obtained;Methods described includes:
Obtain the first parameter of the wicket of first application;
It is that the described first application distributes figure spatial cache based on first parameter;The wicket of first application
Graphics cache space is less than the graphics cache space of the full screen window of the described first application;
Utilize the graphics cache data of graphics cache space storage first application.
Electronic equipment provided in an embodiment of the present invention has touch-display unit, and the electronic equipment can run N number of
One application, N is positive integer;Pass through institute when destination object startup described first is applied corresponding to the described first application, started
Stating the first application can be shown in the touch-display unit by wicket;The viewing area of the wicket is less than described the
The viewing area of the full screen window of one application, the wicket is to enter line translation to the full screen window by the first parameter to obtain
's;The electronic equipment includes:Acquiring unit, allocation unit, memory cell;Wherein,
The acquiring unit, the first parameter of the wicket for obtaining first application;
The allocation unit, for being that the described first application distributes figure spatial cache based on first parameter;It is described
The graphics cache space of the wicket of first application is less than the graphics cache space of the full screen window of the described first application;
The memory cell, for the graphics cache data using graphics cache space storage first application.
In the technical scheme of the embodiment of the present invention, electronic equipment divides according to the window parameter of the first application for the first application
With corresponding graphics cache space;Can be that the first less figure of application distribution delays for example, when the window of the first application is smaller
Space is deposited, can be that the first application distributes larger graphics cache space when the window of the first application is larger, can so as to obtain user
With the data shown by clear identification wicket;Here, the graphics cache space of the wicket of the first application is less than described first
The graphics cache space of the full screen window of application, in this way, being shown by drawing the graphics cache data smaller than full screen window
First application, the memory headroom of electronic equipment can be saved, also, reduce it is right caused by graphics cache data committed memory
The influence of electronic apparatus system.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the information processing method of the embodiment of the present invention one;
Fig. 2 is the schematic flow sheet of the information processing method of the embodiment of the present invention two;
Fig. 3 is the schematic flow sheet of the information processing method of the embodiment of the present invention three;
Fig. 4 is the schematic flow sheet of the information processing method of the embodiment of the present invention four;
Fig. 5 is the structure composition schematic diagram of the electronic equipment of the embodiment of the present invention one;
Fig. 6 is the structure composition schematic diagram of the electronic equipment of the embodiment of the present invention two;
Fig. 7 is the structure composition schematic diagram of the electronic equipment of the embodiment of the present invention three;
Fig. 8 is the structure composition schematic diagram of the electronic equipment of the embodiment of the present invention four.
Embodiment
The characteristics of in order to more fully hereinafter understand the embodiment of the present invention and technology contents, below in conjunction with the accompanying drawings to this hair
The realization of bright embodiment is described in detail, appended accompanying drawing purposes of discussion only for reference, is not used for limiting the embodiment of the present invention.
Fig. 1 is the schematic flow sheet of the information processing method of the embodiment of the present invention one, the information processing method in this example
Applied in the electronic equipment with touch-display unit, the electronic equipment can run N number of first application, and N is positive integer;
When starting first application by destination object corresponding to the described first application, first application started can be by small
Window is shown in the touch-display unit;The viewing area of the wicket is less than the full screen window of the described first application
Viewing area, the wicket enter line translation to the full screen window by the first parameter and obtained;It is as shown in figure 1, described
Information processing method comprises the following steps:
Step 101:Obtain the first parameter of the wicket of first application.
In the present embodiment, the first application of electronic equipment operation can be the application carried in electronic apparatus system, for example,
Clock application, camera applications etc. or the third-party application set by user, for example, wechat application, game application etc..
Usually, whole first applications are shown on the desktop of electronic equipment by the form of icon list, one the
The corresponding icon of one application, corresponding first application can be started by touch-control icon, when first using through the above way
When being activated, first application will be shown on the display screen of electronic equipment by way of full screen window.
In the embodiment of the present invention, the first application is the application for supporting wicket to show, when through but not limited in the following manner
When starting first application, first application will be shown in the display touch-control list of electronic equipment by way of wicket
In member;
Wherein, starting the mode of first application can be:The first application is added into multi-window managing interface in advance
It is interior, so that first application supports wicket to show;Multi-window managing interface can be by starting and multi-window managing application
Corresponding icon is shown;When starting the first application by multi-window managing interface, the first application will pass through wicket
Mode is shown on the display touch control unit of electronic equipment.
Based on this, when the described first application is shown by wicket, it is necessary to distribute graphics cache for the first application
To store graphics cache data, the graphics cache space that this example is distributed wicket is divided less than corresponding full screen window in space
The graphics cache space matched somebody with somebody.
Here, corresponding first parameter of the wicket of the first application, the full frame window using first parameter to the first application
When mouth enters line translation, the wicket of the first application can be obtained.
In the present embodiment, first parameter is at least one of following:Parameter, matrix, parameter group, parameter sets;
For example, the first parameter can be realized by the first matrix, the full screen window of the described first application is entered using first matrix
Line translation, formula can be passed through(1a)Realize:
Wherein,Represent the coordinate vector of wicket, x2For the abscissa of wicket, y2For the ordinate of wicket, z2
General default setting is 1;
M represent the first matrix, the first matrix be 3 × 3 matrix, MijRepresent the first square
The element that the i-th row jth arranges in battle array, i values are 1,2,3;J values are 1,2,3;
Represent the coordinate vector of full screen window, x1For the abscissa of full screen window, y1For the ordinate of full screen window,
z1General default setting is 1;
Pass through formula(1a), can be by M when zooming in and out conversion to full screen windowijIn 4 elements set as follows:
M11=α、M12=0、M21=0、M22=β, other 5 elements can arbitrarily be set, in this way, can be by the way that the above-mentioned parameter of setting is brought into
Formula(1a)In, draw formula(2a):
Wherein, α is abscissa zooming parameter, and β is ordinate zooming parameter.
Pass through formula(1a), can be by M when carrying out rotation transformation to full screen windowijIn 4 elements set as follows:
M11=cosθ、M12=sinθ、M21=-sinθ、M22=cos θ, other 5 elements can arbitrarily be set, in this way, can be by by setting
Above-mentioned parameter brings formula into(1a)In, draw formula(3a):
Wherein, θ is the anglec of rotation.
Translation transformation is carried out to the full screen window of the described first application using first matrix, formula can be passed through(4a)
Realize:
Pass through formula(4a), can be by M when carrying out translation transformation to full screen windowijIn 3 elements set as follows:
M11=a、M21=b、M31=0, in this way, can be by bringing the above-mentioned parameter of setting into formula(4a)In, draw formula(5a):
Wherein, a is abscissa translation parameters, and b is ordinate translation parameters.
Step 102:It is that the described first application distributes figure spatial cache based on first parameter.
Here, the graphics cache space of the wicket of first application is less than the figure of the full screen window of the described first application
Shape spatial cache.
In the present embodiment, the size of wicket, therefore, passes through the first parameter corresponding to the application of the first parameter characterization first
After determining the size of wicket corresponding to the first application, according to the size of wicket corresponding to the first application, for the first application
Distribute figure spatial cache.
Can be that the first application distributes less graphics cache space, when first for example, when the window of the first application is smaller
Can be that the first application distributes larger graphics cache space when the window of application is larger so that user can understand recognize it is small
Data shown by window;Here, the graphics cache space of the wicket of the first application is less than the full frame window of the described first application
The graphics cache space of mouth.
Step 103:Utilize the graphics cache data of graphics cache space storage first application.
The such scheme of the embodiment of the present invention, first is shown by drawing the graphics cache data smaller than full screen window
Using the memory headroom of electronic equipment can be saved, also, reduced caused by graphics cache data committed memory to electronics
The influence of device systems.
Fig. 2 is the schematic flow sheet of the information processing method of the embodiment of the present invention two, the information processing method in this example
Applied in the electronic equipment with touch-display unit, the electronic equipment can run N number of first application, and N is positive integer;
When starting first application by destination object corresponding to the described first application, first application started can be by small
Window is shown in the touch-display unit;The viewing area of the wicket is less than the full screen window of the described first application
Viewing area, the wicket enter line translation to the full screen window by the first parameter and obtained;It is as shown in Fig. 2 described
Information processing method comprises the following steps:
Step 201:Obtain the first parameter of the wicket of first application.
In the present embodiment, the first application of electronic equipment operation can be the application carried in electronic apparatus system, for example,
Clock application, camera applications etc. or the third-party application set by user, for example, wechat application, game application etc..
Usually, whole first applications are shown on the desktop of electronic equipment by the form of icon list, one the
The corresponding icon of one application, corresponding first application can be started by touch-control icon, when first using through the above way
When being activated, first application will be shown on the display screen of electronic equipment by way of full screen window.
In the embodiment of the present invention, the first application is the application for supporting wicket to show, when through but not limited in the following manner
When starting first application, first application will be shown in the display touch-control list of electronic equipment by way of wicket
In member;
Wherein, starting the mode of first application can be:The first application is added into multi-window managing interface in advance
It is interior, so that first application supports wicket to show;Multi-window managing interface can be by starting and multi-window managing application
Corresponding icon is shown;When starting the first application by multi-window managing interface, the first application will pass through wicket
Mode is shown on the display touch control unit of electronic equipment.
Based on this, when the described first application is shown by wicket, it is necessary to distribute graphics cache for the first application
To store graphics cache data, the graphics cache space that this example is distributed wicket is divided less than corresponding full screen window in space
The graphics cache space matched somebody with somebody.
Here, corresponding first parameter of the wicket of the first application, the full frame window using first parameter to the first application
When mouth enters line translation, the wicket of the first application can be obtained.
In the present embodiment, first parameter is at least one of following:Parameter, matrix, parameter group, parameter sets;
For example, the first parameter can be realized by the first matrix, the full screen window of the described first application is entered using first matrix
Line translation, formula can be passed through(1b)Realize:
Wherein,Represent the coordinate vector of wicket, x2For the abscissa of wicket, y2For the ordinate of wicket,
z2General default setting is 1;
M represent the first matrix, the first matrix be 3 × 3 matrix, MijRepresent the first square
The element that the i-th row jth arranges in battle array, i values are 1,2,3;J values are 1,2,3;
Represent the coordinate vector of full screen window, x1For the abscissa of full screen window, y1For the ordinate of full screen window,
z1General default setting is 1;
Pass through formula(1b), can be by M when zooming in and out conversion to full screen windowijIn 4 elements set as follows:
M11=α、M12=0、M21=0、M22=β, other 5 elements can arbitrarily be set, in this way, can be by the way that the above-mentioned parameter of setting is brought into
Formula(1b)In, draw formula(2b):
Wherein, α is abscissa zooming parameter, and β is ordinate zooming parameter.
Pass through formula(1b), can be by M when carrying out rotation transformation to full screen windowijIn 4 elements set as follows:
M11=cosθ、M12=sinθ、M21=-sinθ、M22=cos θ, other 5 elements can arbitrarily be set, in this way, can be by by setting
Above-mentioned parameter brings formula into(1b)In, draw formula(3b):
Wherein, θ is the anglec of rotation.
Translation transformation is carried out to the full screen window of the described first application using first matrix, formula can be passed through(4b)
Realize:
Pass through formula(4b), can be by M when carrying out translation transformation to full screen windowijIn 3 elements set as follows:
M11=a、M21=b、M31=0, in this way, can be by bringing the above-mentioned parameter of setting into formula(4b)In, draw formula(5b):
Wherein, a is abscissa translation parameters, and b is ordinate translation parameters.
Step 202:It is that the described first application distributes figure spatial cache based on first parameter.
Here, the graphics cache space of the wicket of first application is less than the figure of the full screen window of the described first application
Shape spatial cache.
In the present embodiment, the size of wicket, therefore, passes through the first parameter corresponding to the application of the first parameter characterization first
After determining the size of wicket corresponding to the first application, according to the size of wicket corresponding to the first application, for the first application
Distribute figure spatial cache.
Can be that the first application distributes less graphics cache space, when first for example, when the window of the first application is smaller
Can be that the first application distributes larger graphics cache space when the window of application is larger so that user can understand recognize it is small
Data shown by window;Here, the graphics cache space of the wicket of the first application is less than the full frame window of the described first application
The graphics cache space of mouth.
Step 203:Utilize the graphics cache data of graphics cache space storage first application.
Step 204:The graphics cache data of first application are read, the graphics cache data read are merged into pair
Answer the frame buffer data of the on-screen display (osd) area of the electronic equipment.
Here, the graphics cache data of the first application can be RGB(RGB, Red Green Blue)Data.
Electronic equipment in the present embodiment includes two buffer zones, respectively graphics cache and frame buffer;Wherein, figure
Cache the RGB data drawn for storing the first application;Frame buffer is used to store the frame buffer number after graphics cache data merge
According in this way, the content shown by the on-screen display (osd) area of electronic equipment is a complete frame data.
Step 205:The frame buffer data is shown in the electronic equipment by first wicket applied
In touch-display unit.
The such scheme of the embodiment of the present invention, first is shown by drawing the graphics cache data smaller than full screen window
Using the memory headroom of electronic equipment can be saved, also, reduced caused by graphics cache data committed memory to electronics
The influence of device systems.
Fig. 3 is the schematic flow sheet of the information processing method of the embodiment of the present invention three, the information processing method in this example
Applied in the electronic equipment with touch-display unit, the electronic equipment can run N number of first application, and N is positive integer;
When starting first application by destination object corresponding to the described first application, first application started can be by small
Window is shown in the touch-display unit;The viewing area of the wicket is less than the full screen window of the described first application
Viewing area, the wicket enter line translation to the full screen window by the first parameter and obtained;It is as shown in figure 3, described
Information processing method comprises the following steps:
Step 301:Obtain the first parameter of the wicket of first application.
In the present embodiment, the first application of electronic equipment operation can be the application carried in electronic apparatus system, for example,
Clock application, camera applications etc. or the third-party application set by user, for example, wechat application, game application etc..
Usually, whole first applications are shown on the desktop of electronic equipment by the form of icon list, one the
The corresponding icon of one application, corresponding first application can be started by touch-control icon, when first using through the above way
When being activated, first application will be shown on the display screen of electronic equipment by way of full screen window.
In the embodiment of the present invention, the first application is the application for supporting wicket to show, when through but not limited in the following manner
When starting first application, first application will be shown in the display touch-control list of electronic equipment by way of wicket
In member;
Wherein, starting the mode of first application can be:The first application is added into multi-window managing interface in advance
It is interior, so that first application supports wicket to show;Multi-window managing interface can be by starting and multi-window managing application
Corresponding icon is shown;When starting the first application by multi-window managing interface, the first application will pass through wicket
Mode is shown on the display touch control unit of electronic equipment.
Based on this, when the described first application is shown by wicket, it is necessary to distribute graphics cache for the first application
To store graphics cache data, the graphics cache space that this example is distributed wicket is divided less than corresponding full screen window in space
The graphics cache space matched somebody with somebody.
Here, corresponding first parameter of the wicket of the first application, the full frame window using first parameter to the first application
When mouth enters line translation, the wicket of the first application can be obtained.
In the present embodiment, first parameter is at least one of following:Parameter, matrix, parameter group, parameter sets;
For example, the first parameter can be realized by the first matrix, the full screen window of the described first application is entered using first matrix
Line translation, formula can be passed through(1c)Realize:
Wherein,Represent the coordinate vector of wicket, x2For the abscissa of wicket, y2For the ordinate of wicket,
z2General default setting is 1;
M represent the first matrix, the first matrix be 3 × 3 matrix, MijRepresent the first square
The element that the i-th row jth arranges in battle array, i values are 1,2,3;J values are 1,2,3;
Represent the coordinate vector of full screen window, x1For the abscissa of full screen window, y1For the ordinate of full screen window,
z1General default setting is 1;
Pass through formula(1c), can be by M when zooming in and out conversion to full screen windowijIn 4 elements set as follows:
M11=α、M12=0、M21=0、M22=β, other 5 elements can arbitrarily be set, in this way, can be by the way that the above-mentioned parameter of setting is brought into
Formula(1c)In, draw formula(2c):
Wherein, α is abscissa zooming parameter, and β is ordinate zooming parameter.
Pass through formula(1c), can be by M when carrying out rotation transformation to full screen windowijIn 4 elements set as follows:
M11=cosθ、M12=sinθ、M21=-sinθ、M22=cos θ, other 5 elements can arbitrarily be set, in this way, can be by by setting
Above-mentioned parameter brings formula into(1c)In, draw formula(3c):
Wherein, θ is the anglec of rotation.
Translation transformation is carried out to the full screen window of the described first application using first matrix, formula can be passed through(4c)
Realize:
Pass through formula(4c), can be by M when carrying out translation transformation to full screen windowijIn 3 elements set as follows:
M11=a、M21=b、M31=0, in this way, can be by bringing the above-mentioned parameter of setting into formula(4c)In, draw formula(5c):
Wherein, a is abscissa translation parameters, and b is ordinate translation parameters.
Step 302:According to first parameter, the viewing area size of the wicket of first application is determined.
Step 303:According to the viewing area size of the wicket and the screen resolution of the electronic equipment, it is determined that
The graphics cache data volume of first application.
Specifically, graphics cache data volume and viewing area size and screen resolution are proportional;Work as viewing area
When domain is bigger, graphics cache data volume is bigger;When viewing area is smaller, graphics cache data volume is smaller;Work as screen resolution
When higher, graphics cache data volume is bigger;When screen resolution is lower, graphics cache data volume is smaller.
Step 304:Based on the graphics cache data volume of the described first application, it is empty to distribute graphics cache for the described first application
Between.
Here, the graphics cache space of the wicket of first application is less than the figure of the full screen window of the described first application
Shape spatial cache.
In the present embodiment, the size of wicket, therefore, passes through the first parameter corresponding to the application of the first parameter characterization first
After determining the size of wicket corresponding to the first application, according to the size of wicket corresponding to the first application, for the first application
Distribute figure spatial cache.
Can be that the first application distributes less graphics cache space, when first for example, when the window of the first application is smaller
Can be that the first application distributes larger graphics cache space when the window of application is larger so that user can understand recognize it is small
Data shown by window;Here, the graphics cache space of the wicket of the first application is less than the full frame window of the described first application
The graphics cache space of mouth.
Step 305:Utilize the graphics cache data of graphics cache space storage first application.
The such scheme of the embodiment of the present invention, first is shown by drawing the graphics cache data smaller than full screen window
Using the memory headroom of electronic equipment can be saved, also, reduced caused by graphics cache data committed memory to electronics
The influence of device systems.
Fig. 4 is the schematic flow sheet of the information processing method of the embodiment of the present invention four, the information processing method in this example
Applied in the electronic equipment with touch-display unit, the electronic equipment can run N number of first application, and N is positive integer;
When starting first application by destination object corresponding to the described first application, first application started can be by small
Window is shown in the touch-display unit;The viewing area of the wicket is less than the full screen window of the described first application
Viewing area, the wicket enter line translation to the full screen window by the first parameter and obtained;It is as shown in figure 4, described
Information processing method comprises the following steps:
Step 401:Obtain the first parameter of the wicket of first application.
In the present embodiment, the first application of electronic equipment operation can be the application carried in electronic apparatus system, for example,
Clock application, camera applications etc. or the third-party application set by user, for example, wechat application, game application etc..
Usually, whole first applications are shown on the desktop of electronic equipment by the form of icon list, one the
The corresponding icon of one application, corresponding first application can be started by touch-control icon, when first using through the above way
When being activated, first application will be shown on the display screen of electronic equipment by way of full screen window.
In the embodiment of the present invention, the first application is the application for supporting wicket to show, when through but not limited in the following manner
When starting first application, first application will be shown in the display touch-control list of electronic equipment by way of wicket
In member;
Wherein, starting the mode of first application can be:The first application is added into multi-window managing interface in advance
It is interior, so that first application supports wicket to show;Multi-window managing interface can be by starting and multi-window managing application
Corresponding icon is shown;When starting the first application by multi-window managing interface, the first application will pass through wicket
Mode is shown on the display touch control unit of electronic equipment.
Based on this, when the described first application is shown by wicket, it is necessary to distribute graphics cache for the first application
To store graphics cache data, the graphics cache space that this example is distributed wicket is divided less than corresponding full screen window in space
The graphics cache space matched somebody with somebody.
Here, corresponding first parameter of the wicket of the first application, the full frame window using first parameter to the first application
When mouth enters line translation, the wicket of the first application can be obtained.
In the present embodiment, first parameter is at least one of following:Parameter, matrix, parameter group, parameter sets;
For example, the first parameter can be realized by the first matrix, the full screen window of the described first application is entered using first matrix
Line translation, formula can be passed through(1d)Realize:
Wherein,Represent the coordinate vector of wicket, x2For the abscissa of wicket, y2For the ordinate of wicket,
z2General default setting is 1;
M represent the first matrix, the first matrix be 3 × 3 matrix, MijRepresent the first square
The element that the i-th row jth arranges in battle array, i values are 1,2,3;J values are 1,2,3;
Represent the coordinate vector of full screen window, x1For the abscissa of full screen window, y1For the ordinate of full screen window,
z1General default setting is 1;
Pass through formula(1d), can be by M when zooming in and out conversion to full screen windowijIn 4 elements set as follows:
M11=α、M12=0、M21=0、M22=β, other 5 elements can arbitrarily be set, in this way, can be by the way that the above-mentioned parameter of setting is brought into
Formula(1d)In, draw formula(2d):
Wherein, α is abscissa zooming parameter, and β is ordinate zooming parameter.
Pass through formula(1d), can be by M when carrying out rotation transformation to full screen windowijIn 4 elements set as follows:
M11=cosθ、M12=sinθ、M21=-sinθ、M22=cos θ, other 5 elements can arbitrarily be set, in this way, can be by by setting
Above-mentioned parameter brings formula into(1d)In, draw formula(3d):
Wherein, θ is the anglec of rotation.
Translation transformation is carried out to the full screen window of the described first application using first matrix, formula can be passed through(4d)
Realize:
Pass through formula(4d), can be by M when carrying out translation transformation to full screen windowijIn 3 elements set as follows:
M11=a、M21=b、M31=0, in this way, can be by bringing the above-mentioned parameter of setting into formula(4d)In, draw formula(5d):
Wherein, a is abscissa translation parameters, and b is ordinate translation parameters.
Step 402:It is that the described first application distributes figure spatial cache based on first parameter.
Here, the graphics cache space of the wicket of first application is less than the figure of the full screen window of the described first application
Shape spatial cache.
In the present embodiment, the size of wicket, therefore, passes through the first parameter corresponding to the application of the first parameter characterization first
After determining the size of wicket corresponding to the first application, according to the size of wicket corresponding to the first application, for the first application
Distribute figure spatial cache.
Can be that the first application distributes less graphics cache space, when first for example, when the window of the first application is smaller
Can be that the first application distributes larger graphics cache space when the window of application is larger so that user can understand recognize it is small
Data shown by window;Here, the graphics cache space of the wicket of the first application is less than the full frame window of the described first application
The graphics cache space of mouth.
Step 403:Utilize the graphics cache data of graphics cache space storage first application.
Step 404:When the described first application switches to full screen window by the wicket, according to the full screen window
The screen resolution of viewing area size and the electronic equipment, determine the graphics cache data volume of first application.
Specifically, graphics cache data volume and viewing area size and screen resolution are proportional;Work as viewing area
When domain is bigger, graphics cache data volume is bigger;When viewing area is smaller, graphics cache data volume is smaller;Work as screen resolution
When higher, graphics cache data volume is bigger;When screen resolution is lower, graphics cache data volume is smaller.
Step 405:Based on the graphics cache data volume of the described first application, it is empty to distribute graphics cache for the described first application
Between.
Step 406:Utilize the graphics cache data of graphics cache space storage first application.
The such scheme of the embodiment of the present invention, first is shown by drawing the graphics cache data smaller than full screen window
Using the memory headroom of electronic equipment can be saved, also, reduced caused by graphics cache data committed memory to electronics
The influence of device systems.
Fig. 5 is the structure composition schematic diagram of the electronic equipment of the embodiment of the present invention one, and there is the electronic equipment touch-control to show
Unit 51, the electronic equipment can run N number of first application, and N is positive integer;Pass through target pair corresponding to the described first application
During as starting first application, first application started can be shown in the touch-display unit 51 by wicket
On;The viewing area of the wicket is less than the viewing area of the full screen window of the described first application, and the wicket is to pass through
First parameter enters what line translation obtained to the full screen window;As shown in figure 5, the electronic equipment includes:Acquiring unit 52, divide
With unit 53, memory cell 54;Wherein,
The acquiring unit 52, the first parameter of the wicket for obtaining first application;
The allocation unit 53, for being that the described first application distributes figure spatial cache based on first parameter;Institute
The graphics cache space for stating the wicket of the first application is less than the graphics cache space of the described first full screen window applied;
The memory cell 54, for the graphics cache number using graphics cache space storage first application
According to.
In the embodiment of the present invention, first parameter is at least one of following:Parameter, matrix, parameter group, parameter set
Close.
It will be appreciated by those skilled in the art that each unit in electronic equipment shown in Fig. 5 realize that function can refer to before
State the associated description of information processing method and understand.
Fig. 6 is the structure composition schematic diagram of the electronic equipment of the embodiment of the present invention two, and there is the electronic equipment touch-control to show
Unit 61, the electronic equipment can run N number of first application, and N is positive integer;Pass through target pair corresponding to the described first application
During as starting first application, first application started can be shown in the touch-display unit 61 by wicket
On;The viewing area of the wicket is less than the viewing area of the full screen window of the described first application, and the wicket is to pass through
First parameter enters what line translation obtained to the full screen window;As shown in fig. 6, the electronic equipment includes:Acquiring unit 62, divide
With unit 63, memory cell 64;Wherein,
The acquiring unit 62, the first parameter of the wicket for obtaining first application;
The allocation unit 63, for being that the described first application distributes figure spatial cache based on first parameter;Institute
The graphics cache space for stating the wicket of the first application is less than the graphics cache space of the described first full screen window applied;
The memory cell 64, for the graphics cache number using graphics cache space storage first application
According to.
In the embodiment of the present invention, first parameter is at least one of following:Parameter, matrix, parameter group, parameter set
Close.
Preferably, the electronic equipment also includes:Reading unit 65;
The reading unit 65, for reading the graphics cache data of first application, the graphics cache that will be read
Data merge into the frame buffer data of the on-screen display (osd) area of the corresponding electronic equipment;
The touch-display unit 61, it is additionally operable to show the frame buffer data by first wicket applied.
It will be appreciated by those skilled in the art that each unit in electronic equipment shown in Fig. 6 realize that function can refer to before
State the associated description of information processing method and understand.
Fig. 7 is the structure composition schematic diagram of the electronic equipment of the embodiment of the present invention one, and there is the electronic equipment touch-control to show
Unit 71, the electronic equipment can run N number of first application, and N is positive integer;Pass through target pair corresponding to the described first application
During as starting first application, first application started can be shown in the touch-display unit 71 by wicket
On;The viewing area of the wicket is less than the viewing area of the full screen window of the described first application, and the wicket is to pass through
First parameter enters what line translation obtained to the full screen window;As shown in fig. 7, the electronic equipment includes:Acquiring unit 72, divide
With unit 73, memory cell 74;Wherein,
The acquiring unit 72, the first parameter of the wicket for obtaining first application;
The allocation unit 73, for being that the described first application distributes figure spatial cache based on first parameter;Institute
The graphics cache space for stating the wicket of the first application is less than the graphics cache space of the described first full screen window applied;
The memory cell 74, for the graphics cache number using graphics cache space storage first application
According to.
In the embodiment of the present invention, first parameter is at least one of following:Parameter, matrix, parameter group, parameter set
Close.
Preferably, the allocation unit 73 includes:First determination subelement 731,732, first points of the second determination subelement
With subelement 733;Wherein,
First determination subelement 731, for according to first parameter, determining the wicket of first application
Viewing area size;
Second determination subelement 732, set for the viewing area size according to the wicket and the electronics
Standby screen resolution, determine the graphics cache data volume of first application;
The first distribution subelement 733, it is described first for the graphics cache data volume based on the described first application
Using distribution figure spatial cache.
It will be appreciated by those skilled in the art that each unit and its subelement in electronic equipment shown in Fig. 7 realizes work(
The associated description of aforementioned information processing method can be can refer to and understood.
Fig. 8 is the structure composition schematic diagram of the electronic equipment of the embodiment of the present invention one, and there is the electronic equipment touch-control to show
Unit 81, the electronic equipment can run N number of first application, and N is positive integer;Pass through target pair corresponding to the described first application
During as starting first application, first application started can be shown in the touch-display unit 81 by wicket
On;The viewing area of the wicket is less than the viewing area of the full screen window of the described first application, and the wicket is to pass through
First parameter enters what line translation obtained to the full screen window;As shown in figure 8, the electronic equipment includes:Acquiring unit 82, divide
With unit 83, memory cell 84;Wherein,
The acquiring unit 82, the first parameter of the wicket for obtaining first application;
The allocation unit 83, for being that the described first application distributes figure spatial cache based on first parameter;Institute
The graphics cache space for stating the wicket of the first application is less than the graphics cache space of the described first full screen window applied;
The memory cell 84, for the graphics cache number using graphics cache space storage first application
According to.
In the embodiment of the present invention, first parameter is at least one of following:Parameter, matrix, parameter group, parameter set
Close.
Preferably, the allocation unit 83 includes:3rd determination subelement 831, second distributes subelement 832;Wherein,
3rd determination subelement 831, for when described first application full screen window is switched to by the wicket when,
According to the viewing area size of the full screen window and the screen resolution of the electronic equipment, first application is determined
Graphics cache data volume;
The second distribution subelement 832, it is described first for the graphics cache data volume based on the described first application
Using distribution figure spatial cache.
It will be appreciated by those skilled in the art that each unit and its subelement in electronic equipment shown in Fig. 8 realizes work(
The associated description of aforementioned information processing method can be can refer to and understood.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through
Its mode is realized.Apparatus embodiments described above are only schematical, for example, the division of the unit, is only
A kind of division of logic function, there can be other dividing mode when actually realizing, such as:Multiple units or component can combine, or
Another system is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed each composition portion
Point mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, equipment or unit
Or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can positioned at a place, can also be distributed to multiple network lists
In member;Partly or entirely unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used
To be each unit individually as a unit, can also two or more units it is integrated in a unit;It is above-mentioned
Integrated unit can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:It is movable storage device, read-only
Memory(ROM, Read Only Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
Or if the above-mentioned integrated unit of the present invention is realized in the form of software function module and is used as independent product
Sale in use, can also be stored in a computer read/write memory medium.Based on such understanding, the present invention is implemented
The part that the technical scheme of example substantially contributes to prior art in other words can be embodied in the form of software product,
The computer software product is stored in a storage medium, including some instructions are causing a computer equipment(Can be with
It is personal computer, server or network equipment etc.)Perform all or part of each embodiment methods described of the present invention.
And foregoing storage medium includes:Movable storage device, read-only storage(ROM, Read Only Memory), magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (8)
1. a kind of information processing method, applied in the electronic equipment with touch-display unit, the electronic equipment can be transported
N number of first application of row, N is positive integer;When starting first application by destination object corresponding to the described first application, opened
Dynamic first application can be shown in the touch-display unit by wicket;The viewing area of the wicket is less than
The viewing area of the full screen window of first application, the wicket is that the full screen window is become by the first parameter
Get in return;Methods described includes:
Obtain the first parameter of the wicket of first application;
It is that the described first application distributes figure spatial cache based on first parameter;The figure of the wicket of first application
Spatial cache is less than the graphics cache space of the full screen window of the described first application;
Utilize the graphics cache data of graphics cache space storage first application;
The graphics cache data of first application are read, the graphics cache data read are merged into the corresponding electronics sets
The frame buffer data of standby on-screen display (osd) area;
The frame buffer data is shown in the touch-display unit of the electronic equipment by first wicket applied
On.
2. information processing method according to claim 1, it is that the described first application distributes figure based on first parameter
Spatial cache, including:
According to first parameter, the viewing area size of the wicket of first application is determined;
According to the viewing area size of the wicket and the screen resolution of the electronic equipment, first application is determined
Graphics cache data volume;
Based on the graphics cache data volume of the described first application, figure spatial cache is distributed for the described first application.
3. information processing method according to claim 1, when the described first application switches to full frame window by the wicket
During mouth, methods described also includes:
According to the viewing area size of the full screen window and the screen resolution of the electronic equipment, determine that described first should
Graphics cache data volume;
Based on the graphics cache data volume of the described first application, figure spatial cache is distributed for the described first application.
4. according to the information processing method described in any one of claims 1 to 3, first parameter be at least it is following wherein it
One:Parameter, matrix, parameter group, parameter sets.
5. a kind of electronic equipment, the electronic equipment has touch-display unit, and the electronic equipment can run N number of first should
With N is positive integer;When starting first application by destination object corresponding to the described first application, started described the
One application can be shown in the touch-display unit by wicket;The viewing area of the wicket is less than described first should
The viewing area of full screen window, the wicket enter line translation to the full screen window by the first parameter and obtained;
The electronic equipment includes:Acquiring unit, allocation unit, memory cell;Wherein,
The acquiring unit, the first parameter of the wicket for obtaining first application;
The allocation unit, for being that the described first application distributes figure spatial cache based on first parameter;Described first
The graphics cache space of the wicket of application is less than the graphics cache space of the full screen window of the described first application;
The memory cell, for the graphics cache data using graphics cache space storage first application;
The electronic equipment also includes:Reading unit;
The reading unit, for reading the graphics cache data of first application, the graphics cache data read are closed
And the frame buffer data of the on-screen display (osd) area for the corresponding electronic equipment;
The touch-display unit, it is additionally operable to show the frame buffer data by first wicket applied.
6. electronic equipment according to claim 5, the allocation unit includes:First determination subelement, second determine son
Unit, the first distribution subelement;Wherein,
First determination subelement, the viewing area of the wicket for according to first parameter, determining first application
Domain size;
Second determination subelement, for the viewing area size and the screen of the electronic equipment according to the wicket
Resolution ratio, determine the graphics cache data volume of first application;
The first distribution subelement, for the graphics cache data volume based on the described first application, for the described first application point
Distribution pattern spatial cache.
7. electronic equipment according to claim 5, the allocation unit includes:3rd determination subelement, the second distribution
Unit;Wherein,
3rd determination subelement, for when described first application full screen window is switched to by the wicket when, according to institute
The viewing area size of full screen window and the screen resolution of the electronic equipment are stated, determines that the figure of first application delays
Deposit data amount;
The second distribution subelement, for the graphics cache data volume based on the described first application, for the described first application point
Distribution pattern spatial cache.
8. according to the electronic equipment described in any one of claim 5 to 7, first parameter is at least one of following:Ginseng
Number, matrix, parameter group, parameter sets.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410046214.2A CN103809972B (en) | 2014-02-10 | 2014-02-10 | A kind of information processing method and electronic equipment |
US14/229,857 US9250780B2 (en) | 2013-10-28 | 2014-03-29 | Information processing method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410046214.2A CN103809972B (en) | 2014-02-10 | 2014-02-10 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103809972A CN103809972A (en) | 2014-05-21 |
CN103809972B true CN103809972B (en) | 2018-03-27 |
Family
ID=50706798
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410046214.2A Active CN103809972B (en) | 2013-10-28 | 2014-02-10 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103809972B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104090701A (en) * | 2014-06-03 | 2014-10-08 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN110517184A (en) * | 2019-07-25 | 2019-11-29 | 武汉蓝星科技股份有限公司 | A kind of graphic display method and device based on screen layering |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6549218B1 (en) * | 1999-03-31 | 2003-04-15 | Microsoft Corporation | Dynamic effects for computer display windows |
CN102280096A (en) * | 2011-07-15 | 2011-12-14 | 杭州米加科技有限公司 | Method for combining image scaling and color space switching |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04308921A (en) * | 1991-04-05 | 1992-10-30 | Matsushita Electric Ind Co Ltd | Multiwindow system |
CN1319316C (en) * | 2004-04-19 | 2007-05-30 | 华为技术有限公司 | Method for sending window size adjustment information by receiving end in wireless link data transmission |
CN100345407C (en) * | 2004-10-22 | 2007-10-24 | 华为技术有限公司 | Method for distributing wireless link window size dynamically |
CN102597940A (en) * | 2009-10-02 | 2012-07-18 | 日本电气株式会社 | Information terminal, display method, and non-transitory computer readable medium having programme stored thereupon |
-
2014
- 2014-02-10 CN CN201410046214.2A patent/CN103809972B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6549218B1 (en) * | 1999-03-31 | 2003-04-15 | Microsoft Corporation | Dynamic effects for computer display windows |
CN102280096A (en) * | 2011-07-15 | 2011-12-14 | 杭州米加科技有限公司 | Method for combining image scaling and color space switching |
Non-Patent Citations (1)
Title |
---|
三星S4如何设置多窗口模式;IQIYI说明书;《http://jingyan.baidu.com/article/e4d08ffdc485560fd2f60dde.html》;20130531;第1-2页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103809972A (en) | 2014-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI497259B (en) | Apparatus and methods for extended user interface | |
KR102213212B1 (en) | Controlling Method For Multi-Window And Electronic Device supporting the same | |
US8423914B2 (en) | Selection user interface | |
CN109076125A (en) | A kind of display methods and equipment | |
JP5632891B2 (en) | Inline image rotation | |
US20120311498A1 (en) | Dock for favorite applications | |
US8924962B2 (en) | Method and computer system for sharing graphics card among multiple operation systems | |
US20100241957A1 (en) | System with ddi providing touch icon image summing | |
CN106161956A (en) | The processing method of a kind of preview screen when shooting and terminal | |
CN107251004A (en) | The backward compatibility realized by using deception clock and fine-grained frequency control | |
CN101432711A (en) | User interface system and method for selectively displaying a portion of a display screen | |
CN105022580B (en) | Image display system | |
CN105631923B (en) | A kind of rendering intent and device | |
US9747007B2 (en) | Resizing technique for display content | |
CN105096235B (en) | Graphic processing method and graphic processing facility | |
CN108737739A (en) | A kind of preview screen acquisition method, preview screen harvester and electronic equipment | |
TW201506844A (en) | Texture address mode discarding filter taps | |
AU2009251137B2 (en) | Method for Arranging Images in electronic documents on small devices | |
CN101764971A (en) | On-screen display device and on-screen display method thereof | |
CN106156132B (en) | Picture loading display method and device | |
CN103809972B (en) | A kind of information processing method and electronic equipment | |
CN104571904A (en) | Information processing method and electronic equipment | |
CN105426071B (en) | Electronic device and method for controlling display of screen thereof | |
US20140237195A1 (en) | N-dimensional collapsible fifo | |
US7849414B2 (en) | Edge anti-aliasing |
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 |