CN115113770A - Terminal control method and device, terminal and storage medium - Google Patents

Terminal control method and device, terminal and storage medium Download PDF

Info

Publication number
CN115113770A
CN115113770A CN202110290639.8A CN202110290639A CN115113770A CN 115113770 A CN115113770 A CN 115113770A CN 202110290639 A CN202110290639 A CN 202110290639A CN 115113770 A CN115113770 A CN 115113770A
Authority
CN
China
Prior art keywords
touch gesture
target window
gesture operation
characteristic information
window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110290639.8A
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.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network Technology 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 Beijing Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202110290639.8A priority Critical patent/CN115113770A/en
Publication of CN115113770A publication Critical patent/CN115113770A/en
Pending legal-status Critical Current

Links

Images

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/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
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

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

Abstract

The disclosure provides a control method and device of a terminal, the terminal and a storage medium. In some embodiments, the present disclosure provides a control method of a terminal, including: displaying a target window; responding to touch gesture operation, and judging whether the touch gesture operation is predefined operation or not; if the touch gesture operation is the predefined operation, controlling the target window to shrink along with the progress of the touch gesture operation; and responding to the end of the touch gesture operation, and determining to minimize the target window or restore the target window according to at least one of the characteristic information of the target window and the characteristic information of the touch gesture operation. Therefore, when the user performs the touch gesture operation on the touch device, the minimized process can be clearly seen and controlled, the user can know whether the touch gesture operation is recognized or not according to the minimized process of the target window displayed by the display device, and if the touch gesture operation is not recognized, the user can timely find the process.

Description

