CN104866166A - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN104866166A
CN104866166A CN201410061039.4A CN201410061039A CN104866166A CN 104866166 A CN104866166 A CN 104866166A CN 201410061039 A CN201410061039 A CN 201410061039A CN 104866166 A CN104866166 A CN 104866166A
Authority
CN
China
Prior art keywords
display unit
window
target window
display
instruction
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
Application number
CN201410061039.4A
Other languages
Chinese (zh)
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 CN201410061039.4A priority Critical patent/CN104866166A/en
Publication of CN104866166A publication Critical patent/CN104866166A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an information processing method and electronic equipment, wherein the method comprises the steps as follows: obtaining a first operation when a display unit of the electronic equipment displays at least one window; analyzing the first operation to obtain attribute information of the first operation; responding a first instruction when judging that the first operation is correlated with the first instruction, determining an operation parameter of the first operation according to the attribute information of the first operation; controlling the display unit to adjust a target window of the first operation according to the determined operation parameter so as to update a display area of the target window. The information processing method and the electronic equipment of the invention can be used for supporting the use of a palm to adjust the window displayed by the display unit of the electronic equipment and are convenient and fast for operating.

Description

Information processing method and electronic device
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
The display screen of the electronic device is continuously developing to a large size to meet the requirement of a user for presenting content in a specific scene, such as a meeting; because the display area of the window in the large-size display screen is relatively larger, the user needs to touch the edge area of the window when adjusting (for example, moving or rotating) a certain window by using a finger, the operation of adjusting the window is very inconvenient for the window with a large area, and the operation of adjusting the window is even difficult to implement when the window is large, which affects the user experience.
Disclosure of Invention
The embodiment of the invention provides an information processing method and electronic equipment, which can support the adjustment operation on a window presented by the electronic equipment quickly and conveniently, and have high user experience.
The embodiment of the invention provides an information processing method, which is applied to electronic equipment comprising a display unit, wherein the display unit supports displaying at least one window, and the method comprises the following steps:
when the display unit displays at least one window, obtaining a first operation, wherein a target area of the first operation is located in a display area of one window in the windows displayed by the display unit;
analyzing the first operation to obtain attribute information of the first operation;
judging whether the first operation is associated with a first instruction according to the attribute information of the first operation, wherein the first instruction is used for triggering the conversion of a target window of the first operation, and the target window is one of windows displayed by the display unit;
when the first operation is judged to be associated with the first instruction, responding to the first instruction, and determining an operation parameter of the first operation according to the attribute information of the first operation;
and controlling the display unit to adjust the target window of the first operation according to the determined operation parameters so as to update the display area of the target window.
An embodiment of the present invention further provides an electronic device, where the electronic device includes:
a display unit for supporting display of at least one window; the electronic device further includes:
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring a first operation when at least one window is displayed on the display unit, and a target area of the first operation is positioned in a display area of one window in the windows displayed on the display unit;
the analysis unit is used for analyzing the first operation to obtain attribute information of the first operation;
a determining unit, configured to determine, according to attribute information of the first operation, whether the first operation is associated with a first instruction, where the first instruction is used to trigger conversion of a target window of the first operation, and the target window is one of windows displayed by the display unit;
the control unit is used for responding to the first instruction and determining the operation parameters of the first operation according to the attribute information of the first operation when the judging unit judges that the first operation is associated with the first instruction;
and controlling the display unit to adjust the target window of the first operation according to the determined operation parameters so as to update the display area of the target window.
In the embodiment of the invention, whether the first operation is associated with the first instruction is determined through the attribute information of the first operation point, and the first instruction is responded when the association is determined, so that the operations such as moving, rotating and the like are carried out on the target window of the first operation.
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. 2 is a schematic flow chart illustrating an implementation of the information processing method according to the second embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating an implementation of an information processing method according to a third embodiment of the present invention;
FIG. 4a is a first diagram illustrating the operating point of the first operation according to the fourth embodiment of the present invention;
FIG. 4b is a second diagram illustrating the operation points of the first operation in the fourth embodiment of the present invention;
FIG. 4c is a third diagram illustrating the operation points of the first operation in the fourth embodiment of the present invention;
fig. 5a is a schematic flow chart illustrating a target window implementation process of adjusting a first operation according to a fifth embodiment of the present invention;
FIGS. 5b to 5i are schematic views illustrating the display of a target window in a first operation 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;
fig. 7 is a schematic structural diagram of an electronic device according to a seventh 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 an electronic device comprising a display unit, wherein the display unit displays at least one window; fig. 1 is a schematic flow chart illustrating an implementation of the information processing method described in this embodiment, and as shown in fig. 1, the method includes the following steps:
step 101, when at least one window is displayed on the display unit, obtaining a first operation.
The target area of the first operation is located in the display area of one of the windows displayed by the display unit.
And 102, analyzing the first operation to obtain attribute information of the first operation.
The attribute information represents attributes of the first operation, such as a moving direction and a moving distance of the first operation, a rotating direction and a rotating angle, an operation time, the number of operation points of the first operation, an operation area formed by the first operation, and information related to the first operation and other information obtained through the display unit; the operation area of the first operation is the area of a contact area with the display unit of the electronic equipment when the first operation is carried out; the operation area of the first operation is an area which is in contact with the display unit of the electronic equipment when the first operation is performed.
Since the information processing method described in this embodiment is applied to an electronic device, step 101 may be: the electronic device obtains a first operation.
It should be noted that, when the first operation is obtained, the first operation may or may not form a contact point on the display unit, that is, a user of the electronic device may contact the display unit when the display unit performs the first operation, or may use a finger or a palm to approach the display unit to a preset distance, and both the first operation and the second operation may sense a corresponding operation point on the display unit.
For example, when the display unit employs a capacitance medium such as a mutual capacitance medium, the operation point of the first operation may be determined by detecting capacitance change information of a two-dimensional plane of the display unit. The display unit is provided with the transverse electrodes and the longitudinal electrodes, the crossed positions of the electrodes form capacitors, when a user of the electronic equipment touches or approaches the display unit, the coupling between the two electrodes near the corresponding operating point is influenced, and the capacitance between the two electrodes is changed, so that the electronic equipment can sense the corresponding operating point by detecting the capacitance of the crossed points of all the transverse electrodes and the longitudinal electrodes in the display unit, and the position information of the operating point is obtained.
103, judging whether the first operation is associated with a first instruction according to the attribute information of the first operation, and executing step 104 if the first operation is associated with the first instruction; otherwise, return to step 101 to continue to obtain the first operation.
The first instruction is used for triggering adjustment of a target window of the first operation, and the target window is one of windows displayed by the display unit; here, the adjusting includes at least one of the following ways: movement and rotation.
And 104, responding to the first instruction, and determining the operation parameters of the first operation according to the first operation attribute information.
And 105, controlling the display unit to adjust the target window of the first operation according to the determined operation parameters so as to update the display area of the target window.
The operation parameter characterizes adjustment information of the first operation on a target window, and includes: the direction and distance of movement, the direction and angle of rotation, etc.
In this embodiment, whether a first operation is associated with the first instruction is determined through attribute information of the operation point, and the first instruction is responded when the association is determined, and operations such as moving and rotating are performed on a target window of the first operation.
Example two
The embodiment is further described with reference to the first embodiment, where the first operation is determined to be associated with a first instruction.
In this embodiment, whether the first operation is associated with the first instruction may be determined by combining one or more of the following information: the number of operation points of the first operation, the operation area of the first operation and the graphic characteristic parameters of the operation area formed by the first operation.
The inventor finds that when the palm is used for operating the display unit, the number of the operation points sensed by the electronic equipment on the display unit is far higher than that of the operation points sensed by the electronic equipment on the display unit when the palm is used for operating the display unit; therefore, when the number of operation points of the first operation is greater than a first threshold, where the first threshold may correspond to the number of operation points of the palm operation, it may be determined that the first operation is associated with the first instruction;
similarly, when the palm is used for operating the display unit, the area of the operation area sensed by the electronic equipment on the display unit is far higher than the area of the operation area sensed by the electronic equipment on the display unit when the palm is used for operating the display unit; therefore, when the operation area of the first operation exceeds a second threshold, it may be determined that the first operation is associated with the first instruction, where the second threshold may correspond to the area of the palm;
similarly, when the palm is used for implementing operation on the display unit, the graphic characteristic parameters of the operation area sensed by the electronic equipment on the display unit are matched with the graphic characteristic parameters corresponding to the palm; therefore, when the graphic characteristic parameter of the operation area of the first operation matches with a preset graphic characteristic parameter, the first operation first instruction association may be determined, where the preset graphic parameter corresponds to the outline of the palm.
The first threshold and the second threshold may be fixed values, and in consideration of differences in palm sizes of different users in practical applications, when a user (such as a child) with a small palm area performs the first operation adjustment target window, the problem that the palm operation may be misjudged as a finger operation may exist, and in order to improve the judgment accuracy, a scheme for setting the first threshold and the second threshold as dynamic values is further proposed in this embodiment, as shown in fig. 2, in the information processing method described in this embodiment, determining the first threshold and the second threshold in the form of dynamic values includes the following steps:
step 201, a second operation is obtained.
The second operation is an operation obtained before obtaining the first operation.
Step 202, determining the first threshold according to the number of the operation points of the second operation, wherein the first threshold is greater than the number of the operation points of the second operation.
Step 203, determining the second threshold according to the operation area of the second operation, where the second threshold is greater than the operation area of the second operation.
In this embodiment, the operation that needs to be performed by the finger is used as the second operation, so that the electronic device can determine the number of operation points of the second operation and the operation area of the second operation according to the operation record of the current user in the latest period of time, and in practical application, the first threshold value may be N times the number of operation points of the second operation, for example, N may be 5, so as to be closest to the palm area of the current user of the electronic device, and of course, N may also be any other value greater than 1; the value of the second threshold is similar to that of the first threshold, and is not described herein again.
It should be noted that, steps 201 to 203 may be periodically or aperiodically performed multiple times during the operation of the electronic device, so as to ensure that the first threshold and the second threshold determined by the electronic device correspond to the current user, that is, in a scenario where the user of the electronic device changes, by performing steps 201 to 203 multiple times, the first threshold and the second threshold are dynamically changed according to the current user, so that whether the first operation of the current user of the electronic device is associated with the first instruction or not can be accurately determined, and a possible erroneous determination condition that the first threshold and the second threshold adopt a fixed value form is avoided.
The execution order of step 202 and step 203 may be reversed, and is not limited in this embodiment.
In this embodiment, the first operation received by the electronic device can be accurately identified based on the attribute information of the first operation and one or more preset conditions, so as to determine whether to associate with the first instruction, so that the target window of the first operation can be adjusted.
EXAMPLE III
The embodiment describes an information processing method, which is applied to an electronic device comprising a display unit, wherein the display unit displays at least one window; fig. 3 is a schematic flow chart illustrating an implementation of the information processing method according to this embodiment, and as shown in fig. 3, the method includes the following steps:
step 301, when at least one window is displayed on the display unit, obtaining a first operation.
The target area of the first operation is located in the display area of one of the windows displayed by the display unit.
Step 302, analyzing the first operation to obtain attribute information of the first operation.
The attribute information represents attributes of the first operation, such as a moving direction and a moving distance of the first operation, a rotating direction and a rotating angle, an operation time, the number of operation points of the first operation, an operation area formed by the first operation, and information related to the first operation and other information obtained through the display unit; the operation area of the first operation is the area of a contact area with the display unit of the electronic equipment when the first operation is carried out; the operation area of the first operation is an area which is in contact with the display unit of the electronic equipment when the first operation is performed.
Since the information processing method described in this embodiment is applied to an electronic device, step 301 may also be: the electronic device obtains a first operation.
It should be noted that, when the first operation is obtained, the first operation may or may not form a contact point on the display unit, that is, a user of the electronic device may contact the display unit when the display unit performs the first operation, or may use a finger or a palm to approach the display unit to a preset distance, and both the first operation and the second operation may sense a corresponding operation point on the display unit.
For example, when the display unit employs a capacitance medium such as a mutual capacitance medium, the operation point of the first operation may be determined by detecting capacitance change information of a two-dimensional plane of the display unit. The display unit is provided with the transverse electrodes and the longitudinal electrodes, the crossed positions of the electrodes form capacitors, when a user of the electronic equipment touches or approaches the display unit, the coupling between the two electrodes near the corresponding operating point is influenced, and the capacitance between the two electrodes is changed, so that the electronic equipment can sense the corresponding operating point by detecting the capacitance of the crossed points of all the transverse electrodes and the longitudinal electrodes in the display unit, and the position information of the operating point is obtained.
Step 303, according to the attribute information of the first operation, determining whether the first operation is associated with a first instruction, if so, executing step 304; otherwise, step 306 is performed.
The first instruction is used for triggering adjustment of a target window of the first operation, and the target window is one of windows displayed by the display unit; here, the adjusting includes at least one of the following ways: movement and rotation.
Step 304, in response to the first instruction, determining an operation parameter of the first operation according to the first operation attribute information.
Step 305, controlling the display unit to adjust the target window of the first operation according to the determined operation parameter so as to update the display area of the target window.
The operation parameter characterizes adjustment information of the first operation on a target window, and includes: the direction and distance of movement, the direction and angle of rotation, etc.
Step 306, determining a corresponding second instruction according to the attribute information of the first operation.
The second instruction is used for triggering and updating the content displayed by the target window of the second operation.
Step 307, in response to the second instruction, controlling the display unit to update the content displayed in the target window of the first operation.
When it is determined in step 303 that the first operation is not associated with the first instruction, the representation that the first operation is not an operation performed using a palm, at this time, a second instruction corresponding to the first operation needs to be determined, an application corresponding to a target window of the first operation is called to respond to the first operation, and the display unit is controlled to update the content displayed in the target window of the first operation.
The embodiment realizes the following technical effects that when the palm is used for implementing the first operation, the electronic device can be triggered to perform adjustment operations such as moving and rotating on the target window of the first operation, and when the finger is used for implementing the first operation, the application corresponding to the target window of the first operation can be triggered to respond, and the content of the target window is updated.
Example four
This embodiment describes how to determine the target window of the first operation described in the foregoing embodiment based on any one of the first to third embodiments.
In this embodiment, when determining that the first operation point is located in one of the windows displayed by the display unit according to the attribute information of the first operation point, determining the window where the first operation point is located as a target window of the first operation; wherein,
the first operation point is an operation point of first operation sensed by the display unit at a first moment, and the first moment is the moment when the first operation is sensed by the display unit firstly; the attribute information of the first operation point comprises position information and number information of the first operation point; the manner of determining the location information of the operation point is the same as that described in the first embodiment, and is not described herein again.
The inventor finds that, in the process of implementing the present invention, when a user implements a first operation to adjust, such as move and rotate, a window, the first operation is composed of a series of consecutive actions, such as pressing a target window, dragging and releasing the target window, so that the target window of the first window is determined, the target window of the first operation can be determined by first sensing attribute information of the first operation point, and taking the first operation of moving the target window as an example, when the electronic device senses the pressed operation through the display unit, an operation point corresponding to the pressed operation is taken as the first operation point, so that the window where the first operation point is located is determined as the target window of the first operation.
In practical applications, the electronic device display unit often displays a plurality of windows, and in this case, when the first operation is performed, it is necessary to explain how to determine the target window from among the plurality of windows displayed by the display unit.
Scenario 1) as shown in fig. 4a, when the first operation point is located in the display area of only one of the windows displayed by the display unit, the window in which the first operation point is located is determined as the target window of the first operation;
scene 2) as shown in fig. 4b, when the first operation point is located in the display area of one or more windows, namely window 1 and window 2, in the windows displayed by the display unit, and the window where the first operation point is located does not have an overlapping area, determining the window 1, which is the window with the most number of the first operation points, as the target window of the first operation;
scene 3) as shown in fig. 4c, when the first operation point is located in a display area where one or more windows, i.e., window 1 and window 2, among the windows displayed on the display unit coincide with each other, the window 1, which is the window displayed at the topmost layer of the display unit, among the windows including the first operation point is determined as a target window of the first operation.
According to the embodiment, when the electronic equipment displays a plurality of windows on the display unit, the target window of the first operation is accurately identified, and the target window is convenient to move, rotate and the like.
EXAMPLE five
The present embodiment describes an implementation manner of controlling the electronic device display unit to adjust the target window of the first operation according to the operation parameter of the first operation, as described in the foregoing embodiment, based on any one of the first to fourth embodiments. As shown in fig. 5a, in the information processing method according to this embodiment, adjusting the target window of the first operation includes the following steps:
step 501, adjusting a display parameter of a target window of a first operation, where an adjustment range of the display parameter is a preset range or corresponds to an operation parameter of the first operation.
And 502, controlling the display unit to display the target window according to the adjusted display parameters.
The operation parameter characterizes adjustment information of the first operation on a target window, and includes: the direction and distance of movement, the direction and angle of rotation; the following describes moving object windows and rotating object windows, respectively.
1) Moving target window
Taking the implementation of the first operation and the movement of the target window as an example, the display parameters of the target window are adjusted so that the direction and the distance of the movement of the position of the target window are the same as the operation parameters of the first operation, namely the direction and the distance of the movement, so that the movement effect which is visible and available for the target window is realized through the first operation;
considering that there is a scene in which the target window needs to be moved accurately, it is difficult to move with high precision in the above-mentioned visible and available manner, and accordingly, the display parameters of the target window may be adjusted so that the moving direction of the target window is consistent with the moving direction of the first operation, and the moving distance of the target window corresponds to a preset amplitude, which may be set to any precision value as required.
The following explains the determination of the moving direction and distance of the first operation.
As shown in fig. 5b, two operation points where the electronic device senses the first operation sequentially on the display unit are: an operation point a and an operation point b, wherein the operation point a is used as a starting point for determining the moving direction of the first operation, the operation point b is used as an end point of the moving direction of the first operation, the moving direction and the moving distance of the first operation are determined by combining the positions of the operation point a and the operation point b, and the display unit is controlled to move the target window according to the determined moving direction and moving distance, wherein the moved target window is shown in fig. 5 c; that is, the conversion of the display position of the window from the position shown in fig. 5b to the position shown in fig. 5c is achieved by performing the first operation; in fig. 5c, the moving distance of the target window relative to the target window in fig. 5b is consistent with the moving distance of the first operation, and the moving direction of the target window is consistent with the moving direction of the first operation, that is, the target window is moved in a visible and available manner.
The above description is only illustrative, and in practical applications, when the user of the electronic device performs the first operation using the palm, the operation point sensed by the electronic device on the display unit is a strip-shaped region, as shown in fig. 5d, and at this time, the moving direction and the moving distance of the first operation may also be determined by the electronic device according to the time when the operation point in the strip-shaped region is sensed and the position information of the operation point in the strip-shaped region.
2) Rotating target window
Taking the first operation and the target window rotation as an example, adjusting the display parameters of the target window so that the direction and the angle of the position direction of the target window correspond to the rotation direction and the rotation angle of the first operation; thus, the movement effect which is visible and available to the target window is realized through the first operation;
considering that there is a scene that requires a given amplitude rotation of the target window, for example, in practical use, the display direction of the target window often needs to be switched between a landscape screen and a portrait screen; correspondingly, the display parameters of the target window can be adjusted, so that the rotating direction of the target window is consistent with the rotating direction of the first operation, the rotating angle of the target window corresponds to a preset amplitude, the preset amplitude can be set to be any precision value as required, and when the horizontal screen and the vertical screen are switched, the preset amplitude is 90 degrees.
As shown in fig. 5e, the target window is a full-screen window, and the display direction of the target window is shown by a solid arrow in fig. 5e, where the display direction refers to the display direction of the content in the window; setting three operation points a, b and c of the first operation sensed by the display unit in sequence, taking the operation point a as a starting point for determining the rotation direction of the first operation, taking the operation point b as an end point of the rotation direction of the first operation, determining the rotation direction of the first operation as a clockwise direction by combining the operation point b, and correspondingly adjusting the display parameters of the target window to control the display unit to display the target window rotated clockwise, wherein the display direction of the rotated target window is shown in fig. 5 f; that is, by performing the first operation, the display direction of the window is changed from the landscape display shown in fig. 5e to the portrait display shown in fig. 5 f.
The target window in the above example corresponds to a full screen display area of the display unit, the target window may also correspond to a partial display area of the display unit, and when the target window corresponding to the partial display area of the display unit is rotated, a display direction of the target window may be rotated, and/or the display area and the display direction of the target window may be rotated. As shown in fig. 5g, the display direction of the target window is shown by the solid arrow in fig. 5g, and the display direction refers to the display direction of the content in the window; if three operation points a, b and c of the first operation are sensed by the display unit in sequence, taking the operation point a as a starting point for determining the rotation direction of the first operation, taking the operation point c as an end point of the rotation direction of the first operation, determining the rotation direction of the first operation as a clockwise direction by combining the operation point b, and correspondingly controlling the display unit to rotate the target window in the clockwise direction, wherein a schematic diagram of the rotated target window is shown in fig. 5h, and the display direction of the target window is rotated by 90 degrees clockwise compared with that before the first operation is received;
when the first operation shown in fig. 5g is received and the display direction and the display area of the target window are rotated at the same time, the obtained schematic diagram of the target window is shown in fig. 5i, and the display area and the display direction of the target window are both rotated by 90 degrees clockwise compared with fig. 5 g; that is, the conversion of the display direction of the target window from the landscape display shown in fig. 5g to the portrait display shown in fig. 5h or 5i is achieved by the first operation.
The present embodiment achieves the following technical effects, according to the operation parameter of the first operation, the target window of the first operation is adjusted in different manners, so as to be suitable for different usage scenarios.
Here, it should be noted that: the following description of the embodiments of the electronic device is similar to the description of the method, and the description of the advantageous effects of the method is omitted for brevity. For technical details not disclosed in the embodiments of the electronic device of the present invention, refer to the description of the embodiments of the method of the present invention.
EXAMPLE six
This embodiment describes an electronic device, as shown in fig. 6, the electronic device includes: a display unit 61 for supporting displaying at least one window; the electronic device further includes:
an obtaining unit 62, configured to obtain a first operation when at least one window is displayed on the display unit 61, where a target area of the first operation is located in a display area of one window in the windows displayed on the display unit 61;
an analyzing unit 63, configured to analyze the first operation to obtain attribute information of the first operation;
a determining unit 64, configured to determine, according to attribute information of the first operation, whether the first operation is associated with a first instruction, where the first instruction is used to trigger conversion of a target window of the first operation, and the target window is one of windows displayed by the display unit 61;
a control unit 65, configured to determine, in response to the first instruction, an operation parameter of the first operation according to attribute information of the first operation when the determining unit 64 determines that the first operation is associated with the first instruction;
and controlling the display unit 61 to adjust the target window of the first operation according to the determined operation parameter so as to update the display area of the target window.
In practical applications, the display unit 61 may be implemented by a display screen and a display driving circuit in the electronic device; the obtaining Unit 62, the analyzing Unit 63, the judging Unit 64, and the control Unit 65 may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Field Programmable Gate Array (FPGA) in the electronic device.
EXAMPLE seven
This embodiment describes an electronic device, as shown in fig. 7, the electronic device includes:
a display unit 71 for supporting displaying at least one window; the electronic device further includes:
an obtaining unit 72, configured to obtain a first operation when at least one window is displayed on the display unit 71, where a target area of the first operation is located in a display area of one window in the windows displayed on the display unit 71;
an analyzing unit 73, configured to analyze the first operation to obtain attribute information of the first operation;
a determining unit 74, configured to determine, according to attribute information of the first operation, whether the first operation is associated with a first instruction, where the first instruction is used to trigger conversion of a target window of the first operation, and the target window is one of windows displayed by the display unit 71;
a control unit 75, configured to determine, in response to the first instruction, an operation parameter of the first operation according to attribute information of the first operation when the determining unit 74 determines that the first operation is associated with the first instruction;
according to the determined operation parameter, the display unit 71 is controlled to adjust the target window of the first operation to update the display area of the target window.
Wherein the judging unit 74 is further configured to, when it is determined from the attribute information that the first operation satisfies at least one of the following conditions:
the number of operating points of the first operation exceeds a first threshold;
an operating area of the first operation exceeds a second threshold;
matching the graphic characteristic parameters of the operation area formed by the first operation with preset graphic characteristic parameters;
judging that the first operation is associated with the first instruction; otherwise, judging that the first operation is not associated with the first instruction.
The control unit 75 is further configured to determine, when the determining unit 74 determines that the first operation is not associated with the first instruction, a corresponding second instruction according to attribute information of the first operation, where the second instruction is used to trigger updating of content displayed in a target window of the second operation;
in response to the second instruction, the display unit 71 is controlled to update the content displayed in the target window of the first operation.
Wherein the first threshold and the second threshold are fixed values or dynamic values;
accordingly, when the first threshold value and the second threshold value are dynamic values,
the obtaining unit 72 is further configured to obtain a second operation, where the second operation is an operation obtained before obtaining the first operation;
the control unit 75 is further configured to determine the first threshold according to the number of operation points of the second operation, where the first threshold is greater than the number of operation points of the second operation;
determining the second threshold according to the operating area of the second operation, wherein the second threshold is larger than the operating area of the second operation.
The control unit 75 is further configured to determine, before the display unit 71 adjusts the target window of the first operation, according to attribute information of a first operation point, when it is determined that the first operation point is located in one of the windows displayed by the display unit 71, the window where the first operation point is located is the target window of the first operation; wherein,
the first operation point is an operation point of a first operation sensed at the display unit 71 at a first time, and the first time is a time when the first operation is first sensed at the display unit 71.
The control unit 75 is further configured to determine, when the first operation point is located in only a display area of one of the windows displayed by the display unit 71, a window in which the first operation point is located as a target window of the first operation;
when the first operation point is located in a display area of more than one of the windows displayed by the display unit 71 and there is no overlapping area in the window where the first operation point is located, determining the window including the most first operation point as a target window of the first operation;
when the first operation point is located in a display area where one or more windows among the windows displayed by the display unit 71 coincide, a window displayed on the topmost layer of the display unit 71 among the windows including the first operation point is determined as a target window of the first operation.
The control unit 75 is further configured to adjust a display parameter of the target window, where an adjustment amplitude of the display parameter is a preset amplitude, or corresponds to the operation parameter;
and controlling the display unit 71 to display the target window according to the adjusted display parameters.
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: various media that can store program codes, such as a removable Memory device, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
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 magnetic or optical disk, or other various 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 (14)

