CN104571796B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN104571796B
CN104571796B CN201310517803.XA CN201310517803A CN104571796B CN 104571796 B CN104571796 B CN 104571796B CN 201310517803 A CN201310517803 A CN 201310517803A CN 104571796 B CN104571796 B CN 104571796B
Authority
CN
China
Prior art keywords
windows
parameter
window
display unit
touch display
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
Application number
CN201310517803.XA
Other languages
Chinese (zh)
Other versions
CN104571796A (en
Inventor
李俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310517803.XA priority Critical patent/CN104571796B/en
Priority to US14/229,857 priority patent/US9250780B2/en
Publication of CN104571796A publication Critical patent/CN104571796A/en
Application granted granted Critical
Publication of CN104571796B publication Critical patent/CN104571796B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of information processing method and electronic equipments, the electronic equipment includes a touch-display unit, the touch-display unit can run M application, and the electronic equipment is able to carry out the first instruction, and N number of first window is presented in the touch-display unit;The described method includes: obtaining the first operation, first operation is the operation rotated to one or more first windows in N number of first window;One or more first windows in N number of first window are rotated using the first parameter, obtain corresponding second window, so that corresponding apply of one or more first windows in N number of first window is shown in corresponding second window, second window is less than the display area of the touch-display unit.By means of the invention it is possible to efficiently and easily rotate to non-full screen window, user experience is promoted.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
The screen display area of the early electronic equipment is small in size, the resolution of the screen is low, and a corresponding operating system such as an Android operating system is used for displaying in a full-screen window; consider the following scenario:
when the size of the screen display area of the electronic equipment is increased, if non-full-screen window display support is provided for the application, that is, when all applications in the electronic equipment are allowed to be displayed on the non-full-screen window simultaneously on the display unit of the electronic equipment, when the non-full-screen window needs to be rotated, how to rotate the non-full-screen window quickly and conveniently is achieved, so that the operation time is saved, the user experience is improved, and an effective solution is not available in the related technology.
Disclosure of Invention
In view of this, embodiments of the present invention mainly provide an information processing method and an electronic device, so as to rotate a non-full screen window quickly and conveniently, save operation time, and improve user experience.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides an information processing method, which is applied to an electronic device, wherein the electronic device comprises a touch display unit, the touch display unit can run M applications, M is a positive integer, the electronic device can execute a first instruction, N first windows are presented on the touch display unit, the N first windows correspond to N applications in the M applications, so that the N applications are displayed in the corresponding first windows, and the first windows are smaller than the display area of the touch display unit; the method comprises the following steps:
obtaining a first operation, wherein the first operation is an operation of rotating one or more first windows in the N first windows;
responding to the first operation to obtain a first parameter;
and rotating one or more first windows in the N first windows by using the first parameters to obtain corresponding second windows, so that the applications corresponding to the one or more first windows in the N first windows are displayed in the corresponding second windows, wherein the second windows are smaller than the display area of the touch display unit.
The embodiment of the invention also provides electronic equipment, which comprises a touch display unit, wherein the touch display unit can run M applications, M is a positive integer, the touch display unit can execute a first instruction, N first windows are presented on the touch display unit, the N first windows correspond to N applications in the M applications, so that the N applications are displayed in the corresponding first windows, and the first windows are smaller than the display area of the touch display unit; the electronic device further includes:
a first obtaining unit, configured to obtain a first operation, where the first operation is an operation of rotating one or more first windows in the N first windows;
the second acquisition unit is used for responding to the first operation and acquiring a first parameter;
and the rotating unit is used for rotating one or more first windows in the N first windows by using the first parameters to obtain corresponding second windows so as to display the applications corresponding to the one or more first windows in the N first windows in the corresponding second windows, wherein the second windows are smaller than the display area of the touch display unit.
In the embodiment of the invention, the first window is rotated by utilizing the first parameter to obtain the second window, so that the first window, namely a non-full screen window, is displayed; moreover, the operation of rotating the first window can be realized through specific operation, so that the first window can be rotated quickly and conveniently, the operation time is saved, and the user experience is improved.
Drawings
FIG. 1 is a first schematic flow chart illustrating an implementation of an information processing method according to an embodiment of the present invention;
FIG. 2a is a schematic flow chart illustrating an implementation of displaying two applications in a second window according to an embodiment of the present invention;
FIG. 2b is a schematic diagram of an embodiment of the present invention in which the second window 1 and the second window 2 have an overlapping region;
FIG. 3 is a schematic diagram of a second implementation flow of the information processing method according to the embodiment of the present invention;
FIG. 4 is a third schematic flow chart illustrating an implementation of the information processing method according to the embodiment of the present invention;
FIG. 5 is a schematic diagram of a fourth implementation flow of the information processing method according to the embodiment of the present invention;
FIG. 6a is a first schematic diagram of a first window and a second window in an embodiment of the present invention;
FIG. 6b is a second schematic view of the first window and the second window in an embodiment of the present invention;
FIG. 7 is a fifth flowchart illustrating an implementation of the information processing method according to the embodiment of the present invention;
FIG. 8 is a first schematic diagram illustrating a structure of an electronic device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The invention is described in further detail below with reference to the figures and specific examples.
The embodiment of the invention describes an information processing method, which is applied to an electronic device, wherein the electronic device comprises a touch display unit, the touch display unit can run M applications, M is a positive integer, the electronic device can execute a first instruction, N first windows are presented on the touch display unit, the N first windows correspond to N applications in the M applications, so that the N applications are displayed in the corresponding first windows, and the first windows are smaller than a display area of the touch display unit; fig. 1 is a first schematic flow chart of an implementation of the information processing method according to the embodiment of the present invention, as shown in fig. 1, including the following steps:
step 101, obtaining a first operation, where the first operation is an operation of rotating one or more first windows in the N first windows.
Step 102, responding to the first operation, obtaining a first parameter.
The first parameter is a preset parameter in the electronic device, or a parameter determined according to the obtained first rotation angle information by analyzing the first operation, and the form of the first parameter includes: parameter values, matrices, parameter sets and parameter sets; the first form of operation includes: the touch control operation on the touch control display unit, the voice operation on the electronic equipment or the shaking operation on the electronic equipment.
Step 103, rotating one or more first windows of the N first windows by using the first parameter to obtain corresponding second windows, so that the applications corresponding to the one or more first windows of the N first windows are displayed in the corresponding second windows, where the second windows are smaller than the display area of the touch display unit.
In a preferred embodiment of step 103, reading graphics cache data of an application corresponding to one or more first windows of the N first windows;
respectively converting the read graph cache data corresponding to one or more first windows into graph cache data corresponding to a second window by using the first parameters, and merging the graph cache data of the second window into frame cache data corresponding to the touch display unit;
and displaying a second window corresponding to the one or more first windows on the touch display unit by using the frame buffer data, wherein the second window is used for replacing the first window, so that the applications corresponding to the one or more first windows are displayed in the corresponding second windows.
Taking the example that two applications are displayed in the second window, that is, the two applications are displayed in a non-full screen, the following embodiments are still applicable to a scenario where a single application or two or more applications are displayed in the corresponding second window, as shown in fig. 2a, and the following steps are included:
step 201, reading the graph cache data of the application 1 and the application 2.
The application 1 and the application 2 write self-drawn graphic cache data for full-screen display into a graphic cache, namely store the graphic cache data as the graphic cache data, wherein the graphic cache data comprises two-dimensional coordinate information of pixel points and Red, Green and Blue (RGB, Red Green Blue) three-color information of the pixel points.
Step 202, converting the read graphic cache data corresponding to the application into graphic cache data corresponding to a second window by using the first parameter, and merging the graphic cache data of the second window into frame cache data corresponding to the touch display unit.
Considering the case that there may be an overlap region between the second windows of the application 1 and the application 2, as shown in fig. 2b, there is an overlap region between the second window 1 and the second window 2; accordingly, in this embodiment, the two-dimensional coordinates (x) of the identification pixel points in the graph cache data of the application 1 and the application 2 are obtainedo,yo) Extended to three-dimensional coordinates (x)o,yo,zo) Wherein different second windows have different third-dimensional coordinates zoThus, the second windows of the application 1 and the application 2 can be distinguished by different third-dimensional coordinates to determine the overlapping relationship of the overlapping regions of the display regions of the second windows of the application 1 and the application 2, for example, when there is an overlapping region between the second window 1 of the application 1 and the second window 2 of the application 2, if the third-dimensional coordinate of the second window 2 is far from the coordinate origin with respect to the third-dimensional coordinate of the second window 1 and a part of the display region of the second window 1 is identified as being covered by the second window 2, the overlapping region between the second window 1 and the second window 2 is used for the application 2 to display.
In the related art, the graphics cache data read in step 201 and the graphics cache data corresponding to the conventional and application (e.g., status bar) in the electronic device are merged into frame cache data, that is, the content displayed in full screen with the electronic device is obtained; therefore, in this embodiment, the three-dimensional coordinate (x) extended in the graphics cache data is mapped by using the first parametero,yo,zo) Converting the full screen display window, i.e. the first window, of the application into a second window, i.e. a non-full screen window, the converted graphics cache data comprising the converted (x)o,yo,zo) And RGB information of the pixel points.
The first parameter takes the form of: parameter values, matrices, parameter sets and parameter sets; taking the first window equal-scale reduction 1/2 as an example to transform it into a second window, when the first parameter is in the form of a matrix, the corresponding first parameter isThree-dimensional coordinates (x) of pixel points in frame cache data corresponding to the second windowt,yt,zt) As shown in formula (1):
taking the first window being scaled down 1/2 to transform it into the second window, and shifting the second window in the lateral direction Δ x and the longitudinal direction Δ y as an example, the corresponding first parameter isThree-dimensional coordinates (x) of pixel points in frame cache data corresponding to the second windowt,yt,zt) As shown in the formula (2),
taking the first window being scaled down 1/2 to convert it into the second window and rotating the second window clockwise by the angle θ as an example, the corresponding first parameter isThree-dimensional coordinates (x) of pixel points in frame cache data corresponding to the second windowt,yt,zt) As shown in the formula (3),
step 203, displaying a second window of the application on the touch display unit by using the frame buffer data, where the second window is used to replace the first window, so that the application is displayed in the corresponding second window.
It should be noted that, since the angle at which the first window is rotated depends on the angle parameter θ in the corresponding first parameter, when the same first parameter is adopted for a plurality of first windows, the plurality of first windows are rotated by the same angle θ, and accordingly, the plurality of first windows may also be rotated by corresponding different first parameters, so that the angles at which the plurality of first windows are rotated are different.
In the embodiment, the first window is triggered by the first operation and rotated by the first parameter to obtain the second window, so that the first window, namely a non-full-screen window, is displayed; moreover, the operation of rotating the first window can be realized through a specific first operation, so that the first window can be quickly and conveniently rotated, the requirements of users in different application scenes are met, and the user experience is improved.
Example two
The embodiment of the invention describes an information processing method, which is applied to an electronic device, wherein the electronic device comprises a touch display unit, the touch display unit can run M applications, M is a positive integer, the electronic device can execute a first instruction, N first windows are presented on the touch display unit, the N first windows correspond to N applications in the M applications, so that the N applications are displayed in the corresponding first windows, and the first windows are smaller than a display area of the touch display unit; fig. 3 is a schematic diagram of a second implementation flow of the information processing method according to the embodiment of the present invention, as shown in fig. 3, the method includes the following steps:
step 301, obtaining a first operation, where the first operation is an operation of rotating one or more first windows in the N first windows.
Step 302, analyzing the first operation to obtain first rotation angle information.
Step 303, determining a first parameter by using the first rotation angle information.
The first form of operation includes: touch operation on the touch display unit, voice operation on the electronic equipment or shaking operation on the electronic equipment; the first parameter takes the form of: parameter values, matrices, parameter sets, and parameter sets.
Step 304, rotating one or more first windows of the N first windows by using the first parameter to obtain second windows, so that the applications corresponding to the one or more first windows of the N first windows are displayed in the corresponding second windows, where the second windows are smaller than the display area of the touch display unit.
The first parameter is used for analyzing the first rotation angle information obtained by the first operation, namely, the first parameter is used for analyzing the first rotation angle information obtained by the first operation corresponding to the rotation angle of the first window, so that an electronic device user can rotate the first window at any angle according to needs of an actual scene, the operation is rapid and convenient, and the user experience is improved.
In a preferred embodiment of step 304, reading graphics cache data of an application corresponding to one or more first windows of the N first windows;
respectively converting the read graph cache data corresponding to one or more first windows into graph cache data corresponding to a second window by using the first parameters, and merging the graph cache data of the second window into frame cache data corresponding to the touch display unit;
and displaying a second window corresponding to the one or more first windows on the touch display unit by using the frame buffer data, wherein the second window is used for replacing the first window, so that the applications corresponding to the one or more first windows are displayed in the corresponding second windows.
Taking the example that two applications are displayed in the second window, that is, the two applications are displayed in a non-full screen, the following embodiments are still applicable to a scenario where a single application or two or more applications are displayed in the corresponding second window, as shown in fig. 2a, and the following steps are included:
step 201, reading the graph cache data of the application 1 and the application 2.
The application 1 and the application 2 write self-drawn graphic cache data for full-screen display into a graphic cache, namely store the graphic cache data as graphic cache data, wherein the graphic cache data comprises two-dimensional coordinate information of pixel points and RGB (red, green and blue) three-color information of the pixel points.
Step 202, converting the read graphic cache data corresponding to the application into graphic cache data corresponding to a second window by using the first parameter, and merging the graphic cache data of the second window into frame cache data corresponding to the touch display unit.
Considering the case that there may be an overlap region between the second windows of the application 1 and the application 2, as shown in fig. 2b, there is an overlap region between the second window 1 and the second window 2; accordingly, in this embodiment, the two-dimensional coordinates (x) of the identification pixel points in the graph cache data of the application 1 and the application 2 are obtainedo,yo) Extended to three-dimensional coordinates (x)o,yo,zo) Wherein different second windows have different third-dimensional coordinates zoThus, the second windows of the application 1 and the application 2 can be distinguished by different third-dimensional coordinates to determine the overlapping relationship of the overlapping regions of the display regions of the second windows of the application 1 and the application 2, for example, when there is an overlapping region between the second window 1 of the application 1 and the second window 2 of the application 2, if the third-dimensional coordinate of the second window 2 is far from the coordinate origin with respect to the third-dimensional coordinate of the second window 1 and a part of the display region of the second window 1 is identified as being covered by the second window 2, the overlapping region between the second window 1 and the second window 2 is used for the application 2 to display.
In the related art, the graphics cache data read in step 201 and the graphics cache data corresponding to the conventional and application (e.g., status bar) in the electronic device are merged into frame cache data, that is, the content displayed in full screen with the electronic device is obtained; therefore, in this embodiment, the three-dimensional coordinate (x) extended in the graphics cache data is mapped by using the first parametero,yo,zo) Converting the full screen display window, i.e. the first window, of the application into a second window, i.e. a non-full screen window, the converted graphics cache data comprising the converted (x)o,yo,zo) And RGB information of the pixel points.
The first parameter takes the form of: parameter values, matrices, parameter sets and parameter sets; taking the first window scaled down 1/2 as an example for transformation into a second window, when the first parameter takes the form of a matrixThe corresponding first parameter isThree-dimensional coordinates (x) of pixel points in frame cache data corresponding to the second windowt,yt,zt) As shown in formula (1):
taking the first window being scaled down 1/2 to transform it into the second window, and shifting the second window in the lateral direction Δ x and the longitudinal direction Δ y as an example, the corresponding first parameter isThree-dimensional coordinates (x) of pixel points in frame cache data corresponding to the second windowt,yt,zt) As shown in the formula (2),
taking the first window being scaled down 1/2 to convert it into the second window and rotating the second window clockwise by the angle θ as an example, the corresponding first parameter isThree-dimensional coordinates (x) of pixel points in frame cache data corresponding to the second windowt,yt,zt) As shown in the formula (3),
step 203, displaying a second window of the application on the touch display unit by using the frame buffer data, where the second window is used to replace the first window, so that the application is displayed in the corresponding second window.
In the embodiment, the first window is triggered by the first operation and rotated by the first parameter to obtain the second window, so that the first window, namely a non-full-screen window, is displayed; in addition, rotation at different angles can be realized for different first windows, the requirements of users in different application scenes are met, and the user experience is improved.
EXAMPLE III
The embodiment of the invention describes an information processing method, which is applied to an electronic device, wherein the electronic device comprises a touch display unit, the touch display unit can run M applications, M is a positive integer, the electronic device can execute a first instruction, N first windows are presented on the touch display unit, the N first windows correspond to N applications in the M applications, so that the N applications are displayed in the corresponding first windows, and the first windows are smaller than a display area of the touch display unit; fig. 4 is a schematic flow chart of a third implementation of the information processing method according to the embodiment of the present invention, as shown in fig. 4, including the following steps:
step 401, obtaining a first operation, where the first operation is an operation of rotating one or more first windows in the N first windows.
Step 402, responding to the first operation, and determining the first parameter according to preset first rotation angle information.
The first form of operation includes: touch operation on the touch display unit, voice operation on the electronic equipment or shaking operation on the electronic equipment; the first parameter is in the form of a plurality of parameters or in the form of a matrix.
Step 403, rotating one or more first windows of the N first windows by using the first parameter to obtain corresponding second windows, so that the applications corresponding to the one or more first windows of the N first windows are displayed in the corresponding second windows, where the second windows are smaller than the display area of the touch display unit.
And rotating one or more first windows in the N first windows by using the first parameter, so that the rotating angle of one or more first windows in the N first windows corresponds to the preset first rotation angle information.
In this embodiment, the angle at which one or more first windows among the N first windows rotate corresponds to the preset first rotation angle parameter, that is, the first window is triggered by each operation to rotate by the preset rotation angle to obtain the second window, so that the electronic device user can rotate the plurality of first windows at the same time, the rotation angle corresponds to the preset first rotation angle information, the preset first rotation angle information can be set according to an actual scene, the operation is fast and convenient, and the user experience is improved.
In a preferred embodiment of step 403, reading graphics cache data of an application corresponding to one or more first windows of the N first windows;
respectively converting the read graph cache data corresponding to one or more first windows into graph cache data corresponding to a second window by using the first parameters, and merging the graph cache data of the second window into frame cache data corresponding to the touch display unit;
and displaying a second window corresponding to the one or more first windows on the touch display unit by using the frame buffer data, wherein the second window is used for replacing the first window, so that the applications corresponding to the one or more first windows are displayed in the corresponding second windows.
Taking the example that two applications are displayed in the second window, that is, the two applications are displayed in a non-full screen, the following embodiments are still applicable to a scenario where a single application or two or more applications are displayed in the corresponding second window, as shown in fig. 2a, and the following steps are included:
step 201, reading the graph cache data of the application 1 and the application 2.
The application 1 and the application 2 write self-drawn graphic cache data for full-screen display into a graphic cache, namely store the graphic cache data as graphic cache data, wherein the graphic cache data comprises two-dimensional coordinate information of pixel points and RGB (red, green and blue) three-color information of the pixel points.
Step 202, converting the read graphic cache data corresponding to the application into graphic cache data corresponding to a second window by using the first parameter, and merging the graphic cache data of the second window into frame cache data corresponding to the touch display unit.
Considering the case that there may be an overlap region between the second windows of the application 1 and the application 2, as shown in fig. 2b, there is an overlap region between the second window 1 and the second window 2; accordingly, in this embodiment, the two-dimensional coordinates (x) of the identification pixel points in the graph cache data of the application 1 and the application 2 are obtainedo,yo) Extended to three-dimensional coordinates (x)o,yo,zo) Wherein different second windows have different third-dimensional coordinates zoThus, the second windows of the application 1 and the application 2 can be distinguished by different third-dimensional coordinates to determine the overlapping relationship of the overlapping regions of the display regions of the second windows of the application 1 and the application 2, for example, when there is an overlapping region between the second window 1 of the application 1 and the second window 2 of the application 2, if the third-dimensional coordinate of the second window 2 is far from the coordinate origin with respect to the third-dimensional coordinate of the second window 1 and a part of the display region of the second window 1 is identified as being covered by the second window 2, the overlapping region between the second window 1 and the second window 2 is used for the application 2 to display.
In the related art, the graphics cache data read in step 201 corresponds to graphics corresponding to conventional applications (e.g., status bar) in the electronic deviceCache data which is combined into frame cache data, namely, the content displayed in full screen with the electronic equipment is obtained; therefore, in this embodiment, the three-dimensional coordinate (x) extended in the graphics cache data is mapped by using the first parametero,yo,zo) Converting the full screen display window, i.e. the first window, of the application into a second window, i.e. a non-full screen window, the converted graphics cache data comprising the converted (x)o,yo,zo) And RGB information of the pixel points.
The first parameter takes the form of: parameter values, matrices, parameter sets and parameter sets; taking the first window equal-scale reduction 1/2 as an example to transform it into a second window, when the first parameter is in the form of a matrix, the corresponding first parameter isThree-dimensional coordinates (x) of pixel points in frame cache data corresponding to the second windowt,yt,zt) As shown in formula (1):
taking the first window being scaled down 1/2 to transform it into the second window, and shifting the second window in the lateral direction Δ x and the longitudinal direction Δ y as an example, the corresponding first parameter isThree-dimensional coordinates (x) of pixel points in frame cache data corresponding to the second windowt,yt,zt) As shown in the formula (2),
take the first window scaled down 1/2 to convert it to the second window and rotate the second window clockwise by θ as an exampleThe corresponding first parameter isThree-dimensional coordinates (x) of pixel points in frame cache data corresponding to the second windowt,yt,zt) As shown in the formula (3),
step 203, displaying a second window of the application on the touch display unit by using the frame buffer data, where the second window is used to replace the first window, so that the application is displayed in the corresponding second window.
It should be noted that, since the angle at which the first window is rotated depends on the angle parameter θ in the corresponding first parameter, when the same first parameter is adopted for a plurality of first windows, the plurality of first windows are rotated by the same angle θ, and accordingly, the plurality of first windows may also be rotated by corresponding different first parameters, so that the angles at which the plurality of first windows are rotated are different.
Example four
The embodiment of the invention describes an information processing method, which is applied to an electronic device, wherein the electronic device comprises a touch display unit, the touch display unit can run M applications, M is a positive integer, the electronic device can execute a first instruction, N first windows are presented on the touch display unit, the N first windows correspond to N applications in the M applications, so that the N applications are displayed in the corresponding first windows, and the first windows are smaller than a display area of the touch display unit; fig. 5 is a schematic flow chart of a fourth implementation of the information processing method according to the embodiment of the present invention, as shown in fig. 5, including the following steps:
step 501, obtaining a first operation, where the first operation is an operation of rotating one or more first windows in the N first windows.
Step 502, analyzing the first operation to obtain first rotation angle information.
Step 503, determining a first parameter by using the first rotation angle information.
The first form of operation includes: touch operation on the touch display unit, voice operation on the electronic equipment or shaking operation on the electronic equipment; the first parameter is in the form of a plurality of parameters or in the form of a matrix.
Step 504, rotating one or more first windows of the N first windows by using the first parameter to obtain second windows, so that the applications corresponding to the one or more first windows of the N first windows are displayed in the corresponding second windows, where the second windows are smaller than the display area of the touch display unit.
As shown in fig. 6a, a solid line shows a first window, and a dashed line shows a second window obtained after the first window is rotated, because the first window is not zoomed, that is, a parameter corresponding to the size of the display area of the second window in the first parameter remains unchanged, part of the content of the second window cannot be completely displayed in the touch display unit; or,
the parameter corresponding to the size of the display area of the second window in the first parameter is adaptively changed according to the first rotation angle information, so that the second window displays all contents in the touch display unit, as shown in fig. 6b, a solid line shows the first window, and a dotted line shows the second window obtained after the first window is rotated, because the contents of the first window cannot be completely displayed in the touch display unit after the first window is rotated, when the first window is rotated by using the first parameter, the parameter corresponding to the size of the display area in the first parameter is further adjusted to adaptively reduce the first window to obtain the second window, so that the second window displays all contents in the touch display unit; please refer to embodiment one, which will not be described herein again.
The rotation angle of one or more first windows in the N first windows corresponds to the received rotation angle parameter of the first operation, that is, the rotation angle of the first window by using the first parameter corresponds to the first rotation angle information obtained by analyzing the first operation, so that an electronic device user can rotate the first window by any angle as required according to the requirement of an actual scene; and when the first window is rotated by utilizing the first parameter, the size of the obtained display area of the second window can be adaptively adjusted so as to display all contents of the second window, thereby facilitating the use of a user and improving the user experience.
In a preferred embodiment of step 504, reading graphics cache data of an application corresponding to one or more first windows of the N first windows;
respectively converting the read graph cache data corresponding to one or more first windows into graph cache data corresponding to a second window by using the first parameters, and merging the graph cache data of the second window into frame cache data corresponding to the touch display unit;
and displaying a second window corresponding to the one or more first windows on the touch display unit by using the frame buffer data, wherein the second window is used for replacing the first window, so that the applications corresponding to the one or more first windows are displayed in the corresponding second windows.
The application is displayed in a non-full screen manner as described in the above embodiments, and details are not repeated here.
EXAMPLE five
The embodiment of the invention describes an information processing method, which is applied to an electronic device, wherein the electronic device comprises a touch display unit, the touch display unit can run M applications, M is a positive integer, the electronic device can execute a first instruction, N first windows are presented on the touch display unit, the N first windows correspond to N applications in the M applications, so that the N applications are displayed in the corresponding first windows, and the first windows are smaller than a display area of the touch display unit; fig. 7 is a schematic diagram of an implementation flow of the information processing method according to the embodiment of the present invention, as shown in fig. 7, including the following steps:
step 701, obtaining a first operation, where the first operation is an operation of rotating one or more first windows in the N first windows.
Step 702, determining a first parameter according to preset first rotation angle information in response to the first operation.
The first form of operation includes: touch operation on the touch display unit, voice operation on the electronic equipment or shaking operation on the electronic equipment; the first parameter takes the form of: parameter values, matrices, parameter sets, and parameter sets.
Step 703, rotating one or more first windows of the N first windows by using the first parameter to obtain corresponding second windows, so that the applications corresponding to the one or more first windows of the N first windows are displayed in the corresponding second windows, where the second windows are smaller than the display area of the touch display unit.
And rotating one or more first windows in the N first windows by using the first parameter, so that the rotating angle of one or more first windows in the N first windows corresponds to the preset first rotation angle information.
As shown in fig. 6a, a solid line shows a first window, and a dashed line shows a second window obtained after the first window is rotated, because the first window is not zoomed, that is, a parameter corresponding to the size of the display area of the second window in the first parameter remains unchanged, part of the content of the second window cannot be completely displayed in the touch display unit; or,
the parameter corresponding to the size of the display area of the second window in the first parameter is adaptively changed according to the first rotation angle information, so that the second window displays all contents in the touch display unit, as shown in fig. 6b, a solid line shows the first window, and a dotted line shows the second window obtained after the first window is rotated, because the contents of the first window cannot be completely displayed in the touch display unit after the first window is rotated, when the first window is rotated by using the first parameter, the parameter corresponding to the size of the display area in the first parameter is further adjusted to adaptively reduce the first window to obtain the second window, so that the second window displays all contents in the touch display unit; please refer to embodiment one, which will not be described herein again.
In this embodiment, a rotation angle of one or more first windows of the N first windows corresponds to the preset first rotation angle parameter, that is, each operation triggers the first window to rotate by the preset rotation angle to obtain a second window, so that a user of the electronic device can simultaneously rotate the plurality of first windows, the rotation angle corresponds to preset first rotation angle information, and the preset first rotation angle information can be set according to an actual scene; and when the first window is rotated by utilizing the first parameter, the size of the obtained display area of the second window can be adaptively adjusted so as to display all contents of the second window, thereby facilitating the use of a user and improving the user experience.
Here, it should be noted that: the following description of the embodiments of the electronic device is similar to the description of the method, and the description of the advantageous effects of the method is omitted for brevity. For technical details not disclosed in the embodiments of the electronic device of the present invention, refer to the description of the embodiments of the method of the present invention.
EXAMPLE six
An electronic device is described in an embodiment of the present invention, fig. 8 is a schematic view of a composition structure of an electronic device in an embodiment of the present invention, and as shown in fig. 8, the electronic device includes a touch display unit 810, where the touch display unit 810 is capable of running M applications, where M is a positive integer, the touch display unit 810 is capable of executing a first instruction, and N first windows are presented on the touch display unit 810, where the N first windows correspond to N applications of the M applications, so that the N applications are displayed in the respective corresponding first windows, and the first windows are smaller than a display area of the touch display unit 810; the electronic device further includes:
a first obtaining unit 820, configured to obtain a first operation, where the first operation is an operation of rotating one or more first windows in the N first windows;
a second obtaining unit 830, configured to obtain a first parameter in response to the first operation;
a rotating unit 840, configured to rotate one or more first windows of the N first windows by using the first parameter to obtain corresponding second windows, so that the applications corresponding to the one or more first windows of the N first windows are displayed in the corresponding second windows, where the second windows are smaller than a display area of the touch display unit 810.
The first parameter obtained by the second obtaining unit 830 may be in a form including: parameter values, matrices, parameter sets, and parameter sets.
EXAMPLE seven
An electronic device is described in an embodiment of the present invention, fig. 9 is a schematic structural diagram of the electronic device in the embodiment of the present invention, and as shown in fig. 9, the electronic device includes a touch display unit 910, where the touch display unit 910 is capable of running M applications, where M is a positive integer, the touch display unit 910 is capable of executing a first instruction, and N first windows are presented on the touch display unit 910, where the N first windows correspond to N applications of the M applications, so that the N applications are displayed in the respective corresponding first windows, and the first windows are smaller than a display area of the touch display unit 910; the electronic device includes:
a first obtaining unit 920, configured to obtain a first operation, where the first operation is an operation of rotating one or more first windows in the N first windows;
a second obtaining unit 930, configured to obtain a first parameter in response to the first operation;
a rotating unit 940, configured to rotate one or more first windows of the N first windows by using the first parameter to obtain corresponding second windows, so that the applications corresponding to the one or more first windows of the N first windows are displayed in the corresponding second windows, where the second windows are smaller than the display area of the touch display unit 910.
The second obtaining unit 930 is further configured to analyze the first operation to obtain first rotation angle information;
determining the first parameter by using the first rotation angle information;
the rotating unit 940 is further configured to rotate one or more first windows of the N first windows by using the first parameter, so that an angle by which the one or more first windows of the N first windows are rotated corresponds to the received rotation angle parameter of the first operation.
The second obtaining unit 930 is further configured to determine the first parameter according to preset first rotation angle information;
the rotating unit 940 is further configured to rotate one or more first windows of the N first windows by using the first parameter, so that a rotated angle of the one or more first windows of the N first windows corresponds to the preset first rotation angle information.
The rotating unit 940 is further configured to, when one or more first windows in the N first windows are rotated by using the first parameter, keep a parameter corresponding to the size of the display area of the second window in the first parameters unchanged, so that the size of the display area of the second window is kept unchanged; or,
and adaptively changing a parameter, corresponding to the size of the display area of the second window, in the first parameter according to the first rotation angle information, so that the second window displays all contents in the touch display unit 910.
The rotation unit 940 is further configured to read graphics cache data applied to one or more first windows of the N first windows;
converting the read graphic cache data corresponding to the one or more first windows into graphic cache data corresponding to a second window, respectively, and merging the graphic cache data of the second window into frame cache data corresponding to the touch display unit 910 by using the first parameter;
displaying, by the touch display unit 910, a second window corresponding to the one or more first windows by using the frame buffer data, where the second window is used to replace the first window, so that applications corresponding to the one or more first windows are displayed in the corresponding second windows.
The first parameter obtained by the second obtaining unit 930 takes the form of: parameter values, matrices, parameter sets, and parameter sets.
In practical applications, the touch display unit 810 of the sixth embodiment can be implemented by a touch display in the electronic device; the first obtaining unit 820, the second obtaining unit 830 and the rotating unit 840 may be implemented by a CPU, a Digital Signal Processor (DSP) or a Field Programmable Gate Array (FPGA) in the electronic device; the touch display unit 910 in embodiment seven may be implemented by a touch display in the electronic device; the first obtaining unit 920, the second obtaining unit 930, and the rotating unit 940 may be implemented by a CPU, a DSP, or an FPGA in the electronic device.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (12)