Terminal control method and device, terminal and storage medium
Technical Field
The present disclosure relates to the field of intelligent terminal technologies, and in particular, to a terminal control method, an apparatus, a terminal, and a storage medium.
Background
The terminal is provided with a display screen, the display screen can be used for touch operation, when the minimization of the window on the display screen is required to be controlled, the window is minimized by clicking the minimization icon, the window minimization process is carried out quickly, the operation process cannot be seen, and the window minimization is caused by the possibility of false triggering of a user.
Disclosure of Invention
The disclosure provides a control method and device of a terminal, the terminal and a storage medium.
The present disclosure adopts the following technical solutions.
In some embodiments, the present disclosure provides a control method of a terminal, including:
displaying a target window;
responding to the touch gesture operation, and judging whether the touch gesture operation is a predefined operation;
if the touch gesture operation is a predefined operation, controlling the target window to shrink along with the progress of the touch gesture operation;
and responding to the end of the touch gesture operation, and determining a minimized target window or a restored target window according to at least one of the characteristic information of the target window and the characteristic information of the touch gesture operation.
In some embodiments, the present disclosure provides a control apparatus of a terminal, including:
a display unit for displaying a target window;
the judging unit is used for responding to the touch gesture operation and judging whether the touch gesture operation is a predefined operation;
the control unit is used for controlling the target window to shrink along with the progress of the touch gesture operation if the touch gesture operation is the predefined operation;
and the control unit is also used for responding to the end of the touch gesture operation and determining to minimize the target window or restore the target window according to at least one of the characteristic information of the target window and the characteristic information of the touch gesture operation.
In some embodiments, the present disclosure provides a terminal comprising: at least one memory and at least one processor;
the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method.
In some embodiments, the present disclosure provides a storage medium for storing program code for performing the above-described method.
According to the control method of the terminal provided by the embodiment of the disclosure, the process of minimizing the target window is performed along with the progress of the touch gesture operation, so that when a user performs the touch gesture operation on the touch device, the process of minimizing can be clearly seen and controlled, whether the touch gesture operation is recognized or not can be known according to the minimizing process of the target window displayed by the display device, and if the touch gesture operation is not recognized, the user can timely find out the process.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
Fig. 1 is a flowchart of a control method of a terminal according to an embodiment of the present disclosure.
Fig. 2 is a schematic composition diagram of a control device of a terminal according to an embodiment of the present disclosure.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and the embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that various steps recited in method embodiments of the present disclosure may be performed in parallel and/or in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In the related art, a window displayed on a display screen may be minimized by clicking an icon with a minimized window, the window is directly minimized after the icon with the minimized window is clicked, a user cannot view the minimization process, and when a gesture operation is performed, it is only known whether the gesture operation is recognized after the gesture operation is completed.
In some embodiments of the present disclosure, a control method of a terminal is provided, where the terminal may be, for example, a mobile phone, a tablet, or other terminal with a touch function, as shown in fig. 1, fig. 1 is a flowchart of a control method of a display device according to an embodiment of the present disclosure, and includes the following steps S11-S14.
S11: and displaying the target window.
In some embodiments, one or more windows are displayed on the display screen of the terminal, the target window may be any window, and the window being displayed may be taken as the target window by default. The target window may also be designated, with the designated window being the target window, e.g., a use window of an application.
S12: and responding to the touch gesture operation, and judging whether the touch gesture operation is a predefined operation.
In some embodiments, the touch gesture operation may be, for example, a two-finger sliding down or a three-finger sliding down on a touch display screen of the terminal, and after the touch device detects the touch gesture operation, it is determined whether the touch gesture operation is a predefined operation, where the predefined operation is, for example, an operation for minimizing a window.
S13: and if the touch gesture operation is the predefined operation, the control target window is reduced along with the progress of the touch gesture operation.
In some embodiments, after the touch gesture operation is detected, if the touch gesture operation is a predefined operation, the target window displayed by the terminal is not directly minimized, but gradually shrinks as the touch gesture operation progresses, so that the user can clearly see and control the process of minimization, thereby knowing whether the touch gesture operation is recognized.
S14: and responding to the end of the touch gesture operation, and determining to minimize the target window or restore the target window according to at least one of the characteristic information of the target window and the characteristic information of the touch gesture operation.
In some embodiments, when the touch gesture operation is a predefined operation, the target window is reduced, and when the touch gesture operation is finished, there may be two cases, one is to minimize the target window and one is to restore the target window, and for which case, it is necessary to determine, which case is to be performed, the determination may be performed according to the feature information of the target window, or according to the feature information of the touch gesture operation, or according to both the feature information of the target window and the feature information of the touch gesture operation, it may be determined whether the target window is minimized or restored.
In the related art, when a user performs a touch gesture operation for minimizing a window, the window is directly minimized if the touch gesture operation is recognized as a predefined operation, the window is not minimized if the touch gesture operation is recognized as not the predefined operation, the window is not minimized whether the window is minimized or not is performed after the touch gesture operation is completed, the user can know whether the touch gesture operation is recognized or not only after the touch gesture operation is completed, the process of minimizing the window is relatively fast and imperceptible, and a target window cannot be directly restored under the condition that the minimization operation is triggered by mistake, and the operation for restoring the window needs to be performed again. In some embodiments of the present disclosure, after the touch gesture operation is recognized, the target window displayed by the display device may be reduced along with the progress of the touch gesture operation, the user may see and control the minimization process, and may know whether the touch gesture operation is recognized before the touch gesture operation for the minimization window is completed, and in a case where the touch gesture operation is a predefined operation, the target window may not be necessarily minimized, and whether the target window is minimized may be determined according to the feature information of the target window and/or the feature information of the touch gesture operation, so that in a case where the user touches by mistake, the target window may be directly restored by controlling the target window without performing an operation of restoring the target window.
In some embodiments of the present disclosure, the characteristic information of the target window includes: at least one of a display area of the target window at the end of the touch gesture operation and a zoom-out speed of the target window; in some embodiments, the display area of the target window at the end of the touch gesture operation indicates whether the user wants to minimize the target window or has triggered the operation by mistake, and on the other hand, if the user wants to minimize the target window, the speed of the operation tends to be faster, so these two parameters reflect whether the user wants to minimize the target window.
In some embodiments of the present disclosure, the characteristic information of the touch gesture operation includes: at least one of an operation speed of the touch gesture operation and an operation distance of the touch gesture operation when the touch gesture operation is finished. In some embodiments, if the user wants to minimize the target window, the touch gesture operation is performed at a faster speed and the operation distance is longer, and the operation distance is a distance that the touch gesture operation continuously slides on the display screen.
In some embodiments of the present application, determining to minimize the target window or restore the target window according to at least one of the characteristic information of the target window and the characteristic information of the touch gesture operation includes: if the characteristic information of the target window meets a first preset condition, minimizing the target window, and otherwise, restoring the target window. In some embodiments, whether the target window is minimized may be determined only according to the feature information of the target window, and the first preset condition may be any condition, for example, a threshold may be set in advance for the feature information of the target window, and the feature information of the target window is compared with the threshold.
In some embodiments of the present application, determining to minimize the target window or restore the target window according to at least one of the characteristic information of the target window and the characteristic information of the touch gesture operation includes: if the characteristic information of the touch gesture operation meets a second preset condition, minimizing the target window, and otherwise, restoring the target window. In some embodiments, it may be determined whether to minimize the target window only according to the characteristic information of the touch gesture operation, and the second preset condition may be any preset condition, for example.
In some embodiments of the present application, determining to minimize the target window or restore the target window according to at least one of the characteristic information of the target window and the characteristic information of the touch gesture operation includes: if the characteristic information of the target window meets a first preset condition, or if the characteristic information of the touch gesture operation meets a second preset condition, minimizing the target window, and otherwise, restoring the target window. In some embodiments, at least one of the characteristic information of the target window satisfying a first preset condition and the characteristic information of the touch gesture operation satisfying a second preset condition is satisfied, the target window is minimized, and if neither of the characteristic information of the target window and the characteristic information of the touch gesture operation satisfies the second preset condition, the target window is restored.
In some embodiments of the present application, determining to minimize the target window or restore the target window according to at least one of the characteristic information of the target window and the characteristic information of the touch gesture operation includes: and if the characteristic information of the target window meets a first preset condition, and if the characteristic information of the touch gesture operation meets a second preset condition, minimizing the target window, otherwise, restoring the target window. In some embodiments, the target window is minimized if both the characteristic information of the target window satisfies the first preset condition and the characteristic information of the touch gesture operation satisfies the second preset condition, and the target window is restored if at least one of the two conditions is not satisfied.
In some embodiments, a first preset condition and a second preset condition are preset, and whether the target window is minimized or restored is determined according to one of the characteristic information of the touch gesture operation and the characteristic information of the target window, or whether the target window is minimized or restored can be determined according to the two conditions.
In some embodiments of the present disclosure, if a display area of the target window at the end of the touch gesture operation is smaller than an area threshold, the first preset condition is satisfied. In some embodiments, the target window is reduced as the touch gesture operation is performed, so the area of the target window can be controlled by the touch gesture operation, and if the user wants to minimize the target window, the target window can be reduced below an area threshold, which may be, for example, 50% of the target window in the restored state.
In some embodiments of the present disclosure, if the reduction speed of the target window is greater than the first speed threshold, the first preset condition is satisfied, and in some embodiments, the target window is reduced along with the progress of the touch gesture operation, so that the faster the operation speed of the touch gesture operation is, the faster the reduction speed of the target window is, and thus the reduction speed of the target window can be increased by performing the touch gesture operation quickly, and thus, if the user is a wrong touch, the target window can be prevented from being minimized by performing the touch gesture operation slowly.
In some embodiments of the present disclosure, if the operation speed of the touch gesture operation is greater than a second speed threshold, the second preset condition is satisfied. In some embodiments, the user may control whether to minimize the target window or restore the target window by directly controlling the operation speed of the touch gesture operation, for example, by quickly performing the touch gesture operation.
In some embodiments of the present disclosure, if the operation distance of the touch gesture operation is greater than a preset length when the touch gesture operation is ended, the second preset condition is satisfied. In some embodiments, the operation distance of the touch gesture operation refers to a distance that the touch gesture operation slides on the touch display screen, and the target window is reduced along with the execution of the touch gesture operation, so that the user can prevent the target window from being minimized by stopping the execution of the touch gesture operation as soon as possible when the user performs the touch gesture operation by mistake.
In some embodiments of the present disclosure, a zoom-out speed of the target window varies with a variation in an operation speed of the touch gesture operation; in some embodiments, the zoom-out speed of the target window increases as the operation speed of the touch gesture operation increases.
In some embodiments of the present disclosure, a zoom-out speed of the target window varies with a variation in an operation distance of the touch gesture operation. In some embodiments, the zoom-out speed of the target window is related to the operation distance of the touch gesture operation, for example, in the case of performing the touch gesture operation by sliding on the touch display screen, the zoom-out speed of the target window gradually changes in the case of changing the sliding length.
In some embodiments of the present disclosure, a zoom-out speed of the target window increases as an operation distance of the touch gesture operation increases. In some embodiments, the target window is reduced at a slow speed at the beginning of the execution of the touch gesture operation, so as to avoid the problem caused by the mistaken execution of the touch gesture operation, and the reduction speed of the target window is gradually increased at a later stage, because after the execution of a certain length, it indicates that the user really wants to minimize the target window, so the speed of the target window bottoming is increased, so as to reduce the user's operation.
In some embodiments of the present disclosure, a zoom-out speed of the target window decreases as an operation distance of the touch gesture operation increases. In some embodiments, the speed of the target window is gradually slowed down, so that the user can quickly zoom out the target window, but can clearly view the process of the target window zooming out.
A specific embodiment is provided below, where a target window is displayed on a display screen of a terminal, a user reduces the target window by executing a preset touch gesture operation, the target window gradually reduces with the execution of the touch gesture operation, and when the touch gesture operation is completed, it is determined whether to minimize the target window or restore the target window according to a speed of the touch gesture operation or a current display area of the target window, and if the speed of the touch gesture operation is greater than a speed threshold, or the display area of the target window is smaller than an area threshold, the target window is minimized, otherwise the target window is restored.
In some embodiments of the present disclosure, a control apparatus of a terminal is further provided, as shown in fig. 2, including:
a display unit 10 for displaying a target window;
the judging unit 20 is configured to respond to a touch gesture operation and judge whether the touch gesture operation is a predefined operation;
the control unit 30 is configured to control the target window to shrink as the touch gesture operation proceeds if the touch gesture operation is the predefined operation;
the control unit is further configured to determine to minimize the target window or restore the target window according to at least one of the feature information of the target window and the feature information of the touch gesture operation in response to the end of the touch gesture operation.
For the embodiments of the apparatus, reference is made to the partial description of the method embodiments for relevant points, since they substantially correspond to the method embodiments. The above-described apparatus embodiments are merely illustrative, wherein the modules described as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement without inventive effort.
The method and apparatus of the present disclosure have been described above based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.
Referring now to fig. 3, a schematic diagram of an electronic device (e.g., a terminal device or server) 800 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in the drawings is only an example and should not bring any limitation to the functions and use range of the embodiments of the present disclosure.
The electronic device 800 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While the figure illustrates an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may be separate and not incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure as described above.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a terminal control method including:
displaying a target window;
responding to a touch gesture operation, and judging whether the touch gesture operation is a predefined operation;
if the touch gesture operation is the predefined operation, controlling the target window to shrink along with the progress of the touch gesture operation;
and responding to the end of the touch gesture operation, and determining to minimize the target window or restore the target window according to at least one of the characteristic information of the target window and the characteristic information of the touch gesture operation.
According to one or more embodiments of the present disclosure, there is provided a terminal control method, where the characteristic information of the target window includes: at least one of a display area of the target window at the end of the touch gesture operation and a zoom-out speed of the target window; and/or the presence of a gas in the gas,
the characteristic information of the touch gesture operation comprises: at least one of an operation speed of the touch gesture operation and an operation distance of the touch gesture operation when the touch gesture operation is finished.
According to one or more embodiments of the present disclosure, a terminal control method is provided, which determines to minimize or restore a target window according to at least one of feature information of the target window and feature information of a touch gesture operation, and includes: and if the characteristic information of the target window meets a first preset condition, minimizing the target window, otherwise, restoring the target window.
According to one or more embodiments of the present disclosure, a terminal control method for determining to minimize or restore a target window according to at least one of feature information of the target window and feature information of a touch gesture operation is provided, including: and if the characteristic information of the touch gesture operation meets a second preset condition, minimizing the target window, otherwise, restoring the target window.
According to one or more embodiments of the present disclosure, a terminal control method for determining to minimize or restore a target window according to at least one of feature information of the target window and feature information of a touch gesture operation is provided, including: if the characteristic information of the target window meets a first preset condition, or if the characteristic information of the touch gesture operation meets a second preset condition, minimizing the target window, otherwise, restoring the target window.
According to one or more embodiments of the present disclosure, a terminal control method for determining to minimize or restore a target window according to at least one of feature information of the target window and feature information of a touch gesture operation is provided, including: if the characteristic information of the target window meets a first preset condition, and if the characteristic information of the touch gesture operation meets a second preset condition, minimizing the target window, otherwise, restoring the target window.
According to one or more embodiments of the present disclosure, a terminal control method is provided, where if a display area of the target window at the end of the touch gesture operation is smaller than an area threshold, the first preset condition is satisfied; or, if the reduction speed of the target window is greater than a first speed threshold, the first preset condition is met.
According to one or more embodiments of the present disclosure, a terminal control method is provided, where if an operation speed of the touch gesture operation is greater than a second speed threshold, the second preset condition is met, or,
and if the operation distance of the touch gesture operation is greater than a preset length when the touch gesture operation is finished, the second preset condition is met.
According to one or more embodiments of the present disclosure, a terminal control method is provided, in which a zoom-out speed of the target window is changed according to a change in an operation distance of the touch gesture operation.
According to one or more embodiments of the present disclosure, there is provided a terminal control method, in which a reduction speed of the target window increases as an operation distance of the touch gesture operation increases;
or the reduction speed of the target window is reduced along with the increase of the operation distance of the touch gesture operation.
According to one or more embodiments of the present disclosure, there is provided a control apparatus of a terminal, including:
a display unit for displaying a target window;
the judging unit is used for responding to touch gesture operation and judging whether the touch gesture operation is predefined operation or not;
the control unit is used for controlling the target window to shrink along with the progress of the touch gesture operation if the touch gesture operation is the predefined operation;
the control unit is further configured to determine to minimize the target window or restore the target window according to at least one of the feature information of the target window and the feature information of the touch gesture operation in response to the end of the touch gesture operation.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor;
wherein the at least one memory is configured to store program code, and the at least one processor is configured to call the program code stored in the at least one memory to perform the method of any one of the above.
According to one or more embodiments of the present disclosure, there is provided a storage medium for storing program code for performing the above-described method.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (11)

1. A terminal control method, comprising:
displaying a target window;
responding to a touch gesture operation, and judging whether the touch gesture operation is a predefined operation;
if the touch gesture operation is the predefined operation, controlling the target window to shrink along with the progress of the touch gesture operation;
and responding to the end of the touch gesture operation, and determining to minimize the target window or restore the target window according to at least one of the characteristic information of the target window and the characteristic information of the touch gesture operation.
2. The method of claim 1,
the characteristic information of the target window comprises: at least one of a display area of the target window when the touch gesture operation is finished and a reduction speed of the target window; and/or the presence of a gas in the gas,
the characteristic information of the touch gesture operation comprises: at least one of an operation speed of the touch gesture operation and an operation distance of the touch gesture operation when the touch gesture operation is finished.
3. The method of claim 1, wherein determining to minimize or restore the target window according to at least one of the characteristic information of the target window and the characteristic information of the touch gesture operation comprises:
if the characteristic information of the target window meets a first preset condition or the characteristic information of the touch gesture operation meets a second preset condition, minimizing the window;
otherwise, restoring the target window.
4. The method of claim 1,
if the characteristic information of the target window meets a first preset condition and the characteristic information of the touch gesture operation meets a second preset condition, minimizing the window;
otherwise, restoring the target window.
5. The method according to claim 3 or 4,
if the display area of the target window when the touch gesture operation is finished is smaller than an area threshold, the first preset condition is met; or the like, or a combination thereof,
and if the reduction speed of the target window is greater than a first speed threshold, the first preset condition is met.
6. The method according to claim 3 or 4,
if the operation speed of the touch gesture operation is greater than a second speed threshold, the second preset condition is met, or,
and if the operation distance of the touch gesture operation is greater than a preset length when the touch gesture operation is finished, the second preset condition is met.
7. The method of claim 1,
the reduction speed of the target window is changed along with the change of the operation distance of the touch gesture operation.
8. The method of claim 7,
the reduction speed of the target window is increased along with the increase of the operation distance of the touch gesture operation;
or the reduction speed of the target window is reduced along with the increase of the operation distance of the touch gesture operation.
9. A control apparatus of a terminal, comprising:
a display unit for displaying a target window;
the judging unit is used for responding to touch gesture operation and judging whether the touch gesture operation is predefined operation or not;
the control unit is used for controlling the target window to shrink along with the progress of the touch gesture operation if the touch gesture operation is the predefined operation;
the control unit is further configured to determine to minimize the target window or restore the target window according to at least one of the feature information of the target window and the feature information of the touch gesture operation in response to the end of the touch gesture operation.
10. A terminal, comprising:
at least one memory and at least one processor;
wherein the at least one memory is configured to store program code and the at least one processor is configured to invoke the program code stored in the at least one memory to perform the method of any of claims 1 to 8.
11. A storage medium for storing program code for performing the method of any one of claims 1 to 8.
CN202110290639.8A 2021-03-17 2021-03-17 Terminal control method and device, terminal and storage medium Pending CN115113770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110290639.8A CN115113770A (en) 2021-03-17 2021-03-17 Terminal control method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110290639.8A CN115113770A (en) 2021-03-17 2021-03-17 Terminal control method and device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN115113770A true CN115113770A (en) 2022-09-27

Family

ID=83322897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110290639.8A Pending CN115113770A (en) 2021-03-17 2021-03-17 Terminal control method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115113770A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150106762A1 (en) * 2013-10-10 2015-04-16 International Business Machines Corporation Controlling application launch
CN105549880A (en) * 2015-12-08 2016-05-04 联想(北京)有限公司 Window control method and electronic equipment
CN105607793A (en) * 2014-11-25 2016-05-25 联想(北京)有限公司 Window adjusting method and electronic equipment
CN109062486A (en) * 2014-05-19 2018-12-21 联想(北京)有限公司 A kind of adjusting method and electronic equipment of display window
CN109739422A (en) * 2018-05-14 2019-05-10 北京字节跳动网络技术有限公司 A kind of window control method, device and equipment
CN111552425A (en) * 2020-04-24 2020-08-18 北京小米移动软件有限公司 Method and device for controlling small window display and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150106762A1 (en) * 2013-10-10 2015-04-16 International Business Machines Corporation Controlling application launch
CN109062486A (en) * 2014-05-19 2018-12-21 联想(北京)有限公司 A kind of adjusting method and electronic equipment of display window
CN105607793A (en) * 2014-11-25 2016-05-25 联想(北京)有限公司 Window adjusting method and electronic equipment
CN105549880A (en) * 2015-12-08 2016-05-04 联想(北京)有限公司 Window control method and electronic equipment
CN109739422A (en) * 2018-05-14 2019-05-10 北京字节跳动网络技术有限公司 A kind of window control method, device and equipment
CN111552425A (en) * 2020-04-24 2020-08-18 北京小米移动软件有限公司 Method and device for controlling small window display and storage medium

Similar Documents

Publication Publication Date Title
CN110633126B (en) Information display method and device and electronic equipment
CN111190520A (en) Menu item selection method and device, readable medium and electronic equipment
CN112017576A (en) Display control method, device, terminal and storage medium
CN110837333A (en) Method, device, terminal and storage medium for adjusting playing progress of multimedia file
CN112256231A (en) Volume control method, device, terminal and storage medium
CN112181571A (en) Floating window display method, device, terminal and storage medium
CN112162666A (en) Terminal control method and device, terminal and storage medium
CN111273847B (en) Page processing method and device, electronic equipment and storage medium
CN111273884A (en) Image display method and device and electronic equipment
CN112241229B (en) Terminal display control method, device, terminal and storage medium
CN112241230B (en) Window display method and device of electronic equipment, terminal and storage medium
CN115113770A (en) Terminal control method and device, terminal and storage medium
CN115576458A (en) Application window display method, device, equipment and medium
CN113163483B (en) Timestamp updating method and device and electronic equipment
CN112256172B (en) Application display method, device, terminal and storage medium
CN111290692B (en) Picture display method and device, electronic equipment and computer readable medium
CN114840117A (en) Element control method, device, equipment and medium of information input page
CN110795194B (en) Desktop display control method, device, terminal and storage medium
CN115016878A (en) Information processing method and device and electronic equipment
CN110427135B (en) Method, device, terminal and storage medium for determining application call
CN111259291B (en) View display method and device and electronic equipment
CN114489457A (en) Control method and device of virtual object, readable medium and electronic equipment
CN113986102A (en) Display control method, display control device, electronic equipment and storage medium
CN110618776B (en) Picture scaling method, device, equipment and storage medium
CN112822328A (en) Data display method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination