CN110266875B - Prompt message display method and electronic equipment - Google Patents

Prompt message display method and electronic equipment Download PDF

Info

Publication number
CN110266875B
CN110266875B CN201910354310.6A CN201910354310A CN110266875B CN 110266875 B CN110266875 B CN 110266875B CN 201910354310 A CN201910354310 A CN 201910354310A CN 110266875 B CN110266875 B CN 110266875B
Authority
CN
China
Prior art keywords
interface
time length
type
displaying
electronic device
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
CN201910354310.6A
Other languages
Chinese (zh)
Other versions
CN110266875A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910354310.6A priority Critical patent/CN110266875B/en
Publication of CN110266875A publication Critical patent/CN110266875A/en
Application granted granted Critical
Publication of CN110266875B publication Critical patent/CN110266875B/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/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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Abstract

The embodiment of the application provides a display method of prompt information and electronic equipment, wherein the method is applied to the electronic equipment and comprises the following steps: the electronic equipment displays a first interface, the first interface comprises prompt information, when first touch operation of a user on the first interface is received at a first moment, the electronic equipment determines a first duration between a second moment of the last touch operation received before the first interface and the first moment, when the first duration is larger than a set duration threshold, the first interface is displayed, the second interface is displayed, and the second interface does not comprise the prompt information.

Description

Prompt message display method and electronic equipment
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method for displaying a prompt message and an electronic device.
Background
Smart phones have been gradually deepened into the lives of people and widely applied to the lives, meanwhile, the requirements of people on smart phones are higher and higher, touch screen mobile phones are more and more popular with people due to the fact that the touch screen mobile phones are convenient to operate, large in screen and concise and beautiful in whole, functions in the applications are more and more abundant along with more and more applications capable of being installed in the mobile phones, and the applications in the smart phones often display prompt messages (also called function guide messages) of all functions when users start for the first time. Currently, the function navigation information of a prompt box or a guide type in a mobile phone usually disappears after a user clicks a blank of an interface. Because some users may continuously click on the touch screen, it may happen that some prompt information is eliminated without being completely read by the user, and the user may miss reading important information, which affects the user experience of the user application.
Disclosure of Invention
The application provides a display method of prompt information and electronic equipment, which are used for improving the display method of the application prompt information, avoiding the prompt information from being eliminated due to the fact that a user touches the prompt information by mistake, and further improving the use experience of the user.
In a first aspect, an embodiment of the present application provides a method for displaying a prompt message, where the method is applied to an electronic device, and the method includes: the electronic equipment displays a first interface, the first interface comprises prompt information, and then the electronic equipment receives a first touch operation of a user on the first interface at a first moment. The electronic equipment determines a first duration between a second moment and a first moment of the last touch operation received by the electronic equipment before the first interface is displayed, and when the first duration is larger than a set duration threshold, the electronic equipment switches from displaying the first interface to displaying the second interface in response to the first touch operation, and the second interface does not include prompt information.
In the embodiment of the application, the electronic device controls the prompt message of the first interface to disappear only when the prompt message is greater than or equal to the set time length threshold after receiving the first touch operation by setting the time length threshold, and the method can avoid the probability event that the prompt message is mistakenly eliminated because a user is used to continuously click the screen to a certain extent.
In one possible design, before switching from displaying the first interface to displaying the second interface, the electronic device further obtains a type of the prompt message on the first interface, determines a reference display duration threshold of the prompt message according to the type, and switches from displaying the first interface to displaying the second interface when the first duration is greater than the set duration threshold and the first duration is greater than the reference display duration threshold.
In the embodiment of the application, the electronic device combines the set duration threshold and the reference display duration thresholds corresponding to different types of prompt messages, and the prompt message for controlling the first interface disappears after the first touch operation is received and the prompt message needs to be greater than or equal to the set duration threshold and the reference display duration threshold.
In one possible design, when the first duration is greater than the set duration threshold and the first duration is less than or equal to the reference display duration threshold, or when the first duration is less than or equal to the set duration threshold, the first interface is continuously displayed. And when the display duration of the prompt message is greater than or equal to the preset display duration corresponding to the type, switching from displaying the first interface to displaying the second interface, wherein the second interface does not include the prompt message. The set time length threshold is smaller than the reference display time length threshold, and the preset display time length is larger than the reference display time length threshold.
In the embodiment of the application, the electronic device combines the set duration threshold and the reference display duration thresholds corresponding to different types of prompt messages, and if the conditions are not met, the electronic device is switched to the second interface after the set display duration is reached. The method is more humanized and conforms to the use habits of users.
In one possible design, the electronic device receives at least two second touch operations of the user on the first interface, where the second touch operations occur after the first time. Determining a second time length between a third time and a first time of a first second touch operation in the received at least two second touch operations, and determining a third time length between a fourth time of an Nth second touch operation in the received at least two second touch operations and a fifth time of a received N-1 th second touch operation; n is a natural number which is more than or equal to 2, and is a total number of times of at least two second touch operations; and when the second duration and each third duration are less than or equal to the set duration threshold, responding to the first touch operation, and switching from displaying the first interface to displaying the second interface, wherein the second interface does not include prompt information.
In the embodiment of the application, the electronic device combines the touch times and the set duration threshold value, and when the user touches the screen for multiple times in a rapid and continuous manner, the user may be considered to interrupt the display of the prompt information, so that when the electronic device detects that the user touches the screen in a rapid and continuous manner, that is, at least two second touch operations are detected, and the interval durations are all less than or equal to the set duration threshold value, the electronic device may switch from displaying the first interface to displaying the second interface. Therefore, the probability event that the prompt information is eliminated by mistake due to the fact that the user clicks the screen continuously due to habit can be further avoided.
In one possible design, the type of the prompt message includes an illustration type, a dynamic effect type, a character bubble type and a character bullet box type, wherein a reference display duration threshold value corresponding to the character bubble type and the character bullet box type is greater than a reference display duration threshold value corresponding to the illustration type and the dynamic effect type.
In a second aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory. Wherein the memory is used to store one or more computer programs; the one or more computer programs stored in the memory, when executed by the processor, enable the electronic device to implement any of the possible design methodologies of any of the aspects described above.
In a third aspect, the present application further provides an apparatus including a module/unit for performing the method of any one of the possible designs of any one of the above aspects. These modules/units may be implemented by hardware, or by hardware executing corresponding software.
In a fourth aspect, this embodiment also provides a computer-readable storage medium, which includes a computer program and when the computer program runs on an electronic device, causes the electronic device to execute any one of the possible design methods of any one of the above aspects.
In a fifth aspect, the present application further provides a computer program product, which when run on a terminal, causes the electronic device to execute any one of the possible design methods of any one of the above aspects.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
Fig. 1 is a schematic structural diagram of a mobile phone according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a method for displaying prompt information according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of an interface for providing a set of pictorial type prompt messages according to an embodiment of the present application;
fig. 4 is a schematic interface diagram of a prompt message of a dynamic effect type according to an embodiment of the present application;
fig. 5 is a schematic interface diagram of a prompt message of a text bubble type according to an embodiment of the present disclosure;
fig. 6 is a schematic interface diagram of a prompt message of a pop-up box type according to an embodiment of the present disclosure;
fig. 7 is a schematic flowchart of a method for displaying prompt information according to an embodiment of the present disclosure;
fig. 8 is a schematic view of a display device for displaying prompt information according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
Exemplarily, as shown in fig. 1, the following describes an embodiment specifically by taking an electronic device 100 as an example.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 151, a wireless communication module 152, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, a SIM card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a proximity light sensor 180G, a fingerprint sensor 180H, a touch sensor 180K, and the like, and further include an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a temperature sensor, an ambient light sensor, a bone conduction sensor, and the like (not shown in the figure).
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a Neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
The processor 110 may operate the method for displaying the prompt message provided by the embodiment of the present application, so as to reduce the probability of the prompt message being eliminated due to the false touch of the user. When the processor 110 integrates different devices, such as a CPU and a GPU, the CPU and the GPU may cooperate to execute the method for displaying the prompt information provided by the embodiment of the present application, for example, part of the algorithm in the method for displaying the prompt information is executed by the CPU, and the other part of the algorithm is executed by the GPU, so as to obtain a faster processing efficiency.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
In this embodiment, the display screen 194 may be an integrated flexible display screen, or may be a spliced display screen formed by two rigid screens and a flexible screen located between the two rigid screens. After the processor 110 runs the method for displaying the prompt message provided by the embodiment of the present application, the display screen 194 receives a first touch operation when displaying the prompt message, and the processor 110 determines a first duration between a second time of a last touch operation received by the electronic device before displaying the prompt message and a first time of the first touch operation; and when the first time length is larger than the set time length threshold value, switching from displaying the first interface to displaying the second interface.
The cameras 193 (front camera or rear camera, or one camera may be both front camera and rear camera) are used to capture still images or video. In general, the camera 193 may include a photosensitive element such as a lens group including a plurality of lenses (convex lenses or concave lenses) for collecting an optical signal reflected by an object to be photographed and transferring the collected optical signal to an image sensor, and an image sensor. And the image sensor generates an original image of the object to be shot according to the optical signal.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Wherein the storage program area may store an operating system, codes of application programs (such as a camera application, a WeChat application, etc.), and the like. The storage data area may store data created during use of the electronic device 100 (e.g., images, videos, etc. captured by a camera application), and the like.
The internal memory 121 may also store codes of a display algorithm of the hint information provided by the embodiments of the present application. When the codes of the algorithm stored in the internal memory 121 are run by the processor 110, the judgment processing may be performed on the touch operation received when the display screen displays the prompt information, and when the interval duration of the touch operation is greater than the set duration threshold, the display is switched from displaying the first interface to displaying the second interface.
In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
Of course, the codes of the algorithms provided in the embodiments of the present application may also be stored in the external memory. In this case, the processor 110 may execute the code of the algorithm stored in the external memory through the external memory interface 120 to implement the anti-false touch processing on the touch operation.
The function of the sensor module 180 is described below.
The gyro sensor 180A may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180A. That is, the gyro sensor 180A may be used to detect the current motion state of the electronic device 100, such as shaking or standing still.
The acceleration sensor 180B may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). That is, the gyro sensor 180A may be used to detect the current motion state of the electronic device 100, such as shaking or standing still.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The mobile phone emits infrared light outwards through the light emitting diode. The handset uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the handset. When insufficient reflected light is detected, the handset can determine that there are no objects near the handset.
The gyro sensor 180A (or the acceleration sensor 180B) may transmit the detected motion state information (such as an angular velocity) to the processor 110. The processor 110 determines whether the electronic device 100 is currently in the handheld state or the tripod state (for example, when the angular velocity is not 0, the electronic device is in the handheld state) based on the motion state information.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine a touch event type. Visual output related to touch operations may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
Illustratively, the display screen 194 of the electronic device 100 displays a main interface including icons for a plurality of applications (e.g., a camera application, a WeChat application, etc.). The user clicks the icon of the camera application in the home interface through the touch sensor 180K, which triggers the processor 110 to start the camera application and open the camera 193. The display screen 194 displays an interface, such as a viewfinder interface, for the camera application. In the embodiment of the present application, when the display screen 194 displays the prompt information, the processor 110 performs a false touch prevention process on the touch operation received by the touch sensor 180K.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 151, the wireless communication module 152, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 151 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 151 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 151 may receive electromagnetic waves from the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit the electromagnetic waves to the modem processor for demodulation. The mobile communication module 151 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 151 may be provided in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 151 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 151 or other functional modules, independent of the processor 110.
The wireless communication module 152 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 152 may be one or more devices integrating at least one communication processing module. The wireless communication module 152 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 152 may also receive a signal to be transmitted from the processor 110, frequency-modulate it, amplify it, and convert it into electromagnetic waves via the antenna 2 to radiate it.
In addition, the electronic device 100 may implement an audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playing, recording, etc. The electronic device 100 may receive key 190 inputs, generating key signal inputs related to user settings and function control of the electronic device 100. Electronic device 100 may generate a vibration alert (e.g., an incoming call vibration alert) using motor 191. The indicator 192 in the electronic device 100 may be an indicator light, and may be used to indicate a charging status, a power change, or a message, a missed call, a notification, etc. The SIM card interface 195 in the electronic device 100 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195.
It should be understood that in practical applications, the electronic device 100 may include more or less components than those shown in fig. 1, and the embodiment of the present application is not limited thereto.
In some embodiments of the present application, the electronic device 100 shown in FIG. 1 may also include other functionsPortable electronic devices such as personal digital assistants and/or music player functions, such as cell phones, tablet computers, wearable devices with wireless communication capabilities (e.g., smart watches), and the like. Exemplary embodiments of the portable electronic device include, but are not limited to, a mount
Figure GDA0002662177280000061
Figure GDA0002662177280000062
Or other operating system. The portable electronic device may also be other portable electronic devices such as laptop computers (laptop) with touch sensitive surfaces (e.g., touch panels), etc. It should also be understood that in some other embodiments of the present application, the electronic device 100 may not be a portable electronic device, but may be a desktop computer with a touch-sensitive surface (e.g., a touch panel).
At present, when a user opens a new application, usually, the interface automatically prompts the prompt information of some functions, and when the user clicks the screen, the interface automatically switches to display the prompt information of the next function. Some complex applications or functions usually display a plurality of pieces of prompt information on the interface continuously, and because these prompt information will disappear from the interface automatically after receiving the touch operation of the user at present, when the user clicks the screen continuously due to habit, some prompt information may disappear from the interface without being completely read by the user, so that the user may miss reading some information, thereby affecting the user experience. As shown in fig. 3, first prompt information of the gesture operation guide is displayed on the desktop of the mobile phone in (a) in fig. 3, and includes a gesture and corresponding text content for enlarging the manageable desktop with two fingers. In the prior art, when a user clicks any position on a screen, the prompt message disappears.
Based on the above problem, the embodiment of the present application provides a method for displaying a prompt message, as shown in fig. 2, where the method may be applied to the electronic device shown in fig. 1 or similar to the functional structure of fig. 1, that is, the method may be executed by each hardware part in the electronic device in combination with a corresponding software program, and the specific steps are as follows.
In step 201, the processor 110 in the electronic device displays a first interface on the display screen 194, where the first interface may include icons of a plurality of applications, and when an application is opened, function prompt information for prompting how to use and operate the application may also be displayed in the display interface of the application.
For example, referring to fig. 3 to 5, assuming that the electronic device is a mobile phone as shown in the figures, the first interface may display an illustration-type prompt message as shown in fig. 3, or a dynamic-effect prompt message as shown in fig. 4, and a text bubble prompt message or a pop-up box prompt message as shown in fig. 5.
In step 202, the processor 110 in the electronic device receives a first touch operation of a user on a first interface through the display screen 194 at a first time. That is to say, when the prompt information is displayed on the interface of the electronic device, the electronic device detects a first touch operation performed on the first interface by the user.
In step 203, the processor 110 in the electronic device determines a first duration between a second time and a first time of a last touch operation received by the electronic device before the first interface is displayed.
In other words, within a time period before the electronic device displays the first interface including the prompt message, a time point of the last touch operation received by the electronic device is a second time, and the electronic device calculates a first time period between the second time and the first time. Generally, the last touch operation received by the electronic device before the first interface is displayed is an operation for triggering the display of the prompt message.
In step 204, when it is determined that the first duration is greater than the set duration threshold, in response to the first touch operation, the processor 110 in the electronic device switches from displaying the first interface to displaying the second interface on the display screen 194, where the second interface does not include the prompt information.
In this embodiment, a preset set time threshold may be stored in the internal memory 121 of the electronic device, or stored in a remote third-party storage device, and the processor 110 controls the prompt information of the first interface to disappear after receiving the first touch operation only when determining that a time interval between the previous and subsequent second touch operations and the first touch operation, that is, the first time, is greater than the set time threshold read from the internal memory 121, or greater than the set time threshold read from the third-party storage device through the external memory interface 120. Therefore, the method can avoid the probability event that the prompt information is mistakenly eliminated due to the fact that the user continuously clicks the screen in habit to a certain extent.
In an alternative embodiment, the electronic device may further obtain a type of the prompt message on the first interface, for example, an illustration type, a animation type, a text bubble type, a text box type, and the like. And then the electronic equipment determines a reference display time length threshold of the prompt message according to the type of the prompt message. Furthermore, when the first duration is greater than the set duration threshold and the first duration is greater than the reference display duration threshold corresponding to the type of the prompt message, the electronic device switches from displaying the first interface to displaying the second interface, so that a probability event that the prompt message is mistakenly eliminated due to the fact that a user is accustomed to continuously clicking the screen can be further avoided.
In general, the set duration threshold may be less than the reference display duration threshold. For example, the set duration threshold is 500 milliseconds, and the reference display duration threshold may be 1 second or 2 seconds. For example, different reference display duration thresholds corresponding to the reference display duration thresholds of different types of prompt messages may be set as shown in table one.
TABLE 1
Type (B) Reference display duration threshold
Picture type (with picture as main and character as auxiliary) 1 second
Type of dynamic effect (animation as main, character as auxiliary) 2 seconds
Character bubble type (pure character) 2 seconds
Type of elastic frame (character is main) 3 seconds
The types in table 1 are types of prompt messages commonly used by an operating system at present, and the display method of the prompt messages provided in the embodiment of the present application is also applicable to other types of prompt messages, that is, the types of the prompt messages applicable in the embodiment of the present application include, but are not limited to, the types shown in the above examples. The illustration type prompt message generally consists of a simple operation graph and prompt characters, and may be in a full screen or a non-full screen. As shown in fig. 3, first prompt information of the gesture operation guide is displayed on the desktop of the mobile phone in (a) in fig. 3, and includes a gesture and corresponding text content for enlarging the manageable desktop with two fingers. In fig. 3 (b), second prompt information (which is an illustration type prompt information) of the gesture operation guide is displayed on the desktop of the mobile phone, and includes a gesture and corresponding text content for kneading the manageable desktop with two fingers. If the mobile phone receives a first touch operation of the user on the interface shown in fig. 3, the mobile phone determines that the first time length described above is greater than a set time length threshold (e.g., 500ms), and is greater than a time length 1s corresponding to the prompt information of the illustration type shown in table 1, and the prompt information on the mobile phone disappears after receiving the first touch operation.
In addition, the content displayed by the prompt information of the dynamic effect type is an operation guide of a graph and an animation, and the prompt information disappears immediately when the position outside the prompt information display area is clicked. As shown in fig. 4, when the user selects the screen capture operation, the active process of the screen capture is displayed on the interface of the mobile phone. Assuming that the mobile phone receives a first touch operation of the user on the interface shown in fig. 4 (the first touch operation falls outside the display area of the prompt message), when the first time length described above is greater than the set time length threshold (e.g., 500ms) and greater than the time length 2s corresponding to the prompt message of the dynamic effect type shown in table 1, the prompt message on the mobile phone disappears after receiving the first touch operation.
For another example, the prompt message of text bubble type generally appears near the guided operation area, and mainly consists of pure text or text plus icon. As shown in fig. 5, when the cell phone detects that the cursor falls within the search box control, a prompt "click, cell phone can be set with voice" is displayed. Assuming that the mobile phone receives a first touch operation of the user on the interface shown in fig. 5, when the first time length described above is greater than a set time length threshold (e.g., 500ms) and greater than the time length 2s corresponding to the prompt information of the text bubble type shown in table 1, the prompt information on the mobile phone disappears after receiving the first touch operation.
Fig. 6 shows prompt information of a bullet box type, which may be in a full screen or a non-full screen. In fig. 6, when the mobile phone detects that the current interface is a new contact interface, a prompt message "import address book" and related image and text contents pop up. Assuming that the mobile phone receives a first touch operation (the first touch operation falls outside the display area of the prompt message) of the user on the interface shown in fig. 6, when the first duration is greater than a set duration threshold (e.g., 500ms) and is greater than the duration 3s corresponding to the prompt message of the pop-up box type shown in table 1, the prompt message on the mobile phone disappears after receiving the first touch operation.
The value of the reference display duration threshold is generally obtained through experience, and may be preset in the internal memory 121 by a manufacturer before the electronic device leaves a factory, or may be manually set by a user after the electronic device leaves the factory, and when the user manually sets the value, the value may be input into the electronic device in various manners, for example, in a voice control manner or a text input manner, and then the processor 110 of the electronic device obtains the reference display duration threshold input by the user and stores the reference display duration threshold in the internal memory 121, or the user may store the reference display duration threshold manually set by the user in a remote third-party memory. Generally, since more time is consumed for reading the text, the reference display duration threshold corresponding to the text bubble type and the text box type is usually greater than the reference display duration threshold corresponding to the illustration type and the animation type.
In table 1 of the embodiment of the present application, the reason for setting the specific value of the reference display duration threshold of the prompt information of the illustration type may be: the time delay within 1 second can still maintain the cardio-fluid test, and the user generally does not exceed 700ms at most when reading a certain target to watch, so the time length threshold is displayed by taking 1 second as a reference. The reason for setting the specific value of the reference display duration threshold of the dynamic effect type prompt message may be as follows: the action duration of the interface design is typically between 200ms and 500ms, and if the individual prompt action is longer than 500ms, the reference display duration threshold may be 2 seconds, since 2 seconds is typically an unacceptable response delay threshold, triggering short term memory. The reason for setting the specific value of the reference display duration threshold of the prompt message of the text bubble type may be: short bubble prompts are generally about 10 words, and generally about 2000ms is needed for completing reading. The reason for setting the specific value of the reference display duration threshold of the prompt message of the popup box type may be: the bullet box guide information is more complex than the text bubble, and takes about 3000ms to read out, taking the 25-word prompt as an example.
In an alternative embodiment, the processor 110 in the electronic device may always display the first interface (with the prompt message in the first interface) on the display screen 194 when the first time length described above is greater than the set time length threshold and the first time length is less than or equal to the reference display time length threshold described above, or when the first time length is less than or equal to the set time length threshold; until the display duration of the prompt message is greater than or equal to the preset display duration, the processor 110 switches from displaying the first interface to displaying the second interface on the display screen 194, and the second interface no longer includes the prompt message.
In addition, the electronic device can also set corresponding preset display duration for each type of prompt message in advance, namely when the prompt message display duration reaches the corresponding preset display duration, the prompt message can also automatically disappear from the display screen. Usually, the set duration threshold is smaller than the reference display duration threshold, and the preset display duration is greater than the reference display duration threshold. For example, the set time length threshold is 500ms, the reference display time length threshold is 1s, and the preset display time length is 1.2 s.
For example, when the first time duration between the first touch operation of the user and the previous touch operation is short (for example, less than 500ms), the mobile phone continues to display the prompt message until the prompt message reaches the preset display time duration, and the prompt message automatically disappears from the interface. For another example, when the prompt message is an illustration type prompt message, the first time between the first touch operation and the previous touch operation of the mobile phone is longer than 500ms but shorter than the reference display time threshold by 1 second, so that the mobile phone continues to display the prompt message until the prompt message reaches the preset display time corresponding to the preset illustration type prompt message, and the prompt message automatically disappears from the interface.
Correspondingly, different types of prompt messages may also correspond to different preset display durations, for example, different preset display durations corresponding to different types of prompt messages may be as shown in table 2 below.
TABLE 2
Figure GDA0002662177280000081
Figure GDA0002662177280000091
Generally, values of different preset display durations corresponding to different types of prompt messages may also be obtained through experience, and may be preset in the internal memory 121 by a manufacturer before the electronic device leaves a factory, or may be manually set by a user after the electronic device leaves the factory, and when the user manually sets the values, the values may be input into the electronic device in various manners, such as in a voice control manner or a text input manner, and then the preset display duration input by the user is acquired by the processor 110 of the electronic device and stored in the internal memory 121, or the preset display duration manually set by the user may be stored in a remote third-party memory by the user.
In an alternative embodiment, the processor 110 in the electronic device may further receive at least two second touch operations of the user on the first interface after receiving the first touch operation through the display screen 194, where the second touch operations occur after the first time point described in step 202. The processor 110 determines a second time length between a third time and a first time of a first second touch operation of the received at least two second touch operations, and determines at least one third time length between a fourth time of an nth second touch operation of the received at least two second touch operations and a fifth time of an N-1 st second touch operation (where N continuously takes a natural number from 2, and a maximum value of N is a total number of times of occurrence of the second touch operations); when the second duration and each third duration are both less than or equal to the set duration threshold, the processor 110 switches from displaying the first interface to displaying the second interface on the control display screen 194, and the second interface does not include the prompt information, so that a probability event that the prompt information is mistakenly eliminated due to the fact that the user continuously clicks the screen due to habit can be further avoided.
For example, after receiving a first touch operation of a user, the mobile phone further receives two consecutive second touch operations of the user on the first interface, where a time when the first second touch operation is detected is a second time, and a time when the second touch operation is detected is a third time. And when the electronic equipment determines that the second time between the second moment and the first moment is less than or equal to the preset time threshold, and the third time between the third moment and the second moment is less than or equal to the set time threshold, the electronic equipment switches from displaying the first interface to displaying the second interface. That is, when the user touches the screen quickly and continuously, it may be considered that the user wants to interrupt the display of the prompt information, and therefore the electronic device may switch from displaying the first interface to displaying the second interface when detecting that the user touches the screen quickly and continuously.
In order to more systematically describe the display method of the prompt information provided in the embodiments of the present application, the present implementation further provides a processing flow shown in fig. 7, and the specific steps are as follows.
Step 701, the electronic device displays a first interface. The first interface includes a prompt.
Exemplarily, the electronic device displays an interface as shown in (a) of fig. 3, and prompt information of a gesture operation manner is displayed on the interface.
In step 702, the electronic device receives a first touch operation of a user on a first interface.
For example, the first touch operation may be a click operation, a slide operation, or another type of touch operation, which is not limited in this application.
Step 703 is to determine a first duration between a second time and a first time of a last touch operation received by the electronic device before the first interface is displayed.
In step 704, the electronic device determines whether the first duration is greater than a set duration threshold, if so, step 705 is executed, otherwise, step 708 or step 713 is executed.
Step 705, the electronic device obtains the type of the prompt message, and determines a reference display duration threshold according to the type of the prompt message.
For example, if the type of the guidance information is an illustration type, the reference display time threshold is determined to be 1 second.
In step 706, the electronic device determines whether the first duration is greater than a reference display duration threshold, if so, step 707 is executed, and if not, step 713 is executed.
In step 707, the electronic device switches from displaying the first interface to displaying the second interface. Wherein the prompt message is no longer included in the second interface.
In step 708, if the first duration is less than or equal to the set duration threshold, the electronic device further receives at least two second touch operations.
In step 709, the electronic device determines a second duration between a third time of a first second touch operation and a first time of the received at least two second touch operations, and determines a third duration between a fourth time of an N-1 th second touch operation and a fifth time of an nth second touch operation.
In step 710, the electronic device determines whether the second duration and the third duration are both less than or equal to a set duration threshold, if so, step 707 is executed, otherwise, step 711 is executed.
Step 711, the electronic device obtains the type of the prompt message, and determines a reference display duration threshold according to the type of the prompt message.
In step 712, the electronic device determines whether the second duration is greater than the reference display duration threshold and/or the third duration is greater than the reference display duration threshold, if so, step 707 is executed, otherwise, step 713 is executed.
Step 713, when the first duration is less than or equal to the set duration threshold, or less than or equal to the reference display duration threshold, the electronic device continues to display the first interface, or when the second duration and/or the third duration is less than or equal to the set duration threshold, the electronic device continues to display the first interface.
In step 714, the electronic device determines whether the display duration of the prompt message is greater than or equal to a set display duration. If yes, go to step 715, otherwise go back to step 713.
In step 715, the electronic device switches from displaying the first interface to displaying the second interface. Wherein the prompt message is no longer included in the second interface.
The embodiment of the present application further provides a display device of the prompt message, as shown in fig. 8, the device includes a processing unit 801, a communication unit 802, an input unit 803, an output unit 804, and a storage unit 805. It will be understood by those skilled in the art that the unit modules shown in the figures are not intended to limit the present application, and may be in a bus configuration, a star configuration, more or less unit modules than those shown, or a different arrangement of unit modules.
The input unit 803 is used for enabling interaction between a user and the electronic device and/or inputting information into the electronic device. For example, the input unit may receive numeric or character information input by a user to generate a signal input related to user setting or function control. In the embodiments of the present application, the input unit may be a touch panel, other human-computer interaction interfaces, such as an entity input key and a microphone, or other external information capturing devices, such as a camera. A touch panel, also referred to as a touch screen or touch screen, may collect an operation action on which a user touches or approaches. For example, the user uses any suitable object or accessory such as a finger, a stylus, etc. to operate on or near the touch panel, and drives the corresponding connection device according to a preset program. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects touch operation of a user, converts the detected touch operation into an electric signal and transmits the electric signal to the touch controller; the touch controller receives the electrical signal from the touch sensing device and converts it to touch point coordinates, which are then fed to the processing unit. The touch controller can also receive and execute commands sent by the processing unit. In addition, the touch panel may be implemented in various types, such as resistive, capacitive, Infrared (Infrared), and surface acoustic wave. In other embodiments of the present application, the physical input keys employed by the input unit may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. An input unit in the form of a microphone may collect speech input by a user or the environment and convert it into commands executable by the processing unit in the form of electrical signals. In some other embodiments of the present application, the input unit may also be various sensing devices, such as hall devices, for detecting physical quantities of the electronic device, such as force, moment, pressure, stress, position, displacement, speed, acceleration, angle, angular velocity, number of rotations, rotational speed, and time of change of operating state, and converting the physical quantities into electric quantities for detection and control. Other sensing devices may also include gravity sensors, three-axis accelerometers, gyroscopes, etc.
In some other embodiments of the present application, the processing unit 801 is a control center of the electronic device, and connects various parts of the whole electronic device by using various interfaces and lines, and executes various functions of the electronic device and/or processes data by running or executing software programs and/or modules stored in the storage unit and calling data stored in the storage unit. The processing unit may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs with the same or different functions may be connected to each other. For example, the Processing Unit may include only a Central Processing Unit (CPU), or may be a combination of a GPU, a Digital Signal Processor (DSP), and a control chip (e.g., a baseband chip) in the communication Unit. In the embodiments of the present application, the CPU may be a single arithmetic core or may include multiple arithmetic cores.
In some other embodiments of the present application, the communication unit 802 is configured to establish a communication channel through which the electronic device connects to a remote server and downloads media data from the remote server. The communication unit may include a Wireless Local Area Network (wlan) module, a bluetooth module, a baseband (Base Band) module, and other communication modules, and a Radio Frequency (RF) circuit corresponding to the communication module, and is configured to perform wlan communication, bluetooth communication, infrared communication, and/or cellular communication system communication, such as Wideband Code Division Multiple Access (W-CDMA) and/or High Speed Downlink Packet Access (HSDPA). The communication module is used for controlling communication of each component in the electronic equipment and can support Direct Memory Access (Direct Memory Access).
In different embodiments of the present application, the various communication modules in the communication unit 802 are generally in the form of Integrated Circuit chips (Integrated Circuit chips), and can be selectively combined without including all the communication modules and corresponding antenna groups. For example, the communication unit may comprise only a baseband chip, a radio frequency chip and a corresponding antenna to provide communication functionality in a cellular communication system. The electronic device may be connected to a Cellular Network or the Internet (Internet) via a wireless communication connection established by the communication unit, such as a wireless local area Network access or a WCDMA access. In some optional embodiments of the present application, the communication module, e.g., the baseband module, in the communication unit may be integrated into a processing unit, typically an APQ + MDM series platform as provided by Qualcomm corporation.
In various embodiments of the present application, the output unit 804 includes, but is not limited to, a video output unit and a sound output unit. The image output unit is used for outputting characters, pictures and/or videos. The image output unit may include a Display panel, such as a Display panel configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), a Field Emission Display (FED), and the like. Alternatively, the image output unit may include a reflective display, such as an electrophoretic (electrophoretic) display, or a display using an Interferometric Modulation of Light (Interferometric Modulation). The image output unit may include a single display or a plurality of displays of different sizes. In an embodiment of the present invention, the touch panel used in the input unit can also be used as a display panel of the output unit. For example, when the touch panel detects a gesture operation of touch or proximity thereon, the gesture operation is transmitted to the processing unit to determine the type of the touch event, and then the processing unit provides a corresponding visual output on the display panel according to the type of the touch event. Although the input unit and the output unit are shown in fig. 1 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel may be integrated with the display panel to implement the input and output functions of the electronic device. For example, the image output unit may display various Graphical User Interfaces (GUIs) as virtual control elements, including but not limited to windows, scroll shafts, icons, and scrapbooks, for a User to operate in a touch manner.
In an embodiment of the present invention, the image output unit includes a filter and an amplifier for filtering and amplifying the video output by the processing unit. The audio output unit includes a digital-to-analog converter for converting the audio signal output by the processing unit from a digital format to an analog format.
In various embodiments of the present application, the storage unit 805 may be used for storing software programs and modules, and the processing unit executes various functional applications of the electronic device and implements data processing by running the software programs and modules stored in the storage unit. The storage unit mainly comprises a program storage area and a data storage area, wherein the program storage area can store an operating system and application programs required by at least one function, such as a sound playing program, an image playing program and the like; the data storage area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. In the embodiments of the present disclosure, the Memory unit may include a volatile Memory, such as a Nonvolatile dynamic Random Access Memory (NVRAM), a Phase Change Random Access Memory (PRAM), a Magnetoresistive Random Access Memory (MRAM), and a non-volatile Memory, such as at least one magnetic disk Memory device, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a flash Memory device, such as a flash Memory (NOR) or a flash Memory (NAND). The nonvolatile memory stores an operating system and an application program executed by the processing unit. The processing unit loads operating programs and data from the non-volatile memory into the memory and stores digital content in the mass storage device. The operating system includes various components and/or drivers for controlling and managing conventional system tasks, such as memory management, storage device control, power management, etc., as well as facilitating communication between various hardware and software components. In the embodiment of the present application, the operating system may be an Android system developed by Google, an iOS system developed by Apple, a Windows operating system developed by Microsoft, or an embedded operating system such as Vxworks.
The application programs include any application installed on the electronic device including, but not limited to, browser, email, instant messaging service, word processing, keyboard virtualization, Widget (Widget), encryption, digital rights management, voice recognition, voice replication, positioning (e.g., functions provided by the global positioning system), music playing, and so forth.
An embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium includes a computer program, and when the computer program runs on an electronic device, the electronic device is caused to execute any one of the possible implementations of the information processing method.
Embodiments of the present application further provide a computer program product, which, when running on an electronic device, enables the electronic device to execute any one of the possible implementations of the information processing method.
In other embodiments of the present application, an embodiment of the present application discloses an electronic device, which may include, as shown in fig. 9: a processor 901; a memory 902; and one or more computer programs 903, which may be connected by one or more communication buses 904.
Wherein the one or more computer programs 903 are stored in the memory 902 and configured to be executed by the processor 901, the one or more computer programs 903 comprising instructions which may be used to perform the steps as in the respective embodiment of fig. 9.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
Each functional unit in the embodiments of the present application 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 solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A method for displaying prompt information is applied to electronic equipment, and is characterized by comprising the following steps:
displaying a first interface, wherein the first interface comprises prompt information;
acquiring the type of the prompt message on the first interface;
determining a reference display duration threshold of the prompt message according to the type;
receiving a first touch operation of a user on the first interface at a first moment;
determining a first duration between a second moment of a last touch operation received by the electronic equipment before the first interface is displayed and the first moment;
when the first time length is larger than a set time length threshold value and the first time length is larger than the reference display time length threshold value, responding to the first touch operation, and switching from displaying the first interface to displaying a second interface, wherein the second interface does not include the prompt message.
2. The method of claim 1, further comprising:
when the first time length is larger than the set time length threshold value, and the first time length is smaller than or equal to the reference display time length threshold value, or when the first time length is smaller than or equal to the set time length threshold value, continuously displaying the first interface;
when the display duration of the prompt message is greater than or equal to the preset display duration corresponding to the type, switching from displaying the first interface to displaying a second interface, wherein the second interface does not include the prompt message;
the set duration threshold is smaller than the reference display duration threshold, and the preset display duration is larger than the reference display duration threshold.
3. The method according to claim 1 or 2, wherein when the first time length is less than or equal to the set time length threshold, the method further comprises:
receiving at least two second touch operations of the user on the first interface, wherein the second touch operations occur after the first time;
determining a second time length between a third time of a first second touch operation in the at least two second touch operations and the first time, and determining a third time length between a fourth time of an Nth second touch operation in the at least two second touch operations and a fifth time of an N-1 th second touch operation; n is a natural number which is more than or equal to 2, and is a total number of times of at least two second touch operations;
and when the second duration and each third duration are less than or equal to the set duration threshold, responding to the first touch operation, and switching from displaying the first interface to displaying a second interface, wherein the second interface does not include the prompt message.
4. The method according to claim 1 or 2, wherein the type of the prompt message comprises an illustration type, an animation type, a text bubble type, and a text box type, wherein a reference display duration threshold corresponding to the text bubble type and the text box type is greater than a reference display duration threshold corresponding to the illustration type and the animation type.
5. An electronic device comprising to one or more processors and one or more memories and a display,
the memory for storing one or more computer programs;
the memory stores one or more computer programs that, when executed by the processor, cause the electronic device to perform:
displaying a first interface, wherein the first interface comprises prompt information;
acquiring the type of the prompt message on the first interface;
determining a reference display duration threshold of the prompt message according to the type;
receiving a first touch operation of a user on the first interface at a first moment;
determining a first duration between a second moment of a last touch operation received by the electronic equipment before the first interface is displayed and the first moment;
when the first time length is larger than a set time length threshold value and the first time length is larger than the reference display time length threshold value, responding to the first touch operation, and switching from displaying the first interface to displaying a second interface, wherein the second interface does not include the prompt message.
6. The electronic device of claim 5, further comprising:
when the first time length is larger than the set time length threshold value, and the first time length is smaller than or equal to the reference display time length threshold value, or when the first time length is smaller than or equal to the set time length threshold value, continuously displaying the first interface;
when the display duration of the prompt message is greater than or equal to the preset display duration corresponding to the type, switching from displaying the first interface to displaying a second interface, wherein the second interface does not include the prompt message;
the set duration threshold is smaller than the reference display duration threshold, and the preset display duration is larger than the reference display duration threshold.
7. The electronic device of claim 5 or 6, further comprising:
receiving at least two second touch operations of the user on the first interface, wherein the second touch operations occur after the first time;
determining a second time length between a third time of a first second touch operation in the at least two second touch operations and the first time, and determining a third time length between a fourth time of an Nth second touch operation of the at least two second touch operations and a fifth time of an N-1 th second touch operation, wherein N is a natural number greater than or equal to 2, and is a total number value of the at least two second touch operations;
and when the second duration and the third duration are less than or equal to the set duration threshold, responding to the first touch operation, and switching from displaying the first interface to displaying a second interface, wherein the second interface does not include the prompt message.
8. The electronic device according to claim 5 or 6, wherein the type of the prompt message includes an illustration type, an animation type, a text bubble type, and a text box type, and wherein a reference display duration threshold corresponding to the text bubble type and the text box type is greater than a reference display duration threshold corresponding to the illustration type and the animation type.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium includes a computer program which, when run on an electronic device, causes the electronic device to execute the method of displaying a guidance information according to any one of claims 1 to 4.
CN201910354310.6A 2019-04-29 2019-04-29 Prompt message display method and electronic equipment Active CN110266875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910354310.6A CN110266875B (en) 2019-04-29 2019-04-29 Prompt message display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910354310.6A CN110266875B (en) 2019-04-29 2019-04-29 Prompt message display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110266875A CN110266875A (en) 2019-09-20
CN110266875B true CN110266875B (en) 2020-12-15

Family

ID=67914043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910354310.6A Active CN110266875B (en) 2019-04-29 2019-04-29 Prompt message display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110266875B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732535B (en) * 2021-03-31 2021-06-22 荣耀终端有限公司 Method for controlling time-limited use of application program and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984468A (en) * 2014-04-21 2014-08-13 联想(北京)有限公司 Method and device for information processing
CN104007807A (en) * 2013-02-25 2014-08-27 腾讯科技(深圳)有限公司 Method for obtaining client utilization information and electronic device
CN106681625A (en) * 2016-11-29 2017-05-17 珠海市魅族科技有限公司 Method and device for preventing misoperations
CN107395892A (en) * 2017-08-08 2017-11-24 北京奇安信科技有限公司 A kind of instant message processing method and processing device
CN108459758A (en) * 2018-01-23 2018-08-28 深圳天珑无线科技有限公司 It prevents from notifying the overdue method, device and mobile terminal hit
CN108733285A (en) * 2018-04-24 2018-11-02 维沃移动通信有限公司 A kind of reminding method and terminal device
CN109324725A (en) * 2018-08-21 2019-02-12 苏州达家迎信息技术有限公司 A kind of prompt information generation method, device, equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9612740B2 (en) * 2013-05-06 2017-04-04 Barnes & Noble College Booksellers, Inc. Swipe-based delete confirmation for touch sensitive devices
CN103309588B (en) * 2013-06-19 2015-12-23 广东欧珀移动通信有限公司 A kind of method, Apparatus and system preventing mobile terminal maloperation
KR102605470B1 (en) * 2016-01-06 2023-11-23 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN106648380A (en) * 2017-01-17 2017-05-10 网易(杭州)网络有限公司 Method and system for displaying prompt information and readable storage medium
CN108900714A (en) * 2018-07-18 2018-11-27 维沃移动通信有限公司 A kind of reminding method and terminal
CN109284046B (en) * 2018-09-18 2021-04-27 广州虎牙信息科技有限公司 Method, device, terminal and storage medium for controlling control

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104007807A (en) * 2013-02-25 2014-08-27 腾讯科技(深圳)有限公司 Method for obtaining client utilization information and electronic device
CN103984468A (en) * 2014-04-21 2014-08-13 联想(北京)有限公司 Method and device for information processing
CN106681625A (en) * 2016-11-29 2017-05-17 珠海市魅族科技有限公司 Method and device for preventing misoperations
CN107395892A (en) * 2017-08-08 2017-11-24 北京奇安信科技有限公司 A kind of instant message processing method and processing device
CN108459758A (en) * 2018-01-23 2018-08-28 深圳天珑无线科技有限公司 It prevents from notifying the overdue method, device and mobile terminal hit
CN108733285A (en) * 2018-04-24 2018-11-02 维沃移动通信有限公司 A kind of reminding method and terminal device
CN109324725A (en) * 2018-08-21 2019-02-12 苏州达家迎信息技术有限公司 A kind of prompt information generation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110266875A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN110865744B (en) Split-screen display method and electronic equipment
CN108702446B (en) Photographing method and terminal
WO2021036628A1 (en) Touch-control method for device with folding screen, and folding-screen device
CN114741011B (en) Terminal display method and electronic equipment
US20200183574A1 (en) Multi-Task Operation Method and Electronic Device
WO2021063237A1 (en) Control method for electronic device, and electronic device
WO2018214734A1 (en) Photographing control method and related product
CN112136100A (en) Shooting method and electronic equipment
CN111712787B (en) Display control method and terminal
CN110308956B (en) Application interface display method and device and mobile terminal
CN107943374B (en) Method for starting application program in foldable terminal and foldable terminal
EP3388932B1 (en) Flexible display of electronic device and method for operating same
CN110837327B (en) Message viewing method and terminal
CN108446058B (en) Mobile terminal operation method and mobile terminal
KR20210068097A (en) Method for controlling display of system navigation bar, graphical user interface and electronic device
CN111338530B (en) Control method of application program icon and electronic equipment
CN110362366B (en) Application interface display method and device
EP3309670B1 (en) Method for responding to operation track and operation track response apparatus
CN112181572A (en) Interactive special effect display method and device, terminal and storage medium
CN114341789A (en) Touch control method and electronic equipment
CN108734662B (en) Method and device for displaying icons
CN114401336B (en) Electronic equipment, operation method thereof, chip and computer storage medium
CN109126127B (en) Game control method, dual-screen mobile terminal and computer-readable storage medium
CN110266875B (en) Prompt message display method and electronic equipment
CN111666076B (en) Layer adding method, device, terminal and storage medium

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
GR01 Patent grant
GR01 Patent grant