1. An information processing method applied to an electronic device including a display unit that supports display of at least one window, the method comprising:
when the display unit displays at least one window, obtaining a first operation, wherein a target area of the first operation is located in a display area of one window in the windows displayed by the display unit;
analyzing the first operation to obtain attribute information of the first operation;
judging whether the first operation is associated with a first instruction according to the attribute information of the first operation, wherein the first instruction is used for triggering the conversion of a target window of the first operation, and the target window is one of windows displayed by the display unit;
when the first operation is judged to be associated with the first instruction, responding to the first instruction, and determining an operation parameter of the first operation according to the attribute information of the first operation;
and controlling the display unit to adjust the target window of the first operation according to the determined operation parameters so as to update the display area of the target window.
2. The method of claim 1, wherein the determining whether the first operation is associated with a first instruction according to the attribute information of the first operation comprises:
when it is determined that the first operation satisfies at least one of the following conditions according to the attribute information:
the number of operating points of the first operation exceeds a first threshold;
an operating area of the first operation exceeds a second threshold;
matching the graphic characteristic parameters of the operation area formed by the first operation with preset graphic characteristic parameters;
judging that the first operation is associated with the first instruction; otherwise, judging that the first operation is not associated with the first instruction.
3. The method of claim 2, wherein when it is determined that the first operation is not associated with the first instruction, the method further comprises:
determining a corresponding second instruction according to the attribute information of the first operation, wherein the second instruction is used for triggering and updating the content displayed by a target window of the second operation;
and responding to the second instruction, and controlling the display unit to update the content displayed by the target window of the first operation.
4. The method of claim 2, wherein the first threshold and the second threshold are fixed values or dynamic values;
accordingly, when the first threshold and the second threshold are dynamic values, the method further comprises:
obtaining a second operation, wherein the second operation is obtained before the first operation is obtained;
determining the first threshold according to the number of the operation points of the second operation, wherein the first threshold is larger than the number of the operation points of the second operation;
determining the second threshold according to the operating area of the second operation, wherein the second threshold is larger than the operating area of the second operation.
5. The method according to claim 1, wherein before the controlling the display unit to adjust the target window of the first operation, the method further comprises:
determining a window where a first operation point is located as a target window of the first operation when the first operation point is determined to be located in one of windows displayed by the display unit according to attribute information of the first operation point; wherein,
the first operation point is an operation point of first operation sensed by the display unit at a first moment, and the first moment is a moment when the first operation is first sensed by the display unit.
6. The method of claim 5, further comprising:
when the first operation point is only located in the display area of one window in the windows displayed by the display unit, determining the window where the first operation point is located as a target window of the first operation;
when the first operation point is located in a display area of more than one window of the windows displayed by the display unit and the window where the first operation point is located does not have an overlapped area, determining the window with the most number of the first operation points as a target window of the first operation;
when the first operation point is located in a display area where more than one of the windows displayed by the display unit coincide, determining a window displayed at the topmost layer of the display unit in the windows including the first operation point as a target window of the first operation.
7. The method according to any one of claims 1 to 6, wherein said controlling the display unit to adjust the target window according to the determined operating parameter comprises:
adjusting the display parameters of the target window, wherein the adjustment range of the display parameters is a preset range or corresponds to the operation parameters;
and controlling the display unit to display the target window according to the adjusted display parameters.
8. An electronic device, characterized in that the electronic device comprises:
a display unit for supporting display of at least one window; the electronic device further includes:
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring a first operation when at least one window is displayed on the display unit, and a target area of the first operation is positioned in a display area of one window in the windows displayed on the display unit;
the analysis unit is used for analyzing the first operation to obtain attribute information of the first operation;
a determining unit, configured to determine, according to attribute information of the first operation, whether the first operation is associated with a first instruction, where the first instruction is used to trigger conversion of a target window of the first operation, and the target window is one of windows displayed by the display unit;
the control unit is used for responding to the first instruction and determining the operation parameters of the first operation according to the attribute information of the first operation when the judging unit judges that the first operation is associated with the first instruction;
and controlling the display unit to adjust the target window of the first operation according to the determined operation parameters so as to update the display area of the target window.
9. The electronic device of claim 8,
the judging unit is further configured to, when it is determined that the first operation satisfies at least one of the following conditions according to the attribute information:
the number of operating points of the first operation exceeds a first threshold;
an operating area of the first operation exceeds a second threshold;
matching the graphic characteristic parameters of the operation area formed by the first operation with preset graphic characteristic parameters;
judging that the first operation is associated with the first instruction; otherwise, judging that the first operation is not associated with the first instruction.
10. The electronic device of claim 9,
the control unit is further configured to determine a corresponding second instruction according to the attribute information of the first operation when the determining unit determines that the first operation is not associated with the first instruction, where the second instruction is used to trigger and update content displayed in a target window of the second operation;
and responding to the second instruction, and controlling the display unit to update the content displayed by the target window of the first operation.
11. The electronic device of claim 9, wherein the first threshold and the second threshold are fixed values or dynamic values;
accordingly, when the first threshold value and the second threshold value are dynamic values,
the obtaining unit is further configured to obtain a second operation, where the second operation is an operation obtained before the first operation is obtained;
the control unit is further configured to determine the first threshold according to the number of the operation points of the second operation, where the first threshold is greater than the number of the operation points of the second operation;
determining the second threshold according to the operating area of the second operation, wherein the second threshold is larger than the operating area of the second operation.
12. The electronic device of claim 8,
the control unit is further configured to determine, before the display unit adjusts the target window of the first operation, the window where the first operation point is located as the target window of the first operation when it is determined that the first operation point is located in one of the windows displayed by the display unit according to the attribute information of the first operation point; wherein,
the first operation point is an operation point of first operation sensed by the display unit at a first moment, and the first moment is a moment when the first operation is first sensed by the display unit.
13. The electronic device of claim 12,
the control unit is further configured to determine, when the first operation point is located only in a display area of one of windows displayed by the display unit, a window in which the first operation point is located as a target window of the first operation;
when the first operation point is located in a display area of more than one window of the windows displayed by the display unit and the window where the first operation point is located does not have an overlapped area, determining the window with the most number of the first operation points as a target window of the first operation;
when the first operation point is located in a display area where more than one of the windows displayed by the display unit coincide, determining a window displayed at the topmost layer of the display unit in the windows including the first operation point as a target window of the first operation.
14. The electronic device of any of claims 8-13,
the control unit is further configured to adjust a display parameter of the target window, where an adjustment amplitude of the display parameter is a preset amplitude, or corresponds to the operation parameter;
and controlling the display unit to display the target window according to the adjusted display parameters.
CN201410061039.4A 2014-02-21 2014-02-21 Information processing method and electronic equipment Pending CN104866166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410061039.4A CN104866166A (en) 2014-02-21 2014-02-21 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410061039.4A CN104866166A (en) 2014-02-21 2014-02-21 Information processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN104866166A true CN104866166A (en) 2015-08-26

