[go: up one dir, main page]

CN1980302A - Method for realizing synchronous displaying of characters and audio frequency or video-frequency in mobile communication terminal - Google Patents

Method for realizing synchronous displaying of characters and audio frequency or video-frequency in mobile communication terminal Download PDF

Info

Publication number
CN1980302A
CN1980302A CN 200510130405 CN200510130405A CN1980302A CN 1980302 A CN1980302 A CN 1980302A CN 200510130405 CN200510130405 CN 200510130405 CN 200510130405 A CN200510130405 A CN 200510130405A CN 1980302 A CN1980302 A CN 1980302A
Authority
CN
China
Prior art keywords
audio
video
text
file
files
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200510130405
Other languages
Chinese (zh)
Inventor
王艳
彭宏利
杨松岸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN 200510130405 priority Critical patent/CN1980302A/en
Publication of CN1980302A publication Critical patent/CN1980302A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种在移动通讯终端上实现文字与音频及视频同步显示的方法。为解决现有移动通讯终端在播放音频或视频文件时无法同步显示文字文件的问题,本发明提出以下方法:为每一文字文件建立一个标记,标记包括对应的音频或视频文件、时间标识;本方法包括以下步骤:1.移动终端接收到用户发出的播放视频或音频文件的请求;2.移动终端通过检索文字文件的标记,读取所有与要播出的音频或视频文件对应的所有文字文件;3.根据时间标识,确定所有文字文件开始播放的时间,开始播放所要播出的音频或视频文件,到文字文件开始播放的时间时开始播放文字文件。本发明方法能够将文字文件随音频或视频文件同步显示,增强了现有移动通讯终端的功能。

Figure 200510130405

The invention discloses a method for realizing synchronous display of text, audio and video on a mobile communication terminal. In order to solve the problem that existing mobile communication terminals cannot display text files synchronously when playing audio or video files, the present invention proposes the following method: create a mark for each text file, and the mark includes the corresponding audio or video file and time mark; this method The method includes the following steps: 1. The mobile terminal receives a request from the user to play video or audio files; 2. The mobile terminal reads all text files corresponding to the audio or video files to be broadcast by retrieving the marks of the text files; 3. According to the time mark, determine the time when all text files start to play, start to play the audio or video file to be played, and start to play the text file when the time when the text file starts to play. The method of the invention can synchronously display text files along with audio or video files, and enhances the functions of existing mobile communication terminals.

Figure 200510130405

Description

在移动通讯终端上实现文字与音频或视频同步显示的方法Method for Realizing Synchronous Display of Text and Audio or Video on Mobile Communication Terminal

技术领域technical field

本发明涉及一种数据处理的方法,特别是指在移动通讯终端上实现文字与音频或视频同步显示的方法。The invention relates to a data processing method, in particular to a method for synchronously displaying text and audio or video on a mobile communication terminal.

背景技术Background technique

移动通讯终端设备作为一种方便人们通讯的工具,已成为日常生活中不可或缺的必需品,尤其是自二十世纪九十年代以来,移动通讯终端设备取得了长足发展,通话质量不断改善。同时,人们已经不满足将移动通讯终端设备仅仅作为通话之用,不断发展出各种可以应用于移动通讯终端设备的技术,极大地满足了人们对移动通讯终端设备多功能的需要,如:移动通讯终端设备不仅能接收/发送各种语音信号,还具有图像和文字的传输、播放功能,更出现了能够接收、发送和播放同步的音频和视频信号的功能,例如现有的支持接收和播放电视、支持视频通话的手机。但是都无法同步显示文字。As a convenient tool for people to communicate, mobile communication terminal equipment has become an indispensable necessity in daily life. Especially since the 1990s, mobile communication terminal equipment has made great progress, and the call quality has been continuously improved. At the same time, people are no longer satisfied with using mobile communication terminal equipment only for calls, and have continuously developed various technologies that can be applied to mobile communication terminal equipment, which greatly meet people's needs for mobile communication terminal equipment. Communication terminal equipment can not only receive/send various voice signals, but also have the functions of image and text transmission and playback, and the function of receiving, sending and playing synchronous audio and video signals, such as the existing support for receiving and playing TV, mobile phone that supports video calling. However, the text cannot be displayed synchronously.

发明内容Contents of the invention

本发明的目的是针对现有技术中的缺陷,提出一种方法,能够使移动播放终端在播放音频、视频信号时,同步播放文字显示。The purpose of the present invention is to address the defects in the prior art and propose a method that enables the mobile playback terminal to simultaneously play text display when playing audio and video signals.

本发明是这样实现的:一种在移动通讯终端上实现文字与音频或视频同步显示的方法,首先为每一文字文件建立一个标记,所述标记包括:与所述文字文件对应的音频或视频文件、时间标识,所述标记标明了文本文件与音频或视频文件建立起对应关系;The present invention is achieved in the following way: a method for synchronously displaying text and audio or video on a mobile communication terminal. First, a mark is established for each text file, and the mark includes: an audio or video file corresponding to the text file , a time mark, the mark indicates that the text file and the audio or video file establish a corresponding relationship;

该方法包括以下步骤:The method includes the following steps:

(1)移动终端接收到用户发出的播放视频或音频文件的请求时,根据该视频或音频文件对应文字文件的标记读取所有与所要播出的音频或视频文件对应的所有文字文件;(1) When the mobile terminal receives a request from the user to play a video or audio file, it reads all text files corresponding to the audio or video files to be played according to the mark of the text file corresponding to the video or audio file;

(2)根据所有文字文件的时间标识,确定所有文字文件开始播放的时间,开始播放所要播出的音频或视频文件,当到文字文件开始的播放时间时,播放文字文件。(2) Determine the time when all text files start playing according to the time stamps of all text files, start to play the audio or video files to be played, and play the text files when the playback time of the text files starts.

其中,所述时间标识为一时间偏移量,即开始播放文字文件的时间,与开始播放其对应的音频或视频文件的时间之间的差值。Wherein, the time mark is a time offset, that is, the difference between the time when the text file starts to play and the time when the corresponding audio or video file starts to play.

其中,为每一个音频或视频文件建立一个对应列表,所述对应列表中存储有所有与该音频或视频文件对应的文字文件的标记,按照所述标识中的时间标识,按先后顺序排列。Wherein, a corresponding list is established for each audio or video file, and all text file tags corresponding to the audio or video file are stored in the corresponding list, and are arranged in sequence according to the time marks in the marks.

其中,所述步骤(2)具体为:Wherein, the step (2) is specifically:

(A)判断所要播放音频或视频文件的对应列表是否为空,如果为空则开始播放所述音频或视频文件,步骤结束;如果不为空,则进入步骤(B);(A) judge whether the corresponding list of the audio or video file to be played is empty, if it is empty then start playing the audio or video file, the step ends; if not empty, then enter step (B);

(B)设置一记时器,将记时器的记数值置为0,在开始播放音频或视频文件时,由记时器记录播放的时间:(B) A timer is set, and the counter value of the timer is set to 0. When starting to play audio or video files, the timer records the playing time:

(C)读取对应列表中第一个文字文件的开始播放的时间,与记时器的记数值比较,当记时器的记数值与所述时间标识相等时,开始播放第一个文字文件,并将所述文字文件的标识从对应列表中删除;(C) read the time of starting playing of the first text file in the corresponding list, compare with the count value of the timer, when the count value of the timer is equal to the time mark, start to play the first text file , and delete the identifier of the text file from the corresponding list;

(D)判断所述对应列表是否为空,如果为空,步骤结束,如果不为空,返回步骤(C)。(D) Judging whether the corresponding list is empty, if it is empty, the step ends, if not empty, return to step (C).

其中,所述步骤(1)中还包括:判断用户是否选择了与所述音频或视频文件同步播放的文字文件,如果选择了,则将用户选择的文字文件存入所述音频或视频文件的对应列表中;如果未选择,则在所述文字文件列表中,检索与所要播放的音频或视频文件对应的所有文字文件,并将检索到的文字文件存储到所述音频或视频文件的对应列表中。Wherein, the step (1) also includes: judging whether the user has selected a text file synchronously played with the audio or video file, if selected, storing the text file selected by the user into the audio or video file In the corresponding list; if not selected, then in the text file list, retrieve all text files corresponding to the audio or video files to be played, and store the retrieved text files into the corresponding list of the audio or video files middle.

本发明提出的在移动通讯终端上实现文字与音频及视频同步显示的,能够将文字文件与音频或视频文件同步显示,增强了现有移动通讯终端的功能,提高了移动通讯终端的可用性。The present invention realizes synchronous display of text, audio and video on a mobile communication terminal, can synchronously display text files and audio or video files, enhances the functions of existing mobile communication terminals, and improves the usability of mobile communication terminals.

附图说明Description of drawings

