[go: up one dir, main page]

CN108307028A - A kind of voice leaving method and terminal - Google Patents

A kind of voice leaving method and terminal Download PDF

Info

Publication number
CN108307028A
CN108307028A CN201710023243.0A CN201710023243A CN108307028A CN 108307028 A CN108307028 A CN 108307028A CN 201710023243 A CN201710023243 A CN 201710023243A CN 108307028 A CN108307028 A CN 108307028A
Authority
CN
China
Prior art keywords
terminal
voice
voice message
information
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710023243.0A
Other languages
Chinese (zh)
Other versions
CN108307028B (en
Inventor
尹运普
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710023243.0A priority Critical patent/CN108307028B/en
Priority to PCT/CN2017/120357 priority patent/WO2018130100A1/en
Publication of CN108307028A publication Critical patent/CN108307028A/en
Application granted granted Critical
Publication of CN108307028B publication Critical patent/CN108307028B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种语音留言方法及终端,上述方法包括:在语音留言模式下,通过留言界面接收第一选择指令,第一选择指令用于确定第二终端,第二终端为接收语音留言信息的终端;根据第一选择指令,通过对第二终端进行语音留言操作,得到语音留言信息,并将语音留言信息保存在语音信息库,语音信息库为在第一终端中存储所有语音信息的数据库;接收第二终端的呼叫请求,并根据呼叫请求将语音留言信息发送至第二终端。

The invention discloses a voice message method and a terminal. The method includes: in the voice message mode, receiving a first selection instruction through a message interface, the first selection command is used to determine a second terminal, and the second terminal is used to receive voice message information terminal; according to the first selection instruction, by performing voice message operation on the second terminal, the voice message information is obtained, and the voice message information is stored in the voice information database, and the voice information database is a database storing all voice information in the first terminal ; Receive a call request from the second terminal, and send voice message information to the second terminal according to the call request.

Description

一种语音留言方法及终端A voice message method and terminal

技术领域technical field

本发明涉及电子应用领域,尤其涉及一种语音留言方法及终端。The invention relates to the field of electronic applications, in particular to a voice message method and a terminal.

背景技术Background technique

在日常生活中,用户常遇到一些场合需要语音留言服务,如对方电话暂时无法接通时,因此运营商提供了语音信箱服务,但是运营商提供的语音信箱服务有很多局限性,尤其是场景限制比较严格,通常只有无法接通才可以留言,远远无法满足用户的需求。而实际中,用户往往需要更多留言的场景,例如对方用户忙时、对方用户无人接听时、不方便电话沟通、或无必要电话直接沟通的情况,都需要采用更方便的方式通知到对方。因此有必要提供一种便捷的语音留言的方法。In daily life, users often encounter occasions where voicemail service is needed, such as when the other party’s phone cannot be connected temporarily, so the operator provides voicemail service, but the voicemail service provided by the operator has many limitations, especially in scenarios The restrictions are relatively strict. Usually, you can leave a message only if you cannot get through, which is far from meeting the needs of users. In practice, users often need to leave more messages, such as when the other party is busy, when the other party is unanswered, when it is inconvenient to communicate by phone, or when there is no need for direct phone communication, it is necessary to use a more convenient way to notify the other party . Therefore, it is necessary to provide a convenient voice message method.

发明内容Contents of the invention

为解决上述技术问题,本发明实施例期望提供一种语音留言方法及终端,能够丰富语音留言方式的多样性。In order to solve the above technical problems, the embodiments of the present invention expect to provide a voice message method and terminal, which can enrich the diversity of voice message modes.

本发明实施例提供一种语音留言方法,应用于第一终端,其特征在于,包括:An embodiment of the present invention provides a method for leaving a voice message, which is applied to a first terminal, and is characterized in that it includes:

在语音留言模式下,通过留言界面接收第一选择指令,所述第一选择指令用于确定第二终端,所述第二终端为接收语音留言信息的终端;In the voice message mode, a first selection instruction is received through the message interface, and the first selection instruction is used to determine a second terminal, and the second terminal is a terminal for receiving voice message information;

根据所述第一选择指令,通过对所述第二终端进行语音留言操作,得到所述语音留言信息,并将所述语音留言信息保存在语音信息库,所述语音信息库为在所述第一终端中存储所有语音信息的数据库;According to the first selection instruction, by performing a voice message operation on the second terminal, the voice message information is obtained, and the voice message information is stored in a voice information database, and the voice information database is in the second terminal. A database storing all voice information in a terminal;

接收所述第二终端的呼叫请求,并根据所述呼叫请求将所述语音留言信息发送至所述第二终端。receiving a call request from the second terminal, and sending the voice message information to the second terminal according to the call request.

在上述方法中,所述将所述语音留言信息保存在语音信息库之后,所述接收所述第二终端的呼叫请求之前,所述方法还包括:In the above method, after saving the voice message information in the voice information database and before receiving the call request from the second terminal, the method further includes:

向所述第二终端发送与所述语音留言信息对应的语音通知信息,所述语音通知信息用于通知所述第二终端获取所述语音留言信息。Sending 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 to the second terminal according to the call request includes:

根据所述呼叫请求,判断读取语音留言开关是否开启;According to the call request, it is judged whether the switch for reading the voice message is turned on;

当所述读取语音留言开关开启时,从所述语音信息库中查找与所述第二终端对应的语音信息;When the switch for reading voice messages is turned on, search for voice information corresponding to the second terminal from the voice information database;

当从所述语音信息库中查找到与所述第二终端对应的所述语音留言信息时,向所述第二终端发送所述语音留言信息。When the voice message corresponding to the second terminal is found from the voice information database, the voice message is sent to the second terminal.

在上述方法中,所述根据所述呼叫请求,判断读取语音留言开关是否开启之后,所述方法还包括:In the above method, after determining whether the switch to read the voice message is turned on according to the call request, the method further includes:

当所述读取语音留言开关关闭时,显示所述第二终端的所述呼叫请求。When the switch for reading voice messages is turned off, the call request of the second terminal is displayed.

在上述方法中,所述方法还包括:In the above method, the method also includes:

当未从所述语音信息库中找到与所述第二终端对应的语音信息时,显示所述第二终端的所述呼叫请求。displaying the call request of the second terminal when no voice information corresponding to the second terminal is found from the voice information database.

在上述方法中,所述根据所述呼叫请求将所述语音留言信息发送至所述第二终端之后,所述方法还包括:In the above method, after the voice message is sent 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, displaying the call request of the second terminal.

本发明实施例还提供一种语音留言方法,应用于第二终端,其特征在于,包括:The embodiment of the present invention also provides a method for leaving a voice message, which is applied to the second terminal, and is characterized in that it includes:

发送呼叫请求至所述第一终端;sending a call request to the first terminal;

接收所述第一终端发送的语音留言信息。receiving voice message information sent by the first terminal.

在上述方法中,所述接收所述第一终端发送的语音留言信息之后,所述方法还包括:In the above method, after receiving the voice message message sent by the first terminal, the method further includes:

当成功接收所述语音留言信息之后的预设时间阈值到达时,进行与所述第一终端之间的呼叫操作。When the preset time threshold reaches after the voice message message is successfully received, a call operation with the first terminal is performed.

本发明实施例提供一种第一终端,其特征在于,所述终端包括:An embodiment of the present invention provides a first terminal, wherein the terminal includes:

第一接收单元,用于在语音留言模式下,通过留言界面接收第一选择指令,所述第一选择指令用于确定第二终端,所述第二终端为接收语音留言信息的终端;The first receiving unit is configured to receive a first selection instruction through a message interface in the voice message mode, the first selection command is used to determine a second terminal, and the second terminal is a terminal for receiving 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 store the voice message information in a voice information database, where the voice information database is a database storing all voice information in the first terminal;

第一发送单元,用于接收所述第二终端的呼叫请求,并根据所述呼叫请求将所述语音留言信息发送至所述第二终端。The first sending unit is configured to receive a call request from the second terminal, and send the voice message information to the second terminal according to the call request.

在上述第一终端中,所述第一发送单元,还用于向所述第二终端发送与所述语音留言信息对应的语音通知信息,所述语音通知信息用于通知所述第二终端获取所述语音留言信息。In the above-mentioned first terminal, the first sending unit is further configured to send voice notification information corresponding to the voice message information to the second terminal, and the voice notification information is used to notify the second terminal to obtain The voice message information.

在上述第一终端中,所述第一终端还包括:判断单元和查找单元;In the above first terminal, the first terminal further includes: a judging unit and a searching unit;

所述判断单元,用于根据所述呼叫请求,判断读取语音留言开关是否开启;The judging unit is used to judge whether the switch for reading the voice message is turned on according to the call request;

所述查找单元,用于当所述读取语音留言开关开启时,从所述语音信息库中查找与所述第二终端对应的语音信息;The search unit is configured to search the voice information library corresponding to the second terminal from the voice information database when the switch for reading voice messages is turned on;

所述第一发送单元,还用于当从所述语音信息库中查找到与所述第二终端对应的所述语音留言信息时,向所述第二终端发送所述语音留言信息。The first sending unit is further configured to send the voice message information to the second terminal when the voice message message corresponding to the second terminal is found from the voice information database.

在上述第一终端中,所述第一终端还包括:第一显示单元;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 switch for reading voice messages is turned off.

在上述第一终端中,所述第一显示单元,还用于当未从所述语音信息库中找到与所述第二终端对应的语音信息时,显示所述第二终端的所述呼叫请求。In the above first terminal, the first display unit is further configured to display the call request of the second terminal when no voice information corresponding to the second terminal is found from the voice information database .

在上述第一终端中,所述第一终端还包括:记录单元;In the above first terminal, the first terminal further includes: a recording unit;

所述记录单元,用于开始记录当前时间;The recording unit is used 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.

本发明实施例提供一种第二终端,其特征在于,所述第二终端包括:An embodiment of the present invention provides a second terminal, wherein 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 above 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 arrives after successfully receiving the voice message.

本发明实施例提供了一种语音留言方法及终端,通过在语音留言模式下,通过留言界面接收第一选择指令,第一选择指令用于确定第二终端,第二终端为接收语音留言信息的终端;根据第一选择指令,通过对第二终端进行语音留言操作,得到语音留言信息,并将语音留言信息保存在语音信息库,语音信息库为在第一终端中存储所有语音信息的数据库;接收第二终端的呼叫请求,并根据呼叫请求将语音留言信息发送至第二终端。采用上述技术实现方案,由于本方案可以在发送语音信息的终端上录制语音并发送语音通知信息来通知接收语音信息的终端收听的语音信息,因此,本方案能够丰富语音留言方式的多样性。The embodiment of the present invention provides a voice message method and a terminal. In the voice message mode, the first selection instruction is received through the message interface, and the first selection command is used to determine the second terminal. The second terminal is for receiving voice message information. Terminal: According to the first selection instruction, by performing voice message operation on the second terminal, the voice message information is obtained, and the voice message information is stored in the voice information database, and the voice information database is a database storing all voice information in the first terminal; The call request of the second terminal is received, and the voice message information is sent to the second terminal according to the call request. Using the above-mentioned technical implementation scheme, since this scheme can record voice on the terminal sending voice information and send voice notification information to notify the terminal receiving voice information of the voice information listened to, this scheme can enrich the diversity of voice message methods.

附图说明Description of drawings

图1为本发明实施例提供的一种语音留言方法的流程图一;Fig. 1 is the flow chart one of a kind of voice message method that the embodiment of the present invention provides;

图2为本发明实施例提供的一种示例性的制作语音留言信息的数据流向图;Fig. 2 is an exemplary data flow diagram for making voice message information provided by an embodiment of the present invention;

图3为本发明实施例提供的一种语音留言方法的流程图二;FIG. 3 is a second flow chart of a voice message method provided by an embodiment of the present invention;

图4为本发明实施例提供的一种示例性的语音留言开关设置的表示图;FIG. 4 is a representation diagram of an exemplary voice message switch setting provided by an embodiment of the present invention;

图5为本发明实施例提供的一种语音留言信息发送的数据流向图;FIG. 5 is a data flow diagram for sending voice message information provided by an embodiment of the present invention;

图6为现有技术中语音信息发送的数据流向图;Fig. 6 is the data flow diagram that voice information sends in the prior art;

图7为本发明实施例提供的一种语音留言方法的流程图三;FIG. 7 is a flowchart three of a voice message method provided by an embodiment of the present invention;

图8为本发明实施例提供的一种语音留言方法的交互图一;FIG. 8 is an interactive diagram 1 of a voice message method provided by an embodiment of the present invention;

图9为本发明实施例提供的一种示例性的读取语音留言的方法示意图;FIG. 9 is a schematic diagram of an exemplary method for reading a voice message provided by an embodiment of the present invention;

图10为本发明实施例提供的一种第一终端的结构示意图一;FIG. 10 is a first structural schematic diagram of a first terminal provided by an embodiment of the present invention;

图11为本发明实施例提供的一种第一终端的结构示意图二;FIG. 11 is a second structural schematic diagram of a first terminal provided by an embodiment of the present invention;

图12为本发明实施例提供的一种第一终端的结构示意图三;FIG. 12 is a third structural schematic diagram of a first terminal provided by an embodiment of the present invention;

图13为本发明实施例提供的一种第一终端的结构示意图四;FIG. 13 is a fourth schematic structural diagram of a first terminal provided by an embodiment of the present invention;

图14为本发明实施例提供的一种第一终端的结构示意图五;FIG. 14 is a schematic structural diagram V of a first terminal provided by an embodiment of the present invention;

图15为本发明实施例提供的一种第二终端的结构示意图一;FIG. 15 is a first structural schematic diagram of a second terminal provided by an embodiment of the present invention;

图16为本发明实施例提供的一种第二终端的结构示意图二;FIG. 16 is a second structural schematic diagram of a second terminal provided by an embodiment of the present invention;

图17为本发明实施例提供的一种第二终端的结构示意图三。FIG. 17 is a third schematic structural diagram of a second terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

实施例一Embodiment one

本发明实施例提供一种语音留言方法,应用于第一终端,如图1所示,该方法可以包括:The embodiment of the present invention provides a method for leaving a voice message, which is applied to the first terminal. As shown in FIG. 1, the method may include:

S101、在语音留言模式下,通过留言界面接收第一选择指令,第一选择指令用于确定第二终端,第二终端为接收语音留言信息的终端。S101. In the voice message mode, receive a first selection instruction through a message interface, where the first selection instruction is used to determine a second terminal, and the second terminal is a terminal for receiving voice message information.

本发明实施例提供的一种语音留言方法适用于发送语音信息的终端将语音信息保存在该终端上的场景中。The method for leaving a voice message provided by the embodiment of the present invention is applicable to a scenario where a terminal sending voice information saves the voice information 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 the voice message mode, and in the voice message mode, the first terminal clicks on the logo of the second terminal that needs to leave a message, and instructs the first user to record a message for the second terminal.

可选的,本发明实施例中进入留言模式的方式有:当呼叫失败时,通话结束页面显示语音留言入口,进入语音留言模式;通过进入通话记录详情界面进入语音留言模式;通过进入电话号码详情页面进入语音留言模式;通过桌面打开语音留言应用或者其他方式进入语音留言模式,具体的根据实际情况进行选择,本发明实施例不做具体限定。Optionally, the ways to enter the message mode in the embodiment of the present invention are: when the call fails, the voice message entry is displayed on the call end page, and the voice message mode is entered; the voice message mode is entered by entering the call record details interface; by entering the phone number details Enter the voice message mode on the page; open the voice message application through the desktop or enter the voice message mode in other ways, the specific selection is made according to the actual situation, and the embodiment of the present invention does not specifically limit it.

S102、根据第一选择指令,通过对第二终端进行语音留言操作,得到语音留言信息,并将语音留言信息保存在语音信息库,语音信息库为在第一终端中存储所有语音信息的数据库。S102. According to the first selection instruction, perform voice message operation on the second terminal to obtain voice message information, and store the voice message information in a voice information database, which is a database storing 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 for the second terminal, and makes a voice message according to the recorded message, and saves the voice message 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 identity of the second terminal.

本发明实施例中,制作语音留言信息的流程如图2所示,包括:In the embodiment of the present invention, the flow process of making voice message information is as shown in Figure 2, including:

1、设置保存文件的路径及文件名,用第二终端对应的手机号码来命名文件名,作为来电时检测语音信息是否存在的依据;1. Set the path and file name of the saved file, use the mobile phone number corresponding to the second terminal to name the file name, and use it as the basis for detecting the existence of voice information when calling;

2、设置留言数据的编码类型,以脉冲编码调制(PCM,Pulse Code Modulation)编码格式数据保存到保存文件中;2. Set the encoding type of the message data, and save the data in the pulse code modulation (PCM, Pulse Code Modulation) encoding format to the save file;

3、设置数据文件的格式,即保存PCM编码数据的文件类型,如影音串流视讯压缩技术及商业标准格式(MPEG_4,Moving Pictures Experts Group),第三代合作伙伴计划(3GPP,3rd Generation Partnership Project)等格式。3. Set the format of the data file, that is, the file type for saving PCM encoded data, such as audio-visual streaming video compression technology and commercial standard format (MPEG_4, Moving Pictures Experts Group), 3rd Generation Partnership Project (3GPP, 3rd Generation Partnership Project) and other formats.

4、设置采集的数据来源为介质接口连接器(MIC,Medium Interface Connector);4. Set the source of the collected data as the medium interface connector (MIC, Medium Interface Connector);

5、将1-4都设置完成之后,打开MIC,设置音频通路驱动,即依次设置MIC、编译码器(Codec,Coder-DECoder)和内存,第一用户留言的声音通路通过MIC采集转变为模拟信号经驱动传输至Codec编译码器编码,模拟信号经Codec编译码器8KHZ采样,量化,编码为PCM格式数据流以64kbps的速率读到被读到内存缓冲区,然后通过系统写文件的方法将PCM格式数据以特定文件格式(如MPEG_4)写到预先设置好的目录下以特定文件名命名的文件中。5. After setting 1-4, turn on the MIC, set the audio channel driver, that is, set the MIC, codec (Codec, Coder-DECoder) and memory in sequence, and the voice channel of the first user’s message is converted to analog through MIC collection The signal is driven and transmitted to the Codec codec for encoding. The analog signal is sampled by the Codec codec at 8KHZ, quantized, encoded into a PCM format data stream, and read to the memory buffer at a rate of 64kbps, and then written to the file by the system. The PCM format data is written in a file named with a specific file name under a preset directory in a specific file format (such as MPEG_4).

经过上述步骤,就完成了对语音留言信息的录制过程。After the above steps, the process of recording the voice message is completed.

进一步地,在得到语音留言信息之后,第一终端将语音留言信息存储至第一终端中的语音信息库中,此时,第一用户可以对语音信息库中存储的语音信息进行删除等操作。Further, after obtaining the voice message, the first terminal stores the voice message in the voice information database of the first terminal, at this time, the first user can perform operations such as deleting the voice information stored in the voice information database.

可以理解的是,将语音留言信息保存至第一终端中的语音信息库中,可以实现对语音留言信息的删除操作,并且不受制与运营商的限制,可以增加录制语音信息的时长。It can be understood that saving the voice message information in the voice information database of the first terminal can realize the deletion operation of the voice message information, and can increase the recording time of the voice message without being restricted by the operator.

S103、接收第二终端的呼叫请求,并根据呼叫请求将语音留言信息发送至第二终端。S103. Receive a call request from the second terminal, and send voice message information to the second terminal according to the call request.

在第一终端将对第二终端的语音留言信息存储至第一终端的指定位置之后,第二终端发送呼叫请求时,第一终端将该语音留言信息发送至第二终端。After the first terminal stores the voice message for the second terminal in the designated location of the first terminal, when the second terminal sends a call request, the first terminal sends the voice message to the second terminal.

本发明实施例中,第二终端发送呼叫请求至第一终端,第一终端接收到第二终端发送的呼叫请求之后,第一终端判断读取语音留言开关是否开启,当读取语音留言信息开启时,第一终端从语音信息库中查找与第二终端对应的语音信息,当第一终端从语音信息库中查找到与第二终端对应的语音留言信息时,第一终端向第二终端发送该语音留言信息。In the embodiment of the present invention, the second terminal sends a call request to the first terminal. After the first terminal receives the call request sent by the second terminal, the first terminal judges whether the switch for reading voice messages is turned on. , the first terminal searches the voice information library for the voice information corresponding to the second terminal, and when the first terminal finds the voice message information corresponding to the second terminal from the voice information database, the first terminal sends a message to the second terminal The voicemail message.

进一步地,当第一终端接收到第二终端的呼叫请求时,第一终端判断读取语音留言开关关闭或者第一终端没有从语音信息库中查找到与第二终端对应的语音留言信息时,第一终端直接在显示界面上显示第二终端的呼叫请求,以供用户选择连接或者终止与第二终端的通信。Further, when the first terminal receives a call request from the second terminal, the first terminal judges that the switch to read the voice message is off or the first terminal does not find the voice message 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 choose to connect or terminate the communication with the second terminal.

进一步地,本发明实施例中,第一终端在将对第二终端的语音留言信息存储在语音数据库中之后,第一终端可以向第二终端发送语音通知信息,以提醒第二终端有来自第一终端的语音留言信息。Further, in the embodiment of the present invention, after the first terminal stores the voice message information for the second terminal in the voice database, the first terminal may send voice notification information to the second terminal to remind the second terminal that there is a message from the second terminal. A terminal voice message message.

可选的,语音通知信息可以以短信或者未接来电等方式发送至第二终端,具体的根据实际情况进行设置,本发明实施例不做具体限定。Optionally, the voice notification information may be sent to the second terminal in the form of a short message or a missed call, which is specifically set according to actual conditions, and is not specifically limited in this 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 message corresponding to the second terminal. The voice message information sent to the second terminal can enrich the diversity of voice message modes.

基于实施例一,在步骤103之后,如图3所示,一种语音留言方法还包括:Based on Embodiment 1, after step 103, as shown in Figure 3, a voice message method also includes:

S104、第一终端根据呼叫请求,判断读取语音留言开关是否开启。S104. According to the call request, the first terminal determines whether the switch for reading the voice message is turned on.

在第一终端接收待第一终端的呼叫请求之后,第一终端首先判断语音留言开关是否处于开启状态。After the first terminal receives the call request from the first terminal, the first terminal first determines whether the voice message switch is on.

本发明实施例中,第一终端接收到呼叫请求之后,第一终端判断语音留言开关的状态,当语音留言开关的状态为开启时,才允许第一终端查找第二终端对应的语音留言;当语音留言开关的状态为关闭时,表征第一终端没有开启语音留言的功能,此时,在第一终端的显示页面显示第二终端发送的呼叫请求。In the embodiment of the present invention, after the first terminal receives the call request, the first terminal judges the state of the voice message switch, and when the voice message switch is in the ON state, 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, it means that the first terminal does not enable the voice message function. At this time, the display page of the first terminal displays the call request sent by the second terminal.

本发明实施例中,第一终端的设置页面可以对语音留言开关的状态进行更改。In the embodiment of the present invention, the setting page of the first terminal can 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 a voice message switch, and the first user can turn on or off the voice message switch by clicking the "on" or "off" button.

S105、当第一终端读取语音留言开关开启时,第一终端从语音信息库中查找与第二终端对应的语音信息。S105. When the switch of the first terminal to read the voice message is turned on, the first terminal searches the voice information database for voice information corresponding to the second terminal.

当第一终端判断读取语音留言开关的状态为开启状态时,第一终端从语音信息库中查找与第二终端对应的语音信息。When the first terminal determines that the state of reading the voice message switch is on, the first terminal searches the voice information database for voice information corresponding to the second terminal.

本发明实施例中,当第一终端判断语音留言开关的状态为开启状态时,表征第一终端开启了语音留言的读取功能,此时第一终端就要查找语音信息库中是否存在与第二终端对应的语音信息。In the embodiment of the present invention, when the first terminal judges that the state of the voice message switch is on, it means that the first terminal has opened the reading function of the voice message. Voice information corresponding to the two terminals.

本发明实施例中,第一终端在语音数据库中查找第二终端的标识对应的语音信息。In the embodiment of the present invention, the first terminal searches the voice database for the voice information corresponding to the identifier of the second terminal.

示例性的,手机系统提供的媒体扫描服务对留言数据的存储目录进行扫描,查找与来电手机号码相匹配的文件名。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 phone number of the incoming call.

S106、当从语音信息库中查找到与第二终端对应的语音留言信息时,第一终端向第二终端发送语音留言信息。S106. When the voice message corresponding to the second terminal is found from the voice information database, the first terminal sends the voice message to the second terminal.

当第一终端在语音信息库中查找到与第二终端对应的语音留言信息时,表征第一终端出存储有对第二终端的语音留言信息,此时,将语音留言信息发送至第二终端。When the first terminal finds the voice message information corresponding to the second terminal in the voice information database, it indicates that the first terminal has stored the voice message information for the second terminal, 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 finds the voice message corresponding to the second terminal from the voice information database, the first terminal sends the found voice message to the second terminal.

本发明实施例中,留言数据发送的流程如图5所示,包括:In the embodiment of the present invention, the process of sending message data is shown in Figure 5, including:

1、建立通信链路(即第一终端接受第二终端的呼叫请求);1. Establish a communication link (that is, the first terminal accepts the call request of the second terminal);

2、设置输出文件的路径;2. Set the path of the output file;

3、设置读取的文件类型;3. Set the file type to read;

4、设置读取文件的速率,如64kbps;4. Set the rate of reading files, such as 64kbps;

5、设置底层音频通路,依次是内存设备和数字信号处理(DSP,Digital SignalProcessing);5. Set the bottom audio channel, followed by memory device and digital signal processing (DSP, Digital Signal Processing);

6、利用系统提供的读取文件的输入输出(I/O,Input/Output)操作方法将文件的留言数据以64kbps速率读到内存中,然后通过驱动将数据写到DSP,经DSP处理后发送至调制解调器中,再通过网络发送给第二终端,第二终端接收到数据之后,通过调制解调器对数据进行解调,并发送至DSP中,再通过编译码器发送至听筒中。6. Use the input/output (I/O, Input/Output) operation method provided by the system to read the message data of the file into the memory at a rate of 64kbps, then write the data to the DSP through the driver, and send it after DSP processing After receiving the data, the second terminal demodulates the data through the modem, sends it to the DSP, and then sends it to the earpiece through the codec.

本发明实施例是用预先制作的音频文件数据替代正常通话的语音数据发送至第二终端,以完成留言数据的传送,如图6所示,为正常建立呼叫连接时的数据流向图,语音数据通过介质接口连接器将语音数据发送至边译码器进行编码,再将编码后的数据发送至DSP中进行模数转化,并发送至调制解调器,最后通过网络发送至第二终端,第二终端接收到数据之后,通过调制解调器对数据进行解调,并发送至DSP中,再通过编译码器发送至听筒中。In the embodiment of the present invention, pre-made audio file data is used to replace the voice data of a normal call and sent to the second terminal to complete the transmission of the message data. As shown in FIG. Send the voice data to the side decoder through the media interface connector for encoding, then send the encoded data to the DSP for analog-to-digital conversion, and send it to the modem, and finally send it to the second terminal through the network, and the second terminal receives it After receiving the data, demodulate the data through the modem, send it to the DSP, and then send it to the earpiece through the codec.

本发明实施例中,当第一终端向第二终端发送完成语音留言信息之后,第一终端从语音信息库中删除语音留言信息。In the embodiment of the present invention, after the first terminal completes sending the voice message to the second terminal, the first terminal deletes the voice message from the voice information database.

本发明实施例中,当第一终端向第二终端发送完成语音留言信息之后,第一终端开始记录当前时间,当当前时间大于预设时间阈值时,第一终端在第一终端的显示页面上显示第二终端的呼叫请求。In the embodiment of the present invention, after the first terminal sends the voice message message to the second terminal, the first terminal starts to record the current time. Display the call request of the second terminal.

进一步地,当第一终端从语音信息库中没有查找到与第二终端对应的语音留言信息时,第一终端在第一终端的显示页面上显示第二终端的呼叫请求。Further, when the first terminal does not find the voice message 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.

实施例二Embodiment two

本发明实施例提供了一种语音留言方法,应用于第二终端,如图7所示,该方法可以包括:The embodiment of the present invention provides a method for leaving a voice message, which is applied to the second terminal. As shown in FIG. 7, the method may include:

S201、发送呼叫请求至第一终端。S201. Send a call request to the first terminal.

本发明实施例提供的一种语音留言方法适用于发送语音留言信息的终端将语音留言信息保存在该终端的场景中。The method for leaving a voice message provided by the embodiment of the present invention is applicable to a scenario where a terminal sending voice message information saves the voice message information in 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 message.

可选的,第二终端可以通过短信或者未接来电的形式接收来自第一终端的语音通知信息。Optionally, the second terminal may receive the voice notification information from the first terminal in the form of a text message or a missed call.

在本发明实施例中,第二终端按照正常的建立呼叫连接的方法呼叫第一终端。In the embodiment of the present invention, the second terminal calls the first terminal according to a normal method of 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 sent by the first terminal.

本发明实施例中,第二终端在呼叫第一终端时,接听第一终端发送的语音留言信息。In the embodiment of the present invention, when the second terminal calls the first terminal, it listens to the voice message sent by the first terminal.

进一步地,当第二终端在接听完语音留言信息之后的预设时间到达时,开始接通与第一终端的呼叫,等待第一终端响应呼叫请求。Further, when the preset time arrives after the second terminal finishes answering the voice message, it starts to connect the call with the first terminal, and waits for the first terminal to respond to the call request.

实施例三Embodiment Three

本发明实施例提供一种语音留言方法,如图8所示,该方法可以包括:An embodiment of the present invention provides a voice message method, as shown in Figure 8, the method may include:

S301、基于第一用户的第一操作,第一终端进入语音留言模式。S301. Based on a first operation by a first user, the first terminal enters a voice message mode.

本发明实施例提供的一种语音留言方法适用于第一终端将对第二终端录制的语音存储在第一终端的语音信息库中,第二终端通过呼叫第一终端来获取语音留言信息的场景中。The voice message method provided by the embodiment of the present invention is applicable to the scene where the first terminal stores the voice recorded by the second terminal in the voice information database of the first terminal, and the second terminal obtains voice message information by calling the first terminal middle.

本发明实施例中,第一用户通过对第一终端进行操作,使第一终端进入语音留言模式。In the embodiment of the present invention, the first user makes the first terminal enter the voice message mode by operating the first terminal.

可选的,本发明实施例中进入留言模式的方式有:当呼叫失败时,通话结束页面显示语音留言入口,进入语音留言模式;通过进入通话记录详情界面进入语音留言模式;通过进入电话蛤蟆详情页面进入语音留言模式;通过桌面打开语音留言应用或者其他方式进入语音留言模式,具体的根据实际情况进行选择,本发明实施例不做具体限定。Optionally, the ways to enter the message mode in the embodiment of the present invention are: when the call fails, the voice message entry is displayed on the call end page, and the voice message mode is entered; the voice message mode is entered by entering the call record details interface; Enter the voice message mode on the page; open the voice message application through the desktop or enter the voice message mode in other ways, the specific selection is made according to the actual situation, and the embodiment of the present invention does not specifically limit it.

S302、在语音留言模式下,第一终端通过留言界面接收第一选择指令,第一选择指令用于确定第二终端,第二终端为接收语音留言信息的终端。S302. In the voice message mode, the first terminal receives a first selection instruction through a message interface, and the first selection instruction is used to determine a second terminal, and the second terminal is a terminal for receiving voice message information.

在第一终端进入语音留言模式之后,第一用户就要在留言界面上选择需要录制语音信息的第二终端了。After the first terminal enters the voice message mode, the first user will select the second terminal that needs to record the voice message 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, in the voice message mode, the first terminal clicks on the logo of the second terminal that needs to leave a message, and instructs the first user to record a message for the second terminal.

S303、根据第一选择指令,第一终端通过对第二终端进行语音留言操作,得到语音留言信息。S303. According to the first selection instruction, the first terminal obtains voice message information by performing a voice message operation on the second terminal.

当第一用户在第一终端的留言界面选定了第二终端之后,第一终端就要对第二终端进行语音留言信息的录制了。After the first user selects the second terminal on the message interface of the first terminal, the first terminal will record 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 for the second terminal, and makes a voice message according to the recorded message, and saves the voice message 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 identity of the second terminal.

本发明实施例中,制作语音留言信息的流程如图2所示,包括:In the embodiment of the present invention, the flow process of making voice message information is as shown in Figure 2, including:

1、设置保存文件的路径及文件名,用第二终端对应的手机号码来命名文件名,作为来电时检测语音信息是否存在的依据;1. Set the path and file name of the saved file, use the mobile phone number corresponding to the second terminal to name the file name, and use it as the basis for detecting the existence of voice information when calling;

2、设置留言数据的编码类型,以脉冲编码调制(PCM,Pulse Code Modulation)编码格式数据保存到保存文件中;2. Set the encoding type of the message data, and save the data in the pulse code modulation (PCM, Pulse Code Modulation) encoding format to the save file;

3、设置数据文件的格式,即保存PCM编码数据的文件类型,如影音串流视讯压缩技术及商业标准格式(MPEG_4,Moving Pictures Experts Group),第三代合作伙伴计划(3GPP,3rd Generation Partnership Project)等格式。3. Set the format of the data file, that is, the file type for saving PCM encoded data, such as audio-visual streaming video compression technology and commercial standard format (MPEG_4, Moving Pictures Experts Group), 3rd Generation Partnership Project (3GPP, 3rd Generation Partnership Project) and other formats.

4、设置采集的数据来源为介质接口连接器(MIC,Medium Interface Connector);4. Set the source of the collected data as the medium interface connector (MIC, Medium Interface Connector);

5、将1-4都设置完成之后,打开MIC,设置音频通路驱动,即依次设置MIC、Codec编译码器和内存,第一用户留言的声音通路通过MIC采集转变为模拟信号经驱动传输至Codec编译码器编码,模拟信号经Codec编译码器8KHZ采样,量化,编码为PCM格式数据流以64kbps的速率读到被读到内存缓冲区,然后通过系统写文件的方法将PCM格式数据以特定文件格式(如MPEG_4)写到预先设置好的目录下以特定文件名命名的文件中。5. After setting 1-4, turn on the MIC, set the audio path driver, that is, set the MIC, Codec codec and memory in sequence, the sound path of the first user’s message is collected by the MIC and converted into an analog signal, which is driven and transmitted to the Codec The codec is encoded, the analog signal is sampled by the Codec codec 8KHZ, quantized, encoded into a PCM format data stream, and read to the memory buffer at a rate of 64kbps, and then the PCM format data is written to a specific file by the system writing file method format (such as MPEG_4) is written to a file named after a specific file name in a pre-set directory.

经过上述步骤,就完成了对语音留言信息的录制过程。After the above steps, the process of recording the voice message is completed.

S304、第一终端将语音留言信息添加至语音信息库,语音信息库为在第一终端中存储所有语音信息的数据库。S304. The first terminal adds the voice message information to a voice information database, where the voice information database is a database storing all voice information in the first terminal.

第一终端在得到语音留言信息之后,第一终端将语音留言信息添加至语音信息库中。After the first terminal obtains the voice message, the first terminal adds the voice message 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 voice information database in the form of a file.

可以理解的是,将语音留言信息保存至第一终端中的语音信息库中,可以实现对语音留言信息的删除操作,并且不受制与运营商的限制,可以增加录制语音信息的时长。It can be understood that saving the voice message information in the voice information database of the first terminal can realize the deletion operation of the voice message information, and can increase the recording time of the voice message without being restricted by the operator.

S305、第一终端向第二终端发送与语音留言信息对应的语音通知信息,语音通知信息用于通知第二终端获取语音留言信息。S305. The first terminal sends 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.

当第一终端将语音留言信息存储至语音信息库中之后,第一终端向第二终端发送语音通知信息,以通知第二终端有来自第一终端的语音信息。After the first terminal stores the voice message information in the voice information database, the first terminal sends voice notification information to the second terminal to notify the second terminal that there is voice information from the first terminal.

本发明实施例中,第一终端对第二终端录制了语音留言信息之后,第一终端编辑提示信息,发送语音通知消息至第二终端,通知第二终端有来自第一终端的语音留言信息同时发送读取语音留言信息的方法。In the embodiment of the present invention, after the first terminal records the voice message information for 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 there is a voice message message from the first terminal. Send method to read voicemail message.

本发明实施例中,第一终端可以通过短信等通信方式发送语音通知信息至第二终端。In the embodiment of the present invention, the first terminal may send voice notification information to the second terminal through a communication method such as a short message.

进一步地,当语音留言信息被删除了之后,第一终端向第二终端发送语音留言信息的删除通知信息。Further, after the voice message is deleted, the first terminal sends deletion notification information of the voice message 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 instruction 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, and 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 in the form of a short message or a pop-up box.

S307、第一终端根据呼叫请求,判断读取语音留言开关是否开启。S307. According to the call request, the first terminal determines whether the switch for reading the voice message is turned on.

第一终端接收到第二终端的呼叫请求之后,第一终端首先判断第一终端上的读取语音留言开关的状态。After the first terminal receives the call request from the second terminal, the first terminal first judges the status of the switch for reading voice messages on the first terminal.

本发明实施例中,第一终端接收到呼叫请求之后,第一终端判断语音留言开关的状态,当语音留言开关的状态为开启时,才允许第一终端查找第二终端对应的语音留言;当语音留言开关的状态为关闭时,表征第一终端没有开启语音留言的功能,此时,第一终端在第一终端的显示页面上显示第二终端的呼叫请求。In the embodiment of the present invention, after the first terminal receives the call request, the first terminal judges the state of the voice message switch, and when the voice message switch is in the ON state, 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, it means that the first terminal does not enable the voice message function. 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 can 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 a voice message switch, and the first user can arbitrarily click the "on" or "off" button to turn on or off the voice message switch.

S308、当读取语音留言开关开启时,第一终端从语音信息库中查找与第二终端对应的语音信息。S308. When the switch for reading voice messages is turned on, the first terminal searches the voice information database for voice information corresponding to the second terminal.

当第一终端判断出读取语音留言开关的状态为开启状态时,第一终端从语音信息库中查找与第二终端对应的语音信息。When the first terminal determines that the state of reading the voice message switch is on, the first terminal searches the voice information database for voice information corresponding to the second terminal.

本发明实施例中,当第一终端判断语音留言开关的状态为开启状态时,表征第一终端开启了语音留言的读取功能,此时第一终端就要查找语音信息库中是否存在与第二终端对应的语音信息。In the embodiment of the present invention, when the first terminal judges that the state of the voice message switch is on, it means that the first terminal has opened the reading function of the voice message. Voice information corresponding to the two terminals.

本发明实施例中,第一终端在语音数据库中查找第二终端的标识对应的语音信息。In the embodiment of the present invention, the first terminal searches the voice database for the voice information corresponding to the identifier of the second terminal.

示例性的,手机系统提供的媒体扫描服务对留言数据的存储目录进行扫描,查找与来电手机号码相匹配的文件名。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 phone number of the incoming call.

S309、当读取语音留言开关关闭时,第一终端显示第二终端的呼叫请求。S309. When the switch for reading the voice message is turned off, the first terminal displays the 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 judges that the state of reading the voice message switch is off, it indicates that the function of reading the voice message of the first terminal is closed, and at this time, the first terminal displays on the display page of the first terminal A call request from the second terminal.

S310、当第一终端从语音信息库中查找到与第二终端对应的语音留言信息时,第一终端向第二终端发送语音留言信息。S310. When the first terminal finds 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, it indicates that the first terminal has stored the voice message information for the second terminal, 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 finds the voice message corresponding to the second terminal from the voice information database, the first terminal sends the found voice message to the second terminal.

本发明实施例中,语音留言信息发送的数据流向图如图5所示,包括:In the embodiment of the present invention, the data flow diagram of voice message message sending is shown in Figure 5, including:

1、建立通信链路(即第一终端接受第二终端的呼叫请求);1. Establish a communication link (that is, the first terminal accepts the call request of the second terminal);

2、设置输出文件的路径;2. Set the path of the output file;

3、设置读取的文件类型;3. Set the file type to read;

4、设置读取文件的速率,如64kbps;4. Set the rate of reading files, such as 64kbps;

5、设置底层音频通路,依次是内存设备和数字信号处理(DSP,Digital SignalProcessing);5. Set the bottom audio channel, followed by memory device and digital signal processing (DSP, Digital Signal Processing);

6、利用系统提供的读取文件的输入输出(I/O,Input/Output)操作方法将文件的留言数据以64kbps速率读到内存中,然后通过驱动将数据写到DSP,经DSP处理后发送至调制解调器中,再通过网络发送给第二终端,第二终端接收到数据之后,通过调制解调器对数据进行解调,并发送至DSP中,再通过编译码器发送至听筒中。6. Use the input/output (I/O, Input/Output) operation method provided by the system to read the message data of the file into the memory at a rate of 64kbps, then write the data to the DSP through the driver, and send it after DSP processing After receiving the data, the second terminal demodulates the data through the modem, sends it to the DSP, and then sends it to the earpiece through the codec.

本发明实施例是用预先制作的音频文件数据替代正常通话的语音数据发送至第二终端,以完成留言数据的传送,如图6所示,为正常建立呼叫连接时的数据流向图,语音数据通过介质接口连接器将语音数据发送至边译码器进行编码,再将编码后的数据发送至DSP中进行模数转化,并发送至调制解调器,最后通过网络发送至第二终端,第二终端接收到数据之后,通过调制解调器对数据进行解调,并发送至DSP中,再通过编译码器发送至听筒中。In the embodiment of the present invention, pre-made audio file data is used to replace the voice data of a normal call and sent to the second terminal to complete the transmission of the message data. As shown in FIG. Send the voice data to the side decoder through the media interface connector for encoding, then send the encoded data to the DSP for analog-to-digital conversion, and send it to the modem, and finally send it to the second terminal through the network, and the second terminal receives it After receiving the data, demodulate the data through the modem, send it to the DSP, and then send it to the earpiece through the codec.

本发明实施例中,当第一终端向第二终端发送完成语音留言信息之后,第一终端从语音信息库中删除语音留言信息。In the embodiment of the present invention, after the first terminal completes sending the voice message to the second terminal, the first terminal deletes the voice message from the voice information database.

本发明实施例中,当第一终端向第二终端发送完成语音留言信息之后,第一终端开始记录当前时间,当当前时间大于预设时间阈值时,第一终端开始建立与第二终端的呼叫连接。In the embodiment of the present invention, after the first terminal sends the completed voice message to the second terminal, the first terminal starts to record the current time, and when the current time is greater than the preset time threshold, the first terminal starts to establish a call with the second terminal connect.

S311、第一终端开始记录当前时间。S311. The first terminal starts to record the current time.

第一终端在发送完成语音留言信息至第二终端之后,第一终端开始记录当前时间。After the first terminal finishes sending the voice message message to the second terminal, the first terminal starts to record the current time.

本发明实施例中,当第一终端向第二终端发送完成语音留言信息之后,第一终端启动定时器,开始记录从第一终端发送完成语音留言信息到第二终端释放与第一终端的呼叫连接的当前时间。In the embodiment of the present invention, after the first terminal sends the completed voice message to the second terminal, the first terminal starts the timer and starts to record the call from the first terminal to the second terminal to release the call with the first terminal. The current time of the connection.

S312、当当前时间大于第一终端的预设时间阈值时,第一终端显示第二终端的呼叫请求。S312. When the current time is greater than the preset time threshold of the first terminal, the first terminal displays the call request of the second terminal.

本发明实施例中,当当前时间大于预设时间阈值时,表征第二终端需要与第一终端建立呼叫连接,此时,第一终端在第一终端的显示页面上显示第二终端的呼叫请求。In the embodiment of the present invention, when the current time is greater than the preset time threshold, it indicates that 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 .

进一步地,当当前时间小于预设时间阈值时,第一终端释放与第二终端的呼叫连接。Further, 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 database, the first terminal displays the call request of the second terminal.

当第一终端从语音信息库中没有查找到与第二终端对应的语音留言信息时,第一终端在第一终端的显示页面上显示第二终端的呼叫请求。本发明实施例中,当第一终端未从语音信息库中找到与第二终端对应的语音信息时,表征语音信息库中没有与第二终端对应的语音信息,此时,第一终端在第一终端的显示页面上显示第二终端的呼叫请求。When the first terminal does not find the voice message 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, it means that there is no voice information corresponding to the second terminal in the voice information database. At this time, the first terminal The display page of a terminal displays the call request of the second terminal.

示例性的,第二终端通过呼叫第一终端来读取语音留言信息的流程如图9所示,包括:Exemplarily, the process for the second terminal to read voice message information by calling the first terminal is shown in FIG. 9 , including:

1、手机A收到手机B的来电。1. Mobile phone A receives a call from mobile phone B.

2、手机A判断是否处于留言读取模式,如果是,则执行4;如果否,则执行3。2. Mobile phone A judges whether it is in message reading mode, if yes, execute 4; if not, execute 3.

3、手机A显示手机B的来电提醒。3. Mobile phone A displays the incoming call reminder of mobile phone B.

4、手机A判断是否有待发送给手机B的语音留言,如果有,则执行5;如果没有,则执行3。4. Mobile phone A judges whether there is a voice message to be sent to mobile phone B, if yes, go to step 5; if not, go to step 3.

5、将手机A中待发送给手机B的语音留言播放给手机B。5. Play the voice message in mobile phone A to be sent to mobile phone B to mobile phone B.

6、在播放完成待发送给手机B的语音留言之后,手机A删除待发送给手机B的语音留言,并启动定时器。6. After playing the voice message to be sent to mobile phone B, mobile phone A deletes the voice message to be sent to mobile phone B, and starts a timer.

7、比较手机B释放与手机A链路的时间与定时器定时的时间。7. Compare the time when mobile phone B releases the link with mobile phone A with the time set by the timer.

8、当手机B释放与手机A链路的时间小于定时器定时的时间时,手机A释放与手机B的链路。8. When the time for mobile phone B to release the link with mobile phone A is less than the time set by the timer, mobile phone A releases the link with mobile phone B.

9、当手机B释放与手机A链路的时间大于定时器定时的时间时,执行3。9. When the time for mobile phone B to release the link with mobile phone A is longer than the time set by the timer, execute 3.

可以理解的是,第一终端通过在语音留言模式下,对选定的第二终端进行语音留言操作,得到语音留言信息,并向第二终端发送与语音留言信息对应的语音留言信息,可以增加应用场景,降低语音留言的成本。It can be understood that the first terminal obtains voice message information by performing voice message operation on the selected second terminal in the voice message mode, and sends voice message information corresponding to the voice message information to the second terminal, which can increase Application scenarios, reducing the cost of voice mail.

实施例四Embodiment Four

本发明实施例提供一种第一终端1,如图10所示,所述第一终端包括:An embodiment of the present invention provides a first terminal 1. As shown in FIG. 10, the first terminal includes:

第一接收单元10,用于在语音留言模式下,通过留言界面接收第一选择指令,所述第一选择指令用于确定第二终端,所述第二终端为接收语音留言信息的终端。The first receiving unit 10 is configured to receive a first selection instruction through a message interface in the voice message mode, and the first selection command is used to determine a second terminal, and the second terminal is a terminal for receiving voice message information.

留言单元11,用于根据所述第一选择指令,通过对所述第二终端进行语音留言操作,得到所述语音留言信息。The leaving 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 store the voice message information in a voice information database, and the voice information database is a database storing all voice information in the first terminal.

第一发送单元13,用于接收所述第二终端的呼叫请求,并根据所述呼叫请求将所述语音留言信息发送至所述第二终端。The first sending unit 13 is configured to receive a call request from 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 voice notification information corresponding to the voice message information to the second terminal, and the voice notification information is used to notify the second terminal to obtain the Voicemail message.

可选的,基于图10如图11所示,所述第一终端还包括:判断单元14和查找单元15。Optionally, as shown in FIG. 11 based on FIG. 10 , the first terminal further includes: a judging unit 14 and a searching unit 15 .

所述判断单元14,用于根据所述呼叫请求,判断读取语音留言开关是否开启。The judging unit 14 is configured to judge whether the switch for reading voice messages is turned on according to the call request.

所述查找单元15,用于当所述读取语音留言开关开启时,从所述语音信息库中查找与所述第二终端对应的语音信息。The searching unit 15 is configured to search the voice information corresponding to the second terminal from the voice information database when the switch for reading voice messages is turned on.

所述第一发送单元13,还用于当从所述语音信息库中查找到与所述第二终端对应的所述语音留言信息时,向所述第二终端发送所述语音留言信息。The first sending unit 13 is further configured to send the voice message information to the second terminal when the voice message information corresponding to the second terminal is found from the voice information database.

可选的,基于图11如图12所示,所述第一终端还包括:第一显示单元16。Optionally, as shown in FIG. 12 based on FIG. 11 , the first terminal 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 switch for reading voice messages is turned off.

可选的,所述第一显示单元16,还用于当未从所述语音信息库中找到与所述第二终端对应的语音信息时,显示所述第二终端的所述呼叫请求。Optionally, the first display unit 16 is further configured to display the call request of the second terminal when no voice information corresponding to the second terminal is found from the voice information database.

可选的,基于图10如图13所示,所述第一终端还包括:记录单元17。Optionally, as shown in FIG. 13 based on FIG. 10 , the first terminal further includes: 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.

如图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 Figure 14, in practical applications, the above-mentioned message unit 11, storage unit 12, judgment unit 14, search unit 15, first display unit 16 and recording unit 17 can be implemented by a processor 18 located on the first terminal 1, Specifically, it is realized by a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), and the first receiving unit 10 is realized by a receiver 19, and the first sending unit 13 can be realized by the transmitter 110, the first terminal 1 can also include a memory 111, the memory 111, the receiver 19, and the transmitter 110 can be connected to the processor 18, wherein the memory 111 is used to store executable program codes, the program The code includes computer operation instructions, and the memory 111 may include a high-speed RAM memory, and may also include a non-volatile memory, for example, at least one magnetic disk memory.

实施例五Embodiment five

本发明实施例提供一种第二终端2,如图15所示,该第二终端2包括:An embodiment of the present invention 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 based on FIG. 15 , the second terminal further includes: an operating unit 22 .

所述操作单元22,用于当成功接收所述语音留言信息之后的预设时间阈值到达时,进行与所述第一终端之间的呼叫操作。The operation unit 22 is configured to perform a call operation with the first terminal when a preset time threshold arrives after successfully receiving the voice message.

如图17所示,在实际应用中,上述操作单元22可由位于第一终端2上的处理器23进行处理,具体为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等实现,第二接收单元21由接收器23实现,第二发送单元20可由发送器25实现,该第二终端2还可以包括存储器26,该存储器26、接收器24、发送器25可以与处理器23连接,其中,存储器25用于存储可执行程序代码,该程序代码包括计算机操作指令,存储器25可能包含高速RAM存储器,也可能还包括非易失性存储器,例如,至少一个磁盘存储器。As shown in FIG. 17, in practical applications, the above-mentioned 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), a digital signal processor ( DSP) or Field Programmable Gate Array (FPGA), etc., the second receiving unit 21 is realized by the receiver 23, the second sending unit 20 can be realized by the transmitter 25, and the second terminal 2 can also include a memory 26, the memory 26 , receiver 24, transmitter 25 can be connected with processor 23, wherein, memory 25 is used for storing executable program code, and this program code includes computer operation instruction, memory 25 may comprise high-speed RAM memory, also may also comprise non-volatile permanent storage, such as at least one disk storage.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (16)

