CN106502528A - The control method of display window, device and terminal unit - Google Patents

The control method of display window, device and terminal unit Download PDF

Info

Publication number
CN106502528A
CN106502528A CN201610866352.4A CN201610866352A CN106502528A CN 106502528 A CN106502528 A CN 106502528A CN 201610866352 A CN201610866352 A CN 201610866352A CN 106502528 A CN106502528 A CN 106502528A
Authority
CN
China
Prior art keywords
display window
rotation
rotating
target 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
CN201610866352.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.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen Co 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 Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201610866352.4A priority Critical patent/CN106502528A/en
Publication of CN106502528A publication Critical patent/CN106502528A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

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

Abstract

Present invention is disclosed a kind of control method of display window, device and terminal unit, the method comprising the steps of:Receive the rotation instruction for target display window;According to the rotation instruction rotation target display window.A kind of control method of display window that the embodiment of the present invention is provided, spinfunction be increased for display window, user is allowd by rotating instruction rotational display window, display window is adjusted to towards different directions, multiple users are allowd in the different directions operation of same terminal unit or browses different display windows, the convenience of operation is improve, Consumer's Experience is greatly improved.

Description

Display window adjusting method and device and terminal equipment
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a method and an apparatus for adjusting a display window, and a terminal device.
Background
In the terminal device, a plurality of applications can be usually started at the same time, each application corresponds to one display window, the plurality of display windows can be arranged on the screen at the same time for display, meanwhile, the upper corners of the display windows usually have function icons of maximization, minimization, closing and the like, and a user can display, hide or close the corresponding display windows by clicking or touching the function icons.
Because the display windows are mutually independent and can be respectively and independently operated, the multi-window display mode provides possibility for at least two users to simultaneously use the same terminal equipment. However, in the prior art, the plurality of display windows all face the same direction, and a plurality of users must browse or operate their respective display windows on the same side of the terminal, which causes inconvenience in operation and poor user experience.
Disclosure of Invention
The invention mainly aims to provide a method and a device for adjusting a display window and a terminal device, and aims to solve the technical problem that multiple persons use the same terminal device at the same time and are inconvenient to operate.
To achieve the above object, the present invention provides a method for adjusting a display window, the method comprising the steps of:
receiving a rotation instruction aiming at a target display window;
and rotating the target display window according to the rotation instruction.
Further, the rotation instruction is an operation instruction for a rotation function icon on the target display window.
Further, the step of rotating the target display window according to the rotation instruction comprises:
and rotating the target display window by a preset angle along a preset direction according to the operation instruction of the rotating function icon.
Further, the rotating function icon includes at least two portions for operation, each portion is provided with a corresponding rotating direction, and the step of rotating the target display window according to the rotating instruction includes:
determining a rotation direction according to the operated part of the rotation function icon;
and rotating the target display window by a preset angle along the rotating direction.
Further, the rotating function icon includes at least two parts for operation, each part is provided with a corresponding rotating direction and a corresponding rotating angle, and the step of rotating the target display window according to the rotating instruction includes:
determining a rotation direction and a rotation angle according to the operated part of the rotation function icon;
and rotating the target display window according to the rotating direction and the rotating angle.
Further, the rotation instruction is an operation instruction for the target display window.
Further, the operation instruction is a sliding operation on the target display window, and the step of rotating the target display window according to the rotation instruction includes:
determining a rotation direction according to the sliding direction of the sliding operation;
and rotating the target display window by a preset angle along the rotating direction.
Further, the operation instruction is an arc sliding operation on the target display window, and the step of rotating the target display window according to the rotation instruction comprises:
determining a rotation direction according to the sliding direction of the arc sliding operation, and determining a rotation angle according to a central angle of an arc track of the arc sliding operation;
and rotating the target display window according to the rotating direction and the rotating angle.
Further, the operation instruction is a long-press operation on the target display window, and the step of rotating the target display window according to the rotation instruction includes:
rotating the target display window by a preset angle along a preset direction according to the long pressing operation on the target display window; or,
and determining a rotation angle according to the pressing force degree of the long-press operation, and rotating the target display window in a preset direction by the rotation angle.
Further, the rotation instruction includes a first instruction and a second instruction which are received successively, and the step of rotating the first display window according to the rotation instruction includes:
selecting the target display window according to the first instruction;
determining a rotation direction and a rotation angle according to the second instruction;
and rotating the target display window according to the determined rotating direction and the determined rotating angle.
Further, the second instruction is a sliding operation on the screen, and the step of determining the rotation direction and the rotation angle according to the second instruction includes:
and determining a rotation direction according to the sliding direction of the sliding operation, and determining the rotation angle as a preset angle.
Further, the second instruction is an arc sliding operation on the screen, and the step of determining the rotation direction and the rotation angle according to the second instruction comprises:
and determining a rotation direction according to the sliding direction of the arc sliding operation, and determining a rotation angle according to the central angle of the arc track of the arc sliding operation.
Further, the second instruction is a long press operation on the screen, and the step of determining the rotation direction and the rotation angle according to the second instruction includes:
determining the rotation direction as a preset direction, and determining the rotation angle as a preset angle; or,
and determining a rotation angle according to the pressing force degree of the long-pressing operation, and determining that the rotation direction is a preset direction.
Further, the second instruction is a shaking operation on the terminal device, and the step of determining the rotation direction and the rotation angle according to the second instruction includes:
determining a rotation direction according to the shaking direction of the shaking operation; and determining the rotation angle as a preset angle, or determining the rotation angle according to the inclination angle of the terminal equipment in the shaking operation.
Further, the second instruction is a voice command, a volley gesture action or a key operation.
Further, the step of rotating the target display window according to the rotation instruction comprises:
and rotating the target display window by taking the preset position of the target display window or the screen as a center.
Further, the step of rotating the target display window according to the rotation instruction further comprises:
and adjusting the size and/or position of the target display window and/or other display windows according to the rotated state of the target display window.
The invention also provides a device for adjusting the display window, which comprises:
the receiving module is used for receiving a rotation instruction aiming at the target display window;
and the rotating module is used for rotating the target display window according to the rotating instruction.
Further, the rotation instruction is an operation instruction for a rotation function icon on the target display window.
Further, the rotation module is configured to: and rotating the target display window by a preset angle along a preset direction according to the operation instruction of the rotating function icon.
Further, the rotation function icon includes at least two portions for operation, each portion is provided with a corresponding rotation direction, and the rotation module is configured to: determining a rotation direction according to the operated part of the rotation function icon; and rotating the target display window by a preset angle along the rotating direction.
Further, the rotation function icon includes at least two portions for operation, each portion is provided with a corresponding rotation direction and a corresponding rotation angle, and the rotation module is configured to: and determining a rotation direction and a rotation angle according to the operated part of the rotation function icon, and rotating the target display window according to the rotation direction and the rotation angle.
Further, the rotation instruction is an operation instruction for the target display window.
Further, the operation instruction is a sliding operation on the target display window, and the rotation module is configured to: and determining a rotation direction according to the sliding direction of the sliding operation, and rotating the target display window by a preset angle along the rotation direction.
Further, the operation instruction is an arc sliding operation on the target display window, and the rotation module is configured to: determining a rotation direction according to the sliding direction of the arc sliding operation, and determining a rotation angle according to a central angle of an arc track of the arc sliding operation; and rotating the target display window according to the rotating direction and the rotating angle.
Further, the operation instruction is a long-press operation on the target display window, and the rotation module is configured to:
rotating the target display window by a preset angle along a preset direction according to the long pressing operation on the target display window; or,
and determining a rotation angle according to the pressing force degree of the long-press operation, and rotating the target display window in a preset direction by the rotation angle.
Further, the rotation instruction includes a first instruction and a second instruction received successively, and the rotation module is configured to: and selecting the target display window according to the first instruction, determining a rotation direction and a rotation angle according to the second instruction, and rotating the target display window according to the determined rotation direction and the determined rotation angle.
Further, the second instruction is a sliding operation on the screen, and the rotation module is configured to: and determining a rotation direction according to the sliding direction of the sliding operation, and determining the rotation angle as a preset angle.
Further, the second instruction is an arc sliding operation on the screen, and the rotation module is configured to: and determining a rotation direction according to the sliding direction of the arc sliding operation, and determining a rotation angle according to the central angle of the arc track of the arc sliding operation.
Further, the second instruction is a long press operation on the screen, and the rotation module is configured to:
determining the rotation direction as a preset direction, and determining the rotation angle as a preset angle; or,
and determining a rotation angle according to the pressing force degree of the long-pressing operation, and determining that the rotation direction is a preset direction.
Further, the second instruction is a shaking operation on the terminal device, and the rotation module is configured to:
determining a rotation direction according to the shaking direction of the shaking operation; and determining the rotation angle as a preset angle, or determining the rotation angle according to the inclination angle of the terminal equipment in the shaking operation.
Further, the second instruction is a voice command, a volley gesture action or a key operation.
Further, the rotation module is configured to: and rotating the target display window by taking the preset position of the target display window or the screen as a center.
Further, the apparatus further comprises an adjustment module configured to:
and adjusting the size and/or position of the target display window and/or other display windows according to the rotated state of the target display window to prevent abnormal display.
The invention also proposes a terminal device, comprising:
a touch-sensitive display;
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the aforementioned method of adjusting a display window.
According to the adjusting method of the display window, the rotating function is added to the display window, so that a user can rotate the display window through a rotating instruction and adjust the display window to face different directions, a plurality of users can operate or browse different display windows in different directions of the same terminal device, the operation convenience is improved, and the user experience is greatly improved.
Drawings
Fig. 1 is a flowchart of an adjustment method of a display window according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a rotating function icon in an embodiment of the present invention;
FIG. 3 is another diagram of a rotating function icon in accordance with an embodiment of the present invention;
FIG. 4a is a schematic diagram of an embodiment of the present invention before adjustment of the display window;
FIG. 4b is a schematic view of the display window of FIG. 4a after adjustment;
FIG. 5a is a schematic diagram of another embodiment of the present invention showing a display window before adjustment;
FIG. 5b is a schematic view of the display window of FIG. 5a after adjustment;
FIG. 6 is a flowchart of a method for adjusting a display window according to a second embodiment of the present invention;
FIG. 7 is a block diagram of an adjusting apparatus for a display window according to a third embodiment of the present invention;
fig. 8 is a block diagram of an adjusting apparatus for a display window according to a fourth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be appreciated by those skilled in the art, "terminal" as used herein includes both devices that are wireless signal receivers, devices that have only wireless signal receivers without transmit capability, and devices that include receive and transmit hardware, devices that have receive and transmit hardware capable of performing two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, a "terminal Device" may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, or a smart tv, a set-top box, etc.
Example one
Referring to fig. 1, a method for adjusting a display window according to a first embodiment of the present invention is provided, the method including the steps of:
and S11, receiving a rotation instruction aiming at the target display window.
And S12, rotating the target display window according to the rotation instruction.
In the embodiment of the invention, one display window can be displayed on the screen of the terminal device, and at least two display windows can also be displayed. Only one display window may be rotated at a time, or at least two display windows may be rotated at a time.
In one embodiment, a rotation function icon is provided on the display window, and the user can operate the rotation function icon to rotate the display window. At this time, the rotation instruction is an operation instruction for the rotation function icon on the target display window, and when the user operates the rotation function icon on a certain display window, the terminal device determines that the display window is the target display window and receives the rotation instruction for the target display window. The operation instruction for the rotation function icon includes any one or a combination of at least two of touch, click (single click, double click, etc.), long press (continuous press for a preset time), and the like for the rotation function icon. The rotation function icon can be arranged at any position of the target display window, such as the upper left corner, the upper right corner and the like. The rotation function icon may be placed at the same position as the original function icons of the minimized function icon, the closed function icon, the maximized function icon, and the like of the display window, or may be placed at a single position.
Optionally, the terminal device rotates the target display window by a preset angle in a preset direction according to an operation instruction for the rotation function icon. For example, the terminal device rotates the target display window by a preset angle in a preset direction every time the rotation function icon is operated. The preset direction in the embodiment of the present invention is a preset rotation direction, such as a clockwise (or right) direction or a counterclockwise (or left) direction; the preset angle, i.e. the preset rotation angle, according to the embodiment of the present invention may be any angle between 0 and 360 degrees, such as 90 degrees, 180 degrees, 270 degrees, and the like, in theory. For example, each time the user clicks on a rotate function icon on the display window, the display window rotates 90 degrees clockwise.
Optionally, the rotating function icon includes at least two portions for operation, each portion is provided with a corresponding rotating direction, when the rotating function icon of the target display window is operated, the terminal device determines the rotating direction according to the portion where the rotating function icon is operated, and then rotates the target display window by a preset angle along the determined rotating direction. For example, as shown in fig. 2, when the user clicks the left arrow of the spin function icon, the target display window is rotated 90 degrees counterclockwise, and when the user clicks the right arrow of the spin function icon, the target display window is rotated 90 degrees clockwise.
Optionally, the rotating function icon includes at least two portions for operation, each portion is provided with a corresponding rotating direction and rotating angle, when the rotating function icon of the target display window is operated, the terminal device determines the rotating direction and the rotating angle according to the portion of the rotating function icon operated, and then rotates the target display window according to the determined rotating direction and rotating angle. For example, as shown in FIG. 3, when the user clicks the left arrow of the spin function icon, the target display window is rotated 90 degrees counterclockwise, and when the user clicks the lower arrow of the spin function icon, the target display window is rotated 180 degrees counterclockwise or clockwise.
In another embodiment, the rotation instruction is an operation instruction for the target display window, and when the user performs a preset operation on one or at least two display windows, the terminal device determines the operated display window as the target display window and receives the rotation instruction for the target display window. The operation instruction for the target display window comprises any one or a combination of at least two of sliding operation, clicking operation, long pressing operation and the like, and the sliding operation can be linear sliding operation or arc sliding operation.
Optionally, when the operation instruction is a sliding operation on the target display window, the terminal device determines a rotation direction according to a sliding direction of the sliding operation, and then rotates the target display window by a preset angle along the determined rotation direction, where the determined rotation direction may be the same as or opposite to the sliding direction. For example, when the user slides straight to the left or arcs counterclockwise on the target display window, the target display window is rotated 90 degrees counterclockwise; when the user slides straight to the right or arcs clockwise on the target display window, the target display window rotates 90 degrees clockwise.
Optionally, when the operation instruction is an arc sliding operation on the target display window, the terminal device determines a rotation direction according to the sliding direction of the arc sliding operation, determines a rotation angle according to a central angle of an arc track of the arc sliding operation, and then rotates the target display window according to the determined rotation direction and rotation angle. The determined rotation direction may be the same as or opposite to the sliding direction, and the central angle of the arc track of the arc sliding operation may be directly determined as the rotation angle, or the rotation angle may be determined according to the angle range in which the central angle is located, such as: the rotation angle is determined to be 90 degrees when the central angle falls within the range of (0, 90), 180 degrees when the central angle falls within the range of (90, 180), 270 degrees when the central angle falls within the range of (180, 270), for example, the target display window is rotated 180 degrees counterclockwise when the user slides 100 degrees counterclockwise on the target display window, and the target display window is rotated 90 degrees clockwise when the user slides 70 degrees clockwise on the target display window.
Optionally, when the operation instruction is a click operation on the target display window, the target display window is rotated by a preset angle in a preset direction every time the target display window is clicked. The clicking operation can be single clicking, double clicking and the like, and the clicking times can be set according to needs. When the user clicks, in order to avoid misoperation, the user preferably clicks a preset position of the target display window to trigger a rotation instruction, and the preset position such as the upper left corner, the upper right corner, the lower left corner, the lower right corner and the like of the display window can be set as required. For example, each time the user double-clicks (i.e., clicks twice consecutively within a preset time) the target display window, the target display window is rotated by 90 degrees in a clockwise direction.
Optionally, when the operation instruction is a long-press operation on the target display window, the terminal device rotates the target display window by a preset angle in the preset direction according to the long-press operation on the target display window, for example, the terminal device rotates the target display window by the preset angle in the preset direction every time the target display window is pressed for a long time. The long press in the embodiment of the invention is the same as the long press in the prior art, namely the long press lasts for a preset time. In order to avoid misoperation, the rotation instruction is preferably triggered when the preset position of the target display window is pressed for a long time, and the preset position such as the upper left corner, the upper right corner, the lower left corner, the lower right corner and the like of the display window can be set as required. For example, whenever the user presses the upper left corner of the target display window a long time, the target display window rotates 90 degrees clockwise.
Optionally, when the operation instruction is a long-press operation on the target display window, the terminal device determines a rotation angle according to the pressing force degree of the long-press operation, and rotates the target display window by the determined rotation angle in a preset direction. The corresponding relation between the pressing force degree range and the rotating angle can be preset, the terminal equipment obtains the pressing force degree, determines the pressing force degree range in which the pressing force degree falls, and then finds out the corresponding rotating angle. In order to avoid misoperation, the rotation instruction is preferably triggered when the preset position of the target display window is pressed for a long time, and the preset position such as the upper left corner, the upper right corner, the lower left corner, the lower right corner and the like of the display window can be set as required.
In another embodiment, the rotation instruction includes a first instruction and a second instruction received successively, the terminal device selects the target display window according to the first instruction, determines a rotation direction and a rotation angle according to the second instruction, and rotates the target display window according to the determined rotation direction and the determined rotation angle. The first instruction may be a preset position or any position of a touch, click, long-time pressing display window, a sliding operation or a preset combined action on a screen, an operation of pressing a specific key or key combination, a designated volition gesture action, an operation of shaking the terminal device, a preset voice command, a combination of at least two of the foregoing operation actions, and the like. The user can select at least two display windows as target display windows at one time according to the first instruction, and batch rotation operation is achieved.
The second instruction comprises any one or combination of at least two of sliding operation on the screen, clicking operation on the screen, long-time pressing operation on the screen, shaking operation on the terminal equipment, voice command, volley gesture action, key operation and the like, and the sliding operation can be linear sliding operation or arc sliding operation.
Optionally, when the second instruction is a sliding operation on the screen, the terminal device determines a rotation direction according to the sliding direction of the sliding operation, and determines the rotation angle as a preset angle, where the determined rotation direction may be the same as or opposite to the sliding direction. For example, when the user slides straight to the left or arcs counterclockwise on the screen, the target display window rotates 90 degrees counterclockwise; when the user slides straight to the right or arcs clockwise on the screen, the target display window rotates 90 degrees clockwise.
Optionally, when the second instruction is an arc sliding operation on the screen, the terminal device determines a rotation direction according to the sliding direction of the arc sliding operation, and determines a rotation angle according to a central angle of an arc track of the arc sliding operation. The determined rotation direction may be the same as or opposite to the sliding direction, and the central angle of the arc track of the arc sliding operation may be directly determined as the rotation angle, or the rotation angle may be determined according to the angle range in which the central angle is located, such as: the rotation angle is determined to be 90 degrees when the central angle falls within the range of (0, 90), 180 degrees when the central angle falls within the range of (90, 180), 270 degrees when the central angle falls within the range of (180, 270), for example, the target display window is rotated 180 degrees counterclockwise when the user slides 100 degrees counterclockwise on the screen, and the target display window is rotated 90 degrees clockwise when the user slides 70 degrees clockwise on the screen.
Optionally, when the second instruction is a click operation on the screen, determining that the rotation direction is a preset direction, and determining that the rotation angle is a preset angle. The clicking operation can be single clicking, double clicking and the like, and the clicking times can be set according to needs. For example, each time the user clicks on the screen, the target display window is rotated 90 degrees clockwise.
Optionally, when the second instruction is a long press operation on the screen, the rotation direction is determined to be a preset direction, and the rotation angle is determined to be a preset angle. For example, every time the user presses the screen for a long time, the target display window is rotated 90 degrees clockwise.
Optionally, when the second instruction is a long-press operation on the screen, the terminal device determines the rotation angle according to the pressing force degree of the long-press operation, and determines the rotation direction to be the preset direction. The corresponding relation between the pressing force degree range and the rotating angle can be preset, the terminal equipment obtains the pressing force degree, determines the pressing force degree range in which the pressing force degree falls, and then finds out the corresponding rotating angle.
In order to avoid the misoperation, the operation of sliding, clicking, long pressing, etc. of the second instruction is preferably an operation on a preset position of the screen, such as a blank area on the screen or an area where the selected target display window is located.
Optionally, when the second instruction is a shaking operation on the terminal device, the terminal device determines a rotation direction according to the shaking direction of the shaking operation; and then determining the rotation angle as a preset angle, or determining the rotation angle according to the inclination angle of the terminal equipment in the shaking operation. The shaking operation comprises shaking, inclining, shaking the terminal equipment and the like. Wherein, the rotation direction of confirming can be unanimous with the direction of rocking or opposite, can directly confirm terminal equipment's inclination as the rotation angle, perhaps, confirms the rotation angle according to the angle range that terminal equipment's inclination belongs to, if: the rotation angle is determined to be 90 degrees when the tilt angle of the terminal device falls within the range of (0, 90), and 180 degrees when the tilt angle of the terminal device falls within the range of (90, 180), for example, the target display window is rotated 180 degrees counterclockwise (or clockwise) when the user tilts the terminal device 100 degrees to the left, and the target display window is rotated 90 degrees clockwise when the user tilts the terminal device 70 degrees to the right.
In addition, the second instruction can also be a voice command, a volley gesture action, a key operation and the like. For example: when a voice command of a user, namely 'turning left by 90 degrees', is received, rotating the target display window by 90 degrees anticlockwise; when the volley gesture action of the user scratching to the right is captured, rotating the target display window by 90 degrees clockwise; when it is detected that the lower end of the specific key is pressed, the target display window is rotated clockwise by 90 degrees.
In the embodiment of the invention, when the target display window is rotated, the target display window is rotated by taking the preset position of the target display window or the screen as the center. The preset position of the target display window is, for example, the geometric center, the upper left corner, the upper right corner, the lower left corner, the lower right corner, the endpoint or the midpoint on the edge inside the screen, and the like of the target display window, and the preset position of the screen is, for example, the geometric center of the screen, any point in the middle blank area, and the like.
In the embodiment of the invention, a user can rotate the display window to a required state according to the requirement. Taking the rotation instruction as an example of the sliding operation on the display window, the display window can be adjusted through the rotation instruction as follows:
as shown in fig. 4a, two display windows a and B are arranged on the screen of the terminal device, the two display windows are both facing the same direction, and when the user slides clockwise arc on the display window a by about 180 degrees (as shown by an arrow in the figure), as shown in fig. 4B, the display window a rotates clockwise (or counterclockwise) by 180 degrees, so that the two display windows respectively face two opposite directions, and at this time, the two users can respectively view or operate the display windows a and B at two ends of the terminal device.
As shown in fig. 5a, four display windows A, B, C, D are arranged on the screen of the terminal device, the four display windows all face the same direction, when the user slides clockwise arc on the display window a by about 180 degrees, slides right on the display window B, and slides left on the display window D (as shown by arrows in the figure), as shown in fig. 5B, the display window a rotates clockwise (or counterclockwise) by 180 degrees, the display window B rotates counterclockwise by 90 degrees, and the display window D rotates clockwise by 90 degrees, so that the four display windows face the four directions, at which time the four users can respectively view or operate the display window A, B, C, D on four sides of the terminal device.
According to the adjusting method of the display window, the rotating function is added to the display window, so that a user can rotate the display window through the rotating instruction and adjust the display window to face different directions, a plurality of users can operate or browse different display windows in different directions of the same terminal device, the operation convenience is improved, and the user experience is greatly improved.
Example two
Referring to fig. 6, a method for adjusting a display window according to a second embodiment of the present invention is proposed, the method including the steps of:
and S21, receiving a rotation instruction aiming at the target display window.
And S22, rotating the target display window according to the rotation instruction.
And S23, adjusting the size and/or position of the target display window and/or other display windows according to the rotated state of the target display window.
This embodiment adds step S23 to the first embodiment, and performs adaptive adjustment on the display window to prevent display abnormality, such as preventing the target display window from completely or partially crossing the boundary of the screen, or preventing the target display window from colliding with other display windows, covering adjacent display windows, etc.
When the target display window is rotated, the target display window may completely or partially cross the boundary of the screen or cover other adjacent display windows after the target display window is rotated. In this case, in the first embodiment, the user is required to manually move the target display window and drag it back into the screen, or manually move each display window to avoid the display window being covered. In this embodiment, the terminal device adaptively adjusts the size and/or position of the target display window and/or other display windows, so that the target display window is completely displayed in the screen and does not conflict with other display windows, and the display windows are compactly arranged, so that each display window is normally displayed.
For example, when the target display window rotates for a portion beyond the screen boundary, the screen boundary is reset to the boundary of the target display window, the target display window is regenerated, when the target display window collides with the adjacent display window, the adjacent display window is pushed to the blank area of the screen, and when the blank area is not enough to accommodate the adjacent display window, the size of the adjacent display window and/or the target display window is reduced.
Therefore, display abnormity is prevented through self-adaptive adjustment of the display window, the intelligent level of the terminal equipment is improved, and user experience is improved.
EXAMPLE III
Referring to fig. 7, a device for adjusting a display window according to a third embodiment of the present invention is provided, where the device is applied to a terminal device, and the device includes a receiving module and a rotating module, where:
a receiving module: for receiving a rotation instruction for the target display window.
A rotating module: for rotating the target display window according to the rotation instruction.
In one embodiment, the rotation instruction is an operation instruction for a rotation function icon on the target display window. And when the receiving module receives an operation instruction of the rotating function icon on the target display window, the receiving module is regarded as receiving the rotating instruction.
Optionally, the rotation module rotates the target display window by a preset angle along a preset direction according to an operation instruction for rotating the function icon. For example, the rotation module rotates the target display window by a preset angle in a preset direction every time the rotation function icon is operated.
Optionally, the rotation function icon includes at least two parts for operation, each part is provided with a corresponding rotation direction, and the rotation module determines the rotation direction according to the part of the rotation function icon operated; and rotating the target display window by a preset angle towards the determined rotating direction. Or the rotating function icon comprises at least two parts for operation, each part is provided with a corresponding rotating direction and a corresponding rotating angle, the rotating module determines the rotating direction and the rotating angle according to the operated part of the rotating function icon, and the target display window is rotated according to the determined rotating direction and the determined rotating angle.
In another embodiment, the rotation instruction is an operation instruction for the target display window. When the receiving module receives an operation instruction for the target display window, the receiving module is regarded as receiving a rotation instruction.
Optionally, when the received operation instruction is a sliding operation on the target display window, the rotation module determines a rotation direction according to the sliding direction of the sliding operation, and rotates the target display window by a preset angle along the determined rotation direction.
Optionally, when the received operation instruction is an arc sliding operation on the target display window, the rotation module determines a rotation direction according to the sliding direction of the arc sliding operation, and determines a rotation angle according to a central angle of an arc track of the arc sliding operation; and rotating the target display window according to the determined rotating direction and the determined rotating angle.
Optionally, when the received operation instruction is a long-press operation on the target display window, the rotating module rotates the target display window by a preset angle in the preset direction according to the long-press operation on the target display window, for example, the rotating module rotates the target display window by the preset angle in the preset direction every time the target display window is pressed for a long time; or the rotating module determines a rotating angle according to the pressing force degree of the long-press operation and rotates the target display window in the determined rotating angle to the preset direction.
In another embodiment, the rotation instruction includes a first instruction and a second instruction which are received successively, the rotation module selects the target display window according to the first instruction, determines a rotation direction and a rotation angle according to the second instruction, and rotates the target display window according to the determined rotation direction and the determined rotation angle.
Optionally, when the second instruction is a sliding operation on the screen, the rotation module determines a rotation direction according to the sliding direction of the sliding operation, and determines that the rotation angle is a preset angle.
Optionally, when the second instruction is an arc sliding operation on the screen, the rotation module determines the rotation direction according to the sliding direction of the arc sliding operation, and determines the rotation angle according to the central angle of the arc track of the arc sliding operation.
Optionally, when the second instruction is a long press operation on the screen, the rotation module determines that the rotation direction is a preset direction and determines that the rotation angle is a preset angle; or, the rotation angle is determined according to the pressing force degree of the long-press operation, and the rotation direction is determined to be the preset direction.
Optionally, when the second instruction is a shaking operation on the terminal device, the rotation module determines a rotation direction according to the shaking direction of the shaking operation; and determining the rotation angle as a preset angle, or determining the rotation angle according to the inclination angle of the terminal equipment in the shaking operation.
In addition, the second instruction can also be a voice command, a volley gesture action or a key operation and the like.
In the embodiment of the invention, when the rotating module rotates the target display window, the target display window can be rotated by taking the preset position of the target display window or the screen as the center.
The adjusting device for the display window, provided by the embodiment of the invention, has the advantages that the rotating function is added to the display window, so that a user can rotate the display window through a rotating instruction, and adjust the display window to face different directions, so that a plurality of users can operate or browse different display windows in different directions of the same terminal device, the operation convenience is improved, and the user experience is greatly improved.
Example four
Referring to fig. 8, a device for adjusting a display window according to a fourth embodiment of the present invention is provided, where an adjusting module is added to the first embodiment, and the adjusting module is configured to: according to the rotated state of the target display window, the size and/or position of the target display window and/or other display windows are adjusted to prevent display abnormality, such as preventing the target display window from completely or partially crossing the boundary of the screen, or preventing the target display window from colliding with other display windows, covering adjacent display windows, and the like.
For example, when the target display window rotates and a part of the target display window crosses the screen boundary, the adjusting module resets the screen boundary to the boundary of the target display window, regenerates the target display window, pushes the adjacent display window to a blank area of the screen when the adjacent display window conflicts with the adjacent display window, and reduces the size of the adjacent display window and/or the target display window when the blank area is not enough to accommodate the adjacent display window.
Therefore, display abnormity is prevented through self-adaptive adjustment of the display window, the intelligent level of the terminal equipment is improved, and user experience is improved.
It should be noted that: the embodiments of the adjusting device and the adjusting method for a display window provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments, and technical features in the method embodiments are correspondingly applicable in the device embodiments, and are not described herein again.
The invention also provides a terminal device, which comprises: a touch-sensitive display; one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the aforementioned method of adjusting a display window, the method comprising the steps of: and receiving a rotation instruction aiming at the target display window, and rotating the target display window according to the rotation instruction. The method for adjusting the display window described in this embodiment is the method for adjusting the display window according to the foregoing embodiment of the present invention, and is not described herein again.
The terminal device of the embodiment of the invention adds the rotation function to the display window, so that a user can rotate the display window through the rotation instruction and adjust the display window to face different directions, a plurality of users can operate or browse different display windows in different directions of the same terminal device, the operation convenience is improved, and the user experience is greatly improved.
The terminal device of the embodiment of the invention can be a mobile terminal such as a mobile phone and a tablet, a computer terminal such as a personal computer and a notebook computer, and other types of electronic devices.
Those skilled in the art will appreciate that the present invention includes apparatus directed to performing one or more of the operations described in the present application. These devices may be specially designed and manufactured for the required purposes, or they may comprise known devices in general-purpose computers. These devices have stored therein computer programs that are selectively activated or reconfigured. Such a computer program may be stored in a device (e.g., computer) readable medium, including, but not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magnetic-optical disks, ROMs (Read-Only memories), RAMs (Random Access memories), EPROMs (Erasable Programmable Read-Only memories), EEPROMs (Electrically Erasable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a bus. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
It will be understood by those within the art that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. Those skilled in the art will appreciate that the computer program instructions may be implemented by a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, implement the features specified in the block or blocks of the block diagrams and/or flowchart illustrations of the present disclosure.
Those of skill in the art will appreciate that various operations, methods, steps in the processes, acts, or solutions discussed in the present application may be alternated, modified, combined, or deleted. Further, various operations, methods, steps in the flows, which have been discussed in the present application, may be interchanged, modified, rearranged, decomposed, combined, or eliminated. Further, steps, measures, schemes in the various operations, methods, procedures disclosed in the prior art and the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and are not to be construed as limiting the scope of the invention. Those skilled in the art can implement the invention in various modifications, such as features from one embodiment can be used in another embodiment to yield yet a further embodiment, without departing from the scope and spirit of the invention. Any modification, equivalent replacement and improvement made within the technical idea of using the present invention should be within the scope of the right of the present invention.

Claims (10)

1. A method for adjusting a display window is characterized by comprising the following steps:
receiving a rotation instruction aiming at a target display window;
and rotating the target display window according to the rotation instruction.
2. The method for adjusting a display window according to claim 1, wherein the rotation instruction is an operation instruction for a rotation function icon on the target display window.
3. The method for adjusting a display window according to claim 2, wherein the step of rotating the target display window according to the rotation instruction comprises:
and rotating the target display window by a preset angle along a preset direction according to the operation instruction of the rotating function icon.
4. The method for adjusting a display window according to claim 2, wherein the rotating function icon includes at least two portions for operation, each portion having a corresponding rotating direction, and the step of rotating the target display window according to the rotating instruction includes:
determining a rotation direction according to the operated part of the rotation function icon;
and rotating the target display window by a preset angle along the rotating direction.
5. The method for adjusting a display window according to claim 2, wherein the rotating function icon includes at least two portions for operation, each portion having a corresponding rotation direction and a corresponding rotation angle, and the step of rotating the target display window according to the rotation instruction includes:
determining a rotation direction and a rotation angle according to the operated part of the rotation function icon;
and rotating the target display window according to the rotating direction and the rotating angle.
6. An adjustment device for a display window, comprising:
the receiving module is used for receiving a rotation instruction aiming at the target display window;
and the rotating module is used for rotating the target display window according to the rotating instruction.
7. The apparatus for adjusting a display window according to claim 6, wherein the rotation command is an operation command for a rotation function icon on the target display window.
8. The apparatus for adjusting a display window according to claim 7, wherein the rotation module is configured to: and rotating the target display window by a preset angle along a preset direction according to the operation instruction of the rotating function icon.
9. The apparatus for adjusting a display window according to claim 7, wherein the rotation function icon comprises at least two portions for operation, each portion having a corresponding rotation direction, and the rotation module is configured to:
determining a rotation direction according to the operated part of the rotation function icon; and rotating the target display window by a preset angle along the rotating direction.
10. A terminal device, comprising:
a touch-sensitive display;
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-5.
CN201610866352.4A 2016-09-29 2016-09-29 The control method of display window, device and terminal unit Pending CN106502528A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610866352.4A CN106502528A (en) 2016-09-29 2016-09-29 The control method of display window, device and terminal unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610866352.4A CN106502528A (en) 2016-09-29 2016-09-29 The control method of display window, device and terminal unit

Publications (1)

Publication Number Publication Date
CN106502528A true CN106502528A (en) 2017-03-15

Family

ID=58291049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610866352.4A Pending CN106502528A (en) 2016-09-29 2016-09-29 The control method of display window, device and terminal unit

Country Status (1)

Country Link
CN (1) CN106502528A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108536344A (en) * 2018-01-09 2018-09-14 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and storage medium
CN109151225A (en) * 2018-09-04 2019-01-04 北京小鱼在家科技有限公司 Call handling method, device and verbal system
CN113474749A (en) * 2020-03-20 2021-10-01 西安诺瓦星云科技股份有限公司 Screen display control method, device and system
CN113474750A (en) * 2020-03-20 2021-10-01 西安诺瓦星云科技股份有限公司 Screen display control method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877736A (en) * 2009-04-30 2010-11-03 深圳富泰宏精密工业有限公司 Automatic adjusting system and method for user interface of mobile terminal
CN103116437A (en) * 2011-11-16 2013-05-22 三星电子株式会社 Apparatus including a touch screen under a multi-application environment and controlling method thereof
CN103530035A (en) * 2013-10-09 2014-01-22 深圳市中兴移动通信有限公司 Touch control terminal and area operating method of touch control terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877736A (en) * 2009-04-30 2010-11-03 深圳富泰宏精密工业有限公司 Automatic adjusting system and method for user interface of mobile terminal
CN103116437A (en) * 2011-11-16 2013-05-22 三星电子株式会社 Apparatus including a touch screen under a multi-application environment and controlling method thereof
CN103530035A (en) * 2013-10-09 2014-01-22 深圳市中兴移动通信有限公司 Touch control terminal and area operating method of touch control terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108536344A (en) * 2018-01-09 2018-09-14 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and storage medium
CN109151225A (en) * 2018-09-04 2019-01-04 北京小鱼在家科技有限公司 Call handling method, device and verbal system
CN113474749A (en) * 2020-03-20 2021-10-01 西安诺瓦星云科技股份有限公司 Screen display control method, device and system
CN113474750A (en) * 2020-03-20 2021-10-01 西安诺瓦星云科技股份有限公司 Screen display control method, device and system
CN113474750B (en) * 2020-03-20 2023-12-08 西安诺瓦星云科技股份有限公司 Screen display control method, device and system
CN113474749B (en) * 2020-03-20 2024-02-09 西安诺瓦星云科技股份有限公司 Screen display control method, device and system

Similar Documents

Publication Publication Date Title
US11054986B2 (en) Apparatus including a touch screen under a multi-application environment and controlling method thereof
EP3459261B1 (en) Image display apparatus and method of displaying image
CN106502528A (en) The control method of display window, device and terminal unit
US10185456B2 (en) Display device and control method thereof
CN107621922B (en) Screen splitting operation method and device
KR101649646B1 (en) Portable terminal
US8418076B2 (en) Managing inputs from a plurality of user input device actuators
CN107102806A (en) A kind of split screen input method and mobile terminal
US10949085B2 (en) Electronic device
CN106657793B (en) A kind of image processing method and mobile terminal
US10403960B2 (en) System and method for antenna optimization
AU2017410571A1 (en) Display control method and apparatus
CN107643912B (en) Information sharing method and mobile terminal
US8977950B2 (en) Techniques for selection and manipulation of table boarders
CN105868617B (en) Application program encryption method and mobile terminal
US20100321316A1 (en) Information processing apparatus, method for controlling display, and computer-readable recording medium
WO2018153159A1 (en) Antenna structure, mobile terminal, and antenna control method
CN106598418A (en) Terminal soft keyboard switching display device and method of same
CN107493392B (en) Method for matching horizontal screen mode and antenna mode of mobile terminal and mobile terminal
CN113110736B (en) Control method, device, equipment and computer readable storage medium
US11089196B1 (en) Capacitive switch for controlling a camera module for an information handling system
US10996794B2 (en) Method and apparatus for processing edge of touch screen
CN103902113A (en) Using method of capacitive touch screen and user equipment
CN105867829B (en) A kind of method and terminal of the switching of controlling terminal display interface
CN115617225A (en) Application interface display method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315