CN102111674A - System and method for playing on-line video by mobile terminal and mobile terminal - Google Patents

System and method for playing on-line video by mobile terminal and mobile terminal Download PDF

Info

Publication number
CN102111674A
CN102111674A CN 201010601645 CN201010601645A CN102111674A CN 102111674 A CN102111674 A CN 102111674A CN 201010601645 CN201010601645 CN 201010601645 CN 201010601645 A CN201010601645 A CN 201010601645A CN 102111674 A CN102111674 A CN 102111674A
Authority
CN
China
Prior art keywords
video
mobile terminal
online
audio
server
Prior art date
Application number
CN 201010601645
Other languages
Chinese (zh)
Other versions
CN102111674B (en
Inventor
卢永宏
姜莎
Original Assignee
深圳市五巨科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市五巨科技有限公司 filed Critical 深圳市五巨科技有限公司
Priority to CN2010106016452A priority Critical patent/CN102111674B/en
Publication of CN102111674A publication Critical patent/CN102111674A/en
Application granted granted Critical
Publication of CN102111674B publication Critical patent/CN102111674B/en

Links

Abstract

The invention belongs to the technical field of mobile terminals, in particular relates to a system and method for playing an on-line video by the mobile terminal and the mobile terminal. The system for playing the on-line video by the mobile terminal comprises a server and an on-line video play client, wherein the server is used for storing a video file; the on-line video play client comprises a browser and an on-line video player, wherein the browser is used for inputting the link address of the on-line video; the on-line video player is used for downloading the video file from the server, carrying out online play on the video after the downloaded video file is decoded as well as calling a system interface to carry out audio play; and the on-line video player comprises a subscriber interface module, a control module and a decoding module. The technical scheme provided by the invention has the advantages or beneficial effects that the on-line video play function can be achieved conveniently, and individuation requirements of a subscriber can be met; and in addition, the invention provides a full-featured subscriber interface which is convenient for the subscriber to use.

Description

一种移动终端播放在线视频的系统、方法及移动终端 A mobile terminal online video playback system and method for a mobile terminal

技术领域 FIELD

[0001] 本发明属于移动通讯技术领域,尤其涉及一种移动终端播放在线视频的系统、方法及移动终端。 [0001] The present invention belongs to the field of mobile communication technologies, particularly to a mobile terminal playing the online video system, method and mobile terminal.

背景技术 Background technique

[0002] 目前,随着移动通信技术的不断发展,移动终端已经深入到人们的生活中,包括手机、个人数字助理(PDA,Personal Digital Assistant)等具有无线通讯功能的小型手持式移动通信设备,移动通信也已成为最广泛使用的通信方式之一。 [0002] Now, with the continuous development of mobile communication technology, mobile terminals have been deep into people's lives, including mobile phones, personal digital assistants (PDA, Personal Digital Assistant) and other small hand-held mobile communication device with wireless communication capabilities, mobile communication has become one of the most widely used means of communication. 以手机为例,其作为日常生活和商业事务的移动通信工具,在用户的生活中占有重要的地位。 Mobile phone, for example, as daily life and business affairs of mobile communications tools, occupies an important position in the user's life. 随着移动通信技术的发展,为了满足用户的个性化需求,需要进一步实现移动通信的增值业务,这就要求手机平台具有一定的功能。 With the development of mobile communication technology, in order to meet the individual needs of users, the need for better value-added services for mobile communications, which requires mobile phone platform has a certain function. 通常,现有常用的非智能手机平台,如MTK (联发科)平台,虽然也能实现简单的在线视频播放,但是播放功能太过简单,且操作不便。 In general, the existing common non-smartphone platform, such as MTK (MediaTek) platform, although it can achieve a simple online video player, but playback is too simple, and the operation is inconvenient.

发明内容 SUMMARY

[0003] 本发明提供了一种移动终端播放在线视频的系统、方法及移动终端,旨在解决现有技术中移动终端平台的在线视频播放功能太过简单且操作不便的问题。 [0003] The present invention provides a mobile terminal playing system, method and mobile terminal online video, online video playback to solve the prior art mobile terminal platform too simple operation and problem of inconvenience.

[0004] 本发明的技术方案包括:一种移动终端播放在线视频的系统,包括服务器和在线视频播放客户端,所述服务器用于存放视频文件,所述在线视频播放客户端包括浏览器和在线视频播放器,所述浏览器用于输入在线视频的链接地址,所述在线视频播放器用于从服务器下载视频文件,将下载视频文件进行视频解码后,在线播放视频,并调用系统接口进行音频播放,所述在线视频播放器包括用户接口界面模块、控制模块和解码模块,所述用户接口界面模块用于接收用户的触笔或者按键响应,根据用户的操作发送相应的消息到控制模块,所述控制模块用于接收用户接口界面模块发送过来的消息,根据消息从服务器下载相应的数据,对下载数据进行码流解析,所述解码模块用于获取控制模块发送过来的码流, 对码流进行音视频解码后输出视频图像和声 [0004] aspect of the present invention comprises: a mobile terminal online video playback system includes a server and a client online video player, the video server for storing files, the online video client includes a browser and online video player, the browser for online video link address input, the online video player for downloading video files from the server to download the video file to video decoding, playing online video and audio playback system call interface, the online video player interface comprising a user interface module, a control module and a decoding module, the user interface a user interface module for receiving a stylus or a key in response to a control module, a transmission control operation according to the corresponding user's message means for receiving a message sent from a user interface interface module, to download the appropriate data from the server according to the message, the downloaded data stream parsing, decoding module configured to obtain the code stream sent by the control module, audio codestream after the video decoder outputs the video image and sound 数据。 Data.

[0005] 本发明的技术方案还包括:所述移动终端播放在线视频的系统还包括点播视频服务器,所述点播视频服务器用于将在线视频转换为特定的视频文件格式,并将视频文件上传到服务器。 [0005] further aspect of the present invention comprises: a mobile terminal playing the online video-on-demand system further comprises a video server, a video on demand server for converting a particular online video to video file format, and video files to upload server.

[0006] 本发明的技术方案还包括:所述移动终端播放在线视频的系统还包括直播视频采集装置,所述直播视频采集装置用于将采集回来的电视信号转换成源视频,把源视频转换成特定的视频文件格式,并把视频文件上传到服务器。 [0006] further aspect of the present invention comprises: a mobile terminal playing the online video system further comprises a live video capture device, the live video capture means for converting a television signal to the video source will be collected back, the source video conversion into a particular video file format, and upload the video file to the server.

[0007] 本发明采取的另一技术方案为:一种移动终端播放在线视频的方法,包括: [0007] Another aspect of the present invention is adopted: a method for playing online video mobile terminal, comprising:

[0008] 步骤a :用户通过移动终端的浏览器点击在线视频的链接地址; [0008] Step a: user clicks a link address of an online video browser of the mobile terminal;

[0009] 步骤b :根据用户点击的在线视频的链接地址,从服务器下载相应的数据; [0009] Step b: The link address of the user clicks the online video, to download the appropriate data from the server;

[0010] 步骤c :对下载数据进行码流解析,解析为视频文件和音频文件; [0010] Step c: download data code-stream analysis, parsing the video files and audio files;

[0011] 步骤d :对视频文件和音频文件解码得到视频图像和声音数据,通过视频播放窗口播放视频图像,同时播放声音数据。 [0011] Step d: to obtain video image and audio data decoding video files and audio files, video play video play window, while playing the audio data.

[0012] 本发明的技术方案还包括:在所述步骤b中,通过调用移动终端在线视频播放器的控制模块从服务器下载相应的数据至移动终端缓存。 [0012] aspect of the present invention further comprises: in said step b, the appropriate data is downloaded to the mobile terminal from the cache server control module of the mobile terminal by invoking the online video player.

[0013] 本发明的技术方案还包括:在所述步骤b与所述步骤c之间还包括:移动终端在线视频播放器调用用户接口界面模块绘制各个窗口界面。 [0013] aspect of the present invention further comprises: between the step b and the step c further comprises: a mobile terminal call online video player interface module to draw the individual user interface window interface.

[0014] 本发明的技术方案还包括:在所述步骤d中,移动终端在线视频播放器调用解码模块,对音频文件和视频文件进行解码后得到视频图像和声音数据,并通过UI模块绘制的视频播放窗口显示视频图像,同时调用手机喇叭同步播放声音数据。 [0014] aspect of the present invention further comprises: in said step d, the mobile terminal online video player calls a decoding module to obtain video image and audio data of audio files and video files are decoded and drawn through the UI module video playback window to display the video image, while the synchronized playback sound speaker phone call data.

[0015] 本发明的技术方案还包括:通过UI模块绘制的视频播放窗口显示视频图像,同时调用手机喇叭同步播放声音数据具体还包括: [0015] aspect of the present invention further comprises: rendering by the UI module video display window displaying a video image, while the synchronized playback sound speaker phone call specific data further comprises:

[0016] 判断视频是否快于音频,如果视频快于音频,则重新更新网络状态,否则,进行音频管理,进行解码和数据转换,并调用手机喇叭播放声音; [0016] determine whether the audio is faster than video, if the video faster than the audio, then re-update the network status, otherwise, audio management, decoding and data conversion, and call the speaker phone to play a sound;

[0017] 判断音频是否快于视频,如果是,重新更新网络状态,否则,显示图像。 [0017] determine whether the audio is faster than video, and if so, to re-update the network status, otherwise display an image.

[0018] 本发明采取的又一技术方案为:一种移动终端,包括浏览器和在线视频播放器,所述浏览器对链接到的服务器进行数据解析,调用在线视频播放器从服务器下载视频文件, 存入移动终端的音频缓存和视频缓存中,对视频缓存中的视频文件进行视频解码,在线播放视频,并调用系统接口从音频缓存中获取音频数据进行音频播放。 [0018] The present invention takes as another aspect: a mobile terminal including a browser and online video player, the browser link to the server for data analysis, online video player calls the video file downloaded from the server , the mobile terminal into a video and audio buffer cache, the video cache video files for video decoding, playing online video, and the system call interface to obtain audio data from the audio buffer for audio playback.

[0019] 本发明的技术方案还包括:所述在线视频播放器包括用户接口界面模块、控制模块和解码模块,所述用户接口界面模块用于接收用户的触笔或者按键响应,根据用户的操作发送相应的消息到控制模块,所述控制模块用于接收用户接口界面模块发送过来的消息,根据消息从服务器下载相应的数据,对下载数据进行码流解析,所述解码模块用于获取控制模块发送过来的码流,对码流进行音视频解码后输出视频图像和声音数据。 [0019] aspect of the present invention further comprises: the on-line video player interface comprising a user interface module, a control module and a decoding module, the user interface a user interface module for receiving a stylus or key in response to user's operation a corresponding message to the control module, the control module a user interface for receiving a message sent from the interface module, to download the appropriate data from the server according to the message, the downloaded data stream parsing module is configured to obtain the decoding control module after the code stream sent by, for audio and video decoding code stream output video image and audio data.

[0020] 本发明的技术方案具有如下优点或有益效果:本发明移动终端播放在线视频的系统、方法及移动终端通过点播视频服务器和直播视频采集装置将相关视频和电视信号转换为特定的视频文件格式并上传到服务器,用户通过在线视频播放器从服务器下载相关视频文件并进行解码,能方便的实现在线视频播放的功能,满足用户个性化需求,另外,本发明提供功能全面的用户接口界面,便于用户进行使用。 [0020] aspect of the present invention have the following advantages or beneficial effects: the mobile terminal of the present invention play online video system, method and mobile terminal demand video server and the live video capture device converts the video and a television signal for a particular video file format and uploaded to the server, the user download video files from the server via the online video player and decode, can facilitate the realization of functions of online video player to suit your own individual needs. in addition, the present invention provides a full-featured user interface interface, user-friendly use.

附图说明 BRIEF DESCRIPTION

[0021] 图1是本发明移动终端播放在线视频的系统的结构示意图; [0021] FIG. 1 is a schematic structural diagram of a mobile terminal according to the present invention for online video playback system;

[0022] 图2是本发明移动终端播放在线视频的系统的在线视频播放客户端的工作原理图; [0022] FIG. 2 is a system online video client online video end operating principle of the present invention, the mobile terminal displays;

[0023] 图3是本发明移动终端播放在线视频的系统的在线视频播放器的结构示意图; [0023] FIG. 3 is a schematic structural diagram of a mobile terminal according to the present invention, the online video player online video playback system;

[0024] 图4是本发明移动终端播放在线视频的方法的流程图; [0024] FIG. 4 is a flowchart of a method of the present invention, the mobile terminal displays the online video;

[0025] 图5是本发明移动终端播放在线视频的方法视频播放的工作原理图。 [0025] FIG. 5 is a working principle diagram of a video playback method of the present invention, a mobile terminal displays the online video.

具体实施方式 Detailed ways

[0026] 为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。 [0026] To make the objectives, technical solutions and advantages of the present invention will become more apparent hereinafter in conjunction with the accompanying drawings and embodiments of the present invention will be further described in detail. 应当理解,此处所描述的具体实施例仅仅用以解释本发明,并 It should be understood that the specific embodiments described herein are only intended to illustrate the present invention, and

5不用于限定本发明。 5 is not intended to limit the present invention.

[0027] 请参阅图1,是本发明移动终端播放在线视频的系统的结构示意图。 [0027] Please refer to FIG. 1, it is a schematic view of the system for online video playback mobile terminal of the present invention. 本发明移动终端播放在线视频的系统包括点播视频服务器1、直播视频采集装置2在线视频播放客户端3 和服务器。 Mobile terminal of the present invention is playing an online video server system 1 comprises a video on demand, live video capture device 2 3 online video client and server. 其中,服务器包括FTP服务器和Web服务器。 Wherein the server includes an FTP server and Web server.

[0028] 点播视频服务器1用于后台编辑人员将在线视频转换为特定的视频文件格式,并将视频文件上传到FTP服务器,在本发明实施方式中,点播视频服务器1包括视频转换终端,视频转换终端用于将在线视频转换为特定的视频文件格式。 [0028] The VOD server 1 for editing the background art will convert the video to a particular online video file format, and video files uploaded to the FTP server, in an embodiment of the present invention, a video on demand server includes a video conversion terminal, a video conversion online terminal for converting video for a particular video file format.

[0029] 直播视频采集装置2包括电视采集卡和电视采集终端,电视采集卡用于接收有线电视源,对电视信号进行采集,电视采集终端接收电视采集卡采集回来的电视信号并把电视信号转换成源视频,并把源视频转换成特定的视频文件格式,并将视频文件上传到FTP 服务器。 [0029] Live video capture device 2 includes a television and video capture card collection terminal, for receiving a cable television capture cards source, acquisition of a television signal, the television receiver TV collection terminal acquisition card back to the television signal and the television signal is converted a source video, and the video source is converted into a particular video file format, and upload the video file to the FTP server.

[0030] 在线视频播放的客户端3包括在线视频播放器和浏览器,在线视频播放器和浏览器相关联,用户通过浏览器点击在线视频的链接地址,则同时调用在线视频播放器从FTP 服务器下载视频文件,将该视频文件进行视频解码后,在线播放视频,并调用系统接口进行音频播放。 Customer [0030] online video terminal 3 includes an online video player and browser, online video players and browser associated with a user clicks on the link address online video through the browser, while calling the online video player from the FTP server after downloading the video file, the video file for video decoding, playing online video and audio playback system call interface.

[0031] 在本发明的实施方式中,在线视频播放的客户端3可以为移动终端、PDA或其它客户端,其中,移动终端包括MTK手和其它类型的手机。 [0031] In an embodiment of the present invention, the client online video terminal 3 may be a mobile terminal, PDA, or other client, wherein the mobile terminal includes a hand MTK and other types of mobile phones.

[0032] 请参阅图2,是本发明移动终端播放在线视频的系统的在线视频播放客户端的工作原理图。 [0032] Please refer to FIG. 2, the present invention is a mobile terminal displays the online video client system online video end operating principle. 本发明移动终端播放在线视频的系统的在线视频播放客户端的工作原理:用户通过浏览器点击在线视频的链接地址,浏览器对链接到的服务器进行数据解析,调用在线视频播放器从FTP服务器下载视频文件,存入移动终端的音频缓存和视频缓存中,对视频缓存中的视频文件进行视频解码,在线播放视频,并调用系统接口从音频缓存中获取音频数据进行音频播放。 Mobile terminal of the invention play online video system online video playback client works side: the user clicks on online video through a browser link address, browser links to the server for data analysis, calls the online video player download video from an FTP server file, stored in the mobile terminal of audio and video buffer cache, the video cache video files for video decoding, playing online video, and the system call interface to obtain audio data from the audio buffer for audio playback.

[0033] 请参阅图3,是本发明移动终端播放在线视频的系统的在线视频播放器的结构示意图。 [0033] Please refer to FIG. 3, it is a schematic view of the present invention, a mobile terminal system online video player online video playback. 本发明移动终端播放在线视频的系统的在线视频播放器包括UI(用户接口界面)模块、控制模块和解码模块。 The mobile terminal according to the present invention play online online video system include a video player UI (User Interface Interface) module, a control module and a decoding module. UI模块用于接收用户的触笔或者按键响应,根据用户的操作发送相应的消息到控制模块及解码模块,并绘制管理在线视频播放器的各个窗口界面。 UI module is configured to receive a user response to a stylus or keys, corresponding operation according to the user's message sent to the control module and a decoding module, and to manage online video player draw each window interface. 在线视频播放器的窗口及界面包括:视频播放窗口、播放控制界面、最近播放列表窗口、全屏播放界面和其他界面,视频播放窗口用于显示用户播放的视频;播放控制界面包括播放、暂停、 前进/后退、全屏、菜单选项等;最近播放列表窗口用于显示用户播放过的视频列表;全屏播放界面用于播放视频的全屏显示;在视频播放过程中,用户可以通过UI模块绘制的各个窗口进行播放操作,还可以浏览播放列表中的文件,点击相应的文件进行播放。 Online video player window interface and include: video playback window, playback control interface, recent playlist window, full-screen playback interface and other interfaces, video display window for displaying a video played to the user; playback control interface including play, pause, forward / backward, full screen, menu options, and the like; latest playlist window for displaying a list of video has been played by the user; full screen video playback interface for displaying full-screen playback; each window in the video playback, the user can be drawn by the UI module playback operations can also browse the files in a playlist, click on the appropriate file to play.

[0034] 控制模块用于接收UI模块发送过来的消息,根据消息从服务器下载相应的数据至移动终端,并对数据进行缓存管理,数据缓冲完成后,将下载数据进行码流解析,解析为音频文件和视频文件,对音频文件和视频文件进行音视频同步处理,并调用相应的函数接口对播放的视频文件进行相应的控制操作,例如,对播放的视频文件进行打开、播放、暂停、 恢复和停止等操作。 [0034] a control means for receiving a message sent from the UI module, downloaded from the server according to the message data corresponding to the mobile terminal, and the data buffer management, the data buffer is completed, to download the data stream parsing parses audio and video files, audio files and video files to audio and video synchronization, and call the appropriate function interface for video file playback of the corresponding control operations, for example, playing video files open, play, pause, resume and and stop.

[0035] 解码模块用于获取控制模块发送过来的码流,对该码流进行音视频解码后输出视频图像和声音数据,并通过UI模块绘制的视频播放窗口和移动终端底层进行图像播放和声音播放。 [0035] The decoding means for obtaining transmission control module over the code stream, decoding the audio and video stream output video image and audio data, and drawn through the UI module of the video playback window and the mobile terminal displays the image and sound bottom play. 其中,解码模块是视频播放器的基本模块,支持视频解码(H. 264码流)和音频解码(AMR码流),其中,H. 264码流的规格是QCIF,带宽为301cbpS,帧率为5帧,音频规格是AMR-NB。 Wherein the decoding module is a basic module of the video player, video decoding (264 yards H. stream) and an audio decoder (AMR code stream), wherein, H. 264 yards stream specification is QCIF, bandwidth 301cbpS, the frame rate is 5, audio specification is AMR-NB.

[0036] 请参阅图4,是本发明移动终端播放在线视频的方法的流程图。 [0036] Please refer to FIG. 4, the present invention is a mobile terminal is a flowchart of a method for online video playback. 本发明移动终端播放在线视频的方法包括以下步骤: The method of the present invention, the mobile terminal displays the online video comprising the steps of:

[0037] 步骤10 :用户通过移动终端的浏览器点击在线视频的链接地址; [0037] Step 10: The user clicks the link address online video through the browser of the mobile terminal;

[0038] 步骤20 :调用移动终端在线视频播放器的控制模块,并根据用户点击的在线视频的链接地址,从服务器下载相应的数据至移动终端缓存; [0038] Step 20: Call control module of the mobile terminal online video player, according to the link address and the user clicks on the online video, downloaded from the server to the mobile terminal corresponding data cache;

[0039] 其中,浏览器和在线视频播放器进行关联,当通过浏览器点击在线视频的链接地址时,则同时调用在线视频播放器。 [0039] in which the browser and online video players association, when you click the link address online video through the browser, while calling the online video player.

[0040] 步骤30 :在线视频播放器调用UI模块绘制各个窗口界面; [0040] Step 30: online video player UI module call interface to draw each window;

[0041] 其中,在线视频播放器的窗口界面包括:视频播放窗口、播放控制界面、最近播放列表窗口、其他界面和全屏播放界面,视频播放窗口用于显示用户播放的视频;播放控制界面包括播放、暂停、前进/后退、全屏、菜单选项等;最近播放列表窗口用于显示用户播放过的视频列表;在视频播放过程中,用户可以通过UI模块绘制的各个窗口进行播放操作,还可以浏览播放列表中的文件,点击相应的文件进行播放。 [0041] wherein the window interface online video player comprising: a video playback window, playback control interface, recently played list window, full-screen interface and other player interface, the video playback window for displaying a video played by the user; Play play control interface comprises , pause, forward / back, full-screen, menu options, and so on; recent playlist window displays a list of users to play video ever; video playback, users can play through each window UI module operate drawn, you can also browse play the list of files, click on the appropriate file for playback.

[0042] 步骤40 :数据缓冲完成后,在线视频播放器调用控制模块对下载数据进行码流解析,解析为音频文件和视频文件; [0042] Step 40: After the completion of the data buffer, the online video player control module calls the download data stream parsing parses audio and video files;

[0043] 步骤50 :在线视频播放器调用解码模块,对视频文件和音频文件进行解码后得到视频图像和声音数据,并通过UI模块绘制的视频播放窗口显示视频图像,同时调用手机喇叭同步播放声音。 [0043] Step 50: online video player calls a decoding module to obtain video image and audio data of the video file and an audio file decoding, and displaying a video image by the video playback window UI module drawn while calling phone speakers synchronous playback sound .

[0044] 其中,解码模块是视频播放器的基本模块,支持视频解码H264码流和音频解码AMR码流,其中,H264码流的规格是QCIF,带宽为301ibps,帧率5帧,音频规格是AMR-NB。 [0044] wherein the decoding module is a basic module of the video player, video decoding and audio decoding code stream H264 AMR bitstream, wherein the code stream is the H264 standard QCIF, bandwidth 301ibps, five frame rate, audio specification is AMR-NB.

[0045] 请参阅图5,是本发明移动终端播放在线视频的方法视频播放的工作原理图。 [0045] Please refer to FIG. 5, the present invention is a mobile terminal displays the video playback method of online video works FIG. 本发明移动终端播放在线视频的方法中视频播放的工作原理,即上述步骤50中,通过UI模块绘制的视频播放窗口显示视频图像,同时调用手机喇叭同步播放声音,具体过程为: The method of the present invention, a mobile terminal playing the online video playback of video works, i.e. in the above step 50, drawn by the UI module video display window displaying a video image, while the synchronized playback sound speaker phone call, the specific process is:

[0046] 步骤501 :调用控制模块更新网络状态,通知移动终端的UI模块对窗口进行重绘; [0046] Step 501: call control module updates network state, the UI module notifies the mobile terminal of the window redraw;

[0047] 步骤502 :判断网络是否中断,如果是,则重新链接网络,如果否,进行步骤503 ; [0047] Step 502: determining whether a network outage, if so, re-linked network, if not, step 503;

[0048] 步骤503 :判断用户是否处于播放暂停状态,如果是,则重新更新网络状态,如果否,则进行步骤504; [0048] Step 503: determining whether the user is in the playback pause state, if yes, the network re-update state, and if not, go to Step 504;

[0049] 步骤504 :判断播放是否完成,如果是,则关闭播放器;如果否,则进行步骤505 ; [0049] Step 504: determining whether the playback is finished, if so, turn off the player; if not, go to Step 505;

[0050] 步骤505 :判断用户是否点击在线播放,如果是,则进行步骤506,如果否,则进行步骤507 ; [0050] Step 505: determining whether a user clicks play online, if so, proceeds to step 506, if no, go to Step 507;

[0051] 步骤506 :判断可用流量是否大于100K,如果可用流量大于100K,转为播放状态, 设置相关量,否则,重新更新网络状态; [0051] Step 506: determining available flow is greater than 100K, if the available flow is greater than 100K, into play state, setting related quantity, otherwise, the network re-update status;

[0052] 步骤507 :判断在线视频播放缓冲是否达到100%,如果没有达到100%,则重新更新网络状态,如果达到100%,则进行步骤508 ; [0052] Step 507: determining whether the online video buffer up to 100%, if not 100%, the network re-update state if it reaches 100%, a step 508 is performed;

[0053] 步骤508 :判断在线视频是否为加载状态,如果为加载状态,则转为播放状态,并 [0053] Step 508: determining whether the loaded video line state, if the load state, into the play state, and

7设置相关量,否则,进行步骤509 ; 7 is provided related quantity, otherwise, to step 509;

[0054] 步骤509 :判断播放状态及软冲是否不足,如果不足,则暂停播放,如果充足,则进行步骤510 ; [0054] Step 509: the play status determination and soft red is insufficient, if insufficient, playback is suspended, if sufficient, step 510 is performed;

[0055] 步骤510 :判断视频是否快于音频,如果视频快于音频,则重新更新网络状态,否则,进行音频管理,解码一个NAL,进行RGB的转换,并调用手机喇叭播放声音; [0055] Step 510: determine whether the audio is faster than video, if the video faster than the audio, then re-update the network status, otherwise, audio management, decoding a NAL, carried out RGB conversion, and call the speaker phone to play a sound;

[0056] 步骤511 :判断音频是否快于视频,如果是,重新更新网络状态,否则,显示图像。 [0056] Step 511: determining whether audio video faster, if it is, the network re-update state, otherwise, the display image.

[0057] 本发明移动终端播放在线视频的系统、方法及移动终端通过点播视频服务器和直播视频采集装置将相关视频和电视信号转换为特定的视频文件格式并上传到服务器,用户通过在线视频播放器从服务器下载相关视频文件并进行解码,能方便的实现在线视频播放的功能,满足用户个性化需求,另外,本发明提供功能全面的用户接口界面,便于用户进行使用。 [0057] The mobile terminal according to the present invention play online video system, method and mobile terminal converts the video and a television signal for a particular video file format and uploaded to the server through the on-demand video server and the live video capture device, a user online video player Related video files downloaded from the server and decode functions can easily achieve online video player to suit your own individual needs. in addition, the present invention provides a full-featured user interface interface for users to use.

[0058] 以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 [0058] The foregoing is only preferred embodiments of the present invention but are not intended to limit the present invention, any modifications within the spirit and principle of the present invention, equivalent substitutions and improvements should be included in the present within the scope of the invention.

Claims (10)

1. 一种移动终端播放在线视频的系统,包括服务器和在线视频播放客户端,所述服务器用于存放视频文件,其特征在于,所述在线视频播放客户端包括浏览器和在线视频播放器,所述浏览器用于输入在线视频的链接地址,所述在线视频播放器用于从服务器下载视频文件,将下载视频文件进行视频解码后,在线播放视频,并调用系统接口进行音频播放, 所述在线视频播放器包括用户接口界面模块、控制模块和解码模块,所述用户接口界面模块用于接收用户的触笔或者按键响应,根据用户的操作发送相应的消息到控制模块,所述控制模块用于接收用户接口界面模块发送过来的消息,根据消息从服务器下载相应的数据,对下载数据进行码流解析,所述解码模块用于获取控制模块发送过来的码流,对码流进行音视频解码后输出视频图像和声音数据。 A mobile terminal online video playback system includes a server and a client online video player, the video server for storing files, characterized in that, the online video client includes a browser and online video player, after the browser address input link for online video, the online video player for downloading video files from the server to download the video file to video decoding, playing online video and audio playback system call interface, the online video player interface includes a user interface module, a control module and a decoding module, the user interface a user interface module for receiving a stylus or key response operation according to the corresponding user sending a message to the control module, the control module is configured to receive after the message sent by the user interface of the interface module, according to the message, to parse the downloaded data for the corresponding data stream downloaded from a server, said decoding module is configured to obtain the code stream sent by the control module for decoding audio and video streams output video image and sound data.
2.根据权利要求1所述的移动终端播放在线视频的系统,其特征在于,所述移动终端播放在线视频的系统还包括点播视频服务器,所述点播视频服务器用于将在线视频转换为特定的视频文件格式,并将视频文件上传到服务器。 2. The mobile terminal according to claim 1 online video playback system, wherein the mobile terminal displays the online video-on-demand system further comprises a video server, a video on demand server for converting to a particular online video video file format and video files uploaded to the server.
3.根据权利要求1或2所述的移动终端播放在线视频的系统,其特征在于,所述移动终端播放在线视频的系统还包括直播视频采集装置,所述直播视频采集装置用于将采集回来的电视信号转换成源视频,把源视频转换成特定的视频文件格式,并把视频文件上传到服务器。 The mobile terminal of claim 12 or claim online video playback system, wherein the mobile terminal displays the online video system further comprises a live video capture device, the live video capture means for collecting back the television signal is converted into a video source, the source video into a particular video file format, and upload the video file to the server.
4. 一种移动终端播放在线视频的方法,包括:步骤a :用户通过移动终端的浏览器点击在线视频的链接地址; 步骤b :根据用户点击的在线视频的链接地址,从服务器下载相应的数据; 步骤c :对下载数据进行码流解析,解析为视频文件和音频文件; 步骤d :对视频文件和音频文件解码得到视频图像和声音数据,通过视频播放窗口播放视频图像,同时播放声音数据。 4. A method for playing online video mobile terminal, comprising the steps of: a: a user clicks on a link address of an online video browser of the mobile terminal; Step b: The user clicks on a link address of the online video, to download the appropriate data from the server ; step c: download data code-stream analysis, parsing the video files and audio files; step d: to obtain video image and audio data of the video files and audio files decoded by the video play window displays the video, while playing the audio data.
5.根据权利要求4所述的移动终端播放在线视频的方法,其特征在于,在所述步骤b 中,通过调用移动终端在线视频播放器的控制模块从服务器下载相应的数据至移动终端缓存。 The mobile terminal according to claim 4, wherein the online video playback method, wherein, in said step b, downloaded from a server by calling the control module of the mobile terminal video player online data corresponding to the mobile terminal buffer.
6.根据权利要求4或5所述的移动终端播放在线视频的方法,其特征在于,在所述步骤b与所述步骤c之间还包括:移动终端在线视频播放器调用用户接口界面模块绘制各个窗口界面。 The mobile terminal of claim 4 or claim 5 method for online video playback, wherein between step b and step c further comprising: a mobile terminal call online video player user interface drawing module interface each window interface.
7.根据权利要求4或5所述的移动终端播放在线视频的方法,其特征在于,在所述步骤d中,移动终端在线视频播放器调用解码模块,对音频文件和视频文件进行解码后得到视频图像和声音数据,并通过UI模块绘制的视频播放窗口显示视频图像,同时调用手机喇叭同步播放声音数据。 The mobile terminal according to claim 4 or claim 5 online video playback method, wherein, in said step d, the mobile terminal decodes the online video player module calls, audio and video files to be decoded to obtain video image and sound data and display video images through the video playback window UI rendering module, speaker phone call while playing sound data synchronization.
8.根据权利要求7所述的移动终端播放在线视频的方法,其特征在于,通过UI模块绘制的视频播放窗口显示视频图像,同时调用手机喇叭同步播放声音数据具体还包括:判断视频是否快于音频,如果视频快于音频,则重新更新网络状态,否则,进行音频管理,进行解码和数据转换,并调用手机喇叭播放声音;判断音频是否快于视频,如果是,重新更新网络状态,否则,显示图像。 The mobile terminal according to claim 7, the online video playback method, wherein, by drawing the UI module video display window displaying a video image, while the synchronized playback sound speaker phone call specific data further comprises: determining whether the video faster than audio, if the video faster than the audio, then re-update the network status, otherwise, audio management, decoding and data conversion, and call the speaker phone to play a sound; determine whether the audio is faster than video, and if so, to re-update the network status, otherwise, display images.
9. 一种移动终端,包括浏览器和在线视频播放器,其特征在于,所述浏览器对链接到的服务器进行数据解析,调用在线视频播放器从服务器下载视频文件,存入移动终端的音频缓存和视频缓存中,对视频缓存中的视频文件进行视频解码,在线播放视频,并调用系统接口从音频缓存中获取音频数据进行音频播放。 A mobile terminal comprising a browser and online video player, characterized in that, the browser link to the server for data analysis, online video player calls the video file downloaded from the server, the mobile terminal stores the audio caching and video caching, the cache video files for video decoding video, online video, and the system call interface to obtain audio data from the audio buffer for audio playback.
10.根据权利要求9所述的移动终端,其特征在于,所述在线视频播放器包括用户接口界面模块、控制模块和解码模块,所述用户接口界面模块用于接收用户的触笔或者按键响应,根据用户的操作发送相应的消息到控制模块,所述控制模块用于接收用户接口界面模块发送过来的消息,根据消息从服务器下载相应的数据,对下载数据进行码流解析,所述解码模块用于获取控制模块发送过来的码流,对码流进行音视频解码后输出视频图像和声音数据。 The mobile terminal according to claim 9, wherein the online video player interface comprising a user interface module, a control module and a decoding module, the user interface a user interface module for receiving a stylus or a key response the corresponding operation user sending a message to the control module, the control module a user interface for receiving a message sent from the interface module, to download the appropriate data from the server according to the message, the downloaded data stream parsing the decoding module the control module configured to obtain the code stream sent by, for audio and video decoding code stream output video image and audio data.
CN2010106016452A 2010-12-22 2010-12-22 System and method for playing on-line video by mobile terminal and mobile terminal CN102111674B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106016452A CN102111674B (en) 2010-12-22 2010-12-22 System and method for playing on-line video by mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106016452A CN102111674B (en) 2010-12-22 2010-12-22 System and method for playing on-line video by mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN102111674A true CN102111674A (en) 2011-06-29
CN102111674B CN102111674B (en) 2012-11-14

Family

ID=44175676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106016452A CN102111674B (en) 2010-12-22 2010-12-22 System and method for playing on-line video by mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN102111674B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594915A (en) * 2012-03-19 2012-07-18 烽火通信科技股份有限公司 Browser-based media play system and method
CN102802075A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Online play buffering system and method
CN103428525A (en) * 2013-07-22 2013-12-04 华中科技大学 Online inquiry and play control method and system for network videos and television programs
CN103474080A (en) * 2013-09-02 2013-12-25 百度在线网络技术(北京)有限公司 Processing method, device and system of audio data based on code rate switching
CN103533443A (en) * 2013-10-21 2014-01-22 深圳致安视科技有限公司 Method for online live telecast of surveillance videos
CN103686308A (en) * 2013-12-25 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for setting video shuffle playing
CN103686198A (en) * 2013-12-30 2014-03-26 优视科技有限公司 Video data processing method, device and system
CN103970577A (en) * 2014-05-27 2014-08-06 合一网络技术(北京)有限公司 Method and system for downloading and arousing starting of mobile device application program based on browser
WO2014166275A1 (en) * 2013-04-09 2014-10-16 Tencent Technology (Shenzhen) Company Limited Video loading method, device and system of mobile terminal
CN104125490A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Online video playing method and device
WO2014184622A1 (en) * 2013-05-14 2014-11-20 Balina Venkata Naresh Babu Entertainment content application, system for enabling an authorized downloading of the entertainment content application
CN104581171A (en) * 2013-10-15 2015-04-29 腾讯科技(深圳)有限公司 Method and device for playing videos on browser as well as mobile terminal
CN104581401A (en) * 2013-10-10 2015-04-29 腾讯科技(深圳)有限公司 Method and device for playing data
CN104811817A (en) * 2015-04-30 2015-07-29 北京奇艺世纪科技有限公司 Method and device for using video client software to play videos
CN104866503A (en) * 2014-02-25 2015-08-26 腾讯科技(深圳)有限公司 Media file caching method and media player
CN105763912A (en) * 2016-02-26 2016-07-13 惠州Tcl移动通信有限公司 Online video buffer control method and system, and mobile terminal thereof
CN105933791A (en) * 2016-04-18 2016-09-07 乐视控股(北京)有限公司 Play record query method and device
CN107801095A (en) * 2017-09-25 2018-03-13 平安普惠企业管理有限公司 A kind of video/audio decoding method and terminal device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022540A (en) * 2006-02-13 2007-08-22 中兴通讯股份有限公司 Video monitoring system and method under server/customer end constitution
CN101137054A (en) * 2006-08-29 2008-03-05 郑州威科姆技术开发有限公司 Embedded type stream media player implementing method
CN101150803A (en) * 2007-10-24 2008-03-26 优视动景(北京)技术服务有限公司 Method for micro-browser to process network data, micro-browser and its server
CN101282348A (en) * 2007-04-06 2008-10-08 上海晨兴电子科技有限公司 Method for implementing flow medium function using HTTP protocol
CN201138809Y (en) * 2007-08-20 2008-10-22 阳术国 Improvement of on-line video network construction
CN101321176A (en) * 2008-07-11 2008-12-10 中兴通讯股份有限公司 Live broadcasting method and system of browser client terminal, browser client terminal and background client terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022540A (en) * 2006-02-13 2007-08-22 中兴通讯股份有限公司 Video monitoring system and method under server/customer end constitution
CN101137054A (en) * 2006-08-29 2008-03-05 郑州威科姆技术开发有限公司 Embedded type stream media player implementing method
CN101282348A (en) * 2007-04-06 2008-10-08 上海晨兴电子科技有限公司 Method for implementing flow medium function using HTTP protocol
CN201138809Y (en) * 2007-08-20 2008-10-22 阳术国 Improvement of on-line video network construction
CN101150803A (en) * 2007-10-24 2008-03-26 优视动景(北京)技术服务有限公司 Method for micro-browser to process network data, micro-browser and its server
CN101321176A (en) * 2008-07-11 2008-12-10 中兴通讯股份有限公司 Live broadcasting method and system of browser client terminal, browser client terminal and background client terminal

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594915A (en) * 2012-03-19 2012-07-18 烽火通信科技股份有限公司 Browser-based media play system and method
CN102802075A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Online play buffering system and method
CN102802075B (en) * 2012-08-24 2015-05-20 乐视致新电子科技(天津)有限公司 Online play buffering system and method
WO2014166275A1 (en) * 2013-04-09 2014-10-16 Tencent Technology (Shenzhen) Company Limited Video loading method, device and system of mobile terminal
CN104125490A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Online video playing method and device
WO2014176906A1 (en) * 2013-04-28 2014-11-06 Tencent Technology (Shenzhen) Company Limited Online video playing method and apparatus and computer readable medium
WO2014184622A1 (en) * 2013-05-14 2014-11-20 Balina Venkata Naresh Babu Entertainment content application, system for enabling an authorized downloading of the entertainment content application
CN103428525A (en) * 2013-07-22 2013-12-04 华中科技大学 Online inquiry and play control method and system for network videos and television programs
CN103428525B (en) * 2013-07-22 2016-08-31 华中科技大学 Internet video and the online query of TV programme and control method for playing back and system
CN103474080A (en) * 2013-09-02 2013-12-25 百度在线网络技术(北京)有限公司 Processing method, device and system of audio data based on code rate switching
CN104581401A (en) * 2013-10-10 2015-04-29 腾讯科技(深圳)有限公司 Method and device for playing data
CN104581401B (en) * 2013-10-10 2019-02-01 腾讯科技(深圳)有限公司 The method and device of data playback
CN104581171A (en) * 2013-10-15 2015-04-29 腾讯科技(深圳)有限公司 Method and device for playing videos on browser as well as mobile terminal
CN103533443A (en) * 2013-10-21 2014-01-22 深圳致安视科技有限公司 Method for online live telecast of surveillance videos
CN103686308A (en) * 2013-12-25 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for setting video shuffle playing
CN103686198A (en) * 2013-12-30 2014-03-26 优视科技有限公司 Video data processing method, device and system
CN104866503A (en) * 2014-02-25 2015-08-26 腾讯科技(深圳)有限公司 Media file caching method and media player
CN103970577A (en) * 2014-05-27 2014-08-06 合一网络技术(北京)有限公司 Method and system for downloading and arousing starting of mobile device application program based on browser
CN104811817A (en) * 2015-04-30 2015-07-29 北京奇艺世纪科技有限公司 Method and device for using video client software to play videos
CN104811817B (en) * 2015-04-30 2018-04-13 北京奇艺世纪科技有限公司 The method and device of video is played using videoconference client software
CN105763912A (en) * 2016-02-26 2016-07-13 惠州Tcl移动通信有限公司 Online video buffer control method and system, and mobile terminal thereof
CN105763912B (en) * 2016-02-26 2019-04-30 惠州Tcl移动通信有限公司 A kind of Online Video buffer control method, system and its mobile terminal
CN105933791A (en) * 2016-04-18 2016-09-07 乐视控股(北京)有限公司 Play record query method and device
CN107801095A (en) * 2017-09-25 2018-03-13 平安普惠企业管理有限公司 A kind of video/audio decoding method and terminal device
CN107801095B (en) * 2017-09-25 2019-12-13 平安普惠企业管理有限公司 audio and video decoding method and terminal equipment

Also Published As

Publication number Publication date
CN102111674B (en) 2012-11-14

Similar Documents

Publication Publication Date Title
CN101184195B (en) Audio/video living broadcast system and method
KR101728911B1 (en) Method for connecting video communication to other device, video communication apparatus and display apparatus thereof
KR20080089134A (en) System and method for remote control
US20090010485A1 (en) Video communication system and method
JP2008518326A (en) System and method for mobile 3D graphical messaging
CN101365125B (en) Multipath video communication method and system
US9128592B2 (en) Displaying graphical representations of contacts
CN101815162B (en) System for remote control of programs
US20060033811A1 (en) Integrated broadband telecommunications A/V appliance and device
JP2006085681A (en) File conversion and sharing system and method thereof
KR101593257B1 (en) Communication system and method
CN104866264B (en) Mobile terminal, display equipment and its control method
JP2005057771A (en) Apparatus and method for processing multimedia data via home media gateway improving thin client system
US7400340B2 (en) Data mixer for portable communications devices
US20110096844A1 (en) Method for implementing rich video on mobile terminals
CN102143385B (en) Media play processing method, digital media server and system
US20130219072A1 (en) Screen mirroring method and apparatus thereof
CN100539584C (en) System, server, method and program for providing communication service
CN101047853A (en) Server apparatus and video transmission method
JPH0799540A (en) Telephone system for handling audio, video and graphical annotation signals and operating method therefor
CN1540986A (en) Method and device of transmitting received TV signals from mobile communication terminal
CN102143382A (en) Apparatus and method for providing in a terminal a pause function for a broadcast stream
JP2000312360A (en) Information service system
CN102325271A (en) Method and device of sending document from mobile terminal to television for sharing and mobile terminal
CN102510541B (en) Multi-screen interaction video and audio content switching method and media player

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted
C17 Cessation of patent right