CN104571843A - Information processing method and electronic equipment - Google Patents
Information processing method and electronic equipment Download PDFInfo
- Publication number
- CN104571843A CN104571843A CN201310517765.8A CN201310517765A CN104571843A CN 104571843 A CN104571843 A CN 104571843A CN 201310517765 A CN201310517765 A CN 201310517765A CN 104571843 A CN104571843 A CN 104571843A
- Authority
- CN
- China
- Prior art keywords
- application
- display
- full screen
- screen window
- full
- 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.)
- Pending
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 12
- 238000003672 processing method Methods 0.000 title claims abstract description 12
- 238000006243 chemical reaction Methods 0.000 claims abstract description 65
- 238000000034 method Methods 0.000 claims abstract description 13
- 239000011159 matrix material Substances 0.000 claims description 38
- 238000004458 analytical method Methods 0.000 claims description 25
- 230000009466 transformation Effects 0.000 claims description 16
- 230000002194 synthesizing effect Effects 0.000 claims description 10
- 230000007704 transition Effects 0.000 claims 1
- 230000000007 visual effect Effects 0.000 abstract description 10
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
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 an information processing method, which comprises the following steps that a touch control display unit obtains a first touch control operation, resolves the first touch control operation and obtains a first resolving result, and a first application is started according to the first resolving result; a posture parameter of electronic equipment is obtained; the first application is resolved, and an attribute parameter of the first application is obtained; display information of a first non-full-screen window corresponding to the first application is determined according to the attribute parameter of the first application, the posture parameter of the electronic equipment and the preset conversion parameters; a display interface of the touch control display unit is synthesized according to the display information of the first non-full-screen window. The invention also discloses the electronic equipment. When the method and the electronic equipment provided by the invention are adopted, the display confusion problem can be prevented, the usability of a non-full-screen window system is improved, and richer visual experience is provided for users.
Description
Technical Field
The present invention relates to the field of wireless communications, and in particular, to an information processing method and an electronic device.
Background
With the development of mobile terminals, especially the improvement of the resolution and the increase of the size of the screen, users gradually put forward the requirements of multi-window operation interfaces, that is, a plurality of non-full-screen windows are opened simultaneously in the same mobile device, and each non-full-screen window displays and operates an application. However, if the multi-window operation interface is put into use, when a plurality of non-full-screen windows are opened, the problem of switching the display directions of the plurality of non-full-screen windows may occur along with the switching of the horizontal screen and the vertical screen of the mobile terminal, which may bring visual confusion to the client, affect the user experience, and may not ensure the usability of the system of the plurality of non-full-screen windows.
Disclosure of Invention
In view of this, an object of the present invention is to provide an information processing method and an electronic device, which can avoid the problem of display confusion, improve the usability of a non-full screen window system, and provide richer visual experience for a user.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the embodiment of the invention provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment is provided with a touch display unit, the electronic equipment can run a plurality of applications and display the applications in a display area of the touch display unit, and when N windows running the applications in a non-full screen mode are opened, N is an integer greater than or equal to 1; the method comprises the following steps:
the touch control display unit acquires a first touch control operation, analyzes the first touch control operation to obtain a first analysis result, and starts a first application according to the first analysis result;
acquiring attitude parameters of the electronic equipment;
analyzing the first application to obtain attribute parameters of the first application;
determining display information of a first non-full screen window corresponding to the first application according to the attribute parameters of the first application, the posture parameters of the electronic equipment and preset conversion parameters;
and synthesizing a display interface of the first non-full screen window on the touch display unit according to the display information of the first non-full screen window.
An embodiment of the present invention further provides an electronic device, where the electronic device includes: the touch control display unit and the processing unit; wherein,
the touch display unit is used for starting N windows running in a non-full screen mode, wherein N is an integer greater than or equal to 1; acquiring a first touch operation, analyzing the first touch operation to obtain a first analysis result, and sending the first analysis result to a processing unit;
the processing unit is used for running a plurality of applications, displaying the applications in a display area of the touch display unit, and starting a first application according to the first analysis result sent by the touch display unit when N applications running in a non-full screen mode run; acquiring attitude parameters of the electronic equipment; analyzing the first application to obtain attribute parameters of the first application; determining display information of a first non-full screen window corresponding to the first application according to the attribute parameters of the first application, the posture parameters of the electronic equipment and preset conversion parameters; and synthesizing a display interface of the first non-full screen window on the touch display unit according to the display information of the first non-full screen window.
According to the information processing method and the electronic equipment provided by the invention, whether the non-full screen window corresponding to the first application is the same as the display direction of the electronic equipment or not can be determined according to the display direction supported by the first application, so that the problem of display disorder can be avoided when a user uses the non-full screen window, the usability of a non-full screen window system is improved, and richer visual experience is provided for the user.
Drawings
FIG. 1 is a flow chart of an information processing method according to an embodiment of the present invention;
FIG. 2 is a first schematic view illustrating a display effect according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a second display effect according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The first embodiment,
The information processing method provided by the embodiment of the invention is used in electronic equipment, wherein the electronic equipment can be a mobile terminal such as a smart phone or a tablet personal computer; the electronic equipment is provided with a touch display unit, the electronic equipment can run a plurality of applications and displays the applications in a display area of the touch display unit, and when N applications running in a non-full screen mode run on the electronic equipment, N is more than or equal to 1; as shown in fig. 1, the method includes:
step 101: the touch control display unit obtains a first touch control operation, analyzes the first touch control operation to obtain a first analysis result, and starts a first application according to the first analysis result.
Step 102: and acquiring the attitude parameters of the electronic equipment.
Step 103: and analyzing the first application to obtain the attribute parameters of the first application.
Step 104: and determining display information of a first non-full screen window corresponding to the first application according to the attribute parameter of the first application, the posture parameter of the electronic equipment and a preset conversion parameter.
Step 105: and synthesizing a display interface of the touch display unit according to the display information of the first non-full screen window.
Wherein the attribute parameters of the first application include: a parameter characterizing a display orientation of the first application, such as a display orientation of a landscape screen and/or a portrait screen supported by the first application. The attitude parameters of the electronic device include: and a parameter representing the current display direction of the electronic equipment, for example, the electronic equipment is in a landscape screen state or a portrait screen state currently.
The preset conversion parameters include: a transformation matrix to transform a full-screen window of the first application to a non-full-screen window.
Through the steps, when a user uses the mobile terminal, whether the first application supports horizontal screen display and/or vertical screen display or not can be obtained, and whether the first non-full screen window is displayed according to the horizontal screen or vertical screen state of the current mobile terminal or not is determined;
such as: if the first application supports horizontal screen display and vertical screen display, displaying or switching a non-full screen window of the first application according to a horizontal screen or a vertical screen of the mobile terminal;
if the first application only supports horizontal screen display, when the mobile terminal is in a horizontal screen state, the non-full screen window of the first application is in the horizontal screen display state, and when the mobile terminal is in a vertical screen state, the non-full screen window of the first application keeps the horizontal screen display;
if the first application only supports vertical screen display, when the mobile terminal is a horizontal screen or a vertical screen, the non-full screen window of the first application is kept in vertical screen display.
For example, in fig. 2, a non-full screen window 1 runs a first application, and a non-full screen window 2 runs a second application, assuming that the first application only supports vertical screen display, and the second application supports horizontal screen and vertical screen display; when the terminal is changed from the vertical screen to the horizontal screen, as shown in fig. 3, the non-full screen window 1 corresponding to the first application still maintains the display state of the vertical screen; and the non-full screen window 2 corresponding to the second application is switched to be displayed on a horizontal screen.
Therefore, whether the non-full screen window corresponding to the first application is the same as the display direction of the electronic equipment or not can be determined according to the display direction supported by the first application, so that the problem of disordered display can be avoided when a user uses the non-full screen window, the usability of a non-full screen window system is improved, and richer visual experience is provided for the user.
Example II,
The information processing method provided by the embodiment of the invention is used in electronic equipment, wherein the electronic equipment can be a mobile terminal such as a smart phone or a tablet personal computer; the electronic equipment is provided with a touch display unit, the electronic equipment can run a plurality of applications and displays the applications in a display area of the touch display unit, and when N applications running in a non-full screen mode run on the electronic equipment, N is more than or equal to 1; as shown in fig. 1, the method includes:
step 101: the touch control display unit obtains a first touch control operation, analyzes the first touch control operation to obtain a first analysis result, and starts a first application according to the first analysis result.
Step 102: and acquiring the attitude parameters of the electronic equipment.
Step 103: and analyzing the first application to obtain the attribute parameters of the first application.
Step 104: and determining display information of a first non-full screen window corresponding to the first application according to the attribute parameter of the first application, the posture parameter of the electronic equipment and a preset conversion parameter.
Step 105: and synthesizing a display interface of the touch display unit according to the display information of the first non-full screen window.
Wherein the attribute parameters of the first application include: a parameter characterizing a display orientation of the first application, such as a display orientation of a landscape screen and/or a portrait screen supported by the first application. The attitude parameters of the electronic device include: and a parameter representing the current display direction of the electronic equipment, for example, the electronic equipment is in a landscape screen state or a portrait screen state currently.
The preset conversion parameters include: a transformation matrix to transform a full-screen window of the first application to a non-full-screen window.
Determining display information of a first non-full screen window corresponding to the first application according to the attribute parameter of the first application, the posture parameter of the electronic device and a preset conversion parameter, wherein the determining comprises:
determining the display direction of the first application according to the attribute parameters of the first application, and determining the current display direction of the electronic equipment according to the attitude parameters of the electronic equipment;
judging whether the first application supports a display direction the same as that of the electronic equipment, if so, determining the display direction of a first non-full screen window corresponding to the first application according to the display direction of the electronic equipment, and determining the display information of the first non-full screen window by utilizing the preset conversion parameter and the display direction of the first non-full screen window;
if not, determining the display direction of a first non-full screen window corresponding to the first application according to the display direction of the first application, and determining the display information of the first non-full screen window by using the preset conversion parameter and the display direction of the first non-full screen window.
Through the steps, when a user uses the mobile terminal, whether the first application supports horizontal screen display and/or vertical screen display or not can be obtained, and whether the first non-full screen window is displayed according to the horizontal screen or vertical screen state of the current mobile terminal or not is determined;
such as: if the first application supports horizontal screen display and vertical screen display, displaying or switching a non-full screen window of the first application according to a horizontal screen or a vertical screen of the mobile terminal;
if the first application only supports horizontal screen display, when the mobile terminal is in a horizontal screen state, the non-full screen window of the first application is in the horizontal screen display state, and when the mobile terminal is in a vertical screen state, the non-full screen window of the first application keeps the horizontal screen display;
if the first application only supports vertical screen display, when the mobile terminal is a horizontal screen or a vertical screen, the non-full screen window of the first application is kept in vertical screen display.
For example, in fig. 2, a non-full screen window 1 runs a first application, and a non-full screen window 2 runs a second application, assuming that the first application only supports vertical screen display, and the second application supports horizontal screen and vertical screen display; when the terminal is changed from the vertical screen to the horizontal screen, as shown in fig. 3, the non-full screen window 1 corresponding to the first application still maintains the display state of the vertical screen; and the non-full screen window 2 corresponding to the second application is switched to be displayed on a horizontal screen.
The preset conversion parameter may be a preset conversion matrix.
The converting the display window corresponding to the selected application by using the preset conversion matrix to obtain the display area of the non-full screen window of the application comprises: reading the graph cache data of the application; converting the read graph cache data by using the preset conversion matrix, and generating frame cache data corresponding to the touch display unit by using the graph cache data; and displaying the non-full screen window of the application on the touch display unit by utilizing the frame cache data.
Considering the situation that a superposition area possibly exists between the non-full screen display windows corresponding to the two applications, the coordinate information of the pixel points in the graphic cache data of the non-full screen display window corresponding to the applications is set as a three-dimensional coordinate (x)o,yo,zo) (ii) a Wherein different non-full screen display windows have different third-dimensional coordinates zoTherefore, when the two non-full screen windows are overlapped or completely covered, different non-full screen windows can be distinguished by different third-dimensional coordinates.
The predetermined transformation matrix may be an identity matrix, and the predetermined transformation matrix is used to expand three-dimensional coordinates (x) in the graphics cache datao,yo,zo) Converting to obtain the non-full screen display window of the application, wherein the graphic cache data corresponding to the non-full screen display window comprises the converted (x)o,yo,zo) And the RGB information of the corresponding pixel point. Therefore, the application displayed in the full screen mode is converted into the non-full screen window through the conversion matrix, the non-full screen windows corresponding to the multiple applications are provided for a user, and the content in any application operated in the non-full screen window can be flexibly checked.
Therefore, whether the non-full screen window corresponding to the first application is the same as the display direction of the electronic equipment or not can be determined according to the display direction supported by the first application, so that the problem of disordered display can be avoided when a user uses the non-full screen window, the usability of a non-full screen window system is improved, and richer visual experience is provided for the user.
Example III,
The information processing method provided by the embodiment of the invention is used in electronic equipment, wherein the electronic equipment can be a mobile terminal such as a smart phone or a tablet personal computer; the electronic equipment is provided with a touch display unit, the electronic equipment can run a plurality of applications and displays the applications in a display area of the touch display unit, and when N applications running in a non-full screen mode run on the electronic equipment, N is more than or equal to 1; as shown in fig. 1, the method includes:
step 101: the touch control display unit obtains a first touch control operation, analyzes the first touch control operation to obtain a first analysis result, and starts a first application according to the first analysis result.
Step 102: and acquiring the attitude parameters of the electronic equipment.
Step 103: and analyzing the first application to obtain the attribute parameters of the first application.
Step 104: and determining display information of a first non-full screen window corresponding to the first application according to the attribute parameter of the first application, the posture parameter of the electronic equipment and a preset conversion parameter.
Step 105: and synthesizing a display interface of the touch display unit according to the display information of the first non-full screen window.
Wherein the attribute parameters of the first application include: a parameter characterizing a display orientation of the first application, such as a display orientation of a landscape screen and/or a portrait screen supported by the first application. The attitude parameters of the electronic device include: and a parameter representing the current display direction of the electronic equipment, for example, the electronic equipment is in a landscape screen state or a portrait screen state currently.
The preset conversion parameters include: a transformation matrix to transform a full-screen window of the first application to a non-full-screen window.
Determining display information of a first non-full screen window corresponding to the first application according to the attribute parameter of the first application, the posture parameter of the electronic device and a preset conversion parameter, wherein the determining comprises:
determining the display direction of the first application according to the attribute parameters of the first application, and determining the current display direction of the electronic equipment according to the attitude parameters of the electronic equipment;
judging whether the first application supports a display direction the same as that of the electronic equipment, if so, determining the display direction of a first non-full screen window corresponding to the first application according to the display direction of the electronic equipment, and determining the display information of the first non-full screen window by utilizing the preset conversion parameter and the display direction of the first non-full screen window;
if not, determining the display direction of a first non-full screen window corresponding to the first application according to the display direction of the first application, and determining the display information of the first non-full screen window by using the preset conversion parameter and the display direction of the first non-full screen window.
Through the steps, when a user uses the mobile terminal, whether the first application supports horizontal screen display and/or vertical screen display or not can be obtained, and whether the first non-full screen window is displayed according to the horizontal screen or vertical screen state of the current mobile terminal or not is determined;
for example, in fig. 2, a non-full screen window 1 runs a first application, and a non-full screen window 2 runs a second application, where the first application may be a QQ or a WeChat, and the second application may be a video; assuming that the first application only supports vertical screen display, and the second application supports horizontal screen display and vertical screen display;
when the terminal is changed from the vertical screen to the horizontal screen, as shown in fig. 3, the non-full screen window 1 corresponding to the first application still maintains the display state of the vertical screen; and the non-full screen window 2 corresponding to the second application is switched to be displayed on a horizontal screen.
The preset conversion parameter may be a preset conversion matrix.
The determining the display information of the first non-full screen window by using the preset conversion parameter and the display direction of the first non-full screen window includes:
acquiring the preset conversion parameters; and converting the full-screen display window corresponding to the first application by using the conversion parameter and the display direction of the first non-full-screen window to obtain a display area of the first non-full-screen window of the first application.
Considering the situation that a superposition area possibly exists between the non-full screen display windows corresponding to the two applications, the coordinate information of the pixel points in the graphic cache data of the non-full screen display window corresponding to the applications is set as a three-dimensional coordinate (x)o,yo,zo) (ii) a Wherein different non-full screen display windows have different third-dimensional coordinates zoTherefore, when the two non-full screen windows are overlapped or completely covered, different non-full screen windows can be distinguished by different third-dimensional coordinates.
The predetermined transformation matrix may be an identity matrix, and the predetermined transformation matrix is used to expand three-dimensional coordinates (x) in the graphics cache datao,yo,zo) Converting to obtain the non-full screen display window of the application, wherein the graphic cache data corresponding to the non-full screen display window comprises the converted (x)o,yo,zo) And the RGB information of the corresponding pixel point. It can be seen that the application displayed in full screen is converted into the application displayed in full screen through the conversion matrixThe non-full screen window provides a plurality of non-full screen windows corresponding to the application for the user, and the content in the application operated by any one non-full screen window can be flexibly checked.
Preferably, the non-full screen window may also be subjected to multiple adjustments, specifically, adjusting a conversion matrix corresponding to the non-full screen window,
for example, if the non-full screen window is reduced 1/2, the conversion matrix corresponding to the non-full screen window is changed into the conversion matrix corresponding to the non-full screen window according to the response information The three-dimensional coordinate (x) of each pixel point in the frame cache data corresponding to the non-full screen windowt,yt,zt) Comprises the following steps:
then the non-full screen window is moved transversely by delta x and longitudinally by delta y, and the conversion matrix of the non-full screen window is <math>
<mrow>
<mfenced open='(' close=')'>
<mtable>
<mtr>
<mtd>
<mn>1</mn>
<mo>/</mo>
<mn>2</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mi>Δx</mi>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>1</mn>
<mo>/</mo>
<mn>2</mn>
</mtd>
<mtd>
<mi>Δy</mi>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>1</mn>
<mo>/</mo>
<mn>2</mn>
</mtd>
</mtr>
</mtable>
</mfenced>
<mo>,</mo>
</mrow>
</math> The three-dimensional coordinate (x) of each pixel point in the frame cache data corresponding to the non-full screen windowt,yt,zt) Comprises the following steps:
preferably, the display parameters of the first application may be set by a user, for example, the first application may be set to be displayed only in a portrait screen.
Therefore, whether the non-full screen window corresponding to the first application is the same as the display direction of the electronic equipment or not can be determined according to the display direction supported by the first application, so that the problem of disordered display can be avoided when a user uses the non-full screen window, the usability of a non-full screen window system is improved, and richer visual experience is provided for the user.
Example four,
According to the electronic device provided by the embodiment of the invention, the electronic device can be a mobile terminal such as a smart phone or a tablet computer; as shown in fig. 4, the electronic apparatus includes: the touch control display unit and the processing unit; wherein,
the touch display unit is used for displaying a plurality of applications in the display area and displaying non-full screen windows corresponding to the applications; acquiring a first touch operation, analyzing the first touch operation to obtain a first analysis result, and sending the first analysis result to a processing unit;
the processing unit is used for running a plurality of applications, displaying the applications in a display area of the touch display unit, and starting a first application according to the first analysis result sent by the touch display unit when N applications running in a non-full screen mode run; acquiring attitude parameters of the electronic equipment; analyzing the first application to obtain attribute parameters of the first application; determining display information of a first non-full screen window corresponding to the first application according to the attribute parameters of the first application, the posture parameters of the electronic equipment and preset conversion parameters; and synthesizing a display interface of the touch display unit according to the display information of the first non-full screen window.
Wherein the attribute parameters of the first application include: a parameter characterizing a display orientation of the first application, such as a display orientation of a landscape screen and/or a portrait screen supported by the first application. The attitude parameters of the electronic device include: and a parameter representing the current display direction of the electronic equipment, for example, the electronic equipment is in a landscape screen state or a portrait screen state currently.
The preset conversion parameters include: a transformation matrix to transform a full-screen window of the first application to a non-full-screen window.
Through the steps, when a user uses the mobile terminal, whether the first application supports horizontal screen display and/or vertical screen display or not can be obtained, and whether the first non-full screen window is displayed according to the horizontal screen or vertical screen state of the current mobile terminal or not is determined;
such as: if the first application supports horizontal screen display and vertical screen display, displaying or switching a non-full screen window of the first application according to a horizontal screen or a vertical screen of the mobile terminal;
if the first application only supports horizontal screen display, when the mobile terminal is in a horizontal screen state, the non-full screen window of the first application is in the horizontal screen display state, and when the mobile terminal is in a vertical screen state, the non-full screen window of the first application keeps the horizontal screen display;
if the first application only supports vertical screen display, when the mobile terminal is a horizontal screen or a vertical screen, the non-full screen window of the first application is kept in vertical screen display.
For example, in fig. 2, a non-full screen window 1 runs a first application, and a non-full screen window 2 runs a second application, where the first application may be a QQ or a WeChat, and the second application may be a video; assuming that the first application only supports vertical screen display, and the second application supports horizontal screen display and vertical screen display; when the terminal is changed from the vertical screen to the horizontal screen, as shown in fig. 3, the non-full screen window 1 corresponding to the first application still maintains the display state of the vertical screen; and the non-full screen window 2 corresponding to the second application is switched to be displayed on a horizontal screen.
The preset conversion parameter may be a preset conversion matrix.
The converting the display window corresponding to the selected application by using the preset conversion matrix to obtain the display area of the non-full screen window of the application comprises: reading the graph cache data of the application; converting the read graph cache data by using the preset conversion matrix, and generating frame cache data corresponding to the touch display unit by using the graph cache data; and displaying the non-full screen window of the application on the touch display unit by utilizing the frame cache data.
Considering the situation that a superposition area possibly exists between the non-full screen display windows corresponding to the two applications, the coordinate information of the pixel points in the graphic cache data of the non-full screen display window corresponding to the applications is set as a three-dimensional coordinate (x)o,yo,zo) (ii) a Wherein different non-full screen display windows have different third-dimensional coordinates zoTherefore, when the two non-full screen windows are overlapped or completely covered, different non-full screen windows can be distinguished by different third-dimensional coordinates.
The predetermined transformation matrix may be an identity matrix, and the predetermined transformation matrix is used to expand three-dimensional coordinates (x) in the graphics cache datao,yo,zo) Converting to obtain the non-full screen display window of the application, wherein the graphic cache data corresponding to the non-full screen display window comprises the converted (x)o,yo,zo) And the RGB information of the corresponding pixel point. Therefore, the application displayed in the full screen is converted into the non-full screen window through the conversion matrix, and a plurality of application pairs are provided for the userThe corresponding non-full screen window can flexibly view the content in any application operated by the non-full screen window.
Through the steps, when a user uses the mobile terminal, whether the first application supports horizontal screen display and/or vertical screen display or not can be obtained, and whether the first non-full screen window is displayed according to the horizontal screen or vertical screen state of the current mobile terminal or not is determined;
such as: if the first application supports horizontal screen display and vertical screen display, displaying or switching a non-full screen window of the first application according to a horizontal screen or a vertical screen of the mobile terminal;
if the first application only supports horizontal screen display, when the mobile terminal is in a horizontal screen state, the non-full screen window of the first application is in the horizontal screen display state, and when the mobile terminal is in a vertical screen state, the non-full screen window of the first application keeps the horizontal screen display;
if the first application only supports vertical screen display, when the mobile terminal is a horizontal screen or a vertical screen, the non-full screen window of the first application is kept in vertical screen display.
Therefore, whether the non-full screen window corresponding to the first application is the same as the display direction of the electronic equipment or not can be determined according to the display direction supported by the first application, so that the problem of disordered display can be avoided when a user uses the non-full screen window, the usability of a non-full screen window system is improved, and richer visual experience is provided for the user.
Example V,
According to the electronic device provided by the embodiment of the invention, the electronic device can be a mobile terminal such as a smart phone or a tablet computer; as shown in fig. 4, the electronic apparatus includes: the touch control display unit and the processing unit; wherein,
the touch display unit is used for displaying a plurality of applications in the display area and displaying non-full screen windows corresponding to the applications; acquiring a first touch operation, analyzing the first touch operation to obtain a first analysis result, and sending the first analysis result to a processing unit;
the processing unit is used for running a plurality of applications, displaying the applications in a display area of the touch display unit, and starting a first application according to the first analysis result sent by the touch display unit when N applications running in a non-full screen mode run; acquiring attitude parameters of the electronic equipment; analyzing the first application to obtain attribute parameters of the first application; determining display information of a first non-full screen window corresponding to the first application according to the attribute parameters of the first application, the posture parameters of the electronic equipment and preset conversion parameters; and synthesizing a display interface of the touch display unit according to the display information of the first non-full screen window.
Wherein the attribute parameters of the first application include: a parameter characterizing a display orientation of the first application, such as a display orientation of a landscape screen and/or a portrait screen supported by the first application. The attitude parameters of the electronic device include: and a parameter representing the current display direction of the electronic equipment, for example, the electronic equipment is in a landscape screen state or a portrait screen state currently.
The preset conversion parameters include: a transformation matrix to transform a full-screen window of the first application to a non-full-screen window.
The processing unit is specifically configured to determine a display direction of the first application according to the attribute parameter of the first application, and determine a display direction of the current electronic device according to the posture parameter of the electronic device;
judging whether the first application supports a display direction the same as that of the electronic equipment, if so, determining the display direction of a first non-full screen window corresponding to the first application according to the display direction of the electronic equipment, and determining the display information of the first non-full screen window by utilizing the preset conversion parameter and the display direction of the first non-full screen window;
if not, determining the display direction of a first non-full screen window corresponding to the first application according to the display direction of the first application, and determining the display information of the first non-full screen window by using the preset conversion parameter and the display direction of the first non-full screen window.
Through the steps, when a user uses the mobile terminal, whether the first application supports horizontal screen display and/or vertical screen display or not can be obtained, and whether the first non-full screen window is displayed according to the horizontal screen or vertical screen state of the current mobile terminal or not is determined;
such as: if the first application supports horizontal screen display and vertical screen display, displaying or switching a non-full screen window of the first application according to a horizontal screen or a vertical screen of the mobile terminal;
if the first application only supports horizontal screen display, when the mobile terminal is in a horizontal screen state, the non-full screen window of the first application is in the horizontal screen display state, and when the mobile terminal is in a vertical screen state, the non-full screen window of the first application keeps the horizontal screen display;
if the first application only supports vertical screen display, when the mobile terminal is a horizontal screen or a vertical screen, the non-full screen window of the first application is kept in vertical screen display.
For example, in fig. 2, a non-full screen window 1 runs a first application, and a non-full screen window 2 runs a second application, where the first application may be a QQ or a WeChat, and the second application may be a video; assuming that the first application only supports vertical screen display, and the second application supports horizontal screen display and vertical screen display; when the terminal is changed from the vertical screen to the horizontal screen, as shown in fig. 3, the non-full screen window 1 corresponding to the first application still maintains the display state of the vertical screen; and the non-full screen window 2 corresponding to the second application is switched to be displayed on a horizontal screen.
Therefore, whether the non-full screen window corresponding to the first application is the same as the display direction of the electronic equipment or not can be determined according to the display direction supported by the first application, so that the problem of disordered display can be avoided when a user uses the non-full screen window, the usability of a non-full screen window system is improved, and richer visual experience is provided for the user.
Example six,
According to the electronic device provided by the embodiment of the invention, the electronic device can be a mobile terminal such as a smart phone or a tablet computer; the electronic device includes: the touch control display unit and the processing unit; wherein,
the touch display unit is used for displaying a plurality of applications in the display area and displaying non-full screen windows corresponding to the applications; acquiring a first touch operation, analyzing the first touch operation to obtain a first analysis result, and sending the first analysis result to a processing unit;
the processing unit is used for running a plurality of applications, displaying the applications in a display area of the touch display unit, and starting a first application according to the first analysis result sent by the touch display unit when N applications running in a non-full screen mode run; acquiring attitude parameters of the electronic equipment; analyzing the first application to obtain attribute parameters of the first application; determining display information of a first non-full screen window corresponding to the first application according to the attribute parameters of the first application, the posture parameters of the electronic equipment and preset conversion parameters; and synthesizing a display interface of the touch display unit according to the display information of the first non-full screen window.
Wherein the attribute parameters of the first application include: a parameter characterizing a display orientation of the first application, such as a display orientation of a landscape screen and/or a portrait screen supported by the first application. The attitude parameters of the electronic device include: and a parameter representing the current display direction of the electronic equipment, for example, the electronic equipment is in a landscape screen state or a portrait screen state currently.
The preset conversion parameters include: a transformation matrix to transform a full-screen window of the first application to a non-full-screen window.
The processing unit is specifically configured to determine a display direction of the first application according to the attribute parameter of the first application, and determine a display direction of the current electronic device according to an attitude parameter of the electronic device;
judging whether the first application supports a display direction the same as that of the electronic equipment, if so, determining the display direction of a first non-full screen window corresponding to the first application according to the display direction of the electronic equipment, and determining the display information of the first non-full screen window by utilizing the preset conversion parameter and the display direction of the first non-full screen window;
if not, determining the display direction of a first non-full screen window corresponding to the first application according to the display direction of the first application, and determining the display information of the first non-full screen window by using the preset conversion parameter and the display direction of the first non-full screen window.
For example, in fig. 2, a non-full screen window 1 runs a first application, and a non-full screen window 2 runs a second application, where the first application may be a QQ or a WeChat, and the second application may be a video; assuming that the first application only supports vertical screen display, and the second application supports horizontal screen display and vertical screen display; when the terminal is changed from the vertical screen to the horizontal screen, as shown in fig. 3, the non-full screen window 1 corresponding to the first application still maintains the display state of the vertical screen; and the non-full screen window 2 corresponding to the second application is switched to be displayed on a horizontal screen.
The preset conversion parameter may be a preset conversion matrix.
The processing unit is specifically configured to acquire the preset conversion parameter; and converting the full-screen display window corresponding to the first application by using the conversion parameter and the display direction of the first non-full-screen window to obtain a display area of the first non-full-screen window of the first application.
Considering the situation that a superposition area possibly exists between the non-full screen display windows corresponding to the two applications, the coordinate information of the pixel points in the graphic cache data of the non-full screen display window corresponding to the applications is set as a three-dimensional coordinate (x)o,yo,zo) (ii) a Wherein different non-full screen display windows have different third-dimensional coordinates zoTherefore, when the two non-full screen windows are overlapped or completely covered, different non-full screen windows can be distinguished by different third-dimensional coordinates.
The predetermined transformation matrix may be an identity matrix, and the predetermined transformation matrix is used to expand three-dimensional coordinates (x) in the graphics cache datao,yo,zo) Converting to obtain the non-full screen display window of the application, wherein the graphic cache data corresponding to the non-full screen display window comprises the converted (x)o,yo,zo) And the RGB information of the corresponding pixel point. Therefore, the application displayed in the full screen mode is converted into the non-full screen window through the conversion matrix, the non-full screen windows corresponding to the multiple applications are provided for a user, and the content in any application operated in the non-full screen window can be flexibly checked.
Preferably, the non-full screen window may also be subjected to multiple adjustments, specifically, adjusting a conversion matrix corresponding to the non-full screen window,
for example, if the non-full screen window is reduced 1/2, the conversion matrix corresponding to the non-full screen window is changed into the conversion matrix corresponding to the non-full screen window according to the response information The three-dimensional coordinate (x) of each pixel point in the frame cache data corresponding to the non-full screen windowt,yt,zt) Comprises the following steps:
then the non-full screen window is moved transversely by delta x and longitudinally by delta y, and the conversion matrix of the non-full screen window is <math>
<mrow>
<mfenced open='(' close=')'>
<mtable>
<mtr>
<mtd>
<mn>1</mn>
<mo>/</mo>
<mn>2</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mi>Δx</mi>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>1</mn>
<mo>/</mo>
<mn>2</mn>
</mtd>
<mtd>
<mi>Δy</mi>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>1</mn>
<mo>/</mo>
<mn>2</mn>
</mtd>
</mtr>
</mtable>
</mfenced>
<mo>,</mo>
</mrow>
</math> The three-dimensional coordinate (x) of each pixel point in the frame cache data corresponding to the non-full screen windowt,yt,zt) Comprises the following steps:
preferably, the display parameters of the first application may be set by a user, for example, the first application may be set to be displayed only in a portrait screen.
Therefore, whether the non-full screen window corresponding to the first application is the same as the display direction of the electronic equipment or not can be determined according to the display direction supported by the first application, so that the problem of disordered display can be avoided when a user uses the non-full screen window, the usability of a non-full screen window system is improved, and richer visual experience is provided for the user.
In the several embodiments provided in the present application, 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 module, or each unit may be separately used 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.
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 (10)
1. An information processing method is applied to an electronic device, the electronic device is provided with a touch display unit, the electronic device can run a plurality of applications and displays the applications in a display area of the touch display unit, and when N windows running the applications in a non-full screen mode are opened, N is an integer greater than or equal to 1; the method comprises the following steps:
the touch control display unit acquires a first touch control operation, analyzes the first touch control operation to obtain a first analysis result, and starts a first application according to the first analysis result;
acquiring attitude parameters of the electronic equipment;
analyzing the first application to obtain attribute parameters of the first application;
determining display information of a first non-full screen window corresponding to the first application according to the attribute parameters of the first application, the posture parameters of the electronic equipment and preset conversion parameters;
and synthesizing a display interface of the first non-full screen window on the touch display unit according to the display information of the first non-full screen window.
2. The method of claim 1, wherein the attribute parameters of the first application comprise: a parameter characterizing a display orientation of the first application;
the attitude parameters of the electronic device include: and the parameter represents the current display direction of the electronic equipment.
3. The method of claim 2, wherein determining display information of a first non-full screen window corresponding to the first application according to the attribute parameter of the first application, the posture parameter of the electronic device, and a preset conversion parameter comprises:
determining the display direction of the first application according to the attribute parameters of the first application, and determining the current display direction of the electronic equipment according to the attitude parameters of the electronic equipment;
judging whether the first application supports a display direction the same as that of the electronic equipment, if so, determining the display direction of a first non-full screen window corresponding to the first application according to the display direction of the electronic equipment, and determining the display information of the first non-full screen window by utilizing the preset conversion parameter and the display direction of the first non-full screen window;
if not, determining the display direction of a first non-full screen window corresponding to the first application according to the display direction of the first application, and determining the display information of the first non-full screen window by using the preset conversion parameter and the display direction of the first non-full screen window.
4. The method according to claim 3, wherein the determining the display information of the first non-full screen window by using the preset transition parameter and the display direction of the first non-full screen window comprises:
acquiring the preset conversion parameters; and converting the full-screen display window corresponding to the first application by using the conversion parameter and the display direction of the first non-full-screen window to obtain a first non-full-screen window display interface corresponding to the first application.
5. The method of any of claims 1-4, wherein the transformation parameters take the form of: parameter values, matrices, parameter sets, and parameter sets.
6. An electronic device, the electronic device comprising: the touch control display unit and the processing unit; wherein,
the touch display unit is used for starting N windows running in a non-full screen mode, wherein N is an integer greater than or equal to 1; acquiring a first touch operation, analyzing the first touch operation to obtain a first analysis result, and sending the first analysis result to a processing unit;
the processing unit is used for running a plurality of applications, displaying the applications in a display area of the touch display unit, and starting a first application according to the first analysis result sent by the touch display unit when N applications running in a non-full screen mode run; acquiring attitude parameters of the electronic equipment; analyzing the first application to obtain attribute parameters of the first application; determining display information of a first non-full screen window corresponding to the first application according to the attribute parameters of the first application, the posture parameters of the electronic equipment and preset conversion parameters; and synthesizing a display interface of the first non-full screen window on the touch display unit according to the display information of the first non-full screen window.
7. The electronic device of claim 6, wherein the attribute parameters of the first application comprise: a parameter characterizing a display orientation of the first application;
the attitude parameters of the electronic device include: and the parameter represents the current display direction of the electronic equipment.
8. The electronic device of claim 7,
the processing unit is specifically configured to determine a display direction of the first application according to the attribute parameter of the first application, and determine a display direction of the current electronic device according to the posture parameter of the electronic device;
judging whether the first application supports a display direction the same as that of the electronic equipment, if so, determining the display direction of a first non-full screen window corresponding to the first application according to the display direction of the electronic equipment, and determining the display information of the first non-full screen window by utilizing the preset conversion parameter and the display direction of the first non-full screen window;
if not, determining the display direction of a first non-full screen window corresponding to the first application according to the display direction of the first application, and determining the display information of the first non-full screen window by using the preset conversion parameter and the display direction of the first non-full screen window.
9. The electronic device according to claim 8, wherein the processing unit is specifically configured to obtain the preset conversion parameter; and converting the full-screen display window corresponding to the first application by using the conversion parameter and the display direction of the first non-full-screen window to obtain a first non-full-screen window display interface corresponding to the first application.
10. The electronic device of any of claims 6-9, wherein the transformation matrix is in the form of: parameter values, matrices, parameter sets, and parameter sets.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310517765.8A CN104571843A (en) | 2013-10-28 | 2013-10-28 | Information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310517765.8A CN104571843A (en) | 2013-10-28 | 2013-10-28 | Information processing method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104571843A true CN104571843A (en) | 2015-04-29 |
Family
ID=53088053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310517765.8A Pending CN104571843A (en) | 2013-10-28 | 2013-10-28 | Information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104571843A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107251536A (en) * | 2015-12-24 | 2017-10-13 | 华为技术有限公司 | A kind of mobile terminal shows the method and mobile terminal of multiple application widgets |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102736854A (en) * | 2012-05-24 | 2012-10-17 | 惠州Tcl移动通信有限公司 | Mobile communication terminal and screen regulation method based on mobile communication terminal |
EP2571234A1 (en) * | 2011-09-16 | 2013-03-20 | LG Electronics Inc. | Mobile terminal and method for controlling the same |
CN102999253A (en) * | 2012-11-13 | 2013-03-27 | 北京奇艺世纪科技有限公司 | Window display method and system of application program and mobile terminal |
CN103270505A (en) * | 2010-10-01 | 2013-08-28 | Flex Electronics ID Co.,Ltd. | Smartpad split screen |
-
2013
- 2013-10-28 CN CN201310517765.8A patent/CN104571843A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103270505A (en) * | 2010-10-01 | 2013-08-28 | Flex Electronics ID Co.,Ltd. | Smartpad split screen |
EP2571234A1 (en) * | 2011-09-16 | 2013-03-20 | LG Electronics Inc. | Mobile terminal and method for controlling the same |
CN102736854A (en) * | 2012-05-24 | 2012-10-17 | 惠州Tcl移动通信有限公司 | Mobile communication terminal and screen regulation method based on mobile communication terminal |
CN102999253A (en) * | 2012-11-13 | 2013-03-27 | 北京奇艺世纪科技有限公司 | Window display method and system of application program and mobile terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107251536A (en) * | 2015-12-24 | 2017-10-13 | 华为技术有限公司 | A kind of mobile terminal shows the method and mobile terminal of multiple application widgets |
CN107251536B (en) * | 2015-12-24 | 2019-06-28 | 华为技术有限公司 | A kind of mobile terminal shows the method and mobile terminal of multiple application widgets |
RU2704111C1 (en) * | 2015-12-24 | 2019-10-24 | Хуавэй Текнолоджиз Ко., Лтд. | Method for displaying a plurality of application windows through a mobile terminal and a mobile terminal |
US11620029B2 (en) | 2015-12-24 | 2023-04-04 | Huawei Technologies Co., Ltd. | Method for displaying multiple application windows by mobile terminal, and mobile terminal |
US12026347B2 (en) | 2015-12-24 | 2024-07-02 | Huawei Technologies Co., Ltd. | Method for displaying multiple application windows by mobile terminal, and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105912091B (en) | Electronic device and method for reducing power consumption thereof | |
CN104615336B (en) | A kind of information processing method and electronic equipment | |
CN106662910B (en) | Electronic device and method for controlling display thereof | |
EP2950193A1 (en) | Electronic device with foldable display and method of operating the same | |
KR20150136440A (en) | Method for controlling display and electronic device supporting the same | |
CN100583022C (en) | Method for capturing computer screen image | |
US9996220B2 (en) | Multi-zone interface switching method and device | |
KR20160005609A (en) | Method for displaying graphic user interface and electronic device supporting the same | |
CN103955339A (en) | Terminal operation method and terminal equipment | |
CN103870123B (en) | A kind of information processing method and electronic equipment | |
CN104571842B (en) | Information processing method and electronic equipment | |
CN104571904B (en) | A kind of information processing method and electronic equipment | |
CN105700766B (en) | User interface display system and method | |
CN111064863B (en) | Image data processing method and related device | |
CN107870703B (en) | Method, system and terminal equipment for full-screen display of picture | |
CN112099886A (en) | Desktop display control method and device of mobile zero terminal | |
CN104123062B (en) | A kind of information processing method and electronic equipment | |
CN114339072A (en) | Image processing circuit, method and electronic device | |
WO2022052742A1 (en) | Multi-terminal screen combination method, apparatus and device, and computer storage medium | |
CN108604367B (en) | Display method and handheld electronic device | |
JP2012252214A (en) | Content display device, method for displaying content, and program for causing computer to function as content display device | |
CN104571843A (en) | Information processing method and electronic equipment | |
CN104571791A (en) | Information processing method and electronic equipment | |
KR20150140012A (en) | Method for displaying screen and electronic device implementing the same | |
CN109675312B (en) | Game item list display method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150429 |