CN105117124B - Window processing method and system - Google Patents
Window processing method and system Download PDFInfo
- Publication number
- CN105117124B CN105117124B CN201510486625.8A CN201510486625A CN105117124B CN 105117124 B CN105117124 B CN 105117124B CN 201510486625 A CN201510486625 A CN 201510486625A CN 105117124 B CN105117124 B CN 105117124B
- Authority
- CN
- China
- Prior art keywords
- screen
- window
- opened
- operation position
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a window processing method and a window processing system. According to the scheme, the operation action is carried out at the operation position on the screen of the electronic equipment, so that the opened window on the electronic screen is close to a preset point, namely the operation position, the distance of each opened small window on the electronic screen is close to the operation position, and the small windows are concentrated near the operation position, so that a user can operate a plurality of different small windows conveniently, and the process that the small windows at different positions need to be moved greatly when being operated is reduced.
Description
Technical Field
The present invention relates to the field of device processing, and in particular, to a window processing method and system.
Background
When the electronic device is operated by touching a large screen, a plurality of small windows may be opened on the screen of the electronic device at the same time, for example: the QQ chat window, the Aliwang chat window or other small windows are arranged at different positions on the screen of the electronic equipment, so that the problem of inconvenient operation is caused when different small windows are operated.
For example: the user is currently operating the first small window located at the lower right corner of the screen of the electronic device, and the second small window located at the upper left corner of the screen of the electronic device needs to be operated at the next moment.
Disclosure of Invention
In view of the above, the present invention provides a window processing method and system, so as to solve the problem in the prior art that the screen of an electronic device between small windows is located at a long distance, which is inconvenient for a user to operate, and the specific scheme is as follows:
a window processing method, comprising:
receiving an operation instruction;
determining an operation position and an operation action according to the operation instruction;
and when the operation action is detected to meet the preset condition, controlling the window opened on the screen to approach to the operation position.
Further, the detecting that the operation action meets a predetermined condition specifically includes:
detecting whether a pressure value obtained due to an operation action at the operation position reaches a predetermined value;
and if so, the operation action meets a preset condition.
Further, the detecting that the operation action meets a predetermined condition specifically includes:
detecting a motion track of the operation action on the screen;
and controlling a window opened on the screen to follow the motion trail based on a plurality of position points on the motion trail.
Further, when it is detected that the operation action satisfies a predetermined condition, controlling a window opened on a screen to approach the operation position specifically includes:
when detecting that the pressure value obtained at the operation position is within a first threshold value range, moving an opened window within a first distance from the operation position to approach the operation position;
when detecting that the pressure value obtained at the operation position is within a second threshold value range, moving the opened window within a second distance from the operation position to be close, wherein the first threshold value is smaller than the second threshold value, and the first distance is smaller than the second distance.
Further, when it is detected that the operation action satisfies a predetermined condition, controlling a window opened on a screen to approach the operation position specifically includes:
when detecting that the pressure value obtained at the operation position is within a third threshold value range, moving a window opened on the screen to approach the operation position at a first speed;
when detecting that the pressure value obtained at the operation position is within a fourth threshold value range, moving the window opened on the screen to approach the operation position at a second speed, wherein the third threshold value is smaller than the fourth threshold value, and the first speed is smaller than the second speed.
A window processing system, comprising: the receiving unit, with the determining unit that the receiving unit links to each other, with the control unit that the determining unit links to each other, wherein:
the receiving unit is used for receiving an operation instruction;
the determining unit is used for determining an operation position and an operation action according to the operation instruction;
the control unit is used for controlling a window opened on a screen to approach to the operation position when the operation action is detected to meet a preset condition.
Further, the method also comprises the following steps: a first detection unit connected to the determination unit and the control unit, respectively, wherein:
the first detection unit is used for detecting whether a pressure value obtained by operation action at the operation position reaches a preset value, if so, the operation action meets a preset condition, and a first control instruction is sent to the control unit.
Further, the method also comprises the following steps: a second detection unit connected to the determination unit and the control unit, respectively, wherein:
the second detection unit is used for detecting a motion track of the operation action on the screen, and sending a second control instruction to the control unit based on a plurality of position points on the motion track, so that the control unit controls a window opened on the screen to follow the motion track.
Further, the control unit includes: a first mobile unit and a second mobile unit, wherein:
the first moving unit is used for moving an opened window within a first distance from the operating position to approach the operating position when detecting that the pressure value obtained at the operating position is within a first threshold range;
the second moving unit is used for moving the opened window within a second distance from the operation position to be close to the operation position when detecting that the pressure value obtained at the operation position is within a second threshold range, wherein the first threshold is smaller than a second threshold, and the first distance is smaller than the second distance.
Further, the control unit includes: a third mobile unit and a fourth mobile unit, wherein:
the third moving unit is used for moving the window opened on the screen to approach to the operating position at a first speed when detecting that the pressure value obtained at the operating position is within a third threshold range;
the fourth moving unit is configured to, when it is detected that the pressure value obtained at the operation position is within a fourth threshold range, move the window opened on the screen to approach the operation position at the second speed, where the third threshold is smaller than the fourth threshold, and the first speed is smaller than the second speed.
According to the technical scheme, the window processing method and the window processing system disclosed by the application can determine the operation position and the operation action according to the operation instruction by receiving the operation instruction, and control the window opened on the screen to approach to the operation position when the operation action is detected to meet the preset condition. According to the scheme, the operation action is carried out at the operation position on the screen of the electronic equipment, so that the opened window on the electronic screen is close to a preset point, namely the operation position, the distance of each opened small window on the electronic screen is close to the operation position, and the small windows are concentrated near the operation position, so that a user can operate a plurality of different small windows conveniently, and the process that the small windows at different positions need to be moved greatly when being operated is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a window processing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a window processing method according to an embodiment of the present invention;
FIG. 3 is a flowchart of a window processing method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a window processing system according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a window processing system according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a window processing system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention discloses a window processing method, the flow chart of which is shown in figure 1, comprising the following steps:
step S11, receiving an operation instruction;
the operation instruction is sent by the user to the electronic device, and specifically, the operation instruction may be to click a screen of the electronic device, or to slide a finger of the user on the screen of the electronic device.
Step S12, determining an operation position and an operation action according to the operation instruction;
when the operation instruction is to click the screen of the electronic device, the operation instruction can determine a specific position on the clicked screen of the electronic device, namely, an operation position, and can also determine an action of a user on the screen of the electronic device, namely, the operation instruction is a specific instruction sent by the user to the electronic device;
when the operation instruction is that a finger of a user slides on a screen of the electronic device, the operation instruction can determine the starting position of the sliding, namely, the specific instruction sent by the user to the electronic device.
And step S13, when the operation action is detected to meet the preset condition, the window opened on the control screen is close to the operation position.
When windows of a plurality of applications are opened on a screen of an electronic device, because the windows of the opened applications are located at different positions on the screen of the electronic device, when the opened applications are processed in batch, the opened applications need to be collected at one position or adjacent positions.
When the operation action meets a preset condition, controlling an open window of an opened application program on a screen of the electronic equipment to approach to an operation position; when the operation action does not satisfy the predetermined condition, the operation action may be a default operation action, and no operation is performed on the electronic device, or when the operation action does not satisfy the predetermined condition, it may be determined whether the operation action is an application opening action or an application deleting action, which is not specifically limited herein.
According to the window processing method disclosed by the embodiment, the operation position and the operation action are determined according to the operation instruction by receiving the operation instruction, and when the operation action is detected to meet the preset condition, the window opened on the screen is controlled to be close to the operation position. According to the scheme, the operation action is carried out at the operation position on the screen of the electronic equipment, so that the opened window on the electronic screen is close to a preset point, namely the operation position, the distance of each opened small window on the electronic screen is close to the operation position, and the small windows are concentrated near the operation position, so that a user can operate a plurality of different small windows conveniently, and the process that the small windows at different positions need to be moved greatly when being operated is reduced.
The embodiment discloses a window processing method, a flowchart of which is shown in fig. 2, and the method includes:
step S21, receiving an operation instruction;
the operation instruction is sent by the user to the electronic device, and specifically, the operation instruction may be to click a screen of the electronic device, or to slide a finger of the user on the screen of the electronic device.
Step S22, determining an operation position and an operation action according to the operation instruction;
when the operation instruction is to click the screen of the electronic device, the operation instruction can determine a specific position on the clicked screen of the electronic device, namely, an operation position, and can also determine an action of a user on the screen of the electronic device, namely, the operation instruction is a specific instruction sent by the user to the electronic device;
when the operation instruction is that a finger of a user slides on a screen of the electronic device, the operation instruction can determine the starting position of the sliding, namely, the specific instruction sent by the user to the electronic device.
Step S23 of detecting whether a pressure value obtained due to the operation action at the operation position reaches a predetermined value;
whether the operation action is clicking on the screen of the electronic device or sliding on the screen of the electronic device, the finger of the user is required to be in contact with the screen of the electronic device, and when the finger of the user is applied to the screen of the electronic device, the screen of the electronic device receives pressure from the finger of the user.
And detecting the pressure value, and when detecting that the pressure value reaches a preset value, indicating that the operation instruction meets a preset condition.
And step S24, if yes, the operation action meets the preset condition, and the window opened on the screen is controlled to approach to the operation position.
Controlling a window opened on a screen to approach to an operation position, specifically:
when detecting that the pressure value obtained at the operation position is within a first threshold range, moving the opened window within a first distance from the operation position to approach the operation position;
when it is detected that the pressure value obtained at the operating position is within a second threshold range, the open window within a second distance from the operating position is moved closer.
Wherein the first threshold is smaller than the second threshold, and the first distance is smaller than the second distance. That is, the range of the window of the opened application program that needs to be moved is related to the pressure value received at the screen operation position, the smaller the pressure value is, the closer the opened window to the operation position is to the operation position, the larger the pressure value is, the farther the opened window to the operation position is to the operation position, that is, when a certain point on the screen has a certain pressure, a circle is made with the point as the center of circle and the distance corresponding to the pressure value as the radius, and all the opened windows in the range of the circle are to be moved to the center of circle.
In addition, controlling the opened window on the screen to approach to the operation position may specifically be:
when detecting that the pressure value obtained at the operation position is within a third threshold range, moving a window opened on the screen to approach the operation position at a first speed;
when it is detected that the pressure value obtained at the operation position is within the fourth threshold range, the window opened on the mobile screen approaches the operation position at the second speed.
Wherein the third threshold is less than the fourth threshold, and the first speed is less than the second speed. That is, the moving speed of the window of the opened application program which needs to be moved is related to the pressure value received at the operation position, and the moving speed of the window of the opened application program becomes faster as the pressure value received at the operation position increases. When a certain pressure is received at the operation position, the window of the opened application program in a certain range of the point approaches to the point by taking the operation position as a center of circle, the moving speed of the window is accelerated along with the increase of the pressure value, the larger the pressure value is, the faster the window moves, the smaller the pressure value is, and the slower the window moves.
The same applies to the case where the operation motion is a movement trajectory.
According to the window processing method disclosed by the embodiment, the operation position and the operation action are determined according to the operation instruction by receiving the operation instruction, and when the operation action is detected to meet the preset condition, the window opened on the screen is controlled to be close to the operation position. According to the scheme, the operation action is carried out at the operation position on the screen of the electronic equipment, so that the opened window on the electronic screen is close to a preset point, namely the operation position, the distance of each opened small window on the electronic screen is close to the operation position, and the small windows are concentrated near the operation position, so that a user can operate a plurality of different small windows conveniently, and the process that the small windows at different positions need to be moved greatly when being operated is reduced.
The embodiment discloses a window processing method, a flowchart of which is shown in fig. 3, and the method includes:
step S31, receiving an operation instruction;
the operation instruction is sent by the user to the electronic device, and specifically, the operation instruction may be to click a screen of the electronic device, or to slide a finger of the user on the screen of the electronic device.
Step S32, determining an operation position and an operation action according to the operation instruction;
when the operation instruction is to click the screen of the electronic device, the operation instruction can determine a specific position on the clicked screen of the electronic device, namely, an operation position, and can also determine an action of a user on the screen of the electronic device, namely, the operation instruction is a specific instruction sent by the user to the electronic device;
when the operation instruction is that a finger of a user slides on a screen of the electronic device, the operation instruction can determine the starting position of the sliding, namely, the specific instruction sent by the user to the electronic device.
Step S33, detecting the motion track of the operation action on the screen;
and step S34, controlling a window opened on the screen to follow the motion trail based on the plurality of position points on the motion trail.
When windows of a plurality of applications are opened on a screen of an electronic device, because the windows of the opened applications are located at different positions on the screen of the electronic device, when the opened applications are processed in batch, the opened applications need to be collected at one position or adjacent positions.
Specifically, when the operation action is a motion trajectory, since the motion trajectory is composed of a plurality of position points, it is necessary to move the window opened on the screen to the start point of the motion trajectory, and as the number of position points in the motion trajectory increases, the moved windows sequentially move to the position points in the motion trajectory until the end point of the motion trajectory.
Further, controlling the window opened on the screen to approach to the position point specifically includes:
when detecting that the pressure value obtained at the operation position is within a first threshold range, moving the opened window within a first distance from the position point to approach the position point;
when it is detected that the pressure value obtained at the operating position is within a second threshold range, the open window within a second distance from the location point is moved closer.
Wherein the first threshold is smaller than the second threshold, and the first distance is smaller than the second distance. That is, the range of the window of the opened application program that needs to be moved is related to the pressure value received at the screen location point, the smaller the pressure value is, the closer the opened window to the location point is to the location point, the larger the pressure value is, the farther the opened window to the location point is to the location point, that is, when a certain point has a certain pressure on the screen, a circle is made with the point as the center of circle and the distance corresponding to the pressure value as the radius, and all the opened windows in the range of the circle are to be moved to the center of circle.
In addition, controlling the opened window on the screen to approach to the position point may specifically be:
when detecting that the pressure value obtained at the position point is within a third threshold range, moving a window opened on the screen to approach the position point at a first speed;
when it is detected that the pressure value obtained at the position point is within the fourth threshold range, the window opened on the mobile screen approaches the position point at the second speed.
Wherein the third threshold is less than the fourth threshold, and the first speed is less than the second speed. That is, the moving speed of the window of the opened application program which needs to be moved is related to the pressure value received at the position point, and the moving speed of the window of the opened application program becomes faster as the pressure value received at the position point increases. When a certain pressure is received at a position point, the window of the opened application program in a certain range of the position point is close to the position point by taking the position point as a center of a circle, the moving speed of the window is accelerated along with the increase of the pressure value, the larger the pressure value is, the faster the window is moved, the smaller the pressure value is, and the slower the window is moved.
In addition, in the process that the window moves to the position point, the current position point changes along with the movement of the finger of the user to the next position point, at the moment, at the next position point, each window moves to the next position point according to the mode, and so on until the last position point in the motion track, namely the termination point.
According to the window processing method disclosed by the embodiment, the operation position and the operation action are determined according to the operation instruction by receiving the operation instruction, and when the operation action is detected to meet the preset condition, the window opened on the screen is controlled to be close to the operation position. According to the scheme, the operation action is carried out at the operation position on the screen of the electronic equipment, so that the opened window on the electronic screen is close to a preset point, namely the operation position, the distance of each opened small window on the electronic screen is close to the operation position, and the small windows are concentrated near the operation position, so that a user can operate a plurality of different small windows conveniently, and the process that the small windows at different positions need to be moved greatly when being operated is reduced.
The present embodiment discloses a window processing system, a schematic structural diagram of which is shown in fig. 4, and the window processing system includes:
a receiving unit 41, a determining unit 42 connected to the receiving unit 41, and a control unit 43 connected to the determining unit 42.
The receiving unit 41 is configured to receive an operation instruction.
The operation instruction is sent by the user to the electronic device, and specifically, the operation instruction may be to click a screen of the electronic device, or to slide a finger of the user on the screen of the electronic device.
The determining unit 42 is used for determining an operation position and an operation action according to the operation instruction.
When the operation instruction is to click the screen of the electronic device, the operation instruction can determine a specific position on the clicked screen of the electronic device, namely, an operation position, and can also determine an action of a user on the screen of the electronic device, namely, the operation instruction is a specific instruction sent by the user to the electronic device;
when the operation instruction is that a finger of a user slides on a screen of the electronic device, the operation instruction can determine the starting position of the sliding, namely, the specific instruction sent by the user to the electronic device.
The control unit 43 is configured to control the window opened on the screen to approach to the operation position when it is detected that the operation action satisfies the predetermined condition.
When windows of a plurality of applications are opened on a screen of an electronic device, because the windows of the opened applications are located at different positions on the screen of the electronic device, when the opened applications are processed in batch, the opened applications need to be collected at one position or adjacent positions.
When the operation action meets a preset condition, controlling an open window of an opened application program on a screen of the electronic equipment to approach to an operation position; when the operation action does not satisfy the predetermined condition, the operation action may be a default operation action, and no operation is performed on the electronic device, or when the operation action does not satisfy the predetermined condition, it may be determined whether the operation action is an application opening action or an application deleting action, which is not specifically limited herein.
According to the window processing system disclosed by the embodiment, the receiving unit receives the operation instruction, the determining unit determines the operation position and the operation action according to the operation instruction, and the control unit controls the window opened on the screen to be close to the operation position when detecting that the operation action meets the preset condition. According to the scheme, the operation action is carried out at the operation position on the screen of the electronic equipment, so that the opened window on the electronic screen is close to a preset point, namely the operation position, the distance of each opened small window on the electronic screen is close to the operation position, and the small windows are concentrated near the operation position, so that a user can operate a plurality of different small windows conveniently, and the process that the small windows at different positions need to be moved greatly when being operated is reduced.
The present embodiment discloses a window processing system, a schematic structural diagram of which is shown in fig. 5, and the window processing system includes:
a receiving unit 51, a determining unit 52 connected to the receiving unit 51, a first detecting unit 53 connected to the determining unit 52, and a control unit 54 connected to the first detecting unit 53, wherein:
in addition to the same structure as the previous embodiment, the present embodiment is added with a first detection unit 53.
The first detecting unit 53 is configured to detect whether a pressure value obtained due to an operation at the operation position reaches a predetermined value, and if so, the operation meets a predetermined condition, and send a first control instruction to the control unit 54, so that the control unit 54 controls a window opened on the screen to approach the operation position.
Whether the operation action is clicking on the screen of the electronic device or sliding on the screen of the electronic device, the finger of the user is required to be in contact with the screen of the electronic device, and when the finger of the user is applied to the screen of the electronic device, the screen of the electronic device receives pressure from the finger of the user.
And detecting the pressure value, and when detecting that the pressure value reaches a preset value, indicating that the operation instruction meets a preset condition.
Further, the control unit 54 may include: a first mobile unit and a second mobile unit, wherein:
the first moving unit is used for moving the opened window within a first distance from the operation position to approach the operation position when detecting that the pressure value obtained at the operation position is within a first threshold range;
the second moving unit is configured to move the opened window within a second distance from the operating position closer when it is detected that the pressure value obtained at the operating position is within a second threshold range.
Wherein the first threshold is smaller than the second threshold, and the first distance is smaller than the second distance. That is, the range of the window of the opened application program that needs to be moved is related to the pressure value received at the screen operation position, the smaller the pressure value is, the closer the opened window to the operation position is to the operation position, the larger the pressure value is, the farther the opened window to the operation position is to the operation position, that is, when a certain point on the screen has a certain pressure, a circle is made with the point as the center of circle and the distance corresponding to the pressure value as the radius, and all the opened windows in the range of the circle are to be moved to the center of circle.
In addition, the control unit 54 may also be configured to include only: a third mobile unit and a fourth mobile unit, wherein:
the third moving unit is used for moving a window opened on the screen to approach to the operating position at a first speed when detecting that the pressure value obtained at the operating position is within a third threshold range;
the fourth moving unit is configured to move the window opened on the screen closer to the operating position at the second speed when it is detected that the pressure value obtained at the operating position is within a fourth threshold range.
Wherein the third threshold is less than the fourth threshold, and the first speed is less than the second speed. That is, the moving speed of the window of the opened application program which needs to be moved is related to the pressure value received at the operation position, and the moving speed of the window of the opened application program becomes faster as the pressure value received at the operation position increases. When a certain pressure is received at the operation position, the window of the opened application program in a certain range of the point approaches to the point by taking the operation position as a center of circle, the moving speed of the window is accelerated along with the increase of the pressure value, the larger the pressure value is, the faster the window moves, the smaller the pressure value is, and the slower the window moves.
The same applies to the case where the operation motion is a movement trajectory.
According to the window processing system disclosed by the embodiment, the receiving unit receives the operation instruction, the determining unit determines the operation position and the operation action according to the operation instruction, and the control unit controls the window opened on the screen to be close to the operation position when detecting that the operation action meets the preset condition. According to the scheme, the operation action is carried out at the operation position on the screen of the electronic equipment, so that the opened window on the electronic screen is close to a preset point, namely the operation position, the distance of each opened small window on the electronic screen is close to the operation position, and the small windows are concentrated near the operation position, so that a user can operate a plurality of different small windows conveniently, and the process that the small windows at different positions need to be moved greatly when being operated is reduced.
The present embodiment discloses a window processing system, a schematic structural diagram of which is shown in fig. 6, and the window processing system includes:
a receiving unit 61, a determining unit 62 connected to the receiving unit 61, a second detecting unit 63 connected to the determining unit 62, and a control unit 64 connected to the second detecting unit 63.
In addition to the same structure as the previous embodiment, a second detecting unit 63 is added to the present embodiment.
The second detecting unit 63 is configured to detect a motion trajectory of the operation action on the screen, and send a second control instruction to the control unit based on a plurality of position points on the motion trajectory, so that the control unit controls a window opened on the screen to follow the motion trajectory.
Specifically, when the operation action is a motion trajectory, since the motion trajectory is composed of a plurality of position points, it is necessary to move the window opened on the screen to the start point of the motion trajectory, and as the number of position points in the motion trajectory increases, the moved windows sequentially move to the position points in the motion trajectory until the end point of the motion trajectory.
Further, the control unit 64 may include: a first mobile unit and a second mobile unit, wherein:
the first moving unit is used for moving the opened window within a first distance from the operation position to approach the operation position when detecting that the pressure value obtained at the operation position is within a first threshold range;
the second moving unit is configured to move the opened window within a second distance from the operating position closer when it is detected that the pressure value obtained at the operating position is within a second threshold range.
Wherein the first threshold is smaller than the second threshold, and the first distance is smaller than the second distance. That is, the range of the window of the opened application program that needs to be moved is related to the pressure value received at the screen operation position, the smaller the pressure value is, the closer the opened window to the operation position is to the operation position, the larger the pressure value is, the farther the opened window to the operation position is to the operation position, that is, when a certain point on the screen has a certain pressure, a circle is made with the point as the center of circle and the distance corresponding to the pressure value as the radius, and all the opened windows in the range of the circle are to be moved to the center of circle.
In addition, the control unit 64 may also be a device including only: a third mobile unit and a fourth mobile unit, wherein:
the third moving unit is used for moving a window opened on the screen to approach the position point at a first speed when detecting that the pressure value obtained at the position point is within a third threshold range;
and the fourth moving unit is used for moving the window opened on the screen to approach the position point at the second speed when detecting that the pressure value obtained at the position point is within a fourth threshold range.
Wherein the third threshold is less than the fourth threshold, and the first speed is less than the second speed. That is, the moving speed of the window of the opened application program which needs to be moved is related to the pressure value received at the position point, and the moving speed of the window of the opened application program becomes faster as the pressure value received at the position point increases. When a certain pressure is received at a position point, the window of the opened application program in a certain range of the point is close to the point by taking the operation position as a center of circle, the moving speed of the window is accelerated along with the increase of the pressure value, the larger the pressure value is, the faster the window is moved, the smaller the pressure value is, and the slower the window is moved.
In addition, in the process that the window moves to the position point, the current position point changes along with the movement of the finger of the user to the next position point, at the moment, at the next position point, each window moves to the next position point according to the mode, and so on until the last position point in the motion track, namely the termination point.
According to the window processing system disclosed by the embodiment, the receiving unit receives the operation instruction, the determining unit determines the operation position and the operation action according to the operation instruction, and the control unit controls the window opened on the screen to be close to the operation position when detecting that the operation action meets the preset condition. According to the scheme, the operation action is carried out at the operation position on the screen of the electronic equipment, so that the opened window on the electronic screen is close to a preset point, namely the operation position, the distance of each opened small window on the electronic screen is close to the operation position, and the small windows are concentrated near the operation position, so that a user can operate a plurality of different small windows conveniently, and the process that the small windows at different positions need to be moved greatly when being operated is reduced.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (8)
1. A window processing method, comprising:
receiving an operation instruction, wherein the operation instruction comprises: the method comprises the steps of clicking a screen of the electronic equipment, or sliding a finger of a user on the screen of the electronic equipment;
determining an operation position and an operation action according to the operation instruction;
when the operation action is detected to meet a preset condition, controlling a plurality of opened windows at different positions on a screen to approach to the operation position and converging the windows to one position;
the detection operation action meets a preset condition, and specifically comprises the following steps: detecting a motion track of the operation action on the screen; and controlling the window opened on the screen to follow the motion track based on a plurality of position points on the motion track, specifically, controlling the window opened on the screen to move to the starting point of the motion track, and moving the window to move to the position points in the motion track in sequence along with the increase of the position points in the motion track until the ending point of the motion track.
2. The method according to claim 1, characterized in that the detection that the operation action satisfies a predetermined condition is in particular:
detecting whether a pressure value obtained due to an operation action at the operation position reaches a predetermined value;
and if so, the operation action meets a preset condition.
3. The method according to claim 2, wherein when it is detected that the operation action satisfies a predetermined condition, the method for controlling the window opened on the screen to approach to the operation position includes:
when detecting that the pressure value obtained at the operation position is within a first threshold value range, moving an opened window within a first distance from the operation position to approach the operation position;
when detecting that the pressure value obtained at the operation position is within a second threshold value range, moving the opened window within a second distance from the operation position to be close, wherein the first threshold value is smaller than the second threshold value, and the first distance is smaller than the second distance.
4. The method according to claim 2, wherein when it is detected that the operation action satisfies a predetermined condition, the method for controlling the window opened on the screen to approach to the operation position includes:
when detecting that the pressure value obtained at the operation position is within a third threshold value range, moving a window opened on the screen to approach the operation position at a first speed;
when detecting that the pressure value obtained at the operation position is within a fourth threshold value range, moving the window opened on the screen to approach the operation position at a second speed, wherein the third threshold value is smaller than the fourth threshold value, and the first speed is smaller than the second speed.
5. A window processing system, comprising: the device comprises a receiving unit, a determining unit connected with the receiving unit, a control unit connected with the determining unit, and a second detection unit respectively connected with the determining unit and the control unit, wherein:
the receiving unit is used for receiving an operation instruction, and the operation instruction comprises: the method comprises the steps of clicking a screen of the electronic equipment, or sliding a finger of a user on the screen of the electronic equipment;
the determining unit is used for determining an operation position and an operation action according to the operation instruction;
the second detection unit is used for detecting a motion track of the operation action on the screen, and sending a second control instruction to the control unit based on a plurality of position points on the motion track, so that the control unit controls a window opened on the screen to follow the motion track;
the control unit is used for controlling a plurality of opened windows at different positions on the screen to approach to the operation position and converge to one position when detecting that the operation action meets a preset condition, and specifically, controlling the opened windows on the screen to move to the starting point of the motion track, and moving the moved windows to the position points in the motion track in sequence along with the increase of the position points in the motion track until the ending point of the motion track.
6. The system of claim 5, further comprising: a first detection unit connected to the determination unit and the control unit, respectively, wherein:
the first detection unit is used for detecting whether a pressure value obtained by operation action at the operation position reaches a preset value, if so, the operation action meets a preset condition, and a first control instruction is sent to the control unit.
7. The system of claim 6, wherein the control unit comprises: a first mobile unit and a second mobile unit, wherein:
the first moving unit is used for moving an opened window within a first distance from the operating position to approach the operating position when detecting that the pressure value obtained at the operating position is within a first threshold range;
the second moving unit is used for moving the opened window within a second distance from the operation position to be close to the operation position when detecting that the pressure value obtained at the operation position is within a second threshold range, wherein the first threshold is smaller than a second threshold, and the first distance is smaller than the second distance.
8. The system of claim 6, wherein the control unit comprises: a third mobile unit and a fourth mobile unit, wherein:
the third moving unit is used for moving the window opened on the screen to approach to the operating position at a first speed when detecting that the pressure value obtained at the operating position is within a third threshold range;
the fourth moving unit is configured to, when it is detected that the pressure value obtained at the operation position is within a fourth threshold range, move the window opened on the screen to approach the operation position at the second speed, where the third threshold is smaller than the fourth threshold, and the first speed is smaller than the second speed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510486625.8A CN105117124B (en) | 2015-08-10 | 2015-08-10 | Window processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510486625.8A CN105117124B (en) | 2015-08-10 | 2015-08-10 | Window processing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105117124A CN105117124A (en) | 2015-12-02 |
CN105117124B true CN105117124B (en) | 2021-04-13 |
Family
ID=54665131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510486625.8A Active CN105117124B (en) | 2015-08-10 | 2015-08-10 | Window processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105117124B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180104224A (en) * | 2017-03-09 | 2018-09-20 | 삼성전자주식회사 | Screen controlling method and electronic device supporting the same |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102375588A (en) * | 2010-08-19 | 2012-03-14 | 上海博泰悦臻电子设备制造有限公司 | Method and device for controlling equipment operation through gesture on screen of electronic equipment |
CN103218117A (en) * | 2013-03-18 | 2013-07-24 | 惠州Tcl移动通信有限公司 | Method and electronic equipment for realizing screen display interface translation |
CN103324392A (en) * | 2013-06-20 | 2013-09-25 | 广东欧珀移动通信有限公司 | Method for adjusting graphical controls according to handheld position and touch mobile terminal |
CN103440089A (en) * | 2013-06-25 | 2013-12-11 | 百度在线网络技术(北京)有限公司 | Interface adjusting method for user equipment and user equipment |
CN104252303A (en) * | 2013-06-27 | 2014-12-31 | 福建省辉锐材料科技有限公司 | Method and system for operating games based on pressure sensitive information |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5141984B2 (en) * | 2009-05-11 | 2013-02-13 | ソニー株式会社 | Information processing apparatus and method |
WO2012012262A1 (en) * | 2010-07-19 | 2012-01-26 | Google Inc. | Predictive hover triggering |
CN102810039A (en) * | 2011-05-31 | 2012-12-05 | 中兴通讯股份有限公司 | Left or right hand adapting virtual keyboard display method and terminal |
CN103019604B (en) * | 2012-12-24 | 2016-08-03 | 东莞宇龙通信科技有限公司 | Terminal and terminal control method |
-
2015
- 2015-08-10 CN CN201510486625.8A patent/CN105117124B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102375588A (en) * | 2010-08-19 | 2012-03-14 | 上海博泰悦臻电子设备制造有限公司 | Method and device for controlling equipment operation through gesture on screen of electronic equipment |
CN103218117A (en) * | 2013-03-18 | 2013-07-24 | 惠州Tcl移动通信有限公司 | Method and electronic equipment for realizing screen display interface translation |
CN103324392A (en) * | 2013-06-20 | 2013-09-25 | 广东欧珀移动通信有限公司 | Method for adjusting graphical controls according to handheld position and touch mobile terminal |
CN103440089A (en) * | 2013-06-25 | 2013-12-11 | 百度在线网络技术(北京)有限公司 | Interface adjusting method for user equipment and user equipment |
CN104252303A (en) * | 2013-06-27 | 2014-12-31 | 福建省辉锐材料科技有限公司 | Method and system for operating games based on pressure sensitive information |
Also Published As
Publication number | Publication date |
---|---|
CN105117124A (en) | 2015-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2741189B1 (en) | Electronic device and method for controlling zooming of display object | |
US20140068518A1 (en) | Method and device for switching application program of touch screen terminal | |
US20170123590A1 (en) | Touch Point Recognition Method and Apparatus | |
US20140368436A1 (en) | Classification of User Input | |
CN104765524A (en) | Application switching method and device | |
CN104461287B (en) | A kind of processing method of levitated object, device and terminal | |
WO2017032016A1 (en) | Interface operating method and electronic terminal | |
WO2015131675A1 (en) | Compensation method for broken slide paths, electronic device and computer storage medium | |
WO2012003996A1 (en) | Method for determining a touch event and touch sensitive device | |
CN105487809A (en) | Terminal control method and device | |
US12115439B2 (en) | System and method for using fingerprints to determine commands in a video game | |
CN105718173B (en) | Terminal control method, terminal control device and terminal | |
CN105843547A (en) | Page sliding method and device | |
CN103473014A (en) | Multitask switching method and terminal | |
CN105426091B (en) | Method and terminal for controlling black screen gesture processing | |
CN105116999A (en) | Control method for smart watch and smart watch | |
CN105117124B (en) | Window processing method and system | |
CN105468133A (en) | Touch processing method and device | |
CN104407774A (en) | Screen switching equipment and method as well as mobile terminal | |
CN105446629A (en) | Content pane switching method, device and terminal | |
CN111857366B (en) | Method and device for determining double-click action of earphone and earphone | |
CN104866210B (en) | A kind of touch screen control method, device and electronic equipment | |
CN112181251A (en) | Screen operation method and device, oscilloscope and storage medium | |
CN103377000A (en) | Folder switching method and device | |
CN103176723A (en) | Processing method and processing device for touch response |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |