WO2012079385A1 - Mobile terminal and video playing method therefor - Google Patents

Mobile terminal and video playing method therefor Download PDF

Info

Publication number
WO2012079385A1
WO2012079385A1 PCT/CN2011/078772 CN2011078772W WO2012079385A1 WO 2012079385 A1 WO2012079385 A1 WO 2012079385A1 CN 2011078772 W CN2011078772 W CN 2011078772W WO 2012079385 A1 WO2012079385 A1 WO 2012079385A1
Authority
WO
WIPO (PCT)
Prior art keywords
computing entity
mobile terminal
video
module
task
Prior art date
Application number
PCT/CN2011/078772
Other languages
French (fr)
Chinese (zh)
Inventor
王涛
邵永平
黄伟
杨建江
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012079385A1 publication Critical patent/WO2012079385A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a mobile terminal and a method for implementing video playback. Background technique
  • the functions of mobile terminals are becoming more and more abundant, especially the video playback function has gradually become a more commonly used function for mobile terminal users.
  • the computing processing and video decoding capabilities of the mobile terminal are relatively weak, which may cause the user to pause and the image is not smooth when playing video through the mobile terminal.
  • the processing performance of the mobile terminal can be improved by using a higher performance ARM processor and a mobile application processor in the mobile terminal, and the effect of the video playback by the mobile terminal is also improved.
  • the power consumption will also increase.
  • the popularity of high-performance processors will take time, so that they occupy a considerable market share. The current situation of weak computing power of low-end mobile terminals and functional mobile terminals has not been effectively solved.
  • Another method is: through the cloud computing, specifically for the mobile terminal to access the 3G network or the Internet, through the data center, to obtain the powerful computing and storage capabilities provided by the distributed processing.
  • the method needs to occupy the bandwidth of the communication network, and the user's tariff is high; and in order to maintain the connection of the network, the radio part of the mobile terminal also needs to consume a large amount of power.
  • the main purpose of the present invention is to provide a mobile terminal and a method for implementing video playback thereof, which can improve video playback performance of the mobile terminal itself and reduce power consumption.
  • the technical solution of the present invention is achieved as follows:
  • a method for implementing video playback of a mobile terminal includes:
  • the mobile terminal establishes a video service connection with the computing entity
  • the mobile terminal sends the video data to be decoded to the client software installed in the computing entity, and the video decoder of the computing entity is called by the client software to perform data decoding, and receives the frame data stream returned by the computing entity.
  • the method further includes:
  • the mobile terminal searches for a computing entity by using a short-range wireless communication method
  • the mobile terminal sends a wireless connection request to the searched computing entity, and upon receiving the agreed access information returned by the computing entity, establishes a wireless connection with the computing entity.
  • the mobile terminal establishes a video service connection with the computing entity as:
  • the mobile terminal pushes the pre-stored client software to the computing entity that has established the wireless connection; after receiving the installed client software information returned by the computing entity, the mobile terminal starts its own transmission adaptation task sub-module, completes and calculates the entity.
  • the method further includes:
  • the mobile terminal After receiving the remote video decoding mode selection information input by the user, the mobile terminal enables the remote video decoding mode;
  • the mobile terminal sends the video data to be decoded to the client software installed in the computing entity, and the video decoder of the computing entity is called by the client software to decode the data as:
  • the mobile terminal starts its own virtual coprocessor task module and receives the sent by its own CPU.
  • the decoded video data is buffered, and the video data and the local decoding command are encapsulated into a data packet format and sent to the transmission adaptation task sub-module;
  • the wireless task module sent to the mobile terminal is sent by the wireless task module to the wireless task module of the computing entity;
  • the wireless task module of the computing entity sends the received data to the client software, and the client software invokes the video decoder of the computing entity to decode the video data.
  • the method further includes:
  • the remote video decoding mode is switched to the local video decoding mode, the virtual coprocessor task module and the transmission adaptation task sub-module are closed, and the DSP of the mobile terminal is awakened, and the DSP is started.
  • Software task is switched to the local video decoding mode, the virtual coprocessor task module and the transmission adaptation task sub-module are closed, and the DSP of the mobile terminal is awakened, and the DSP is started.
  • a mobile terminal includes a wireless task module, a CPU, and a DSP task module, and the mobile terminal further includes: a video service connection module and a virtual coprocessor task module;
  • a video service connection module configured to establish a video service connection with a computing entity
  • a virtual coprocessor task module configured to send video data to be decoded to the client software installed in the computing entity by using the wireless task module
  • a wireless task module configured to receive, by the client software of the computing entity, a frame data stream obtained by decoding a video data by a video decoder of the computing entity.
  • the wireless task module is specifically configured to search for a computing entity, send a wireless connection request to the searched computing entity, and after receiving the agreed access information returned by the computing entity, establish a wireless with the computing entity. connection.
  • the video service connection module further includes a transmission adaptation task sub-module; wherein, the video service connection module is specifically configured to push the pre-stored client software to the computing entity that has established the wireless connection, and receive the computing entity After the returned client software information is returned, the transmission adaptation task sub-module is triggered to complete the establishment of the connection with the computing entity video service.
  • the CPU is configured to: after receiving the remote video decoding mode selection information input by the user, enable the remote video decoding mode, stop the DSP software task of the DSP task module, and cut off the CPU of the CPU and the DSP task module. Data communication, and put the DSP into a sleep state.
  • the virtual coprocessor task module is specifically configured to receive the video data to be decoded sent by the CPU, perform buffer processing, and then package the video data and the decoding command into a data packet format and send the data to the transmission adaptation task submodule. ;
  • the transmission adaptation task sub-module is specifically configured to perform the wireless protocol data format conversion on the received data, and then send the data to the wireless task module;
  • the wireless task module is specifically configured to send the received data to a wireless task module of the computing entity.
  • the CPU is further configured to: when detecting that the video service connection of the video service connection module is disconnected, switch the remote video decoding mode to the local video decoding mode, and close the virtual coprocessor task module and the video service connection module, and Wake up the DSP and start the DSP software task.
  • the mobile terminal and the video playing implementation method thereof provide a video service connection between a mobile terminal and a computing entity that has established a wireless connection, and the video decoder of the computing entity is called by the client software pushed to the computing entity for decoding, etc.
  • Processing receiving the frame data stream returned by the computing entity, performing processing, playing through the video player of the mobile terminal, not only improving the video playing performance of the mobile terminal; but also reducing power consumption, requiring no extra cost for the user, saving The cost.
  • FIG. 1 is a schematic flowchart of a method for implementing video playback of a mobile terminal according to the present invention
  • FIG. 2 is a schematic diagram of a processing flow of a specific embodiment of a method for implementing video playback of a mobile terminal according to the present invention
  • FIG. 3 is a schematic structural diagram of a mobile terminal of the present invention.
  • the basic idea of the present invention is: establishing a video service connection between the mobile terminal and the computing entity; the mobile terminal transmitting the video data to be decoded to the client software installed in the computing entity, and calling the computing entity through the client software
  • the video decoder performs data decoding and receives a stream of frame data returned by the computing entity.
  • FIG. 1 is a flowchart of a method for implementing video playback of a mobile terminal according to the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step 101 The mobile terminal establishes a video service connection with the computing entity.
  • the mobile terminal pushes the pre-stored client software to the computing entity through a wireless connection established with the computing entity; the computing entity receives and installs the client software, and returns the installed information to the mobile terminal; After receiving the installed information, the transmission adaptation task sub-module of the video service connection module of the user is started. At this time, the video service connection establishment between the mobile terminal and the computing entity is completed.
  • Step 102 The mobile terminal sends the video data to be decoded to the client software installed in the computing entity, calls the video decoder of the computing entity to perform data decoding, and receives the frame data stream returned by the computing entity.
  • the mobile terminal encapsulates the video data to be decoded and sends the data to the client software installed in the computing entity, and the video decoder of the computing entity invokes the decoding process of the data by the client software, and receives the frame returned by the computing entity.
  • the data stream is played for playback.
  • the processing of the video data to be decoded by the mobile terminal is: reading the original video data block to be decoded and related parameters, and encapsulating with the local decoding command, and converting the batch to the wireless protocol data packet to the client software and many more.
  • FIG. 2 is a diagram showing a process of implementing a video playback method of a mobile terminal according to an embodiment of the present invention. Flow, as shown in FIG. 2, the embodiment includes the following steps:
  • Step 1 The mobile terminal receives the open short-range wireless connection request input by the user, and activates its short-range wireless connection function;
  • the short-range wireless connection of the mobile terminal may be in various manners such as Bluetooth, WIFI, and wireless USB.
  • Step 2 The computing entity turns on its own short-range wireless connection
  • the computing entity may calculate a powerful device for a computer or the like; specifically, when the computing entity receives the open proximity wireless connection request input by the user, the computing entity turns on its own short-range wireless connection function.
  • the computing entity in this step refers to: a computing entity located within the effective range of the short-range wireless connection of the mobile terminal, and steps 1 and 2 are implemented in an orderly manner.
  • Steps 3 to 4 the mobile terminal searches for a computing entity in the neighboring area by using a short-range wireless communication manner, and sends a wireless connection request to the computing entity when searching for the computing entity;
  • the mobile terminal searches for a computing entity within the effective range of its own close wireless connection; when searching for a computing entity that also turns on the close wireless connection, a wireless connection request can be sent to the computing entity.
  • Steps 5-6 The computing entity verifies the received wireless connection request, and when the verification passes, returns the consent access information to the mobile terminal, and the wireless connection between the mobile terminal and the computing entity is completed.
  • the verification of the wireless connection request by the computing entity further includes: determining, according to the operation status of the mobile terminal, whether to agree to the access request of the mobile terminal, and when not agreeing, returning the disagreement access information to the a mobile terminal; wherein, when the CPU usage of the computing entity is high, and the number of running processes is high, the computing entity returns a disagreement to the mobile terminal; otherwise, when the CPU of the computing entity is in good use, In the case where the number of running processes is not too large, The computing entity returns the consent access information to the mobile terminal.
  • Step 7 after the wireless connection between the mobile terminal and the computing entity is established, pushing the pre-stored client software to the computing entity;
  • the mobile terminal may specifically push the client software to the computing entity in a file format; wherein the client software may be pre-built in the file management area of the mobile terminal and distributed to the user along with the mobile terminal software.
  • Step 8 Calculate the client software received by the entity installation and operation. After the installation is completed, return the installed information to the mobile terminal. After receiving the installed information, the mobile terminal starts its own transmission adaptation task sub-module. The video service connection between the mobile terminal and the computing entity is established;
  • the client software is mainly used to exchange data with the wireless task module of the computing entity, and call the video decoder of the computing entity to execute data decoding commands sent by the mobile terminal;
  • the computing entity detects that the client software pushed by the mobile terminal is installed, it is no longer necessary to install the received client software, directly run the installed client software, and send the installed information to the office.
  • the mobile terminal when the computing entity detects that the client software pushed by the mobile terminal is installed, it is no longer necessary to install the received client software, directly run the installed client software, and send the installed information to the office.
  • the mobile terminal when the computing entity detects that the client software pushed by the mobile terminal is installed, it is no longer necessary to install the received client software, directly run the installed client software, and send the installed information to the office.
  • the mobile terminal when the computing entity detects that the client software pushed by the mobile terminal is installed, it is no longer necessary to install the received client software, directly run the installed client software, and send the installed information to the office. The mobile terminal.
  • the update may be automatically performed. After the update is completed, the installed information is returned to the mobile terminal.
  • Step 9 After receiving the remote video decoding mode selection information input by the user, the mobile terminal enables the remote video decoding mode.
  • the video player module of the mobile terminal provides a video decoding mode selection function for the user, including a local video decoding mode and a remote video decoding mode; when the mobile terminal receives the remote video decoding mode selection information, the mobile terminal Enable remote video decoding mode, stop the digital signal processor (DSP) software task, cut off the Data communication between the DSP and the CPU; meanwhile, in order to save power consumption of the mobile terminal, the DSP may be placed in a sleep state.
  • DSP digital signal processor
  • Step 10 ⁇ 11 the mobile terminal starts its own virtual coprocessor task module, processes the decoded video data, and sends the processed data to the computing entity;
  • the virtual coprocessor task module receives the video data to be decoded sent by the CPU, and performs buffer processing, and encapsulates the buffered video data and the local decoding command into data.
  • the format of the packet is sent to the transmission adaptation task sub-module; after the transmission adaptation task sub-module converts the received data into a wireless protocol data format, the wireless task module is sent to the mobile terminal, and the wireless task module and the computing entity of the mobile terminal The wireless task module performs wireless data communication and sends the data to the computing entity.
  • Steps 12-13 the wireless task module of the computing entity sends the received data to the client software, and the client software invokes the local video decoder of the computing entity to decode the video data, and returns the obtained frame data stream to the mobile terminal;
  • the local video decoder is called to perform actual decoding processing.
  • the local video decoder finally uses the CPU of the computing entity to perform software decoding. Or using the graphics card of the computing entity for hardware decoding, and returning the decoded frame data stream to the client software, and the client software calling the computing entity's wireless task module returns the frame data stream to the mobile terminal.
  • Step 14 The mobile terminal processes the received frame data stream and plays it through a local video player.
  • the wireless task module of the mobile terminal sends the frame data stream to the transmission adaptation task sub-module, and the transmission adaptation task sub-module converts the frame data stream of the wireless protocol data format into a data format that can be processed by the virtual coprocessor task module. After that, the converted frame data stream is sent to the virtual coprocessor task module, and after the virtual coprocessor task module buffers and receives the received frame data stream, the final obtained data is provided to the video of the mobile terminal.
  • Player through The video player calls hardware such as a liquid crystal display (LCD) local to the mobile terminal for playback.
  • LCD liquid crystal display
  • the remote video decoding mode is switched to the local video decoding mode, and the virtual coprocessor task module and the transmission adaptation task sub-module are closed. And waking up the DSP to start the DSP software task; wherein, the disconnection of the video service may be a message that terminates the remote video decoding mode input by the user, or detects that the mobile terminal is not in the service scope of the computing entity, or The computing entity terminates the provision of a remote video decoding service for the mobile terminal.
  • the mobile terminal includes a wireless task module 31, a CPU 32, a DSP task module 33, a video service connection module 34, and a virtual coprocessor task module 35. ; among them,
  • a wireless task module 31 configured to receive, by the client software of the computing entity, a frame data stream obtained by decoding a video data by a video decoder of a computing entity;
  • a video service connection module 34 configured to establish a video service connection with the computing entity
  • the virtual coprocessor task module 35 is configured to send the video data to be decoded to the client software installed in the computing entity through the wireless task module 31.
  • the wireless task module 31 is specifically configured to search for a computing entity, send a wireless connection request to the searched computing entity, and establish a wireless connection with the computing entity after receiving the agreed access information returned by the computing entity. .
  • the video service connection module 34 further includes a transmission adaptation task sub-module 341.
  • the video service connection module 34 is specifically configured to push the pre-stored client software to the computing entity that has established the wireless connection, and receive the After calculating the installed client software information returned by the entity, the transmission adaptation task sub-module 341 is triggered to complete the establishment of the connection with the computing entity video service.
  • the CPU 32 is configured to: after receiving the remote video decoding mode selection information input by the user, enable the remote video decoding mode, and stop the DSP of the DSP task module 33 of the mobile terminal.
  • the software task cutting off the data communication between the CPU 32 and the DSP of the DSP task module 33, puts the DSP into a sleep state.
  • the virtual coprocessor task module 35 is specifically configured to receive the video data to be decoded sent by the CPU 32, and perform buffer processing, and then package the video data and the local decoding command into a data packet format and send the data to the transmission.
  • the transmission adaptation task sub-module 341 is specifically configured to convert the received data into a wireless protocol data format and send it to the wireless task module 31;
  • the wireless task module 31 is specifically configured to send the received data to the wireless task module of the computing entity; wherein, the computing entity sends the received data to the client software, and the client software invokes the local video decoder of the computing entity to perform Decoding video data, etc., and returning the obtained frame data stream to the mobile terminal;
  • the local video decoder is called to perform actual decoding processing.
  • the local video decoder finally uses the CPU of the computing entity to perform software decoding. Or performing hardware decoding using the graphics card of the computing entity, and returning the decoded frame data stream to the client software, and the client software invokes the wireless task module of the computing entity to return the frame data stream to the mobile terminal;
  • the wireless task module 31 of the mobile terminal sends the received frame data stream to the transmission adaptation task sub-module 341, and the transmission adaptation task sub-module 341 converts the data in the wireless protocol data format into a virtual coprocessor task module 35.
  • the converted frame data stream is sent to the virtual coprocessor task module 35, and the virtual coprocessor task module 35 performs buffer acceleration processing on the received frame data stream, and then provides the final data to the data.
  • the video player of the mobile terminal is played by the video player by calling hardware such as a LCD of the mobile terminal.
  • the CPU 32 is further configured to: when detecting that the video service connection of the video service connection module 34 is disconnected, switch the remote video decoding mode to the local video decoding mode, and close the virtual coprocessor task module 35 and the video service connection. Module 34, and starts the DSP task module 33, Specifically, to wake up the DSP, start the DSP software task.

