CN111459389B - Prompting method, electronic device and storage medium - Google Patents

Prompting method, electronic device and storage medium Download PDF

Info

Publication number
CN111459389B
CN111459389B CN202010331067.9A CN202010331067A CN111459389B CN 111459389 B CN111459389 B CN 111459389B CN 202010331067 A CN202010331067 A CN 202010331067A CN 111459389 B CN111459389 B CN 111459389B
Authority
CN
China
Prior art keywords
prompt
prompting
information
switching
prompter
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
CN202010331067.9A
Other languages
Chinese (zh)
Other versions
CN111459389A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010331067.9A priority Critical patent/CN111459389B/en
Publication of CN111459389A publication Critical patent/CN111459389A/en
Application granted granted Critical
Publication of CN111459389B publication Critical patent/CN111459389B/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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

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 discloses a prompting method, an electronic device and a storage medium. The prompting method is used for the electronic device and comprises the following steps: the method comprises the steps of obtaining sliding operation of a selection control, wherein the selection control comprises a selected area and a plurality of to-be-selected items, and at least one to-be-selected item is located in the selected area; responding to the sliding operation, and determining the switching speed of a plurality of to-be-selected items in the selected area; and in the process of switching the multiple options to be selected, controlling a prompter of the electronic device to output prompt information according to the switching speed. According to the prompting method, the sliding operation of the selection control is obtained, the switching speed of the multiple to-be-selected items in the selected area is determined according to the obtained sliding operation, and the prompting device is controlled to output the prompting information according to the switching speed in the switching process of the multiple to-be-selected items, so that the electronic device outputs the prompting information in a mode corresponding to the switching speed, and the prompting effect is more natural.

Description