1.一种语音留言方法,应用于第一终端,其特征在于,包括:1. A voice message method, applied to the first terminal, is characterized in that, comprising: 在语音留言模式下,通过留言界面接收第一选择指令,所述第一选择指令用于确定第二终端,所述第二终端为接收语音留言信息的终端;In the voice message mode, a first selection instruction is received through the message interface, and the first selection instruction is used to determine a second terminal, and the second terminal is a terminal for receiving voice message information; 根据所述第一选择指令,通过对所述第二终端进行语音留言操作,得到所述语音留言信息,并将所述语音留言信息保存在语音信息库,所述语音信息库为在所述第一终端中存储所有语音信息的数据库;According to the first selection instruction, by performing a voice message operation on the second terminal, the voice message information is obtained, and the voice message information is stored in a voice information database, and the voice information database is in the second terminal. A database storing all voice information in a terminal; 接收所述第二终端的呼叫请求,并根据所述呼叫请求将所述语音留言信息发送至所述第二终端。receiving a call request from the second terminal, and sending the voice message information to the second terminal according to the call request. 2.根据权利要求1所述的方法,其特征在于,所述将所述语音留言信息保存在语音信息库之后,所述接收所述第二终端的呼叫请求之前,所述方法还包括:2. The method according to claim 1, characterized in that, after the voice message is stored in the voice information base, and before the call request of the second terminal is received, the method further comprises: 向所述第二终端发送与所述语音留言信息对应的语音通知信息,所述语音通知信息用于通知所述第二终端获取所述语音留言信息。Sending 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. 3.根据权利要求1所述的方法,其特征在于,所述根据所述呼叫请求将所述语音留言信息发送至所述第二终端,包括:3. The method according to claim 1, wherein the sending the voice message to the second terminal according to the call request comprises: 根据所述呼叫请求,判断读取语音留言开关是否开启;According to the call request, it is judged whether the switch for reading the voice message is turned on; 当所述读取语音留言开关开启时,从所述语音信息库中查找与所述第二终端对应的语音信息;When the switch for reading voice messages is turned on, search for voice information corresponding to the second terminal from the voice information database; 当从所述语音信息库中查找到与所述第二终端对应的所述语音留言信息时,向所述第二终端发送所述语音留言信息。When the voice message corresponding to the second terminal is found from the voice information database, the voice message is sent to the second terminal. 4.根据权利要求3所述的方法,其特征在于,所述根据所述呼叫请求,判断读取语音留言开关是否开启之后,所述方法还包括:4. The method according to claim 3, characterized in that, after determining whether the switch for reading the voice message is turned on according to the call request, the method further comprises: 当所述读取语音留言开关关闭时,显示所述第二终端的所述呼叫请求。When the switch for reading voice messages is turned off, the call request of the second terminal is displayed. 5.根据权利要求3所述的方法,其特征在于,所述方法还包括:5. method according to claim 3, is characterized in that, described method also comprises: 当未从所述语音信息库中找到与所述第二终端对应的语音信息时,显示所述第二终端的所述呼叫请求。displaying the call request of the second terminal when no voice information corresponding to the second terminal is found from the voice information database. 6.根据权利要求1所述的方法,其特征在于,所述根据所述呼叫请求将所述语音留言信息发送至所述第二终端之后,所述方法还包括:6. The method according to claim 1, wherein after the voice message is sent to the second terminal according to the call request, the method further comprises: 开始记录当前时间;Start recording the current time; 当所述当前时间大于预设时间阈值时,显示所述第二终端的所述呼叫请求。When the current time is greater than a preset time threshold, displaying the call request of the second terminal. 7.一种语音留言方法,应用于第二终端,其特征在于,包括:7. A voice message method applied to a second terminal, characterized in that it comprises: 发送呼叫请求至所述第一终端;sending a call request to the first terminal; 接收所述第一终端发送的语音留言信息。receiving voice message information sent by the first terminal. 8.根据权利要求7所述的方法,其特征在于,所述接收所述第一终端发送的语音留言信息之后,所述方法还包括:8. The method according to claim 7, wherein after receiving the voice message message sent by the first terminal, the method further comprises: 当成功接收所述语音留言信息之后的预设时间阈值到达时,进行与所述第一终端之间的呼叫操作。When the preset time threshold reaches after the voice message message is successfully received, a call operation with the first terminal is performed. 9.一种第一终端,其特征在于,所述第一终端包括:9. A first terminal, characterized in that the first terminal comprises: 第一接收单元,用于在语音留言模式下,通过留言界面接收第一选择指令,所述第一选择指令用于确定第二终端,所述第二终端为接收语音留言信息的终端;The first receiving unit is configured to receive a first selection instruction through a message interface in the voice message mode, the first selection command is used to determine a second terminal, and the second terminal is a terminal for receiving 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 store the voice message information in a voice information database, where the voice information database is a database storing all voice information in the first terminal; 第一发送单元,用于接收所述第二终端的呼叫请求,并根据所述呼叫请求将所述语音留言信息发送至所述第二终端。The first sending unit is configured to receive a call request from the second terminal, and send the voice message information to the second terminal according to the call request. 10.根据权利要求9所述的第一终端,其特征在于,10. The first terminal according to claim 9, characterized in that, 所述第一发送单元,还用于向所述第二终端发送与所述语音留言信息对应的语音通知信息,所述语音通知信息用于通知所述第二终端获取所述语音留言信息。The first sending unit is further configured to send voice notification information corresponding to the voice message to the second terminal, where the voice notification message is used to notify the second terminal to acquire the voice message. 11.根据权利要求9所述的第一终端,其特征在于,所述第一终端还包括:判断单元和查找单元;11. The first terminal according to claim 9, further comprising: a judging unit and a searching unit; 所述判断单元,用于根据所述呼叫请求,判断读取语音留言开关是否开启;The judging unit is used to judge whether the switch for reading the voice message is turned on according to the call request; 所述查找单元,用于当所述读取语音留言开关开启时,从所述语音信息库中查找与所述第二终端对应的语音信息;The search unit is configured to search the voice information library corresponding to the second terminal from the voice information database when the switch for reading voice messages is turned on; 所述第一发送单元,还用于当从所述语音信息库中查找到与所述第二终端对应的所述语音留言信息时,向所述第二终端发送所述语音留言信息。The first sending unit is further configured to send the voice message information to the second terminal when the voice message message corresponding to the second terminal is found from the voice information database. 12.根据权利要求11所述的第一终端,其特征在于,所述第一终端还包括:第一显示单元;12. The first terminal according to claim 11, further comprising: a first display unit; 所述第一显示单元,用于当所述读取语音留言开关关闭时,显示所述第二终端的所述呼叫请求。The first display unit is configured to display the call request of the second terminal when the switch for reading voice messages is turned off. 13.根据权利要求11所述的第一终端,其特征在于,13. The first terminal according to claim 11, characterized in that, 所述第一显示单元,还用于当未从所述语音信息库中找到与所述第二终端对应的语音信息时,显示所述第二终端的所述呼叫请求。The first display unit is further configured to display the call request of the second terminal when no voice information corresponding to the second terminal is found from the voice information database. 14.根据权利要求9所述的第一终端,其特征在于,所述第一终端还包括:记录单元;14. The first terminal according to claim 9, further comprising: a recording unit; 所述记录单元,用于开始记录当前时间;The recording unit is used 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. 15.一种第二终端,其特征在于,所述第二终端包括:15. A second terminal, characterized in that the second terminal comprises: 第二发送单元,用于发送呼叫请求至所述第一终端;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. 16.根据权利要求15所述的第二终端,其特征在于,所述第二终端还包括:操作单元;16. The second terminal according to claim 15, further comprising: an operation unit; 所述操作单元,用于当成功接收所述语音留言信息之后的预设时间阈值到达时,进行与所述第一终端之间的呼叫操作。The operating unit is configured to perform a call operation with the first terminal when a preset time threshold arrives after successfully receiving the voice message.
CN201710023243.0A 2017-01-12 2017-01-12 Voice message method and terminal Active CN108307028B (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN108307028A true CN108307028A (en) 2018-07-20
CN108307028B CN108307028B (en) 2021-01-08

Family

ID=62840387

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (1)

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

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0783219A3 (en) * 1996-01-08 2000-11-02 Nokia Mobile Phones Ltd. Activation of a telephone's own call answering equipment according to the number of the calling party
CN1512730A (en) * 2002-12-30 2004-07-14 北京汉王科技有限公司 Intelligent computerized telephone with personalized message leaving function
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
CN101132581A (en) * 2007-09-21 2008-02-27 中兴通讯股份有限公司 Mobile phone for automatically replying to incoming call and method thereof
CN103533145A (en) * 2013-10-23 2014-01-22 陕西高新实业有限公司 Smart mobile phone with automatic voice message answering function
CN103685711A (en) * 2012-09-21 2014-03-26 崔玉珩 Call control and processing method based on automatic connection of mobile phone
CA2897539A1 (en) * 2013-04-04 2014-10-09 James S. RAND Unified communications system and method
CN104580646A (en) * 2014-12-23 2015-04-29 广东欧珀移动通信有限公司 Voice message transmission method and terminal
US20160044474A1 (en) * 2003-12-08 2016-02-11 Ipventure, Inc. Systems and processes to manage multiple modes of communication
CN105681577A (en) * 2015-12-01 2016-06-15 中华电信股份有限公司 Method for responding to incoming call and processing missed call according to situation

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN101924837A (en) * 2009-06-15 2010-12-22 上海凌犀电子科技有限公司 Incoming call reminding method, system and business platform

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0783219A3 (en) * 1996-01-08 2000-11-02 Nokia Mobile Phones Ltd. Activation of a telephone's own call answering equipment according to the number of the calling party
CN1512730A (en) * 2002-12-30 2004-07-14 北京汉王科技有限公司 Intelligent computerized telephone with personalized message leaving function
US20160044474A1 (en) * 2003-12-08 2016-02-11 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
CN101132581A (en) * 2007-09-21 2008-02-27 中兴通讯股份有限公司 Mobile phone for automatically replying to incoming call and method thereof
CN103685711A (en) * 2012-09-21 2014-03-26 崔玉珩 Call control and processing method based on automatic connection of mobile phone
CA2897539A1 (en) * 2013-04-04 2014-10-09 James S. RAND Unified communications system and method
CN103533145A (en) * 2013-10-23 2014-01-22 陕西高新实业有限公司 Smart mobile phone with automatic voice message answering function
CN104580646A (en) * 2014-12-23 2015-04-29 广东欧珀移动通信有限公司 Voice message transmission method and terminal
CN105681577A (en) * 2015-12-01 2016-06-15 中华电信股份有限公司 Method for responding to incoming call and processing missed call according to situation

Also Published As

Publication number Publication date
CN108307028B (en) 2021-01-08
WO2018130100A1 (en) 2018-07-19

Similar Documents

Publication Publication Date Title
US9042869B2 (en) Voicemail system for a handheld device
AU2008203864C1 (en) Voicemail systems and methods
US9215419B2 (en) System and method for set-top box recording
US8643694B2 (en) Method and apparatus for answering and recording automatically in visual telephone service
CN103368829B (en) Chat message processing method and the system of JICQ
US10313502B2 (en) Automatically delaying playback of a message
CN109728994B (en) Call method, device and computer readable storage medium
WO2015184715A1 (en) Call reminding method and device, and communication terminal
CN103369094A (en) Mobile terminal and method for not affecting communication process continuity when conversation is interrupted
CN104333641B (en) Call method and device
JP4787328B2 (en) Method and apparatus for capturing audio during a conference call
CN104301486A (en) Electronic equipment and conversation control method
WO2020063451A1 (en) Call voicemail messaging method, terminal, and device having storage function
CA2638400C (en) Voicemail system for a handheld device
CN108307028A (en) A kind of voice leaving method and terminal
WO2011150837A1 (en) Method, device and system for realizing color ring service
US9444923B1 (en) Method of receiving and replying messages with a hands-free device
KR100354825B1 (en) Mobile Station able to make Touchable Love Expression
CN101834957A (en) Incoming call management method and system based on home gateway
JP2009290468A (en) Speech recording device and method
US8571186B2 (en) Method and system for recording telephone conversations placed on hold
JP3789274B2 (en) Mobile communication terminal
EP2282500B1 (en) Method and system for recording telephone conversations placed on hold
KR100898923B1 (en) How to record a multimedia call on a mobile device
TWI255636B (en) Method to enable a wireless phone function on PC

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant