CN104837064B - Media player control method of open operating systems and media players - Google Patents

Media player control method of open operating systems and media players Download PDF

Info

Publication number
CN104837064B
CN104837064B CN201510186274.9A CN201510186274A CN104837064B CN 104837064 B CN104837064 B CN 104837064B CN 201510186274 A CN201510186274 A CN 201510186274A CN 104837064 B CN104837064 B CN 104837064B
Authority
CN
China
Prior art keywords
user interface
interface event
thread
media player
play
Prior art date
Application number
CN201510186274.9A
Other languages
Chinese (zh)
Other versions
CN104837064A (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 CN201510186274.9A priority Critical patent/CN104837064B/en
Publication of CN104837064A publication Critical patent/CN104837064A/en
Application granted granted Critical
Publication of CN104837064B publication Critical patent/CN104837064B/en

Links

Abstract

本申请公开了种开放式操作系统的媒体播放器的控制方法及媒体播放器。 The present application discloses a method of controlling a media player and seed open operating system and the media player. 该方法包括:当媒体播放器准备播放媒体文件时,创建用户接口事件处理线程和用户接口事件队列,并启动用户接口事件处理线程;及每当接收到用户接口操作时,将该用户接口操作对应的用户接口事件写入用户接口事件队列中;其中,用户接口事件处理线程从用户接口事件队列中依次读取用户接口事件,执行用户接口事件对应的操作。 The method includes: when the media player is ready to play a media file, create a user interface event processing thread and a user interface event queue, and starts user interface event processing thread; and every time it receives the operation to the user interface, the user interface corresponding to the operation the user interface event queue write user interface event; wherein the user interface event processing thread from the user interface event queue read sequentially user interface event, performing an operation corresponding to the user interface event. 利用这些技术方案,能够提高中央处理器(CPU)利用率,有效减少播放错误的出现。 With these technical solutions can improve the central processing unit (CPU) utilization, reduce playback errors.

Description

开放式操作系统的媒体播放器的控制方法及媒体播放器 Media player control method of open operating systems and media players

技术领域 FIELD

[0001]本申请涉及媒体播放技术领域,尤其涉及一种应用于开放式操作系统的媒体播放器的控制方法及媒体播放器。 [0001] The present application relates to media technology, and more particularly relates to a control method applied to an open operating system for the media player and the media player.

背景技术 Background technique

[0002]为了满足用户的视频播放需求,在用户终端上安装的操作系统往往会提供自带的系统播放器,用于播放诸如音频、视频等媒体文件。 [0002] In order to meet the needs of users play the video, the user terminals installed in the operating system's own systems tend to provide the player, such as for playing audio, video and other media files.

[0003]在开放式操作系统中,例如安卓系统,系统播放器直接调用操作系统中播放器内核来执行用户对系统播放器的一些操作,例如点击开始播放的图标或按钮、点击暂停播放的图标或按钮等。 [0003] In an open operating systems such as Android system plays directly call the operating system player kernel to perform user some operating system of the player, such as an icon or a button to click to start playing, click the Pause icon to play or buttons. 由于安卓系统中源代码的开放性以及用户终端中硬件的多样性,用户在使用系统播放器播放媒体文件时,常常出现失败或者卡住等现象,播放错误率较高,例如, 在播放器上无法播放视频、在播放视频期间突然出错或者在用户对系统播放器进行操作后卡住,无任何响应,从而降低了用户终端的资源利用率,影响了用户的体验。 Since the opening as well as source code in a user terminal hardware Andrews diversity, using the system user when the player to play media files, there are often failed or stuck phenomenon, the error rate is high play, for example, on the player video can not be played, a sudden error while playing a video or jammed in the system after the user operates the player, no response, which reduces the resource utilization of the user terminal, affect the user experience.

发明内容 SUMMARY

[0004] 本发明提供了一种开放式操作系统的媒体播放器的控制方法及媒体播放器,能够提高中央处理器(CPU)利用率,有效减少播放错误的出现。 [0004] The present invention provides a method of controlling a media player and a media player of an open operating system, it is possible to improve the central processor (CPU) utilization, reduce playback errors.

[0005] 本发明的技术方案是这样实现的: [0005] aspect of the present invention is implemented as follows:

[0006] 本发明提供了一种开放式操作系统的媒体播放器的控制方法,当媒体播放器准备播放一媒体文件时,创建用户接口事件处理线程和用户接口事件队列,并启动用户接口事件处理线程;及每当接收到一用户接口操作时,将该用户接口操作对应的用户接口事件写入用户接口事件队列中;其中,用户接口事件处理线程从用户接口事件队列中依次读取用户接口事件,执行用户接口事件对应的操作。 [0006] The present invention provides a control method of the media player of an open operating system, when the media player is ready to play a media file, create a user interface event processing threads and the user interface event queue and start processing the user interface event thread; and each time receiving a user interface operations, the operation of the user interface corresponding to user interface event queue write user interface event; wherein the user interface event processing thread reads the user interface event from the user interface event queue sequentially , user interface events to perform the corresponding operation.

[0007] 本发明还提供了一种媒体播放器,包括:创建模块,用于当媒体播放器准备播放一媒体文件时,创建用户接口事件处理线程和用户接口事件队列;启动模块,用于启动用户接口事件处理线程;接收模块,用于接收用户接口操作,每当接收到一用户接口操作就将该用户接口操作对应的用户接口事件触发到写入模块;及写入模块,用于每当从接收模块接收到一用户接口事件就将该用户接口事件写入用户接口事件队列中;其中,用户接口事件处理线程从用户接口事件队列中依次读取用户接口事件,并执行用户接口事件对应的操作。 [0007] The present invention further provides a media player, comprising: a creating module, configured to, when the media player is ready to play a media file, create a user interface event processing thread and a user interface event queue; starting module for starting user interface event processing thread; a receiving module, a user interface for receiving operation, whenever receiving a user interface for operating the user interface to trigger the user interface event corresponding to an operation to write module; and a writing module configured whenever receiving module receives from a user interface event is written to the user interface event user interface event queue; wherein the user interface event processing thread from the user interface event queue read sequentially user interface event, and executes the corresponding user interface event operating.

[0008] 本发明提供的开放式操作系统的媒体播放器的控制方法,通过创建和启动用户接口事件处理线程,提高了CPU利用率,有效减少播放失败、出错、无响应等错误的出现,同时提高了软件开发人员的开发效率,降低了开发成本。 [0008] The method of controlling a media player open operating system provided by the present invention, by creating and starting the user interface event processing thread, and the CPU resource, reduce play failures, errors, and other non-occurrence of the error response, while improve the development efficiency of software developers, reducing development costs.

附图说明 BRIEF DESCRIPTION

[0009] 图1为依据本发明一实施例的开放式操作系统的媒体播放器的控制方法的流程示意图; [0009] FIG. 1 is a schematic diagram of a flow control method of a media player open operating system according to an embodiment of the present invention;

[0010]图2为依据本发明一实施例的接收用户操作的界面示意图; [0010] FIG. 2 is a schematic diagram of a user interface receives an operation example of embodiment of the present invention;

[0011]图3为依据本发明另一实施例的开放式操作系统的媒体播放器的控制方法的流程不意图; [0011] FIG. 3 is a flow control method according to the media player open operating system according to another embodiment of the present invention is not intended;

[0012] 图4为依据本发明一实施例的媒体播放器的结构示意图; [0012] FIG. 4 is a schematic diagram of a structure of a media player according to an embodiment of the present invention;

[0013] 图5为依据本发明另一实施例的媒体播放器的结构示意图; [0013] FIG. 5 is a schematic diagram of a configuration of another embodiment of a media player according to the present invention;

[0014] 图6为依据本发明又一实施例的媒体播放器的结构示意图。 [0014] FIG. 6 is a schematic diagram of a media player according to another embodiment of the structure according to the present invention.

具体实施方式 Detailed ways

[0015] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。 [0015] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described embodiments are part of the embodiments of the present invention rather than all embodiments . 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without any creative effort shall fall within the scope of the present invention.

[0016] 本发明应用于开放式操作系统中自带的媒体播放器,当用户在电子设备上安装了一开放式操作系统,例如安卓系统,那么在安卓系统中自带的媒体播放器也被安装在该电子设备上,供用户使用来播放音频、视频等媒体文件。 [0016] The present invention is applied to the media player comes open operating system, when a user installs an open operating system on the electronic device, e.g. Andrew system, then the system comes Andrews media player is also mounted on the electronic device, for users to play audio, video and other media files.

[0017] 该媒体播放器可以位于基于开放式操作系统的单独的媒体播放设备,也可以位于任一具有媒体播放功能的基于开放式操作系统的电子设备,包括但不限于台式计算机、智能手机、掌上电脑、平板电脑、智能手机等。 [0017] The media player may be located on a separate media player device open operating system, may be located on either one having a media playback function based on an open operating system for an electronic device, including but not limited to, a desktop computer, a smart phone, handheld computers, tablet computers and smartphones.

[0018] 图1为依据本发明一实施例的开放式操作系统的媒体播放器的控制方法的流程示意图。 [0018] FIG. 1 is a schematic flow chart of a control method based on the media player open operating system according to an embodiment of the present invention. 参见图1,该方法包括: Referring to Figure 1, the method comprising:

[0019] 步骤101,当媒体播放器准备播放一媒体文件时,创建用户接口事件处理线程和用户接口事件队列,并启动用户接口事件处理线程。 [0019] In step 101, when the media player is ready to play a media file, create a user interface event processing threads and user interface event queue and start a user interface event processing thread.

[0020] 在操作系统中,线程(Thread)是指程序中一个单一的顺序控制流程,在单个程序中可以同时运行多个线程以并行完成不同的工作,称为多线程。 [0020] In the operating system, the thread (Thread) refers to a single program in the order of the control flow, can run multiple threads simultaneously in parallel in a single program to perform different jobs, called multithreading. 多个线程共享数据空间,每个线程有自己的一组CPU寄存器和堆桟,线程的运行需要使用计算机的内存资源和CPU。 Multiple threads share data space, each thread has its own set of CPU registers and stack Zhan, running thread needs to use the computer memory and CPU resources. [0021] 在本实施例中,对于媒体播放器,专门创建一个用户接口事件处理线程,用于处理用户接口事件。 [0021] In the present embodiment, the media player, create a dedicated user interface event processing thread for processing a user interface event. 例如,在安卓系统中,通过创建一个Thread类的实例,来创建一个新的线程。 For example, in the Android system, by creating an instance of the Thread class, to create a new thread. 同时,相应地,为该用户接口事件处理线程创建用户接口事件队列。 Meanwhile, accordingly, create a user interface event queue for the user interface event processing thread. 该用户接口事件队列是用于存放用户接口事件的数据结构,可以按照“先进先出”的原则存放用户接口事件,存放的方式可以是以链表的方式将用户接口事件串联起来。 The user interface event queue is used to store the data structure of user interface events, it can store user interface events according to the principle "first in first out" the way of storing the list of ways based on the user interface event series.

[0022]步骤102,每当接收到一用户接口操作时,将该用户接口操作对应的用户接口事件写入用户接口事件队列中,其中,用户接口事件处理线程从用户接口事件队列中依次读取用户接口事件,执行该用户接口事件对应的操作。 [0022] Step 102, whenever a user interface receiving the operation, the operation of the user interface corresponding to user interface event queue write user interface event, wherein the user interface event processing thread from the user interface event queue read sequentially user interface event, executing the operation corresponding user interface event.

[0023]与用户接口操作对应的用户接口事件包括:开始播放、暂停播放、停止播放(即播放结束)、前进播放、后退播放、快速前进播放、快速后退播放中的任一项或任意几项。 [0023] The operation with the user interface corresponding to user interface event comprising: start playback, pause playback, stop playback (i.e., end play), the forward play, backward play, fast forward playback, fast reverse playback of any one or any of several . 将这些用户接口事件写入用户接口事件队列中,并通知用户接口事件处理线程进行处理。 These events are written to the user interface user interface event queue, and notifies the user interface event processing thread for processing. 然后, 用户接口事件处理线程从用户接口事件队列中依次读取最前面的用户接口事件,执行该用户接口事件对应的操作。 Then, the user interface thread reads the foremost event processing user interface event from the user interface event queue sequentially, performing the operation corresponding user interface event.

[0024]在一实施例中,用户接口操作包括用户在媒体播放器的操作界面上进行的各种输入操作,还可以包括非用户操作的用户接口操作,例如媒体文件播放结束后自动停止播放。 [0024] In one embodiment, the user interface operation includes various input operations performed by a user on the user interface of the media player may further include a user interface for operating the non-user operation, for example, after the automatic stop playing a media file. 图2为依据本发明一实施例的用户操作界面200的示意图。 Figure 2 is a schematic view of a user interface according to an embodiment of the present invention 200. 用户在使用媒体放器时,可以在用户操作界面2〇〇上对媒体文件进行各种操作。 When using the media user preamplifier, various operations may be media files on the user interface 2〇〇. 如图2所示,在方框210中显示所播放的媒体文件的画面,在方框220中显示当前播放该媒体文件的时长“〇〇:45”以及总时长“05:13”,在方框230中显示了播放的进度,按钮240可以供用户滑动来将播放文件定位到其他位置,在方框250中提供了各种操作按钮,例如,播放、暂停、快进、快退,当媒体文件全部播放完毕时,则停止播放。 2, the media file playback screen is displayed in block 210, the display of the currently playing media file length "thousand and: 45" at block 220 and the total duration of "05:13", in the side box 230 shows the progress of playback, the button 240 may be positioned for the user to play the slide file to a different location, various operation buttons provided in block 250, for example, play, pause, fast forward, rewind, when the media when all file has finished playing, stop playing. 或者,也可以在用户操作界面200中不显示方框250中的各种操作按钮,而是根据用户的手势操作来接收用户操作。 Alternatively, various operation buttons are not displayed in block 250 in user interface 200, but receives a user operation according to a user gesture operation.

[0025]在本实施例中,当媒体播放器准备播放一媒体文件时,创建用户接口事件处理线程和用户接口事件队列,并启动用户接口事件处理线程,每当接收到一用户接口操作时,将该用户接口操作对应的用户接口事件写入用户接口事件队列中,其中,用户接口事件处理线程从用户接口事件队列中依次读取用户接口事件,执行该用户接口事件对应的操作,可以避免现有技术中直接调用播放器内核来执行用户接口事件,而是将这些用户接口事件分配给专门的用户接口事件处理线程进行处理,能够提高CPU利用率,有效减少播放失败、出错、无响应等错误的出现,同时简化了编程模型,提高了软件开发人员的开发效率,降低了开发成本。 [0025] In the present embodiment, when the media player is ready to play a media file, create a user interface event processing thread and a user interface event queue, and starts user interface event processing threads, each time receiving a user interface operations, the operation of the user interface corresponding to user interface event queue write user interface event, wherein the user interface event processing thread from the user interface event queue read sequentially user interface event, execution of the user interface event corresponding to the operation, can be avoided now art directly call the kernel to execute the player user interface event, but to assign them to user interface events dedicated user interface event processing thread for processing, can improve CPU utilization, reduce playback failure, error, error-free response, etc. the appearance, while simplifying the programming model, improve development efficiency of software developers, reducing development costs.

[0026]图3为依据本发明另一实施例的开放式操作系统的媒体播放器的控制方法的流程示意图。 [0026] FIG. 3 is a schematic flow chart of a control method based on the media player open operating system according to another embodiment of the present invention. 参见图3,该方法包括: Referring to Figure 3, the method comprising:

[0027]步骤301,当媒体播放器准备播放一媒体文件时,创建用户接口事件处理线程和用户接口事件队列,并启动用户接口事件处理线程。 [0027] In step 301, when the media player is ready to play a media file, create a user interface event processing threads and user interface event queue and start a user interface event processing thread.

[0028] 步骤301和步骤101描述相同,在此不再赘述。 [0028] Step 301 and step 101 described in the same, are not repeated here.

[0029]步骤302,当媒体播放器准备播放一媒体文件时,创建并启动播放位置管理线程, 其中,播放位置管理线程读取该媒体文件当前的播放位置并将所读取的播放位置存储于内存中。 [0029] Step 302, when the media player is ready to play a media file, creates and starts the playback position management thread, wherein the thread management of the playback position to read the current playback position and a playback position of the media file stored in the read memory.

[0030]媒体播放器在准备播放一媒体文件时,当与媒体文件相关的音频、视频、文字等数据准备好后,创建播放位置管理线程,并同时启动该播放位置管理线程。 [0030] When the media player is ready to play a media file, when the audio, video, text and other data associated with the media file is ready, create playlists location management thread and at the same time start the playback position management thread.

[0031]在一实施例中,播放位置管理线程每隔预定时间读取该媒体文件当前的播放位置,并将内存中存储的播放位置更新为当前读取的播放位置。 [0031] In one embodiment, thread management playback position every predetermined time to read the current position of playback of the media file, and the playback position stored in memory is updated to the current playback position is read. 例如,该预定时间可以为200 毫秒,这样播放位置管理线程每隔200毫秒会读取该媒体文件的当前播放位置,并更新内存中存储的播放位置。 For example, the predetermined time may be 200 ms, so that the play position every 200 milliseconds manager thread reads the current play location of the media file, and updates the player position stored in memory. 在具体应用时,预定时间的数值可以根据需求自行设定。 In a specific application, the value of the predetermined time may be set according to their own needs. 上述播放位置的信息可以指媒体文件的所播放的当前时长。 Information of the current playback position may refer to the length of the media file being played.

[0032]如图2所示的界面,播放位置管理线程读取的是媒体文件当前的播放位置,当媒体文件正在播放时,播放位置管理线程可以每隔2〇Oms读取媒体文件所播放的时长,例如按钮240所指的位置,然后存储到内存中。 Interface shown in [0032] FIG. 2, the playback position is read by the thread management of media files the current play position, when the media file is playing, playing position managing threads can read the media file being played every 2〇Oms duration, for example, the position of the button 240 referred to, and then stored in memory. 当读取到下一个播放位置时,将内存中存储的上一次播放位置更新为当前读取的播放位置。 When the read position to the next player, stored in the memory location on playback time to update the current playback position is read. 若媒体文件被暂停或者停止播放,那么播放位置管理线程每隔200ms读取媒体文件的播放位置将为同一数值。 If the media file is paused or stopped playing, the playback position management thread reads every 200ms media file playback position will be the same value.

[0033]步骤303,媒体播放器访问内存,获取播放位置,并通过用户界面输出播放位置。 [0033] Step 303, the media player to access the memory, acquires the playback position, the playback position and output through a user interface. [0034]在步骤3〇2中播放位置管理线程完成了对播放位置的读取和存储后,媒体播放器可以直接从系统内存中获取播放位置,然后在用户界面上显示该播放位置。 After [0034] completion of the reading and storing of the playback position in the playback position in step 3〇2 thread management, the media player can play position acquired directly from the system memory, and then displays the playback position on the user interface. 例如,在图2所示的方框220中以时长的方式显示所获取的当前播放位置,即“00:45”。 For example, it displays the current playback position acquired, i.e., "00:45" In the long block 220 in a manner shown in FIG. 2.

[0035] 步骤304,每当接收到一用户接口操作时,将该用户接口操作对应的用户接口事件写入用户接口事件队列中,并为每个用户接口事件设置对应的预定等待时间,其中,用户接口事件处理线程从用户接口事件队列中依次读取用户接口事件,执行用户接口事件对应的操作。 [0035] Step 304, whenever a user interface receiving the operation, the operation of the user interface corresponding to user interface event queue write user interface event, and a corresponding set of predetermined waiting time for each user interface event, wherein user interface event processing thread from the user interface event queue read sequentially user interface event, performing an operation corresponding to the user interface event.

[0036]在一实施例中,为每个用户接口事件设置对应的预定等待时间后,用户接口事件处理线程可以通过调用用户接口事件对应的函数,然后在该用户接口事件对应的预定等待时间之内返回函数来执行相应的操作。 [0036] In one embodiment, each set corresponding to the user interface event after a predetermined waiting time, the user interface event processing thread can call the function corresponding to the user interface event, and the wait time corresponding to a predetermined user interface event of Back function to perform the corresponding operation. 若在预定等待时间之内,用户接口事件处理线程执行完毕用户接口事件对应的操作,则立即返回所调用的函数;若在预定等待时间结束时,用户接口事件处理线程仍在执行用户接口事件对应的操作,也返回所调用的函数。 If within a predetermined waiting time, the user interface event processing thread is finished user interface corresponding to the event operation, immediately return the called function; if the end of the predetermined waiting time, the user interface event processing thread is still executing user interface corresponding to the event the operation also returns the called function.

[0037]例如,在安卓系统中,系统的最大等待时间为5秒,可以设置该预定等待时间为2 秒。 [0037] For example, in Andrews, the maximum waiting time of the system is five seconds, the predetermined waiting time may be set to 2 seconds. 若用户接口事件为停止(Stop)播放,那么用户接口事件处理线程调用stop函数来停止播放媒体文件并暂时释放资源。 If the user interface event is stopped (Stop) play, then the user interface event processing thread calls stop function to stop playing media files and temporarily free up resources. 若该stop函数在2秒以内完成了操作,则立刻返回;若执行时间到达了2秒,stop函数仍在执行,也要返回该函数。 If the stop function operation is completed within 2 seconds, then return immediately; if the execution time reaches 2 seconds, stop the function is still performed, but also the function returns.

[0038] 步骤305,当检测到媒体播放器处于停止状态、出错状态或者被关闭时,删除用户接口事件处理线程和播放位置管理线程。 [0038] Step 305, upon detection of the media player is in the stopped state, error state, or is closed, deleting the user interface event processing thread and thread management playback position.

[0039] 媒体播放器可以周期性地检测自身所处的状态。 [0039] The media player may periodically detects the state it itself. 其中,媒体播放器的状态包括准备状态、播放状态、暂停状态、停止状态、定位状态(播放器定位到某个播放位置)、释放状态(释放播放器占用的资源)、出错状态、恢复状态(播放器从出错状态恢复)等。 Among them, state media players, including the state of preparation, playing, paused stopped, positioning state (the player to locate a play position), released state (release resources occupied by the player), error status, restore status ( player to recover from the error state) and so on. 若检测到媒体播放器处于停止状态或者出错状态,或者检测到用户关闭了媒体播放器时,则删除用户接口事件处理线程和播放位置管理线程。 If the detected media player is in a stopped state or an error state, or detecting the user closes the media player, then remove the user interface event processing thread and thread management position player. 然后在下一次播放媒体文件时,再创建用户接口事件处理线程和播放位置管理线程。 Then the next time when you play media files, and then create a user interface event processing thread and thread management position player.

[0040] 在本实施例中,当媒体播放器准备播放一媒体文件时,创建并启动播放位置管理线程,其中,播放位置管理线程读取该媒体文件当前的播放位置并将所读取的播放位置存储于内存中,媒体播放器访问内存来获取播放位置,而现有技术中是由媒体播放器的用户接口发起获取播放位置的过程,媒体播放器需要调用播放器内核才能获得播放位置。 [0040] In the present embodiment, when the media player is ready to play a media file, creates and starts the playback position management thread, wherein the thread management of the playback position to play the media file to read the current play location and the read location stored in memory, media player to access the memory to get the play position, while the prior art by a user of the media player to initiate the process of obtaining the playback position of the interface, media player needs to call the kernel to get the player to play the position. 相比现有技术,本发明实施例提供的方案不必调用播放器内核,直接访问内存即可快速地获取播放位置,减少出现程序无响应的错误状态,减少了播放错误率。 Compared with the prior art solutions, according to an embodiment of the present invention is not necessarily the player to call the kernel directly access memory to quickly access the playback position, to reduce the error condition occurs that is not responding, reduces the error rate of playback. 此外,通过为每个用户接口事件设置对应的预定等待时间,用户接口事件处理线程执行用户接口事件对应的操作, 在用户接口事件对应的预定等待时间之内返回,能够有效控制用户接口事件处理线程对每个用户接口事件的执行时间,进而有效控制媒体播放器执行用户操作的时延、提高执行后续用户操作的准确性和成功率。 Further, by providing the predetermined waiting time for each user interface corresponding to the event, a user interface event processing thread performs the operation corresponding to the user interface event, an event corresponding to a user interface within the predetermined waiting time of return, it can effectively control the user interface event processing thread the user interface of the execution time of each event, so as to effectively control the media player user to perform delay operations, to improve the accuracy and success of the implementation of subsequent user action. 例如,当用户接口事件为停止事件时,可以尽量保证媒体播放器资源的释放,减少出现在本次播放时上一次播放的资源尚未释放完毕的问题。 For example, when a user interface event to stop the event, you can try to ensure the release of a media player resources, reduce problems at the time of this play once finished playing resources have not been released appear.

[0041]图4为依据本发明一实施例的媒体播放器400的结构示意图。 [0041] FIG. 4 is a media player according to an embodiment of the present invention is a schematic structural diagram 400. 媒体播放器400包括: [0042]创建模块410,用于当媒体播放器准备播放一媒体文件时,创建用户接口事件处理线程和用户接口事件队列; Media player 400 comprises: [0042] creating module 410, configured to, when the media player is ready to play a media file, create a user interface event processing thread and a user interface event queue;

[0043]启动模块420,用于启动用户接口事件处理线程; [0043] start module 420, is used to start the user interface event processing thread;

[0044]接收模块侧,用于接收用户接口操作,每当接收到一用户接口操作就将该用户接口操作对应的用户接口事件触发到写入模块440;及 [0044] the receiving side module, a user interface for receiving operation, whenever receiving a user interface for operating the user interface to trigger the user interface event corresponding to an operation module 440 to write; and

[0045]写入模块440,用于每当从接收模块430接收到一用户接口事件就将该用户接口事件写入用户接口事件队列中;其中,用户接口事件处理线程从用户接口事件队列中依次读取用户接口事件,并执行用户接口事件对应的操作。 [0045] The writing module 440 for each time received from the receiving module 430-1 on the user interface event user interface event queue write user interface event; wherein the user interface event processing thread in order from the user interface event queue reading a user interface event, and executes an operation corresponding user interface event.

[0046]图5为依据本发明另一实施例的媒体播放器500的结构示意图。 [0046] FIG. 5 is a schematic structural diagram of a media player according to another embodiment of the present invention 500. 其中, among them,

[0047]创建模块410,进一步用于当媒体播放器准备播放一媒体文件时,创建播放位置管理线程; [0047] The creation module 410 is further configured to, when the media player is ready to play a media file, the playback position to create management thread;

[0048]启动模块420,进一步用于启动播放位置管理线程;其中,播放位置管理线程读取该媒体文件当前的播放位置并将所读取的播放位置存储于内存中。 [0048] The startup module 420 is further configured to start the playback position management thread; wherein the playback position management thread reads the media file storing the playback position of the current play location and the read in memory.

[0049] 在一实施例中,播放位置管理线程每隔预定时间读取该媒体文件当前的播放位置,并将内存中存储的播放位置更新为当前读取的播放位置。 [0049] In one embodiment, thread management playback position every predetermined time to read the current position of playback of the media file, and the playback position stored in memory is updated to the current playback position is read.

[0050]相应地,媒体播放器500在图4所示的媒体播放器400的基础之上,还包括: [0050] Accordingly, based on the media player 500 shown in FIG. 4, the media player 400 above, further comprising:

[0051]访问模块450,用于访问内存,获取播放位置; [0051] The access module 450 for accessing the memory, acquires the playback position;

[0052]输出模块460,用于通过用户界面输出访问模块450获取的播放位置。 [0052] The output module 460, a playback position acquired through the user interface 450 outputs an access module.

[0053]在一实施例中,媒体播放器500还包括: [0053] In one embodiment, the media player 500 further comprises:

[0054]设置模块470,用于为每个用户接口事件设置对应的预定等待时间;其中,用户接口事件处理线程执行用户接口事件对应的操作包括:用户接口事件处理线程调用用户接口事件对应的函数;在用户接口事件对应的预定等待时间之内返回函数。 [0054] The setting module 470, a user interface event for each set corresponding to a predetermined waiting time; wherein the user interface event processing thread performs the operation corresponding to the user interface event includes: a user interface event handler thread calls the functions corresponding to the user interface event ; return function within a predetermined waiting time corresponding to the user interface event.

[0055]在一实施例中,媒体播放器500还包括: [0055] In one embodiment, the media player 500 further comprises:

[0056]检测模块480,用于检测媒体播放器所处的状态; [0056] The detection module 480, for detecting a state in which the media player;

[0057]删除模块490,用于当检测模块480检测到媒体播放器处于停止状态、出错状态或者被关闭时,删除用户接口事件处理线程和播放位置管理线程。 [0057] The deleting module 490, a detection module 480 detects when the media player is in the stopped state, error state, or is closed, deleting the user interface event processing thread and thread management playback position.

[0058]图6为依据本发明又一实施例的媒体播放器600的结构示意图。 [0058] FIG. 6 is a schematic structural diagram of a media player according to another embodiment of the present invention 600. 该媒体播放器600 包括:处理器610,存储器620,端口630以及总线640。 The media player 600 comprises: a processor 610, memory 620, port 630 and a bus 640. 处理器610和存储器620通过总线640互联。 The processor 610 and memory 620 are interconnected through a bus 640. 处理器610可通过端口630接收和发送数据。 The processor 610 may receive and transmit data through port 630. 其中, among them,

[0059]处理器610用于执行存储器620存储的机器可读指令模块。 [0059] The processor 610 is configured to execute machine-readable instructions stored in memory 620 module.

[0060] 存储器620存储有处理器610可执行的机器可读指令模块。 [0060] Memory 620 stores processor-executable machine readable instructions 610 module. 处理器610可执行的指令模块包括:创建模块621、启动模块622、接收模块623和写入模块624。 The processor module 610 executable instructions comprising: a creation module 621, activation module 622, a receiving module 623 and the write module 624. 其中, among them,

[0061] 创建模块621被处理器610执行时可以为:当媒体播放器准备播放一媒体文件时, 创建用户接口事件处理线程和用户接口事件队列; When [0061] The creation module 621 is executed by the processor 610 may be: when the media player is ready to play a media file, create a user interface event processing thread and a user interface event queue;

[0062]启动模块622被处理器610执行时可以为:启动用户接口事件处理线程; When [0062] the start module 622 may be executed by the processor 610: Start user interface event processing thread;

[0063] 接收模块623被处理器610执行时可以为:接收用户接口操作,每当接收到一用户接口操作就将该用户接口操作对应的用户接口事件触发到写入模块440; When the [0063] receiving module 623 may be executed by the processor 610 to: receive a user interface operation, whenever receiving a user interface for operating the user interface to trigger the operation of the user interface event corresponding to the write module 440;

[0064] 写入模块624被处理器610执行时可以为:每当从接收模块430接收到一用户接口事件就将该用户接口事件写入用户接口事件队列中;其中,用户接口事件处理线程从用户接口事件队列中依次读取用户接口事件,并执行用户接口事件对应的操作。 [0064] The writing module 624 to processor 610 may be executed: each time received from the receiving module 430-1 on the user interface event user interface event queue write user interface event; wherein the user interface event processing thread from user interface event queue read sequentially in the user interface event, and executes an operation corresponding user interface event.

[0065] 在一实施例中,创建模块621被处理器610执行时可以进一步为:当媒体播放器准备播放一媒体文件时,创建播放位置管理线程; [0065] In one embodiment, the creation module 621, when executed by the processor 610 may further be: when the media player is ready to play a media file, the playback position to create management thread;

[0066] 启动模块622被处理器610执行时可以进一步为:启动播放位置管理线程;其中,播放位置管理线程读取该媒体文件当前的播放位置并将所读取的播放位置存储于内存中。 [0066] The startup module 622 is executed when the processor 610 may further be: playback start location management thread; wherein the playback position of the media file management thread reads the current play location and the read playback position stored in memory.

[0067] 相应地,存储器620存储的处理器610可执行的指令模块还包括: [0067] Accordingly, the processor 610 memory 620 stores instructions executable module further comprises:

[0068] 访问模块625,用于访问内存,获取播放位置; [0068] The access module 625 for accessing the memory, acquires the playback position;

[0069] 输出模块626,用于通过用户界面输出访问模块625获取的播放位置。 [0069] The output module 626, a playback position acquired through the user interface 625 outputs an access module.

[0070] 在一实施例中,存储器620存储的处理器610可执行的指令模块还包括: [0070] In one embodiment, the processor 610 memory 620 stores instructions executable module further comprises:

[0071]设置模块627,用于为每个用户接口事件设置对应的预定等待时间;其中,用户接口事件处理线程执行用户接口事件对应的操作包括:用户接口事件处理线程调用用户接口事件对应的函数;在用户接口事件对应的预定等待时间之内返回函数。 [0071] The setting module 627, a user interface event for each set corresponding to a predetermined waiting time; wherein the user interface event processing thread performs the operation corresponding to the user interface event includes: a user interface event handler thread calls the functions corresponding to the user interface event ; return function within a predetermined waiting time corresponding to the user interface event.

[0072] 在一实施例中,存储器620存储的处理器610可执行的指令模块还包括: [0072] In one embodiment, the processor 610 memory 620 stores instructions executable module further comprises:

[0073] 检测模块628,用于检测媒体播放器所处的状态; [0073] The detection module 628, for detecting a state in which the media player;

[0074]删除模块629,用于当检测模块628检测到媒体播放器处于停止状态、出错状态或者被关闭时,删除用户接口事件处理线程和播放位置管理线程。 [0074] deleting module 629, a detection module 628 detects when the media player is in the stopped state, error state, or is closed, deleting the user interface event processing thread and thread management playback position.

[0075]由此可以看出,当存储在存储器620中的指令模块被处理器610执行时,可实现前述各个实施例中创建模块621、启动模块622、接收模块623、写入模块624、访问模块625、输出模块626、设置模块627、检测模块628和删除模块629的各种功能。 [0075] It can be seen that, when the instructions stored in the memory module 620 is executed by the processor 610, module 621 may be implemented to create each of the foregoing embodiments, the start module 622, a receiving module 623, the write module 624, access module 625, output module 626, a setting module 627, a detection module 628 and deleting module 629 of various functions.

[0076]上述装置实施例中,各个模块及单元实现自身功能的具体方法在方法实施例中均有描述,这里不再赘述。 [0076] The above-described apparatus embodiment, each module and the cell specific methods achieve their functions in the method described in Example embodiments are not repeated here.

[0077]另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。 [0077] Further, in various embodiments of the present invention the functional modules may be integrated into one processing unit, each module individually may be physically present, may be two or more modules are integrated into one unit. 上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。 The integrated unit may be implemented in the form of hardware, software functional units may also be implemented.

[0078]另外,本发明的每一个实施例可以通过由数据处理设备如计算机执行的数据处理程序来实现。 [0078] Further, each embodiment of the present invention may be implemented by a data processing program by the data processing device such as a computer-implemented. 显然,数据处理程序构成了本发明。 Obviously, the data processing program constitutes the present invention. 此外,通常存储在一个存储介质中的数据处理程序通过直接将程序读取出存储介质或者通过将程序安装或复制到数据处理设备的存储设备(如硬盘和或内存)中执行。 Further, the data processing program is typically stored in a storage medium by the program read out directly or through the storage medium installed or copied, the data processing device to the storage device (e.g. memory or hard disk and) is performed. 因此,这样的存储介质也构成了本发明。 Thus, such a storage medium also constitutes the present invention. 存储介质可以使用任何类型的记录方式,例如纸张存储介质(如纸带等)、磁存储介质(如软盘、硬盘、闪存等)、光存储介质(如CD-ROM等)、磁光存储介质(如M0等)等。 Storage medium may be any type of recording, for example, an optical storage medium (such as a CD-ROM), a magneto-optical storage media sheet storage medium (e.g., tape, etc.), magnetic storage medium (e.g., hard disk, flash memory, etc.) ( as M0, etc.) and the like.

[0079]因此,本发明还公开了一种存储介质,其中存储有数据处理程序,该数据处理程序用于执行本发明上述方法的任何一种实施例。 [0079] Accordingly, the present invention also discloses a storage medium having stored therein a data processing program, the data processing program for performing any of the above-described embodiment of the method according to the present invention.

[0080]以上所述仅为本发明的较佳实施例而己,并不用以限制本发明,凡在本发明的精祌和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。 [0080] The present invention is merely the preferred embodiment of the above embodiment but has not intended to limit the present invention, all within the principles of the fine and Chong of the present invention, any changes made, equivalent replacement, or improvement It should be included within the scope of protection of the present invention.

Claims (8)

1. 一种开放式操作系统的媒体播放器的控制方法,其特征在于,包括: 当所述媒体播放器准备播放一媒体文件时,创建用户接口事件处理线程和用户接口事件队列,并启动所述用户接口事件处理线程;及每当接收到一用户接口操作时,将该用户接口操作对应的用户接口事件写入所述用户接口事件队列中; 其中,所述用户接口事件处理线程从所述用户接口事件队列中依次读取用户接口事件,执行所述用户接口事件对应的操作; 所述方法还包括:为每个用户接口事件设置对应的预定等待时间; 其中,所述用户接口事件处理线程执行所述用户接口事件对应的操作包括: 所述用户接口事件处理线程调用所述用户接口事件对应的函数; 在所述用户接口事件对应的预定等待时间之内返回所述函数; 所述方法还包括: 当所述媒体播放器准备播放一媒体文件时, The method of controlling a media player 1. an open operating system, characterized by comprising: when the media player is ready to play a media file, create a user interface event processing threads and user interface event queue and start the said user interface event processing thread; and each time receiving a user interface operations, the operation of the user interface corresponding to user interface event writing the user interface event queue; wherein the user interface from the event processing thread user interface event queue read sequentially user interface event, executing the operation corresponding user interface event; the method further comprising: setting corresponding to predetermined waiting time for each user interface event; wherein said user interface event processing thread executing the user interface corresponding to the event comprises: a user interface event processing thread calls the function corresponding to the user interface event; the function returns within a predetermined waiting time of the user interface corresponding to the event; the method further comprising: when the media player is ready to play a media file, 创建并启动播放位置管理线程,其中,所述播放位置管理线程读取该媒体文件当前的播放位置并将所读取的播放位置存储于内存中; 所述媒体播放器访问所述内存,获取所述播放位置,并通过用户界面输出所述播放位置。 Create and manage threads started playing position, wherein the play position memory management thread reads the media file playback position of the current playback position and read in memory; the media player to access the memory, get the said playback position, the playback position and output through a user interface.
2. 根据权利要求1所述的方法,其中,所述播放位置管理线程读取该媒体文件当前的播放位置并将所读取的播放位置存储于内存中包括: 所述播放位置管理线程每隔预定时间读取该媒体文件当前的播放位置,并将所述内存中存储的播放位置更新为当前读取的播放位置。 2. The method according to claim 1, wherein said playback position management thread reads the media file storing the playback position of the current play location and the read in memory comprising: a management thread to the play position every a predetermined time to read the current location of the media file playback, and the playback position stored in memory is updated to the current playback position is read.
3. 根据权利要求1所述的方法,其中,所述在所述用户接口事件对应的预定等待时间之内返回所述函数包括: 若在所述预定等待时间之内,所述用户接口事件处理线程执行完毕所述用户接口事件对应的操作,则返回所述函数; 若在所述预定等待时间结束时,所述用户接口事件处理线程仍在执行所述用户接口事件对应的操作,则返回所述函数。 3. The method according to claim 1, wherein, within a predetermined waiting time corresponding to the event in the user interface of the returned function comprises: if within the predetermined waiting time of the user interface event processing the user interface thread completes the operation corresponding to the event, the function returns; if at the end of the predetermined wait time, the user interface event processing thread is still executing the operation corresponding to the user interface event, the return said function.
4. 根据权利要求1所述的方法,还包括: 当检测到所述媒体播放器处于停止状态、出错状态或者被关闭时,删除所述用户接口事件处理线程和所述播放位置管理线程。 4. The method according to claim 1, further comprising: when detecting that the media player is in the stopped state, error state, or is closed, deleting the user interface event processing thread and thread management to the play position.
5. 根据权利要求1至4中任一项所述的方法,其中,所述用户接口事件包括开始播放、暂停播放、停止播放、前进播放、后退播放、快速前进播放、快速后退播放中的任一项或任意几项。 5. The method according to any one of claims 1 to 4, wherein the user interface includes a start event play, pause playback, stop playback, forward play, backward play, fast forward playback, fast reverse playback of any any one or a few.
6.—种媒体播放器,其特征在于,包括: 创建模块,用于当所述媒体播放器准备播放一媒体文件时,创建用户接口事件处理线程和用户接口事件队列; 启动模块,用于启动所述用户接口事件处理线程; 接收模块,用于接收用户接口操作,每当接收到一用户接口操作就将该用户接口操作对应的用户接口事件触发到写入模块;及所述写入模块,用于每当从所述接收模块接收到一用户接口事件就将该用户接口事件写入所述用户接口事件队列中; 其中,所述用户接口事件处理线程从所述用户接口事件队列中依次读取用户接口事件,并执行所述用户接口事件对应的操作; 所述媒体播放器还包括: 设置模块,用于为每个用户接口事件设置对应的预定等待时间; 其中,所述用户接口事件处理线程执行所述用户接口事件对应的操作包括: 所述用户接口事件处理 6.- kinds of media player, characterized by comprising: a creating module, configured to, when the media player is ready to play a media file, create a user interface event processing thread and a user interface event queue; starting module for starting the user interface event processing thread; a receiving module, a user interface for receiving operation, whenever receiving a user interface for operating the user interface to trigger the operation of the user interface event corresponding to the writing module; and a write module, for each time from the reception module to the user interface event on a user interface event the user interface written in the event queue; wherein said user interface event processing thread is read from the user interface event queue sequentially take user interface event, and executes the operation corresponding user interface event; the media player further comprising: a setting module configured to set for each user interface event corresponding to a predetermined waiting time; wherein said user interface event processing executing the thread operation corresponding user interface event comprising: a user interface event processing 程调用所述用户接口事件对应的函数; 在所述用户接口事件对应的预定等待时间之内返回所述函数; 其中,所述创建模块,进一步用于当所述媒体播放器准备播放一媒体文件时,创建播放位置管理线程; 所述启动模块,进一步用于启动所述播放位置管理线程;其中,所述播放位置管理线程读取该媒体文件当前的播放位置并将所读取的播放位置存储于内存中; 所述媒体播放器,还包括:访问模块,用于访问所述内存,获取所述播放位置; 输出模块,用于通过用户界面输出所述访问模块获取的播放位置。 Invoking the user interface event process corresponding to the function; returned within a predetermined waiting time corresponding to the user interface event of said function; wherein the creating module is further configured to, when the media player is ready to play a media file when creating the playback position management thread; the promoter module is further configured to start the play position management thread; wherein said playback position management thread reads the media file storing the playback position of the current play location and the read in memory; the media player further comprising: an access module for accessing said memory, acquiring the play position; an output module for outputting the access through a user interface module acquired playback position.
7. 根据权利要求6所述的媒体播放器,其中,所述播放位置管理线程读取该媒体文件当前的播放位置并将所读取的播放位置存储于内存中包括: 所述播放位置管理线程每隔预定时间读取该媒体文件当前的播放位置,并将所述内存中存储的播放位置更新为当前读取的播放位置。 7. The media player according to claim 6, wherein said playback position management thread reads the media file storing the playback position of the current play location and the read in memory comprising: a management thread to the play position read the current playback position of the media file at predetermined time intervals, the playback position is stored in memory and updates the current playback position is read.
8. 根据权利要求6所述的媒体播放器,还包括: 检测模块,用于检测所述媒体播放器所处的状态; 删除模块,用于当所述检测模块检测到所述媒体播放器处于停止状态、出错状态或者被关闭时,删除所述用户接口事件处理线程和所述播放位置管理线程。 The media player of claim 6, further comprises: detecting means for detecting the state of the media player is located; deleting module, configured to, when the detecting module detects that the media player is stop state, error state, or is turned off, remove the user interface event processing thread and the thread management position player.
CN201510186274.9A 2015-04-20 2015-04-20 Media player control method of open operating systems and media players CN104837064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510186274.9A CN104837064B (en) 2015-04-20 2015-04-20 Media player control method of open operating systems and media players

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510186274.9A CN104837064B (en) 2015-04-20 2015-04-20 Media player control method of open operating systems and media players

Publications (2)

Publication Number Publication Date
CN104837064A CN104837064A (en) 2015-08-12
CN104837064B true CN104837064B (en) 2018-07-27

Family

ID=53814657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510186274.9A CN104837064B (en) 2015-04-20 2015-04-20 Media player control method of open operating systems and media players

Country Status (1)

Country Link
CN (1) CN104837064B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872676A (en) * 2015-12-21 2016-08-17 乐视致新电子科技(天津)有限公司 Operation instruction execution method and device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072359A (en) * 2007-05-18 2007-11-14 腾讯科技(深圳)有限公司 Method, system and user end for realizing network media audio-video synchronization
WO2012044510A2 (en) * 2010-10-01 2012-04-05 Imerj, Llc User interface with independent drawer control
CN103155583A (en) * 2010-08-24 2013-06-12 Lg电子株式会社 Method for synchronizing contents and display device enabling the method
CN103596017A (en) * 2013-11-28 2014-02-19 小米科技有限责任公司 Video downloading method and system
CN103618956A (en) * 2013-11-13 2014-03-05 深圳市同洲电子股份有限公司 Method for obtaining video associated information and mobile terminal
CN103716709A (en) * 2013-12-23 2014-04-09 乐视致新电子科技(天津)有限公司 Method and device for same screen interaction
CN103747339A (en) * 2013-12-23 2014-04-23 乐视致新电子科技(天津)有限公司 Method and apparatus for resolving no response condition of on-line video by using android device
CN103841282A (en) * 2012-11-21 2014-06-04 中兴通讯股份有限公司 Media data playing method through family intelligent devices and apparatus thereof
CN104010231A (en) * 2014-04-30 2014-08-27 小米科技有限责任公司 Data synchronizing method and device
CN104023263A (en) * 2014-05-20 2014-09-03 小米科技有限责任公司 Video selection providing method and device thereof
CN104023050A (en) * 2014-05-16 2014-09-03 中国科学院计算技术研究所 Equipment cooperation multi-screen interactive system under equipment cloud environment and method thereof
CN104093064A (en) * 2013-07-12 2014-10-08 腾讯科技(北京)有限公司 Method, system and device used for video interaction between terminal devices
CN104427364A (en) * 2013-09-02 2015-03-18 中兴通讯股份有限公司 Media play processing method, device and system and media server

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072359A (en) * 2007-05-18 2007-11-14 腾讯科技(深圳)有限公司 Method, system and user end for realizing network media audio-video synchronization
CN103155583A (en) * 2010-08-24 2013-06-12 Lg电子株式会社 Method for synchronizing contents and display device enabling the method
WO2012044510A2 (en) * 2010-10-01 2012-04-05 Imerj, Llc User interface with independent drawer control
CN103841282A (en) * 2012-11-21 2014-06-04 中兴通讯股份有限公司 Media data playing method through family intelligent devices and apparatus thereof
CN104093064A (en) * 2013-07-12 2014-10-08 腾讯科技(北京)有限公司 Method, system and device used for video interaction between terminal devices
CN104427364A (en) * 2013-09-02 2015-03-18 中兴通讯股份有限公司 Media play processing method, device and system and media server
CN103618956A (en) * 2013-11-13 2014-03-05 深圳市同洲电子股份有限公司 Method for obtaining video associated information and mobile terminal
CN103596017A (en) * 2013-11-28 2014-02-19 小米科技有限责任公司 Video downloading method and system
CN103716709A (en) * 2013-12-23 2014-04-09 乐视致新电子科技(天津)有限公司 Method and device for same screen interaction
CN103747339A (en) * 2013-12-23 2014-04-23 乐视致新电子科技(天津)有限公司 Method and apparatus for resolving no response condition of on-line video by using android device
CN104010231A (en) * 2014-04-30 2014-08-27 小米科技有限责任公司 Data synchronizing method and device
CN104023050A (en) * 2014-05-16 2014-09-03 中国科学院计算技术研究所 Equipment cooperation multi-screen interactive system under equipment cloud environment and method thereof
CN104023263A (en) * 2014-05-20 2014-09-03 小米科技有限责任公司 Video selection providing method and device thereof

Also Published As

Publication number Publication date
CN104837064A (en) 2015-08-12

Similar Documents

Publication Publication Date Title
US8423164B2 (en) Method for recording and replaying operations in a computer environment using initial conditions
US9141381B2 (en) Version control environment for virtual machines
US8965929B2 (en) Manipulating electronic backups
CN103929465B (en) A data storage method and system for remote environment
JP5911892B2 (en) Multi-stage resume from Haibaneito
CN101606128B (en) Supporting multiple operating systems in media devices
US20140223144A1 (en) Load Latency Speculation In An Out-Of-Order Computer Processor
US20100211769A1 (en) Concurrent Execution of a Smartphone Operating System and a Desktop Operating System
EP2294512B1 (en) Efficient recording and replaying of non-deterministic instructions in a virtual machine and cpu therefor
KR20070116831A (en) In-line non volatile memory disk read cache and write buffer
CN100474268C (en) Cache integrity apparatus, systems, and methods
CN102160035A (en) Preloading applications onto memory at least partially during boot up
CN1799028A (en) Booting from non-volatile memory
US9417794B2 (en) Including performance-related hints in requests to composite memory
US20120246640A1 (en) Replication of Machine Instances in a Computing Environment
US9582311B2 (en) System, method and computer program product for data processing and system deployment in a virtual environment
CN102446111B (en) Quick Start Computer
CN102707966A (en) Method and device for acceleratively starting operating system, and method, device and terminal for generating prefetched information
US7350111B2 (en) Method of providing a real time solution to error occurred when computer is turned on
US8429613B2 (en) Stepping and application state viewing between points
CN102103406B (en) Operating system independent network event processing
RU2568280C2 (en) Fast computer start-up
CN104541244B (en) A method and apparatus for performing playback of
Jeong et al. Boosting quasi-asynchronous I/O for better responsiveness in mobile devices
CN103744764A (en) Crontab based whole computer memory stability test method

Legal Events

Date Code Title Description
C06 Publication
EXSB Decision made by sipo to initiate substantive examination
GR01