Prompting method, electronic device and storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a prompting method, an electronic apparatus, and a storage medium.
Background
In the related art, the electronic device may display a plurality of options through the selection control, and the user may slide the target option to the selected area by performing a sliding operation on the selection control, so as to select the content to be input. When one option in the selection control is switched to the selected area, the electronic device outputs prompt information once. However, the effect of such a presentation is mechanical and not natural enough.
Disclosure of Invention
The embodiment of the application provides a prompting method, an electronic device and a storage medium.
The prompting method of the embodiment of the application is used for an electronic device and comprises the following steps:
the method comprises the steps of obtaining sliding operation of a selection control, wherein the selection control comprises a selected area and a plurality of to-be-selected items, and at least one to-be-selected item is located in the selected area;
responding to the sliding operation, and determining the switching speed of a plurality of to-be-selected items in the selected area;
and controlling a prompter of the electronic device to output prompt information according to the switching speed in the process of switching the multiple options to be selected.
The electronic device comprises a prompter and a processor, wherein the prompter is connected with the processor, and the processor is used for executing the prompting method.
A non-transitory computer-readable storage medium containing computer-executable instructions which, when executed by one or more processors, cause the processors to perform the above-described hinting method.
According to the prompting method, the electronic device and the storage medium, the sliding operation of the selection control is obtained, the switching speed of the multiple to-be-selected items in the selected area is determined according to the obtained sliding operation, and the prompting device is controlled to output the prompting information according to the switching speed in the switching process of the multiple to-be-selected items, so that the electronic device outputs the prompting information in a mode corresponding to the switching speed, and the prompting effect is more natural.
Additional aspects and advantages of embodiments of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of embodiments of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart diagram of a prompting method according to some embodiments of the present application;
FIG. 2 is a schematic plan view of an electronic device according to some embodiments of the present application;
FIG. 3 is a block diagram of an electronic device according to some embodiments of the present application;
FIG. 4 is a schematic diagram of a scenario of a hinting method in accordance with certain embodiments of the present application;
FIG. 5 is a schematic flow chart diagram of a prompting method according to some embodiments of the present application;
FIG. 6 is a schematic flow chart diagram of a prompting method according to some embodiments of the present application;
FIG. 7 is a schematic flow chart diagram of a prompting method according to some embodiments of the present application;
FIG. 8 is a schematic flow chart diagram of a prompting method according to some embodiments of the present application;
FIG. 9 is a schematic flow chart diagram of a prompting method according to some embodiments of the present application;
FIG. 10 is a schematic flow chart diagram of a prompting method according to some embodiments of the present application;
FIG. 11 is a schematic flow chart diagram illustrating a hinting method in accordance with certain implementations of the present application;
fig. 12 is a scene diagram illustrating a prompting method according to some embodiments of the present application.
Detailed Description
Embodiments of the present application will be further described below with reference to the accompanying drawings. The same or similar reference numbers in the drawings identify the same or similar elements or elements having the same or similar functionality throughout.
In addition, the embodiments of the present application described below in conjunction with the accompanying drawings are exemplary and are only for the purpose of explaining the embodiments of the present application, and are not to be construed as limiting the present application.
In this application, unless expressly stated or limited otherwise, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through intervening media. Also, a first feature "on," "above," and "over" a second feature may mean that the first feature is directly above or obliquely above the second feature, or that only the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
Referring to fig. 1, fig. 2 and fig. 3, a prompting method and an electronic device 100 are provided in an embodiment of the present application.
The prompting method of the embodiment of the application is used for the electronic device 100, and comprises the following steps:
step S14: acquiring a sliding operation of a selection control 110, wherein the selection control 110 comprises a selection area 111 and a plurality of to-be-selected items 112, and at least one to-be-selected item 112 is located in the selection area 111;
step S16: in response to the sliding operation, determining the switching speed of the plurality of to-be-selected items 112 in the selected area 111;
step S18: in the process of switching the plurality of waiting items 112, the prompter 120 of the electronic device 100 is controlled to output prompting information according to the switching speed.
The electronic device 100 of the embodiment of the application includes a prompter 120 and a processor 101, the prompter 120 is connected with the processor 101, the processor 101 is used for obtaining a sliding operation on a selection control 110, the selection control 110 includes a selected area 111 and a plurality of to-be-selected items 112, and at least one to-be-selected item 112 is located in the selected area 111; and is used for responding to the sliding operation, determining the switching speed of a plurality of to-be-selected items 112 in the selected area 111; and a prompter 120 for controlling the electronic device 100 to output a prompt message according to the switching speed in the process of switching the plurality of to-be-selected items 112.
According to the prompting method and the electronic device 100, the sliding operation on the selection control 110 is obtained, the switching speed of the multiple to-be-selected items 112 in the selected area 111 is determined according to the obtained sliding operation, and the prompting device 120 is controlled to output the prompting information according to the switching speed in the switching process of the multiple to-be-selected items 112, so that the output of the prompting information by the electronic device 100 is adaptive to the switching speed, and the prompting effect is more natural.
Specifically, the electronic apparatus 100 may be any of various types of computer system devices that are mobile or portable and perform wireless communication. For example, the electronic apparatus 100 may be a mobile phone, a portable game device, a laptop computer, a PDA (personal digital assistant), a PAD (PAD), a portable internet device, a wearable device, a vehicle-mounted terminal, a navigator, a music player, a data storage device, and the like. The specific form of the electronic device 100 is not limited herein. Next, the electronic device 100 will be described as a mobile phone.
In particular, the selection control 110 can be a scroll wheel, a slider, a puck, and the like. The selection control 110 can be a data setting control such as an alarm clock setting control, a mobile phone time setting control, a shooting parameter setting control, and the like. The selection control 110 can also be a date of birth entry control, a gender entry control, a study history information entry control, and other data entry controls. The selection form and the selection content of the selection control 110 are not limited herein.
In particular, the prompter 120 may be a speaker, vibrator, light source, or other type of device. Correspondingly, the prompt message may be a prompt audio, a vibration waveform, a prompt light, etc. And are not limited herein.
Specifically, "at least one to-be-selected item 112 is located in the selected area 111" means that one to-be-selected item 112 is located in the selected area 111; or, a plurality of candidate items 112 are located in the selected area 111. In other words, for one candidate 112, it can be selected singly or multiple. Various candidate items 112 may also be selected by selecting region 111.
Referring to fig. 2, in this embodiment, the selection control 110 is a roller-type alarm clock setting control, the plurality of waiting options 112 includes two types, that is, a plurality of time options and a plurality of sorting options, and the user can switch one time option and one sorting item to the selected area 111 to set the reminding time of the alarm clock. In the example of FIG. 2, "05" of the plurality of time options, and "00" of the plurality of time options are in the selected area 111, and if 05:00 is the time at which the user wants to set the alarm, the user can click on the saved icon for confirmation, thereby completing the setting of the 05:00 alarm.
Referring to fig. 4, "05" of the plurality of time options and "00" of the plurality of options are in the selected area 111. However, the time at which the user wants to set the alarm clock is not 05:00, but 05: 05. The user can perform a sliding operation on the selection control 110, namely, slide the multiple options upwards to switch the sorting item of the "05" to the selected area 111, and click the saved icon for confirmation after the "05" of the multiple options and the "05" of the multiple options are in the selected area 111, so as to complete the setting of the 05:05 alarm clock.
It will be appreciated that multiple time options may also be switched by sliding. For convenience of explanation and explanation, the following description will take the example of sliding to switch multiple options.
In the related art, the electronic device may display a plurality of options through the selection control, and the user may slide the target option to the selected area by performing a sliding operation on the selection control, so as to select the content to be input. When one option in the selection control is switched to the selected area, the electronic device outputs prompt information once. However, the effect of such a presentation is mechanical and not natural enough.
For example, "05" in a plurality of time options, and "00" in a plurality of tabs are in the selected region. In the process that the user slides a plurality of options upwards to switch the '40' item to the selected area, when the '01' item is switched to the selected area, the loudspeaker of the electronic device outputs a prompt audio once; when the sort item of "02" is switched to the selected region, the speaker of the electronic apparatus outputs the primary presentation audio … …, and when the sort item of "40" is switched to the selected region, the speaker of the electronic apparatus outputs the primary presentation audio. If the user swipes the options quickly, completing the swipe in 2s, the speaker outputs 40 times the alert audio in 2 s. Thus, the sound output by the speaker can be very mechanical, unnatural, and even cause a click, resulting in a less effective prompt for the switch of the option.
For another example, when one option is switched to the selected region, the vibrator of the electronic device vibrates once according to the vibration waveform. If the user slides the item quickly, completing the above sliding within 2s, the vibrator vibrates 40 times within 2s according to the vibration waveform. Thus, the vibration caused by the vibrator can be very mechanical, unnatural, and even cause seizure, resulting in a less effective prompt for the switch of the option.
The prompting method and the electronic device 100 according to the embodiment of the present application enable the electronic device 100 to adapt to the output of the prompting information and the switching speed, so that the prompting effect is more natural, the prompting effect is closer to the physical characteristics of real world sound or vibration, and is not changed, thereby avoiding the problems in the related art as described above.
In step S14, the electronic device 100 may include a display, and the electronic device 100 may acquire the sliding operation through the display. For example, the user may slide on the display to cause the display to acquire a sliding operation. The display may also display a selection control.
It is understood that in other embodiments, the electronic device 100 may include a camera, and the electronic device 100 may obtain the sliding operation through the camera. For example, the user moves his hand within the shooting range of the camera, and the electronic device 100 can process the content shot by the camera, thereby obtaining the sliding operation.
The specific manner of acquiring the sliding operation is not limited herein.
In step S16, the number of candidate items 112 that have been switched by the selected area 111 in each preset time period may be determined; determining the switching speed in each preset time length according to each preset time length and the corresponding number; in step S18, the control prompter 110 outputs a prompt message according to the corresponding switching speed for each preset duration. Therefore, the switching speed can be determined in the sliding process, and the sliding does not need to be finished, so that the output of the prompt message and the switching of the to-be-selected item can be ensured to be synchronous.
For example, in the 1 st s, the items "01" - "10" are switched to the selected region 111, and the switching speed may be determined as: 10/s, and controlling the prompter 110 to output prompt information according to the switching speed of 10/s; in the 2s, the items from "11" - "15" are switched to the selected region 111, and the switching speed can be determined as: 5/s, and controls the prompter 110 to output prompting information according to the switching speed of 5/s.
In step S16, the time for switching to the selected area 111 of the candidate item 112 adjacent to the current option may also be determined, so as to determine the switching speed. The current option is to-be-selected item 112 currently in selected area 111. Therefore, the switching speed of each option to be selected can be more accurate, and the output of the prompt information can be more finely controlled.
Referring again to fig. 4, the item of "01" is moved to the selected area 111 at 00:00:01 so that the current item is the item of "01", and the item of "02" is moved to the selected area 111 at 00:00:02, based on which the switching speed corresponding to the item of "02" can be determined as: 1/s, the control prompter 110 outputs the prompt information according to the switching speed of 1/s. At this time, the current option is the "02" option.
Next, the item "03" is moved to the selected region 111 at 00:00:04, based on which the switching speed corresponding to the item "03" can be determined as: 0.5/s, the control prompter 110 outputs the prompting information according to the switching speed of 0.5/s. At this time, the current option is the "03" option.
Next, the item of "04" is moved to the selected region 111 at 00:00:08, based on which the switching speed corresponding to the item of "04" can be determined as: 0.25/s, the control prompter 110 outputs the prompting information according to the switching speed of 0.25/s. At this time, the current option is the "04" option.
Next, the item of "05" is moved to the selected region 111 at 00:00:09, based on which the switching speed corresponding to the item of "05" can be determined as: 1/s, the control prompter 110 outputs the prompt information according to the switching speed of 1/s.
Finally, the "save" icon may be clicked at 00:00:10, saving "05: 05 ".
Referring to fig. 5, in some embodiments, the number of the prompt messages is multiple, and each prompt message corresponds to a speed range, and the step S18 includes:
step S181: determining prompt information corresponding to a speed range in which the switching speed is positioned;
step S182: the control prompter 120 outputs corresponding prompt information.
In some embodiments, the processor 101 is configured to determine a prompt message corresponding to a speed range in which the switching speed is located; and for controlling the prompter 120 to output corresponding prompting information.
Thus, according to the speed range of the switching speed, the control prompter 120 is determined to output corresponding prompt information, so that the prompt information is adaptive to the speed, and the prompt effect is fine and smooth and has a layered sense.
Specifically, the number of the prompt messages is the same as the number of the speed ranges, and may be 2, 3, 4 or other numbers. And are not limited herein.
In step S181, a prompt message corresponding to the speed range in which the switching speed is located may be determined according to the preset relationship. Therefore, the corresponding prompt information can be quickly and accurately determined from the plurality of prompt information according to the switching speed.
In one example, the prompt 120 is a speaker and the prompt is a prompt audio. The number of the prompt audios is three, and the prompt audios are respectively a first audio, a second audio and a third audio. The tones of the three tones increase sequentially. The first audio corresponds to a speed range of: less than 5/s; the second audio corresponds to a speed range of: greater than or equal to 5/s and less than 20/s; the third audio corresponds to a speed range of: greater than or equal to 20/s. And the determined switching speed is: 4/s, in a speed range of less than 5/s. The speaker can be controlled to play the first audio once every time the to-be-selected item 112 is switched to the selected area 111.
In another example, the prompting device 120 is a vibrator and the prompting information is a vibration waveform. The number of the vibration waveforms is three, namely a first waveform, a second waveform and a third waveform. The amplitudes of the three vibration waveforms increase in sequence. The first waveform corresponds to a speed range of: less than 5/s; the second waveform corresponds to a speed range of: greater than or equal to 5/s and less than 20/s; the third waveform corresponds to a speed range of: greater than or equal to 20/s. And the determined switching speed is: 10/s, in a speed range greater than or equal to 5/s and less than 20/s. The vibrator may be controlled to vibrate according to the second waveform once every time the to-be-selected item 112 is switched to the selected area 111.
It is understood that in some other embodiments, the switching acceleration may be determined according to the switching speed, and the corresponding prompt information may be determined from the plurality of prompt information according to the range in which the switching acceleration is located. Therefore, the prompt information is adaptive to the switching acceleration, and the prompt effect is more exquisite and layered.
The specific manner of outputting the indication information according to the switching speed is not limited herein.
Referring to fig. 6, in some embodiments, the prompting method includes:
step S11: acquiring input setting information;
step S12: and setting a speed range corresponding to each prompt message according to the setting information.
In some embodiments, the processor 101 is configured to obtain input setting information; and the speed range corresponding to each prompt message is set according to the setting information.
Therefore, the user can set the speed range corresponding to the prompt message, so as to control the prompt 120 to output the prompt message according to the switching speed, which is beneficial to improving the operation feeling and experience of the user.
Specifically, in step S11, the setting information may be touch screen information, voice information, key information, or gesture information. In other words, the user may input the setting information through a touch screen, voice, key or gesture. The specific form of the setting information is not limited herein.
It is understood that the electronic device 100 may also store the initial information in advance, and the initial information may be updated through the input setting information. Thus, under the condition that the user does not input the setting information, the prompter 120 can also output the prompting information in the switching process, so that the situation that the user cannot prompt the switching because the user does not input the setting information is avoided, and the improvement of the user experience is facilitated. The initial information is, for example, information determined by the staff after debugging. Therefore, the initial information is determined through debugging, so that the prompting effect is better, and the improvement of user experience is facilitated.
In step S12, the setting information may be a speed threshold, and a speed range corresponding to each piece of presentation information may be set according to the speed threshold. Therefore, the operation of the user can be simplified, and the user can conveniently and quickly set the speed range corresponding to each prompt message.
For example, the number of the prompt messages is 3, and the setting messages include 5/s and 20/s. Then, it can be determined according to the setting information that the speed range corresponding to the first prompt information is: less than 5/s; the speed range corresponding to the second prompt message is as follows: greater than or equal to 5/s and less than 20/s; the speed range corresponding to the third prompt information is as follows: greater than or equal to 20/s.
Referring to fig. 7, in some embodiments, the prompting method includes:
step S13: and processing the preset reference information to generate a plurality of prompt messages.
In some embodiments, the processor 101 is configured to process preset reference information to generate a plurality of prompt messages.
Therefore, the plurality of prompt messages are all based on the same reference message, so that the relevance of the plurality of prompt messages is stronger, the styles tend to be uniform, and the problem that the prompt effect is more abrupt due to the larger difference of the plurality of prompt messages when the switching speed is changed in one sliding operation is avoided.
Specifically, the reference information may be stored in the electronic device 100 in advance, may be input into the electronic device 100 by the user, and may be downloaded from the network by the electronic device 100, where the source of the reference information is not limited.
The number of pieces of reference information may be one or more. In the case where the number of pieces of reference information is plural, one piece may be selected from the plural pieces of reference information in accordance with the input information to generate the plural pieces of prompt information. Therefore, the user can customize the reference information, customize the prompt information and improve the user experience.
For example, the reference information includes an audio of a urheen tone, an audio of a trumpet tone, and an audio of a piano tone. And the user selects the audio of the piano tone, a plurality of prompt messages can be generated according to the audio of the piano tone. The plurality of prompt messages are all provided with piano timbres and tend to be uniform in style.
Referring to fig. 8, in some embodiments, the prompt 120 includes a speaker, the reference information includes reference audio, and the prompt information includes prompt audio, and step S13 includes:
step S131: processing the reference audio to generate a plurality of prompt audios;
step S181 includes:
step S1811: determining a prompt audio corresponding to a speed range in which the switching speed is positioned;
step S182 includes:
step S1821: and controlling the loudspeaker to output corresponding prompt audio.
In some embodiments, the processor 101 is configured to process the reference audio to generate a plurality of prompt audios; determining a prompt audio corresponding to a speed range in which the switching speed is positioned; and for controlling the loudspeaker to output corresponding prompt audio.
Therefore, prompt is carried out in an audio mode, so that prompt is more obvious, and user experience is better. Specifically, in step S131, the pitch and/or loudness of the reference audio may be adjusted to generate a plurality of cue audios. In step S1811, the speed range in which the switching speed is located may be positively correlated with the pitch and/or loudness of the corresponding cue audio. Therefore, the larger the switching speed is, the larger the tone and/or loudness of the corresponding prompt audio is, and the user can know the change condition of the switching speed according to the tone and the loudness, so that the improvement of user experience is facilitated.
In one example, the reference audio is an audio of a piano tone color, and the tones of the audio of the piano tone color may be gradually increased to generate the first cue audio, the second cue audio, and the third cue audio. In other words, the pitch of the first cue audio is less than the pitch of the second cue audio, which is less than the pitch of the third cue audio.
Under the condition that the switching speed is in a first speed range, the corresponding prompt audio is a first prompt audio; under the condition that the switching speed is in a second speed range, the corresponding prompt audio is a second prompt audio; under the condition that the switching speed is in a third speed range, the corresponding prompt audio is a third prompt audio; the speed of the first speed range is less than the speed of the second speed range, which is less than the speed of the third speed range.
In this way, in one sliding operation, the switching speed gradually increases from the first speed range to the second speed range and then gradually increases to the third speed range, so that the tone of the audio output by the loudspeaker is higher and higher, but the tone colors are piano tone colors, and the style tends to be uniform. The method can reflect the difference of the switching speeds to improve the hierarchy of prompt, can avoid the situation that a user feels obtrusive due to overlarge style difference, and is favorable for improving the user experience.
In another example, the reference audio is an audio of a piano tone color, and the loudness of the audio of the piano tone color may be gradually increased to generate the first cue audio, the second cue audio, and the third cue audio. In other words, the loudness of the first cue audio is less than the loudness of the second cue audio, which is less than the loudness of the third cue audio. For the explanation and explanation of this section, reference may be made to the section for adjusting the pitch of the audio, and details will not be repeated here to avoid redundancy.
In yet another example, the reference audio is an audio of piano timbre, and the pitch and loudness of the audio of piano timbre may be increased stepwise to generate the first cue audio, the second cue audio, and the third cue audio. In other words, the pitch of the first cue audio is less than the pitch of the second cue audio, which is less than the pitch of the third cue audio. And the loudness of the first prompt audio is smaller than that of the second prompt audio, and the loudness of the second prompt audio is smaller than that of the third prompt audio. For the explanation and explanation of this section, reference may be made to the section for adjusting the pitch of the audio, and details will not be repeated here to avoid redundancy.
Referring to fig. 9, in some embodiments, the prompting device 120 includes a vibrator, the reference information includes a reference waveform, and the prompting information includes a vibration waveform, and the step S13 includes:
step S132: processing the reference waveform to generate a plurality of vibration waveforms;
step S181 includes:
step S1812: determining a vibration waveform corresponding to a speed range in which the switching speed is positioned;
step S182 includes:
step S1822: and controlling the vibrator to output a corresponding vibration waveform.
In some embodiments, the processor 101 is configured to process the reference waveform to generate a plurality of vibration waveforms; and a vibration waveform corresponding to the speed range in which the switching speed is determined; and for controlling the vibrator to output a corresponding vibration waveform.
Therefore, the prompt is performed in a vibration mode, so that when the user receives the prompt, other personnel can be prevented from receiving the prompt, and the privacy of the sliding selection control 110 of the user can be guaranteed. Specifically, in step S132, the amplitude and/or frequency of the reference waveform may be adjusted to generate a plurality of vibration waveforms. In step S1812, the speed range in which the switching speed is located may be positively correlated with the amplitude and/or frequency of the corresponding vibration waveform. Therefore, the larger the switching speed is, the larger the amplitude and/or frequency of the corresponding vibration waveform is, and the user can know the change condition of the switching speed according to the amplitude and/or frequency, so that the user experience is improved.
For further explanation and explanation of this part, reference may be made to the part of the preceding text where the prompt information includes the prompt audio, and details are not repeated here to avoid redundancy.
Referring to fig. 10, in some embodiments, step S18 includes:
step S183: when the switching speed is in a preset speed range, determining the number of the to-be-switched options 112 in the selected area 111 to obtain the switching number;
step S184: the control prompter 120 outputs a prompt message according to the number of switches.
In some embodiments, the processor 101 is configured to determine, when the switching speed is in a preset speed range, the number of to-be-switched items 112 in the selected area 111 to obtain a switching number; and for controlling the prompter 120 to output a prompt message according to the number of switches.
Therefore, when the switching speed is within the preset speed range, the prompt information is output according to the switching quantity, so that the output of the prompt information is not only based on the switching speed, but also based on the switching quantity, the output of the prompt information is more hierarchical, and the improvement of user experience is facilitated.
Specifically, in step S183, the preset speed range may be a high speed range. For example, the following are: the switching speed is greater than 20/s. Therefore, under the condition of high-speed switching, the prompt information is output according to the switching number, so that the output of the prompt information is more regular and layered during high-speed switching, and the disorder of the output of the prompt information caused by too high switching speed is avoided.
The determination of the number of candidate items 112 switched from the selected area 111 means the number of candidate items 112 switched from the selected area 111 from the time when the current sliding operation is started to the current time.
Referring to fig. 11, in some embodiments, step S184 includes:
step S1841: when the switching number is smaller than or equal to the preset threshold value, controlling the prompter 120 to output one-time prompting information when one to-be-selected item 112 is switched to the selected area 111;
step S1842: when the switching number is greater than the preset threshold, the control prompter 120 outputs one-time prompt information when the preset number of to-be-selected items 112 are switched to the selected area 111.
In some embodiments, the processor 101 is configured to control the prompter 120 to output a prompt message once when one to-be-selected item 112 is switched to the selected area 111 when the number of switching is less than or equal to a preset threshold; and is used for controlling the prompter 120 to output prompt information once when the preset number of to-be-selected items 112 are switched to the selected area 111 when the switching number is larger than the preset threshold value.
In this way, when the switching speed is in the preset speed range and the switching number is less than or equal to the preset threshold, when one to-be-selected item 112 is switched to the selected area 111, the prompter 120 outputs prompt information once, so that the user can clearly know the time when each to-be-selected item 112 is switched to the selected area 111, and the prompt effect is better.
When the switching speed is in the preset speed range and the switching number is greater than the preset threshold value, the prompt information is output once when the preset number of the to-be-selected items 112 are switched to the selected area 111, so that the output disorder of the prompt information caused by the excessive switching number, such as the pause of the prompt information, is avoided, and the prompt effect is ensured.
Specifically, in step S1841, the preset threshold may be 10, 20, 25, 30, 35 or other values. And are not limited herein.
In step S1842, the preset number may be 3, 5, 6, 7, 8 or other values. And are not limited herein.
Referring to fig. 12, in one example, the preset speed ranges are: more than or equal to 20/s, the preset threshold is 25, and the preset number is 5. At 00:00:00, the item to be selected 112 in the area 111 is selected as the "00" item, that is, the current item is selected as the "00" item. Sliding the selection control 110 upward begins at 00:00:01, and at 00:00:02, the current option is a "20" sort item. Therefore, it can be determined that the switching speed is 20/s, which is in the preset speed range. At this time, the number of switching is 20, which is less than the preset threshold 25, and when the items selected from "21", "22", "23", "24" and "25" are switched to the selected area 111, the prompter 120 outputs one time of prompting information.
Next, when the sorting items of "26" are switched to the selected area 111, the switching number is 26, and is greater than the preset threshold value of 25, the control prompter 120 outputs one-time prompt information when the 5 to-be-selected items 112 are switched to the selected area 111. Namely: when the sorting item of 26, the sorting item of 27, the sorting item of 28 and the sorting item of 29 are switched to the selected area 111, the prompter 120 does not output prompting information; when the sort item of "30" is switched to the selected region 111, the prompter 120 outputs one time of a prompt message. When the sorting items of 31, 32, 33 and 34 are switched to the selected area 111, the prompter 120 does not output prompting information; when the item of "35" switches to the selected region 111, the prompter 120 outputs a prompt … … once and so on until the end of the swipe.
It will be appreciated that the prompter 120 outputs prompting information substantially only 26 times when the item of "28" switches to the selected region 111. When the sort item of "34" is switched to the selected region 111, the prompter 120 outputs the prompt information substantially only 27 times.
A non-transitory computer-readable storage medium containing computer-executable instructions that, when executed by one or more processors 101, cause the processors 101 to perform the control method of any of the above embodiments.
For example, performing: step S14: acquiring a sliding operation of a selection control 110, wherein the selection control 110 comprises a selection area 111 and a plurality of to-be-selected items 112, and at least one to-be-selected item 112 is located in the selection area 111; step S16: in response to the sliding operation, determining the switching speed of the plurality of to-be-selected items 112 in the selected area 111; step S18: in the process of switching the plurality of waiting items 112, the prompter 120 of the electronic device 100 is controlled to output prompting information according to the switching speed.
The storage medium of the embodiment of the application obtains the sliding operation on the selection control 110, determines the switching speed of the multiple to-be-selected items 112 in the selected area 111 according to the obtained sliding operation, and controls the prompting device 120 to output the prompting information according to the switching speed in the process of switching the multiple to-be-selected items 112, so that the output of the prompting information by the electronic device 100 is adaptive to the switching speed, and the prompting effect is more natural.
In the description herein, reference to the description of the terms "certain embodiments," "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the feature. In the description of the present application, "a plurality" means at least two, e.g., two, three, unless specifically limited otherwise.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations of the above embodiments may be made by those of ordinary skill in the art within the scope of the present application, which is defined by the claims and their equivalents.

Claims (8)

1. A prompting method is used for an electronic device, and is characterized by comprising the following steps:
the method comprises the steps of obtaining sliding operation of a selection control, wherein the selection control comprises a selected area and a plurality of to-be-selected items, and at least one to-be-selected item is located in the selected area;
responding to the sliding operation, and determining the switching speed of a plurality of to-be-selected items in the selected area;
in the process of switching a plurality of options to be selected, controlling a prompter of the electronic device to output prompt information according to the switching speed, and controlling the prompter of the electronic device to output prompt information according to the switching speed comprises the following steps:
when the switching speed is within a preset speed range, determining the number of the to-be-selected items switched from the selected area to obtain the switching number;
when the switching number is smaller than or equal to a preset threshold value, controlling the prompter to output prompt information once when one to-be-selected item is switched to the selected area;
and when the switching number is larger than a preset threshold value, controlling the prompter to output prompt information once when the preset number of the to-be-selected items are switched to the selected area.
2. The method according to claim 1, wherein the number of the prompt messages is plural, each prompt message corresponds to a speed range, and the controlling the prompter of the electronic device to output the prompt message according to the switching speed comprises:
determining the prompt information corresponding to the speed range in which the switching speed is positioned;
and controlling the prompter to output the corresponding prompt information.
3. The prompting method according to claim 2, further comprising:
acquiring input setting information;
and setting a speed range corresponding to each prompt message according to the setting message.
4. The prompting method according to claim 2, further comprising:
and processing preset reference information to generate a plurality of prompt messages.
5. A prompting method according to claim 4, wherein the prompter includes a speaker, the reference information includes reference audio, the prompting information includes prompting audio, and the processing of the preset reference information to generate a plurality of the prompting information includes:
processing the reference audio to generate a plurality of the prompt audios;
the determining the prompt information corresponding to the speed range in which the switching speed is located includes:
determining the prompt audio corresponding to the speed range in which the switching speed is positioned;
the controlling the prompter to output the corresponding prompt information comprises:
and controlling the loudspeaker to output the corresponding prompt audio.
6. The prompting method of claim 4, wherein the prompting device comprises a vibrator, the reference information comprises a reference waveform, the prompting information comprises a vibration waveform, and the processing of the preset reference information to generate the plurality of prompting information comprises:
processing the reference waveform to generate a plurality of the vibration waveforms;
the determining the prompt information corresponding to the speed range in which the switching speed is located includes:
determining the vibration waveform corresponding to the speed range where the switching speed is located;
the controlling the prompter to output the corresponding prompt information comprises:
and controlling the vibrator to output the corresponding vibration waveform.
7. An electronic device comprising a prompter and a processor, the prompter being coupled to the processor, the processor being configured to perform the prompting method of any one of claims 1-6.
8. A non-transitory computer-readable storage medium containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the hints method of any of claims 1-6.
CN202010331067.9A 2020-04-24 2020-04-24 Prompting method, electronic device and storage medium Active CN111459389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010331067.9A CN111459389B (en) 2020-04-24 2020-04-24 Prompting method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010331067.9A CN111459389B (en) 2020-04-24 2020-04-24 Prompting method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN111459389A CN111459389A (en) 2020-07-28
CN111459389B true CN111459389B (en) 2021-06-04

