WO2018130100A1 - Voice messaging method and terminal - Google Patents

Voice messaging method and terminal Download PDF

Info

Publication number
WO2018130100A1
WO2018130100A1 PCT/CN2017/120357 CN2017120357W WO2018130100A1 WO 2018130100 A1 WO2018130100 A1 WO 2018130100A1 CN 2017120357 W CN2017120357 W CN 2017120357W WO 2018130100 A1 WO2018130100 A1 WO 2018130100A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
voice
voice message
information
call request
Prior art date
Application number
PCT/CN2017/120357
Other languages
French (fr)
Chinese (zh)
Inventor
尹运普
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018130100A1 publication Critical patent/WO2018130100A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/50Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
    • H04M3/53Centralised arrangements for recording incoming messages, i.e. mailbox systems
    • H04M3/533Voice mail systems
    • 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

Definitions

  • This document relates to but not limited to the field of electronic applications, and in particular to a voice message method and terminal.
  • the embodiment of the invention is intended to provide a voice message method and a terminal, which can enrich the diversity of the voice message mode.
  • the embodiment of the invention provides a voice message method, which is applied to a first terminal, and the method includes:
  • Obtaining the voice message information by performing a voice message operation on the second terminal according to the first selection instruction, and saving the voice message information in a voice information library, where the voice information database is in the first a database for storing all voice information in a terminal;
  • the method further includes:
  • the sending the voice message information to the second terminal according to the call request includes:
  • the voice message information corresponding to the second terminal is found from the voice information database, the voice message information is sent to the second terminal.
  • the method further includes:
  • the method further includes:
  • the call request of the second terminal is displayed.
  • the method further includes:
  • the call request of the second terminal is displayed.
  • the embodiment of the invention further provides a voice message method, which is applied to a second terminal, and the method includes:
  • the method after the receiving the voice message information sent by the first terminal, the method further includes:
  • An embodiment of the present invention provides a first terminal, where the terminal includes:
  • the first receiving unit is configured to receive, by using a message interface, a first selection instruction, where the first selection instruction is used to determine a second terminal, and the second terminal is a terminal that receives voice message information;
  • a message unit configured to obtain the voice message information by performing a voice message operation on the second terminal according to the first selection instruction
  • a storage unit configured to save the voice message information in a voice information library, where the voice information library is a database that stores all voice information in the first terminal;
  • the first sending unit is configured to receive a call request of the second terminal, and send the voice message information to the second terminal according to the call request.
  • the first sending unit is further configured to send, to the second terminal, voice notification information corresponding to the voice message information, where the voice notification information is used to notify the second terminal to acquire The voice message information.
  • the first terminal further includes: a determining unit and a searching unit;
  • the determining unit is configured to determine, according to the call request, whether the read voice message switch is turned on;
  • the searching unit is configured to: when the read voice message switch is turned on, search for voice information corresponding to the second terminal from the voice information database;
  • the first sending unit is further configured to: when the voice message information corresponding to the second terminal is found from the voice information database, send the voice message information to the second terminal.
  • the first terminal further includes: a first display unit;
  • the first display unit is configured to display the call request of the second terminal when the read voice message switch is turned off.
  • the first display unit is further configured to display the call request of the second terminal when the voice information corresponding to the second terminal is not found in the voice information database. .
  • the first terminal further includes: a recording unit;
  • the recording unit is configured to start recording the current time
  • the first display unit is further configured to display the call request of the second terminal when the current time is greater than a preset time threshold.
  • the embodiment of the invention provides a second terminal, where the second terminal includes:
  • a second sending unit configured to send a call request to the first terminal
  • the second receiving unit is configured to receive the voice message information sent by the first terminal.
  • the second terminal further includes: an operation unit;
  • the operating unit is configured to perform a call operation with the first terminal when a preset time threshold after the successful receipt of the voice message information arrives.
  • the embodiment of the invention provides a voice message method and a terminal.
  • the first selection instruction is received through the message interface in the voice message mode, the first selection instruction is used to determine the second terminal, and the second terminal is to receive the voice message information.
  • the terminal obtains the voice message information by performing a voice message operation on the second terminal according to the first selection instruction, and saves the voice message information in the voice information database, where the voice information database is a database storing all the voice information in the first terminal; Receiving a call request of the second terminal, and transmitting the voice message information to the second terminal according to the call request. Since the solution can record the voice on the terminal that sends the voice information and send the voice notification information to notify the voice information that the terminal that receives the voice information listens to, the solution can enrich the diversity of the voice message mode.
  • FIG. 1 is a flowchart 1 of a voice message method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a data flow diagram for making voice message information according to an embodiment of the present invention
  • FIG. 3 is a second flowchart of a voice message method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of an exemplary voice message switch setting according to an embodiment of the present invention.
  • FIG. 5 is a data flow diagram of voice message information transmission according to an embodiment of the present invention.
  • 6 is a data flow diagram of voice information transmission
  • FIG. 7 is a flowchart 3 of a voice message method according to an embodiment of the present invention.
  • FIG. 8 is an interaction diagram 1 of a voice message method according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of an exemplary method for reading a voice message according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram 1 of a first terminal according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram 2 of a first terminal according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram 3 of a first terminal according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram 4 of a first terminal according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram 5 of a first terminal according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram 1 of a second terminal according to an embodiment of the present disclosure.
  • FIG. 16 is a schematic structural diagram 2 of a second terminal according to an embodiment of the present disclosure.
  • FIG. 17 is a schematic structural diagram 3 of a second terminal according to an embodiment of the present invention.
  • the voicemail service provided by the operator has many limitations, especially the scene limitation is strict. Usually, it can only leave a message if it cannot be connected, which is far from satisfying the user's needs. In practice, users often need more message scenes, such as when the other party is busy, when the other party is not answered, inconvenient to communicate by phone, or when there is no need to communicate directly, it is necessary to notify the other party in a more convenient way. . Therefore, it is necessary to provide a convenient method for voice messages.
  • An embodiment of the present invention provides a voice message method, which is applied to a first terminal. As shown in FIG. 1 , the method may include:
  • S101 In the voice message mode, receive a first selection instruction by using a message interface, where the first selection instruction is used to determine the second terminal, and the second terminal is a terminal that receives the voice message information.
  • a voice message method provided by an embodiment of the present invention is applicable to a terminal that sends voice information to save voice information in a scenario on the terminal.
  • the first terminal is a terminal that receives the voice information recorded by the first user to the second terminal and sends the voice information to the second terminal.
  • the first terminal first enters a voice message mode.
  • the first terminal clicks on the identifier of the second terminal that needs to leave a message, and instructs the first user to record a message to the second terminal.
  • the manner of entering the message mode in the embodiment of the present invention includes: when the call fails, the call end page displays the voice message entry, enters the voice message mode; enters the voice message mode by entering the call record detail interface; The page enters the voice message mode; the voice message application is opened through the desktop or the voice message mode is entered in other manners, and is selected according to the actual situation, which is not specifically limited in the embodiment of the present invention.
  • the first terminal After the first terminal selects the second terminal, the first terminal instructs the first user to record a message to the second terminal, and stores the recorded message in the voice information database of the first terminal.
  • the first terminal after the first user selects the second terminal, the first terminal prompts the first user to record a message to the second terminal, creates a voice message according to the recorded message, and saves the voice message information in the first In the storage area specified in the terminal.
  • the mobile phone number corresponding to the second terminal may be used to represent the identifier of the second terminal.
  • the data flow diagram of the voice message information is as shown in FIG. 2, and the method for preparing the voice message information includes:
  • the first terminal stores the voice message information in the voice information database in the first terminal.
  • the first user may delete the voice information stored in the voice information database. .
  • the voice message information is saved in the voice information database in the first terminal, and the voice message information can be deleted, and is not restricted by the operator, and the duration of recording the voice information can be increased.
  • the first terminal After the first terminal stores the voice message information of the second terminal to the designated location of the first terminal, when the second terminal sends the call request, the first terminal sends the voice message information to the second terminal.
  • the second terminal sends a call request to the first terminal, and after the first terminal receives the call request sent by the second terminal, the first terminal determines whether the read voice message switch is enabled, and when the voice message is read, The first terminal searches for the voice information corresponding to the second terminal from the voice information database. When the first terminal searches for the voice message information corresponding to the second terminal from the voice information database, the first terminal sends the voice message information to the second terminal. The voice message information.
  • the first terminal determines that the read voice message switch is off or the first terminal does not find the voice message information corresponding to the second terminal from the voice information database.
  • the first terminal directly displays the call request of the second terminal on the display interface for the user to select to connect or terminate communication with the second terminal.
  • the first terminal may send the voice notification information to the second terminal to remind the second terminal that the second terminal has Voice message information of the first terminal.
  • the voice notification information may be sent to the second terminal by using a short message or a missed call, and is set according to an actual situation, which is not specifically limited in the embodiment of the present invention.
  • the first terminal performs a voice message operation on the selected second terminal in the voice message mode, and when the second terminal sends a call request to the first terminal, the first terminal sends a corresponding message corresponding to the second terminal.
  • the voice message information to the second terminal can enrich the diversity of the voice message mode.
  • a voice message method further includes:
  • the first terminal determines, according to the call request, whether the read voice message switch is turned on.
  • the first terminal After the first terminal receives the call request of the first terminal, the first terminal first determines whether the voice message switch is in an open state.
  • the first terminal determines the state of the voice message switch, and when the state of the voice message switch is enabled, the first terminal is allowed to search for the voice message corresponding to the second terminal; When the state of the voice message switch is off, the function of the first terminal is not enabled to open the voice message. At this time, the call request sent by the second terminal is displayed on the display page of the first terminal.
  • the setting page of the first terminal may change the state of the voice message switch.
  • the setting page of the mobile phone is provided with a status bar of the voice message switch, and the first user can turn the voice message switch on or off by clicking the “on” or “off” button.
  • the first terminal When the first terminal reads the voice message switch, the first terminal searches for the voice information corresponding to the second terminal from the voice information database.
  • the first terminal When the first terminal determines that the state of the read voice message switch is the on state, the first terminal searches for the voice information corresponding to the second terminal from the voice information database.
  • the first terminal when the first terminal determines that the state of the voice message switch is the on state, the first terminal is configured to enable the reading function of the voice message, and the first terminal needs to find out whether the voice information database exists or not.
  • the voice information corresponding to the second terminal when the first terminal determines that the state of the voice message switch is the on state, the first terminal is configured to enable the reading function of the voice message, and the first terminal needs to find out whether the voice information database exists or not. The voice information corresponding to the second terminal.
  • the first terminal searches for the voice information corresponding to the identifier of the second terminal in the voice database.
  • the media scanning service provided by the mobile phone system scans the storage directory of the message data to find the file name that matches the incoming mobile phone number.
  • the first terminal sends the voice message information to the second terminal.
  • the first terminal finds the voice message information corresponding to the second terminal in the voice information database, the first terminal indicates that the voice message information for the second terminal is stored, and at this time, the voice message information is sent to the second terminal. .
  • the first terminal when the first terminal searches for the voice message information corresponding to the second terminal from the voice information database, the first terminal sends the found voice message information to the second terminal.
  • the flow of sending message data is as shown in FIG. 5, and includes:
  • DSP Digital Signal Processing
  • the message data of the file is read into the memory at a rate of 64 kbps, and then the data is written to the DSP by the driver, and then sent by the DSP.
  • the second terminal is sent to the second terminal. After receiving the data, the second terminal demodulates the data through the modem, sends it to the DSP, and sends it to the handset through the codec.
  • the voice data of the normal call is used to replace the voice data of the normal call and sent to the second terminal, so as to complete the transmission of the message data, as shown in FIG. 6, the data flow diagram and the voice data when the call connection is normally established.
  • the voice data is sent to the codec through the media interface connector for encoding, and then the encoded data is sent to the DSP for analog-to-digital conversion, and sent to the modem, and finally sent to the second terminal through the network, and the second terminal receives After the data, the data is demodulated by the modem and sent to the DSP, and then sent to the handset through the codec.
  • the first terminal after the first terminal sends the completed voice message information to the second terminal, the first terminal deletes the voice message information from the voice information database.
  • the first terminal after the first terminal sends the completed voice message information to the second terminal, the first terminal starts to record the current time.
  • the current time is greater than the preset time threshold, the first terminal is displayed on the display page of the first terminal.
  • the call request of the second terminal is displayed.
  • the first terminal displays the call request of the second terminal on the display page of the first terminal.
  • the embodiment of the present invention further provides a voice message method, which is applied to a second terminal. As shown in FIG. 7, the method may include:
  • the voice message method provided by the embodiment of the present invention is applicable to a terminal that sends voice message information, and saves the voice message information in a scene of the terminal.
  • the second terminal may send a call request to the first terminal according to the prompt of the voice notification information.
  • the second terminal may receive the voice notification information from the first terminal by using a short message or a missed call.
  • the second terminal calls the first terminal according to a normal method for establishing a call connection.
  • S203 Receive voice message information sent by the first terminal.
  • the second terminal After the second terminal successfully calls the first terminal, the second terminal receives the voice message information sent by the first terminal.
  • the second terminal when the second terminal calls the first terminal, the second terminal answers the voice message information sent by the first terminal.
  • the call with the first terminal is started, and the first terminal is called to respond to the call request.
  • the embodiment of the invention further provides a voice message method. As shown in FIG. 8, the method may include:
  • the first terminal enters a voice message mode based on the first operation of the first user.
  • the voice message method provided by the embodiment of the present invention is applicable to the first terminal to store the voice recorded by the second terminal in the voice information database of the first terminal, and the second terminal obtains the voice message information by calling the first terminal. in.
  • the first user enters the voice message mode by operating the first terminal.
  • the manner of entering the message mode in the embodiment of the present invention includes: when the call fails, the call end page displays the voice message entry, enters the voice message mode; enters the voice message mode by entering the call record detail interface; The page enters the voice message mode; the voice message application is opened through the desktop or the voice message mode is entered in other manners, and is selected according to the actual situation, which is not specifically limited in the embodiment of the present invention.
  • the first terminal receives the first selection instruction by using a message interface, where the first selection instruction is used to determine the second terminal, and the second terminal is the terminal that receives the voice message information.
  • the first user selects the second terminal that needs to record the voice information on the message interface.
  • the first terminal is a terminal that receives the voice information recorded by the first user to the second terminal and sends the voice information to the second terminal.
  • the first terminal in the voice message mode, clicks the identifier of the second terminal that needs to leave a message, and instructs the first user to record a message to the second terminal.
  • the first terminal obtains voice message information by performing a voice message operation on the second terminal according to the first selection instruction.
  • the first terminal After the first user selects the second terminal in the message interface of the first terminal, the first terminal records the voice message of the second terminal.
  • the first terminal after the first user selects the second terminal, the first terminal prompts the first user to record a message to the second terminal, creates a voice message according to the recorded message, and saves the voice message information in the first In the storage area specified in the terminal.
  • the mobile phone number corresponding to the second terminal may be used to represent the identifier of the second terminal.
  • the data flow diagram of the voice message information is as shown in FIG. 2, and the method for preparing the voice message information includes:
  • the sound path of the first user message is converted into analog signal by analog transmission and transmitted to Codec.
  • the codec is coded, the analog signal is sampled by the Codec codec 8KHZ, quantized, encoded into a PCM format data stream read at a rate of 64 kbps to be read into the memory buffer, and then the PCM format data is written to a specific file by the system write file method.
  • the format (such as MPEG_4) is written to a file named with a specific file name in a pre-configured directory.
  • the first terminal adds the voice message information to the voice information library, where the voice information library is a database that stores all voice information in the first terminal.
  • the first terminal After the first terminal obtains the voice message information, the first terminal adds the voice message information to the voice information database.
  • the first terminal uses the identifier of the second terminal as the file name, and stores the voice message information in the form of a file in the voice information database.
  • the deletion operation of the voice message information can be implemented, and the time limit for recording the voice information can be increased without being restricted by the operator.
  • the first terminal sends the voice notification information corresponding to the voice message information to the second terminal, where the voice notification information is used to notify the second terminal to obtain the voice message information.
  • the first terminal After the first terminal stores the voice message information in the voice information database, the first terminal sends the voice notification information to the second terminal to notify the second terminal that the voice information is from the first terminal.
  • the first terminal edits the prompt information, sends a voice notification message to the second terminal, and notifies the second terminal that the voice message information from the first terminal is simultaneously Send a method to read voice message information.
  • the first terminal may send the voice notification information to the second terminal by using a short message or the like.
  • the first terminal sends the deletion notification information of the voice message information to the second terminal.
  • the second terminal receives the voice notification information sent by the first terminal, and sends a call request to the first terminal.
  • the second terminal After the second terminal receives the voice notification information sent by the first terminal, the second terminal sends a call request to the first terminal according to the indication of the voice notification message.
  • the second terminal receives the voice notification information from the first terminal, and displays the voice notification information on the display page of the second terminal, after the second user of the second terminal sees the voice notification message.
  • the second user of the second terminal reads the voice notification information, and establishes a call connection with the first terminal according to the prompt of the voice notification information.
  • the second terminal may receive the voice notification information from the first terminal by using a short message or a pop-up box.
  • the first terminal determines, according to the call request, whether the read voice message switch is turned on.
  • the first terminal After the first terminal receives the call request of the second terminal, the first terminal first determines the state of the read voice message switch on the first terminal.
  • the first terminal determines the state of the voice message switch, and when the state of the voice message switch is enabled, the first terminal is allowed to search for the voice message corresponding to the second terminal; When the state of the voice message switch is off, the first terminal does not have the function of turning on the voice message. At this time, the first terminal displays the call request of the second terminal on the display page of the first terminal.
  • the setting page of the first terminal may change the state of the voice message switch.
  • the setting page of the mobile phone is provided with a status bar of the voice message switch, and the first user can open or close the voice message switch by clicking the “on” or “off” button at will.
  • the first terminal searches for the voice information corresponding to the second terminal from the voice information database.
  • the first terminal When the first terminal determines that the state of the read voice message switch is the on state, the first terminal searches for the voice information corresponding to the second terminal from the voice information database.
  • the first terminal when the first terminal determines that the state of the voice message switch is the on state, the first terminal is configured to enable the reading function of the voice message, and the first terminal needs to find out whether the voice information database exists or not.
  • the voice information corresponding to the second terminal when the first terminal determines that the state of the voice message switch is the on state, the first terminal is configured to enable the reading function of the voice message, and the first terminal needs to find out whether the voice information database exists or not. The voice information corresponding to the second terminal.
  • the first terminal searches for the voice information corresponding to the identifier of the second terminal in the voice database.
  • the media scanning service provided by the mobile phone system scans the storage directory of the message data to find the file name that matches the incoming mobile phone number.
  • the first terminal When the first terminal determines that the state of reading the voice message switch is off, the first terminal displays the call request of the second terminal on the display page of the first terminal.
  • the function of reading the voice message of the first terminal is turned off. At this time, the first terminal is displayed on the display page of the first terminal. The call request of the second terminal.
  • the first terminal searches for the voice message information corresponding to the second terminal from the voice information database, the first terminal sends the voice message information to the second terminal.
  • the first terminal finds the voice message information corresponding to the second terminal in the voice information database, the first terminal indicates that the voice message information for the second terminal is stored, and at this time, the voice message information is sent to the second terminal. .
  • the first terminal when the first terminal searches for the voice message information corresponding to the second terminal from the voice information database, the first terminal sends the found voice message information to the second terminal.
  • the data flow diagram of the voice message information transmission is as shown in FIG. 5, and includes:
  • DSP Digital Signal Processing
  • the message data of the file is read into the memory at a rate of 64 kbps, and then the data is written to the DSP by the driver, and then sent by the DSP.
  • the second terminal is sent to the second terminal. After receiving the data, the second terminal demodulates the data through the modem, sends it to the DSP, and sends it to the handset through the codec.
  • the voice data of the normal call is used to replace the voice data of the normal call and sent to the second terminal, so as to complete the transmission of the message data, as shown in FIG. 6, the data flow diagram and the voice data when the call connection is normally established.
  • the voice data is sent to the edge decoder through the media interface connector for encoding, and then the encoded data is sent to the DSP for analog-to-digital conversion, and sent to the modem, and finally sent to the second terminal through the network, and the second terminal receives After the data is received, the data is demodulated by the modem and sent to the DSP, and then sent to the handset through the codec.
  • the first terminal after the first terminal sends the completed voice message information to the second terminal, the first terminal deletes the voice message information from the voice information database.
  • the first terminal after the first terminal sends the completion of the voice message to the second terminal, the first terminal starts to record the current time. When the current time is greater than the preset time threshold, the first terminal starts to establish a call with the second terminal. connection.
  • the first terminal starts recording the current time.
  • the first terminal After the first terminal sends the completed voice message information to the second terminal, the first terminal starts recording the current time.
  • the first terminal after the first terminal sends the completed voice message information to the second terminal, the first terminal starts a timer, starts recording the completion of the voice message from the first terminal, and releases the call with the first terminal from the second terminal.
  • the current time of the connection After the first terminal sends the completed voice message information to the second terminal, the first terminal starts a timer, starts recording the completion of the voice message from the first terminal, and releases the call with the first terminal from the second terminal.
  • the first terminal displays a call request of the second terminal.
  • the second terminal when the current time is greater than the preset time threshold, the second terminal needs to establish a call connection with the first terminal. At this time, the first terminal displays the call request of the second terminal on the display page of the first terminal. .
  • the first terminal releases the call connection with the second terminal.
  • the first terminal displays the call request of the second terminal.
  • the first terminal When the first terminal does not find the voice message information corresponding to the second terminal from the voice information database, the first terminal displays the call request of the second terminal on the display page of the first terminal.
  • the voice information corresponding to the second terminal is not represented in the voice information database.
  • the first terminal is in the first The call request of the second terminal is displayed on the display page of a terminal.
  • the process for the second terminal to read the voice message information by calling the first terminal is as shown in FIG. 9, and includes:
  • Mobile phone A receives an incoming call from mobile phone B.
  • the mobile phone A judges whether it is in the message reading mode, if yes, executes 4; if not, executes 3.
  • Mobile phone A displays the incoming call reminder of mobile phone B.
  • the mobile phone A judges whether there is a voice message to be sent to the mobile phone B, and if so, executes 5; if not, executes 3.
  • the mobile phone A deletes the voice message to be sent to the mobile phone B, and starts the timer.
  • the first terminal by performing a voice message operation on the selected second terminal in the voice message mode, the first terminal obtains the voice message information, and sends the voice message information corresponding to the voice message information to the second terminal, which may be increased.
  • Application scenarios to reduce the cost of voice messages by performing a voice message operation on the selected second terminal in the voice message mode, the first terminal obtains the voice message information, and sends the voice message information corresponding to the voice message information to the second terminal, which may be increased.
  • the embodiment of the present invention further provides a first terminal 1.
  • the first terminal 1 includes:
  • the first receiving unit 10 is configured to receive, by using a message interface, a first selection instruction, where the first selection instruction is used to determine a second terminal, and the second terminal is a terminal that receives voice message information.
  • the message unit 11 is configured to obtain the voice message information by performing a voice message operation on the second terminal according to the first selection instruction.
  • the storage unit 12 is configured to save the voice message information in a voice information library, where the voice information library is a database storing all voice information in the first terminal.
  • the first sending unit 13 is configured to receive a call request of the second terminal, and send the voice message information to the second terminal according to the call request.
  • the first sending unit 13 is further configured to send, to the second terminal, voice notification information corresponding to the voice message information, where the voice notification information is used to notify the second terminal to acquire the Voice message information.
  • the first terminal further includes: a determining unit 14 and a searching unit 15.
  • the determining unit 14 is configured to determine, according to the call request, whether the read voice message switch is turned on.
  • the searching unit 15 is configured to: when the read voice message switch is turned on, search for voice information corresponding to the second terminal from the voice information database.
  • the first sending unit 13 is further configured to: when the voice message information corresponding to the second terminal is found from the voice information database, send the voice message information to the second terminal.
  • the first terminal 1 further includes: a first display unit 16 .
  • the first display unit 16 is configured to display the call request of the second terminal when the read voice message switch is turned off.
  • the first display unit 16 is further configured to display the call request of the second terminal when the voice information corresponding to the second terminal is not found in the voice information database.
  • the first terminal further includes: a recording unit 17.
  • the recording unit 17 is arranged to start recording the current time.
  • the first display unit 16 is further configured to display the call request of the second terminal when the current time is greater than a preset time threshold.
  • the above-mentioned message unit 11, storage unit 12, determination unit 14, search unit 15, first display unit 16, and recording unit 17 can be implemented by the processor 18 located on the first terminal 1.
  • the processor 18 located on the first terminal 1.
  • the first receiving unit 10 is implemented by the receiver 19
  • the first transmitting unit 13 may be implemented by a transmitter 110, which may further include a memory 111, the memory 111, the receiver 19, and the transmitter 110 may be coupled to the processor 18, wherein the memory 111 is configured to store executable program code, the program
  • the code includes computer operating instructions
  • the memory 111 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • the embodiment of the present invention further provides a second terminal 2, as shown in FIG. 15, the second terminal 2 includes:
  • the second sending unit 20 is configured to send a call request to the first terminal.
  • the second receiving unit 21 is further configured to receive the voice message information sent by the first terminal.
  • the second terminal further includes: an operation unit 22 .
  • the operating unit 22 is configured to perform a call operation with the first terminal when a preset time threshold after the successful receipt of the voice message information arrives.
  • the above operation unit 22 can be processed by a processor 23 located on the first terminal 2, specifically a central processing unit (CPU), a microprocessor (MPU), and a digital signal processor (
  • the second receiving unit 21 is implemented by the receiver 23, and the second terminal 2 may further include a memory 26, the memory 26
  • the receiver 24 and the transmitter 25 may be coupled to the processor 23, wherein the memory 26 is configured to store executable program code, the program code including computer operating instructions, the memory 26 may include high speed RAM memory, and may also include nonvolatile A memory, for example, at least one disk storage.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules, or other data. , removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the embodiment of the invention can record the voice on the terminal that sends the voice information and send the voice notification information to notify the voice information that the terminal that receives the voice information listens, which can enrich the diversity of the voice message mode.

Abstract

A voice messaging method and a terminal. The method comprises: under a voice messaging mode, receiving a first selection instruction by means of a message interface, the first selection instruction being used for determining a second terminal, which is the terminal for receiving voice messaging information (S101); carrying out a voice message operation on the second terminal according to the first selection instruction to obtain voice messaging information, and storing the voice messaging information in a voice information library, which is a database for storing all voice information in a first terminal (S102); and receiving a call request of the second terminal, and sending the voice messaging information to the second terminal according to the call request (S103).

Description

一种语音留言方法及终端Voice message method and terminal 技术领域Technical field
本文涉及但不限于电子应用领域,尤其涉及一种语音留言方法及终端。This document relates to but not limited to the field of electronic applications, and in particular to a voice message method and terminal.
背景技术Background technique
在日常生活中,用户常遇到一些场合需要语音留言服务,如对方电话暂时无法接通时,因此运营商提供了语音信箱服务。In daily life, users often encounter voice messaging services in some occasions. If the other party's phone is temporarily unavailable, the operator provides a voicemail service.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例期望提供一种语音留言方法及终端,能够丰富语音留言方式的多样性。The embodiment of the invention is intended to provide a voice message method and a terminal, which can enrich the diversity of the voice message mode.
本发明实施例提供一种语音留言方法,应用于第一终端,所述方法包括:The embodiment of the invention provides a voice message method, which is applied to a first terminal, and the method includes:
在语音留言模式下,通过留言界面接收第一选择指令,所述第一选择指令用于确定第二终端,所述第二终端为接收语音留言信息的终端;Receiving, by the message interface, a first selection instruction, where the first selection instruction is used to determine a second terminal, and the second terminal is a terminal that receives voice message information;
根据所述第一选择指令,通过对所述第二终端进行语音留言操作,得到所述语音留言信息,并将所述语音留言信息保存在语音信息库,所述语音信息库为在所述第一终端中存储所有语音信息的数据库;Obtaining the voice message information by performing a voice message operation on the second terminal according to the first selection instruction, and saving the voice message information in a voice information library, where the voice information database is in the first a database for storing all voice information in a terminal;
接收所述第二终端的呼叫请求,并根据所述呼叫请求将所述语音留言信息发送至所述第二终端。Receiving a call request of the second terminal, and transmitting the voice message information to the second terminal according to the call request.
在上述方法中,所述将所述语音留言信息保存在语音信息库之后,所述接收所述第二终端的呼叫请求之前,所述方法还包括:In the above method, after the saving the voice message information in the voice information database, before the receiving the second terminal call request, the method further includes:
向所述第二终端发送与所述语音留言信息对应的语音通知信息,所述语音通知信息用于通知所述第二终端获取所述语音留言信息。Transmitting the voice notification information corresponding to the voice message information to the second terminal, where the voice notification information is used to notify the second terminal to acquire the voice message information.
在上述方法中,所述根据所述呼叫请求将所述语音留言信息发送至所述第二终端,包括:In the above method, the sending the voice message information to the second terminal according to the call request includes:
根据所述呼叫请求,判断读取语音留言开关是否开启;Determining whether the read voice message switch is turned on according to the call request;
当所述读取语音留言开关开启时,从所述语音信息库中查找与所述第二终端对应的语音信息;When the read voice message switch is turned on, searching for voice information corresponding to the second terminal from the voice information database;
当从所述语音信息库中查找到与所述第二终端对应的所述语音留言信息时,向所述第二终端发送所述语音留言信息。And when the voice message information corresponding to the second terminal is found from the voice information database, the voice message information is sent to the second terminal.
在上述方法中,所述根据所述呼叫请求,判断读取语音留言开关是否开启之后,所述方法还包括:In the above method, after determining whether the read voice message switch is turned on according to the call request, the method further includes:
当所述读取语音留言开关关闭时,显示所述第二终端的所述呼叫请求。When the read voice message switch is turned off, the call request of the second terminal is displayed.
在上述方法中,所述方法还包括:In the above method, the method further includes:
当未从所述语音信息库中找到与所述第二终端对应的语音信息时,显示所述第二终端的所述呼叫请求。When the voice information corresponding to the second terminal is not found from the voice information base, the call request of the second terminal is displayed.
在上述方法中,所述根据所述呼叫请求将所述语音留言信息发送至所述第二终端之后,所述方法还包括:In the above method, after the sending the voice message information to the second terminal according to the call request, the method further includes:
开始记录当前时间;Start recording the current time;
当所述当前时间大于预设时间阈值时,显示所述第二终端的所述呼叫请求。When the current time is greater than a preset time threshold, the call request of the second terminal is displayed.
本发明实施例还提供一种语音留言方法,应用于第二终端,所述方法包括:The embodiment of the invention further provides a voice message method, which is applied to a second terminal, and the method includes:
发送呼叫请求至第一终端;Sending a call request to the first terminal;
接收所述第一终端发送的语音留言信息。Receiving voice message information sent by the first terminal.
在上述方法中,所述接收所述第一终端发送的语音留言信息之后,所述方法还包括:In the above method, after the receiving the voice message information sent by the first terminal, the method further includes:
当成功接收所述语音留言信息之后的预设时间阈值到达时,进行与所述第一终端之间的呼叫操作。When a preset time threshold after the successful reception of the voice message information arrives, a call operation with the first terminal is performed.
本发明实施例提供一种第一终端,所述终端包括:An embodiment of the present invention provides a first terminal, where the terminal includes:
第一接收单元,设置为在语音留言模式下,通过留言界面接收第一选择指令,所述第一选择指令用于确定第二终端,所述第二终端为接收语音留言信息的终端;The first receiving unit is configured to receive, by using a message interface, a first selection instruction, where the first selection instruction is used to determine a second terminal, and the second terminal is a terminal that receives voice message information;
留言单元,设置为根据所述第一选择指令,通过对所述第二终端进行语音留言操作,得到所述语音留言信息;a message unit, configured to obtain the voice message information by performing a voice message operation on the second terminal according to the first selection instruction;
存储单元,设置为将所述语音留言信息保存在语音信息库,所述语音信息库为在所述第一终端中存储所有语音信息的数据库;a storage unit, configured to save the voice message information in a voice information library, where the voice information library is a database that stores all voice information in the first terminal;
第一发送单元,设置为接收所述第二终端的呼叫请求,并根据所述呼叫请求将所述语音留言信息发送至所述第二终端。The first sending unit is configured to receive a call request of the second terminal, and send the voice message information to the second terminal according to the call request.
在上述第一终端中,所述第一发送单元,还设置为向所述第二终端发送与所述语音留言信息对应的语音通知信息,所述语音通知信息用于通知所述第二终端获取所述语音留言信息。In the foregoing first terminal, the first sending unit is further configured to send, to the second terminal, voice notification information corresponding to the voice message information, where the voice notification information is used to notify the second terminal to acquire The voice message information.
在上述第一终端中,所述第一终端还包括:判断单元和查找单元;In the above first terminal, the first terminal further includes: a determining unit and a searching unit;
所述判断单元,设置为根据所述呼叫请求,判断读取语音留言开关是否开启;The determining unit is configured to determine, according to the call request, whether the read voice message switch is turned on;
所述查找单元,设置为当所述读取语音留言开关开启时,从所述语音信息库中查找与所述第二终端对应的语音信息;The searching unit is configured to: when the read voice message switch is turned on, search for voice information corresponding to the second terminal from the voice information database;
所述第一发送单元,还设置为当从所述语音信息库中查找到与所述第二终端对应的所述语音留言信息时,向所述第二终端发送所述语音留言信息。The first sending unit is further configured to: when the voice message information corresponding to the second terminal is found from the voice information database, send the voice message information to the second terminal.
在上述第一终端中,所述第一终端还包括:第一显示单元;In the above first terminal, the first terminal further includes: a first display unit;
所述第一显示单元,设置为当所述读取语音留言开关关闭时,显示所述第二终端的所述呼叫请求。The first display unit is configured to display the call request of the second terminal when the read voice message switch is turned off.
在上述第一终端中,所述第一显示单元,还设置为当未从所述语音信息库中找到与所述第二终端对应的语音信息时,显示所述第二终端的所述呼叫请求。In the first terminal, the first display unit is further configured to display the call request of the second terminal when the voice information corresponding to the second terminal is not found in the voice information database. .
在上述第一终端中,所述第一终端还包括:记录单元;In the above first terminal, the first terminal further includes: a recording unit;
所述记录单元,设置为开始记录当前时间;The recording unit is configured to start recording the current time;
所述第一显示单元,还设置为当所述当前时间大于预设时间阈值时,显示所述第二终端的所述呼叫请求。The first display unit is further configured to display the call request of the second terminal when the current time is greater than a preset time threshold.
本发明实施例提供一种第二终端,所述第二终端包括:The embodiment of the invention provides a second terminal, where the second terminal includes:
第二发送单元,设置为发送呼叫请求至所述第一终端;a second sending unit, configured to send a call request to the first terminal;
第二接收单元,设置为接收所述第一终端发送的语音留言信息。The second receiving unit is configured to receive the voice message information sent by the first terminal.
在上述第二终端中,所述第二终端还包括:操作单元;In the foregoing second terminal, the second terminal further includes: an operation unit;
所述操作单元,设置为当成功接收所述语音留言信息之后的预设时间阈值到达时,进行与所述第一终端之间的呼叫操作。The operating unit is configured to perform a call operation with the first terminal when a preset time threshold after the successful receipt of the voice message information arrives.
本发明实施例提供了一种语音留言方法及终端,通过在语音留言模式下,通过留言界面接收第一选择指令,第一选择指令用于确定第二终端,第二终端为接收语音留言信息的终端;根据第一选择指令,通过对第二终端进行语音留言操作,得到语音留言信息,并将语音留言信息保存在语音信息库,语音信息库为在第一终端中存储所有语音信息的数据库;接收第二终端的呼叫请求,并根据呼叫请求将语音留言信息发送至第二终端。由于本方案可以在发送语音信息的终端上录制语音并发送语音通知信息来通知接收语音信息的终端收听的语音信息,因此,本方案能够丰富语音留言方式的多样性。The embodiment of the invention provides a voice message method and a terminal. The first selection instruction is received through the message interface in the voice message mode, the first selection instruction is used to determine the second terminal, and the second terminal is to receive the voice message information. The terminal obtains the voice message information by performing a voice message operation on the second terminal according to the first selection instruction, and saves the voice message information in the voice information database, where the voice information database is a database storing all the voice information in the first terminal; Receiving a call request of the second terminal, and transmitting the voice message information to the second terminal according to the call request. Since the solution can record the voice on the terminal that sends the voice information and send the voice notification information to notify the voice information that the terminal that receives the voice information listens to, the solution can enrich the diversity of the voice message mode.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例提供的一种语音留言方法的流程图一;FIG. 1 is a flowchart 1 of a voice message method according to an embodiment of the present invention;
图2为本发明实施例提供的一种示例性的制作语音留言信息的数据流向图;FIG. 2 is a schematic diagram of a data flow diagram for making voice message information according to an embodiment of the present invention; FIG.
图3为本发明实施例提供的一种语音留言方法的流程图二;FIG. 3 is a second flowchart of a voice message method according to an embodiment of the present disclosure;
图4为本发明实施例提供的一种示例性的语音留言开关设置的表示图;FIG. 4 is a schematic diagram of an exemplary voice message switch setting according to an embodiment of the present invention; FIG.
图5为本发明实施例提供的一种语音留言信息发送的数据流向图;FIG. 5 is a data flow diagram of voice message information transmission according to an embodiment of the present invention;
图6为语音信息发送的数据流向图;6 is a data flow diagram of voice information transmission;
图7为本发明实施例提供的一种语音留言方法的流程图三;FIG. 7 is a flowchart 3 of a voice message method according to an embodiment of the present invention;
图8为本发明实施例提供的一种语音留言方法的交互图一;FIG. 8 is an interaction diagram 1 of a voice message method according to an embodiment of the present invention;
图9为本发明实施例提供的一种示例性的读取语音留言的方法示意图;FIG. 9 is a schematic diagram of an exemplary method for reading a voice message according to an embodiment of the present invention; FIG.
图10为本发明实施例提供的一种第一终端的结构示意图一;FIG. 10 is a schematic structural diagram 1 of a first terminal according to an embodiment of the present disclosure;
图11为本发明实施例提供的一种第一终端的结构示意图二;FIG. 11 is a schematic structural diagram 2 of a first terminal according to an embodiment of the present disclosure;
图12为本发明实施例提供的一种第一终端的结构示意图三;FIG. 12 is a schematic structural diagram 3 of a first terminal according to an embodiment of the present disclosure;
图13为本发明实施例提供的一种第一终端的结构示意图四;FIG. 13 is a schematic structural diagram 4 of a first terminal according to an embodiment of the present disclosure;
图14为本发明实施例提供的一种第一终端的结构示意图五;FIG. 14 is a schematic structural diagram 5 of a first terminal according to an embodiment of the present disclosure;
图15为本发明实施例提供的一种第二终端的结构示意图一;FIG. 15 is a schematic structural diagram 1 of a second terminal according to an embodiment of the present disclosure;
图16为本发明实施例提供的一种第二终端的结构示意图二;FIG. 16 is a schematic structural diagram 2 of a second terminal according to an embodiment of the present disclosure;
图17为本发明实施例提供的一种第二终端的结构示意图三。FIG. 17 is a schematic structural diagram 3 of a second terminal according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面将结合本发明实施例中的附图,对本发明实施例进行清楚、完整地描述。The embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments.
运营商提供的语音信箱服务有很多局限性,尤其是场景限制比较严格,通常只有无法接通才可以留言,远远无法满足用户的需求。而实际中,用户往往需要更多留言的场景,例如对方用户忙时、对方用户无人接听时、不方便电话沟通、或无必要电话直接沟通的情况,都需要采用更方便的方式通知到对方。因此有必要提供一种便捷的语音留言的方法。The voicemail service provided by the operator has many limitations, especially the scene limitation is strict. Usually, it can only leave a message if it cannot be connected, which is far from satisfying the user's needs. In practice, users often need more message scenes, such as when the other party is busy, when the other party is not answered, inconvenient to communicate by phone, or when there is no need to communicate directly, it is necessary to notify the other party in a more convenient way. . Therefore, it is necessary to provide a convenient method for voice messages.
本发明实施例提供一种语音留言方法,应用于第一终端,如图1所示,该方法可以包括:An embodiment of the present invention provides a voice message method, which is applied to a first terminal. As shown in FIG. 1 , the method may include:
S101、在语音留言模式下,通过留言界面接收第一选择指令,第一选择指令用于确定第二终端,第二终端为接收语音留言信息的终端。S101. In the voice message mode, receive a first selection instruction by using a message interface, where the first selection instruction is used to determine the second terminal, and the second terminal is a terminal that receives the voice message information.
本发明实施例提供的一种语音留言方法适用于发送语音信息的终端将语音信息保存在该终端上的场景中。A voice message method provided by an embodiment of the present invention is applicable to a terminal that sends voice information to save voice information in a scenario on the terminal.
本发明实施例中,第一终端为接收第一用户对第二终端录制的语音信息并将语音信息发送至第二终端的终端。In the embodiment of the present invention, the first terminal is a terminal that receives the voice information recorded by the first user to the second terminal and sends the voice information to the second terminal.
本发明实施例中,第一终端首先进入语音留言模式,在语音留言模式下,第一终端点击需要留言的第二终端的标识,指示第一用户对第二终端录制留言。In the embodiment of the present invention, the first terminal first enters a voice message mode. In the voice message mode, the first terminal clicks on the identifier of the second terminal that needs to leave a message, and instructs the first user to record a message to the second terminal.
可选的,本发明实施例中进入留言模式的方式包括:当呼叫失败时,通话结束页面显示语音留言入口,进入语音留言模式;通过进入通话记录详情界面进入语音留言模式;通过进入电话号码详情页面进入语音留言模式;通过桌面打开语音留言应用或者其他方式进入语音留言模式,具体的根据实际情况进行选择,本发明实施例不做具体限定。Optionally, the manner of entering the message mode in the embodiment of the present invention includes: when the call fails, the call end page displays the voice message entry, enters the voice message mode; enters the voice message mode by entering the call record detail interface; The page enters the voice message mode; the voice message application is opened through the desktop or the voice message mode is entered in other manners, and is selected according to the actual situation, which is not specifically limited in the embodiment of the present invention.
S102、根据第一选择指令,通过对第二终端进行语音留言操作,得到语音留言信息,并将语音留言信息保存在语音信息库,语音信息库为在第一终端中存储所有语音信息的数据库。S102. Obtain voice message information by performing a voice message operation on the second terminal according to the first selection instruction, and save the voice message information in a voice information library, where the voice information database is a database that stores all voice information in the first terminal.
当第一终端选定了第二终端之后,第一终端指示用第一户对第二终端录制留言,并将录制的留言存储在第一终端的语音信息库中。After the first terminal selects the second terminal, the first terminal instructs the first user to record a message to the second terminal, and stores the recorded message in the voice information database of the first terminal.
本发明实施例中,当第一用户选定了第二终端之后,第一终端提示第一用户对第二终端录制留言,根据录制的留言制作语音留言信息,并将语音留言信息保存在第一终端中指定的存储区域中。In the embodiment of the present invention, after the first user selects the second terminal, the first terminal prompts the first user to record a message to the second terminal, creates a voice message according to the recorded message, and saves the voice message information in the first In the storage area specified in the terminal.
本发明实施例中,可以使用第二终端对应的手机号码来表征第二终端的标识。In the embodiment of the present invention, the mobile phone number corresponding to the second terminal may be used to represent the identifier of the second terminal.
本发明实施例中,制作语音留言信息的数据流向图如图2所示,制作语音留言信息的方法包括:In the embodiment of the present invention, the data flow diagram of the voice message information is as shown in FIG. 2, and the method for preparing the voice message information includes:
1、设置保存文件的路径及文件名,用第二终端对应的手机号码来命名文件名,作为来电时检测语音信息是否存在的依据;1. Set the path and file name of the saved file, and name the file name with the mobile phone number corresponding to the second terminal, as the basis for detecting whether the voice information exists during the incoming call;
2、设置留言数据的编码类型,以脉冲编码调制(PCM,Pulse Code Modulation)编码格式数据保存到保存文件中;2. Set the coding type of the message data, and save the data in the code format of the PCM (Pulse Code Modulation) to the save file;
3、设置数据文件的格式,即保存PCM编码数据的文件类型,如影音串流视讯压缩技术及商业标准格式(MPEG_4,Moving Pictures Experts Group),第三代合作伙伴计划(3GPP,3 rd Generation Partnership Project)等格式。 3. Set the format of the data file, ie the file type for saving PCM encoded data, such as video streaming video compression technology and commercial standard format (MPEG_4, Moving Pictures Experts Group), 3rd Generation Partnership Project (3GPP, 3 rd Generation Partnership) Project) and other formats.
4、设置采集的数据来源为介质接口连接器(MIC,Medium Interface Connector);4. Set the collected data source to the Medium Interface Connector (MIC).
5、将1-4都设置完成之后,打开MIC,设置音频通路驱动,即依次设 置MIC、编译码器(Codec,Coder-DECoder)和内存,第一用户留言的声音通路通过MIC采集转变为模拟信号经驱动传输至Codec编译码器编码,模拟信号经Codec编译码器8KHZ采样,量化,编码为PCM格式数据流以64kbps的速率读到被读到内存缓冲区,然后通过系统写文件的方法将PCM格式数据以特定文件格式(如MPEG_4)写到预先设置好的目录下以特定文件名命名的文件中。5. After setting all of 1-4, open the MIC and set the audio channel driver, that is, set the MIC, Codec, Coder-DECoder and memory in turn, and the sound path of the first user message is converted to analog by MIC acquisition. The signal is driven and transmitted to the Codec codec code. The analog signal is sampled by the Codec codec 8KHZ, quantized, and encoded into a PCM format. The data stream is read at a rate of 64 kbps and read into the memory buffer, and then the system writes the file. The PCM format data is written in a specific file format (such as MPEG_4) to a file named with a specific file name in a pre-configured directory.
经过上述步骤,就完成了对语音留言信息的录制过程。After the above steps, the recording process of the voice message information is completed.
可选地,在得到语音留言信息之后,第一终端将语音留言信息存储至第一终端中的语音信息库中,此时,第一用户可以对语音信息库中存储的语音信息进行删除等操作。Optionally, after the voice message is obtained, the first terminal stores the voice message information in the voice information database in the first terminal. At this time, the first user may delete the voice information stored in the voice information database. .
可以理解的是,将语音留言信息保存至第一终端中的语音信息库中,可以实现对语音留言信息的删除操作,并且不受制与运营商的限制,可以增加录制语音信息的时长。It can be understood that the voice message information is saved in the voice information database in the first terminal, and the voice message information can be deleted, and is not restricted by the operator, and the duration of recording the voice information can be increased.
S103、接收第二终端的呼叫请求,并根据呼叫请求将语音留言信息发送至第二终端。S103. Receive a call request of the second terminal, and send the voice message information to the second terminal according to the call request.
在第一终端将对第二终端的语音留言信息存储至第一终端的指定位置之后,第二终端发送呼叫请求时,第一终端将该语音留言信息发送至第二终端。After the first terminal stores the voice message information of the second terminal to the designated location of the first terminal, when the second terminal sends the call request, the first terminal sends the voice message information to the second terminal.
本发明实施例中,第二终端发送呼叫请求至第一终端,第一终端接收到第二终端发送的呼叫请求之后,第一终端判断读取语音留言开关是否开启,当读取语音留言信息开启时,第一终端从语音信息库中查找与第二终端对应的语音信息,当第一终端从语音信息库中查找到与第二终端对应的语音留言信息时,第一终端向第二终端发送该语音留言信息。In the embodiment of the present invention, the second terminal sends a call request to the first terminal, and after the first terminal receives the call request sent by the second terminal, the first terminal determines whether the read voice message switch is enabled, and when the voice message is read, The first terminal searches for the voice information corresponding to the second terminal from the voice information database. When the first terminal searches for the voice message information corresponding to the second terminal from the voice information database, the first terminal sends the voice message information to the second terminal. The voice message information.
可选地,当第一终端接收到第二终端的呼叫请求时,第一终端判断读取语音留言开关关闭或者第一终端没有从语音信息库中查找到与第二终端对应的语音留言信息时,第一终端直接在显示界面上显示第二终端的呼叫请求,以供用户选择连接或者终止与第二终端的通信。Optionally, when the first terminal receives the call request of the second terminal, the first terminal determines that the read voice message switch is off or the first terminal does not find the voice message information corresponding to the second terminal from the voice information database. The first terminal directly displays the call request of the second terminal on the display interface for the user to select to connect or terminate communication with the second terminal.
可选地,本发明实施例中,第一终端在将对第二终端的语音留言信息存储在语音数据库中之后,第一终端可以向第二终端发送语音通知信息,以提醒第二终端有来自第一终端的语音留言信息。Optionally, in the embodiment of the present invention, after the first terminal stores the voice message information of the second terminal in the voice database, the first terminal may send the voice notification information to the second terminal to remind the second terminal that the second terminal has Voice message information of the first terminal.
可选的,语音通知信息可以以短信或者未接来电等方式发送至第二终端,具体的根据实际情况进行设置,本发明实施例不做具体限定。Optionally, the voice notification information may be sent to the second terminal by using a short message or a missed call, and is set according to an actual situation, which is not specifically limited in the embodiment of the present invention.
可以理解的是,第一终端通过在语音留言模式下,对选定的第二终端进行语音留言操作,并当第二终端对第一终端发送呼叫请求时,第一终端发送与第二终端对应的语音留言信息至第二终端,可以丰富语音留言方式的多样性。It can be understood that the first terminal performs a voice message operation on the selected second terminal in the voice message mode, and when the second terminal sends a call request to the first terminal, the first terminal sends a corresponding message corresponding to the second terminal. The voice message information to the second terminal can enrich the diversity of the voice message mode.
基于前述实施例,在步骤103之后,如图3所示,一种语音留言方法还包括:Based on the foregoing embodiment, after step 103, as shown in FIG. 3, a voice message method further includes:
S104、第一终端根据呼叫请求,判断读取语音留言开关是否开启。S104. The first terminal determines, according to the call request, whether the read voice message switch is turned on.
在第一终端接收待第一终端的呼叫请求之后,第一终端首先判断语音留言开关是否处于开启状态。After the first terminal receives the call request of the first terminal, the first terminal first determines whether the voice message switch is in an open state.
本发明实施例中,第一终端接收到呼叫请求之后,第一终端判断语音留言开关的状态,当语音留言开关的状态为开启时,才允许第一终端查找第二终端对应的语音留言;当语音留言开关的状态为关闭时,表征第一终端没有开启语音留言的功能,此时,在第一终端的显示页面显示第二终端发送的呼叫请求。In the embodiment of the present invention, after the first terminal receives the call request, the first terminal determines the state of the voice message switch, and when the state of the voice message switch is enabled, the first terminal is allowed to search for the voice message corresponding to the second terminal; When the state of the voice message switch is off, the function of the first terminal is not enabled to open the voice message. At this time, the call request sent by the second terminal is displayed on the display page of the first terminal.
本发明实施例中,第一终端的设置页面可以对语音留言开关的状态进行更改。In the embodiment of the present invention, the setting page of the first terminal may change the state of the voice message switch.
示例性的,如图4所示,手机的设置页面设置有语音留言开关的状态栏,第一用户可通过点击“开启”或者“关闭”按钮来开启或者关闭语音留言开关。Exemplarily, as shown in FIG. 4, the setting page of the mobile phone is provided with a status bar of the voice message switch, and the first user can turn the voice message switch on or off by clicking the “on” or “off” button.
S105、当第一终端读取语音留言开关开启时,第一终端从语音信息库中查找与第二终端对应的语音信息。S105. When the first terminal reads the voice message switch, the first terminal searches for the voice information corresponding to the second terminal from the voice information database.
当第一终端判断读取语音留言开关的状态为开启状态时,第一终端从语音信息库中查找与第二终端对应的语音信息。When the first terminal determines that the state of the read voice message switch is the on state, the first terminal searches for the voice information corresponding to the second terminal from the voice information database.
本发明实施例中,当第一终端判断语音留言开关的状态为开启状态时,表征第一终端开启了语音留言的读取功能,此时第一终端就要查找语音信息库中是否存在与第二终端对应的语音信息。In the embodiment of the present invention, when the first terminal determines that the state of the voice message switch is the on state, the first terminal is configured to enable the reading function of the voice message, and the first terminal needs to find out whether the voice information database exists or not. The voice information corresponding to the second terminal.
本发明实施例中,第一终端在语音数据库中查找第二终端的标识对应的语音信息。In the embodiment of the present invention, the first terminal searches for the voice information corresponding to the identifier of the second terminal in the voice database.
示例性的,手机系统提供的媒体扫描服务对留言数据的存储目录进行扫描,查找与来电手机号码相匹配的文件名。Exemplarily, the media scanning service provided by the mobile phone system scans the storage directory of the message data to find the file name that matches the incoming mobile phone number.
S106、当从语音信息库中查找到与第二终端对应的语音留言信息时,第一终端向第二终端发送语音留言信息。S106. When the voice message information corresponding to the second terminal is found in the voice information database, the first terminal sends the voice message information to the second terminal.
当第一终端在语音信息库中查找到与第二终端对应的语音留言信息时,表征第一终端出存储有对第二终端的语音留言信息,此时,将语音留言信息发送至第二终端。When the first terminal finds the voice message information corresponding to the second terminal in the voice information database, the first terminal indicates that the voice message information for the second terminal is stored, and at this time, the voice message information is sent to the second terminal. .
本发明实施例中,当第一终端从语音信息库中查找到与第二终端对应的语音留言信息时,第一终端将查找到的语音留言信息发送至第二终端。In the embodiment of the present invention, when the first terminal searches for the voice message information corresponding to the second terminal from the voice information database, the first terminal sends the found voice message information to the second terminal.
本发明实施例中,留言数据发送的流程如图5所示,包括:In the embodiment of the present invention, the flow of sending message data is as shown in FIG. 5, and includes:
1、建立通信链路(即第一终端接受第二终端的呼叫请求);1. Establish a communication link (ie, the first terminal accepts a call request of the second terminal);
2、设置输出文件的路径;2, set the path of the output file;
3、设置读取的文件类型;3. Set the type of file to be read;
4、设置读取文件的速率,如64kbps;4, set the rate of reading files, such as 64kbps;
5、设置底层音频通路,依次是内存设备和数字信号处理(DSP,Digital Signal Processing);5. Set the underlying audio path, which in turn is the memory device and digital signal processing (DSP, Digital Signal Processing);
6、利用系统提供的读取文件的输入输出(I/O,Input/Output)操作方法将文件的留言数据以64kbps速率读到内存中,然后通过驱动将数据写到DSP,经DSP处理后发送至调制解调器中,再通过网络发送给第二终端,第二终端接收到数据之后,通过调制解调器对数据进行解调,并发送至DSP中,再通过编译码器发送至听筒中。6. Using the input/output (I/O, Input/Output) operation method of the read file provided by the system, the message data of the file is read into the memory at a rate of 64 kbps, and then the data is written to the DSP by the driver, and then sent by the DSP. To the modem, the second terminal is sent to the second terminal. After receiving the data, the second terminal demodulates the data through the modem, sends it to the DSP, and sends it to the handset through the codec.
本发明实施例是用预先制作的音频文件数据替代正常通话的语音数据发送至第二终端,以完成留言数据的传送,如图6所示,为正常建立呼叫连接时的数据流向图,语音数据通过介质接口连接器将语音数据发送至编译码器进行编码,再将编码后的数据发送至DSP中进行模数转化,并发送至调制解调器,最后通过网络发送至第二终端,第二终端接收到数据之后,通过调制解调器对数据进行解调,并发送至DSP中,再通过编译码器发送至听筒中。In the embodiment of the present invention, the voice data of the normal call is used to replace the voice data of the normal call and sent to the second terminal, so as to complete the transmission of the message data, as shown in FIG. 6, the data flow diagram and the voice data when the call connection is normally established. The voice data is sent to the codec through the media interface connector for encoding, and then the encoded data is sent to the DSP for analog-to-digital conversion, and sent to the modem, and finally sent to the second terminal through the network, and the second terminal receives After the data, the data is demodulated by the modem and sent to the DSP, and then sent to the handset through the codec.
本发明实施例中,当第一终端向第二终端发送完成语音留言信息之后,第一终端从语音信息库中删除语音留言信息。In the embodiment of the present invention, after the first terminal sends the completed voice message information to the second terminal, the first terminal deletes the voice message information from the voice information database.
本发明实施例中,当第一终端向第二终端发送完成语音留言信息之后,第一终端开始记录当前时间,当当前时间大于预设时间阈值时,第一终端在第一终端的显示页面上显示第二终端的呼叫请求。In the embodiment of the present invention, after the first terminal sends the completed voice message information to the second terminal, the first terminal starts to record the current time. When the current time is greater than the preset time threshold, the first terminal is displayed on the display page of the first terminal. The call request of the second terminal is displayed.
可选地,当第一终端从语音信息库中没有查找到与第二终端对应的语音留言信息时,第一终端在第一终端的显示页面上显示第二终端的呼叫请求。Optionally, when the first terminal does not find the voice message information corresponding to the second terminal from the voice information database, the first terminal displays the call request of the second terminal on the display page of the first terminal.
本发明实施例还提供了一种语音留言方法,应用于第二终端,如图7所示,该方法可以包括:The embodiment of the present invention further provides a voice message method, which is applied to a second terminal. As shown in FIG. 7, the method may include:
S201、发送呼叫请求至第一终端。S201. Send a call request to the first terminal.
本发明实施例提供的一种语音留言方法适用于发送语音留言信息的终端将语音留言信息保存在该终端的场景中。The voice message method provided by the embodiment of the present invention is applicable to a terminal that sends voice message information, and saves the voice message information in a scene of the terminal.
本发明实施例中,第二终端可以在接收到第一终端发送的语音通知消息之后,根据语音通知信息的提示,向第一终端发送呼叫请求。In the embodiment of the present invention, after receiving the voice notification message sent by the first terminal, the second terminal may send a call request to the first terminal according to the prompt of the voice notification information.
可选的,第二终端可以通过短信或者未接来电的形式接收来自第一终端的语音通知信息。Optionally, the second terminal may receive the voice notification information from the first terminal by using a short message or a missed call.
在本发明实施例中,第二终端按照正常的建立呼叫连接的方法呼叫第一终端。In the embodiment of the present invention, the second terminal calls the first terminal according to a normal method for establishing a call connection.
S203、接收第一终端发送的语音留言信息。S203. Receive voice message information sent by the first terminal.
在第二终端成功呼叫第一终端之后,第二终端接收第一终端发送的语音留言信息。After the second terminal successfully calls the first terminal, the second terminal receives the voice message information sent by the first terminal.
本发明实施例中,第二终端在呼叫第一终端时,接听第一终端发送的语音留言信息。In the embodiment of the present invention, when the second terminal calls the first terminal, the second terminal answers the voice message information sent by the first terminal.
可选地,当第二终端在接听完语音留言信息之后的预设时间到达时,开始接通与第一终端的呼叫,等待第一终端响应呼叫请求。Optionally, when the second terminal arrives at the preset time after receiving the voice message information, the call with the first terminal is started, and the first terminal is called to respond to the call request.
本发明实施例还提供一种语音留言方法,如图8所示,该方法可以包括:The embodiment of the invention further provides a voice message method. As shown in FIG. 8, the method may include:
S301、基于第一用户的第一操作,第一终端进入语音留言模式。S301. The first terminal enters a voice message mode based on the first operation of the first user.
本发明实施例提供的一种语音留言方法适用于第一终端将对第二终端录制的语音存储在第一终端的语音信息库中,第二终端通过呼叫第一终端来获取语音留言信息的场景中。The voice message method provided by the embodiment of the present invention is applicable to the first terminal to store the voice recorded by the second terminal in the voice information database of the first terminal, and the second terminal obtains the voice message information by calling the first terminal. in.
本发明实施例中,第一用户通过对第一终端进行操作,使第一终端进入 语音留言模式。In the embodiment of the present invention, the first user enters the voice message mode by operating the first terminal.
可选的,本发明实施例中进入留言模式的方式包括:当呼叫失败时,通话结束页面显示语音留言入口,进入语音留言模式;通过进入通话记录详情界面进入语音留言模式;通过进入电话蛤蟆详情页面进入语音留言模式;通过桌面打开语音留言应用或者其他方式进入语音留言模式,具体的根据实际情况进行选择,本发明实施例不做具体限定。Optionally, the manner of entering the message mode in the embodiment of the present invention includes: when the call fails, the call end page displays the voice message entry, enters the voice message mode; enters the voice message mode by entering the call record detail interface; The page enters the voice message mode; the voice message application is opened through the desktop or the voice message mode is entered in other manners, and is selected according to the actual situation, which is not specifically limited in the embodiment of the present invention.
S302、在语音留言模式下,第一终端通过留言界面接收第一选择指令,第一选择指令用于确定第二终端,第二终端为接收语音留言信息的终端。S302. In the voice message mode, the first terminal receives the first selection instruction by using a message interface, where the first selection instruction is used to determine the second terminal, and the second terminal is the terminal that receives the voice message information.
在第一终端进入语音留言模式之后,第一用户就要在留言界面上选择需要录制语音信息的第二终端了。After the first terminal enters the voice message mode, the first user selects the second terminal that needs to record the voice information on the message interface.
本发明实施例中,第一终端为接收第一用户对第二终端录制的语音信息并将语音信息发送至第二终端的终端。In the embodiment of the present invention, the first terminal is a terminal that receives the voice information recorded by the first user to the second terminal and sends the voice information to the second terminal.
本发明实施例中,第一终端在语音留言模式下,点击需要留言的第二终端的标识,指示第一用户对第二终端录制留言。In the embodiment of the present invention, the first terminal, in the voice message mode, clicks the identifier of the second terminal that needs to leave a message, and instructs the first user to record a message to the second terminal.
S303、根据第一选择指令,第一终端通过对第二终端进行语音留言操作,得到语音留言信息。S303. The first terminal obtains voice message information by performing a voice message operation on the second terminal according to the first selection instruction.
当第一用户在第一终端的留言界面选定了第二终端之后,第一终端就要对第二终端进行语音留言信息的录制了。After the first user selects the second terminal in the message interface of the first terminal, the first terminal records the voice message of the second terminal.
本发明实施例中,当第一用户选定了第二终端之后,第一终端提示第一用户对第二终端录制留言,根据录制的留言制作语音留言信息,并将语音留言信息保存在第一终端中指定的存储区域中。In the embodiment of the present invention, after the first user selects the second terminal, the first terminal prompts the first user to record a message to the second terminal, creates a voice message according to the recorded message, and saves the voice message information in the first In the storage area specified in the terminal.
本发明实施例中,可以使用第二终端对应的手机号码来表征第二终端的标识。In the embodiment of the present invention, the mobile phone number corresponding to the second terminal may be used to represent the identifier of the second terminal.
本发明实施例中,制作语音留言信息的数据流向图如图2所示,制作语音留言信息的方法包括:In the embodiment of the present invention, the data flow diagram of the voice message information is as shown in FIG. 2, and the method for preparing the voice message information includes:
1、设置保存文件的路径及文件名,用第二终端对应的手机号码来命名文件名,作为来电时检测语音信息是否存在的依据;1. Set the path and file name of the saved file, and name the file name with the mobile phone number corresponding to the second terminal, as the basis for detecting whether the voice information exists during the incoming call;
2、设置留言数据的编码类型,以脉冲编码调制(PCM,Pulse Code Modulation)编码格式数据保存到保存文件中;2. Set the coding type of the message data, and save the data in the code format of the PCM (Pulse Code Modulation) to the save file;
3、设置数据文件的格式,即保存PCM编码数据的文件类型,如影音串流视讯压缩技术及商业标准格式(MPEG_4,Moving Pictures Experts Group),第三代合作伙伴计划(3GPP,3 rd Generation Partnership Project)等格式。 3. Set the format of the data file, ie the file type for saving PCM encoded data, such as video streaming video compression technology and commercial standard format (MPEG_4, Moving Pictures Experts Group), 3rd Generation Partnership Project (3GPP, 3 rd Generation Partnership) Project) and other formats.
4、设置采集的数据来源为介质接口连接器(MIC,Medium Interface Connector);4. Set the collected data source to the Medium Interface Connector (MIC).
5、将1-4都设置完成之后,打开MIC,设置音频通路驱动,即依次设置MIC、Codec编译码器和内存,第一用户留言的声音通路通过MIC采集转变为模拟信号经驱动传输至Codec编译码器编码,模拟信号经Codec编译码器8KHZ采样,量化,编码为PCM格式数据流以64kbps的速率读到被读到内存缓冲区,然后通过系统写文件的方法将PCM格式数据以特定文件格式(如MPEG_4)写到预先设置好的目录下以特定文件名命名的文件中。5. After setting all of 1-4, open the MIC and set the audio channel driver, that is, set the MIC, Codec codec and memory in turn. The sound path of the first user message is converted into analog signal by analog transmission and transmitted to Codec. The codec is coded, the analog signal is sampled by the Codec codec 8KHZ, quantized, encoded into a PCM format data stream read at a rate of 64 kbps to be read into the memory buffer, and then the PCM format data is written to a specific file by the system write file method. The format (such as MPEG_4) is written to a file named with a specific file name in a pre-configured directory.
经过上述步骤,就完成了对语音留言信息的录制过程。After the above steps, the recording process of the voice message information is completed.
S304、第一终端将语音留言信息添加至语音信息库,语音信息库为在第一终端中存储所有语音信息的数据库。S304. The first terminal adds the voice message information to the voice information library, where the voice information library is a database that stores all voice information in the first terminal.
第一终端在得到语音留言信息之后,第一终端将语音留言信息添加至语音信息库中。After the first terminal obtains the voice message information, the first terminal adds the voice message information to the voice information database.
本发明实施例中,第一终端以第二终端的标识为文件名,将语音留言信息以文件的形式存储在语音信息库中。In the embodiment of the present invention, the first terminal uses the identifier of the second terminal as the file name, and stores the voice message information in the form of a file in the voice information database.
可以理解的是,将语音留言信息保存至第一终端中的语音信息库中,可以实现对语音留言信息的删除操作,并且不受制于运营商的限制,可以增加录制语音信息的时长。It can be understood that, when the voice message information is saved to the voice information database in the first terminal, the deletion operation of the voice message information can be implemented, and the time limit for recording the voice information can be increased without being restricted by the operator.
S305、第一终端向第二终端发送与语音留言信息对应的语音通知信息,语音通知信息用于通知第二终端获取语音留言信息。S305. The first terminal sends the voice notification information corresponding to the voice message information to the second terminal, where the voice notification information is used to notify the second terminal to obtain the voice message information.
当第一终端将语音留言信息存储至语音信息库中之后,第一终端向第二终端发送语音通知信息,以通知第二终端有来自第一终端的语音信息。After the first terminal stores the voice message information in the voice information database, the first terminal sends the voice notification information to the second terminal to notify the second terminal that the voice information is from the first terminal.
本发明实施例中,第一终端对第二终端录制了语音留言信息之后,第一终端编辑提示信息,发送语音通知消息至第二终端,通知第二终端有来自第一终端的语音留言信息同时发送读取语音留言信息的方法。In the embodiment of the present invention, after the first terminal records the voice message information on the second terminal, the first terminal edits the prompt information, sends a voice notification message to the second terminal, and notifies the second terminal that the voice message information from the first terminal is simultaneously Send a method to read voice message information.
本发明实施例中,第一终端可以通过短信等通信方式发送语音通知信息 至第二终端。In the embodiment of the present invention, the first terminal may send the voice notification information to the second terminal by using a short message or the like.
可选地,当语音留言信息被删除了之后,第一终端向第二终端发送语音留言信息的删除通知信息。Optionally, after the voice message information is deleted, the first terminal sends the deletion notification information of the voice message information to the second terminal.
S306、第二终端接收到第一终端发送的语音通知信息,并发送呼叫请求至第一终端。S306. The second terminal receives the voice notification information sent by the first terminal, and sends a call request to the first terminal.
第二终端接收到第一终端发送的语音通知信息之后,第二终端按照语音通知消息的指示发送呼叫请求至第一终端。After the second terminal receives the voice notification information sent by the first terminal, the second terminal sends a call request to the first terminal according to the indication of the voice notification message.
本发明实施例中,第二终端接收来自第一终端的语音通知信息,并将该语音通知信息显示在第二终端的显示页面上,第二终端的第二用户在看到该语音通知消息之后,第二终端的第二用户读取语音通知信息,并根据语音通知信息的提示,与第一终端建立呼叫连接。In the embodiment of the present invention, the second terminal receives the voice notification information from the first terminal, and displays the voice notification information on the display page of the second terminal, after the second user of the second terminal sees the voice notification message. The second user of the second terminal reads the voice notification information, and establishes a call connection with the first terminal according to the prompt of the voice notification information.
本发明实施例中,第二终端可以通过短信或者弹出框的形式接收来自第一终端的语音通知信息。In the embodiment of the present invention, the second terminal may receive the voice notification information from the first terminal by using a short message or a pop-up box.
S307、第一终端根据呼叫请求,判断读取语音留言开关是否开启。S307. The first terminal determines, according to the call request, whether the read voice message switch is turned on.
第一终端接收到第二终端的呼叫请求之后,第一终端首先判断第一终端上的读取语音留言开关的状态。After the first terminal receives the call request of the second terminal, the first terminal first determines the state of the read voice message switch on the first terminal.
本发明实施例中,第一终端接收到呼叫请求之后,第一终端判断语音留言开关的状态,当语音留言开关的状态为开启时,才允许第一终端查找第二终端对应的语音留言;当语音留言开关的状态为关闭时,表征第一终端没有开启语音留言的功能,此时,第一终端在第一终端的显示页面上显示第二终端的呼叫请求。In the embodiment of the present invention, after the first terminal receives the call request, the first terminal determines the state of the voice message switch, and when the state of the voice message switch is enabled, the first terminal is allowed to search for the voice message corresponding to the second terminal; When the state of the voice message switch is off, the first terminal does not have the function of turning on the voice message. At this time, the first terminal displays the call request of the second terminal on the display page of the first terminal.
本发明实施例中,第一终端的设置页面可以对语音留言开关的状态进行更改。In the embodiment of the present invention, the setting page of the first terminal may change the state of the voice message switch.
示例性的,如图4所示,手机的设置页面设置有语音留言开关的状态栏,第一用户可任意通过点击“开启”或者“关闭”按钮来开启或者关闭语音留言开关。Exemplarily, as shown in FIG. 4, the setting page of the mobile phone is provided with a status bar of the voice message switch, and the first user can open or close the voice message switch by clicking the “on” or “off” button at will.
S308、当读取语音留言开关开启时,第一终端从语音信息库中查找与第二终端对应的语音信息。S308. When the read voice message switch is turned on, the first terminal searches for the voice information corresponding to the second terminal from the voice information database.
当第一终端判断出读取语音留言开关的状态为开启状态时,第一终端从 语音信息库中查找与第二终端对应的语音信息。When the first terminal determines that the state of the read voice message switch is the on state, the first terminal searches for the voice information corresponding to the second terminal from the voice information database.
本发明实施例中,当第一终端判断语音留言开关的状态为开启状态时,表征第一终端开启了语音留言的读取功能,此时第一终端就要查找语音信息库中是否存在与第二终端对应的语音信息。In the embodiment of the present invention, when the first terminal determines that the state of the voice message switch is the on state, the first terminal is configured to enable the reading function of the voice message, and the first terminal needs to find out whether the voice information database exists or not. The voice information corresponding to the second terminal.
本发明实施例中,第一终端在语音数据库中查找第二终端的标识对应的语音信息。In the embodiment of the present invention, the first terminal searches for the voice information corresponding to the identifier of the second terminal in the voice database.
示例性的,手机系统提供的媒体扫描服务对留言数据的存储目录进行扫描,查找与来电手机号码相匹配的文件名。Exemplarily, the media scanning service provided by the mobile phone system scans the storage directory of the message data to find the file name that matches the incoming mobile phone number.
S309、当读取语音留言开关关闭时,第一终端显示第二终端的呼叫请求。S309. When the read voice message switch is turned off, the first terminal displays a call request of the second terminal.
当第一终端判断出读取语音留言开关的状态为关闭状态时,第一终端在第一终端的显示页面上显示第二终端的呼叫请求。When the first terminal determines that the state of reading the voice message switch is off, the first terminal displays the call request of the second terminal on the display page of the first terminal.
本发明实施例中,当第一终端判断读取语音留言开关的状态为关闭状态时,表征第一终端的读取语音留言功能关闭,此时,第一终端在第一终端的显示页面上显示第二终端的呼叫请求。In the embodiment of the present invention, when the first terminal determines that the state of the read voice message switch is off, the function of reading the voice message of the first terminal is turned off. At this time, the first terminal is displayed on the display page of the first terminal. The call request of the second terminal.
S310、当第一终端从语音信息库中查找到与第二终端对应的语音留言信息时,第一终端向第二终端发送语音留言信息。S310. When the first terminal searches for the voice message information corresponding to the second terminal from the voice information database, the first terminal sends the voice message information to the second terminal.
当第一终端在语音信息库中查找到与第二终端对应的语音留言信息时,表征第一终端出存储有对第二终端的语音留言信息,此时,将语音留言信息发送至第二终端。When the first terminal finds the voice message information corresponding to the second terminal in the voice information database, the first terminal indicates that the voice message information for the second terminal is stored, and at this time, the voice message information is sent to the second terminal. .
本发明实施例中,当第一终端从语音信息库中查找到与第二终端对应的语音留言信息时,第一终端将查找到的语音留言信息发送至第二终端。In the embodiment of the present invention, when the first terminal searches for the voice message information corresponding to the second terminal from the voice information database, the first terminal sends the found voice message information to the second terminal.
本发明实施例中,语音留言信息发送的数据流向图如图5所示,包括:In the embodiment of the present invention, the data flow diagram of the voice message information transmission is as shown in FIG. 5, and includes:
1、建立通信链路(即第一终端接受第二终端的呼叫请求);1. Establish a communication link (ie, the first terminal accepts a call request of the second terminal);
2、设置输出文件的路径;2, set the path of the output file;
3、设置读取的文件类型;3. Set the type of file to be read;
4、设置读取文件的速率,如64kbps;4, set the rate of reading files, such as 64kbps;
5、设置底层音频通路,依次是内存设备和数字信号处理(DSP,Digital Signal Processing);5. Set the underlying audio path, which in turn is the memory device and digital signal processing (DSP, Digital Signal Processing);
6、利用系统提供的读取文件的输入输出(I/O,Input/Output)操作方法 将文件的留言数据以64kbps速率读到内存中,然后通过驱动将数据写到DSP,经DSP处理后发送至调制解调器中,再通过网络发送给第二终端,第二终端接收到数据之后,通过调制解调器对数据进行解调,并发送至DSP中,再通过编译码器发送至听筒中。6. Using the input/output (I/O, Input/Output) operation method of the read file provided by the system, the message data of the file is read into the memory at a rate of 64 kbps, and then the data is written to the DSP by the driver, and then sent by the DSP. To the modem, the second terminal is sent to the second terminal. After receiving the data, the second terminal demodulates the data through the modem, sends it to the DSP, and sends it to the handset through the codec.
本发明实施例是用预先制作的音频文件数据替代正常通话的语音数据发送至第二终端,以完成留言数据的传送,如图6所示,为正常建立呼叫连接时的数据流向图,语音数据通过介质接口连接器将语音数据发送至边译码器进行编码,再将编码后的数据发送至DSP中进行模数转化,并发送至调制解调器,最后通过网络发送至第二终端,第二终端接收到数据之后,通过调制解调器对数据进行解调,并发送至DSP中,再通过编译码器发送至听筒中。In the embodiment of the present invention, the voice data of the normal call is used to replace the voice data of the normal call and sent to the second terminal, so as to complete the transmission of the message data, as shown in FIG. 6, the data flow diagram and the voice data when the call connection is normally established. The voice data is sent to the edge decoder through the media interface connector for encoding, and then the encoded data is sent to the DSP for analog-to-digital conversion, and sent to the modem, and finally sent to the second terminal through the network, and the second terminal receives After the data is received, the data is demodulated by the modem and sent to the DSP, and then sent to the handset through the codec.
本发明实施例中,当第一终端向第二终端发送完成语音留言信息之后,第一终端从语音信息库中删除语音留言信息。In the embodiment of the present invention, after the first terminal sends the completed voice message information to the second terminal, the first terminal deletes the voice message information from the voice information database.
本发明实施例中,当第一终端向第二终端发送完成语音留言信息之后,第一终端开始记录当前时间,当当前时间大于预设时间阈值时,第一终端开始建立与第二终端的呼叫连接。In the embodiment of the present invention, after the first terminal sends the completion of the voice message to the second terminal, the first terminal starts to record the current time. When the current time is greater than the preset time threshold, the first terminal starts to establish a call with the second terminal. connection.
S311、第一终端开始记录当前时间。S311. The first terminal starts recording the current time.
第一终端在发送完成语音留言信息至第二终端之后,第一终端开始记录当前时间。After the first terminal sends the completed voice message information to the second terminal, the first terminal starts recording the current time.
本发明实施例中,当第一终端向第二终端发送完成语音留言信息之后,第一终端启动定时器,开始记录从第一终端发送完成语音留言信息到第二终端释放与第一终端的呼叫连接的当前时间。In the embodiment of the present invention, after the first terminal sends the completed voice message information to the second terminal, the first terminal starts a timer, starts recording the completion of the voice message from the first terminal, and releases the call with the first terminal from the second terminal. The current time of the connection.
S312、当当前时间大于第一终端的预设时间阈值时,第一终端显示第二终端的呼叫请求。S312. When the current time is greater than a preset time threshold of the first terminal, the first terminal displays a call request of the second terminal.
本发明实施例中,当当前时间大于预设时间阈值时,表征第二终端需要与第一终端建立呼叫连接,此时,第一终端在第一终端的显示页面上显示第二终端的呼叫请求。In the embodiment of the present invention, when the current time is greater than the preset time threshold, the second terminal needs to establish a call connection with the first terminal. At this time, the first terminal displays the call request of the second terminal on the display page of the first terminal. .
可选地,当当前时间小于预设时间阈值时,第一终端释放与第二终端的 呼叫连接。Optionally, when the current time is less than the preset time threshold, the first terminal releases the call connection with the second terminal.
S313、当第一终端未从语音信息库中找到与第二终端对应的语音信息时,第一终端显示第二终端的呼叫请求。S313. When the first terminal does not find the voice information corresponding to the second terminal from the voice information base, the first terminal displays the call request of the second terminal.
当第一终端从语音信息库中没有查找到与第二终端对应的语音留言信息时,第一终端在第一终端的显示页面上显示第二终端的呼叫请求。本发明实施例中,当第一终端未从语音信息库中找到与第二终端对应的语音信息时,表征语音信息库中没有与第二终端对应的语音信息,此时,第一终端在第一终端的显示页面上显示第二终端的呼叫请求。When the first terminal does not find the voice message information corresponding to the second terminal from the voice information database, the first terminal displays the call request of the second terminal on the display page of the first terminal. In the embodiment of the present invention, when the first terminal does not find the voice information corresponding to the second terminal from the voice information database, the voice information corresponding to the second terminal is not represented in the voice information database. At this time, the first terminal is in the first The call request of the second terminal is displayed on the display page of a terminal.
示例性的,第二终端通过呼叫第一终端来读取语音留言信息的流程如图9所示,包括:Exemplarily, the process for the second terminal to read the voice message information by calling the first terminal is as shown in FIG. 9, and includes:
1、手机A收到手机B的来电。1. Mobile phone A receives an incoming call from mobile phone B.
2、手机A判断是否处于留言读取模式,如果是,则执行4;如果否,则执行3。2. The mobile phone A judges whether it is in the message reading mode, if yes, executes 4; if not, executes 3.
3、手机A显示手机B的来电提醒。3. Mobile phone A displays the incoming call reminder of mobile phone B.
4、手机A判断是否有待发送给手机B的语音留言,如果有,则执行5;如果没有,则执行3。4. The mobile phone A judges whether there is a voice message to be sent to the mobile phone B, and if so, executes 5; if not, executes 3.
5、将手机A中待发送给手机B的语音留言播放给手机B。5. Play the voice message to be sent to the mobile phone B in the mobile phone A to the mobile phone B.
6、在播放完成待发送给手机B的语音留言之后,手机A删除待发送给手机B的语音留言,并启动定时器。6. After the completion of the voice message to be sent to the mobile phone B, the mobile phone A deletes the voice message to be sent to the mobile phone B, and starts the timer.
7、比较手机B释放与手机A链路的时间与定时器定时的时间。7. Compare the time when the mobile phone B releases the mobile phone A link with the timer timing.
8、当手机B释放与手机A链路的时间小于定时器定时的时间时,手机A释放与手机B的链路。8. When the time when the mobile phone B releases the link with the mobile phone A is less than the time of the timer, the mobile phone A releases the link with the mobile phone B.
9、当手机B释放与手机A链路的时间大于定时器定时的时间时,执行3。9. When the time when the mobile phone B releases the link with the mobile phone A is greater than the timer timing, execute 3.
可以理解的是,第一终端通过在语音留言模式下,对选定的第二终端进行语音留言操作,得到语音留言信息,并向第二终端发送与语音留言信息对应的语音留言信息,可以增加应用场景,降低语音留言的成本。It can be understood that, by performing a voice message operation on the selected second terminal in the voice message mode, the first terminal obtains the voice message information, and sends the voice message information corresponding to the voice message information to the second terminal, which may be increased. Application scenarios to reduce the cost of voice messages.
本发明实施例还提供一种第一终端1,如图10所示,所述第一终端1包括:The embodiment of the present invention further provides a first terminal 1. As shown in FIG. 10, the first terminal 1 includes:
第一接收单元10,设置为在语音留言模式下,通过留言界面接收第一选择指令,所述第一选择指令用于确定第二终端,所述第二终端为接收语音留言信息的终端。The first receiving unit 10 is configured to receive, by using a message interface, a first selection instruction, where the first selection instruction is used to determine a second terminal, and the second terminal is a terminal that receives voice message information.
留言单元11,设置为根据所述第一选择指令,通过对所述第二终端进行语音留言操作,得到所述语音留言信息。The message unit 11 is configured to obtain the voice message information by performing a voice message operation on the second terminal according to the first selection instruction.
存储单元12,设置为将所述语音留言信息保存在语音信息库,所述语音信息库为在所述第一终端中存储所有语音信息的数据库。The storage unit 12 is configured to save the voice message information in a voice information library, where the voice information library is a database storing all voice information in the first terminal.
第一发送单元13,设置为接收所述第二终端的呼叫请求,并根据所述呼叫请求将所述语音留言信息发送至所述第二终端。The first sending unit 13 is configured to receive a call request of the second terminal, and send the voice message information to the second terminal according to the call request.
可选的,所述第一发送单元13,还设置为向所述第二终端发送与所述语音留言信息对应的语音通知信息,所述语音通知信息用于通知所述第二终端获取所述语音留言信息。Optionally, the first sending unit 13 is further configured to send, to the second terminal, voice notification information corresponding to the voice message information, where the voice notification information is used to notify the second terminal to acquire the Voice message information.
可选的,基于图10,如图11所示,所述第一终端还包括:判断单元14和查找单元15。Optionally, based on FIG. 10, as shown in FIG. 11, the first terminal further includes: a determining unit 14 and a searching unit 15.
所述判断单元14,设置为根据所述呼叫请求,判断读取语音留言开关是否开启。The determining unit 14 is configured to determine, according to the call request, whether the read voice message switch is turned on.
所述查找单元15,设置为当所述读取语音留言开关开启时,从所述语音信息库中查找与所述第二终端对应的语音信息。The searching unit 15 is configured to: when the read voice message switch is turned on, search for voice information corresponding to the second terminal from the voice information database.
所述第一发送单元13,还设置为当从所述语音信息库中查找到与所述第二终端对应的所述语音留言信息时,向所述第二终端发送所述语音留言信息。The first sending unit 13 is further configured to: when the voice message information corresponding to the second terminal is found from the voice information database, send the voice message information to the second terminal.
可选的,基于图11,如图12所示,所述第一终端1还包括:第一显示单元16。Optionally, based on FIG. 11 , as shown in FIG. 12 , the first terminal 1 further includes: a first display unit 16 .
所述第一显示单元16,设置为当所述读取语音留言开关关闭时,显示所述第二终端的所述呼叫请求。The first display unit 16 is configured to display the call request of the second terminal when the read voice message switch is turned off.
可选的,所述第一显示单元16,还设置为当未从所述语音信息库中找到与所述第二终端对应的语音信息时,显示所述第二终端的所述呼叫请求。Optionally, the first display unit 16 is further configured to display the call request of the second terminal when the voice information corresponding to the second terminal is not found in the voice information database.
可选的,基于图12,如图13所示,所述第一终端还包括:记录单元17。Optionally, based on FIG. 12, as shown in FIG. 13, the first terminal further includes: a recording unit 17.
所述记录单元17,设置为开始记录当前时间。The recording unit 17 is arranged to start recording the current time.
所述第一显示单元16,还设置为当所述当前时间大于预设时间阈值时,显示所述第二终端的所述呼叫请求。The first display unit 16 is further configured to display the call request of the second terminal when the current time is greater than a preset time threshold.
如图14所示,在实际应用中,上述留言单元11、存储单元12、判断单元14、查找单元15、第一显示单元16和记录单元17可由位于第一终端1上的处理器18实现,具体为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等实现,第一接收单元10由接收器19实现,第一发送单元13可由发送器110实现,该第一终端1还可以包括存储器111,该存储器111、接收器19、发送器110可以与处理器18连接,其中,存储器111设置为存储可执行程序代码,该程序代码包括计算机操作指令,存储器111可能包含高速RAM存储器,也可能还包括非易失性存储器,例如,至少一个磁盘存储器。As shown in FIG. 14, in a practical application, the above-mentioned message unit 11, storage unit 12, determination unit 14, search unit 15, first display unit 16, and recording unit 17 can be implemented by the processor 18 located on the first terminal 1. Specifically implemented by a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), the first receiving unit 10 is implemented by the receiver 19, and the first transmitting unit 13 may be implemented by a transmitter 110, which may further include a memory 111, the memory 111, the receiver 19, and the transmitter 110 may be coupled to the processor 18, wherein the memory 111 is configured to store executable program code, the program The code includes computer operating instructions, and the memory 111 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
本发明实施例还提供一种第二终端2,如图15所示,该第二终端2包括:The embodiment of the present invention further provides a second terminal 2, as shown in FIG. 15, the second terminal 2 includes:
第二发送单元20,设置为发送呼叫请求至所述第一终端。The second sending unit 20 is configured to send a call request to the first terminal.
第二接收单元21,还设置为接收所述第一终端发送的所述语音留言信息。The second receiving unit 21 is further configured to receive the voice message information sent by the first terminal.
可选的,基于图15如图16所示,所述第二终端还包括:操作单元22。Optionally, as shown in FIG. 16 , the second terminal further includes: an operation unit 22 .
所述操作单元22,设置为当成功接收所述语音留言信息之后的预设时间阈值到达时,进行与所述第一终端之间的呼叫操作。The operating unit 22 is configured to perform a call operation with the first terminal when a preset time threshold after the successful receipt of the voice message information arrives.
如图17所示,在实际应用中,上述操作单元22可由位于第一终端2上的处理器23进行处理,具体为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等实现,第二接收单元21由接收器23实现,第二发送单元20可由发送器25实现,该第二终端2还可以包括存储器26,该存储器26、接收器24、发送器25可以与处理器23连接,其中,存储器26设置为存储可执行程序代码,该程序代码包括计算机操作指令,存储器26可能包含高速RAM存储器,也可能还包括非易失性存储器,例如,至少一个磁盘存储器。As shown in FIG. 17, in an actual application, the above operation unit 22 can be processed by a processor 23 located on the first terminal 2, specifically a central processing unit (CPU), a microprocessor (MPU), and a digital signal processor ( The second receiving unit 21 is implemented by the receiver 23, and the second terminal 2 may further include a memory 26, the memory 26 The receiver 24 and the transmitter 25 may be coupled to the processor 23, wherein the memory 26 is configured to store executable program code, the program code including computer operating instructions, the memory 26 may include high speed RAM memory, and may also include nonvolatile A memory, for example, at least one disk storage.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理单元的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks/units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical units; for example, one physical component may have multiple functions, or one function or step may be composed of several physical The components work together. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules, or other data. , removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer. Moreover, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储 器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例可以在发送语音信息的终端上录制语音并发送语音通知信息来通知接收语音信息的终端收听的语音信息,能够丰富语音留言方式的多样性。The embodiment of the invention can record the voice on the terminal that sends the voice information and send the voice notification information to notify the voice information that the terminal that receives the voice information listens, which can enrich the diversity of the voice message mode.

Claims (16)

  1. 一种语音留言方法,应用于第一终端,包括:A voice message method is applied to a first terminal, including:
    在语音留言模式下,通过留言界面接收第一选择指令,所述第一选择指令用于确定第二终端,所述第二终端为接收语音留言信息的终端(S101);In the voice message mode, the first selection instruction is received through the message interface, the first selection instruction is used to determine the second terminal, and the second terminal is the terminal that receives the voice message information (S101);
    根据所述第一选择指令,通过对所述第二终端进行语音留言操作,得到所述语音留言信息,并将所述语音留言信息保存在语音信息库,所述语音信息库为在所述第一终端中存储所有语音信息的数据库(S102);Obtaining the voice message information by performing a voice message operation on the second terminal according to the first selection instruction, and saving the voice message information in a voice information library, where the voice information database is in the first a database for storing all voice information in a terminal (S102);
    接收所述第二终端的呼叫请求,并根据所述呼叫请求将所述语音留言信息发送至所述第二终端(S103)。Receiving a call request of the second terminal, and transmitting the voice message information to the second terminal according to the call request (S103).
  2. 根据权利要求1所述的方法,所述方法还包括:The method of claim 1 further comprising:
    所述将所述语音留言信息保存在语音信息库之后,所述接收所述第二终端的呼叫请求之前,向所述第二终端发送与所述语音留言信息对应的语音通知信息,所述语音通知信息用于通知所述第二终端获取所述语音留言信息。After the voice message information is saved in the voice information database, before receiving the call request of the second terminal, the voice notification information corresponding to the voice message information is sent to the second terminal, where the voice The notification information is used to notify the second terminal to acquire the voice message information.
  3. 根据权利要求1所述的方法,其中,所述根据所述呼叫请求将所述语音留言信息发送至所述第二终端(S103),包括:The method of claim 1, wherein the transmitting the voice message information to the second terminal according to the call request (S103) comprises:
    根据所述呼叫请求,判断读取语音留言开关是否开启(S104);Determining whether the read voice message switch is turned on according to the call request (S104);
    当所述读取语音留言开关开启时,从所述语音信息库中查找与所述第二终端对应的语音信息(S105);When the read voice message switch is turned on, searching for voice information corresponding to the second terminal from the voice information library (S105);
    当从所述语音信息库中查找到与所述第二终端对应的所述语音留言信息时,向所述第二终端发送所述语音留言信息(S106)。When the voice message information corresponding to the second terminal is found from the voice information database, the voice message information is sent to the second terminal (S106).
  4. 根据权利要求3所述的方法,所述方法还包括:The method of claim 3, further comprising:
    所述根据所述呼叫请求,判断读取语音留言开关是否开启之后,当所述读取语音留言开关关闭时,显示所述第二终端的所述呼叫请求。After determining, according to the call request, whether the read voice message switch is turned on, when the read voice message switch is turned off, displaying the call request of the second terminal.
  5. 根据权利要求3所述的方法,所述方法还包括:The method of claim 3, further comprising:
    当未从所述语音信息库中找到与所述第二终端对应的语音信息时,显示所述第二终端的所述呼叫请求。When the voice information corresponding to the second terminal is not found from the voice information base, the call request of the second terminal is displayed.
  6. 根据权利要求1所述的方法,所述方法还包括:The method of claim 1 further comprising:
    所述根据所述呼叫请求将所述语音留言信息发送至所述第二终端之后,开始记录当前时间;After the sending the voice message information to the second terminal according to the call request, starting to record the current time;
    当所述当前时间大于预设时间阈值时,显示所述第二终端的所述呼叫请求。When the current time is greater than a preset time threshold, the call request of the second terminal is displayed.
  7. 一种语音留言方法,应用于第二终端,包括:A voice message method is applied to a second terminal, including:
    发送呼叫请求至第一终端(S201);Sending a call request to the first terminal (S201);
    接收所述第一终端发送的语音留言信息(S202)。Receiving voice message information sent by the first terminal (S202).
  8. 根据权利要求7所述的方法,所述方法还包括:The method of claim 7 further comprising:
    所述接收所述第一终端发送的语音留言信息之后,当成功接收所述语音留言信息之后的预设时间阈值到达时,进行与所述第一终端之间的呼叫操作。After receiving the voice message information sent by the first terminal, when a preset time threshold value after successfully receiving the voice message information arrives, a call operation with the first terminal is performed.
  9. 一种第一终端(1),所述第一终端(1)包括:A first terminal (1), the first terminal (1) comprising:
    第一接收单元(10),设置为在语音留言模式下,通过留言界面接收第一选择指令,所述第一选择指令用于确定第二终端,所述第二终端为接收语音留言信息的终端;The first receiving unit (10) is configured to receive, in the voice message mode, a first selection instruction by using a message interface, where the first selection instruction is used to determine a second terminal, and the second terminal is a terminal that receives voice message information. ;
    留言单元(11),设置为根据所述第一选择指令,通过对所述第二终端进行语音留言操作,得到所述语音留言信息;The message unit (11) is configured to obtain the voice message information by performing a voice message operation on the second terminal according to the first selection instruction;
    存储单元(12),设置为将所述语音留言信息保存在语音信息库,所述语音信息库为在所述第一终端(1)中存储所有语音信息的数据库;a storage unit (12) configured to save the voice message information in a voice information library, where the voice information library is a database storing all voice information in the first terminal (1);
    第一发送单元(13),设置为接收所述第二终端的呼叫请求,并根据所述呼叫请求将所述语音留言信息发送至所述第二终端。The first sending unit (13) is configured to receive a call request of the second terminal, and send the voice message information to the second terminal according to the call request.
  10. 根据权利要求9所述的第一终端(1),The first terminal (1) according to claim 9,
    所述第一发送单元(13),还设置为向所述第二终端发送与所述语音留言信息对应的语音通知信息,所述语音通知信息用于通知所述第二终端获取所述语音留言信息。The first sending unit (13) is further configured to send the voice notification information corresponding to the voice message information to the second terminal, where the voice notification information is used to notify the second terminal to acquire the voice message. information.
  11. 根据权利要求9所述的第一终端(1),所述第一终端(1)还包括:判断单元(14)和查找单元(15);The first terminal (1) according to claim 9, the first terminal (1) further comprising: a determining unit (14) and a searching unit (15);
    所述判断单元(14),设置为根据所述呼叫请求,判断读取语音留言开关是否开启;The determining unit (14) is configured to determine, according to the call request, whether the read voice message switch is turned on;
    所述查找单元(15),设置为当所述读取语音留言开关开启时,从所述语音信息库中查找与所述第二终端对应的语音信息;The searching unit (15) is configured to: when the read voice message switch is turned on, search for voice information corresponding to the second terminal from the voice information database;
    所述第一发送单元(13),还设置为当从所述语音信息库中查找到与所述第二终端对应的所述语音留言信息时,向所述第二终端发送所述语音留言信息。The first sending unit (13) is further configured to: when the voice message information corresponding to the second terminal is found from the voice information database, send the voice message information to the second terminal .
  12. 根据权利要求11所述的第一终端(1),所述第一终端(1)还包括:第一显示单元(16);The first terminal (1) according to claim 11, the first terminal (1) further comprising: a first display unit (16);
    所述第一显示单元(16),设置为当所述读取语音留言开关关闭时,显示所述第二终端的所述呼叫请求。The first display unit (16) is configured to display the call request of the second terminal when the read voice message switch is turned off.
  13. 根据权利要求12所述的第一终端(1),其中,A first terminal (1) according to claim 12, wherein
    所述第一显示单元(16),还设置为当未从所述语音信息库中找到与所述第二终端对应的语音信息时,显示所述第二终端的所述呼叫请求。The first display unit (16) is further configured to display the call request of the second terminal when the voice information corresponding to the second terminal is not found in the voice information library.
  14. 根据权利要求12所述的第一终端(1),所述第一终端还包括:记录单元(17);The first terminal (1) according to claim 12, the first terminal further comprising: a recording unit (17);
    所述记录单元(17),设置为开始记录当前时间;The recording unit (17) is configured to start recording the current time;
    所述第一显示单元(16),还设置为当所述当前时间大于预设时间阈值时,显示所述第二终端的所述呼叫请求。The first display unit (16) is further configured to display the call request of the second terminal when the current time is greater than a preset time threshold.
  15. 一种第二终端(2),所述第二终端(2)包括:A second terminal (2), the second terminal (2) comprising:
    第二发送单元(20),设置为发送呼叫请求至第一终端;a second sending unit (20) configured to send a call request to the first terminal;
    第二接收单元(21),设置为接收所述第一终端发送的语音留言信息。The second receiving unit (21) is configured to receive the voice message information sent by the first terminal.
  16. 根据权利要求15所述的第二终端(2),所述第二终端(2)还包括:操作单元(22);The second terminal (2) according to claim 15, the second terminal (2) further comprising: an operating unit (22);
    所述操作单元(22),设置为当成功接收所述语音留言信息之后的预设时间阈值到达时,进行与所述第一终端之间的呼叫操作。The operating unit (22) is configured to perform a call operation with the first terminal when a preset time threshold after the successful receipt of the voice message information arrives.
PCT/CN2017/120357 2017-01-12 2017-12-29 Voice messaging method and terminal WO2018130100A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710023243.0 2017-01-12
CN201710023243.0A CN108307028B (en) 2017-01-12 2017-01-12 Voice message method and terminal

Publications (1)

Publication Number Publication Date
WO2018130100A1 true WO2018130100A1 (en) 2018-07-19

Family

ID=62840387

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/120357 WO2018130100A1 (en) 2017-01-12 2017-12-29 Voice messaging method and terminal

Country Status (2)

Country Link
CN (1) CN108307028B (en)
WO (1) WO2018130100A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351330A (en) * 2020-10-26 2021-02-09 深圳Tcl新技术有限公司 Message leaving method of display device, display device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512730A (en) * 2002-12-30 2004-07-14 北京汉王科技有限公司 Intelligent computerized telephone with personalized message leaving function
CN1525722A (en) * 2003-09-15 2004-09-01 平 王 Method for selective accepting and answering for handset or telephone according to different numbers
US20060210024A1 (en) * 2005-03-21 2006-09-21 Chenxia Qiu Method of screening calls and communication device having the call screening function
CN101132581A (en) * 2007-09-21 2008-02-27 中兴通讯股份有限公司 Mobile phone for automatically replying to incoming call and method thereof
CN101924837A (en) * 2009-06-15 2010-12-22 上海凌犀电子科技有限公司 Incoming call reminding method, system and business platform
CN103685711A (en) * 2012-09-21 2014-03-26 崔玉珩 Call control and processing method based on automatic connection of mobile phone

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI101661B1 (en) * 1996-01-08 1998-07-31 Nokia Mobile Phones Ltd Activate the phone's own answering machine according to the caller's number
US7729688B2 (en) * 2003-12-08 2010-06-01 Ipventure, Inc. Systems and processes to manage multiple modes of communication
CN1897610A (en) * 2005-06-24 2007-01-17 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with disapproval of call reception and cancellation of auto-answer and method of disapproval of call reception and cancellation of auto-answer
WO2014161091A1 (en) * 2013-04-04 2014-10-09 Rand James S Unified communications system and method
CN103533145A (en) * 2013-10-23 2014-01-22 陕西高新实业有限公司 Smart mobile phone with automatic voice message answering function
CN104580646B (en) * 2014-12-23 2018-01-23 广东欧珀移动通信有限公司 The transmission method and terminal of a kind of tone information
TWI592005B (en) * 2015-12-01 2017-07-11 Chunghwa Telecom Co Ltd According to the situation to respond to calls and methods of handling missed calls

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512730A (en) * 2002-12-30 2004-07-14 北京汉王科技有限公司 Intelligent computerized telephone with personalized message leaving function
CN1525722A (en) * 2003-09-15 2004-09-01 平 王 Method for selective accepting and answering for handset or telephone according to different numbers
US20060210024A1 (en) * 2005-03-21 2006-09-21 Chenxia Qiu Method of screening calls and communication device having the call screening function
CN101132581A (en) * 2007-09-21 2008-02-27 中兴通讯股份有限公司 Mobile phone for automatically replying to incoming call and method thereof
CN101924837A (en) * 2009-06-15 2010-12-22 上海凌犀电子科技有限公司 Incoming call reminding method, system and business platform
CN103685711A (en) * 2012-09-21 2014-03-26 崔玉珩 Call control and processing method based on automatic connection of mobile phone

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351330A (en) * 2020-10-26 2021-02-09 深圳Tcl新技术有限公司 Message leaving method of display device, display device and computer readable storage medium
CN112351330B (en) * 2020-10-26 2023-06-23 深圳Tcl新技术有限公司 Message leaving method for display device, display device and computer readable storage medium

Also Published As

Publication number Publication date
CN108307028B (en) 2021-01-08
CN108307028A (en) 2018-07-20

Similar Documents

Publication Publication Date Title
US8831573B2 (en) Video greetings for voicemail systems
CN1930871B (en) Portable terminal device
US9215419B2 (en) System and method for set-top box recording
US20120044318A1 (en) Method and Apparatus for Answering and Recording Automatically in Visual Telephone Service
CN101785310A (en) Method of recording missing sections of an interrupted recording of a broadcasted multimedia program
WO2015184715A1 (en) Call reminding method and device, and communication terminal
CN112399134B (en) Self-management release method and system for cloud conference recording
WO2012065567A1 (en) Conversion method and apparatus of text message
US8526919B2 (en) Message injection system and method
WO2018130100A1 (en) Voice messaging method and terminal
WO2012151892A1 (en) Incoming call information processing method, device and terminal
WO2011150837A1 (en) Method, device and system for realizing color ring service
JP2005509337A (en) Consumer portable electronic devices
EP3664423B1 (en) Incoming call voice calling method and terminal
CN101848259A (en) Speech processing method and system for digital family fixed telephone
JP2009049675A (en) Telephone
US9444923B1 (en) Method of receiving and replying messages with a hands-free device
US8571186B2 (en) Method and system for recording telephone conversations placed on hold
JP3998606B2 (en) Mobile communication terminal
US8849089B2 (en) Motion picture creation method in portable device and related transmission method
WO2012071808A1 (en) Method and apparatus for transmitting text information during call
JP2004194132A (en) Communication terminal and system using the same
US20090264108A1 (en) Answering system and method of a mobile phone
EP2282500B1 (en) Method and system for recording telephone conversations placed on hold
JP4121894B2 (en) Message accumulation state management server and message accumulation state management system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17892033

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17892033

Country of ref document: EP

Kind code of ref document: A1