CN107423039B - Interface refreshing method and terminal - Google Patents

Interface refreshing method and terminal Download PDF

Info

Publication number
CN107423039B
CN107423039B CN201710161551.XA CN201710161551A CN107423039B CN 107423039 B CN107423039 B CN 107423039B CN 201710161551 A CN201710161551 A CN 201710161551A CN 107423039 B CN107423039 B CN 107423039B
Authority
CN
China
Prior art keywords
preset
interface
operation gesture
current
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710161551.XA
Other languages
Chinese (zh)
Other versions
CN107423039A (en
Inventor
辛将
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710161551.XA priority Critical patent/CN107423039B/en
Publication of CN107423039A publication Critical patent/CN107423039A/en
Application granted granted Critical
Publication of CN107423039B publication Critical patent/CN107423039B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the invention discloses a method and a terminal for refreshing an operation interface, wherein the method for refreshing the operation interface comprises the steps of obtaining information of a current operation gesture of a user operation preset application; if the current operation gesture is a preset operation gesture, acquiring a target refresh rate corresponding to the current operation gesture; and refreshing the current interface of the preset application according to the target refresh rate, so that the waste of terminal operation resources caused by refreshing the current interface at a uniform refresh rate is avoided.

Description

Interface refreshing method and terminal
Technical Field
The invention belongs to the technical field of electronics, and particularly relates to an interface refreshing method and a terminal.
Background
With the popularization of terminals, application programs downloaded by terminal users are provided on the application market more and more. The continuous upgrading and upgrading of terminal hardware enables the operation performance of the terminal to be continuously improved, and when the terminal runs any application program, the currently displayed content is refreshed at a default refresh rate, for example, the current operation interface is refreshed at 60 frames per second. However, for the application or interface with low requirement on the refresh rate, the workload of the image processor is undoubtedly increased, which causes the waste of the terminal operation resources.
Therefore, in the prior art, when any application program is operated, the content of the current interface is refreshed at the uniform refresh rate, which causes the problem of resource waste in terminal operation.
Disclosure of Invention
The embodiment of the invention provides an interface refreshing method and a terminal, which can avoid the problem of resource waste in terminal operation.
In a first aspect, an embodiment of the present invention provides an interface refreshing method, where the method includes:
acquiring information of a current operation gesture of a user for controlling a preset application;
if the current operation gesture is a preset operation gesture, acquiring a target refresh rate corresponding to the current operation gesture;
and refreshing the current interface of the preset application according to the target refresh rate.
In another aspect, a terminal according to an embodiment of the present invention includes:
the first obtaining unit is used for obtaining information of a current operation gesture of a user for controlling a preset application;
the second obtaining unit is used for obtaining a target refresh rate corresponding to the current operation gesture if the current operation gesture is a preset operation gesture;
and the first refreshing unit is used for refreshing the current interface of the preset application according to the target refreshing rate.
According to the scheme, the information of the current operation gesture of the preset application controlled by the user is obtained; if the current operation gesture is a preset operation gesture, acquiring a target refresh rate corresponding to the current operation gesture; and refreshing the current interface of the preset application according to the target refresh rate, so that the waste of terminal operation resources caused by refreshing the current interface at a uniform refresh rate is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram of a method for interface refresh according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram of a method for interface refresh according to another embodiment of the present invention;
fig. 3 is a schematic block diagram of a terminal according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a terminal according to another embodiment of the present invention;
fig. 5 is a schematic block diagram of a terminal according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, 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 is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the terminals described in embodiments of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal supports various applications, such as one or more of the following: a drawing application program, a presentation application program, a word processing application program, a website creation application program, a disc burning application program, a spreadsheet application program, a gaming application program, a telephone application program, a video conferencing application program, an email application program, an instant messaging application program, an exercise support application program, a photo management application program, a digital camera application program, a digital video camera application program, a web browsing application program, a digital music player application program, and/or a digital video player application program.
Various applications that may be executed on the terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for refreshing an interface according to an embodiment of the present invention. The main execution body of the interface refreshing method in the embodiment is the terminal. The terminal may be a mobile terminal such as a smart phone, a tablet computer, and the like, but is not limited thereto, and may also be another terminal, and is not limited herein. As shown in fig. 1, the method of interface refresh may include the steps of:
s101: and acquiring information of a current operation gesture of a user for controlling a preset application.
The preset applications comprise applications with refresh rates larger or smaller than the preset refresh rate of the terminal system, or applications set by a user through selection.
In step S101, manipulating the preset application may be manipulating one preset application, or manipulating a plurality of preset applications simultaneously, or manipulating a plurality of applications including at least one preset application simultaneously.
The information of the current operation gesture is used for describing specific actions of the user when the user operates the preset application.
The current operation gesture may include a touch action of touching a terminal screen, an action of pressing a terminal key, an action of sliding a terminal key, or a non-contact type shielding or waving action.
It should be noted that the information of the current operation gesture of the user for operating the preset application, which is obtained by the terminal, may be obtained by a touch screen or obtained by a sensor arranged on the terminal.
Taking the operation gesture as a touch action as an example, the current operation gesture may include: any one of a tap, a long press, or a swipe, or any two, or all.
It will be appreciated that the click may be a single click, a double click, or a multiple click. The long press can be a single point long press or a sliding long press, i.e. a sliding trajectory. The sliding may be a fast sliding in one direction, a slow sliding, or repeated sliding in multiple directions.
In this embodiment, the method further comprises the steps of: and acquiring a preset operation gesture.
It should be noted that the step of obtaining the preset operation gesture is not in sequence with the step S101. The preset operation gesture can be obtained after the information of the current operation gesture of the user for controlling the preset application is obtained. Or acquiring the preset operation gesture first, and then acquiring the information of the current operation gesture of the user for operating the preset application.
S102: and if the current operation gesture is a preset operation gesture, acquiring a target refresh rate corresponding to the current operation gesture.
In step S102, the preset operation gesture is used to describe a trigger gesture for changing the current interface refresh rate.
The preset operation gesture can comprise a touch action of touching a terminal screen, an action of pressing a terminal key, an action of sliding the terminal key or a non-contact type shielding or waving action.
Taking the preset operation gesture as a touch action as an example, the preset operation gesture may include: any one of a tap, a long press, and a swipe, or any two, or all of them.
The preset operation gesture can be gesture content set according to a preset application or gesture content set according to a plurality of applications currently running simultaneously.
For example, when the preset application is run, the preset operation gesture may be any one of a click, a long press and a slide in a preset application interface, or any two gestures, or all gestures.
For another example, currently, multiple applications are running simultaneously, and the preset operation gesture may be any one of a click, a long press, and a slide in an interface of any one application, or any two of the gestures, or all the gestures.
It can be understood that the obtaining of the target refresh rate corresponding to the current operation gesture may be obtaining of the target refresh rate corresponding to the current operation gesture from a preset database.
It should be noted that the preset operation gesture corresponds to the target refresh rate, that is, when the preset operation gesture is a plurality of operation gestures, if the current operation gesture is one of the preset operation gestures, the target refresh rate corresponding to the current operation gesture is obtained. And if the current operation gesture is two or more than two of the preset operation gestures, acquiring the maximum refresh rate of the two or more than two refresh rates corresponding to the current operation gesture as the target refresh rate.
Taking the preset operation gesture as a touch action as an example, the preset operation gesture is a click action, a long-press action and a sliding action. The target refresh rate corresponding to the click action is 45 frames per second, the target refresh rate corresponding to the long press action is 50 frames per second, and the target refresh rate corresponding to the sliding action is 55 frames per second.
For example, if the current operation gesture is a click action, 45 frames per second are acquired as the target refresh rate.
For another example, if the current operation gesture is a click action and a long-press action, 50 frames per second is obtained as the target refresh rate.
S103: and refreshing the current interface of the preset application according to the target refresh rate.
In step S103, the current interface of the preset application may be a display interface or an operation interface.
It should be noted that the preset application includes at least one interface, and the interface of the preset application is used for information interaction between the preset application and the terminal operating system.
It is understood that the current interface of the preset application may be any one display interface or operation interface in the preset application, or any two or any multiple display interfaces in the preset application, or any two or any multiple operation interfaces in the preset application.
According to the scheme, the information of the current operation gesture of the preset application controlled by the user is obtained; if the current operation gesture is a preset operation gesture, acquiring a target refresh rate corresponding to the current operation gesture; and refreshing the current interface of the preset application according to the target refresh rate, so that the waste of terminal operation resources caused by refreshing the current interface at a uniform refresh rate is avoided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a method for refreshing an interface according to another embodiment of the present invention. The main execution body of the interface refreshing method in the embodiment is the terminal. The terminal may be a mobile terminal such as a smart phone, a tablet computer, and the like, but is not limited thereto, and may also be another terminal, and is not limited herein. As shown in fig. 2, the method of interface refresh may include the steps of:
s201: and acquiring information of a current operation gesture of a user for controlling a preset application.
Step S201 may specifically include: if the user is detected to operate the target operation interface of the preset application, acquiring information of a current operation gesture of the user for operating the target operation interface; the target operation interface may include part or all of the operation interfaces in the preset application.
And if the terminal detects that the user operates the target operation interface of the preset application, acquiring the information of the current operation gesture of the user operating the target operation interface.
In step S201, the information of the current operation gesture of the user manipulating the target operation interface is used to describe a specific action of the user when manipulating the target operation interface of the preset application.
It should be noted that the current operation gesture of the user for manipulating the target operation interface may include a touch action, a terminal button pressing action, a terminal button sliding action, or a non-contact type shielding or waving action when the user manipulates the target operation interface.
The terminal acquires information of a current operation gesture of a user for operating a target operation interface of a preset application, and the information can be acquired through a touch screen or a sensor arranged on the terminal.
Taking as an example that a current operation gesture of a user for operating a target operation interface of a preset application is a touch action, the current operation gesture may include: any one of a tap, a long press, or a swipe, or any two, or all.
It will be appreciated that the click may be a single click, a double click, or a multiple click. The long press can be a single point long press or a sliding long press, i.e. a sliding trajectory. The sliding may be a fast sliding in one direction, a slow sliding, or repeated sliding in multiple directions.
S202: and if the current operation gesture is a preset operation gesture, acquiring a target refresh rate corresponding to the current operation gesture.
Step S202 may specifically include: and if the current operation gesture of the target operation interface controlled by the user is a preset operation gesture corresponding to the target operation interface, acquiring a target refresh rate corresponding to the current operation gesture of the target operation interface.
It should be noted that the preset operation gesture corresponding to the target operation interface is used to describe a trigger gesture for changing the current interface refresh rate in the target operation interface.
The preset operation gesture corresponding to the target operation interface may include: the method comprises the following steps of a touch action of touching a terminal screen, a terminal key pressing action, a terminal key sliding action or a non-contact shielding or waving action under a target operation interface.
Taking a preset operation gesture corresponding to the target operation interface as an example of a touch action of touching the terminal screen under the target operation interface, the touch action may include: clicking the content of the target operation interface, long-pressing an icon or a connection in the target operation interface, or sliding in any direction during the sliding of the target operation interface.
When the preset application controlled by the user is a social application, if the target operation interface controlled by the user is a chat interface, the corresponding preset operation gesture is a click action in the touch actions. And if the user clicks in the chat interface in the social application, acquiring a target refresh rate corresponding to the clicking. It should be noted that the preset operation gesture corresponding to the target operation interface corresponds to the target refresh rate, that is, when the preset operation gesture corresponding to the target operation interface is a plurality of operation gestures, if the current operation gesture is one of the preset operation gestures corresponding to the target operation interface, the target refresh rate corresponding to the current operation gesture is obtained. If the current operation gesture is two or more than two preset operation gestures corresponding to the target operation interface, acquiring the maximum refresh rate of the two or more than two refresh rates corresponding to the current operation gesture as the target refresh rate.
For example, the preset operation gestures corresponding to the target operation interface are a click action, a long press action and a sliding action. The target refresh rate corresponding to the clicking action under the target operation interface is 50 frames per second, the target refresh rate corresponding to the long-press action is 55 frames per second, and the target refresh rate corresponding to the sliding action is 60 frames per second.
When the current operation gesture of the target operation interface is a clicking action, 50 frames per second are acquired as the target refresh rate.
When the current operation gesture of the target operation interface is a long-press action and a sliding action, 60 frames per second is acquired as the target refresh rate.
S203: and if the current operation gesture is not the preset operation gesture, refreshing the current interface of the preset application according to a preset refresh rate.
It should be noted that step S202 and step S203 belong to parallel steps, that is, the order between step S202 and step S203 is not sequential, step S203 is not executed after step S202 is executed, and step S202 is not executed after step S203 is executed until the current operation gesture is acquired again.
Step S203 may specifically include: and if the current operation gesture of the user for controlling the target operation interface is not the preset operation gesture corresponding to the target operation interface, refreshing the current interface of the preset application according to a preset refresh rate.
It can be understood that the preset refresh rate is a preset refresh rate in the terminal, and the preset refresh rates corresponding to different terminals may also be different according to different screens of the terminals or different operating systems.
S204: and refreshing the current interface of the preset application according to the target refresh rate.
In step S204, the current interface of the preset application may be a display interface or an operation interface.
It should be noted that the preset application includes at least one interface, and the interface of the preset application is used for information interaction between the preset application and the terminal operating system.
It is understood that the current interface of the preset application may be any one display interface or operation interface in the preset application, or any two or any multiple display interfaces in the preset application, or any two or any multiple operation interfaces in the preset application.
By combining the step S201 and the step S202, taking the example that the preset application is the WeChat, the current operation gesture of the user is the operation gesture when the WeChat is used, the target operation interface is the chat interface of the WeChat, and the corresponding preset operation gesture is the click action.
For example, under the chat interface of WeChat, the target refresh rate corresponding to the click action is 45 frames per second, and the preset refresh rates corresponding to other actions, such as the long-press action and the sliding action, are all 60 frames per second.
Under the chat interface of WeChat, if the current operation gesture of the user is a click action, 45 frames per second are acquired as a target refresh rate.
Taking the example that the preset application is WeChat, the current operation gesture of the user is an operation gesture when the WeChat is used, the target operation interface is a WeChat friend circle, and the corresponding preset operation gestures are a click action and a sliding action.
For example, under the friend circle interface of WeChat, the target refresh rate corresponding to the click action is 45 frames per second, the target refresh rate corresponding to the long press action is 60 frames per second, and the target refresh rate corresponding to the slide action is 50 frames per second.
Under the friend circle interface of WeChat, if the current operation gesture of the user is a click action, 45 frames per second are acquired as a target refresh rate. If the current operation gesture of the user is a sliding motion, 50 frames per second are acquired as the target refresh rate.
S205, if it is detected that the user operates the first application, a new refresh rate is obtained according to the information of the first application.
In step S205, the first application is an application other than the preset application, and the new refresh rate may be a preset refresh rate or a preset refresh rate in the first application.
It should be noted that the user may control the first application by split-screen control or switching the current display interface or operation interface.
And step S204, when the current interface of the preset application is refreshed according to the target refresh rate, if the current interface is switched to the interface of the first application, a new refresh rate is obtained according to the information of the first application.
Or if the current interface is split and the first application is controlled in the split interface, obtaining a new refresh rate according to the information of the first application.
S206: and refreshing the current interface of the first application according to the new refresh rate.
In step S206, the current interface of the first application may be a display interface or an operation interface.
It should be noted that the first application includes at least one interface, and the interface of the first application is used for the first application to perform information interaction with the terminal operating system.
It is to be understood that the current interface of the first application may be any one of the display interfaces or operation interfaces in the first application, or any two or any plurality of display interfaces in the first application, or any two or any plurality of operation interfaces in the first application.
According to the scheme, the information of the current operation gesture of the preset application controlled by the user is obtained; if the current operation gesture is a preset operation gesture, acquiring a target refresh rate corresponding to the current operation gesture; and refreshing the current interface of the preset application according to the target refresh rate, so that the waste of terminal operation resources caused by refreshing the current interface at a uniform refresh rate is avoided.
If the fact that a user operates a first application is detected, obtaining a new refresh rate according to information of the first application; and refreshing the current interface of the first application according to the new refresh rate, so that the phenomenon that the interface is blocked due to different refresh rates can be avoided in the current interface change process of the terminal.
Referring to fig. 3, a schematic block diagram of a terminal according to an embodiment of the present invention is shown. The terminal 300 may be a mobile terminal such as a smart phone, a tablet computer, or other terminals, and is not limited herein. The terminal 300 of the present embodiment includes units for executing steps in the embodiment corresponding to fig. 1, and please refer to fig. 1 and the related description in the embodiment corresponding to fig. 1 for details, which are not repeated herein.
The terminal 300 of the present embodiment includes: a first fetch unit 301, a second fetch unit 302, and a first refresh unit 303. Specifically, the method comprises the following steps:
the first obtaining unit 301 is configured to obtain information of a current operation gesture of a user for operating a preset application, and send the information of the current operation gesture to the second obtaining unit.
For example, the first obtaining unit 301 obtains information of a current operation gesture of a user for manipulating a preset application, and sends the information of the current operation gesture to the second obtaining unit 302.
The second obtaining unit 302 is configured to receive information of the current operation gesture sent by the first obtaining unit 301, obtain a target refresh rate corresponding to the current operation gesture if the current operation gesture is a preset operation gesture, and send the target refresh rate to the first refresh unit 303.
For example, the second obtaining unit 302 receives the information of the current operation gesture sent by the first obtaining unit 301, and if the current operation gesture is a preset operation gesture, obtains a target refresh rate corresponding to the current operation gesture, and sends the target refresh rate to the first refresh unit 303.
The first refreshing unit 303 is configured to receive the target refresh rate sent by the second obtaining unit 302, and refresh the current interface of the preset application according to the target refresh rate.
For example, the first refreshing unit 303 receives the target refresh rate sent by the second obtaining unit 302, and refreshes the current interface of the preset application according to the target refresh rate.
According to the scheme, the information of the current operation gesture of the preset application controlled by the user is obtained; if the current operation gesture is a preset operation gesture, acquiring a target refresh rate corresponding to the current operation gesture; and refreshing the current interface of the preset application according to the target refresh rate, so that the waste of terminal operation resources caused by refreshing the current interface at a uniform refresh rate is avoided.
Referring to fig. 4, a schematic block diagram of a terminal according to another embodiment of the present invention is shown. The terminal 400 may be a mobile terminal such as a smart phone, a tablet computer, or other terminals, and is not limited herein. The terminal 400 of the present embodiment includes units for executing steps in the embodiment corresponding to fig. 2, and please refer to fig. 2 and the related description in the embodiment corresponding to fig. 2 for details, which are not described herein again.
The terminal 400 of the present embodiment includes: a first obtaining unit 401, a second obtaining unit 402, a preset refreshing unit 403, a first refreshing unit 404, an adjusting unit 405, and a second refreshing unit 406. Specifically, the method comprises the following steps:
the first obtaining unit 401 is configured to obtain information of a current operation gesture of a user for operating a preset application, and send the information of the current operation gesture to the second obtaining unit 402 or the preset refreshing unit 403.
For example, the first obtaining unit 401 obtains information of a current operation gesture of a user for manipulating a preset application, and sends the information of the current operation gesture to the second obtaining unit 402 or the preset refreshing unit 403.
Further, the first obtaining unit 401 is specifically configured to, if it is detected that the user operates the target operation interface of the preset application, obtain information of a current operation gesture of the user operating the target operation interface, and send the information of the current operation gesture to the second obtaining unit 402 or the preset refreshing unit 403.
For example, if it is detected that the user operates the target operation interface of the preset application, the first obtaining unit 401 obtains information of a current operation gesture of the user operating the target operation interface, and sends the information of the current operation gesture to the second obtaining unit 402 or the preset refreshing unit 403.
The second obtaining unit 402 is configured to receive information of the current operation gesture sent by the first obtaining unit 401, obtain a target refresh rate corresponding to the current operation gesture if the current operation gesture is a preset operation gesture, and send the target refresh rate to the first refresh unit 404.
For example, the second obtaining unit 402 receives the information of the current operation gesture sent by the first obtaining unit 401, and if the current operation gesture is a preset operation gesture, obtains a target refresh rate corresponding to the current operation gesture, and sends the target refresh rate to the first refresh unit 404.
Further, the second obtaining unit 402 is specifically configured to receive information of the current operation gesture sent by the first obtaining unit 401, and if the current operation gesture of the user operating the target operation interface is a preset operation gesture corresponding to the target operation interface, obtain a target refresh rate corresponding to the current operation gesture of the target operation interface.
For example, the second obtaining unit 402 receives the information of the current operation gesture sent by the first obtaining unit 401, and obtains the target refresh rate corresponding to the current operation gesture of the target operation interface if the current operation gesture of the target operation interface operated by the user is the preset operation gesture corresponding to the target operation interface.
The preset refreshing unit 403 is configured to receive information of the current operation gesture sent by the first obtaining unit 401, and refresh the current interface of the preset application according to a preset refresh rate if the current operation gesture is not the preset operation gesture.
For example, the preset refresh unit 403 receives the information of the current operation gesture sent by the first obtaining unit 401, and refreshes the current interface of the preset application according to a preset refresh rate if the current operation gesture is not the preset operation gesture.
The first refreshing unit 404 is configured to receive the target refresh rate sent by the second obtaining unit 402, and refresh the current interface of the preset application according to the target refresh rate.
For example, the first refreshing unit 404 receives the target refresh rate sent by the second obtaining unit 402, and refreshes the current interface of the preset application according to the target refresh rate.
The adjusting unit 405 is configured to, if it is detected that the user operates the first application, obtain a new refresh rate according to information of the first application, and send the new refresh rate to the second refreshing unit 406.
For example, if the adjusting unit 405 detects that the user operates the first application, a new refresh rate is obtained according to the information of the first application, and the new refresh rate is sent to the second refreshing unit 406.
And a second refreshing unit 406, configured to receive the new refresh rate sent by the adjusting unit 405, and refresh the current interface of the first application according to the new refresh rate.
For example, the second refreshing unit 406 receives the new refresh rate sent by the adjusting unit 405, and refreshes the current interface of the first application according to the new refresh rate.
According to the scheme, the information of the current operation gesture of the preset application controlled by the user is obtained; if the current operation gesture is a preset operation gesture, acquiring a target refresh rate corresponding to the current operation gesture; and refreshing the current interface of the preset application according to the target refresh rate, so that the waste of terminal operation resources caused by refreshing the current interface at a uniform refresh rate is avoided.
If the fact that a user operates a first application is detected, obtaining a new refresh rate according to information of the first application; and refreshing the current interface of the first application according to the new refresh rate, so that the phenomenon that the interface is blocked due to different refresh rates can be avoided in the current interface change process of the terminal.
Referring to fig. 5, a schematic block diagram of a terminal according to still another embodiment of the present invention is shown. The terminal 500 in the present embodiment shown in fig. 5 may include: one or more processors 501, one or more input devices 502, one or more output devices 503, and one or more memories 504. The processor 501, the input device 502, the output device 503 and the memory 504 are all communicated with each other through a communication bus 505.
The memory 504 is used to store program instructions.
The processor 501 is configured to perform the following operations according to program instructions stored in the memory 504:
the processor 501 is configured to obtain information of a current operation gesture of a user for manipulating a preset application.
The processor 501 is further configured to, if the current operation gesture is a preset operation gesture, obtain a target refresh rate corresponding to the current operation gesture.
The processor 501 is further configured to refresh the current interface of the preset application according to the target refresh rate.
The processor 501 is further configured to, if it is detected that the user operates the first application, obtain a new refresh rate according to information of the first application.
Processor 501 is further configured to refresh the current interface of the first application according to the new refresh rate.
The processor 501 is further configured to refresh the current interface of the preset application according to a preset refresh rate if the current operation gesture is not a preset operation gesture.
The processor 501 is specifically configured to, if it is detected that the user operates the target operation interface of the preset application, obtain information of a current operation gesture of the user operating the target operation interface.
The processor 501 is specifically configured to, if the current operation gesture of the user for operating the target operation interface is a preset operation gesture corresponding to the target operation interface, obtain a target refresh rate corresponding to the current operation gesture of the target operation interface.
According to the scheme, the information of the current operation gesture of the preset application controlled by the user is obtained; if the current operation gesture is a preset operation gesture, acquiring a target refresh rate corresponding to the current operation gesture; and refreshing the current interface of the preset application according to the target refresh rate, so that the waste of terminal operation resources caused by refreshing the current interface at a uniform refresh rate is avoided.
It should be understood that, in the embodiment of the present invention, the Processor 501 may be a Central Processing Unit (CPU), and may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 502 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a camera, a microphone, etc., and the output device 503 may include a display (LCD, etc.), a speaker, etc.
The memory 505 may include both read-only memory and random access memory and provides instructions and data to the processor 501. A portion of memory 505 may also include non-volatile random access memory. For example, memory 505 may also store information of the device type.
In a specific implementation, the processor 501, the input device 502, and the output device 503 described in this embodiment of the present invention may execute the implementation manners described in the first embodiment and the second embodiment of the method for interface refreshing provided in this embodiment of the present invention, and may also execute the implementation manners of the terminal described in this embodiment of the present invention, which is not described herein again.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the terminal and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed terminal and method can be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units in the terminal of the embodiment of the invention can be merged, divided and deleted according to actual needs.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method of interface refresh, the method comprising:
the method comprises the steps of obtaining information of a current operation gesture of a user for controlling preset applications, wherein the preset applications are a plurality of preset applications or a plurality of applications including at least one preset application;
if the current operation gesture is a preset operation gesture, acquiring a target refresh rate corresponding to the current operation gesture;
refreshing the current interface of the preset application according to the target refresh rate, wherein the current interface of the preset application is a display interface or an operation interface;
if the current operation gesture is not a preset operation gesture, refreshing the current interface of the preset application according to a preset refresh rate;
when the preset operation gesture is a plurality of operation gestures, if the current operation gesture is one of the preset operation gestures, acquiring a target refresh rate corresponding to the current operation gesture; and if the current operation gesture is two or more than two of the preset operation gestures, acquiring the maximum refresh rate of the two or more than two refresh rates corresponding to the current operation gesture as the target refresh rate.
2. The method according to claim 1, wherein the obtaining of the information of the current operation gesture of the user for manipulating the preset application comprises:
and if the situation that the user operates the target operation interface of the preset application is detected, acquiring the information of the current operation gesture of the user operating the target operation interface.
3. The method of claim 2, wherein obtaining the target refresh rate corresponding to the current operation gesture if the current operation gesture is a preset operation gesture comprises:
and if the current operation gesture of the target operation interface controlled by the user is a preset operation gesture corresponding to the target operation interface, acquiring a target refresh rate corresponding to the current operation gesture of the target operation interface.
4. The method according to claim 1, wherein after refreshing the current interface of the preset application according to the target refresh rate, the method comprises:
if the user is detected to control the first application, obtaining a new refresh rate according to the information of the first application;
and refreshing the current interface of the first application according to the new refresh rate.
5. A terminal, comprising:
the device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring information of a current operation gesture of a user for controlling preset applications, and the control preset applications are a plurality of preset applications which are controlled simultaneously or a plurality of applications including at least one preset application;
the second obtaining unit is used for obtaining a target refresh rate corresponding to the current operation gesture if the current operation gesture is a preset operation gesture;
the first refreshing unit is used for refreshing the current interface of the preset application according to the target refreshing rate, wherein the current interface of the preset application is a display interface or an operation interface;
the preset refreshing unit is used for refreshing the current interface of the preset application according to a preset refreshing rate if the current operation gesture is not the preset operation gesture;
when the preset operation gesture is a plurality of operation gestures, if the current operation gesture is one of the preset operation gestures, acquiring a target refresh rate corresponding to the current operation gesture; and if the current operation gesture is two or more than two of the preset operation gestures, acquiring the maximum refresh rate of the two or more than two refresh rates corresponding to the current operation gesture as the target refresh rate.
6. The terminal according to claim 5, wherein the first obtaining unit is specifically configured to, if it is detected that the user manipulates a target operation interface of the preset application, obtain information of a current operation gesture of the user manipulating the target operation interface.
7. The terminal according to claim 6, wherein the second obtaining unit is specifically configured to, if a current operation gesture of the user for operating the target operation interface is a preset operation gesture corresponding to the target operation interface, obtain a target refresh rate corresponding to the current operation gesture of the target operation interface.
8. The terminal of claim 7, further comprising:
the adjusting unit is used for obtaining a new refresh rate according to the information of the first application if the user is detected to control the first application;
and the second refreshing unit is used for refreshing the current interface of the first application according to the new refreshing rate.
CN201710161551.XA 2017-03-17 2017-03-17 Interface refreshing method and terminal Active CN107423039B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710161551.XA CN107423039B (en) 2017-03-17 2017-03-17 Interface refreshing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710161551.XA CN107423039B (en) 2017-03-17 2017-03-17 Interface refreshing method and terminal

Publications (2)

Publication Number Publication Date
CN107423039A CN107423039A (en) 2017-12-01
CN107423039B true CN107423039B (en) 2020-01-14

Family

ID=60423814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710161551.XA Active CN107423039B (en) 2017-03-17 2017-03-17 Interface refreshing method and terminal

Country Status (1)

Country Link
CN (1) CN107423039B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112578897A (en) * 2020-12-23 2021-03-30 北京字节跳动网络技术有限公司 Control method and device of electronic equipment, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104672A (en) * 2009-12-18 2011-06-22 深圳富泰宏精密工业有限公司 Mobile phone and method for switching landscape display modes and portrait display modes of mobile phone
CN104091579A (en) * 2014-05-30 2014-10-08 西安中兴新软件有限责任公司 Method for adjusting screen refreshing rate and terminal
CN105677225A (en) * 2016-01-12 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Interface refreshing method and system
TW201624457A (en) * 2014-12-25 2016-07-01 聯詠科技股份有限公司 Display apparatus and method for controlling refresh frequency thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104672A (en) * 2009-12-18 2011-06-22 深圳富泰宏精密工业有限公司 Mobile phone and method for switching landscape display modes and portrait display modes of mobile phone
CN104091579A (en) * 2014-05-30 2014-10-08 西安中兴新软件有限责任公司 Method for adjusting screen refreshing rate and terminal
TW201624457A (en) * 2014-12-25 2016-07-01 聯詠科技股份有限公司 Display apparatus and method for controlling refresh frequency thereof
CN105677225A (en) * 2016-01-12 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Interface refreshing method and system

Also Published As

Publication number Publication date
CN107423039A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
US20200241746A1 (en) Multi-task management method and terminal device
CN106406966B (en) Application program preloading method and mobile terminal
US10996834B2 (en) Touchscreen apparatus user interface processing method and touchscreen apparatus
WO2019223578A1 (en) Application program preloading method and apparatus, and storage medium and terminal
US9152529B2 (en) Systems and methods for dynamically altering a user interface based on user interface actions
US9432314B2 (en) Quick navigation of message conversation history
US10606469B2 (en) Device, method, and graphical user interface for managing multiple display windows
US8810535B2 (en) Electronic device and method of controlling same
CN107181858B (en) Method and terminal for displaying notification message
CN110663018A (en) Application launch in a multi-display device
US20140078091A1 (en) Terminal Device and Method for Quickly Starting Program
US20120212438A1 (en) Methods and apparatuses for facilitating interaction with touch screen apparatuses
CN104007894A (en) Portable device and method for operating multiapplication thereof
US20090225042A1 (en) Systems and methods for enhancement of mobile devices
US10319073B2 (en) Universal digital content zooming techniques
CN110377215B (en) Model display method and device and terminal equipment
EP2731011A1 (en) Shared instant media access for mobile devices
US8988369B1 (en) Restricted carousel with built-in gesture customization
CN108491152B (en) Touch screen terminal control method, terminal and medium based on virtual cursor
CN107423039B (en) Interface refreshing method and terminal
CN112269501A (en) Icon moving method and device and electronic equipment
CN107223226B (en) Apparatus and method for multi-touch input
CN111226190A (en) List switching method and terminal
CN113126867B (en) Browser control method and device, browser, terminal and storage medium
CN111213354A (en) Screen brightness adjusting method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210423

Address after: DESAY No. 9789 building, 518057 Guangdong city of Shenzhen province Nanshan District Guangdong streets Shennan Road sign layer 17 layer (natural layer 15) No. 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518040, 21 floor, Times Technology Building, 7028 Shennan Road, Futian District, Guangdong, Shenzhen

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right