Family

ID=71682714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010331067.9A Active CN111459389B (en) 2020-04-24 2020-04-24 Prompting method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111459389B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1239786A (en) * 1998-05-26 1999-12-29 株式会社山武 Method of changing set number displayed in display apparatus and device for realizing the same thereof
CN102314282A (en) * 2010-06-29 2012-01-11 腾讯科技(深圳)有限公司 Method for realizing content selection on the basis of scrolling widget and device
CN104571875A (en) * 2013-10-29 2015-04-29 台中科技大学 Sliding operation method of touch screen and touch track device
CN109753196A (en) * 2017-11-06 2019-05-14 阿里巴巴集团控股有限公司 Processing method, device, equipment and machine readable media

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809891B (en) * 2012-11-13 2016-04-13 腾讯科技(深圳)有限公司 Page switching method and device
CN104298445B (en) * 2014-09-30 2019-01-15 百度在线网络技术(北京)有限公司 A kind of method and apparatus switching interface content
CN110858154B (en) * 2018-08-24 2023-09-01 北京金山云网络技术有限公司 Switching display method and device of carousel graphs, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1239786A (en) * 1998-05-26 1999-12-29 株式会社山武 Method of changing set number displayed in display apparatus and device for realizing the same thereof
CN102314282A (en) * 2010-06-29 2012-01-11 腾讯科技(深圳)有限公司 Method for realizing content selection on the basis of scrolling widget and device
CN104571875A (en) * 2013-10-29 2015-04-29 台中科技大学 Sliding operation method of touch screen and touch track device
CN109753196A (en) * 2017-11-06 2019-05-14 阿里巴巴集团控股有限公司 Processing method, device, equipment and machine readable media

Also Published As

Publication number Publication date
CN111459389A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
US20190138273A1 (en) Device, Method, and Graphical User Interface for Providing Audiovisual Feedback
US20230333808A1 (en) Generating a Customized Social-Driven Playlist
CN111050203B (en) Video processing method and device, video processing equipment and storage medium
US10799795B1 (en) Real-time audio generation for electronic games based on personalized music preferences
KR100807738B1 (en) A vibration generating method and apparatus for mobile communication terminal
US11758228B2 (en) Methods, systems, and media for modifying the presentation of video content on a user device based on a consumption of the user device
CN110430326B (en) Ring editing method and device, mobile terminal and storage medium
CN110265067B (en) Method and device for recording hot segments, electronic equipment and readable medium
US20080163086A1 (en) Method and Apparatus For Transitions in a User Interface
CN109348239A (en) Piece stage treatment method, device, electronic equipment and storage medium is broadcast live
WO2017028686A1 (en) Information processing method, terminal device and computer storage medium
CN107861665A (en) Reminding method and device, terminal, the readable storage medium storing program for executing of a kind of volume adjusting
CN109189979A (en) Music recommended method, calculates equipment and storage medium at device
WO2024104181A1 (en) Audio determination method and apparatus, electronic device, and storage medium
CN113821189A (en) Audio playing method and device, terminal equipment and storage medium
US20240119919A1 (en) Method and device for music play
CN111459389B (en) Prompting method, electronic device and storage medium
CN109979451A (en) Method and apparatus for output information
CN111831250B (en) Audio processing method and device, storage medium and electronic equipment
US20140122606A1 (en) Information processing device, information processing method, and program
CN113407275A (en) Audio editing method, device, equipment and readable storage medium
JP2013003685A (en) Information processing device, information processing method and program
WO2015158954A1 (en) Method, apparatus and computer program for selecting an audio track
Wang et al. MARingBA: Music-Adaptive Ringtones for Blended Audio Notification Delivery
JP2018077557A (en) Contents display method

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