Abstract

The present invention provides a mobile terminal and a video playing method therefor. The method comprises the following steps: the mobile terminal establishing a video service connection to a computing entity; the mobile terminal transmitting video data-to-be-decoded to a client software installed on the computing entity, calling via the client software a video decoder of the computing entity to perform video decoding, and receiving a stream of framed data returned by the computing entity. In the mobile terminal and the video playing method therefor provided in the present invention, the video service connection is established between the mobile terminal and the computing entity having an established wireless connection; via a push to the client software of the computing entity, the video decoder of the computing entity is called to perform data decoding; the stream of framed data returned by the computing entity is received and processed; and the video is played via an video player of the mobile terminal. This allows for improved video playing performance of the mobile terminal, and reduced power consumption, without incurring additional user expense, thereby reducing costs.

Description

一种移动终端及其视频播放的实现方法 技术领域  Method for realizing mobile terminal and video playing thereof
本发明涉及通信技术领域, 尤其涉及一种移动终端及其视频播放的实 现方法。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a mobile terminal and a method for implementing video playback. Background technique
进入第三代移动通信(3G ) 时代后, 移动终端的功能也越来越丰富, 尤其是视频播放功能逐渐成为移动终端用户较常用的功能。 可是与计算机 相比, 移动终端的计算处理、 视频解码等能力还是比较弱, 这些就会导致 用户在通过移动终端进行视频播放时, 出现停顿、 图像不流畅等问题。  After entering the third generation mobile communication (3G) era, the functions of mobile terminals are becoming more and more abundant, especially the video playback function has gradually become a more commonly used function for mobile terminal users. However, compared with the computer, the computing processing and video decoding capabilities of the mobile terminal are relatively weak, which may cause the user to pause and the image is not smooth when playing video through the mobile terminal.
于是,可以通过在移动终端中使用更高性能的 ARM处理器和移动应用 处理器, 使移动终端的处理性能得到一定的提升, 移动终端进行视频播放 的效果也得到一定改善。 但是, 在移动终端处理性能得到提高的同时, 其 功耗也会随之增加; 同时, 由于高性能处理器的价格因素, 高性能处理器 的普及尚需时日, 如此, 使得占据相当市场份额的中低端移动终端、 功能 移动终端计算能力弱的现状并未得到有效地解决。  Therefore, the processing performance of the mobile terminal can be improved by using a higher performance ARM processor and a mobile application processor in the mobile terminal, and the effect of the video playback by the mobile terminal is also improved. However, as the processing performance of mobile terminals is improved, the power consumption will also increase. At the same time, due to the price factor of high-performance processors, the popularity of high-performance processors will take time, so that they occupy a considerable market share. The current situation of weak computing power of low-end mobile terminals and functional mobile terminals has not been effectively solved.
还有一种方法是:通过云计算,具体为移动终端接入 3G网络或因特网, 通过数据中心, 取得分布式处理所提供的强大计算和存储能力。 但是, 该 方法需要占用通信网络的带宽, 用户的资费开销较高; 同时为了维持网络 的连接, 移动终端的射频部分也需要付出较大的功耗。 发明内容  Another method is: through the cloud computing, specifically for the mobile terminal to access the 3G network or the Internet, through the data center, to obtain the powerful computing and storage capabilities provided by the distributed processing. However, the method needs to occupy the bandwidth of the communication network, and the user's tariff is high; and in order to maintain the connection of the network, the radio part of the mobile terminal also needs to consume a large amount of power. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种移动终端及其视频播放的 实现方法, 能提高移动终端自身的视频播放性能并降低功耗。 为达到上述目的, 本发明的技术方案是这样实现的: In view of this, the main purpose of the present invention is to provide a mobile terminal and a method for implementing video playback thereof, which can improve video playback performance of the mobile terminal itself and reduce power consumption. In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种移动终端视频播放的实现方法, 所述方法包括:  A method for implementing video playback of a mobile terminal, where the method includes:
移动终端与计算实体建立视频服务连接;  The mobile terminal establishes a video service connection with the computing entity;
移动终端将待解码的视频数据发送至安装于计算实体的客户端软件, 通过所述客户端软件调用计算实体的视频解码器进行数据解码, 并接收计 算实体返回的帧数据流。  The mobile terminal sends the video data to be decoded to the client software installed in the computing entity, and the video decoder of the computing entity is called by the client software to perform data decoding, and receives the frame data stream returned by the computing entity.
进一步地, 所述移动终端与计算实体建立视频服务连接之前, 所述方 法还包括:  Further, before the mobile terminal establishes a video service connection with the computing entity, the method further includes:
移动终端利用近距无线通信方式搜索计算实体;  The mobile terminal searches for a computing entity by using a short-range wireless communication method;
移动终端向搜索到的计算实体发送无线连接请求, 当接收到所述计算 实体返回的同意接入信息后, 建立与所述计算实体的无线连接。  The mobile terminal sends a wireless connection request to the searched computing entity, and upon receiving the agreed access information returned by the computing entity, establishes a wireless connection with the computing entity.
其中, 所述移动终端与计算实体建立视频服务连接为:  The mobile terminal establishes a video service connection with the computing entity as:
移动终端向已建立无线连接的计算实体推送预先存储的客户端软件; 移动终端接收到所述计算实体返回的已安装客户端软件信息后, 启动 自身的传输适配任务子模块, 完成与计算实体视频服务连接的建立。  The mobile terminal pushes the pre-stored client software to the computing entity that has established the wireless connection; after receiving the installed client software information returned by the computing entity, the mobile terminal starts its own transmission adaptation task sub-module, completes and calculates the entity. The establishment of a video service connection.
进一步地, 所述移动终端与计算实体建立视频服务连接之后, 所述方 法还包括:  Further, after the mobile terminal establishes a video service connection with the computing entity, the method further includes:
移动终端接收到用户输入的远程视频解码模式选择信息后, 启用远程 视频解码模式;  After receiving the remote video decoding mode selection information input by the user, the mobile terminal enables the remote video decoding mode;
停止移动终端的数字信号处理器 DSP软件任务, 切断移动终端的 CPU 和 DSP的数据通信, 并将所述 DSP置于休眠状态。  Stop the digital signal processor DSP software task of the mobile terminal, cut off the data communication between the CPU and DSP of the mobile terminal, and put the DSP into a sleep state.
其中, 所述移动终端将待解码的视频数据发送至安装于计算实体的客 户端软件, 通过所述客户端软件调用计算实体的视频解码器进行数据解码 为:  The mobile terminal sends the video data to be decoded to the client software installed in the computing entity, and the video decoder of the computing entity is called by the client software to decode the data as:
移动终端启动自身的虚拟协处理器任务模块, 接收自身 CPU发送的待 解码的视频数据, 进行緩沖处理后, 将视频数据与本地的解码命令封装成 数据包的格式发送给传输适配任务子模块; The mobile terminal starts its own virtual coprocessor task module and receives the sent by its own CPU. The decoded video data is buffered, and the video data and the local decoding command are encapsulated into a data packet format and sent to the transmission adaptation task sub-module;
所述传输适配任务子模块对接收到的数据进行无线协议数据格式转化 后, 发送至移动终端的无线任务模块, 由所述无线任务模块发送至计算实 体的无线任务模块;  After the transmission adaptation task sub-module performs the wireless protocol data format conversion on the received data, the wireless task module sent to the mobile terminal is sent by the wireless task module to the wireless task module of the computing entity;
计算实体的无线任务模块将接收到的数据发送给客户端软件, 由所述 客户端软件调用计算实体的视频解码器进行视频数据的解码。  The wireless task module of the computing entity sends the received data to the client software, and the client software invokes the video decoder of the computing entity to decode the video data.
进一步地, 所述方法还包括:  Further, the method further includes:
移动终端检测到视频服务连接断开时, 将远程视频解码模式切换为本 地视频解码模式, 关闭自身的虚拟协处理器任务模块、 及传输适配任务子 模块, 并唤醒移动终端的 DSP, 启动 DSP软件任务。  When the mobile terminal detects that the video service connection is disconnected, the remote video decoding mode is switched to the local video decoding mode, the virtual coprocessor task module and the transmission adaptation task sub-module are closed, and the DSP of the mobile terminal is awakened, and the DSP is started. Software task.
一种移动终端, 包括无线任务模块、 CPU及 DSP任务模块, 所述移动 终端还包括: 视频服务连接模块、 虚拟协处理器任务模块; 其中,  A mobile terminal includes a wireless task module, a CPU, and a DSP task module, and the mobile terminal further includes: a video service connection module and a virtual coprocessor task module;
视频服务连接模块, 用于与计算实体建立视频服务连接;  a video service connection module, configured to establish a video service connection with a computing entity;
虚拟协处理器任务模块, 用于将待解码的视频数据通过所述无线任务 模块发送至安装于计算实体的客户端软件;  a virtual coprocessor task module, configured to send video data to be decoded to the client software installed in the computing entity by using the wireless task module;
无线任务模块, 用于接收所述计算实体的客户端软件调用计算实体的 视频解码器对视频数据进行解码得到的帧数据流。  And a wireless task module, configured to receive, by the client software of the computing entity, a frame data stream obtained by decoding a video data by a video decoder of the computing entity.
进一步地, 所述无线任务模块, 具体用于搜索计算实体, 向搜索到的 计算实体发送无线连接请求, 当接收到所述计算实体返回的同意接入信息 后, 建立与所述计算实体的无线连接。  Further, the wireless task module is specifically configured to search for a computing entity, send a wireless connection request to the searched computing entity, and after receiving the agreed access information returned by the computing entity, establish a wireless with the computing entity. connection.
进一步地, 所述视频服务连接模块还包括传输适配任务子模块; 其中, 视频服务连接模块, 具体用于向已建立无线连接的计算实体推送预先 存储的客户端软件, 并在接收到计算实体返回的已安装客户端软件信息后, 触发所述传输适配任务子模块, 完成与计算实体视频服务连接的建立。 进一步地, 所述 CPU, 用于接收到用户输入的远程视频解码模式选择 信息后,启用远程视频解码模式,停止所述 DSP任务模块的 DSP软件任务, 切断 CPU和所述 DSP任务模块的 DSP的数据通信, 并将所述 DSP置于休 眠状态。 Further, the video service connection module further includes a transmission adaptation task sub-module; wherein, the video service connection module is specifically configured to push the pre-stored client software to the computing entity that has established the wireless connection, and receive the computing entity After the returned client software information is returned, the transmission adaptation task sub-module is triggered to complete the establishment of the connection with the computing entity video service. Further, the CPU is configured to: after receiving the remote video decoding mode selection information input by the user, enable the remote video decoding mode, stop the DSP software task of the DSP task module, and cut off the CPU of the CPU and the DSP task module. Data communication, and put the DSP into a sleep state.
进一步地, 所述虚拟协处理器任务模块, 具体用于接收 CPU发送的待 解码的视频数据, 进行緩沖处理后, 将视频数据与解码命令封装成数据包 的格式发送给传输适配任务子模块;  Further, the virtual coprocessor task module is specifically configured to receive the video data to be decoded sent by the CPU, perform buffer processing, and then package the video data and the decoding command into a data packet format and send the data to the transmission adaptation task submodule. ;
传输适配任务子模块, 具体用于将接收到的数据进行无线协议数据格 式转化后, 发送至无线任务模块;  The transmission adaptation task sub-module is specifically configured to perform the wireless protocol data format conversion on the received data, and then send the data to the wireless task module;
无线任务模块, 具体用于将接收到的数据发送至计算实体的无线任务 模块。  The wireless task module is specifically configured to send the received data to a wireless task module of the computing entity.
进一步地, 所述 CPU, 还用于检测到视频服务连接模块的视频服务连 接断开时, 将远程视频解码模式切换为本地视频解码模式, 关闭虚拟协处 理器任务模块及视频服务连接模块, 并唤醒 DSP, 启动 DSP软件任务。  Further, the CPU is further configured to: when detecting that the video service connection of the video service connection module is disconnected, switch the remote video decoding mode to the local video decoding mode, and close the virtual coprocessor task module and the video service connection module, and Wake up the DSP and start the DSP software task.
本发明所提供的移动终端及其视频播放的实现方法, 将移动终端与已 建立无线连接的计算实体建立视频服务连接, 通过推送给计算实体的客户 端软件调用计算实体的视频解码器进行解码等处理, 接收计算实体返回的 帧数据流, 进行处理后, 通过移动终端的视频播放器进行播放, 不仅提高 了移动终端的视频播放性能; 而且功耗较小, 不需要用户花费额外的费用, 节约了成本。 附图说明  The mobile terminal and the video playing implementation method thereof provide a video service connection between a mobile terminal and a computing entity that has established a wireless connection, and the video decoder of the computing entity is called by the client software pushed to the computing entity for decoding, etc. Processing, receiving the frame data stream returned by the computing entity, performing processing, playing through the video player of the mobile terminal, not only improving the video playing performance of the mobile terminal; but also reducing power consumption, requiring no extra cost for the user, saving The cost. DRAWINGS
图 1为本发明移动终端视频播放的实现方法的流程示意图;  1 is a schematic flowchart of a method for implementing video playback of a mobile terminal according to the present invention;
图 2为本发明移动终端视频播放的实现方法一具体实施例处理流程示 意图;  2 is a schematic diagram of a processing flow of a specific embodiment of a method for implementing video playback of a mobile terminal according to the present invention;
图 3为本发明移动终端的组成结构示意图。 具体实施方式 本发明的基本思想为: 将移动终端与计算实体建立视频服务连接; 移 动终端将待解码的视频数据发送至安装于计算实体的客户端软件, 通过所 述客户端软件调用计算实体的视频解码器进行数据解码, 并接收计算实体 返回的帧数据流。 FIG. 3 is a schematic structural diagram of a mobile terminal of the present invention. The basic idea of the present invention is: establishing a video service connection between the mobile terminal and the computing entity; the mobile terminal transmitting the video data to be decoded to the client software installed in the computing entity, and calling the computing entity through the client software The video decoder performs data decoding and receives a stream of frame data returned by the computing entity.
为使本发明的目的、 技术方案和优点更加清楚明白, 以下举实施例并 参照附图, 对本发明进一步详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings.
图 1示出了本发明移动终端视频播放的实现方法的流程, 如图 1所示, 所述方法包括下述步驟:  FIG. 1 is a flowchart of a method for implementing video playback of a mobile terminal according to the present invention. As shown in FIG. 1, the method includes the following steps:
步驟 101 , 移动终端建立与计算实体之间的视频服务连接;  Step 101: The mobile terminal establishes a video service connection with the computing entity.
具体地, 移动终端通过与计算实体建立的无线连接推送预先存储的客 户端软件给所述计算实体; 计算实体接收并安装所述客户端软件, 并返回 已安装信息给所述移动终端; 移动终端接收到已安装信息后, 启动自身的 视频服务连接模块的传输适配任务子模块, 此时, 移动终端与计算实体间 的视频服务连接建立完成。  Specifically, the mobile terminal pushes the pre-stored client software to the computing entity through a wireless connection established with the computing entity; the computing entity receives and installs the client software, and returns the installed information to the mobile terminal; After receiving the installed information, the transmission adaptation task sub-module of the video service connection module of the user is started. At this time, the video service connection establishment between the mobile terminal and the computing entity is completed.
步驟 102,移动终端发送待解码的视频数据至安装于计算实体的客户端 软件, 调用计算实体的视频解码器进行数据解码, 并接收计算实体返回的 帧数据流;  Step 102: The mobile terminal sends the video data to be decoded to the client software installed in the computing entity, calls the video decoder of the computing entity to perform data decoding, and receives the frame data stream returned by the computing entity.
具体地, 移动终端将待解码的视频数据封装后发送至安装于计算实体 的客户端软件, 通过所述客户端软件调用计算实体的视频解码器进行数据 的解码处理, 并接收计算实体返回的帧数据流以进行播放。 其中, 移动终 端封装待解码的视频数据的处理为: 读取待解码的原始视频数据块以及相 关参数, 与本地的解码命令封装后, 分批转换为无线协议数据包的形式发 送至客户端软件等等。  Specifically, the mobile terminal encapsulates the video data to be decoded and sends the data to the client software installed in the computing entity, and the video decoder of the computing entity invokes the decoding process of the data by the client software, and receives the frame returned by the computing entity. The data stream is played for playback. The processing of the video data to be decoded by the mobile terminal is: reading the original video data block to be decoded and related parameters, and encapsulating with the local decoding command, and converting the batch to the wireless protocol data packet to the client software and many more.
图 2示出了本发明移动终端视频播放的实现方法一具体实施例的处理 流程, 如图 2所示, 所述实施例包括下述步驟: 2 is a diagram showing a process of implementing a video playback method of a mobile terminal according to an embodiment of the present invention. Flow, as shown in FIG. 2, the embodiment includes the following steps:
步驟 1 , 移动终端接收用户输入的开启近距无线连接请求, 开启自身的 近距无线连接功能;  Step 1: The mobile terminal receives the open short-range wireless connection request input by the user, and activates its short-range wireless connection function;
具体地, 移动终端的近距无线连接可以为蓝牙、 WIFI、 无线 USB等多 种方式。  Specifically, the short-range wireless connection of the mobile terminal may be in various manners such as Bluetooth, WIFI, and wireless USB.
步驟 2, 计算实体开启自身的近距无线连接;  Step 2: The computing entity turns on its own short-range wireless connection;
本步驟中, 计算实体可以为计算机等计算功能强大的设备; 具体地, 当计算实体接收到用户输入的开启近距无线连接请求时, 则开启自身的近 距无线连接功能。  In this step, the computing entity may calculate a powerful device for a computer or the like; specifically, when the computing entity receives the open proximity wireless connection request input by the user, the computing entity turns on its own short-range wireless connection function.
另外, 应当理解, 本步驟中计算实体是指: 位于移动终端近距无线连 接有效范围内的计算实体, 并且步驟 1和步驟 2在实现上是不区分先后顺 序的。  In addition, it should be understood that the computing entity in this step refers to: a computing entity located within the effective range of the short-range wireless connection of the mobile terminal, and steps 1 and 2 are implemented in an orderly manner.
步驟 3~4, 移动终端通过近距无线通信方式搜索临近区域的计算实体, 当搜索到计算实体时, 向所述计算实体发送无线连接请求;  Steps 3 to 4, the mobile terminal searches for a computing entity in the neighboring area by using a short-range wireless communication manner, and sends a wireless connection request to the computing entity when searching for the computing entity;
具体地, 移动终端在自身的近距无线连接的有效范围内搜索计算实体; 当搜索到同样开启近距无线连接的计算实体时, 可以向该计算实体发送无 线连接请求。  Specifically, the mobile terminal searches for a computing entity within the effective range of its own close wireless connection; when searching for a computing entity that also turns on the close wireless connection, a wireless connection request can be sent to the computing entity.
步驟 5~6,计算实体对接收到的无线连接请求进行验证,当验证通过时, 返回同意接入信息给所述移动终端, 此时移动终端与计算实体之间的无线 连接建立完成;  Steps 5-6: The computing entity verifies the received wireless connection request, and when the verification passes, returns the consent access information to the mobile terminal, and the wireless connection between the mobile terminal and the computing entity is completed.
具体地, 本步驟中, 所述计算实体对无线连接请求的验证还包括: 根 据自身的运行情况, 确定是否同意移动终端的接入请求, 当不同意时, 返 回不同意接入信息给所述移动终端;其中, 当计算实体的 CPU使用率较高、 运行进程数较多等情况时, 计算实体会返回不同意接入信息给所述移动终 端; 反之, 当计算实体的 CPU使用状态良好、运行进程数不太多的情况下, 计算实体返回同意接入信息给所述移动终端。 Specifically, in this step, the verification of the wireless connection request by the computing entity further includes: determining, according to the operation status of the mobile terminal, whether to agree to the access request of the mobile terminal, and when not agreeing, returning the disagreement access information to the a mobile terminal; wherein, when the CPU usage of the computing entity is high, and the number of running processes is high, the computing entity returns a disagreement to the mobile terminal; otherwise, when the CPU of the computing entity is in good use, In the case where the number of running processes is not too large, The computing entity returns the consent access information to the mobile terminal.
步驟 7, 移动终端与计算实体的无线连接建立完成后,推送自身预先存 储的客户端软件至计算实体;  Step 7, after the wireless connection between the mobile terminal and the computing entity is established, pushing the pre-stored client software to the computing entity;
本步驟中, 移动终端具体可以以文件形式推送客户端软件给所述计算 实体; 其中, 该客户端软件可以预先内置于移动终端的文件管理区内, 随 同移动终端软件一同发布给用户。  In this step, the mobile terminal may specifically push the client software to the computing entity in a file format; wherein the client software may be pre-built in the file management area of the mobile terminal and distributed to the user along with the mobile terminal software.
步驟 8, 计算实体安装运行接收到的客户端软件, 安装完成后, 返回已 安装信息给移动终端; 移动终端接收到所述已安装信息后, 启动自身的传 输适配任务子模块, 此时, 移动终端和计算实体之间的视频服务连接建立 完成;  Step 8: Calculate the client software received by the entity installation and operation. After the installation is completed, return the installed information to the mobile terminal. After receiving the installed information, the mobile terminal starts its own transmission adaptation task sub-module. The video service connection between the mobile terminal and the computing entity is established;
本步驟中, 客户端软件在计算实体运行后, 主要用于负责与计算实体 的无线任务模块之间交换数据, 并调用计算实体的视频解码器, 执行移动 终端发来的数据解码等命令;  In this step, after the computing entity runs, the client software is mainly used to exchange data with the wireless task module of the computing entity, and call the video decoder of the computing entity to execute data decoding commands sent by the mobile terminal;
另外, 当计算实体检测到自身已安装有所述移动终端推送的客户端软 件时, 则无需再安装收到的客户端软件, 直接运行自身已安装的客户端软 件, 并发送已安装信息给所述移动终端。  In addition, when the computing entity detects that the client software pushed by the mobile terminal is installed, it is no longer necessary to install the received client software, directly run the installed client software, and send the installed information to the office. The mobile terminal.
当计算实体检测到自身已安装的所述移动终端的客户端软件版本低于 接收到的客户端软件时, 可以自动进行更新, 更新完成后, 返回已安装信 息给所述移动终端。  When the computing entity detects that the client software version of the mobile terminal that it has installed is lower than the received client software, the update may be automatically performed. After the update is completed, the installed information is returned to the mobile terminal.
步驟 9, 移动终端接收到用户输入的远程视频解码模式选择信息后, 启 用远程视频解码模式;  Step 9. After receiving the remote video decoding mode selection information input by the user, the mobile terminal enables the remote video decoding mode.
具体地, 本步驟中, 移动终端的视频播放器模块为用户提供视频解码 模式选择功能, 其包括本地视频解码模式和远程视频解码模式; 当移动终 端接收到远程视频解码模式选择信息时, 移动终端启用远程视频解码模式, 停止数字信号处理器 (Digital Signal Processor, DSP )软件任务, 切断该 DSP与 CPU之间的数据通信; 同时, 为了节省移动终端的功耗, 可以选择 将所述 DSP置于休眠状态。 Specifically, in this step, the video player module of the mobile terminal provides a video decoding mode selection function for the user, including a local video decoding mode and a remote video decoding mode; when the mobile terminal receives the remote video decoding mode selection information, the mobile terminal Enable remote video decoding mode, stop the digital signal processor (DSP) software task, cut off the Data communication between the DSP and the CPU; meanwhile, in order to save power consumption of the mobile terminal, the DSP may be placed in a sleep state.
步驟 10~11 , 移动终端启动自身的虚拟协处理器任务模块,对待解码的 视频数据进行处理, 并将处理得到的数据发送给计算实体;  Step 10~11, the mobile terminal starts its own virtual coprocessor task module, processes the decoded video data, and sends the processed data to the computing entity;
具体地, 移动终端启动虚拟协处理器任务模块后, 虚拟协处理器任务 模块接收 CPU发来的待解码的视频数据, 进行緩沖处理后, 将緩沖得到的 视频数据与本地的解码命令封装成数据包的格式发送给传输适配任务子模 块; 传输适配任务子模块对接收到的数据进行无线协议数据格式转化后, 发送至移动终端的无线任务模块, 移动终端的无线任务模块与计算实体的 无线任务模块进行无线数据通信, 将数据发送至计算实体。  Specifically, after the mobile terminal starts the virtual coprocessor task module, the virtual coprocessor task module receives the video data to be decoded sent by the CPU, and performs buffer processing, and encapsulates the buffered video data and the local decoding command into data. The format of the packet is sent to the transmission adaptation task sub-module; after the transmission adaptation task sub-module converts the received data into a wireless protocol data format, the wireless task module is sent to the mobile terminal, and the wireless task module and the computing entity of the mobile terminal The wireless task module performs wireless data communication and sends the data to the computing entity.
步驟 12~13,计算实体的无线任务模块将接收到的数据发送至客户端软 件, 客户端软件调用计算实体的本地视频解码器进行视频数据的解码, 并 返回得到的帧数据流给移动终端;  Steps 12-13, the wireless task module of the computing entity sends the received data to the client software, and the client software invokes the local video decoder of the computing entity to decode the video data, and returns the obtained frame data stream to the mobile terminal;
具体地, 客户端软件对接收到的数据进行数据格式转换后, 调用本地 视频解码器进行实际解码处理, 根据计算实体当前的解码设置, 本地的视 频解码器最终利用计算实体的 CPU进行软件解码, 或利用计算实体的显卡 进行硬件解码, 并将解码得到的帧数据流返回给客户端软件, 客户端软件 调用计算实体的无线任务模块将所述帧数据流返回给移动终端。  Specifically, after the client software performs data format conversion on the received data, the local video decoder is called to perform actual decoding processing. According to the current decoding setting of the computing entity, the local video decoder finally uses the CPU of the computing entity to perform software decoding. Or using the graphics card of the computing entity for hardware decoding, and returning the decoded frame data stream to the client software, and the client software calling the computing entity's wireless task module returns the frame data stream to the mobile terminal.
步驟 14, 移动终端处理接收到的帧数据流, 并通过本地的视频播放器 进行播放;  Step 14. The mobile terminal processes the received frame data stream and plays it through a local video player.
具体地, 移动终端的无线任务模块将帧数据流发送至传输适配任务子 模块, 传输适配任务子模块将无线协议数据格式的帧数据流转化为虚拟协 处理器任务模块可处理的数据格式后, 将转化得到的帧数据流发送至虚拟 协处理器任务模块, 由虚拟协处理器任务模块对接收到的帧数据流进行緩 沖加速等处理后, 将最终得到的数据提供给移动终端的视频播放器, 通过 该视频播放器调用移动终端本地的液晶显示屏(LCD )等硬件进行播放。 另夕卜,当移动终端的 CPU检测到步驟 8中建立的视频服务连接断开时, 会将远程视频解码模式切换为本地视频解码模式, 关闭虚拟协处理器任务 模块及传输适配任务子模块, 并唤醒 DSP, 启动 DSP软件任务; 其中, 视 频服务连接断开可以是接收到用户输入的终止远程视频解码模式的消息、 或是检测到移动终端不在所述计算实体的服务范围内、 或是计算实体终止 为移动终端提供远程视频解码服务等情况。 Specifically, the wireless task module of the mobile terminal sends the frame data stream to the transmission adaptation task sub-module, and the transmission adaptation task sub-module converts the frame data stream of the wireless protocol data format into a data format that can be processed by the virtual coprocessor task module. After that, the converted frame data stream is sent to the virtual coprocessor task module, and after the virtual coprocessor task module buffers and receives the received frame data stream, the final obtained data is provided to the video of the mobile terminal. Player, through The video player calls hardware such as a liquid crystal display (LCD) local to the mobile terminal for playback. In addition, when the CPU of the mobile terminal detects that the video service connection established in step 8 is disconnected, the remote video decoding mode is switched to the local video decoding mode, and the virtual coprocessor task module and the transmission adaptation task sub-module are closed. And waking up the DSP to start the DSP software task; wherein, the disconnection of the video service may be a message that terminates the remote video decoding mode input by the user, or detects that the mobile terminal is not in the service scope of the computing entity, or The computing entity terminates the provision of a remote video decoding service for the mobile terminal.
图 3示出了本发明移动终端的组成结构, 如图 3所示, 所述移动终端 包括无线任务模块 31、 CPU 32、 DSP任务模块 33、 视频服务连接模块 34 以及虚拟协处理器任务模块 35; 其中,  3 shows a composition of a mobile terminal of the present invention. As shown in FIG. 3, the mobile terminal includes a wireless task module 31, a CPU 32, a DSP task module 33, a video service connection module 34, and a virtual coprocessor task module 35. ; among them,
无线任务模块 31 , 用于接收所述计算实体的客户端软件调用计算实体 的视频解码器对视频数据进行解码得到的帧数据流;  a wireless task module 31, configured to receive, by the client software of the computing entity, a frame data stream obtained by decoding a video data by a video decoder of a computing entity;
视频服务连接模块 34, 用于与计算实体建立视频服务连接;  a video service connection module 34, configured to establish a video service connection with the computing entity;
虚拟协处理器任务模块 35 , 用于将待解码的视频数据通过无线任务模 块 31发送至安装于计算实体的客户端软件。  The virtual coprocessor task module 35 is configured to send the video data to be decoded to the client software installed in the computing entity through the wireless task module 31.
进一步地, 无线任务模块 31 , 具体用于搜索计算实体, 向搜索到的计 算实体发送无线连接请求, 当接收到所述计算实体返回的同意接入信息后, 建立与所述计算实体的无线连接。  Further, the wireless task module 31 is specifically configured to search for a computing entity, send a wireless connection request to the searched computing entity, and establish a wireless connection with the computing entity after receiving the agreed access information returned by the computing entity. .
进一步地, 视频服务连接模块 34, 还包括传输适配任务子模块 341 ; 其中, 视频服务连接模块 34, 具体用于向已建立无线连接的计算实体推送 预先存储的客户端软件, 并在接收到计算实体返回的已安装客户端软件信 息后, 触发所述传输适配任务子模块 341 , 完成与计算实体视频服务连接的 建立。  Further, the video service connection module 34 further includes a transmission adaptation task sub-module 341. The video service connection module 34 is specifically configured to push the pre-stored client software to the computing entity that has established the wireless connection, and receive the After calculating the installed client software information returned by the entity, the transmission adaptation task sub-module 341 is triggered to complete the establishment of the connection with the computing entity video service.
进一步地, CPU 32, 用于接收到用户输入的远程视频解码模式选择信 息后, 启用远程视频解码模式, 停止移动终端的 DSP任务模块 33的 DSP 软件任务, 切断 CPU 32和 DSP任务模块 33的 DSP的数据通信, 将所述 DSP置于休眠状态。 Further, the CPU 32 is configured to: after receiving the remote video decoding mode selection information input by the user, enable the remote video decoding mode, and stop the DSP of the DSP task module 33 of the mobile terminal. The software task, cutting off the data communication between the CPU 32 and the DSP of the DSP task module 33, puts the DSP into a sleep state.
进一步地, 所述虚拟协处理器任务模块 35 , 具体用于接收 CPU 32发 送的待解码的视频数据, 进行緩沖处理后, 将视频数据与本地的解码命令 封装成数据包的格式发送给传输适配任务子模块 341;  Further, the virtual coprocessor task module 35 is specifically configured to receive the video data to be decoded sent by the CPU 32, and perform buffer processing, and then package the video data and the local decoding command into a data packet format and send the data to the transmission. With task sub-module 341;
传输适配任务子模块 341 ,具体用于将接收到的数据进行无线协议数据 格式转化后, 发送至无线任务模块 31 ;  The transmission adaptation task sub-module 341 is specifically configured to convert the received data into a wireless protocol data format and send it to the wireless task module 31;
无线任务模块 31 , 具体用于将接收到的数据发送至计算实体的无线任 务模块; 其中, 计算实体将接收到的数据发送至客户端软件, 客户端软件 调用计算实体的本地的视频解码器进行视频数据的解码等, 并返回得到的 帧数据流给移动终端;  The wireless task module 31 is specifically configured to send the received data to the wireless task module of the computing entity; wherein, the computing entity sends the received data to the client software, and the client software invokes the local video decoder of the computing entity to perform Decoding video data, etc., and returning the obtained frame data stream to the mobile terminal;
具体地, 客户端软件对接收到的数据进行数据格式转换后, 调用本地 视频解码器进行实际解码处理, 根据计算实体当前的解码设置, 本地的视 频解码器最终利用计算实体的 CPU进行软件解码, 或利用计算实体的显卡 进行硬件解码, 并将解码得到的帧数据流返回给客户端软件, 客户端软件 调用计算实体的无线任务模块将所述帧数据流返回给移动终端;  Specifically, after the client software performs data format conversion on the received data, the local video decoder is called to perform actual decoding processing. According to the current decoding setting of the computing entity, the local video decoder finally uses the CPU of the computing entity to perform software decoding. Or performing hardware decoding using the graphics card of the computing entity, and returning the decoded frame data stream to the client software, and the client software invokes the wireless task module of the computing entity to return the frame data stream to the mobile terminal;
移动终端的无线任务模块 31将接收到的帧数据流发送至传输适配任务 子模块 341 ,传输适配任务子模块 341将无线协议数据格式的数据转化为虚 拟协处理器任务模块 35可处理的数据格式后, 将转化得到的帧数据流发送 至虚拟协处理器任务模块 35 ,由虚拟协处理器任务模块 35对接收到的帧数 据流进行緩沖加速等处理后, 将最终得到的数据提供给移动终端的视频播 放器, 通过该视频播放器调用移动终端本地的 LCD等硬件进行播放。  The wireless task module 31 of the mobile terminal sends the received frame data stream to the transmission adaptation task sub-module 341, and the transmission adaptation task sub-module 341 converts the data in the wireless protocol data format into a virtual coprocessor task module 35. After the data format, the converted frame data stream is sent to the virtual coprocessor task module 35, and the virtual coprocessor task module 35 performs buffer acceleration processing on the received frame data stream, and then provides the final data to the data. The video player of the mobile terminal is played by the video player by calling hardware such as a LCD of the mobile terminal.
进一步地, 所述 CPU 32, 还用于检测到视频服务连接模块 34的视频 服务连接断开时, 将远程视频解码模式切换为本地视频解码模式, 关闭虚 拟协处理器任务模块 35及视频服务连接模块 34,并启动 DSP任务模块 33 , 具体为唤醒 DSP, 启动 DSP软件任务。 Further, the CPU 32 is further configured to: when detecting that the video service connection of the video service connection module 34 is disconnected, switch the remote video decoding mode to the local video decoding mode, and close the virtual coprocessor task module 35 and the video service connection. Module 34, and starts the DSP task module 33, Specifically, to wake up the DSP, start the DSP software task.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种移动终端视频播放的实现方法, 其特征在于, 所述方法包括: 移动终端与计算实体建立视频服务连接;  A method for implementing video playback of a mobile terminal, the method comprising: the mobile terminal establishing a video service connection with a computing entity;
移动终端将待解码的视频数据发送至安装于计算实体的客户端软件, 通过所述客户端软件调用计算实体的视频解码器进行数据解码, 并接收计 算实体返回的帧数据流。  The mobile terminal sends the video data to be decoded to the client software installed in the computing entity, and the video decoder of the computing entity is called by the client software to perform data decoding, and receives the frame data stream returned by the computing entity.
2、 根据权利要求 1所述的方法, 其特征在于, 所述移动终端与计算实 体建立视频服务连接之前, 所述方法还包括:  The method according to claim 1, wherein the method further comprises: before the establishing, by the mobile terminal, the video service connection with the computing entity, the method further comprising:
移动终端利用近距无线通信方式搜索计算实体;  The mobile terminal searches for a computing entity by using a short-range wireless communication method;
移动终端向搜索到的计算实体发送无线连接请求, 当接收到所述计算 实体返回的同意接入信息后, 建立与所述计算实体的无线连接。  The mobile terminal sends a wireless connection request to the searched computing entity, and upon receiving the agreed access information returned by the computing entity, establishes a wireless connection with the computing entity.
3、 根据权利要求 1所述的方法, 其特征在于, 所述移动终端与计算实 体建立视频服务连接为:  3. The method according to claim 1, wherein the mobile terminal establishes a video service connection with the computing entity as:
移动终端向已建立无线连接的计算实体推送预先存储的客户端软件; 移动终端接收到所述计算实体返回的已安装客户端软件信息后, 启动 自身的传输适配任务子模块, 完成与计算实体视频服务连接的建立。  The mobile terminal pushes the pre-stored client software to the computing entity that has established the wireless connection; after receiving the installed client software information returned by the computing entity, the mobile terminal starts its own transmission adaptation task sub-module, completes and calculates the entity. The establishment of a video service connection.
4、 根据权利要求 1至 3任一项所述的方法, 其特征在于, 所述移动终 端与计算实体建立视频服务连接之后, 所述方法还包括:  The method according to any one of claims 1 to 3, wherein after the mobile terminal establishes a video service connection with the computing entity, the method further includes:
移动终端接收到用户输入的远程视频解码模式选择信息后, 启用远程 视频解码模式;  After receiving the remote video decoding mode selection information input by the user, the mobile terminal enables the remote video decoding mode;
停止移动终端的数字信号处理器 DSP软件任务, 切断移动终端的 CPU 和 DSP的数据通信, 并将所述 DSP置于休眠状态。  Stop the digital signal processor DSP software task of the mobile terminal, cut off the data communication between the CPU and DSP of the mobile terminal, and put the DSP into a sleep state.
5、 根据权利要求 4所述的方法, 其特征在于, 所述移动终端将待解码 的视频数据发送至安装于计算实体的客户端软件, 通过所述客户端软件调 用计算实体的视频解码器进行数据解码为: 移动终端启动自身的虚拟协处理器任务模块, 接收自身 CPU发送的待 解码的视频数据, 进行緩沖处理后, 将视频数据与本地的解码命令封装成 数据包的格式发送给传输适配任务子模块; The method according to claim 4, wherein the mobile terminal sends the video data to be decoded to the client software installed in the computing entity, and the video decoder of the computing entity is called by the client software. The data is decoded as: The mobile terminal starts its own virtual coprocessor task module, receives the video data to be decoded sent by its own CPU, performs buffer processing, and encapsulates the video data and the local decoding command into a data packet format and sends the data to the transmission adaptation task sub-module. ;
所述传输适配任务子模块对接收到的数据进行无线协议数据格式转化 后, 发送至移动终端的无线任务模块, 由所述无线任务模块发送至计算实 体的无线任务模块;  After the transmission adaptation task sub-module performs the wireless protocol data format conversion on the received data, the wireless task module sent to the mobile terminal is sent by the wireless task module to the wireless task module of the computing entity;
计算实体的无线任务模块将接收到的数据发送给客户端软件, 由所述 客户端软件调用计算实体的视频解码器进行视频数据的解码。  The wireless task module of the computing entity sends the received data to the client software, and the client software invokes the video decoder of the computing entity to decode the video data.
6、 根据权利要求 5所述的方法, 其特征在于, 所述方法还包括: 移动终端检测到视频服务连接断开时, 将远程视频解码模式切换为本 地视频解码模式, 关闭自身的虚拟协处理器任务模块、 及传输适配任务子 模块, 并唤醒移动终端的 DSP, 启动 DSP软件任务。  The method according to claim 5, wherein the method further comprises: when the mobile terminal detects that the video service connection is disconnected, switching the remote video decoding mode to the local video decoding mode, and shutting down its own virtual co-processing The task module and the transmission adaptation task sub-module, and wake up the DSP of the mobile terminal to start the DSP software task.
7、 一种移动终端, 包括无线任务模块、 CPU及 DSP任务模块, 其特 征在于, 所述移动终端还包括: 视频服务连接模块、 虚拟协处理器任务模 块; 其中,  A mobile terminal, comprising a wireless task module, a CPU, and a DSP task module, wherein the mobile terminal further comprises: a video service connection module and a virtual coprocessor task module;
视频服务连接模块, 用于与计算实体建立视频服务连接;  a video service connection module, configured to establish a video service connection with a computing entity;
虚拟协处理器任务模块, 用于将待解码的视频数据通过所述无线任务 模块发送至安装于计算实体的客户端软件;  a virtual coprocessor task module, configured to send video data to be decoded to the client software installed in the computing entity by using the wireless task module;
无线任务模块, 用于接收所述计算实体的客户端软件调用计算实体的 视频解码器对视频数据进行解码得到的帧数据流。  And a wireless task module, configured to receive, by the client software of the computing entity, a frame data stream obtained by decoding a video data by a video decoder of the computing entity.
8、根据权利要求 7所述的移动终端,其特征在于, 所述无线任务模块, 具体用于搜索计算实体, 向搜索到的计算实体发送无线连接请求, 当接收 到所述计算实体返回的同意接入信息后, 建立与所述计算实体的无线连接。  The mobile terminal according to claim 7, wherein the wireless task module is specifically configured to search for a computing entity, and send a wireless connection request to the searched computing entity, when receiving the consent returned by the computing entity After accessing the information, a wireless connection is established with the computing entity.
9、 根据权利要求 7所述的移动终端, 其特征在于, 所述视频服务连接 模块还包括传输适配任务子模块; 其中, 视频服务连接模块, 具体用于向已建立无线连接的计算实体推送预先 存储的客户端软件, 并在接收到计算实体返回的已安装客户端软件信息后, 触发所述传输适配任务子模块, 完成与计算实体视频服务连接的建立。 The mobile terminal according to claim 7, wherein the video service connection module further comprises a transmission adaptation task sub-module; The video service connection module is configured to: push the pre-stored client software to the computing entity that has established the wireless connection, and trigger the transmission adaptation task sub-module after receiving the installed client software information returned by the computing entity, Complete the establishment of a connection to the computing entity video service.
10、 根据权利要求 7至 9任一项所述的移动终端, 其特征在于, 所述 The mobile terminal according to any one of claims 7 to 9, wherein
CPU, 用于接收到用户输入的远程视频解码模式选择信息后, 启用远程视 频解码模式, 停止所述 DSP任务模块的 DSP软件任务, 切断 CPU和所述 DSP任务模块的 DSP的数据通信, 并将所述 DSP置于休眠状态。 a CPU, configured to: after receiving the remote video decoding mode selection information input by the user, enable the remote video decoding mode, stop the DSP software task of the DSP task module, cut off the data communication between the CPU and the DSP of the DSP task module, and The DSP is placed in a sleep state.
11、 根据权利要求 10所述的移动终端, 其特征在于, 所述虚拟协处理 器任务模块, 具体用于接收 CPU发送的待解码的视频数据, 进行緩沖处理 后, 将视频数据与解码命令封装成数据包的格式发送给传输适配任务子模 块;  The mobile terminal according to claim 10, wherein the virtual coprocessor task module is specifically configured to receive video data to be decoded sent by the CPU, and after buffering, package the video data and the decoding command. The format of the data packet is sent to the transmission adaptation task sub-module;
传输适配任务子模块, 具体用于将接收到的数据进行无线协议数据格 式转化后, 发送至无线任务模块;  The transmission adaptation task sub-module is specifically configured to perform the wireless protocol data format conversion on the received data, and then send the data to the wireless task module;
无线任务模块, 具体用于将接收到的数据发送至计算实体的无线任务 模块。  The wireless task module is specifically configured to send the received data to a wireless task module of the computing entity.
12、 根据权利要求 11所述的移动终端, 其特征在于, 所述 CPU, 还用 于检测到视频服务连接模块的视频服务连接断开时, 将远程视频解码模式 切换为本地视频解码模式, 关闭虚拟协处理器任务模块及视频服务连接模 块, 并唤醒 DSP, 启动 DSP软件任务。  The mobile terminal according to claim 11, wherein the CPU is further configured to switch the remote video decoding mode to the local video decoding mode when the video service connection of the video service connection module is disconnected. The virtual coprocessor task module and the video service connection module wake up the DSP and start the DSP software task.
PCT/CN2011/078772 2010-12-15 2011-08-23 Mobile terminal and video playing method therefor WO2012079385A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010590881.9 2010-12-15
CN2010105908819A CN102098511A (en) 2010-12-15 2010-12-15 Mobile terminal and video playing realization method thereof

Publications (1)

Publication Number Publication Date
WO2012079385A1 true WO2012079385A1 (en) 2012-06-21

Family

ID=44131349

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078772 WO2012079385A1 (en) 2010-12-15 2011-08-23 Mobile terminal and video playing method therefor

Country Status (2)

Country Link
CN (1) CN102098511A (en)
WO (1) WO2012079385A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098511A (en) * 2010-12-15 2011-06-15 中兴通讯股份有限公司 Mobile terminal and video playing realization method thereof
CN102098512A (en) * 2010-12-15 2011-06-15 中兴通讯股份有限公司 Mobile terminal and video display realizing method thereof
CN102096700A (en) * 2010-12-15 2011-06-15 中兴通讯股份有限公司 Mobile terminal and implementation method of browser of same
CN103237215B (en) * 2013-04-17 2016-12-28 华为技术有限公司 Player method and playback equipment
CN104639501B (en) * 2013-11-07 2018-11-16 华为技术有限公司 A kind of method of data stream transmitting, equipment and system
CN110493351B (en) * 2019-08-28 2021-01-08 视联动力信息技术股份有限公司 Video networking access method, device, equipment and storage medium
CN114095781A (en) * 2021-11-02 2022-02-25 北京鲸鲮信息系统技术有限公司 Multimedia data processing method and device, electronic equipment and storage medium
CN114579288B (en) * 2022-05-09 2022-09-02 成都登临科技有限公司 Task processing method and device and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988614A (en) * 2006-12-06 2007-06-27 赵建奇 Video frequency signal repeating system based on mobile terminal
CN101232601A (en) * 2008-01-16 2008-07-30 中山大学 Numeral family network flow medium transmitting method based on blue tooth communication technology
CN101848368A (en) * 2010-02-02 2010-09-29 深圳市同洲电子股份有限公司 Method, system and digital television terminal for watching digital television programs
CN102098511A (en) * 2010-12-15 2011-06-15 中兴通讯股份有限公司 Mobile terminal and video playing realization method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040207719A1 (en) * 2003-04-15 2004-10-21 Tervo Timo P. Method and apparatus for exploiting video streaming services of mobile terminals via proximity connections
CN1889595A (en) * 2006-05-22 2007-01-03 松讯达中科电子(深圳)有限公司 Mobile terminal data information lead-in and lead-out method
CN101615168A (en) * 2009-08-04 2009-12-30 上海华勤通讯技术有限公司 Utilize system and its implementation of computer to handle mobile terminal data
CN101834894A (en) * 2010-04-19 2010-09-15 中兴通讯股份有限公司 Method, device and system for remote processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988614A (en) * 2006-12-06 2007-06-27 赵建奇 Video frequency signal repeating system based on mobile terminal
CN101232601A (en) * 2008-01-16 2008-07-30 中山大学 Numeral family network flow medium transmitting method based on blue tooth communication technology
CN101848368A (en) * 2010-02-02 2010-09-29 深圳市同洲电子股份有限公司 Method, system and digital television terminal for watching digital television programs
CN102098511A (en) * 2010-12-15 2011-06-15 中兴通讯股份有限公司 Mobile terminal and video playing realization method thereof

