CN103870115B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN103870115B
CN103870115B CN201410055104.2A CN201410055104A CN103870115B CN 103870115 B CN103870115 B CN 103870115B CN 201410055104 A CN201410055104 A CN 201410055104A CN 103870115 B CN103870115 B CN 103870115B
Authority
CN
China
Prior art keywords
window
target
cache data
windows
target window
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
CN201410055104.2A
Other languages
Chinese (zh)
Other versions
CN103870115A (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 CN201410055104.2A priority Critical patent/CN103870115B/en
Priority to US14/228,670 priority patent/US9495064B2/en
Publication of CN103870115A publication Critical patent/CN103870115A/en
Application granted granted Critical
Publication of CN103870115B publication Critical patent/CN103870115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Position Input By Displaying (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The invention discloses a kind of information processing method and electronic equipment, methods described includes:Obtain the first operation;According to the positional information of the operating point of the described first operation, two targeted target windows of first operation are determined;When the operating point of the described first operation meets preparatory condition, first conversion parameter is determined according to the viewing area of first object window in described two target windows, and the second conversion parameter is determined according to the viewing area of the second target window in described two target windows;Line translation is entered to second target window using first conversion parameter, obtains the 3rd window;Line translation is entered to the first object window using second conversion parameter, obtains the 4th window.By means of the invention it is possible to efficiently and easily make the content of two target windows swap display, operating efficiency is high, improves Consumer's Experience.

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 size of the early electronic equipment is small, the resolution of the screen is low, and the content of each application is displayed in a full-screen window by a corresponding operating system such as an Android operating system; consider the following scenario:
when the screen size of the electronic device is increased, if a widget display support is provided for the application, that is, when all applications in the electronic device are allowed to be displayed on the display unit of the electronic device simultaneously in the widget, how to quickly and conveniently exchange and display the contents of the two widgets or exchange and display the contents displayed in the full-screen window and the contents displayed in the widget currently is how to exchange and display the contents displayed in the full-screen window and the contents displayed in the widget currently, so as to save the operation time and improve the user experience, and an effective solution is not available in the related art.
Disclosure of Invention
The embodiment of the invention provides an information processing method and electronic equipment, which can support a user to exchange and display the contents of two target windows through a first operation, are quick and convenient to operate and improve user experience.
The technical scheme of the embodiment 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 comprises a touch control display unit, and the electronic equipment supports running of at least one application so as to display the application on the display touch control unit through a small window or a full-screen window; the display area of the full-screen window is equal to the area where the touch display unit can accept touch events, and the display area of the small window is smaller than the area where the touch display unit can accept touch events; the small window is obtained by converting the full screen window through a conversion parameter, and the electronic equipment supports and controls the touch display unit to simultaneously display at least two small windows; the method comprises the following steps:
obtaining a first operation;
analyzing the first operation to obtain position information of an operation point of the first operation on the display touch unit;
determining two target windows aimed at by the first operation according to the position information of the operation point of the first operation, wherein the display area of each target window corresponds to the position of the operation point, and at least one small window is arranged in the two target windows;
judging whether the operating point of the first operation meets a preset condition or not, when the operating point of the first operation meets the preset condition,
determining a first conversion parameter according to a display area of a first target window of the two target windows, and determining a second conversion parameter according to a display area of a second target window of the two target windows;
transforming the second target window by using the first transformation parameter to obtain a third window to replace the second target window, so that the content corresponding to the second target window is displayed on the third window;
transforming the first target window by using the second conversion parameter to obtain a fourth window to replace the first target window, so that the content corresponding to the first target window is displayed in the fourth window;
the display area of the third window is the same as that of the first target window, and the display area of the fourth window is the same as that of the second target window.
The embodiment of the invention also provides electronic equipment, which comprises a touch display unit and a control unit;
the control unit is used for supporting the running of at least one application so as to enable the application to be displayed on the display touch control unit through a small window or a full-screen window; the display area of the full-screen window is equal to the area where the touch display unit can accept touch events, and the display area of the small window is smaller than the area where the touch display unit can accept touch events;
the control unit is further used for transforming the full-screen window through a conversion parameter to obtain the small window, and the control unit supports controlling the touch display unit to simultaneously display at least two small windows; the electronic device further includes:
an acquisition unit configured to acquire a first operation;
the analysis unit is used for analyzing the first operation to obtain position information of an operation point of the first operation on the display touch unit;
the control unit is further configured to determine two target windows to which the first operation is directed according to position information of an operation point of the first operation, where a display area of the target windows corresponds to a position of the operation point, and at least one small window is located in the two target windows;
the control unit is further configured to determine whether the operation point of the first operation meets a preset condition, determine a first conversion parameter according to a display area of a first target window of the two target windows when the operation point of the first operation meets the preset condition, and determine a second conversion parameter according to a display area of a second target window of the two target windows;
the control unit is further configured to transform the second target window by using the first transformation parameter to obtain a third window, so as to replace the second target window and display a content corresponding to the second target window in the third window;
the control unit is further configured to transform the first target window by using the second conversion parameter to obtain a fourth window, so as to replace the first target window and display a content corresponding to the first target window in the fourth window;
the display area of the third window is the same as that of the first target window, and the display area of the fourth window is the same as that of the second target window.
The embodiment can achieve the following technical effects that when a user performs a first operation on the touch display unit of the electronic device, the user can trigger the electronic device to perform exchange display on the contents of two target windows of the first operation, and the two target windows can be all small windows or one target window can be a small window; the method and the device facilitate the requirements of the user for exchanging and displaying the window content in a specific use scene, are rapid and convenient to operate, and improve the user experience.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation of an information processing method according to an embodiment of the present invention;
FIG. 2a is a first diagram illustrating the operating point of the first operation according to the second embodiment of the present invention;
FIG. 2b is a second schematic diagram of the operating point of the first operation in the second embodiment of the present invention;
fig. 2c is a schematic flow chart illustrating an implementation process of determining two target windows according to the position information of the operation point of the first operation according to the second embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating an implementation process of determining whether the first operation satisfies a preset condition according to a third embodiment of the present invention;
fig. 4a is a schematic flow chart illustrating an implementation process of transforming a second target window to obtain a third window in the fourth embodiment of the present invention;
fig. 4b is a schematic flow chart illustrating an implementation process of transforming the first target window to obtain a fourth window in the fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and specific examples.
Example one
The embodiment describes an information processing method, which is applied to electronic equipment such as a smart phone and a tablet personal computer, wherein the electronic equipment comprises a touch display unit, and the electronic equipment supports running of at least one application so that the application is displayed on the display touch unit through a small window or a full-screen window; wherein,
the display area of the full-screen window is equal to the area where the touch display unit can accept touch events, and the display area of the small window is smaller than the area where the touch display unit can accept touch events; the small windows are obtained by converting full-screen windows through a conversion parameter, and the electronic equipment supports and controls the touch display unit to simultaneously display at least two small windows;
as shown in fig. 1, the method comprises the steps of:
step 101, a first operation is obtained.
And 102, analyzing the first operation to obtain position information of an operation point of the first operation on the display touch unit.
When a user performs a first operation on the touch display unit, a finger of the user can be in direct contact with the touch display unit, so that the touch display unit is triggered to sense at least one operation point, and the operation point corresponds to one or more pixel units of the touch display unit; certainly, when the user performs the first operation, the finger of the user may not directly contact the touch display unit (at this time, the touch display unit may adopt a mutual capacitance structure), and the touch display unit is triggered to sense at least one virtual operation point corresponding to the position of the first operation.
Step 103, determining two target windows aimed at by the first operation according to the position information of the operation point of the first operation.
The display area of the target window corresponds to the position of the operation point, and at least one small window is arranged in the two target windows; that is, there are two cases for the two target windows determined in step 103: 1) the first target window and the second target window are small windows; 2) one of the first target window and the second target window is a small window, and the other window is a full screen window.
Step 104, judging whether the operation point of the first operation meets a preset condition, and executing step 105 when the operation point of the first operation meets the preset condition; otherwise, the process is stopped.
The embodiment supports that a user triggers the contents of the two target windows to be displayed in an exchange manner by implementing a first operation on the touch display unit; the electronic equipment judges whether the obtained first operation is an operation for triggering the exchange of contents of the two target windows or not by judging whether the operation point of the received first operation meets a preset condition or not; the operation point of the first operation can represent a feature of the first operation, such as a track of the first operation, for example, when the first operation corresponding to the track of the preset closed circle shape in the electronic device is an operation for triggering the two target windows to exchange content for display, if the operation point of the first operation obtained by the electronic device in step 101 represents that the obtained track of the first operation is a closed circle, the electronic device in step 104 determines that the first operation obtained in step 101 satisfies the preset condition.
And 105, determining a first conversion parameter according to a display area of a first target window of the two target windows, and determining a second conversion parameter according to a display area of a second target window of the two target windows.
And 106, transforming the second target window by using the first transformation parameter to obtain a third window.
Replacing the second target window, and displaying the content corresponding to the second target window on the third window, wherein the display area of the third window is the same as the display area of the first target window.
And 107, transforming the first target window by using the second conversion parameter to obtain a fourth window.
Replacing the first target window, and displaying the content corresponding to the first target window on the fourth window, wherein the display area of the fourth window is the same as the display area of the second target window.
The following describes an implementation process of transforming the full-screen window to obtain a small window by using the transformation parameter.
When the conversion parameter is in the form of a matrix, taking the example of scaling down 1/2 a full screen window by using the conversion parameter identifier to transform the full screen window into a small window, firstly, obtaining the image cache data corresponding to the full screen window, including the two-dimensional coordinates (x) of the identifier pixel point in the image cache datao,yo) And extended to three-dimensional coordinates (x)o,yo,zo) Using a matrixFor the three-dimensional coordinate (x) of pixel point in image cache data corresponding to full screen windowo,yo,zo) Go on to changeAlternatively, wherein M11、M22Corresponding to a reduction factor of 1/2, M33Has a value of 1/2, M33The value of (a) may also be other values, and the values of other elements in the matrix are 0; obtaining the three-dimensional coordinates (x) of pixel points in the image cache data corresponding to the small windowt,yt,zt) As shown in formula (1):
obtaining frame cache data by using the image cache data obtained after conversion and the image cache data of the corresponding content of the area outside the small window display area in the full-screen window, displaying the converted small window on the touch display unit by using the obtained frame cache data, and displaying other contents, such as a desktop, a status bar and the like, in the area outside the small window display area; considering that there may be a coincidence region between multiple small windows when the small windows are obtained after transforming multiple full-screen windows, correspondingly, in this embodiment, the two-dimensional coordinates (x) of the identification pixel points in the image cache data of the full-screen windowso,yo) Extended to three-dimensional coordinates (x)o,yo,zo) Wherein different small windows have different third-dimensional coordinates zoTherefore, the small windows can be distinguished by different third-dimensional coordinates to determine the overlapping relation of the overlapping areas of the display areas of different small windows, for example, when the overlapping areas exist between the small window 1 and the small window 2, if the third-dimensional coordinate of the small window 2 is far away from the coordinate origin relative to the third-dimensional coordinate of the small window 1 and the part of the display area of the small window 1 is marked as the small window 2 coverage, the overlapping areas of the small window 1 and the small window 2 are used for displaying by the small window 2.
The embodiment can achieve the following technical effects that when a user performs a first operation on the touch display unit of the electronic device, the user can trigger the electronic device to perform exchange display on the contents of two target windows of the first operation, and the two target windows can be all small windows or one target window can be a small window; the method and the device meet the requirement of exchanging the window display content in a specific use scene for the user, are rapid and convenient to operate, and improve the user experience.
Example two
Based on the first embodiment, the two target windows to which the first operation is directed are determined according to the position information of the operation point of the first operation described in the first embodiment, which can achieve the following technical effect that when a user performs the first operation on the touch display unit of the electronic device, if the operation point of the first operation is located in the two target windows, as shown in fig. 2a, the operation point of the first operation is located in the full-screen window and the small window 1, or as shown in fig. 2b, the operation point of the first operation is located in the small window 1 and the small window 2; for FIG. 2a, a full screen window and a portlet window 1 are determined as two target windows; for fig. 2b, portlet 1 and portlet 2 are determined as two target windows.
As shown in fig. 2a and 2b, the operation point of the first operation at least includes a first operation point and a second operation point, the position information of the operation point of the first operation includes a first coordinate and a second coordinate, the first coordinate represents the position information of the first operation point, and the second coordinate represents the position information of the second operation point;
as shown in fig. 2c, determining two target windows according to the position information of the operation point of the first operation includes the steps of:
step 201, judging whether the first operating point and the second operating point are correspondingly positioned in the touch display area range of two different windows according to the first coordinate and the second coordinate; if yes, go to step 202; otherwise, the process is stopped.
Step 202, determining the window where the first operation point is located as the first target window, and determining the window where the second operation point is located as the second target window.
The inventor finds that, in the process of implementing the invention, an electronic device user is usually used to select a plurality of target objects by using sliding or point-touch operation, because the method is an efficient operation mode for selecting the target objects for the electronic device with the touch display unit, and accordingly, in the embodiment, the position information of the operation point of the first operation implemented by the user is judged to determine two target windows of the first operation, so that the use habit of the user is met, the operation is efficient and fast, and the user experience is improved.
EXAMPLE III
In this embodiment, based on the first embodiment, it is described that whether the operation point of the first operation satisfies the preset condition in the first embodiment, in practical applications, a user may perform multiple first operations on the touch display unit of the electronic device, for example, the first operations may have multiple tracks or point-touch modes; therefore, after the first operation is obtained, it is necessary to determine whether the obtained first operation satisfies a preset condition, i.e., corresponds to a preset trajectory or a preset point-and-touch manner, to determine whether to continue to determine the two target windows of the first operation.
As shown in fig. 3, determining whether the first operation satisfies the preset condition includes the steps of:
step 301, determining a track formed by the operation point of the first operation according to the position information of the operation point of the first operation.
Here, the trajectory includes: the line formed by the first operation of continuous sliding and one or more operation points formed by the first operation of point contact.
Step 302, determining corresponding characteristic parameters according to the track.
The characteristic parameters characterize the shape and position of the trajectory; when the track is one or more operation points, the characteristic parameter also represents the duration of sensing the operation points.
Step 303, judging whether the characteristic parameters are matched with preset characteristic parameters, and if so, executing step 304; otherwise, the process is stopped.
Step 304, determining that the operating point of the first operation meets the preset condition.
The embodiment achieves the following technical effects that a user can preset a specific first operation in the electronic device to select a target window, for example, when a preset characteristic parameter corresponds to a first operation with an S-shaped track, if the user selects two windows by performing the first operation with the S-shaped track on the touch display unit of the electronic device, the electronic device is triggered to determine the two windows selected by the first operation as the two target windows, so that the user can conveniently select the two target windows to enable the two target windows to exchange content for display.
Example four
In this embodiment, a process of obtaining and displaying the third window and the fourth window in the first embodiment is described based on the first embodiment.
Scenario 1) the first target window and the second target window are both small windows
As shown in fig. 4a, transforming the second target window according to the first transformation parameter to obtain the third window includes the following steps:
step 401a, obtaining image cache data of the content corresponding to the second target window.
Step 402a, converting the image cache data of the content corresponding to the second target window into image cache data corresponding to the third window by using the first conversion parameter.
Here, the image cache data of the content corresponding to the second target window is the image cache data for full-screen display, that is, the third window is a small window obtained by transforming the window when the content of the second target window is displayed in full-screen, so that, in the same manner as in the first embodiment, the image cache data corresponding to the third window can be obtained by transforming the image cache data corresponding to the content of the second target window when the content is displayed in full-screen by using the first transformation parameter.
Step 403a, obtaining frame cache data of a full-screen window corresponding to the touch display unit by using the image cache data of the third window.
In step 403a, the image cache data obtained in step 402a and the image cache data corresponding to the conventional content (for example, desktop, status bar, etc.) in the electronic device may be further merged into frame cache data, that is, frame cache data corresponding to the content displayed in the full screen area of the electronic device is obtained, so that the frame cache data may be used to display a third window and display the content of the desktop, the status bar, etc. in the area outside the display area of the third window.
Step 404a, controlling the touch display unit to display the third window by using the frame buffer data.
As shown in fig. 4b, transforming the first target window according to the second transformation parameter to obtain a fourth window includes the following steps:
step 401b, obtaining image cache data of the content corresponding to the first target window.
Step 402b, converting the image cache data of the content corresponding to the first target window into the image cache data corresponding to the fourth window by using the second conversion parameter.
Here, the image cache data of the content corresponding to the first target window is the image cache data for performing full-screen display, that is, the fourth window is a small window obtained by transforming a full-screen display window of the content of the first target window, and therefore, in the same manner as in the first embodiment, the image cache data corresponding to the full-screen display window of the content of the first target window is transformed by using the second transformation parameter, so as to obtain the image cache data corresponding to the fourth window.
And 403b, obtaining frame cache data of a full-screen window corresponding to the touch display unit by using the image cache data of the fourth window.
In step 403b, the image cache data obtained in step 402b and the image cache data corresponding to the conventional content (for example, a desktop, a status bar, etc.) in the electronic device may be merged into frame cache data, that is, frame cache data corresponding to the content displayed in the full screen area of the electronic device is obtained, so that the fourth window may be displayed by using the frame cache data, and the content such as the desktop, the status bar, etc. may be displayed in an area outside the display area of the fourth window.
Step 404b, controlling the touch display unit to display the fourth window by using the frame buffer data.
For convenience of description, the processes of obtaining the third window and the fourth window are described separately, and in practical application, because the third window and the fourth window are simultaneously displayed on the touch display unit, when the image cache data corresponding to the third window and the image cache data corresponding to the fourth window are obtained, the image cache data of the third window, the image cache data of the fourth window and the image cache data corresponding to the conventional content (such as desktop, status bar, etc.) in the electronic device are utilized, and are combined to obtain frame cache data, i.e. frame buffer data corresponding to the content displayed in the full screen area of the electronic device is obtained, and thus, the frame buffer data can be used for displaying a third window and a fourth window, and contents such as a desktop, a status bar and the like can be displayed in an area outside the display area of the third window and the fourth window.
Scene 2) the first target window is a full-screen window and the second target window is a small window
The processing of transforming the second target window according to the first transformation parameter to obtain a third window is the same as the processing of the steps 401a to 404a except that the adopted first transformation parameter value is 1; because the first target window is a full-screen window, when the first target window is displayed in exchange with the content in the second target window, only the image cache data corresponding to the full-screen display window of the content corresponding to the second target window, the image cache data corresponding to the conventional content (such as a desktop, a status bar, and the like) in the electronic device need to be merged into the frame cache data, and the third window (i.e., the full-screen window) can be displayed by using the frame cache data without using the first conversion parameter to convert the image cache data corresponding to the full-screen display window of the content corresponding to the second target window, so that the first conversion parameter value is 1.
The processing of transforming the first target window according to the second transformation parameter to obtain the fourth window is the same as the processing from step 401b to step 404b, and is not described herein again.
Scene 3) the first target window is a small window and the second target window is a full screen window
Converting the second target window according to the first conversion parameter to obtain a third window, which is the same as the processing from step 401a to step 404 a;
the processing of transforming the first target window according to the second conversion parameter to obtain a fourth window is the same as the processing from step 401b to step 404b except that the adopted second conversion parameter value is 1; since the second target window is a full-screen window, when the second target window is exchanged with the content in the second target window for display, only the image cache data corresponding to the full-screen display window of the content corresponding to the first target window, the image cache data corresponding to the conventional content (such as a desktop, a status bar, and the like) in the electronic device, are merged into frame cache data, and the frame cache data is utilized to display the fourth window (i.e., the full-screen window), and the image cache data corresponding to the full-screen display window of the content corresponding to the first target window is not required to be transformed by the second transformation parameter, so that the second transformation parameter value is 1.
In this embodiment, the conversion parameter corresponding to the target window is used to convert the target window, and the display of the exchanged contents of the two target windows can be supported.
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 five
In the present embodiment, an electronic device is described, as shown in fig. 5, the electronic device includes a touch display unit 51 and a control unit 52;
the control unit 52 is configured to support running of at least one application, so that the application is displayed on the display touch unit through a small window or a full-screen window; the display area of the full-screen window is equal to the area where the touch display unit 51 can accept the touch event, and the display area of the small window is smaller than the area where the touch display unit 51 can accept the touch event;
the control unit 52 is further configured to transform the full-screen window by using a conversion parameter to obtain the small window, and the control unit 52 supports control of the touch display unit 51 to simultaneously display at least two small windows; the electronic device further includes:
an acquisition unit 53 for acquiring a first operation;
an analyzing unit 54, configured to analyze the first operation to obtain position information of an operation point of the first operation on the display touch unit;
the control unit 52 is further configured to determine two target windows to which the first operation is directed according to the position information of the operation point of the first operation, where a display area of the target windows corresponds to the position of the operation point, and at least one small window in the two target windows is provided;
the control unit 52 is further configured to determine whether the operation point of the first operation meets a preset condition, determine a first conversion parameter according to a display area of a first target window of the two target windows when the operation point of the first operation meets the preset condition, and determine a second conversion parameter according to a display area of a second target window of the two target windows;
the control unit 52 is further configured to transform the second target window by using the first transformation parameter to obtain a third window, so as to replace the second target window, and display a content corresponding to the second target window in the third window;
the control unit 52 is further configured to transform the first target window by using the second conversion parameter to obtain a fourth window, so as to replace the first target window, and display a content corresponding to the first target window in the fourth window;
the display area of the third window is the same as that of the first target window, and the display area of the fourth window is the same as that of the second target window.
In practical applications, the touch display unit 51 may be implemented by a touch display screen and a related driving circuit of an electronic device; the control unit 52, the obtaining unit 53 and the analyzing unit 54 may be implemented by a CPU, a Digital Signal Processor (DSP) or a Field Programmable Gate Array (FPGA) in the electronic device.
EXAMPLE six
In the present embodiment, an electronic device is described, as shown in fig. 6, the electronic device includes a touch display unit 61 and a control unit 62;
the control unit 62 is configured to support running of at least one application, so that the application is displayed on the display touch unit through a small window or a full-screen window; the display area of the full-screen window is equal to the area where the touch display unit 61 can accept the touch event, and the display area of the small window is smaller than the area where the touch display unit 61 can accept the touch event;
the control unit 62 is further configured to transform the full-screen window by using a transformation parameter to obtain the small window, and the control unit 62 supports controlling the touch display unit 61 to simultaneously display at least two small windows; the electronic device further includes:
an obtaining unit 63 for obtaining a first operation;
the analyzing unit 64 is configured to analyze the first operation to obtain position information of an operation point of the first operation on the display touch unit;
the control unit 62 is further configured to determine two target windows to which the first operation is directed according to the position information of the operation point of the first operation, where a display area of the target windows corresponds to the position of the operation point, and at least one small window is located in the two target windows;
the control unit 62 is further configured to determine whether the operation point of the first operation meets a preset condition, determine a first conversion parameter according to a display area of a first target window of the two target windows when the operation point of the first operation meets the preset condition, and determine a second conversion parameter according to a display area of a second target window of the two target windows;
the control unit 62 is further configured to transform the second target window by using the first transformation parameter to obtain a third window, so as to replace the second target window, and display a content corresponding to the second target window in the third window;
the control unit 62 is further configured to transform the first target window by using the second conversion parameter to obtain a fourth window, so as to replace the first target window, and display a content corresponding to the first target window in the fourth window;
the display area of the third window is the same as that of the first target window, and the display area of the fourth window is the same as that of the second target window.
The operation point of the first operation comprises a first operation point and a second operation point, the position information of the operation point of the first operation comprises a first coordinate and a second coordinate, the first coordinate represents the position information of the first operation point, and the second coordinate represents the position information of the second operation point;
correspondingly, the control unit 62 is further configured to determine whether the first operating point and the second operating point are located in the touch display area range of two different windows according to the first coordinate and the second coordinate;
and when the first operation point and the second operation point are judged to be respectively and correspondingly located in the touch display area ranges of two different windows, determining the window where the first operation point is located as the first target window, and determining the window where the second operation point is located as the second target window.
The control unit 62 is further configured to determine a track formed by the operation point of the first operation according to the position information of the operation point of the first operation;
determining corresponding characteristic parameters according to the tracks;
judging whether the characteristic parameters are matched with preset characteristic parameters or not;
and if the characteristic parameters are matched with preset characteristic parameters, judging that the operating point of the first operation meets the preset condition.
The control unit 62 is further configured to obtain image cache data of content corresponding to the second target window;
converting the image cache data of the content corresponding to the second target window into image cache data corresponding to the third window by using the first conversion parameter;
obtaining frame cache data of a full-screen window corresponding to the touch display unit 61 by using the image cache data of the third window;
controlling the touch display unit 61 to display the third window by using the frame buffer data;
the control unit 62 is further configured to obtain image cache data of content corresponding to the first target window;
converting the image cache data of the content corresponding to the first target window into image cache data corresponding to the fourth window by using the first conversion parameter;
obtaining frame cache data of a full-screen window corresponding to the touch display unit 61 by using the image cache data of the fourth window;
and controlling the touch display unit 61 to display the fourth window by using the frame buffer data.
Wherein the first conversion parameter and the second conversion parameter comprise at least one of: parameter values, matrices, parameter sets, and parameter sets.
In practical applications, the touch display unit 61 may be implemented by a touch display screen and a related driving circuit of an electronic device; the control unit 62, the obtaining unit 63 and the analyzing unit 64 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 removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
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, and is characterized in that the electronic device comprises a touch display unit, and the electronic device supports running of at least one application so that the application can be displayed on the display touch unit through a small window or a full-screen window; the display area of the full-screen window is equal to the area where the touch display unit can accept touch events, and the display area of the small window is smaller than the area where the touch display unit can accept touch events; the small windows are obtained by converting the full-screen window through a conversion parameter, and the electronic equipment supports and controls the touch display unit to simultaneously display at least two small windows; the method comprises the following steps:
obtaining a first operation;
analyzing the first operation to obtain position information of an operation point of the first operation on the display touch unit;
determining two target windows aimed at by the first operation according to the position information of the operation point of the first operation, wherein the display area of each target window corresponds to the position of the operation point; at least one small window is arranged in the two target windows; the first target window and the second target window are both small windows, or one of the first target window and the second target window is a small window, and the other window is a full-screen window;
judging whether the operating point of the first operation meets a preset condition or not, when the operating point of the first operation meets the preset condition,
determining a first conversion parameter according to a display area of the first target window of the two target windows, and determining a second conversion parameter according to a display area of the second target window of the two target windows;
transforming the second target window by using the first transformation parameter to obtain a third window to replace the second target window, so that the content corresponding to the second target window is displayed on the third window;
transforming the first target window by using the second conversion parameter to obtain a fourth window to replace the first target window, so that the content corresponding to the first target window is displayed in the fourth window;
the display area of the third window is the same as that of the first target window, and the display area of the fourth window is the same as that of the second target window;
the first operation comprises a track mode and a point contact mode.
2. The method of claim 1,
the operation point of the first operation comprises a first operation point and a second operation point, the position information of the operation point of the first operation comprises a first coordinate and a second coordinate, the first coordinate represents the position information of the first operation point, and the second coordinate represents the position information of the second operation point;
correspondingly, the determining two target windows for the first operation according to the position information of the operation point of the first operation, where the display area of the target windows corresponds to the position of the operation point, includes:
judging whether the first operating point and the second operating point are correspondingly positioned in the touch display area range of two different windows or not according to the first coordinate and the second coordinate;
when the first operating point and the second operating point are judged to be respectively and correspondingly located in the touch display area range of two different windows, the first operating point and the second operating point are judged to be respectively and correspondingly located in the touch display area range of the two different windows
And determining the window in which the first operation point is positioned as the first target window, and determining the window in which the second operation point is positioned as the second target window.
3. The method of claim 1, wherein the determining whether the operating point of the first operation satisfies a preset condition comprises:
determining a track formed by the operating point of the first operation according to the position information of the operating point of the first operation;
determining corresponding characteristic parameters according to the tracks;
judging whether the characteristic parameters are matched with preset characteristic parameters or not;
and if the characteristic parameters are matched with preset characteristic parameters, judging that the operating point of the first operation meets the preset condition.
4. The method of claim 1, wherein transforming the second target window using the first transformation parameter to obtain a third window to replace the second target window comprises:
acquiring image cache data of the content corresponding to the second target window;
converting the image cache data of the content corresponding to the second target window into image cache data corresponding to the third window by using the first conversion parameter;
obtaining frame cache data of a full-screen window corresponding to the touch display unit by utilizing the image cache data of the third window;
controlling the touch display unit to display the third window by using the frame cache data;
correspondingly, the transforming the first target window by using the second conversion parameter to obtain a fourth window to replace the first target window includes:
acquiring image cache data of the content corresponding to the first target window;
converting the image cache data of the content corresponding to the first target window into image cache data corresponding to the fourth window by using the first conversion parameter;
obtaining frame cache data of a full-screen window corresponding to the touch display unit by using the image cache data of the fourth window;
and controlling the touch display unit to display the fourth window by using the frame buffer data.
5. The method according to any one of claims 1 to 4,
the first conversion parameter, and the second conversion parameter include at least one of: parameter values, matrices, parameter sets, and parameter sets.
6. An electronic device is characterized by comprising a touch display unit and a control unit;
the control unit is used for supporting the running of at least one application so as to enable the application to be displayed on the display touch control unit through a small window or a full-screen window; the display area of the full-screen window is equal to the area where the touch display unit can accept touch events, and the display area of the small window is smaller than the area where the touch display unit can accept touch events;
the control unit is further used for transforming the full-screen window through a conversion parameter to obtain the small window, and the control unit supports controlling the touch display unit to simultaneously display at least two small windows;
the electronic device further includes:
an acquisition unit configured to acquire a first operation;
the analysis unit is used for analyzing the first operation to obtain position information of an operation point of the first operation on the display touch unit;
the control unit is further configured to determine two target windows targeted by the first operation according to the position information of the operation point of the first operation, where a display area of the target windows corresponds to the position of the operation point, and at least one of the two target windows is a small window, where both the first target window and the second target window are small windows, or one of the first target window and the second target window is a small window and the other is a full-screen window;
the control unit is further configured to determine whether the operation point of the first operation meets a preset condition, determine a first conversion parameter according to a display area of the first target window of the two target windows when the operation point of the first operation meets the preset condition, and determine a second conversion parameter according to a display area of the second target window of the two target windows;
the control unit is further configured to transform the second target window by using the first transformation parameter to obtain a third window, so as to replace the second target window and display a content corresponding to the second target window in the third window;
the control unit is further configured to transform the first target window by using the second conversion parameter to obtain a fourth window, so as to replace the first target window and display a content corresponding to the first target window in the fourth window;
the display area of the third window is the same as that of the first target window, and the display area of the fourth window is the same as that of the second target window;
the first operation comprises a track mode and a point contact mode.
7. The electronic device of claim 6,
the operation point of the first operation comprises a first operation point and a second operation point, the position information of the operation point of the first operation comprises a first coordinate and a second coordinate, the first coordinate represents the position information of the first operation point, and the second coordinate represents the position information of the second operation point;
correspondingly, the control unit is further configured to determine whether the first operating point and the second operating point are correspondingly located in the touch display area range of two different windows according to the first coordinate and the second coordinate;
and when the first operation point and the second operation point are judged to be respectively and correspondingly located in the touch display area ranges of two different windows, determining the window where the first operation point is located as the first target window, and determining the window where the second operation point is located as the second target window.
8. The electronic device of claim 7,
the control unit is further used for determining a track formed by the operation point of the first operation according to the position information of the operation point of the first operation;
determining corresponding characteristic parameters according to the tracks;
judging whether the characteristic parameters are matched with preset characteristic parameters or not;
and if the characteristic parameters are matched with preset characteristic parameters, judging that the operating point of the first operation meets the preset condition.
9. The electronic device of claim 7,
the control unit is further configured to acquire image cache data of content corresponding to the second target window;
converting the image cache data of the content corresponding to the second target window into image cache data corresponding to the third window by using the first conversion parameter;
obtaining frame cache data of a full-screen window corresponding to the touch display unit by utilizing the image cache data of the third window;
controlling the touch display unit to display the third window by using the frame cache data;
the control unit is further configured to acquire image cache data of content corresponding to the first target window;
converting the image cache data of the content corresponding to the first target window into image cache data corresponding to the fourth window by using the first conversion parameter;
obtaining frame cache data of a full-screen window corresponding to the touch display unit by using the image cache data of the fourth window;
and controlling the touch display unit to display the fourth window by using the frame buffer data.
10. The electronic device of any of claims 6-9,
the first conversion parameter, and the second conversion parameter include at least one of: parameter values, matrices, parameter sets, and parameter sets.
CN201410055104.2A 2014-02-12 2014-02-18 Information processing method and electronic equipment Active CN103870115B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410055104.2A CN103870115B (en) 2014-02-18 2014-02-18 Information processing method and electronic equipment
US14/228,670 US9495064B2 (en) 2014-02-12 2014-03-28 Information processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410055104.2A CN103870115B (en) 2014-02-18 2014-02-18 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103870115A CN103870115A (en) 2014-06-18
CN103870115B true CN103870115B (en) 2017-12-26