图1是本发明优选实施例流程图。Fig. 1 is a flowchart of a preferred embodiment of the present invention.

具体实施方式Detailed ways

下面根据附图对本发明作进一步说明。The present invention will be further described below according to accompanying drawing.

实现文字随声音或视频的同步显示,需要提供一个包含所要显示文字的文件,该文件被分文若干个基本的节,每一节都是一个文字文件。To realize the synchronous display of text along with sound or video, it is necessary to provide a file containing the text to be displayed, which is divided into several basic sections, and each section is a text file.

如图1所示,本发明优选实施例流程为:As shown in Figure 1, the preferred embodiment process of the present invention is:

(1)为每一文字文件起始位置建立一个标记,所述标记信息包括:与所述文字文件对应的音频或视频信号、时间标识;所述时间标识为一时间偏移量,即开始播放文字文件的时间,与开始播放其对应的音频或视频文件的时间之间的差值;(1) set up a mark for each text file initial position, described mark information comprises: audio frequency or video signal, time identification corresponding with described text file; Described time identification is a time offset, promptly begins to play text The difference between the time of the file and the time when the corresponding audio or video file starts playing;

(2)为每一个音频或视频文件建立一个对应列表,所述对应列表中存储有所有与该音频或视频文件对应的文字文件的标记,按照所述标识中的时间标识,按先后顺序排列;(2) set up a corresponding list for each audio or video file, store the mark of all text files corresponding to this audio or video file in the said corresponding list, arrange in order according to the time mark in the said mark;

(3)移动终端接收到用户的播放请求后,读取用户所要播放音频或视频文件;(3) After receiving the playback request from the user, the mobile terminal reads the audio or video file to be played by the user;

(4)判断用户是否选择了与所述音频或视频文件同步播放的文字文件,如果用户选择了同步播放的文字文件,将所有用户选择的文字文件的标记放入所述音频或视频文件的对应列表中,进入步骤(6);如果用户未进行选择,则进入步骤(5);(4) Judging whether the user has selected a text file to be played synchronously with the audio or video file, if the user has selected a text file to be played synchronously, put the marks of all text files selected by the user into the corresponding audio or video file In the list, go to step (6); if the user does not make a selection, go to step (5);

(5)搜索与用户所要播放音频或视频文件对应的所有文字文件,并将搜索到的所有文字文件的标识放入所述音频或视频文件的对应列表;(5) search for all text files corresponding to the audio or video files to be played by the user, and put the identifiers of all text files searched into the corresponding list of the audio or video files;

(6)根据对应列表中所有文字文件标记中的时间标识,确定所有文字文件开始播放的时间,将列表中的所有标记按照开始播放时间的先后顺序排列;(6) according to the time mark in all text file marks in the corresponding list, determine the time that all text files start playing, all marks in the list are arranged according to the order of start playing time;

(7)读取用户选择的音频或视频文件,判断所述音频或视频文件的对应列表是否为空,如果为空则开始播放所述音频或视频文件,步骤结束;如果不为空,则进入步骤(8);(7) Read the audio or video file selected by the user, judge whether the corresponding list of the audio or video file is empty, if it is empty, start playing the audio or video file, and the step ends; if not empty, enter step (8);

(8)设置一记时器,将记时器的记数值置为0,在开始播放音频或视频文件时,由记时器记录播放的时间;(8) a timer is set, and the value of the timer is set to 0, and when starting to play audio or video files, the timer records the playing time;

(9)读取对应列表中第一个文字文件的开始播放的时间点,与记时器的记数值比较,当记时器的记数值与所述时间标识相等时,开始播放第一个文字文件,并将所述文字文件的标识从对应列表中删除;(9) read the time point when the first text file in the corresponding list starts to play, compare with the counter value of the timer, when the counter value of the timer is equal to the time mark, start to play the first text file, and delete the identifier of the text file from the corresponding list;

(10)判断所述对应列表是否为空,如果为空,步骤结束,如果不为空,返回步骤(9)。(10) Judging whether the corresponding list is empty, if it is empty, the step ends, if not empty, return to step (9).

Claims (5)

1、一种在移动通讯终端上实现文字与音频或视频同步显示的方法,其特征在于,为每一文字文件建立一个标记,所述标记包括:与所述文字文件对应的音频或视频文件、时间标识,所述标记标明了文本文件与音频或视频文件建立起对应关系;1. A method for synchronously displaying text and audio or video on a mobile communication terminal, characterized in that a mark is established for each text file, and the mark includes: an audio or video file corresponding to the text file, time Identification, the mark indicates that the text file and the audio or video file establish a corresponding relationship; 该方法包括以下步骤:The method includes the following steps: (1)移动终端接收到用户发出的播放视频或音频文件的请求时,根据该视频或音频文件对应文字文件的标记读取所有与所要播出的音频或视频文件对应的所有文字文件;(1) When the mobile terminal receives a request from the user to play a video or audio file, it reads all text files corresponding to the audio or video files to be played according to the mark of the text file corresponding to the video or audio file; (2)根据所有文字文件的时间标识,确定所有文字文件开始播放的时间,开始播放所要播出的音频或视频文件,当到文字文件开始的播放时间时,播放文字文件。(2) Determine the time when all text files start playing according to the time stamps of all text files, start to play the audio or video files to be played, and play the text files when the playback time of the text files begins. 2、根据权利要求1所述的在移动通讯终端上实现文字与音频或视频同步显示的方法,其特征在于,所述时间标识为一时间偏移量,即开始播放文字文件的时间,与开始播放其对应的音频或视频文件的时间之间的差值。2. The method for synchronously displaying text and audio or video on a mobile communication terminal according to claim 1, wherein the time mark is a time offset, that is, the time at which the text file starts to play, and the time at which the text file begins to play. The difference between the times to play their corresponding audio or video files. 3、根据权利要求1或2所述的在移动通讯终端上实现文字与音频或视频同步显示的方法,其特征在于,还包括以下步骤:3. The method for synchronously displaying text and audio or video on a mobile communication terminal according to claim 1 or 2, further comprising the following steps: 为每一个音频或视频文件建立一个对应列表,所述对应列表中存储有所有与该音频或视频文件对应的文字文件的标记,按照所述标识中的时间标识,按先后顺序排列。A corresponding list is established for each audio or video file, and the marks of all text files corresponding to the audio or video file are stored in the corresponding list, arranged in sequence according to the time stamp in the mark. 4、根据权利要求3所述的在移动通讯终端上实现文字与音频或视频同步显示的方法,其特征在于,所述步骤(2)具体为:4. The method for synchronously displaying text and audio or video on a mobile communication terminal according to claim 3, wherein said step (2) is specifically: (A)判断所要播放音频或视频文件的对应列表是否为空,如果为空则开始播放所述音频或视频文件,步骤结束;如果不为空,则进入步骤(B);(A) judge whether the corresponding list of the audio or video file to be played is empty, if it is empty then start playing the audio or video file, the step ends; if not empty, then enter step (B); (B)设置一记时器,将记时器的记数值置为0,在开始播放音频或视频文件时,由记时器记录播放的时间;(B) a timer is set, the counter value of the timer is set to 0, and when starting to play audio or video files, the time of playing is recorded by the timer; (C)读取对应列表中第一个文字文件的开始播放的时间,与记时器的记数值比较,当记时器的记数值与所述时间标识相等时,开始播放第一个文字文件,并将所述文字文件的标识从对应列表中删除;(C) read the time of starting playing of the first text file in the corresponding list, compare with the count value of the timer, when the count value of the timer is equal to the time mark, start to play the first text file , and delete the identifier of the text file from the corresponding list; (D)判断所述对应列表是否为空,如果为空,步骤结束,如果不为空,返回步骤(C)。(D) Judging whether the corresponding list is empty, if it is empty, the step ends, if not empty, return to step (C). 5、根据权利要求1或4所述的在移动通讯终端上实现文字与音频或视频同步显示的方法,其特征在于,所述步骤(1)中还包括:判断用户是否选择了与所述音频或视频文件同步播放的文字文件,如果选择了,则将用户选择的文字文件存入所述音频或视频文件的对应列表中;如果未选择,则在所述文字文件列表中,检索与所要播放的音频或视频文件对应的所有文字文件,并将检索到的文字文件存储到所述音频或视频文件的对应列表中。5. The method for synchronously displaying text and audio or video on a mobile communication terminal according to claim 1 or 4, characterized in that said step (1) further includes: judging whether the user has selected the Or video files synchronously played text files, if selected, the text file selected by the user is stored in the corresponding list of the audio or video file; if not selected, then in the text file list, search and play All the text files corresponding to the audio or video files, and store the retrieved text files into the corresponding list of the audio or video files.
CN 200510130405 2005-12-09 2005-12-09 Method for realizing synchronous displaying of characters and audio frequency or video-frequency in mobile communication terminal Pending CN1980302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510130405 CN1980302A (en) 2005-12-09 2005-12-09 Method for realizing synchronous displaying of characters and audio frequency or video-frequency in mobile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510130405 CN1980302A (en) 2005-12-09 2005-12-09 Method for realizing synchronous displaying of characters and audio frequency or video-frequency in mobile communication terminal

Publications (1)

Publication Number Publication Date
CN1980302A true CN1980302A (en) 2007-06-13

Family

ID=38131288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510130405 Pending CN1980302A (en) 2005-12-09 2005-12-09 Method for realizing synchronous displaying of characters and audio frequency or video-frequency in mobile communication terminal

Country Status (1)

Country Link
CN (1) CN1980302A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840727A (en) * 2010-04-28 2010-09-22 深圳市五巨科技有限公司 Mobile terminal music playing method and device for synchronously displaying lyrics
CN101179347B (en) * 2007-12-21 2010-11-24 深圳市迅雷网络技术有限公司 Method, system and service terminal of providing text file information
CN101930779A (en) * 2010-07-29 2010-12-29 华为终端有限公司 A video annotation method and video player
CN102099804A (en) * 2008-07-18 2011-06-15 索尼爱立信移动通讯有限公司 Adaptive Display for Enhanced Audio Playback
CN105812880A (en) * 2016-03-22 2016-07-27 广东欧珀移动通信有限公司 A display method of audio data and terminal equipment
CN105897725A (en) * 2016-05-06 2016-08-24 亿瑞互动科技(北京)有限公司 Method and device for synchronizing audio with PPT in online teaching and relevant equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179347B (en) * 2007-12-21 2010-11-24 深圳市迅雷网络技术有限公司 Method, system and service terminal of providing text file information
CN102099804A (en) * 2008-07-18 2011-06-15 索尼爱立信移动通讯有限公司 Adaptive Display for Enhanced Audio Playback
US8676869B2 (en) 2008-07-18 2014-03-18 Sony Corporation Adaptive display for enhancing audio playback
CN101840727A (en) * 2010-04-28 2010-09-22 深圳市五巨科技有限公司 Mobile terminal music playing method and device for synchronously displaying lyrics
CN101930779A (en) * 2010-07-29 2010-12-29 华为终端有限公司 A video annotation method and video player
CN105812880A (en) * 2016-03-22 2016-07-27 广东欧珀移动通信有限公司 A display method of audio data and terminal equipment
CN105812880B (en) * 2016-03-22 2019-04-16 Oppo广东移动通信有限公司 Audio data display method and terminal equipment
CN105897725A (en) * 2016-05-06 2016-08-24 亿瑞互动科技(北京)有限公司 Method and device for synchronizing audio with PPT in online teaching and relevant equipment

Similar Documents

Publication Publication Date Title
JP5696857B2 (en) Display method of related information and mobile communication terminal
CN101282375A (en) A method and mobile terminal for mapping multimedia files based on call records
CN102196104A (en) Method and system for data and voice fusion in interactive voice response (IVR) system
CN1980302A (en) Method for realizing synchronous displaying of characters and audio frequency or video-frequency in mobile communication terminal
US20070110397A1 (en) Playback apparatus and bookmark system
JP2005184180A (en) Portable terminal device and television program viewing system using the same
JP4628285B2 (en) Program recording device, portable terminal, program recording / playback system, recorded program display method
KR20060080796A (en) Mobile communication terminal with navigation function and method thereof
JP2009246495A (en) Time-series data management device and program
CA2638400A1 (en) Voicemail system for a handheld device
KR20050046449A (en) Multimedia playback method for handheld terminal
JP2010219969A (en) Call recording device with retrieving function, and telephone set
JP2002215174A (en) Mobile terminal device
KR20050030711A (en) Wireless communication terminal and its method for playing multimedia contents using bar code recognition
JP2009130644A (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM
JP2013122561A (en) Information processing program, communication system, information processing device, and method for drawing lyric telop
JP2001186569A (en) Portable wireless telephone
JP2006191436A (en) Mobile phone equipment
KR20060101600A (en) Call recording method and mobile communication terminal using same
JP6808539B2 (en) Call device
JP2008052693A (en) Content reproduction method and communication terminal device
JP2002064641A (en) Interphone having pretend-to-be-out function
JP2008182319A (en) Stream data reproduction system and reproducing method, and portable terminal device
JPH08331237A (en) Answering machine
KR101104441B1 (en) Caller Information Notification Method on Mobile 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
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication