CN111966278B - Prompting method of terminal equipment, terminal equipment and storage medium - Google Patents

Prompting method of terminal equipment, terminal equipment and storage medium Download PDF

Info

Publication number
CN111966278B
CN111966278B CN202010885652.3A CN202010885652A CN111966278B CN 111966278 B CN111966278 B CN 111966278B CN 202010885652 A CN202010885652 A CN 202010885652A CN 111966278 B CN111966278 B CN 111966278B
Authority
CN
China
Prior art keywords
function
terminal device
data
amplitude scaling
environmental
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
CN202010885652.3A
Other languages
Chinese (zh)
Other versions
CN111966278A (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010885652.3A priority Critical patent/CN111966278B/en
Publication of CN111966278A publication Critical patent/CN111966278A/en
Application granted granted Critical
Publication of CN111966278B publication Critical patent/CN111966278B/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
    • 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

Landscapes

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

Abstract

The application provides a prompting method of a terminal device, the terminal device and a storage medium, wherein the method comprises the steps of responding to a trigger event acting on a function control in a graphical user interface, obtaining feedback data corresponding to the function control, collecting environmental parameters of an environment where the terminal device is located, determining vibration prompting data according to the feedback data and the environmental parameters, and controlling the terminal device to vibrate according to the vibration prompting data. In the scheme, the vibration prompt data reflects the response process of the event triggered by the function control, and the control terminal device vibrates according to the vibration prompt data, so that the user is prompted of the response process of the function control in a severe environment.

Description

Prompting method of terminal equipment, terminal equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method for prompting a terminal device, and a storage medium.
Background
With the popularization of smart devices, more and more Application programs (APP) are developed and used. The application program usually runs on the intelligent terminal, and data transmission between the application program and the server is realized through communication connection between the intelligent terminal and the server.
When the user uses the application program, the application program is started through the starting icon on the intelligent device, and an instruction is input through the control displayed on the display interface of the application program. For example: and inputting instructions through the button control. And triggering a corresponding event by the control, and feeding back a response result after the response of the event is finished. Because the response event is long, it is usually indicated by the display screen that the event is being responded to during the response process. For example: when the user refreshes the page through the pull-down display interface, the refreshing animation can be played in the refreshing process so as to prompt the user that the refreshing is carried out.
However, in the prior art, when the environment of the user is severe, the user cannot know the response progress of the application program.
Disclosure of Invention
The application provides a prompting method of a terminal device, the terminal device and a storage medium, and aims to provide a technical scheme for providing prompting information for a user in a severe environment.
In a first aspect, the present application provides a method for prompting a terminal device, where a graphical user interface is provided by the terminal device, and the method includes:
responding to a trigger event acting on a function control in a graphical user interface, and acquiring feedback data corresponding to the function control;
acquiring environmental parameters of the environment where the terminal equipment is located;
determining vibration prompt data according to the feedback data and the environmental parameters;
and controlling the terminal equipment to vibrate according to the vibration prompt data.
Optionally, the method further comprises:
and displaying the animation corresponding to the function control on the graphical user interface according to the trigger event.
Optionally, the obtaining of the feedback data corresponding to the function control specifically includes:
and acquiring an animation function of the animation corresponding to the functional control, wherein the feedback data comprises the animation function.
Optionally, determining vibration prompt data according to the feedback data and the environmental parameter specifically includes:
determining an amplitude scaling coefficient according to the environment parameter;
and carrying out scaling processing on the amplitude of the animation function according to the amplitude scaling coefficient to obtain vibration prompt data.
Optionally, the environmental parameter comprises an environmental noise intensity; determining an amplitude scaling factor according to the environmental parameter, specifically comprising:
obtaining an amplitude scaling coefficient according to the environmental noise intensity and a preset first mapping table;
the first mapping table is used for representing the corresponding relation between the environmental noise intensity and the amplitude scaling coefficient, the amplitude scaling coefficient corresponding to the first environmental noise intensity is larger than the amplitude scaling coefficient corresponding to the second environmental noise intensity, and the first environmental noise intensity is larger than the second environmental noise intensity.
Optionally, the environmental parameter comprises light intensity; determining an amplitude scaling factor according to the environmental parameter, specifically comprising:
obtaining an amplitude scaling coefficient according to the light intensity and a preset second mapping table;
the second mapping table is used for representing the corresponding relation between the light intensity and the amplitude scaling factor, the amplitude scaling factor corresponding to the first light intensity is larger than the amplitude scaling factor corresponding to the second light intensity, and the first light intensity is larger than the second light intensity.
Optionally, the environmental parameter comprises network signal strength; determining vibration prompt data according to the feedback data and the environmental parameters, which specifically comprises the following steps:
determining a stretching function according to the network signal intensity;
and stretching the animation function according to the stretching function to obtain vibration prompt data.
Optionally, the stretching function is a sine function or a cosine function.
In a second aspect, the present application provides a prompting apparatus for a terminal device, which provides a graphical user interface through the terminal device, and the apparatus includes:
the acquisition module is used for responding to a trigger event acting on a function control in the graphical user interface and acquiring feedback data corresponding to the function control;
the acquisition module is also used for acquiring environmental parameters of the environment where the terminal equipment is located;
the processing module is used for determining vibration prompt data according to the feedback data and the environmental parameters;
the processing module is also used for controlling the terminal equipment to vibrate according to the vibration prompt data.
In a third aspect, the present application provides an electronic device, comprising:
a memory for storing a program;
a processor for executing the program stored in the memory, the processor being adapted to perform the method of prompting of a terminal device according to the first aspect and the alternative when the program is executed.
In a fourth aspect, the present application provides a computer-readable storage medium having computer-executable instructions stored therein; the computer executable instructions are executed by the processor for implementing the method for alerting a terminal device according to the first aspect and alternative aspects.
According to the prompting method of the terminal device, the terminal device and the storage medium provided by the embodiment of the application, a user operates the function control in the graphical user interface to trigger the corresponding event, and obtains the feedback data responding to the event triggered by the function control. And generating vibration prompt data according to the environment parameters and the feedback data of the environment where the acquisition terminal equipment is located, so that the vibration prompt data reflects the response process of the event triggered by the function control, and controlling the terminal equipment to vibrate according to the vibration prompt data, so as to prompt the user of the response process of the function control in a severe environment.
Drawings
FIG. 1 is a schematic structural diagram of an interactive system provided in the present application;
fig. 2 is a schematic flowchart of a prompting method of a terminal device according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a prompting method of a terminal device according to another embodiment of the present application;
FIG. 4 is a schematic diagram of an energy decay function provided in accordance with another embodiment of the present application;
FIG. 5 is a schematic illustration of ambient noise data provided in accordance with another embodiment of the present application;
fig. 6 is a schematic structural diagram of a prompting apparatus of a terminal device according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal device according to another embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is obvious that the described embodiments are some, but not all embodiments of the present application. 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 application.
With the popularization of smart devices, more and more Application programs (APP) are developed and used. The application program is usually run on the terminal device, and data transmission with the server is realized through communication connection between the terminal device and the server.
When the user uses the application program, the application program is started through the starting icon on the intelligent device, and an instruction is input through the control displayed on the display interface of the application program. For example: and inputting instructions through the button control. And triggering a corresponding interaction event by the control, and feeding back an interaction result after the interaction event is executed. For example: when the user refreshes the page through the pull-down display interface, the refreshed page can be returned after the refreshing is finished.
However, in the prior art, when the environment of the user is severe, the user cannot view the response process of the application program.
The embodiment of the application provides a prompting method of a terminal device, the terminal device and a storage medium, and aims to solve the technical problem. The invention conception of the application is as follows: the method comprises the steps of obtaining feedback data responding to an event triggered by a function control on a graphical user interface and environment parameters of the environment where the terminal equipment is located, processing the feedback data by using the environment parameters to obtain corresponding vibration prompt data, and controlling the terminal equipment to vibrate according to the vibration prompt data to prompt a user of a response process of the function control in a severe environment.
As shown in fig. 1, the prompting method of the terminal device provided in the embodiment of the present application is applied to a prompting system 100, where the prompting system 100 includes a terminal device 101 and a server 102. An application program running on the terminal device 101 initiates an event request, and the server 102 generates corresponding return data according to the event request of the terminal device 101 and returns the feedback data to the terminal device 101.
As shown in fig. 2, a method for prompting a terminal device provided in an embodiment of the present application is applied to a terminal device, and the method for prompting the terminal device includes the following steps:
s201, responding to a trigger event acting on a function control in the graphical user interface.
The application program runs on the terminal device 101, and can provide a graphical user interface through the terminal device, and after the application program is started, a user can input an instruction through a function control in the graphical user interface and trigger a corresponding event.
S202, obtaining feedback data corresponding to the function control.
Wherein the feedback data is data in response to an event triggered by the functionality control. After the function control triggers a corresponding event, the terminal device 101 sends an event request to the server, and the server 102 returns feedback data to the terminal device 101 in response to the event request of the terminal device 101. The terminal device can also generate corresponding feedback data according to the event triggered by the function control.
And S203, collecting environmental parameters of the environment where the terminal equipment is located.
The environmental parameters include light intensity, environmental noise intensity, network signal intensity, and the like. And acquiring the environmental parameters of the terminal equipment by using a built-in sensor of the terminal equipment. For example: and acquiring the light intensity of the environment where the terminal equipment is located by using the visible light sensor. And acquiring the noise intensity of the environment where the terminal equipment is located by using the acoustic sensor. The data transmission rate of the terminal device is collected to determine the network signal strength of the terminal device.
And S204, determining vibration prompt data according to the feedback data and the environmental parameters.
And processing the returned data by using the environment parameters to generate vibration prompt data. The vibration cue data includes vibration amplitude and vibration time.
And when the environmental parameter is the environmental noise intensity, scaling the feedback data according to the environmental noise intensity so as to enable the vibration amplitude to be related to the environmental noise.
When the environmental parameter is the light intensity, the magnitude of the feedback data can be scaled according to the environmental noise, so that the vibration amplitude is related to the light intensity.
And when the environmental parameter is the network signal strength, scaling the time and the size of the feedback data according to the network signal strength so as to enable the vibration time and the vibration amplitude to be related to the network signal strength.
And S205, controlling the terminal equipment to vibrate according to the vibration prompt data.
And the terminal equipment is internally provided with a vibration device, and generates a corresponding driving signal according to the obtained vibration prompt data. The corresponding vibration device is driven to vibrate by the driving signal, and the vibration prompt data can reflect the response process of the event triggered by the functional control because the vibration prompt data is obtained according to the feedback data.
In the prompting method of the intelligent terminal provided by the embodiment of the application, vibration prompting data is generated according to the environmental parameters and the feedback data of the event triggered by the response function control, and the terminal equipment is controlled to vibrate according to the vibration prompting data, so that the response progress of the function control is prompted to a user in a severe environment.
As shown in fig. 3, a method for prompting a terminal device according to another embodiment of the present application includes the following steps:
s301, responding to a trigger event acting on a function control in the graphical user interface.
And the user operates the function control on the graphical user interface provided by the client to trigger the corresponding event. For example: and the user triggers the event of running the application program by clicking the control of the application program on the graphical user interface. And the user triggers an event for refreshing the current display interface by pulling down the graphical user interface.
And S302, displaying the animation corresponding to the function control on the graphical user interface according to the trigger event.
And displaying corresponding animation on the graphical user interface according to the event triggered by the function control. For example: and when the event triggered by the function control is an event for running the application program, displaying the animation for loading the application program on the graphical user interface. And when the event triggered by the function control is a refresh event, displaying a refresh animation on the graphical user interface.
And S303, acquiring feedback data corresponding to the function control.
And acquiring an animation function of the animation corresponding to the functional control, and taking the animation function as feedback data. Taking the refresh animation as an example, the animation function of the refresh animation is the third power of time and belongs to the energy attenuation function. The payment control triggers a payment event, and the animation function of the payment animation in response to the payment event is as follows:
f=e-tcos(3npπt+3) (1)
where t is a time variable, np is a network parameter, and e represents a natural constant.
As shown in fig. 4, the animation function of the payment animation is also an energy decay function, and the amplitude value is decayed continuously with time.
And S304, collecting environmental parameters of the environment where the terminal equipment is located.
In the following, the environmental parameters including the environmental noise intensity, the light intensity and the network signal intensity are taken as an example for explanation. The manner of acquiring the above-mentioned environment parameters has already been described in detail in S203, and is not described herein again.
And S305, determining vibration prompt data according to the feedback data and the environmental parameters.
The vibration prompting data is determined according to the feedback data and the environmental parameters in the following mode. And determining an amplitude scaling coefficient according to the environment parameters, and carrying out scaling processing on the amplitude of the animation function according to the amplitude scaling coefficient to obtain vibration prompt data.
The vibration prompt data comprises vibration amplitude and vibration time, and the amplitude scaling factor can influence the vibration amplitude in the vibration prompt data.
And when the environmental parameter is the environmental noise intensity, obtaining an amplitude scaling coefficient according to the environmental noise intensity and a preset first mapping table. The first mapping table is used for representing the corresponding relation between the environmental noise intensity and the amplitude scaling coefficient. In the first mapping table, when the first ambient noise intensity is greater than the second ambient noise intensity, the amplitude scaling factor corresponding to the first ambient noise intensity is greater than the amplitude scaling factor corresponding to the second ambient noise intensity. That is, the larger the ambient noise, the larger the scaling factor, and thus the larger the vibration amplitude in the generated vibration indication data.
And when the environmental parameter is the light intensity, obtaining an amplitude scaling coefficient according to the light intensity and a preset second mapping table. The second mapping table is used for representing the corresponding relation between the light intensity and the amplitude scaling coefficient. When the first light intensity is greater than the second light intensity, the corresponding amplitude scaling factor of the first light intensity is greater than the corresponding amplitude scaling factor of the second light intensity. That is, the stronger the light, the larger the scaling factor, and thus the larger the vibration amplitude in the generated vibration cue data.
And when the environmental parameter is the network signal intensity, determining a stretching function according to the network signal intensity, and stretching the animation function according to the stretching function to obtain vibration prompt data. When the animation function is stretched, the amplitude and time of the animation function change. As the animation function is stretched in time, the corresponding magnitude becomes smaller. When the time of the animation function is compressed, the corresponding magnitude becomes large.
Preferably, the stretching function is a sine function or a cosine function, and the sine function or the cosine function is multiplied by the animation function to obtain the vibration prompt function. Compared with the animation function, the time and the amplitude of the vibration prompt function are changed correspondingly, and the change rule is as described above, which is not described herein again.
And S306, controlling the terminal equipment to vibrate according to the vibration prompt data.
When the environmental parameters comprise the environmental noise intensity, the light intensity and the network signal intensity, the vibration prompt data generated according to the environmental noise intensity, the vibration prompt data generated according to the light intensity and the vibration prompt data generated according to the network signal intensity are overlapped, and a corresponding driving signal is generated according to the overlapped result so as to drive a vibrating device in the terminal equipment to vibrate.
It should be noted that, here, the environmental parameters include the environmental noise intensity, the light intensity, and the network signal intensity as an example, when the environmental parameters include any two phases of the environmental noise intensity, the light intensity, and the network signal intensity, the vibration indication data generated by the corresponding environmental parameters need to be superimposed. When the environmental parameter includes any one of the environmental noise intensity, the light intensity and the network signal intensity, the vibration device is directly controlled to vibrate according to the vibration prompt data generated by the corresponding environmental parameter.
In the prompting method of the terminal device provided by the embodiment of the application, the animation function corresponding to the function control is processed according to the environment parameter to obtain the vibration prompting data, and the terminal device is controlled to vibrate according to the vibration prompting data, so that the user is prompted about the response process of the function control in a severe environment.
A prompt method of a terminal device according to another embodiment of the present application is described below with a payment control as an example, where the prompt method of the terminal device includes the following steps:
s401, responding to a trigger event acting on a function control in the graphical user interface.
And the user clicks a payment control in the graphical user interface to trigger a payment event.
And S402, displaying the animation corresponding to the function control on the graphical user interface according to the trigger event.
After a user clicks a payment control in the graphical user interface, a payment animation is displayed on the graphical user interface corresponding to a payment event triggered by the payment control.
And S403, acquiring feedback data corresponding to the function control.
The animation function of the payment animation is shown in formula (1), and the animation function is returned as feedback data.
And S404, collecting environmental parameters of the environment where the terminal equipment is located.
Wherein the environmental parameters include network signal strength and environmental noise strength. And collecting the data receiving rate of the terminal equipment so as to determine the network signal strength. The intensity of the ambient noise is collected by a sensor in the terminal device, and the collected ambient noise data is shown in fig. 5.
And S405, determining vibration prompt data according to the feedback data and the environmental parameters.
When the environment parameter is the network signal strength, the stretching function is selected to be a sine function, as shown in formula (2).
Figure BDA0002655486780000084
Wherein A is the amplitude of the sine function, a and
Figure BDA0002655486780000081
is a parameter of the time variation of the sine function.
Determining the amplitude A of the sine function and the parameters a and a of the time variable according to the network signal strength
Figure BDA0002655486780000082
And multiplying the stretching function by the animation function in the formula (1) to obtain the following formula (3):
Figure BDA0002655486780000083
that is, the vibration indication data generated according to the network signal strength is shown in formula (3). The vibration time and the vibration amplitude in the generated vibration prompt data can change along with the network signal strength.
And when the environmental parameter is the environmental noise intensity, performing fast Fourier transform on the environmental noise to determine the maximum amplitude of the environmental noise. And then, calculating an amplitude scaling coefficient according to the maximum amplitude, and carrying out scaling processing on the amplitude of the animation function by using the amplitude scaling coefficient, wherein the amplitude scaling coefficient can be obtained by calculation according to the following formula (4).
f”=ke-tcos(3npπt+3) (4)
Where k represents a magnitude scaling factor.
Preferably, the first mapping table is used for indicating that the environmental noise intensity is in a proportional relationship with the amplitude scaling factor, and the proportional factor is an inverse number of the noise amplitude in the extreme environment. The amplitude scaling coefficient can be obtained by calculating the ratio of the maximum amplitude of the environmental noise to the amplitude of the noise in the preset extreme environment.
For example: the amplitude value of the environmental noise function is (-8, 8), the maximum value of the amplitude under the extreme environment is (-10, 10), the ratio can be determined to be 80%, and the animation function is multiplied by a coefficient (1+0.8) to amplify the amplitude of the animation function.
And S406, controlling the terminal equipment to vibrate according to the vibration prompt data.
And superposing vibration prompt data generated according to the environmental noise intensity and vibration prompt data generated according to the network signal intensity to obtain a result shown in a formula (5).
Figure BDA0002655486780000091
And generating a corresponding driving signal according to the vibration prompt data shown in the formula (5) so as to drive a vibration device in the terminal equipment to vibrate.
In the prompting method of the terminal device provided by the embodiment of the application, the animation function is processed according to the network signal intensity and the environmental noise intensity, so that the generated vibration prompting data can change along with the network signal intensity and the environmental noise intensity, and the purpose of prompting the user for the response process of the function control in the severe environment is further achieved.
As shown in fig. 6, another prompt apparatus 500 of a terminal device provided in real time in the present application specifically includes:
an obtaining module 501, configured to respond to a trigger event acting on a function control in a graphical user interface, and obtain feedback data corresponding to the function control;
the obtaining module 501 is further configured to collect environment parameters of an environment where the terminal device is located;
a processing module 502, configured to determine vibration prompt data according to the feedback data and the environmental parameter;
the processing module 502 is further configured to control the terminal device to vibrate according to the vibration prompt data.
Optionally, the processing module 502 is further configured to:
and displaying the animation corresponding to the function control on the graphical user interface according to the trigger event.
Optionally, the obtaining module 501 is specifically configured to:
and acquiring an animation function of the animation corresponding to the functional control, wherein the feedback data comprises the animation function.
Optionally, the obtaining module 501 is specifically configured to:
determining an amplitude scaling coefficient according to the environment parameter;
and carrying out scaling processing on the amplitude of the animation function according to the amplitude scaling coefficient to obtain vibration prompt data.
Optionally, the environmental parameter comprises an environmental noise intensity; the processing module 502 is specifically configured to:
obtaining an amplitude scaling coefficient according to the environmental noise intensity and a preset first mapping table;
the first mapping table is used for representing the corresponding relation between the environmental noise intensity and the amplitude scaling coefficient, the amplitude scaling coefficient corresponding to the first environmental noise intensity is larger than the amplitude scaling coefficient corresponding to the second environmental noise intensity, and the first environmental noise intensity is larger than the second environmental noise intensity.
Optionally, the environmental parameter comprises light intensity; the processing module 502 is specifically configured to:
obtaining an amplitude scaling coefficient according to the light intensity and a preset second mapping table;
the second mapping table is used for representing the corresponding relation between the light intensity and the amplitude scaling factor, the amplitude scaling factor corresponding to the first light intensity is larger than the amplitude scaling factor corresponding to the second light intensity, and the first light intensity is larger than the second light intensity.
Optionally, the environmental parameter comprises network signal strength; the processing module 502 is specifically configured to:
determining a stretching function according to the network signal intensity;
and stretching the animation function according to the stretching function to obtain vibration prompt data.
Optionally, the stretching function is a sine function or a cosine function.
As shown in fig. 7, the terminal device 600 provided in the present embodiment includes: a transmitter 601, a receiver 602, a memory 603, and a processor 604.
A transmitter 601 for transmitting instructions and data;
a receiver 602 for receiving instructions and data;
a memory 603 for storing computer-executable instructions;
the processor 604 is configured to execute the computer-executable instructions stored in the memory to implement the steps performed by the prompting method of the terminal device in the foregoing embodiments. Specifically, reference may be made to the related description in the foregoing prompting method embodiment of the terminal device.
Alternatively, the memory 603 may be separate or integrated with the processor 604. When the memory 603 is provided separately, the terminal device further includes a bus for connecting the memory 603 and the processor 604.
The embodiment of the present application further provides a computer-readable storage medium, where a computer execution instruction is stored in the computer-readable storage medium, and when the processor executes the computer execution instruction, the method for prompting the terminal device executed by the terminal device is implemented.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (8)

1. A prompting method of a terminal device is characterized in that a graphical user interface is provided through the terminal device, and the method comprises the following steps:
responding to a trigger event acting on a function control in the graphical user interface, and acquiring feedback data corresponding to the function control;
acquiring environmental parameters of the environment where the terminal equipment is located;
determining vibration prompt data according to the feedback data and the environment parameters;
controlling the terminal equipment to vibrate according to the vibration prompt data so as to prompt a user about a response process of an event triggered by the function control;
the obtaining of the feedback data corresponding to the functional control specifically includes:
acquiring an animation function of an animation corresponding to the function control, wherein the feedback data comprises the animation function;
the determining the vibration prompt data according to the feedback data and the environmental parameter specifically includes:
determining an amplitude scaling factor according to the environment parameter;
and carrying out scaling processing on the amplitude of the animation function according to the amplitude scaling coefficient to obtain the vibration prompt data.
2. The method of claim 1, further comprising:
and displaying the animation corresponding to the function control on the graphical user interface according to the trigger event.
3. The method of claim 1, wherein the environmental parameter comprises an environmental noise intensity; determining an amplitude scaling factor according to the environment parameter, specifically comprising:
obtaining the amplitude scaling coefficient according to the environmental noise intensity and a preset first mapping table;
the first mapping table is used for representing a corresponding relationship between the environmental noise intensity and the amplitude scaling factor, the amplitude scaling factor corresponding to the first environmental noise intensity is greater than the amplitude scaling factor corresponding to the second environmental noise intensity, and the first environmental noise intensity is greater than the second environmental noise intensity.
4. The method of claim 1, wherein the environmental parameter comprises light intensity; determining an amplitude scaling factor according to the environment parameter, specifically comprising:
obtaining the amplitude scaling coefficient according to the light intensity and a preset second mapping table;
the second mapping table is used for representing the corresponding relation between the light intensity and the amplitude scaling factor, the amplitude scaling factor corresponding to the first light intensity is larger than the amplitude scaling factor corresponding to the second light intensity, and the first light intensity is larger than the second light intensity.
5. The method of claim 1, wherein the environmental parameter comprises network signal strength; determining the vibration prompt data according to the feedback data and the environmental parameters, specifically comprising:
determining a stretching function according to the network signal intensity;
and stretching the animation function according to the stretching function to obtain the vibration prompt data.
6. The method of claim 5, wherein the stretching function is a sine function or a cosine function.
7. A terminal device, comprising:
a memory for storing a program;
a processor for executing the program stored in the memory, the processor being configured to perform the prompting method of the terminal device according to any one of claims 1 to 6 when the program is executed.
8. A computer-readable storage medium having computer-executable instructions stored therein; the computer-executable instructions are used for realizing the prompting method of the terminal equipment according to any one of claims 1 to 6 when being executed by a processor.
CN202010885652.3A 2020-08-28 2020-08-28 Prompting method of terminal equipment, terminal equipment and storage medium Active CN111966278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010885652.3A CN111966278B (en) 2020-08-28 2020-08-28 Prompting method of terminal equipment, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010885652.3A CN111966278B (en) 2020-08-28 2020-08-28 Prompting method of terminal equipment, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111966278A CN111966278A (en) 2020-11-20
CN111966278B true CN111966278B (en) 2022-03-25

Family

ID=73400573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010885652.3A Active CN111966278B (en) 2020-08-28 2020-08-28 Prompting method of terminal equipment, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111966278B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113181632A (en) * 2021-04-22 2021-07-30 网易(杭州)网络有限公司 Information prompting method and device, storage medium and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289352A (en) * 2011-09-21 2011-12-21 宇龙计算机通信科技(深圳)有限公司 Application program startup method and terminal
CN102693003A (en) * 2011-02-09 2012-09-26 三星电子株式会社 Operating method of terminal based on multiple inputs and portable terminal supporting the same
CN104965636A (en) * 2015-06-19 2015-10-07 上海卓易科技股份有限公司 Light intensity reminding method and terminal device
EP3018600A1 (en) * 2014-11-10 2016-05-11 B. Braun Avitum AG Blood purification device user interface feedback method
CN106653054A (en) * 2016-10-11 2017-05-10 科大讯飞股份有限公司 Method and device for generating speech animation
CN109701266A (en) * 2019-01-23 2019-05-03 努比亚技术有限公司 Game vibrating method, device, mobile terminal and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1175151A (en) * 1997-08-12 1999-03-16 Hewlett Packard Co <Hp> Image display system provided with voice processing function
CN107317909A (en) * 2016-04-26 2017-11-03 富泰华工业(深圳)有限公司 Prevent the system and method for mobile phone misoperation
CN111462286B (en) * 2020-03-23 2023-02-14 华强方特(深圳)动漫有限公司 Method for realizing three-dimensional animation interpenetration detection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693003A (en) * 2011-02-09 2012-09-26 三星电子株式会社 Operating method of terminal based on multiple inputs and portable terminal supporting the same
CN102289352A (en) * 2011-09-21 2011-12-21 宇龙计算机通信科技(深圳)有限公司 Application program startup method and terminal
EP3018600A1 (en) * 2014-11-10 2016-05-11 B. Braun Avitum AG Blood purification device user interface feedback method
CN104965636A (en) * 2015-06-19 2015-10-07 上海卓易科技股份有限公司 Light intensity reminding method and terminal device
CN106653054A (en) * 2016-10-11 2017-05-10 科大讯飞股份有限公司 Method and device for generating speech animation
CN109701266A (en) * 2019-01-23 2019-05-03 努比亚技术有限公司 Game vibrating method, device, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN111966278A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN108632658B (en) Bullet screen display method and terminal
US20050131701A1 (en) Enabling speech within a multimodal program using markup
US20140028685A1 (en) Generating customized effects for image presentation
CN110413501B (en) Browser compatibility testing method, device and system and readable storage medium
CN111966278B (en) Prompting method of terminal equipment, terminal equipment and storage medium
RU2019114979A (en) METHOD AND EQUIPMENT FOR IMAGE PROCESSING, ELECTRONIC DEVICE AND GRAPHIC USER INTERFACE
CN104834597A (en) Method and system for measuring application response duration
EP4167192A1 (en) Image processing method and apparatus for augmented reality, electronic device and storage medium
CN111866160B (en) Multi-machine control method, device, equipment and storage medium
CA2498375A1 (en) An apparatus and method for aggregating web services
CN112328466A (en) Test order generation method, equipment and storage medium
CN113506086B (en) Task issuing method, device, computer equipment and medium
CN111767229A (en) Performance test method, device and equipment
CN110765752A (en) Test question generation method and device, electronic equipment and computer readable storage medium
WO2022000560A1 (en) Method and device for evaluating tactile experience, and storage medium
CN107066364A (en) Method for testing performance and device
CN108287644B (en) Information display method of application program and mobile terminal
CN108510255B (en) Mobile handheld terminal, payment method, payment equipment and computer storage medium
CN114827651B (en) Information processing method, information processing device, electronic equipment and storage medium
CN110969434A (en) Payment method, server, terminal and system
WO2023158376A2 (en) Data processing method, apparatus, electronic device, and storage medium
CN110377192B (en) Method, device, medium and electronic equipment for realizing interactive effect
CN111601224B (en) Microphone performance testing method and device and electronic equipment
US20210042519A1 (en) Method for evaluating vibrating sensation similarity, apparatus and storage medium
CN107526827A (en) Method, equipment and computer-readable recording medium for question and answer displaying

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