Family

ID=50908708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410055104.2A Active CN103870115B (en) 2014-02-12 2014-02-18 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103870115B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573639B (en) 2014-10-17 2018-11-20 国际商业机器公司 For triggering the method and system of the display of application
CN104656479B (en) * 2014-12-31 2017-08-22 刘远芳 Touch and produce instruction and self-powered controller
CN109144368B (en) * 2018-08-23 2020-09-15 维沃移动通信有限公司 Picture conversion method and terminal
CN112084123B (en) * 2019-06-12 2024-02-27 阿里巴巴集团控股有限公司 Data processing method and device and data processing system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218109A (en) * 2011-11-28 2013-07-24 马维尔国际有限公司 Dual-window solution for android operating system
US9665178B2 (en) * 2012-08-01 2017-05-30 Blackberry Limited Selective inbox access in homescreen mode on a mobile electronic device
US9747003B2 (en) * 2012-08-01 2017-08-29 Blackberry Limited Multiple-stage interface control of a mobile electronic device
CN103246433A (en) * 2013-05-06 2013-08-14 苏州三星电子电脑有限公司 Screen user-defined window-dividing display control method

Also Published As

Publication number Publication date
CN103870115A (en) 2014-06-18

Similar Documents

Publication Publication Date Title
CN105190644B (en) Techniques for image-based searching using touch control
KR102576654B1 (en) Electronic apparatus and controlling method thereof
US20150186004A1 (en) Multimode gesture processing
EP2905689A1 (en) Method and apparatus for displaying character on touchscreen
US20160179289A1 (en) Object operation system, non-transitory computer-readable storage medium storing object operation control program, and object operation control method
CN103870115B (en) Information processing method and electronic equipment
CN104267931B (en) A kind of information processing method and electronic equipment
CN112068698A (en) Interaction method and device, electronic equipment and computer storage medium
CN107592458B (en) Shooting method and mobile terminal
CN104571904B (en) A kind of information processing method and electronic equipment
EP4075240A1 (en) Image display method and related product
US9560272B2 (en) Electronic device and method for image data processing
US20150205483A1 (en) Object operation system, recording medium recorded with object operation control program, and object operation control method
CN113741763A (en) Electronic book display method and device and electronic equipment
CN108108078B (en) Electronic equipment, display control method and related product
CN107580182B (en) Snapshot method, mobile terminal and computer readable storage medium
CN103870118B (en) Information processing method and electronic equipment
US20160196240A1 (en) Method of displaying content and electronic device implementing same
CN104571796B (en) Information processing method and electronic equipment
CN107566724B (en) Panoramic image shooting method and mobile terminal
CN107315529B (en) Photographing method and mobile terminal
CN105678696B (en) A kind of information processing method and electronic equipment
CN110443852B (en) Image positioning method and related device
US10831338B2 (en) Hiding regions of a shared document displayed on a screen
CN104917963A (en) Image processing method and terminal

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