Also Published As

Publication number Publication date
CN102098511A (en) 2011-06-15

Similar Documents

Publication Publication Date Title
WO2012079385A1 (en) Mobile terminal and video playing method therefor
WO2012079388A1 (en) Mobile terminal and video playing method therefor
US9172741B2 (en) Mobile terminal and method for implementing browser thereof
US9066124B2 (en) Video/audio switching in a computing device
CN101893926B (en) Method, device and terminal for controlling switching of dual processor
WO2012079367A1 (en) Mobile terminal and audio playing method therefor
WO2012079331A1 (en) Mobile terminal and calculation method thereof
WO2021143182A1 (en) Game processing method and apparatus, electronic device, and computer-readable storage medium
WO2021179931A1 (en) Url screen projection method and apparatus
JP5692354B2 (en) Wireless communication apparatus and wireless communication method
WO2012079366A1 (en) Mobile terminal and audio playing method therefor
WO2012065415A1 (en) Terminal, system and service providing method based on virtualization techniques
WO2010133115A1 (en) Method for reducing power consumption of wapi mobile terminal and wapi mobile terminal
WO2012079386A1 (en) Mobile terminal and browser method therefor
WO2012079327A1 (en) Mobile terminal and calculation method thereof
WO2014134999A1 (en) Method and system for processing audio data
WO2012151998A1 (en) Data processing method and drive apparatus for mobile broadband device
US20080008161A1 (en) Voice communication device for providing cellular and voice over wireless local area network (VoWLAN) communication using a single microprocessor
US20080008142A1 (en) Voice communication device for providing voice over wireless local area network (VoWLAN) communication using a single microprocessor
KR100596920B1 (en) Method for controlling the two codec of mobile phone
CN103813421A (en) Intelligent mobile terminal electricity-saving method and intelligent mobile terminal
US20100325328A1 (en) Portable terminal, server, and method for realizing function of portable terminal using network
CN202930020U (en) Wireless KTV order system
CN203691562U (en) Structure for transmitting video from smart phone to high-definition television
US20070086346A1 (en) MAC protection

Legal Events

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

Ref document number: 11849284

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11849284

Country of ref document: EP

Kind code of ref document: A1