CN105577603B - A kind of method and device playing Multimedia Message - Google Patents
A kind of method and device playing Multimedia Message Download PDFInfo
- Publication number
- CN105577603B CN105577603B CN201410527466.7A CN201410527466A CN105577603B CN 105577603 B CN105577603 B CN 105577603B CN 201410527466 A CN201410527466 A CN 201410527466A CN 105577603 B CN105577603 B CN 105577603B
- Authority
- CN
- China
- Prior art keywords
- multimedia message
- voice
- multimedia
- information
- application program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000009466 transformation Effects 0.000 claims 2
- 238000006243 chemical reaction Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 7
- 230000002708 enhancing effect Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Landscapes
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本发明涉及移动终端应用领域,尤其涉及一种播放多媒体消息的方法及装置。The invention relates to the application field of mobile terminals, in particular to a method and device for playing multimedia messages.
背景技术Background technique
随着移动终端智能化和便捷化的发展,用户对移动终端上的社交网络的关注越来越多,这些社交网络的运营商也为用户提供了更多的社交网络服务类型,比如,服务器为该社交网络的客户端推送来自社交网站的多媒体信息,多媒体消息包括该社交网络上最新的更新消息或用户关注的消息。With the development of intelligent and convenient mobile terminals, users are paying more and more attention to social networks on mobile terminals. Operators of these social networks also provide users with more types of social network services. For example, servers for The client side of the social network pushes multimedia information from the social networking site, where the multimedia message includes the latest update message on the social network or messages followed by the user.
但是,用户在移动终端上登录社交网络的客户端之后,才能在移动终端上查看来自社交网络的多媒体消息,也就是说,需要用户主动在移动终端上进行操作才能获取社交网络上的多媒体消息,因此,用户在移动终端上获取社交网络的多媒体消息的使用舒适度还需改善。However, the user can only view the multimedia message from the social network on the mobile terminal after logging in the client of the social network on the mobile terminal, that is to say, the user needs to actively operate on the mobile terminal to obtain the multimedia message on the social network. Therefore, the user's comfort in obtaining multimedia messages of social networks on mobile terminals needs to be improved.
综上,目前还没有一种能够将社交网络推送的多媒体消息定时的播放给用户的方法。To sum up, currently there is no method for regularly playing the multimedia message pushed by the social network to the user.
发明内容Contents of the invention
本发明实施例提供一种播放多媒体消息的方法及装置,用以实现将社交网络推送的多媒体消息定时播放给用户。Embodiments of the present invention provide a method and device for playing multimedia messages, which are used to regularly play multimedia messages pushed by social networks to users.
本发明实施例提供一种播放多媒体消息的方法,该方法包括:An embodiment of the present invention provides a method for playing a multimedia message, the method comprising:
接收多媒体消息语音定时播放设置请求,并解析得到所述请求中携带的播放时间信息;Receiving a multimedia message voice timing playback setting request, and parsing to obtain the playback time information carried in the request;
根据所述播放时间信息所指示的播放时间,获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,根据获取到的多媒体消息生成语音提示,并播放所述语音提示。实现了将社交网络推送的多媒体消息转化为音频定时播放给用户,使用户在每个响铃时刻都能听到不同的音频信息,省去了用户在移动终端上进行操作来获取社交网络上的多媒体更新消息的繁琐,增强用户从社交网络获取多媒体消息的使用舒适度。According to the playing time indicated by the playing time information, acquire multimedia messages that have not been read out of the multimedia messages requested to be played regularly by voice, generate voice prompts according to the acquired multimedia messages, and play the voice prompts. It realizes the conversion of multimedia messages pushed by social networks into audio and plays them regularly to users, so that users can hear different audio information at each ringing time, eliminating the need for users to operate on mobile terminals to obtain information on social networks The cumbersomeness of multimedia update messages enhances the user's comfort in obtaining multimedia messages from social networks.
进一步地,所述请求中还携带有多媒体消息的来源信息,所述多媒体消息的来源信息包括:所请求播放的多媒体消息所对应的应用程序的标识和/或用户账户信息;Further, the request also carries source information of the multimedia message, and the source information of the multimedia message includes: the identification of the application corresponding to the multimedia message requested to be played and/or user account information;
根据所述播放时间信息所指示的播放时间,获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,包括:According to the playing time indicated by the playing time information, the multimedia message that has not been read in the multimedia message that is requested to be played regularly by voice is obtained, including:
根据所述播放时间信息所指示的播放时间,获取与所述多媒体消息的来源信息匹配的多媒体消息中尚未被读取的多媒体消息。实现了将社交网络多个应用程序下推送的多媒体消息转化为音频定时播放给用户。According to the playing time indicated by the playing time information, unread multimedia messages among the multimedia messages matching the source information of the multimedia messages are acquired. It realizes the conversion of multimedia messages pushed under multiple applications of social networks into audio and plays them to users at regular intervals.
进一步地,所述请求中携带的所请求播放的多媒体消息所对应的应用程序的标识为多个;Further, the identification of the application program corresponding to the multimedia message requested to be played carried in the request is multiple;
所述播放所述语音提示,包括:The playing the voice prompt includes:
根据为所述多个应用程序的标识对应的应用程序设置的优先级,播放所述应用程序对应的语音提示。实现了按照用户设置的偏好,优先将用户最关注的社交网络推送的多媒体消息转化为音频定时播放给用户,增强了用户从社交网络获取多媒体消息的使用舒适度。Playing voice prompts corresponding to the application programs according to the priorities set for the application programs corresponding to the identifiers of the multiple application programs. According to the preference set by the user, the multimedia message pushed by the social network that the user is most concerned about is converted into audio and played regularly for the user, which enhances the user's comfort in obtaining multimedia messages from the social network.
进一步地,所述请求中的第一应用程序的标识对应有多个用户账户信息;Further, the identifier of the first application in the request corresponds to a plurality of user account information;
所述播放所述语音提示,包括:The playing the voice prompt includes:
根据为所述多个用户账户信息设置的优先级,依次播放所述第一应用程序对应的语音提示中所述多个用户账号对应的语音提示。实现了将社交网络特定应用程序对应的多个用户账户下推送的多媒体消息转化为音频定时播放给用户,优先将用户最关注的用户账户推送的多媒体消息转化为音频定时播放给用户,增强了用户从社交网络获取多媒体消息的使用舒适度。According to the priorities set for the multiple user account information, the voice prompts corresponding to the multiple user accounts among the voice prompts corresponding to the first application program are played sequentially. Realized the conversion of multimedia messages pushed under multiple user accounts corresponding to specific social network applications into audio and regularly played to users, and prioritized the conversion of multimedia messages pushed by user accounts most concerned by users into audio and regularly played to users, which enhanced the user experience. Comfort of use for getting multimedia messages from social networks.
进一步地,根据所述播放时间信息所指示的播放时间,获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,包括:Further, according to the playing time indicated by the playing time information, acquiring multimedia messages that have not been read in the multimedia messages requested for voice timing playback, including:
根据所述播放时间信息所指示的播放时间,检测是否已经使用所述用户账户信息登录对应的应用程序;According to the playing time indicated by the playing time information, detect whether the user account information has been used to log in the corresponding application program;
若已经登录,则获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,否则,使用所述用户账户信息登录对应的应用程序,并获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。以保证在播放时刻到达时顺利获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。If already logged in, obtain the multimedia message that has not been read in the multimedia message that is requested to be played regularly by voice; otherwise, use the user account information to log in to the corresponding application program, and obtain the multimedia message that is requested to be played regularly by voice Multimedia messages that have not been read. In order to ensure that when the playing time arrives, the multimedia messages that have not been read out of the multimedia messages that are requested to be played regularly by voice are successfully obtained.
进一步地,根据所述播放时间信息所指示的时间,获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,包括:Further, according to the time indicated by the playing time information, acquiring multimedia messages that have not been read in the multimedia messages requested for voice timing playback, including:
根据所述播放时间信息所指示的播放时刻,确定所述多媒体消息的获取时刻,所述获取时刻在所述播放时刻之前且与所述播放时刻之间的时间间隔为预设时间长度;Determine the acquisition time of the multimedia message according to the playback time indicated by the playback time information, the acquisition time is before the playback time and the time interval between the playback time is a preset time length;
在所述获取时刻获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。确定所述多媒体消息的获取时刻,减小了移动终端的处理负担,以使获取的多媒体消息能够在设定的播放时间正常播放。Acquiring multimedia messages that have not been read among the multimedia messages requested to be played regularly by voice at the acquiring moment. Determining the acquisition time of the multimedia message reduces the processing load of the mobile terminal, so that the acquired multimedia message can be played normally at the set playing time.
进一步地,所述根据获取到的多媒体消息生成语音提示,包括:Further, said generating a voice prompt according to the acquired multimedia message includes:
若所述多媒体消息中包含文本,则将所述文本的内容转换为语音提示;或者If the multimedia message contains text, converting the content of the text into a voice prompt; or
若所述多媒体消息中包含音频,则将所述音频输出为语音提示;或者If the multimedia message contains audio, outputting the audio as a voice prompt; or
若所述多媒体消息中包含图片,则生成用于提示所述多媒体消息中包含图片的语音提示;或者If the multimedia message contains a picture, generating a voice prompt for prompting that the multimedia message contains a picture; or
若所述多媒体消息中包含视频,则生成用于提示所述多媒体消息中包含视频的语音提示。实现了将不同属性类型多媒体消息转化为语音,使用户在每个响铃时刻都能听到不同的音频信息,省去了用户在移动终端上进行操作来获取社交网络上的多媒体更新消息的繁琐,增强用户从社交网络获取多媒体消息的使用舒适度。If the multimedia message contains video, generate a voice prompt for prompting that the multimedia message contains video. Realize the conversion of multimedia messages of different attribute types into voice, so that users can hear different audio information at each ringing moment, eliminating the need for users to operate on mobile terminals to obtain multimedia update messages on social networks. , to enhance the user's comfort in obtaining multimedia messages from social networks.
本发明实施例提供一种播放多媒体消息的装置,包括:An embodiment of the present invention provides a device for playing multimedia messages, including:
接收模块,用于接收多媒体消息语音定时播放设置请求;The receiving module is used to receive the multimedia message voice timing playback setting request;
解析模块,用于解析得到所述请求中携带的播放时间信息;A parsing module, configured to parse and obtain the playing time information carried in the request;
获取模块,用于根据所述播放时间信息所指示的播放时间,获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息;An acquisition module, configured to acquire, according to the playback time indicated by the playback time information, multimedia messages that have not yet been read in the multimedia messages requested for voice timing playback;
生成模块,用于根据获取到的多媒体消息生成语音提示;A generating module, configured to generate a voice prompt according to the acquired multimedia message;
播放模块,用于播放所述语音提示。实现了将社交网络推送的多媒体消息转化为音频定时播放给用户,使用户在每个响铃时刻都能听到不同的音频信息,省去了用户在移动终端上进行操作来获取社交网络上的多媒体更新消息的繁琐,增强用户从社交网络获取多媒体消息的使用舒适度。The playing module is used to play the voice prompt. It realizes the conversion of multimedia messages pushed by social networks into audio and plays them regularly to users, so that users can hear different audio information at each ringing time, eliminating the need for users to operate on mobile terminals to obtain information on social networks The cumbersomeness of multimedia update messages enhances the user's comfort in obtaining multimedia messages from social networks.
进一步地,所述请求中还携带有多媒体消息的来源信息,所述多媒体消息的来源信息包括:所请求播放的多媒体消息所对应的应用程序的标识和/或用户账户信息;Further, the request also carries source information of the multimedia message, and the source information of the multimedia message includes: the identification of the application corresponding to the multimedia message requested to be played and/or user account information;
所述获取模块具体用于:The acquisition module is specifically used for:
根据所述播放时间信息所指示的播放时间,获取与所述多媒体消息的来源信息匹配的多媒体消息中尚未被读取的多媒体消息。实现了将社交网络多个应用程序下推送的多媒体消息转化为音频定时播放给用户。According to the playing time indicated by the playing time information, unread multimedia messages among the multimedia messages matching the source information of the multimedia messages are acquired. It realizes the conversion of multimedia messages pushed under multiple applications of social networks into audio and plays them to users at regular intervals.
进一步地,所述请求中携带的所请求播放的多媒体消息所对应的应用程序的标识为多个;Further, the identification of the application program corresponding to the multimedia message requested to be played carried in the request is multiple;
所述播放模块具体用于:The playback module is specifically used for:
根据为所述多个应用程序的标识对应的应用程序设置的优先级,播放所述应用程序对应的语音提示。实现了按照用户设置的偏好,优先将用户最关注的社交网络推送的多媒体消息转化为音频定时播放给用户,增强了用户从社交网络获取多媒体消息的使用舒适度。Playing voice prompts corresponding to the application programs according to the priorities set for the application programs corresponding to the identifiers of the multiple application programs. According to the preference set by the user, the multimedia message pushed by the social network that the user is most concerned about is converted into audio and played regularly for the user, which enhances the user's comfort in obtaining multimedia messages from the social network.
进一步地,所述请求中的第一应用程序的标识对应有多个用户账户信息;Further, the identifier of the first application in the request corresponds to a plurality of user account information;
所述播放模块具体用于:The playback module is specifically used for:
根据为所述多个用户账户信息设置的优先级,依次播放所述第一应用程序对应的语音提示中所述多个用户账号对应的语音提示。实现了将社交网络特定应用程序对应的多个用户账户下推送的多媒体消息转化为音频定时播放给用户,优先将用户最关注的用户账户推送的多媒体消息转化为音频定时播放给用户,增强了用户从社交网络获取多媒体消息的使用舒适度。According to the priorities set for the multiple user account information, the voice prompts corresponding to the multiple user accounts among the voice prompts corresponding to the first application program are played sequentially. Realized the conversion of multimedia messages pushed under multiple user accounts corresponding to specific social network applications into audio and regularly played to users, and prioritized the conversion of multimedia messages pushed by user accounts most concerned by users into audio and regularly played to users, which enhanced the user experience. Comfort of use for getting multimedia messages from social networks.
进一步地,所述获取模块具体用于:Further, the acquiring module is specifically used for:
根据所述播放时间信息所指示的播放时间,检测是否已经使用所述用户账户信息登录对应的应用程序;According to the playing time indicated by the playing time information, detect whether the user account information has been used to log in the corresponding application program;
若已经登录,则获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,否则,使用所述用户账户信息登录对应的应用程序,并获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。以保证在播放时刻到达时顺利获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。If already logged in, obtain the multimedia message that has not been read in the multimedia message that is requested to be played regularly by voice; otherwise, use the user account information to log in to the corresponding application program, and obtain the multimedia message that is requested to be played regularly by voice Multimedia messages that have not been read. In order to ensure that when the playing time arrives, the multimedia messages that have not been read out of the multimedia messages that are requested to be played regularly by voice are successfully obtained.
进一步地,所述获取模块具体用于:Further, the acquiring module is specifically used for:
根据所述播放时间信息所指示的播放时刻,确定所述多媒体消息的获取时刻,所述获取时刻在所述播放时刻之前且与所述播放时刻之间的时间间隔为预设时间长度;Determine the acquisition time of the multimedia message according to the playback time indicated by the playback time information, the acquisition time is before the playback time and the time interval between the playback time is a preset time length;
在所述获取时刻获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。确定所述多媒体消息的获取时刻,减小了移动终端的处理负担,以使获取的多媒体消息能够在设定的播放时间正常播放。Acquiring multimedia messages that have not been read among the multimedia messages requested to be played regularly by voice at the acquiring moment. Determining the acquisition time of the multimedia message reduces the processing load of the mobile terminal, so that the acquired multimedia message can be played normally at the set playing time.
进一步地,所述生成模块具体用于:Further, the generating module is specifically used for:
若所述多媒体消息中包含文本,则将所述文本的内容转换为语音提示;或者If the multimedia message contains text, converting the content of the text into a voice prompt; or
若所述多媒体消息中包含音频,则将所述音频输出为语音提示;或者If the multimedia message contains audio, outputting the audio as a voice prompt; or
若所述多媒体消息中包含图片,则生成用于提示所述多媒体消息中包含图片的语音提示;或者If the multimedia message contains a picture, generating a voice prompt for prompting that the multimedia message contains a picture; or
若所述多媒体消息中包含视频,则生成用于提示所述多媒体消息中包含视频的语音提示。实现了将不同属性类型多媒体消息转化为语音,使用户在每个响铃时刻都能听到不同的音频信息,省去了用户在移动终端上进行操作来获取社交网络上的多媒体更新消息的繁琐,增强用户从社交网络获取多媒体消息的使用舒适度。If the multimedia message contains video, generate a voice prompt for prompting that the multimedia message contains video. Realize the conversion of multimedia messages of different attribute types into voice, so that users can hear different audio information at each ringing moment, eliminating the need for users to operate on mobile terminals to obtain multimedia update messages on social networks. , to enhance the user's comfort in obtaining multimedia messages from social networks.
上述实施例中,通过接收多媒体消息语音定时播放设置请求,并解析得到所述请求中携带的播放时间信息,确定了多媒体消息的定时播放时间;根据所述播放时间信息所指示的播放时间,获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,根据获取到的多媒体消息生成语音提示,并播放所述语音提示,从而实现了将社交网络推送的多媒体消息转化成语音提示并定时播放给用户,使用户在每个响铃时刻都能听到不同的音频信息,省去了用户在移动终端上进行操作来获取社交网络上的多媒体更新消息的繁琐,增强用户从社交网络获取多媒体消息的使用舒适度。In the above-described embodiment, by receiving the voice timing playback setting request of the multimedia message, and analyzing the playback time information carried in the request, the timing playback time of the multimedia message is determined; according to the playback time indicated by the playback time information, obtain For multimedia messages that have not been read in the multimedia messages that are requested to be played regularly by voice, a voice prompt is generated according to the acquired multimedia message, and the voice prompt is played, thereby realizing the conversion of the multimedia message pushed by the social network into a voice prompt and Timely broadcast to the user, so that the user can hear different audio information at each ringing time, eliminating the need for the user to operate on the mobile terminal to obtain the multimedia update information on the social network, and enhancing the user's acquisition of information from the social network The comfort level of multimedia messaging.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本发明实施例1提供的一种播放多媒体消息的方法流程图;FIG. 1 is a flowchart of a method for playing a multimedia message provided by Embodiment 1 of the present invention;
图2为本发明实施例2提供的一种播放多媒体消息的方法流程图;FIG. 2 is a flowchart of a method for playing a multimedia message provided by Embodiment 2 of the present invention;
图3为本发明实施例3提供的一种播放多媒体消息的方法流程图;FIG. 3 is a flowchart of a method for playing a multimedia message provided by Embodiment 3 of the present invention;
图4为本发明实施例4提供的一种播放多媒体消息的方法流程图;FIG. 4 is a flowchart of a method for playing a multimedia message according to Embodiment 4 of the present invention;
图5为本发明实施例5提供的一种播放多媒体消息的装置结构示意图。FIG. 5 is a schematic structural diagram of an apparatus for playing multimedia messages according to Embodiment 5 of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
目前,人们使用移动终端上的闹钟作为提醒工具,移动终端可支持设置一个或多个闹钟,不同的闹钟可设置不同的响铃资源,闹钟的响铃资源为音频,对于设置好的一个闹钟,在响铃时刻到达时移动终端播放设置好的音频资源,但是每次响铃都只能听到相同的音频资源。At present, people use the alarm clock on the mobile terminal as a reminder tool. The mobile terminal can support setting one or more alarm clocks. Different alarm clocks can be set with different ringing resources. The ringing resource of the alarm clock is audio. For a set alarm clock, When the ringing time arrives, the mobile terminal plays the set audio resource, but only the same audio resource can be heard every time the ringing rings.
为了改善用户在移动终端上获取社交网络的多媒体消息的使用舒适度,本发明实施例基于使用闹钟播放音频的现有技术,提出一种播放多媒体消息的方法,在设定的播放时间获取来自社交网络上的多媒体消息,并将获取的多媒体消息转化成音频,然后在设定的播放时刻播放该音频,使用户不必主动在移动终端上进行操作来获取社交网络上的多媒体消息。下面针对具体的实施例对本发明实施例提供的一种播放多媒体消息的方法流程进行详细说明。In order to improve the user's comfort in obtaining multimedia messages from social networks on mobile terminals, the embodiment of the present invention proposes a method for playing multimedia messages based on the existing technology of using an alarm clock to play audio, and obtains messages from social networks at the set playing time. Multimedia messages on the network, and convert the obtained multimedia messages into audio, and then play the audio at the set playback time, so that users do not need to actively operate on the mobile terminal to obtain multimedia messages on the social network. The flow of a method for playing a multimedia message provided by an embodiment of the present invention will be described in detail below with reference to specific embodiments.
实施例1Example 1
如图1所示的本发明实施例提供的一种播放多媒体消息的方法流程,包括以下步骤:A method flow for playing a multimedia message provided by the embodiment of the present invention as shown in FIG. 1 includes the following steps:
步骤101,接收多媒体消息语音定时播放设置请求,并解析得到所述请求中携带的播放时间信息;Step 101, receiving a multimedia message voice timing playback setting request, and analyzing and obtaining the playback time information carried in the request;
步骤102,根据所述播放时间信息所指示的播放时间,获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,根据获取到的多媒体消息生成语音提示,并播放所述语音提示。Step 102, according to the playing time indicated by the playing time information, obtain the unread multimedia message among the multimedia messages requested to be played regularly by voice, generate a voice prompt according to the acquired multimedia message, and play the voice prompt .
在步骤101中,多媒体消息语音定时播放设置请求中携带有用户设置的多媒体消息语音定时播放的播放时间信息,例如,用户在移动终端上操作闹钟设置页面,用户根据需要设置多媒体消息语音定时播放的播放时间,比如,周一到周五,早上7点。In step 101, the playback time information of the multimedia message voice timing playback set by the user is carried in the multimedia message voice timing playback setting request. Play time, for example, Monday to Friday, 7 am.
步骤102中,获取的所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息来自社交网络,例如可以是微博,QQ,微信等社交网络,进行语音定时播放的多媒体消息为用户在社交网络所注册的账户下尚未被用户读取的消息,未读消息可以是用户账户的多媒体更新消息的提醒通知,也可以是多媒体更新消息的具体内容,也可以是用户设定的某个或某几个关注对象的更新消息,如用户希望每天早上听到微信某公众号的更新消息。In step 102, the multimedia messages that have not yet been read in the multimedia messages that are requested to be played regularly by voice come from social networks, such as social networks such as Weibo, QQ, and WeChat. The unread messages under the account registered in the social network have not been read by the user. The unread messages can be the reminder notification of the multimedia update message of the user account, the specific content of the multimedia update message, or a certain or unread message set by the user. The update news of several concerned objects, for example, the user wants to hear the update news of a WeChat official account every morning.
步骤102中,可通过特定的接口从某一社交网络的应用程序获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。In step 102, unread multimedia messages among the multimedia messages requested to be played periodically by voice may be obtained from an application program of a certain social network through a specific interface.
步骤102中,为了不增加移动终端的处理负担,可设定获取所请求进行语音定时播放的多媒体消息的时间,以使获取的多媒体消息能够在播放时间正常播放。具体的,根据所述播放时间信息所指示的播放时刻,确定所述多媒体消息的获取时刻,所述获取时刻在所述播放时刻之前且与所述播放时刻之间的时间间隔为预设时间长度;在所述获取时刻获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。比如,预设时间长度为10秒,则在播放时刻到达之前的10秒内获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。可选的,也可在步骤201接收多媒体消息语音定时播放设置请求时就开始获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。In step 102, in order not to increase the processing load of the mobile terminal, the time for acquiring the multimedia message requested for voice timing playback may be set, so that the acquired multimedia message can be played normally at the playback time. Specifically, according to the playing time indicated by the playing time information, determine the acquisition time of the multimedia message, the acquisition time is before the playing time and the time interval between the playing time and the playing time is a preset time length ; At the acquisition moment, acquire the unread multimedia messages among the multimedia messages requested for voice timing playback. For example, if the preset time length is 10 seconds, the unread multimedia messages among the multimedia messages requested to be played regularly by voice are acquired within 10 seconds before the playing time arrives. Optionally, it is also possible to start acquiring multimedia messages that have not been read out of the multimedia messages requested for voice timing playback when the request for setting the multimedia message timing playback by voice is received in step 201 .
获取的所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息可以是单一的文本、图片、语音、视频,也可以是包含其中一种或几种的复杂多媒体消息,如某一用户账户分享的链接或转发的文章中既包含图片又包含文本,或者是既包含文本又包含视频,因此根据获取到的多媒体消息生成语音提示比较复杂,在本实施例中,可以根据获取到的多媒体消息的属性类型,将多媒体消息中的内容生成语音提示,包括但不限于以下几种方式:Among the acquired multimedia messages requested for regular voice playback, the unread multimedia messages can be a single text, picture, voice, video, or complex multimedia messages containing one or more of them, such as a user The link shared by the account or the forwarded article contains both pictures and text, or both text and video, so it is more complicated to generate voice prompts based on the obtained multimedia messages. In this embodiment, it can be based on the obtained multimedia messages The attribute type of the message, and the content in the multimedia message will generate voice prompts, including but not limited to the following methods:
方式一:若所述多媒体消息中包含文本,则将所述文本的内容转换为语音提示,可以生成包含具体内容的多媒体更新消息的语音提示;现有技术中已有多种文本语音的转换方法,在此不再赘述。Mode 1: if the multimedia message contains text, the content of the text is converted into a voice prompt, and a voice prompt of a multimedia update message containing specific content can be generated; there are multiple text-to-speech conversion methods in the prior art , which will not be repeated here.
方式二,若所述多媒体消息中包含音频,则将所述音频输出为语音提示,可以生成包含具体内容的多媒体更新消息的语音提示;Mode 2, if the multimedia message includes audio, output the audio as a voice prompt, and generate a voice prompt of a multimedia update message containing specific content;
方式三,所述多媒体消息中包含图片,则生成用于提示所述多媒体消息中包含图片的语音提示,比如,该多媒体消息为用户微信账户的好友A发表的图片,则生成的语音提示可以是“您关注的好友A在时刻B上传了图片”,也就是将图片信息生成多媒体通知消息的语音提示;Mode 3, if the multimedia message contains a picture, a voice prompt for prompting that the multimedia message contains a picture is generated. For example, if the multimedia message is a picture published by friend A of the user’s WeChat account, the generated voice prompt can be "The friend A you follow uploaded a picture at time B", that is, the voice prompt that generates a multimedia notification message from the picture information;
方式四,所述多媒体消息中包含视频,则生成用于提示所述多媒体消息中包含视频的语音提示,比如,该多媒体消息为用户微信账户的好友C分享了一段视频,则生成的语音提示可以是“您关注的好友C在时刻D上传了一段视频”,这样将视频生成多媒体通知消息的语音提示。Mode 4, if the multimedia message contains a video, then generate a voice prompt for prompting that the multimedia message contains a video. For example, if the multimedia message shares a section of video for friend C of the user’s WeChat account, the generated voice prompt can be It is "the friend C you followed uploaded a video at time D", so that the video is generated as a voice prompt of the multimedia notification message.
上述实施例中,通过接收多媒体消息语音定时播放设置请求,并解析得到所述请求中携带的播放时间信息,确定了多媒体消息的定时播放时间;根据所述播放时间信息所指示的播放时间,获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,根据获取到的多媒体消息生成语音提示,并播放所述语音提示,从而实现了将社交网络推送的多媒体消息转化成语音提示并定时播放给用户,使用户在每个响铃时刻都能听到不同的音频信息,省去了用户在移动终端上进行操作来获取社交网络上的多媒体更新消息的繁琐,增强用户从社交网络获取多媒体消息的使用舒适度。In the above-described embodiment, by receiving the voice timing playback setting request of the multimedia message, and analyzing the playback time information carried in the request, the timing playback time of the multimedia message is determined; according to the playback time indicated by the playback time information, obtain For multimedia messages that have not been read in the multimedia messages that are requested to be played regularly by voice, a voice prompt is generated according to the acquired multimedia message, and the voice prompt is played, thereby realizing the conversion of the multimedia message pushed by the social network into a voice prompt and Timely broadcast to the user, so that the user can hear different audio information at each ringing time, eliminating the need for the user to operate on the mobile terminal to obtain the multimedia update information on the social network, and enhancing the user's acquisition of information from the social network The comfort level of multimedia messaging.
在本实施例中,多媒体消息语音定时播放设置请求还可携带其他信息,如所请求播放的多媒体消息所对应的一个或多个应用程序的标识和/或用户账户信息等,实际应用中,每一个应用程序的标识也可对应多个用户账户信息,在这些应用场景中,播放多媒体消息的方法流程略有不同,下面结合具体的应用场景进行详细说明。In this embodiment, the multimedia message voice timing playback setting request can also carry other information, such as the identification of one or more application programs and/or user account information corresponding to the multimedia message requested to be played. In practical applications, each An application identifier can also correspond to multiple user account information. In these application scenarios, the method and flow of playing multimedia messages are slightly different. The following will describe in detail in combination with specific application scenarios.
应用场景一:多媒体消息语音定时播放设置请求中携带有多媒体消息的来源信息,所述多媒体消息的来源信息包括所请求播放的多媒体消息所对应的应用程序的标识信息。Application Scenario 1: The multimedia message voice timing playback setting request carries the source information of the multimedia message, and the source information of the multimedia message includes the identification information of the application corresponding to the requested multimedia message.
应用场景二:所述请求中还携带有多媒体消息的来源信息,所述多媒体消息的来源信息包括所请求播放的多媒体消息所对应的应用程序的用户账户信息。Application Scenario 2: The request also carries source information of the multimedia message, and the source information of the multimedia message includes user account information of the application corresponding to the requested multimedia message.
应用场景三:所述请求中还携带有多媒体消息的来源信息,所述多媒体消息的来源信息包括所请求播放的多媒体消息所对应的应用程序的标识信息和用户账户信息。Application Scenario 3: The request also carries source information of the multimedia message, and the source information of the multimedia message includes identification information of the application corresponding to the requested multimedia message and user account information.
其中,应用场景一的具体实施方式参见实施例2,应用场景二的具体实施方式参见实施例3,应用场景三的具体实施方式参见实施例4。For the specific implementation manner of application scenario 1, refer to embodiment 2, for the specific implementation manner of application scenario 2, refer to embodiment 3, and for the specific implementation manner of application scenario 3, refer to embodiment 4.
实施例2Example 2
如图2所示的本发明实施例提供的一种播放多媒体消息的方法,该方法包括:A method for playing a multimedia message provided by an embodiment of the present invention as shown in FIG. 2 , the method includes:
步骤201,接收多媒体消息语音定时播放设置请求,并解析得到所述请求中携带的播放时间信息,其中,多媒体消息语音定时播放设置请求中携带有多媒体消息的来源信息,所述多媒体消息的来源信息包括所请求播放的多媒体消息所对应的应用程序的标识信息;Step 201: Receive a multimedia message voice timing playback setting request, and analyze and obtain the playback time information carried in the request, wherein the multimedia message voice timing playback setting request carries the source information of the multimedia message, and the source information of the multimedia message including the identification information of the application program corresponding to the multimedia message requested to be played;
步骤202,根据所述播放时间信息所指示的播放时间,获取与所述多媒体消息的来源信息匹配的多媒体消息中尚未被读取的多媒体消息;Step 202, according to the playing time indicated by the playing time information, obtain the unread multimedia messages among the multimedia messages matching the source information of the multimedia messages;
步骤203,根据获取到的多媒体消息生成语音提示,并播放所述语音提示。Step 203: Generate a voice prompt according to the acquired multimedia message, and play the voice prompt.
在步骤201中,所请求播放的多媒体消息所对应的应用程序的标识可以为一个,也可以多个不同的标识,比如,网易新闻、微博,QQ,微信,淘宝等。In step 201, the identifier of the application program corresponding to the multimedia message requested to be played may be one or multiple different identifiers, such as Netease News, Weibo, QQ, WeChat, Taobao, etc.
在步骤202中,获取与所述多媒体消息的来源信息匹配的多媒体消息中尚未被读取的多媒体消息是指从多媒体消息中选取与所请求播放的多媒体消息所对应的应用程序的标识匹配的多媒体消息。比如,步骤201中多媒体消息语音定时播放设置请求中所请求播放的多媒体消息所对应的应用程序的标识为网易新闻标识,则从所有未被读取的多媒体消息中筛选出携带网易新闻标识的推送的多媒体消息。若标识为多个,比如,步骤201中多媒体消息语音定时播放设置请求中所请求播放的多媒体消息所对应的应用程序的标识为网易新闻标识,则从所有未被读取的多媒体消息中筛选出携带网易新闻标识的推送的多媒体消息,放入网易新闻标识下的多媒体消息列表中。In step 202, obtaining unread multimedia messages from among the multimedia messages matching the source information of the multimedia messages refers to selecting from the multimedia messages the multimedia messages that match the identifier of the application program corresponding to the requested multimedia message. information. For example, in step 201, if the identifier of the application program corresponding to the multimedia message requested to be played in the multimedia message voice timing playback setting request is NetEase News ID, then screen out the push that carries the NetEase News ID from all unread multimedia messages multimedia messages. If it is identified as multiple, for example, in step 201, the identification of the application program corresponding to the multimedia message requested to be played in the multimedia message voice timing playback setting request is the Netease news identification, then filter out from all unread multimedia messages The pushed multimedia message carrying the NetEase News logo is put into the multimedia message list under the NetEase News logo.
步骤202中,为了不增加移动终端的处理负担,可设定获取所请求进行语音定时播放的多媒体消息的时间,以使获取的多媒体消息能够在播放时间正常播放。具体的,根据所述播放时间信息所指示的播放时刻,确定所述多媒体消息的获取时刻,所述获取时刻在所述播放时刻之前且与所述播放时刻之间的时间间隔为预设时间长度;在所述获取时刻获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。比如,预设时间长度为10秒,则在播放时刻到达之前的10秒内获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。可选的,也可在步骤201接收多媒体消息语音定时播放设置请求时就开始获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。In step 202, in order not to increase the processing load of the mobile terminal, the time for acquiring the multimedia message requested for voice timing playback may be set, so that the acquired multimedia message can be played normally at the playback time. Specifically, according to the playing time indicated by the playing time information, determine the acquisition time of the multimedia message, the acquisition time is before the playing time and the time interval between the playing time and the playing time is a preset time length ; At the acquisition moment, acquire the unread multimedia messages among the multimedia messages requested for voice timing playback. For example, if the preset time length is 10 seconds, the unread multimedia messages among the multimedia messages requested to be played regularly by voice are acquired within 10 seconds before the playing time arrives. Optionally, it is also possible to start acquiring multimedia messages that have not been read out of the multimedia messages requested for voice timing playback when the request for setting the multimedia message timing playback by voice is received in step 201 .
在步骤203中,若步骤201中所请求播放的多媒体消息所对应的应用程序的标识为一个,则根据获取的该标识下的多媒体消息生成语音提示,并播放所述语音提示。若步骤201中所请求播放的多媒体消息所对应的应用程序的标识为多个,则根据获取的多个应用程序标识下的多媒体消息列表中的多媒体消息生成语音提示,并播放所述语音提示。比如,步骤201中所请求播放的多媒体消息所对应的应用程序的标识为网易新闻标识,则根据网易新闻标识下的推送的多媒体消息列表中的多媒体消息生成网易新闻标识下的语音提示列表。In step 203, if the identifier of the application program corresponding to the multimedia message requested to be played in step 201 is one, a voice prompt is generated according to the acquired multimedia message under the identifier, and the voice prompt is played. If there are multiple application identifiers corresponding to the multimedia message requested to be played in step 201, a voice prompt is generated according to the acquired multimedia message in the multimedia message list under the multiple application identifiers, and the voice prompt is played. For example, the identification of the application corresponding to the multimedia message requested to be played in step 201 is the NetEase news identification, and then the voice prompt list under the NetEase news identification is generated according to the multimedia messages in the multimedia message list pushed under the NetEase news identification.
步骤203中,将获取的多媒体消息生成语音提示包括但不限于以下几种方式:In step 203, generating a voice prompt from the acquired multimedia message includes but is not limited to the following methods:
方式一:若所述多媒体消息中包含文本,则将所述文本的内容转换为语音提示;Mode 1: if the multimedia message contains text, converting the content of the text into a voice prompt;
方式二,若所述多媒体消息中包含音频,则将所述音频输出为语音提示;Mode 2, if the multimedia message contains audio, then output the audio as a voice prompt;
方式三,所述多媒体消息中包含图片,则生成用于提示所述多媒体消息中包含图片的语音提示;Mode 3, if the multimedia message contains a picture, generate a voice prompt for prompting that the multimedia message contains a picture;
方式四,所述多媒体消息中包含视频,则生成用于提示所述多媒体消息中包含视频的语音提示。上述四种方式的具体实施参见实施例1。Mode 4, if the multimedia message contains video, a voice prompt for prompting that the multimedia message contains video is generated. Refer to Embodiment 1 for the specific implementation of the above four methods.
优选的,步骤203中,所述请求中携带的所请求播放的多媒体消息所对应的应用程序的标识为多个时,播放所述语音提示,包括:根据为所述多个应用程序的标识对应的应用程序设置的优先级,播放所述应用程序对应的语音提示。比如,步骤201中所请求播放的多媒体消息所对应的应用程序的标识为网易新闻标识、微信标识和微博标识,且网易新闻标识下的客户端的优先级最高,则优先播放网易新闻标识下的语音提示列表中的语音提示。Preferably, in step 203, when there are multiple application program identifications corresponding to the multimedia message requested to be played carried in the request, playing the voice prompt includes: corresponding to the multiple application program identifications The priority set by the application program, and the voice prompt corresponding to the application program is played. For example, the identification of the application program corresponding to the multimedia message requested to be played in step 201 is NetEase News ID, WeChat ID and Weibo ID, and the priority of the client under the NetEase News ID is the highest, and then the priority is played under the NetEase News ID. Voice prompts in the list of voice prompts.
上述实施例中,通过接收多媒体消息语音定时播放设置请求,并解析得到所述请求中携带的播放时间信息,确定了多媒体消息的定时播放时间;根据所述播放时间信息所指示的播放时间,获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,根据获取到的多媒体消息生成语音提示,并播放所述语音提示,从而实现了将社交网络推送的多媒体消息转化成语音提示并定时播放给用户,使用户在每个响铃时刻都能听到不同的音频信息,省去了用户在移动终端上进行操作来获取社交网络上的多媒体更新消息的繁琐,增强用户从社交网络获取多媒体消息的使用舒适度。此外,设置请求中携带的多媒体消息的来源信息,来源消息包括所请求播放的多媒体消息所对应的应用程序的标识信息,实现了为用户定时播放不同应用程序下的多媒体更新消息。In the above-described embodiment, by receiving the voice timing playback setting request of the multimedia message, and analyzing the playback time information carried in the request, the timing playback time of the multimedia message is determined; according to the playback time indicated by the playback time information, obtain For multimedia messages that have not been read in the multimedia messages that are requested to be played regularly by voice, a voice prompt is generated according to the acquired multimedia message, and the voice prompt is played, thereby realizing the conversion of the multimedia message pushed by the social network into a voice prompt and Timely broadcast to the user, so that the user can hear different audio information at each ringing time, eliminating the need for the user to operate on the mobile terminal to obtain the multimedia update information on the social network, and enhancing the user's acquisition of information from the social network The comfort level of multimedia messaging. In addition, the source information of the multimedia message carried in the request is set, and the source message includes the identification information of the application program corresponding to the requested multimedia message, so that the multimedia update message under different application programs can be played regularly for the user.
实施例3Example 3
如图3所示的本发明实施例提供的一种播放多媒体消息的方法,具体步骤如下:As shown in Figure 3, a method for playing a multimedia message provided by the embodiment of the present invention, the specific steps are as follows:
步骤301,接收多媒体消息语音定时播放设置请求,并解析得到所述请求中携带的播放时间信息,其中,多媒体消息语音定时播放设置请求中携带有多媒体消息的来源信息,所述多媒体消息的来源信息包括所请求播放的多媒体消息所对应的应用程序的用户账户信息;Step 301: Receive a multimedia message voice timing playback setting request, and analyze and obtain the playback time information carried in the request, wherein the multimedia message voice timing playback setting request carries the source information of the multimedia message, and the source information of the multimedia message Including the user account information of the application program corresponding to the multimedia message requested to be played;
步骤302,根据所述播放时间信息所指示的播放时间,获取与所述多媒体消息的来源信息匹配的多媒体消息中尚未被读取的多媒体消息;Step 302, according to the playing time indicated by the playing time information, acquire unread multimedia messages among the multimedia messages matching the source information of the multimedia messages;
步骤303,根据获取到的多媒体消息生成语音提示,并播放所述语音提示。Step 303: Generate a voice prompt according to the acquired multimedia message, and play the voice prompt.
步骤301中,所请求播放的多媒体消息所对应的应用程序的用户账户信息可以为一个,也可以多个,比如,所请求播放的多媒体消息所对应的应用程序为QQ,请求中的用户账户信息携带有第一QQ账户、第二QQ账户、第三QQ账户的信息。每个用户账户信息下存储有该用户账户的账户名和账户密码。In step 301, the user account information of the application program corresponding to the multimedia message requested to be played may be one or multiple. For example, the application program corresponding to the multimedia message requested to be played is QQ, and the user account information in the request It carries the information of the first QQ account, the second QQ account, and the third QQ account. The account name and account password of the user account are stored under each user account information.
在实际应用中,用户根据需要在移动终端上设置多媒体消息语音定时播放的播放时间的同时,录入每个用户账户信息所对应的账户名和账户密码,以通过所请求播放的多媒体消息所对应的应用程序的身份验证。In practical applications, the user sets the playback time of multimedia message voice timing playback on the mobile terminal as required, and at the same time, enters the account name and account password corresponding to each user account information, so that the application corresponding to the multimedia message requested to be played Authentication of the program.
步骤302的实际应用中,社交网络的一些应用程序不一定实时处于登录状态,可通过实时检测用户账户的登录状态,以保证在播放时间信息所指示的播放时间到达时获取所请求播放的多媒体消息。优选的,步骤302中,根据所述播放时间信息所指示的播放时间,检测是否已经使用所述用户账户信息登录对应的应用程序;若已经登录,则获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,否则,使用所述用户账户信息登录对应的应用程序,并获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。In the actual application of step 302, some applications of social networks are not necessarily in the login state in real time, and the login status of the user account can be detected in real time to ensure that the requested playback multimedia message is obtained when the playback time indicated by the playback time information arrives. . Preferably, in step 302, according to the playing time indicated by the playing time information, it is detected whether the user account information has been used to log in to the corresponding application program; multimedia messages that have not been read, otherwise, use the user account information to log in to the corresponding application program, and obtain the multimedia messages that have not been read in the multimedia messages that are requested to be played regularly by voice.
步骤302中,获取与所述多媒体消息的来源信息匹配的多媒体消息中尚未被读取的多媒体消息是指从多媒体消息中选取与所请求播放的多媒体消息所对应的应用程序的用户账户信息匹配的多媒体消息。比如,所请求播放的多媒体消息所对应的应用程序为QQ,请求中的用户账户信息携带有第一QQ账户、第二QQ账户、第三QQ账户的信息,则从所有未被读取的多媒体消息中筛选出与第一QQ账户信息匹配的多媒体消息,放入第一QQ账户下的多媒体消息列表中;从所有未被读取的多媒体消息中筛选出与第而QQ账户信息匹配的多媒体消息,放入第而QQ账户下的多媒体消息列表中;从所有未被读取的多媒体消息中筛选出与第三QQ账户信息匹配的多媒体消息,放入第三QQ账户下的多媒体消息列表中。In step 302, obtaining unread multimedia messages in the multimedia messages that match the source information of the multimedia messages refers to selecting from the multimedia messages that matches the user account information of the application corresponding to the multimedia message requested to be played. multimedia message. For example, if the application program corresponding to the multimedia message requested to be played is QQ, and the user account information in the request carries the information of the first QQ account, the second QQ account, and the third QQ account, all unread multimedia messages Screen out the multimedia messages that match the first QQ account information from the messages, and put them into the multimedia message list under the first QQ account; filter out the multimedia messages that match the second QQ account information from all unread multimedia messages , put into the multimedia message list under the second QQ account; filter out the multimedia message matching the information of the third QQ account from all unread multimedia messages, and put it into the multimedia message list under the third QQ account.
为了不增加移动终端的处理负担,可在步骤302中设定获取所请求进行语音定时播放的多媒体消息的时间,以使获取的多媒体消息能够在播放时间正常播放。具体的,根据所述播放时间信息所指示的播放时刻,确定所述多媒体消息的获取时刻,所述获取时刻在所述播放时刻之前且与所述播放时刻之间的时间间隔为预设时间长度;在所述获取时刻获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。比如,预设时间长度为10秒,则在播放时刻到达之前的10秒内获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。可选的,也可在步骤301接收多媒体消息语音定时播放设置请求时就开始获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。In order not to increase the processing load of the mobile terminal, in step 302, the time for acquiring the multimedia message requested for voice timing playback can be set, so that the acquired multimedia message can be played normally at the playback time. Specifically, according to the playing time indicated by the playing time information, determine the acquisition time of the multimedia message, the acquisition time is before the playing time and the time interval between the playing time and the playing time is a preset time length ; At the acquisition moment, acquire the unread multimedia messages among the multimedia messages requested for voice timing playback. For example, if the preset time length is 10 seconds, the unread multimedia messages among the multimedia messages requested to be played regularly by voice are acquired within 10 seconds before the playing time arrives. Optionally, it is also possible to start acquiring multimedia messages that have not been read out of the multimedia messages requested for voice timing playback when receiving the voice timing playback setting request of the multimedia message in step 301 .
步骤303中,若步骤301中所请求播放的多媒体消息所对应的应用程序的用户账户信息为一个,则根据获取的该用户账户下的多媒体消息生成语音提示,并播放所述语音提示。若步骤301中所请求播放的多媒体消息所对应的应用程序的用户账户信息为多个,则根据获取的多个用户账户下的多媒体消息列表中的多媒体消息生成语音提示,并播放所述语音提示。比如,所请求播放的多媒体消息所对应的应用程序为QQ,请求中的用户账户信息携带有第一QQ账户、第二QQ账户、第三QQ账户的信息,则根据第一QQ账户下的多媒体消息列表中的多媒体消息生成第一QQ账户下的语音提示列表;根据第二QQ账户下的多媒体消息列表中的多媒体消息生成第二QQ账户下的语音提示列表;根据第三QQ账户下的多媒体消息列表中的多媒体消息生成第三QQ账户下的语音提示列表。In step 303, if there is one user account information of the application program corresponding to the multimedia message requested to be played in step 301, a voice prompt is generated according to the acquired multimedia message under the user account, and the voice prompt is played. If there are multiple user account information of the application program corresponding to the multimedia message requested to be played in step 301, then generate a voice prompt according to the multimedia message in the multimedia message list under the multiple user accounts obtained, and play the voice prompt . For example, the application program corresponding to the multimedia message requested to be played is QQ, and the user account information in the request carries the information of the first QQ account, the second QQ account, and the third QQ account. The multimedia message in the message list generates the voice prompt list under the first QQ account; generates the voice prompt list under the second QQ account according to the multimedia message in the multimedia message list under the second QQ account; The multimedia messages in the message list generate a voice prompt list under the third QQ account.
在本实施中将获取的用户账户下的多媒体消息列表中的多媒体消息生成语音提示包括但不限于以下几种方式:In this implementation, the voice prompts generated by the multimedia messages in the multimedia message list under the user account include but are not limited to the following methods:
方式一:若所述多媒体消息中包含文本,则将所述文本的内容转换为语音提示;Mode 1: if the multimedia message contains text, converting the content of the text into a voice prompt;
方式二,若所述多媒体消息中包含音频,则将所述音频输出为语音提示;Mode 2, if the multimedia message contains audio, then output the audio as a voice prompt;
方式三,所述多媒体消息中包含图片,则生成用于提示所述多媒体消息中包含图片的语音提示;Mode 3, if the multimedia message contains a picture, generate a voice prompt for prompting that the multimedia message contains a picture;
方式四,所述多媒体消息中包含视频,则生成用于提示所述多媒体消息中包含视频的语音提示。上述四种方式的具体实施参见实施例1。Mode 4, if the multimedia message contains video, a voice prompt for prompting that the multimedia message contains video is generated. Refer to Embodiment 1 for the specific implementation of the above four methods.
优选的,步骤303中,所述请求中携带的所请求播放的多媒体消息所对应的应用程序的用户账户信息为多个时,播放所述语音提示,包括:根据为所述多个用户账户信息设置的优先级,依次播放所述第一应用程序对应的语音提示中所述多个用户账号对应的语音提示。比如,所请求播放的多媒体消息所对应的应用程序为QQ,并通过步骤302和步骤303分别生成了第一QQ账户、第而QQ账户、第三QQ账户下的语音提示列表,若第一QQ账户的优先级最高,则优先播放第一QQ账号下的语音提示列表中对应的语音提示。Preferably, in step 303, when there are multiple user account information of the application program corresponding to the multimedia message requested to be played carried in the request, playing the voice prompt includes: according to the multiple user account information The priority is set, and the voice prompts corresponding to the multiple user accounts among the voice prompts corresponding to the first application are played sequentially. For example, the application program corresponding to the multimedia message requested to be played is QQ, and the voice prompt lists under the first QQ account, the second QQ account, and the third QQ account are generated respectively through steps 302 and 303, if the first QQ If the account has the highest priority, the corresponding voice prompt in the voice prompt list under the first QQ account will be played first.
上述实施例中,通过接收多媒体消息语音定时播放设置请求,并解析得到所述请求中携带的播放时间信息,确定了多媒体消息的定时播放时间;根据所述播放时间信息所指示的播放时间,获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,根据获取到的多媒体消息生成语音提示,并播放所述语音提示,从而实现了将社交网络推送的多媒体消息转化成语音提示并定时播放给用户,使用户在每个响铃时刻都能听到不同的音频信息,省去了用户在移动终端上进行操作来获取社交网络上的多媒体更新消息的繁琐,增强用户从社交网络获取多媒体消息的使用舒适度。此外,设置请求中携带的多媒体消息的来源信息,来源消息包括所请求播放的多媒体消息所对应的应用程序的用户账户信息,实现了为用户定时播放特定应用程序对应的多个应用账户下的多媒体更新消息。In the above-described embodiment, by receiving the voice timing playback setting request of the multimedia message, and analyzing the playback time information carried in the request, the timing playback time of the multimedia message is determined; according to the playback time indicated by the playback time information, obtain For multimedia messages that have not been read in the multimedia messages that are requested to be played regularly by voice, a voice prompt is generated according to the acquired multimedia message, and the voice prompt is played, thereby realizing the conversion of the multimedia message pushed by the social network into a voice prompt and Timely broadcast to the user, so that the user can hear different audio information at each ringing time, eliminating the need for the user to operate on the mobile terminal to obtain the multimedia update information on the social network, and enhancing the user's acquisition of information from the social network The comfort level of multimedia messaging. In addition, the source information of the multimedia message carried in the setting request includes the user account information of the application program corresponding to the multimedia message requested to be played, so that the user can regularly play the multimedia messages under multiple application accounts corresponding to the specific application program. Update news.
实施例4Example 4
如图4所示的本发明实施例提供的一种播放多媒体消息的方法,包括以下步骤:A method for playing a multimedia message provided by an embodiment of the present invention as shown in FIG. 4 includes the following steps:
步骤401,接收多媒体消息语音定时播放设置请求,并解析得到所述请求中携带的播放时间信息,其中,多媒体消息语音定时播放设置请求中携带有多媒体消息的来源信息,所述多媒体消息的来源信息包括所请求播放的多媒体消息所对应的应用程序的标识信息和所对应的应用程序的用户账户信息。Step 401: Receive a multimedia message voice timing playback setting request, and analyze and obtain the playback time information carried in the request, wherein the multimedia message voice timing playback setting request carries the source information of the multimedia message, and the source information of the multimedia message The identification information of the application program corresponding to the multimedia message requested to be played and the user account information of the corresponding application program are included.
步骤402,根据所述播放时间信息所指示的播放时间,获取与所述多媒体消息的来源信息匹配的多媒体消息中尚未被读取的多媒体消息;Step 402, according to the playing time indicated by the playing time information, acquire unread multimedia messages among the multimedia messages matching the source information of the multimedia messages;
步骤403,根据获取到的多媒体消息生成语音提示,并播放所述语音提示。Step 403: Generate a voice prompt according to the acquired multimedia message, and play the voice prompt.
其中,步骤401中,所请求播放的多媒体消息所对应的应用程序的标识可以为一个,也可以多个不同的标识,比如,微博,QQ,微信,淘宝等。对于同一应用程序标识,其可以对应的用户账户信息也可以是一个,也可以是多个,比如,所请求播放的多媒体消息所对应的应用程序为QQ,请求中的用户账户信息携带有第一QQ账户、第二QQ账户、第三QQ账户的信息。每个用户账户信息下存储有该用户账户的账户名和账户密码。在实际应用中,用户根据需要在移动终端上设置多媒体消息语音定时播放的播放时间的同时,录入每个用户账户信息所对应的账户名和账户密码,以通过所请求播放的多媒体消息所对应的应用程序的身份验证。Wherein, in step 401, the identifier of the application program corresponding to the multimedia message requested to be played may be one or multiple different identifiers, such as Weibo, QQ, WeChat, Taobao and so on. For the same application program identifier, there may be one or more corresponding user account information. For example, the application program corresponding to the multimedia message requested to be played is QQ, and the user account information in the request carries the first Information about QQ account, second QQ account and third QQ account. The account name and account password of the user account are stored under each user account information. In practical applications, the user sets the playback time of multimedia message voice timing playback on the mobile terminal as required, and at the same time, enters the account name and account password corresponding to each user account information, so that the application corresponding to the multimedia message requested to be played Authentication of the program.
在获取多媒体消息的时刻,社交网络的一些应用程序不一定实时处于登录状态,可通过实时检测用户账户的登录状态,以保证在播放时间信息所指示的播放时间到达时获取所请求播放的多媒体消息。优选的,步骤402中,根据所述播放时间信息所指示的播放时间,检测是否已经使用所述用户账户信息登录对应的应用程序;若已经登录,则获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,否则,使用所述用户账户信息登录对应的应用程序,并获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。At the moment of acquiring multimedia messages, some applications of social networks are not necessarily in the login state in real time, and the login status of the user account can be detected in real time to ensure that the requested multimedia message is obtained when the playback time indicated by the playback time information arrives. . Preferably, in step 402, according to the playing time indicated by the playing time information, it is detected whether the user account information has been used to log in to the corresponding application program; multimedia messages that have not been read, otherwise, use the user account information to log in to the corresponding application program, and obtain the multimedia messages that have not been read in the multimedia messages that are requested to be played regularly by voice.
步骤402中,获取与所述多媒体消息的来源信息匹配的多媒体消息中尚未被读取的多媒体消息是指从多媒体消息中选取与所请求播放的多媒体消息所对应的应用程序的标识信息和用户账户信息都匹配的多媒体消息。比如,所请求播放的多媒体消息所对应的应用程序为QQ和微信,而QQ对应有两个用户账户信息,分别为第一QQ账户信息、第二QQ账户信息,微信也对应有两个用户账户信息,分别为第一微信账户信息,第二微信账户信息。则获取多媒体消息时,从所有未被读取的多媒体消息中筛选出携带有QQ标识且与第一QQ账户信息匹配的多媒体消息,放入第一QQ账户下的多媒体消息列表中;从所有未被读取的多媒体消息中筛选出携带有QQ标识且与第二QQ账户信息匹配的多媒体消息,放入第二QQ账户下的多媒体消息列表中;从所有未被读取的多媒体消息中筛选出携带有微信标识且与第一微信账户信息匹配的多媒体消息,放入第一微信账户下的多媒体消息列表中;从所有未被读取的多媒体消息中筛选出携带有微信标识且与第二微信账户信息匹配的多媒体消息,放入第二微信账户下的多媒体消息列表中。In step 402, acquiring unread multimedia messages in the multimedia messages that match the source information of the multimedia messages refers to selecting the identification information and user account information of the application program corresponding to the multimedia message requested to be played from the multimedia messages. The information all match the multimedia message. For example, the application programs corresponding to the multimedia message requested to be played are QQ and WeChat, and QQ corresponds to two user account information, which are the first QQ account information and the second QQ account information, and WeChat also corresponds to two user accounts The information is respectively the first WeChat account information and the second WeChat account information. Then, when obtaining the multimedia message, screen out the multimedia message that carries the QQ logo and matches the first QQ account information from all unread multimedia messages, and put it into the multimedia message list under the first QQ account; Screen out the multimedia messages that carry the QQ logo and match the information of the second QQ account from the read multimedia messages, and put them into the list of multimedia messages under the second QQ account; A multimedia message that carries a WeChat ID and matches the information of the first WeChat account is put into the multimedia message list under the first WeChat account; and is screened out from all unread multimedia messages that carry the WeChat ID and match the information of the second WeChat account. The multimedia message matching the account information is put into the multimedia message list under the second WeChat account.
为了不增加移动终端的处理负担,可在步骤402中设定获取所请求进行语音定时播放的多媒体消息的时间,以使获取的多媒体消息能够在播放时间正常播放。具体的,根据所述播放时间信息所指示的播放时刻,确定所述多媒体消息的获取时刻,所述获取时刻在所述播放时刻之前且与所述播放时刻之间的时间间隔为预设时间长度;在所述获取时刻获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。比如,预设时间长度为10秒,则在播放时刻到达之前的10秒内获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。可选的,也可在步骤401接收多媒体消息语音定时播放设置请求时就开始获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。In order not to increase the processing load of the mobile terminal, in step 402, the time for acquiring the multimedia message requested for voice timing playback can be set, so that the acquired multimedia message can be played normally at the playback time. Specifically, according to the playing time indicated by the playing time information, determine the acquisition time of the multimedia message, the acquisition time is before the playing time and the time interval between the playing time and the playing time is a preset time length ; At the acquisition moment, acquire the unread multimedia messages among the multimedia messages requested for voice timing playback. For example, if the preset time length is 10 seconds, the unread multimedia messages among the multimedia messages requested to be played regularly by voice are acquired within 10 seconds before the playing time arrives. Optionally, it is also possible to start acquiring unread multimedia messages among the multimedia messages requested for voice timing playback when receiving the voice timing playback setting request of the multimedia message in step 401 .
获取多媒体消息之后,步骤403中,若所请求播放的多媒体消息所对应的应用程序的标识信息和用户账户信息是唯一的,则根据获取的该唯一应用程序标识和用户账户下的多媒体消息生成语音提示,并播放所述语音提示。若所请求播放的多媒体消息所对应的应用程序为多个,每个应用程序标识下的用户账户信息也为多个,则根据获取的每个应用程序标识对应的多个用户账户下的多媒体消息列表中的多媒体消息生成语音提示,并播放所述语音提示。比如,所请求播放的多媒体消息所对应的应用程序为QQ和微信,而QQ对应有两个用户账户信息,分别为第一QQ账户信息、第二QQ账户信息,微信也对应有两个用户账户信息,分别为第一微信账户信息,第二微信账户信息,则根据第一QQ账户下的多媒体消息列表中的多媒体消息生成第一QQ账户下的语音提示列表;根据第而QQ账户下的多媒体消息列表中的多媒体消息生成第一QQ账户下的语音提示列表;根据第一微信账户下的多媒体消息列表中的多媒体消息生成第一微信账户下的语音提示列表;根据第二微信账户下的多媒体消息列表中的多媒体消息生成第二微信账户下的语音提示列表。After the multimedia message is acquired, in step 403, if the identification information of the application corresponding to the multimedia message requested to be played and the user account information are unique, then a voice is generated according to the obtained unique application identification and the multimedia message under the user account Prompt, and play said voice prompt. If there are multiple application programs corresponding to the multimedia message requested to be played, and there are multiple user account information under each application program identification, then according to the acquired multimedia message under the multiple user accounts corresponding to each application program identification The multimedia messages in the list generate voice prompts and play the voice prompts. For example, the application programs corresponding to the multimedia message requested to be played are QQ and WeChat, and QQ corresponds to two user account information, which are the first QQ account information and the second QQ account information, and WeChat also corresponds to two user accounts information, respectively the first WeChat account information and the second WeChat account information, then generate the voice prompt list under the first QQ account according to the multimedia messages in the multimedia message list under the first QQ account; according to the multimedia messages under the second QQ account The multimedia message in the message list generates the voice prompt list under the first QQ account; generates the voice prompt list under the first WeChat account according to the multimedia message in the multimedia message list under the first WeChat account; The multimedia message in the message list generates a voice prompt list under the second WeChat account.
将获取的多媒体消息生成语音提示包括但不限于以下几种方式:The methods of generating voice prompts from the acquired multimedia messages include but are not limited to the following methods:
方式一:若所述多媒体消息中包含文本,则将所述文本的内容转换为语音提示;Mode 1: if the multimedia message contains text, converting the content of the text into a voice prompt;
方式二,若所述多媒体消息中包含音频,则将所述音频输出为语音提示;Mode 2, if the multimedia message contains audio, then output the audio as a voice prompt;
方式三,所述多媒体消息中包含图片,则生成用于提示所述多媒体消息中包含图片的语音提示;Mode 3, if the multimedia message contains a picture, generate a voice prompt for prompting that the multimedia message contains a picture;
方式四,所述多媒体消息中包含视频,则生成用于提示所述多媒体消息中包含视频的语音提示。上述四种方式的具体实施参见实施例1。Mode 4, if the multimedia message contains video, a voice prompt for prompting that the multimedia message contains video is generated. Refer to Embodiment 1 for the specific implementation of the above four methods.
当所述请求中携带的所请求播放的多媒体消息所对应的应用程序的用户账户信息为多个时,在语音提示列表生成以后,播放所述语音提示,本发明实施例包括但不限于以下方式:When there are multiple user account information of the application program corresponding to the multimedia message requested to be played carried in the request, after the voice prompt list is generated, the voice prompt is played. Embodiments of the present invention include but are not limited to the following methods :
方式一:根据为所述多个用户账户信息设置的优先级,依次播放所述第一应用程序对应的语音提示中所述多个用户账号对应的语音提示。Way 1: Play the voice prompts corresponding to the multiple user accounts among the voice prompts corresponding to the first application in sequence according to the priorities set for the multiple user account information.
方式二:根据为所述多个应用程序的标识对应的应用程序设置的优先级,播放所述应用程序对应的语音提示。比如,所请求播放的多媒体消息所对应的应用程序的标识为QQ标识、微信标识和微博标识,且QQ标识下的QQ客户端的优先级最高,则优先播放QQ标识下的语音提示列表中的语音提示。Mode 2: Play the voice prompt corresponding to the application program according to the priority set for the application program corresponding to the identifiers of the multiple application programs. For example, if the identifiers of the applications corresponding to the multimedia messages requested to be played are QQ identifiers, WeChat identifiers, and Weibo identifiers, and the QQ clients under the QQ identifiers have the highest priority, then the QQ clients in the voice prompt list under the QQ identifiers will be played first. Voice prompts.
方式三:根据为所述多个应用程序的标识对应的应用程序设置的优先级确定多个应用程序下的语音提示列表的优先级,再根据为所述多个用户账户信息设置的优先级确定每个应用程序对应的多个用户账户下的语音提示列表的优先级,按照优先级的高低依次播放每个语音提示列表中的语音提示。Mode 3: Determine the priorities of the voice prompt lists under multiple applications according to the priorities set for the applications corresponding to the identifiers of the multiple applications, and then determine according to the priorities set for the multiple user account information The priority of the voice prompt list under the multiple user accounts corresponding to each application program, and the voice prompts in each voice prompt list are played in sequence according to the priority.
上述实施例中,通过接收多媒体消息语音定时播放设置请求,并解析得到所述请求中携带的播放时间信息,确定了多媒体消息的定时播放时间;根据所述播放时间信息所指示的播放时间,获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,根据获取到的多媒体消息生成语音提示,并播放所述语音提示,从而实现了将社交网络推送的多媒体消息转化成语音提示并定时播放给用户,使用户在每个响铃时刻都能听到不同的音频信息,省去了用户在移动终端上进行操作来获取社交网络上的多媒体更新消息的繁琐,增强用户从社交网络获取多媒体消息的使用舒适度。此外,设置请求中携带的多媒体消息的来源信息,来源消息包括所请求播放的多媒体消息所对应的应用程序的标识信息和用户账户信息,实现了为用户定时播放不同应用程序下不同用户账户的多媒体更新消息。In the above-described embodiment, by receiving the voice timing playback setting request of the multimedia message, and analyzing the playback time information carried in the request, the timing playback time of the multimedia message is determined; according to the playback time indicated by the playback time information, obtain For multimedia messages that have not been read in the multimedia messages that are requested to be played regularly by voice, a voice prompt is generated according to the acquired multimedia message, and the voice prompt is played, thereby realizing the conversion of the multimedia message pushed by the social network into a voice prompt and Timely broadcast to the user, so that the user can hear different audio information at each ringing time, eliminating the need for the user to operate on the mobile terminal to obtain the multimedia update information on the social network, and enhancing the user's acquisition of information from the social network The comfort level of multimedia messaging. In addition, the source information of the multimedia message carried in the setting request includes the identification information of the application program corresponding to the multimedia message requested to be played and the user account information, so that the user can regularly play the multimedia messages of different user accounts under different application programs. Update news.
基于相同的技术构思,本发明实施例还提供一种播放多媒体消息的装置,这些装置的具体内容可参照上述方法实施例,在此不再赘述。Based on the same technical concept, the embodiment of the present invention also provides a device for playing multimedia messages. The specific content of these devices can refer to the above-mentioned method embodiments, and details are not repeated here.
实施例5Example 5
如图5所示的本发明实施例提供的一种播放多媒体消息的装置,包括:A device for playing a multimedia message provided by an embodiment of the present invention as shown in FIG. 5 includes:
接收模块501,用于接收多媒体消息语音定时播放设置请求;The receiving module 501 is configured to receive a multimedia message voice timing playback setting request;
解析模块502,用于解析得到所述请求中携带的播放时间信息;A parsing module 502, configured to parse and obtain the playing time information carried in the request;
获取模块503,用于根据所述播放时间信息所指示的播放时间,获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息;An acquisition module 503, configured to acquire, according to the playback time indicated by the playback time information, multimedia messages that have not yet been read in the multimedia messages requested for voice timing playback;
生成模块504,用于根据获取到的多媒体消息生成语音提示;A generating module 504, configured to generate a voice prompt according to the acquired multimedia message;
播放模块505,用于播放生成的所述语音提示。The playing module 505 is configured to play the generated voice prompt.
较佳地,所述请求中还携带有多媒体消息的来源信息,所述多媒体消息的来源信息包括:所请求播放的多媒体消息所对应的应用程序的标识和/或用户账户信息;Preferably, the request also carries source information of the multimedia message, and the source information of the multimedia message includes: the identification of the application corresponding to the requested multimedia message and/or user account information;
所述获取模块503具体用于:根据所述播放时间信息所指示的播放时间,获取与所述多媒体消息的来源信息匹配的多媒体消息中尚未被读取的多媒体消息。The obtaining module 503 is specifically configured to: obtain, according to the playing time indicated by the playing time information, unread multimedia messages among the multimedia messages matching the source information of the multimedia messages.
较佳地,所述请求中携带的所请求播放的多媒体消息所对应的应用程序的标识为多个;Preferably, the identification of the application program corresponding to the multimedia message requested to be played carried in the request is multiple;
所述播放模块505具体用于:根据为所述多个应用程序的标识对应的应用程序设置的优先级,播放所述应用程序对应的语音提示。The playing module 505 is specifically configured to: play the voice prompts corresponding to the application programs according to the priorities set for the application programs corresponding to the identifiers of the multiple application programs.
较佳地,所述请求中的第一应用程序的标识对应有多个用户账户信息;Preferably, the identifier of the first application in the request corresponds to a plurality of user account information;
所述播放模块505具体用于:根据为所述多个用户账户信息设置的优先级,依次播放所述第一应用程序对应的语音提示中所述多个用户账号对应的语音提示。The playing module 505 is specifically configured to: play the voice prompts corresponding to the multiple user accounts among the voice prompts corresponding to the first application in sequence according to the priorities set for the multiple user account information.
较佳地,所述获取模块503具体用于:根据所述播放时间信息所指示的播放时间,检测是否已经使用所述用户账户信息登录对应的应用程序;Preferably, the obtaining module 503 is specifically configured to: detect whether the user account information has been used to log in to the corresponding application according to the playing time indicated by the playing time information;
若已经登录,则获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,否则,使用所述用户账户信息登录对应的应用程序,并获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。If already logged in, obtain the multimedia message that has not been read in the multimedia message that is requested to be played regularly by voice; otherwise, use the user account information to log in to the corresponding application program, and obtain the multimedia message that is requested to be played regularly by voice Multimedia messages that have not been read.
较佳地,所述获取模块503具体用于:根据所述播放时间信息所指示的播放时刻,确定所述多媒体消息的获取时刻,所述获取时刻在所述播放时刻之前且与所述播放时刻之间的时间间隔为预设时间长度;在所述获取时刻获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息。Preferably, the obtaining module 503 is specifically configured to: determine the obtaining time of the multimedia message according to the playing time indicated by the playing time information, the obtaining time is before the playing time and is different from the playing time The time interval between them is a preset time length; at the acquisition moment, the unread multimedia messages among the multimedia messages requested for voice timing playback are acquired.
较佳地,所述生成模块504具体用于:若所述多媒体消息中包含文本,则将所述文本的内容转换为语音提示;或者Preferably, the generation module 504 is specifically configured to: if the multimedia message contains text, convert the content of the text into a voice prompt; or
若所述多媒体消息中包含音频,则将所述音频输出为语音提示;或者If the multimedia message contains audio, outputting the audio as a voice prompt; or
若所述多媒体消息中包含图片,则生成用于提示所述多媒体消息中包含图片的语音提示;或者若所述多媒体消息中包含视频,则生成用于提示所述多媒体消息中包含视频的语音提示。If the multimedia message contains a picture, generate a voice prompt for prompting that the multimedia message contains a picture; or if the multimedia message contains a video, generate a voice prompt for prompting that the multimedia message contains a video .
上述实施例中,通过接收多媒体消息语音定时播放设置请求,并解析得到所述请求中携带的播放时间信息,确定了多媒体消息的定时播放时间;根据所述播放时间信息所指示的播放时间,获取所请求进行语音定时播放的多媒体消息中尚未被读取的多媒体消息,根据获取到的多媒体消息生成语音提示,并播放所述语音提示,从而实现了将社交网络推送的多媒体消息转化成语音提示并定时播放给用户,使用户在每个响铃时刻都能听到不同的音频信息,省去了用户在移动终端上进行操作来获取社交网络上的多媒体更新消息的繁琐,增强用户从社交网络获取多媒体消息的使用舒适度。In the above-described embodiment, by receiving the voice timing playback setting request of the multimedia message, and analyzing the playback time information carried in the request, the timing playback time of the multimedia message is determined; according to the playback time indicated by the playback time information, obtain For multimedia messages that have not been read in the multimedia messages that are requested to be played regularly by voice, a voice prompt is generated according to the acquired multimedia message, and the voice prompt is played, thereby realizing the conversion of the multimedia message pushed by the social network into a voice prompt and Timely broadcast to the user, so that the user can hear different audio information at each ringing time, eliminating the need for the user to operate on the mobile terminal to obtain the multimedia update information on the social network, and enhancing the user's acquisition of information from the social network The comfort level of multimedia messaging.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。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.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410527466.7A CN105577603B (en) | 2014-10-09 | 2014-10-09 | A kind of method and device playing Multimedia Message |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410527466.7A CN105577603B (en) | 2014-10-09 | 2014-10-09 | A kind of method and device playing Multimedia Message |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105577603A CN105577603A (en) | 2016-05-11 |
| CN105577603B true CN105577603B (en) | 2018-12-07 |
Family
ID=55887272
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410527466.7A Active CN105577603B (en) | 2014-10-09 | 2014-10-09 | A kind of method and device playing Multimedia Message |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105577603B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106469041A (en) * | 2016-08-30 | 2017-03-01 | 北京小米移动软件有限公司 | The method and device of PUSH message, terminal unit |
| CN108111393A (en) * | 2017-12-02 | 2018-06-01 | 程桂平 | Using the pushed information of social networks account as the method and system of alarm clock jingle bell resource |
| CN107995105B (en) * | 2018-01-03 | 2020-09-22 | 上海传英信息技术有限公司 | Intelligent terminal with blind operation software |
| CN109325107A (en) * | 2018-08-14 | 2019-02-12 | 北京万维之道信息技术有限公司 | Data processing method and device for electronic reading content |
| CN110430322A (en) * | 2019-07-31 | 2019-11-08 | 深圳传音控股股份有限公司 | A kind of method, medium and the terminal of the information alert based on intelligent terminal |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101202793A (en) * | 2006-12-15 | 2008-06-18 | 中兴通讯股份有限公司 | Method for timing remind in a mobile network |
| CN101496046A (en) * | 2005-06-01 | 2009-07-29 | 谷歌公司 | Media play optimization |
| CN103491170A (en) * | 2013-09-24 | 2014-01-01 | 新浪网技术(中国)有限公司 | E-mail arrival message reminding method and system |
| CN103929537A (en) * | 2014-04-03 | 2014-07-16 | 北京深思数盾科技有限公司 | Real-time reminding method based on messages of different levels |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7596285B2 (en) * | 2004-02-26 | 2009-09-29 | International Business Machines Corporation | Providing a portion of an electronic mail message at a reduced resolution |
| CN102769579B (en) * | 2011-05-05 | 2016-12-07 | 腾讯科技(深圳)有限公司 | The display packing of a kind of Twitter message, microblog terminal and micro-blog server |
-
2014
- 2014-10-09 CN CN201410527466.7A patent/CN105577603B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101496046A (en) * | 2005-06-01 | 2009-07-29 | 谷歌公司 | Media play optimization |
| CN101202793A (en) * | 2006-12-15 | 2008-06-18 | 中兴通讯股份有限公司 | Method for timing remind in a mobile network |
| CN103491170A (en) * | 2013-09-24 | 2014-01-01 | 新浪网技术(中国)有限公司 | E-mail arrival message reminding method and system |
| CN103929537A (en) * | 2014-04-03 | 2014-07-16 | 北京深思数盾科技有限公司 | Real-time reminding method based on messages of different levels |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105577603A (en) | 2016-05-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11924298B2 (en) | Message pushing method for a virtual gift and electronic device | |
| CN105577603B (en) | A kind of method and device playing Multimedia Message | |
| CN110362266B (en) | Prompt information display method, system, electronic equipment and computer readable medium | |
| CN105120299B (en) | Video pushing method and device | |
| US10423958B2 (en) | Method, apparatus and system for voice verification | |
| CN105744289B (en) | Live event reminding method and device | |
| WO2014183427A1 (en) | Method and apparatus for displaying webcast rooms | |
| RU2009127802A (en) | PROVISION OF DIGITAL CERTIFICATES | |
| JP2017522664A (en) | Mutual notification between devices | |
| US10104524B2 (en) | Communications via a receiving device network | |
| RU2013148028A (en) | STRICT AUTHENTICATION BY PROVIDING A ROOM | |
| CN110430292B (en) | Method and device for inviting login of network platform, electronic equipment and readable medium | |
| CN104753756B (en) | Method, equipment and the system that a kind of group creating is shared with group | |
| US11575530B2 (en) | Systems and methods for call initiation based on mobile device proximity | |
| CN108989864B (en) | Wheat connecting method, device, equipment and storage medium | |
| CN110971984B (en) | Wheat connecting method, device, system, equipment and storage medium | |
| US10158981B2 (en) | Method and device for pushing information during call and storage medium | |
| CN104639973B (en) | Information pushing method and device | |
| WO2016082488A1 (en) | Method, device, and server for implementing color ring back tone | |
| CN102801539B (en) | A kind of information issuing method and equipment, system | |
| WO2017080243A1 (en) | Method, apparatus and system for synchronizing information | |
| CN110536147A (en) | The method, apparatus and system of processing is broadcast live | |
| CN111064844A (en) | Message prompting method and device, electronic equipment and computer readable medium | |
| CN110198264B (en) | Processing method and device and electronic equipment | |
| WO2016045446A1 (en) | Voice reminding information generation and voice reminding method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |