CN113286034A - Method, terminal and storage medium for voice prompt before dial tone - Google Patents

Method, terminal and storage medium for voice prompt before dial tone Download PDF

Info

Publication number
CN113286034A
CN113286034A CN202110372453.7A CN202110372453A CN113286034A CN 113286034 A CN113286034 A CN 113286034A CN 202110372453 A CN202110372453 A CN 202110372453A CN 113286034 A CN113286034 A CN 113286034A
Authority
CN
China
Prior art keywords
audio
audio file
dialing
voice
playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110372453.7A
Other languages
Chinese (zh)
Inventor
熊丰
吴闽华
孟庆晓
马波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Genew Technologies Co Ltd
Original Assignee
Shenzhen Genew Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Genew Technologies Co Ltd filed Critical Shenzhen Genew Technologies Co Ltd
Priority to CN202110372453.7A priority Critical patent/CN113286034A/en
Publication of CN113286034A publication Critical patent/CN113286034A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/64Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/64Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
    • H04M1/642Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations storing speech in digital form
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42017Customized ring-back tones

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a method, a terminal and a storage medium for voice prompt before dial tone, wherein the method for voice prompt before dial tone comprises the following steps: when an off-hook signal of a phone is monitored, acquiring a preset audio file, wherein the off-hook signal is a signal generated by the phone in a handle answering state and a hands-free state; playing the audio file; and when the audio file playing is monitored to be finished, switching the preset dialing audio for playing. The invention can play the pre-stored audio for the telephone in the off-hook state by judging whether the telephone is in the off-hook state in real time, thereby providing the information to be published for the user, and after the audio file is played, the preset dialing audio is switched to play, thereby realizing the effect of reminding the user of dialing.

Description

Method, terminal and storage medium for voice prompt before dial tone
Technical Field
The present invention relates to the field of voice communications technologies, and in particular, to a method, a terminal, and a storage medium for voice prompt before a dial tone.
Background
With the rapid development of science and technology, voice communication is becoming an important means for people to communicate in daily life, for example, people use mobile phones or landline phones to dial numbers of opposite parties to connect in voice in daily life, thereby realizing mutual communication.
In the actual telephone using process, there are some special prompts which need to inform the user, for example, in india, the customer has a requirement to add a welcome prompt tone after the telephone is off-hook, such as "happy holiday", etc., and there is no calling terminal with similar setting function in the prior art, therefore, because the calling terminal in the prior art cannot perform voice prompt before the user dials, the user's missing or not meeting the user's requirement occurs.
Thus, there is still a need for improvement and development in the art.
Disclosure of Invention
In view of the defects of the prior art, the present invention aims to provide a method, a terminal and a storage medium for voice prompt before a dial tone, and aims to solve the problems that a call terminal in the prior art cannot realize voice prompt before dialing, so that a user misses information or voice requirements, and the like.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a method of voice prompt before dial tone, wherein the method of voice prompt before dial tone comprises:
when an off-hook signal of a phone is monitored, acquiring a preset audio file, wherein the off-hook signal is a signal generated by the phone in a handle answering state and a hands-free state;
playing the audio file;
and when the audio file playing is monitored to be finished, switching the preset dialing audio for playing.
The method for voice prompt before dial tone, wherein when an off-hook signal of the phone is monitored, the acquiring of the preset audio file comprises:
starting a preset voice file scanning program;
scanning a preset audio folder according to the voice file scanning program;
and acquiring the audio files in the audio folder.
The method for voice prompt before dial tone, wherein the scanning a preset audio folder according to the voice file scanning program comprises:
acquiring a voice identifier in the audio folder according to the voice file scanning program;
and determining the audio files in the audio folder according to the voice identification.
The method for voice prompt before dial tone, wherein the determining the audio files in the audio folder according to the voice identifier comprises:
determining the type of the audio file according to the voice identification, wherein the type of the audio file comprises: a date audio file, a weather audio file, and a memo content audio file;
and determining the audio file corresponding to the type according to the type of the audio file. The method for voice prompt before dial tone, wherein after the audio file is played, the method comprises the following steps:
monitoring a key signal in real time in the process of playing the audio file;
when the key signal is monitored, closing the audio file being played;
and when the key signal is not monitored, playing the complete audio file.
The method for voice prompt before dial tone, wherein when the key signal is not monitored, after the complete audio file is played, the method comprises the following steps:
and when the audio file is completely played, continuing to play the dialing audio.
The method for voice prompt before dial tone, wherein when the audio file is completely played, continuing to play the dial tone further comprises:
monitoring a key signal in real time in the process of playing the dialing audio;
when the key signal is monitored, the dialing audio is closed;
and when the key signal is not monitored, continuously playing the dialing audio.
The method for voice prompt before dialing tone, wherein when the dialing key is enabled, after the dialing tone is closed, the method comprises:
continuously monitoring the next key signal after monitoring one key signal, and starting to monitor whether the next key signal appears within a preset waiting time;
if the next key signal is not monitored within the preset waiting time, the dialing operation is judged to be terminated, and the dialing audio is played again.
A mobile terminal, comprising: a processor, a memory communicatively connected to the processor, the memory storing a computer program for, when executed, implementing the method of any of the above; the processor is configured to invoke a computer program in the memory to implement the method as claimed in any one of the above.
A storage device having a computer program stored thereon, the computer being capable of implementing the method of any one of the preceding claims.
The invention has the technical effects that: the invention provides a method, a terminal and a storage medium for voice prompt before a dial tone, which can realize the technical effect of voice prompt to a user before the user dials by judging whether the telephone is in an off-hook state or not, acquiring a preset audio file when the telephone is in the off-hook state and playing the pre-stored audio file, and monitor dial keys in real time in the voice playing process, and directly entering a dialing program when the dial keys are triggered to realize seamless switching from voice playing to key dialing.
Drawings
FIG. 1 is a flow chart of the steps of a method of voice prompting prior to dialing in accordance with the present invention;
FIG. 2 is a flow chart of the steps of obtaining a predetermined audio file according to the present invention;
FIG. 3 is a flowchart illustrating the steps of scanning a predetermined folder according to the present invention;
FIG. 4 is a flowchart of the steps for extracting an audio file according to another embodiment of the present invention;
FIG. 5 is a flowchart illustrating the steps of monitoring the playback of an audio file according to the present invention;
FIG. 6 is a flowchart illustrating steps for monitoring dial tone play according to the present invention;
FIG. 7 is a schematic flow chart illustrating the operation of the first embodiment of the present invention;
fig. 8 is a schematic operating environment diagram of a preferred embodiment of the intelligent terminal of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components, the motion situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is 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 addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
In the prior art, in the process of dialing, when a user performs off-hook operation, the user directly enters a process of dialing a number, specifically, a voice gateway APP starts number detection on a POST phone and calls the POST phone after the user dials the number, the operation process does not remind the user after the user is off-hook, and in some countries or regions, such as India, some customers need to add a section of requirement of welcome prompt tone before dialing, such as 'XX festival happy', however, the current equipment cannot meet the requirement; in another embodiment of the prior art, when passers use a public telephone, the prior art posts a tag per minute unit price at the public telephone booth, but it is common that the posted price tag is damaged, so that passers cannot know the price for using the public telephone, and if a voice prompt can be provided before dialing, the above problem can be effectively solved.
The present invention provides a method for voice prompt before dial tone, which aims at the disadvantage that voice prompt cannot be provided in the prior art, and as shown in fig. 1, the method specifically comprises:
s100, when an off-hook signal of the phone is monitored, acquiring a preset audio file, wherein the off-hook signal is a signal generated by the phone in a handle answering state and a hands-free state;
s200, playing the audio file;
s300, when the audio file playing is monitored to be finished, switching a preset dialing audio for playing.
In the invention, the state of using the telephone by the user is judged by monitoring the off-hook signal of the telephone, the preset audio file is played, so that the function of voice prompt before dialing the user is realized, and when the audio file is monitored to be played, the preset dialing audio is switched to be played, so that the effect of prompting the user to perform further dialing operation is realized.
In step S100, the off-hook state of the phone specifically includes a handle answering state and a hands-free state, where the handle answering state refers to an operation step of picking up a handset of the phone from a trigger phone when the user uses a fixed phone, or an operation step of starting a dialing application program when the user uses a mobile terminal; the hands-free state refers to an operation step that a user presses hands-free dialing when using a fixed phone, or an operation step that a user presses a hands-free case after starting a dialing application program when using a mobile terminal. When a user carries out off-hook operation, the using process of the telephone is triggered, in the invention, as for the use of the current telephone, only two preparation operations before dialing, namely handle picking up and hands-free key opening, exist, and under the condition that any third operation can be realized in the future, a person skilled in the art can carry out improvement and replacement on steps according to the technical scheme described in the application.
In step S200, an audio file is played, in the present invention, the audio playing operation is implemented by starting a voice playing program in a voice gateway, where the voice gateway is a voice access device that performs voice communication through the internet, and this device connects a PSTN and an IP network, so as to implement the function of voice communication of an Intent network. The voice playing program and the specific audio file are prestored in the digital signal processing chip, and the voice playing program is triggered to play the prestored audio file after the user carries out off-hook operation, so that the effect of voice prompt before the user dials is realized.
In step S300, when it is monitored that the audio file is played, the preset dialing audio is switched to be played, in the conventional technology, when a user uses a phone to perform an off-hook operation, a dialing tone is usually provided to prompt, in an initial stage of phone development, when the user picks up the phone, a "number to be dialed" is often prompted, as the phone is gradually popularized, the dialing tone is replaced by a slow "beep" sound, and the dialing tone emitted between dialing and a jerky "beep" dialing tone emitted during dialing are completely different.
Based on the above embodiment, as shown in fig. 2, fig. 2 is a flowchart of the step of acquiring the preset audio file according to the present invention, where the acquiring the preset audio file according to the present invention further includes:
s110, starting a preset voice file scanning program;
s120, scanning a preset audio folder according to the voice file scanning program;
s130, obtaining the audio files in the audio folder.
In the invention, scanning a preset audio file, wherein a folder where the audio file is located in a storage position preset in a digital signal processing chip by a user, the file can be configured through a webpage or a command line, and when the file is configured through the webpage, the file is transmitted through a wireless/wired network connected with a voice gateway, wherein the transmission format is the audio files with the format types of WAV, MP3, WMA, OGG, APE, ACC, AAC and the like, and the files can be downloaded or recorded in advance through the network for pre-storage and then are led into the storage position of the digital signal processing chip; when the command line is configured, the command line can be stored in the command storage area of the digital signal processing chip, and when the digital signal processing chip is actually used, the command line is read by the digital signal processing chip, so that the command line is converted into an analog voice file to be played for a user.
When the digital signal processing chip judges that the audio file is prestored, the file scanning program acquires the audio file and plays the audio prestored in the audio file, namely, the voice prompt is played before the dial tone after the user hooks off the phone; in the practical application process, another situation is often included, that is, the user does not actively configure the audio file in the digital signal processing chip, or actively deletes the audio file in the using process, in this situation, it is determined that the playback configuration file does not exist, and in this situation, the playback number is directly played to guide the user to dial the number.
In one possible embodiment of the present invention, the audio file is stored in a predetermined folder, that is, the signature of the folder is a path for the voice playing program to call the audio file, and the audio folder is placed in a storage area of the digital signal processing chip in the voice gateway. In practical applications, the audio folder should be set to be fixed, i.e. the folder exists and the pathname is fixed regardless of whether or not there is an audio file.
Based on the above embodiment, further, the voice file scanning program for reading the file is also disposed in the digital signal processing chip in the voice gateway, which has the advantages that the voice file scanning program directly accesses the audio file in the audio folder, so as to improve the access speed and reduce the occurrence of reading errors caused by excessive access.
Based on the above embodiment, as shown in fig. 3, the process of scanning the preset audio folder according to the voice file scanning program of the present invention includes the following steps:
s121, acquiring a voice identifier in the audio folder according to the voice file scanning program;
s122, determining the audio files in the audio folder according to the voice identification.
In an actual operation process, if the user does not configure any audio file for the audio folder in advance, the determined result is that no audio file exists, in this case, the extraction of the audio file is directly skipped, and the next step operation is performed, in another case, the user not only configures the audio file for the audio folder, but also provides different types of voice prompts corresponding to different holiday information, in this case, the step of determining the audio file in the audio folder according to the voice identifier includes the following steps, as shown in fig. 4:
s122a, judging the type of the audio file according to the voice identification, wherein the type of the audio file comprises: date, weather, and memo content;
s122b, determining the audio file corresponding to the current date according to the type of the audio file;
in the above embodiment, the calendar note table is a conventional configuration of a telephone set in the prior art, in a fixed telephone, a connection is made to the internet through a voice gateway, in which a calendar for recording call time is stored, in the calendar, information related to a conventional festival is recorded in advance, and at the same time, a user can change calendar information in the voice gateway through the internet, for example, add a mark of an important date, such as a user's birthday, memo information of the date, and the like; in the mobile terminal, the voice gateway identifies the festivals marked in the calendar by reading a calendar program carried by the mobile terminal, and reads the calendar and a memorandum associated with the calendar at the same time, thereby realizing the effect of reminding the user.
In another possible implementation manner of the present invention, the voice gateway is provided with a related application program, and the read text can be directly converted into voice for broadcasting, similar to a "reciting" function in electronic book software, and through this function, the effect of reminding and broadcasting on a special date can also be achieved under the condition that the user does not configure an audio file.
In the specific operation steps, when the current date is judged to be the marked date in the calendar event list, an audio file corresponding to the current date is selected from an audio folder, the corresponding relation between the audio file and the holiday date can be that the audio file is named directly in a file name and named through a symbol code of a preset rule, or a related character segment is added in the attribute of the audio file for identification, when the audio file related to the current holiday does not exist, the audio file corresponding to the conventional date is directly selected for extraction, when the audio file of the conventional date does not exist, the user is indicated that the related voice is not configured on the conventional date, namely, the stage of voice prompt is skipped, and dial tone prompt is directly entered.
Based on the above, in another embodiment of the present invention, the pre-stored audio file is configured by a command line of the voice gateway or software for managing the voice gateway, and specifically, in the present invention, the voice information is converted into code information by the processing function of the digital signal processing chip, the code information is also stored in a preset folder in the storage area of the digital signal processing chip, when the playing is required, the voice playing program reads the command line in the preset folder, and converts the information represented in the command line into an analog sound signal for playing; the pre-stored audio files can also be configured through the software of the voice gateway, for example, a certain software comprises hundreds of voice packets on line, a user selects and downloads the voice packets in the software, so that the preset of the voice packets is realized, and in the downloading process, the selected voice packets are wirelessly transmitted to a preset folder in a storage area of a digital signal processing chip, so that the configuration of playback configuration files in the voice gateway is realized.
In another embodiment of the present invention, as shown in fig. 5, after playing the audio file, the method includes:
s210, monitoring a key signal in real time in the process of playing the audio file;
s220, when the key signal is monitored, closing the audio file being played;
and S230, when the key signal is not monitored, playing the complete audio file.
In the above steps, if the user presses the play key in the process of playing the voice prompt by the voice play program, the voice play program is closed at the same time, the dial key dialed by the user is recorded and detected, and when the user dials the number, a call is initiated; and in the process of playing the voice by the voice playing program, when the dialing key is not detected, continuously playing the pre-stored audio until the end, and after the playing of the pre-stored audio is finished, continuously playing the dialing audio.
In the process of playing the dialing audio, as shown in fig. 6, the method further includes the following steps:
s240, monitoring a key signal in real time in the dialing audio playing process;
s250, when the key signal is monitored, closing the dial tone;
and S260, continuously playing the dialing audio when the key signal is not monitored.
In the above steps, in the dial tone playing stage, the dial keys are monitored in real time, and the dial tones are used for reminding the user to dial, so that after the user presses the dial keys, the play of the dial tones is stopped synchronously, but if the user does not press the dial keys all the time, the dial tones are continuously played to remind the user.
Based on the embodiment, the invention continuously monitors the next dialing operation after monitoring the dialing operation, and starts to monitor whether the next dialing operation occurs within the preset waiting time; if the next dialing operation is not monitored within the preset waiting time, the dialing operation is judged to be terminated, and the dialing audio is played again. In the actual operation process, a phone developer presets a threshold as a waiting time length, in the process of dialing by a user using a phone, when the operation of a first dialing key by the user is monitored, the preset waiting time length starts timing, whether the next dialing key appears is monitored, and when the user delays and does not operate the next key and the interval time length is longer than the time set by the threshold, the dialing tone is restarted to remind the user to dial again.
In another embodiment of the present invention, when the number dialed by the user does not conform to the preset rule of the number dialed by the phone, i.e. for example, the number of the mobile phone is usually 11 digits, and 0 is dialed in front of the long distance mobile phone, i.e. in the preset rule, the dialing key of the mobile phone is 11-12 times, and the user dials 13 digits in the actual number dialing process, which indicates that the number dialed by the user does not conform to the preset rule of the number of the phone at this time, i.e. it is determined that the dialing operation is terminated, and the dialing tone is played again.
In another possible implementation manner of the present invention, as shown in fig. 7, fig. 7 is a schematic operation flow diagram of a first embodiment of the present invention, in this embodiment, a phone is configured to have the configuration of the method for voice prompt before dial tone, and the specific operation flow is as follows:
firstly, a user carries out off-hook operation on the POST telephone 100, the off-hook operation comprises the steps that the user picks up a microphone handle of the POST telephone or directly presses a hands-free button to use the POST telephone, after the user goes off the telephone 110, a voice gateway 200 connected with the telephone carries out judgment to judge whether the user configures an audio file, the audio file is played 210 when the audio file is configured, namely the audio file in the telephone is extracted and played to realize playing of the configured audio file 211, meanwhile, dialing keys of the POST telephone 100 are monitored, if the dialing keys are monitored to be started, the playing of the audio file is directly stopped, and when the dialing keys are not monitored to be started, the audio file is continuously played until the completion. After the audio file is played, the user continues to play the dial tone 220 without receiving the number, where the dial tone is a voice prompting the user to dial, for example: when the dialing key is not monitored to be started, a dialing tone 230 is played for the user to remind the user to dial, and then when the user dials 120, the sound of the dialing tone 240 is stopped, the number dialed by the user is recorded and identified, and in the process, the user continues to dial 130, finally, the dialing is finished, and a call is initiated 250.
Based on the above description, the invention provides a method for voice prompt before dial tone, which realizes the technical effect of voice prompt to a user before the user dials by judging whether the telephone is in an off-hook state, starting a voice playing program in a voice gateway when the telephone is in the off-hook state, and playing a pre-stored audio file, wherein in the process of voice playing, the dial key is monitored in real time, and when the dial key is triggered, the dial program is directly entered to realize seamless switching from voice playing to key dialing.
Further, as shown in fig. 8, based on the above method of voice prompt before dialing, the present invention further provides an intelligent terminal, where the intelligent terminal includes: processor 10, memory 20, and display 30, fig. 2 only shows some of the components of the intelligent terminal, but it should be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
The memory 20 may be an internal storage unit of the intelligent terminal in some embodiments, such as a hard disk or a memory of the intelligent terminal. The memory 20 may also be an external storage device of the Smart terminal in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a SECURE Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the Smart terminal.
Further, the memory 20 may also include both an internal storage unit and an external storage device of the smart terminal. The memory 20 and various types of data such as program codes of the installed intelligent terminal, etc. The memory 20 may also be used to temporarily store data that has been output or is to be output. In an embodiment, the memory 20 stores a script program-based anti-debugging program 40, and the script program-based anti-debugging program 40 can be executed by the processor 10, so as to implement the script program-based anti-debugging method in the present application.
The processor 10 may be a Central Processing Unit (CPU), a microprocessor or other data Processing chip in some embodiments, and is used for running program codes stored in the memory 20 or Processing data, such as executing the anti-debugging method based on the script program. The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 30 is used for displaying information at the intelligent terminal and for displaying a visual user interface. The components 10-30 of the intelligent terminal communicate with each other via a system bus.
In one embodiment, when the processor 10 executes the pre-dialing voice prompt program 40 in the memory 20, the following steps are implemented:
a method of voice prompt before dial tone, wherein the method of voice prompt before dial tone comprises:
a method of voice prompt before dial tone, wherein the method of voice prompt before dial tone comprises:
when an off-hook signal of a phone is monitored, acquiring a preset audio file, wherein the off-hook signal is a signal generated by the phone in a handle answering state and a hands-free state;
playing the audio file;
and when the audio file playing is monitored to be finished, switching the preset dialing audio for playing.
The method for voice prompt before dial tone, wherein when an off-hook signal of the phone is monitored, the acquiring of the preset audio file comprises:
starting a preset voice file scanning program;
scanning a preset audio folder according to the voice file scanning program;
and acquiring the audio files in the audio folder.
The method for voice prompt before dial tone, wherein the scanning a preset audio folder according to the voice file scanning program comprises:
acquiring a voice identifier in the audio folder according to the voice file scanning program;
and determining the audio files in the audio folder according to the voice identification.
The method for voice prompt before dial tone, wherein the determining the audio files in the audio folder according to the voice identifier comprises:
judging the type of the audio file according to the voice identification, wherein the type of the audio file comprises: date, weather, and memo content;
and determining the audio file corresponding to the current date according to the type of the audio file.
The method for voice prompt before dial tone, wherein after the audio file is played, the method comprises the following steps:
monitoring a key signal in real time in the process of playing the audio file;
when the key signal is monitored, closing the audio file being played;
and when the key signal is not monitored, playing the complete audio file.
The method for voice prompting before dial tone, wherein after the key signal is not monitored, the method comprises the following steps:
and when the audio file is completely played, continuing to play the dialing audio.
The method for voice prompt before dial tone, wherein when the audio file is completely played, continuing to play the dial tone further comprises:
monitoring a key signal in real time in the process of playing the dialing audio;
when the key signal is monitored, the dial tone is closed;
and when the key signal is not monitored, continuously playing the dialing audio.
The method for voice prompt before dial tone, wherein when the dial key is enabled, after the dial tone is turned off, the method comprises the following steps:
continuously monitoring the next key signal after monitoring one key signal, and starting to monitor whether the next key signal appears within a preset waiting time;
if the next key signal is not monitored within the preset waiting time, the dialing operation is judged to be terminated, and the dialing audio is played again.
The present invention also provides a storage medium, wherein the storage medium stores a program based on voice prompt before dial-tone, and the program is executed by a processor before dial-tone to implement the steps of the method for voice prompt before dial-tone as described above.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations are possible to those skilled in the art in light of the above teachings, and that all such modifications and variations are intended to be included within the scope of the invention as defined in the appended claims.

Claims (10)

1. A method for voice prompt before dial tone is characterized in that the method for voice prompt before dial tone comprises the following steps:
when an off-hook signal of a phone is monitored, acquiring a preset audio file, wherein the off-hook signal is a signal generated by the phone in a handle answering state and a hands-free state;
playing the audio file;
and when the audio file playing is monitored to be finished, switching the preset dialing audio for playing.
2. The method of claim 1, wherein the obtaining a predetermined audio file when an off-hook signal of the phone is monitored comprises:
starting a preset voice file scanning program;
scanning a preset audio folder according to the voice file scanning program;
and acquiring the audio files in the audio folder.
3. The method of claim 2, wherein scanning a predetermined audio folder according to the voice file scanning program comprises:
acquiring a voice identifier in the audio folder according to the voice file scanning program;
and determining the audio files in the audio folder according to the voice identification.
4. The method of claim 3, wherein said determining said audio files in said audio folder from said voice identification comprises:
determining the type of the audio file according to the voice identification, wherein the type of the audio file comprises: a date audio file, a weather audio file, and a memo content audio file;
and determining the audio file corresponding to the type according to the type of the audio file.
5. The method of claim 1, wherein after playing the audio file, the method further comprises:
monitoring a key signal in real time in the process of playing the audio file;
when the key signal is monitored, closing the audio file being played;
and when the key signal is not monitored, playing the complete audio file.
6. The method of claim 5, wherein the step of playing the audio file when the key signal is not detected comprises:
and when the audio file is completely played, continuing to play the dialing audio.
7. The method of claim 6, wherein continuing to play the dialing tone after the audio file is completely played further comprises:
monitoring a key signal in real time in the process of playing the dialing audio;
when the key signal is monitored, the dialing audio is closed;
and when the key signal is not monitored, continuously playing the dialing audio.
8. The method of claim 7, wherein turning off the dialing tone when the dialing key is enabled comprises:
continuously monitoring the next key signal after monitoring one key signal, and starting to monitor whether the next key signal appears within a preset waiting time;
if the next key signal is not monitored within the preset waiting time, the dialing operation is judged to be terminated, and the dialing audio is played again.
9. A mobile terminal, comprising: a processor, a memory communicatively connected to the processor, the memory storing a computer program for, when executed, implementing the method of any of claims 1-8; the processor is configured to invoke a computer program in the memory to implement the method of any one of claims 1-8.
10. A storage device, characterized in that the storage device stores a computer program, the computer being capable of implementing the method according to any one of claims 1-8.
CN202110372453.7A 2021-04-07 2021-04-07 Method, terminal and storage medium for voice prompt before dial tone Pending CN113286034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110372453.7A CN113286034A (en) 2021-04-07 2021-04-07 Method, terminal and storage medium for voice prompt before dial tone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110372453.7A CN113286034A (en) 2021-04-07 2021-04-07 Method, terminal and storage medium for voice prompt before dial tone

Publications (1)

Publication Number Publication Date
CN113286034A true CN113286034A (en) 2021-08-20

Family

ID=77276377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110372453.7A Pending CN113286034A (en) 2021-04-07 2021-04-07 Method, terminal and storage medium for voice prompt before dial tone

Country Status (1)

Country Link
CN (1) CN113286034A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6608891B1 (en) * 1999-03-15 2003-08-19 Ameritech Corporation System and method for providing network information service
CN1625197A (en) * 2004-01-02 2005-06-08 侯万春 Method for setting telephone ring sound
CN1731797A (en) * 2004-08-06 2006-02-08 华为技术有限公司 Method for realizing color dialing tone
US20090060159A1 (en) * 2007-08-31 2009-03-05 Embarq Holdings Company, Llc System and method for providing a customized dialtone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6608891B1 (en) * 1999-03-15 2003-08-19 Ameritech Corporation System and method for providing network information service
CN1625197A (en) * 2004-01-02 2005-06-08 侯万春 Method for setting telephone ring sound
CN1731797A (en) * 2004-08-06 2006-02-08 华为技术有限公司 Method for realizing color dialing tone
US20090060159A1 (en) * 2007-08-31 2009-03-05 Embarq Holdings Company, Llc System and method for providing a customized dialtone

Similar Documents

Publication Publication Date Title
CN1913684B (en) Mobile communication terminal providing memo function and method thereof
US6504917B1 (en) Call path display telephone system and method
US8041024B2 (en) Method and system for telephone number change notification and tracking
JP2008113418A (en) Method for centrally storing data
CN101521702B (en) Multimedia personalized call method and communication terminals
WO2004049681A1 (en) Mobile comunication method and device for playing an audio file at a remote communication device
CN1922851B (en) Phone book update based on information service
CN103108073A (en) Method of utilizing mobile phone client to provide voice options and feed back text prompt
CN113286034A (en) Method, terminal and storage medium for voice prompt before dial tone
JP2009171336A (en) Mobile communication terminal
CN101179618B (en) Incoming call prompting method for terminal
WO2019056392A1 (en) Information processing method and apparatus, mobile terminal, and computer readable storage medium
WO2019056391A1 (en) Information processing method and apparatus, mobile terminal, and computer readable storage medium
JP5169063B2 (en) Mobile communication terminal device and program
KR100469447B1 (en) Supplementary service management method for mobile phone
JP5049577B2 (en) Communication terminal device and computer program therefor
JP4491429B2 (en) Call terminal device, screen display method, and screen display program
TW201519630A (en) System and method for reminding the incoming call
KR100786704B1 (en) Method for notifying of anniversary of mobile communication
KR20140035681A (en) System for guiding caller information of smart phone and method therefor
JP2002094612A (en) Portable telephone
KR20060024967A (en) Method for telephone call in mobile communication terminal
US20060148473A1 (en) Method for assigning an representing data to be used by a remote end
JP2002244986A (en) Communications system, terminal unit, and program
KR20050055521A (en) Method of displaying caller information with schedule for mobile phone

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210820