Family

ID=53912036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410061039.4A Pending CN104866166A (en) 2014-02-21 2014-02-21 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104866166A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101410781A (en) * 2006-01-30 2009-04-15 苹果公司 Gesturing with a multipoint sensing device
CN102314297A (en) * 2010-07-07 2012-01-11 腾讯科技(深圳)有限公司 Window object inertia displacement method and realizing device
CN102360264A (en) * 2011-09-30 2012-02-22 奇智软件(北京)有限公司 Touch control type browser of portable mobile terminal
US20130033453A1 (en) * 2010-04-16 2013-02-07 Beijing Lenovo Software Ltd. Method for operating and controlling electronic equipment and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101410781A (en) * 2006-01-30 2009-04-15 苹果公司 Gesturing with a multipoint sensing device
US20130033453A1 (en) * 2010-04-16 2013-02-07 Beijing Lenovo Software Ltd. Method for operating and controlling electronic equipment and electronic equipment
CN102314297A (en) * 2010-07-07 2012-01-11 腾讯科技(深圳)有限公司 Window object inertia displacement method and realizing device
CN102360264A (en) * 2011-09-30 2012-02-22 奇智软件(北京)有限公司 Touch control type browser of portable mobile terminal

Similar Documents

Publication Publication Date Title
EP2837992B1 (en) User interface interaction method and apparatus applied in touchscreen device, and touchscreen device
US10318042B2 (en) Controlling method of foldable screen and electronic device
US10572012B2 (en) Electronic device for performing gestures and methods for determining orientation thereof
US9477403B2 (en) Drawing on a touchscreen
US20120176322A1 (en) Systems and methods to present multiple frames on a touch screen
US20140317551A1 (en) Method and Terminal for Controlling Switching of Desktop Container Pages
CN105824496A (en) Method for setting icon brightness based on use of users and mobile terminal
US20150186004A1 (en) Multimode gesture processing
CN108920066B (en) Touch screen sliding adjustment method and device and touch equipment
US20150212698A1 (en) Virtual mouse for a touch screen device
TW201604719A (en) Method and apparatus of controlling a smart device
US10754446B2 (en) Information processing apparatus and information processing method
US20150242094A1 (en) Method for Processing Information and Electronic Device
US20140247218A1 (en) Modifying key size on a touch screen based on fingertip location
JP2012247911A (en) Information processing apparatus, information processing method, and program
JP6153561B2 (en) Method, apparatus, and computer program for adjusting hyperlink layout size (adjusting hyperlink layout size)
WO2015102974A1 (en) Hangle-based hover input method
CN106873891A (en) The method and mobile terminal of a kind of touch control operation
CN109389082B (en) Sight line acquisition method, device, system and computer readable storage medium
US10318131B2 (en) Method for scaling down effective display area of screen, and mobile terminal
US20170038962A1 (en) System and method for receiving a touch input at a location of a cursor extended from the touch input on a touchscreen device
CN104007928A (en) Information processing method and electronic device
CN106293446B (en) Display method and display device
CN104731503B (en) A kind of control method and electronic equipment
CN104866166A (en) Information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150826

RJ01 Rejection of invention patent application after publication