1. An information processing method is applied to an electronic device, the electronic device comprises a touch display unit, the touch display unit can run M applications, M is a positive integer, the electronic device can execute a first instruction, N first windows are presented on the touch display unit, the N first windows correspond to N applications in the M applications, so that the N applications are displayed in the corresponding first windows respectively, and the first windows are smaller than a display area of the touch display unit; the method comprises the following steps:
obtaining a first operation, wherein the first operation is an operation of rotating a plurality of first windows in the N first windows;
responding to the first operation to obtain a first parameter;
rotating a plurality of first windows in the N first windows by using the first parameters to obtain corresponding second windows, so that the applications corresponding to the plurality of first windows in the N first windows are displayed in the corresponding second windows, wherein the second windows are smaller than the display area of the touch display unit;
wherein the rotating the plurality of the N first windows using the first parameter comprises:
the plurality of first windows are rotated by different first parameters so that the plurality of first windows are rotated by different angles.
2. The method of claim 1, wherein obtaining a first parameter in response to the first operation comprises:
analyzing the first operation to obtain first rotation angle information;
determining the first parameter by using the first rotation angle information;
accordingly, the rotating a plurality of the N first windows using the first parameter includes:
and rotating the plurality of first windows in the N first windows by using the first parameter, so that the rotating angles of the plurality of first windows in the N first windows correspond to the rotating angles of the plurality of first windows in the N first windows by the first operation.
3. The method of claim 1, wherein obtaining a first parameter in response to the first operation comprises:
determining the first parameter according to preset first rotation angle information;
accordingly, the rotating a plurality of the N first windows using the first parameter includes:
and rotating a plurality of first windows in the N first windows by using the first parameter, so that the rotating angles of the plurality of first windows in the N first windows correspond to the preset first rotating angle information.
4. The method according to claim 2 or 3, wherein when rotating the plurality of the N first windows using the first parameter, the method further comprises:
the parameter corresponding to the size of the display area of the second window in the first parameters is kept unchanged, so that the size of the display area of the second window is kept unchanged; or,
and adaptively changing a parameter corresponding to the size of the display area of the second window in the first parameter according to the first rotation angle information, so that the second window displays all contents in the touch display unit.
5. The method according to claim 4, wherein the rotating the plurality of first windows of the N first windows by using the first parameter to obtain corresponding second windows, and displaying the corresponding applications in the corresponding second windows of the plurality of first windows of the N first windows comprises:
reading graph cache data of application corresponding to a plurality of first windows in the N first windows;
respectively converting the read graph cache data corresponding to the applications of the plurality of first windows into graph cache data corresponding to a second window by using the first parameters, and merging the graph cache data of the second window into frame cache data corresponding to the touch display unit;
and displaying second windows corresponding to the plurality of first windows on the touch display unit by using the frame buffer data, wherein the second windows are used for replacing the first windows so as to display applications corresponding to the plurality of first windows in the corresponding second windows.
6. A method according to any one of claims 1 to 3, wherein the first parameter takes the form of: parameter values, matrices, parameter sets, and parameter sets.
7. An electronic device comprises a touch display unit, wherein the touch display unit can run M applications, and M is a positive integer; the touch display unit can execute a first instruction, and N first windows are presented on the touch display unit and correspond to N applications in the M applications, so that the N applications are displayed in the corresponding first windows respectively, and the first windows are smaller than the display area of the touch display unit; the electronic device further includes:
a first obtaining unit, configured to obtain a first operation, where the first operation is an operation of rotating a plurality of first windows in the N first windows;
the second acquisition unit is used for responding to the first operation and acquiring a first parameter;
the rotating unit is used for rotating a plurality of first windows in the N first windows by using the first parameters to obtain corresponding second windows so as to display applications corresponding to the plurality of first windows in the N first windows in the corresponding second windows, wherein the second windows are smaller than the display area of the touch display unit;
wherein the rotating the plurality of the N first windows using the first parameter comprises:
the plurality of first windows are rotated by different first parameters so that the plurality of first windows are rotated by different angles.
8. The electronic device of claim 7,
the second obtaining unit is further configured to analyze the first operation to obtain first rotation angle information;
determining the first parameter by using the first rotation angle information;
the rotating unit is further configured to rotate, by using the first parameter, the plurality of first windows in the N first windows, so that an angle by which the plurality of first windows in the N first windows are rotated corresponds to an angle by which the plurality of first windows in the N first windows are rotated by the first operation.
9. The electronic device of claim 7,
the second obtaining unit is further configured to determine the first parameter according to preset first rotation angle information;
the rotating unit is further configured to rotate, by using the first parameter, the plurality of first windows in the N first windows, so that angles of rotation of the plurality of first windows in the N first windows correspond to the preset first rotation angle information.
10. The electronic device of claim 8 or 9,
the rotating unit is further configured to, when a plurality of first windows in the N first windows are rotated by using the first parameter, keep a parameter corresponding to the size of the display area of the second window in the first parameter unchanged, so that the size of the display area of the second window is kept unchanged; or,
and adaptively changing the parameter corresponding to the size of the display area of the second window in the first parameter according to the first rotation angle information, so that the second window displays all contents in the touch display unit.
11. The electronic device of claim 10,
the rotation unit is further configured to read graph cache data applied to a plurality of first windows in the N first windows;
respectively converting the read graph cache data corresponding to the applications of the plurality of first windows into graph cache data corresponding to a second window by using the first parameters, and merging the graph cache data of the second window into frame cache data corresponding to the touch display unit;
and displaying second windows corresponding to the plurality of first windows on the touch display unit by using the frame buffer data, wherein the second windows are used for replacing the first windows so as to display applications corresponding to the plurality of first windows in the corresponding second windows.
12. The electronic device of any of claims 7 to 9,
the first parameter obtained by the second obtaining unit takes the form of: parameter values, matrices, parameter sets, and parameter sets.
CN201310517803.XA 2013-10-28 2013-10-28 Information processing method and electronic equipment Active CN104571796B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310517803.XA CN104571796B (en) 2013-10-28 2013-10-28 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
CN201310517803.XA CN104571796B (en) 2013-10-28 2013-10-28 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104571796A CN104571796A (en) 2015-04-29
CN104571796B true CN104571796B (en) 2018-12-14

Family

ID=53088013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310517803.XA Active CN104571796B (en) 2013-10-28 2013-10-28 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104571796B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824491B (en) * 2015-08-31 2019-11-15 维沃移动通信有限公司 A kind of split screen treating method and apparatus in a mobile device
CN107430472A (en) * 2015-12-30 2017-12-01 北京超卓科技有限公司 System and method for mobile device operation system
CN105892813A (en) * 2016-03-30 2016-08-24 联想(北京)有限公司 Information processing method and electronic device
CN111710315B (en) * 2020-06-15 2022-06-14 Oppo(重庆)智能科技有限公司 Image display method, image display device, storage medium and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8276095B2 (en) * 2004-02-20 2012-09-25 Advanced Intellectual Property Group, Llc System for and method of generating and navigating within a workspace of a computer application
KR101905038B1 (en) * 2011-11-16 2018-10-08 삼성전자주식회사 Apparatus having a touch screen under multiple applications environment and method for controlling thereof
KR101888457B1 (en) * 2011-11-16 2018-08-16 삼성전자주식회사 Apparatus having a touch screen processing plurality of apllications and method for controlling thereof
CN103218109A (en) * 2011-11-28 2013-07-24 马维尔国际有限公司 Dual-window solution for android operating system
CN103167263B (en) * 2011-12-15 2017-05-24 联想(北京)有限公司 Collected image processing method and electronic equipment

Also Published As

Publication number Publication date
CN104571796A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN110377264B (en) Layer synthesis method, device, electronic equipment and storage medium
US9715750B2 (en) System and method for layering using tile-based renderers
US9721391B2 (en) Positioning of projected augmented reality content
CN104571842B (en) Information processing method and electronic equipment
CN104571796B (en) Information processing method and electronic equipment
WO2017202175A1 (en) Method and device for video compression and electronic device
KR102251444B1 (en) Graphic processing unit, graphic processing system comprising the same, antialiasing method using the same
CN104571904B (en) A kind of information processing method and electronic equipment
WO2021259249A1 (en) Data display processing method and apparatus, computer device and storage medium
CN103870115B (en) Information processing method and electronic equipment
CN103870118B (en) Information processing method and electronic equipment
CN115129278A (en) Image display control method, system, readable storage medium and electronic device
WO2014200543A1 (en) Virtualizing applications for multi-monitor environments
WO2017000605A1 (en) System on chip, graphic plotting method, intermediate layer, embedded device and medium
US8666159B1 (en) Real time feature extraction
CN101996390B (en) Image copying method and device
CN104571791A (en) Information processing method and electronic equipment
US20210049788A1 (en) Shader function based pixel count determination
CN103809972B (en) A kind of information processing method and electronic equipment
CN104571790B (en) Information processing method and electronic equipment
CN114035903A (en) Method and system for realizing Linux KVM virtual machine to support 3D application
US20230056599A1 (en) System and method for rendering a design including a dynamic design element
US9811945B2 (en) On-demand transformation aware shape tessellation
CN104571799B (en) Information processing method and electronic equipment
US20160173897A1 (en) High Parallelism Dependency Pattern for GPU Based Deblock

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